Package odata.msgraph.client.entity
Class TargetedManagedAppConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedAppPolicy
-
- odata.msgraph.client.entity.ManagedAppConfiguration
-
- odata.msgraph.client.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 List<ManagedMobileApp>appsprotected List<TargetedManagedAppPolicyAssignment>assignmentsprotected IntegerdeployedAppCountprotected ManagedAppPolicyDeploymentSummarydeploymentSummaryprotected BooleanisAssigned-
Fields inherited from class odata.msgraph.client.entity.ManagedAppConfiguration
customSettings, customSettingsNextLink
-
Fields inherited from class odata.msgraph.client.entity.ManagedAppPolicy
createdDateTime, description, displayName, lastModifiedDateTime, version
-
Fields inherited from class odata.msgraph.client.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).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()TargetedManagedAppConfigurationwithApps(List<ManagedMobileApp> apps)Returns an immutable copy ofthiswith just theappsfield changed.TargetedManagedAppConfigurationwithAssignments(List<TargetedManagedAppPolicyAssignment> assignments)Returns an immutable copy ofthiswith just theassignmentsfield changed.TargetedManagedAppConfigurationwithDeployedAppCount(Integer deployedAppCount)Returns an immutable copy ofthiswith just thedeployedAppCountfield changed.TargetedManagedAppConfigurationwithDeploymentSummary(ManagedAppPolicyDeploymentSummary deploymentSummary)Returns an immutable copy ofthiswith just thedeploymentSummaryfield changed.TargetedManagedAppConfigurationwithIsAssigned(Boolean isAssigned)Returns an immutable copy ofthiswith just theisAssignedfield changed.TargetedManagedAppConfigurationwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.ManagedAppConfiguration
getCustomSettings, getCustomSettings, withCustomSettings
-
Methods inherited from class odata.msgraph.client.entity.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getVersion, targetApps, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersion
-
-
-
-
Field Detail
-
deployedAppCount
protected Integer deployedAppCount
-
isAssigned
protected Boolean isAssigned
-
apps
protected List<ManagedMobileApp> apps
-
assignments
protected List<TargetedManagedAppPolicyAssignment> assignments
-
deploymentSummary
protected ManagedAppPolicyDeploymentSummary deploymentSummary
-
-
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
-
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, Object 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
-
withApps
public TargetedManagedAppConfiguration withApps(List<ManagedMobileApp> apps)
Returns an immutable copy ofthiswith just theappsfield 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.“List of apps to which the policy is deployed.”
- Parameters:
apps- new value ofappsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappsfield changed
-
withAssignments
public TargetedManagedAppConfiguration withAssignments(List<TargetedManagedAppPolicyAssignment> assignments)
Returns an immutable copy ofthiswith just theassignmentsfield 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.“Navigation property to list of inclusion and exclusion groups to which the policy is deployed.”
- Parameters:
assignments- new value ofassignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassignmentsfield changed
-
withDeploymentSummary
public TargetedManagedAppConfiguration withDeploymentSummary(ManagedAppPolicyDeploymentSummary deploymentSummary)
Returns an immutable copy ofthiswith just thedeploymentSummaryfield 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.“Navigation property to deployment summary of the configuration.”
- Parameters:
deploymentSummary- new value ofdeploymentSummaryfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeploymentSummaryfield changed
-
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
-
-