Class: TencentCloud::Tcr::V20190924::ModifyWebhookTriggerRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::ModifyWebhookTriggerRequest
- Defined in:
- lib/v20190924/models.rb
Overview
ModifyWebhookTrigger请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(registryid = nil, trigger = nil, namespace = nil) ⇒ ModifyWebhookTriggerRequest
constructor
A new instance of ModifyWebhookTriggerRequest.
Constructor Details
#initialize(registryid = nil, trigger = nil, namespace = nil) ⇒ ModifyWebhookTriggerRequest
Returns a new instance of ModifyWebhookTriggerRequest.
5853 5854 5855 5856 5857 |
# File 'lib/v20190924/models.rb', line 5853 def initialize(registryid=nil, trigger=nil, namespace=nil) @RegistryId = registryid @Trigger = trigger @Namespace = namespace end |
Instance Attribute Details
#Namespace ⇒ Object
5851 5852 5853 |
# File 'lib/v20190924/models.rb', line 5851 def Namespace @Namespace end |
#RegistryId ⇒ Object
5851 5852 5853 |
# File 'lib/v20190924/models.rb', line 5851 def RegistryId @RegistryId end |
#Trigger ⇒ Object
5851 5852 5853 |
# File 'lib/v20190924/models.rb', line 5851 def Trigger @Trigger end |
Instance Method Details
#deserialize(params) ⇒ Object
5859 5860 5861 5862 5863 5864 5865 5866 |
# File 'lib/v20190924/models.rb', line 5859 def deserialize(params) @RegistryId = params['RegistryId'] unless params['Trigger'].nil? @Trigger = WebhookTrigger.new @Trigger.deserialize(params['Trigger']) end @Namespace = params['Namespace'] end |