public class InferenceClassificationOverride extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
InferenceClassificationOverride.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected InferenceClassificationType |
classifyAs |
protected EmailAddress |
senderEmailAddress |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
InferenceClassificationOverride() |
| Modifier and Type | Method and Description |
|---|---|
static InferenceClassificationOverride.Builder |
builderInferenceClassificationOverride()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<InferenceClassificationType> |
getClassifyAs() |
Optional<EmailAddress> |
getSenderEmailAddress() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
InferenceClassificationOverride |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
InferenceClassificationOverride |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
InferenceClassificationOverride |
withClassifyAs(InferenceClassificationType classifyAs) |
InferenceClassificationOverride |
withSenderEmailAddress(EmailAddress senderEmailAddress) |
protected InferenceClassificationType classifyAs
protected EmailAddress senderEmailAddress
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static InferenceClassificationOverride.Builder builderInferenceClassificationOverride()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<InferenceClassificationType> getClassifyAs()
public InferenceClassificationOverride withClassifyAs(InferenceClassificationType classifyAs)
public Optional<EmailAddress> getSenderEmailAddress()
public InferenceClassificationOverride withSenderEmailAddress(EmailAddress senderEmailAddress)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic InferenceClassificationOverride patch()
this with changed fields reset.public InferenceClassificationOverride put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.