@@ -21,10 +21,10 @@ class AccessError(bb.Union):
21
21
return true. To get the associated value of a tag (if one exists), use the
22
22
corresponding ``get_*`` method.
23
23
24
- :ivar InvalidAccountTypeError invalid_account_type: Current account type
25
- cannot access the resource.
26
- :ivar PaperAccessError paper_access_denied: Current account cannot access
27
- Paper.
24
+ :ivar InvalidAccountTypeError auth.AccessError. invalid_account_type: Current
25
+ account type cannot access the resource.
26
+ :ivar PaperAccessError auth.AccessError. paper_access_denied: Current account
27
+ cannot access Paper.
28
28
"""
29
29
30
30
_catch_all = 'other'
@@ -37,8 +37,8 @@ def invalid_account_type(cls, val):
37
37
Create an instance of this class set to the ``invalid_account_type`` tag
38
38
with value ``val``.
39
39
40
- :param InvalidAccountTypeError val:
41
- :rtype: AccessError
40
+ :param auth. InvalidAccountTypeError val:
41
+ :rtype: auth. AccessError
42
42
"""
43
43
return cls ('invalid_account_type' , val )
44
44
@@ -48,8 +48,8 @@ def paper_access_denied(cls, val):
48
48
Create an instance of this class set to the ``paper_access_denied`` tag
49
49
with value ``val``.
50
50
51
- :param PaperAccessError val:
52
- :rtype: AccessError
51
+ :param auth. PaperAccessError val:
52
+ :rtype: auth. AccessError
53
53
"""
54
54
return cls ('paper_access_denied' , val )
55
55
@@ -83,7 +83,7 @@ def get_invalid_account_type(self):
83
83
84
84
Only call this if :meth:`is_invalid_account_type` is true.
85
85
86
- :rtype: InvalidAccountTypeError
86
+ :rtype: auth. InvalidAccountTypeError
87
87
"""
88
88
if not self .is_invalid_account_type ():
89
89
raise AttributeError ("tag 'invalid_account_type' not set" )
@@ -95,7 +95,7 @@ def get_paper_access_denied(self):
95
95
96
96
Only call this if :meth:`is_paper_access_denied` is true.
97
97
98
- :rtype: PaperAccessError
98
+ :rtype: auth. PaperAccessError
99
99
"""
100
100
if not self .is_paper_access_denied ():
101
101
raise AttributeError ("tag 'paper_access_denied' not set" )
@@ -117,13 +117,13 @@ class AuthError(bb.Union):
117
117
return true. To get the associated value of a tag (if one exists), use the
118
118
corresponding ``get_*`` method.
119
119
120
- :ivar invalid_access_token: The access token is invalid.
121
- :ivar invalid_select_user: The user specified in 'Dropbox-API-Select-User'
122
- is no longer on the team.
123
- :ivar invalid_select_admin: The user specified in 'Dropbox-API-Select-Admin'
124
- is not a Dropbox Business team admin.
125
- :ivar user_suspended: The user has been suspended.
126
- :ivar expired_access_token: The access token has expired.
120
+ :ivar auth.AuthError. invalid_access_token: The access token is invalid.
121
+ :ivar auth.AuthError. invalid_select_user: The user specified in
122
+ 'Dropbox-API-Select-User' is no longer on the team.
123
+ :ivar auth.AuthError. invalid_select_admin: The user specified in
124
+ 'Dropbox-API-Select-Admin' is not a Dropbox Business team admin.
125
+ :ivar auth.AuthError. user_suspended: The user has been suspended.
126
+ :ivar auth.AuthError. expired_access_token: The access token has expired.
127
127
"""
128
128
129
129
_catch_all = 'other'
@@ -202,10 +202,10 @@ class InvalidAccountTypeError(bb.Union):
202
202
return true. To get the associated value of a tag (if one exists), use the
203
203
corresponding ``get_*`` method.
204
204
205
- :ivar endpoint: Current account type doesn't have permission to access this
206
- route endpoint.
207
- :ivar feature: Current account type doesn't have permission to access this
208
- feature.
205
+ :ivar auth.InvalidAccountTypeError. endpoint: Current account type doesn't
206
+ have permission to access this route endpoint.
207
+ :ivar auth.InvalidAccountTypeError. feature: Current account type doesn't
208
+ have permission to access this feature.
209
209
"""
210
210
211
211
_catch_all = 'other'
@@ -254,8 +254,9 @@ class PaperAccessError(bb.Union):
254
254
return true. To get the associated value of a tag (if one exists), use the
255
255
corresponding ``get_*`` method.
256
256
257
- :ivar paper_disabled: Paper is disabled.
258
- :ivar not_paper_user: The provided user has not used Paper yet.
257
+ :ivar auth.PaperAccessError.paper_disabled: Paper is disabled.
258
+ :ivar auth.PaperAccessError.not_paper_user: The provided user has not used
259
+ Paper yet.
259
260
"""
260
261
261
262
_catch_all = 'other'
@@ -302,9 +303,10 @@ class RateLimitError(bb.Struct):
302
303
"""
303
304
Error occurred because the app is being rate limited.
304
305
305
- :ivar reason: The reason why the app is being rate limited.
306
- :ivar retry_after: The number of seconds that the app should wait before
307
- making another request.
306
+ :ivar auth.RateLimitError.reason: The reason why the app is being rate
307
+ limited.
308
+ :ivar auth.RateLimitError.retry_after: The number of seconds that the app
309
+ should wait before making another request.
308
310
"""
309
311
310
312
__slots__ = [
@@ -333,7 +335,7 @@ def reason(self):
333
335
"""
334
336
The reason why the app is being rate limited.
335
337
336
- :rtype: RateLimitReason
338
+ :rtype: auth. RateLimitReason
337
339
"""
338
340
if self ._reason_present :
339
341
return self ._reason_value
@@ -392,10 +394,10 @@ class RateLimitReason(bb.Union):
392
394
return true. To get the associated value of a tag (if one exists), use the
393
395
corresponding ``get_*`` method.
394
396
395
- :ivar too_many_requests: You are making too many requests in the past few
396
- minutes.
397
- :ivar too_many_write_operations: There are currently too many write
398
- operations happening in the user's Dropbox.
397
+ :ivar auth.RateLimitReason. too_many_requests: You are making too many
398
+ requests in the past few minutes.
399
+ :ivar auth.RateLimitReason. too_many_write_operations: There are currently
400
+ too many write operations happening in the user's Dropbox.
399
401
"""
400
402
401
403
_catch_all = 'other'
@@ -440,9 +442,10 @@ def __repr__(self):
440
442
441
443
class TokenFromOAuth1Arg (bb .Struct ):
442
444
"""
443
- :ivar oauth1_token: The supplied OAuth 1.0 access token.
444
- :ivar oauth1_token_secret: The token secret associated with the supplied
445
- access token.
445
+ :ivar auth.TokenFromOAuth1Arg.oauth1_token: The supplied OAuth 1.0 access
446
+ token.
447
+ :ivar auth.TokenFromOAuth1Arg.oauth1_token_secret: The token secret
448
+ associated with the supplied access token.
446
449
"""
447
450
448
451
__slots__ = [
@@ -529,10 +532,10 @@ class TokenFromOAuth1Error(bb.Union):
529
532
return true. To get the associated value of a tag (if one exists), use the
530
533
corresponding ``get_*`` method.
531
534
532
- :ivar invalid_oauth1_token_info: Part or all of the OAuth 1.0 access token
533
- info is invalid.
534
- :ivar app_id_mismatch: The authorized app does not match the app associated
535
- with the supplied access token.
535
+ :ivar auth.TokenFromOAuth1Error. invalid_oauth1_token_info: Part or all of
536
+ the OAuth 1.0 access token info is invalid.
537
+ :ivar auth.TokenFromOAuth1Error. app_id_mismatch: The authorized app does not
538
+ match the app associated with the supplied access token.
536
539
"""
537
540
538
541
_catch_all = 'other'
@@ -577,8 +580,8 @@ def __repr__(self):
577
580
578
581
class TokenFromOAuth1Result (bb .Struct ):
579
582
"""
580
- :ivar oauth2_token: The OAuth 2.0 token generated from the supplied OAuth
581
- 1.0 token.
583
+ :ivar auth.TokenFromOAuth1Result. oauth2_token: The OAuth 2.0 token generated
584
+ from the supplied OAuth 1.0 token.
582
585
"""
583
586
584
587
__slots__ = [
0 commit comments