conv_file_1_0

package
v1.4.56 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

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 (*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 (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 (*SendByAppResponseBodyFile) SetCreateTime

func (*SendByAppResponseBodyFile) SetCreatorId

func (*SendByAppResponseBodyFile) SetExtension

func (*SendByAppResponseBodyFile) SetId

func (*SendByAppResponseBodyFile) SetModifiedTime

func (*SendByAppResponseBodyFile) SetModifierId

func (*SendByAppResponseBodyFile) SetName

func (*SendByAppResponseBodyFile) SetParentId

func (*SendByAppResponseBodyFile) SetPath

func (*SendByAppResponseBodyFile) SetSize

func (*SendByAppResponseBodyFile) SetSpaceId

func (*SendByAppResponseBodyFile) SetStatus

func (*SendByAppResponseBodyFile) SetType

func (*SendByAppResponseBodyFile) SetUuid

func (*SendByAppResponseBodyFile) SetVersion

func (SendByAppResponseBodyFile) String

func (s SendByAppResponseBodyFile) String() string

Jump to

Keyboard shortcuts

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