Class BonusInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iotvideo.v20211125.models.BonusInfo
-
public class BonusInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getBonusId()
Get 资源包IDLong
getCreateTime()
Get 资源包创建时间Long
getExpireTime()
Get 资源包过期时间String
getPackageId()
Get 资源包配置IDLong
getStatus()
Get 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期 注意:此字段可能返回 null,表示取不到有效值。Long
getTotal()
Get 资源总数Long
getUsed()
Get 资源消耗总数String
getUserId()
Get 用户IDvoid
setBonusId(Long BonusId)
Set 资源包IDvoid
setCreateTime(Long CreateTime)
Set 资源包创建时间void
setExpireTime(Long ExpireTime)
Set 资源包过期时间void
setPackageId(String PackageId)
Set 资源包配置IDvoid
setStatus(Long Status)
Set 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期 注意:此字段可能返回 null,表示取不到有效值。void
setTotal(Long Total)
Set 资源总数void
setUsed(Long Used)
Set 资源消耗总数void
setUserId(String UserId)
Set 用户IDvoid
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
BonusInfo
public BonusInfo()
-
BonusInfo
public BonusInfo(BonusInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getBonusId
public Long getBonusId()
Get 资源包ID- Returns:
- BonusId 资源包ID
-
setBonusId
public void setBonusId(Long BonusId)
Set 资源包ID- Parameters:
BonusId
- 资源包ID
-
getUserId
public String getUserId()
Get 用户ID- Returns:
- UserId 用户ID
-
setUserId
public void setUserId(String UserId)
Set 用户ID- Parameters:
UserId
- 用户ID
-
getPackageId
public String getPackageId()
Get 资源包配置ID- Returns:
- PackageId 资源包配置ID
-
setPackageId
public void setPackageId(String PackageId)
Set 资源包配置ID- Parameters:
PackageId
- 资源包配置ID
-
getTotal
public Long getTotal()
Get 资源总数- Returns:
- Total 资源总数
-
setTotal
public void setTotal(Long Total)
Set 资源总数- Parameters:
Total
- 资源总数
-
getUsed
public Long getUsed()
Get 资源消耗总数- Returns:
- Used 资源消耗总数
-
setUsed
public void setUsed(Long Used)
Set 资源消耗总数- Parameters:
Used
- 资源消耗总数
-
getExpireTime
public Long getExpireTime()
Get 资源包过期时间- Returns:
- ExpireTime 资源包过期时间
-
setExpireTime
public void setExpireTime(Long ExpireTime)
Set 资源包过期时间- Parameters:
ExpireTime
- 资源包过期时间
-
getCreateTime
public Long getCreateTime()
Get 资源包创建时间- Returns:
- CreateTime 资源包创建时间
-
setCreateTime
public void setCreateTime(Long CreateTime)
Set 资源包创建时间- Parameters:
CreateTime
- 资源包创建时间
-
getStatus
public Long getStatus()
Get 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Status 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期 注意:此字段可能返回 null,表示取不到有效值。
-
setStatus
public void setStatus(Long Status)
Set 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Status
- 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期 注意:此字段可能返回 null,表示取不到有效值。
-
-