lib/v20230517/models.rb in tencentcloud-sdk-iss-3.0.930 vs lib/v20230517/models.rb in tencentcloud-sdk-iss-3.0.931

- old
+ new

@@ -2568,14 +2568,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type AppName: String # @param StreamName: RTMP推流地址自定义streamName # 注意:此字段可能返回 null,表示取不到有效值。 # @type StreamName: String + # @param SilentFrameSwitch: 是否开启静音帧(0:关闭;1 开启) + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type SilentFrameSwitch: Integer - attr_accessor :DeviceId, :Code, :Name, :AccessProtocol, :Type, :ClusterId, :ClusterName, :TransportProtocol, :Password, :Description, :SipId, :SipDomain, :SipIp, :SipPort, :PushStreamUrl, :Status, :OrganizationId, :GatewayId, :GatewayName, :ProtocolTypeName, :ProtocolType, :Ip, :Port, :Username, :Region, :Manufacturer, :AudioSwitch, :SubscribeSwitch, :AppName, :StreamName + attr_accessor :DeviceId, :Code, :Name, :AccessProtocol, :Type, :ClusterId, :ClusterName, :TransportProtocol, :Password, :Description, :SipId, :SipDomain, :SipIp, :SipPort, :PushStreamUrl, :Status, :OrganizationId, :GatewayId, :GatewayName, :ProtocolTypeName, :ProtocolType, :Ip, :Port, :Username, :Region, :Manufacturer, :AudioSwitch, :SubscribeSwitch, :AppName, :StreamName, :SilentFrameSwitch - def initialize(deviceid=nil, code=nil, name=nil, accessprotocol=nil, type=nil, clusterid=nil, clustername=nil, transportprotocol=nil, password=nil, description=nil, sipid=nil, sipdomain=nil, sipip=nil, sipport=nil, pushstreamurl=nil, status=nil, organizationid=nil, gatewayid=nil, gatewayname=nil, protocoltypename=nil, protocoltype=nil, ip=nil, port=nil, username=nil, region=nil, manufacturer=nil, audioswitch=nil, subscribeswitch=nil, appname=nil, streamname=nil) + def initialize(deviceid=nil, code=nil, name=nil, accessprotocol=nil, type=nil, clusterid=nil, clustername=nil, transportprotocol=nil, password=nil, description=nil, sipid=nil, sipdomain=nil, sipip=nil, sipport=nil, pushstreamurl=nil, status=nil, organizationid=nil, gatewayid=nil, gatewayname=nil, protocoltypename=nil, protocoltype=nil, ip=nil, port=nil, username=nil, region=nil, manufacturer=nil, audioswitch=nil, subscribeswitch=nil, appname=nil, streamname=nil, silentframeswitch=nil) @DeviceId = deviceid @Code = code @Name = name @AccessProtocol = accessprotocol @Type = type @@ -2602,10 +2605,11 @@ @Manufacturer = manufacturer @AudioSwitch = audioswitch @SubscribeSwitch = subscribeswitch @AppName = appname @StreamName = streamname + @SilentFrameSwitch = silentframeswitch end def deserialize(params) @DeviceId = params['DeviceId'] @Code = params['Code'] @@ -2635,10 +2639,11 @@ @Manufacturer = params['Manufacturer'] @AudioSwitch = params['AudioSwitch'] @SubscribeSwitch = params['SubscribeSwitch'] @AppName = params['AppName'] @StreamName = params['StreamName'] + @SilentFrameSwitch = params['SilentFrameSwitch'] end end # 查询设备预置位返回数据 class DescribeDevicePresetData < TencentCloud::Common::AbstractModel @@ -7766,14 +7771,16 @@ # @type ProtocolType: Integer # @param AudioSwitch: 音频关开(0:关闭;1:开启)默认开启,关闭时丢弃音频 # @type AudioSwitch: Integer # @param SubscribeSwitch: 订阅开关(0:关闭;1:开启)默认开启,开启状态下会订阅设备通道变化,仅国标NVR设备有效 # @type SubscribeSwitch: Integer + # @param SilentFrameSwitch: 是否开启静音帧(0:关闭;1 开启) + # @type SilentFrameSwitch: Integer - attr_accessor :DeviceId, :Name, :TransportProtocol, :Password, :Description, :Ip, :Port, :Username, :ProtocolType, :AudioSwitch, :SubscribeSwitch + attr_accessor :DeviceId, :Name, :TransportProtocol, :Password, :Description, :Ip, :Port, :Username, :ProtocolType, :AudioSwitch, :SubscribeSwitch, :SilentFrameSwitch - def initialize(deviceid=nil, name=nil, transportprotocol=nil, password=nil, description=nil, ip=nil, port=nil, username=nil, protocoltype=nil, audioswitch=nil, subscribeswitch=nil) + def initialize(deviceid=nil, name=nil, transportprotocol=nil, password=nil, description=nil, ip=nil, port=nil, username=nil, protocoltype=nil, audioswitch=nil, subscribeswitch=nil, silentframeswitch=nil) @DeviceId = deviceid @Name = name @TransportProtocol = transportprotocol @Password = password @Description = description @@ -7781,10 +7788,11 @@ @Port = port @Username = username @ProtocolType = protocoltype @AudioSwitch = audioswitch @SubscribeSwitch = subscribeswitch + @SilentFrameSwitch = silentframeswitch end def deserialize(params) @DeviceId = params['DeviceId'] @Name = params['Name'] @@ -7795,9 +7803,10 @@ @Port = params['Port'] @Username = params['Username'] @ProtocolType = params['ProtocolType'] @AudioSwitch = params['AudioSwitch'] @SubscribeSwitch = params['SubscribeSwitch'] + @SilentFrameSwitch = params['SilentFrameSwitch'] end end # UpdateUserDevice返回参数结构体 class UpdateUserDeviceResponse < TencentCloud::Common::AbstractModel