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 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 a ManagedSettingsResolvedData record class.
      Parameters:
      permissionsContext - the value for the permissionsContext record component
      source - the value for the source record component
      serverManaged - the value for the serverManaged record component
      deviceManaged - the value for the deviceManaged record component
      clientManaged - the value for the clientManaged record component
      policyHelperManaged - the value for the policyHelperManaged record component
      failClosed - the value for the failClosed record component
      sandboxEnabledByUndeterminedPolicy - the value for the sandboxEnabledByUndeterminedPolicy record component
      bypassPermissionsDisabled - the value for the bypassPermissionsDisabled record component
      permissionsAllowIntersected - the value for the permissionsAllowIntersected record component
      managedKeys - the value for the managedKeys record component
      settings - the value for the settings record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • permissionsContext

      public ManagedPermissionsContext permissionsContext()
      Returns the value of the permissionsContext record component.
      Returns:
      the value of the permissionsContext record component
    • source

      Returns the value of the source record component.
      Returns:
      the value of the source record component
    • serverManaged

      public Boolean serverManaged()
      Returns the value of the serverManaged record component.
      Returns:
      the value of the serverManaged record component
    • deviceManaged

      public Boolean deviceManaged()
      Returns the value of the deviceManaged record component.
      Returns:
      the value of the deviceManaged record component
    • clientManaged

      public Boolean clientManaged()
      Returns the value of the clientManaged record component.
      Returns:
      the value of the clientManaged record component
    • policyHelperManaged

      public Boolean policyHelperManaged()
      Returns the value of the policyHelperManaged record component.
      Returns:
      the value of the policyHelperManaged record component
    • failClosed

      public Boolean failClosed()
      Returns the value of the failClosed record component.
      Returns:
      the value of the failClosed record component
    • sandboxEnabledByUndeterminedPolicy

      public Boolean sandboxEnabledByUndeterminedPolicy()
      Returns the value of the sandboxEnabledByUndeterminedPolicy record component.
      Returns:
      the value of the sandboxEnabledByUndeterminedPolicy record component
    • bypassPermissionsDisabled

      public Boolean bypassPermissionsDisabled()
      Returns the value of the bypassPermissionsDisabled record component.
      Returns:
      the value of the bypassPermissionsDisabled record component
    • permissionsAllowIntersected

      public Boolean permissionsAllowIntersected()
      Returns the value of the permissionsAllowIntersected record component.
      Returns:
      the value of the permissionsAllowIntersected record component
    • managedKeys

      public List<String> managedKeys()
      Returns the value of the managedKeys record component.
      Returns:
      the value of the managedKeys record component
    • settings

      public Object settings()
      Returns the value of the settings record component.
      Returns:
      the value of the settings record component