import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; import { Attachment, AttachmentType } from './Attachment'; import { Person, PersonType } from './Person'; import { Location, LocationType } from './Location'; /** * This class represents the entity "A_Incident" of service "API_EHS_REPORT_INCIDENT_SRV". */ export declare class Incident extends Entity implements IncidentType { /** * Technical entity name for Incident. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the Incident entity */ static _keys: string[]; /** * NodeID. */ incidentUuid: DeserializedType; /** * Incident Category. * Classifies the incident. The following categories are used for an incident: * IncidentNear MissSafety Observation. * Maximum length: 3. */ incidentCategory: DeserializedType; /** * Incident Record Status. * Indicates the status of the incident record, for example, approved. * After you enter or change information and choose the Save pushbutton, the system automatically assigns the appropriate status to the incident record. By choosing the Set Next Status pushbutton, you can choose to assign a status to the record. * Maximum length: 40. */ incidentStatus: DeserializedType; /** * Incident Title. * Specifies the descriptive or general heading of an incident, a near miss, a safety observation, or an incident of group deviation. * You can use the title much like a label to distinguish quickly between records. When you search the data records in incident management, the title is often displayed together with the incident category, incident ID, and the short info (a composite of the injured person(s) and incident date). * Maximum length: 80. */ incidentTitle: DeserializedType; /** * UTC Time Stamp in Short Form (YYYYMMDDhhmmss). * The UTC time stamp is the date and time relative to UTC (Universal Coordinated Time). */ incidentUtcDateTime: DeserializedType; /** * Additional Location Description. * Maximum length: 999999. */ incidentLocationDescription: DeserializedType; /** * Location. * Specifies the location. */ ehsLocationUuid: DeserializedType; /** * One-to-many navigation property to the [[Attachment]] entity. */ toAttachments: Attachment[]; /** * One-to-many navigation property to the [[Person]] entity. */ toPersons: Person[]; /** * One-to-one navigation property to the [[Location]] entity. */ toLocation?: Location | null; } export interface IncidentType { incidentUuid: DeserializedType; incidentCategory: DeserializedType; incidentStatus: DeserializedType; incidentTitle: DeserializedType; incidentUtcDateTime: DeserializedType; incidentLocationDescription: DeserializedType; ehsLocationUuid: DeserializedType; toAttachments: AttachmentType[]; toPersons: PersonType[]; toLocation?: LocationType | null; } //# sourceMappingURL=Incident.d.ts.map