public class GovernanceSchedule extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
GovernanceSchedule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Duration |
duration |
protected OffsetDateTime |
endDateTime |
protected String |
odataType |
protected OffsetDateTime |
startDateTime |
protected String |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
GovernanceSchedule() |
| Modifier and Type | Method and Description |
|---|---|
static GovernanceSchedule.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Duration> |
getDuration() |
Optional<OffsetDateTime> |
getEndDateTime() |
Optional<OffsetDateTime> |
getStartDateTime() |
Optional<String> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
GovernanceSchedule |
withDuration(Duration duration) |
GovernanceSchedule |
withEndDateTime(OffsetDateTime endDateTime) |
GovernanceSchedule |
withStartDateTime(OffsetDateTime startDateTime) |
GovernanceSchedule |
withType(String type) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String type
protected OffsetDateTime startDateTime
protected OffsetDateTime endDateTime
protected Duration duration
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic GovernanceSchedule withType(String type)
public Optional<OffsetDateTime> getStartDateTime()
public GovernanceSchedule withStartDateTime(OffsetDateTime startDateTime)
public Optional<OffsetDateTime> getEndDateTime()
public GovernanceSchedule withEndDateTime(OffsetDateTime endDateTime)
public GovernanceSchedule withDuration(Duration duration)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static GovernanceSchedule.Builder builder()
Copyright © 2018–2020. All rights reserved.