C# Class OpenStack.Services.Identity.V2.ListTenantsApiCallExtensions

This class provides extension methods for specifying additional parameters for the ListTenantsApiCall HTTP API call.
显示文件 Open project: crowdy/OpenStack-ConoHa

Public Methods

Method Description
WithMarker ( this apiCall, ProjectId marker ) : ListTenantsApiCall

Sets (or removes) the marker query parameter for a ListTenantsApiCall HTTP API call.

WithMarker ( this apiCall, ProjectId marker ) : Task

Sets (or removes) the marker query parameter for a ListTenantsApiCall HTTP API call.

This method simplifies the use of WithMarker(ListTenantsApiCall, ProjectId) in scenarios where are not used for the preparation of the HTTP API call.

WithPageSize ( this apiCall, int pageSize ) : ListTenantsApiCall

Sets (or removes) the limit query parameter for a ListTenantsApiCall HTTP API call.

WithPageSize ( this apiCall, int pageSize ) : Task

Sets (or removes) the limit query parameter for a ListTenantsApiCall HTTP API call.

This method simplifies the use of WithPageSize(ListTenantsApiCall, int?) in scenarios where are not used for the preparation of the HTTP API call.

Method Details

WithMarker() public static method

Sets (or removes) the marker query parameter for a ListTenantsApiCall HTTP API call.
/// If is . /// If the HTTP API call has been disposed. If the HTTP API call has already been sent.
public static WithMarker ( this apiCall, ProjectId marker ) : ListTenantsApiCall
apiCall this The prepared HTTP API call.
marker ProjectId /// The unique ID of the last in the previous page of results. /// -or- /// to remove the marker query parameter and have the resulting page start /// with the first item in the list. ///
return ListTenantsApiCall

WithMarker() public static method

Sets (or removes) the marker query parameter for a ListTenantsApiCall HTTP API call.

This method simplifies the use of WithMarker(ListTenantsApiCall, ProjectId) in scenarios where are not used for the preparation of the HTTP API call.

/// If is . /// If the HTTP API call has been disposed. If the HTTP API call has already been sent.
public static WithMarker ( this apiCall, ProjectId marker ) : Task
apiCall this A representing the asynchronous operation to prepare the HTTP API /// call.
marker ProjectId /// The unique ID of the last in the previous page of results. /// -or- /// to remove the marker query parameter and have the resulting page start /// with the first item in the list. ///
return Task

WithPageSize() public static method

Sets (or removes) the limit query parameter for a ListTenantsApiCall HTTP API call.
/// If is . /// If is less than 0. If the HTTP API call has been disposed. If the HTTP API call has already been sent.
public static WithPageSize ( this apiCall, int pageSize ) : ListTenantsApiCall
apiCall this The prepared HTTP API call.
pageSize int /// The maximum number of items to return in a single page of results. /// -or- /// to remove the limit query parameter and use the default page size /// configured by the vendor for the service. ///
return ListTenantsApiCall

WithPageSize() public static method

Sets (or removes) the limit query parameter for a ListTenantsApiCall HTTP API call.

This method simplifies the use of WithPageSize(ListTenantsApiCall, int?) in scenarios where are not used for the preparation of the HTTP API call.

/// If is . /// If is less than 0. If the HTTP API call has been disposed. If the HTTP API call has already been sent.
public static WithPageSize ( this apiCall, int pageSize ) : Task
apiCall this A representing the asynchronous operation to prepare the HTTP API /// call.
pageSize int /// The maximum number of items to return in a single page of results. /// -or- /// to remove the limit query parameter and use the default page size /// configured by the vendor for the service. ///
return Task