public class WebResourceInfo extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
WebResourceInfo.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
displayName |
protected String |
guid |
protected String |
name |
protected String |
odataType |
protected String |
path |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
protected Integer |
webResourceType |
| Modifier | Constructor and Description |
|---|---|
protected |
WebResourceInfo() |
| Modifier and Type | Method and Description |
|---|---|
static WebResourceInfo.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDisplayName() |
Optional<String> |
getGuid() |
Optional<String> |
getName() |
Optional<String> |
getPath() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getWebResourceType() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
WebResourceInfo |
withDisplayName(String displayName) |
WebResourceInfo |
withGuid(String guid) |
WebResourceInfo |
withName(String name) |
WebResourceInfo |
withPath(String path) |
WebResourceInfo |
withUnmappedField(String name,
String value) |
WebResourceInfo |
withWebResourceType(Integer webResourceType) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected String odataType
protected String path
protected String name
protected String displayName
protected Integer webResourceType
protected String guid
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic WebResourceInfo withPath(String path)
public WebResourceInfo withName(String name)
public WebResourceInfo withDisplayName(String displayName)
public WebResourceInfo withWebResourceType(Integer webResourceType)
public WebResourceInfo withGuid(String guid)
public WebResourceInfo withUnmappedField(String name, String value)
public com.github.davidmoten.odata.client.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 WebResourceInfo.Builder builder()
Copyright © 2018–2020. All rights reserved.