-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Librarian] Regenerated @ 15282ea63be527ac19e6c55c4a85a6c3e35190e1
- Loading branch information
Showing
35 changed files
with
3,232 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
174 changes: 174 additions & 0 deletions
174
...V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
/// This code was generated by | ||
/// \ / _ _ _| _ _ | ||
/// | (_)\/(_)(_|\/| |(/_ v1.0.0 | ||
/// / / | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using Twilio.Base; | ||
using Twilio.Converters; | ||
|
||
namespace Twilio.Rest.Api.V2010.Account.Sip.Domain.AuthTypes.AuthTypeCalls | ||
{ | ||
|
||
/// <summary> | ||
/// Create a new credential list mapping resource | ||
/// </summary> | ||
public class CreateAuthCallsCredentialListMappingOptions : IOptions<AuthCallsCredentialListMappingResource> | ||
{ | ||
/// <summary> | ||
/// The account_sid | ||
/// </summary> | ||
public string PathAccountSid { get; set; } | ||
/// <summary> | ||
/// The domain_sid | ||
/// </summary> | ||
public string PathDomainSid { get; } | ||
/// <summary> | ||
/// A string that uniquely identifies this credential list resource | ||
/// </summary> | ||
public string CredentialListSid { get; } | ||
|
||
/// <summary> | ||
/// Construct a new CreateAuthCallsCredentialListMappingOptions | ||
/// </summary> | ||
/// <param name="pathDomainSid"> The domain_sid </param> | ||
/// <param name="credentialListSid"> A string that uniquely identifies this credential list resource </param> | ||
public CreateAuthCallsCredentialListMappingOptions(string pathDomainSid, string credentialListSid) | ||
{ | ||
PathDomainSid = pathDomainSid; | ||
CredentialListSid = credentialListSid; | ||
} | ||
|
||
/// <summary> | ||
/// Generate the necessary parameters | ||
/// </summary> | ||
public List<KeyValuePair<string, string>> GetParams() | ||
{ | ||
var p = new List<KeyValuePair<string, string>>(); | ||
if (CredentialListSid != null) | ||
{ | ||
p.Add(new KeyValuePair<string, string>("CredentialListSid", CredentialListSid.ToString())); | ||
} | ||
|
||
return p; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Retrieve a list of credential list mappings belonging to the domain used in the request | ||
/// </summary> | ||
public class ReadAuthCallsCredentialListMappingOptions : ReadOptions<AuthCallsCredentialListMappingResource> | ||
{ | ||
/// <summary> | ||
/// The account_sid | ||
/// </summary> | ||
public string PathAccountSid { get; set; } | ||
/// <summary> | ||
/// The domain_sid | ||
/// </summary> | ||
public string PathDomainSid { get; } | ||
|
||
/// <summary> | ||
/// Construct a new ReadAuthCallsCredentialListMappingOptions | ||
/// </summary> | ||
/// <param name="pathDomainSid"> The domain_sid </param> | ||
public ReadAuthCallsCredentialListMappingOptions(string pathDomainSid) | ||
{ | ||
PathDomainSid = pathDomainSid; | ||
} | ||
|
||
/// <summary> | ||
/// Generate the necessary parameters | ||
/// </summary> | ||
public override List<KeyValuePair<string, string>> GetParams() | ||
{ | ||
var p = new List<KeyValuePair<string, string>>(); | ||
if (PageSize != null) | ||
{ | ||
p.Add(new KeyValuePair<string, string>("PageSize", PageSize.ToString())); | ||
} | ||
|
||
return p; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Fetch a specific instance of a credential list mapping | ||
/// </summary> | ||
public class FetchAuthCallsCredentialListMappingOptions : IOptions<AuthCallsCredentialListMappingResource> | ||
{ | ||
/// <summary> | ||
/// The account_sid | ||
/// </summary> | ||
public string PathAccountSid { get; set; } | ||
/// <summary> | ||
/// The domain_sid | ||
/// </summary> | ||
public string PathDomainSid { get; } | ||
/// <summary> | ||
/// Fetch by unique credential list Sid | ||
/// </summary> | ||
public string PathSid { get; } | ||
|
||
/// <summary> | ||
/// Construct a new FetchAuthCallsCredentialListMappingOptions | ||
/// </summary> | ||
/// <param name="pathDomainSid"> The domain_sid </param> | ||
/// <param name="pathSid"> Fetch by unique credential list Sid </param> | ||
public FetchAuthCallsCredentialListMappingOptions(string pathDomainSid, string pathSid) | ||
{ | ||
PathDomainSid = pathDomainSid; | ||
PathSid = pathSid; | ||
} | ||
|
||
/// <summary> | ||
/// Generate the necessary parameters | ||
/// </summary> | ||
public List<KeyValuePair<string, string>> GetParams() | ||
{ | ||
var p = new List<KeyValuePair<string, string>>(); | ||
return p; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Delete a credential list mapping from the requested domain | ||
/// </summary> | ||
public class DeleteAuthCallsCredentialListMappingOptions : IOptions<AuthCallsCredentialListMappingResource> | ||
{ | ||
/// <summary> | ||
/// The account_sid | ||
/// </summary> | ||
public string PathAccountSid { get; set; } | ||
/// <summary> | ||
/// The domain_sid | ||
/// </summary> | ||
public string PathDomainSid { get; } | ||
/// <summary> | ||
/// Delete by unique credential list Sid | ||
/// </summary> | ||
public string PathSid { get; } | ||
|
||
/// <summary> | ||
/// Construct a new DeleteAuthCallsCredentialListMappingOptions | ||
/// </summary> | ||
/// <param name="pathDomainSid"> The domain_sid </param> | ||
/// <param name="pathSid"> Delete by unique credential list Sid </param> | ||
public DeleteAuthCallsCredentialListMappingOptions(string pathDomainSid, string pathSid) | ||
{ | ||
PathDomainSid = pathDomainSid; | ||
PathSid = pathSid; | ||
} | ||
|
||
/// <summary> | ||
/// Generate the necessary parameters | ||
/// </summary> | ||
public List<KeyValuePair<string, string>> GetParams() | ||
{ | ||
var p = new List<KeyValuePair<string, string>>(); | ||
return p; | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.