/** * Permit.io API * Authorization as a service * * The version of the OpenAPI document: 2.0.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 { PolicyRepoStatus } from './policy-repo-status'; import { SSHAuthData } from './sshauth-data'; /** * * @export * @interface PolicyRepoRead */ export interface PolicyRepoRead { /** * Unique id of the policy repo * @type {string} * @memberof PolicyRepoRead */ id: string; /** * * @type {PolicyRepoStatus} * @memberof PolicyRepoRead */ status: PolicyRepoStatus; /** * A URL-friendly name of the policy repo (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the policy repo. * @type {string} * @memberof PolicyRepoRead */ key: string; /** * * @type {string} * @memberof PolicyRepoRead */ url: string; /** * * @type {string} * @memberof PolicyRepoRead */ main_branch_name?: string; /** * * @type {SSHAuthData} * @memberof PolicyRepoRead */ credentials: SSHAuthData; /** * if you want to change your policy repository to this repo right after it is validated * @type {boolean} * @memberof PolicyRepoRead */ activate_when_validated?: boolean; }