Documentation
¶
Index ¶
- type CreateCodeInterpreterRequest
- func NewCreateCodeInterpreterRequest(regionId string, pin string, requestId string) *CreateCodeInterpreterRequest
- func NewCreateCodeInterpreterRequestWithAllParams(regionId string, erpAccount *string, pin string, requestId string, ...) *CreateCodeInterpreterRequest
- func NewCreateCodeInterpreterRequestWithoutParam() *CreateCodeInterpreterRequest
- func (r CreateCodeInterpreterRequest) GetRegionId() string
- func (r *CreateCodeInterpreterRequest) SetDescription(description string)
- func (r *CreateCodeInterpreterRequest) SetErpAccount(erpAccount string)
- func (r *CreateCodeInterpreterRequest) SetName(name string)
- func (r *CreateCodeInterpreterRequest) SetPin(pin string)
- func (r *CreateCodeInterpreterRequest) SetRegionId(regionId string)
- func (r *CreateCodeInterpreterRequest) SetRequestId(requestId string)
- type CreateCodeInterpreterResponse
- type CreateCodeInterpreterResult
- type CreateEventRequest
- func NewCreateEventRequest(regionId string, pin string, requestId string, actor string, memoryId string, ...) *CreateEventRequest
- func NewCreateEventRequestWithAllParams(regionId string, erpAccount *string, pin string, requestId string, ...) *CreateEventRequest
- func NewCreateEventRequestWithoutParam() *CreateEventRequest
- func (r CreateEventRequest) GetRegionId() string
- func (r *CreateEventRequest) SetActor(actor string)
- func (r *CreateEventRequest) SetErpAccount(erpAccount string)
- func (r *CreateEventRequest) SetInfer(infer bool)
- func (r *CreateEventRequest) SetMemoryId(memoryId string)
- func (r *CreateEventRequest) SetMessages(messages []joygrid.Message)
- func (r *CreateEventRequest) SetPin(pin string)
- func (r *CreateEventRequest) SetRegionId(regionId string)
- func (r *CreateEventRequest) SetRequestId(requestId string)
- func (r *CreateEventRequest) SetSessionId(sessionId string)
- type CreateEventResponse
- type CreateEventResult
- type CreateMemoryRequest
- func (r CreateMemoryRequest) GetRegionId() string
- func (r *CreateMemoryRequest) SetDescription(description string)
- func (r *CreateMemoryRequest) SetErpAccount(erpAccount string)
- func (r *CreateMemoryRequest) SetName(name string)
- func (r *CreateMemoryRequest) SetPin(pin string)
- func (r *CreateMemoryRequest) SetRegionId(regionId string)
- func (r *CreateMemoryRequest) SetRequestId(requestId string)
- type CreateMemoryResponse
- type CreateMemoryResult
- type CreateRuntimeRequest
- func NewCreateRuntimeRequest(regionId string, agentRuntimeArtifact *joygrid.AgentRuntimeArtifact, ...) *CreateRuntimeRequest
- func NewCreateRuntimeRequestWithAllParams(regionId string, agentRuntimeArtifact *joygrid.AgentRuntimeArtifact, ...) *CreateRuntimeRequest
- func NewCreateRuntimeRequestWithoutParam() *CreateRuntimeRequest
- func (r CreateRuntimeRequest) GetRegionId() string
- func (r *CreateRuntimeRequest) SetAgentRuntimeArtifact(agentRuntimeArtifact *joygrid.AgentRuntimeArtifact)
- func (r *CreateRuntimeRequest) SetAgentRuntimeName(agentRuntimeName string)
- func (r *CreateRuntimeRequest) SetDescription(description string)
- func (r *CreateRuntimeRequest) SetRegionId(regionId string)
- type CreateRuntimeResponse
- type CreateRuntimeResult
- type DeleteCodeInterpreterRequest
- func NewDeleteCodeInterpreterRequest(regionId string, codeInterpreterId string) *DeleteCodeInterpreterRequest
- func NewDeleteCodeInterpreterRequestWithAllParams(regionId string, codeInterpreterId string) *DeleteCodeInterpreterRequest
- func NewDeleteCodeInterpreterRequestWithoutParam() *DeleteCodeInterpreterRequest
- type DeleteCodeInterpreterResponse
- type DeleteCodeInterpreterResult
- type DeleteEventRequest
- func NewDeleteEventRequest(regionId string, eventId string, memoryId string, actor string) *DeleteEventRequest
- func NewDeleteEventRequestWithAllParams(regionId string, eventId string, memoryId string, actor string, ...) *DeleteEventRequest
- func NewDeleteEventRequestWithoutParam() *DeleteEventRequest
- func (r DeleteEventRequest) GetRegionId() string
- func (r *DeleteEventRequest) SetActor(actor string)
- func (r *DeleteEventRequest) SetEventId(eventId string)
- func (r *DeleteEventRequest) SetMemoryId(memoryId string)
- func (r *DeleteEventRequest) SetRegionId(regionId string)
- func (r *DeleteEventRequest) SetSessionId(sessionId string)
- type DeleteEventResponse
- type DeleteEventResult
- type DeleteMemoryRequest
- type DeleteMemoryResponse
- type DeleteMemoryResult
- type DeleteRuntimeRequest
- type DeleteRuntimeResponse
- type DeleteRuntimeResult
- type DescribeCodeInterpreterRequest
- func NewDescribeCodeInterpreterRequest(regionId string, codeInterpreterId string) *DescribeCodeInterpreterRequest
- func NewDescribeCodeInterpreterRequestWithAllParams(regionId string, codeInterpreterId string) *DescribeCodeInterpreterRequest
- func NewDescribeCodeInterpreterRequestWithoutParam() *DescribeCodeInterpreterRequest
- type DescribeCodeInterpreterResponse
- type DescribeCodeInterpreterResult
- type DescribeCodeInterpreterSessionsRequest
- func NewDescribeCodeInterpreterSessionsRequest(regionId string, codeInterpreterId string) *DescribeCodeInterpreterSessionsRequest
- func NewDescribeCodeInterpreterSessionsRequestWithAllParams(regionId string, codeInterpreterId string, pageNumber *int, pageSize *int) *DescribeCodeInterpreterSessionsRequest
- func NewDescribeCodeInterpreterSessionsRequestWithoutParam() *DescribeCodeInterpreterSessionsRequest
- func (r DescribeCodeInterpreterSessionsRequest) GetRegionId() string
- func (r *DescribeCodeInterpreterSessionsRequest) SetCodeInterpreterId(codeInterpreterId string)
- func (r *DescribeCodeInterpreterSessionsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeCodeInterpreterSessionsRequest) SetPageSize(pageSize int)
- func (r *DescribeCodeInterpreterSessionsRequest) SetRegionId(regionId string)
- type DescribeCodeInterpreterSessionsResponse
- type DescribeCodeInterpreterSessionsResult
- type DescribeCodeInterpretersRequest
- func NewDescribeCodeInterpretersRequest(regionId string) *DescribeCodeInterpretersRequest
- func NewDescribeCodeInterpretersRequestWithAllParams(regionId string, pageNumber *int, pageSize *int) *DescribeCodeInterpretersRequest
- func NewDescribeCodeInterpretersRequestWithoutParam() *DescribeCodeInterpretersRequest
- type DescribeCodeInterpretersResponse
- type DescribeCodeInterpretersResult
- type DescribeEventRequest
- func NewDescribeEventRequest(regionId string, eventId string, memoryId string, actor string) *DescribeEventRequest
- func NewDescribeEventRequestWithAllParams(regionId string, eventId string, memoryId string, actor string, ...) *DescribeEventRequest
- func NewDescribeEventRequestWithoutParam() *DescribeEventRequest
- func (r DescribeEventRequest) GetRegionId() string
- func (r *DescribeEventRequest) SetActor(actor string)
- func (r *DescribeEventRequest) SetEventId(eventId string)
- func (r *DescribeEventRequest) SetMemoryId(memoryId string)
- func (r *DescribeEventRequest) SetRegionId(regionId string)
- func (r *DescribeEventRequest) SetSessionId(sessionId string)
- type DescribeEventResponse
- type DescribeEventResult
- type DescribeEventsRequest
- func NewDescribeEventsRequest(regionId string, memoryId string, actor string) *DescribeEventsRequest
- func NewDescribeEventsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, memoryId string, actor string, ...) *DescribeEventsRequest
- func NewDescribeEventsRequestWithoutParam() *DescribeEventsRequest
- func (r DescribeEventsRequest) GetRegionId() string
- func (r *DescribeEventsRequest) SetActor(actor string)
- func (r *DescribeEventsRequest) SetMemoryId(memoryId string)
- func (r *DescribeEventsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeEventsRequest) SetPageSize(pageSize int)
- func (r *DescribeEventsRequest) SetRegionId(regionId string)
- func (r *DescribeEventsRequest) SetSessionId(sessionId string)
- type DescribeEventsResponse
- type DescribeEventsResult
- type DescribeMemoriesRequest
- type DescribeMemoriesResponse
- type DescribeMemoriesResult
- type DescribeMemoryRequest
- type DescribeMemoryResponse
- type DescribeMemoryResult
- type DescribeRuntimeRequest
- type DescribeRuntimeResponse
- type DescribeRuntimeResult
- type DescribeRuntimesRequest
- type DescribeRuntimesResponse
- type DescribeRuntimesResult
- type InvokeCodeInterpreterRequest
- func NewInvokeCodeInterpreterRequest(regionId string, proxyPath string, codeInterpreterId string) *InvokeCodeInterpreterRequest
- func NewInvokeCodeInterpreterRequestWithAllParams(regionId string, proxyPath string, codeInterpreterId string, sessionId *string) *InvokeCodeInterpreterRequest
- func NewInvokeCodeInterpreterRequestWithoutParam() *InvokeCodeInterpreterRequest
- func (r InvokeCodeInterpreterRequest) GetRegionId() string
- func (r *InvokeCodeInterpreterRequest) SetCodeInterpreterId(codeInterpreterId string)
- func (r *InvokeCodeInterpreterRequest) SetProxyPath(proxyPath string)
- func (r *InvokeCodeInterpreterRequest) SetRegionId(regionId string)
- func (r *InvokeCodeInterpreterRequest) SetSessionId(sessionId string)
- type InvokeCodeInterpreterResponse
- type InvokeCodeInterpreterResult
- type InvokeRuntimeRequest
- type InvokeRuntimeResponse
- type InvokeRuntimeResult
- type SearchEventsRequest
- func NewSearchEventsRequest(regionId string, memoryId string, actor string, query string) *SearchEventsRequest
- func NewSearchEventsRequestWithAllParams(regionId string, memoryId string, actor string, query string, ...) *SearchEventsRequest
- func NewSearchEventsRequestWithoutParam() *SearchEventsRequest
- func (r SearchEventsRequest) GetRegionId() string
- func (r *SearchEventsRequest) SetActor(actor string)
- func (r *SearchEventsRequest) SetMemoryId(memoryId string)
- func (r *SearchEventsRequest) SetQuery(query string)
- func (r *SearchEventsRequest) SetRegionId(regionId string)
- func (r *SearchEventsRequest) SetSessionId(sessionId string)
- type SearchEventsResponse
- type SearchEventsResult
- type StartCodeInterpreterSessionRequest
- func NewStartCodeInterpreterSessionRequest(regionId string, codeInterpreterId string) *StartCodeInterpreterSessionRequest
- func NewStartCodeInterpreterSessionRequestWithAllParams(regionId string, codeInterpreterId string) *StartCodeInterpreterSessionRequest
- func NewStartCodeInterpreterSessionRequestWithoutParam() *StartCodeInterpreterSessionRequest
- type StartCodeInterpreterSessionResponse
- type StartCodeInterpreterSessionResult
- type StopCodeInterpreterSessionRequest
- func NewStopCodeInterpreterSessionRequest(regionId string, sessionId string, codeInterpreterId string) *StopCodeInterpreterSessionRequest
- func NewStopCodeInterpreterSessionRequestWithAllParams(regionId string, sessionId string, codeInterpreterId string) *StopCodeInterpreterSessionRequest
- func NewStopCodeInterpreterSessionRequestWithoutParam() *StopCodeInterpreterSessionRequest
- func (r StopCodeInterpreterSessionRequest) GetRegionId() string
- func (r *StopCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
- func (r *StopCodeInterpreterSessionRequest) SetRegionId(regionId string)
- func (r *StopCodeInterpreterSessionRequest) SetSessionId(sessionId string)
- type StopCodeInterpreterSessionResponse
- type StopCodeInterpreterSessionResult
- type UpdateCodeInterpreterRequest
- func NewUpdateCodeInterpreterRequest(regionId string, codeInterpreterId string, pin string, requestId string) *UpdateCodeInterpreterRequest
- func NewUpdateCodeInterpreterRequestWithAllParams(regionId string, codeInterpreterId string, erpAccount *string, pin string, ...) *UpdateCodeInterpreterRequest
- func NewUpdateCodeInterpreterRequestWithoutParam() *UpdateCodeInterpreterRequest
- func (r UpdateCodeInterpreterRequest) GetRegionId() string
- func (r *UpdateCodeInterpreterRequest) SetCodeInterpreterId(codeInterpreterId string)
- func (r *UpdateCodeInterpreterRequest) SetDescription(description string)
- func (r *UpdateCodeInterpreterRequest) SetErpAccount(erpAccount string)
- func (r *UpdateCodeInterpreterRequest) SetName(name string)
- func (r *UpdateCodeInterpreterRequest) SetPin(pin string)
- func (r *UpdateCodeInterpreterRequest) SetRegionId(regionId string)
- func (r *UpdateCodeInterpreterRequest) SetRequestId(requestId string)
- type UpdateCodeInterpreterResponse
- type UpdateCodeInterpreterResult
- type UpdateMemoryRequest
- func NewUpdateMemoryRequest(regionId string, memoryId string, pin string, requestId string) *UpdateMemoryRequest
- func NewUpdateMemoryRequestWithAllParams(regionId string, memoryId string, erpAccount *string, pin string, ...) *UpdateMemoryRequest
- func NewUpdateMemoryRequestWithoutParam() *UpdateMemoryRequest
- func (r UpdateMemoryRequest) GetRegionId() string
- func (r *UpdateMemoryRequest) SetDescription(description string)
- func (r *UpdateMemoryRequest) SetErpAccount(erpAccount string)
- func (r *UpdateMemoryRequest) SetMemoryId(memoryId string)
- func (r *UpdateMemoryRequest) SetName(name string)
- func (r *UpdateMemoryRequest) SetPin(pin string)
- func (r *UpdateMemoryRequest) SetRegionId(regionId string)
- func (r *UpdateMemoryRequest) SetRequestId(requestId string)
- type UpdateMemoryResponse
- type UpdateMemoryResult
- type UpdateRuntimeRequest
- func (r UpdateRuntimeRequest) GetRegionId() string
- func (r *UpdateRuntimeRequest) SetAgentRuntimeArtifact(agentRuntimeArtifact *joygrid.AgentRuntimeArtifact)
- func (r *UpdateRuntimeRequest) SetAgentRuntimeId(agentRuntimeId string)
- func (r *UpdateRuntimeRequest) SetAgentRuntimeName(agentRuntimeName string)
- func (r *UpdateRuntimeRequest) SetDescription(description string)
- func (r *UpdateRuntimeRequest) SetRegionId(regionId string)
- type UpdateRuntimeResponse
- type UpdateRuntimeResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCodeInterpreterRequest ¶
type CreateCodeInterpreterRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount *string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* (Optional) */
Description *string `json:"description"`
/* (Optional) */
Name *string `json:"name"`
}
func NewCreateCodeInterpreterRequest ¶
func NewCreateCodeInterpreterRequest( regionId string, pin string, requestId string, ) *CreateCodeInterpreterRequest
- param regionId: 地域 Id (Required)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCodeInterpreterRequestWithAllParams ¶
func NewCreateCodeInterpreterRequestWithAllParams( regionId string, erpAccount *string, pin string, requestId string, description *string, name *string, ) *CreateCodeInterpreterRequest
- param regionId: 地域 Id (Required)
- param erpAccount: x-jdcloud-erp base64(username)
in: header (Optional)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
- param description: (Optional)
- param name: (Optional)
func NewCreateCodeInterpreterRequestWithoutParam ¶
func NewCreateCodeInterpreterRequestWithoutParam() *CreateCodeInterpreterRequest
This constructor has better compatible ability when API parameters changed
func (CreateCodeInterpreterRequest) GetRegionId ¶
func (r CreateCodeInterpreterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCodeInterpreterRequest) SetDescription ¶
func (r *CreateCodeInterpreterRequest) SetDescription(description string)
param description: (Optional)
func (*CreateCodeInterpreterRequest) SetErpAccount ¶
func (r *CreateCodeInterpreterRequest) SetErpAccount(erpAccount string)
param erpAccount: x-jdcloud-erp base64(username)
in: header(Optional)
func (*CreateCodeInterpreterRequest) SetName ¶
func (r *CreateCodeInterpreterRequest) SetName(name string)
param name: (Optional)
func (*CreateCodeInterpreterRequest) SetPin ¶
func (r *CreateCodeInterpreterRequest) SetPin(pin string)
param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header(Required)
func (*CreateCodeInterpreterRequest) SetRegionId ¶
func (r *CreateCodeInterpreterRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateCodeInterpreterRequest) SetRequestId ¶
func (r *CreateCodeInterpreterRequest) SetRequestId(requestId string)
param requestId: 请求ID
in: header(Required)
type CreateCodeInterpreterResponse ¶
type CreateCodeInterpreterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateCodeInterpreterResult `json:"result"`
}
type CreateCodeInterpreterResult ¶
type CreateCodeInterpreterResult struct {
}
type CreateEventRequest ¶
type CreateEventRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount *string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* 触发用户 */
Actor string `json:"actor"`
/* 是否进行推理并保存长期记忆。 默认为 true。 (Optional) */
Infer *bool `json:"infer"`
/* 内存id */
MemoryId string `json:"memoryId"`
/* 消息内容 */
Messages []joygrid.Message `json:"messages"`
/* 会话ID: 传入会话 ID 的,会保存为临时记忆 (Optional) */
SessionId *string `json:"sessionId"`
}
func NewCreateEventRequest ¶
func NewCreateEventRequest( regionId string, pin string, requestId string, actor string, memoryId string, messages []joygrid.Message, ) *CreateEventRequest
- param regionId: 地域 Id (Required)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
- param actor: 触发用户 (Required)
- param memoryId: 内存id (Required)
- param messages: 消息内容 (Required) *
- @Deprecated, not compatible when mandatory parameters changed
func NewCreateEventRequestWithAllParams ¶
func NewCreateEventRequestWithAllParams( regionId string, erpAccount *string, pin string, requestId string, actor string, infer *bool, memoryId string, messages []joygrid.Message, sessionId *string, ) *CreateEventRequest
- param regionId: 地域 Id (Required)
- param erpAccount: x-jdcloud-erp base64(username)
in: header (Optional)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
- param actor: 触发用户 (Required)
- param infer: 是否进行推理并保存长期记忆。 默认为 true。 (Optional)
- param memoryId: 内存id (Required)
- param messages: 消息内容 (Required)
- param sessionId: 会话ID: 传入会话 ID 的,会保存为临时记忆 (Optional)
func NewCreateEventRequestWithoutParam ¶
func NewCreateEventRequestWithoutParam() *CreateEventRequest
This constructor has better compatible ability when API parameters changed
func (CreateEventRequest) GetRegionId ¶
func (r CreateEventRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateEventRequest) SetActor ¶
func (r *CreateEventRequest) SetActor(actor string)
param actor: 触发用户(Required)
func (*CreateEventRequest) SetErpAccount ¶
func (r *CreateEventRequest) SetErpAccount(erpAccount string)
param erpAccount: x-jdcloud-erp base64(username)
in: header(Optional)
func (*CreateEventRequest) SetInfer ¶
func (r *CreateEventRequest) SetInfer(infer bool)
param infer: 是否进行推理并保存长期记忆。 默认为 true。(Optional)
func (*CreateEventRequest) SetMemoryId ¶
func (r *CreateEventRequest) SetMemoryId(memoryId string)
param memoryId: 内存id(Required)
func (*CreateEventRequest) SetMessages ¶
func (r *CreateEventRequest) SetMessages(messages []joygrid.Message)
param messages: 消息内容(Required)
func (*CreateEventRequest) SetPin ¶
func (r *CreateEventRequest) SetPin(pin string)
param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header(Required)
func (*CreateEventRequest) SetRegionId ¶
func (r *CreateEventRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateEventRequest) SetRequestId ¶
func (r *CreateEventRequest) SetRequestId(requestId string)
param requestId: 请求ID
in: header(Required)
func (*CreateEventRequest) SetSessionId ¶
func (r *CreateEventRequest) SetSessionId(sessionId string)
param sessionId: 会话ID: 传入会话 ID 的,会保存为临时记忆(Optional)
type CreateEventResponse ¶
type CreateEventResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateEventResult `json:"result"`
}
type CreateEventResult ¶
type CreateEventResult struct {
}
type CreateMemoryRequest ¶
type CreateMemoryRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount *string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* (Optional) */
Description *string `json:"description"`
/* (Optional) */
Name *string `json:"name"`
}
func NewCreateMemoryRequest ¶
func NewCreateMemoryRequest( regionId string, pin string, requestId string, ) *CreateMemoryRequest
- param regionId: 地域 Id (Required)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateMemoryRequestWithAllParams ¶
func NewCreateMemoryRequestWithAllParams( regionId string, erpAccount *string, pin string, requestId string, description *string, name *string, ) *CreateMemoryRequest
- param regionId: 地域 Id (Required)
- param erpAccount: x-jdcloud-erp base64(username)
in: header (Optional)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
- param description: (Optional)
- param name: (Optional)
func NewCreateMemoryRequestWithoutParam ¶
func NewCreateMemoryRequestWithoutParam() *CreateMemoryRequest
This constructor has better compatible ability when API parameters changed
func (CreateMemoryRequest) GetRegionId ¶
func (r CreateMemoryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateMemoryRequest) SetDescription ¶
func (r *CreateMemoryRequest) SetDescription(description string)
param description: (Optional)
func (*CreateMemoryRequest) SetErpAccount ¶
func (r *CreateMemoryRequest) SetErpAccount(erpAccount string)
param erpAccount: x-jdcloud-erp base64(username)
in: header(Optional)
func (*CreateMemoryRequest) SetName ¶
func (r *CreateMemoryRequest) SetName(name string)
param name: (Optional)
func (*CreateMemoryRequest) SetPin ¶
func (r *CreateMemoryRequest) SetPin(pin string)
param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header(Required)
func (*CreateMemoryRequest) SetRegionId ¶
func (r *CreateMemoryRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateMemoryRequest) SetRequestId ¶
func (r *CreateMemoryRequest) SetRequestId(requestId string)
param requestId: 请求ID
in: header(Required)
type CreateMemoryResponse ¶
type CreateMemoryResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateMemoryResult `json:"result"`
}
type CreateMemoryResult ¶
type CreateMemoryResult struct {
}
type CreateRuntimeRequest ¶
type CreateRuntimeRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* */
AgentRuntimeArtifact *joygrid.AgentRuntimeArtifact `json:"agentRuntimeArtifact"`
/* 名称 */
AgentRuntimeName string `json:"agentRuntimeName"`
/* 描述 (Optional) */
Description *string `json:"description"`
}
func NewCreateRuntimeRequest ¶
func NewCreateRuntimeRequest( regionId string, agentRuntimeArtifact *joygrid.AgentRuntimeArtifact, agentRuntimeName string, ) *CreateRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeArtifact: (Required) * param agentRuntimeName: 名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRuntimeRequestWithAllParams ¶
func NewCreateRuntimeRequestWithAllParams( regionId string, agentRuntimeArtifact *joygrid.AgentRuntimeArtifact, agentRuntimeName string, description *string, ) *CreateRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeArtifact: (Required) * param agentRuntimeName: 名称 (Required) * param description: 描述 (Optional)
func NewCreateRuntimeRequestWithoutParam ¶
func NewCreateRuntimeRequestWithoutParam() *CreateRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (CreateRuntimeRequest) GetRegionId ¶
func (r CreateRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRuntimeRequest) SetAgentRuntimeArtifact ¶
func (r *CreateRuntimeRequest) SetAgentRuntimeArtifact(agentRuntimeArtifact *joygrid.AgentRuntimeArtifact)
param agentRuntimeArtifact: (Required)
func (*CreateRuntimeRequest) SetAgentRuntimeName ¶
func (r *CreateRuntimeRequest) SetAgentRuntimeName(agentRuntimeName string)
param agentRuntimeName: 名称(Required)
func (*CreateRuntimeRequest) SetDescription ¶
func (r *CreateRuntimeRequest) SetDescription(description string)
param description: 描述(Optional)
func (*CreateRuntimeRequest) SetRegionId ¶
func (r *CreateRuntimeRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type CreateRuntimeResponse ¶
type CreateRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateRuntimeResult `json:"result"`
}
type CreateRuntimeResult ¶
type DeleteCodeInterpreterRequest ¶
type DeleteCodeInterpreterRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* CodeInterpreter id */
CodeInterpreterId string `json:"codeInterpreterId"`
}
func NewDeleteCodeInterpreterRequest ¶
func NewDeleteCodeInterpreterRequest( regionId string, codeInterpreterId string, ) *DeleteCodeInterpreterRequest
* param regionId: 地域 Id (Required) * param codeInterpreterId: CodeInterpreter id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteCodeInterpreterRequestWithAllParams ¶
func NewDeleteCodeInterpreterRequestWithAllParams( regionId string, codeInterpreterId string, ) *DeleteCodeInterpreterRequest
* param regionId: 地域 Id (Required) * param codeInterpreterId: CodeInterpreter id (Required)
func NewDeleteCodeInterpreterRequestWithoutParam ¶
func NewDeleteCodeInterpreterRequestWithoutParam() *DeleteCodeInterpreterRequest
This constructor has better compatible ability when API parameters changed
func (DeleteCodeInterpreterRequest) GetRegionId ¶
func (r DeleteCodeInterpreterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteCodeInterpreterRequest) SetCodeInterpreterId ¶
func (r *DeleteCodeInterpreterRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: CodeInterpreter id(Required)
func (*DeleteCodeInterpreterRequest) SetRegionId ¶
func (r *DeleteCodeInterpreterRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DeleteCodeInterpreterResponse ¶
type DeleteCodeInterpreterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteCodeInterpreterResult `json:"result"`
}
type DeleteCodeInterpreterResult ¶
type DeleteCodeInterpreterResult struct {
}
type DeleteEventRequest ¶
type DeleteEventRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 事件ID */
EventId string `json:"eventId"`
/* 内存id */
MemoryId string `json:"memoryId"`
/* 触发用户 */
Actor string `json:"actor"`
/* 会话ID (Optional) */
SessionId *string `json:"sessionId"`
}
func NewDeleteEventRequest ¶
func NewDeleteEventRequest( regionId string, eventId string, memoryId string, actor string, ) *DeleteEventRequest
* param regionId: 地域 Id (Required) * param eventId: 事件ID (Required) * param memoryId: 内存id (Required) * param actor: 触发用户 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteEventRequestWithAllParams ¶
func NewDeleteEventRequestWithAllParams( regionId string, eventId string, memoryId string, actor string, sessionId *string, ) *DeleteEventRequest
* param regionId: 地域 Id (Required) * param eventId: 事件ID (Required) * param memoryId: 内存id (Required) * param actor: 触发用户 (Required) * param sessionId: 会话ID (Optional)
func NewDeleteEventRequestWithoutParam ¶
func NewDeleteEventRequestWithoutParam() *DeleteEventRequest
This constructor has better compatible ability when API parameters changed
func (DeleteEventRequest) GetRegionId ¶
func (r DeleteEventRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteEventRequest) SetActor ¶
func (r *DeleteEventRequest) SetActor(actor string)
param actor: 触发用户(Required)
func (*DeleteEventRequest) SetEventId ¶
func (r *DeleteEventRequest) SetEventId(eventId string)
param eventId: 事件ID(Required)
func (*DeleteEventRequest) SetMemoryId ¶
func (r *DeleteEventRequest) SetMemoryId(memoryId string)
param memoryId: 内存id(Required)
func (*DeleteEventRequest) SetRegionId ¶
func (r *DeleteEventRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*DeleteEventRequest) SetSessionId ¶
func (r *DeleteEventRequest) SetSessionId(sessionId string)
param sessionId: 会话ID(Optional)
type DeleteEventResponse ¶
type DeleteEventResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteEventResult `json:"result"`
}
type DeleteEventResult ¶
type DeleteEventResult struct {
}
type DeleteMemoryRequest ¶
type DeleteMemoryRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 内存id */
MemoryId string `json:"memoryId"`
}
func NewDeleteMemoryRequest ¶
func NewDeleteMemoryRequest( regionId string, memoryId string, ) *DeleteMemoryRequest
* param regionId: 地域 Id (Required) * param memoryId: 内存id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteMemoryRequestWithAllParams ¶
func NewDeleteMemoryRequestWithAllParams( regionId string, memoryId string, ) *DeleteMemoryRequest
* param regionId: 地域 Id (Required) * param memoryId: 内存id (Required)
func NewDeleteMemoryRequestWithoutParam ¶
func NewDeleteMemoryRequestWithoutParam() *DeleteMemoryRequest
This constructor has better compatible ability when API parameters changed
func (DeleteMemoryRequest) GetRegionId ¶
func (r DeleteMemoryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteMemoryRequest) SetMemoryId ¶
func (r *DeleteMemoryRequest) SetMemoryId(memoryId string)
param memoryId: 内存id(Required)
func (*DeleteMemoryRequest) SetRegionId ¶
func (r *DeleteMemoryRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DeleteMemoryResponse ¶
type DeleteMemoryResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteMemoryResult `json:"result"`
}
type DeleteMemoryResult ¶
type DeleteMemoryResult struct {
}
type DeleteRuntimeRequest ¶
type DeleteRuntimeRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* Runtime ID */
AgentRuntimeId string `json:"agentRuntimeId"`
}
func NewDeleteRuntimeRequest ¶
func NewDeleteRuntimeRequest( regionId string, agentRuntimeId string, ) *DeleteRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRuntimeRequestWithAllParams ¶
func NewDeleteRuntimeRequestWithAllParams( regionId string, agentRuntimeId string, ) *DeleteRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeId: Runtime ID (Required)
func NewDeleteRuntimeRequestWithoutParam ¶
func NewDeleteRuntimeRequestWithoutParam() *DeleteRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRuntimeRequest) GetRegionId ¶
func (r DeleteRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRuntimeRequest) SetAgentRuntimeId ¶
func (r *DeleteRuntimeRequest) SetAgentRuntimeId(agentRuntimeId string)
param agentRuntimeId: Runtime ID(Required)
func (*DeleteRuntimeRequest) SetRegionId ¶
func (r *DeleteRuntimeRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DeleteRuntimeResponse ¶
type DeleteRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteRuntimeResult `json:"result"`
}
type DeleteRuntimeResult ¶
type DeleteRuntimeResult struct {
Status string `json:"status"`
}
type DescribeCodeInterpreterRequest ¶
type DescribeCodeInterpreterRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* CodeInterpreter id */
CodeInterpreterId string `json:"codeInterpreterId"`
}
func NewDescribeCodeInterpreterRequest ¶
func NewDescribeCodeInterpreterRequest( regionId string, codeInterpreterId string, ) *DescribeCodeInterpreterRequest
* param regionId: 地域 Id (Required) * param codeInterpreterId: CodeInterpreter id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCodeInterpreterRequestWithAllParams ¶
func NewDescribeCodeInterpreterRequestWithAllParams( regionId string, codeInterpreterId string, ) *DescribeCodeInterpreterRequest
* param regionId: 地域 Id (Required) * param codeInterpreterId: CodeInterpreter id (Required)
func NewDescribeCodeInterpreterRequestWithoutParam ¶
func NewDescribeCodeInterpreterRequestWithoutParam() *DescribeCodeInterpreterRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCodeInterpreterRequest) GetRegionId ¶
func (r DescribeCodeInterpreterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCodeInterpreterRequest) SetCodeInterpreterId ¶
func (r *DescribeCodeInterpreterRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: CodeInterpreter id(Required)
func (*DescribeCodeInterpreterRequest) SetRegionId ¶
func (r *DescribeCodeInterpreterRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeCodeInterpreterResponse ¶
type DescribeCodeInterpreterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCodeInterpreterResult `json:"result"`
}
type DescribeCodeInterpreterResult ¶
type DescribeCodeInterpreterResult struct {
}
type DescribeCodeInterpreterSessionsRequest ¶
type DescribeCodeInterpreterSessionsRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* CodeInterpreter id */
CodeInterpreterId string `json:"codeInterpreterId"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 200] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeCodeInterpreterSessionsRequest ¶
func NewDescribeCodeInterpreterSessionsRequest( regionId string, codeInterpreterId string, ) *DescribeCodeInterpreterSessionsRequest
* param regionId: 地域 Id (Required) * param codeInterpreterId: CodeInterpreter id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCodeInterpreterSessionsRequestWithAllParams ¶
func NewDescribeCodeInterpreterSessionsRequestWithAllParams( regionId string, codeInterpreterId string, pageNumber *int, pageSize *int, ) *DescribeCodeInterpreterSessionsRequest
* param regionId: 地域 Id (Required) * param codeInterpreterId: CodeInterpreter id (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 200] (Optional)
func NewDescribeCodeInterpreterSessionsRequestWithoutParam ¶
func NewDescribeCodeInterpreterSessionsRequestWithoutParam() *DescribeCodeInterpreterSessionsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCodeInterpreterSessionsRequest) GetRegionId ¶
func (r DescribeCodeInterpreterSessionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCodeInterpreterSessionsRequest) SetCodeInterpreterId ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: CodeInterpreter id(Required)
func (*DescribeCodeInterpreterSessionsRequest) SetPageNumber ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeCodeInterpreterSessionsRequest) SetPageSize ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 200](Optional)
func (*DescribeCodeInterpreterSessionsRequest) SetRegionId ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeCodeInterpreterSessionsResponse ¶
type DescribeCodeInterpreterSessionsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCodeInterpreterSessionsResult `json:"result"`
}
type DescribeCodeInterpreterSessionsResult ¶
type DescribeCodeInterpreterSessionsResult struct {
}
type DescribeCodeInterpretersRequest ¶
type DescribeCodeInterpretersRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 200] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeCodeInterpretersRequest ¶
func NewDescribeCodeInterpretersRequest( regionId string, ) *DescribeCodeInterpretersRequest
* param regionId: 地域 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCodeInterpretersRequestWithAllParams ¶
func NewDescribeCodeInterpretersRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, ) *DescribeCodeInterpretersRequest
* param regionId: 地域 Id (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 200] (Optional)
func NewDescribeCodeInterpretersRequestWithoutParam ¶
func NewDescribeCodeInterpretersRequestWithoutParam() *DescribeCodeInterpretersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCodeInterpretersRequest) GetRegionId ¶
func (r DescribeCodeInterpretersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCodeInterpretersRequest) SetPageNumber ¶
func (r *DescribeCodeInterpretersRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeCodeInterpretersRequest) SetPageSize ¶
func (r *DescribeCodeInterpretersRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 200](Optional)
func (*DescribeCodeInterpretersRequest) SetRegionId ¶
func (r *DescribeCodeInterpretersRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeCodeInterpretersResponse ¶
type DescribeCodeInterpretersResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCodeInterpretersResult `json:"result"`
}
type DescribeCodeInterpretersResult ¶
type DescribeCodeInterpretersResult struct {
}
type DescribeEventRequest ¶
type DescribeEventRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 事件ID */
EventId string `json:"eventId"`
/* 内存id */
MemoryId string `json:"memoryId"`
/* 触发用户 */
Actor string `json:"actor"`
/* 会话ID (Optional) */
SessionId *string `json:"sessionId"`
}
func NewDescribeEventRequest ¶
func NewDescribeEventRequest( regionId string, eventId string, memoryId string, actor string, ) *DescribeEventRequest
* param regionId: 地域 Id (Required) * param eventId: 事件ID (Required) * param memoryId: 内存id (Required) * param actor: 触发用户 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeEventRequestWithAllParams ¶
func NewDescribeEventRequestWithAllParams( regionId string, eventId string, memoryId string, actor string, sessionId *string, ) *DescribeEventRequest
* param regionId: 地域 Id (Required) * param eventId: 事件ID (Required) * param memoryId: 内存id (Required) * param actor: 触发用户 (Required) * param sessionId: 会话ID (Optional)
func NewDescribeEventRequestWithoutParam ¶
func NewDescribeEventRequestWithoutParam() *DescribeEventRequest
This constructor has better compatible ability when API parameters changed
func (DescribeEventRequest) GetRegionId ¶
func (r DescribeEventRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeEventRequest) SetActor ¶
func (r *DescribeEventRequest) SetActor(actor string)
param actor: 触发用户(Required)
func (*DescribeEventRequest) SetEventId ¶
func (r *DescribeEventRequest) SetEventId(eventId string)
param eventId: 事件ID(Required)
func (*DescribeEventRequest) SetMemoryId ¶
func (r *DescribeEventRequest) SetMemoryId(memoryId string)
param memoryId: 内存id(Required)
func (*DescribeEventRequest) SetRegionId ¶
func (r *DescribeEventRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*DescribeEventRequest) SetSessionId ¶
func (r *DescribeEventRequest) SetSessionId(sessionId string)
param sessionId: 会话ID(Optional)
type DescribeEventResponse ¶
type DescribeEventResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeEventResult `json:"result"`
}
type DescribeEventResult ¶
type DescribeEventResult struct {
}
type DescribeEventsRequest ¶
type DescribeEventsRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 200] (Optional) */
PageSize *int `json:"pageSize"`
/* 内存id */
MemoryId string `json:"memoryId"`
/* 触发用户 */
Actor string `json:"actor"`
/* 会话ID (Optional) */
SessionId *string `json:"sessionId"`
}
func NewDescribeEventsRequest ¶
func NewDescribeEventsRequest( regionId string, memoryId string, actor string, ) *DescribeEventsRequest
* param regionId: 地域 Id (Required) * param memoryId: 内存id (Required) * param actor: 触发用户 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeEventsRequestWithAllParams ¶
func NewDescribeEventsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, memoryId string, actor string, sessionId *string, ) *DescribeEventsRequest
* param regionId: 地域 Id (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 200] (Optional) * param memoryId: 内存id (Required) * param actor: 触发用户 (Required) * param sessionId: 会话ID (Optional)
func NewDescribeEventsRequestWithoutParam ¶
func NewDescribeEventsRequestWithoutParam() *DescribeEventsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeEventsRequest) GetRegionId ¶
func (r DescribeEventsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeEventsRequest) SetActor ¶
func (r *DescribeEventsRequest) SetActor(actor string)
param actor: 触发用户(Required)
func (*DescribeEventsRequest) SetMemoryId ¶
func (r *DescribeEventsRequest) SetMemoryId(memoryId string)
param memoryId: 内存id(Required)
func (*DescribeEventsRequest) SetPageNumber ¶
func (r *DescribeEventsRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeEventsRequest) SetPageSize ¶
func (r *DescribeEventsRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 200](Optional)
func (*DescribeEventsRequest) SetRegionId ¶
func (r *DescribeEventsRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*DescribeEventsRequest) SetSessionId ¶
func (r *DescribeEventsRequest) SetSessionId(sessionId string)
param sessionId: 会话ID(Optional)
type DescribeEventsResponse ¶
type DescribeEventsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeEventsResult `json:"result"`
}
type DescribeEventsResult ¶
type DescribeEventsResult struct {
}
type DescribeMemoriesRequest ¶
type DescribeMemoriesRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 200] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeMemoriesRequest ¶
func NewDescribeMemoriesRequest( regionId string, ) *DescribeMemoriesRequest
* param regionId: 地域 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeMemoriesRequestWithAllParams ¶
func NewDescribeMemoriesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, ) *DescribeMemoriesRequest
* param regionId: 地域 Id (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 200] (Optional)
func NewDescribeMemoriesRequestWithoutParam ¶
func NewDescribeMemoriesRequestWithoutParam() *DescribeMemoriesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeMemoriesRequest) GetRegionId ¶
func (r DescribeMemoriesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeMemoriesRequest) SetPageNumber ¶
func (r *DescribeMemoriesRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeMemoriesRequest) SetPageSize ¶
func (r *DescribeMemoriesRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 200](Optional)
func (*DescribeMemoriesRequest) SetRegionId ¶
func (r *DescribeMemoriesRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeMemoriesResponse ¶
type DescribeMemoriesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeMemoriesResult `json:"result"`
}
type DescribeMemoriesResult ¶
type DescribeMemoriesResult struct {
}
type DescribeMemoryRequest ¶
type DescribeMemoryRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 内存id */
MemoryId string `json:"memoryId"`
}
func NewDescribeMemoryRequest ¶
func NewDescribeMemoryRequest( regionId string, memoryId string, ) *DescribeMemoryRequest
* param regionId: 地域 Id (Required) * param memoryId: 内存id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeMemoryRequestWithAllParams ¶
func NewDescribeMemoryRequestWithAllParams( regionId string, memoryId string, ) *DescribeMemoryRequest
* param regionId: 地域 Id (Required) * param memoryId: 内存id (Required)
func NewDescribeMemoryRequestWithoutParam ¶
func NewDescribeMemoryRequestWithoutParam() *DescribeMemoryRequest
This constructor has better compatible ability when API parameters changed
func (DescribeMemoryRequest) GetRegionId ¶
func (r DescribeMemoryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeMemoryRequest) SetMemoryId ¶
func (r *DescribeMemoryRequest) SetMemoryId(memoryId string)
param memoryId: 内存id(Required)
func (*DescribeMemoryRequest) SetRegionId ¶
func (r *DescribeMemoryRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeMemoryResponse ¶
type DescribeMemoryResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeMemoryResult `json:"result"`
}
type DescribeMemoryResult ¶
type DescribeMemoryResult struct {
}
type DescribeRuntimeRequest ¶
type DescribeRuntimeRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* Runtime ID */
AgentRuntimeId string `json:"agentRuntimeId"`
/* 版本 (Optional) */
Version *string `json:"version"`
}
func NewDescribeRuntimeRequest ¶
func NewDescribeRuntimeRequest( regionId string, agentRuntimeId string, ) *DescribeRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRuntimeRequestWithAllParams ¶
func NewDescribeRuntimeRequestWithAllParams( regionId string, agentRuntimeId string, version *string, ) *DescribeRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeId: Runtime ID (Required) * param version: 版本 (Optional)
func NewDescribeRuntimeRequestWithoutParam ¶
func NewDescribeRuntimeRequestWithoutParam() *DescribeRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRuntimeRequest) GetRegionId ¶
func (r DescribeRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRuntimeRequest) SetAgentRuntimeId ¶
func (r *DescribeRuntimeRequest) SetAgentRuntimeId(agentRuntimeId string)
param agentRuntimeId: Runtime ID(Required)
func (*DescribeRuntimeRequest) SetRegionId ¶
func (r *DescribeRuntimeRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*DescribeRuntimeRequest) SetVersion ¶
func (r *DescribeRuntimeRequest) SetVersion(version string)
param version: 版本(Optional)
type DescribeRuntimeResponse ¶
type DescribeRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeRuntimeResult `json:"result"`
}
type DescribeRuntimeResult ¶
type DescribeRuntimeResult struct {
AgentRuntimeArtifact joygrid.AgentRuntimeArtifact `json:"agentRuntimeArtifact"`
AgentRuntimeId string `json:"agentRuntimeId"`
AgentRuntimeName string `json:"agentRuntimeName"`
AgentRuntimeVersion string `json:"agentRuntimeVersion"`
CreatedAt string `json:"createdAt"`
Description string `json:"description"`
LastUpdatedAt string `json:"lastUpdatedAt"`
Status string `json:"status"`
}
type DescribeRuntimesRequest ¶
type DescribeRuntimesRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 200] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeRuntimesRequest ¶
func NewDescribeRuntimesRequest( regionId string, ) *DescribeRuntimesRequest
* param regionId: 地域 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRuntimesRequestWithAllParams ¶
func NewDescribeRuntimesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, ) *DescribeRuntimesRequest
* param regionId: 地域 Id (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 200] (Optional)
func NewDescribeRuntimesRequestWithoutParam ¶
func NewDescribeRuntimesRequestWithoutParam() *DescribeRuntimesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRuntimesRequest) GetRegionId ¶
func (r DescribeRuntimesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRuntimesRequest) SetPageNumber ¶
func (r *DescribeRuntimesRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeRuntimesRequest) SetPageSize ¶
func (r *DescribeRuntimesRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 200](Optional)
func (*DescribeRuntimesRequest) SetRegionId ¶
func (r *DescribeRuntimesRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeRuntimesResponse ¶
type DescribeRuntimesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeRuntimesResult `json:"result"`
}
type DescribeRuntimesResult ¶
type DescribeRuntimesResult struct {
AgentRuntimes []joygrid.AgentRuntimeRespSpec `json:"agentRuntimes"`
}
type InvokeCodeInterpreterRequest ¶
type InvokeCodeInterpreterRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* proxy path */
ProxyPath string `json:"proxyPath"`
/* CodeInterpreter id */
CodeInterpreterId string `json:"codeInterpreterId"`
/* session id (Optional) */
SessionId *string `json:"sessionId"`
}
func NewInvokeCodeInterpreterRequest ¶
func NewInvokeCodeInterpreterRequest( regionId string, proxyPath string, codeInterpreterId string, ) *InvokeCodeInterpreterRequest
* param regionId: 地域 Id (Required) * param proxyPath: proxy path (Required) * param codeInterpreterId: CodeInterpreter id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewInvokeCodeInterpreterRequestWithAllParams ¶
func NewInvokeCodeInterpreterRequestWithAllParams( regionId string, proxyPath string, codeInterpreterId string, sessionId *string, ) *InvokeCodeInterpreterRequest
* param regionId: 地域 Id (Required) * param proxyPath: proxy path (Required) * param codeInterpreterId: CodeInterpreter id (Required) * param sessionId: session id (Optional)
func NewInvokeCodeInterpreterRequestWithoutParam ¶
func NewInvokeCodeInterpreterRequestWithoutParam() *InvokeCodeInterpreterRequest
This constructor has better compatible ability when API parameters changed
func (InvokeCodeInterpreterRequest) GetRegionId ¶
func (r InvokeCodeInterpreterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*InvokeCodeInterpreterRequest) SetCodeInterpreterId ¶
func (r *InvokeCodeInterpreterRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: CodeInterpreter id(Required)
func (*InvokeCodeInterpreterRequest) SetProxyPath ¶
func (r *InvokeCodeInterpreterRequest) SetProxyPath(proxyPath string)
param proxyPath: proxy path(Required)
func (*InvokeCodeInterpreterRequest) SetRegionId ¶
func (r *InvokeCodeInterpreterRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*InvokeCodeInterpreterRequest) SetSessionId ¶
func (r *InvokeCodeInterpreterRequest) SetSessionId(sessionId string)
param sessionId: session id(Optional)
type InvokeCodeInterpreterResponse ¶
type InvokeCodeInterpreterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result InvokeCodeInterpreterResult `json:"result"`
}
type InvokeCodeInterpreterResult ¶
type InvokeCodeInterpreterResult struct {
}
type InvokeRuntimeRequest ¶
type InvokeRuntimeRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* Runtime ID */
AgentRuntimeId string `json:"agentRuntimeId"`
/* session id (Optional) */
SessionId *string `json:"sessionId"`
}
func NewInvokeRuntimeRequest ¶
func NewInvokeRuntimeRequest( regionId string, agentRuntimeId string, ) *InvokeRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewInvokeRuntimeRequestWithAllParams ¶
func NewInvokeRuntimeRequestWithAllParams( regionId string, agentRuntimeId string, sessionId *string, ) *InvokeRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeId: Runtime ID (Required) * param sessionId: session id (Optional)
func NewInvokeRuntimeRequestWithoutParam ¶
func NewInvokeRuntimeRequestWithoutParam() *InvokeRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (InvokeRuntimeRequest) GetRegionId ¶
func (r InvokeRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*InvokeRuntimeRequest) SetAgentRuntimeId ¶
func (r *InvokeRuntimeRequest) SetAgentRuntimeId(agentRuntimeId string)
param agentRuntimeId: Runtime ID(Required)
func (*InvokeRuntimeRequest) SetRegionId ¶
func (r *InvokeRuntimeRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*InvokeRuntimeRequest) SetSessionId ¶
func (r *InvokeRuntimeRequest) SetSessionId(sessionId string)
param sessionId: session id(Optional)
type InvokeRuntimeResponse ¶
type InvokeRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result InvokeRuntimeResult `json:"result"`
}
type InvokeRuntimeResult ¶
type InvokeRuntimeResult struct {
}
type SearchEventsRequest ¶
type SearchEventsRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 内存id */
MemoryId string `json:"memoryId"`
/* 触发用户 */
Actor string `json:"actor"`
/* 查询条件 */
Query string `json:"query"`
/* 会话ID (Optional) */
SessionId *string `json:"sessionId"`
}
func NewSearchEventsRequest ¶
func NewSearchEventsRequest( regionId string, memoryId string, actor string, query string, ) *SearchEventsRequest
* param regionId: 地域 Id (Required) * param memoryId: 内存id (Required) * param actor: 触发用户 (Required) * param query: 查询条件 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSearchEventsRequestWithAllParams ¶
func NewSearchEventsRequestWithAllParams( regionId string, memoryId string, actor string, query string, sessionId *string, ) *SearchEventsRequest
* param regionId: 地域 Id (Required) * param memoryId: 内存id (Required) * param actor: 触发用户 (Required) * param query: 查询条件 (Required) * param sessionId: 会话ID (Optional)
func NewSearchEventsRequestWithoutParam ¶
func NewSearchEventsRequestWithoutParam() *SearchEventsRequest
This constructor has better compatible ability when API parameters changed
func (SearchEventsRequest) GetRegionId ¶
func (r SearchEventsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SearchEventsRequest) SetActor ¶
func (r *SearchEventsRequest) SetActor(actor string)
param actor: 触发用户(Required)
func (*SearchEventsRequest) SetMemoryId ¶
func (r *SearchEventsRequest) SetMemoryId(memoryId string)
param memoryId: 内存id(Required)
func (*SearchEventsRequest) SetQuery ¶
func (r *SearchEventsRequest) SetQuery(query string)
param query: 查询条件(Required)
func (*SearchEventsRequest) SetRegionId ¶
func (r *SearchEventsRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*SearchEventsRequest) SetSessionId ¶
func (r *SearchEventsRequest) SetSessionId(sessionId string)
param sessionId: 会话ID(Optional)
type SearchEventsResponse ¶
type SearchEventsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SearchEventsResult `json:"result"`
}
type SearchEventsResult ¶
type SearchEventsResult struct {
}
type StartCodeInterpreterSessionRequest ¶
type StartCodeInterpreterSessionRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* CodeInterpreter id */
CodeInterpreterId string `json:"codeInterpreterId"`
}
func NewStartCodeInterpreterSessionRequest ¶
func NewStartCodeInterpreterSessionRequest( regionId string, codeInterpreterId string, ) *StartCodeInterpreterSessionRequest
* param regionId: 地域 Id (Required) * param codeInterpreterId: CodeInterpreter id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStartCodeInterpreterSessionRequestWithAllParams ¶
func NewStartCodeInterpreterSessionRequestWithAllParams( regionId string, codeInterpreterId string, ) *StartCodeInterpreterSessionRequest
* param regionId: 地域 Id (Required) * param codeInterpreterId: CodeInterpreter id (Required)
func NewStartCodeInterpreterSessionRequestWithoutParam ¶
func NewStartCodeInterpreterSessionRequestWithoutParam() *StartCodeInterpreterSessionRequest
This constructor has better compatible ability when API parameters changed
func (StartCodeInterpreterSessionRequest) GetRegionId ¶
func (r StartCodeInterpreterSessionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StartCodeInterpreterSessionRequest) SetCodeInterpreterId ¶
func (r *StartCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: CodeInterpreter id(Required)
func (*StartCodeInterpreterSessionRequest) SetRegionId ¶
func (r *StartCodeInterpreterSessionRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type StartCodeInterpreterSessionResponse ¶
type StartCodeInterpreterSessionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result StartCodeInterpreterSessionResult `json:"result"`
}
type StartCodeInterpreterSessionResult ¶
type StartCodeInterpreterSessionResult struct {
}
type StopCodeInterpreterSessionRequest ¶
type StopCodeInterpreterSessionRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 会话id */
SessionId string `json:"sessionId"`
/* CodeInterpreter id */
CodeInterpreterId string `json:"codeInterpreterId"`
}
func NewStopCodeInterpreterSessionRequest ¶
func NewStopCodeInterpreterSessionRequest( regionId string, sessionId string, codeInterpreterId string, ) *StopCodeInterpreterSessionRequest
* param regionId: 地域 Id (Required) * param sessionId: 会话id (Required) * param codeInterpreterId: CodeInterpreter id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStopCodeInterpreterSessionRequestWithAllParams ¶
func NewStopCodeInterpreterSessionRequestWithAllParams( regionId string, sessionId string, codeInterpreterId string, ) *StopCodeInterpreterSessionRequest
* param regionId: 地域 Id (Required) * param sessionId: 会话id (Required) * param codeInterpreterId: CodeInterpreter id (Required)
func NewStopCodeInterpreterSessionRequestWithoutParam ¶
func NewStopCodeInterpreterSessionRequestWithoutParam() *StopCodeInterpreterSessionRequest
This constructor has better compatible ability when API parameters changed
func (StopCodeInterpreterSessionRequest) GetRegionId ¶
func (r StopCodeInterpreterSessionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StopCodeInterpreterSessionRequest) SetCodeInterpreterId ¶
func (r *StopCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: CodeInterpreter id(Required)
func (*StopCodeInterpreterSessionRequest) SetRegionId ¶
func (r *StopCodeInterpreterSessionRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*StopCodeInterpreterSessionRequest) SetSessionId ¶
func (r *StopCodeInterpreterSessionRequest) SetSessionId(sessionId string)
param sessionId: 会话id(Required)
type StopCodeInterpreterSessionResponse ¶
type StopCodeInterpreterSessionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result StopCodeInterpreterSessionResult `json:"result"`
}
type StopCodeInterpreterSessionResult ¶
type StopCodeInterpreterSessionResult struct {
}
type UpdateCodeInterpreterRequest ¶
type UpdateCodeInterpreterRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* CodeInterpreter id */
CodeInterpreterId string `json:"codeInterpreterId"`
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount *string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* (Optional) */
Description *string `json:"description"`
/* (Optional) */
Name *string `json:"name"`
}
func NewUpdateCodeInterpreterRequest ¶
func NewUpdateCodeInterpreterRequest( regionId string, codeInterpreterId string, pin string, requestId string, ) *UpdateCodeInterpreterRequest
- param regionId: 地域 Id (Required)
- param codeInterpreterId: CodeInterpreter id (Required)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
* * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateCodeInterpreterRequestWithAllParams ¶
func NewUpdateCodeInterpreterRequestWithAllParams( regionId string, codeInterpreterId string, erpAccount *string, pin string, requestId string, description *string, name *string, ) *UpdateCodeInterpreterRequest
- param regionId: 地域 Id (Required)
- param codeInterpreterId: CodeInterpreter id (Required)
- param erpAccount: x-jdcloud-erp base64(username)
in: header (Optional)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
- param description: (Optional)
- param name: (Optional)
func NewUpdateCodeInterpreterRequestWithoutParam ¶
func NewUpdateCodeInterpreterRequestWithoutParam() *UpdateCodeInterpreterRequest
This constructor has better compatible ability when API parameters changed
func (UpdateCodeInterpreterRequest) GetRegionId ¶
func (r UpdateCodeInterpreterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateCodeInterpreterRequest) SetCodeInterpreterId ¶
func (r *UpdateCodeInterpreterRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: CodeInterpreter id(Required)
func (*UpdateCodeInterpreterRequest) SetDescription ¶
func (r *UpdateCodeInterpreterRequest) SetDescription(description string)
param description: (Optional)
func (*UpdateCodeInterpreterRequest) SetErpAccount ¶
func (r *UpdateCodeInterpreterRequest) SetErpAccount(erpAccount string)
param erpAccount: x-jdcloud-erp base64(username)
in: header(Optional)
func (*UpdateCodeInterpreterRequest) SetName ¶
func (r *UpdateCodeInterpreterRequest) SetName(name string)
param name: (Optional)
func (*UpdateCodeInterpreterRequest) SetPin ¶
func (r *UpdateCodeInterpreterRequest) SetPin(pin string)
param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header(Required)
func (*UpdateCodeInterpreterRequest) SetRegionId ¶
func (r *UpdateCodeInterpreterRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateCodeInterpreterRequest) SetRequestId ¶
func (r *UpdateCodeInterpreterRequest) SetRequestId(requestId string)
param requestId: 请求ID
in: header(Required)
type UpdateCodeInterpreterResponse ¶
type UpdateCodeInterpreterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateCodeInterpreterResult `json:"result"`
}
type UpdateCodeInterpreterResult ¶
type UpdateCodeInterpreterResult struct {
}
type UpdateMemoryRequest ¶
type UpdateMemoryRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 内存id */
MemoryId string `json:"memoryId"`
/* x-jdcloud-erp base64(username)
in: header (Optional) */
ErpAccount *string `json:"erpAccount"`
/* 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header */
Pin string `json:"pin"`
/* 请求ID
in: header */
RequestId string `json:"requestId"`
/* (Optional) */
Description *string `json:"description"`
/* (Optional) */
Name *string `json:"name"`
}
func NewUpdateMemoryRequest ¶
func NewUpdateMemoryRequest( regionId string, memoryId string, pin string, requestId string, ) *UpdateMemoryRequest
- param regionId: 地域 Id (Required)
- param memoryId: 内存id (Required)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
* * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateMemoryRequestWithAllParams ¶
func NewUpdateMemoryRequestWithAllParams( regionId string, memoryId string, erpAccount *string, pin string, requestId string, description *string, name *string, ) *UpdateMemoryRequest
- param regionId: 地域 Id (Required)
- param memoryId: 内存id (Required)
- param erpAccount: x-jdcloud-erp base64(username)
in: header (Optional)
- param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header (Required)
- param requestId: 请求ID
in: header (Required)
- param description: (Optional)
- param name: (Optional)
func NewUpdateMemoryRequestWithoutParam ¶
func NewUpdateMemoryRequestWithoutParam() *UpdateMemoryRequest
This constructor has better compatible ability when API parameters changed
func (UpdateMemoryRequest) GetRegionId ¶
func (r UpdateMemoryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateMemoryRequest) SetDescription ¶
func (r *UpdateMemoryRequest) SetDescription(description string)
param description: (Optional)
func (*UpdateMemoryRequest) SetErpAccount ¶
func (r *UpdateMemoryRequest) SetErpAccount(erpAccount string)
param erpAccount: x-jdcloud-erp base64(username)
in: header(Optional)
func (*UpdateMemoryRequest) SetMemoryId ¶
func (r *UpdateMemoryRequest) SetMemoryId(memoryId string)
param memoryId: 内存id(Required)
func (*UpdateMemoryRequest) SetName ¶
func (r *UpdateMemoryRequest) SetName(name string)
param name: (Optional)
func (*UpdateMemoryRequest) SetPin ¶
func (r *UpdateMemoryRequest) SetPin(pin string)
param pin: 用户(主、子)账号。base64编码。格式为:base64(subuser-pin) @ base64(owner-pin)。@前后有空格。若不支持主子账号,则不需要@,格式为 base64(owner-pin)
in: header(Required)
func (*UpdateMemoryRequest) SetRegionId ¶
func (r *UpdateMemoryRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateMemoryRequest) SetRequestId ¶
func (r *UpdateMemoryRequest) SetRequestId(requestId string)
param requestId: 请求ID
in: header(Required)
type UpdateMemoryResponse ¶
type UpdateMemoryResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateMemoryResult `json:"result"`
}
type UpdateMemoryResult ¶
type UpdateMemoryResult struct {
}
type UpdateRuntimeRequest ¶
type UpdateRuntimeRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* Runtime ID */
AgentRuntimeId string `json:"agentRuntimeId"`
/* */
AgentRuntimeArtifact *joygrid.AgentRuntimeArtifact `json:"agentRuntimeArtifact"`
/* 名称 */
AgentRuntimeName string `json:"agentRuntimeName"`
/* 描述 (Optional) */
Description *string `json:"description"`
}
func NewUpdateRuntimeRequest ¶
func NewUpdateRuntimeRequest( regionId string, agentRuntimeId string, agentRuntimeArtifact *joygrid.AgentRuntimeArtifact, agentRuntimeName string, ) *UpdateRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeId: Runtime ID (Required) * param agentRuntimeArtifact: (Required) * param agentRuntimeName: 名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateRuntimeRequestWithAllParams ¶
func NewUpdateRuntimeRequestWithAllParams( regionId string, agentRuntimeId string, agentRuntimeArtifact *joygrid.AgentRuntimeArtifact, agentRuntimeName string, description *string, ) *UpdateRuntimeRequest
* param regionId: 地域 Id (Required) * param agentRuntimeId: Runtime ID (Required) * param agentRuntimeArtifact: (Required) * param agentRuntimeName: 名称 (Required) * param description: 描述 (Optional)
func NewUpdateRuntimeRequestWithoutParam ¶
func NewUpdateRuntimeRequestWithoutParam() *UpdateRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (UpdateRuntimeRequest) GetRegionId ¶
func (r UpdateRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateRuntimeRequest) SetAgentRuntimeArtifact ¶
func (r *UpdateRuntimeRequest) SetAgentRuntimeArtifact(agentRuntimeArtifact *joygrid.AgentRuntimeArtifact)
param agentRuntimeArtifact: (Required)
func (*UpdateRuntimeRequest) SetAgentRuntimeId ¶
func (r *UpdateRuntimeRequest) SetAgentRuntimeId(agentRuntimeId string)
param agentRuntimeId: Runtime ID(Required)
func (*UpdateRuntimeRequest) SetAgentRuntimeName ¶
func (r *UpdateRuntimeRequest) SetAgentRuntimeName(agentRuntimeName string)
param agentRuntimeName: 名称(Required)
func (*UpdateRuntimeRequest) SetDescription ¶
func (r *UpdateRuntimeRequest) SetDescription(description string)
param description: 描述(Optional)
func (*UpdateRuntimeRequest) SetRegionId ¶
func (r *UpdateRuntimeRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type UpdateRuntimeResponse ¶
type UpdateRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateRuntimeResult `json:"result"`
}
type UpdateRuntimeResult ¶
Source Files
¶
- CreateCodeInterpreter.go
- CreateEvent.go
- CreateMemory.go
- CreateRuntime.go
- DeleteCodeInterpreter.go
- DeleteEvent.go
- DeleteMemory.go
- DeleteRuntime.go
- DescribeCodeInterpreter.go
- DescribeCodeInterpreterSessions.go
- DescribeCodeInterpreters.go
- DescribeEvent.go
- DescribeEvents.go
- DescribeMemories.go
- DescribeMemory.go
- DescribeRuntime.go
- DescribeRuntimes.go
- InvokeCodeInterpreter.go
- InvokeRuntime.go
- SearchEvents.go
- StartCodeInterpreterSession.go
- StopCodeInterpreterSession.go
- UpdateCodeInterpreter.go
- UpdateMemory.go
- UpdateRuntime.go