public class CompanyDetail extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
CompanyDetail.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected PhysicalAddress |
address |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
department |
protected String |
displayName |
protected String |
odataType |
protected String |
officeLocation |
protected String |
pronunciation |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
webUrl |
| Modifier | Constructor and Description |
|---|---|
protected |
CompanyDetail() |
| Modifier and Type | Method and Description |
|---|---|
static CompanyDetail.Builder |
builder()
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.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getWebUrl() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
CompanyDetail |
withAddress(PhysicalAddress address) |
CompanyDetail |
withDepartment(String department) |
CompanyDetail |
withDisplayName(String displayName) |
CompanyDetail |
withOfficeLocation(String officeLocation) |
CompanyDetail |
withPronunciation(String pronunciation) |
CompanyDetail |
withWebUrl(String webUrl) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String displayName
protected String pronunciation
protected String department
protected String officeLocation
protected PhysicalAddress address
protected String webUrl
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic CompanyDetail withDisplayName(String displayName)
public CompanyDetail withPronunciation(String pronunciation)
public CompanyDetail withDepartment(String department)
public CompanyDetail withOfficeLocation(String officeLocation)
public Optional<PhysicalAddress> getAddress()
public CompanyDetail withAddress(PhysicalAddress address)
public CompanyDetail withWebUrl(String webUrl)
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 CompanyDetail.Builder builder()
Copyright © 2018–2020. All rights reserved.