diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln index ebfd20c..113bf05 100644 --- a/Bandwidth.Standard.sln +++ b/Bandwidth.Standard.sln @@ -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 @@ -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 diff --git a/api/openapi.yaml b/api/openapi.yaml index e19c3e9..84e9e39 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -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 diff --git a/bandwidth.yml b/bandwidth.yml index 825be19..0376964 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -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. diff --git a/docs/FailureWebhook.md b/docs/FailureWebhook.md index bf8eef9..74fefe5 100644 --- a/docs/FailureWebhook.md +++ b/docs/FailureWebhook.md @@ -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] diff --git a/src/Bandwidth.Standard.Test/Unit/Model/FailureWebhookTests.cs b/src/Bandwidth.Standard.Test/Unit/Model/FailureWebhookTests.cs index 923a9e3..460116a 100644 --- a/src/Bandwidth.Standard.Test/Unit/Model/FailureWebhookTests.cs +++ b/src/Bandwidth.Standard.Test/Unit/Model/FailureWebhookTests.cs @@ -36,7 +36,7 @@ public FailureWebhookTests() accountId: "accountId", phoneNumber: "phoneNumber", errorCode: "errorCode", - errorDescription: "errorDescription", + errorMessage: "errorMessage", errors: new List { "error" }, internalTicketNumber: guid ); @@ -87,13 +87,13 @@ public void ErrorCodeTest() } /// - /// Test the property 'ErrorDescription' + /// Test the property 'ErrorMessage' /// [Fact] - public void ErrorDescriptionTest() + public void ErrorMessageTest() { - Assert.IsType(instance.ErrorDescription); - Assert.Equal("errorDescription", instance.ErrorDescription); + Assert.IsType(instance.ErrorMessage); + Assert.Equal("errorMessage", instance.ErrorMessage); } /// diff --git a/src/Bandwidth.Standard/Model/FailureWebhook.cs b/src/Bandwidth.Standard/Model/FailureWebhook.cs index 728c0e6..68ec307 100644 --- a/src/Bandwidth.Standard/Model/FailureWebhook.cs +++ b/src/Bandwidth.Standard/Model/FailureWebhook.cs @@ -38,15 +38,15 @@ public partial class FailureWebhook : IValidatableObject /// User's account ID.. /// Toll-free telephone number in E.164 format.. /// 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.. - /// A description of the error that was encountered.. + /// A description of the error that was encountered.. /// Details of the errors that were encountered when processing the request.. /// Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.. - public FailureWebhook(string accountId = default(string), string phoneNumber = default(string), string errorCode = default(string), string errorDescription = default(string), List errors = default(List), Guid internalTicketNumber = default(Guid)) + public FailureWebhook(string accountId = default(string), string phoneNumber = default(string), string errorCode = default(string), string errorMessage = default(string), List errors = default(List), 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; } @@ -80,8 +80,8 @@ public partial class FailureWebhook : IValidatableObject /// /// A description of the error that was encountered. /// cannot process request. - [DataMember(Name = "errorDescription", EmitDefaultValue = false)] - public string ErrorDescription { get; set; } + [DataMember(Name = "errorMessage", EmitDefaultValue = false)] + public string ErrorMessage { get; set; } /// /// Details of the errors that were encountered when processing the request. @@ -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");