Package odata.msgraph.client.beta.entity
Class TargetedManagedAppConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedAppPolicy
-
- odata.msgraph.client.beta.entity.ManagedAppConfiguration
-
- odata.msgraph.client.beta.entity.TargetedManagedAppConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class TargetedManagedAppConfiguration extends ManagedAppConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Configuration used to deliver a set of custom settings as-is to all users in the targeted security group”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTargetedManagedAppConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected TargetedManagedAppGroupTypeappGroupTypeprotected IntegerdeployedAppCountprotected BooleanisAssigned-
Fields inherited from class odata.msgraph.client.beta.entity.ManagedAppConfiguration
customSettings, customSettingsNextLink
-
Fields inherited from class odata.msgraph.client.beta.entity.ManagedAppPolicy
createdDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTargetedManagedAppConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<TargetedManagedAppPolicyAssignment> assignments)static TargetedManagedAppConfiguration.BuilderbuilderTargetedManagedAppConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<TargetedManagedAppGroupType>getAppGroupType()“Public Apps selection: group or individual”ManagedMobileAppCollectionRequestgetApps()“List of apps to which the policy is deployed.”TargetedManagedAppPolicyAssignmentCollectionRequestgetAssignments()“Navigation property to list of inclusion and exclusion groups to which the policy is deployed.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getDeployedAppCount()“Count of apps to which the current policy is deployed.”ManagedAppPolicyDeploymentSummaryRequestgetDeploymentSummary()“Navigation property to deployment summary of the configuration.”Optional<Boolean>getIsAssigned()“Indicates if the policy is deployed to any inclusion groups or not.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()TargetedManagedAppConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)TargetedManagedAppConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturntargetApps(List<ManagedMobileApp> apps, TargetedManagedAppGroupType appGroupType)StringtoString()TargetedManagedAppConfigurationwithAppGroupType(TargetedManagedAppGroupType appGroupType)Returns an immutable copy ofthiswith just theappGroupTypefield changed.TargetedManagedAppConfigurationwithDeployedAppCount(Integer deployedAppCount)Returns an immutable copy ofthiswith just thedeployedAppCountfield changed.TargetedManagedAppConfigurationwithIsAssigned(Boolean isAssigned)Returns an immutable copy ofthiswith just theisAssignedfield changed.TargetedManagedAppConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.ManagedAppConfiguration
getCustomSettings, getCustomSettings, withCustomSettings
-
Methods inherited from class odata.msgraph.client.beta.entity.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getVersion, targetApps, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withVersion
-
-
-
-
Field Detail
-
appGroupType
protected TargetedManagedAppGroupType appGroupType
-
deployedAppCount
protected Integer deployedAppCount
-
isAssigned
protected Boolean isAssigned
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedAppConfiguration
-
builderTargetedManagedAppConfiguration
public static TargetedManagedAppConfiguration.Builder builderTargetedManagedAppConfiguration()
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 classManagedAppConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedAppConfiguration
-
getAppGroupType
public Optional<TargetedManagedAppGroupType> getAppGroupType()
“Public Apps selection: group or individual”- Returns:
- property appGroupType
-
withAppGroupType
public TargetedManagedAppConfiguration withAppGroupType(TargetedManagedAppGroupType appGroupType)
Returns an immutable copy ofthiswith just theappGroupTypefield 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.“Public Apps selection: group or individual”
- Parameters:
appGroupType- new value ofappGroupTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappGroupTypefield changed
-
getDeployedAppCount
public Optional<Integer> getDeployedAppCount()
“Count of apps to which the current policy is deployed.”- Returns:
- property deployedAppCount
-
withDeployedAppCount
public TargetedManagedAppConfiguration withDeployedAppCount(Integer deployedAppCount)
Returns an immutable copy ofthiswith just thedeployedAppCountfield 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.“Count of apps to which the current policy is deployed.”
- Parameters:
deployedAppCount- new value ofdeployedAppCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeployedAppCountfield changed
-
getIsAssigned
public Optional<Boolean> getIsAssigned()
“Indicates if the policy is deployed to any inclusion groups or not.”- Returns:
- property isAssigned
-
withIsAssigned
public TargetedManagedAppConfiguration withIsAssigned(Boolean isAssigned)
Returns an immutable copy ofthiswith just theisAssignedfield 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 the policy is deployed to any inclusion groups or not.”
- Parameters:
isAssigned- new value ofisAssignedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisAssignedfield changed
-
withUnmappedField
public TargetedManagedAppConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classManagedAppConfiguration
-
getApps
public ManagedMobileAppCollectionRequest getApps()
“List of apps to which the policy is deployed.”- Returns:
- navigational property apps
-
getAssignments
public TargetedManagedAppPolicyAssignmentCollectionRequest getAssignments()
“Navigation property to list of inclusion and exclusion groups to which the policy is deployed.”- Returns:
- navigational property assignments
-
getDeploymentSummary
public ManagedAppPolicyDeploymentSummaryRequest getDeploymentSummary()
“Navigation property to deployment summary of the configuration.”- Returns:
- navigational property deploymentSummary
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedAppConfiguration
-
patch
public TargetedManagedAppConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedAppConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public TargetedManagedAppConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedAppConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
assign
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<TargetedManagedAppPolicyAssignment> assignments)
-
targetApps
public com.github.davidmoten.odata.client.ActionRequestNoReturn targetApps(List<ManagedMobileApp> apps, TargetedManagedAppGroupType appGroupType)
-
toString
public String toString()
- Overrides:
toStringin classManagedAppConfiguration
-
-