Class: TencentCloud::Dayu::V20180709::DescribeDDoSDefendStatusResponse

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

Overview

DescribeDDoSDefendStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(defendstatus = nil, undefendexpire = nil, showflag = nil, requestid = nil) ⇒ DescribeDDoSDefendStatusResponse

Returns a new instance of DescribeDDoSDefendStatusResponse.



3652
3653
3654
3655
3656
3657
# File 'lib/v20180709/models.rb', line 3652

def initialize(defendstatus=nil, undefendexpire=nil, showflag=nil, requestid=nil)
  @DefendStatus = defendstatus
  @UndefendExpire = undefendexpire
  @ShowFlag = showflag
  @RequestId = requestid
end

Instance Attribute Details

#DefendStatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DefendStatus:

    防护状态,为0表示防护处于关闭状态,为1表示防护处于开启状态

  • UndefendExpire:

    防护临时关闭的过期时间,当防护状态为开启时此字段为空;

  • ShowFlag:

    控制台功能展示字段,为1表示控制台功能展示,为0表示控制台功能隐藏

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3650
3651
3652
# File 'lib/v20180709/models.rb', line 3650

def DefendStatus
  @DefendStatus
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DefendStatus:

    防护状态,为0表示防护处于关闭状态,为1表示防护处于开启状态

  • UndefendExpire:

    防护临时关闭的过期时间,当防护状态为开启时此字段为空;

  • ShowFlag:

    控制台功能展示字段,为1表示控制台功能展示,为0表示控制台功能隐藏

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3650
3651
3652
# File 'lib/v20180709/models.rb', line 3650

def RequestId
  @RequestId
end

#ShowFlagObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DefendStatus:

    防护状态,为0表示防护处于关闭状态,为1表示防护处于开启状态

  • UndefendExpire:

    防护临时关闭的过期时间,当防护状态为开启时此字段为空;

  • ShowFlag:

    控制台功能展示字段,为1表示控制台功能展示,为0表示控制台功能隐藏

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3650
3651
3652
# File 'lib/v20180709/models.rb', line 3650

def ShowFlag
  @ShowFlag
end

#UndefendExpireObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DefendStatus:

    防护状态,为0表示防护处于关闭状态,为1表示防护处于开启状态

  • UndefendExpire:

    防护临时关闭的过期时间,当防护状态为开启时此字段为空;

  • ShowFlag:

    控制台功能展示字段,为1表示控制台功能展示,为0表示控制台功能隐藏

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3650
3651
3652
# File 'lib/v20180709/models.rb', line 3650

def UndefendExpire
  @UndefendExpire
end

Instance Method Details

#deserialize(params) ⇒ Object



3659
3660
3661
3662
3663
3664
# File 'lib/v20180709/models.rb', line 3659

def deserialize(params)
  @DefendStatus = params['DefendStatus']
  @UndefendExpire = params['UndefendExpire']
  @ShowFlag = params['ShowFlag']
  @RequestId = params['RequestId']
end