public class CompanyPortalBlockedAction extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
CompanyPortalBlockedAction.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected CompanyPortalAction |
action |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected OwnerType |
ownerType |
protected DevicePlatformType |
platform |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
CompanyPortalBlockedAction() |
| Modifier and Type | Method and Description |
|---|---|
static CompanyPortalBlockedAction.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<CompanyPortalAction> |
getAction()
“Device Action”
|
Optional<OwnerType> |
getOwnerType()
“Device ownership type”
|
Optional<DevicePlatformType> |
getPlatform()
“Device OS/Platform”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
CompanyPortalBlockedAction |
withAction(CompanyPortalAction action)
Returns an immutable copy of
this with just the action field
changed. |
CompanyPortalBlockedAction |
withOwnerType(OwnerType ownerType)
Returns an immutable copy of
this with just the ownerType field
changed. |
CompanyPortalBlockedAction |
withPlatform(DevicePlatformType platform)
Returns an immutable copy of
this with just the platform field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected DevicePlatformType platform
protected OwnerType ownerType
protected CompanyPortalAction action
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<DevicePlatformType> getPlatform()
public CompanyPortalBlockedAction withPlatform(DevicePlatformType platform)
this with just the platform field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Device OS/Platform”
platform - new value of platform field (as defined in service metadata)this with just the platform field changedpublic Optional<OwnerType> getOwnerType()
public CompanyPortalBlockedAction withOwnerType(OwnerType ownerType)
this with just the ownerType field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Device ownership type”
ownerType - new value of ownerType field (as defined in service metadata)this with just the ownerType field changedpublic Optional<CompanyPortalAction> getAction()
public CompanyPortalBlockedAction withAction(CompanyPortalAction action)
this with just the action field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Device Action”
action - new value of action field (as defined in service metadata)this with just the action field changedpublic 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 CompanyPortalBlockedAction.Builder builder()
Copyright © 2018–2020. All rights reserved.