-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b0950d
commit c1389f5
Showing
10 changed files
with
465 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/** | ||
* PepipostLib | ||
* | ||
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const BaseModel = require('./BaseModel'); | ||
|
||
/** | ||
* Creates an instance of AddemailordomaintoSuppressionlist | ||
*/ | ||
class AddemailordomaintoSuppressionlist extends BaseModel { | ||
/** | ||
* @constructor | ||
* @param {Object} obj The object passed to constructor | ||
*/ | ||
constructor(obj) { | ||
super(obj); | ||
if (obj === undefined || obj === null) return; | ||
this.domain = this.constructor.getValue(obj.domain); | ||
this.email = this.constructor.getValue(obj.email); | ||
} | ||
|
||
/** | ||
* Function containing information about the fields of this model | ||
* @return {array} Array of objects containing information about the fields | ||
*/ | ||
static mappingInfo() { | ||
return super.mappingInfo().concat([ | ||
{ name: 'domain', realName: 'domain' }, | ||
{ name: 'email', realName: 'email' }, | ||
]); | ||
} | ||
|
||
/** | ||
* Function containing information about discriminator values | ||
* mapped with their corresponding model class names | ||
* | ||
* @return {object} Object containing Key-Value pairs mapping discriminator | ||
* values with their corresponding model classes | ||
*/ | ||
static discriminatorMap() { | ||
return {}; | ||
} | ||
} | ||
|
||
module.exports = AddemailordomaintoSuppressionlist; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/** | ||
* PepipostLib | ||
* | ||
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const BaseModel = require('./BaseModel'); | ||
|
||
/** | ||
* Creates an instance of Createsubaccount | ||
*/ | ||
class Createsubaccount extends BaseModel { | ||
/** | ||
* @constructor | ||
* @param {Object} obj The object passed to constructor | ||
*/ | ||
constructor(obj) { | ||
super(obj); | ||
if (obj === undefined || obj === null) return; | ||
this.username = this.constructor.getValue(obj.username); | ||
this.email = this.constructor.getValue(obj.email); | ||
this.setpassword = this.constructor.getValue(obj.setpassword); | ||
this.password = this.constructor.getValue(obj.password); | ||
this.creditType = this.constructor.getValue(obj.creditType || obj.credit_type); | ||
} | ||
|
||
/** | ||
* Function containing information about the fields of this model | ||
* @return {array} Array of objects containing information about the fields | ||
*/ | ||
static mappingInfo() { | ||
return super.mappingInfo().concat([ | ||
{ name: 'username', realName: 'username' }, | ||
{ name: 'email', realName: 'email' }, | ||
{ name: 'setpassword', realName: 'setpassword' }, | ||
{ name: 'password', realName: 'password' }, | ||
{ name: 'creditType', realName: 'credit_type' }, | ||
]); | ||
} | ||
|
||
/** | ||
* Function containing information about discriminator values | ||
* mapped with their corresponding model class names | ||
* | ||
* @return {object} Object containing Key-Value pairs mapping discriminator | ||
* values with their corresponding model classes | ||
*/ | ||
static discriminatorMap() { | ||
return {}; | ||
} | ||
} | ||
|
||
module.exports = Createsubaccount; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* PepipostLib | ||
* | ||
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const BaseModel = require('./BaseModel'); | ||
|
||
/** | ||
* Creates an instance of Deletedomain | ||
*/ | ||
class Deletedomain extends BaseModel { | ||
/** | ||
* @constructor | ||
* @param {Object} obj The object passed to constructor | ||
*/ | ||
constructor(obj) { | ||
super(obj); | ||
if (obj === undefined || obj === null) return; | ||
this.domain = this.constructor.getValue(obj.domain); | ||
} | ||
|
||
/** | ||
* Function containing information about the fields of this model | ||
* @return {array} Array of objects containing information about the fields | ||
*/ | ||
static mappingInfo() { | ||
return super.mappingInfo().concat([ | ||
{ name: 'domain', realName: 'domain' }, | ||
]); | ||
} | ||
|
||
/** | ||
* Function containing information about discriminator values | ||
* mapped with their corresponding model class names | ||
* | ||
* @return {object} Object containing Key-Value pairs mapping discriminator | ||
* values with their corresponding model classes | ||
*/ | ||
static discriminatorMap() { | ||
return {}; | ||
} | ||
} | ||
|
||
module.exports = Deletedomain; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* PepipostLib | ||
* | ||
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const BaseModel = require('./BaseModel'); | ||
|
||
/** | ||
* Creates an instance of Deletesubacoount | ||
*/ | ||
class Deletesubacoount extends BaseModel { | ||
/** | ||
* @constructor | ||
* @param {Object} obj The object passed to constructor | ||
*/ | ||
constructor(obj) { | ||
super(obj); | ||
if (obj === undefined || obj === null) return; | ||
this.username = this.constructor.getValue(obj.username); | ||
} | ||
|
||
/** | ||
* Function containing information about the fields of this model | ||
* @return {array} Array of objects containing information about the fields | ||
*/ | ||
static mappingInfo() { | ||
return super.mappingInfo().concat([ | ||
{ name: 'username', realName: 'username' }, | ||
]); | ||
} | ||
|
||
/** | ||
* Function containing information about discriminator values | ||
* mapped with their corresponding model class names | ||
* | ||
* @return {object} Object containing Key-Value pairs mapping discriminator | ||
* values with their corresponding model classes | ||
*/ | ||
static discriminatorMap() { | ||
return {}; | ||
} | ||
} | ||
|
||
module.exports = Deletesubacoount; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/** | ||
* PepipostLib | ||
* | ||
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const BaseModel = require('./BaseModel'); | ||
|
||
/** | ||
* Creates an instance of Enableordisablesubacoount | ||
*/ | ||
class Enableordisablesubacoount extends BaseModel { | ||
/** | ||
* @constructor | ||
* @param {Object} obj The object passed to constructor | ||
*/ | ||
constructor(obj) { | ||
super(obj); | ||
if (obj === undefined || obj === null) return; | ||
this.username = this.constructor.getValue(obj.username); | ||
this.disabled = this.constructor.getValue(obj.disabled); | ||
} | ||
|
||
/** | ||
* Function containing information about the fields of this model | ||
* @return {array} Array of objects containing information about the fields | ||
*/ | ||
static mappingInfo() { | ||
return super.mappingInfo().concat([ | ||
{ name: 'username', realName: 'username' }, | ||
{ name: 'disabled', realName: 'disabled' }, | ||
]); | ||
} | ||
|
||
/** | ||
* Function containing information about discriminator values | ||
* mapped with their corresponding model class names | ||
* | ||
* @return {object} Object containing Key-Value pairs mapping discriminator | ||
* values with their corresponding model classes | ||
*/ | ||
static discriminatorMap() { | ||
return {}; | ||
} | ||
} | ||
|
||
module.exports = Enableordisablesubacoount; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/** | ||
* PepipostLib | ||
* | ||
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const BaseModel = require('./BaseModel'); | ||
|
||
/** | ||
* Creates an instance of RemoveemailordomaintoSuppressionlist | ||
*/ | ||
class RemoveemailordomaintoSuppressionlist extends BaseModel { | ||
/** | ||
* @constructor | ||
* @param {Object} obj The object passed to constructor | ||
*/ | ||
constructor(obj) { | ||
super(obj); | ||
if (obj === undefined || obj === null) return; | ||
this.domain = this.constructor.getValue(obj.domain); | ||
this.email = this.constructor.getValue(obj.email); | ||
} | ||
|
||
/** | ||
* Function containing information about the fields of this model | ||
* @return {array} Array of objects containing information about the fields | ||
*/ | ||
static mappingInfo() { | ||
return super.mappingInfo().concat([ | ||
{ name: 'domain', realName: 'domain' }, | ||
{ name: 'email', realName: 'email' }, | ||
]); | ||
} | ||
|
||
/** | ||
* Function containing information about discriminator values | ||
* mapped with their corresponding model class names | ||
* | ||
* @return {object} Object containing Key-Value pairs mapping discriminator | ||
* values with their corresponding model classes | ||
*/ | ||
static discriminatorMap() { | ||
return {}; | ||
} | ||
} | ||
|
||
module.exports = RemoveemailordomaintoSuppressionlist; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/** | ||
* PepipostLib | ||
* | ||
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const BaseModel = require('./BaseModel'); | ||
|
||
/** | ||
* Creates an instance of UpdateCredisofsubaccount | ||
*/ | ||
class UpdateCredisofsubaccount extends BaseModel { | ||
/** | ||
* @constructor | ||
* @param {Object} obj The object passed to constructor | ||
*/ | ||
constructor(obj) { | ||
super(obj); | ||
if (obj === undefined || obj === null) return; | ||
this.username = this.constructor.getValue(obj.username); | ||
this.action = this.constructor.getValue(obj.action); | ||
this.amount = this.constructor.getValue(obj.amount); | ||
} | ||
|
||
/** | ||
* Function containing information about the fields of this model | ||
* @return {array} Array of objects containing information about the fields | ||
*/ | ||
static mappingInfo() { | ||
return super.mappingInfo().concat([ | ||
{ name: 'username', realName: 'username' }, | ||
{ name: 'action', realName: 'action' }, | ||
{ name: 'amount', realName: 'amount' }, | ||
]); | ||
} | ||
|
||
/** | ||
* Function containing information about discriminator values | ||
* mapped with their corresponding model class names | ||
* | ||
* @return {object} Object containing Key-Value pairs mapping discriminator | ||
* values with their corresponding model classes | ||
*/ | ||
static discriminatorMap() { | ||
return {}; | ||
} | ||
} | ||
|
||
module.exports = UpdateCredisofsubaccount; |
Oops, something went wrong.