wallee
Version:
TypeScript/JavaScript client for wallee
38 lines (37 loc) • 1.66 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfSingleSignOnUserSearchResponse = instanceOfSingleSignOnUserSearchResponse;
exports.SingleSignOnUserSearchResponseFromJSON = SingleSignOnUserSearchResponseFromJSON;
exports.SingleSignOnUserSearchResponseFromJSONTyped = SingleSignOnUserSearchResponseFromJSONTyped;
exports.SingleSignOnUserSearchResponseToJSON = SingleSignOnUserSearchResponseToJSON;
exports.SingleSignOnUserSearchResponseToJSONTyped = SingleSignOnUserSearchResponseToJSONTyped;
const SingleSignOnUser_1 = require("./SingleSignOnUser");
/**
* Check if a given object implements the SingleSignOnUserSearchResponse interface.
*/
function instanceOfSingleSignOnUserSearchResponse(value) {
return true;
}
function SingleSignOnUserSearchResponseFromJSON(json) {
return SingleSignOnUserSearchResponseFromJSONTyped(json, false);
}
function SingleSignOnUserSearchResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(SingleSignOnUser_1.SingleSignOnUserFromJSON)),
'offset': json['offset'] == null ? undefined : json['offset'],
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function SingleSignOnUserSearchResponseToJSON(json) {
return SingleSignOnUserSearchResponseToJSONTyped(json, false);
}
function SingleSignOnUserSearchResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}