Package odata.msgraph.client.beta.entity
Class RemoteAssistanceSettings
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.RemoteAssistanceSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class RemoteAssistanceSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Remote assistance settings for the account”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemoteAssistanceSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanallowSessionsToUnenrolledDevicesprotected RemoteAssistanceStateremoteAssistanceState-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRemoteAssistanceSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoteAssistanceSettings.BuilderbuilderRemoteAssistanceSettings()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAllowSessionsToUnenrolledDevices()“Indicates if sessions to unenrolled devices are allowed for the account.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<RemoteAssistanceState>getRemoteAssistanceState()“The current state of remote assistance for the account.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()RemoteAssistanceSettingspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)RemoteAssistanceSettingsput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()RemoteAssistanceSettingswithAllowSessionsToUnenrolledDevices(Boolean allowSessionsToUnenrolledDevices)Returns an immutable copy ofthiswith just theallowSessionsToUnenrolledDevicesfield changed.RemoteAssistanceSettingswithRemoteAssistanceState(RemoteAssistanceState remoteAssistanceState)Returns an immutable copy ofthiswith just theremoteAssistanceStatefield changed.RemoteAssistanceSettingswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
allowSessionsToUnenrolledDevices
protected Boolean allowSessionsToUnenrolledDevices
-
remoteAssistanceState
protected RemoteAssistanceState remoteAssistanceState
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderRemoteAssistanceSettings
public static RemoteAssistanceSettings.Builder builderRemoteAssistanceSettings()
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
-
getAllowSessionsToUnenrolledDevices
public Optional<Boolean> getAllowSessionsToUnenrolledDevices()
“Indicates if sessions to unenrolled devices are allowed for the account. This setting is configurable by the admin. Default value is false.”- Returns:
- property allowSessionsToUnenrolledDevices
-
withAllowSessionsToUnenrolledDevices
public RemoteAssistanceSettings withAllowSessionsToUnenrolledDevices(Boolean allowSessionsToUnenrolledDevices)
Returns an immutable copy ofthiswith just theallowSessionsToUnenrolledDevicesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates if sessions to unenrolled devices are allowed for the account. This setting is configurable by the admin. Default value is false.”
- Parameters:
allowSessionsToUnenrolledDevices- new value ofallowSessionsToUnenrolledDevicesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowSessionsToUnenrolledDevicesfield changed
-
getRemoteAssistanceState
public Optional<RemoteAssistanceState> getRemoteAssistanceState()
“The current state of remote assistance for the account. Possible values are: notConfigured, disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a notConfigured state. Returned by default.”- Returns:
- property remoteAssistanceState
-
withRemoteAssistanceState
public RemoteAssistanceSettings withRemoteAssistanceState(RemoteAssistanceState remoteAssistanceState)
Returns an immutable copy ofthiswith just theremoteAssistanceStatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The current state of remote assistance for the account. Possible values are: notConfigured, disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a notConfigured state. Returned by default.”
- Parameters:
remoteAssistanceState- new value ofremoteAssistanceStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremoteAssistanceStatefield changed
-
withUnmappedField
public RemoteAssistanceSettings 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 RemoteAssistanceSettings patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public RemoteAssistanceSettings put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-