UNPKG

wallee

Version:
30 lines (29 loc) 1.06 kB
/** * Check if a given object implements the ChargeFlowLevelConfigurationType interface. */ export function instanceOfChargeFlowLevelConfigurationType(value) { return true; } export function ChargeFlowLevelConfigurationTypeFromJSON(json) { return ChargeFlowLevelConfigurationTypeFromJSONTyped(json, false); } export function ChargeFlowLevelConfigurationTypeFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'description': json['description'] == null ? undefined : json['description'], 'id': json['id'] == null ? undefined : json['id'], 'label': json['label'] == null ? undefined : json['label'], }; } export function ChargeFlowLevelConfigurationTypeToJSON(json) { return ChargeFlowLevelConfigurationTypeToJSONTyped(json, false); } export function ChargeFlowLevelConfigurationTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }