Package odata.msgraph.client.entity
Class OnPremisesConditionalAccessSettings
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.OnPremisesConditionalAccessSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OnPremisesConditionalAccessSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Singleton entity which represents the Exchange OnPremises Conditional Access Settings for a tenant.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnPremisesConditionalAccessSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Booleanenabledprotected List<UUID>excludedGroupsprotected StringexcludedGroupsNextLinkprotected List<UUID>includedGroupsprotected StringincludedGroupsNextLinkprotected BooleanoverrideDefaultRule-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOnPremisesConditionalAccessSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnPremisesConditionalAccessSettings.BuilderbuilderOnPremisesConditionalAccessSettings()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<Boolean>getEnabled()“Indicates if on premises conditional access is enabled for this organization”com.github.davidmoten.odata.client.CollectionPage<UUID>getExcludedGroups()“User groups that will be exempt by on premises conditional access.com.github.davidmoten.odata.client.CollectionPage<UUID>getExcludedGroups(com.github.davidmoten.odata.client.HttpRequestOptions options)“User groups that will be exempt by on premises conditional access.com.github.davidmoten.odata.client.CollectionPage<UUID>getIncludedGroups()“User groups that will be targeted by on premises conditional access.com.github.davidmoten.odata.client.CollectionPage<UUID>getIncludedGroups(com.github.davidmoten.odata.client.HttpRequestOptions options)“User groups that will be targeted by on premises conditional access.Optional<Boolean>getOverrideDefaultRule()“Override the default access rule when allowing a device to ensure access is granted.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()OnPremisesConditionalAccessSettingspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)OnPremisesConditionalAccessSettingsput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()OnPremisesConditionalAccessSettingswithEnabled(Boolean enabled)Returns an immutable copy ofthiswith just theenabledfield changed.OnPremisesConditionalAccessSettingswithExcludedGroups(List<UUID> excludedGroups)Returns an immutable copy ofthiswith just theexcludedGroupsfield changed.OnPremisesConditionalAccessSettingswithIncludedGroups(List<UUID> includedGroups)Returns an immutable copy ofthiswith just theincludedGroupsfield changed.OnPremisesConditionalAccessSettingswithOverrideDefaultRule(Boolean overrideDefaultRule)Returns an immutable copy ofthiswith just theoverrideDefaultRulefield changed.OnPremisesConditionalAccessSettingswithUnmappedField(String name, Object value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderOnPremisesConditionalAccessSettings
public static OnPremisesConditionalAccessSettings.Builder builderOnPremisesConditionalAccessSettings()
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
-
getEnabled
public Optional<Boolean> getEnabled()
“Indicates if on premises conditional access is enabled for this organization”- Returns:
- property enabled
-
withEnabled
public OnPremisesConditionalAccessSettings withEnabled(Boolean enabled)
Returns an immutable copy ofthiswith just theenabledfield 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 on premises conditional access is enabled for this organization”
- Parameters:
enabled- new value ofenabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenabledfield changed
-
getExcludedGroups
public com.github.davidmoten.odata.client.CollectionPage<UUID> getExcludedGroups()
“User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy.”- Returns:
- property excludedGroups
-
withExcludedGroups
public OnPremisesConditionalAccessSettings withExcludedGroups(List<UUID> excludedGroups)
Returns an immutable copy ofthiswith just theexcludedGroupsfield 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.“User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy.”
- Parameters:
excludedGroups- new value ofexcludedGroupsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexcludedGroupsfield changed
-
getExcludedGroups
public com.github.davidmoten.odata.client.CollectionPage<UUID> getExcludedGroups(com.github.davidmoten.odata.client.HttpRequestOptions options)
“User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy.”- Parameters:
options- specify connect and read timeouts- Returns:
- property excludedGroups
-
getIncludedGroups
public com.github.davidmoten.odata.client.CollectionPage<UUID> getIncludedGroups()
“User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access.”- Returns:
- property includedGroups
-
withIncludedGroups
public OnPremisesConditionalAccessSettings withIncludedGroups(List<UUID> includedGroups)
Returns an immutable copy ofthiswith just theincludedGroupsfield 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.“User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access.”
- Parameters:
includedGroups- new value ofincludedGroupsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theincludedGroupsfield changed
-
getIncludedGroups
public com.github.davidmoten.odata.client.CollectionPage<UUID> getIncludedGroups(com.github.davidmoten.odata.client.HttpRequestOptions options)
“User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access.”- Parameters:
options- specify connect and read timeouts- Returns:
- property includedGroups
-
getOverrideDefaultRule
public Optional<Boolean> getOverrideDefaultRule()
“Override the default access rule when allowing a device to ensure access is granted.”- Returns:
- property overrideDefaultRule
-
withOverrideDefaultRule
public OnPremisesConditionalAccessSettings withOverrideDefaultRule(Boolean overrideDefaultRule)
Returns an immutable copy ofthiswith just theoverrideDefaultRulefield 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.“Override the default access rule when allowing a device to ensure access is granted.”
- Parameters:
overrideDefaultRule- new value ofoverrideDefaultRulefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoverrideDefaultRulefield changed
-
withUnmappedField
public OnPremisesConditionalAccessSettings 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 OnPremisesConditionalAccessSettings patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public OnPremisesConditionalAccessSettings put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-