Class CompanyDetail
- java.lang.Object
-
- odata.msgraph.client.beta.complex.CompanyDetail
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class CompanyDetail extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompanyDetail.Builder
-
Field Summary
Fields Modifier and Type Field Description protected PhysicalAddressaddressprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringdepartmentprotected StringdisplayNameprotected StringodataTypeprotected StringofficeLocationprotected Stringpronunciationprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringwebUrl
-
Constructor Summary
Constructors Modifier Constructor Description protectedCompanyDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompanyDetail.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<PhysicalAddress>getAddress()Optional<String>getDepartment()Optional<String>getDisplayName()Optional<String>getOfficeLocation()Optional<String>getPronunciation()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getWebUrl()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()CompanyDetailwithAddress(PhysicalAddress address)CompanyDetailwithDepartment(String department)CompanyDetailwithDisplayName(String displayName)CompanyDetailwithOfficeLocation(String officeLocation)CompanyDetailwithPronunciation(String pronunciation)CompanyDetailwithUnmappedField(String name, String value)CompanyDetailwithWebUrl(String webUrl)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
address
protected PhysicalAddress address
-
department
protected String department
-
displayName
protected String displayName
-
officeLocation
protected String officeLocation
-
pronunciation
protected String pronunciation
-
webUrl
protected String webUrl
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAddress
public Optional<PhysicalAddress> getAddress()
-
withAddress
public CompanyDetail withAddress(PhysicalAddress address)
-
withDepartment
public CompanyDetail withDepartment(String department)
-
withDisplayName
public CompanyDetail withDisplayName(String displayName)
-
withOfficeLocation
public CompanyDetail withOfficeLocation(String officeLocation)
-
withPronunciation
public CompanyDetail withPronunciation(String pronunciation)
-
withWebUrl
public CompanyDetail withWebUrl(String webUrl)
-
withUnmappedField
public CompanyDetail withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static CompanyDetail.Builder builder()
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
-
-