import { Resource } from "../resource"; import { StoreGeneReportUser, APIGeneReportUser } from "./interfaces"; import { Response } from "src/server"; export declare class GeneReportUser extends Resource { /** * The user's ID. */ userId: string; /** * The report's ID. */ reportId: string; /** * The report file's ID. */ reportFileId: string; constructor(userId: string, reportId: string, reportFileId: string); /** * The name of the GeneReportUser resource on the API server. */ static get resourceName(): string; /** * The name of the service containing the GeneReportUser resource. */ static get serviceName(): string; /** * Convert the GeneReportUser into a JSON serializable object for the API server. */ serializeAPI(): APIGeneReportUser; /** * Deserialize the data from the API server. * * @param data The GeneReportUser data from the API server. */ deserializeAPI(data: APIGeneReportUser): void; /** * Serialize the GeneReportUser into a format for storing in the Redux store. */ serializeRedux(): StoreGeneReportUser; /** * Handle any http errors. * * @param response The response. * * @returns `null`. */ protected static handleError(response: Response): null; /** * Create a GeneReportUser from the API server data. * * @param data Data from the api server. * * @returns The GeneReportUser object. */ static apiFactory(data: APIGeneReportUser): GeneReportUser; /** * Create a GeneReportUser from the Redux store data. * * @param data Data from the api server. * * @returns The GeneReportUser object. */ static reduxFactory(data: StoreGeneReportUser): GeneReportUser; }