Class: TencentCloud::Tcr::V20190924::CreateWebhookTriggerRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::CreateWebhookTriggerRequest
- Defined in:
- lib/v20190924/models.rb
Overview
CreateWebhookTrigger请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(registryid = nil, trigger = nil, namespace = nil) ⇒ CreateWebhookTriggerRequest
constructor
A new instance of CreateWebhookTriggerRequest.
Constructor Details
#initialize(registryid = nil, trigger = nil, namespace = nil) ⇒ CreateWebhookTriggerRequest
Returns a new instance of CreateWebhookTriggerRequest.
1363 1364 1365 1366 1367 |
# File 'lib/v20190924/models.rb', line 1363 def initialize(registryid=nil, trigger=nil, namespace=nil) @RegistryId = registryid @Trigger = trigger @Namespace = namespace end |
Instance Attribute Details
#Namespace ⇒ Object
1361 1362 1363 |
# File 'lib/v20190924/models.rb', line 1361 def Namespace @Namespace end |
#RegistryId ⇒ Object
1361 1362 1363 |
# File 'lib/v20190924/models.rb', line 1361 def RegistryId @RegistryId end |
#Trigger ⇒ Object
1361 1362 1363 |
# File 'lib/v20190924/models.rb', line 1361 def Trigger @Trigger end |
Instance Method Details
#deserialize(params) ⇒ Object
1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'lib/v20190924/models.rb', line 1369 def deserialize(params) @RegistryId = params['RegistryId'] unless params['Trigger'].nil? @Trigger = WebhookTrigger.new @Trigger.deserialize(params['Trigger']) end @Namespace = params['Namespace'] end |