@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class WeeklyFrequencyDetails extends AbstractFrequencyDetails
Frequency Details model for weekly frequency based on day of week.
Note: Objects should always be created or deserialized using the WeeklyFrequencyDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the WeeklyFrequencyDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
WeeklyFrequencyDetails.Builder |
static class |
WeeklyFrequencyDetails.Days |
AbstractFrequencyDetails.Frequency, AbstractFrequencyDetails.ModelType
Constructor and Description |
---|
WeeklyFrequencyDetails(AbstractFrequencyDetails.Frequency frequency,
Time time,
List<WeeklyFrequencyDetails.Days> days)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static WeeklyFrequencyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<WeeklyFrequencyDetails.Days> |
getDays()
A list of days of the week to be scheduled.
|
Time |
getTime() |
int |
hashCode() |
WeeklyFrequencyDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getFrequency
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public WeeklyFrequencyDetails(AbstractFrequencyDetails.Frequency frequency, Time time, List<WeeklyFrequencyDetails.Days> days)
public static WeeklyFrequencyDetails.Builder builder()
Create a new builder.
public WeeklyFrequencyDetails.Builder toBuilder()
public Time getTime()
public List<WeeklyFrequencyDetails.Days> getDays()
A list of days of the week to be scheduled. i.e. execute on Monday and Thursday.
public String toString()
toString
in class AbstractFrequencyDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class AbstractFrequencyDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class AbstractFrequencyDetails
public int hashCode()
hashCode
in class AbstractFrequencyDetails
Copyright © 2016–2023. All rights reserved.