Class: TencentCloud::Waf::V20180125::CronJob

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

Overview

规则周期执行的数据结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(days = nil, wdays = nil, starttime = nil, endtime = nil) ⇒ CronJob



4325
4326
4327
4328
4329
4330
# File 'lib/v20180125/models.rb', line 4325

def initialize(days=nil, wdays=nil, starttime=nil, endtime=nil)
  @Days = days
  @WDays = wdays
  @StartTime = starttime
  @EndTime = endtime
end

Instance Attribute Details

#DaysObject



4323
4324
4325
# File 'lib/v20180125/models.rb', line 4323

def Days
  @Days
end

#EndTimeObject



4323
4324
4325
# File 'lib/v20180125/models.rb', line 4323

def EndTime
  @EndTime
end

#StartTimeObject



4323
4324
4325
# File 'lib/v20180125/models.rb', line 4323

def StartTime
  @StartTime
end

#WDaysObject



4323
4324
4325
# File 'lib/v20180125/models.rb', line 4323

def WDays
  @WDays
end

Instance Method Details

#deserialize(params) ⇒ Object



4332
4333
4334
4335
4336
4337
# File 'lib/v20180125/models.rb', line 4332

def deserialize(params)
  @Days = params['Days']
  @WDays = params['WDays']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
end