Package odata.msgraph.client.entity
Class DeviceLocalCredentialInfo
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceLocalCredentialInfo
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceLocalCredentialInfo extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceLocalCredentialInfo.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<DeviceLocalCredential>credentialsprotected StringcredentialsNextLinkprotected StringdeviceNameprotected OffsetDateTimelastBackupDateTimeprotected OffsetDateTimerefreshDateTime-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceLocalCredentialInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceLocalCredentialInfo.BuilderbuilderDeviceLocalCredentialInfo()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.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<DeviceLocalCredential>getCredentials()com.github.davidmoten.odata.client.CollectionPage<DeviceLocalCredential>getCredentials(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getDeviceName()Optional<OffsetDateTime>getLastBackupDateTime()Optional<OffsetDateTime>getRefreshDateTime()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceLocalCredentialInfopatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceLocalCredentialInfoput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceLocalCredentialInfowithCredentials(List<DeviceLocalCredential> credentials)DeviceLocalCredentialInfowithDeviceName(String deviceName)DeviceLocalCredentialInfowithLastBackupDateTime(OffsetDateTime lastBackupDateTime)DeviceLocalCredentialInfowithRefreshDateTime(OffsetDateTime refreshDateTime)DeviceLocalCredentialInfowithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
credentials
protected List<DeviceLocalCredential> credentials
-
credentialsNextLink
protected String credentialsNextLink
-
deviceName
protected String deviceName
-
lastBackupDateTime
protected OffsetDateTime lastBackupDateTime
-
refreshDateTime
protected OffsetDateTime refreshDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceLocalCredentialInfo
public static DeviceLocalCredentialInfo.Builder builderDeviceLocalCredentialInfo()
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
-
getCredentials
public com.github.davidmoten.odata.client.CollectionPage<DeviceLocalCredential> getCredentials()
-
withCredentials
public DeviceLocalCredentialInfo withCredentials(List<DeviceLocalCredential> credentials)
-
getCredentials
public com.github.davidmoten.odata.client.CollectionPage<DeviceLocalCredential> getCredentials(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withDeviceName
public DeviceLocalCredentialInfo withDeviceName(String deviceName)
-
getLastBackupDateTime
public Optional<OffsetDateTime> getLastBackupDateTime()
-
withLastBackupDateTime
public DeviceLocalCredentialInfo withLastBackupDateTime(OffsetDateTime lastBackupDateTime)
-
getRefreshDateTime
public Optional<OffsetDateTime> getRefreshDateTime()
-
withRefreshDateTime
public DeviceLocalCredentialInfo withRefreshDateTime(OffsetDateTime refreshDateTime)
-
withUnmappedField
public DeviceLocalCredentialInfo withUnmappedField(String name, Object 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 DeviceLocalCredentialInfo patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceLocalCredentialInfo put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-