Record Class ManagedSettingsResolvedData
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedSettingsResolvedData
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ManagedSettingsResolvedData(ManagedPermissionsContext permissionsContext, ManagedSettingsResolvedSource source, Boolean serverManaged, Boolean deviceManaged, Boolean clientManaged, Boolean policyHelperManaged, Boolean failClosed, Boolean sandboxEnabledByUndeterminedPolicy, Boolean bypassPermissionsDisabled, Boolean permissionsAllowIntersected, List<String> managedKeys, Object settings)
extends Record
Effective enterprise managed settings and contributing channels. Session events report applied policy; sessionless resolve reports an account/device snapshot, and compose reports a non-applying preview of candidate documents. Device values take precedence over server values, then the policy helper, per ordinary key, while permissions compose restrictively. Session-local SDK-client policy is included only in session results. Marked experimental while the managed-settings surface stabilizes.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionManagedSettingsResolvedData(ManagedPermissionsContext permissionsContext, ManagedSettingsResolvedSource source, Boolean serverManaged, Boolean deviceManaged, Boolean clientManaged, Boolean policyHelperManaged, Boolean failClosed, Boolean sandboxEnabledByUndeterminedPolicy, Boolean bypassPermissionsDisabled, Boolean permissionsAllowIntersected, List<String> managedKeys, Object settings) Creates an instance of aManagedSettingsResolvedDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebypassPermissionsDisabledrecord component.Returns the value of theclientManagedrecord component.Returns the value of thedeviceManagedrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailClosedrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themanagedKeysrecord component.Returns the value of thepermissionsAllowIntersectedrecord component.Returns the value of thepermissionsContextrecord component.Returns the value of thepolicyHelperManagedrecord component.Returns the value of thesandboxEnabledByUndeterminedPolicyrecord component.Returns the value of theserverManagedrecord component.settings()Returns the value of thesettingsrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ManagedSettingsResolvedData
public ManagedSettingsResolvedData(ManagedPermissionsContext permissionsContext, ManagedSettingsResolvedSource source, Boolean serverManaged, Boolean deviceManaged, Boolean clientManaged, Boolean policyHelperManaged, Boolean failClosed, Boolean sandboxEnabledByUndeterminedPolicy, Boolean bypassPermissionsDisabled, Boolean permissionsAllowIntersected, List<String> managedKeys, Object settings) Creates an instance of aManagedSettingsResolvedDatarecord class.- Parameters:
permissionsContext- the value for thepermissionsContextrecord componentsource- the value for thesourcerecord componentserverManaged- the value for theserverManagedrecord componentdeviceManaged- the value for thedeviceManagedrecord componentclientManaged- the value for theclientManagedrecord componentpolicyHelperManaged- the value for thepolicyHelperManagedrecord componentfailClosed- the value for thefailClosedrecord componentsandboxEnabledByUndeterminedPolicy- the value for thesandboxEnabledByUndeterminedPolicyrecord componentbypassPermissionsDisabled- the value for thebypassPermissionsDisabledrecord componentpermissionsAllowIntersected- the value for thepermissionsAllowIntersectedrecord componentmanagedKeys- the value for themanagedKeysrecord componentsettings- the value for thesettingsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
permissionsContext
Returns the value of thepermissionsContextrecord component.- Returns:
- the value of the
permissionsContextrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
serverManaged
Returns the value of theserverManagedrecord component.- Returns:
- the value of the
serverManagedrecord component
-
deviceManaged
Returns the value of thedeviceManagedrecord component.- Returns:
- the value of the
deviceManagedrecord component
-
clientManaged
Returns the value of theclientManagedrecord component.- Returns:
- the value of the
clientManagedrecord component
-
policyHelperManaged
Returns the value of thepolicyHelperManagedrecord component.- Returns:
- the value of the
policyHelperManagedrecord component
-
failClosed
Returns the value of thefailClosedrecord component.- Returns:
- the value of the
failClosedrecord component
-
sandboxEnabledByUndeterminedPolicy
Returns the value of thesandboxEnabledByUndeterminedPolicyrecord component.- Returns:
- the value of the
sandboxEnabledByUndeterminedPolicyrecord component
-
bypassPermissionsDisabled
Returns the value of thebypassPermissionsDisabledrecord component.- Returns:
- the value of the
bypassPermissionsDisabledrecord component
-
permissionsAllowIntersected
Returns the value of thepermissionsAllowIntersectedrecord component.- Returns:
- the value of the
permissionsAllowIntersectedrecord component
-
managedKeys
-
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-