public class BookingReminder extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
BookingReminder.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
message |
protected String |
odataType |
protected Duration |
offset |
protected BookingReminderRecipients |
recipients |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
BookingReminder() |
| Modifier and Type | Method and Description |
|---|---|
static BookingReminder.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getMessage()
“Message to send.”
|
Optional<Duration> |
getOffset()
“How much time before an appointment the reminder should be sent.”
|
Optional<BookingReminderRecipients> |
getRecipients()
“Who should receive the reminder.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
BookingReminder |
withMessage(String message)
Returns an immutable copy of
this with just the message field
changed. |
BookingReminder |
withOffset(Duration offset)
Returns an immutable copy of
this with just the offset field
changed. |
BookingReminder |
withRecipients(BookingReminderRecipients recipients)
Returns an immutable copy of
this with just the recipients field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Duration offset
protected BookingReminderRecipients recipients
protected String message
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<Duration> getOffset()
public BookingReminder withOffset(Duration offset)
this with just the offset field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“How much time before an appointment the reminder should be sent.”
offset - new value of offset field (as defined in service metadata)this with just the offset field changedpublic Optional<BookingReminderRecipients> getRecipients()
public BookingReminder withRecipients(BookingReminderRecipients recipients)
this with just the recipients field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Who should receive the reminder.”
recipients - new value of recipients field (as defined in service metadata)this with just the recipients field changedpublic BookingReminder withMessage(String message)
this with just the message field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Message to send.”
message - new value of message field (as defined in service metadata)this with just the message field changedpublic 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 BookingReminder.Builder builder()
Copyright © 2018–2020. All rights reserved.