Class: TencentCloud::Cloudhsm::V20191112::InquiryPriceBuyVsmRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::InquiryPriceBuyVsmRequest
- Defined in:
- lib/v20191112/models.rb
Overview
InquiryPriceBuyVsm请求参数结构体
Instance Attribute Summary collapse
- #Currency ⇒ Object
- #GoodsNum ⇒ Object
- #HsmType ⇒ Object
- #PayMode ⇒ Object
- #TimeSpan ⇒ Object
- #TimeUnit ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(goodsnum = nil, paymode = nil, timespan = nil, timeunit = nil, type = nil, hsmtype = nil, currency = nil) ⇒ InquiryPriceBuyVsmRequest
constructor
A new instance of InquiryPriceBuyVsmRequest.
Constructor Details
#initialize(goodsnum = nil, paymode = nil, timespan = nil, timeunit = nil, type = nil, hsmtype = nil, currency = nil) ⇒ InquiryPriceBuyVsmRequest
Returns a new instance of InquiryPriceBuyVsmRequest.
766 767 768 769 770 771 772 773 774 |
# File 'lib/v20191112/models.rb', line 766 def initialize(goodsnum=nil, paymode=nil, timespan=nil, timeunit=nil, type=nil, hsmtype=nil, currency=nil) @GoodsNum = goodsnum @PayMode = paymode @TimeSpan = timespan @TimeUnit = timeunit @Type = type @HsmType = hsmtype @Currency = currency end |
Instance Attribute Details
#Currency ⇒ Object
764 765 766 |
# File 'lib/v20191112/models.rb', line 764 def Currency @Currency end |
#GoodsNum ⇒ Object
764 765 766 |
# File 'lib/v20191112/models.rb', line 764 def GoodsNum @GoodsNum end |
#HsmType ⇒ Object
764 765 766 |
# File 'lib/v20191112/models.rb', line 764 def HsmType @HsmType end |
#PayMode ⇒ Object
764 765 766 |
# File 'lib/v20191112/models.rb', line 764 def PayMode @PayMode end |
#TimeSpan ⇒ Object
764 765 766 |
# File 'lib/v20191112/models.rb', line 764 def TimeSpan @TimeSpan end |
#TimeUnit ⇒ Object
764 765 766 |
# File 'lib/v20191112/models.rb', line 764 def TimeUnit @TimeUnit end |
#Type ⇒ Object
764 765 766 |
# File 'lib/v20191112/models.rb', line 764 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
776 777 778 779 780 781 782 783 784 |
# File 'lib/v20191112/models.rb', line 776 def deserialize(params) @GoodsNum = params['GoodsNum'] @PayMode = params['PayMode'] @TimeSpan = params['TimeSpan'] @TimeUnit = params['TimeUnit'] @Type = params['Type'] @HsmType = params['HsmType'] @Currency = params['Currency'] end |