lib/v20220325/models.rb in tencentcloud-sdk-trro-3.0.590 vs lib/v20220325/models.rb in tencentcloud-sdk-trro-3.0.591

- old
+ new

@@ -23,11 +23,11 @@ # @type ProjectId: String # @param DeviceIds: 目标删除设备的设备ID数组 # @type DeviceIds: Array attr_accessor :ProjectId, :DeviceIds - + def initialize(projectid=nil, deviceids=nil) @ProjectId = projectid @DeviceIds = deviceids end @@ -44,11 +44,11 @@ # @type FailedDeviceIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FailedDeviceIds, :RequestId - + def initialize(faileddeviceids=nil, requestid=nil) @FailedDeviceIds = faileddeviceids @RequestId = requestid end @@ -66,11 +66,11 @@ # @type RemoteDeviceIds: Array # @param PolicyMode: 删除权限配置的权限模式, black为黑名单,white为白名单 # @type PolicyMode: String attr_accessor :ProjectId, :RemoteDeviceIds, :PolicyMode - + def initialize(projectid=nil, remotedeviceids=nil, policymode=nil) @ProjectId = projectid @RemoteDeviceIds = remotedeviceids @PolicyMode = policymode end @@ -88,11 +88,11 @@ # @type FailedRemoteDeviceIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FailedRemoteDeviceIds, :RequestId - + def initialize(failedremotedeviceids=nil, requestid=nil) @FailedRemoteDeviceIds = failedremotedeviceids @RequestId = requestid end @@ -110,11 +110,11 @@ # @type DeviceId: String # @param ProjectId: 项目ID # @type ProjectId: String attr_accessor :Count, :DeviceId, :ProjectId - + def initialize(count=nil, deviceid=nil, projectid=nil) @Count = count @DeviceId = deviceid @ProjectId = projectid end @@ -130,11 +130,11 @@ class BoundLicensesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -154,11 +154,11 @@ # @type DeviceType: String # @param DeviceToken: 设备认证口令,由大小写英文字母和数字构成,须为16位 # @type DeviceToken: String attr_accessor :ProjectId, :DeviceId, :DeviceName, :DeviceType, :DeviceToken - + def initialize(projectid=nil, deviceid=nil, devicename=nil, devicetype=nil, devicetoken=nil) @ProjectId = projectid @DeviceId = deviceid @DeviceName = devicename @DeviceType = devicetype @@ -178,11 +178,11 @@ class CreateDeviceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -198,11 +198,11 @@ # @type ProjectDescription: String # @param PolicyMode: 权限模式,black为黑名单,white为白名单,不填默认为black # @type PolicyMode: String attr_accessor :ProjectName, :ProjectDescription, :PolicyMode - + def initialize(projectname=nil, projectdescription=nil, policymode=nil) @ProjectName = projectname @ProjectDescription = projectdescription @PolicyMode = policymode end @@ -220,11 +220,11 @@ # @type ProjectId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ProjectId, :RequestId - + def initialize(projectid=nil, requestid=nil) @ProjectId = projectid @RequestId = requestid end @@ -238,11 +238,11 @@ class DeleteProjectRequest < TencentCloud::Common::AbstractModel # @param ProjectId: 项目ID # @type ProjectId: String attr_accessor :ProjectId - + def initialize(projectid=nil) @ProjectId = projectid end def deserialize(params) @@ -254,11 +254,11 @@ class DeleteProjectResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -272,11 +272,11 @@ # @type ProjectId: String # @param DeviceId: 目标设备ID # @type DeviceId: String attr_accessor :ProjectId, :DeviceId - + def initialize(projectid=nil, deviceid=nil) @ProjectId = projectid @DeviceId = deviceid end @@ -300,11 +300,11 @@ # @type ModifyTime: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DeviceName, :DeviceType, :DeviceStatus, :LastReportTime, :ModifyTime, :RequestId - + def initialize(devicename=nil, devicetype=nil, devicestatus=nil, lastreporttime=nil, modifytime=nil, requestid=nil) @DeviceName = devicename @DeviceType = devicetype @DeviceStatus = devicestatus @LastReportTime = lastreporttime @@ -334,11 +334,11 @@ # @type PageSize: Integer # @param PageNumber: 当前页码,不填默认为1(首页) # @type PageNumber: Integer attr_accessor :ProjectId, :DeviceType, :SearchWords, :PageSize, :PageNumber - + def initialize(projectid=nil, devicetype=nil, searchwords=nil, pagesize=nil, pagenumber=nil) @ProjectId = projectid @DeviceType = devicetype @SearchWords = searchwords @PageSize = pagesize @@ -364,11 +364,11 @@ # @type Num: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Devices, :Total, :Num, :RequestId - + def initialize(devices=nil, total=nil, num=nil, requestid=nil) @Devices = devices @Total = total @Num = num @RequestId = requestid @@ -393,11 +393,11 @@ class DescribeDeviceSessionDetailsRequest < TencentCloud::Common::AbstractModel # @param SessionId: 会话ID # @type SessionId: String attr_accessor :SessionId - + def initialize(sessionid=nil) @SessionId = sessionid end def deserialize(params) @@ -411,11 +411,11 @@ # @type Details: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Details, :RequestId - + def initialize(details=nil, requestid=nil) @Details = details @RequestId = requestid end @@ -446,11 +446,11 @@ # @type StartTime: Integer # @param EndTime: 结束时间 # @type EndTime: Integer attr_accessor :ProjectId, :PageNumber, :PageSize, :DeviceId, :StartTime, :EndTime - + def initialize(projectid=nil, pagenumber=nil, pagesize=nil, deviceid=nil, starttime=nil, endtime=nil) @ProjectId = projectid @PageNumber = pagenumber @PageSize = pagesize @DeviceId = deviceid @@ -478,11 +478,11 @@ # @type Num: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Total, :DeviceSessionList, :Num, :RequestId - + def initialize(total=nil, devicesessionlist=nil, num=nil, requestid=nil) @Total = total @DeviceSessionList = devicesessionlist @Num = num @RequestId = requestid @@ -517,11 +517,11 @@ # @type PageSize: Integer # @param PageNumber: 当前页码,不填默认为1(首页) # @type PageNumber: Integer attr_accessor :ProjectId, :PolicyMode, :SearchMode, :SearchWords, :PageSize, :PageNumber - + def initialize(projectid=nil, policymode=nil, searchmode=nil, searchwords=nil, pagesize=nil, pagenumber=nil) @ProjectId = projectid @PolicyMode = policymode @SearchMode = searchmode @SearchWords = searchwords @@ -553,11 +553,11 @@ # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :PolicyMode, :PolicyEnabled, :PolicyInfo, :Num, :Total, :RequestId - + def initialize(policymode=nil, policyenabled=nil, policyinfo=nil, num=nil, total=nil, requestid=nil) @PolicyMode = policymode @PolicyEnabled = policyenabled @PolicyInfo = policyinfo @Num = num @@ -586,11 +586,11 @@ class DescribeProjectInfoRequest < TencentCloud::Common::AbstractModel # @param ProjectId: 目标项目ID # @type ProjectId: String attr_accessor :ProjectId - + def initialize(projectid=nil) @ProjectId = projectid end def deserialize(params) @@ -610,11 +610,11 @@ # @type ModifyTime: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ProjectName, :ProjectDescription, :PolicyMode, :ModifyTime, :RequestId - + def initialize(projectname=nil, projectdescription=nil, policymode=nil, modifytime=nil, requestid=nil) @ProjectName = projectname @ProjectDescription = projectdescription @PolicyMode = policymode @ModifyTime = modifytime @@ -636,11 +636,11 @@ # @type PageSize: Integer # @param PageNumber: 当前页码,不填默认为1(首页) # @type PageNumber: Integer attr_accessor :PageSize, :PageNumber - + def initialize(pagesize=nil, pagenumber=nil) @PageSize = pagesize @PageNumber = pagenumber end @@ -660,11 +660,11 @@ # @type Num: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Projects, :Total, :Num, :RequestId - + def initialize(projects=nil, total=nil, num=nil, requestid=nil) @Projects = projects @Total = total @Num = num @RequestId = requestid @@ -699,11 +699,11 @@ # @type StartTime: Integer # @param EndTime: 时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算 # @type EndTime: Integer attr_accessor :ProjectId, :PageNumber, :PageSize, :DeviceId, :StartTime, :EndTime - + def initialize(projectid=nil, pagenumber=nil, pagesize=nil, deviceid=nil, starttime=nil, endtime=nil) @ProjectId = projectid @PageNumber = pagenumber @PageSize = pagesize @DeviceId = deviceid @@ -731,11 +731,11 @@ # @type Num: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Total, :RecentSessionList, :Num, :RequestId - + def initialize(total=nil, recentsessionlist=nil, num=nil, requestid=nil) @Total = total @RecentSessionList = recentsessionlist @Num = num @RequestId = requestid @@ -768,11 +768,11 @@ # @type StartTime: Integer # @param EndTime: 结束时间,单位:秒 # @type EndTime: Integer attr_accessor :ProjectId, :StatisticInterval, :DeviceId, :StartTime, :EndTime - + def initialize(projectid=nil, statisticinterval=nil, deviceid=nil, starttime=nil, endtime=nil) @ProjectId = projectid @StatisticInterval = statisticinterval @DeviceId = deviceid @StartTime = starttime @@ -794,11 +794,11 @@ # @type SessionStatistics: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SessionStatistics, :RequestId - + def initialize(sessionstatistics=nil, requestid=nil) @SessionStatistics = sessionstatistics @RequestId = requestid end @@ -825,11 +825,11 @@ # @type StartTime: Integer # @param EndTime: 结束时间,单位:秒 # @type EndTime: Integer attr_accessor :ProjectId, :DeviceId, :StartTime, :EndTime - + def initialize(projectid=nil, deviceid=nil, starttime=nil, endtime=nil) @ProjectId = projectid @DeviceId = deviceid @StartTime = starttime @EndTime = endtime @@ -857,11 +857,11 @@ # @type NotBadSessionRatio: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SessionNum, :TotalDuration, :ActiveFieldDeviceNum, :ActiveRemoteDeviceNum, :NotBadSessionRatio, :RequestId - + def initialize(sessionnum=nil, totalduration=nil, activefielddevicenum=nil, activeremotedevicenum=nil, notbadsessionratio=nil, requestid=nil) @SessionNum = sessionnum @TotalDuration = totalduration @ActiveFieldDeviceNum = activefielddevicenum @ActiveRemoteDeviceNum = activeremotedevicenum @@ -902,11 +902,11 @@ # @param LicenseIds: 已经绑定licenseId列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LicenseIds: Array attr_accessor :DeviceId, :DeviceName, :LicenseCount, :RemainDay, :ExpireTime, :Duration, :LicenseIds - + def initialize(deviceid=nil, devicename=nil, licensecount=nil, remainday=nil, expiretime=nil, duration=nil, licenseids=nil) @DeviceId = deviceid @DeviceName = devicename @LicenseCount = licensecount @RemainDay = remainday @@ -942,11 +942,11 @@ # @type LastReportTime: String # @param ProjectId: 设备所属项目Id # @type ProjectId: String attr_accessor :DeviceId, :DeviceName, :DeviceStatus, :DeviceType, :ModifyTime, :LastReportTime, :ProjectId - + def initialize(deviceid=nil, devicename=nil, devicestatus=nil, devicetype=nil, modifytime=nil, lastreporttime=nil, projectid=nil) @DeviceId = deviceid @DeviceName = devicename @DeviceStatus = devicestatus @DeviceType = devicetype @@ -972,11 +972,11 @@ # @type ProjectId: String # @param DeviceId: 目标设备ID # @type DeviceId: String attr_accessor :ProjectId, :DeviceId - + def initialize(projectid=nil, deviceid=nil) @ProjectId = projectid @DeviceId = deviceid end @@ -992,11 +992,11 @@ # @type AvailableCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AvailableCount, :RequestId - + def initialize(availablecount=nil, requestid=nil) @AvailableCount = availablecount @RequestId = requestid end @@ -1016,11 +1016,11 @@ # @type ProjectId: String # @param DeviceId: 设备ID # @type DeviceId: String attr_accessor :PageNum, :PageSize, :ProjectId, :DeviceId - + def initialize(pagenum=nil, pagesize=nil, projectid=nil, deviceid=nil) @PageNum = pagenum @PageSize = pagesize @ProjectId = projectid @DeviceId = deviceid @@ -1042,11 +1042,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Devices, :TotalCount, :RequestId - + def initialize(devices=nil, totalcount=nil, requestid=nil) @Devices = devices @TotalCount = totalcount @RequestId = requestid end @@ -1066,11 +1066,11 @@ end # GetLicenseStat请求参数结构体 class GetLicenseStatRequest < TencentCloud::Common::AbstractModel - + def initialize() end def deserialize(params) end @@ -1088,11 +1088,11 @@ # @type Expire: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Valid, :Bound, :UnBound, :Expire, :RequestId - + def initialize(valid=nil, bound=nil, unbound=nil, expire=nil, requestid=nil) @Valid = valid @Bound = bound @UnBound = unbound @Expire = expire @@ -1118,11 +1118,11 @@ # @type ProjectId: String # @param DeviceId: DeviceId # @type DeviceId: String attr_accessor :PageNum, :PageSize, :ProjectId, :DeviceId - + def initialize(pagenum=nil, pagesize=nil, projectid=nil, deviceid=nil) @PageNum = pagenum @PageSize = pagesize @ProjectId = projectid @DeviceId = deviceid @@ -1144,11 +1144,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Licenses, :TotalCount, :RequestId - + def initialize(licenses=nil, totalcount=nil, requestid=nil) @Licenses = licenses @TotalCount = totalcount @RequestId = requestid end @@ -1187,11 +1187,11 @@ # @param LicenseIds: 该类型的licenseId列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LicenseIds: Array attr_accessor :Count, :Status, :ExpireTime, :Duration, :RemainDay, :LicenseIds - + def initialize(count=nil, status=nil, expiretime=nil, duration=nil, remainday=nil, licenseids=nil) @Count = count @Status = status @ExpireTime = expiretime @Duration = duration @@ -1219,11 +1219,11 @@ # @type DeviceName: String # @param DeviceToken: 修改后的设备认证口令,不填则不修改 # @type DeviceToken: String attr_accessor :ProjectId, :DeviceId, :DeviceName, :DeviceToken - + def initialize(projectid=nil, deviceid=nil, devicename=nil, devicetoken=nil) @ProjectId = projectid @DeviceId = deviceid @DeviceName = devicename @DeviceToken = devicetoken @@ -1241,11 +1241,11 @@ class ModifyDeviceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -1265,11 +1265,11 @@ # @type PolicyMode: String # @param ModifyMode: 修改模式,add为新增(添加现场设备I关联),remove为删除(解除现场设备关联),set为设置(更新现场设备关联) # @type ModifyMode: String attr_accessor :ProjectId, :RemoteDeviceId, :FieldDeviceIds, :PolicyMode, :ModifyMode - + def initialize(projectid=nil, remotedeviceid=nil, fielddeviceids=nil, policymode=nil, modifymode=nil) @ProjectId = projectid @RemoteDeviceId = remotedeviceid @FieldDeviceIds = fielddeviceids @PolicyMode = policymode @@ -1295,11 +1295,11 @@ # @type FailedDeleteIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FailedInsertIds, :FailedDeleteIds, :RequestId - + def initialize(failedinsertids=nil, faileddeleteids=nil, requestid=nil) @FailedInsertIds = failedinsertids @FailedDeleteIds = faileddeleteids @RequestId = requestid end @@ -1321,11 +1321,11 @@ # @type ProjectDescription: String # @param PolicyMode: 修改后的权限模式,black为黑名单,white为白名单,不填则不修改 # @type PolicyMode: String attr_accessor :ProjectId, :ProjectName, :ProjectDescription, :PolicyMode - + def initialize(projectid=nil, projectname=nil, projectdescription=nil, policymode=nil) @ProjectId = projectid @ProjectName = projectname @ProjectDescription = projectdescription @PolicyMode = policymode @@ -1343,11 +1343,11 @@ class ModifyProjectResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -1363,11 +1363,11 @@ # @type FieldDeviceIds: Array # @param ModifyTime: 最近添加时间 # @type ModifyTime: String attr_accessor :RemoteDeviceId, :FieldDeviceIds, :ModifyTime - + def initialize(remotedeviceid=nil, fielddeviceids=nil, modifytime=nil) @RemoteDeviceId = remotedeviceid @FieldDeviceIds = fielddeviceids @ModifyTime = modifytime end @@ -1391,11 +1391,11 @@ # @type PolicyMode: String # @param ModifyTime: 项目信息修改时间 # @type ModifyTime: String attr_accessor :ProjectId, :ProjectName, :ProjectDescription, :PolicyMode, :ModifyTime - + def initialize(projectid=nil, projectname=nil, projectdescription=nil, policymode=nil, modifytime=nil) @ProjectId = projectid @ProjectName = projectname @ProjectDescription = projectdescription @PolicyMode = policymode @@ -1425,11 +1425,11 @@ # @type StartTime: Integer # @param LatestUpdateTime: 最后更新时间 # @type LatestUpdateTime: Integer attr_accessor :SessionId, :RemoteDeviceId, :FieldDeviceId, :Resolution, :StartTime, :LatestUpdateTime - + def initialize(sessionid=nil, remotedeviceid=nil, fielddeviceid=nil, resolution=nil, starttime=nil, latestupdatetime=nil) @SessionId = sessionid @RemoteDeviceId = remotedeviceid @FieldDeviceId = fielddeviceid @Resolution = resolution @@ -1477,11 +1477,11 @@ # @type ProjectId: String # @param DeviceId: 设备ID # @type DeviceId: String attr_accessor :DeviceType, :StartTime, :EndTime, :SessionId, :Rate, :Fps, :Lost, :NetworkLatency, :VideoLatency, :CpuUsed, :MemUsed, :TimeOffset, :ProjectId, :DeviceId - + def initialize(devicetype=nil, starttime=nil, endtime=nil, sessionid=nil, rate=nil, fps=nil, lost=nil, networklatency=nil, videolatency=nil, cpuused=nil, memused=nil, timeoffset=nil, projectid=nil, deviceid=nil) @DeviceType = devicetype @StartTime = starttime @EndTime = endtime @SessionId = sessionid @@ -1531,11 +1531,11 @@ # @type EndTime: Integer # @param Quality: 通话质量:good|normal|bad,对应优良差 # @type Quality: String attr_accessor :SessionId, :RemoteDeviceId, :FieldDeviceId, :Resolution, :StartTime, :EndTime, :Quality - + def initialize(sessionid=nil, remotedeviceid=nil, fielddeviceid=nil, resolution=nil, starttime=nil, endtime=nil, quality=nil) @SessionId = sessionid @RemoteDeviceId = remotedeviceid @FieldDeviceId = fielddeviceid @Resolution = resolution @@ -1571,10 +1571,10 @@ # @type EndTime: Integer # @param NotBadSessionRatio: 优良会话占比,单位:% # @type NotBadSessionRatio: Integer attr_accessor :ActiveFieldDeviceNum, :ActiveRemoteDeviceNum, :SessionNum, :TotalDuration, :StartTime, :EndTime, :NotBadSessionRatio - + def initialize(activefielddevicenum=nil, activeremotedevicenum=nil, sessionnum=nil, totalduration=nil, starttime=nil, endtime=nil, notbadsessionratio=nil) @ActiveFieldDeviceNum = activefielddevicenum @ActiveRemoteDeviceNum = activeremotedevicenum @SessionNum = sessionnum @TotalDuration = totalduration