Class HealthcareFhirResourceDeletedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.HealthcareFhirResourceDeletedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<HealthcareFhirResourceDeletedEventData>
public final class HealthcareFhirResourceDeletedEventData
extends Object
implements com.azure.json.JsonSerializable<HealthcareFhirResourceDeletedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceDeleted event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HealthcareFhirResourceDeletedEventData from the JsonReader.Get the resourceFhirAccount property: Domain name of FHIR account for this resource.Get the resourceFhirId property: Id of HL7 FHIR resource.Get the resourceType property: Type of HL7 FHIR resource.longGet the resourceVersionId property: VersionId of HL7 FHIR resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getResourceType
Get the resourceType property: Type of HL7 FHIR resource.- Returns:
- the resourceType value.
-
getResourceFhirAccount
Get the resourceFhirAccount property: Domain name of FHIR account for this resource.- Returns:
- the resourceFhirAccount value.
-
getResourceFhirId
Get the resourceFhirId property: Id of HL7 FHIR resource.- Returns:
- the resourceFhirId value.
-
getResourceVersionId
public long getResourceVersionId()Get the resourceVersionId property: VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).- Returns:
- the resourceVersionId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<HealthcareFhirResourceDeletedEventData>- Throws:
IOException
-
fromJson
public static HealthcareFhirResourceDeletedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of HealthcareFhirResourceDeletedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of HealthcareFhirResourceDeletedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the HealthcareFhirResourceDeletedEventData.
-