Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Client
- func (client *Client) GetSpace(request *GetSpaceRequest) (_result *GetSpaceResponse, _err error)
- func (client *Client) GetSpaceWithOptions(request *GetSpaceRequest, headers *GetSpaceHeaders, ...) (_result *GetSpaceResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) Send(request *SendRequest) (_result *SendResponse, _err error)
- func (client *Client) SendByApp(request *SendByAppRequest) (_result *SendByAppResponse, _err error)
- func (client *Client) SendByAppWithOptions(request *SendByAppRequest, headers *SendByAppHeaders, ...) (_result *SendByAppResponse, _err error)
- func (client *Client) SendLink(request *SendLinkRequest) (_result *SendLinkResponse, _err error)
- func (client *Client) SendLinkWithOptions(request *SendLinkRequest, headers *SendLinkHeaders, ...) (_result *SendLinkResponse, _err error)
- func (client *Client) SendWithOptions(request *SendRequest, headers *SendHeaders, runtime *util.RuntimeOptions) (_result *SendResponse, _err error)
- type GetSpaceHeaders
- type GetSpaceRequest
- type GetSpaceResponse
- func (s GetSpaceResponse) GoString() string
- func (s *GetSpaceResponse) SetBody(v *GetSpaceResponseBody) *GetSpaceResponse
- func (s *GetSpaceResponse) SetHeaders(v map[string]*string) *GetSpaceResponse
- func (s *GetSpaceResponse) SetStatusCode(v int32) *GetSpaceResponse
- func (s GetSpaceResponse) String() string
- type GetSpaceResponseBody
- type GetSpaceResponseBodySpace
- func (s GetSpaceResponseBodySpace) GoString() string
- func (s *GetSpaceResponseBodySpace) SetCorpId(v string) *GetSpaceResponseBodySpace
- func (s *GetSpaceResponseBodySpace) SetCreateTime(v string) *GetSpaceResponseBodySpace
- func (s *GetSpaceResponseBodySpace) SetModifiedTime(v string) *GetSpaceResponseBodySpace
- func (s *GetSpaceResponseBodySpace) SetSpaceId(v string) *GetSpaceResponseBodySpace
- func (s GetSpaceResponseBodySpace) String() string
- type SendByAppHeaders
- type SendByAppRequest
- type SendByAppResponse
- func (s SendByAppResponse) GoString() string
- func (s *SendByAppResponse) SetBody(v *SendByAppResponseBody) *SendByAppResponse
- func (s *SendByAppResponse) SetHeaders(v map[string]*string) *SendByAppResponse
- func (s *SendByAppResponse) SetStatusCode(v int32) *SendByAppResponse
- func (s SendByAppResponse) String() string
- type SendByAppResponseBody
- type SendByAppResponseBodyFile
- func (s SendByAppResponseBodyFile) GoString() string
- func (s *SendByAppResponseBodyFile) SetConversationId(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetCreateTime(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetCreatorId(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetExtension(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetId(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetModifiedTime(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetModifierId(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetName(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetParentId(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetPath(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetSize(v int64) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetSpaceId(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetStatus(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetType(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetUuid(v string) *SendByAppResponseBodyFile
- func (s *SendByAppResponseBodyFile) SetVersion(v int64) *SendByAppResponseBodyFile
- func (s SendByAppResponseBodyFile) String() string
- type SendHeaders
- type SendLinkHeaders
- type SendLinkRequest
- func (s SendLinkRequest) GoString() string
- func (s *SendLinkRequest) SetDentryId(v string) *SendLinkRequest
- func (s *SendLinkRequest) SetOpenConversationId(v string) *SendLinkRequest
- func (s *SendLinkRequest) SetSpaceId(v string) *SendLinkRequest
- func (s *SendLinkRequest) SetUnionId(v string) *SendLinkRequest
- func (s SendLinkRequest) String() string
- type SendLinkResponse
- func (s SendLinkResponse) GoString() string
- func (s *SendLinkResponse) SetBody(v *SendLinkResponseBody) *SendLinkResponse
- func (s *SendLinkResponse) SetHeaders(v map[string]*string) *SendLinkResponse
- func (s *SendLinkResponse) SetStatusCode(v int32) *SendLinkResponse
- func (s SendLinkResponse) String() string
- type SendLinkResponseBody
- type SendLinkResponseBodyFile
- func (s SendLinkResponseBodyFile) GoString() string
- func (s *SendLinkResponseBodyFile) SetConversationId(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetCreateTime(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetCreatorId(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetExtension(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetId(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetModifiedTime(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetModifierId(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetName(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetParentId(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetPath(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetSize(v int64) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetSpaceId(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetStatus(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetType(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetUuid(v string) *SendLinkResponseBodyFile
- func (s *SendLinkResponseBodyFile) SetVersion(v int64) *SendLinkResponseBodyFile
- func (s SendLinkResponseBodyFile) String() string
- type SendRequest
- func (s SendRequest) GoString() string
- func (s *SendRequest) SetDentryId(v string) *SendRequest
- func (s *SendRequest) SetOpenConversationId(v string) *SendRequest
- func (s *SendRequest) SetSpaceId(v string) *SendRequest
- func (s *SendRequest) SetUnionId(v string) *SendRequest
- func (s SendRequest) String() string
- type SendResponse
- type SendResponseBody
- type SendResponseBodyFile
- func (s SendResponseBodyFile) GoString() string
- func (s *SendResponseBodyFile) SetConversationId(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetCreateTime(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetCreatorId(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetExtension(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetId(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetModifiedTime(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetModifierId(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetName(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetParentId(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetPath(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetSize(v int64) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetSpaceId(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetStatus(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetType(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetUuid(v string) *SendResponseBodyFile
- func (s *SendResponseBodyFile) SetVersion(v int64) *SendResponseBodyFile
- func (s SendResponseBodyFile) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetSpace ¶
func (client *Client) GetSpace(request *GetSpaceRequest) (_result *GetSpaceResponse, _err error)
Summary:
获取IM会话存储空间信息
@param request - GetSpaceRequest
@return GetSpaceResponse
func (*Client) GetSpaceWithOptions ¶
func (client *Client) GetSpaceWithOptions(request *GetSpaceRequest, headers *GetSpaceHeaders, runtime *util.RuntimeOptions) (_result *GetSpaceResponse, _err error)
Summary:
获取IM会话存储空间信息
@param request - GetSpaceRequest
@param headers - GetSpaceHeaders
@param runtime - runtime options for this request RuntimeOptions
@return GetSpaceResponse
func (*Client) Send ¶
func (client *Client) Send(request *SendRequest) (_result *SendResponse, _err error)
Summary:
发送文件到指定会话
@param request - SendRequest
@return SendResponse
func (*Client) SendByApp ¶
func (client *Client) SendByApp(request *SendByAppRequest) (_result *SendByAppResponse, _err error)
Summary:
以应用身份发送文件给自己
@param request - SendByAppRequest
@return SendByAppResponse
func (*Client) SendByAppWithOptions ¶
func (client *Client) SendByAppWithOptions(request *SendByAppRequest, headers *SendByAppHeaders, runtime *util.RuntimeOptions) (_result *SendByAppResponse, _err error)
Summary:
以应用身份发送文件给自己
@param request - SendByAppRequest
@param headers - SendByAppHeaders
@param runtime - runtime options for this request RuntimeOptions
@return SendByAppResponse
func (*Client) SendLink ¶
func (client *Client) SendLink(request *SendLinkRequest) (_result *SendLinkResponse, _err error)
Summary:
发送文件链接到指定会话
@param request - SendLinkRequest
@return SendLinkResponse
func (*Client) SendLinkWithOptions ¶
func (client *Client) SendLinkWithOptions(request *SendLinkRequest, headers *SendLinkHeaders, runtime *util.RuntimeOptions) (_result *SendLinkResponse, _err error)
Summary:
发送文件链接到指定会话
@param request - SendLinkRequest
@param headers - SendLinkHeaders
@param runtime - runtime options for this request RuntimeOptions
@return SendLinkResponse
func (*Client) SendWithOptions ¶
func (client *Client) SendWithOptions(request *SendRequest, headers *SendHeaders, runtime *util.RuntimeOptions) (_result *SendResponse, _err error)
Summary:
发送文件到指定会话
@param request - SendRequest
@param headers - SendHeaders
@param runtime - runtime options for this request RuntimeOptions
@return SendResponse
type GetSpaceHeaders ¶
type GetSpaceHeaders struct {
CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
XAcsDingtalkAccessToken *string `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}
func (GetSpaceHeaders) GoString ¶
func (s GetSpaceHeaders) GoString() string
func (*GetSpaceHeaders) SetCommonHeaders ¶
func (s *GetSpaceHeaders) SetCommonHeaders(v map[string]*string) *GetSpaceHeaders
func (*GetSpaceHeaders) SetXAcsDingtalkAccessToken ¶
func (s *GetSpaceHeaders) SetXAcsDingtalkAccessToken(v string) *GetSpaceHeaders
func (GetSpaceHeaders) String ¶
func (s GetSpaceHeaders) String() string
type GetSpaceRequest ¶
type GetSpaceRequest struct {
// This parameter is required.
//
// example:
//
// open_conversation_id
OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
// This parameter is required.
//
// example:
//
// union_id
UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}
func (GetSpaceRequest) GoString ¶
func (s GetSpaceRequest) GoString() string
func (*GetSpaceRequest) SetOpenConversationId ¶
func (s *GetSpaceRequest) SetOpenConversationId(v string) *GetSpaceRequest
func (*GetSpaceRequest) SetUnionId ¶
func (s *GetSpaceRequest) SetUnionId(v string) *GetSpaceRequest
func (GetSpaceRequest) String ¶
func (s GetSpaceRequest) String() string
type GetSpaceResponse ¶
type GetSpaceResponse struct {
Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
Body *GetSpaceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}
func (GetSpaceResponse) GoString ¶
func (s GetSpaceResponse) GoString() string
func (*GetSpaceResponse) SetBody ¶
func (s *GetSpaceResponse) SetBody(v *GetSpaceResponseBody) *GetSpaceResponse
func (*GetSpaceResponse) SetHeaders ¶
func (s *GetSpaceResponse) SetHeaders(v map[string]*string) *GetSpaceResponse
func (*GetSpaceResponse) SetStatusCode ¶
func (s *GetSpaceResponse) SetStatusCode(v int32) *GetSpaceResponse
func (GetSpaceResponse) String ¶
func (s GetSpaceResponse) String() string
type GetSpaceResponseBody ¶
type GetSpaceResponseBody struct {
Space *GetSpaceResponseBodySpace `json:"space,omitempty" xml:"space,omitempty" type:"Struct"`
}
func (GetSpaceResponseBody) GoString ¶
func (s GetSpaceResponseBody) GoString() string
func (*GetSpaceResponseBody) SetSpace ¶
func (s *GetSpaceResponseBody) SetSpace(v *GetSpaceResponseBodySpace) *GetSpaceResponseBody
func (GetSpaceResponseBody) String ¶
func (s GetSpaceResponseBody) String() string
type GetSpaceResponseBodySpace ¶
type GetSpaceResponseBodySpace struct {
// example:
//
// corp_id
CorpId *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
// example:
//
// 2022-01-01T10:00:00Z
CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
// example:
//
// 2022-01-01T10:00:00Z
ModifiedTime *string `json:"modifiedTime,omitempty" xml:"modifiedTime,omitempty"`
SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
}
func (GetSpaceResponseBodySpace) GoString ¶
func (s GetSpaceResponseBodySpace) GoString() string
func (*GetSpaceResponseBodySpace) SetCorpId ¶
func (s *GetSpaceResponseBodySpace) SetCorpId(v string) *GetSpaceResponseBodySpace
func (*GetSpaceResponseBodySpace) SetCreateTime ¶
func (s *GetSpaceResponseBodySpace) SetCreateTime(v string) *GetSpaceResponseBodySpace
func (*GetSpaceResponseBodySpace) SetModifiedTime ¶
func (s *GetSpaceResponseBodySpace) SetModifiedTime(v string) *GetSpaceResponseBodySpace
func (*GetSpaceResponseBodySpace) SetSpaceId ¶
func (s *GetSpaceResponseBodySpace) SetSpaceId(v string) *GetSpaceResponseBodySpace
func (GetSpaceResponseBodySpace) String ¶
func (s GetSpaceResponseBodySpace) String() string
type SendByAppHeaders ¶
type SendByAppHeaders struct {
CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
XAcsDingtalkAccessToken *string `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}
func (SendByAppHeaders) GoString ¶
func (s SendByAppHeaders) GoString() string
func (*SendByAppHeaders) SetCommonHeaders ¶
func (s *SendByAppHeaders) SetCommonHeaders(v map[string]*string) *SendByAppHeaders
func (*SendByAppHeaders) SetXAcsDingtalkAccessToken ¶
func (s *SendByAppHeaders) SetXAcsDingtalkAccessToken(v string) *SendByAppHeaders
func (SendByAppHeaders) String ¶
func (s SendByAppHeaders) String() string
type SendByAppRequest ¶
type SendByAppRequest struct {
// This parameter is required.
//
// example:
//
// file_id
DentryId *string `json:"dentryId,omitempty" xml:"dentryId,omitempty"`
// This parameter is required.
//
// example:
//
// space_id
SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
// This parameter is required.
//
// example:
//
// union_id
UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}
func (SendByAppRequest) GoString ¶
func (s SendByAppRequest) GoString() string
func (*SendByAppRequest) SetDentryId ¶
func (s *SendByAppRequest) SetDentryId(v string) *SendByAppRequest
func (*SendByAppRequest) SetSpaceId ¶
func (s *SendByAppRequest) SetSpaceId(v string) *SendByAppRequest
func (*SendByAppRequest) SetUnionId ¶
func (s *SendByAppRequest) SetUnionId(v string) *SendByAppRequest
func (SendByAppRequest) String ¶
func (s SendByAppRequest) String() string
type SendByAppResponse ¶
type SendByAppResponse struct {
Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
Body *SendByAppResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}
func (SendByAppResponse) GoString ¶
func (s SendByAppResponse) GoString() string
func (*SendByAppResponse) SetBody ¶
func (s *SendByAppResponse) SetBody(v *SendByAppResponseBody) *SendByAppResponse
func (*SendByAppResponse) SetHeaders ¶
func (s *SendByAppResponse) SetHeaders(v map[string]*string) *SendByAppResponse
func (*SendByAppResponse) SetStatusCode ¶
func (s *SendByAppResponse) SetStatusCode(v int32) *SendByAppResponse
func (SendByAppResponse) String ¶
func (s SendByAppResponse) String() string
type SendByAppResponseBody ¶
type SendByAppResponseBody struct {
File *SendByAppResponseBodyFile `json:"file,omitempty" xml:"file,omitempty" type:"Struct"`
}
func (SendByAppResponseBody) GoString ¶
func (s SendByAppResponseBody) GoString() string
func (*SendByAppResponseBody) SetFile ¶
func (s *SendByAppResponseBody) SetFile(v *SendByAppResponseBodyFile) *SendByAppResponseBody
func (SendByAppResponseBody) String ¶
func (s SendByAppResponseBody) String() string
type SendByAppResponseBodyFile ¶
type SendByAppResponseBodyFile struct {
// example:
//
// open_conversation_id
ConversationId *string `json:"conversationId,omitempty" xml:"conversationId,omitempty"`
// example:
//
// 2022-01-01T10:00:00Z
CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
// example:
//
// creator_id
CreatorId *string `json:"creatorId,omitempty" xml:"creatorId,omitempty"`
// example:
//
// txt
Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
// example:
//
// file_id
Id *string `json:"id,omitempty" xml:"id,omitempty"`
// example:
//
// 2022-01-01T10:00:00Z
ModifiedTime *string `json:"modifiedTime,omitempty" xml:"modifiedTime,omitempty"`
// example:
//
// modified_id
ModifierId *string `json:"modifierId,omitempty" xml:"modifierId,omitempty"`
// example:
//
// file_name
Name *string `json:"name,omitempty" xml:"name,omitempty"`
// example:
//
// parent_id
ParentId *string `json:"parentId,omitempty" xml:"parentId,omitempty"`
// example:
//
// file_path
Path *string `json:"path,omitempty" xml:"path,omitempty"`
// example:
//
// 256
Size *int64 `json:"size,omitempty" xml:"size,omitempty"`
// example:
//
// space_id
SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
// example:
//
// NORMAL
Status *string `json:"status,omitempty" xml:"status,omitempty"`
// example:
//
// file
Type *string `json:"type,omitempty" xml:"type,omitempty"`
// example:
//
// uuid
Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
// example:
//
// 1
Version *int64 `json:"version,omitempty" xml:"version,omitempty"`
}
func (SendByAppResponseBodyFile) GoString ¶
func (s SendByAppResponseBodyFile) GoString() string
func (*SendByAppResponseBodyFile) SetConversationId ¶
func (s *SendByAppResponseBodyFile) SetConversationId(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetCreateTime ¶
func (s *SendByAppResponseBodyFile) SetCreateTime(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetCreatorId ¶
func (s *SendByAppResponseBodyFile) SetCreatorId(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetExtension ¶
func (s *SendByAppResponseBodyFile) SetExtension(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetId ¶
func (s *SendByAppResponseBodyFile) SetId(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetModifiedTime ¶
func (s *SendByAppResponseBodyFile) SetModifiedTime(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetModifierId ¶
func (s *SendByAppResponseBodyFile) SetModifierId(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetName ¶
func (s *SendByAppResponseBodyFile) SetName(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetParentId ¶
func (s *SendByAppResponseBodyFile) SetParentId(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetPath ¶
func (s *SendByAppResponseBodyFile) SetPath(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetSize ¶
func (s *SendByAppResponseBodyFile) SetSize(v int64) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetSpaceId ¶
func (s *SendByAppResponseBodyFile) SetSpaceId(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetStatus ¶
func (s *SendByAppResponseBodyFile) SetStatus(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetType ¶
func (s *SendByAppResponseBodyFile) SetType(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetUuid ¶
func (s *SendByAppResponseBodyFile) SetUuid(v string) *SendByAppResponseBodyFile
func (*SendByAppResponseBodyFile) SetVersion ¶
func (s *SendByAppResponseBodyFile) SetVersion(v int64) *SendByAppResponseBodyFile
func (SendByAppResponseBodyFile) String ¶
func (s SendByAppResponseBodyFile) String() string
type SendHeaders ¶
type SendHeaders struct {
CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
XAcsDingtalkAccessToken *string `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}
func (SendHeaders) GoString ¶
func (s SendHeaders) GoString() string
func (*SendHeaders) SetCommonHeaders ¶
func (s *SendHeaders) SetCommonHeaders(v map[string]*string) *SendHeaders
func (*SendHeaders) SetXAcsDingtalkAccessToken ¶
func (s *SendHeaders) SetXAcsDingtalkAccessToken(v string) *SendHeaders
func (SendHeaders) String ¶
func (s SendHeaders) String() string
type SendLinkHeaders ¶
type SendLinkHeaders struct {
CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
XAcsDingtalkAccessToken *string `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}
func (SendLinkHeaders) GoString ¶
func (s SendLinkHeaders) GoString() string
func (*SendLinkHeaders) SetCommonHeaders ¶
func (s *SendLinkHeaders) SetCommonHeaders(v map[string]*string) *SendLinkHeaders
func (*SendLinkHeaders) SetXAcsDingtalkAccessToken ¶
func (s *SendLinkHeaders) SetXAcsDingtalkAccessToken(v string) *SendLinkHeaders
func (SendLinkHeaders) String ¶
func (s SendLinkHeaders) String() string
type SendLinkRequest ¶
type SendLinkRequest struct {
// This parameter is required.
//
// example:
//
// file_id
DentryId *string `json:"dentryId,omitempty" xml:"dentryId,omitempty"`
// This parameter is required.
//
// example:
//
// open_conversation_id
OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
// This parameter is required.
//
// example:
//
// space_id
SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
// This parameter is required.
//
// example:
//
// union_id
UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}
func (SendLinkRequest) GoString ¶
func (s SendLinkRequest) GoString() string
func (*SendLinkRequest) SetDentryId ¶
func (s *SendLinkRequest) SetDentryId(v string) *SendLinkRequest
func (*SendLinkRequest) SetOpenConversationId ¶
func (s *SendLinkRequest) SetOpenConversationId(v string) *SendLinkRequest
func (*SendLinkRequest) SetSpaceId ¶
func (s *SendLinkRequest) SetSpaceId(v string) *SendLinkRequest
func (*SendLinkRequest) SetUnionId ¶
func (s *SendLinkRequest) SetUnionId(v string) *SendLinkRequest
func (SendLinkRequest) String ¶
func (s SendLinkRequest) String() string
type SendLinkResponse ¶
type SendLinkResponse struct {
Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
Body *SendLinkResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}
func (SendLinkResponse) GoString ¶
func (s SendLinkResponse) GoString() string
func (*SendLinkResponse) SetBody ¶
func (s *SendLinkResponse) SetBody(v *SendLinkResponseBody) *SendLinkResponse
func (*SendLinkResponse) SetHeaders ¶
func (s *SendLinkResponse) SetHeaders(v map[string]*string) *SendLinkResponse
func (*SendLinkResponse) SetStatusCode ¶
func (s *SendLinkResponse) SetStatusCode(v int32) *SendLinkResponse
func (SendLinkResponse) String ¶
func (s SendLinkResponse) String() string
type SendLinkResponseBody ¶
type SendLinkResponseBody struct {
File *SendLinkResponseBodyFile `json:"file,omitempty" xml:"file,omitempty" type:"Struct"`
}
func (SendLinkResponseBody) GoString ¶
func (s SendLinkResponseBody) GoString() string
func (*SendLinkResponseBody) SetFile ¶
func (s *SendLinkResponseBody) SetFile(v *SendLinkResponseBodyFile) *SendLinkResponseBody
func (SendLinkResponseBody) String ¶
func (s SendLinkResponseBody) String() string
type SendLinkResponseBodyFile ¶
type SendLinkResponseBodyFile struct {
// example:
//
// open_conversation_id
ConversationId *string `json:"conversationId,omitempty" xml:"conversationId,omitempty"`
// example:
//
// 2022-01-01T10:00:00Z
CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
// example:
//
// creator_id
CreatorId *string `json:"creatorId,omitempty" xml:"creatorId,omitempty"`
// example:
//
// txt
Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
// example:
//
// file_id
Id *string `json:"id,omitempty" xml:"id,omitempty"`
// example:
//
// 2022-01-01T10:00:00Z
ModifiedTime *string `json:"modifiedTime,omitempty" xml:"modifiedTime,omitempty"`
// example:
//
// modified_id
ModifierId *string `json:"modifierId,omitempty" xml:"modifierId,omitempty"`
// example:
//
// file_name
Name *string `json:"name,omitempty" xml:"name,omitempty"`
// example:
//
// parent_id
ParentId *string `json:"parentId,omitempty" xml:"parentId,omitempty"`
// example:
//
// file_path
Path *string `json:"path,omitempty" xml:"path,omitempty"`
// example:
//
// 256
Size *int64 `json:"size,omitempty" xml:"size,omitempty"`
// example:
//
// space_id
SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
// example:
//
// NORMAL
Status *string `json:"status,omitempty" xml:"status,omitempty"`
// example:
//
// file
Type *string `json:"type,omitempty" xml:"type,omitempty"`
// example:
//
// uuid
Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
// example:
//
// 1
Version *int64 `json:"version,omitempty" xml:"version,omitempty"`
}
func (SendLinkResponseBodyFile) GoString ¶
func (s SendLinkResponseBodyFile) GoString() string
func (*SendLinkResponseBodyFile) SetConversationId ¶
func (s *SendLinkResponseBodyFile) SetConversationId(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetCreateTime ¶
func (s *SendLinkResponseBodyFile) SetCreateTime(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetCreatorId ¶
func (s *SendLinkResponseBodyFile) SetCreatorId(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetExtension ¶
func (s *SendLinkResponseBodyFile) SetExtension(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetId ¶
func (s *SendLinkResponseBodyFile) SetId(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetModifiedTime ¶
func (s *SendLinkResponseBodyFile) SetModifiedTime(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetModifierId ¶
func (s *SendLinkResponseBodyFile) SetModifierId(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetName ¶
func (s *SendLinkResponseBodyFile) SetName(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetParentId ¶
func (s *SendLinkResponseBodyFile) SetParentId(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetPath ¶
func (s *SendLinkResponseBodyFile) SetPath(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetSize ¶
func (s *SendLinkResponseBodyFile) SetSize(v int64) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetSpaceId ¶
func (s *SendLinkResponseBodyFile) SetSpaceId(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetStatus ¶
func (s *SendLinkResponseBodyFile) SetStatus(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetType ¶
func (s *SendLinkResponseBodyFile) SetType(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetUuid ¶
func (s *SendLinkResponseBodyFile) SetUuid(v string) *SendLinkResponseBodyFile
func (*SendLinkResponseBodyFile) SetVersion ¶
func (s *SendLinkResponseBodyFile) SetVersion(v int64) *SendLinkResponseBodyFile
func (SendLinkResponseBodyFile) String ¶
func (s SendLinkResponseBodyFile) String() string
type SendRequest ¶
type SendRequest struct {
// This parameter is required.
//
// example:
//
// file_id
DentryId *string `json:"dentryId,omitempty" xml:"dentryId,omitempty"`
// This parameter is required.
//
// example:
//
// open_conversation_id
OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
// This parameter is required.
//
// example:
//
// space_id
SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
// This parameter is required.
//
// example:
//
// union_id
UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}
func (SendRequest) GoString ¶
func (s SendRequest) GoString() string
func (*SendRequest) SetDentryId ¶
func (s *SendRequest) SetDentryId(v string) *SendRequest
func (*SendRequest) SetOpenConversationId ¶
func (s *SendRequest) SetOpenConversationId(v string) *SendRequest
func (*SendRequest) SetSpaceId ¶
func (s *SendRequest) SetSpaceId(v string) *SendRequest
func (*SendRequest) SetUnionId ¶
func (s *SendRequest) SetUnionId(v string) *SendRequest
func (SendRequest) String ¶
func (s SendRequest) String() string
type SendResponse ¶
type SendResponse struct {
Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
Body *SendResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}
func (SendResponse) GoString ¶
func (s SendResponse) GoString() string
func (*SendResponse) SetBody ¶
func (s *SendResponse) SetBody(v *SendResponseBody) *SendResponse
func (*SendResponse) SetHeaders ¶
func (s *SendResponse) SetHeaders(v map[string]*string) *SendResponse
func (*SendResponse) SetStatusCode ¶
func (s *SendResponse) SetStatusCode(v int32) *SendResponse
func (SendResponse) String ¶
func (s SendResponse) String() string
type SendResponseBody ¶
type SendResponseBody struct {
File *SendResponseBodyFile `json:"file,omitempty" xml:"file,omitempty" type:"Struct"`
}
func (SendResponseBody) GoString ¶
func (s SendResponseBody) GoString() string
func (*SendResponseBody) SetFile ¶
func (s *SendResponseBody) SetFile(v *SendResponseBodyFile) *SendResponseBody
func (SendResponseBody) String ¶
func (s SendResponseBody) String() string
type SendResponseBodyFile ¶
type SendResponseBodyFile struct {
// example:
//
// open_conversation_id
ConversationId *string `json:"conversationId,omitempty" xml:"conversationId,omitempty"`
// example:
//
// 2022-01-01T10:00:00Z
CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
// example:
//
// creator_id
CreatorId *string `json:"creatorId,omitempty" xml:"creatorId,omitempty"`
// example:
//
// txt
Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
// example:
//
// file_id
Id *string `json:"id,omitempty" xml:"id,omitempty"`
// example:
//
// 2022-01-01T10:00:00Z
ModifiedTime *string `json:"modifiedTime,omitempty" xml:"modifiedTime,omitempty"`
// example:
//
// modified_id
ModifierId *string `json:"modifierId,omitempty" xml:"modifierId,omitempty"`
// example:
//
// file_name
Name *string `json:"name,omitempty" xml:"name,omitempty"`
// example:
//
// parent_id
ParentId *string `json:"parentId,omitempty" xml:"parentId,omitempty"`
// example:
//
// file_path
Path *string `json:"path,omitempty" xml:"path,omitempty"`
// example:
//
// 256
Size *int64 `json:"size,omitempty" xml:"size,omitempty"`
// example:
//
// space_id
SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
// example:
//
// NORMAL
Status *string `json:"status,omitempty" xml:"status,omitempty"`
// example:
//
// file
Type *string `json:"type,omitempty" xml:"type,omitempty"`
// example:
//
// uuid
Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"`
// example:
//
// 1
Version *int64 `json:"version,omitempty" xml:"version,omitempty"`
}
func (SendResponseBodyFile) GoString ¶
func (s SendResponseBodyFile) GoString() string
func (*SendResponseBodyFile) SetConversationId ¶
func (s *SendResponseBodyFile) SetConversationId(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetCreateTime ¶
func (s *SendResponseBodyFile) SetCreateTime(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetCreatorId ¶
func (s *SendResponseBodyFile) SetCreatorId(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetExtension ¶
func (s *SendResponseBodyFile) SetExtension(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetId ¶
func (s *SendResponseBodyFile) SetId(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetModifiedTime ¶
func (s *SendResponseBodyFile) SetModifiedTime(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetModifierId ¶
func (s *SendResponseBodyFile) SetModifierId(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetName ¶
func (s *SendResponseBodyFile) SetName(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetParentId ¶
func (s *SendResponseBodyFile) SetParentId(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetPath ¶
func (s *SendResponseBodyFile) SetPath(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetSize ¶
func (s *SendResponseBodyFile) SetSize(v int64) *SendResponseBodyFile
func (*SendResponseBodyFile) SetSpaceId ¶
func (s *SendResponseBodyFile) SetSpaceId(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetStatus ¶
func (s *SendResponseBodyFile) SetStatus(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetType ¶
func (s *SendResponseBodyFile) SetType(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetUuid ¶
func (s *SendResponseBodyFile) SetUuid(v string) *SendResponseBodyFile
func (*SendResponseBodyFile) SetVersion ¶
func (s *SendResponseBodyFile) SetVersion(v int64) *SendResponseBodyFile
func (SendResponseBodyFile) String ¶
func (s SendResponseBodyFile) String() string