Class: TencentCloud::Tse::V20201207::ServiceWafStatus

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

Overview

服务的 WAF 状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, id = nil, type = nil, status = nil) ⇒ ServiceWafStatus

Returns a new instance of ServiceWafStatus.



11626
11627
11628
11629
11630
11631
# File 'lib/v20201207/models.rb', line 11626

def initialize(name=nil, id=nil, type=nil, status=nil)
  @Name = name
  @Id = id
  @Type = type
  @Status = status
end

Instance Attribute Details

#IdObject

Parameters:

  • Name:

    服务的名字

  • Id:

    服务的 ID

  • Type:

    服务的类型

  • Status:

    服务是否开启 WAF 防护



11624
11625
11626
# File 'lib/v20201207/models.rb', line 11624

def Id
  @Id
end

#NameObject

Parameters:

  • Name:

    服务的名字

  • Id:

    服务的 ID

  • Type:

    服务的类型

  • Status:

    服务是否开启 WAF 防护



11624
11625
11626
# File 'lib/v20201207/models.rb', line 11624

def Name
  @Name
end

#StatusObject

Parameters:

  • Name:

    服务的名字

  • Id:

    服务的 ID

  • Type:

    服务的类型

  • Status:

    服务是否开启 WAF 防护



11624
11625
11626
# File 'lib/v20201207/models.rb', line 11624

def Status
  @Status
end

#TypeObject

Parameters:

  • Name:

    服务的名字

  • Id:

    服务的 ID

  • Type:

    服务的类型

  • Status:

    服务是否开启 WAF 防护



11624
11625
11626
# File 'lib/v20201207/models.rb', line 11624

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



11633
11634
11635
11636
11637
11638
# File 'lib/v20201207/models.rb', line 11633

def deserialize(params)
  @Name = params['Name']
  @Id = params['Id']
  @Type = params['Type']
  @Status = params['Status']
end