Skip to content

Commit ca7eb10

Browse files
Automated Spec Update (#421)
8857713f7d1aef703da1832520a6ec275ebff60c Co-authored-by: dropbox-spec-updater[bot] <306253022+dropbox-spec-updater[bot]@users.noreply.github.com> Co-authored-by: dropbox-sdk-updater[bot] <306210582+dropbox-sdk-updater[bot]@users.noreply.github.com>
1 parent 9f2cadb commit ca7eb10

8 files changed

Lines changed: 553 additions & 1 deletion

File tree

Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m

Lines changed: 303 additions & 0 deletions
Large diffs are not rendered by default.

Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventDetails.h

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@
384384
@class DBTEAMLOGProtectActionDeleteDetails;
385385
@class DBTEAMLOGProtectActionExportDetails;
386386
@class DBTEAMLOGProtectActionRemoveCollaboratorDetails;
387+
@class DBTEAMLOGProtectActionRemoveDomainsDetails;
387388
@class DBTEAMLOGProtectActionRemoveLinkDetails;
388389
@class DBTEAMLOGProtectActionStopSharingDetails;
389390
@class DBTEAMLOGProtectInternalDomainsChangedDetails;
@@ -1510,6 +1511,9 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) {
15101511
/// (no description).
15111512
DBTEAMLOGEventDetailsProtectActionRemoveCollaboratorDetails,
15121513

1514+
/// (no description).
1515+
DBTEAMLOGEventDetailsProtectActionRemoveDomainsDetails,
1516+
15131517
/// (no description).
15141518
DBTEAMLOGEventDetailsProtectActionRemoveLinkDetails,
15151519

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

3861+
/// (no description). @note Ensure the `isProtectActionRemoveDomainsDetails`
3862+
/// method returns true before accessing, otherwise a runtime exception will be
3863+
/// raised.
3864+
@property (nonatomic, readonly) DBTEAMLOGProtectActionRemoveDomainsDetails *protectActionRemoveDomainsDetails;
3865+
38573866
/// (no description). @note Ensure the `isProtectActionRemoveLinkDetails` method
38583867
/// returns true before accessing, otherwise a runtime exception will be raised.
38593868
@property (nonatomic, readonly) DBTEAMLOGProtectActionRemoveLinkDetails *protectActionRemoveLinkDetails;
@@ -8430,6 +8439,17 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) {
84308439
- (instancetype)initWithProtectActionRemoveCollaboratorDetails:
84318440
(DBTEAMLOGProtectActionRemoveCollaboratorDetails *)protectActionRemoveCollaboratorDetails;
84328441

8442+
///
8443+
/// Initializes union class with tag state of
8444+
/// "protect_action_remove_domains_details".
8445+
///
8446+
/// @param protectActionRemoveDomainsDetails (no description).
8447+
///
8448+
/// @return An initialized instance.
8449+
///
8450+
- (instancetype)initWithProtectActionRemoveDomainsDetails:
8451+
(DBTEAMLOGProtectActionRemoveDomainsDetails *)protectActionRemoveDomainsDetails;
8452+
84338453
///
84348454
/// Initializes union class with tag state of
84358455
/// "protect_action_remove_link_details".
@@ -15767,6 +15787,19 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) {
1576715787
///
1576815788
- (BOOL)isProtectActionRemoveCollaboratorDetails;
1576915789

15790+
///
15791+
/// Retrieves whether the union's current tag state has value
15792+
/// "protect_action_remove_domains_details".
15793+
///
15794+
/// @note Call this method and ensure it returns true before accessing the
15795+
/// `protectActionRemoveDomainsDetails` property, otherwise a runtime exception
15796+
/// will be thrown.
15797+
///
15798+
/// @return Whether the union's current tag state has value
15799+
/// "protect_action_remove_domains_details".
15800+
///
15801+
- (BOOL)isProtectActionRemoveDomainsDetails;
15802+
1577015803
///
1577115804
/// Retrieves whether the union's current tag state has value
1577215805
/// "protect_action_remove_link_details".

Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventType.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@
383383
@class DBTEAMLOGProtectActionDeleteType;
384384
@class DBTEAMLOGProtectActionExportType;
385385
@class DBTEAMLOGProtectActionRemoveCollaboratorType;
386+
@class DBTEAMLOGProtectActionRemoveDomainsType;
386387
@class DBTEAMLOGProtectActionRemoveLinkType;
387388
@class DBTEAMLOGProtectActionStopSharingType;
388389
@class DBTEAMLOGProtectInternalDomainsChangedType;
@@ -1526,6 +1527,9 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag) {
15261527
/// (protect) Removed collaborators via Dropbox Protect
15271528
DBTEAMLOGEventTypeProtectActionRemoveCollaborator,
15281529

1530+
/// (protect) Removed domains via Dropbox Protect
1531+
DBTEAMLOGEventTypeProtectActionRemoveDomains,
1532+
15291533
/// (protect) Removed a link via Dropbox Protect
15301534
DBTEAMLOGEventTypeProtectActionRemoveLink,
15311535

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

4046+
/// (protect) Removed domains via Dropbox Protect @note Ensure the
4047+
/// `isProtectActionRemoveDomains` method returns true before accessing,
4048+
/// otherwise a runtime exception will be raised.
4049+
@property (nonatomic, readonly) DBTEAMLOGProtectActionRemoveDomainsType *protectActionRemoveDomains;
4050+
40424051
/// (protect) Removed a link via Dropbox Protect @note Ensure the
40434052
/// `isProtectActionRemoveLink` method returns true before accessing, otherwise
40444053
/// a runtime exception will be raised.
@@ -9494,6 +9503,20 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag) {
94949503
- (instancetype)initWithProtectActionRemoveCollaborator:
94959504
(DBTEAMLOGProtectActionRemoveCollaboratorType *)protectActionRemoveCollaborator;
94969505

9506+
///
9507+
/// Initializes union class with tag state of "protect_action_remove_domains".
9508+
///
9509+
/// Description of the "protect_action_remove_domains" tag state: (protect)
9510+
/// Removed domains via Dropbox Protect
9511+
///
9512+
/// @param protectActionRemoveDomains (protect) Removed domains via Dropbox
9513+
/// Protect
9514+
///
9515+
/// @return An initialized instance.
9516+
///
9517+
- (instancetype)initWithProtectActionRemoveDomains:
9518+
(DBTEAMLOGProtectActionRemoveDomainsType *)protectActionRemoveDomains;
9519+
94979520
///
94989521
/// Initializes union class with tag state of "protect_action_remove_link".
94999522
///
@@ -17824,6 +17847,19 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag) {
1782417847
///
1782517848
- (BOOL)isProtectActionRemoveCollaborator;
1782617849

17850+
///
17851+
/// Retrieves whether the union's current tag state has value
17852+
/// "protect_action_remove_domains".
17853+
///
17854+
/// @note Call this method and ensure it returns true before accessing the
17855+
/// `protectActionRemoveDomains` property, otherwise a runtime exception will be
17856+
/// thrown.
17857+
///
17858+
/// @return Whether the union's current tag state has value
17859+
/// "protect_action_remove_domains".
17860+
///
17861+
- (BOOL)isProtectActionRemoveDomains;
17862+
1782717863
///
1782817864
/// Retrieves whether the union's current tag state has value
1782917865
/// "protect_action_remove_link".

Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventTypeArg.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,9 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeArgTag) {
893893
/// (protect) Removed collaborators via Dropbox Protect
894894
DBTEAMLOGEventTypeArgProtectActionRemoveCollaborator,
895895

896+
/// (protect) Removed domains via Dropbox Protect
897+
DBTEAMLOGEventTypeArgProtectActionRemoveDomains,
898+
896899
/// (protect) Removed a link via Dropbox Protect
897900
DBTEAMLOGEventTypeArgProtectActionRemoveLink,
898901

@@ -4893,6 +4896,16 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeArgTag) {
48934896
///
48944897
- (instancetype)initWithProtectActionRemoveCollaborator;
48954898

4899+
///
4900+
/// Initializes union class with tag state of "protect_action_remove_domains".
4901+
///
4902+
/// Description of the "protect_action_remove_domains" tag state: (protect)
4903+
/// Removed domains via Dropbox Protect
4904+
///
4905+
/// @return An initialized instance.
4906+
///
4907+
- (instancetype)initWithProtectActionRemoveDomains;
4908+
48964909
///
48974910
/// Initializes union class with tag state of "protect_action_remove_link".
48984911
///
@@ -11048,6 +11061,15 @@ typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeArgTag) {
1104811061
///
1104911062
- (BOOL)isProtectActionRemoveCollaborator;
1105011063

11064+
///
11065+
/// Retrieves whether the union's current tag state has value
11066+
/// "protect_action_remove_domains".
11067+
///
11068+
/// @return Whether the union's current tag state has value
11069+
/// "protect_action_remove_domains".
11070+
///
11071+
- (BOOL)isProtectActionRemoveDomains;
11072+
1105111073
///
1105211074
/// Retrieves whether the union's current tag state has value
1105311075
/// "protect_action_remove_link".
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
///
2+
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
3+
///
4+
/// Auto-generated by Stone, do not modify.
5+
///
6+
7+
#import <Foundation/Foundation.h>
8+
9+
#import "DBSerializableProtocol.h"
10+
11+
@class DBTEAMLOGProtectActionRemoveDomainsDetails;
12+
13+
NS_ASSUME_NONNULL_BEGIN
14+
15+
#pragma mark - API Object
16+
17+
///
18+
/// The `ProtectActionRemoveDomainsDetails` struct.
19+
///
20+
/// Removed domains via Dropbox Protect.
21+
///
22+
/// This class implements the `DBSerializable` protocol (serialize and
23+
/// deserialize instance methods), which is required for all Obj-C SDK API route
24+
/// objects.
25+
///
26+
@interface DBTEAMLOGProtectActionRemoveDomainsDetails : NSObject <DBSerializable, NSCopying>
27+
28+
#pragma mark - Instance fields
29+
30+
/// Action ID.
31+
@property (nonatomic, readonly, copy) NSString *actionId;
32+
33+
#pragma mark - Constructors
34+
35+
///
36+
/// Full constructor for the struct (exposes all instance variables).
37+
///
38+
/// @param actionId Action ID.
39+
///
40+
/// @return An initialized instance.
41+
///
42+
- (instancetype)initWithActionId:(NSString *)actionId;
43+
44+
- (instancetype)init NS_UNAVAILABLE;
45+
46+
@end
47+
48+
#pragma mark - Serializer Object
49+
50+
///
51+
/// The serialization class for the `ProtectActionRemoveDomainsDetails` struct.
52+
///
53+
@interface DBTEAMLOGProtectActionRemoveDomainsDetailsSerializer : NSObject
54+
55+
///
56+
/// Serializes `DBTEAMLOGProtectActionRemoveDomainsDetails` instances.
57+
///
58+
/// @param instance An instance of the
59+
/// `DBTEAMLOGProtectActionRemoveDomainsDetails` API object.
60+
///
61+
/// @return A json-compatible dictionary representation of the
62+
/// `DBTEAMLOGProtectActionRemoveDomainsDetails` API object.
63+
///
64+
+ (nullable NSDictionary<NSString *, id> *)serialize:(DBTEAMLOGProtectActionRemoveDomainsDetails *)instance;
65+
66+
///
67+
/// Deserializes `DBTEAMLOGProtectActionRemoveDomainsDetails` instances.
68+
///
69+
/// @param dict A json-compatible dictionary representation of the
70+
/// `DBTEAMLOGProtectActionRemoveDomainsDetails` API object.
71+
///
72+
/// @return An instantiation of the `DBTEAMLOGProtectActionRemoveDomainsDetails`
73+
/// object.
74+
///
75+
+ (DBTEAMLOGProtectActionRemoveDomainsDetails *)deserialize:(NSDictionary<NSString *, id> *)dict;
76+
77+
@end
78+
79+
NS_ASSUME_NONNULL_END
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
///
2+
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
3+
///
4+
/// Auto-generated by Stone, do not modify.
5+
///
6+
7+
#import <Foundation/Foundation.h>
8+
9+
#import "DBSerializableProtocol.h"
10+
11+
@class DBTEAMLOGProtectActionRemoveDomainsType;
12+
13+
NS_ASSUME_NONNULL_BEGIN
14+
15+
#pragma mark - API Object
16+
17+
///
18+
/// The `ProtectActionRemoveDomainsType` struct.
19+
///
20+
/// This class implements the `DBSerializable` protocol (serialize and
21+
/// deserialize instance methods), which is required for all Obj-C SDK API route
22+
/// objects.
23+
///
24+
@interface DBTEAMLOGProtectActionRemoveDomainsType : NSObject <DBSerializable, NSCopying>
25+
26+
#pragma mark - Instance fields
27+
28+
/// (no description).
29+
@property (nonatomic, readonly, copy) NSString *description_;
30+
31+
#pragma mark - Constructors
32+
33+
///
34+
/// Full constructor for the struct (exposes all instance variables).
35+
///
36+
/// @param description_ (no description).
37+
///
38+
/// @return An initialized instance.
39+
///
40+
- (instancetype)initWithDescription_:(NSString *)description_;
41+
42+
- (instancetype)init NS_UNAVAILABLE;
43+
44+
@end
45+
46+
#pragma mark - Serializer Object
47+
48+
///
49+
/// The serialization class for the `ProtectActionRemoveDomainsType` struct.
50+
///
51+
@interface DBTEAMLOGProtectActionRemoveDomainsTypeSerializer : NSObject
52+
53+
///
54+
/// Serializes `DBTEAMLOGProtectActionRemoveDomainsType` instances.
55+
///
56+
/// @param instance An instance of the `DBTEAMLOGProtectActionRemoveDomainsType`
57+
/// API object.
58+
///
59+
/// @return A json-compatible dictionary representation of the
60+
/// `DBTEAMLOGProtectActionRemoveDomainsType` API object.
61+
///
62+
+ (nullable NSDictionary<NSString *, id> *)serialize:(DBTEAMLOGProtectActionRemoveDomainsType *)instance;
63+
64+
///
65+
/// Deserializes `DBTEAMLOGProtectActionRemoveDomainsType` instances.
66+
///
67+
/// @param dict A json-compatible dictionary representation of the
68+
/// `DBTEAMLOGProtectActionRemoveDomainsType` API object.
69+
///
70+
/// @return An instantiation of the `DBTEAMLOGProtectActionRemoveDomainsType`
71+
/// object.
72+
///
73+
+ (DBTEAMLOGProtectActionRemoveDomainsType *)deserialize:(NSDictionary<NSString *, id> *)dict;
74+
75+
@end
76+
77+
NS_ASSUME_NONNULL_END

Source/ObjectiveDropboxOfficial/Shared/Generated/DBSDKImportsGenerated.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,6 +1871,8 @@
18711871
#import "DBTEAMLOGProtectActionExportType.h"
18721872
#import "DBTEAMLOGProtectActionRemoveCollaboratorDetails.h"
18731873
#import "DBTEAMLOGProtectActionRemoveCollaboratorType.h"
1874+
#import "DBTEAMLOGProtectActionRemoveDomainsDetails.h"
1875+
#import "DBTEAMLOGProtectActionRemoveDomainsType.h"
18741876
#import "DBTEAMLOGProtectActionRemoveLinkDetails.h"
18751877
#import "DBTEAMLOGProtectActionRemoveLinkType.h"
18761878
#import "DBTEAMLOGProtectActionStopSharingDetails.h"

spec

Submodule spec updated 1 file

0 commit comments

Comments
 (0)