C# Class Pipl.APIs.Search.SearchAPIRequest

ファイルを表示 Open project: piplcom/piplapis-csharp

Public Properties

Property Type Description
Configuration SearchConfiguration
DefaultConfiguration SearchConfiguration

Private Properties

Property Type Description
SearchAPIRequest System
_getUrlParams System.Collections.Specialized.NameValueCollection
_searchUploadValuesCompletedEventHandler void
_update_response_headers void

Public Methods

Method Description
SearchAPIRequest ( string firstName = null, string middleName = null, string lastName = null, string rawName = null, string email = null, string phone = null, string username = null, string country = null, string state = null, string city = null, string zipCode = null, string rawAddress = null, int fromAge = null, int toAge = null, Person person = null, string searchPointer = null, SearchConfiguration requestConfiguration = null ) : System
Send ( bool strictValidation = true ) : SearchAPIResponse
SendAsync ( bool strictValidation = true ) : Task
ValidateQueryParams ( bool strict = true ) : void

Private Methods

Method Description
SearchAPIRequest ( ) : System
_getUrlParams ( ) : NameValueCollection
_searchUploadValuesCompletedEventHandler ( WebClient client, UploadValuesCompletedEventArgs e, TaskCompletionSource taskCompletionSource ) : void
_update_response_headers ( WebClient webClient = null, WebResponse webResponse = null, SearchAPIResponse response = null, SearchAPIError errResponse = null ) : void

Method Details

SearchAPIRequest() public method

public SearchAPIRequest ( string firstName = null, string middleName = null, string lastName = null, string rawName = null, string email = null, string phone = null, string username = null, string country = null, string state = null, string city = null, string zipCode = null, string rawAddress = null, int fromAge = null, int toAge = null, Person person = null, string searchPointer = null, SearchConfiguration requestConfiguration = null ) : System
firstName string
middleName string
lastName string
rawName string
email string
phone string
username string
country string
state string
city string
zipCode string
rawAddress string
fromAge int
toAge int
person Pipl.APIs.Data.Containers.Person
searchPointer string
requestConfiguration SearchConfiguration
return System

Send() public method

public Send ( bool strictValidation = true ) : SearchAPIResponse
strictValidation bool
return SearchAPIResponse

SendAsync() public method

public SendAsync ( bool strictValidation = true ) : Task
strictValidation bool
return Task

ValidateQueryParams() public method

public ValidateQueryParams ( bool strict = true ) : void
strict bool
return void

Property Details

Configuration public_oe property

public SearchConfiguration,Pipl.APIs.Search Configuration
return SearchConfiguration

DefaultConfiguration public_oe static_oe property

public static SearchConfiguration,Pipl.APIs.Search DefaultConfiguration
return SearchConfiguration