model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptanceSchema

type AcceptanceSchema struct {

	// request_id
	RequestId string `json:"request_id"`

	// task_id
	TaskId int32 `json:"task_id"`
}

AcceptanceSchema the request body of acceptance

func (AcceptanceSchema) String

func (o AcceptanceSchema) String() string

type AccountStatus

type AccountStatus struct {

	// 是否有创建实例权限
	CurOrgCreateRole *bool `json:"cur_org_create_role,omitempty"`

	// 帐号所属租户是否开通服务
	CurOrgOpen *bool `json:"cur_org_open,omitempty"`

	// 免费试用
	HasFreeTrial *bool `json:"has_free_trial,omitempty"`

	// 是否有管理入口的权限
	ShowManage *bool `json:"show_manage,omitempty"`
}

func (AccountStatus) String

func (o AccountStatus) String() string

type AddExtensionEvaluationReplyRequest

type AddExtensionEvaluationReplyRequest struct {
	Body *EvaluationReply `json:"body,omitempty"`
}

AddExtensionEvaluationReplyRequest Request Object

func (AddExtensionEvaluationReplyRequest) String

type AddExtensionEvaluationReplyResponse

type AddExtensionEvaluationReplyResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddExtensionEvaluationReplyResponse Response Object

func (AddExtensionEvaluationReplyResponse) String

type AddExtensionEvaluationRequest

type AddExtensionEvaluationRequest struct {
	Body *Evaluation `json:"body,omitempty"`
}

AddExtensionEvaluationRequest Request Object

func (AddExtensionEvaluationRequest) String

type AddExtensionEvaluationResponse

type AddExtensionEvaluationResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddExtensionEvaluationResponse Response Object

func (AddExtensionEvaluationResponse) String

type AddExtensionStarRequest

type AddExtensionStarRequest struct {
	Body *ExtensionStar `json:"body,omitempty"`
}

AddExtensionStarRequest Request Object

func (AddExtensionStarRequest) String

func (o AddExtensionStarRequest) String() string

type AddExtensionStarResponse

type AddExtensionStarResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddExtensionStarResponse Response Object

func (AddExtensionStarResponse) String

func (o AddExtensionStarResponse) String() string

type Attributes

type Attributes struct {

	// cpu限制
	CpuLimit *string `json:"cpu_limit,omitempty"`

	// 内存限制
	MemoryLimitBytes *string `json:"memory_limit_bytes,omitempty"`

	// pvc规格
	PvcQuantity *string `json:"pvc_quantity,omitempty"`
}

func (Attributes) String

func (o Attributes) String() string

type CheckInstanceAccessRequest

type CheckInstanceAccessRequest struct {

	// CodeArtsIDEOnline实例id
	InstanceId string `json:"instance_id"`
}

CheckInstanceAccessRequest Request Object

func (CheckInstanceAccessRequest) String

type CheckInstanceAccessResponse

type CheckInstanceAccessResponse struct {

	// 返回值
	Result *bool `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CheckInstanceAccessResponse Response Object

func (CheckInstanceAccessResponse) String

type CheckMaliciousExtensionEvaluationRequest

type CheckMaliciousExtensionEvaluationRequest struct {
	Body *EvaluationAccusation `json:"body,omitempty"`
}

CheckMaliciousExtensionEvaluationRequest Request Object

func (CheckMaliciousExtensionEvaluationRequest) String

type CheckMaliciousExtensionEvaluationResponse

type CheckMaliciousExtensionEvaluationResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CheckMaliciousExtensionEvaluationResponse Response Object

func (CheckMaliciousExtensionEvaluationResponse) String

type CheckNameRequest

type CheckNameRequest struct {

	// 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间
	DisplayName string `json:"display_name"`
}

CheckNameRequest Request Object

func (CheckNameRequest) String

func (o CheckNameRequest) String() string

type CheckNameResponse

type CheckNameResponse struct {

	// 返回值
	Result *bool `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CheckNameResponse Response Object

func (CheckNameResponse) String

func (o CheckNameResponse) String() string

type CheckResult

type CheckResult struct {

	// 解析状态
	Status *string `json:"status,omitempty"`

	// 检查插件错误结果集
	Errors *[]CheckResultError `json:"errors,omitempty"`

	// 插件版本信息
	ExtensionVersionCompare *string `json:"extension_version_compare,omitempty"`
}

func (CheckResult) String

func (o CheckResult) String() string

type CheckResultError

type CheckResultError struct {

	// 解析结果码
	Code *string `json:"code,omitempty"`

	// 解析结果信息
	Message *string `json:"message,omitempty"`
}

func (CheckResultError) String

func (o CheckResultError) String() string

type CodeArtsIdeOnlineExtensionVersionProperty

type CodeArtsIdeOnlineExtensionVersionProperty struct {

	// id
	Id *int32 `json:"id,omitempty"`

	// 参数名
	PropertyName *string `json:"property_name,omitempty"`

	// 参数值
	PropertyValue *string `json:"property_value,omitempty"`

	// 插件版本id
	ExtensionVersionId *string `json:"extension_version_id,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (CodeArtsIdeOnlineExtensionVersionProperty) String

type CreateAcceptanceRequest

type CreateAcceptanceRequest struct {
	Body *AcceptanceSchema `json:"body,omitempty"`
}

CreateAcceptanceRequest Request Object

func (CreateAcceptanceRequest) String

func (o CreateAcceptanceRequest) String() string

type CreateAcceptanceResponse

type CreateAcceptanceResponse struct {

	// acceptance_id
	AcceptanceId   *int32 `json:"acceptance_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateAcceptanceResponse Response Object

func (CreateAcceptanceResponse) String

func (o CreateAcceptanceResponse) String() string

type CreateApplyRequest

type CreateApplyRequest struct {
	Body *JoinRequestSchema `json:"body,omitempty"`
}

CreateApplyRequest Request Object

func (CreateApplyRequest) String

func (o CreateApplyRequest) String() string

type CreateApplyResponse

type CreateApplyResponse struct {

	// the message of join-request
	Message *string `json:"message,omitempty"`

	// the status of join-request(success/error/conflict)
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateApplyResponse Response Object

func (CreateApplyResponse) String

func (o CreateApplyResponse) String() string

type CreateEventRequest

type CreateEventRequest struct {
	Body *EventSchema `json:"body,omitempty"`
}

CreateEventRequest Request Object

func (CreateEventRequest) String

func (o CreateEventRequest) String() string

type CreateEventResponse

type CreateEventResponse struct {

	// the id of event
	EventId        *int32 `json:"event_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateEventResponse Response Object

func (CreateEventResponse) String

func (o CreateEventResponse) String() string

type CreateExtensionAuthorizationRequest

type CreateExtensionAuthorizationRequest struct {

	// CodeArtsIDEOnline实例ID
	InstanceId string `json:"instance_id"`

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

CreateExtensionAuthorizationRequest Request Object

func (CreateExtensionAuthorizationRequest) String

type CreateExtensionAuthorizationResponse

type CreateExtensionAuthorizationResponse struct {

	// 返回值
	Result *bool `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateExtensionAuthorizationResponse Response Object

func (CreateExtensionAuthorizationResponse) String

type CreateInstanceBy3rdRequest

type CreateInstanceBy3rdRequest struct {

	// 实例标签(不同的第三方需要和CodeArtsIDEOnline服务共同设定标签)。不传默认为classroom
	InstanceLabel *string `json:"instance_label,omitempty"`

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

CreateInstanceBy3rdRequest Request Object

func (CreateInstanceBy3rdRequest) String

type CreateInstanceBy3rdResponse

type CreateInstanceBy3rdResponse struct {
	Result *InstancesResponseInstancesVoResult `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateInstanceBy3rdResponse Response Object

func (CreateInstanceBy3rdResponse) String

type CreateInstanceRequest

type CreateInstanceRequest struct {

	// 租户id(对应华为云帐号的domainId)
	OrgId string `json:"org_id"`

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

CreateInstanceRequest Request Object

func (CreateInstanceRequest) String

func (o CreateInstanceRequest) String() string

type CreateInstanceResponse

type CreateInstanceResponse struct {
	Result *InstancesResponseInstancesVoResult `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateInstanceResponse Response Object

func (CreateInstanceResponse) String

func (o CreateInstanceResponse) String() string

type CreateLoginRequest

type CreateLoginRequest struct {
	Body *LoginSchema `json:"body,omitempty"`
}

CreateLoginRequest Request Object

func (CreateLoginRequest) String

func (o CreateLoginRequest) String() string

type CreateLoginResponse

type CreateLoginResponse struct {

	// login_id
	LoginId        *int32 `json:"login_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateLoginResponse Response Object

func (CreateLoginResponse) String

func (o CreateLoginResponse) String() string

type CreateRequestRequest

type CreateRequestRequest struct {

	// the number of samples
	Topn *int32 `json:"topn,omitempty"`

	// the scenario of code content
	Scenario *string `json:"scenario,omitempty"`

	// if `resubmit` is true, the de-duplication will be ignored
	Resubmit *bool `json:"resubmit,omitempty"`

	// choose the model
	ModelId *string `json:"model_id,omitempty"`

	// An enumeration. - function - rawtext
	RequestType *CreateRequestRequestRequestType `json:"request_type,omitempty"`

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

CreateRequestRequest Request Object

func (CreateRequestRequest) String

func (o CreateRequestRequest) String() string

type CreateRequestRequestRequestType

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

func (CreateRequestRequestRequestType) MarshalJSON

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

func (*CreateRequestRequestRequestType) UnmarshalJSON

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

func (CreateRequestRequestRequestType) Value

type CreateRequestRequestRequestTypeEnum

type CreateRequestRequestRequestTypeEnum struct {
	FUNCTION CreateRequestRequestRequestType
	RAWTEXT  CreateRequestRequestRequestType
}

func GetCreateRequestRequestRequestTypeEnum

func GetCreateRequestRequestRequestTypeEnum() CreateRequestRequestRequestTypeEnum

type CreateRequestResponse

type CreateRequestResponse struct {

	// the unique id of the request
	RequestId *string `json:"request_id,omitempty"`

	Status *RequestStatus `json:"status,omitempty"`

	// the number of tasks dispatched successfully
	DispatchedTaskNumber *int32 `json:"dispatched_task_number,omitempty"`
	HttpStatusCode       int    `json:"-"`
}

CreateRequestResponse Response Object

func (CreateRequestResponse) String

func (o CreateRequestResponse) String() string

type CriteriaSnake

type CriteriaSnake struct {

	// 过滤类型 - 1 按插件Tag过滤 - 2 按diplayName过滤 - 3 按publisherId过滤 - 4 按插件Id过滤 - 5 按插件分类过滤 - 7 按照作者名.插件名过滤 - 8 按Target(客户端)过滤 - 10 按关键字(客户端输入的)过滤 - 12 根据flags传入的值来进行过滤,eg:flags=2name就排除flags=2的插件. - 13 根据flags传入的值来进行过滤,eg:flags=2name就查询出flags=2的插件 - 18 按publisherName过滤 - 19 按publisherDisplayName过滤 - 102 按照插件状态排除插件 - 103 按照插件状态过滤出插件 - 107 supportIdeInfo - 108 根据插件ids查询
	FilterType *CriteriaSnakeFilterType `json:"filter_type,omitempty"`

	// 过滤类型对应字段名称
	Value *string `json:"value,omitempty"`
}

func (CriteriaSnake) String

func (o CriteriaSnake) String() string

type CriteriaSnakeFilterType

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

func (CriteriaSnakeFilterType) MarshalJSON

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

func (*CriteriaSnakeFilterType) UnmarshalJSON

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

func (CriteriaSnakeFilterType) Value

func (c CriteriaSnakeFilterType) Value() int32

type DeleteEvaluationReplyRequest

type DeleteEvaluationReplyRequest struct {

	// 回复id
	ReplyId int64 `json:"reply_id"`
}

DeleteEvaluationReplyRequest Request Object

func (DeleteEvaluationReplyRequest) String

type DeleteEvaluationReplyResponse

type DeleteEvaluationReplyResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteEvaluationReplyResponse Response Object

func (DeleteEvaluationReplyResponse) String

type DeleteEvaluationRequest

type DeleteEvaluationRequest struct {

	// 评论id
	EvaluationId int64 `json:"evaluation_id"`
}

DeleteEvaluationRequest Request Object

func (DeleteEvaluationRequest) String

func (o DeleteEvaluationRequest) String() string

type DeleteEvaluationResponse

type DeleteEvaluationResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteEvaluationResponse Response Object

func (DeleteEvaluationResponse) String

func (o DeleteEvaluationResponse) String() string

type DeleteInstanceRequest

type DeleteInstanceRequest struct {

	// 实例id
	InstanceId string `json:"instance_id"`
}

DeleteInstanceRequest Request Object

func (DeleteInstanceRequest) String

func (o DeleteInstanceRequest) String() string

type DeleteInstanceResponse

type DeleteInstanceResponse struct {

	// 返回值
	Result *bool `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteInstanceResponse Response Object

func (DeleteInstanceResponse) String

func (o DeleteInstanceResponse) String() string

type Error

type Error struct {

	// 错误码
	Code *string `json:"code,omitempty"`

	// 错误描述
	Reason *string `json:"reason,omitempty"`
}

func (Error) String

func (o Error) String() string

type Evaluation

type Evaluation struct {

	// 插件id
	ExtensionId string `json:"extension_id"`

	// 评论内容
	Text string `json:"text"`
}

func (Evaluation) String

func (o Evaluation) String() string

type EvaluationAccusation

type EvaluationAccusation struct {

	// 举报内容
	Content string `json:"content"`

	// 评论id
	EvaluationId *string `json:"evaluation_id,omitempty"`

	// 回复id
	ReplyId *string `json:"reply_id,omitempty"`
}

EvaluationAccusation 其中evaluation_id和reply_id之中必须选择一个填写

func (EvaluationAccusation) String

func (o EvaluationAccusation) String() string

type EvaluationReply

type EvaluationReply struct {

	// 所在评论id
	EvaluationId *string `json:"evaluation_id,omitempty"`

	// 回复评论的id 空表示回复主评论
	ReplyId *string `json:"reply_id,omitempty"`

	// 评论或回复内容
	Text string `json:"text"`
}

EvaluationReply 评论回复,其中evaluation_id和reply_id之中必须选择一个填写

func (EvaluationReply) String

func (o EvaluationReply) String() string

type EventSchema

type EventSchema struct {

	// the component of the codearts snap
	Component string `json:"component"`

	// the verb of the action
	Verb *string `json:"verb,omitempty"`

	// the the object of the verb
	Object *string `json:"object,omitempty"`

	// the data of the event
	Data *interface{} `json:"data,omitempty"`
}

EventSchema the request body of event

func (EventSchema) String

func (o EventSchema) String() string

type ExpireVo

type ExpireVo struct {

	// 过期时间。UNIX时间戳,单位毫秒。eg:1635905480465
	Expiration *int64 `json:"expiration,omitempty"`

	// CodeArtsIDEOnline实例id
	InstanceId *string `json:"instance_id,omitempty"`

	// CodeArtsIDEOnline实例自动休眠时长,单位‘分钟’
	Interval *int64 `json:"interval,omitempty"`
}

func (ExpireVo) String

func (o ExpireVo) String() string

type ExtensionAllSnake

type ExtensionAllSnake struct {

	// 插件id
	ExtensionId *string `json:"extension_id,omitempty"`

	// 插件名称
	ExtensionName *string `json:"extension_name,omitempty"`

	// 插件显示名称
	DisplayName *string `json:"display_name,omitempty"`

	// 插件flag;通过传递flag参数来进行过滤或其他操作。flag的基础数字是2\\4\\8\\16;传递的参数只能是这四个数字加法组合而成的数字 利用它们之间二进制的运算获取的值进行其他操作.比如6=0110=0010+0100也就是2和4的集合flags
	Flags *int32 `json:"flags,omitempty"`

	// 更新时间
	LastUpdated *sdktime.SdkTime `json:"last_updated,omitempty"`

	// 上传时间
	PublishedDate *sdktime.SdkTime `json:"published_date,omitempty"`

	// 发布时间
	ReleaseDate *sdktime.SdkTime `json:"release_date,omitempty"`

	// 插件描述
	ShortDescription *string `json:"short_description,omitempty"`

	// 插件标签
	Tags *[]string `json:"tags,omitempty"`

	// 所有标签
	TagAllList *[]string `json:"tag_all_list,omitempty"`

	Publisher *PublisherSnake `json:"publisher,omitempty"`

	// 系统架构
	Arch *[]string `json:"arch,omitempty"`

	// 安装目标
	Target *string `json:"target,omitempty"`

	// 插件分类
	Categories *[]string `json:"categories,omitempty"`

	// 全部分类列表
	CategoryAllList *[]string `json:"category_all_list,omitempty"`

	PublishManager *PublisherSnake `json:"publish_manager,omitempty"`

	// 插件状态  - INIT 上传插件的第一个版本 - NORMAL 插件有审核通过的版本 - OFFLINE 插件下线 - ABANDONED 上传废弃 - GRAYED 灰度插件
	Status *ExtensionAllSnakeStatus `json:"status,omitempty"`

	// 插件审核状态  - NONE 审核结束 - VALIDATING 审核中
	ValidateStatus *ExtensionAllSnakeValidateStatus `json:"validate_status,omitempty"`

	// 下载量
	InstallCount *int32 `json:"install_count,omitempty"`

	// 平均评星值
	AverageStar float32 `json:"average_star,omitempty"`

	// 插件唯一标识内部插件市场保留
	Identifier *string `json:"identifier,omitempty"`

	// 插件支持的操作系统
	SupportOs *[]string `json:"support_os,omitempty"`

	// 插件支持的ide
	SupportIde *int32 `json:"support_ide,omitempty"`

	// 插件支持的ide名称
	SupportIdeInfo *string `json:"support_ide_info,omitempty"`

	// 插件版本集合
	Versions *[]ExtensionVersionSnake `json:"versions,omitempty"`

	// 插件审核结果
	ValidateResult *string `json:"validate_result,omitempty"`

	ExtensionStatistics *ExtensionStatistics `json:"extension_statistics,omitempty"`

	// 是否支持预览
	Preview *bool `json:"preview,omitempty"`

	ExtInfo *ExtensionExternalInfo `json:"ext_info,omitempty"`

	// 安装目标
	Platform *string `json:"platform,omitempty"`

	CheckResult *CheckResult `json:"check_result,omitempty"`

	// 灰度版本数量
	GrayVersionCount *int32 `json:"gray_version_count,omitempty"`

	// 插件作者
	ExtensionOwner *string `json:"extension_owner,omitempty"`
}

func (ExtensionAllSnake) String

func (o ExtensionAllSnake) String() string

type ExtensionAllSnakeStatus

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

func (ExtensionAllSnakeStatus) MarshalJSON

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

func (*ExtensionAllSnakeStatus) UnmarshalJSON

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

func (ExtensionAllSnakeStatus) Value

func (c ExtensionAllSnakeStatus) Value() string

type ExtensionAllSnakeStatusEnum

type ExtensionAllSnakeStatusEnum struct {
	INIT      ExtensionAllSnakeStatus
	NORMAL    ExtensionAllSnakeStatus
	OFFLINE   ExtensionAllSnakeStatus
	ABANDONED ExtensionAllSnakeStatus
	GRAYED    ExtensionAllSnakeStatus
}

func GetExtensionAllSnakeStatusEnum

func GetExtensionAllSnakeStatusEnum() ExtensionAllSnakeStatusEnum

type ExtensionAllSnakeValidateStatus

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

func (ExtensionAllSnakeValidateStatus) MarshalJSON

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

func (*ExtensionAllSnakeValidateStatus) UnmarshalJSON

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

func (ExtensionAllSnakeValidateStatus) Value

type ExtensionAllSnakeValidateStatusEnum

type ExtensionAllSnakeValidateStatusEnum struct {
	NONE       ExtensionAllSnakeValidateStatus
	VALIDATING ExtensionAllSnakeValidateStatus
}

func GetExtensionAllSnakeValidateStatusEnum

func GetExtensionAllSnakeValidateStatusEnum() ExtensionAllSnakeValidateStatusEnum

type ExtensionAuthorization

type ExtensionAuthorization struct {

	// 插件版本
	ExtensionVersion string `json:"extension_version"`

	// 插件标识(发布者.插件名)
	Identifier string `json:"identifier"`

	// CodeArtsIDEOnline实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	// 插件状态。 - AGREE 同意 - REJECT 不同意 - UNKNOWN 未知(下次重新询问)
	Status ExtensionAuthorizationStatus `json:"status"`
}

func (ExtensionAuthorization) String

func (o ExtensionAuthorization) String() string

type ExtensionAuthorizationStatus

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

func (ExtensionAuthorizationStatus) MarshalJSON

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

func (*ExtensionAuthorizationStatus) UnmarshalJSON

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

func (ExtensionAuthorizationStatus) Value

type ExtensionAuthorizationStatusEnum

type ExtensionAuthorizationStatusEnum struct {
	AGREE   ExtensionAuthorizationStatus
	REJECT  ExtensionAuthorizationStatus
	UNKNOWN ExtensionAuthorizationStatus
}

func GetExtensionAuthorizationStatusEnum

func GetExtensionAuthorizationStatusEnum() ExtensionAuthorizationStatusEnum

type ExtensionExternalInfo

type ExtensionExternalInfo struct {

	// 插件id
	ExtensionId *string `json:"extension_id,omitempty"`

	// 源码仓地址
	RepoUrl *string `json:"repo_url,omitempty"`

	// 帮助页面
	HelpPage *string `json:"help_page,omitempty"`

	// 产品首页
	Website *string `json:"website,omitempty"`

	// 问题链接
	IssueLink *string `json:"issue_link,omitempty"`

	// 是否支持预览
	ShowPreviews *bool `json:"show_previews,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (ExtensionExternalInfo) String

func (o ExtensionExternalInfo) String() string

type ExtensionFileSnake

type ExtensionFileSnake struct {

	// 资源类型
	AssetType *string `json:"asset_type,omitempty"`

	// 资源地址
	Source *string `json:"source,omitempty"`
}

func (ExtensionFileSnake) String

func (o ExtensionFileSnake) String() string

type ExtensionQueryParamSnake

type ExtensionQueryParamSnake struct {

	// 过滤字段
	Filters []FilterSnake `json:"filters"`

	// 插件flag;通过传递flag参数来进行过滤或其他操作。flag的基础数字是2\\4\\8\\16;传递的参数只能是这四个数字加法组合而成数字 利用它们之间二进制的运算获取的值进行其他操作.比如6=0110=0010+0100也就是2和4的集合flags
	Flags int32 `json:"flags"`
}

func (ExtensionQueryParamSnake) String

func (o ExtensionQueryParamSnake) String() string

type ExtensionQueryResult

type ExtensionQueryResult struct {

	// 插件列表集合
	Extensions *[]ExtensionAllSnake `json:"extensions,omitempty"`

	// 结果元数据集合
	ResultMetadata *[]ResultMetadataSnake `json:"result_metadata,omitempty"`
}

func (ExtensionQueryResult) String

func (o ExtensionQueryResult) String() string

type ExtensionSearchUserInputParamCustomizeForDetail

type ExtensionSearchUserInputParamCustomizeForDetail struct {

	// 插件ID列表
	Ids string `json:"ids"`
}

func (ExtensionSearchUserInputParamCustomizeForDetail) String

type ExtensionStar

type ExtensionStar struct {

	// 插件id
	ExtensionId string `json:"extension_id"`

	// 评星内容
	Comment *string `json:"comment,omitempty"`

	// 评星总数
	Stars int32 `json:"stars"`
}

func (ExtensionStar) String

func (o ExtensionStar) String() string

type ExtensionStatistics

type ExtensionStatistics struct {

	// 下载量
	Install *int32 `json:"install,omitempty"`

	// 评星
	Stars *float64 `json:"stars,omitempty"`
}

func (ExtensionStatistics) String

func (o ExtensionStatistics) String() string

type ExtensionVersionSnake

type ExtensionVersionSnake struct {

	// 插件版本id
	Id *string `json:"id,omitempty"`

	// 插件版本号
	Version *string `json:"version,omitempty"`

	// 版本排序
	VersionRanking *int64 `json:"version_ranking,omitempty"`

	// 插件版本状态 - INIT 待发布 - VALIDATING 审核中 - REJECTED 审核拒绝 - PUBLISHED 插件上架 - OFFLINE 插件下线 - ABANDONED 废弃 - GRAY_INIT 灰度审核 - GRAYED 灰度发布 - GRAY_REJECTED 灰度拒绝
	Status *ExtensionVersionSnakeStatus `json:"status,omitempty"`

	// 插件状态 - INIT 待发布 - VALIDATING 审核中 - REJECTED 审核拒绝 - PUBLISHED 插件上架 - OFFLINE 插件下线 - ABANDONED 废弃 - GRAY_INIT 灰度审核 - GRAYED 灰度发布 - GRAY_REJECTED 灰度拒绝
	VersionStatus *ExtensionVersionSnakeVersionStatus `json:"version_status,omitempty"`

	// 资源文件url
	AssetUri *string `json:"asset_uri,omitempty"`

	// 更新时间
	LastUpdated *sdktime.SdkTime `json:"last_updated,omitempty"`

	// 插件文件集合
	Files *[]ExtensionFileSnake `json:"files,omitempty"`

	// 插件审核信息
	ValidateMessage *string `json:"validate_message,omitempty"`

	// 插件审核状态 - NONE 无 - UPLOADING 上传中 - VALIDATING 系统审核 - OFFLINING 用户申请下线 - ONLINING 用户申请上线 - UMS_VALIDATING 发布商审核中
	VersionValidateStatus *ExtensionVersionSnakeVersionValidateStatus `json:"version_validate_status,omitempty"`

	// 插件展示名称
	DisplayName *string `json:"display_name,omitempty"`

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

	// 插件支持ide版本
	MinIdeVersion *string `json:"min_ide_version,omitempty"`

	// 支持的最大版本
	MaxIdeVersion *string `json:"max_ide_version,omitempty"`

	// 发布时间
	VersionDate *sdktime.SdkTime `json:"version_date,omitempty"`

	// 是否预览
	Preview *bool `json:"preview,omitempty"`

	// 包含插件列表
	ExtensionPack *string `json:"extension_pack,omitempty"`

	// 依赖插件列表
	ExtensionDependencies *string `json:"extension_dependencies,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 支持的ide编码
	SupportIde *int32 `json:"support_ide,omitempty"`

	// 插件包源码仓
	RepoUrl *string `json:"repo_url,omitempty"`

	// 帮助页面
	HelpPage *string `json:"help_page,omitempty"`

	// 产品首页
	Website *string `json:"website,omitempty"`

	// 问题链接
	IssueLink *string `json:"issue_link,omitempty"`

	// 插件大小
	AssetSize *int64 `json:"asset_size,omitempty"`

	// 依赖插件
	Depends *[]string `json:"depends,omitempty"`

	// CodeArtsIDEOnline插件版本参数
	PropertyList *[]CodeArtsIdeOnlineExtensionVersionProperty `json:"property_list,omitempty"`

	// 版本发布者
	Uploader *string `json:"uploader,omitempty"`

	// 插件id
	ExtensionId *string `json:"extension_id,omitempty"`
}

func (ExtensionVersionSnake) String

func (o ExtensionVersionSnake) String() string

type ExtensionVersionSnakeStatus

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

func (ExtensionVersionSnakeStatus) MarshalJSON

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

func (*ExtensionVersionSnakeStatus) UnmarshalJSON

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

func (ExtensionVersionSnakeStatus) Value

type ExtensionVersionSnakeVersionStatus

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

func (ExtensionVersionSnakeVersionStatus) MarshalJSON

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

func (*ExtensionVersionSnakeVersionStatus) UnmarshalJSON

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

func (ExtensionVersionSnakeVersionStatus) Value

type ExtensionVersionSnakeVersionValidateStatus

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

func (ExtensionVersionSnakeVersionValidateStatus) MarshalJSON

func (*ExtensionVersionSnakeVersionValidateStatus) UnmarshalJSON

func (ExtensionVersionSnakeVersionValidateStatus) Value

type FilterSnake

type FilterSnake struct {

	// 过滤集合
	Criteria *[]CriteriaSnake `json:"criteria,omitempty"`

	// 页码
	PageNumber int64 `json:"page_number"`

	// 分页大小
	PageSize int64 `json:"page_size"`

	// 排序字段. - 1 修改日期 - 2 插件名称 - 3 插件作者名称
	SortBy *FilterSnakeSortBy `json:"sort_by,omitempty"`

	// 排序顺序. - 1 升序 - 2 降序
	SortOrder *FilterSnakeSortOrder `json:"sort_order,omitempty"`
}

func (FilterSnake) String

func (o FilterSnake) String() string

type FilterSnakeSortBy

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

func (FilterSnakeSortBy) MarshalJSON

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

func (*FilterSnakeSortBy) UnmarshalJSON

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

func (FilterSnakeSortBy) Value

func (c FilterSnakeSortBy) Value() int64

type FilterSnakeSortByEnum

type FilterSnakeSortByEnum struct {
	E_1 FilterSnakeSortBy
	E_2 FilterSnakeSortBy
	E_3 FilterSnakeSortBy
}

func GetFilterSnakeSortByEnum

func GetFilterSnakeSortByEnum() FilterSnakeSortByEnum

type FilterSnakeSortOrder

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

func (FilterSnakeSortOrder) MarshalJSON

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

func (*FilterSnakeSortOrder) UnmarshalJSON

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

func (FilterSnakeSortOrder) Value

func (c FilterSnakeSortOrder) Value() int64

type FilterSnakeSortOrderEnum

type FilterSnakeSortOrderEnum struct {
	E_1 FilterSnakeSortOrder
	E_2 FilterSnakeSortOrder
}

func GetFilterSnakeSortOrderEnum

func GetFilterSnakeSortOrderEnum() FilterSnakeSortOrderEnum

type InstanceEdgeParam

type InstanceEdgeParam struct {

	// cpu架构 x86|arm
	Arch *InstanceEdgeParamArch `json:"arch,omitempty"`

	// cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G
	CpuMemory InstanceEdgeParamCpuMemory `json:"cpu_memory"`

	// 描述。长度不操过100个字符
	Description *string `json:"description,omitempty"`

	// 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间
	InstanceName string `json:"instance_name"`

	// 租户id(对应华为云帐号的domainId)
	InstanceUserDomainId *string `json:"instance_user_domain_id,omitempty"`

	// 用户id
	InstanceUserId *string `json:"instance_user_id,omitempty"`

	// 是否页面显示(以标签配置为准)
	IsTemporary *bool `json:"is_temporary,omitempty"`

	// 插件列表
	Plugins *[]Plugin `json:"plugins,omitempty"`

	// PVC规格 5GB|10GB|20GB
	PvcQuantity InstanceEdgeParamPvcQuantity `json:"pvc_quantity"`

	// 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止。
	RefreshTime *string `json:"refresh_time,omitempty"`

	// 技术栈ID,通过技术栈管理ListStacks接口获取。
	StackId string `json:"stack_id"`
}

func (InstanceEdgeParam) String

func (o InstanceEdgeParam) String() string

type InstanceEdgeParamArch

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

func (InstanceEdgeParamArch) MarshalJSON

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

func (*InstanceEdgeParamArch) UnmarshalJSON

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

func (InstanceEdgeParamArch) Value

func (c InstanceEdgeParamArch) Value() string

type InstanceEdgeParamArchEnum

type InstanceEdgeParamArchEnum struct {
	X86 InstanceEdgeParamArch
	ARM InstanceEdgeParamArch
}

func GetInstanceEdgeParamArchEnum

func GetInstanceEdgeParamArchEnum() InstanceEdgeParamArchEnum

type InstanceEdgeParamCpuMemory

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

func (InstanceEdgeParamCpuMemory) MarshalJSON

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

func (*InstanceEdgeParamCpuMemory) UnmarshalJSON

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

func (InstanceEdgeParamCpuMemory) Value

type InstanceEdgeParamCpuMemoryEnum

type InstanceEdgeParamCpuMemoryEnum struct {
	E_1_U1_G InstanceEdgeParamCpuMemory
	E_2_U4_G InstanceEdgeParamCpuMemory
	E_2_U8_G InstanceEdgeParamCpuMemory
	E_4_U8_G InstanceEdgeParamCpuMemory
}

func GetInstanceEdgeParamCpuMemoryEnum

func GetInstanceEdgeParamCpuMemoryEnum() InstanceEdgeParamCpuMemoryEnum

type InstanceEdgeParamPvcQuantity

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

func (InstanceEdgeParamPvcQuantity) MarshalJSON

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

func (*InstanceEdgeParamPvcQuantity) UnmarshalJSON

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

func (InstanceEdgeParamPvcQuantity) Value

type InstanceEdgeParamPvcQuantityEnum

type InstanceEdgeParamPvcQuantityEnum struct {
	E_5_GB  InstanceEdgeParamPvcQuantity
	E_10_GB InstanceEdgeParamPvcQuantity
	E_20_GB InstanceEdgeParamPvcQuantity
}

func GetInstanceEdgeParamPvcQuantityEnum

func GetInstanceEdgeParamPvcQuantityEnum() InstanceEdgeParamPvcQuantityEnum

type InstanceParam

type InstanceParam struct {

	// 代理商id,教程活动场景下使用
	AgentId *string `json:"agent_id,omitempty"`

	// cpu架构 x86|arm
	Arch *InstanceParamArch `json:"arch,omitempty"`

	// cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G
	CpuMemory InstanceParamCpuMemory `json:"cpu_memory"`

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

	// 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间
	DisplayName string `json:"display_name"`

	// 是否页面显示(以标签配置为准)
	IsTemporary *bool `json:"is_temporary,omitempty"`

	// 实例标签(不同的第三方需要和CodeArtsIDEOnline服务共同设定标签),不传默认为default
	LabelTag *string `json:"label_tag,omitempty"`

	// 预装插件列表
	PluginEnableList *[]string `json:"plugin_enable_list,omitempty"`

	// 预装插件参数,请注意敏感信息保护,若涉及敏感信息,请自行加密
	PluginVars map[string]string `json:"plugin_vars,omitempty"`

	// 云服务器对应的portId,小网连接ecs的场景下使用
	PortId *string `json:"port_id,omitempty"`

	// 云服务器ip,小网连接ecs的场景下使用
	PrivateIp *string `json:"private_ip,omitempty"`

	// PVC规格 5GB|10GB|20GB
	PvcQuantity InstanceParamPvcQuantity `json:"pvc_quantity"`

	// 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止
	RefreshInterval string `json:"refresh_interval"`

	// 解放号的仓库id,解放号场景下使用
	RepositoryId *int64 `json:"repository_id,omitempty"`

	// 技术栈ID,通过技术栈管理ListStacks接口获取。
	StackId string `json:"stack_id"`

	// 任务类型,教程活动场景下使用
	TaskType *string `json:"task_type,omitempty"`

	// 解放号的token,解放号场景下使用
	Token *string `json:"token,omitempty"`

	// 云服务器对应的vpcId,小网连接ecs的场景下使用
	VpcId *string `json:"vpc_id,omitempty"`

	// 实例授权用户租户ID
	InstanceDomainId *string `json:"instance_domain_id,omitempty"`

	// 实例授权用户ID
	InstanceUserId *string `json:"instance_user_id,omitempty"`
}

func (InstanceParam) String

func (o InstanceParam) String() string

type InstanceParamArch

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

func (InstanceParamArch) MarshalJSON

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

func (*InstanceParamArch) UnmarshalJSON

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

func (InstanceParamArch) Value

func (c InstanceParamArch) Value() string

type InstanceParamArchEnum

type InstanceParamArchEnum struct {
	X86 InstanceParamArch
	ARM InstanceParamArch
}

func GetInstanceParamArchEnum

func GetInstanceParamArchEnum() InstanceParamArchEnum

type InstanceParamCpuMemory

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

func (InstanceParamCpuMemory) MarshalJSON

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

func (*InstanceParamCpuMemory) UnmarshalJSON

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

func (InstanceParamCpuMemory) Value

func (c InstanceParamCpuMemory) Value() string

type InstanceParamCpuMemoryEnum

type InstanceParamCpuMemoryEnum struct {
	E_1_U1_G InstanceParamCpuMemory
	E_2_U4_G InstanceParamCpuMemory
	E_2_U8_G InstanceParamCpuMemory
	E_4_U8_G InstanceParamCpuMemory
}

func GetInstanceParamCpuMemoryEnum

func GetInstanceParamCpuMemoryEnum() InstanceParamCpuMemoryEnum

type InstanceParamPvcQuantity

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

func (InstanceParamPvcQuantity) MarshalJSON

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

func (*InstanceParamPvcQuantity) UnmarshalJSON

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

func (InstanceParamPvcQuantity) Value

func (c InstanceParamPvcQuantity) Value() string

type InstanceParamPvcQuantityEnum

type InstanceParamPvcQuantityEnum struct {
	E_5_GB  InstanceParamPvcQuantity
	E_10_GB InstanceParamPvcQuantity
	E_20_GB InstanceParamPvcQuantity
}

func GetInstanceParamPvcQuantityEnum

func GetInstanceParamPvcQuantityEnum() InstanceParamPvcQuantityEnum

type InstanceStatusResponse

type InstanceStatusResponse struct {

	// 服务链接
	ServerUrl *string `json:"server_url,omitempty"`

	// 实例状态。 - DELETED 已删除 - DELETE_FAILED 删除失败 - DELETING 删除中 - READY 热实例就绪状态 - RUNNING 正在运行 - STARTING 正在启动 - STOPPED 已停止 - STOPPING 停止中 - UPDATE 更新Schdule信息 - WAITING 热实例创建初始态
	Status *InstanceStatusResponseStatus `json:"status,omitempty"`
}

func (InstanceStatusResponse) String

func (o InstanceStatusResponse) String() string

type InstanceStatusResponseStatus

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

func (InstanceStatusResponseStatus) MarshalJSON

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

func (*InstanceStatusResponseStatus) UnmarshalJSON

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

func (InstanceStatusResponseStatus) Value

type InstanceUpdateParam

type InstanceUpdateParam struct {

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

	// 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间
	DisplayName string `json:"display_name"`

	// 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止
	RefreshInterval string `json:"refresh_interval"`
}

func (InstanceUpdateParam) String

func (o InstanceUpdateParam) String() string

type InstancesResponseInstancesVoResult

type InstancesResponseInstancesVoResult struct {

	// 链接
	Link *string `json:"link,omitempty"`

	// cpu架构 x86|arm
	Arch *InstancesResponseInstancesVoResultArch `json:"arch,omitempty"`

	// 实例id
	Id *string `json:"id,omitempty"`

	// 是否私有平台
	Private *bool `json:"private,omitempty"`
}

InstancesResponseInstancesVoResult 返回值

func (InstancesResponseInstancesVoResult) String

type InstancesResponseInstancesVoResultArch

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

func (InstancesResponseInstancesVoResultArch) MarshalJSON

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

func (*InstancesResponseInstancesVoResultArch) UnmarshalJSON

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

func (InstancesResponseInstancesVoResultArch) Value

type InstancesVo

type InstancesVo struct {

	// cpu架构 x86|arm
	Arch *InstancesVoArch `json:"arch,omitempty"`

	Attributes *Attributes `json:"attributes,omitempty"`

	// cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G
	CpuMemory *InstancesVoCpuMemory `json:"cpu_memory,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

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

	// 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间
	DisplayName *string `json:"display_name,omitempty"`

	// 租户名
	DomainName *string `json:"domain_name,omitempty"`

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

	// 是否页面显示(以标签配置为准)
	IsTemporary *bool `json:"is_temporary,omitempty"`

	// 标签
	Label *string `json:"label,omitempty"`

	// 链接
	Link *string `json:"link,omitempty"`

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

	// 租户id(对应华为云帐号的domainId)
	OrganizationId *string `json:"organization_id,omitempty"`

	// 用户id
	OwnerId *string `json:"owner_id,omitempty"`

	// 用户名
	OwnerName *string `json:"owner_name,omitempty"`

	// 平台ID
	PlatformId *int64 `json:"platform_id,omitempty"`

	// 是否私有平台
	Private *bool `json:"private,omitempty"`

	// PVC规格 5GB|10GB|20GB
	PvcQuantity *InstancesVoPvcQuantity `json:"pvc_quantity,omitempty"`

	// 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止
	RefreshInterval *int64 `json:"refresh_interval,omitempty"`

	// 区域
	Region *string `json:"region,omitempty"`

	// server
	ServerMap map[string]string `json:"server_map,omitempty"`

	// 服务链接
	ServerUrl *string `json:"server_url,omitempty"`

	// 技术栈ID,通过技术栈管理ListStacks接口获取。
	StackId *string `json:"stack_id,omitempty"`

	// 实例状态 。 - INIT 初始化 - STARTING 启动中 - RUNNING 运行中 - STOPPING 停止中 - STOPPED 已停止 - DELETING 删除中 - DELETED 已删除 - DELETE_FAILED 删除失败
	Status *InstancesVoStatus `json:"status,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 访问者id
	VisitorId *string `json:"visitor_id,omitempty"`

	// 访问者名称
	VisitorName *string `json:"visitor_name,omitempty"`

	// 访问者租户名称
	VisitorDomainName *string `json:"visitor_domain_name,omitempty"`
}

func (InstancesVo) String

func (o InstancesVo) String() string

type InstancesVoArch

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

func (InstancesVoArch) MarshalJSON

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

func (*InstancesVoArch) UnmarshalJSON

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

func (InstancesVoArch) Value

func (c InstancesVoArch) Value() string

type InstancesVoArchEnum

type InstancesVoArchEnum struct {
	X86 InstancesVoArch
	ARM InstancesVoArch
}

func GetInstancesVoArchEnum

func GetInstancesVoArchEnum() InstancesVoArchEnum

type InstancesVoCpuMemory

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

func (InstancesVoCpuMemory) MarshalJSON

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

func (*InstancesVoCpuMemory) UnmarshalJSON

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

func (InstancesVoCpuMemory) Value

func (c InstancesVoCpuMemory) Value() string

type InstancesVoCpuMemoryEnum

type InstancesVoCpuMemoryEnum struct {
	E_1_U1_G InstancesVoCpuMemory
	E_2_U4_G InstancesVoCpuMemory
	E_2_U8_G InstancesVoCpuMemory
	E_4_U8_G InstancesVoCpuMemory
}

func GetInstancesVoCpuMemoryEnum

func GetInstancesVoCpuMemoryEnum() InstancesVoCpuMemoryEnum

type InstancesVoPvcQuantity

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

func (InstancesVoPvcQuantity) MarshalJSON

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

func (*InstancesVoPvcQuantity) UnmarshalJSON

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

func (InstancesVoPvcQuantity) Value

func (c InstancesVoPvcQuantity) Value() string

type InstancesVoPvcQuantityEnum

type InstancesVoPvcQuantityEnum struct {
	E_5_GB  InstancesVoPvcQuantity
	E_10_GB InstancesVoPvcQuantity
	E_20_GB InstancesVoPvcQuantity
}

func GetInstancesVoPvcQuantityEnum

func GetInstancesVoPvcQuantityEnum() InstancesVoPvcQuantityEnum

type InstancesVoStatus

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

func (InstancesVoStatus) MarshalJSON

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

func (*InstancesVoStatus) UnmarshalJSON

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

func (InstancesVoStatus) Value

func (c InstancesVoStatus) Value() string

type InstancesVoStatusEnum

type InstancesVoStatusEnum struct {
	INIT          InstancesVoStatus
	STARTING      InstancesVoStatus
	RUNNING       InstancesVoStatus
	STOPPING      InstancesVoStatus
	STOPPED       InstancesVoStatus
	DELETING      InstancesVoStatus
	DELETED       InstancesVoStatus
	DELETE_FAILED InstancesVoStatus
}

func GetInstancesVoStatusEnum

func GetInstancesVoStatusEnum() InstancesVoStatusEnum

type JoinRequestSchema

type JoinRequestSchema struct {

	// the region of user
	Region *string `json:"region,omitempty"`

	// the name of user
	Name *string `json:"name,omitempty"`

	// the email of user
	Email *string `json:"email,omitempty"`

	// the organization of user
	Organization *string `json:"organization,omitempty"`

	// the phone_number of user
	PhoneNumber *string `json:"phone_number,omitempty"`

	// the invitation_code
	InvitationCode *string `json:"invitation_code,omitempty"`
}

JoinRequestSchema the request body of join-request

func (JoinRequestSchema) String

func (o JoinRequestSchema) String() string

type ListExtensionsRequest

type ListExtensionsRequest struct {
	Body *ExtensionQueryParamSnake `json:"body,omitempty"`
}

ListExtensionsRequest Request Object

func (ListExtensionsRequest) String

func (o ListExtensionsRequest) String() string

type ListExtensionsResponse

type ListExtensionsResponse struct {

	// 插件列表查询结果集合
	Results        *[]ExtensionQueryResult `json:"results,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListExtensionsResponse Response Object

func (ListExtensionsResponse) String

func (o ListExtensionsResponse) String() string

type ListInstancesRequest

type ListInstancesRequest struct {

	// 每页显示的条目数量 10/15/30
	Limit *int64 `json:"limit,omitempty"`

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

	// 是否页面显示(以标签配置为准)
	IsTemporary *bool `json:"is_temporary,omitempty"`

	// 标签
	Label *string `json:"label,omitempty"`

	// 关键字查询(根据实例名,描述模糊查询)
	Search *string `json:"search,omitempty"`

	// 排序方式 asc/desc
	SortDir *string `json:"sort_dir,omitempty"`

	// 排序字段。 display_name 实例名、status状态、pvc_quantity 存储容量、created_time 创建时间、stack_id 技术栈
	SortKey *string `json:"sort_key,omitempty"`
}

ListInstancesRequest Request Object

func (ListInstancesRequest) String

func (o ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {
	Instances *PageInstancesVo `json:"instances,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListInstancesResponse Response Object

func (ListInstancesResponse) String

func (o ListInstancesResponse) String() string

type ListOrgInstancesRequest

type ListOrgInstancesRequest struct {

	// 是否页面显示(以标签配置为准)
	IsTemporary *bool `json:"is_temporary,omitempty"`

	// 每页显示的条目数量 10/15/30
	Limit *int64 `json:"limit,omitempty"`

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

	// 租户id(对应华为云帐号的domainId)
	OrgId string `json:"org_id"`

	// 关键字查询(根据实例名,描述模糊查询)
	Search *string `json:"search,omitempty"`
}

ListOrgInstancesRequest Request Object

func (ListOrgInstancesRequest) String

func (o ListOrgInstancesRequest) String() string

type ListOrgInstancesResponse

type ListOrgInstancesResponse struct {
	Instances *PageInstancesVo `json:"instances,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListOrgInstancesResponse Response Object

func (ListOrgInstancesResponse) String

func (o ListOrgInstancesResponse) String() string

type ListProjectTemplatesRequest

type ListProjectTemplatesRequest struct {

	// cpu架构 x86|arm
	Arch *string `json:"arch,omitempty"`

	// 技术栈ID,通过技术栈管理ListStacks接口获取。
	StackId string `json:"stack_id"`
}

ListProjectTemplatesRequest Request Object

func (ListProjectTemplatesRequest) String

type ListProjectTemplatesResponse

type ListProjectTemplatesResponse struct {

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

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListProjectTemplatesResponse Response Object

func (ListProjectTemplatesResponse) String

type ListPublisherRequest

type ListPublisherRequest struct {

	// 发布商名称
	Name *string `json:"name,omitempty"`
}

ListPublisherRequest Request Object

func (ListPublisherRequest) String

func (o ListPublisherRequest) String() string

type ListPublisherResponse

type ListPublisherResponse struct {

	// 返回值
	Result *[]PublisherVo `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListPublisherResponse Response Object

func (ListPublisherResponse) String

func (o ListPublisherResponse) String() string

type ListStacksRequest

type ListStacksRequest struct {

	// 技术栈标签。默认为空值,查询全部。 例如:Java,CPP,GO,Python;可查询多个标签
	Tags *string `json:"tags,omitempty"`
}

ListStacksRequest Request Object

func (ListStacksRequest) String

func (o ListStacksRequest) String() string

type ListStacksResponse

type ListStacksResponse struct {
	Stack *StacksTags `json:"stack,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListStacksResponse Response Object

func (ListStacksResponse) String

func (o ListStacksResponse) String() string

type LoginSchema

type LoginSchema struct {

	// ide_type
	IdeType string `json:"ide_type"`

	// ide_version
	IdeVersion string `json:"ide_version"`

	// plugin_version
	PluginVersion string `json:"plugin_version"`
}

LoginSchema the request body of login

func (LoginSchema) String

func (o LoginSchema) String() string

type MemberRoleVo

type MemberRoleVo struct {

	// 租户ID
	DomainId *string `json:"domain_id,omitempty"`

	// 插件数量
	ExtensionCount *int32 `json:"extension_count,omitempty"`

	// 角色名称
	Role *string `json:"role,omitempty"`

	// 角色ID
	RoleId *int64 `json:"role_id,omitempty"`

	// 发布商或插件ID
	RoleValue *string `json:"role_value,omitempty"`

	// 用户ID
	UserId *string `json:"user_id,omitempty"`

	// 用户名
	UserName *string `json:"user_name,omitempty"`
}

func (MemberRoleVo) String

func (o MemberRoleVo) String() string

type PageInstancesVo

type PageInstancesVo struct {

	// 是否为空
	Empty *bool `json:"empty,omitempty"`

	// 列表详情
	Items *[]InstancesVo `json:"items,omitempty"`

	// 偏移量,表示从此偏移量开始查询
	ItemsBefore *int64 `json:"items_before,omitempty"`

	// 每页显示的条目数量
	Size *int64 `json:"size,omitempty"`

	// 总数
	TotalItemsCount *int64 `json:"total_items_count,omitempty"`
}

func (PageInstancesVo) String

func (o PageInstancesVo) String() string

type Plugin

type Plugin struct {

	// 插件属性
	Attribute *string `json:"attribute,omitempty"`

	// 插件名
	Name *string `json:"name,omitempty"`
}

func (Plugin) String

func (o Plugin) String() string

type ProjectTemplates

type ProjectTemplates struct {

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

	// 显示名
	DisplayName *string `json:"display_name,omitempty"`

	Logo *string `json:"logo,omitempty"`

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

	// 路径
	Path *string `json:"path,omitempty"`

	// 项目类型
	ProjectType *string `json:"project_type,omitempty"`

	// 区域
	Region *string `json:"region,omitempty"`

	Source *SourceStorage `json:"source,omitempty"`

	// tags
	Tags *[]string `json:"tags,omitempty"`

	// 模板id
	TemplateId *int64 `json:"template_id,omitempty"`

	// cpu架构
	Arch *string `json:"arch,omitempty"`
}

func (ProjectTemplates) String

func (o ProjectTemplates) String() string

type PropertiesSchema

type PropertiesSchema struct {

	// context
	Context *string `json:"context,omitempty"`

	// docstring
	Docstring *string `json:"docstring,omitempty"`

	// the type of ide
	IdeType *string `json:"ide_type,omitempty"`

	// the version of ide
	IdeVersion *string `json:"ide_version,omitempty"`

	// code language
	Language string `json:"language"`

	// the version of plugin
	PluginVersion *string `json:"plugin_version,omitempty"`

	// signature
	Signature *string `json:"signature,omitempty"`

	// the text above the cursor
	AboveText *string `json:"above_text,omitempty"`

	// the text following the cursor
	FollowingText *string `json:"following_text,omitempty"`
}

func (PropertiesSchema) String

func (o PropertiesSchema) String() string

type PublishExtensionRequest

type PublishExtensionRequest struct {

	// 发布商凭证,x-publisher-token和X-Auth-Token必传一个
	XPublisherToken *string `json:"x-publisher-token,omitempty"`

	// 任务id
	TaskId string `json:"task_id"`

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

PublishExtensionRequest Request Object

func (PublishExtensionRequest) String

func (o PublishExtensionRequest) String() string

type PublishExtensionResponse

type PublishExtensionResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

PublishExtensionResponse Response Object

func (PublishExtensionResponse) String

func (o PublishExtensionResponse) String() string

type PublisherSnake

type PublisherSnake struct {

	// 发布者id
	PublisherId *string `json:"publisher_id,omitempty"`

	// 发布者名称
	PublisherName *string `json:"publisher_name,omitempty"`

	// 发布者展示名
	DisplayName *string `json:"display_name,omitempty"`

	// 插件作者状态 - DISABLED 验证不通过 - VERIFIED 验证通过
	PublisherStatus *PublisherSnakePublisherStatus `json:"publisher_status,omitempty"`

	// 发布者邮箱
	Email *string `json:"email,omitempty"`

	// 网页url
	WebUrl *string `json:"web_url,omitempty"`

	// 是否开源
	Open *bool `json:"open,omitempty"`
}

func (PublisherSnake) String

func (o PublisherSnake) String() string

type PublisherSnakePublisherStatus

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

func (PublisherSnakePublisherStatus) MarshalJSON

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

func (*PublisherSnakePublisherStatus) UnmarshalJSON

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

func (PublisherSnakePublisherStatus) Value

type PublisherSnakePublisherStatusEnum

type PublisherSnakePublisherStatusEnum struct {
	DISABLED PublisherSnakePublisherStatus
	VERIFIED PublisherSnakePublisherStatus
}

func GetPublisherSnakePublisherStatusEnum

func GetPublisherSnakePublisherStatusEnum() PublisherSnakePublisherStatusEnum

type PublisherVo

type PublisherVo struct {

	// 代码地址
	CodeRepo *string `json:"code_repo,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 发布商描述
	Description *string `json:"description,omitempty"`

	// EAMAP注册信息
	EamapInfo *string `json:"eamap_info,omitempty"`

	// 邮箱
	Email *string `json:"email,omitempty"`

	// espase交流群号
	EspaseGroup *string `json:"espase_group,omitempty"`

	// 插件数量
	ExtensionCount *int64 `json:"extension_count,omitempty"`

	// 发布商ID
	Id *string `json:"id,omitempty"`

	// 唯一标志
	Identifier *string `json:"identifier,omitempty"`

	// 开源发布商,0:非开源; 1:开源;
	IsOpen *bool `json:"is_open,omitempty"`

	// 发布商或组织,0:发布商; 1:组织;
	IsOrg *bool `json:"is_org,omitempty"`

	// 发布商logo
	LogoUrl *string `json:"logo_url,omitempty"`

	// 成员数量
	MemberCount *int64 `json:"member_count,omitempty"`

	// 发布商名称
	Name *string `json:"name,omitempty"`

	// 是否是官方发布商
	Official *bool `json:"official,omitempty"`

	// 成员角色
	Owners *[]MemberRoleVo `json:"owners,omitempty"`

	// 是否开启发布商审核,1:开启;0:关闭
	PublisherReview *bool `json:"publisher_review,omitempty"`

	// 角色
	Role *string `json:"role,omitempty"`

	// 状态,0:禁用; 1:正常;
	Status *bool `json:"status,omitempty"`

	// 匹配数量
	SuiteCount *int64 `json:"suite_count,omitempty"`

	// 支持地址
	SupportUrl *string `json:"support_url,omitempty"`

	// 是否忽略系统审核,1:忽略;0:不忽略
	SystemReview *bool `json:"system_review,omitempty"`

	// 更新时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 官网地址
	WebUrl *string `json:"web_url,omitempty"`
}

func (PublisherVo) String

func (o PublisherVo) String() string

type Recipe

type Recipe struct {

	// 镜像内容
	Content *string `json:"content,omitempty"`

	// 镜像类型
	Type *string `json:"type,omitempty"`
}

func (Recipe) String

func (o Recipe) String() string

type RequestStatus

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

RequestStatus An enumeration. - created - dispatched - completed - timeout - unknown

func (RequestStatus) MarshalJSON

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

func (*RequestStatus) UnmarshalJSON

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

func (RequestStatus) Value

func (c RequestStatus) Value() string

type RequestStatusEnum

type RequestStatusEnum struct {
	CREATED    RequestStatus
	DISPATCHED RequestStatus
	COMPLETED  RequestStatus
	TIMEOUT    RequestStatus
	UNKNOWN    RequestStatus
}

func GetRequestStatusEnum

func GetRequestStatusEnum() RequestStatusEnum

type ResourcePrice

type ResourcePrice struct {

	// cpu架构 x86|arm
	Arch *ResourcePriceArch `json:"arch,omitempty"`

	// 价格
	Price *float32 `json:"price,omitempty"`

	// 规格。 类型为'storage'时,size值可以为5GB,10GB,20GB。 类型为'cpuMemory'时,arch为'x86',size值可以为1U1G,2U4G,4U8G;arch为'arm',size值可以为4U8G。
	Size *string `json:"size,omitempty"`

	// 类型。目前可以取值storage,cpuMemory
	Type *string `json:"type,omitempty"`
}

func (ResourcePrice) String

func (o ResourcePrice) String() string

type ResourcePriceArch

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

func (ResourcePriceArch) MarshalJSON

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

func (*ResourcePriceArch) UnmarshalJSON

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

func (ResourcePriceArch) Value

func (c ResourcePriceArch) Value() string

type ResourcePriceArchEnum

type ResourcePriceArchEnum struct {
	X86 ResourcePriceArch
	ARM ResourcePriceArch
}

func GetResourcePriceArchEnum

func GetResourcePriceArchEnum() ResourcePriceArchEnum

type ResultMetadataSnake

type ResultMetadataSnake struct {

	// 元数据类型
	MetadataType *string `json:"metadata_type,omitempty"`

	// 元数据列表
	MetadataItems *[]map[string]interface{} `json:"metadata_items,omitempty"`
}

func (ResultMetadataSnake) String

func (o ResultMetadataSnake) String() string

type ShowAccountStatusRequest

type ShowAccountStatusRequest struct {
}

ShowAccountStatusRequest Request Object

func (ShowAccountStatusRequest) String

func (o ShowAccountStatusRequest) String() string

type ShowAccountStatusResponse

type ShowAccountStatusResponse struct {
	Result *AccountStatus `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAccountStatusResponse Response Object

func (ShowAccountStatusResponse) String

func (o ShowAccountStatusResponse) String() string

type ShowCategoryListRequest

type ShowCategoryListRequest struct {

	// 页码
	PageNum *int64 `json:"page_num,omitempty"`

	// 分页大小
	PageSize *int64 `json:"page_size,omitempty"`

	// 场景名称
	SceneName *string `json:"scene_name,omitempty"`

	// 支持的ide
	SupportIde *int32 `json:"support_ide,omitempty"`

	// 数据来源
	Type *int32 `json:"type,omitempty"`
}

ShowCategoryListRequest Request Object

func (ShowCategoryListRequest) String

func (o ShowCategoryListRequest) String() string

type ShowCategoryListResponse

type ShowCategoryListResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowCategoryListResponse Response Object

func (ShowCategoryListResponse) String

func (o ShowCategoryListResponse) String() string

type ShowExtensionAuthorizationRequest

type ShowExtensionAuthorizationRequest struct {

	// 插件版本
	ExtensionVersion string `json:"extension_version"`

	// 插件标识(发布者.插件名)
	Identifier string `json:"identifier"`

	// CodeArtsIDEOnline实例ID
	InstanceId string `json:"instance_id"`
}

ShowExtensionAuthorizationRequest Request Object

func (ShowExtensionAuthorizationRequest) String

type ShowExtensionAuthorizationResponse

type ShowExtensionAuthorizationResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowExtensionAuthorizationResponse Response Object

func (ShowExtensionAuthorizationResponse) String

type ShowExtensionDetailRequest

type ShowExtensionDetailRequest struct {
	Body *ExtensionSearchUserInputParamCustomizeForDetail `json:"body,omitempty"`
}

ShowExtensionDetailRequest Request Object

func (ShowExtensionDetailRequest) String

type ShowExtensionDetailResponse

type ShowExtensionDetailResponse struct {

	// 插件列表查询结果集合
	Results        *[]ExtensionQueryResult `json:"results,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ShowExtensionDetailResponse Response Object

func (ShowExtensionDetailResponse) String

type ShowExtensionEvaluationRequest

type ShowExtensionEvaluationRequest struct {

	// 插件id
	ExtensionId string `json:"extension_id"`

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

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

ShowExtensionEvaluationRequest Request Object

func (ShowExtensionEvaluationRequest) String

type ShowExtensionEvaluationResponse

type ShowExtensionEvaluationResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowExtensionEvaluationResponse Response Object

func (ShowExtensionEvaluationResponse) String

type ShowExtensionEvaluationStarRequest

type ShowExtensionEvaluationStarRequest struct {

	// 插件id
	ExtensionId string `json:"extension_id"`

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

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

ShowExtensionEvaluationStarRequest Request Object

func (ShowExtensionEvaluationStarRequest) String

type ShowExtensionEvaluationStarResponse

type ShowExtensionEvaluationStarResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowExtensionEvaluationStarResponse Response Object

func (ShowExtensionEvaluationStarResponse) String

type ShowExtensionTestingResultRequest

type ShowExtensionTestingResultRequest struct {

	// 发布商凭证,x-publisher-token和X-Auth-Token必传一个
	XPublisherToken *string `json:"x-publisher-token,omitempty"`

	// 任务id
	TaskId string `json:"task_id"`
}

ShowExtensionTestingResultRequest Request Object

func (ShowExtensionTestingResultRequest) String

type ShowExtensionTestingResultResponse

type ShowExtensionTestingResultResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowExtensionTestingResultResponse Response Object

func (ShowExtensionTestingResultResponse) String

type ShowInstanceRequest

type ShowInstanceRequest struct {

	// 实例id
	InstanceId string `json:"instance_id"`
}

ShowInstanceRequest Request Object

func (ShowInstanceRequest) String

func (o ShowInstanceRequest) String() string

type ShowInstanceResponse

type ShowInstanceResponse struct {
	Instance *InstancesVo `json:"instance,omitempty"`

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

	// 静态资源链接
	BundleUrl      *string `json:"bundle_url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowInstanceResponse Response Object

func (ShowInstanceResponse) String

func (o ShowInstanceResponse) String() string

type ShowInstanceStatusInfoRequest

type ShowInstanceStatusInfoRequest struct {

	// CodeArtsIDEOnline实例id
	InstanceId string `json:"instance_id"`
}

ShowInstanceStatusInfoRequest Request Object

func (ShowInstanceStatusInfoRequest) String

type ShowInstanceStatusInfoResponse

type ShowInstanceStatusInfoResponse struct {
	Result *InstanceStatusResponse `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowInstanceStatusInfoResponse Response Object

func (ShowInstanceStatusInfoResponse) String

type ShowPriceRequest

type ShowPriceRequest struct {
}

ShowPriceRequest Request Object

func (ShowPriceRequest) String

func (o ShowPriceRequest) String() string

type ShowPriceResponse

type ShowPriceResponse struct {

	// 技术栈价格列表
	Prices *[]ResourcePrice `json:"prices,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowPriceResponse Response Object

func (ShowPriceResponse) String

func (o ShowPriceResponse) String() string

type ShowResultRequest

type ShowResultRequest struct {

	// the unique if of the request
	RequestId string `json:"request_id"`
}

ShowResultRequest Request Object

func (ShowResultRequest) String

func (o ShowResultRequest) String() string

type ShowResultResponse

type ShowResultResponse struct {
	RequestStatus *RequestStatus `json:"request_status,omitempty"`

	// task list
	Tasks *[]TaskModel `json:"tasks,omitempty"`

	// the type of the request
	RequestType    *string `json:"request_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowResultResponse Response Object

func (ShowResultResponse) String

func (o ShowResultResponse) String() string

type SourceStorage

type SourceStorage struct {

	// 位置
	Location *string `json:"location,omitempty"`

	// 参数值
	Parameters map[string]string `json:"parameters,omitempty"`

	// 类型
	Type *string `json:"type,omitempty"`
}

func (SourceStorage) String

func (o SourceStorage) String() string

type StackInfo

type StackInfo struct {
	ArmConfig *StacksConfig `json:"arm_config,omitempty"`

	// bundleUrl
	BundleUrl *string `json:"bundle_url,omitempty"`

	Config *StacksConfig `json:"config,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 是否删除
	Delete *bool `json:"delete,omitempty"`

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

	// 是否可用
	Disable *bool `json:"disable,omitempty"`

	// 显示名称
	DisplayName *string `json:"display_name,omitempty"`

	// id
	Id *int64 `json:"id,omitempty"`

	// 标签
	Label *string `json:"label,omitempty"`

	Logo *string `json:"logo,omitempty"`

	// region
	Region *string `json:"region,omitempty"`

	// 是否显示
	Show *bool `json:"show,omitempty"`

	// 技术栈名称
	StackName *string `json:"stack_name,omitempty"`

	// tags
	Tags *[]string `json:"tags,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 使用者
	Users *[]string `json:"users,omitempty"`
}

func (StackInfo) String

func (o StackInfo) String() string

type StacksAttribute

type StacksAttribute struct {

	// 规格列表
	Specs *[]string `json:"specs,omitempty"`

	// 提示id
	Suggest *string `json:"suggest,omitempty"`

	// 提示信息
	SuggestTitle *string `json:"suggest_title,omitempty"`

	// 卷容量列表
	Volumes *[]string `json:"volumes,omitempty"`
}

func (StacksAttribute) String

func (o StacksAttribute) String() string

type StacksConfig

type StacksConfig struct {
	Attributes *StacksAttribute `json:"attributes,omitempty"`

	Recipe *Recipe `json:"recipe,omitempty"`
}

func (StacksConfig) String

func (o StacksConfig) String() string

type StacksTags

type StacksTags struct {

	// 技术栈列表
	StackList *[]StackInfo `json:"stack_list,omitempty"`

	// 技术栈tag集合
	Tags *[]string `json:"tags,omitempty"`
}

func (StacksTags) String

func (o StacksTags) String() string

type StartInstanceParam

type StartInstanceParam struct {

	// 插件列表
	PluginEnableList *[]string `json:"plugin_enable_list,omitempty"`

	// 插件参数,请注意敏感信息保护,若涉及敏感信息,请自行加密
	PluginVars map[string]string `json:"plugin_vars,omitempty"`
}

func (StartInstanceParam) String

func (o StartInstanceParam) String() string

type StartInstanceRequest

type StartInstanceRequest struct {

	// 实例id
	InstanceId string `json:"instance_id"`

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

StartInstanceRequest Request Object

func (StartInstanceRequest) String

func (o StartInstanceRequest) String() string

type StartInstanceResponse

type StartInstanceResponse struct {

	// 返回值
	Result *string `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StartInstanceResponse Response Object

func (StartInstanceResponse) String

func (o StartInstanceResponse) String() string

type StopInstanceRequest

type StopInstanceRequest struct {

	// 实例id
	InstanceId string `json:"instance_id"`
}

StopInstanceRequest Request Object

func (StopInstanceRequest) String

func (o StopInstanceRequest) String() string

type StopInstanceResponse

type StopInstanceResponse struct {

	// 返回值
	Result *bool `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StopInstanceResponse Response Object

func (StopInstanceResponse) String

func (o StopInstanceResponse) String() string

type TaskModel

type TaskModel struct {

	// the docker_id
	DockerId *string `json:"docker_id,omitempty"`

	// exception
	Exception *string `json:"exception,omitempty"`

	// the generated_snippet
	GeneratedSnippet *string `json:"generated_snippet,omitempty"`

	// code language
	Language *string `json:"language,omitempty"`

	// model_id
	ModelId *string `json:"model_id,omitempty"`

	// record_time
	RecordTime *sdktime.SdkTime `json:"record_time,omitempty"`

	// the unique id of request
	RequestId *string `json:"request_id,omitempty"`

	// the snippet of code
	Snippet *string `json:"snippet,omitempty"`

	// start_time
	StartTime *sdktime.SdkTime `json:"start_time,omitempty"`

	// status
	Status *string `json:"status,omitempty"`

	// task_id
	TaskId *int32 `json:"task_id,omitempty"`

	// the time_consuming
	TimeConsuming float32 `json:"time_consuming,omitempty"`
}

func (TaskModel) String

func (o TaskModel) String() string

type TaskModelMarketPlace

type TaskModelMarketPlace struct {

	// 任务类型
	Type int32 `json:"type"`
}

func (TaskModelMarketPlace) String

func (o TaskModelMarketPlace) String() string

type UpdateInstanceActivityRequest

type UpdateInstanceActivityRequest struct {

	// CodeArtsIDEOnline实例id
	InstanceId string `json:"instance_id"`
}

UpdateInstanceActivityRequest Request Object

func (UpdateInstanceActivityRequest) String

type UpdateInstanceActivityResponse

type UpdateInstanceActivityResponse struct {
	Result *ExpireVo `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateInstanceActivityResponse Response Object

func (UpdateInstanceActivityResponse) String

type UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// 实例id
	InstanceId string `json:"instance_id"`

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

UpdateInstanceRequest Request Object

func (UpdateInstanceRequest) String

func (o UpdateInstanceRequest) String() string

type UpdateInstanceResponse

type UpdateInstanceResponse struct {

	// 返回值
	Result *bool `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateInstanceResponse Response Object

func (UpdateInstanceResponse) String

func (o UpdateInstanceResponse) String() string

type UploadExtensionFileRequest

type UploadExtensionFileRequest struct {

	// 插件类型。目前只支持CodeArtsIDEOnline
	Official string `json:"official"`

	Body *UploadExtensionFileRequestBody `json:"body,omitempty" type:"multipart"`
}

UploadExtensionFileRequest Request Object

func (UploadExtensionFileRequest) String

type UploadExtensionFileRequestBody

type UploadExtensionFileRequestBody struct {

	// 文件
	File *def.FilePart `json:"file"`
}

func (UploadExtensionFileRequestBody) String

func (*UploadExtensionFileRequestBody) UnmarshalJSON

func (o *UploadExtensionFileRequestBody) UnmarshalJSON(b []byte) error

type UploadExtensionFileResponse

type UploadExtensionFileResponse struct {
	Error *Error `json:"error,omitempty"`

	// 结果
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UploadExtensionFileResponse Response Object

func (UploadExtensionFileResponse) String

type UploadFilePublisherRequest

type UploadFilePublisherRequest struct {

	// 发布商凭证,x-publisher-token和X-Auth-Token必传一个
	XPublisherToken *string `json:"x-publisher-token,omitempty"`

	Body *UploadFilePublisherRequestBody `json:"body,omitempty" type:"multipart"`
}

UploadFilePublisherRequest Request Object

func (UploadFilePublisherRequest) String

type UploadFilePublisherRequestBody

type UploadFilePublisherRequestBody struct {

	// 文件
	File *def.FilePart `json:"file"`

	// 传用户token时,此字段为必传项
	PublisherId *def.MultiPart `json:"publisher_id,omitempty"`

	// 分片索引,第几个分片 取值范围:1-100
	ChunkIndex *def.MultiPart `json:"chunk_index"`

	// 是否合并已上传的分片(包含本次分片内容),true
	Merge *def.MultiPart `json:"merge"`

	// 总分片数 0-100
	TotalChunkNum *def.MultiPart `json:"total_chunk_num"`

	// 父文件大小
	ParentFileSize *def.MultiPart `json:"parent_file_size"`

	// 父文件名称
	ParentFileName *def.MultiPart `json:"parent_file_name"`

	// 是否覆盖原有文件
	Override *def.MultiPart `json:"override"`

	// 文件分片的md5,用于校验文件分片是否完整
	ChunkMd5 *def.MultiPart `json:"chunk_md5"`

	// 父文件hash,用于校验合并后的文件
	ParentFileSha256 *def.MultiPart `json:"parent_file_sha256,omitempty"`

	// 上传任务的唯一标识,第一次上传分片时可不传
	TaskId *def.MultiPart `json:"task_id,omitempty"`
}

func (UploadFilePublisherRequestBody) String

func (*UploadFilePublisherRequestBody) UnmarshalJSON

func (o *UploadFilePublisherRequestBody) UnmarshalJSON(b []byte) error

type UploadFilePublisherResponse

type UploadFilePublisherResponse struct {

	// 返回值
	Result *interface{} `json:"result,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UploadFilePublisherResponse Response Object

func (UploadFilePublisherResponse) String

Source Files

Jump to

Keyboard shortcuts

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