Class: TencentCloud::Ssm::V20190923::DescribeRotationDetailResponse

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

Overview

DescribeRotationDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enablerotation = nil, frequency = nil, latestrotatetime = nil, nextrotatebegintime = nil, requestid = nil) ⇒ DescribeRotationDetailResponse

Returns a new instance of DescribeRotationDetailResponse.



484
485
486
487
488
489
490
# File 'lib/v20190923/models.rb', line 484

def initialize(enablerotation=nil, frequency=nil, latestrotatetime=nil, nextrotatebegintime=nil, requestid=nil)
  @EnableRotation = enablerotation
  @Frequency = frequency
  @LatestRotateTime = latestrotatetime
  @NextRotateBeginTime = nextrotatebegintime
  @RequestId = requestid
end

Instance Attribute Details

#EnableRotationObject

Parameters:

  • EnableRotation:

    否允许轮转,true表示开启轮转,false表示禁止轮转。

  • Frequency:

    轮转的频率,以天为单位,默认为1天。

  • LatestRotateTime:

    最近一次轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • NextRotateBeginTime:

    下一次开始轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • RequestId:

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



482
483
484
# File 'lib/v20190923/models.rb', line 482

def EnableRotation
  @EnableRotation
end

#FrequencyObject

Parameters:

  • EnableRotation:

    否允许轮转,true表示开启轮转,false表示禁止轮转。

  • Frequency:

    轮转的频率,以天为单位,默认为1天。

  • LatestRotateTime:

    最近一次轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • NextRotateBeginTime:

    下一次开始轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • RequestId:

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



482
483
484
# File 'lib/v20190923/models.rb', line 482

def Frequency
  @Frequency
end

#LatestRotateTimeObject

Parameters:

  • EnableRotation:

    否允许轮转,true表示开启轮转,false表示禁止轮转。

  • Frequency:

    轮转的频率,以天为单位,默认为1天。

  • LatestRotateTime:

    最近一次轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • NextRotateBeginTime:

    下一次开始轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • RequestId:

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



482
483
484
# File 'lib/v20190923/models.rb', line 482

def LatestRotateTime
  @LatestRotateTime
end

#NextRotateBeginTimeObject

Parameters:

  • EnableRotation:

    否允许轮转,true表示开启轮转,false表示禁止轮转。

  • Frequency:

    轮转的频率,以天为单位,默认为1天。

  • LatestRotateTime:

    最近一次轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • NextRotateBeginTime:

    下一次开始轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • RequestId:

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



482
483
484
# File 'lib/v20190923/models.rb', line 482

def NextRotateBeginTime
  @NextRotateBeginTime
end

#RequestIdObject

Parameters:

  • EnableRotation:

    否允许轮转,true表示开启轮转,false表示禁止轮转。

  • Frequency:

    轮转的频率,以天为单位,默认为1天。

  • LatestRotateTime:

    最近一次轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • NextRotateBeginTime:

    下一次开始轮转的时间,显式可见的时间字符串,格式 2006-01-02 15:04:05。

  • RequestId:

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



482
483
484
# File 'lib/v20190923/models.rb', line 482

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



492
493
494
495
496
497
498
# File 'lib/v20190923/models.rb', line 492

def deserialize(params)
  @EnableRotation = params['EnableRotation']
  @Frequency = params['Frequency']
  @LatestRotateTime = params['LatestRotateTime']
  @NextRotateBeginTime = params['NextRotateBeginTime']
  @RequestId = params['RequestId']
end