openapi-generator/samples/client/petstore/tizen/client/SamiError.h
2015-06-09 00:25:09 -07:00

36 lines
493 B
C++

#ifndef SamiError_H_
#define SamiError_H_
#include <FBase.h>
using namespace Tizen::Base;
namespace Swagger {
class SamiError {
public:
SamiError();
SamiError(int code, String* message);
virtual ~SamiError();
void init();
void cleanup();
int getCode();
void setCode(int pCode);
String* getMessage();
void setMessage(String* pMessage);
private:
int pCode;
String* pMessage;
};
} /* namespace Swagger */
#endif /* SamiError_H_ */