/** * 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 { SSHAuthData } from './sshauth-data'; /** * * @export * @interface PolicyRepoCreate */ export interface PolicyRepoCreate { /** * 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 PolicyRepoCreate */ key: string; /** * * @type {string} * @memberof PolicyRepoCreate */ url: string; /** * * @type {string} * @memberof PolicyRepoCreate */ main_branch_name?: string; /** * * @type {SSHAuthData} * @memberof PolicyRepoCreate */ credentials: SSHAuthData; /** * if you want to change your policy repository to this repo right after it is validated * @type {boolean} * @memberof PolicyRepoCreate */ activate_when_validated?: boolean; }