Package odata.msgraph.client.beta.entity
Class CredentialUsageSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.CredentialUsageSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class CredentialUsageSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.TopSupported
true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCredentialUsageSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UsageAuthMethodauthMethodprotected LongfailureActivityCountprotected FeatureTypefeatureprotected LongsuccessfulActivityCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCredentialUsageSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CredentialUsageSummary.BuilderbuilderCredentialUsageSummary()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.ChangedFieldsgetChangedFields()Optional<Long>getFailureActivityCount()Optional<FeatureType>getFeature()Optional<Long>getSuccessfulActivityCount()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()CredentialUsageSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)CredentialUsageSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()CredentialUsageSummarywithAuthMethod(UsageAuthMethod authMethod)CredentialUsageSummarywithFailureActivityCount(Long failureActivityCount)CredentialUsageSummarywithFeature(FeatureType feature)CredentialUsageSummarywithSuccessfulActivityCount(Long successfulActivityCount)CredentialUsageSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
authMethod
protected UsageAuthMethod authMethod
-
failureActivityCount
protected Long failureActivityCount
-
feature
protected FeatureType feature
-
successfulActivityCount
protected Long successfulActivityCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderCredentialUsageSummary
public static CredentialUsageSummary.Builder builderCredentialUsageSummary()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAuthMethod
public Optional<UsageAuthMethod> getAuthMethod()
-
withAuthMethod
public CredentialUsageSummary withAuthMethod(UsageAuthMethod authMethod)
-
withFailureActivityCount
public CredentialUsageSummary withFailureActivityCount(Long failureActivityCount)
-
getFeature
public Optional<FeatureType> getFeature()
-
withFeature
public CredentialUsageSummary withFeature(FeatureType feature)
-
withSuccessfulActivityCount
public CredentialUsageSummary withSuccessfulActivityCount(Long successfulActivityCount)
-
withUnmappedField
public CredentialUsageSummary withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public CredentialUsageSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public CredentialUsageSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-