Documentation
¶
Index ¶
- Constants
- type BatchDeleteDevicesRequest
- type BatchDeleteDevicesRequestParams
- type BatchDeleteDevicesResponse
- type BatchDeleteDevicesResponseParams
- type BatchDeletePolicyRequest
- type BatchDeletePolicyRequestParams
- type BatchDeletePolicyResponse
- type BatchDeletePolicyResponseParams
- type BoundLicensesRequest
- type BoundLicensesRequestParams
- type BoundLicensesResponse
- type BoundLicensesResponseParams
- type Client
- func (c *Client) BatchDeleteDevices(request *BatchDeleteDevicesRequest) (response *BatchDeleteDevicesResponse, err error)
- func (c *Client) BatchDeleteDevicesWithContext(ctx context.Context, request *BatchDeleteDevicesRequest) (response *BatchDeleteDevicesResponse, err error)
- func (c *Client) BatchDeletePolicy(request *BatchDeletePolicyRequest) (response *BatchDeletePolicyResponse, err error)
- func (c *Client) BatchDeletePolicyWithContext(ctx context.Context, request *BatchDeletePolicyRequest) (response *BatchDeletePolicyResponse, err error)
- func (c *Client) BoundLicenses(request *BoundLicensesRequest) (response *BoundLicensesResponse, err error)
- func (c *Client) BoundLicensesWithContext(ctx context.Context, request *BoundLicensesRequest) (response *BoundLicensesResponse, err error)
- func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
- func (c *Client) CreateDeviceWithContext(ctx context.Context, request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
- func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DeleteProjectWithContext(ctx context.Context, request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DescribeDeviceInfo(request *DescribeDeviceInfoRequest) (response *DescribeDeviceInfoResponse, err error)
- func (c *Client) DescribeDeviceInfoWithContext(ctx context.Context, request *DescribeDeviceInfoRequest) (response *DescribeDeviceInfoResponse, err error)
- func (c *Client) DescribeDeviceList(request *DescribeDeviceListRequest) (response *DescribeDeviceListResponse, err error)
- func (c *Client) DescribeDeviceListWithContext(ctx context.Context, request *DescribeDeviceListRequest) (response *DescribeDeviceListResponse, err error)
- func (c *Client) DescribeDeviceSessionDetails(request *DescribeDeviceSessionDetailsRequest) (response *DescribeDeviceSessionDetailsResponse, err error)
- func (c *Client) DescribeDeviceSessionDetailsWithContext(ctx context.Context, request *DescribeDeviceSessionDetailsRequest) (response *DescribeDeviceSessionDetailsResponse, err error)
- func (c *Client) DescribeDeviceSessionList(request *DescribeDeviceSessionListRequest) (response *DescribeDeviceSessionListResponse, err error)
- func (c *Client) DescribeDeviceSessionListWithContext(ctx context.Context, request *DescribeDeviceSessionListRequest) (response *DescribeDeviceSessionListResponse, err error)
- func (c *Client) DescribePolicy(request *DescribePolicyRequest) (response *DescribePolicyResponse, err error)
- func (c *Client) DescribePolicyWithContext(ctx context.Context, request *DescribePolicyRequest) (response *DescribePolicyResponse, err error)
- func (c *Client) DescribeProjectInfo(request *DescribeProjectInfoRequest) (response *DescribeProjectInfoResponse, err error)
- func (c *Client) DescribeProjectInfoWithContext(ctx context.Context, request *DescribeProjectInfoRequest) (response *DescribeProjectInfoResponse, err error)
- func (c *Client) DescribeProjectList(request *DescribeProjectListRequest) (response *DescribeProjectListResponse, err error)
- func (c *Client) DescribeProjectListWithContext(ctx context.Context, request *DescribeProjectListRequest) (response *DescribeProjectListResponse, err error)
- func (c *Client) DescribeRecentSessionList(request *DescribeRecentSessionListRequest) (response *DescribeRecentSessionListResponse, err error)
- func (c *Client) DescribeRecentSessionListWithContext(ctx context.Context, request *DescribeRecentSessionListRequest) (response *DescribeRecentSessionListResponse, err error)
- func (c *Client) DescribeSessionStatistics(request *DescribeSessionStatisticsRequest) (response *DescribeSessionStatisticsResponse, err error)
- func (c *Client) DescribeSessionStatisticsByInterval(request *DescribeSessionStatisticsByIntervalRequest) (response *DescribeSessionStatisticsByIntervalResponse, err error)
- func (c *Client) DescribeSessionStatisticsByIntervalWithContext(ctx context.Context, request *DescribeSessionStatisticsByIntervalRequest) (response *DescribeSessionStatisticsByIntervalResponse, err error)
- func (c *Client) DescribeSessionStatisticsWithContext(ctx context.Context, request *DescribeSessionStatisticsRequest) (response *DescribeSessionStatisticsResponse, err error)
- func (c *Client) GetDeviceLicense(request *GetDeviceLicenseRequest) (response *GetDeviceLicenseResponse, err error)
- func (c *Client) GetDeviceLicenseWithContext(ctx context.Context, request *GetDeviceLicenseRequest) (response *GetDeviceLicenseResponse, err error)
- func (c *Client) GetDevices(request *GetDevicesRequest) (response *GetDevicesResponse, err error)
- func (c *Client) GetDevicesWithContext(ctx context.Context, request *GetDevicesRequest) (response *GetDevicesResponse, err error)
- func (c *Client) GetLicenseStat(request *GetLicenseStatRequest) (response *GetLicenseStatResponse, err error)
- func (c *Client) GetLicenseStatWithContext(ctx context.Context, request *GetLicenseStatRequest) (response *GetLicenseStatResponse, err error)
- func (c *Client) GetLicenses(request *GetLicensesRequest) (response *GetLicensesResponse, err error)
- func (c *Client) GetLicensesWithContext(ctx context.Context, request *GetLicensesRequest) (response *GetLicensesResponse, err error)
- func (c *Client) ModifyDevice(request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)
- func (c *Client) ModifyDeviceWithContext(ctx context.Context, request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)
- func (c *Client) ModifyPolicy(request *ModifyPolicyRequest) (response *ModifyPolicyResponse, err error)
- func (c *Client) ModifyPolicyWithContext(ctx context.Context, request *ModifyPolicyRequest) (response *ModifyPolicyResponse, err error)
- func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- func (c *Client) ModifyProjectWithContext(ctx context.Context, request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- type CreateDeviceRequest
- type CreateDeviceRequestParams
- type CreateDeviceResponse
- type CreateDeviceResponseParams
- type CreateProjectRequest
- type CreateProjectRequestParams
- type CreateProjectResponse
- type CreateProjectResponseParams
- type DeleteProjectRequest
- type DeleteProjectRequestParams
- type DeleteProjectResponse
- type DeleteProjectResponseParams
- type DescribeDeviceInfoRequest
- type DescribeDeviceInfoRequestParams
- type DescribeDeviceInfoResponse
- type DescribeDeviceInfoResponseParams
- type DescribeDeviceListRequest
- type DescribeDeviceListRequestParams
- type DescribeDeviceListResponse
- type DescribeDeviceListResponseParams
- type DescribeDeviceSessionDetailsRequest
- type DescribeDeviceSessionDetailsRequestParams
- type DescribeDeviceSessionDetailsResponse
- type DescribeDeviceSessionDetailsResponseParams
- type DescribeDeviceSessionListRequest
- type DescribeDeviceSessionListRequestParams
- type DescribeDeviceSessionListResponse
- type DescribeDeviceSessionListResponseParams
- type DescribePolicyRequest
- type DescribePolicyRequestParams
- type DescribePolicyResponse
- type DescribePolicyResponseParams
- type DescribeProjectInfoRequest
- type DescribeProjectInfoRequestParams
- type DescribeProjectInfoResponse
- type DescribeProjectInfoResponseParams
- type DescribeProjectListRequest
- type DescribeProjectListRequestParams
- type DescribeProjectListResponse
- type DescribeProjectListResponseParams
- type DescribeRecentSessionListRequest
- type DescribeRecentSessionListRequestParams
- type DescribeRecentSessionListResponse
- type DescribeRecentSessionListResponseParams
- type DescribeSessionStatisticsByIntervalRequest
- type DescribeSessionStatisticsByIntervalRequestParams
- type DescribeSessionStatisticsByIntervalResponse
- type DescribeSessionStatisticsByIntervalResponseParams
- type DescribeSessionStatisticsRequest
- type DescribeSessionStatisticsRequestParams
- type DescribeSessionStatisticsResponse
- type DescribeSessionStatisticsResponseParams
- type Device
- type DeviceInfo
- type GetDeviceLicenseRequest
- type GetDeviceLicenseRequestParams
- type GetDeviceLicenseResponse
- type GetDeviceLicenseResponseParams
- type GetDevicesRequest
- type GetDevicesRequestParams
- type GetDevicesResponse
- type GetDevicesResponseParams
- type GetLicenseStatRequest
- type GetLicenseStatRequestParams
- type GetLicenseStatResponse
- type GetLicenseStatResponseParams
- type GetLicensesRequest
- type GetLicensesRequestParams
- type GetLicensesResponse
- type GetLicensesResponseParams
- type License
- type ModifyDeviceRequest
- type ModifyDeviceRequestParams
- type ModifyDeviceResponse
- type ModifyDeviceResponseParams
- type ModifyPolicyRequest
- type ModifyPolicyRequestParams
- type ModifyPolicyResponse
- type ModifyPolicyResponseParams
- type ModifyProjectRequest
- type ModifyProjectRequestParams
- type ModifyProjectResponse
- type ModifyProjectResponseParams
- type PolicyInfo
- type ProjectInfo
- type RecentSessionInfo
- type SessionDeviceDetail
- type SessionInfo
- type SessionIntervalStatistic
Constants ¶
const ( // 操作失败。 FAILEDOPERATION = "FailedOperation" // 内部错误。 INTERNALERROR = "InternalError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" )
const APIVersion = "2022-03-25"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchDeleteDevicesRequest ¶
type BatchDeleteDevicesRequest struct { *tchttp.BaseRequest // 目标删除设备所属项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 目标删除设备的设备ID数组 DeviceIds []*string `json:"DeviceIds,omitempty" name:"DeviceIds"` }
func NewBatchDeleteDevicesRequest ¶
func NewBatchDeleteDevicesRequest() (request *BatchDeleteDevicesRequest)
func (*BatchDeleteDevicesRequest) FromJsonString ¶
func (r *BatchDeleteDevicesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeleteDevicesRequest) ToJsonString ¶
func (r *BatchDeleteDevicesRequest) ToJsonString() string
type BatchDeleteDevicesRequestParams ¶
type BatchDeleteDevicesRequestParams struct { // 目标删除设备所属项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 目标删除设备的设备ID数组 DeviceIds []*string `json:"DeviceIds,omitempty" name:"DeviceIds"` }
Predefined struct for user
type BatchDeleteDevicesResponse ¶
type BatchDeleteDevicesResponse struct { *tchttp.BaseResponse Response *BatchDeleteDevicesResponseParams `json:"Response"` }
func NewBatchDeleteDevicesResponse ¶
func NewBatchDeleteDevicesResponse() (response *BatchDeleteDevicesResponse)
func (*BatchDeleteDevicesResponse) FromJsonString ¶
func (r *BatchDeleteDevicesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeleteDevicesResponse) ToJsonString ¶
func (r *BatchDeleteDevicesResponse) ToJsonString() string
type BatchDeleteDevicesResponseParams ¶
type BatchDeleteDevicesResponseParams struct { // 删除失败的设备ID列表 // 注意:此字段可能返回 null,表示取不到有效值。 FailedDeviceIds []*string `json:"FailedDeviceIds,omitempty" name:"FailedDeviceIds"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchDeletePolicyRequest ¶
type BatchDeletePolicyRequest struct { *tchttp.BaseRequest // 删除权限配置的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 删除权限配置的远端设备ID列表 RemoteDeviceIds []*string `json:"RemoteDeviceIds,omitempty" name:"RemoteDeviceIds"` // 删除权限配置的权限模式, black为黑名单,white为白名单 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` }
func NewBatchDeletePolicyRequest ¶
func NewBatchDeletePolicyRequest() (request *BatchDeletePolicyRequest)
func (*BatchDeletePolicyRequest) FromJsonString ¶
func (r *BatchDeletePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeletePolicyRequest) ToJsonString ¶
func (r *BatchDeletePolicyRequest) ToJsonString() string
type BatchDeletePolicyRequestParams ¶
type BatchDeletePolicyRequestParams struct { // 删除权限配置的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 删除权限配置的远端设备ID列表 RemoteDeviceIds []*string `json:"RemoteDeviceIds,omitempty" name:"RemoteDeviceIds"` // 删除权限配置的权限模式, black为黑名单,white为白名单 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` }
Predefined struct for user
type BatchDeletePolicyResponse ¶
type BatchDeletePolicyResponse struct { *tchttp.BaseResponse Response *BatchDeletePolicyResponseParams `json:"Response"` }
func NewBatchDeletePolicyResponse ¶
func NewBatchDeletePolicyResponse() (response *BatchDeletePolicyResponse)
func (*BatchDeletePolicyResponse) FromJsonString ¶
func (r *BatchDeletePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeletePolicyResponse) ToJsonString ¶
func (r *BatchDeletePolicyResponse) ToJsonString() string
type BatchDeletePolicyResponseParams ¶
type BatchDeletePolicyResponseParams struct { // 删除权限配置失败的远端设备ID列表 FailedRemoteDeviceIds []*string `json:"FailedRemoteDeviceIds,omitempty" name:"FailedRemoteDeviceIds"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BoundLicensesRequest ¶ added in v1.0.632
type BoundLicensesRequest struct { *tchttp.BaseRequest // license数量 Count *int64 `json:"Count,omitempty" name:"Count"` // 设备id DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewBoundLicensesRequest ¶ added in v1.0.632
func NewBoundLicensesRequest() (request *BoundLicensesRequest)
func (*BoundLicensesRequest) FromJsonString ¶ added in v1.0.632
func (r *BoundLicensesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BoundLicensesRequest) ToJsonString ¶ added in v1.0.632
func (r *BoundLicensesRequest) ToJsonString() string
type BoundLicensesRequestParams ¶ added in v1.0.632
type BoundLicensesRequestParams struct { // license数量 Count *int64 `json:"Count,omitempty" name:"Count"` // 设备id DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
Predefined struct for user
type BoundLicensesResponse ¶ added in v1.0.632
type BoundLicensesResponse struct { *tchttp.BaseResponse Response *BoundLicensesResponseParams `json:"Response"` }
func NewBoundLicensesResponse ¶ added in v1.0.632
func NewBoundLicensesResponse() (response *BoundLicensesResponse)
func (*BoundLicensesResponse) FromJsonString ¶ added in v1.0.632
func (r *BoundLicensesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BoundLicensesResponse) ToJsonString ¶ added in v1.0.632
func (r *BoundLicensesResponse) ToJsonString() string
type BoundLicensesResponseParams ¶ added in v1.0.632
type BoundLicensesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BatchDeleteDevices ¶
func (c *Client) BatchDeleteDevices(request *BatchDeleteDevicesRequest) (response *BatchDeleteDevicesResponse, err error)
BatchDeleteDevices 用于批量删除设备
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) BatchDeleteDevicesWithContext ¶
func (c *Client) BatchDeleteDevicesWithContext(ctx context.Context, request *BatchDeleteDevicesRequest) (response *BatchDeleteDevicesResponse, err error)
BatchDeleteDevices 用于批量删除设备
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) BatchDeletePolicy ¶
func (c *Client) BatchDeletePolicy(request *BatchDeletePolicyRequest) (response *BatchDeletePolicyResponse, err error)
BatchDeletePolicy 用于批量删除修改权限配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) BatchDeletePolicyWithContext ¶
func (c *Client) BatchDeletePolicyWithContext(ctx context.Context, request *BatchDeletePolicyRequest) (response *BatchDeletePolicyResponse, err error)
BatchDeletePolicy 用于批量删除修改权限配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) BoundLicenses ¶ added in v1.0.632
func (c *Client) BoundLicenses(request *BoundLicensesRequest) (response *BoundLicensesResponse, err error)
BoundLicenses 为推流设备绑定license,优先绑定到期时间最近的,到期时间相同优先绑定月包
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) BoundLicensesWithContext ¶ added in v1.0.632
func (c *Client) BoundLicensesWithContext(ctx context.Context, request *BoundLicensesRequest) (response *BoundLicensesResponse, err error)
BoundLicenses 为推流设备绑定license,优先绑定到期时间最近的,到期时间相同优先绑定月包
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateDevice ¶
func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
CreateDevice 用于创建设备
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateDeviceWithContext ¶
func (c *Client) CreateDeviceWithContext(ctx context.Context, request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
CreateDevice 用于创建设备
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateProject ¶
func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject 用于创建项目
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreateProjectWithContext ¶
func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject 用于创建项目
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
DeleteProject 用于删除项目
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteProjectWithContext ¶
func (c *Client) DeleteProjectWithContext(ctx context.Context, request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
DeleteProject 用于删除项目
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDeviceInfo ¶
func (c *Client) DescribeDeviceInfo(request *DescribeDeviceInfoRequest) (response *DescribeDeviceInfoResponse, err error)
DescribeDeviceInfo 用于获取指定设备信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDeviceInfoWithContext ¶
func (c *Client) DescribeDeviceInfoWithContext(ctx context.Context, request *DescribeDeviceInfoRequest) (response *DescribeDeviceInfoResponse, err error)
DescribeDeviceInfo 用于获取指定设备信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDeviceList ¶
func (c *Client) DescribeDeviceList(request *DescribeDeviceListRequest) (response *DescribeDeviceListResponse, err error)
DescribeDeviceList 用于获取设备信息列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDeviceListWithContext ¶
func (c *Client) DescribeDeviceListWithContext(ctx context.Context, request *DescribeDeviceListRequest) (response *DescribeDeviceListResponse, err error)
DescribeDeviceList 用于获取设备信息列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDeviceSessionDetails ¶
func (c *Client) DescribeDeviceSessionDetails(request *DescribeDeviceSessionDetailsRequest) (response *DescribeDeviceSessionDetailsResponse, err error)
DescribeDeviceSessionDetails 获取设备会话数据详单
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDeviceSessionDetailsWithContext ¶
func (c *Client) DescribeDeviceSessionDetailsWithContext(ctx context.Context, request *DescribeDeviceSessionDetailsRequest) (response *DescribeDeviceSessionDetailsResponse, err error)
DescribeDeviceSessionDetails 获取设备会话数据详单
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDeviceSessionList ¶
func (c *Client) DescribeDeviceSessionList(request *DescribeDeviceSessionListRequest) (response *DescribeDeviceSessionListResponse, err error)
DescribeDeviceSessionList 获取设备会话列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDeviceSessionListWithContext ¶
func (c *Client) DescribeDeviceSessionListWithContext(ctx context.Context, request *DescribeDeviceSessionListRequest) (response *DescribeDeviceSessionListResponse, err error)
DescribeDeviceSessionList 获取设备会话列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribePolicy ¶
func (c *Client) DescribePolicy(request *DescribePolicyRequest) (response *DescribePolicyResponse, err error)
DescribePolicy 用于查看权限配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribePolicyWithContext ¶
func (c *Client) DescribePolicyWithContext(ctx context.Context, request *DescribePolicyRequest) (response *DescribePolicyResponse, err error)
DescribePolicy 用于查看权限配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeProjectInfo ¶
func (c *Client) DescribeProjectInfo(request *DescribeProjectInfoRequest) (response *DescribeProjectInfoResponse, err error)
DescribeProjectInfo 用于获取项目信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeProjectInfoWithContext ¶
func (c *Client) DescribeProjectInfoWithContext(ctx context.Context, request *DescribeProjectInfoRequest) (response *DescribeProjectInfoResponse, err error)
DescribeProjectInfo 用于获取项目信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeProjectList ¶
func (c *Client) DescribeProjectList(request *DescribeProjectListRequest) (response *DescribeProjectListResponse, err error)
DescribeProjectList 用于获取项目列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeProjectListWithContext ¶
func (c *Client) DescribeProjectListWithContext(ctx context.Context, request *DescribeProjectListRequest) (response *DescribeProjectListResponse, err error)
DescribeProjectList 用于获取项目列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRecentSessionList ¶ added in v1.0.632
func (c *Client) DescribeRecentSessionList(request *DescribeRecentSessionListRequest) (response *DescribeRecentSessionListResponse, err error)
DescribeRecentSessionList 获取最新设备会话列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRecentSessionListWithContext ¶ added in v1.0.632
func (c *Client) DescribeRecentSessionListWithContext(ctx context.Context, request *DescribeRecentSessionListRequest) (response *DescribeRecentSessionListResponse, err error)
DescribeRecentSessionList 获取最新设备会话列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSessionStatistics ¶
func (c *Client) DescribeSessionStatistics(request *DescribeSessionStatisticsRequest) (response *DescribeSessionStatisticsResponse, err error)
DescribeSessionStatistics 获取会话统计值
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSessionStatisticsByInterval ¶
func (c *Client) DescribeSessionStatisticsByInterval(request *DescribeSessionStatisticsByIntervalRequest) (response *DescribeSessionStatisticsByIntervalResponse, err error)
DescribeSessionStatisticsByInterval 获取各时间段的会话统计值
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSessionStatisticsByIntervalWithContext ¶
func (c *Client) DescribeSessionStatisticsByIntervalWithContext(ctx context.Context, request *DescribeSessionStatisticsByIntervalRequest) (response *DescribeSessionStatisticsByIntervalResponse, err error)
DescribeSessionStatisticsByInterval 获取各时间段的会话统计值
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSessionStatisticsWithContext ¶
func (c *Client) DescribeSessionStatisticsWithContext(ctx context.Context, request *DescribeSessionStatisticsRequest) (response *DescribeSessionStatisticsResponse, err error)
DescribeSessionStatistics 获取会话统计值
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) GetDeviceLicense ¶ added in v1.0.632
func (c *Client) GetDeviceLicense(request *GetDeviceLicenseRequest) (response *GetDeviceLicenseResponse, err error)
GetDeviceLicense 获取设备已经绑定的可用授权数量
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) GetDeviceLicenseWithContext ¶ added in v1.0.632
func (c *Client) GetDeviceLicenseWithContext(ctx context.Context, request *GetDeviceLicenseRequest) (response *GetDeviceLicenseResponse, err error)
GetDeviceLicense 获取设备已经绑定的可用授权数量
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) GetDevices ¶ added in v1.0.632
func (c *Client) GetDevices(request *GetDevicesRequest) (response *GetDevicesResponse, err error)
GetDevices 查询用户设备的授权绑定情况
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetDevicesWithContext ¶ added in v1.0.632
func (c *Client) GetDevicesWithContext(ctx context.Context, request *GetDevicesRequest) (response *GetDevicesResponse, err error)
GetDevices 查询用户设备的授权绑定情况
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetLicenseStat ¶ added in v1.0.632
func (c *Client) GetLicenseStat(request *GetLicenseStatRequest) (response *GetLicenseStatResponse, err error)
GetLicenseStat 统计license类型数量
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) GetLicenseStatWithContext ¶ added in v1.0.632
func (c *Client) GetLicenseStatWithContext(ctx context.Context, request *GetLicenseStatRequest) (response *GetLicenseStatResponse, err error)
GetLicenseStat 统计license类型数量
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied"
func (*Client) GetLicenses ¶ added in v1.0.632
func (c *Client) GetLicenses(request *GetLicensesRequest) (response *GetLicensesResponse, err error)
GetLicenses 按授权查看license列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetLicensesWithContext ¶ added in v1.0.632
func (c *Client) GetLicensesWithContext(ctx context.Context, request *GetLicensesRequest) (response *GetLicensesResponse, err error)
GetLicenses 按授权查看license列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ModifyDevice ¶
func (c *Client) ModifyDevice(request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)
ModifyDevice 用于修改设备信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyDeviceWithContext ¶
func (c *Client) ModifyDeviceWithContext(ctx context.Context, request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)
ModifyDevice 用于修改设备信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyPolicy ¶
func (c *Client) ModifyPolicy(request *ModifyPolicyRequest) (response *ModifyPolicyResponse, err error)
ModifyPolicy 用于修改权限配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyPolicyWithContext ¶
func (c *Client) ModifyPolicyWithContext(ctx context.Context, request *ModifyPolicyRequest) (response *ModifyPolicyResponse, err error)
ModifyPolicy 用于修改权限配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyProject ¶
func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
ModifyProject 用于修改项目信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyProjectWithContext ¶
func (c *Client) ModifyProjectWithContext(ctx context.Context, request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
ModifyProject 用于修改项目信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied"
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { *tchttp.BaseRequest // 创建设备所归属的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 创建设备ID,项目内需要唯一,由小写英文字母、数字和下划线构成,长度不超过18 DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 创建设备名称,长度小于24, 可包含中文、数字、英文字母和下划线 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备类型,field为现场设备(受控设备),remote为远端设备(操控设备),不填默认为field DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 设备认证口令,由大小写英文字母和数字构成,须为16位 DeviceToken *string `json:"DeviceToken,omitempty" name:"DeviceToken"` }
func NewCreateDeviceRequest ¶
func NewCreateDeviceRequest() (request *CreateDeviceRequest)
func (*CreateDeviceRequest) FromJsonString ¶
func (r *CreateDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeviceRequest) ToJsonString ¶
func (r *CreateDeviceRequest) ToJsonString() string
type CreateDeviceRequestParams ¶
type CreateDeviceRequestParams struct { // 创建设备所归属的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 创建设备ID,项目内需要唯一,由小写英文字母、数字和下划线构成,长度不超过18 DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 创建设备名称,长度小于24, 可包含中文、数字、英文字母和下划线 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备类型,field为现场设备(受控设备),remote为远端设备(操控设备),不填默认为field DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 设备认证口令,由大小写英文字母和数字构成,须为16位 DeviceToken *string `json:"DeviceToken,omitempty" name:"DeviceToken"` }
Predefined struct for user
type CreateDeviceResponse ¶
type CreateDeviceResponse struct { *tchttp.BaseResponse Response *CreateDeviceResponseParams `json:"Response"` }
func NewCreateDeviceResponse ¶
func NewCreateDeviceResponse() (response *CreateDeviceResponse)
func (*CreateDeviceResponse) FromJsonString ¶
func (r *CreateDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeviceResponse) ToJsonString ¶
func (r *CreateDeviceResponse) ToJsonString() string
type CreateDeviceResponseParams ¶
type CreateDeviceResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProjectRequest ¶
type CreateProjectRequest struct { *tchttp.BaseRequest // 项目名称,长度不超过24个字符 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目描述,长度不超过120个字符,不填默认为空 ProjectDescription *string `json:"ProjectDescription,omitempty" name:"ProjectDescription"` // 权限模式,black为黑名单,white为白名单,不填默认为black PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` }
func NewCreateProjectRequest ¶
func NewCreateProjectRequest() (request *CreateProjectRequest)
func (*CreateProjectRequest) FromJsonString ¶
func (r *CreateProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProjectRequest) ToJsonString ¶
func (r *CreateProjectRequest) ToJsonString() string
type CreateProjectRequestParams ¶
type CreateProjectRequestParams struct { // 项目名称,长度不超过24个字符 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目描述,长度不超过120个字符,不填默认为空 ProjectDescription *string `json:"ProjectDescription,omitempty" name:"ProjectDescription"` // 权限模式,black为黑名单,white为白名单,不填默认为black PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` }
Predefined struct for user
type CreateProjectResponse ¶
type CreateProjectResponse struct { *tchttp.BaseResponse Response *CreateProjectResponseParams `json:"Response"` }
func NewCreateProjectResponse ¶
func NewCreateProjectResponse() (response *CreateProjectResponse)
func (*CreateProjectResponse) FromJsonString ¶
func (r *CreateProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProjectResponse) ToJsonString ¶
func (r *CreateProjectResponse) ToJsonString() string
type CreateProjectResponseParams ¶
type CreateProjectResponseParams struct { // 项目ID,长度为16位 ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewDeleteProjectRequest ¶
func NewDeleteProjectRequest() (request *DeleteProjectRequest)
func (*DeleteProjectRequest) FromJsonString ¶
func (r *DeleteProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProjectRequest) ToJsonString ¶
func (r *DeleteProjectRequest) ToJsonString() string
type DeleteProjectRequestParams ¶
type DeleteProjectRequestParams struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
Predefined struct for user
type DeleteProjectResponse ¶
type DeleteProjectResponse struct { *tchttp.BaseResponse Response *DeleteProjectResponseParams `json:"Response"` }
func NewDeleteProjectResponse ¶
func NewDeleteProjectResponse() (response *DeleteProjectResponse)
func (*DeleteProjectResponse) FromJsonString ¶
func (r *DeleteProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProjectResponse) ToJsonString ¶
func (r *DeleteProjectResponse) ToJsonString() string
type DeleteProjectResponseParams ¶
type DeleteProjectResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDeviceInfoRequest ¶
type DescribeDeviceInfoRequest struct { *tchttp.BaseRequest // 目标设备所属项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 目标设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
func NewDescribeDeviceInfoRequest ¶
func NewDescribeDeviceInfoRequest() (request *DescribeDeviceInfoRequest)
func (*DescribeDeviceInfoRequest) FromJsonString ¶
func (r *DescribeDeviceInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceInfoRequest) ToJsonString ¶
func (r *DescribeDeviceInfoRequest) ToJsonString() string
type DescribeDeviceInfoRequestParams ¶
type DescribeDeviceInfoRequestParams struct { // 目标设备所属项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 目标设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
Predefined struct for user
type DescribeDeviceInfoResponse ¶
type DescribeDeviceInfoResponse struct { *tchttp.BaseResponse Response *DescribeDeviceInfoResponseParams `json:"Response"` }
func NewDescribeDeviceInfoResponse ¶
func NewDescribeDeviceInfoResponse() (response *DescribeDeviceInfoResponse)
func (*DescribeDeviceInfoResponse) FromJsonString ¶
func (r *DescribeDeviceInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceInfoResponse) ToJsonString ¶
func (r *DescribeDeviceInfoResponse) ToJsonString() string
type DescribeDeviceInfoResponseParams ¶
type DescribeDeviceInfoResponseParams struct { // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备类型,field为现场设备(被控方),remote为远端设备(操控方) DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 设备状态,offline为离线,ready为在线准备,connected为会话中 DeviceStatus *string `json:"DeviceStatus,omitempty" name:"DeviceStatus"` // 设备状态最后更新时间 LastReportTime *string `json:"LastReportTime,omitempty" name:"LastReportTime"` // 设备信息最后修改时间 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDeviceListRequest ¶
type DescribeDeviceListRequest struct { *tchttp.BaseRequest // 设备所属项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 设备类型筛选,不填默认为全部设备类型 DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配 SearchWords *string `json:"SearchWords,omitempty" name:"SearchWords"` // 每页返回的最大设备数,不填默认为10 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 当前页码,不填默认为1(首页) PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` }
func NewDescribeDeviceListRequest ¶
func NewDescribeDeviceListRequest() (request *DescribeDeviceListRequest)
func (*DescribeDeviceListRequest) FromJsonString ¶
func (r *DescribeDeviceListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceListRequest) ToJsonString ¶
func (r *DescribeDeviceListRequest) ToJsonString() string
type DescribeDeviceListRequestParams ¶
type DescribeDeviceListRequestParams struct { // 设备所属项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 设备类型筛选,不填默认为全部设备类型 DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配 SearchWords *string `json:"SearchWords,omitempty" name:"SearchWords"` // 每页返回的最大设备数,不填默认为10 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 当前页码,不填默认为1(首页) PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` }
Predefined struct for user
type DescribeDeviceListResponse ¶
type DescribeDeviceListResponse struct { *tchttp.BaseResponse Response *DescribeDeviceListResponseParams `json:"Response"` }
func NewDescribeDeviceListResponse ¶
func NewDescribeDeviceListResponse() (response *DescribeDeviceListResponse)
func (*DescribeDeviceListResponse) FromJsonString ¶
func (r *DescribeDeviceListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceListResponse) ToJsonString ¶
func (r *DescribeDeviceListResponse) ToJsonString() string
type DescribeDeviceListResponseParams ¶
type DescribeDeviceListResponseParams struct { // 设备信息列表 Devices []*DeviceInfo `json:"Devices,omitempty" name:"Devices"` // 设备总数 Total *int64 `json:"Total,omitempty" name:"Total"` // 本次返回的设备数 Num *int64 `json:"Num,omitempty" name:"Num"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDeviceSessionDetailsRequest ¶
type DescribeDeviceSessionDetailsRequest struct { *tchttp.BaseRequest // 会话ID SessionId *string `json:"SessionId,omitempty" name:"SessionId"` }
func NewDescribeDeviceSessionDetailsRequest ¶
func NewDescribeDeviceSessionDetailsRequest() (request *DescribeDeviceSessionDetailsRequest)
func (*DescribeDeviceSessionDetailsRequest) FromJsonString ¶
func (r *DescribeDeviceSessionDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceSessionDetailsRequest) ToJsonString ¶
func (r *DescribeDeviceSessionDetailsRequest) ToJsonString() string
type DescribeDeviceSessionDetailsRequestParams ¶
type DescribeDeviceSessionDetailsRequestParams struct { // 会话ID SessionId *string `json:"SessionId,omitempty" name:"SessionId"` }
Predefined struct for user
type DescribeDeviceSessionDetailsResponse ¶
type DescribeDeviceSessionDetailsResponse struct { *tchttp.BaseResponse Response *DescribeDeviceSessionDetailsResponseParams `json:"Response"` }
func NewDescribeDeviceSessionDetailsResponse ¶
func NewDescribeDeviceSessionDetailsResponse() (response *DescribeDeviceSessionDetailsResponse)
func (*DescribeDeviceSessionDetailsResponse) FromJsonString ¶
func (r *DescribeDeviceSessionDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceSessionDetailsResponse) ToJsonString ¶
func (r *DescribeDeviceSessionDetailsResponse) ToJsonString() string
type DescribeDeviceSessionDetailsResponseParams ¶
type DescribeDeviceSessionDetailsResponseParams struct { // 按设备区分的会话详细数据 Details []*SessionDeviceDetail `json:"Details,omitempty" name:"Details"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDeviceSessionListRequest ¶
type DescribeDeviceSessionListRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 页码,从1开始 PageNumber *uint64 `json:"PageNumber,omitempty" name:"PageNumber"` // 每页个数 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 开始时间 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDeviceSessionListRequest ¶
func NewDescribeDeviceSessionListRequest() (request *DescribeDeviceSessionListRequest)
func (*DescribeDeviceSessionListRequest) FromJsonString ¶
func (r *DescribeDeviceSessionListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceSessionListRequest) ToJsonString ¶
func (r *DescribeDeviceSessionListRequest) ToJsonString() string
type DescribeDeviceSessionListRequestParams ¶
type DescribeDeviceSessionListRequestParams struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 页码,从1开始 PageNumber *uint64 `json:"PageNumber,omitempty" name:"PageNumber"` // 每页个数 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 开始时间 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeDeviceSessionListResponse ¶
type DescribeDeviceSessionListResponse struct { *tchttp.BaseResponse Response *DescribeDeviceSessionListResponseParams `json:"Response"` }
func NewDescribeDeviceSessionListResponse ¶
func NewDescribeDeviceSessionListResponse() (response *DescribeDeviceSessionListResponse)
func (*DescribeDeviceSessionListResponse) FromJsonString ¶
func (r *DescribeDeviceSessionListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceSessionListResponse) ToJsonString ¶
func (r *DescribeDeviceSessionListResponse) ToJsonString() string
type DescribeDeviceSessionListResponseParams ¶
type DescribeDeviceSessionListResponseParams struct { // 总个数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 会话列表 DeviceSessionList []*SessionInfo `json:"DeviceSessionList,omitempty" name:"DeviceSessionList"` // 本页数量 Num *uint64 `json:"Num,omitempty" name:"Num"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePolicyRequest ¶
type DescribePolicyRequest struct { *tchttp.BaseRequest // 查看权限的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` // 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch SearchMode *string `json:"SearchMode,omitempty" name:"SearchMode"` // 模糊匹配关键字,不填默认不进行模糊匹配 SearchWords *string `json:"SearchWords,omitempty" name:"SearchWords"` // 每页返回的最大数量,不填默认为10 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 当前页码,不填默认为1(首页) PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` }
func NewDescribePolicyRequest ¶
func NewDescribePolicyRequest() (request *DescribePolicyRequest)
func (*DescribePolicyRequest) FromJsonString ¶
func (r *DescribePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyRequest) ToJsonString ¶
func (r *DescribePolicyRequest) ToJsonString() string
type DescribePolicyRequestParams ¶
type DescribePolicyRequestParams struct { // 查看权限的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` // 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch SearchMode *string `json:"SearchMode,omitempty" name:"SearchMode"` // 模糊匹配关键字,不填默认不进行模糊匹配 SearchWords *string `json:"SearchWords,omitempty" name:"SearchWords"` // 每页返回的最大数量,不填默认为10 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 当前页码,不填默认为1(首页) PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` }
Predefined struct for user
type DescribePolicyResponse ¶
type DescribePolicyResponse struct { *tchttp.BaseResponse Response *DescribePolicyResponseParams `json:"Response"` }
func NewDescribePolicyResponse ¶
func NewDescribePolicyResponse() (response *DescribePolicyResponse)
func (*DescribePolicyResponse) FromJsonString ¶
func (r *DescribePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyResponse) ToJsonString ¶
func (r *DescribePolicyResponse) ToJsonString() string
type DescribePolicyResponseParams ¶
type DescribePolicyResponseParams struct { // 权限模式 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` // 返回的权限模式是否为当前生效的权限模式 PolicyEnabled *bool `json:"PolicyEnabled,omitempty" name:"PolicyEnabled"` // 权限信息列表 PolicyInfo []*PolicyInfo `json:"PolicyInfo,omitempty" name:"PolicyInfo"` // 本次返回的权限信息数量 Num *int64 `json:"Num,omitempty" name:"Num"` // 权限信息总数 Total *int64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectInfoRequest ¶
type DescribeProjectInfoRequest struct { *tchttp.BaseRequest // 目标项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewDescribeProjectInfoRequest ¶
func NewDescribeProjectInfoRequest() (request *DescribeProjectInfoRequest)
func (*DescribeProjectInfoRequest) FromJsonString ¶
func (r *DescribeProjectInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectInfoRequest) ToJsonString ¶
func (r *DescribeProjectInfoRequest) ToJsonString() string
type DescribeProjectInfoRequestParams ¶
type DescribeProjectInfoRequestParams struct { // 目标项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeProjectInfoResponse ¶
type DescribeProjectInfoResponse struct { *tchttp.BaseResponse Response *DescribeProjectInfoResponseParams `json:"Response"` }
func NewDescribeProjectInfoResponse ¶
func NewDescribeProjectInfoResponse() (response *DescribeProjectInfoResponse)
func (*DescribeProjectInfoResponse) FromJsonString ¶
func (r *DescribeProjectInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectInfoResponse) ToJsonString ¶
func (r *DescribeProjectInfoResponse) ToJsonString() string
type DescribeProjectInfoResponseParams ¶
type DescribeProjectInfoResponseParams struct { // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目描述 ProjectDescription *string `json:"ProjectDescription,omitempty" name:"ProjectDescription"` // 项目权限模式,black为黑名单,white为白名单 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` // 项目信息修改时间 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectListRequest ¶
type DescribeProjectListRequest struct { *tchttp.BaseRequest // 每页返回的最大项目数量,不填默认为10 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 当前页码,不填默认为1(首页) PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` }
func NewDescribeProjectListRequest ¶
func NewDescribeProjectListRequest() (request *DescribeProjectListRequest)
func (*DescribeProjectListRequest) FromJsonString ¶
func (r *DescribeProjectListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectListRequest) ToJsonString ¶
func (r *DescribeProjectListRequest) ToJsonString() string
type DescribeProjectListRequestParams ¶
type DescribeProjectListRequestParams struct { // 每页返回的最大项目数量,不填默认为10 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 当前页码,不填默认为1(首页) PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` }
Predefined struct for user
type DescribeProjectListResponse ¶
type DescribeProjectListResponse struct { *tchttp.BaseResponse Response *DescribeProjectListResponseParams `json:"Response"` }
func NewDescribeProjectListResponse ¶
func NewDescribeProjectListResponse() (response *DescribeProjectListResponse)
func (*DescribeProjectListResponse) FromJsonString ¶
func (r *DescribeProjectListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectListResponse) ToJsonString ¶
func (r *DescribeProjectListResponse) ToJsonString() string
type DescribeProjectListResponseParams ¶
type DescribeProjectListResponseParams struct { // 项目信息数组 Projects []*ProjectInfo `json:"Projects,omitempty" name:"Projects"` // 项目总数 Total *int64 `json:"Total,omitempty" name:"Total"` // 本次返回的项目数 Num *int64 `json:"Num,omitempty" name:"Num"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRecentSessionListRequest ¶ added in v1.0.632
type DescribeRecentSessionListRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 页码,从1开始 PageNumber *uint64 `json:"PageNumber,omitempty" name:"PageNumber"` // 每页个数 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 设备ID,支持过滤远端设备或现场设备 DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeRecentSessionListRequest ¶ added in v1.0.632
func NewDescribeRecentSessionListRequest() (request *DescribeRecentSessionListRequest)
func (*DescribeRecentSessionListRequest) FromJsonString ¶ added in v1.0.632
func (r *DescribeRecentSessionListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecentSessionListRequest) ToJsonString ¶ added in v1.0.632
func (r *DescribeRecentSessionListRequest) ToJsonString() string
type DescribeRecentSessionListRequestParams ¶ added in v1.0.632
type DescribeRecentSessionListRequestParams struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 页码,从1开始 PageNumber *uint64 `json:"PageNumber,omitempty" name:"PageNumber"` // 每页个数 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 设备ID,支持过滤远端设备或现场设备 DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeRecentSessionListResponse ¶ added in v1.0.632
type DescribeRecentSessionListResponse struct { *tchttp.BaseResponse Response *DescribeRecentSessionListResponseParams `json:"Response"` }
func NewDescribeRecentSessionListResponse ¶ added in v1.0.632
func NewDescribeRecentSessionListResponse() (response *DescribeRecentSessionListResponse)
func (*DescribeRecentSessionListResponse) FromJsonString ¶ added in v1.0.632
func (r *DescribeRecentSessionListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecentSessionListResponse) ToJsonString ¶ added in v1.0.632
func (r *DescribeRecentSessionListResponse) ToJsonString() string
type DescribeRecentSessionListResponseParams ¶ added in v1.0.632
type DescribeRecentSessionListResponseParams struct { // 总个数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 会话列表 RecentSessionList []*RecentSessionInfo `json:"RecentSessionList,omitempty" name:"RecentSessionList"` // 本页数量 Num *uint64 `json:"Num,omitempty" name:"Num"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSessionStatisticsByIntervalRequest ¶
type DescribeSessionStatisticsByIntervalRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 统计时间间隔:hour|day|month StatisticInterval *string `json:"StatisticInterval,omitempty" name:"StatisticInterval"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 起始时间,单位:秒 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,单位:秒 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeSessionStatisticsByIntervalRequest ¶
func NewDescribeSessionStatisticsByIntervalRequest() (request *DescribeSessionStatisticsByIntervalRequest)
func (*DescribeSessionStatisticsByIntervalRequest) FromJsonString ¶
func (r *DescribeSessionStatisticsByIntervalRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSessionStatisticsByIntervalRequest) ToJsonString ¶
func (r *DescribeSessionStatisticsByIntervalRequest) ToJsonString() string
type DescribeSessionStatisticsByIntervalRequestParams ¶
type DescribeSessionStatisticsByIntervalRequestParams struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 统计时间间隔:hour|day|month StatisticInterval *string `json:"StatisticInterval,omitempty" name:"StatisticInterval"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 起始时间,单位:秒 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,单位:秒 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeSessionStatisticsByIntervalResponse ¶
type DescribeSessionStatisticsByIntervalResponse struct { *tchttp.BaseResponse Response *DescribeSessionStatisticsByIntervalResponseParams `json:"Response"` }
func NewDescribeSessionStatisticsByIntervalResponse ¶
func NewDescribeSessionStatisticsByIntervalResponse() (response *DescribeSessionStatisticsByIntervalResponse)
func (*DescribeSessionStatisticsByIntervalResponse) FromJsonString ¶
func (r *DescribeSessionStatisticsByIntervalResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSessionStatisticsByIntervalResponse) ToJsonString ¶
func (r *DescribeSessionStatisticsByIntervalResponse) ToJsonString() string
type DescribeSessionStatisticsByIntervalResponseParams ¶
type DescribeSessionStatisticsByIntervalResponseParams struct { // 各时间段的会话统计数据 SessionStatistics []*SessionIntervalStatistic `json:"SessionStatistics,omitempty" name:"SessionStatistics"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSessionStatisticsRequest ¶
type DescribeSessionStatisticsRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 起始时间,单位:秒 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,单位:秒 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeSessionStatisticsRequest ¶
func NewDescribeSessionStatisticsRequest() (request *DescribeSessionStatisticsRequest)
func (*DescribeSessionStatisticsRequest) FromJsonString ¶
func (r *DescribeSessionStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSessionStatisticsRequest) ToJsonString ¶
func (r *DescribeSessionStatisticsRequest) ToJsonString() string
type DescribeSessionStatisticsRequestParams ¶
type DescribeSessionStatisticsRequestParams struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 起始时间,单位:秒 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间,单位:秒 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeSessionStatisticsResponse ¶
type DescribeSessionStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeSessionStatisticsResponseParams `json:"Response"` }
func NewDescribeSessionStatisticsResponse ¶
func NewDescribeSessionStatisticsResponse() (response *DescribeSessionStatisticsResponse)
func (*DescribeSessionStatisticsResponse) FromJsonString ¶
func (r *DescribeSessionStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSessionStatisticsResponse) ToJsonString ¶
func (r *DescribeSessionStatisticsResponse) ToJsonString() string
type DescribeSessionStatisticsResponseParams ¶
type DescribeSessionStatisticsResponseParams struct { // 会话数量 SessionNum *uint64 `json:"SessionNum,omitempty" name:"SessionNum"` // 通话时长,单位:分钟 TotalDuration *uint64 `json:"TotalDuration,omitempty" name:"TotalDuration"` // 活跃现场设备数 ActiveFieldDeviceNum *uint64 `json:"ActiveFieldDeviceNum,omitempty" name:"ActiveFieldDeviceNum"` // 活跃远端设备数 ActiveRemoteDeviceNum *uint64 `json:"ActiveRemoteDeviceNum,omitempty" name:"ActiveRemoteDeviceNum"` // 优良会话占比,单位:% NotBadSessionRatio *uint64 `json:"NotBadSessionRatio,omitempty" name:"NotBadSessionRatio"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Device ¶ added in v1.0.632
type Device struct { // 设备ID // 注意:此字段可能返回 null,表示取不到有效值。 DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 设备名称 // 注意:此字段可能返回 null,表示取不到有效值。 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 已经绑定license数量 // 注意:此字段可能返回 null,表示取不到有效值。 LicenseCount *int64 `json:"LicenseCount,omitempty" name:"LicenseCount"` // 剩余天数:天 // 注意:此字段可能返回 null,表示取不到有效值。 RemainDay *int64 `json:"RemainDay,omitempty" name:"RemainDay"` // 过期时间:s // 注意:此字段可能返回 null,表示取不到有效值。 ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // 服务时长:s // 注意:此字段可能返回 null,表示取不到有效值。 Duration *string `json:"Duration,omitempty" name:"Duration"` // 已经绑定licenseId列表 // 注意:此字段可能返回 null,表示取不到有效值。 LicenseIds []*string `json:"LicenseIds,omitempty" name:"LicenseIds"` }
type DeviceInfo ¶
type DeviceInfo struct { // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备状态,offline为离线,ready为在线准备,connected为会话中 DeviceStatus *string `json:"DeviceStatus,omitempty" name:"DeviceStatus"` // 设备类型,field为现场设备(受控方),remote为远端设备(操控方) DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 设备信息最近修改时间 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` // 设备状态最近更新时间 LastReportTime *string `json:"LastReportTime,omitempty" name:"LastReportTime"` // 设备所属项目Id ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
type GetDeviceLicenseRequest ¶ added in v1.0.632
type GetDeviceLicenseRequest struct { *tchttp.BaseRequest // 目标设备所属项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 目标设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
func NewGetDeviceLicenseRequest ¶ added in v1.0.632
func NewGetDeviceLicenseRequest() (request *GetDeviceLicenseRequest)
func (*GetDeviceLicenseRequest) FromJsonString ¶ added in v1.0.632
func (r *GetDeviceLicenseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetDeviceLicenseRequest) ToJsonString ¶ added in v1.0.632
func (r *GetDeviceLicenseRequest) ToJsonString() string
type GetDeviceLicenseRequestParams ¶ added in v1.0.632
type GetDeviceLicenseRequestParams struct { // 目标设备所属项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 目标设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
Predefined struct for user
type GetDeviceLicenseResponse ¶ added in v1.0.632
type GetDeviceLicenseResponse struct { *tchttp.BaseResponse Response *GetDeviceLicenseResponseParams `json:"Response"` }
func NewGetDeviceLicenseResponse ¶ added in v1.0.632
func NewGetDeviceLicenseResponse() (response *GetDeviceLicenseResponse)
func (*GetDeviceLicenseResponse) FromJsonString ¶ added in v1.0.632
func (r *GetDeviceLicenseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetDeviceLicenseResponse) ToJsonString ¶ added in v1.0.632
func (r *GetDeviceLicenseResponse) ToJsonString() string
type GetDeviceLicenseResponseParams ¶ added in v1.0.632
type GetDeviceLicenseResponseParams struct { // 指定设备已经绑定的可用license数量 AvailableCount *int64 `json:"AvailableCount,omitempty" name:"AvailableCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type GetDevicesRequest ¶ added in v1.0.632
type GetDevicesRequest struct { *tchttp.BaseRequest // 页码 PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // 页面数量 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 项目 ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
func NewGetDevicesRequest ¶ added in v1.0.632
func NewGetDevicesRequest() (request *GetDevicesRequest)
func (*GetDevicesRequest) FromJsonString ¶ added in v1.0.632
func (r *GetDevicesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetDevicesRequest) ToJsonString ¶ added in v1.0.632
func (r *GetDevicesRequest) ToJsonString() string
type GetDevicesRequestParams ¶ added in v1.0.632
type GetDevicesRequestParams struct { // 页码 PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // 页面数量 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 项目 ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
Predefined struct for user
type GetDevicesResponse ¶ added in v1.0.632
type GetDevicesResponse struct { *tchttp.BaseResponse Response *GetDevicesResponseParams `json:"Response"` }
func NewGetDevicesResponse ¶ added in v1.0.632
func NewGetDevicesResponse() (response *GetDevicesResponse)
func (*GetDevicesResponse) FromJsonString ¶ added in v1.0.632
func (r *GetDevicesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetDevicesResponse) ToJsonString ¶ added in v1.0.632
func (r *GetDevicesResponse) ToJsonString() string
type GetDevicesResponseParams ¶ added in v1.0.632
type GetDevicesResponseParams struct { // 设备授权列表 Devices []*Device `json:"Devices,omitempty" name:"Devices"` // 列表数量 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type GetLicenseStatRequest ¶ added in v1.0.632
type GetLicenseStatRequest struct {
*tchttp.BaseRequest
}
func NewGetLicenseStatRequest ¶ added in v1.0.632
func NewGetLicenseStatRequest() (request *GetLicenseStatRequest)
func (*GetLicenseStatRequest) FromJsonString ¶ added in v1.0.632
func (r *GetLicenseStatRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetLicenseStatRequest) ToJsonString ¶ added in v1.0.632
func (r *GetLicenseStatRequest) ToJsonString() string
type GetLicenseStatRequestParams ¶ added in v1.0.632
type GetLicenseStatRequestParams struct { }
Predefined struct for user
type GetLicenseStatResponse ¶ added in v1.0.632
type GetLicenseStatResponse struct { *tchttp.BaseResponse Response *GetLicenseStatResponseParams `json:"Response"` }
func NewGetLicenseStatResponse ¶ added in v1.0.632
func NewGetLicenseStatResponse() (response *GetLicenseStatResponse)
func (*GetLicenseStatResponse) FromJsonString ¶ added in v1.0.632
func (r *GetLicenseStatResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetLicenseStatResponse) ToJsonString ¶ added in v1.0.632
func (r *GetLicenseStatResponse) ToJsonString() string
type GetLicenseStatResponseParams ¶ added in v1.0.632
type GetLicenseStatResponseParams struct { // 有效授权 Valid *int64 `json:"Valid,omitempty" name:"Valid"` // 已绑定授权 Bound *int64 `json:"Bound,omitempty" name:"Bound"` // 未绑定授权 UnBound *int64 `json:"UnBound,omitempty" name:"UnBound"` // 过期授权 Expire *int64 `json:"Expire,omitempty" name:"Expire"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type GetLicensesRequest ¶ added in v1.0.632
type GetLicensesRequest struct { *tchttp.BaseRequest // 页码 PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // 页面数量 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // projectId ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // DeviceId DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
func NewGetLicensesRequest ¶ added in v1.0.632
func NewGetLicensesRequest() (request *GetLicensesRequest)
func (*GetLicensesRequest) FromJsonString ¶ added in v1.0.632
func (r *GetLicensesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetLicensesRequest) ToJsonString ¶ added in v1.0.632
func (r *GetLicensesRequest) ToJsonString() string
type GetLicensesRequestParams ¶ added in v1.0.632
type GetLicensesRequestParams struct { // 页码 PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"` // 页面数量 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // projectId ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // DeviceId DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
Predefined struct for user
type GetLicensesResponse ¶ added in v1.0.632
type GetLicensesResponse struct { *tchttp.BaseResponse Response *GetLicensesResponseParams `json:"Response"` }
func NewGetLicensesResponse ¶ added in v1.0.632
func NewGetLicensesResponse() (response *GetLicensesResponse)
func (*GetLicensesResponse) FromJsonString ¶ added in v1.0.632
func (r *GetLicensesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetLicensesResponse) ToJsonString ¶ added in v1.0.632
func (r *GetLicensesResponse) ToJsonString() string
type GetLicensesResponseParams ¶ added in v1.0.632
type GetLicensesResponseParams struct { // license列表 Licenses []*License `json:"Licenses,omitempty" name:"Licenses"` // license列表项数量 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type License ¶ added in v1.0.632
type License struct { // 该类型的license个数 // 注意:此字段可能返回 null,表示取不到有效值。 Count *int64 `json:"Count,omitempty" name:"Count"` // license状态:0:未绑定;1:已绑定;2:已停服;3:已退费 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` // 到期时间戳:s // 注意:此字段可能返回 null,表示取不到有效值。 ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // 服务时长:s // 注意:此字段可能返回 null,表示取不到有效值。 Duration *string `json:"Duration,omitempty" name:"Duration"` // 剩余天数:天 // 注意:此字段可能返回 null,表示取不到有效值。 RemainDay *int64 `json:"RemainDay,omitempty" name:"RemainDay"` // 该类型的licenseId列表 // 注意:此字段可能返回 null,表示取不到有效值。 LicenseIds []*string `json:"LicenseIds,omitempty" name:"LicenseIds"` }
type ModifyDeviceRequest ¶
type ModifyDeviceRequest struct { *tchttp.BaseRequest // 要修改设备归属项目的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 要修改设备的设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 修改后的设备名称,不填则不修改 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 修改后的设备认证口令,不填则不修改 DeviceToken *string `json:"DeviceToken,omitempty" name:"DeviceToken"` }
func NewModifyDeviceRequest ¶
func NewModifyDeviceRequest() (request *ModifyDeviceRequest)
func (*ModifyDeviceRequest) FromJsonString ¶
func (r *ModifyDeviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDeviceRequest) ToJsonString ¶
func (r *ModifyDeviceRequest) ToJsonString() string
type ModifyDeviceRequestParams ¶
type ModifyDeviceRequestParams struct { // 要修改设备归属项目的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 要修改设备的设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // 修改后的设备名称,不填则不修改 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 修改后的设备认证口令,不填则不修改 DeviceToken *string `json:"DeviceToken,omitempty" name:"DeviceToken"` }
Predefined struct for user
type ModifyDeviceResponse ¶
type ModifyDeviceResponse struct { *tchttp.BaseResponse Response *ModifyDeviceResponseParams `json:"Response"` }
func NewModifyDeviceResponse ¶
func NewModifyDeviceResponse() (response *ModifyDeviceResponse)
func (*ModifyDeviceResponse) FromJsonString ¶
func (r *ModifyDeviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDeviceResponse) ToJsonString ¶
func (r *ModifyDeviceResponse) ToJsonString() string
type ModifyDeviceResponseParams ¶
type ModifyDeviceResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPolicyRequest ¶
type ModifyPolicyRequest struct { *tchttp.BaseRequest // 修改权限配置的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 修改权限配置的远端设备ID RemoteDeviceId *string `json:"RemoteDeviceId,omitempty" name:"RemoteDeviceId"` // 权限修改涉及的现场设备ID数组 FieldDeviceIds []*string `json:"FieldDeviceIds,omitempty" name:"FieldDeviceIds"` // 修改的目标权限模式,black为黑名单,white为白名单 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` // 修改模式,add为新增(添加现场设备I关联),remove为删除(解除现场设备关联),set为设置(更新现场设备关联) ModifyMode *string `json:"ModifyMode,omitempty" name:"ModifyMode"` }
func NewModifyPolicyRequest ¶
func NewModifyPolicyRequest() (request *ModifyPolicyRequest)
func (*ModifyPolicyRequest) FromJsonString ¶
func (r *ModifyPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPolicyRequest) ToJsonString ¶
func (r *ModifyPolicyRequest) ToJsonString() string
type ModifyPolicyRequestParams ¶
type ModifyPolicyRequestParams struct { // 修改权限配置的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 修改权限配置的远端设备ID RemoteDeviceId *string `json:"RemoteDeviceId,omitempty" name:"RemoteDeviceId"` // 权限修改涉及的现场设备ID数组 FieldDeviceIds []*string `json:"FieldDeviceIds,omitempty" name:"FieldDeviceIds"` // 修改的目标权限模式,black为黑名单,white为白名单 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` // 修改模式,add为新增(添加现场设备I关联),remove为删除(解除现场设备关联),set为设置(更新现场设备关联) ModifyMode *string `json:"ModifyMode,omitempty" name:"ModifyMode"` }
Predefined struct for user
type ModifyPolicyResponse ¶
type ModifyPolicyResponse struct { *tchttp.BaseResponse Response *ModifyPolicyResponseParams `json:"Response"` }
func NewModifyPolicyResponse ¶
func NewModifyPolicyResponse() (response *ModifyPolicyResponse)
func (*ModifyPolicyResponse) FromJsonString ¶
func (r *ModifyPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPolicyResponse) ToJsonString ¶
func (r *ModifyPolicyResponse) ToJsonString() string
type ModifyPolicyResponseParams ¶
type ModifyPolicyResponseParams struct { // 添加关联失败的现场设备ID列表 // 注意:此字段可能返回 null,表示取不到有效值。 FailedInsertIds []*string `json:"FailedInsertIds,omitempty" name:"FailedInsertIds"` // 解除关联失败的现场设备ID列表 // 注意:此字段可能返回 null,表示取不到有效值。 FailedDeleteIds []*string `json:"FailedDeleteIds,omitempty" name:"FailedDeleteIds"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyProjectRequest ¶
type ModifyProjectRequest struct { *tchttp.BaseRequest // 目标修改项目的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 修改后的项目名称,不填则不修改 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 修改后的项目描述,不填则不修改 ProjectDescription *string `json:"ProjectDescription,omitempty" name:"ProjectDescription"` // 修改后的权限模式,black为黑名单,white为白名单,不填则不修改 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` }
func NewModifyProjectRequest ¶
func NewModifyProjectRequest() (request *ModifyProjectRequest)
func (*ModifyProjectRequest) FromJsonString ¶
func (r *ModifyProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProjectRequest) ToJsonString ¶
func (r *ModifyProjectRequest) ToJsonString() string
type ModifyProjectRequestParams ¶
type ModifyProjectRequestParams struct { // 目标修改项目的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 修改后的项目名称,不填则不修改 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 修改后的项目描述,不填则不修改 ProjectDescription *string `json:"ProjectDescription,omitempty" name:"ProjectDescription"` // 修改后的权限模式,black为黑名单,white为白名单,不填则不修改 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` }
Predefined struct for user
type ModifyProjectResponse ¶
type ModifyProjectResponse struct { *tchttp.BaseResponse Response *ModifyProjectResponseParams `json:"Response"` }
func NewModifyProjectResponse ¶
func NewModifyProjectResponse() (response *ModifyProjectResponse)
func (*ModifyProjectResponse) FromJsonString ¶
func (r *ModifyProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProjectResponse) ToJsonString ¶
func (r *ModifyProjectResponse) ToJsonString() string
type ModifyProjectResponseParams ¶
type ModifyProjectResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type PolicyInfo ¶
type ProjectInfo ¶
type ProjectInfo struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目描述 ProjectDescription *string `json:"ProjectDescription,omitempty" name:"ProjectDescription"` // 项目权限模式,black为黑名单,white为白名单 PolicyMode *string `json:"PolicyMode,omitempty" name:"PolicyMode"` // 项目信息修改时间 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type RecentSessionInfo ¶ added in v1.0.632
type RecentSessionInfo struct { // 会话ID SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // 远端设备ID RemoteDeviceId *string `json:"RemoteDeviceId,omitempty" name:"RemoteDeviceId"` // 现场设备ID FieldDeviceId *string `json:"FieldDeviceId,omitempty" name:"FieldDeviceId"` // 分辨率 Resolution *string `json:"Resolution,omitempty" name:"Resolution"` // 会话开始时间 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 最后更新时间 LatestUpdateTime *uint64 `json:"LatestUpdateTime,omitempty" name:"LatestUpdateTime"` }
type SessionDeviceDetail ¶
type SessionDeviceDetail struct { // 设备类型:field或remote DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 起始点位时间,单位:秒 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 结束点位时间,单位:秒 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // 会话ID SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // 码率,单位:kbps Rate []*int64 `json:"Rate,omitempty" name:"Rate"` // 帧率 Fps []*int64 `json:"Fps,omitempty" name:"Fps"` // 丢包率,单位:% Lost []*float64 `json:"Lost,omitempty" name:"Lost"` // 网络时延,单位:ms NetworkLatency []*int64 `json:"NetworkLatency,omitempty" name:"NetworkLatency"` // 视频时延,单位:ms VideoLatency []*int64 `json:"VideoLatency,omitempty" name:"VideoLatency"` // CPU使用率,单位:% CpuUsed []*float64 `json:"CpuUsed,omitempty" name:"CpuUsed"` // 内存使用率,单位:% MemUsed []*float64 `json:"MemUsed,omitempty" name:"MemUsed"` // 时间偏移量,单位:秒 TimeOffset []*uint64 `json:"TimeOffset,omitempty" name:"TimeOffset"` // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 设备ID DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` // sdk版本 // 注意:此字段可能返回 null,表示取不到有效值。 Ver *string `json:"Ver,omitempty" name:"Ver"` // 模式(p2p/server) // 注意:此字段可能返回 null,表示取不到有效值。 SdkMode *string `json:"SdkMode,omitempty" name:"SdkMode"` // 解码耗时,单位:ms // 注意:此字段可能返回 null,表示取不到有效值。 DecodeCost []*int64 `json:"DecodeCost,omitempty" name:"DecodeCost"` // 渲染耗时,单位:ms // 注意:此字段可能返回 null,表示取不到有效值。 RenderConst []*int64 `json:"RenderConst,omitempty" name:"RenderConst"` // 卡顿k100 // 注意:此字段可能返回 null,表示取不到有效值。 K100 []*float64 `json:"K100,omitempty" name:"K100"` // 卡顿k150 // 注意:此字段可能返回 null,表示取不到有效值。 K150 []*float64 `json:"K150,omitempty" name:"K150"` // nack请求数 // 注意:此字段可能返回 null,表示取不到有效值。 NACK []*int64 `json:"NACK,omitempty" name:"NACK"` // 服务端调控码率,单位:kbps // 注意:此字段可能返回 null,表示取不到有效值。 BitRateEstimate []*int64 `json:"BitRateEstimate,omitempty" name:"BitRateEstimate"` // 宽度 // 注意:此字段可能返回 null,表示取不到有效值。 Width *int64 `json:"Width,omitempty" name:"Width"` // 高度 // 注意:此字段可能返回 null,表示取不到有效值。 Height *int64 `json:"Height,omitempty" name:"Height"` // 编码耗时,单位:ms // 注意:此字段可能返回 null,表示取不到有效值。 EncodeCost []*int64 `json:"EncodeCost,omitempty" name:"EncodeCost"` // 采集耗时,单位:ms // 注意:此字段可能返回 null,表示取不到有效值。 CaptureCost []*int64 `json:"CaptureCost,omitempty" name:"CaptureCost"` }
type SessionInfo ¶
type SessionInfo struct { // 会话ID SessionId *string `json:"SessionId,omitempty" name:"SessionId"` // 远端设备ID RemoteDeviceId *string `json:"RemoteDeviceId,omitempty" name:"RemoteDeviceId"` // 现场设备ID FieldDeviceId *string `json:"FieldDeviceId,omitempty" name:"FieldDeviceId"` // 分辨率 Resolution *string `json:"Resolution,omitempty" name:"Resolution"` // 会话开始时间 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 会话结束时间 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // 通话质量:good|normal|bad,对应优良差 Quality *string `json:"Quality,omitempty" name:"Quality"` }
type SessionIntervalStatistic ¶
type SessionIntervalStatistic struct { // 活跃现场设备数 ActiveFieldDeviceNum *uint64 `json:"ActiveFieldDeviceNum,omitempty" name:"ActiveFieldDeviceNum"` // 活跃远端设备数 ActiveRemoteDeviceNum *uint64 `json:"ActiveRemoteDeviceNum,omitempty" name:"ActiveRemoteDeviceNum"` // 会话数量 SessionNum *uint64 `json:"SessionNum,omitempty" name:"SessionNum"` // 会话时长,单位:分钟 TotalDuration *uint64 `json:"TotalDuration,omitempty" name:"TotalDuration"` // 时间戳,单位:秒 StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // 时间戳,单位:秒 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // 优良会话占比,单位:% NotBadSessionRatio *uint64 `json:"NotBadSessionRatio,omitempty" name:"NotBadSessionRatio"` }