Class: TencentCloud::Tem::V20201221::ModifyIngressRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201221/models.rb

Overview

ModifyIngress请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ingress = nil, sourcechannel = nil) ⇒ ModifyIngressRequest

Returns a new instance of ModifyIngressRequest.



1423
1424
1425
1426
# File 'lib/v20201221/models.rb', line 1423

def initialize(ingress=nil, sourcechannel=nil)
  @Ingress = ingress
  @SourceChannel = sourcechannel
end

Instance Attribute Details

#IngressObject

Parameters:

  • Ingress:

    Ingress 规则配置

  • SourceChannel:

    来源渠道



1421
1422
1423
# File 'lib/v20201221/models.rb', line 1421

def Ingress
  @Ingress
end

#SourceChannelObject

Parameters:

  • Ingress:

    Ingress 规则配置

  • SourceChannel:

    来源渠道



1421
1422
1423
# File 'lib/v20201221/models.rb', line 1421

def SourceChannel
  @SourceChannel
end

Instance Method Details

#deserialize(params) ⇒ Object



1428
1429
1430
1431
1432
1433
1434
# File 'lib/v20201221/models.rb', line 1428

def deserialize(params)
  unless params['Ingress'].nil?
    @Ingress = IngressInfo.new
    @Ingress.deserialize(params['Ingress'])
  end
  @SourceChannel = params['SourceChannel']
end