Class: TencentCloud::Emr::V20190103::RepeatStrategy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::RepeatStrategy
- Defined in:
- lib/v20190103/models.rb
Overview
定时伸缩任务策略
Instance Attribute Summary collapse
-
#DayRepeat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Expire ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#MonthRepeat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NotRepeat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RepeatType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#StartTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#WeekRepeat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(repeattype = nil, dayrepeat = nil, weekrepeat = nil, monthrepeat = nil, notrepeat = nil, expire = nil, starttime = nil) ⇒ RepeatStrategy
constructor
A new instance of RepeatStrategy.
Constructor Details
#initialize(repeattype = nil, dayrepeat = nil, weekrepeat = nil, monthrepeat = nil, notrepeat = nil, expire = nil, starttime = nil) ⇒ RepeatStrategy
Returns a new instance of RepeatStrategy.
11924 11925 11926 11927 11928 11929 11930 11931 11932 |
# File 'lib/v20190103/models.rb', line 11924 def initialize(repeattype=nil, dayrepeat=nil, weekrepeat=nil, monthrepeat=nil, notrepeat=nil, expire=nil, starttime=nil) @RepeatType = repeattype @DayRepeat = dayrepeat @WeekRepeat = weekrepeat @MonthRepeat = monthrepeat @NotRepeat = notrepeat @Expire = expire @StartTime = starttime end |
Instance Attribute Details
#DayRepeat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11922 11923 11924 |
# File 'lib/v20190103/models.rb', line 11922 def DayRepeat @DayRepeat end |
#Expire ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11922 11923 11924 |
# File 'lib/v20190103/models.rb', line 11922 def Expire @Expire end |
#MonthRepeat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11922 11923 11924 |
# File 'lib/v20190103/models.rb', line 11922 def MonthRepeat @MonthRepeat end |
#NotRepeat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11922 11923 11924 |
# File 'lib/v20190103/models.rb', line 11922 def NotRepeat @NotRepeat end |
#RepeatType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11922 11923 11924 |
# File 'lib/v20190103/models.rb', line 11922 def RepeatType @RepeatType end |
#StartTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11922 11923 11924 |
# File 'lib/v20190103/models.rb', line 11922 def StartTime @StartTime end |
#WeekRepeat ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11922 11923 11924 |
# File 'lib/v20190103/models.rb', line 11922 def WeekRepeat @WeekRepeat end |
Instance Method Details
#deserialize(params) ⇒ Object
11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 |
# File 'lib/v20190103/models.rb', line 11934 def deserialize(params) @RepeatType = params['RepeatType'] unless params['DayRepeat'].nil? @DayRepeat = DayRepeatStrategy.new @DayRepeat.deserialize(params['DayRepeat']) end unless params['WeekRepeat'].nil? @WeekRepeat = WeekRepeatStrategy.new @WeekRepeat.deserialize(params['WeekRepeat']) end unless params['MonthRepeat'].nil? @MonthRepeat = MonthRepeatStrategy.new @MonthRepeat.deserialize(params['MonthRepeat']) end unless params['NotRepeat'].nil? @NotRepeat = NotRepeatStrategy.new @NotRepeat.deserialize(params['NotRepeat']) end @Expire = params['Expire'] @StartTime = params['StartTime'] end |