Class: TencentCloud::Ocr::V20181119::EnterpriseLicenseOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::EnterpriseLicenseOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
EnterpriseLicenseOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enterpriselicenseinfos = nil, angle = nil, requestid = nil) ⇒ EnterpriseLicenseOCRResponse
constructor
A new instance of EnterpriseLicenseOCRResponse.
Constructor Details
#initialize(enterpriselicenseinfos = nil, angle = nil, requestid = nil) ⇒ EnterpriseLicenseOCRResponse
Returns a new instance of EnterpriseLicenseOCRResponse.
2721 2722 2723 2724 2725 |
# File 'lib/v20181119/models.rb', line 2721 def initialize(enterpriselicenseinfos=nil, angle=nil, requestid=nil) @EnterpriseLicenseInfos = enterpriselicenseinfos @Angle = angle @RequestId = requestid end |
Instance Attribute Details
#Angle ⇒ Object
2719 2720 2721 |
# File 'lib/v20181119/models.rb', line 2719 def Angle @Angle end |
#EnterpriseLicenseInfos ⇒ Object
2719 2720 2721 |
# File 'lib/v20181119/models.rb', line 2719 def EnterpriseLicenseInfos @EnterpriseLicenseInfos end |
#RequestId ⇒ Object
2719 2720 2721 |
# File 'lib/v20181119/models.rb', line 2719 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 |
# File 'lib/v20181119/models.rb', line 2727 def deserialize(params) unless params['EnterpriseLicenseInfos'].nil? @EnterpriseLicenseInfos = [] params['EnterpriseLicenseInfos'].each do |i| enterpriselicenseinfo_tmp = EnterpriseLicenseInfo.new enterpriselicenseinfo_tmp.deserialize(i) @EnterpriseLicenseInfos << enterpriselicenseinfo_tmp end end @Angle = params['Angle'] @RequestId = params['RequestId'] end |