Class: TencentCloud::Tms::V20200713::DescribeTextStatRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200713/models.rb

Overview

DescribeTextStat请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(audittype = nil, filters = nil) ⇒ DescribeTextStatRequest

Returns a new instance of DescribeTextStatRequest.



136
137
138
139
# File 'lib/v20200713/models.rb', line 136

def initialize(audittype=nil, filters=nil)
  @AuditType = audittype
  @Filters = filters
end

Instance Attribute Details

#AuditTypeObject

Parameters:

  • AuditType:

    审核类型 1: 机器审核; 2: 人工审核

  • Filters:

    查询条件



134
135
136
# File 'lib/v20200713/models.rb', line 134

def AuditType
  @AuditType
end

#FiltersObject

Parameters:

  • AuditType:

    审核类型 1: 机器审核; 2: 人工审核

  • Filters:

    查询条件



134
135
136
# File 'lib/v20200713/models.rb', line 134

def Filters
  @Filters
end

Instance Method Details

#deserialize(params) ⇒ Object



141
142
143
144
145
146
147
148
149
150
151
# File 'lib/v20200713/models.rb', line 141

def deserialize(params)
  @AuditType = params['AuditType']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filters_tmp = Filters.new
      filters_tmp.deserialize(i)
      @Filters << filters_tmp
    end
  end
end