import { AccessRule } from './AccessRule';
import { CredentialStateEnum } from './CredentialStateEnum';
import { IpBlock } from '../IpBlock';
/** API Credential */
export interface ApiCredential {
    /** If defined, list of ip blocks which are allowed to call API with this credential */
    allowedIPs?: IpBlock[];
    /** ID of associated API Application */
    applicationId: number;
    /** Creation date of this credential */
    creation: string;
    /** ID of this credential */
    credentialId: number;
    /** Expiration date of this credential */
    expiration?: string;
    /** Last use date of this credential */
    lastUse?: string;
    /** States whether this credential has been created by yourself or by the OVH support team */
    ovhSupport: boolean;
    /** API routes allowed to this credential */
    rules: AccessRule[];
    /** State of to this credential */
    status: CredentialStateEnum;
}
//# sourceMappingURL=ApiCredential.d.ts.map