commercetools.Sdk
The commercetools platform, import-api and C# sdks generated from our api reference.
Loading...
Searching...
No Matches
Public Member Functions | Properties
commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost Class Reference

Inherits commercetools.Base.Client.ApiMethod< ByProjectKeyProductProjectionsSearchPost >, commercetools.Base.Client.IApiMethod< ByProjectKeyProductProjectionsSearchPost, commercetools.Sdk.Api.Models.Products.IProductProjectionPagedSearchResponse >, and commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductProjectionsSearchPost >.

Public Member Functions

 ByProjectKeyProductProjectionsSearchPost (IClient apiHttpClient, ISerializerService serializerService, string projectKey, List< KeyValuePair< string, string > > formParams=null)
 
async Task< commercetools.Sdk.Api.Models.Products.IProductProjectionPagedSearchResponseExecuteAsync (CancellationToken cancellationToken=default)
 
async Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< commercetools.Sdk.Api.Models.Products.IProductProjectionPagedSearchResponse > > SendAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
override HttpRequestMessage Build ()
 
ByProjectKeyProductProjectionsSearchPost AddFormParam< TValue > (string key, TValue value)
 
ByProjectKeyProductProjectionsSearchPost WithFormParam< TValue > (string key, TValue value)
 
ByProjectKeyProductProjectionsSearchPost WithoutFormParam (string key)
 
ByProjectKeyProductProjectionsSearchPost WithFormParams (List< KeyValuePair< string, string > > formParams)
 
List< KeyValuePair< string, string > > GetFormParams ()
 
List< string > GetFormParam (string key)
 
List< string > GetFormParamUriStrings ()
 
string GetFormParamUriString ()
 
string? GetFirstFormParam (string key)
 
- Public Member Functions inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyProductProjectionsSearchPost >
 ApiMethod ()
 
AddQueryParam (string key, string value)
 
WithQueryParam (List< KeyValuePair< string, string > > queryParams)
 
ICollection< KeyValuePair< string, string > > GetQueryParams ()
 
List< string > GetQueryParam (string key)
 
string? GetFirstQueryParam (string key)
 
AddHeader (string key, string value)
 
WithHeaders (ApiHttpHeaders headers)
 
- Public Member Functions inherited from commercetools.Base.Client.IApiMethod< ByProjectKeyProductProjectionsSearchPost, commercetools.Sdk.Api.Models.Products.IProductProjectionPagedSearchResponse >
AddQueryParam (string key, string value)
 
WithQueryParam (List< KeyValuePair< string, string > > queryParams)
 
List< string > GetQueryParam (string key)
 
AddHeader (string key, string value)
 
WithHeaders (ApiHttpHeaders headers)
 
HttpRequestMessage Build ()
 
Task< TResult > ExecuteAsync (CancellationToken cancellationToken=default)
 
Task< IApiResponse< TResult > > SendAsync (CancellationToken cancellationToken=default)
 
Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductProjectionsSearchPost >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 

Properties

override HttpMethod Method [get]
 
- Properties inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyProductProjectionsSearchPost >
HttpMethod Method [get]
 
string RequestUrl [get, set]
 
ApiHttpHeaders Headers [get, set]
 
- Properties inherited from commercetools.Base.Client.IApiMethod< ByProjectKeyProductProjectionsSearchPost, commercetools.Sdk.Api.Models.Products.IProductProjectionPagedSearchResponse >
HttpMethod Method [get]
 
string RequestUrl [get, set]
 

Constructor & Destructor Documentation

◆ ByProjectKeyProductProjectionsSearchPost()

commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.ByProjectKeyProductProjectionsSearchPost ( IClient  apiHttpClient,
ISerializerService  serializerService,
string  projectKey,
List< KeyValuePair< string, string > >  formParams = null 
)
inline

Member Function Documentation

◆ AddFormParam< TValue >()

ByProjectKeyProductProjectionsSearchPost commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.AddFormParam< TValue > ( string  key,
TValue  value 
)
inline

◆ Build()

override HttpRequestMessage commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.Build ( )
inlinevirtual

◆ ExecuteAsJsonAsync()

async Task< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.ExecuteAsJsonAsync ( CancellationToken  cancellationToken = default)
inline

◆ ExecuteAsync()

async Task< commercetools.Sdk.Api.Models.Products.IProductProjectionPagedSearchResponse > commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.ExecuteAsync ( CancellationToken  cancellationToken = default)
inline

◆ GetFirstFormParam()

string? commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.GetFirstFormParam ( string  key)
inline

◆ GetFormParam()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.GetFormParam ( string  key)
inline

◆ GetFormParams()

List< KeyValuePair< string, string > > commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.GetFormParams ( )
inline

◆ GetFormParamUriString()

string commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.GetFormParamUriString ( )
inline

◆ GetFormParamUriStrings()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.GetFormParamUriStrings ( )
inline

◆ SendAsJsonAsync()

async Task< IApiResponse< string > > commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.SendAsJsonAsync ( CancellationToken  cancellationToken = default)
inline

◆ SendAsync()

async Task< IApiResponse< commercetools.Sdk.Api.Models.Products.IProductProjectionPagedSearchResponse > > commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.SendAsync ( CancellationToken  cancellationToken = default)
inline

◆ WithFormParam< TValue >()

ByProjectKeyProductProjectionsSearchPost commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.WithFormParam< TValue > ( string  key,
TValue  value 
)
inline

◆ WithFormParams()

ByProjectKeyProductProjectionsSearchPost commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.WithFormParams ( List< KeyValuePair< string, string > >  formParams)
inline

set the form parameters

Parameters
formParamslist of form parameters
Returns
T

◆ WithoutFormParam()

ByProjectKeyProductProjectionsSearchPost commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.WithoutFormParam ( string  key)
inline

removes the specified form parameter

Parameters
keyform parameter name
Returns
T

Property Documentation

◆ Method

override HttpMethod commercetools.Sdk.Api.Client.RequestBuilders.ProductProjections.ByProjectKeyProductProjectionsSearchPost.Method
get

The documentation for this class was generated from the following file: