Class: TencentCloud::Cwp::V20180228::WebHookReceiver
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::WebHookReceiver
- Defined in:
- lib/v20180228/models.rb
Overview
告警接收人
Instance Attribute Summary collapse
- #Addr ⇒ Object
- #Alias ⇒ Object
- #FunctionName ⇒ Object
- #FunctionVersion ⇒ Object
- #Id ⇒ Object
- #Name ⇒ Object
- #Namespace ⇒ Object
- #SCFRegion ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, addr = nil, type = nil, scfregion = nil, namespace = nil, functionname = nil, functionversion = nil, _alias = nil) ⇒ WebHookReceiver
constructor
A new instance of WebHookReceiver.
Constructor Details
#initialize(id = nil, name = nil, addr = nil, type = nil, scfregion = nil, namespace = nil, functionname = nil, functionversion = nil, _alias = nil) ⇒ WebHookReceiver
Returns a new instance of WebHookReceiver.
41218 41219 41220 41221 41222 41223 41224 41225 41226 41227 41228 |
# File 'lib/v20180228/models.rb', line 41218 def initialize(id=nil, name=nil, addr=nil, type=nil, scfregion=nil, namespace=nil, functionname=nil, functionversion=nil, _alias=nil) @Id = id @Name = name @Addr = addr @Type = type @SCFRegion = scfregion @Namespace = namespace @FunctionName = functionname @FunctionVersion = functionversion @Alias = _alias end |
Instance Attribute Details
#Addr ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def Addr @Addr end |
#Alias ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def Alias @Alias end |
#FunctionName ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def FunctionName @FunctionName end |
#FunctionVersion ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def FunctionVersion @FunctionVersion end |
#Id ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def Id @Id end |
#Name ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def Name @Name end |
#Namespace ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def Namespace @Namespace end |
#SCFRegion ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def SCFRegion @SCFRegion end |
#Type ⇒ Object
41216 41217 41218 |
# File 'lib/v20180228/models.rb', line 41216 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
41230 41231 41232 41233 41234 41235 41236 41237 41238 41239 41240 |
# File 'lib/v20180228/models.rb', line 41230 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @Addr = params['Addr'] @Type = params['Type'] @SCFRegion = params['SCFRegion'] @Namespace = params['Namespace'] @FunctionName = params['FunctionName'] @FunctionVersion = params['FunctionVersion'] @Alias = params['Alias'] end |