Class: TencentCloud::Tem::V20210701::ModifyIngressRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210701/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.



3724
3725
3726
3727
# File 'lib/v20210701/models.rb', line 3724

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

Instance Attribute Details

#IngressObject

Parameters:

  • Ingress:

    Ingress 规则配置

  • SourceChannel:

    来源渠道



3722
3723
3724
# File 'lib/v20210701/models.rb', line 3722

def Ingress
  @Ingress
end

#SourceChannelObject

Parameters:

  • Ingress:

    Ingress 规则配置

  • SourceChannel:

    来源渠道



3722
3723
3724
# File 'lib/v20210701/models.rb', line 3722

def SourceChannel
  @SourceChannel
end

Instance Method Details

#deserialize(params) ⇒ Object



3729
3730
3731
3732
3733
3734
3735
# File 'lib/v20210701/models.rb', line 3729

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