// @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 SavePath struct { position.Path // 智能体Id(URL路径参数) AgentId *string `json:"agentId,omitempty"` } func (s SavePath) String() string { return utils.Beautify(s) } func (s SavePath) GoString() string { return s.String() } func (s SavePath) ToJsonString() string { return utils.ToJsonString(s) } func (s *SavePath) SetAgentId(v string) *SavePath { s.AgentId = &v return s } type SavePathBuilder struct { s *SavePath } func NewSavePathBuilder() *SavePathBuilder { s := &SavePath{} b := &SavePathBuilder{s: s} return b } func (b *SavePathBuilder) AgentId(v string) *SavePathBuilder { b.s.AgentId = &v return b } func (b *SavePathBuilder) Build() *SavePath { return b.s }