Class: TencentCloud::Ocr::V20181119::BizLicenseOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::BizLicenseOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
BizLicenseOCR返回参数结构体
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Angle ⇒ Object
- #Business ⇒ Object
- #BusinessCertificate ⇒ Object
- #Capital ⇒ Object
- #ComposingForm ⇒ Object
- #Electronic ⇒ Object
- #IsDuplication ⇒ Object
- #Name ⇒ Object
- #NationalEmblem ⇒ Object
- #Period ⇒ Object
- #Person ⇒ Object
- #QRCode ⇒ Object
- #RecognizeWarnCode ⇒ Object
- #RecognizeWarnMsg ⇒ Object
- #RegistrationAuthority ⇒ Object
- #RegistrationDate ⇒ Object
- #RegNum ⇒ Object
- #RequestId ⇒ Object
- #Seal ⇒ Object
- #SerialNumber ⇒ Object
- #SetDate ⇒ Object
- #Title ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(regnum = nil, name = nil, capital = nil, person = nil, address = nil, business = nil, type = nil, period = nil, composingform = nil, setdate = nil, recognizewarncode = nil, recognizewarnmsg = nil, isduplication = nil, registrationdate = nil, angle = nil, nationalemblem = nil, qrcode = nil, seal = nil, title = nil, serialnumber = nil, registrationauthority = nil, electronic = nil, businesscertificate = nil, requestid = nil) ⇒ BizLicenseOCRResponse
constructor
A new instance of BizLicenseOCRResponse.
Constructor Details
#initialize(regnum = nil, name = nil, capital = nil, person = nil, address = nil, business = nil, type = nil, period = nil, composingform = nil, setdate = nil, recognizewarncode = nil, recognizewarnmsg = nil, isduplication = nil, registrationdate = nil, angle = nil, nationalemblem = nil, qrcode = nil, seal = nil, title = nil, serialnumber = nil, registrationauthority = nil, electronic = nil, businesscertificate = nil, requestid = nil) ⇒ BizLicenseOCRResponse
Returns a new instance of BizLicenseOCRResponse.
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'lib/v20181119/models.rb', line 785 def initialize(regnum=nil, name=nil, capital=nil, person=nil, address=nil, business=nil, type=nil, period=nil, composingform=nil, setdate=nil, recognizewarncode=nil, recognizewarnmsg=nil, isduplication=nil, registrationdate=nil, angle=nil, nationalemblem=nil, qrcode=nil, seal=nil, title=nil, serialnumber=nil, =nil, electronic=nil, businesscertificate=nil, requestid=nil) @RegNum = regnum @Name = name @Capital = capital @Person = person @Address = address @Business = business @Type = type @Period = period @ComposingForm = composingform @SetDate = setdate @RecognizeWarnCode = recognizewarncode @RecognizeWarnMsg = recognizewarnmsg @IsDuplication = isduplication @RegistrationDate = registrationdate @Angle = angle @NationalEmblem = nationalemblem @QRCode = qrcode @Seal = seal @Title = title @SerialNumber = serialnumber @RegistrationAuthority = @Electronic = electronic @BusinessCertificate = businesscertificate @RequestId = requestid end |
Instance Attribute Details
#Address ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Address @Address end |
#Angle ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Angle @Angle end |
#Business ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Business @Business end |
#BusinessCertificate ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def BusinessCertificate @BusinessCertificate end |
#Capital ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Capital @Capital end |
#ComposingForm ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def ComposingForm @ComposingForm end |
#Electronic ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Electronic @Electronic end |
#IsDuplication ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def IsDuplication @IsDuplication end |
#Name ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Name @Name end |
#NationalEmblem ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def NationalEmblem @NationalEmblem end |
#Period ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Period @Period end |
#Person ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Person @Person end |
#QRCode ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def QRCode @QRCode end |
#RecognizeWarnCode ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def RecognizeWarnCode @RecognizeWarnCode end |
#RecognizeWarnMsg ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def RecognizeWarnMsg @RecognizeWarnMsg end |
#RegistrationAuthority ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def RegistrationAuthority @RegistrationAuthority end |
#RegistrationDate ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def RegistrationDate @RegistrationDate end |
#RegNum ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def RegNum @RegNum end |
#RequestId ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def RequestId @RequestId end |
#Seal ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Seal @Seal end |
#SerialNumber ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def SerialNumber @SerialNumber end |
#SetDate ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def SetDate @SetDate end |
#Title ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Title @Title end |
#Type ⇒ Object
783 784 785 |
# File 'lib/v20181119/models.rb', line 783 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'lib/v20181119/models.rb', line 812 def deserialize(params) @RegNum = params['RegNum'] @Name = params['Name'] @Capital = params['Capital'] @Person = params['Person'] @Address = params['Address'] @Business = params['Business'] @Type = params['Type'] @Period = params['Period'] @ComposingForm = params['ComposingForm'] @SetDate = params['SetDate'] @RecognizeWarnCode = params['RecognizeWarnCode'] @RecognizeWarnMsg = params['RecognizeWarnMsg'] @IsDuplication = params['IsDuplication'] @RegistrationDate = params['RegistrationDate'] @Angle = params['Angle'] @NationalEmblem = params['NationalEmblem'] @QRCode = params['QRCode'] @Seal = params['Seal'] @Title = params['Title'] @SerialNumber = params['SerialNumber'] @RegistrationAuthority = params['RegistrationAuthority'] @Electronic = params['Electronic'] unless params['BusinessCertificate'].nil? @BusinessCertificate = [] params['BusinessCertificate'].each do |i| businesscertificateinfo_tmp = BusinessCertificateInfo.new businesscertificateinfo_tmp.deserialize(i) @BusinessCertificate << businesscertificateinfo_tmp end end @RequestId = params['RequestId'] end |