diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln index d24a003..a95bcd6 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", "{E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{9535F2E8-7283-47F2-9032-F382A3BC36A7}" 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 - {E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}.Release|Any CPU.Build.0 = Release|Any CPU + {9535F2E8-7283-47F2-9032-F382A3BC36A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9535F2E8-7283-47F2-9032-F382A3BC36A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9535F2E8-7283-47F2-9032-F382A3BC36A7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9535F2E8-7283-47F2-9032-F382A3BC36A7}.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 876b1f6..7d2dbf3 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -765,6 +765,7 @@ paths: - description: "Not intended for explicit use. To use pagination, follow the\ \ links in the `Link` header of the response, as indicated in the endpoint\ \ description." + example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9 explode: true in: query name: pageToken @@ -1406,6 +1407,7 @@ paths: - description: "Not intended for explicit use. To use pagination, follow the\ \ links in the `Link` header of the response, as indicated in the endpoint\ \ description." + example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9 explode: true in: query name: pageToken @@ -6192,6 +6194,7 @@ components: pageToken1: description: "Not intended for explicit use. To use pagination, follow the links\ \ in the `Link` header of the response, as indicated in the endpoint description." + example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9 explode: true in: query name: pageToken @@ -7179,12 +7182,14 @@ components: enum: - INBOUND - OUTBOUND + example: INBOUND type: string messageDirectionEnum: description: The direction of the message. One of in out. enum: - in - out + example: in type: string messageTypeEnum: description: The type of message. Either SMS or MMS. @@ -11429,20 +11434,23 @@ components: type: string useCaseSummary: description: A general idea of the use case and customer. + example: Text summarizing the use case for the toll-free number maxLength: 500 - minLength: 1 + minLength: 0 nullable: false type: string productionMessageContent: description: Example of message content. + example: Production message content maxLength: 500 - minLength: 1 + minLength: 0 nullable: false type: string optInWorkflow: $ref: '#/components/schemas/optInWorkflow' additionalInformation: description: Any additional information. + example: Any additional information maxLength: 500 minLength: 0 nullable: true @@ -11484,12 +11492,14 @@ components: type: string useCaseSummary: description: A general idea of the use case and customer. + example: Text summarizing the use case for the toll-free number maxLength: 500 minLength: 0 nullable: false type: string productionMessageContent: description: Example of message content. + example: Production message content maxLength: 500 minLength: 0 nullable: false @@ -11521,9 +11531,11 @@ components: tfvBasicAuthentication: properties: username: + example: username maxLength: 100 type: string password: + example: password maxLength: 200 type: string required: @@ -11681,7 +11693,7 @@ components: address: example: zip: "27606" - addr2: addr2 + addr2: 2230 Bandmate Way addr1: 2230 Bandmate Way city: Raleigh name: Bandwidth Inc. @@ -11705,6 +11717,7 @@ components: type: string addr2: description: The address of the business using the toll-free number. + example: 2230 Bandmate Way maxLength: 500 minLength: 0 nullable: true @@ -11745,6 +11758,12 @@ components: - url - zip type: object + additionalInformation: + description: Any additional information. + maxLength: 500 + minLength: 0 + nullable: true + type: string optInWorkflow: example: imageUrls: @@ -11864,6 +11883,20 @@ components: maxLength: 500 minLength: 0 type: string + useCaseSummary: + description: A general idea of the use case and customer. + example: Text summarizing the use case for the toll-free number + maxLength: 500 + minLength: 0 + nullable: false + type: string + productionMessageContent: + description: Example of message content. + example: Production message content + maxLength: 500 + minLength: 0 + nullable: false + type: string webhookSubscriptionsListBody: description: A list of all webhook subscriptions registered for this account ID for this particular feature (unpaginated). @@ -12062,7 +12095,7 @@ components: createdDateTime: 2021-06-08T06:45:13Z modifiedDateTime: 2021-06-08T06:45:13Z submission: - additionalInformation: Any additional information + additionalInformation: additionalInformation useCase: 2FA isvReseller: Test ISV businessContact: @@ -12074,7 +12107,7 @@ components: productionMessageContent: Production message content businessAddress: zip: "27606" - addr2: addr2 + addr2: 2230 Bandmate Way addr1: 2230 Bandmate Way city: Raleigh name: Bandwidth Inc. @@ -12133,7 +12166,7 @@ components: type: object tfvSubmissionInfo: example: - additionalInformation: Any additional information + additionalInformation: additionalInformation useCase: 2FA isvReseller: Test ISV businessContact: @@ -12145,7 +12178,7 @@ components: productionMessageContent: Production message content businessAddress: zip: "27606" - addr2: addr2 + addr2: 2230 Bandmate Way addr1: 2230 Bandmate Way city: Raleigh name: Bandwidth Inc. @@ -12192,7 +12225,6 @@ components: $ref: '#/components/schemas/optInWorkflow' additionalInformation: description: Any additional information. - example: Any additional information maxLength: 500 minLength: 0 nullable: true diff --git a/bandwidth.yml b/bandwidth.yml index 801e18f..8f3d160 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -1641,12 +1641,14 @@ components: enum: - INBOUND - OUTBOUND + example: INBOUND messageDirectionEnum: type: string description: The direction of the message. One of in out. enum: - in - out + example: in messageTypeEnum: type: string description: The type of message. Either SMS or MMS. @@ -4797,17 +4799,9 @@ components: useCase: $ref: '#/components/schemas/useCase' useCaseSummary: - type: string - description: A general idea of the use case and customer. - minLength: 1 - maxLength: 500 - nullable: false + $ref: '#/components/schemas/useCaseSummary' productionMessageContent: - type: string - description: Example of message content. - minLength: 1 - maxLength: 500 - nullable: false + $ref: '#/components/schemas/productionMessageContent' optInWorkflow: $ref: '#/components/schemas/optInWorkflow' additionalInformation: @@ -4816,6 +4810,7 @@ components: minLength: 0 maxLength: 500 nullable: true + example: Any additional information isvReseller: $ref: '#/components/schemas/isvReseller' verificationUpdateRequest: @@ -4842,25 +4837,13 @@ components: useCase: $ref: '#/components/schemas/useCase' useCaseSummary: - type: string - description: A general idea of the use case and customer. - minLength: 0 - maxLength: 500 - nullable: false + $ref: '#/components/schemas/useCaseSummary' productionMessageContent: - type: string - description: Example of message content. - minLength: 0 - maxLength: 500 - nullable: false + $ref: '#/components/schemas/productionMessageContent' optInWorkflow: $ref: '#/components/schemas/optInWorkflow' additionalInformation: - type: string - description: Any additional information. - minLength: 0 - maxLength: 500 - nullable: true + $ref: '#/components/schemas/additionalInformation' isvReseller: $ref: '#/components/schemas/isvReseller' tfvBasicAuthentication: @@ -4869,9 +4852,11 @@ components: username: type: string maxLength: 100 + example: username password: type: string maxLength: 200 + example: password required: - username - password @@ -4986,6 +4971,7 @@ components: minLength: 0 maxLength: 500 nullable: true + example: 2230 Bandmate Way city: type: string description: The city of the business using the toll-free number. @@ -5014,6 +5000,12 @@ components: maxLength: 500 nullable: false example: https://www.example.com/path/to/resource + additionalInformation: + type: string + description: Any additional information. + minLength: 0 + maxLength: 500 + nullable: true optInWorkflow: type: object nullable: false @@ -5101,6 +5093,20 @@ components: minLength: 0 maxLength: 500 example: 2FA + useCaseSummary: + type: string + description: A general idea of the use case and customer. + minLength: 0 + maxLength: 500 + nullable: false + example: Text summarizing the use case for the toll-free number + productionMessageContent: + type: string + description: Example of message content. + minLength: 0 + maxLength: 500 + nullable: false + example: Production message content webhookSubscriptionsListBody: description: >- A list of all webhook subscriptions registered for this account ID for @@ -5277,28 +5283,13 @@ components: useCase: $ref: '#/components/schemas/useCase' useCaseSummary: - type: string - description: A general idea of the use case and customer. - minLength: 0 - maxLength: 500 - nullable: false - example: Text summarizing the use case for the toll-free number + $ref: '#/components/schemas/useCaseSummary' productionMessageContent: - type: string - description: Example of message content. - minLength: 0 - maxLength: 500 - nullable: false - example: Production message content + $ref: '#/components/schemas/productionMessageContent' optInWorkflow: $ref: '#/components/schemas/optInWorkflow' additionalInformation: - type: string - description: Any additional information. - minLength: 0 - maxLength: 500 - nullable: true - example: Any additional information + $ref: '#/components/schemas/additionalInformation' isvReseller: $ref: '#/components/schemas/isvReseller' tfvStatusEnum: @@ -6235,6 +6226,7 @@ components: Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. + example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9 disconnectCause: name: disconnectCause in: query diff --git a/docs/CallsApi.md b/docs/CallsApi.md index c281856..05a24cf 100644 --- a/docs/CallsApi.md +++ b/docs/CallsApi.md @@ -256,7 +256,7 @@ namespace Example var maxStartTime = 2022-06-21T19:13:21Z; // string | Filter results to calls which have a `startTime` before or including `maxStartTime` (in ISO8601 format). (optional) var disconnectCause = hangup; // string | Filter results to calls with specified call Disconnect Cause. (optional) var pageSize = 500; // int? | Specifies the max number of calls that will be returned. (optional) (default to 1000) - var pageToken = "pageToken_example"; // string | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. (optional) + var pageToken = eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9; // string | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. (optional) try { diff --git a/docs/ConferencesApi.md b/docs/ConferencesApi.md index ccedb1f..1d6da39 100644 --- a/docs/ConferencesApi.md +++ b/docs/ConferencesApi.md @@ -579,7 +579,7 @@ namespace Example var minCreatedTime = 2022-06-21T19:13:21Z; // string | Filter results to conferences which have a `createdTime` after or at `minCreatedTime` (in ISO8601 format). (optional) var maxCreatedTime = 2022-06-21T19:13:21Z; // string | Filter results to conferences which have a `createdTime` before or at `maxCreatedTime` (in ISO8601 format). (optional) var pageSize = 500; // int? | Specifies the max number of conferences that will be returned. (optional) (default to 1000) - var pageToken = "pageToken_example"; // string | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. (optional) + var pageToken = eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9; // string | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. (optional) try { diff --git a/src/Bandwidth.Standard/Model/Address.cs b/src/Bandwidth.Standard/Model/Address.cs index 3983926..b154b84 100644 --- a/src/Bandwidth.Standard/Model/Address.cs +++ b/src/Bandwidth.Standard/Model/Address.cs @@ -108,6 +108,7 @@ protected Address() { } /// The address of the business using the toll-free number. /// /// The address of the business using the toll-free number. + /// 2230 Bandmate Way [DataMember(Name = "addr2", EmitDefaultValue = true)] public string Addr2 { get; set; } diff --git a/src/Bandwidth.Standard/Model/TfvBasicAuthentication.cs b/src/Bandwidth.Standard/Model/TfvBasicAuthentication.cs index 2c53bd9..0834595 100644 --- a/src/Bandwidth.Standard/Model/TfvBasicAuthentication.cs +++ b/src/Bandwidth.Standard/Model/TfvBasicAuthentication.cs @@ -61,12 +61,14 @@ protected TfvBasicAuthentication() { } /// /// Gets or Sets Username /// + /// username [DataMember(Name = "username", IsRequired = true, EmitDefaultValue = true)] public string Username { get; set; } /// /// Gets or Sets Password /// + /// password [DataMember(Name = "password", IsRequired = true, EmitDefaultValue = true)] public string Password { get; set; } diff --git a/src/Bandwidth.Standard/Model/TfvSubmissionInfo.cs b/src/Bandwidth.Standard/Model/TfvSubmissionInfo.cs index bd1d76a..504a436 100644 --- a/src/Bandwidth.Standard/Model/TfvSubmissionInfo.cs +++ b/src/Bandwidth.Standard/Model/TfvSubmissionInfo.cs @@ -111,7 +111,6 @@ public partial class TfvSubmissionInfo : IValidatableObject /// Any additional information. /// /// Any additional information. - /// Any additional information [DataMember(Name = "additionalInformation", EmitDefaultValue = true)] public string AdditionalInformation { get; set; } diff --git a/src/Bandwidth.Standard/Model/VerificationRequest.cs b/src/Bandwidth.Standard/Model/VerificationRequest.cs index 3bac172..0f438a1 100644 --- a/src/Bandwidth.Standard/Model/VerificationRequest.cs +++ b/src/Bandwidth.Standard/Model/VerificationRequest.cs @@ -137,6 +137,7 @@ protected VerificationRequest() { } /// A general idea of the use case and customer. /// /// A general idea of the use case and customer. + /// Text summarizing the use case for the toll-free number [DataMember(Name = "useCaseSummary", IsRequired = true, EmitDefaultValue = true)] public string UseCaseSummary { get; set; } @@ -144,6 +145,7 @@ protected VerificationRequest() { } /// Example of message content. /// /// Example of message content. + /// Production message content [DataMember(Name = "productionMessageContent", IsRequired = true, EmitDefaultValue = true)] public string ProductionMessageContent { get; set; } @@ -157,6 +159,7 @@ protected VerificationRequest() { } /// Any additional information. /// /// Any additional information. + /// Any additional information [DataMember(Name = "additionalInformation", EmitDefaultValue = true)] public string AdditionalInformation { get; set; } @@ -237,9 +240,9 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } // UseCaseSummary (string) minLength - if (this.UseCaseSummary != null && this.UseCaseSummary.Length < 1) + if (this.UseCaseSummary != null && this.UseCaseSummary.Length < 0) { - yield return new ValidationResult("Invalid value for UseCaseSummary, length must be greater than 1.", new [] { "UseCaseSummary" }); + yield return new ValidationResult("Invalid value for UseCaseSummary, length must be greater than 0.", new [] { "UseCaseSummary" }); } // ProductionMessageContent (string) maxLength @@ -249,9 +252,9 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } // ProductionMessageContent (string) minLength - if (this.ProductionMessageContent != null && this.ProductionMessageContent.Length < 1) + if (this.ProductionMessageContent != null && this.ProductionMessageContent.Length < 0) { - yield return new ValidationResult("Invalid value for ProductionMessageContent, length must be greater than 1.", new [] { "ProductionMessageContent" }); + yield return new ValidationResult("Invalid value for ProductionMessageContent, length must be greater than 0.", new [] { "ProductionMessageContent" }); } // AdditionalInformation (string) maxLength diff --git a/src/Bandwidth.Standard/Model/VerificationUpdateRequest.cs b/src/Bandwidth.Standard/Model/VerificationUpdateRequest.cs index bc8df75..66e4add 100644 --- a/src/Bandwidth.Standard/Model/VerificationUpdateRequest.cs +++ b/src/Bandwidth.Standard/Model/VerificationUpdateRequest.cs @@ -124,6 +124,7 @@ protected VerificationUpdateRequest() { } /// A general idea of the use case and customer. /// /// A general idea of the use case and customer. + /// Text summarizing the use case for the toll-free number [DataMember(Name = "useCaseSummary", IsRequired = true, EmitDefaultValue = true)] public string UseCaseSummary { get; set; } @@ -131,6 +132,7 @@ protected VerificationUpdateRequest() { } /// Example of message content. /// /// Example of message content. + /// Production message content [DataMember(Name = "productionMessageContent", IsRequired = true, EmitDefaultValue = true)] public string ProductionMessageContent { get; set; }