C# Class Uber.Client

Datei anzeigen Open project: NSwag/NSwag

Public Methods

Method Description
HistoryAsync ( int offset, int limit ) : System.Threading.Tasks.Task

User Activity

HistoryAsync ( int offset, int limit, System cancellationToken ) : System.Threading.Tasks.Task

User Activity

MeAsync ( ) : System.Threading.Tasks.Task

User Profile

MeAsync ( System cancellationToken ) : System.Threading.Tasks.Task

User Profile

PriceAsync ( double start_latitude, double start_longitude, double end_latitude, double end_longitude ) : System.Threading.Tasks.Task>

Price Estimates

PriceAsync ( double start_latitude, double start_longitude, double end_latitude, double end_longitude, System cancellationToken ) : System.Threading.Tasks.Task>

Price Estimates

ProductsAsync ( double latitude, double longitude ) : System.Threading.Tasks.Task>

Product Types

ProductsAsync ( double latitude, double longitude, System cancellationToken ) : System.Threading.Tasks.Task>

Product Types

TimeAsync ( double start_latitude, double start_longitude, System customer_uuid, string product_id ) : System.Threading.Tasks.Task>

Time Estimates

TimeAsync ( double start_latitude, double start_longitude, System customer_uuid, string product_id, System cancellationToken ) : System.Threading.Tasks.Task>

Time Estimates

Private Methods

Method Description
PrepareRequest ( System request, string &url ) : void
ProcessResponse ( System request, System response ) : void

Method Details

HistoryAsync() public method

User Activity
A server side error occurred.
public HistoryAsync ( int offset, int limit ) : System.Threading.Tasks.Task
offset int Offset the list of returned results by this amount. Default is zero.
limit int Number of items to retrieve. Default is 5, maximum is 100.
return System.Threading.Tasks.Task

HistoryAsync() public method

User Activity
A server side error occurred.
public HistoryAsync ( int offset, int limit, System cancellationToken ) : System.Threading.Tasks.Task
offset int Offset the list of returned results by this amount. Default is zero.
limit int Number of items to retrieve. Default is 5, maximum is 100.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
return System.Threading.Tasks.Task

MeAsync() public method

User Profile
A server side error occurred.
public MeAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

MeAsync() public method

User Profile
A server side error occurred.
public MeAsync ( System cancellationToken ) : System.Threading.Tasks.Task
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
return System.Threading.Tasks.Task

PriceAsync() public method

Price Estimates
A server side error occurred.
public PriceAsync ( double start_latitude, double start_longitude, double end_latitude, double end_longitude ) : System.Threading.Tasks.Task>
start_latitude double Latitude component of start location.
start_longitude double Longitude component of start location.
end_latitude double Latitude component of end location.
end_longitude double Longitude component of end location.
return System.Threading.Tasks.Task>

PriceAsync() public method

Price Estimates
A server side error occurred.
public PriceAsync ( double start_latitude, double start_longitude, double end_latitude, double end_longitude, System cancellationToken ) : System.Threading.Tasks.Task>
start_latitude double Latitude component of start location.
start_longitude double Longitude component of start location.
end_latitude double Latitude component of end location.
end_longitude double Longitude component of end location.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
return System.Threading.Tasks.Task>

ProductsAsync() public method

Product Types
A server side error occurred.
public ProductsAsync ( double latitude, double longitude ) : System.Threading.Tasks.Task>
latitude double Latitude component of location.
longitude double Longitude component of location.
return System.Threading.Tasks.Task>

ProductsAsync() public method

Product Types
A server side error occurred.
public ProductsAsync ( double latitude, double longitude, System cancellationToken ) : System.Threading.Tasks.Task>
latitude double Latitude component of location.
longitude double Longitude component of location.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
return System.Threading.Tasks.Task>

TimeAsync() public method

Time Estimates
A server side error occurred.
public TimeAsync ( double start_latitude, double start_longitude, System customer_uuid, string product_id ) : System.Threading.Tasks.Task>
start_latitude double Latitude component of start location.
start_longitude double Longitude component of start location.
customer_uuid System Unique customer identifier to be used for experience customization.
product_id string Unique identifier representing a specific product for a given latitude & longitude.
return System.Threading.Tasks.Task>

TimeAsync() public method

Time Estimates
A server side error occurred.
public TimeAsync ( double start_latitude, double start_longitude, System customer_uuid, string product_id, System cancellationToken ) : System.Threading.Tasks.Task>
start_latitude double Latitude component of start location.
start_longitude double Longitude component of start location.
customer_uuid System Unique customer identifier to be used for experience customization.
product_id string Unique identifier representing a specific product for a given latitude & longitude.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
return System.Threading.Tasks.Task>