text: ///
  /// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
  ///
  /// Auto-generated by Stone, do not modify.
  ///
  
  #import <Foundation/Foundation.h>
  
  #import "DBSerializableProtocol.h"
  
  @class DBTEAMLOGEmmPolicy;
  
  NS_ASSUME_NONNULL_BEGIN
  
  #pragma mark - API Object
  
  ///
  /// The `EmmPolicy` union.
  ///
  /// Enterprise mobility management policy
  ///
  /// This class implements the `DBSerializable` protocol (serialize and
  /// deserialize instance methods), which is required for all Obj-C SDK API route
  /// objects.
  ///
  @interface DBTEAMLOGEmmPolicy : NSObject <DBSerializable, NSCopying>
  
  #pragma mark - Instance fields
  
  /// The `DBTEAMLOGEmmPolicyTag` enum type represents the possible tag states
  /// with which the `DBTEAMLOGEmmPolicy` union can exist.
  typedef NS_ENUM(NSInteger, DBTEAMLOGEmmPolicyTag) {
    /// (no description).
    DBTEAMLOGEmmPolicyDisabled,
  
    /// (no description).
    DBTEAMLOGEmmPolicyOptional,
  
    /// (no description).
    DBTEAMLOGEmmPolicyRequired,
  
    /// (no description).
    DBTEAMLOGEmmPolicyOther,
  
  };
  
  /// Represents the union's current tag state.
  @property (nonatomic, readonly) DBTEAMLOGEmmPolicyTag tag;
  
  #pragma mark - Constructors
  
  ///
  /// Initializes union class with tag state of "disabled".
  ///
  /// @return An initialized instance.
  ///
  - (instancetype)initWithDisabled;
  
  ///
  /// Initializes union class with tag state of "optional".
  ///
  /// @return An initialized instance.
  ///
  - (instancetype)initWithOptional;
  
  ///
  /// Initializes union class with tag state of "required".
  ///
  /// @return An initialized instance.
  ///
  - (instancetype)initWithRequired;
  
  ///
  /// 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 "disabled".
  ///
  /// @return Whether the union's current tag state has value "disabled".
  ///
  - (BOOL)isDisabled;
  
  ///
  /// Retrieves whether the union's current tag state has value "optional".
  ///
  /// @return Whether the union's current tag state has value "optional".
  ///
  - (BOOL)isOptional;
  
  ///
  /// Retrieves whether the union's current tag state has value "required".
  ///
  /// @return Whether the union's current tag state has value "required".
  ///
  - (BOOL)isRequired;
  
  ///
  /// 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 `DBTEAMLOGEmmPolicy` union.
  ///
  @interface DBTEAMLOGEmmPolicySerializer : NSObject
  
  ///
  /// Serializes `DBTEAMLOGEmmPolicy` instances.
  ///
  /// @param instance An instance of the `DBTEAMLOGEmmPolicy` API object.
  ///
  /// @return A json-compatible dictionary representation of the
  /// `DBTEAMLOGEmmPolicy` API object.
  ///
  + (NSDictionary *)serialize:(DBTEAMLOGEmmPolicy *)instance;
  
  ///
  /// Deserializes `DBTEAMLOGEmmPolicy` instances.
  ///
  /// @param dict A json-compatible dictionary representation of the
  /// `DBTEAMLOGEmmPolicy` API object.
  ///
  /// @return An instantiation of the `DBTEAMLOGEmmPolicy` object.
  ///
  + (DBTEAMLOGEmmPolicy *)deserialize:(NSDictionary *)dict;
  
  @end
  
  NS_ASSUME_NONNULL_END
  