Package odata.msgraph.client.beta.entity
Class AndroidDeviceComplianceLocalActionLockDeviceWithPasscode
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AndroidDeviceComplianceLocalActionBase
-
- odata.msgraph.client.beta.entity.AndroidDeviceComplianceLocalActionLockDeviceWithPasscode
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidDeviceComplianceLocalActionLockDeviceWithPasscode extends AndroidDeviceComplianceLocalActionBase implements com.github.davidmoten.odata.client.ODataEntityType
“Local Action Lock Device with Passcode Configuration”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidDeviceComplianceLocalActionLockDeviceWithPasscode.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringpasscodeprotected IntegerpasscodeSignInFailureCountBeforeWipe-
Fields inherited from class odata.msgraph.client.beta.entity.AndroidDeviceComplianceLocalActionBase
gracePeriodInMinutes
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidDeviceComplianceLocalActionLockDeviceWithPasscode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidDeviceComplianceLocalActionLockDeviceWithPasscode.BuilderbuilderAndroidDeviceComplianceLocalActionLockDeviceWithPasscode()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()Optional<String>getPasscode()“Passcode to reset to Android device.Optional<Integer>getPasscodeSignInFailureCountBeforeWipe()“Number of sign in failures before wiping device, the value can be 4-11.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AndroidDeviceComplianceLocalActionLockDeviceWithPasscodepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidDeviceComplianceLocalActionLockDeviceWithPasscodeput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidDeviceComplianceLocalActionLockDeviceWithPasscodewithPasscode(String passcode)Returns an immutable copy ofthiswith just thepasscodefield changed.AndroidDeviceComplianceLocalActionLockDeviceWithPasscodewithPasscodeSignInFailureCountBeforeWipe(Integer passcodeSignInFailureCountBeforeWipe)Returns an immutable copy ofthiswith just thepasscodeSignInFailureCountBeforeWipefield changed.AndroidDeviceComplianceLocalActionLockDeviceWithPasscodewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.AndroidDeviceComplianceLocalActionBase
getGracePeriodInMinutes, withGracePeriodInMinutes
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAndroidDeviceComplianceLocalActionBase
-
builderAndroidDeviceComplianceLocalActionLockDeviceWithPasscode
public static AndroidDeviceComplianceLocalActionLockDeviceWithPasscode.Builder builderAndroidDeviceComplianceLocalActionLockDeviceWithPasscode()
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 classAndroidDeviceComplianceLocalActionBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAndroidDeviceComplianceLocalActionBase
-
getPasscode
public Optional<String> getPasscode()
“Passcode to reset to Android device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property passcode
-
withPasscode
public AndroidDeviceComplianceLocalActionLockDeviceWithPasscode withPasscode(String passcode)
Returns an immutable copy ofthiswith just thepasscodefield 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.“Passcode to reset to Android device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
passcode- new value ofpasscodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasscodefield changed
-
getPasscodeSignInFailureCountBeforeWipe
public Optional<Integer> getPasscodeSignInFailureCountBeforeWipe()
“Number of sign in failures before wiping device, the value can be 4-11. Valid values 4 to 11”- Returns:
- property passcodeSignInFailureCountBeforeWipe
-
withPasscodeSignInFailureCountBeforeWipe
public AndroidDeviceComplianceLocalActionLockDeviceWithPasscode withPasscodeSignInFailureCountBeforeWipe(Integer passcodeSignInFailureCountBeforeWipe)
Returns an immutable copy ofthiswith just thepasscodeSignInFailureCountBeforeWipefield 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.“Number of sign in failures before wiping device, the value can be 4-11. Valid values 4 to 11”
- Parameters:
passcodeSignInFailureCountBeforeWipe- new value ofpasscodeSignInFailureCountBeforeWipefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasscodeSignInFailureCountBeforeWipefield changed
-
withUnmappedField
public AndroidDeviceComplianceLocalActionLockDeviceWithPasscode withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classAndroidDeviceComplianceLocalActionBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAndroidDeviceComplianceLocalActionBase
-
patch
public AndroidDeviceComplianceLocalActionLockDeviceWithPasscode patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classAndroidDeviceComplianceLocalActionBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidDeviceComplianceLocalActionLockDeviceWithPasscode put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classAndroidDeviceComplianceLocalActionBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classAndroidDeviceComplianceLocalActionBase
-
-