Class: TencentCloud::Youmall::V20180228::CreateAccountRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::CreateAccountRequest
- Defined in:
- lib/v20180228/models.rb
Overview
CreateAccount请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, name = nil, password = nil, shopcode = nil, remark = nil) ⇒ CreateAccountRequest
constructor
A new instance of CreateAccountRequest.
Constructor Details
#initialize(companyid = nil, name = nil, password = nil, shopcode = nil, remark = nil) ⇒ CreateAccountRequest
Returns a new instance of CreateAccountRequest.
110 111 112 113 114 115 116 |
# File 'lib/v20180228/models.rb', line 110 def initialize(companyid=nil, name=nil, password=nil, shopcode=nil, remark=nil) @CompanyId = companyid @Name = name @Password = password @ShopCode = shopcode @Remark = remark end |
Instance Attribute Details
#CompanyId ⇒ Object
108 109 110 |
# File 'lib/v20180228/models.rb', line 108 def CompanyId @CompanyId end |
#Name ⇒ Object
108 109 110 |
# File 'lib/v20180228/models.rb', line 108 def Name @Name end |
#Password ⇒ Object
108 109 110 |
# File 'lib/v20180228/models.rb', line 108 def Password @Password end |
#Remark ⇒ Object
108 109 110 |
# File 'lib/v20180228/models.rb', line 108 def Remark @Remark end |
#ShopCode ⇒ Object
108 109 110 |
# File 'lib/v20180228/models.rb', line 108 def ShopCode @ShopCode end |
Instance Method Details
#deserialize(params) ⇒ Object
118 119 120 121 122 123 124 |
# File 'lib/v20180228/models.rb', line 118 def deserialize(params) @CompanyId = params['CompanyId'] @Name = params['Name'] @Password = params['Password'] @ShopCode = params['ShopCode'] @Remark = params['Remark'] end |