Virgil Security C++ SDK
Public Member Functions | List of all members
virgil::sdk::client::models::GetCardResponse Class Reference

Represents response from CardClient's getCard function with RawSignedModel and whether or not card is outdated. More...

#include <GetCardResponse.h>

Public Member Functions

 GetCardResponse (RawSignedModel rawCard, bool isOutdated)
 Constructor. More...
 
const RawSignedModelrawCard () const
 Getter. More...
 
bool isOutdated () const
 Getter. More...
 

Detailed Description

Represents response from CardClient's getCard function with RawSignedModel and whether or not card is outdated.

Constructor & Destructor Documentation

virgil::sdk::client::models::GetCardResponse::GetCardResponse ( RawSignedModel  rawCard,
bool  isOutdated 
)

Constructor.

Parameters
rawCardRawSignedModel representing Virgil Card
isOutdatedwhether card is outdated or not

Member Function Documentation

bool virgil::sdk::client::models::GetCardResponse::isOutdated ( ) const

Getter.

Returns
true if Virgil Card is outdated, false otherwise
const RawSignedModel& virgil::sdk::client::models::GetCardResponse::rawCard ( ) const

Getter.

Returns
RawSignedModel representing Virgil Card

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