Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) SendByApp(request *SendByAppRequest) (_result *SendByAppResponse, _err error)
- func (client *Client) SendByAppWithOptions(request *SendByAppRequest, headers *SendByAppHeaders, ...) (_result *SendByAppResponse, _err error)
- type SendByAppHeaders
- type SendByAppRequest
- type SendByAppResponse
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) SendByApp ¶
func (client *Client) SendByApp(request *SendByAppRequest) (_result *SendByAppResponse, _err error)
func (*Client) SendByAppWithOptions ¶
func (client *Client) SendByAppWithOptions(request *SendByAppRequest, headers *SendByAppHeaders, runtime *util.RuntimeOptions) (_result *SendByAppResponse, _err error)
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 { // 文件id DentryId *string `json:"dentryId,omitempty" xml:"dentryId,omitempty"` // 文件所在空间id SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"` // 用户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" require:"true"` Body *SendByAppResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
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) 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 { // 文件所在会话id ConversationId *string `json:"conversationId,omitempty" xml:"conversationId,omitempty"` // 创建时间 CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"` // 创建者id CreatorId *string `json:"creatorId,omitempty" xml:"creatorId,omitempty"` // 文件后缀 Extension *string `json:"extension,omitempty" xml:"extension,omitempty"` // 文件id Id *string `json:"id,omitempty" xml:"id,omitempty"` // 修改时间 ModifiedTime *string `json:"modifiedTime,omitempty" xml:"modifiedTime,omitempty"` // 修改者id ModifierId *string `json:"modifierId,omitempty" xml:"modifierId,omitempty"` // 文件(夹)名称 Name *string `json:"name,omitempty" xml:"name,omitempty"` // 文件所在的父目录id, 根目录id值为0 ParentId *string `json:"parentId,omitempty" xml:"parentId,omitempty"` // 文件路径 Path *string `json:"path,omitempty" xml:"path,omitempty"` // 文件大小, 单位:Byte Size *int64 `json:"size,omitempty" xml:"size,omitempty"` // 文件所在空间id SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"` // 文件状态 // 枚举值: // NORMAL: 正常 // DELETED: 已删除 // EXPIRED: 已过期 Status *string `json:"status,omitempty" xml:"status,omitempty"` // 文件类型:文件、文件夹 // 枚举值: // FILE: 文件 // FOLDER: 文件夹 Type *string `json:"type,omitempty" xml:"type,omitempty"` // uuid,如移动文件,此字段不变 Uuid *string `json:"uuid,omitempty" xml:"uuid,omitempty"` // 文件版本 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
Click to show internal directories.
Click to hide internal directories.