Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWI-6216 Update SDK Based on Recent Spec Changes #122

Merged
merged 1 commit into from
Sep 24, 2024
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", "{0D35B09E-2ACC-417E-AE79-F74BE48DFB3F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}"
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
{0D35B09E-2ACC-417E-AE79-F74BE48DFB3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0D35B09E-2ACC-417E-AE79-F74BE48DFB3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0D35B09E-2ACC-417E-AE79-F74BE48DFB3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0D35B09E-2ACC-417E-AE79-F74BE48DFB3F}.Release|Any CPU.Build.0 = Release|Any CPU
{4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}.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: 0 additions & 2 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6513,7 +6513,6 @@ components:
- id
- media
- owner
- priority
- segmentCount
- text
- time
Expand Down Expand Up @@ -6685,7 +6684,6 @@ components:
- from
- id
- owner
- priority
- segmentCount
- tag
- text
Expand Down
2 changes: 0 additions & 2 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1862,7 +1862,6 @@ components:
- from
- text
- media
- priority
messageDeliveredCallback:
description: Message Delivered Callback
type: object
Expand Down Expand Up @@ -2035,7 +2034,6 @@ components:
- from
- text
- tag
- priority
callbackMethodEnum:
type: string
nullable: true
Expand Down
2 changes: 1 addition & 1 deletion docs/MessageFailedCallbackMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Name | Type | Description | Notes
**Text** | **string** | |
**Tag** | **string** | |
**Media** | **List<string>** | | [optional]
**Priority** | **PriorityEnum** | |
**Priority** | **PriorityEnum** | | [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)

2 changes: 1 addition & 1 deletion docs/MessageSendingCallbackMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Name | Type | Description | Notes
**Text** | **string** | |
**Tag** | **string** | | [optional]
**Media** | **List<string>** | |
**Priority** | **PriorityEnum** | |
**Priority** | **PriorityEnum** | | [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)

10 changes: 5 additions & 5 deletions src/Bandwidth.Standard/Model/MessageFailedCallbackMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public partial class MessageFailedCallbackMessage : IValidatableObject
/// <summary>
/// Gets or Sets Priority
/// </summary>
[DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)]
public PriorityEnum Priority { get; set; }
[DataMember(Name = "priority", EmitDefaultValue = false)]
public PriorityEnum? Priority { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="MessageFailedCallbackMessage" /> class.
/// </summary>
Expand All @@ -63,8 +63,8 @@ protected MessageFailedCallbackMessage() { }
/// <param name="text">text (required).</param>
/// <param name="tag">tag (required).</param>
/// <param name="media">media.</param>
/// <param name="priority">priority (required).</param>
public MessageFailedCallbackMessage(string id = default(string), string owner = default(string), string applicationId = default(string), DateTime time = default(DateTime), int segmentCount = default(int), MessageDirectionEnum direction = default(MessageDirectionEnum), List<string> to = default(List<string>), string from = default(string), string text = default(string), string tag = default(string), List<string> media = default(List<string>), PriorityEnum priority = default(PriorityEnum))
/// <param name="priority">priority.</param>
public MessageFailedCallbackMessage(string id = default(string), string owner = default(string), string applicationId = default(string), DateTime time = default(DateTime), int segmentCount = default(int), MessageDirectionEnum direction = default(MessageDirectionEnum), List<string> to = default(List<string>), string from = default(string), string text = default(string), string tag = default(string), List<string> media = default(List<string>), PriorityEnum? priority = default(PriorityEnum?))
{
// to ensure "id" is required (not null)
if (id == null)
Expand Down Expand Up @@ -111,8 +111,8 @@ protected MessageFailedCallbackMessage() { }
throw new ArgumentNullException("tag is a required property for MessageFailedCallbackMessage and cannot be null");
}
this.Tag = tag;
this.Priority = priority;
this.Media = media;
this.Priority = priority;
}

/// <summary>
Expand Down
10 changes: 5 additions & 5 deletions src/Bandwidth.Standard/Model/MessageSendingCallbackMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public partial class MessageSendingCallbackMessage : IValidatableObject
/// <summary>
/// Gets or Sets Priority
/// </summary>
[DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)]
public PriorityEnum Priority { get; set; }
[DataMember(Name = "priority", EmitDefaultValue = false)]
public PriorityEnum? Priority { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="MessageSendingCallbackMessage" /> class.
/// </summary>
Expand All @@ -63,8 +63,8 @@ protected MessageSendingCallbackMessage() { }
/// <param name="text">text (required).</param>
/// <param name="tag">tag.</param>
/// <param name="media">media (required).</param>
/// <param name="priority">priority (required).</param>
public MessageSendingCallbackMessage(string id = default(string), string owner = default(string), string applicationId = default(string), DateTime time = default(DateTime), int segmentCount = default(int), MessageDirectionEnum direction = default(MessageDirectionEnum), List<string> to = default(List<string>), string from = default(string), string text = default(string), string tag = default(string), List<string> media = default(List<string>), PriorityEnum priority = default(PriorityEnum))
/// <param name="priority">priority.</param>
public MessageSendingCallbackMessage(string id = default(string), string owner = default(string), string applicationId = default(string), DateTime time = default(DateTime), int segmentCount = default(int), MessageDirectionEnum direction = default(MessageDirectionEnum), List<string> to = default(List<string>), string from = default(string), string text = default(string), string tag = default(string), List<string> media = default(List<string>), PriorityEnum? priority = default(PriorityEnum?))
{
// to ensure "id" is required (not null)
if (id == null)
Expand Down Expand Up @@ -111,8 +111,8 @@ protected MessageSendingCallbackMessage() { }
throw new ArgumentNullException("media is a required property for MessageSendingCallbackMessage and cannot be null");
}
this.Media = media;
this.Priority = priority;
this.Tag = tag;
this.Priority = priority;
}

/// <summary>
Expand Down
Loading