public class ServiceUserAgent extends UserAgent implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceUserAgent.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected ServiceRole |
role |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
applicationVersion, contextPath, headerValue, odataType| Modifier | Constructor and Description |
|---|---|
protected |
ServiceUserAgent() |
| Modifier and Type | Method and Description |
|---|---|
static ServiceUserAgent.Builder |
builderServiceUserAgent()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<ServiceRole> |
getRole() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ServiceUserAgent |
withRole(ServiceRole role) |
getApplicationVersion, getHeaderValue, withApplicationVersion, withHeaderValueprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected ServiceRole role
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class UserAgentpublic Optional<ServiceRole> getRole()
public ServiceUserAgent withRole(ServiceRole role)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class UserAgentpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class UserAgentpublic static ServiceUserAgent.Builder builderServiceUserAgent()
Copyright © 2018–2020. All rights reserved.