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
16 changes: 16 additions & 0 deletions openapi-raw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11125,6 +11125,8 @@ components:
nullable: true
usage:
$ref: '#/components/schemas/AccountResponseUsage'
settings:
$ref: '#/components/schemas/AccountResponseSettings'
type: object
x-internal-class: true
OAuthTokenResponse:
Expand Down Expand Up @@ -11172,6 +11174,20 @@ components:
nullable: true
type: object
x-internal-class: true
AccountResponseSettings:
description: '_t__Account::SETTINGS'
properties:
signer_access_codes:
description: '_t__AccountSettings::SIGNER_ACCESS_CODES'
type: boolean
sms_delivery:
description: '_t__AccountSettings::SMS_DELIVERY'
type: boolean
sms_authentication:
description: '_t__AccountSettings::SMS_AUTHENTICATION'
type: boolean
type: object
x-internal-class: true
AccountResponseUsage:
description: '_t__Account::USAGE'
properties:
Expand Down
16 changes: 16 additions & 0 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11865,6 +11865,8 @@ components:
nullable: true
usage:
$ref: '#/components/schemas/AccountResponseUsage'
settings:
$ref: '#/components/schemas/AccountResponseSettings'
type: object
x-internal-class: true
OAuthTokenResponse:
Expand Down Expand Up @@ -11912,6 +11914,20 @@ components:
nullable: true
type: object
x-internal-class: true
AccountResponseSettings:
description: 'Subset of configured settings'
properties:
signer_access_codes:
description: 'Returns `true` if _Custom access codes_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough).'
type: boolean
sms_delivery:
description: 'Returns `true` if _Text message_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough).'
type: boolean
sms_authentication:
description: 'Returns `true` if _Signer authentication_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough).'
type: boolean
type: object
x-internal-class: true
AccountResponseUsage:
description: 'Details concerning monthly usage'
properties:
Expand Down
16 changes: 16 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11728,6 +11728,8 @@ components:
nullable: true
usage:
$ref: '#/components/schemas/AccountResponseUsage'
settings:
$ref: '#/components/schemas/AccountResponseSettings'
type: object
x-internal-class: true
OAuthTokenResponse:
Expand Down Expand Up @@ -11775,6 +11777,20 @@ components:
nullable: true
type: object
x-internal-class: true
AccountResponseSettings:
description: 'Subset of configured settings'
properties:
signer_access_codes:
description: 'Returns `true` if _Custom access codes_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough).'
type: boolean
sms_delivery:
description: 'Returns `true` if _Text message_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough).'
type: boolean
sms_authentication:
description: 'Returns `true` if _Signer authentication_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough).'
type: boolean
type: object
x-internal-class: true
AccountResponseUsage:
description: 'Details concerning monthly usage'
properties:
Expand Down
1 change: 1 addition & 0 deletions sdks/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ Class | Method | HTTP request | Description
- [Model.AccountGetResponse](docs/AccountGetResponse.md)
- [Model.AccountResponse](docs/AccountResponse.md)
- [Model.AccountResponseQuotas](docs/AccountResponseQuotas.md)
- [Model.AccountResponseSettings](docs/AccountResponseSettings.md)
- [Model.AccountResponseUsage](docs/AccountResponseUsage.md)
- [Model.AccountUpdateRequest](docs/AccountUpdateRequest.md)
- [Model.AccountVerifyRequest](docs/AccountVerifyRequest.md)
Expand Down
2 changes: 1 addition & 1 deletion sdks/dotnet/docs/AccountResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]

[[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 changes: 11 additions & 0 deletions sdks/dotnet/docs/AccountResponseSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Dropbox.Sign.Model.AccountResponseSettings
Subset of configured settings

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**SignerAccessCodes** | **bool** | Returns `true` if _Custom access codes_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough). | [optional] **SmsDelivery** | **bool** | Returns `true` if _Text message_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough). | [optional] **SmsAuthentication** | **bool** | Returns `true` if _Signer authentication_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough). | [optional]

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

27 changes: 26 additions & 1 deletion sdks/dotnet/src/Dropbox.Sign/Model/AccountResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ protected AccountResponse() { }
/// <param name="teamId">The id of the team account belongs to..</param>
/// <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>
/// <param name="usage">usage.</param>
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))
/// <param name="settings">settings.</param>
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))
{

this.AccountId = accountId;
Expand All @@ -66,6 +67,7 @@ protected AccountResponse() { }
this.TeamId = teamId;
this.Locale = locale;
this.Usage = usage;
this.Settings = settings;
}

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

/// <summary>
/// Gets or Sets Settings
/// </summary>
[DataMember(Name = "settings", EmitDefaultValue = true)]
public AccountResponseSettings Settings { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -178,6 +186,7 @@ public override string ToString()
sb.Append(" TeamId: ").Append(TeamId).Append("\n");
sb.Append(" Locale: ").Append(Locale).Append("\n");
sb.Append(" Usage: ").Append(Usage).Append("\n");
sb.Append(" Settings: ").Append(Settings).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -264,6 +273,11 @@ public bool Equals(AccountResponse input)
this.Usage == input.Usage ||
(this.Usage != null &&
this.Usage.Equals(input.Usage))
) &&
(
this.Settings == input.Settings ||
(this.Settings != null &&
this.Settings.Equals(input.Settings))
);
}

Expand Down Expand Up @@ -311,6 +325,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Usage.GetHashCode();
}
if (this.Settings != null)
{
hashCode = (hashCode * 59) + this.Settings.GetHashCode();
}
return hashCode;
}
}
Expand Down Expand Up @@ -404,6 +422,13 @@ public List<OpenApiType> GetOpenApiTypes()
Type = "AccountResponseUsage",
Value = Usage,
});
types.Add(new OpenApiType()
{
Name = "settings",
Property = "Settings",
Type = "AccountResponseSettings",
Value = Settings,
});

return types;
}
Expand Down
Loading