public class TypedEmailAddress extends EmailAddress implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
TypedEmailAddress.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
otherLabel |
protected EmailType |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
address, contextPath, name, odataType| Modifier | Constructor and Description |
|---|---|
protected |
TypedEmailAddress() |
| Modifier and Type | Method and Description |
|---|---|
static TypedEmailAddress.Builder |
builderTypedEmailAddress()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getOtherLabel() |
Optional<EmailType> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
TypedEmailAddress |
withOtherLabel(String otherLabel) |
TypedEmailAddress |
withType(EmailType type) |
builder, getAddress, getName, withAddress, withNameprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected EmailType type
protected String otherLabel
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class EmailAddresspublic TypedEmailAddress withType(EmailType type)
public TypedEmailAddress withOtherLabel(String otherLabel)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class EmailAddresspublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class EmailAddresspublic static TypedEmailAddress.Builder builderTypedEmailAddress()
public String toString()
toString in class EmailAddressCopyright © 2018–2020. All rights reserved.