public class ResourceReference extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceReference.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
id |
protected String |
odataType |
protected String |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
webUrl |
| Modifier | Constructor and Description |
|---|---|
protected |
ResourceReference() |
| Modifier and Type | Method and Description |
|---|---|
static ResourceReference.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getId() |
Optional<String> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getWebUrl() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ResourceReference |
withId(String id) |
ResourceReference |
withType(String type) |
ResourceReference |
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 webUrl
protected String id
protected String type
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic ResourceReference withWebUrl(String webUrl)
public ResourceReference withId(String id)
public ResourceReference withType(String type)
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 ResourceReference.Builder builder()
Copyright © 2018–2020. All rights reserved.