forked from loafle/openapi-generator-original
@@ -50,6 +50,7 @@
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return {Integer}
|
||||
**/
|
||||
@@ -78,6 +79,7 @@
|
||||
this['name'] = name;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Category.prototype.toJson = function() {
|
||||
return JSON.stringify(this);
|
||||
|
||||
@@ -24,24 +24,22 @@ if ( typeof define === "function" && define.amd ) {
|
||||
});
|
||||
}
|
||||
|
||||
var StatusEnum = function StatusEnum() {
|
||||
var self = this;
|
||||
|
||||
var StatusEnum = {
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
self.PLACED = "placed",
|
||||
PLACED: "placed",
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
self.APPROVED = "approved",
|
||||
APPROVED: "approved",
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
self.DELIVERED = "delivered";
|
||||
DELIVERED: "delivered"
|
||||
|
||||
}
|
||||
|
||||
@@ -115,6 +113,7 @@ var StatusEnum = function StatusEnum() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return {Integer}
|
||||
**/
|
||||
@@ -201,6 +200,7 @@ var StatusEnum = function StatusEnum() {
|
||||
this['complete'] = complete;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Order.prototype.toJson = function() {
|
||||
return JSON.stringify(this);
|
||||
|
||||
@@ -24,24 +24,22 @@ if ( typeof define === "function" && define.amd ) {
|
||||
});
|
||||
}
|
||||
|
||||
var StatusEnum = function StatusEnum() {
|
||||
var self = this;
|
||||
|
||||
var StatusEnum = {
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
self.AVAILABLE = "available",
|
||||
AVAILABLE: "available",
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
self.PENDING = "pending",
|
||||
PENDING: "pending",
|
||||
|
||||
/**
|
||||
* @const
|
||||
*/
|
||||
self.SOLD = "sold";
|
||||
SOLD: "sold"
|
||||
|
||||
}
|
||||
|
||||
@@ -117,6 +115,7 @@ var StatusEnum = function StatusEnum() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return {Integer}
|
||||
**/
|
||||
@@ -203,6 +202,7 @@ var StatusEnum = function StatusEnum() {
|
||||
this['status'] = status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Pet.prototype.toJson = function() {
|
||||
return JSON.stringify(this);
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return {Integer}
|
||||
**/
|
||||
@@ -78,6 +79,7 @@
|
||||
this['name'] = name;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Tag.prototype.toJson = function() {
|
||||
return JSON.stringify(this);
|
||||
|
||||
@@ -105,6 +105,7 @@
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return {Integer}
|
||||
**/
|
||||
@@ -219,6 +220,7 @@
|
||||
this['userStatus'] = userStatus;
|
||||
}
|
||||
|
||||
|
||||
|
||||
User.prototype.toJson = function() {
|
||||
return JSON.stringify(this);
|
||||
|
||||
Reference in New Issue
Block a user