Class: TencentCloud::Tcr::V20190924::CreateRepositoryRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::CreateRepositoryRequest
- Defined in:
- lib/v20190924/models.rb
Overview
CreateRepository请求参数结构体
Instance Attribute Summary collapse
-
#BriefDescription ⇒ Object
-
#Description ⇒ Object
-
#NamespaceName ⇒ Object
-
#RegistryId ⇒ Object
-
#RepositoryName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(registryid = nil, namespacename = nil, repositoryname = nil, briefdescription = nil, description = nil) ⇒ CreateRepositoryRequest
constructor
A new instance of CreateRepositoryRequest.
Constructor Details
#initialize(registryid = nil, namespacename = nil, repositoryname = nil, briefdescription = nil, description = nil) ⇒ CreateRepositoryRequest
Returns a new instance of CreateRepositoryRequest.
962 963 964 965 966 967 968 |
# File 'lib/v20190924/models.rb', line 962 def initialize(registryid=nil, namespacename=nil, repositoryname=nil, briefdescription=nil, description=nil) @RegistryId = registryid @NamespaceName = namespacename @RepositoryName = repositoryname @BriefDescription = briefdescription @Description = description end |
Instance Attribute Details
#BriefDescription ⇒ Object
- 长度需 大于2且小于245个字符
- 仅允许小写字母、数字及符号 . _ -
960 961 962 |
# File 'lib/v20190924/models.rb', line 960 def BriefDescription @BriefDescription end |
#Description ⇒ Object
- 长度需 大于2且小于245个字符
- 仅允许小写字母、数字及符号 . _ -
960 961 962 |
# File 'lib/v20190924/models.rb', line 960 def Description @Description end |
#NamespaceName ⇒ Object
- 长度需 大于2且小于245个字符
- 仅允许小写字母、数字及符号 . _ -
960 961 962 |
# File 'lib/v20190924/models.rb', line 960 def NamespaceName @NamespaceName end |
#RegistryId ⇒ Object
- 长度需 大于2且小于245个字符
- 仅允许小写字母、数字及符号 . _ -
960 961 962 |
# File 'lib/v20190924/models.rb', line 960 def RegistryId @RegistryId end |
#RepositoryName ⇒ Object
- 长度需 大于2且小于245个字符
- 仅允许小写字母、数字及符号 . _ -
960 961 962 |
# File 'lib/v20190924/models.rb', line 960 def RepositoryName @RepositoryName end |
Instance Method Details
#deserialize(params) ⇒ Object
970 971 972 973 974 975 976 |
# File 'lib/v20190924/models.rb', line 970 def deserialize(params) @RegistryId = params['RegistryId'] @NamespaceName = params['NamespaceName'] @RepositoryName = params['RepositoryName'] @BriefDescription = params['BriefDescription'] @Description = params['Description'] end |