C# Класс Pipl.APIs.Search.SearchAPIRequest

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Configuration SearchConfiguration
DefaultConfiguration SearchConfiguration

Private Properties

Свойство Тип Описание
SearchAPIRequest System
_getUrlParams System.Collections.Specialized.NameValueCollection
_searchUploadValuesCompletedEventHandler void
_update_response_headers void

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

SearchAPIRequest() публичный Метод

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
Результат System

Send() публичный Метод

public Send ( bool strictValidation = true ) : SearchAPIResponse
strictValidation bool
Результат SearchAPIResponse

SendAsync() публичный Метод

public SendAsync ( bool strictValidation = true ) : Task
strictValidation bool
Результат Task

ValidateQueryParams() публичный Метод

public ValidateQueryParams ( bool strict = true ) : void
strict bool
Результат void

Описание свойств

Configuration публичное свойство

public SearchConfiguration,Pipl.APIs.Search Configuration
Результат SearchConfiguration

DefaultConfiguration публичное статическое свойство

public static SearchConfiguration,Pipl.APIs.Search DefaultConfiguration
Результат SearchConfiguration