square-connect
Version:
JavaScript client library for the Square Connect v2 API
76 lines (58 loc) • 1.95 kB
JavaScript
/**
* Square Connect API
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: developers@squareup.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
/**
* @deprecated
* The V1DeletePageCellRequest model module.
* @module model/V1DeletePageCellRequest
*/
/**
* Constructs a new <code>V1DeletePageCellRequest</code>.
*
* @alias module:model/V1DeletePageCellRequest
* @class
*/
var exports = function() {
var _this = this;
};
/**
* Constructs a <code>V1DeletePageCellRequest</code> from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:model/V1DeletePageCellRequest} obj Optional instance to populate.
* @return {module:model/V1DeletePageCellRequest} The populated <code>V1DeletePageCellRequest</code> instance.
*/
exports.constructFromObject = function(data, obj) {
if (data) {
obj = obj || new exports();
if (data.hasOwnProperty('row')) {
obj['row'] = ApiClient.convertToType(data['row'], 'String');
}
if (data.hasOwnProperty('column')) {
obj['column'] = ApiClient.convertToType(data['column'], 'String');
}
}
return obj;
}
/**
* The row of the cell to clear. Always an integer between 0 and 4, inclusive. Row 0 is the top row.
* @member {String} row
*/
exports.prototype['row'] = undefined;
/**
* The column of the cell to clear. Always an integer between 0 and 4, inclusive. Column 0 is the leftmost column.
* @member {String} column
*/
exports.prototype['column'] = undefined;
module.exports = exports;