C# Class OpenStack.Services.ContentDelivery.V1.ListServicesExtensions

This class provides extension methods for specifying additional parameters for the ListServicesApiCall HTTP API call.
ファイルを表示 Open project: crowdy/OpenStack-ConoHa

Public Methods

Method Description
WithMarker ( this apiCall, ServiceId serviceId ) : ListServicesApiCall

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

WithMarker ( this apiCall, ServiceId serviceId ) : Task

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

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

WithPageSize ( this apiCall, int pageSize ) : ListServicesApiCall

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

WithPageSize ( this apiCall, int pageSize ) : Task

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

This method simplifies the use of WithPageSize(ListServicesApiCall, 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 ListServicesApiCall 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, ServiceId serviceId ) : ListServicesApiCall
apiCall this The prepared HTTP API call.
serviceId ServiceId /// The 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 ListServicesApiCall

WithMarker() public static method

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

This method simplifies the use of WithMarker(ListServicesApiCall, ServiceId) 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, ServiceId serviceId ) : Task
apiCall this A representing the asynchronous operation to prepare the HTTP API /// call.
serviceId ServiceId /// The 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 ListServicesApiCall 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 ) : ListServicesApiCall
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 ListServicesApiCall

WithPageSize() public static method

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

This method simplifies the use of WithPageSize(ListServicesApiCall, 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