Skip to content

Commit 6e4cbe7

Browse files
[SIGN-10766] Add settings to account
1 parent ba3fc8a commit 6e4cbe7

46 files changed

Lines changed: 2145 additions & 13 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

openapi-raw.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11125,6 +11125,8 @@ components:
1112511125
nullable: true
1112611126
usage:
1112711127
$ref: '#/components/schemas/AccountResponseUsage'
11128+
settings:
11129+
$ref: '#/components/schemas/AccountResponseSettings'
1112811130
type: object
1112911131
x-internal-class: true
1113011132
OAuthTokenResponse:
@@ -11172,6 +11174,20 @@ components:
1117211174
nullable: true
1117311175
type: object
1117411176
x-internal-class: true
11177+
AccountResponseSettings:
11178+
description: '_t__Account::SETTINGS'
11179+
properties:
11180+
signer_access_codes:
11181+
description: '_t__AccountSettings::SIGNER_ACCESS_CODES'
11182+
type: boolean
11183+
sms_delivery:
11184+
description: '_t__AccountSettings::SMS_DELIVERY'
11185+
type: boolean
11186+
sms_authentication:
11187+
description: '_t__AccountSettings::SMS_AUTHENTICATION'
11188+
type: boolean
11189+
type: object
11190+
x-internal-class: true
1117511191
AccountResponseUsage:
1117611192
description: '_t__Account::USAGE'
1117711193
properties:

openapi-sdk.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11865,6 +11865,8 @@ components:
1186511865
nullable: true
1186611866
usage:
1186711867
$ref: '#/components/schemas/AccountResponseUsage'
11868+
settings:
11869+
$ref: '#/components/schemas/AccountResponseSettings'
1186811870
type: object
1186911871
x-internal-class: true
1187011872
OAuthTokenResponse:
@@ -11912,6 +11914,20 @@ components:
1191211914
nullable: true
1191311915
type: object
1191411916
x-internal-class: true
11917+
AccountResponseSettings:
11918+
description: '_t__Account::SETTINGS'
11919+
properties:
11920+
signer_access_codes:
11921+
description: '_t__AccountSettings::SIGNER_ACCESS_CODES'
11922+
type: boolean
11923+
sms_delivery:
11924+
description: '_t__AccountSettings::SMS_DELIVERY'
11925+
type: boolean
11926+
sms_authentication:
11927+
description: '_t__AccountSettings::SMS_AUTHENTICATION'
11928+
type: boolean
11929+
type: object
11930+
x-internal-class: true
1191511931
AccountResponseUsage:
1191611932
description: 'Details concerning monthly usage'
1191711933
properties:

openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11728,6 +11728,8 @@ components:
1172811728
nullable: true
1172911729
usage:
1173011730
$ref: '#/components/schemas/AccountResponseUsage'
11731+
settings:
11732+
$ref: '#/components/schemas/AccountResponseSettings'
1173111733
type: object
1173211734
x-internal-class: true
1173311735
OAuthTokenResponse:
@@ -11775,6 +11777,20 @@ components:
1177511777
nullable: true
1177611778
type: object
1177711779
x-internal-class: true
11780+
AccountResponseSettings:
11781+
description: '_t__Account::SETTINGS'
11782+
properties:
11783+
signer_access_codes:
11784+
description: '_t__AccountSettings::SIGNER_ACCESS_CODES'
11785+
type: boolean
11786+
sms_delivery:
11787+
description: '_t__AccountSettings::SMS_DELIVERY'
11788+
type: boolean
11789+
sms_authentication:
11790+
description: '_t__AccountSettings::SMS_AUTHENTICATION'
11791+
type: boolean
11792+
type: object
11793+
x-internal-class: true
1177811794
AccountResponseUsage:
1177911795
description: 'Details concerning monthly usage'
1178011796
properties:

sdks/dotnet/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ Class | Method | HTTP request | Description
215215
- [Model.AccountGetResponse](docs/AccountGetResponse.md)
216216
- [Model.AccountResponse](docs/AccountResponse.md)
217217
- [Model.AccountResponseQuotas](docs/AccountResponseQuotas.md)
218+
- [Model.AccountResponseSettings](docs/AccountResponseSettings.md)
218219
- [Model.AccountResponseUsage](docs/AccountResponseUsage.md)
219220
- [Model.AccountUpdateRequest](docs/AccountUpdateRequest.md)
220221
- [Model.AccountVerifyRequest](docs/AccountVerifyRequest.md)

sdks/dotnet/docs/AccountResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**AccountId** | **string** | The ID of the Account | [optional] **EmailAddress** | **string** | The email address associated with the Account. | [optional] **IsLocked** | **bool** | Returns `true` if the user has been locked out of their account by a team admin. | [optional] **IsPaidHs** | **bool** | Returns `true` if the user has a paid Dropbox Sign account. | [optional] **IsPaidHf** | **bool** | Returns `true` if the user has a paid HelloFax account. | [optional] **Quotas** | [**AccountResponseQuotas**](AccountResponseQuotas.md) | | [optional] **CallbackUrl** | **string** | The URL that Dropbox Sign events will `POST` to. | [optional] **RoleCode** | **string** | The membership role for the team. | [optional] **TeamId** | **string** | The id of the team account belongs to. | [optional] **Locale** | **string** | The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. | [optional] **Usage** | [**AccountResponseUsage**](AccountResponseUsage.md) | | [optional]
7+
**AccountId** | **string** | The ID of the Account | [optional] **EmailAddress** | **string** | The email address associated with the Account. | [optional] **IsLocked** | **bool** | Returns `true` if the user has been locked out of their account by a team admin. | [optional] **IsPaidHs** | **bool** | Returns `true` if the user has a paid Dropbox Sign account. | [optional] **IsPaidHf** | **bool** | Returns `true` if the user has a paid HelloFax account. | [optional] **Quotas** | [**AccountResponseQuotas**](AccountResponseQuotas.md) | | [optional] **CallbackUrl** | **string** | The URL that Dropbox Sign events will `POST` to. | [optional] **RoleCode** | **string** | The membership role for the team. | [optional] **TeamId** | **string** | The id of the team account belongs to. | [optional] **Locale** | **string** | The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. | [optional] **Usage** | [**AccountResponseUsage**](AccountResponseUsage.md) | | [optional] **Settings** | [**AccountResponseSettings**](AccountResponseSettings.md) | | [optional]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Dropbox.Sign.Model.AccountResponseSettings
2+
_t__Account::SETTINGS
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**SignerAccessCodes** | **bool** | _t__AccountSettings::SIGNER_ACCESS_CODES | [optional] **SmsDelivery** | **bool** | _t__AccountSettings::SMS_DELIVERY | [optional] **SmsAuthentication** | **bool** | _t__AccountSettings::SMS_AUTHENTICATION | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+

sdks/dotnet/src/Dropbox.Sign/Model/AccountResponse.cs

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ protected AccountResponse() { }
5252
/// <param name="teamId">The id of the team account belongs to..</param>
5353
/// <param name="locale">The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values..</param>
5454
/// <param name="usage">usage.</param>
55-
public AccountResponse(string accountId = default(string), string emailAddress = default(string), bool isLocked = default(bool), bool isPaidHs = default(bool), bool isPaidHf = default(bool), AccountResponseQuotas quotas = default(AccountResponseQuotas), string callbackUrl = default(string), string roleCode = default(string), string teamId = default(string), string locale = default(string), AccountResponseUsage usage = default(AccountResponseUsage))
55+
/// <param name="settings">settings.</param>
56+
public AccountResponse(string accountId = default(string), string emailAddress = default(string), bool isLocked = default(bool), bool isPaidHs = default(bool), bool isPaidHf = default(bool), AccountResponseQuotas quotas = default(AccountResponseQuotas), string callbackUrl = default(string), string roleCode = default(string), string teamId = default(string), string locale = default(string), AccountResponseUsage usage = default(AccountResponseUsage), AccountResponseSettings settings = default(AccountResponseSettings))
5657
{
5758

5859
this.AccountId = accountId;
@@ -66,6 +67,7 @@ protected AccountResponse() { }
6667
this.TeamId = teamId;
6768
this.Locale = locale;
6869
this.Usage = usage;
70+
this.Settings = settings;
6971
}
7072

7173
/// <summary>
@@ -159,6 +161,12 @@ public static AccountResponse Init(string jsonData)
159161
[DataMember(Name = "usage", EmitDefaultValue = true)]
160162
public AccountResponseUsage Usage { get; set; }
161163

164+
/// <summary>
165+
/// Gets or Sets Settings
166+
/// </summary>
167+
[DataMember(Name = "settings", EmitDefaultValue = true)]
168+
public AccountResponseSettings Settings { get; set; }
169+
162170
/// <summary>
163171
/// Returns the string presentation of the object
164172
/// </summary>
@@ -178,6 +186,7 @@ public override string ToString()
178186
sb.Append(" TeamId: ").Append(TeamId).Append("\n");
179187
sb.Append(" Locale: ").Append(Locale).Append("\n");
180188
sb.Append(" Usage: ").Append(Usage).Append("\n");
189+
sb.Append(" Settings: ").Append(Settings).Append("\n");
181190
sb.Append("}\n");
182191
return sb.ToString();
183192
}
@@ -264,6 +273,11 @@ public bool Equals(AccountResponse input)
264273
this.Usage == input.Usage ||
265274
(this.Usage != null &&
266275
this.Usage.Equals(input.Usage))
276+
) &&
277+
(
278+
this.Settings == input.Settings ||
279+
(this.Settings != null &&
280+
this.Settings.Equals(input.Settings))
267281
);
268282
}
269283

@@ -311,6 +325,10 @@ public override int GetHashCode()
311325
{
312326
hashCode = (hashCode * 59) + this.Usage.GetHashCode();
313327
}
328+
if (this.Settings != null)
329+
{
330+
hashCode = (hashCode * 59) + this.Settings.GetHashCode();
331+
}
314332
return hashCode;
315333
}
316334
}
@@ -404,6 +422,13 @@ public List<OpenApiType> GetOpenApiTypes()
404422
Type = "AccountResponseUsage",
405423
Value = Usage,
406424
});
425+
types.Add(new OpenApiType()
426+
{
427+
Name = "settings",
428+
Property = "Settings",
429+
Type = "AccountResponseSettings",
430+
Value = Settings,
431+
});
407432

408433
return types;
409434
}

0 commit comments

Comments
 (0)