models

package
v1.55.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 10 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConentObject

type AppConentObject struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []AppInfoObject `json:"content"`
}

type AppInfoObject

type AppInfoObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 应用状态: OPEN-启用, CLOSE-停用
	(Optional) */
	Status string `json:"status"`

	/* 计费类型: Duration-按时长
	(Optional) */
	BillType string `json:"billType"`

	/* 创建时间(UTC) (Optional) */
	CreateTime string `json:"createTime"`
}

type AppKeyInfoObject

type AppKeyInfoObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`
}

type CheckAuthInfo

type CheckAuthInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 用户id (Optional) */
	UserId string `json:"userId"`

	/* 会议号 (Optional) */
	RoomId int64 `json:"roomId"`

	/* 随机令牌 (Optional) */
	Nonce string `json:"nonce"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`

	/* token (Optional) */
	Token string `json:"token"`
}

type CreateAppRequestObject

type CreateAppRequestObject struct {

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`
}

type CreateRoomRequestObj

type CreateRoomRequestObj struct {

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 用户ID(创建者ID) (Optional) */
	PeerId int64 `json:"peerId"`
}

type CreateUserRequestObj

type CreateUserRequestObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 用户名称 (Optional) */
	UserName string `json:"userName"`

	/* 业务接入方的用户ID (Optional) */
	UserId string `json:"userId"`

	/* 是否临时用户 (Optional) */
	Temporary bool `json:"temporary"`
}

type CreateUserResultObj

type CreateUserResultObj struct {

	/* 用户ID (Optional) */
	PeerId int64 `json:"peerId"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方的用户ID (Optional) */
	UserId string `json:"userId"`
}

type Filter

type Filter struct {

	/* 过滤器属性名  */
	Name string `json:"name"`

	/* 过滤器操作符,默认值为 eq
	enum:
	  - eq
	  - lt
	  - le
	  - gt
	  - ge
	  - ne
	  - in
	  - like
	 (Optional) */
	Operator *string `json:"operator"`

	/* 过滤器属性值  */
	Values []string `json:"values"`
}

type GenerateTokenAuthInfo

type GenerateTokenAuthInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 用户id (Optional) */
	UserId string `json:"userId"`

	/* 会议号 (Optional) */
	RoomId int64 `json:"roomId"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`
}

type JRTCAuthInfo

type JRTCAuthInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 用户id (Optional) */
	UserId string `json:"userId"`

	/* 会议号 (Optional) */
	RoomId int64 `json:"roomId"`

	/* 随机令牌 (Optional) */
	Nonce string `json:"nonce"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`

	/* token (Optional) */
	Token string `json:"token"`

	/* 是否可用(true-可用,false-不可用) (Optional) */
	Available bool `json:"available"`
}

type ModifyAppNameRequestObject

type ModifyAppNameRequestObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`
}

type ModifyAppStatusRequestObject

type ModifyAppStatusRequestObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用状态(OPEN,CLOSE) (Optional) */
	Status string `json:"status"`
}

type RoomInfoObj added in v1.52.0

type RoomInfoObj struct {

	/* 房间ID (Optional) */
	RoomId int64 `json:"roomId"`

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 用户ID(创建者ID) (Optional) */
	PeerId int64 `json:"peerId"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type RoomInfosObj added in v1.52.0

type RoomInfosObj struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []RoomInfoObj `json:"content"`
}

type RoomUserNumInfos

type RoomUserNumInfos struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []UserNumInfoObj `json:"content"`
}

type Sort

type Sort struct {

	/* 排序属性名 (Optional) */
	Name string `json:"name"`

	/* 排序方向 (Optional) */
	Direction string `json:"direction"`
}

type UpdateRoomRequestObj added in v1.52.0

type UpdateRoomRequestObj struct {

	/* 房间ID (Optional) */
	RoomId int64 `json:"roomId"`

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`
}

type UserNumInfoObj

type UserNumInfoObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 房间ID (Optional) */
	RoomId int64 `json:"roomId"`

	/* 房间在线人数 (Optional) */
	Number int `json:"number"`

	/* 创建时间UTC (Optional) */
	CreateTime string `json:"createTime"`
}

Jump to

Keyboard shortcuts

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