text: ///
  /// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
  ///
  /// Auto-generated by Stone, do not modify.
  ///
  
  #import <Foundation/Foundation.h>
  
  #import "DBSerializableProtocol.h"
  
  @class DBTEAMLOGPaperMemberPolicy;
  
  NS_ASSUME_NONNULL_BEGIN
  
  #pragma mark - API Object
  
  ///
  /// The `PaperMemberPolicy` union.
  ///
  /// Policy for controlling if team members can share Paper documents externally.
  ///
  /// This class implements the `DBSerializable` protocol (serialize and
  /// deserialize instance methods), which is required for all Obj-C SDK API route
  /// objects.
  ///
  @interface DBTEAMLOGPaperMemberPolicy : NSObject <DBSerializable, NSCopying>
  
  #pragma mark - Instance fields
  
  /// The `DBTEAMLOGPaperMemberPolicyTag` enum type represents the possible tag
  /// states with which the `DBTEAMLOGPaperMemberPolicy` union can exist.
  typedef NS_ENUM(NSInteger, DBTEAMLOGPaperMemberPolicyTag) {
    /// (no description).
    DBTEAMLOGPaperMemberPolicyTeamOnly,
  
    /// (no description).
    DBTEAMLOGPaperMemberPolicyDefaultTeamOnly,
  
    /// (no description).
    DBTEAMLOGPaperMemberPolicyDefaultAnyone,
  
    /// (no description).
    DBTEAMLOGPaperMemberPolicyOther,
  
  };
  
  /// Represents the union's current tag state.
  @property (nonatomic, readonly) DBTEAMLOGPaperMemberPolicyTag tag;
  
  #pragma mark - Constructors
  
  ///
  /// Initializes union class with tag state of "team_only".
  ///
  /// @return An initialized instance.
  ///
  - (instancetype)initWithTeamOnly;
  
  ///
  /// Initializes union class with tag state of "default_team_only".
  ///
  /// @return An initialized instance.
  ///
  - (instancetype)initWithDefaultTeamOnly;
  
  ///
  /// Initializes union class with tag state of "default_anyone".
  ///
  /// @return An initialized instance.
  ///
  - (instancetype)initWithDefaultAnyone;
  
  ///
  /// Initializes union class with tag state of "other".
  ///
  /// @return An initialized instance.
  ///
  - (instancetype)initWithOther;
  
  - (instancetype)init NS_UNAVAILABLE;
  
  #pragma mark - Tag state methods
  
  ///
  /// Retrieves whether the union's current tag state has value "team_only".
  ///
  /// @return Whether the union's current tag state has value "team_only".
  ///
  - (BOOL)isTeamOnly;
  
  ///
  /// Retrieves whether the union's current tag state has value
  /// "default_team_only".
  ///
  /// @return Whether the union's current tag state has value "default_team_only".
  ///
  - (BOOL)isDefaultTeamOnly;
  
  ///
  /// Retrieves whether the union's current tag state has value "default_anyone".
  ///
  /// @return Whether the union's current tag state has value "default_anyone".
  ///
  - (BOOL)isDefaultAnyone;
  
  ///
  /// Retrieves whether the union's current tag state has value "other".
  ///
  /// @return Whether the union's current tag state has value "other".
  ///
  - (BOOL)isOther;
  
  ///
  /// Retrieves string value of union's current tag state.
  ///
  /// @return A human-readable string representing the union's current tag state.
  ///
  - (NSString *)tagName;
  
  @end
  
  #pragma mark - Serializer Object
  
  ///
  /// The serialization class for the `DBTEAMLOGPaperMemberPolicy` union.
  ///
  @interface DBTEAMLOGPaperMemberPolicySerializer : NSObject
  
  ///
  /// Serializes `DBTEAMLOGPaperMemberPolicy` instances.
  ///
  /// @param instance An instance of the `DBTEAMLOGPaperMemberPolicy` API object.
  ///
  /// @return A json-compatible dictionary representation of the
  /// `DBTEAMLOGPaperMemberPolicy` API object.
  ///
  + (NSDictionary *)serialize:(DBTEAMLOGPaperMemberPolicy *)instance;
  
  ///
  /// Deserializes `DBTEAMLOGPaperMemberPolicy` instances.
  ///
  /// @param dict A json-compatible dictionary representation of the
  /// `DBTEAMLOGPaperMemberPolicy` API object.
  ///
  /// @return An instantiation of the `DBTEAMLOGPaperMemberPolicy` object.
  ///
  + (DBTEAMLOGPaperMemberPolicy *)deserialize:(NSDictionary *)dict;
  
  @end
  
  NS_ASSUME_NONNULL_END
  