Class: TencentCloud::Tcr::V20190924::ImmutableTagRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::ImmutableTagRule
- Defined in:
- lib/v20190924/models.rb
Overview
镜像 tag 不可变规则
Instance Attribute Summary collapse
- #Disabled ⇒ Object
- #NsName ⇒ Object
- #RepositoryDecoration ⇒ Object
- #RepositoryPattern ⇒ Object
- #RuleId ⇒ Object
- #TagDecoration ⇒ Object
- #TagPattern ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(repositorypattern = nil, tagpattern = nil, repositorydecoration = nil, tagdecoration = nil, disabled = nil, ruleid = nil, nsname = nil) ⇒ ImmutableTagRule
constructor
A new instance of ImmutableTagRule.
Constructor Details
#initialize(repositorypattern = nil, tagpattern = nil, repositorydecoration = nil, tagdecoration = nil, disabled = nil, ruleid = nil, nsname = nil) ⇒ ImmutableTagRule
Returns a new instance of ImmutableTagRule.
4897 4898 4899 4900 4901 4902 4903 4904 4905 |
# File 'lib/v20190924/models.rb', line 4897 def initialize(repositorypattern=nil, tagpattern=nil, repositorydecoration=nil, tagdecoration=nil, disabled=nil, ruleid=nil, nsname=nil) @RepositoryPattern = repositorypattern @TagPattern = tagpattern @RepositoryDecoration = repositorydecoration @TagDecoration = tagdecoration @Disabled = disabled @RuleId = ruleid @NsName = nsname end |
Instance Attribute Details
#Disabled ⇒ Object
4895 4896 4897 |
# File 'lib/v20190924/models.rb', line 4895 def Disabled @Disabled end |
#NsName ⇒ Object
4895 4896 4897 |
# File 'lib/v20190924/models.rb', line 4895 def NsName @NsName end |
#RepositoryDecoration ⇒ Object
4895 4896 4897 |
# File 'lib/v20190924/models.rb', line 4895 def RepositoryDecoration @RepositoryDecoration end |
#RepositoryPattern ⇒ Object
4895 4896 4897 |
# File 'lib/v20190924/models.rb', line 4895 def RepositoryPattern @RepositoryPattern end |
#RuleId ⇒ Object
4895 4896 4897 |
# File 'lib/v20190924/models.rb', line 4895 def RuleId @RuleId end |
#TagDecoration ⇒ Object
4895 4896 4897 |
# File 'lib/v20190924/models.rb', line 4895 def TagDecoration @TagDecoration end |
#TagPattern ⇒ Object
4895 4896 4897 |
# File 'lib/v20190924/models.rb', line 4895 def TagPattern @TagPattern end |
Instance Method Details
#deserialize(params) ⇒ Object
4907 4908 4909 4910 4911 4912 4913 4914 4915 |
# File 'lib/v20190924/models.rb', line 4907 def deserialize(params) @RepositoryPattern = params['RepositoryPattern'] @TagPattern = params['TagPattern'] @RepositoryDecoration = params['RepositoryDecoration'] @TagDecoration = params['TagDecoration'] @Disabled = params['Disabled'] @RuleId = params['RuleId'] @NsName = params['NsName'] end |