@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
28 lines • 688 B
JavaScript
export function instanceOfGetSsoToken(value) {
let isInstance = true;
isInstance = isInstance && 'token' in value;
return isInstance;
}
export function GetSsoTokenFromJSON(json) {
return GetSsoTokenFromJSONTyped(json, false);
}
export function GetSsoTokenFromJSONTyped(json, ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
token: json['token'],
};
}
export function GetSsoTokenToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
token: value.token,
};
}
//# sourceMappingURL=GetSsoToken.js.map