1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/openapi/models/segmentSchema.ts
2023-12-04 21:49:49 +02:00

27 lines
822 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ConstraintSchema } from './constraintSchema';
/**
* Represents a segment of users defined by a set of constraints.
*/
export interface SegmentSchema {
/** List of constraints that determine which users are part of the segment */
constraints: ConstraintSchema[];
/** The time the segment was created as a RFC 3339-conformant timestamp. */
createdAt?: string;
/** Which user created this segment */
createdBy?: string;
/** The description of the segment. */
description?: string | null;
/** The segment's id. */
id: number;
/** The name of the segment. */
name?: string;
/** The project the segment relates to, if applicable. */
project?: string | null;
}