|
- // @Title Golang SDK Client
- // @Description This code is auto generated
- // @Author Ecloud SDK
-
- package model
-
- import (
- "gitlab.ecloud.com/ecloud/ecloudsdkcore/position"
- "gitlab.ecloud.com/ecloud/ecloudsdkcore/utils"
- )
-
- type CreateQuery struct {
- position.Query
- // 项目ID,参考智算平台openApi文档,项目空间列表接口, 不传或者非法值会报“权限问题”
- ProjectId *string `json:"projectId,omitempty"`
- }
-
- func (s CreateQuery) String() string {
- return utils.Beautify(s)
- }
-
- func (s CreateQuery) GoString() string {
- return s.String()
- }
-
- func (s CreateQuery) ToJsonString() string {
- return utils.ToJsonString(s)
- }
-
- func (s *CreateQuery) SetProjectId(v string) *CreateQuery {
- s.ProjectId = &v
- return s
- }
-
-
- type CreateQueryBuilder struct {
- s *CreateQuery
- }
-
- func NewCreateQueryBuilder() *CreateQueryBuilder {
- s := &CreateQuery{}
- b := &CreateQueryBuilder{s: s}
- return b
- }
-
- func (b *CreateQueryBuilder) ProjectId(v string) *CreateQueryBuilder {
- b.s.ProjectId = &v
- return b
- }
-
- func (b *CreateQueryBuilder) Build() *CreateQuery {
- return b.s
- }
-
|