public class CredentialUsageSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
Org.OData.Capabilities.V1.TopSupported
true
Org.OData.Capabilities.V1.SkipSupported
false
| Modifier and Type | Class and Description |
|---|---|
static class |
CredentialUsageSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected UsageAuthMethod |
authMethod |
protected Long |
failureActivityCount |
protected FeatureType |
feature |
protected Long |
successfulActivityCount |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
CredentialUsageSummary() |
| Modifier and Type | Method and Description |
|---|---|
static CredentialUsageSummary.Builder |
builderCredentialUsageSummary()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<UsageAuthMethod> |
getAuthMethod() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Long> |
getFailureActivityCount() |
Optional<FeatureType> |
getFeature() |
Optional<Long> |
getSuccessfulActivityCount() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
CredentialUsageSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
CredentialUsageSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
CredentialUsageSummary |
withAuthMethod(UsageAuthMethod authMethod) |
CredentialUsageSummary |
withFailureActivityCount(Long failureActivityCount) |
CredentialUsageSummary |
withFeature(FeatureType feature) |
CredentialUsageSummary |
withSuccessfulActivityCount(Long successfulActivityCount) |
protected FeatureType feature
protected Long successfulActivityCount
protected Long failureActivityCount
protected UsageAuthMethod authMethod
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static CredentialUsageSummary.Builder builderCredentialUsageSummary()
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<FeatureType> getFeature()
public CredentialUsageSummary withFeature(FeatureType feature)
public CredentialUsageSummary withSuccessfulActivityCount(Long successfulActivityCount)
public CredentialUsageSummary withFailureActivityCount(Long failureActivityCount)
public Optional<UsageAuthMethod> getAuthMethod()
public CredentialUsageSummary withAuthMethod(UsageAuthMethod authMethod)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic CredentialUsageSummary patch()
this with changed fields reset.public CredentialUsageSummary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.