mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
* refactor: fix splash page button background color * refactor: regenerate OpenAPI client * refactor: clean up strategy parameter types * refactor: remove index signature from IConstraint * refactor: fix never-seen status in features list
65 lines
1.5 KiB
TypeScript
65 lines
1.5 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* Unleash API
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document: 4.10.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
import { exists, mapValues } from '../runtime';
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface FeatureSchemaOverrides
|
|
*/
|
|
export interface FeatureSchemaOverrides {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof FeatureSchemaOverrides
|
|
*/
|
|
contextName: string;
|
|
/**
|
|
*
|
|
* @type {Array<string>}
|
|
* @memberof FeatureSchemaOverrides
|
|
*/
|
|
values: Array<string>;
|
|
}
|
|
|
|
export function FeatureSchemaOverridesFromJSON(json: any): FeatureSchemaOverrides {
|
|
return FeatureSchemaOverridesFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function FeatureSchemaOverridesFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureSchemaOverrides {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'contextName': json['contextName'],
|
|
'values': json['values'],
|
|
};
|
|
}
|
|
|
|
export function FeatureSchemaOverridesToJSON(value?: FeatureSchemaOverrides | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'contextName': value.contextName,
|
|
'values': value.values,
|
|
};
|
|
}
|
|
|