Class: TencentCloud::Essbasic::V20210526::SyncProxyOrganizationRequest

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20210526/models.rb

Overview

SyncProxyOrganization请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent = nil, proxyorganizationname = nil, businesslicense = nil, uniformsocialcreditcode = nil, proxylegalname = nil, operator = nil, proxylegalidcardtype = nil, proxylegalidcardnumber = nil, proxyaddress = nil) ⇒ SyncProxyOrganizationRequest

Returns a new instance of SyncProxyOrganizationRequest.



12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
# File 'lib/v20210526/models.rb', line 12740

def initialize(agent=nil, proxyorganizationname=nil, businesslicense=nil, uniformsocialcreditcode=nil, proxylegalname=nil, operator=nil, proxylegalidcardtype=nil, proxylegalidcardnumber=nil, proxyaddress=nil)
  @Agent = agent
  @ProxyOrganizationName = proxyorganizationname
  @BusinessLicense = businesslicense
  @UniformSocialCreditCode = uniformsocialcreditcode
  @ProxyLegalName = proxylegalname
  @Operator = operator
  @ProxyLegalIdCardType = proxylegalidcardtype
  @ProxyLegalIdCardNumber = proxylegalidcardnumber
  @ProxyAddress = proxyaddress
end

Instance Attribute Details

#AgentObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def Agent
  @Agent
end

#BusinessLicenseObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def BusinessLicense
  @BusinessLicense
end

#OperatorObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def Operator
  @Operator
end

#ProxyAddressObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def ProxyAddress
  @ProxyAddress
end

#ProxyLegalIdCardNumberObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def ProxyLegalIdCardNumber
  @ProxyLegalIdCardNumber
end

#ProxyLegalIdCardTypeObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def ProxyLegalIdCardType
  @ProxyLegalIdCardType
end

#ProxyLegalNameObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def ProxyLegalName
  @ProxyLegalName
end

#ProxyOrganizationNameObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def ProxyOrganizationName
  @ProxyOrganizationName
end

#UniformSocialCreditCodeObject

注:需要符合省市区详情的格式例如: XX省XX市XX区街道具体地址



12735
12736
12737
# File 'lib/v20210526/models.rb', line 12735

def UniformSocialCreditCode
  @UniformSocialCreditCode
end

Instance Method Details

#deserialize(params) ⇒ Object



12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
# File 'lib/v20210526/models.rb', line 12752

def deserialize(params)
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @ProxyOrganizationName = params['ProxyOrganizationName']
  @BusinessLicense = params['BusinessLicense']
  @UniformSocialCreditCode = params['UniformSocialCreditCode']
  @ProxyLegalName = params['ProxyLegalName']
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  @ProxyLegalIdCardType = params['ProxyLegalIdCardType']
  @ProxyLegalIdCardNumber = params['ProxyLegalIdCardNumber']
  @ProxyAddress = params['ProxyAddress']
end