Class: TencentCloud::Gme::V20180711::ScanPiece
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gme::V20180711::ScanPiece
- Defined in:
- lib/v20180711/models.rb
Overview
语音检测结果,Code 为 0 时返回
Instance Attribute Summary collapse
- #DumpUrl ⇒ Object
- #Duration ⇒ Object
- #HitFlag ⇒ Object
- #Info ⇒ Object
- #MainType ⇒ Object
- #Offset ⇒ Object
- #OpenId ⇒ Object
- #PieceStartTime ⇒ Object
- #RoomId ⇒ Object
- #ScanDetail ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dumpurl = nil, hitflag = nil, maintype = nil, scandetail = nil, roomid = nil, openid = nil, info = nil, offset = nil, duration = nil, piecestarttime = nil) ⇒ ScanPiece
constructor
A new instance of ScanPiece.
Constructor Details
#initialize(dumpurl = nil, hitflag = nil, maintype = nil, scandetail = nil, roomid = nil, openid = nil, info = nil, offset = nil, duration = nil, piecestarttime = nil) ⇒ ScanPiece
Returns a new instance of ScanPiece.
2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 |
# File 'lib/v20180711/models.rb', line 2673 def initialize(dumpurl=nil, hitflag=nil, maintype=nil, scandetail=nil, roomid=nil, openid=nil, info=nil, offset=nil, duration=nil, piecestarttime=nil) @DumpUrl = dumpurl @HitFlag = hitflag @MainType = maintype @ScanDetail = scandetail @RoomId = roomid @OpenId = openid @Info = info @Offset = offset @Duration = duration @PieceStartTime = piecestarttime end |
Instance Attribute Details
#DumpUrl ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def DumpUrl @DumpUrl end |
#Duration ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def Duration @Duration end |
#HitFlag ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def HitFlag @HitFlag end |
#Info ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def Info @Info end |
#MainType ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def MainType @MainType end |
#Offset ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def Offset @Offset end |
#OpenId ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def OpenId @OpenId end |
#PieceStartTime ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def PieceStartTime @PieceStartTime end |
#RoomId ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def RoomId @RoomId end |
#ScanDetail ⇒ Object
2671 2672 2673 |
# File 'lib/v20180711/models.rb', line 2671 def ScanDetail @ScanDetail end |
Instance Method Details
#deserialize(params) ⇒ Object
2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 |
# File 'lib/v20180711/models.rb', line 2686 def deserialize(params) @DumpUrl = params['DumpUrl'] @HitFlag = params['HitFlag'] @MainType = params['MainType'] unless params['ScanDetail'].nil? @ScanDetail = [] params['ScanDetail'].each do |i| scandetail_tmp = ScanDetail.new scandetail_tmp.deserialize(i) @ScanDetail << scandetail_tmp end end @RoomId = params['RoomId'] @OpenId = params['OpenId'] @Info = params['Info'] @Offset = params['Offset'] @Duration = params['Duration'] @PieceStartTime = params['PieceStartTime'] end |