Class: TencentCloud::Emr::V20190103::ModifyInspectionSettingsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::ModifyInspectionSettingsRequest
- Defined in:
- lib/v20190103/models.rb
Overview
ModifyInspectionSettings请求参数结构体
Instance Attribute Summary collapse
- #Clock ⇒ Object
- #DayOfMonth ⇒ Object
- #DayOfWeek ⇒ Object
- #EndTime ⇒ Object
- #InstanceId ⇒ Object
- #JobId ⇒ Object
- #Settings ⇒ Object
- #StartTime ⇒ Object
- #Strategy ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, type = nil, settings = nil, starttime = nil, endtime = nil, strategy = nil, clock = nil, dayofweek = nil, dayofmonth = nil, jobid = nil) ⇒ ModifyInspectionSettingsRequest
constructor
A new instance of ModifyInspectionSettingsRequest.
Constructor Details
#initialize(instanceid = nil, type = nil, settings = nil, starttime = nil, endtime = nil, strategy = nil, clock = nil, dayofweek = nil, dayofmonth = nil, jobid = nil) ⇒ ModifyInspectionSettingsRequest
Returns a new instance of ModifyInspectionSettingsRequest.
8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 |
# File 'lib/v20190103/models.rb', line 8772 def initialize(instanceid=nil, type=nil, settings=nil, starttime=nil, endtime=nil, strategy=nil, clock=nil, dayofweek=nil, dayofmonth=nil, jobid=nil) @InstanceId = instanceid @Type = type @Settings = settings @StartTime = starttime @EndTime = endtime @Strategy = strategy @Clock = clock @DayOfWeek = dayofweek @DayOfMonth = dayofmonth @JobId = jobid end |
Instance Attribute Details
#Clock ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def Clock @Clock end |
#DayOfMonth ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def DayOfMonth @DayOfMonth end |
#DayOfWeek ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def DayOfWeek @DayOfWeek end |
#EndTime ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def EndTime @EndTime end |
#InstanceId ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def InstanceId @InstanceId end |
#JobId ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def JobId @JobId end |
#Settings ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def Settings @Settings end |
#StartTime ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def StartTime @StartTime end |
#Strategy ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def Strategy @Strategy end |
#Type ⇒ Object
8770 8771 8772 |
# File 'lib/v20190103/models.rb', line 8770 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 |
# File 'lib/v20190103/models.rb', line 8785 def deserialize(params) @InstanceId = params['InstanceId'] @Type = params['Type'] unless params['Settings'].nil? @Settings = [] params['Settings'].each do |i| inspectiontasksettings_tmp = InspectionTaskSettings.new inspectiontasksettings_tmp.deserialize(i) @Settings << inspectiontasksettings_tmp end end @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Strategy = params['Strategy'] @Clock = params['Clock'] @DayOfWeek = params['DayOfWeek'] @DayOfMonth = params['DayOfMonth'] @JobId = params['JobId'] end |