Class: TencentCloud::Bma::V20210624::DescribeBPCompanyInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bma::V20210624::DescribeBPCompanyInfoResponse
- Defined in:
- lib/v20210624/models.rb
Overview
DescribeBPCompanyInfo返回参数结构体
Instance Attribute Summary collapse
- #AuthorizationName ⇒ Object
- #AuthorizationNote ⇒ Object
- #AuthorizationStatus ⇒ Object
- #BrandDatas ⇒ Object
- #CompanyId ⇒ Object
- #CompanyName ⇒ Object
- #LicenseName ⇒ Object
- #LicenseNote ⇒ Object
- #LicenseStatus ⇒ Object
- #Phone ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyname = nil, phone = nil, licensename = nil, licensestatus = nil, licensenote = nil, authorizationname = nil, authorizationstatus = nil, authorizationnote = nil, branddatas = nil, companyid = nil, requestid = nil) ⇒ DescribeBPCompanyInfoResponse
constructor
A new instance of DescribeBPCompanyInfoResponse.
Constructor Details
#initialize(companyname = nil, phone = nil, licensename = nil, licensestatus = nil, licensenote = nil, authorizationname = nil, authorizationstatus = nil, authorizationnote = nil, branddatas = nil, companyid = nil, requestid = nil) ⇒ DescribeBPCompanyInfoResponse
Returns a new instance of DescribeBPCompanyInfoResponse.
949 950 951 952 953 954 955 956 957 958 959 960 961 |
# File 'lib/v20210624/models.rb', line 949 def initialize(companyname=nil, phone=nil, licensename=nil, licensestatus=nil, licensenote=nil, =nil, =nil, =nil, branddatas=nil, companyid=nil, requestid=nil) @CompanyName = companyname @Phone = phone @LicenseName = licensename @LicenseStatus = licensestatus @LicenseNote = licensenote @AuthorizationName = @AuthorizationStatus = @AuthorizationNote = @BrandDatas = branddatas @CompanyId = companyid @RequestId = requestid end |
Instance Attribute Details
#AuthorizationName ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def AuthorizationName @AuthorizationName end |
#AuthorizationNote ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def AuthorizationNote @AuthorizationNote end |
#AuthorizationStatus ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def AuthorizationStatus @AuthorizationStatus end |
#BrandDatas ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def BrandDatas @BrandDatas end |
#CompanyId ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def CompanyId @CompanyId end |
#CompanyName ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def CompanyName @CompanyName end |
#LicenseName ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def LicenseName @LicenseName end |
#LicenseNote ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def LicenseNote @LicenseNote end |
#LicenseStatus ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def LicenseStatus @LicenseStatus end |
#Phone ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def Phone @Phone end |
#RequestId ⇒ Object
947 948 949 |
# File 'lib/v20210624/models.rb', line 947 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 |
# File 'lib/v20210624/models.rb', line 963 def deserialize(params) @CompanyName = params['CompanyName'] @Phone = params['Phone'] @LicenseName = params['LicenseName'] @LicenseStatus = params['LicenseStatus'] @LicenseNote = params['LicenseNote'] @AuthorizationName = params['AuthorizationName'] @AuthorizationStatus = params['AuthorizationStatus'] @AuthorizationNote = params['AuthorizationNote'] unless params['BrandDatas'].nil? @BrandDatas = [] params['BrandDatas'].each do |i| branddata_tmp = BrandData.new branddata_tmp.deserialize(i) @BrandDatas << branddata_tmp end end @CompanyId = params['CompanyId'] @RequestId = params['RequestId'] end |