Record Class SessionManagedSettingsGetResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionManagedSettingsGetResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionManagedSettingsGetResult(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
Enterprise managed-settings resolution: the effective managed settings the session applied and which channels contributed, so SDK clients can show users what is enterprise-managed. Fires whenever managed policy is (re)applied — at session start, on resume, and on account switch. This is an ephemeral live snapshot (delivered to subscribers but not persisted to the session event log), because at session start it resolves before `session.start` is emitted. Device values take precedence over server values, then the policy helper, per ordinary key, while permissions compose restrictively across device, server, policy-helper, and SDK-client layers. The account-scoped `getManagedSettings()` API does not include session-local client injection. Marked experimental while the managed-settings surface stabilizes.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionManagedSettingsGetResult(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 aSessionManagedSettingsGetResultrecord 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 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
-
SessionManagedSettingsGetResult
public SessionManagedSettingsGetResult(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 aSessionManagedSettingsGetResultrecord class.- Parameters:
source- 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). -
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
-