Skip to content

Commit 636cce0

Browse files
committed
regenerate
1 parent 6d4927a commit 636cce0

File tree

11 files changed

+35
-181
lines changed

11 files changed

+35
-181
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ docs/CreateMessageRequestError.md
4747
docs/CreateMultiChannelMessageResponse.md
4848
docs/CreateSyncLookupResponse.md
4949
docs/CreateSyncLookupResponseData.md
50-
docs/CustomTooManyRequestsError.md
5150
docs/DeactivationEventEnum.md
5251
docs/DisconnectCallback.md
5352
docs/Diversion.md
@@ -265,7 +264,6 @@ src/Bandwidth.Standard/Model/CreateMessageRequestError.cs
265264
src/Bandwidth.Standard/Model/CreateMultiChannelMessageResponse.cs
266265
src/Bandwidth.Standard/Model/CreateSyncLookupResponse.cs
267266
src/Bandwidth.Standard/Model/CreateSyncLookupResponseData.cs
268-
src/Bandwidth.Standard/Model/CustomTooManyRequestsError.cs
269267
src/Bandwidth.Standard/Model/DeactivationEventEnum.cs
270268
src/Bandwidth.Standard/Model/DisconnectCallback.cs
271269
src/Bandwidth.Standard/Model/Diversion.cs

Bandwidth.Standard.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{3169CA47-72BD-4861-8006-EA3ED1D104BB}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{3169CA47-72BD-4861-8006-EA3ED1D104BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{3169CA47-72BD-4861-8006-EA3ED1D104BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{3169CA47-72BD-4861-8006-EA3ED1D104BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{3169CA47-72BD-4861-8006-EA3ED1D104BB}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ Class | Method | HTTP request | Description
211211
- [Model.CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
212212
- [Model.CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
213213
- [Model.CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
214-
- [Model.CustomTooManyRequestsError](docs/CustomTooManyRequestsError.md)
215214
- [Model.DeactivationEventEnum](docs/DeactivationEventEnum.md)
216215
- [Model.DisconnectCallback](docs/DisconnectCallback.md)
217216
- [Model.Diversion](docs/Diversion.md)

api/openapi.yaml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,12 @@ paths:
717717
"429":
718718
content:
719719
application/json:
720+
example:
721+
type: rate_limit_exceeded
722+
description: Rate limit exceeded. Wait for Retry-After time before
723+
sending another request.
720724
schema:
721-
$ref: '#/components/schemas/customTooManyRequestsError'
725+
$ref: '#/components/schemas/messagingRequestError'
722726
description: Too Many Requests
723727
headers:
724728
Retry-After:
@@ -7426,11 +7430,15 @@ components:
74267430
schema:
74277431
$ref: '#/components/schemas/multiChannelError'
74287432
description: Internal Server Error
7429-
customTooManyRequestsError:
7433+
listMessagesTooManyRequestsError:
74307434
content:
74317435
application/json:
7436+
example:
7437+
type: rate_limit_exceeded
7438+
description: Rate limit exceeded. Wait for Retry-After time before sending
7439+
another request.
74327440
schema:
7433-
$ref: '#/components/schemas/customTooManyRequestsError'
7441+
$ref: '#/components/schemas/messagingRequestError'
74347442
description: Too Many Requests
74357443
headers:
74367444
Retry-After:
@@ -9648,24 +9656,6 @@ components:
96489656
- segmentCount
96499657
- time
96509658
- to
9651-
customTooManyRequestsError:
9652-
example:
9653-
description: Rate limit exceeded. Wait for Retry-After time before sending
9654-
another request.
9655-
type: rate_limit_exceeded
9656-
properties:
9657-
type:
9658-
example: rate_limit_exceeded
9659-
type: string
9660-
description:
9661-
example: Rate limit exceeded. Wait for Retry-After time before sending another
9662-
request.
9663-
type: string
9664-
required:
9665-
- description
9666-
- type
9667-
title: CustomTooManyRequestsError
9668-
type: object
96699659
callbackMethodEnum:
96709660
default: POST
96719661
description: The HTTP method to use to deliver the callback. GET or POST. Default

bandwidth.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ paths:
218218
'415':
219219
$ref: '#/components/responses/messagingInvalidMediaTypeError'
220220
'429':
221-
$ref: '#/components/responses/customTooManyRequestsError'
221+
$ref: '#/components/responses/listMessagesTooManyRequestsError'
222222
'500':
223223
$ref: '#/components/responses/messagingInternalServerError'
224224
post:
@@ -2954,21 +2954,6 @@ components:
29542954
- direction
29552955
- to
29562956
- from
2957-
customTooManyRequestsError:
2958-
title: CustomTooManyRequestsError
2959-
type: object
2960-
properties:
2961-
type:
2962-
type: string
2963-
example: rate_limit_exceeded
2964-
description:
2965-
type: string
2966-
example: >-
2967-
Rate limit exceeded. Wait for Retry-After time before sending
2968-
another request.
2969-
required:
2970-
- type
2971-
- description
29722957
callbackMethodEnum:
29732958
type: string
29742959
nullable: true
@@ -6775,7 +6760,7 @@ components:
67756760
- type: internal-server-error
67766761
description: Internal server error. No further information available
67776762
source: {}
6778-
customTooManyRequestsError:
6763+
listMessagesTooManyRequestsError:
67796764
description: Too Many Requests
67806765
headers:
67816766
Retry-After:
@@ -6786,7 +6771,10 @@ components:
67866771
content:
67876772
application/json:
67886773
schema:
6789-
$ref: '#/components/schemas/customTooManyRequestsError'
6774+
$ref: "#/components/schemas/messagingRequestError"
6775+
example:
6776+
type: rate_limit_exceeded
6777+
description: Rate limit exceeded. Wait for Retry-After time before sending another request.
67906778
createCallResponse:
67916779
description: Created
67926780
headers:

docs/CustomTooManyRequestsError.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Bandwidth.Standard/Model/CustomTooManyRequestsError.cs

Lines changed: 0 additions & 109 deletions
This file was deleted.

src/Bandwidth.Standard/Model/LookupResult.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public partial class LookupResult : IValidatableObject
130130
/// [DNI-Only](#section/DNI-Only). The date the phone number entered the status described in `latestMessageDeliveryStatus`. Think of this as the \"start time\" for that status. Value resets every time the `latestMessageDeliveryStatus` changes.
131131
/// </summary>
132132
/// <value>[DNI-Only](#section/DNI-Only). The date the phone number entered the status described in &#x60;latestMessageDeliveryStatus&#x60;. Think of this as the \&quot;start time\&quot; for that status. Value resets every time the &#x60;latestMessageDeliveryStatus&#x60; changes.</value>
133-
/// <example>Fri Jun 20 00:00:00 UTC 2025</example>
133+
/// <example>Thu Jun 19 20:00:00 EDT 2025</example>
134134
[DataMember(Name = "initialMessageDeliveryStatusDate", EmitDefaultValue = false)]
135135
[JsonConverter(typeof(OpenAPIDateConverter))]
136136
public DateTime InitialMessageDeliveryStatusDate { get; set; }
@@ -139,7 +139,7 @@ public partial class LookupResult : IValidatableObject
139139
/// [DNI-Only](#section/DNI-Only). The date bandwidth last received delivery status information for this phone number. Use this field to understand how up-to-date the &#x60;latestMessageDeliveryStatus&#x60; is. Value resets every time the &#x60;latestMessageDeliveryStatus&#x60; changes.
140140
/// </summary>
141141
/// <value>[DNI-Only](#section/DNI-Only). The date bandwidth last received delivery status information for this phone number. Use this field to understand how up-to-date the &#x60;latestMessageDeliveryStatus&#x60; is. Value resets every time the &#x60;latestMessageDeliveryStatus&#x60; changes.</value>
142-
/// <example>Sat Jun 21 00:00:00 UTC 2025</example>
142+
/// <example>Fri Jun 20 20:00:00 EDT 2025</example>
143143
[DataMember(Name = "latestMessageDeliveryStatusDate", EmitDefaultValue = false)]
144144
[JsonConverter(typeof(OpenAPIDateConverter))]
145145
public DateTime LatestMessageDeliveryStatusDate { get; set; }

src/Bandwidth.Standard/Model/RbmActionBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected RbmActionBase() { }
7878
/// Base64 payload the customer receives when the reply is clicked.
7979
/// </summary>
8080
/// <value>Base64 payload the customer receives when the reply is clicked.</value>
81-
/// <example>[B@f98cff</example>
81+
/// <example>[B@126d0868</example>
8282
[DataMember(Name = "postbackData", IsRequired = true, EmitDefaultValue = true)]
8383
public byte[] PostbackData { get; set; }
8484

@@ -116,13 +116,13 @@ IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext vali
116116
// Text (string) maxLength
117117
if (this.Text != null && this.Text.Length > 25)
118118
{
119-
yield return new ValidationResult("Invalid value for Text, length must be less than 25.", new[] { "Text" });
119+
yield return new ValidationResult("Invalid value for Text, length must be less than 25.", new [] { "Text" });
120120
}
121121

122122
// PostbackData (byte[]) maxLength
123123
if (this.PostbackData != null && this.PostbackData.Length > 2048)
124124
{
125-
yield return new ValidationResult("Invalid value for PostbackData, length must be less than 2048.", new[] { "PostbackData" });
125+
yield return new ValidationResult("Invalid value for PostbackData, length must be less than 2048.", new [] { "PostbackData" });
126126
}
127127

128128
yield break;

src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public partial class RbmSuggestionResponse : IValidatableObject
5555
/// Base64 payload the customer receives when the reply is clicked.
5656
/// </summary>
5757
/// <value>Base64 payload the customer receives when the reply is clicked.</value>
58-
/// <example>[B@f98cff</example>
58+
/// <example>[B@126d0868</example>
5959
[DataMember(Name = "postbackData", EmitDefaultValue = false)]
6060
public byte[] PostbackData { get; set; }
6161

@@ -92,7 +92,7 @@ IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext vali
9292
// PostbackData (byte[]) maxLength
9393
if (this.PostbackData != null && this.PostbackData.Length > 2048)
9494
{
95-
yield return new ValidationResult("Invalid value for PostbackData, length must be less than 2048.", new[] { "PostbackData" });
95+
yield return new ValidationResult("Invalid value for PostbackData, length must be less than 2048.", new [] { "PostbackData" });
9696
}
9797

9898
yield break;

0 commit comments

Comments
 (0)