olp-cpp-sdk  1.22.0
Public Types | Public Member Functions | List of all members
olp::dataservice::read::CompatibleVersionsRequest Class Referencefinal

Contains fields required to request compatible versions for the given catalog. More...

#include <CompatibleVersionsRequest.h>

Public Types

using Dependencies = std::vector< model::CatalogVersion >
 

Public Member Functions

const Dependencies & GetDependencies () const
 Gets the dependencies for the catalog versions compatibility check. More...
 
CompatibleVersionsRequestWithDependencies (Dependencies dependencies)
 Sets the dependencies to check the catalog versions for compatibility. More...
 
int32_t GetLimit () const
 Gets the maximum amount of versions available in the response. More...
 
CompatibleVersionsRequestWithLimit (int32_t limit)
 Sets the maximum amount of versions available in the response. More...
 

Detailed Description

Contains fields required to request compatible versions for the given catalog.

Member Function Documentation

◆ GetDependencies()

const Dependencies& olp::dataservice::read::CompatibleVersionsRequest::GetDependencies ( ) const
inline

Gets the dependencies for the catalog versions compatibility check.

Returns
The dependencies for the catalog versions compatibility check.

◆ GetLimit()

int32_t olp::dataservice::read::CompatibleVersionsRequest::GetLimit ( ) const
inline

Gets the maximum amount of versions available in the response.

Returns
The maximum amount of versions available in the response.

◆ WithDependencies()

CompatibleVersionsRequest& olp::dataservice::read::CompatibleVersionsRequest::WithDependencies ( Dependencies  dependencies)
inline

Sets the dependencies to check the catalog versions for compatibility.

Parameters
dependenciesThe dependencies for the catalog versions compatibility check.
Returns
A reference to the updated CompatibleVersionsRequest instance.

◆ WithLimit()

CompatibleVersionsRequest& olp::dataservice::read::CompatibleVersionsRequest::WithLimit ( int32_t  limit)
inline

Sets the maximum amount of versions available in the response.

Parameters
limitThe maximum amount of versions available in the response. The default limit is 1.
Returns
A reference to the updated CompatibleVersionsRequest instance.

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