Class TypedEmailAddress
- java.lang.Object
-
- odata.msgraph.client.beta.complex.EmailAddress
-
- odata.msgraph.client.beta.complex.TypedEmailAddress
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class TypedEmailAddress extends EmailAddress implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypedEmailAddress.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringotherLabelprotected EmailTypetype-
Fields inherited from class odata.msgraph.client.beta.complex.EmailAddress
address, contextPath, name, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTypedEmailAddress()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypedEmailAddress.BuilderbuilderTypedEmailAddress()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()TypedEmailAddresswithOtherLabel(String otherLabel)TypedEmailAddresswithType(EmailType type)TypedEmailAddresswithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.EmailAddress
builder, getAddress, getName, withAddress, withName
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEmailAddress
-
withOtherLabel
public TypedEmailAddress withOtherLabel(String otherLabel)
-
withType
public TypedEmailAddress withType(EmailType type)
-
withUnmappedField
public TypedEmailAddress withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEmailAddress
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEmailAddress
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEmailAddress
-
builderTypedEmailAddress
public static TypedEmailAddress.Builder builderTypedEmailAddress()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
toString
public String toString()
- Overrides:
toStringin classEmailAddress
-
-