Class: TencentCloud::Cwp::V20180228::LicenseDetail
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::LicenseDetail
- Defined in:
- lib/v20180228/models.rb
Overview
授权订单列表对象
Instance Attribute Summary collapse
- #Alias ⇒ Object
- #AutoRenewFlag ⇒ Object
- #BuyTime ⇒ Object
- #Deadline ⇒ Object
- #FreezeNum ⇒ Object
- #LicenseCnt ⇒ Object
- #LicenseId ⇒ Object
- #LicenseStatus ⇒ Object
- #LicenseType ⇒ Object
- #OrderStatus ⇒ Object
- #ProjectId ⇒ Object
- #ResourceId ⇒ Object
- #SourceType ⇒ Object
- #Tags ⇒ Object
- #TaskId ⇒ Object
- #UsedLicenseCnt ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(licenseid = nil, licensetype = nil, licensestatus = nil, licensecnt = nil, usedlicensecnt = nil, orderstatus = nil, deadline = nil, resourceid = nil, autorenewflag = nil, projectid = nil, taskid = nil, buytime = nil, sourcetype = nil, _alias = nil, tags = nil, freezenum = nil) ⇒ LicenseDetail
constructor
A new instance of LicenseDetail.
Constructor Details
#initialize(licenseid = nil, licensetype = nil, licensestatus = nil, licensecnt = nil, usedlicensecnt = nil, orderstatus = nil, deadline = nil, resourceid = nil, autorenewflag = nil, projectid = nil, taskid = nil, buytime = nil, sourcetype = nil, _alias = nil, tags = nil, freezenum = nil) ⇒ LicenseDetail
Returns a new instance of LicenseDetail.
30919 30920 30921 30922 30923 30924 30925 30926 30927 30928 30929 30930 30931 30932 30933 30934 30935 30936 |
# File 'lib/v20180228/models.rb', line 30919 def initialize(licenseid=nil, licensetype=nil, licensestatus=nil, licensecnt=nil, usedlicensecnt=nil, orderstatus=nil, deadline=nil, resourceid=nil, autorenewflag=nil, projectid=nil, taskid=nil, buytime=nil, sourcetype=nil, _alias=nil, =nil, freezenum=nil) @LicenseId = licenseid @LicenseType = licensetype @LicenseStatus = licensestatus @LicenseCnt = licensecnt @UsedLicenseCnt = usedlicensecnt @OrderStatus = orderstatus @Deadline = deadline @ResourceId = resourceid @AutoRenewFlag = autorenewflag @ProjectId = projectid @TaskId = taskid @BuyTime = buytime @SourceType = sourcetype @Alias = _alias @Tags = @FreezeNum = freezenum end |
Instance Attribute Details
#Alias ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def Alias @Alias end |
#AutoRenewFlag ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def AutoRenewFlag @AutoRenewFlag end |
#BuyTime ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def BuyTime @BuyTime end |
#Deadline ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def Deadline @Deadline end |
#FreezeNum ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def FreezeNum @FreezeNum end |
#LicenseCnt ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def LicenseCnt @LicenseCnt end |
#LicenseId ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def LicenseId @LicenseId end |
#LicenseStatus ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def LicenseStatus @LicenseStatus end |
#LicenseType ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def LicenseType @LicenseType end |
#OrderStatus ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def OrderStatus @OrderStatus end |
#ProjectId ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def ProjectId @ProjectId end |
#ResourceId ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def ResourceId @ResourceId end |
#SourceType ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def SourceType @SourceType end |
#Tags ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def Tags @Tags end |
#TaskId ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def TaskId @TaskId end |
#UsedLicenseCnt ⇒ Object
30917 30918 30919 |
# File 'lib/v20180228/models.rb', line 30917 def UsedLicenseCnt @UsedLicenseCnt end |
Instance Method Details
#deserialize(params) ⇒ Object
30938 30939 30940 30941 30942 30943 30944 30945 30946 30947 30948 30949 30950 30951 30952 30953 30954 30955 30956 30957 30958 30959 30960 30961 30962 |
# File 'lib/v20180228/models.rb', line 30938 def deserialize(params) @LicenseId = params['LicenseId'] @LicenseType = params['LicenseType'] @LicenseStatus = params['LicenseStatus'] @LicenseCnt = params['LicenseCnt'] @UsedLicenseCnt = params['UsedLicenseCnt'] @OrderStatus = params['OrderStatus'] @Deadline = params['Deadline'] @ResourceId = params['ResourceId'] @AutoRenewFlag = params['AutoRenewFlag'] @ProjectId = params['ProjectId'] @TaskId = params['TaskId'] @BuyTime = params['BuyTime'] @SourceType = params['SourceType'] @Alias = params['Alias'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| = Tags.new .deserialize(i) @Tags << end end @FreezeNum = params['FreezeNum'] end |