@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
65 lines (64 loc) • 1.71 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Asset } from './Asset';
import { Admin } from './Admin';
import { Customer } from './Customer';
import { Log } from './Log';
import { Manager } from './Manager';
import { Project } from './Project';
export interface CredentialInterface {
identifier?: string;
name: string;
description?: string;
type: string;
namespace: string;
content: any;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
assets?: Asset[];
admins?: Admin[];
customers?: Customer[];
trackingLogs?: Log[];
managers?: Manager[];
projects?: Project[];
}
export declare class Credential implements CredentialInterface {
identifier: string;
name: string;
description: string;
type: string;
namespace: string;
content: any;
created: Date;
modified: Date;
deleted: Date;
id: any;
assets?: Asset[];
admins?: Admin[];
customers?: Customer[];
trackingLogs?: Log[];
managers?: Manager[];
projects?: Project[];
constructor(data?: CredentialInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Credential`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Credential for dynamic purposes.
*/
static factory(data: CredentialInterface): Credential;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}