VisibilityPolicy
public class VisibilityPolicy : CustomStringConvertible, JSONRepresentable
The VisibilityPolicy struct
-
This is the value to submit when saving the visibility setting.
Declaration
Swift
public let policy: Sharing.RequestedVisibility
-
This is what the effective policy would be, if you selected this option. The resolved policy is obtained after considering external effects such as shared folder settings and team policy. This value is guaranteed to be provided.
Declaration
Swift
public let resolvedPolicy: Sharing.AlphaResolvedVisibility
-
Whether the user is permitted to set the visibility to this policy.
Declaration
Swift
public let allowed: Bool
-
If allowed is false, this will provide the reason that the user is not permitted to set the visibility to this policy.
Declaration
Swift
public let disallowedReason: Sharing.VisibilityPolicyDisallowedReason?
-
Declaration
Swift
public var description: String { get }