Class: TencentCloud::Iotexplorer::V20190423::PackageInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::PackageInfo
- Defined in:
- lib/v20190423/models.rb
Overview
结构体(PackageInfo)记录了设备拥有的有效套餐信息,包括云存开启状态、云存类型、云存回看时长、云存套餐过期时间
Instance Attribute Summary collapse
-
#ChannelId ⇒ Object
注:这里只返回状态为0的数据.
-
#CreatedAt ⇒ Object
注:这里只返回状态为0的数据.
-
#CSExpiredTime ⇒ Object
注:这里只返回状态为0的数据.
-
#CSShiftDuration ⇒ Object
注:这里只返回状态为0的数据.
-
#CSType ⇒ Object
注:这里只返回状态为0的数据.
-
#CSUserId ⇒ Object
注:这里只返回状态为0的数据.
-
#OrderId ⇒ Object
注:这里只返回状态为0的数据.
-
#PackageId ⇒ Object
注:这里只返回状态为0的数据.
-
#Status ⇒ Object
注:这里只返回状态为0的数据.
-
#UpdatedAt ⇒ Object
注:这里只返回状态为0的数据.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, cstype = nil, csshiftduration = nil, csexpiredtime = nil, createdat = nil, updatedat = nil, packageid = nil, orderid = nil, channelid = nil, csuserid = nil) ⇒ PackageInfo
constructor
A new instance of PackageInfo.
Constructor Details
#initialize(status = nil, cstype = nil, csshiftduration = nil, csexpiredtime = nil, createdat = nil, updatedat = nil, packageid = nil, orderid = nil, channelid = nil, csuserid = nil) ⇒ PackageInfo
Returns a new instance of PackageInfo.
11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 |
# File 'lib/v20190423/models.rb', line 11863 def initialize(status=nil, cstype=nil, csshiftduration=nil, csexpiredtime=nil, createdat=nil, updatedat=nil, packageid=nil, orderid=nil, channelid=nil, csuserid=nil) @Status = status @CSType = cstype @CSShiftDuration = csshiftduration @CSExpiredTime = csexpiredtime @CreatedAt = createdat @UpdatedAt = updatedat @PackageId = packageid @OrderId = orderid @ChannelId = channelid @CSUserId = csuserid end |
Instance Attribute Details
#ChannelId ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def ChannelId @ChannelId end |
#CreatedAt ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def CreatedAt @CreatedAt end |
#CSExpiredTime ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def CSExpiredTime @CSExpiredTime end |
#CSShiftDuration ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def CSShiftDuration @CSShiftDuration end |
#CSType ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def CSType @CSType end |
#CSUserId ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def CSUserId @CSUserId end |
#OrderId ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def OrderId @OrderId end |
#PackageId ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def PackageId @PackageId end |
#Status ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def Status @Status end |
#UpdatedAt ⇒ Object
注:这里只返回状态为0的数据
11861 11862 11863 |
# File 'lib/v20190423/models.rb', line 11861 def UpdatedAt @UpdatedAt end |
Instance Method Details
#deserialize(params) ⇒ Object
11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 |
# File 'lib/v20190423/models.rb', line 11876 def deserialize(params) @Status = params['Status'] @CSType = params['CSType'] @CSShiftDuration = params['CSShiftDuration'] @CSExpiredTime = params['CSExpiredTime'] @CreatedAt = params['CreatedAt'] @UpdatedAt = params['UpdatedAt'] @PackageId = params['PackageId'] @OrderId = params['OrderId'] @ChannelId = params['ChannelId'] @CSUserId = params['CSUserId'] end |