Class: TencentCloud::Tcr::V20190924::AutoDelStrategyInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::AutoDelStrategyInfo
- Defined in:
- lib/v20190924/models.rb
Overview
自动删除策略信息
Instance Attribute Summary collapse
- #CreationTime ⇒ Object
- #RepoName ⇒ Object
- #Type ⇒ Object
- #Username ⇒ Object
- #Valid ⇒ Object
- #Value ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(username = nil, reponame = nil, type = nil, value = nil, valid = nil, creationtime = nil) ⇒ AutoDelStrategyInfo
constructor
A new instance of AutoDelStrategyInfo.
Constructor Details
#initialize(username = nil, reponame = nil, type = nil, value = nil, valid = nil, creationtime = nil) ⇒ AutoDelStrategyInfo
Returns a new instance of AutoDelStrategyInfo.
65 66 67 68 69 70 71 72 |
# File 'lib/v20190924/models.rb', line 65 def initialize(username=nil, reponame=nil, type=nil, value=nil, valid=nil, creationtime=nil) @Username = username @RepoName = reponame @Type = type @Value = value @Valid = valid @CreationTime = creationtime end |
Instance Attribute Details
#CreationTime ⇒ Object
63 64 65 |
# File 'lib/v20190924/models.rb', line 63 def CreationTime @CreationTime end |
#RepoName ⇒ Object
63 64 65 |
# File 'lib/v20190924/models.rb', line 63 def RepoName @RepoName end |
#Type ⇒ Object
63 64 65 |
# File 'lib/v20190924/models.rb', line 63 def Type @Type end |
#Username ⇒ Object
63 64 65 |
# File 'lib/v20190924/models.rb', line 63 def Username @Username end |
#Valid ⇒ Object
63 64 65 |
# File 'lib/v20190924/models.rb', line 63 def Valid @Valid end |
#Value ⇒ Object
63 64 65 |
# File 'lib/v20190924/models.rb', line 63 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
74 75 76 77 78 79 80 81 |
# File 'lib/v20190924/models.rb', line 74 def deserialize(params) @Username = params['Username'] @RepoName = params['RepoName'] @Type = params['Type'] @Value = params['Value'] @Valid = params['Valid'] @CreationTime = params['CreationTime'] end |