Class: TencentCloud::Waf::V20180125::DescribeCCAutoStatusResponse

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

Overview

DescribeCCAutoStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(autoccswitch = nil, requestid = nil) ⇒ DescribeCCAutoStatusResponse

Returns a new instance of DescribeCCAutoStatusResponse.



4275
4276
4277
4278
# File 'lib/v20180125/models.rb', line 4275

def initialize(autoccswitch=nil, requestid=nil)
  @AutoCCSwitch = autoccswitch
  @RequestId = requestid
end

Instance Attribute Details

#AutoCCSwitchObject

Parameters:

  • AutoCCSwitch:

    配置状态,0表示关闭,1表示开启

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4273
4274
4275
# File 'lib/v20180125/models.rb', line 4273

def AutoCCSwitch
  @AutoCCSwitch
end

#RequestIdObject

Parameters:

  • AutoCCSwitch:

    配置状态,0表示关闭,1表示开启

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4273
4274
4275
# File 'lib/v20180125/models.rb', line 4273

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



4280
4281
4282
4283
# File 'lib/v20180125/models.rb', line 4280

def deserialize(params)
  @AutoCCSwitch = params['AutoCCSwitch']
  @RequestId = params['RequestId']
end