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
10 changes: 5 additions & 5 deletions Bandwidth.Standard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{52ADDC3D-A0B9-4F40-A0EF-5B41DA2188A7}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{930D0378-7645-4210-BCE2-A922C3634788}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52ADDC3D-A0B9-4F40-A0EF-5B41DA2188A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52ADDC3D-A0B9-4F40-A0EF-5B41DA2188A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{52ADDC3D-A0B9-4F40-A0EF-5B41DA2188A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52ADDC3D-A0B9-4F40-A0EF-5B41DA2188A7}.Release|Any CPU.Build.0 = Release|Any CPU
{930D0378-7645-4210-BCE2-A922C3634788}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{930D0378-7645-4210-BCE2-A922C3634788}.Debug|Any CPU.Build.0 = Debug|Any CPU
{930D0378-7645-4210-BCE2-A922C3634788}.Release|Any CPU.ActiveCfg = Release|Any CPU
{930D0378-7645-4210-BCE2-A922C3634788}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
2 changes: 1 addition & 1 deletion api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12359,7 +12359,7 @@ components:
was encountered.
example: "400"
type: string
errorDescription:
errorMessage:
description: A description of the error that was encountered.
example: cannot process request.
type: string
Expand Down
2 changes: 1 addition & 1 deletion bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5424,7 +5424,7 @@ components:
be interpreted as an HTTP status code in regards to the error that
was encountered.
example: '400'
errorDescription:
errorMessage:
type: string
description: A description of the error that was encountered.
example: cannot process request.
Expand Down
2 changes: 1 addition & 1 deletion docs/FailureWebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**AccountId** | **string** | User's account ID. | [optional]
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
**ErrorCode** | **string** | An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered. | [optional]
**ErrorDescription** | **string** | A description of the error that was encountered. | [optional]
**ErrorMessage** | **string** | A description of the error that was encountered. | [optional]
**Errors** | **List<string>** | Details of the errors that were encountered when processing the request. | [optional]
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]

Expand Down
10 changes: 5 additions & 5 deletions src/Bandwidth.Standard.Test/Unit/Model/FailureWebhookTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public FailureWebhookTests()
accountId: "accountId",
phoneNumber: "phoneNumber",
errorCode: "errorCode",
errorDescription: "errorDescription",
errorMessage: "errorMessage",
errors: new List<string> { "error" },
internalTicketNumber: guid
);
Expand Down Expand Up @@ -87,13 +87,13 @@ public void ErrorCodeTest()
}

/// <summary>
/// Test the property 'ErrorDescription'
/// Test the property 'ErrorMessage'
/// </summary>
[Fact]
public void ErrorDescriptionTest()
public void ErrorMessageTest()
{
Assert.IsType<string>(instance.ErrorDescription);
Assert.Equal("errorDescription", instance.ErrorDescription);
Assert.IsType<string>(instance.ErrorMessage);
Assert.Equal("errorMessage", instance.ErrorMessage);
}

/// <summary>
Expand Down
12 changes: 6 additions & 6 deletions src/Bandwidth.Standard/Model/FailureWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ public partial class FailureWebhook : IValidatableObject
/// <param name="accountId">User&#39;s account ID..</param>
/// <param name="phoneNumber">Toll-free telephone number in E.164 format..</param>
/// <param name="errorCode">An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered..</param>
/// <param name="errorDescription">A description of the error that was encountered..</param>
/// <param name="errorMessage">A description of the error that was encountered..</param>
/// <param name="errors">Details of the errors that were encountered when processing the request..</param>
/// <param name="internalTicketNumber">Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number..</param>
public FailureWebhook(string accountId = default(string), string phoneNumber = default(string), string errorCode = default(string), string errorDescription = default(string), List<string> errors = default(List<string>), Guid internalTicketNumber = default(Guid))
public FailureWebhook(string accountId = default(string), string phoneNumber = default(string), string errorCode = default(string), string errorMessage = default(string), List<string> errors = default(List<string>), Guid internalTicketNumber = default(Guid))
{
this.AccountId = accountId;
this.PhoneNumber = phoneNumber;
this.ErrorCode = errorCode;
this.ErrorDescription = errorDescription;
this.ErrorMessage = errorMessage;
this.Errors = errors;
this.InternalTicketNumber = internalTicketNumber;
}
Expand Down Expand Up @@ -80,8 +80,8 @@ public partial class FailureWebhook : IValidatableObject
/// </summary>
/// <value>A description of the error that was encountered.</value>
/// <example>cannot process request.</example>
[DataMember(Name = "errorDescription", EmitDefaultValue = false)]
public string ErrorDescription { get; set; }
[DataMember(Name = "errorMessage", EmitDefaultValue = false)]
public string ErrorMessage { get; set; }

/// <summary>
/// Details of the errors that were encountered when processing the request.
Expand Down Expand Up @@ -109,7 +109,7 @@ public override string ToString()
sb.Append(" AccountId: ").Append(AccountId).Append("\n");
sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n");
sb.Append(" ErrorCode: ").Append(ErrorCode).Append("\n");
sb.Append(" ErrorDescription: ").Append(ErrorDescription).Append("\n");
sb.Append(" ErrorMessage: ").Append(ErrorMessage).Append("\n");
sb.Append(" Errors: ").Append(Errors).Append("\n");
sb.Append(" InternalTicketNumber: ").Append(InternalTicketNumber).Append("\n");
sb.Append("}\n");
Expand Down
Loading