Skip to content

Commit

Permalink
[Librarian] Regenerated @ 7d649cfe2fdad0266daf846dc9e27cdec7bfbda3
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-ci committed May 11, 2018
1 parent 1450919 commit cfe6440
Show file tree
Hide file tree
Showing 132 changed files with 4,346 additions and 1,734 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
twilio-csharp Changelog
=======================

[2018-05-11] Version 5.13.0
----------------------------
**Chat**
- Add Channel Webhooks resource

**Monitor**
- Update event filtering to support date/time **(breaking change)**


[2018-05-04] Version 5.12.1
----------------------------
**Wireless**
Expand Down
10 changes: 5 additions & 5 deletions src/Twilio/Rest/Api/V2010/Account/Call/FeedbackOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Twilio.Rest.Api.V2010.Account.Call
{

/// <summary>
/// CreateFeedbackOptions
/// Create a feedback entry for a call
/// </summary>
public class CreateFeedbackOptions : IOptions<FeedbackResource>
{
Expand All @@ -26,19 +26,19 @@ public class CreateFeedbackOptions : IOptions<FeedbackResource>
/// </summary>
public string PathCallSid { get; }
/// <summary>
/// The quality_score
/// An integer from 1 to 5
/// </summary>
public int? QualityScore { get; }
/// <summary>
/// The issue
/// Issues experienced during the call
/// </summary>
public List<FeedbackResource.IssuesEnum> Issue { get; set; }

/// <summary>
/// Construct a new CreateFeedbackOptions
/// </summary>
/// <param name="pathCallSid"> The call_sid </param>
/// <param name="qualityScore"> The quality_score </param>
/// <param name="qualityScore"> An integer from 1 to 5 </param>
public CreateFeedbackOptions(string pathCallSid, int? qualityScore)
{
PathCallSid = pathCallSid;
Expand Down Expand Up @@ -100,7 +100,7 @@ public List<KeyValuePair<string, string>> GetParams()
}

/// <summary>
/// Create or update a feedback entry for a call
/// Update a feedback entry for a call
/// </summary>
public class UpdateFeedbackOptions : IOptions<FeedbackResource>
{
Expand Down
24 changes: 12 additions & 12 deletions src/Twilio/Rest/Api/V2010/Account/Call/FeedbackResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private static Request BuildCreateRequest(CreateFeedbackOptions options, ITwilio
}

/// <summary>
/// create
/// Create a feedback entry for a call
/// </summary>
/// <param name="options"> Create Feedback parameters </param>
/// <param name="client"> Client to make requests to Twilio </param>
Expand All @@ -66,7 +66,7 @@ public static FeedbackResource Create(CreateFeedbackOptions options, ITwilioRest

#if !NET35
/// <summary>
/// create
/// Create a feedback entry for a call
/// </summary>
/// <param name="options"> Create Feedback parameters </param>
/// <param name="client"> Client to make requests to Twilio </param>
Expand All @@ -81,12 +81,12 @@ public static async System.Threading.Tasks.Task<FeedbackResource> CreateAsync(Cr
#endif

/// <summary>
/// create
/// Create a feedback entry for a call
/// </summary>
/// <param name="pathCallSid"> The call_sid </param>
/// <param name="qualityScore"> The quality_score </param>
/// <param name="qualityScore"> An integer from 1 to 5 </param>
/// <param name="pathAccountSid"> The account_sid </param>
/// <param name="issue"> The issue </param>
/// <param name="issue"> Issues experienced during the call </param>
/// <param name="client"> Client to make requests to Twilio </param>
/// <returns> A single instance of Feedback </returns>
public static FeedbackResource Create(string pathCallSid,
Expand All @@ -101,12 +101,12 @@ public static FeedbackResource Create(string pathCallSid,

#if !NET35
/// <summary>
/// create
/// Create a feedback entry for a call
/// </summary>
/// <param name="pathCallSid"> The call_sid </param>
/// <param name="qualityScore"> The quality_score </param>
/// <param name="qualityScore"> An integer from 1 to 5 </param>
/// <param name="pathAccountSid"> The account_sid </param>
/// <param name="issue"> The issue </param>
/// <param name="issue"> Issues experienced during the call </param>
/// <param name="client"> Client to make requests to Twilio </param>
/// <returns> Task that resolves to A single instance of Feedback </returns>
public static async System.Threading.Tasks.Task<FeedbackResource> CreateAsync(string pathCallSid,
Expand Down Expand Up @@ -204,7 +204,7 @@ private static Request BuildUpdateRequest(UpdateFeedbackOptions options, ITwilio
}

/// <summary>
/// Create or update a feedback entry for a call
/// Update a feedback entry for a call
/// </summary>
/// <param name="options"> Update Feedback parameters </param>
/// <param name="client"> Client to make requests to Twilio </param>
Expand All @@ -218,7 +218,7 @@ public static FeedbackResource Update(UpdateFeedbackOptions options, ITwilioRest

#if !NET35
/// <summary>
/// Create or update a feedback entry for a call
/// Update a feedback entry for a call
/// </summary>
/// <param name="options"> Update Feedback parameters </param>
/// <param name="client"> Client to make requests to Twilio </param>
Expand All @@ -233,7 +233,7 @@ public static async System.Threading.Tasks.Task<FeedbackResource> UpdateAsync(Up
#endif

/// <summary>
/// Create or update a feedback entry for a call
/// Update a feedback entry for a call
/// </summary>
/// <param name="pathCallSid"> The call_sid </param>
/// <param name="qualityScore"> An integer from 1 to 5 </param>
Expand All @@ -253,7 +253,7 @@ public static FeedbackResource Update(string pathCallSid,

#if !NET35
/// <summary>
/// Create or update a feedback entry for a call
/// Update a feedback entry for a call
/// </summary>
/// <param name="pathCallSid"> The call_sid </param>
/// <param name="qualityScore"> An integer from 1 to 5 </param>
Expand Down
2 changes: 1 addition & 1 deletion src/Twilio/Rest/Api/V2010/Account/KeyOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class UpdateKeyOptions : IOptions<KeyResource>
/// </summary>
public string PathSid { get; }
/// <summary>
/// A descriptive string for this resource, chosen by your application, up to 64 characters long.
/// The friendly_name
/// </summary>
public string FriendlyName { get; set; }

Expand Down
6 changes: 2 additions & 4 deletions src/Twilio/Rest/Api/V2010/Account/KeyResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ public static async System.Threading.Tasks.Task<KeyResource> UpdateAsync(UpdateK
/// </summary>
/// <param name="pathSid"> The sid </param>
/// <param name="pathAccountSid"> The account_sid </param>
/// <param name="friendlyName"> A descriptive string for this resource, chosen by your application, up to 64 characters
/// long. </param>
/// <param name="friendlyName"> The friendly_name </param>
/// <param name="client"> Client to make requests to Twilio </param>
/// <returns> A single instance of Key </returns>
public static KeyResource Update(string pathSid,
Expand All @@ -154,8 +153,7 @@ public static KeyResource Update(string pathSid,
/// </summary>
/// <param name="pathSid"> The sid </param>
/// <param name="pathAccountSid"> The account_sid </param>
/// <param name="friendlyName"> A descriptive string for this resource, chosen by your application, up to 64 characters
/// long. </param>
/// <param name="friendlyName"> The friendly_name </param>
/// <param name="client"> Client to make requests to Twilio </param>
/// <returns> Task that resolves to A single instance of Key </returns>
public static async System.Threading.Tasks.Task<KeyResource> UpdateAsync(string pathSid,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static FeedbackResource FromJson(string json)
[JsonProperty("message_sid")]
public string MessageSid { get; private set; }
/// <summary>
/// The outcome
/// unconfirmed or confirmed. If ProvideFeedback=true in the initial HTTP POST, this value will default to unconfirmed. Make an HTTP POST to update this value to confirmed after the message arrives.
/// </summary>
[JsonProperty("outcome")]
[JsonConverter(typeof(StringEnumConverter))]
Expand Down
2 changes: 1 addition & 1 deletion src/Twilio/Rest/Api/V2010/Account/NewKeyOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class CreateNewKeyOptions : IOptions<NewKeyResource>
/// </summary>
public string PathAccountSid { get; set; }
/// <summary>
/// A descriptive string for this resource, chosen by your application, up to 64 characters long.
/// The friendly_name
/// </summary>
public string FriendlyName { get; set; }

Expand Down
16 changes: 7 additions & 9 deletions src/Twilio/Rest/Api/V2010/Account/NewKeyResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ public static async System.Threading.Tasks.Task<NewKeyResource> CreateAsync(Crea
/// create
/// </summary>
/// <param name="pathAccountSid"> The account_sid </param>
/// <param name="friendlyName"> A descriptive string for this resource, chosen by your application, up to 64 characters
/// long. </param>
/// <param name="friendlyName"> The friendly_name </param>
/// <param name="client"> Client to make requests to Twilio </param>
/// <returns> A single instance of NewKey </returns>
public static NewKeyResource Create(string pathAccountSid = null,
Expand All @@ -81,8 +80,7 @@ public static NewKeyResource Create(string pathAccountSid = null,
/// create
/// </summary>
/// <param name="pathAccountSid"> The account_sid </param>
/// <param name="friendlyName"> A descriptive string for this resource, chosen by your application, up to 64 characters
/// long. </param>
/// <param name="friendlyName"> The friendly_name </param>
/// <param name="client"> Client to make requests to Twilio </param>
/// <returns> Task that resolves to A single instance of NewKey </returns>
public static async System.Threading.Tasks.Task<NewKeyResource> CreateAsync(string pathAccountSid = null,
Expand Down Expand Up @@ -113,27 +111,27 @@ public static NewKeyResource FromJson(string json)
}

/// <summary>
/// A 34 character string that uniquely identifies this API Key.
/// The sid
/// </summary>
[JsonProperty("sid")]
public string Sid { get; private set; }
/// <summary>
/// A descriptive string for this resource, chosen by your application, up to 64 characters long.
/// The friendly_name
/// </summary>
[JsonProperty("friendly_name")]
public string FriendlyName { get; private set; }
/// <summary>
/// The date-time this API Key was created, given as a RFC 2822 Timestamp.
/// The date_created
/// </summary>
[JsonProperty("date_created")]
public DateTime? DateCreated { get; private set; }
/// <summary>
/// The date-time this API Key was most recently updated, given as a RFC 2822 Timestamp.
/// The date_updated
/// </summary>
[JsonProperty("date_updated")]
public DateTime? DateUpdated { get; private set; }
/// <summary>
/// The secret your application uses to sign Access Tokens and to authenticate to the REST API.
/// The secret
/// </summary>
[JsonProperty("secret")]
public string Secret { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ public static PayloadResource FromJson(string json)
[JsonProperty("reference_sid")]
public string ReferenceSid { get; private set; }
/// <summary>
/// The subresource_uris
/// A dictionary of URIs for related resources
/// </summary>
[JsonProperty("subresource_uris")]
public Dictionary<string, string> SubresourceUris { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public static AddOnResultResource FromJson(string json)
[JsonProperty("reference_sid")]
public string ReferenceSid { get; private set; }
/// <summary>
/// The subresource_uris
/// A dictionary of URIs for related resources
/// </summary>
[JsonProperty("subresource_uris")]
public Dictionary<string, string> SubresourceUris { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public class UpdateCredentialOptions : IOptions<CredentialResource>
/// </summary>
public string PathSid { get; }
/// <summary>
/// The password
/// The password will not be returned in the response.
/// </summary>
public string Password { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public static async System.Threading.Tasks.Task<CredentialResource> UpdateAsync(
/// <param name="pathCredentialListSid"> The credential_list_sid </param>
/// <param name="pathSid"> The sid </param>
/// <param name="pathAccountSid"> The account_sid </param>
/// <param name="password"> The password </param>
/// <param name="password"> The password will not be returned in the response. </param>
/// <param name="client"> Client to make requests to Twilio </param>
/// <returns> A single instance of Credential </returns>
public static CredentialResource Update(string pathCredentialListSid,
Expand All @@ -385,7 +385,7 @@ public static CredentialResource Update(string pathCredentialListSid,
/// <param name="pathCredentialListSid"> The credential_list_sid </param>
/// <param name="pathSid"> The sid </param>
/// <param name="pathAccountSid"> The account_sid </param>
/// <param name="password"> The password </param>
/// <param name="password"> The password will not be returned in the response. </param>
/// <param name="client"> Client to make requests to Twilio </param>
/// <returns> Task that resolves to A single instance of Credential </returns>
public static async System.Threading.Tasks.Task<CredentialResource> UpdateAsync(string pathCredentialListSid,
Expand Down
Loading

0 comments on commit cfe6440

Please sign in to comment.