Class: TencentCloud::Bma::V20221115::BrandData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bma::V20221115::BrandData
- Defined in:
- lib/v20221115/models.rb
Overview
品牌响应数据
Instance Attribute Summary collapse
- #Authorization ⇒ Object
- #AuthorizationNote ⇒ Object
- #AuthorizationStatus ⇒ Object
- #BrandName ⇒ Object
- #CompanyId ⇒ Object
- #CompanyName ⇒ Object
- #InsertTime ⇒ Object
- #License ⇒ Object
- #LicenseNote ⇒ Object
- #LicenseStatus ⇒ Object
- #Phone ⇒ Object
- #Services ⇒ Object
- #Trademarks ⇒ Object
- #Uin ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, companyname = nil, brandname = nil, phone = nil, license = nil, licensestatus = nil, licensenote = nil, authorization = nil, authorizationstatus = nil, authorizationnote = nil, trademarks = nil, inserttime = nil, services = nil, uin = nil) ⇒ BrandData
constructor
A new instance of BrandData.
Constructor Details
#initialize(companyid = nil, companyname = nil, brandname = nil, phone = nil, license = nil, licensestatus = nil, licensenote = nil, authorization = nil, authorizationstatus = nil, authorizationnote = nil, trademarks = nil, inserttime = nil, services = nil, uin = nil) ⇒ BrandData
Returns a new instance of BrandData.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/v20221115/models.rb', line 53 def initialize(companyid=nil, companyname=nil, brandname=nil, phone=nil, license=nil, licensestatus=nil, licensenote=nil, =nil, =nil, =nil, trademarks=nil, inserttime=nil, services=nil, uin=nil) @CompanyId = companyid @CompanyName = companyname @BrandName = brandname @Phone = phone @License = license @LicenseStatus = licensestatus @LicenseNote = licensenote @Authorization = @AuthorizationStatus = @AuthorizationNote = @Trademarks = trademarks @InsertTime = inserttime @Services = services @Uin = uin end |
Instance Attribute Details
#Authorization ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def Authorization @Authorization end |
#AuthorizationNote ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def AuthorizationNote @AuthorizationNote end |
#AuthorizationStatus ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def AuthorizationStatus @AuthorizationStatus end |
#BrandName ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def BrandName @BrandName end |
#CompanyId ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def CompanyId @CompanyId end |
#CompanyName ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def CompanyName @CompanyName end |
#InsertTime ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def InsertTime @InsertTime end |
#License ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def License @License end |
#LicenseNote ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def LicenseNote @LicenseNote end |
#LicenseStatus ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def LicenseStatus @LicenseStatus end |
#Phone ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def Phone @Phone end |
#Services ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def Services @Services end |
#Trademarks ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def Trademarks @Trademarks end |
#Uin ⇒ Object
51 52 53 |
# File 'lib/v20221115/models.rb', line 51 def Uin @Uin end |
Instance Method Details
#deserialize(params) ⇒ Object
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/v20221115/models.rb', line 70 def deserialize(params) @CompanyId = params['CompanyId'] @CompanyName = params['CompanyName'] @BrandName = params['BrandName'] @Phone = params['Phone'] @License = params['License'] @LicenseStatus = params['LicenseStatus'] @LicenseNote = params['LicenseNote'] @Authorization = params['Authorization'] @AuthorizationStatus = params['AuthorizationStatus'] @AuthorizationNote = params['AuthorizationNote'] unless params['Trademarks'].nil? @Trademarks = [] params['Trademarks'].each do |i| trademarkdata_tmp = TrademarkData.new trademarkdata_tmp.deserialize(i) @Trademarks << trademarkdata_tmp end end @InsertTime = params['InsertTime'] unless params['Services'].nil? @Services = ServiceData.new @Services.deserialize(params['Services']) end @Uin = params['Uin'] end |