aiworkspace

package
v1.62.226 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddImageLabelsRequest

type AddImageLabelsRequest struct {
	*requests.RoaRequest
	ImageId string `position:"Path" name:"ImageId"`
	Body    string `position:"Body" name:"body"`
}

AddImageLabelsRequest is the request struct for api AddImageLabels

func CreateAddImageLabelsRequest

func CreateAddImageLabelsRequest() (request *AddImageLabelsRequest)

CreateAddImageLabelsRequest creates a request to invoke AddImageLabels API

type AddImageLabelsResponse

type AddImageLabelsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

AddImageLabelsResponse is the response struct for api AddImageLabels

func CreateAddImageLabelsResponse

func CreateAddImageLabelsResponse() (response *AddImageLabelsResponse)

CreateAddImageLabelsResponse creates a response to parse from AddImageLabels response

type AddImageRequest

type AddImageRequest struct {
	*requests.RoaRequest
	Body string `position:"Body" name:"body"`
}

AddImageRequest is the request struct for api AddImage

func CreateAddImageRequest

func CreateAddImageRequest() (request *AddImageRequest)

CreateAddImageRequest creates a request to invoke AddImage API

type AddImageResponse

type AddImageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	ImageId   string `json:"ImageId" xml:"ImageId"`
}

AddImageResponse is the response struct for api AddImage

func CreateAddImageResponse

func CreateAddImageResponse() (response *AddImageResponse)

CreateAddImageResponse creates a response to parse from AddImage response

type AddMemberRoleRequest

type AddMemberRoleRequest struct {
	*requests.RoaRequest
	RoleName    string `position:"Path" name:"RoleName"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
	MemberId    string `position:"Path" name:"MemberId"`
}

AddMemberRoleRequest is the request struct for api AddMemberRole

func CreateAddMemberRoleRequest

func CreateAddMemberRoleRequest() (request *AddMemberRoleRequest)

CreateAddMemberRoleRequest creates a request to invoke AddMemberRole API

type AddMemberRoleResponse

type AddMemberRoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

AddMemberRoleResponse is the response struct for api AddMemberRole

func CreateAddMemberRoleResponse

func CreateAddMemberRoleResponse() (response *AddMemberRoleResponse)

CreateAddMemberRoleResponse creates a response to parse from AddMemberRole response

type AdminNamesInGetWorkspace

type AdminNamesInGetWorkspace struct {
	AdminNames []string `json:"AdminNames" xml:"AdminNames"`
}

AdminNamesInGetWorkspace is a nested struct in aiworkspace response

type AdminNamesInListWorkspaces

type AdminNamesInListWorkspaces struct {
	AdminNames []string `json:"AdminNames" xml:"AdminNames"`
}

AdminNamesInListWorkspaces is a nested struct in aiworkspace response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) AddImage

func (client *Client) AddImage(request *AddImageRequest) (response *AddImageResponse, err error)

AddImage invokes the aiworkspace.AddImage API synchronously

func (*Client) AddImageLabels

func (client *Client) AddImageLabels(request *AddImageLabelsRequest) (response *AddImageLabelsResponse, err error)

AddImageLabels invokes the aiworkspace.AddImageLabels API synchronously

func (*Client) AddImageLabelsWithCallback

func (client *Client) AddImageLabelsWithCallback(request *AddImageLabelsRequest, callback func(response *AddImageLabelsResponse, err error)) <-chan int

AddImageLabelsWithCallback invokes the aiworkspace.AddImageLabels API asynchronously

func (*Client) AddImageLabelsWithChan

func (client *Client) AddImageLabelsWithChan(request *AddImageLabelsRequest) (<-chan *AddImageLabelsResponse, <-chan error)

AddImageLabelsWithChan invokes the aiworkspace.AddImageLabels API asynchronously

func (*Client) AddImageWithCallback

func (client *Client) AddImageWithCallback(request *AddImageRequest, callback func(response *AddImageResponse, err error)) <-chan int

AddImageWithCallback invokes the aiworkspace.AddImage API asynchronously

func (*Client) AddImageWithChan

func (client *Client) AddImageWithChan(request *AddImageRequest) (<-chan *AddImageResponse, <-chan error)

AddImageWithChan invokes the aiworkspace.AddImage API asynchronously

func (*Client) AddMemberRole

func (client *Client) AddMemberRole(request *AddMemberRoleRequest) (response *AddMemberRoleResponse, err error)

AddMemberRole invokes the aiworkspace.AddMemberRole API synchronously

func (*Client) AddMemberRoleWithCallback

func (client *Client) AddMemberRoleWithCallback(request *AddMemberRoleRequest, callback func(response *AddMemberRoleResponse, err error)) <-chan int

AddMemberRoleWithCallback invokes the aiworkspace.AddMemberRole API asynchronously

func (*Client) AddMemberRoleWithChan

func (client *Client) AddMemberRoleWithChan(request *AddMemberRoleRequest) (<-chan *AddMemberRoleResponse, <-chan error)

AddMemberRoleWithChan invokes the aiworkspace.AddMemberRole API asynchronously

func (*Client) CreateMember

func (client *Client) CreateMember(request *CreateMemberRequest) (response *CreateMemberResponse, err error)

CreateMember invokes the aiworkspace.CreateMember API synchronously

func (*Client) CreateMemberWithCallback

func (client *Client) CreateMemberWithCallback(request *CreateMemberRequest, callback func(response *CreateMemberResponse, err error)) <-chan int

CreateMemberWithCallback invokes the aiworkspace.CreateMember API asynchronously

func (*Client) CreateMemberWithChan

func (client *Client) CreateMemberWithChan(request *CreateMemberRequest) (<-chan *CreateMemberResponse, <-chan error)

CreateMemberWithChan invokes the aiworkspace.CreateMember API asynchronously

func (*Client) CreateWorkspace

func (client *Client) CreateWorkspace(request *CreateWorkspaceRequest) (response *CreateWorkspaceResponse, err error)

CreateWorkspace invokes the aiworkspace.CreateWorkspace API synchronously

func (*Client) CreateWorkspaceResource

func (client *Client) CreateWorkspaceResource(request *CreateWorkspaceResourceRequest) (response *CreateWorkspaceResourceResponse, err error)

CreateWorkspaceResource invokes the aiworkspace.CreateWorkspaceResource API synchronously

func (*Client) CreateWorkspaceResourceWithCallback

func (client *Client) CreateWorkspaceResourceWithCallback(request *CreateWorkspaceResourceRequest, callback func(response *CreateWorkspaceResourceResponse, err error)) <-chan int

CreateWorkspaceResourceWithCallback invokes the aiworkspace.CreateWorkspaceResource API asynchronously

func (*Client) CreateWorkspaceResourceWithChan

func (client *Client) CreateWorkspaceResourceWithChan(request *CreateWorkspaceResourceRequest) (<-chan *CreateWorkspaceResourceResponse, <-chan error)

CreateWorkspaceResourceWithChan invokes the aiworkspace.CreateWorkspaceResource API asynchronously

func (*Client) CreateWorkspaceWithCallback

func (client *Client) CreateWorkspaceWithCallback(request *CreateWorkspaceRequest, callback func(response *CreateWorkspaceResponse, err error)) <-chan int

CreateWorkspaceWithCallback invokes the aiworkspace.CreateWorkspace API asynchronously

func (*Client) CreateWorkspaceWithChan

func (client *Client) CreateWorkspaceWithChan(request *CreateWorkspaceRequest) (<-chan *CreateWorkspaceResponse, <-chan error)

CreateWorkspaceWithChan invokes the aiworkspace.CreateWorkspace API asynchronously

func (*Client) DeleteMembers

func (client *Client) DeleteMembers(request *DeleteMembersRequest) (response *DeleteMembersResponse, err error)

DeleteMembers invokes the aiworkspace.DeleteMembers API synchronously

func (*Client) DeleteMembersWithCallback

func (client *Client) DeleteMembersWithCallback(request *DeleteMembersRequest, callback func(response *DeleteMembersResponse, err error)) <-chan int

DeleteMembersWithCallback invokes the aiworkspace.DeleteMembers API asynchronously

func (*Client) DeleteMembersWithChan

func (client *Client) DeleteMembersWithChan(request *DeleteMembersRequest) (<-chan *DeleteMembersResponse, <-chan error)

DeleteMembersWithChan invokes the aiworkspace.DeleteMembers API asynchronously

func (*Client) DeleteWorkspace

func (client *Client) DeleteWorkspace(request *DeleteWorkspaceRequest) (response *DeleteWorkspaceResponse, err error)

DeleteWorkspace invokes the aiworkspace.DeleteWorkspace API synchronously

func (*Client) DeleteWorkspaceResource

func (client *Client) DeleteWorkspaceResource(request *DeleteWorkspaceResourceRequest) (response *DeleteWorkspaceResourceResponse, err error)

DeleteWorkspaceResource invokes the aiworkspace.DeleteWorkspaceResource API synchronously

func (*Client) DeleteWorkspaceResourceWithCallback

func (client *Client) DeleteWorkspaceResourceWithCallback(request *DeleteWorkspaceResourceRequest, callback func(response *DeleteWorkspaceResourceResponse, err error)) <-chan int

DeleteWorkspaceResourceWithCallback invokes the aiworkspace.DeleteWorkspaceResource API asynchronously

func (*Client) DeleteWorkspaceResourceWithChan

func (client *Client) DeleteWorkspaceResourceWithChan(request *DeleteWorkspaceResourceRequest) (<-chan *DeleteWorkspaceResourceResponse, <-chan error)

DeleteWorkspaceResourceWithChan invokes the aiworkspace.DeleteWorkspaceResource API asynchronously

func (*Client) DeleteWorkspaceWithCallback

func (client *Client) DeleteWorkspaceWithCallback(request *DeleteWorkspaceRequest, callback func(response *DeleteWorkspaceResponse, err error)) <-chan int

DeleteWorkspaceWithCallback invokes the aiworkspace.DeleteWorkspace API asynchronously

func (*Client) DeleteWorkspaceWithChan

func (client *Client) DeleteWorkspaceWithChan(request *DeleteWorkspaceRequest) (<-chan *DeleteWorkspaceResponse, <-chan error)

DeleteWorkspaceWithChan invokes the aiworkspace.DeleteWorkspace API asynchronously

func (*Client) GetDefaultWorkspace

func (client *Client) GetDefaultWorkspace(request *GetDefaultWorkspaceRequest) (response *GetDefaultWorkspaceResponse, err error)

GetDefaultWorkspace invokes the aiworkspace.GetDefaultWorkspace API synchronously

func (*Client) GetDefaultWorkspaceWithCallback

func (client *Client) GetDefaultWorkspaceWithCallback(request *GetDefaultWorkspaceRequest, callback func(response *GetDefaultWorkspaceResponse, err error)) <-chan int

GetDefaultWorkspaceWithCallback invokes the aiworkspace.GetDefaultWorkspace API asynchronously

func (*Client) GetDefaultWorkspaceWithChan

func (client *Client) GetDefaultWorkspaceWithChan(request *GetDefaultWorkspaceRequest) (<-chan *GetDefaultWorkspaceResponse, <-chan error)

GetDefaultWorkspaceWithChan invokes the aiworkspace.GetDefaultWorkspace API asynchronously

func (*Client) GetImage

func (client *Client) GetImage(request *GetImageRequest) (response *GetImageResponse, err error)

GetImage invokes the aiworkspace.GetImage API synchronously

func (*Client) GetImageWithCallback

func (client *Client) GetImageWithCallback(request *GetImageRequest, callback func(response *GetImageResponse, err error)) <-chan int

GetImageWithCallback invokes the aiworkspace.GetImage API asynchronously

func (*Client) GetImageWithChan

func (client *Client) GetImageWithChan(request *GetImageRequest) (<-chan *GetImageResponse, <-chan error)

GetImageWithChan invokes the aiworkspace.GetImage API asynchronously

func (*Client) GetMember

func (client *Client) GetMember(request *GetMemberRequest) (response *GetMemberResponse, err error)

GetMember invokes the aiworkspace.GetMember API synchronously

func (*Client) GetMemberWithCallback

func (client *Client) GetMemberWithCallback(request *GetMemberRequest, callback func(response *GetMemberResponse, err error)) <-chan int

GetMemberWithCallback invokes the aiworkspace.GetMember API asynchronously

func (*Client) GetMemberWithChan

func (client *Client) GetMemberWithChan(request *GetMemberRequest) (<-chan *GetMemberResponse, <-chan error)

GetMemberWithChan invokes the aiworkspace.GetMember API asynchronously

func (*Client) GetPermission

func (client *Client) GetPermission(request *GetPermissionRequest) (response *GetPermissionResponse, err error)

GetPermission invokes the aiworkspace.GetPermission API synchronously

func (*Client) GetPermissionWithCallback

func (client *Client) GetPermissionWithCallback(request *GetPermissionRequest, callback func(response *GetPermissionResponse, err error)) <-chan int

GetPermissionWithCallback invokes the aiworkspace.GetPermission API asynchronously

func (*Client) GetPermissionWithChan

func (client *Client) GetPermissionWithChan(request *GetPermissionRequest) (<-chan *GetPermissionResponse, <-chan error)

GetPermissionWithChan invokes the aiworkspace.GetPermission API asynchronously

func (*Client) GetWorkspace

func (client *Client) GetWorkspace(request *GetWorkspaceRequest) (response *GetWorkspaceResponse, err error)

GetWorkspace invokes the aiworkspace.GetWorkspace API synchronously

func (*Client) GetWorkspaceWithCallback

func (client *Client) GetWorkspaceWithCallback(request *GetWorkspaceRequest, callback func(response *GetWorkspaceResponse, err error)) <-chan int

GetWorkspaceWithCallback invokes the aiworkspace.GetWorkspace API asynchronously

func (*Client) GetWorkspaceWithChan

func (client *Client) GetWorkspaceWithChan(request *GetWorkspaceRequest) (<-chan *GetWorkspaceResponse, <-chan error)

GetWorkspaceWithChan invokes the aiworkspace.GetWorkspace API asynchronously

func (*Client) ListImageLabels

func (client *Client) ListImageLabels(request *ListImageLabelsRequest) (response *ListImageLabelsResponse, err error)

ListImageLabels invokes the aiworkspace.ListImageLabels API synchronously

func (*Client) ListImageLabelsWithCallback

func (client *Client) ListImageLabelsWithCallback(request *ListImageLabelsRequest, callback func(response *ListImageLabelsResponse, err error)) <-chan int

ListImageLabelsWithCallback invokes the aiworkspace.ListImageLabels API asynchronously

func (*Client) ListImageLabelsWithChan

func (client *Client) ListImageLabelsWithChan(request *ListImageLabelsRequest) (<-chan *ListImageLabelsResponse, <-chan error)

ListImageLabelsWithChan invokes the aiworkspace.ListImageLabels API asynchronously

func (*Client) ListImages

func (client *Client) ListImages(request *ListImagesRequest) (response *ListImagesResponse, err error)

ListImages invokes the aiworkspace.ListImages API synchronously

func (*Client) ListImagesWithCallback

func (client *Client) ListImagesWithCallback(request *ListImagesRequest, callback func(response *ListImagesResponse, err error)) <-chan int

ListImagesWithCallback invokes the aiworkspace.ListImages API asynchronously

func (*Client) ListImagesWithChan

func (client *Client) ListImagesWithChan(request *ListImagesRequest) (<-chan *ListImagesResponse, <-chan error)

ListImagesWithChan invokes the aiworkspace.ListImages API asynchronously

func (*Client) ListMembers

func (client *Client) ListMembers(request *ListMembersRequest) (response *ListMembersResponse, err error)

ListMembers invokes the aiworkspace.ListMembers API synchronously

func (*Client) ListMembersWithCallback

func (client *Client) ListMembersWithCallback(request *ListMembersRequest, callback func(response *ListMembersResponse, err error)) <-chan int

ListMembersWithCallback invokes the aiworkspace.ListMembers API asynchronously

func (*Client) ListMembersWithChan

func (client *Client) ListMembersWithChan(request *ListMembersRequest) (<-chan *ListMembersResponse, <-chan error)

ListMembersWithChan invokes the aiworkspace.ListMembers API asynchronously

func (*Client) ListPermissions

func (client *Client) ListPermissions(request *ListPermissionsRequest) (response *ListPermissionsResponse, err error)

ListPermissions invokes the aiworkspace.ListPermissions API synchronously

func (*Client) ListPermissionsWithCallback

func (client *Client) ListPermissionsWithCallback(request *ListPermissionsRequest, callback func(response *ListPermissionsResponse, err error)) <-chan int

ListPermissionsWithCallback invokes the aiworkspace.ListPermissions API asynchronously

func (*Client) ListPermissionsWithChan

func (client *Client) ListPermissionsWithChan(request *ListPermissionsRequest) (<-chan *ListPermissionsResponse, <-chan error)

ListPermissionsWithChan invokes the aiworkspace.ListPermissions API asynchronously

func (*Client) ListQuotas

func (client *Client) ListQuotas(request *ListQuotasRequest) (response *ListQuotasResponse, err error)

ListQuotas invokes the aiworkspace.ListQuotas API synchronously

func (*Client) ListQuotasWithCallback

func (client *Client) ListQuotasWithCallback(request *ListQuotasRequest, callback func(response *ListQuotasResponse, err error)) <-chan int

ListQuotasWithCallback invokes the aiworkspace.ListQuotas API asynchronously

func (*Client) ListQuotasWithChan

func (client *Client) ListQuotasWithChan(request *ListQuotasRequest) (<-chan *ListQuotasResponse, <-chan error)

ListQuotasWithChan invokes the aiworkspace.ListQuotas API asynchronously

func (*Client) ListResources

func (client *Client) ListResources(request *ListResourcesRequest) (response *ListResourcesResponse, err error)

ListResources invokes the aiworkspace.ListResources API synchronously

func (*Client) ListResourcesWithCallback

func (client *Client) ListResourcesWithCallback(request *ListResourcesRequest, callback func(response *ListResourcesResponse, err error)) <-chan int

ListResourcesWithCallback invokes the aiworkspace.ListResources API asynchronously

func (*Client) ListResourcesWithChan

func (client *Client) ListResourcesWithChan(request *ListResourcesRequest) (<-chan *ListResourcesResponse, <-chan error)

ListResourcesWithChan invokes the aiworkspace.ListResources API asynchronously

func (*Client) ListWorkspaceUsers

func (client *Client) ListWorkspaceUsers(request *ListWorkspaceUsersRequest) (response *ListWorkspaceUsersResponse, err error)

ListWorkspaceUsers invokes the aiworkspace.ListWorkspaceUsers API synchronously

func (*Client) ListWorkspaceUsersWithCallback

func (client *Client) ListWorkspaceUsersWithCallback(request *ListWorkspaceUsersRequest, callback func(response *ListWorkspaceUsersResponse, err error)) <-chan int

ListWorkspaceUsersWithCallback invokes the aiworkspace.ListWorkspaceUsers API asynchronously

func (*Client) ListWorkspaceUsersWithChan

func (client *Client) ListWorkspaceUsersWithChan(request *ListWorkspaceUsersRequest) (<-chan *ListWorkspaceUsersResponse, <-chan error)

ListWorkspaceUsersWithChan invokes the aiworkspace.ListWorkspaceUsers API asynchronously

func (*Client) ListWorkspaces

func (client *Client) ListWorkspaces(request *ListWorkspacesRequest) (response *ListWorkspacesResponse, err error)

ListWorkspaces invokes the aiworkspace.ListWorkspaces API synchronously

func (*Client) ListWorkspacesWithCallback

func (client *Client) ListWorkspacesWithCallback(request *ListWorkspacesRequest, callback func(response *ListWorkspacesResponse, err error)) <-chan int

ListWorkspacesWithCallback invokes the aiworkspace.ListWorkspaces API asynchronously

func (*Client) ListWorkspacesWithChan

func (client *Client) ListWorkspacesWithChan(request *ListWorkspacesRequest) (<-chan *ListWorkspacesResponse, <-chan error)

ListWorkspacesWithChan invokes the aiworkspace.ListWorkspaces API asynchronously

func (*Client) PublishImage

func (client *Client) PublishImage(request *PublishImageRequest) (response *PublishImageResponse, err error)

PublishImage invokes the aiworkspace.PublishImage API synchronously

func (*Client) PublishImageWithCallback

func (client *Client) PublishImageWithCallback(request *PublishImageRequest, callback func(response *PublishImageResponse, err error)) <-chan int

PublishImageWithCallback invokes the aiworkspace.PublishImage API asynchronously

func (*Client) PublishImageWithChan

func (client *Client) PublishImageWithChan(request *PublishImageRequest) (<-chan *PublishImageResponse, <-chan error)

PublishImageWithChan invokes the aiworkspace.PublishImage API asynchronously

func (*Client) RemoveImage

func (client *Client) RemoveImage(request *RemoveImageRequest) (response *RemoveImageResponse, err error)

RemoveImage invokes the aiworkspace.RemoveImage API synchronously

func (*Client) RemoveImageLabels

func (client *Client) RemoveImageLabels(request *RemoveImageLabelsRequest) (response *RemoveImageLabelsResponse, err error)

RemoveImageLabels invokes the aiworkspace.RemoveImageLabels API synchronously

func (*Client) RemoveImageLabelsWithCallback

func (client *Client) RemoveImageLabelsWithCallback(request *RemoveImageLabelsRequest, callback func(response *RemoveImageLabelsResponse, err error)) <-chan int

RemoveImageLabelsWithCallback invokes the aiworkspace.RemoveImageLabels API asynchronously

func (*Client) RemoveImageLabelsWithChan

func (client *Client) RemoveImageLabelsWithChan(request *RemoveImageLabelsRequest) (<-chan *RemoveImageLabelsResponse, <-chan error)

RemoveImageLabelsWithChan invokes the aiworkspace.RemoveImageLabels API asynchronously

func (*Client) RemoveImageWithCallback

func (client *Client) RemoveImageWithCallback(request *RemoveImageRequest, callback func(response *RemoveImageResponse, err error)) <-chan int

RemoveImageWithCallback invokes the aiworkspace.RemoveImage API asynchronously

func (*Client) RemoveImageWithChan

func (client *Client) RemoveImageWithChan(request *RemoveImageRequest) (<-chan *RemoveImageResponse, <-chan error)

RemoveImageWithChan invokes the aiworkspace.RemoveImage API asynchronously

func (*Client) RemoveMemberRole

func (client *Client) RemoveMemberRole(request *RemoveMemberRoleRequest) (response *RemoveMemberRoleResponse, err error)

RemoveMemberRole invokes the aiworkspace.RemoveMemberRole API synchronously

func (*Client) RemoveMemberRoleWithCallback

func (client *Client) RemoveMemberRoleWithCallback(request *RemoveMemberRoleRequest, callback func(response *RemoveMemberRoleResponse, err error)) <-chan int

RemoveMemberRoleWithCallback invokes the aiworkspace.RemoveMemberRole API asynchronously

func (*Client) RemoveMemberRoleWithChan

func (client *Client) RemoveMemberRoleWithChan(request *RemoveMemberRoleRequest) (<-chan *RemoveMemberRoleResponse, <-chan error)

RemoveMemberRoleWithChan invokes the aiworkspace.RemoveMemberRole API asynchronously

func (*Client) UpdateDefaultWorkspace

func (client *Client) UpdateDefaultWorkspace(request *UpdateDefaultWorkspaceRequest) (response *UpdateDefaultWorkspaceResponse, err error)

UpdateDefaultWorkspace invokes the aiworkspace.UpdateDefaultWorkspace API synchronously

func (*Client) UpdateDefaultWorkspaceWithCallback

func (client *Client) UpdateDefaultWorkspaceWithCallback(request *UpdateDefaultWorkspaceRequest, callback func(response *UpdateDefaultWorkspaceResponse, err error)) <-chan int

UpdateDefaultWorkspaceWithCallback invokes the aiworkspace.UpdateDefaultWorkspace API asynchronously

func (*Client) UpdateDefaultWorkspaceWithChan

func (client *Client) UpdateDefaultWorkspaceWithChan(request *UpdateDefaultWorkspaceRequest) (<-chan *UpdateDefaultWorkspaceResponse, <-chan error)

UpdateDefaultWorkspaceWithChan invokes the aiworkspace.UpdateDefaultWorkspace API asynchronously

func (*Client) UpdateWorkspace

func (client *Client) UpdateWorkspace(request *UpdateWorkspaceRequest) (response *UpdateWorkspaceResponse, err error)

UpdateWorkspace invokes the aiworkspace.UpdateWorkspace API synchronously

func (*Client) UpdateWorkspaceResource

func (client *Client) UpdateWorkspaceResource(request *UpdateWorkspaceResourceRequest) (response *UpdateWorkspaceResourceResponse, err error)

UpdateWorkspaceResource invokes the aiworkspace.UpdateWorkspaceResource API synchronously

func (*Client) UpdateWorkspaceResourceWithCallback

func (client *Client) UpdateWorkspaceResourceWithCallback(request *UpdateWorkspaceResourceRequest, callback func(response *UpdateWorkspaceResourceResponse, err error)) <-chan int

UpdateWorkspaceResourceWithCallback invokes the aiworkspace.UpdateWorkspaceResource API asynchronously

func (*Client) UpdateWorkspaceResourceWithChan

func (client *Client) UpdateWorkspaceResourceWithChan(request *UpdateWorkspaceResourceRequest) (<-chan *UpdateWorkspaceResourceResponse, <-chan error)

UpdateWorkspaceResourceWithChan invokes the aiworkspace.UpdateWorkspaceResource API asynchronously

func (*Client) UpdateWorkspaceWithCallback

func (client *Client) UpdateWorkspaceWithCallback(request *UpdateWorkspaceRequest, callback func(response *UpdateWorkspaceResponse, err error)) <-chan int

UpdateWorkspaceWithCallback invokes the aiworkspace.UpdateWorkspace API asynchronously

func (*Client) UpdateWorkspaceWithChan

func (client *Client) UpdateWorkspaceWithChan(request *UpdateWorkspaceRequest) (<-chan *UpdateWorkspaceResponse, <-chan error)

UpdateWorkspaceWithChan invokes the aiworkspace.UpdateWorkspace API asynchronously

type Conditions

type Conditions struct {
	ConditionsItem []ConditionsItem `json:"Conditions" xml:"Conditions"`
}

Conditions is a nested struct in aiworkspace response

type ConditionsItem

type ConditionsItem struct {
	Type    string `json:"Type" xml:"Type"`
	Code    int64  `json:"Code" xml:"Code"`
	Message string `json:"Message" xml:"Message"`
}

ConditionsItem is a nested struct in aiworkspace response

type CreateMemberRequest

type CreateMemberRequest struct {
	*requests.RoaRequest
	Body        string `position:"Body" name:"body"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

CreateMemberRequest is the request struct for api CreateMember

func CreateCreateMemberRequest

func CreateCreateMemberRequest() (request *CreateMemberRequest)

CreateCreateMemberRequest creates a request to invoke CreateMember API

type CreateMemberResponse

type CreateMemberResponse struct {
	*responses.BaseResponse
	RequestId string        `json:"RequestId" xml:"RequestId"`
	Members   []MembersItem `json:"Members" xml:"Members"`
}

CreateMemberResponse is the response struct for api CreateMember

func CreateCreateMemberResponse

func CreateCreateMemberResponse() (response *CreateMemberResponse)

CreateCreateMemberResponse creates a response to parse from CreateMember response

type CreateWorkspaceRequest

type CreateWorkspaceRequest struct {
	*requests.RoaRequest
	Body string `position:"Body" name:"body"`
}

CreateWorkspaceRequest is the request struct for api CreateWorkspace

func CreateCreateWorkspaceRequest

func CreateCreateWorkspaceRequest() (request *CreateWorkspaceRequest)

CreateCreateWorkspaceRequest creates a request to invoke CreateWorkspace API

type CreateWorkspaceResourceRequest

type CreateWorkspaceResourceRequest struct {
	*requests.RoaRequest
	Body        string `position:"Body" name:"body"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

CreateWorkspaceResourceRequest is the request struct for api CreateWorkspaceResource

func CreateCreateWorkspaceResourceRequest

func CreateCreateWorkspaceResourceRequest() (request *CreateWorkspaceResourceRequest)

CreateCreateWorkspaceResourceRequest creates a request to invoke CreateWorkspaceResource API

type CreateWorkspaceResourceResponse

type CreateWorkspaceResourceResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	TotalCount int64      `json:"TotalCount" xml:"TotalCount"`
	Resources  []Resource `json:"Resources" xml:"Resources"`
}

CreateWorkspaceResourceResponse is the response struct for api CreateWorkspaceResource

func CreateCreateWorkspaceResourceResponse

func CreateCreateWorkspaceResourceResponse() (response *CreateWorkspaceResourceResponse)

CreateCreateWorkspaceResourceResponse creates a response to parse from CreateWorkspaceResource response

type CreateWorkspaceResponse

type CreateWorkspaceResponse struct {
	*responses.BaseResponse
	RequestId   string `json:"RequestId" xml:"RequestId"`
	WorkspaceId string `json:"WorkspaceId" xml:"WorkspaceId"`
}

CreateWorkspaceResponse is the response struct for api CreateWorkspace

func CreateCreateWorkspaceResponse

func CreateCreateWorkspaceResponse() (response *CreateWorkspaceResponse)

CreateCreateWorkspaceResponse creates a response to parse from CreateWorkspace response

type DeleteMembersRequest

type DeleteMembersRequest struct {
	*requests.RoaRequest
	MemberIds   string `position:"Query" name:"MemberIds"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

DeleteMembersRequest is the request struct for api DeleteMembers

func CreateDeleteMembersRequest

func CreateDeleteMembersRequest() (request *DeleteMembersRequest)

CreateDeleteMembersRequest creates a request to invoke DeleteMembers API

type DeleteMembersResponse

type DeleteMembersResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteMembersResponse is the response struct for api DeleteMembers

func CreateDeleteMembersResponse

func CreateDeleteMembersResponse() (response *DeleteMembersResponse)

CreateDeleteMembersResponse creates a response to parse from DeleteMembers response

type DeleteWorkspaceRequest

type DeleteWorkspaceRequest struct {
	*requests.RoaRequest
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

DeleteWorkspaceRequest is the request struct for api DeleteWorkspace

func CreateDeleteWorkspaceRequest

func CreateDeleteWorkspaceRequest() (request *DeleteWorkspaceRequest)

CreateDeleteWorkspaceRequest creates a request to invoke DeleteWorkspace API

type DeleteWorkspaceResourceRequest

type DeleteWorkspaceResourceRequest struct {
	*requests.RoaRequest
	GroupName   string `position:"Query" name:"GroupName"`
	ProductType string `position:"Query" name:"ProductType"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
	Option      string `position:"Query" name:"Option"`
}

DeleteWorkspaceResourceRequest is the request struct for api DeleteWorkspaceResource

func CreateDeleteWorkspaceResourceRequest

func CreateDeleteWorkspaceResourceRequest() (request *DeleteWorkspaceResourceRequest)

CreateDeleteWorkspaceResourceRequest creates a request to invoke DeleteWorkspaceResource API

type DeleteWorkspaceResourceResponse

type DeleteWorkspaceResourceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteWorkspaceResourceResponse is the response struct for api DeleteWorkspaceResource

func CreateDeleteWorkspaceResourceResponse

func CreateDeleteWorkspaceResourceResponse() (response *DeleteWorkspaceResourceResponse)

CreateDeleteWorkspaceResourceResponse creates a response to parse from DeleteWorkspaceResource response

type DeleteWorkspaceResponse

type DeleteWorkspaceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteWorkspaceResponse is the response struct for api DeleteWorkspace

func CreateDeleteWorkspaceResponse

func CreateDeleteWorkspaceResponse() (response *DeleteWorkspaceResponse)

CreateDeleteWorkspaceResponse creates a response to parse from DeleteWorkspace response

type EnvTypesInGetDefaultWorkspace

type EnvTypesInGetDefaultWorkspace struct {
	EnvTypes []string `json:"EnvTypes" xml:"EnvTypes"`
}

EnvTypesInGetDefaultWorkspace is a nested struct in aiworkspace response

type EnvTypesInGetWorkspace

type EnvTypesInGetWorkspace struct {
	EnvTypes []string `json:"EnvTypes" xml:"EnvTypes"`
}

EnvTypesInGetWorkspace is a nested struct in aiworkspace response

type EnvTypesInListWorkspaces

type EnvTypesInListWorkspaces struct {
	EnvTypes []string `json:"EnvTypes" xml:"EnvTypes"`
}

EnvTypesInListWorkspaces is a nested struct in aiworkspace response

type GetDefaultWorkspaceRequest

type GetDefaultWorkspaceRequest struct {
	*requests.RoaRequest
	Verbose string `position:"Query" name:"Verbose"`
}

GetDefaultWorkspaceRequest is the request struct for api GetDefaultWorkspace

func CreateGetDefaultWorkspaceRequest

func CreateGetDefaultWorkspaceRequest() (request *GetDefaultWorkspaceRequest)

CreateGetDefaultWorkspaceRequest creates a request to invoke GetDefaultWorkspace API

type GetDefaultWorkspaceResponse

type GetDefaultWorkspaceResponse struct {
	*responses.BaseResponse
	RequestId       string           `json:"RequestId" xml:"RequestId"`
	WorkspaceId     string           `json:"WorkspaceId" xml:"WorkspaceId"`
	WorkspaceName   string           `json:"WorkspaceName" xml:"WorkspaceName"`
	GmtCreateTime   string           `json:"GmtCreateTime" xml:"GmtCreateTime"`
	GmtModifiedTime string           `json:"GmtModifiedTime" xml:"GmtModifiedTime"`
	DisplayName     string           `json:"DisplayName" xml:"DisplayName"`
	Description     string           `json:"Description" xml:"Description"`
	Creator         string           `json:"Creator" xml:"Creator"`
	Status          string           `json:"Status" xml:"Status"`
	EnvTypes        []string         `json:"EnvTypes" xml:"EnvTypes"`
	Owner           Owner            `json:"Owner" xml:"Owner"`
	Conditions      []ConditionsItem `json:"Conditions" xml:"Conditions"`
}

GetDefaultWorkspaceResponse is the response struct for api GetDefaultWorkspace

func CreateGetDefaultWorkspaceResponse

func CreateGetDefaultWorkspaceResponse() (response *GetDefaultWorkspaceResponse)

CreateGetDefaultWorkspaceResponse creates a response to parse from GetDefaultWorkspace response

type GetImageRequest

type GetImageRequest struct {
	*requests.RoaRequest
	ImageId string `position:"Path" name:"ImageId"`
	Verbose string `position:"Query" name:"Verbose"`
}

GetImageRequest is the request struct for api GetImage

func CreateGetImageRequest

func CreateGetImageRequest() (request *GetImageRequest)

CreateGetImageRequest creates a request to invoke GetImage API

type GetImageResponse

type GetImageResponse struct {
	*responses.BaseResponse
	RequestId       string       `json:"RequestId" xml:"RequestId"`
	GmtCreateTime   string       `json:"GmtCreateTime" xml:"GmtCreateTime"`
	GmtModifiedTime string       `json:"GmtModifiedTime" xml:"GmtModifiedTime"`
	Name            string       `json:"Name" xml:"Name"`
	Description     string       `json:"Description" xml:"Description"`
	ImageUri        string       `json:"ImageUri" xml:"ImageUri"`
	UserId          string       `json:"UserId" xml:"UserId"`
	ParentUserId    string       `json:"ParentUserId" xml:"ParentUserId"`
	WorkspaceId     string       `json:"WorkspaceId" xml:"WorkspaceId"`
	Accessibility   string       `json:"Accessibility" xml:"Accessibility"`
	Labels          []LabelsItem `json:"Labels" xml:"Labels"`
}

GetImageResponse is the response struct for api GetImage

func CreateGetImageResponse

func CreateGetImageResponse() (response *GetImageResponse)

CreateGetImageResponse creates a response to parse from GetImage response

type GetMemberRequest

type GetMemberRequest struct {
	*requests.RoaRequest
	UserId      string `position:"Query" name:"UserId"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

GetMemberRequest is the request struct for api GetMember

func CreateGetMemberRequest

func CreateGetMemberRequest() (request *GetMemberRequest)

CreateGetMemberRequest creates a request to invoke GetMember API

type GetMemberResponse

type GetMemberResponse struct {
	*responses.BaseResponse
	RequestId     string   `json:"RequestId" xml:"RequestId"`
	UserId        string   `json:"UserId" xml:"UserId"`
	MemberName    string   `json:"MemberName" xml:"MemberName"`
	GmtCreateTime string   `json:"GmtCreateTime" xml:"GmtCreateTime"`
	DisplayName   string   `json:"DisplayName" xml:"DisplayName"`
	MemberId      string   `json:"MemberId" xml:"MemberId"`
	Roles         []string `json:"Roles" xml:"Roles"`
}

GetMemberResponse is the response struct for api GetMember

func CreateGetMemberResponse

func CreateGetMemberResponse() (response *GetMemberResponse)

CreateGetMemberResponse creates a response to parse from GetMember response

type GetPermissionRequest

type GetPermissionRequest struct {
	*requests.RoaRequest
	PermissionCode string `position:"Path" name:"PermissionCode"`
	Creator        string `position:"Query" name:"Creator"`
	Accessibility  string `position:"Query" name:"Accessibility"`
	WorkspaceId    string `position:"Path" name:"WorkspaceId"`
}

GetPermissionRequest is the request struct for api GetPermission

func CreateGetPermissionRequest

func CreateGetPermissionRequest() (request *GetPermissionRequest)

CreateGetPermissionRequest creates a request to invoke GetPermission API

type GetPermissionResponse

type GetPermissionResponse struct {
	*responses.BaseResponse
	RequestId       string                `json:"RequestId" xml:"RequestId"`
	PermissionCode  string                `json:"PermissionCode" xml:"PermissionCode"`
	PermissionRules []PermissionRulesItem `json:"PermissionRules" xml:"PermissionRules"`
}

GetPermissionResponse is the response struct for api GetPermission

func CreateGetPermissionResponse

func CreateGetPermissionResponse() (response *GetPermissionResponse)

CreateGetPermissionResponse creates a response to parse from GetPermission response

type GetWorkspaceRequest

type GetWorkspaceRequest struct {
	*requests.RoaRequest
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
	Verbose     string `position:"Query" name:"Verbose"`
}

GetWorkspaceRequest is the request struct for api GetWorkspace

func CreateGetWorkspaceRequest

func CreateGetWorkspaceRequest() (request *GetWorkspaceRequest)

CreateGetWorkspaceRequest creates a request to invoke GetWorkspace API

type GetWorkspaceResponse

type GetWorkspaceResponse struct {
	*responses.BaseResponse
	RequestId       string                 `json:"RequestId" xml:"RequestId"`
	WorkspaceId     string                 `json:"WorkspaceId" xml:"WorkspaceId"`
	WorkspaceName   string                 `json:"WorkspaceName" xml:"WorkspaceName"`
	GmtCreateTime   string                 `json:"GmtCreateTime" xml:"GmtCreateTime"`
	GmtModifiedTime string                 `json:"GmtModifiedTime" xml:"GmtModifiedTime"`
	DisplayName     string                 `json:"DisplayName" xml:"DisplayName"`
	Description     string                 `json:"Description" xml:"Description"`
	Creator         string                 `json:"Creator" xml:"Creator"`
	Status          string                 `json:"Status" xml:"Status"`
	IsDefault       bool                   `json:"IsDefault" xml:"IsDefault"`
	ExtraInfos      map[string]interface{} `json:"ExtraInfos" xml:"ExtraInfos"`
	EnvTypes        []string               `json:"EnvTypes" xml:"EnvTypes"`
	AdminNames      []string               `json:"AdminNames" xml:"AdminNames"`
	Owner           Owner                  `json:"Owner" xml:"Owner"`
}

GetWorkspaceResponse is the response struct for api GetWorkspace

func CreateGetWorkspaceResponse

func CreateGetWorkspaceResponse() (response *GetWorkspaceResponse)

CreateGetWorkspaceResponse creates a response to parse from GetWorkspace response

type Images

type Images struct {
	ImagesItem []ImagesItem `json:"Images" xml:"Images"`
}

Images is a nested struct in aiworkspace response

type ImagesItem

type ImagesItem struct {
	Name            string       `json:"Name" xml:"Name"`
	GmtCreateTime   string       `json:"GmtCreateTime" xml:"GmtCreateTime"`
	Description     string       `json:"Description" xml:"Description"`
	ImageUri        string       `json:"ImageUri" xml:"ImageUri"`
	ImageId         string       `json:"ImageId" xml:"ImageId"`
	Accessibility   string       `json:"Accessibility" xml:"Accessibility"`
	GmtModifiedTime string       `json:"GmtModifiedTime" xml:"GmtModifiedTime"`
	UserId          string       `json:"UserId" xml:"UserId"`
	ParentUserId    string       `json:"ParentUserId" xml:"ParentUserId"`
	WorkspaceId     string       `json:"WorkspaceId" xml:"WorkspaceId"`
	Labels          []LabelsItem `json:"Labels" xml:"Labels"`
}

ImagesItem is a nested struct in aiworkspace response

type LabelsInGetImage

type LabelsInGetImage struct {
	LabelsItem []LabelsItem `json:"Labels" xml:"Labels"`
}

LabelsInGetImage is a nested struct in aiworkspace response

type LabelsInListImageLabels

type LabelsInListImageLabels struct {
	LabelsItem []LabelsItem `json:"Labels" xml:"Labels"`
}

LabelsInListImageLabels is a nested struct in aiworkspace response

type LabelsInListImages

type LabelsInListImages struct {
	LabelsItem []LabelsItem `json:"Labels" xml:"Labels"`
}

LabelsInListImages is a nested struct in aiworkspace response

type LabelsItem

type LabelsItem struct {
	Key   string `json:"Key" xml:"Key"`
	Value string `json:"Value" xml:"Value"`
}

LabelsItem is a nested struct in aiworkspace response

type ListImageLabelsRequest

type ListImageLabelsRequest struct {
	*requests.RoaRequest
	ImageId     string `position:"Query" name:"ImageId"`
	LabelKeys   string `position:"Query" name:"LabelKeys"`
	Region      string `position:"Query" name:"Region"`
	LabelFilter string `position:"Query" name:"LabelFilter"`
	WorkspaceId string `position:"Query" name:"WorkspaceId"`
}

ListImageLabelsRequest is the request struct for api ListImageLabels

func CreateListImageLabelsRequest

func CreateListImageLabelsRequest() (request *ListImageLabelsRequest)

CreateListImageLabelsRequest creates a request to invoke ListImageLabels API

type ListImageLabelsResponse

type ListImageLabelsResponse struct {
	*responses.BaseResponse
	RequestId  string       `json:"RequestId" xml:"RequestId"`
	TotalCount int64        `json:"TotalCount" xml:"TotalCount"`
	Labels     []LabelsItem `json:"Labels" xml:"Labels"`
}

ListImageLabelsResponse is the response struct for api ListImageLabels

func CreateListImageLabelsResponse

func CreateListImageLabelsResponse() (response *ListImageLabelsResponse)

CreateListImageLabelsResponse creates a response to parse from ListImageLabels response

type ListImagesRequest

type ListImagesRequest struct {
	*requests.RoaRequest
	ParentUserId string `position:"Query" name:"ParentUserId"`
	Name         string `position:"Query" name:"Name"`
	PageSize     string `position:"Query" name:"PageSize"`
	SortBy       string `position:"Query" name:"SortBy"`
	UserId       string `position:"Query" name:"UserId"`
	PageNumber   string `position:"Query" name:"PageNumber"`
	Order        string `position:"Query" name:"Order"`
	Labels       string `position:"Query" name:"Labels"`
	Verbose      string `position:"Query" name:"Verbose"`
	WorkspaceId  string `position:"Query" name:"WorkspaceId"`
}

ListImagesRequest is the request struct for api ListImages

func CreateListImagesRequest

func CreateListImagesRequest() (request *ListImagesRequest)

CreateListImagesRequest creates a request to invoke ListImages API

type ListImagesResponse

type ListImagesResponse struct {
	*responses.BaseResponse
	RequestId  string       `json:"RequestId" xml:"RequestId"`
	TotalCount int64        `json:"TotalCount" xml:"TotalCount"`
	Images     []ImagesItem `json:"Images" xml:"Images"`
}

ListImagesResponse is the response struct for api ListImages

func CreateListImagesResponse

func CreateListImagesResponse() (response *ListImagesResponse)

CreateListImagesResponse creates a response to parse from ListImages response

type ListMembersRequest

type ListMembersRequest struct {
	*requests.RoaRequest
	Roles       string `position:"Query" name:"Roles"`
	PageSize    string `position:"Query" name:"PageSize"`
	PageNumber  string `position:"Query" name:"PageNumber"`
	MemberName  string `position:"Query" name:"MemberName"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

ListMembersRequest is the request struct for api ListMembers

func CreateListMembersRequest

func CreateListMembersRequest() (request *ListMembersRequest)

CreateListMembersRequest creates a request to invoke ListMembers API

type ListMembersResponse

type ListMembersResponse struct {
	*responses.BaseResponse
	RequestId  string        `json:"RequestId" xml:"RequestId"`
	TotalCount int64         `json:"TotalCount" xml:"TotalCount"`
	Members    []MembersItem `json:"Members" xml:"Members"`
}

ListMembersResponse is the response struct for api ListMembers

func CreateListMembersResponse

func CreateListMembersResponse() (response *ListMembersResponse)

CreateListMembersResponse creates a response to parse from ListMembers response

type ListPermissionsRequest

type ListPermissionsRequest struct {
	*requests.RoaRequest
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

ListPermissionsRequest is the request struct for api ListPermissions

func CreateListPermissionsRequest

func CreateListPermissionsRequest() (request *ListPermissionsRequest)

CreateListPermissionsRequest creates a request to invoke ListPermissions API

type ListPermissionsResponse

type ListPermissionsResponse struct {
	*responses.BaseResponse
	RequestId   string            `json:"RequestId" xml:"RequestId"`
	TotalCount  int64             `json:"TotalCount" xml:"TotalCount"`
	Permissions []PermissionsItem `json:"Permissions" xml:"Permissions"`
}

ListPermissionsResponse is the response struct for api ListPermissions

func CreateListPermissionsResponse

func CreateListPermissionsResponse() (response *ListPermissionsResponse)

CreateListPermissionsResponse creates a response to parse from ListPermissions response

type ListQuotasRequest

type ListQuotasRequest struct {
	*requests.RoaRequest
	Name string `position:"Query" name:"Name"`
}

ListQuotasRequest is the request struct for api ListQuotas

func CreateListQuotasRequest

func CreateListQuotasRequest() (request *ListQuotasRequest)

CreateListQuotasRequest creates a request to invoke ListQuotas API

type ListQuotasResponse

type ListQuotasResponse struct {
	*responses.BaseResponse
	RequestId  string       `json:"RequestId" xml:"RequestId"`
	TotalCount int64        `json:"TotalCount" xml:"TotalCount"`
	Quotas     []QuotasItem `json:"Quotas" xml:"Quotas"`
}

ListQuotasResponse is the response struct for api ListQuotas

func CreateListQuotasResponse

func CreateListQuotasResponse() (response *ListQuotasResponse)

CreateListQuotasResponse creates a response to parse from ListQuotas response

type ListResourcesRequest

type ListResourcesRequest struct {
	*requests.RoaRequest
	PageSize     string `position:"Query" name:"PageSize"`
	ProductTypes string `position:"Query" name:"ProductTypes"`
	ResourceName string `position:"Query" name:"ResourceName"`
	GroupName    string `position:"Query" name:"GroupName"`
	PageNumber   string `position:"Query" name:"PageNumber"`
	WorkspaceId  string `position:"Query" name:"WorkspaceId"`
	Option       string `position:"Query" name:"Option"`
	Verbose      string `position:"Query" name:"Verbose"`
}

ListResourcesRequest is the request struct for api ListResources

func CreateListResourcesRequest

func CreateListResourcesRequest() (request *ListResourcesRequest)

CreateListResourcesRequest creates a request to invoke ListResources API

type ListResourcesResponse

type ListResourcesResponse struct {
	*responses.BaseResponse
	RequestId  string          `json:"RequestId" xml:"RequestId"`
	TotalCount int64           `json:"TotalCount" xml:"TotalCount"`
	Resources  []ResourcesItem `json:"Resources" xml:"Resources"`
}

ListResourcesResponse is the response struct for api ListResources

func CreateListResourcesResponse

func CreateListResourcesResponse() (response *ListResourcesResponse)

CreateListResourcesResponse creates a response to parse from ListResources response

type ListWorkspaceUsersRequest

type ListWorkspaceUsersRequest struct {
	*requests.RoaRequest
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

ListWorkspaceUsersRequest is the request struct for api ListWorkspaceUsers

func CreateListWorkspaceUsersRequest

func CreateListWorkspaceUsersRequest() (request *ListWorkspaceUsersRequest)

CreateListWorkspaceUsersRequest creates a request to invoke ListWorkspaceUsers API

type ListWorkspaceUsersResponse

type ListWorkspaceUsersResponse struct {
	*responses.BaseResponse
	RequestId  string      `json:"RequestId" xml:"RequestId"`
	TotalCount int64       `json:"TotalCount" xml:"TotalCount"`
	Users      []UsersItem `json:"Users" xml:"Users"`
}

ListWorkspaceUsersResponse is the response struct for api ListWorkspaceUsers

func CreateListWorkspaceUsersResponse

func CreateListWorkspaceUsersResponse() (response *ListWorkspaceUsersResponse)

CreateListWorkspaceUsersResponse creates a response to parse from ListWorkspaceUsers response

type ListWorkspacesRequest

type ListWorkspacesRequest struct {
	*requests.RoaRequest
	WorkspaceIds  string `position:"Query" name:"WorkspaceIds"`
	ModuleList    string `position:"Query" name:"ModuleList"`
	PageSize      string `position:"Query" name:"PageSize"`
	WorkspaceName string `position:"Query" name:"WorkspaceName"`
	SortBy        string `position:"Query" name:"SortBy"`
	Fields        string `position:"Query" name:"Fields"`
	PageNumber    string `position:"Query" name:"PageNumber"`
	Order         string `position:"Query" name:"Order"`
	Status        string `position:"Query" name:"Status"`
	Option        string `position:"Query" name:"Option"`
	Verbose       string `position:"Query" name:"Verbose"`
}

ListWorkspacesRequest is the request struct for api ListWorkspaces

func CreateListWorkspacesRequest

func CreateListWorkspacesRequest() (request *ListWorkspacesRequest)

CreateListWorkspacesRequest creates a request to invoke ListWorkspaces API

type ListWorkspacesResponse

type ListWorkspacesResponse struct {
	*responses.BaseResponse
	RequestId      string                 `json:"RequestId" xml:"RequestId"`
	TotalCount     int64                  `json:"TotalCount" xml:"TotalCount"`
	ResourceLimits map[string]interface{} `json:"ResourceLimits" xml:"ResourceLimits"`
	Workspaces     []WorkspacesItem       `json:"Workspaces" xml:"Workspaces"`
}

ListWorkspacesResponse is the response struct for api ListWorkspaces

func CreateListWorkspacesResponse

func CreateListWorkspacesResponse() (response *ListWorkspacesResponse)

CreateListWorkspacesResponse creates a response to parse from ListWorkspaces response

type MembersInCreateMember

type MembersInCreateMember struct {
	MembersItem []MembersItem `json:"Members" xml:"Members"`
}

MembersInCreateMember is a nested struct in aiworkspace response

type MembersInListMembers

type MembersInListMembers struct {
	MembersItem []MembersItem `json:"Members" xml:"Members"`
}

MembersInListMembers is a nested struct in aiworkspace response

type MembersItem

type MembersItem struct {
	MemberName    string   `json:"MemberName" xml:"MemberName"`
	GmtCreateTime string   `json:"GmtCreateTime" xml:"GmtCreateTime"`
	UserId        string   `json:"UserId" xml:"UserId"`
	MemberId      string   `json:"MemberId" xml:"MemberId"`
	DisplayName   string   `json:"DisplayName" xml:"DisplayName"`
	Roles         []string `json:"Roles" xml:"Roles"`
}

MembersItem is a nested struct in aiworkspace response

type Owner

type Owner struct {
	UserKp      string `json:"UserKp" xml:"UserKp"`
	UserId      string `json:"UserId" xml:"UserId"`
	UserName    string `json:"UserName" xml:"UserName"`
	DisplayName string `json:"DisplayName" xml:"DisplayName"`
}

Owner is a nested struct in aiworkspace response

type PermissionRulesInGetPermission

type PermissionRulesInGetPermission struct {
	PermissionRulesItem []PermissionRulesItem `json:"PermissionRules" xml:"PermissionRules"`
}

PermissionRulesInGetPermission is a nested struct in aiworkspace response

type PermissionRulesInListPermissions

type PermissionRulesInListPermissions struct {
	PermissionRulesItem []PermissionRulesItem `json:"PermissionRules" xml:"PermissionRules"`
}

PermissionRulesInListPermissions is a nested struct in aiworkspace response

type PermissionRulesItem

type PermissionRulesItem struct {
	EntityAccessType string `json:"EntityAccessType" xml:"EntityAccessType"`
	Accessibility    string `json:"Accessibility" xml:"Accessibility"`
}

PermissionRulesItem is a nested struct in aiworkspace response

type Permissions

type Permissions struct {
	PermissionsItem []PermissionsItem `json:"Permissions" xml:"Permissions"`
}

Permissions is a nested struct in aiworkspace response

type PermissionsItem

type PermissionsItem struct {
	PermissionCode  string                `json:"PermissionCode" xml:"PermissionCode"`
	PermissionRules []PermissionRulesItem `json:"PermissionRules" xml:"PermissionRules"`
}

PermissionsItem is a nested struct in aiworkspace response

type PublishImageRequest

type PublishImageRequest struct {
	*requests.RoaRequest
	ImageId string `position:"Path" name:"ImageId"`
}

PublishImageRequest is the request struct for api PublishImage

func CreatePublishImageRequest

func CreatePublishImageRequest() (request *PublishImageRequest)

CreatePublishImageRequest creates a request to invoke PublishImage API

type PublishImageResponse

type PublishImageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	ImageId   string `json:"ImageId" xml:"ImageId"`
}

PublishImageResponse is the response struct for api PublishImage

func CreatePublishImageResponse

func CreatePublishImageResponse() (response *PublishImageResponse)

CreatePublishImageResponse creates a response to parse from PublishImage response

type QuotasInListQuotas

type QuotasInListQuotas struct {
	QuotasItem []QuotasItem `json:"Quotas" xml:"Quotas"`
}

QuotasInListQuotas is a nested struct in aiworkspace response

type QuotasInListResources

type QuotasInListResources struct {
	QuotasItem []QuotasItemInListResources `json:"Quotas" xml:"Quotas"`
}

QuotasInListResources is a nested struct in aiworkspace response

type QuotasItem

type QuotasItem struct {
	Name        string      `json:"Name" xml:"Name"`
	QuotaType   string      `json:"QuotaType" xml:"QuotaType"`
	Id          string      `json:"Id" xml:"Id"`
	ProductCode string      `json:"ProductCode" xml:"ProductCode"`
	Mode        string      `json:"Mode" xml:"Mode"`
	DisplayName string      `json:"DisplayName" xml:"DisplayName"`
	Specs       []SpecsItem `json:"Specs" xml:"Specs"`
}

QuotasItem is a nested struct in aiworkspace response

type QuotasItemInListResources

type QuotasItemInListResources struct {
	Name        string `json:"Name" xml:"Name"`
	ProductCode string `json:"ProductCode" xml:"ProductCode"`
	QuotaType   string `json:"QuotaType" xml:"QuotaType"`
	Mode        string `json:"Mode" xml:"Mode"`
	CardType    string `json:"CardType" xml:"CardType"`
	Id          string `json:"Id" xml:"Id"`
	DisplayName string `json:"DisplayName" xml:"DisplayName"`
	Specs       []Spec `json:"Specs" xml:"Specs"`
}

QuotasItemInListResources is a nested struct in aiworkspace response

type RemoveImageLabelsRequest

type RemoveImageLabelsRequest struct {
	*requests.RoaRequest
	ImageId   string `position:"Path" name:"ImageId"`
	LabelKeys string `position:"Path" name:"LabelKeys"`
}

RemoveImageLabelsRequest is the request struct for api RemoveImageLabels

func CreateRemoveImageLabelsRequest

func CreateRemoveImageLabelsRequest() (request *RemoveImageLabelsRequest)

CreateRemoveImageLabelsRequest creates a request to invoke RemoveImageLabels API

type RemoveImageLabelsResponse

type RemoveImageLabelsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

RemoveImageLabelsResponse is the response struct for api RemoveImageLabels

func CreateRemoveImageLabelsResponse

func CreateRemoveImageLabelsResponse() (response *RemoveImageLabelsResponse)

CreateRemoveImageLabelsResponse creates a response to parse from RemoveImageLabels response

type RemoveImageRequest

type RemoveImageRequest struct {
	*requests.RoaRequest
	ImageId string `position:"Path" name:"ImageId"`
}

RemoveImageRequest is the request struct for api RemoveImage

func CreateRemoveImageRequest

func CreateRemoveImageRequest() (request *RemoveImageRequest)

CreateRemoveImageRequest creates a request to invoke RemoveImage API

type RemoveImageResponse

type RemoveImageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

RemoveImageResponse is the response struct for api RemoveImage

func CreateRemoveImageResponse

func CreateRemoveImageResponse() (response *RemoveImageResponse)

CreateRemoveImageResponse creates a response to parse from RemoveImage response

type RemoveMemberRoleRequest

type RemoveMemberRoleRequest struct {
	*requests.RoaRequest
	RoleName    string `position:"Path" name:"RoleName"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
	MemberId    string `position:"Path" name:"MemberId"`
}

RemoveMemberRoleRequest is the request struct for api RemoveMemberRole

func CreateRemoveMemberRoleRequest

func CreateRemoveMemberRoleRequest() (request *RemoveMemberRoleRequest)

CreateRemoveMemberRoleRequest creates a request to invoke RemoveMemberRole API

type RemoveMemberRoleResponse

type RemoveMemberRoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

RemoveMemberRoleResponse is the response struct for api RemoveMemberRole

func CreateRemoveMemberRoleResponse

func CreateRemoveMemberRoleResponse() (response *RemoveMemberRoleResponse)

CreateRemoveMemberRoleResponse creates a response to parse from RemoveMemberRole response

type Resource

type Resource struct {
	Id string `json:"Id" xml:"Id"`
}

Resource is a nested struct in aiworkspace response

type ResourcesInCreateWorkspaceResource

type ResourcesInCreateWorkspaceResource struct {
	Resource []Resource `json:"Resource" xml:"Resource"`
}

ResourcesInCreateWorkspaceResource is a nested struct in aiworkspace response

type ResourcesInListResources

type ResourcesInListResources struct {
	ResourcesItem []ResourcesItem `json:"Resources" xml:"Resources"`
}

ResourcesInListResources is a nested struct in aiworkspace response

type ResourcesItem

type ResourcesItem struct {
	Id            string                      `json:"Id" xml:"Id"`
	Name          string                      `json:"Name" xml:"Name"`
	ProductType   string                      `json:"ProductType" xml:"ProductType"`
	EnvType       string                      `json:"EnvType" xml:"EnvType"`
	WorkspaceId   string                      `json:"WorkspaceId" xml:"WorkspaceId"`
	IsDefault     bool                        `json:"IsDefault" xml:"IsDefault"`
	Spec          map[string]interface{}      `json:"Spec" xml:"Spec"`
	GroupName     string                      `json:"GroupName" xml:"GroupName"`
	GmtCreateTime string                      `json:"GmtCreateTime" xml:"GmtCreateTime"`
	Quotas        []QuotasItemInListResources `json:"Quotas" xml:"Quotas"`
}

ResourcesItem is a nested struct in aiworkspace response

type RolesInCreateMember

type RolesInCreateMember struct {
	Roles []string `json:"Roles" xml:"Roles"`
}

RolesInCreateMember is a nested struct in aiworkspace response

type RolesInGetMember

type RolesInGetMember struct {
	Roles []string `json:"Roles" xml:"Roles"`
}

RolesInGetMember is a nested struct in aiworkspace response

type RolesInListMembers

type RolesInListMembers struct {
	Roles []string `json:"Roles" xml:"Roles"`
}

RolesInListMembers is a nested struct in aiworkspace response

type Spec

type Spec struct {
	Name  string `json:"Name" xml:"Name"`
	Value string `json:"Value" xml:"Value"`
}

Spec is a nested struct in aiworkspace response

type SpecsInListQuotas

type SpecsInListQuotas struct {
	SpecsItem []SpecsItem `json:"Specs" xml:"Specs"`
}

SpecsInListQuotas is a nested struct in aiworkspace response

type SpecsInListResources

type SpecsInListResources struct {
	Spec []Spec `json:"Spec" xml:"Spec"`
}

SpecsInListResources is a nested struct in aiworkspace response

type SpecsItem

type SpecsItem struct {
	Name  string `json:"Name" xml:"Name"`
	Value string `json:"Value" xml:"Value"`
	Type  string `json:"Type" xml:"Type"`
}

SpecsItem is a nested struct in aiworkspace response

type UpdateDefaultWorkspaceRequest

type UpdateDefaultWorkspaceRequest struct {
	*requests.RoaRequest
	Body string `position:"Body" name:"body"`
}

UpdateDefaultWorkspaceRequest is the request struct for api UpdateDefaultWorkspace

func CreateUpdateDefaultWorkspaceRequest

func CreateUpdateDefaultWorkspaceRequest() (request *UpdateDefaultWorkspaceRequest)

CreateUpdateDefaultWorkspaceRequest creates a request to invoke UpdateDefaultWorkspace API

type UpdateDefaultWorkspaceResponse

type UpdateDefaultWorkspaceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateDefaultWorkspaceResponse is the response struct for api UpdateDefaultWorkspace

func CreateUpdateDefaultWorkspaceResponse

func CreateUpdateDefaultWorkspaceResponse() (response *UpdateDefaultWorkspaceResponse)

CreateUpdateDefaultWorkspaceResponse creates a response to parse from UpdateDefaultWorkspace response

type UpdateWorkspaceRequest

type UpdateWorkspaceRequest struct {
	*requests.RoaRequest
	Body        string `position:"Body" name:"body"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

UpdateWorkspaceRequest is the request struct for api UpdateWorkspace

func CreateUpdateWorkspaceRequest

func CreateUpdateWorkspaceRequest() (request *UpdateWorkspaceRequest)

CreateUpdateWorkspaceRequest creates a request to invoke UpdateWorkspace API

type UpdateWorkspaceResourceRequest

type UpdateWorkspaceResourceRequest struct {
	*requests.RoaRequest
	Body        string `position:"Body" name:"body"`
	GroupName   string `position:"Query" name:"GroupName"`
	WorkspaceId string `position:"Path" name:"WorkspaceId"`
}

UpdateWorkspaceResourceRequest is the request struct for api UpdateWorkspaceResource

func CreateUpdateWorkspaceResourceRequest

func CreateUpdateWorkspaceResourceRequest() (request *UpdateWorkspaceResourceRequest)

CreateUpdateWorkspaceResourceRequest creates a request to invoke UpdateWorkspaceResource API

type UpdateWorkspaceResourceResponse

type UpdateWorkspaceResourceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateWorkspaceResourceResponse is the response struct for api UpdateWorkspaceResource

func CreateUpdateWorkspaceResourceResponse

func CreateUpdateWorkspaceResourceResponse() (response *UpdateWorkspaceResourceResponse)

CreateUpdateWorkspaceResourceResponse creates a response to parse from UpdateWorkspaceResource response

type UpdateWorkspaceResponse

type UpdateWorkspaceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateWorkspaceResponse is the response struct for api UpdateWorkspace

func CreateUpdateWorkspaceResponse

func CreateUpdateWorkspaceResponse() (response *UpdateWorkspaceResponse)

CreateUpdateWorkspaceResponse creates a response to parse from UpdateWorkspace response

type Users

type Users struct {
	UsersItem []UsersItem `json:"Users" xml:"Users"`
}

Users is a nested struct in aiworkspace response

type UsersItem

type UsersItem struct {
	UserId   string `json:"UserId" xml:"UserId"`
	UserName string `json:"UserName" xml:"UserName"`
}

UsersItem is a nested struct in aiworkspace response

type Workspaces

type Workspaces struct {
	WorkspacesItem []WorkspacesItem `json:"Workspaces" xml:"Workspaces"`
}

Workspaces is a nested struct in aiworkspace response

type WorkspacesItem

type WorkspacesItem struct {
	WorkspaceId     string                 `json:"WorkspaceId" xml:"WorkspaceId"`
	WorkspaceName   string                 `json:"WorkspaceName" xml:"WorkspaceName"`
	GmtCreateTime   string                 `json:"GmtCreateTime" xml:"GmtCreateTime"`
	GmtModifiedTime string                 `json:"GmtModifiedTime" xml:"GmtModifiedTime"`
	Description     string                 `json:"Description" xml:"Description"`
	Creator         string                 `json:"Creator" xml:"Creator"`
	Status          string                 `json:"Status" xml:"Status"`
	IsDefault       bool                   `json:"IsDefault" xml:"IsDefault"`
	ExtraInfos      map[string]interface{} `json:"ExtraInfos" xml:"ExtraInfos"`
	EnvTypes        []string               `json:"EnvTypes" xml:"EnvTypes"`
	AdminNames      []string               `json:"AdminNames" xml:"AdminNames"`
}

WorkspacesItem is a nested struct in aiworkspace response

Source Files

Jump to

Keyboard shortcuts

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