Skip to content

Commit

Permalink
[Librarian] Regenerated @ 66653222f14d8ec7c818ac667145e1b64ff16abe
Browse files Browse the repository at this point in the history
  • Loading branch information
jmctwilio committed Jan 31, 2018
1 parent 485d368 commit dfae0b3
Show file tree
Hide file tree
Showing 93 changed files with 3,726 additions and 359 deletions.
18 changes: 18 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
twilio-csharp Changelog
=======================

[2018-01-30] Version 5.9.5
---------------------------
**Api**
- Add `studio-engagements` usage key

**Preview**
- Remove Studio Engagement Deletion

**Studio**
- Initial Release

**Video**
- [omit] Beta: Allow updates to `SubscribedTracks`.
- Add `SubscribedTracks`.
- Add track name to Video Recording resource
- Add Composition and Composition Media resources


[2018-01-22] Version 5.9.4
---------------------------
**Library**
Expand Down
28 changes: 14 additions & 14 deletions src/Twilio/Rest/Api/V2010/Account/ApplicationOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (VoiceUrl != null)
{
p.Add(new KeyValuePair<string, string>("VoiceUrl", VoiceUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("VoiceUrl", Serializers.Url(VoiceUrl)));
}

if (VoiceMethod != null)
Expand All @@ -118,7 +118,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (VoiceFallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("VoiceFallbackUrl", VoiceFallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("VoiceFallbackUrl", Serializers.Url(VoiceFallbackUrl)));
}

if (VoiceFallbackMethod != null)
Expand All @@ -128,7 +128,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (StatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("StatusCallback", StatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("StatusCallback", Serializers.Url(StatusCallback)));
}

if (StatusCallbackMethod != null)
Expand All @@ -143,7 +143,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsUrl != null)
{
p.Add(new KeyValuePair<string, string>("SmsUrl", SmsUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsUrl", Serializers.Url(SmsUrl)));
}

if (SmsMethod != null)
Expand All @@ -153,7 +153,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsFallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("SmsFallbackUrl", SmsFallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsFallbackUrl", Serializers.Url(SmsFallbackUrl)));
}

if (SmsFallbackMethod != null)
Expand All @@ -163,12 +163,12 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsStatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("SmsStatusCallback", SmsStatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsStatusCallback", Serializers.Url(SmsStatusCallback)));
}

if (MessageStatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("MessageStatusCallback", MessageStatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("MessageStatusCallback", Serializers.Url(MessageStatusCallback)));
}

return p;
Expand Down Expand Up @@ -376,7 +376,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (VoiceUrl != null)
{
p.Add(new KeyValuePair<string, string>("VoiceUrl", VoiceUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("VoiceUrl", Serializers.Url(VoiceUrl)));
}

if (VoiceMethod != null)
Expand All @@ -386,7 +386,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (VoiceFallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("VoiceFallbackUrl", VoiceFallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("VoiceFallbackUrl", Serializers.Url(VoiceFallbackUrl)));
}

if (VoiceFallbackMethod != null)
Expand All @@ -396,7 +396,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (StatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("StatusCallback", StatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("StatusCallback", Serializers.Url(StatusCallback)));
}

if (StatusCallbackMethod != null)
Expand All @@ -411,7 +411,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsUrl != null)
{
p.Add(new KeyValuePair<string, string>("SmsUrl", SmsUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsUrl", Serializers.Url(SmsUrl)));
}

if (SmsMethod != null)
Expand All @@ -421,7 +421,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsFallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("SmsFallbackUrl", SmsFallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsFallbackUrl", Serializers.Url(SmsFallbackUrl)));
}

if (SmsFallbackMethod != null)
Expand All @@ -431,12 +431,12 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsStatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("SmsStatusCallback", SmsStatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsStatusCallback", Serializers.Url(SmsStatusCallback)));
}

if (MessageStatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("MessageStatusCallback", MessageStatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("MessageStatusCallback", Serializers.Url(MessageStatusCallback)));
}

return p;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (StatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("StatusCallback", StatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("StatusCallback", Serializers.Url(StatusCallback)));
}

if (StatusCallbackMethod != null)
Expand Down
12 changes: 6 additions & 6 deletions src/Twilio/Rest/Api/V2010/Account/CallOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (Url != null)
{
p.Add(new KeyValuePair<string, string>("Url", Url.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("Url", Serializers.Url(Url)));
}

if (ApplicationSid != null)
Expand All @@ -157,7 +157,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (FallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("FallbackUrl", FallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("FallbackUrl", Serializers.Url(FallbackUrl)));
}

if (FallbackMethod != null)
Expand All @@ -167,7 +167,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (StatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("StatusCallback", StatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("StatusCallback", Serializers.Url(StatusCallback)));
}

if (StatusCallbackEvent != null)
Expand Down Expand Up @@ -488,7 +488,7 @@ public List<KeyValuePair<string, string>> GetParams()
var p = new List<KeyValuePair<string, string>>();
if (Url != null)
{
p.Add(new KeyValuePair<string, string>("Url", Url.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("Url", Serializers.Url(Url)));
}

if (Method != null)
Expand All @@ -503,7 +503,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (FallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("FallbackUrl", FallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("FallbackUrl", Serializers.Url(FallbackUrl)));
}

if (FallbackMethod != null)
Expand All @@ -513,7 +513,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (StatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("StatusCallback", StatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("StatusCallback", Serializers.Url(StatusCallback)));
}

if (StatusCallbackMethod != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (HoldUrl != null)
{
p.Add(new KeyValuePair<string, string>("HoldUrl", HoldUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("HoldUrl", Serializers.Url(HoldUrl)));
}

if (HoldMethod != null)
Expand All @@ -132,7 +132,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (AnnounceUrl != null)
{
p.Add(new KeyValuePair<string, string>("AnnounceUrl", AnnounceUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("AnnounceUrl", Serializers.Url(AnnounceUrl)));
}

if (AnnounceMethod != null)
Expand Down Expand Up @@ -313,7 +313,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (StatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("StatusCallback", StatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("StatusCallback", Serializers.Url(StatusCallback)));
}

if (StatusCallbackMethod != null)
Expand Down Expand Up @@ -358,7 +358,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (WaitUrl != null)
{
p.Add(new KeyValuePair<string, string>("WaitUrl", WaitUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("WaitUrl", Serializers.Url(WaitUrl)));
}

if (WaitMethod != null)
Expand Down Expand Up @@ -388,7 +388,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (ConferenceStatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("ConferenceStatusCallback", ConferenceStatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("ConferenceStatusCallback", Serializers.Url(ConferenceStatusCallback)));
}

if (ConferenceStatusCallbackMethod != null)
Expand All @@ -408,7 +408,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (RecordingStatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("RecordingStatusCallback", RecordingStatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("RecordingStatusCallback", Serializers.Url(RecordingStatusCallback)));
}

if (RecordingStatusCallbackMethod != null)
Expand All @@ -433,7 +433,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (ConferenceRecordingStatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("ConferenceRecordingStatusCallback", ConferenceRecordingStatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("ConferenceRecordingStatusCallback", Serializers.Url(ConferenceRecordingStatusCallback)));
}

if (ConferenceRecordingStatusCallbackMethod != null)
Expand Down
6 changes: 3 additions & 3 deletions src/Twilio/Rest/Api/V2010/Account/ConnectAppOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public List<KeyValuePair<string, string>> GetParams()
var p = new List<KeyValuePair<string, string>>();
if (AuthorizeRedirectUrl != null)
{
p.Add(new KeyValuePair<string, string>("AuthorizeRedirectUrl", AuthorizeRedirectUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("AuthorizeRedirectUrl", Serializers.Url(AuthorizeRedirectUrl)));
}

if (CompanyName != null)
Expand All @@ -124,7 +124,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (DeauthorizeCallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("DeauthorizeCallbackUrl", DeauthorizeCallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("DeauthorizeCallbackUrl", Serializers.Url(DeauthorizeCallbackUrl)));
}

if (Description != null)
Expand All @@ -139,7 +139,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (HomepageUrl != null)
{
p.Add(new KeyValuePair<string, string>("HomepageUrl", HomepageUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("HomepageUrl", Serializers.Url(HomepageUrl)));
}

if (Permissions != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsFallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("SmsFallbackUrl", SmsFallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsFallbackUrl", Serializers.Url(SmsFallbackUrl)));
}

if (SmsMethod != null)
Expand All @@ -206,12 +206,12 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsUrl != null)
{
p.Add(new KeyValuePair<string, string>("SmsUrl", SmsUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsUrl", Serializers.Url(SmsUrl)));
}

if (StatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("StatusCallback", StatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("StatusCallback", Serializers.Url(StatusCallback)));
}

if (StatusCallbackMethod != null)
Expand All @@ -236,7 +236,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (VoiceFallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("VoiceFallbackUrl", VoiceFallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("VoiceFallbackUrl", Serializers.Url(VoiceFallbackUrl)));
}

if (VoiceMethod != null)
Expand All @@ -246,7 +246,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (VoiceUrl != null)
{
p.Add(new KeyValuePair<string, string>("VoiceUrl", VoiceUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("VoiceUrl", Serializers.Url(VoiceUrl)));
}

if (IdentitySid != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsFallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("SmsFallbackUrl", SmsFallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsFallbackUrl", Serializers.Url(SmsFallbackUrl)));
}

if (SmsMethod != null)
Expand All @@ -206,12 +206,12 @@ public List<KeyValuePair<string, string>> GetParams()

if (SmsUrl != null)
{
p.Add(new KeyValuePair<string, string>("SmsUrl", SmsUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("SmsUrl", Serializers.Url(SmsUrl)));
}

if (StatusCallback != null)
{
p.Add(new KeyValuePair<string, string>("StatusCallback", StatusCallback.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("StatusCallback", Serializers.Url(StatusCallback)));
}

if (StatusCallbackMethod != null)
Expand All @@ -236,7 +236,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (VoiceFallbackUrl != null)
{
p.Add(new KeyValuePair<string, string>("VoiceFallbackUrl", VoiceFallbackUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("VoiceFallbackUrl", Serializers.Url(VoiceFallbackUrl)));
}

if (VoiceMethod != null)
Expand All @@ -246,7 +246,7 @@ public List<KeyValuePair<string, string>> GetParams()

if (VoiceUrl != null)
{
p.Add(new KeyValuePair<string, string>("VoiceUrl", VoiceUrl.AbsoluteUri.TrimEnd('/')));
p.Add(new KeyValuePair<string, string>("VoiceUrl", Serializers.Url(VoiceUrl)));
}

if (IdentitySid != null)
Expand Down
Loading

0 comments on commit dfae0b3

Please sign in to comment.