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
- #Important ⇒ 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, important = 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, important = nil, requestid = nil) ⇒ BizLicenseOCRResponse
Returns a new instance of BizLicenseOCRResponse.
787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 |
# File 'lib/v20181119/models.rb', line 787 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, important=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 @Important = important @RequestId = requestid end |
Instance Attribute Details
#Address ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Address @Address end |
#Angle ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Angle @Angle end |
#Business ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Business @Business end |
#BusinessCertificate ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def BusinessCertificate @BusinessCertificate end |
#Capital ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Capital @Capital end |
#ComposingForm ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def ComposingForm @ComposingForm end |
#Electronic ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Electronic @Electronic end |
#Important ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Important @Important end |
#IsDuplication ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def IsDuplication @IsDuplication end |
#Name ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Name @Name end |
#NationalEmblem ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def NationalEmblem @NationalEmblem end |
#Period ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Period @Period end |
#Person ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Person @Person end |
#QRCode ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def QRCode @QRCode end |
#RecognizeWarnCode ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def RecognizeWarnCode @RecognizeWarnCode end |
#RecognizeWarnMsg ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def RecognizeWarnMsg @RecognizeWarnMsg end |
#RegistrationAuthority ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def RegistrationAuthority @RegistrationAuthority end |
#RegistrationDate ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def RegistrationDate @RegistrationDate end |
#RegNum ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def RegNum @RegNum end |
#RequestId ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def RequestId @RequestId end |
#Seal ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Seal @Seal end |
#SerialNumber ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def SerialNumber @SerialNumber end |
#SetDate ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def SetDate @SetDate end |
#Title ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Title @Title end |
#Type ⇒ Object
785 786 787 |
# File 'lib/v20181119/models.rb', line 785 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
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 845 846 847 848 |
# File 'lib/v20181119/models.rb', line 815 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 @Important = params['Important'] @RequestId = params['RequestId'] end |