public class TimingSettingsReq extends AbstractModel
Constructor and Description |
---|
TimingSettingsReq() |
TimingSettingsReq(TimingSettingsReq source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getEndTime()
Get This parameter is required if `EventType` is `TIMED_RECORD`.
|
String |
getStartTime()
Get This parameter is required if `EventType` is `TIMED_RECORD`.
|
String |
getStartType()
Get Event trigger type.
|
String |
getTime()
Get This parameter is required if `EventType` is `INPUT_SWITCH` and `StartType` is `FIXED_TIME`.
|
void |
setEndTime(String EndTime)
Set This parameter is required if `EventType` is `TIMED_RECORD`.
|
void |
setStartTime(String StartTime)
Set This parameter is required if `EventType` is `TIMED_RECORD`.
|
void |
setStartType(String StartType)
Set Event trigger type.
|
void |
setTime(String Time)
Set This parameter is required if `EventType` is `INPUT_SWITCH` and `StartType` is `FIXED_TIME`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public TimingSettingsReq()
public TimingSettingsReq(TimingSettingsReq source)
public String getStartType()
public void setStartType(String StartType)
StartType
- Event trigger type. Valid values: `FIXED_TIME`, `IMMEDIATE`. This parameter is required if `EventType` is `INPUT_SWITCH`.public String getTime()
public void setTime(String Time)
Time
- This parameter is required if `EventType` is `INPUT_SWITCH` and `StartType` is `FIXED_TIME`.
It must be in UTC format, e.g., `2020-01-01T12:00:00Z`.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- This parameter is required if `EventType` is `TIMED_RECORD`.
It specifies the recording start time in UTC format (e.g., `2020-01-01T12:00:00Z`) and must be at least 1 minute later than the current time.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- This parameter is required if `EventType` is `TIMED_RECORD`.
It specifies the recording end time in UTC format (e.g., `2020-01-01T12:00:00Z`) and must be at least 1 minute later than the recording start time.Copyright © 2023. All rights reserved.