Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@
@class DBTEAMLOGProtectActionDeleteDetails;
@class DBTEAMLOGProtectActionExportDetails;
@class DBTEAMLOGProtectActionRemoveCollaboratorDetails;
@class DBTEAMLOGProtectActionRemoveDomainsDetails;
@class DBTEAMLOGProtectActionRemoveLinkDetails;
@class DBTEAMLOGProtectActionStopSharingDetails;
@class DBTEAMLOGProtectInternalDomainsChangedDetails;
Expand Down Expand Up @@ -1510,6 +1511,9 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) {
/// (no description).
DBTEAMLOGEventDetailsProtectActionRemoveCollaboratorDetails,

/// (no description).
DBTEAMLOGEventDetailsProtectActionRemoveDomainsDetails,

/// (no description).
DBTEAMLOGEventDetailsProtectActionRemoveLinkDetails,

Expand Down Expand Up @@ -3854,6 +3858,11 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) {
/// accessing, otherwise a runtime exception will be raised.
@property (nonatomic, readonly) DBTEAMLOGProtectActionRemoveCollaboratorDetails *protectActionRemoveCollaboratorDetails;

/// (no description). @note Ensure the `isProtectActionRemoveDomainsDetails`
/// method returns true before accessing, otherwise a runtime exception will be
/// raised.
@property (nonatomic, readonly) DBTEAMLOGProtectActionRemoveDomainsDetails *protectActionRemoveDomainsDetails;

/// (no description). @note Ensure the `isProtectActionRemoveLinkDetails` method
/// returns true before accessing, otherwise a runtime exception will be raised.
@property (nonatomic, readonly) DBTEAMLOGProtectActionRemoveLinkDetails *protectActionRemoveLinkDetails;
Expand Down Expand Up @@ -8430,6 +8439,17 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) {
- (instancetype)initWithProtectActionRemoveCollaboratorDetails:
(DBTEAMLOGProtectActionRemoveCollaboratorDetails *)protectActionRemoveCollaboratorDetails;

///
/// Initializes union class with tag state of
/// "protect_action_remove_domains_details".
///
/// @param protectActionRemoveDomainsDetails (no description).
///
/// @return An initialized instance.
///
- (instancetype)initWithProtectActionRemoveDomainsDetails:
(DBTEAMLOGProtectActionRemoveDomainsDetails *)protectActionRemoveDomainsDetails;

///
/// Initializes union class with tag state of
/// "protect_action_remove_link_details".
Expand Down Expand Up @@ -15767,6 +15787,19 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) {
///
- (BOOL)isProtectActionRemoveCollaboratorDetails;

///
/// Retrieves whether the union's current tag state has value
/// "protect_action_remove_domains_details".
///
/// @note Call this method and ensure it returns true before accessing the
/// `protectActionRemoveDomainsDetails` property, otherwise a runtime exception
/// will be thrown.
///
/// @return Whether the union's current tag state has value
/// "protect_action_remove_domains_details".
///
- (BOOL)isProtectActionRemoveDomainsDetails;

///
/// Retrieves whether the union's current tag state has value
/// "protect_action_remove_link_details".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@
@class DBTEAMLOGProtectActionDeleteType;
@class DBTEAMLOGProtectActionExportType;
@class DBTEAMLOGProtectActionRemoveCollaboratorType;
@class DBTEAMLOGProtectActionRemoveDomainsType;
@class DBTEAMLOGProtectActionRemoveLinkType;
@class DBTEAMLOGProtectActionStopSharingType;
@class DBTEAMLOGProtectInternalDomainsChangedType;
Expand Down Expand Up @@ -1526,6 +1527,9 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag) {
/// (protect) Removed collaborators via Dropbox Protect
DBTEAMLOGEventTypeProtectActionRemoveCollaborator,

/// (protect) Removed domains via Dropbox Protect
DBTEAMLOGEventTypeProtectActionRemoveDomains,

/// (protect) Removed a link via Dropbox Protect
DBTEAMLOGEventTypeProtectActionRemoveLink,

Expand Down Expand Up @@ -4039,6 +4043,11 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag) {
/// otherwise a runtime exception will be raised.
@property (nonatomic, readonly) DBTEAMLOGProtectActionRemoveCollaboratorType *protectActionRemoveCollaborator;

/// (protect) Removed domains via Dropbox Protect @note Ensure the
/// `isProtectActionRemoveDomains` method returns true before accessing,
/// otherwise a runtime exception will be raised.
@property (nonatomic, readonly) DBTEAMLOGProtectActionRemoveDomainsType *protectActionRemoveDomains;

/// (protect) Removed a link via Dropbox Protect @note Ensure the
/// `isProtectActionRemoveLink` method returns true before accessing, otherwise
/// a runtime exception will be raised.
Expand Down Expand Up @@ -9494,6 +9503,20 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag) {
- (instancetype)initWithProtectActionRemoveCollaborator:
(DBTEAMLOGProtectActionRemoveCollaboratorType *)protectActionRemoveCollaborator;

///
/// Initializes union class with tag state of "protect_action_remove_domains".
///
/// Description of the "protect_action_remove_domains" tag state: (protect)
/// Removed domains via Dropbox Protect
///
/// @param protectActionRemoveDomains (protect) Removed domains via Dropbox
/// Protect
///
/// @return An initialized instance.
///
- (instancetype)initWithProtectActionRemoveDomains:
(DBTEAMLOGProtectActionRemoveDomainsType *)protectActionRemoveDomains;

///
/// Initializes union class with tag state of "protect_action_remove_link".
///
Expand Down Expand Up @@ -17824,6 +17847,19 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag) {
///
- (BOOL)isProtectActionRemoveCollaborator;

///
/// Retrieves whether the union's current tag state has value
/// "protect_action_remove_domains".
///
/// @note Call this method and ensure it returns true before accessing the
/// `protectActionRemoveDomains` property, otherwise a runtime exception will be
/// thrown.
///
/// @return Whether the union's current tag state has value
/// "protect_action_remove_domains".
///
- (BOOL)isProtectActionRemoveDomains;

///
/// Retrieves whether the union's current tag state has value
/// "protect_action_remove_link".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,9 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeArgTag) {
/// (protect) Removed collaborators via Dropbox Protect
DBTEAMLOGEventTypeArgProtectActionRemoveCollaborator,

/// (protect) Removed domains via Dropbox Protect
DBTEAMLOGEventTypeArgProtectActionRemoveDomains,

/// (protect) Removed a link via Dropbox Protect
DBTEAMLOGEventTypeArgProtectActionRemoveLink,

Expand Down Expand Up @@ -4893,6 +4896,16 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeArgTag) {
///
- (instancetype)initWithProtectActionRemoveCollaborator;

///
/// Initializes union class with tag state of "protect_action_remove_domains".
///
/// Description of the "protect_action_remove_domains" tag state: (protect)
/// Removed domains via Dropbox Protect
///
/// @return An initialized instance.
///
- (instancetype)initWithProtectActionRemoveDomains;

///
/// Initializes union class with tag state of "protect_action_remove_link".
///
Expand Down Expand Up @@ -11048,6 +11061,15 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeArgTag) {
///
- (BOOL)isProtectActionRemoveCollaborator;

///
/// Retrieves whether the union's current tag state has value
/// "protect_action_remove_domains".
///
/// @return Whether the union's current tag state has value
/// "protect_action_remove_domains".
///
- (BOOL)isProtectActionRemoveDomains;

///
/// Retrieves whether the union's current tag state has value
/// "protect_action_remove_link".
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///

#import <Foundation/Foundation.h>

#import "DBSerializableProtocol.h"

@class DBTEAMLOGProtectActionRemoveDomainsDetails;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - API Object

///
/// The `ProtectActionRemoveDomainsDetails` struct.
///
/// Removed domains via Dropbox Protect.
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which is required for all Obj-C SDK API route
/// objects.
///
@interface DBTEAMLOGProtectActionRemoveDomainsDetails : NSObject <DBSerializable, NSCopying>

#pragma mark - Instance fields

/// Action ID.
@property (nonatomic, readonly, copy) NSString *actionId;

#pragma mark - Constructors

///
/// Full constructor for the struct (exposes all instance variables).
///
/// @param actionId Action ID.
///
/// @return An initialized instance.
///
- (instancetype)initWithActionId:(NSString *)actionId;

- (instancetype)init NS_UNAVAILABLE;

@end

#pragma mark - Serializer Object

///
/// The serialization class for the `ProtectActionRemoveDomainsDetails` struct.
///
@interface DBTEAMLOGProtectActionRemoveDomainsDetailsSerializer : NSObject

///
/// Serializes `DBTEAMLOGProtectActionRemoveDomainsDetails` instances.
///
/// @param instance An instance of the
/// `DBTEAMLOGProtectActionRemoveDomainsDetails` API object.
///
/// @return A json-compatible dictionary representation of the
/// `DBTEAMLOGProtectActionRemoveDomainsDetails` API object.
///
+ (nullable NSDictionary<NSString *, id> *)serialize:(DBTEAMLOGProtectActionRemoveDomainsDetails *)instance;

///
/// Deserializes `DBTEAMLOGProtectActionRemoveDomainsDetails` instances.
///
/// @param dict A json-compatible dictionary representation of the
/// `DBTEAMLOGProtectActionRemoveDomainsDetails` API object.
///
/// @return An instantiation of the `DBTEAMLOGProtectActionRemoveDomainsDetails`
/// object.
///
+ (DBTEAMLOGProtectActionRemoveDomainsDetails *)deserialize:(NSDictionary<NSString *, id> *)dict;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///

#import <Foundation/Foundation.h>

#import "DBSerializableProtocol.h"

@class DBTEAMLOGProtectActionRemoveDomainsType;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - API Object

///
/// The `ProtectActionRemoveDomainsType` struct.
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which is required for all Obj-C SDK API route
/// objects.
///
@interface DBTEAMLOGProtectActionRemoveDomainsType : NSObject <DBSerializable, NSCopying>

#pragma mark - Instance fields

/// (no description).
@property (nonatomic, readonly, copy) NSString *description_;

#pragma mark - Constructors

///
/// Full constructor for the struct (exposes all instance variables).
///
/// @param description_ (no description).
///
/// @return An initialized instance.
///
- (instancetype)initWithDescription_:(NSString *)description_;

- (instancetype)init NS_UNAVAILABLE;

@end

#pragma mark - Serializer Object

///
/// The serialization class for the `ProtectActionRemoveDomainsType` struct.
///
@interface DBTEAMLOGProtectActionRemoveDomainsTypeSerializer : NSObject

///
/// Serializes `DBTEAMLOGProtectActionRemoveDomainsType` instances.
///
/// @param instance An instance of the `DBTEAMLOGProtectActionRemoveDomainsType`
/// API object.
///
/// @return A json-compatible dictionary representation of the
/// `DBTEAMLOGProtectActionRemoveDomainsType` API object.
///
+ (nullable NSDictionary<NSString *, id> *)serialize:(DBTEAMLOGProtectActionRemoveDomainsType *)instance;

///
/// Deserializes `DBTEAMLOGProtectActionRemoveDomainsType` instances.
///
/// @param dict A json-compatible dictionary representation of the
/// `DBTEAMLOGProtectActionRemoveDomainsType` API object.
///
/// @return An instantiation of the `DBTEAMLOGProtectActionRemoveDomainsType`
/// object.
///
+ (DBTEAMLOGProtectActionRemoveDomainsType *)deserialize:(NSDictionary<NSString *, id> *)dict;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,8 @@
#import "DBTEAMLOGProtectActionExportType.h"
#import "DBTEAMLOGProtectActionRemoveCollaboratorDetails.h"
#import "DBTEAMLOGProtectActionRemoveCollaboratorType.h"
#import "DBTEAMLOGProtectActionRemoveDomainsDetails.h"
#import "DBTEAMLOGProtectActionRemoveDomainsType.h"
#import "DBTEAMLOGProtectActionRemoveLinkDetails.h"
#import "DBTEAMLOGProtectActionRemoveLinkType.h"
#import "DBTEAMLOGProtectActionStopSharingDetails.h"
Expand Down
2 changes: 1 addition & 1 deletion spec
Submodule spec updated 1 files
+19 −0 team_log.stone
Loading