Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
QadraMessageDataResponse Class Reference

#include <QadraMessageData.h>

Collaboration diagram for QadraMessageDataResponse:
Collaboration graph
[legend]

Classes

struct  ErrorResponse
 

Public Types

enum  ErrorCode {
  Success = 0, NoContentError = 20401, BadRequestError = 40000, UnknownParameter = 40001,
  MissingRequiredParameter = 40002, InvalidParameterValue = 40003, MustNotBeNegative = 40004, MustBeGreaterThan0 = 40005,
  LongitudeOutOfRange = 40006, LatitudeOutOfRange = 40007, OBUNotFound = 40008, BusStopNotFoundByTariffNumber = 40009,
  AnUnexpectedErrorOccurred = 50001
}
 
enum  StatusCode {
  Unknown = 0, OK = 200, NoContent = 204, BadRequest = 400,
  Unauthorized = 401, Forbiden = 403, InternalServerError = 500
}
 
typedef QList< ErrorResponseErrorResponseList
 

Public Member Functions

 QadraMessageDataResponse ()
 
 QadraMessageDataResponse (const QadraMessageDataResponse &response)
 
 QadraMessageDataResponse (const QJsonObject &jsonObject)
 
void FromJsonObject (const QJsonObject &jsonObject)
 
bool IsValid ()
 
QString ToString () const
 
QString JoinMessageIDs () const
 

Public Attributes

QStringList mProcessedId
 
ErrorResponseList mErrors
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
Success 
NoContentError 
BadRequestError 
UnknownParameter 
MissingRequiredParameter 
InvalidParameterValue 
MustNotBeNegative 
MustBeGreaterThan0 
LongitudeOutOfRange 
LatitudeOutOfRange 
OBUNotFound 
BusStopNotFoundByTariffNumber 
AnUnexpectedErrorOccurred 
Enumerator
Unknown 
OK 
NoContent 
BadRequest 
Unauthorized 
Forbiden 
InternalServerError 

Constructor & Destructor Documentation

QadraMessageDataResponse::QadraMessageDataResponse ( )
inline
QadraMessageDataResponse::QadraMessageDataResponse ( const QadraMessageDataResponse response)
inline
QadraMessageDataResponse::QadraMessageDataResponse ( const QJsonObject &  jsonObject)
inline

Here is the call graph for this function:

Member Function Documentation

void QadraMessageDataResponse::FromJsonObject ( const QJsonObject &  jsonObject)
inline

Here is the caller graph for this function:

bool QadraMessageDataResponse::IsValid ( )
inline
QString QadraMessageDataResponse::JoinMessageIDs ( ) const
inline

Here is the caller graph for this function:

QString QadraMessageDataResponse::ToString ( ) const
inline

Member Data Documentation

ErrorResponseList QadraMessageDataResponse::mErrors
QStringList QadraMessageDataResponse::mProcessedId

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