wallee
Version:
TypeScript/JavaScript client for wallee
31 lines (30 loc) • 1.14 kB
JavaScript
import { SingleSignOnUserFromJSON, } from './SingleSignOnUser';
/**
* Check if a given object implements the SingleSignOnUserSearchResponse interface.
*/
export function instanceOfSingleSignOnUserSearchResponse(value) {
return true;
}
export function SingleSignOnUserSearchResponseFromJSON(json) {
return SingleSignOnUserSearchResponseFromJSONTyped(json, false);
}
export function SingleSignOnUserSearchResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(SingleSignOnUserFromJSON)),
'offset': json['offset'] == null ? undefined : json['offset'],
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
export function SingleSignOnUserSearchResponseToJSON(json) {
return SingleSignOnUserSearchResponseToJSONTyped(json, false);
}
export function SingleSignOnUserSearchResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}