HclsResource¶
- pydantic model openapi_client.models.hcls_resource.HclsResource¶
Request body for HealthLake FHIR create/update. When Encoding is base64, HealthLakeQuery must be a base64-encoded JSON FHIR resource string.
- field health_lake_query: StrictStr [Required] (alias 'HealthLakeQuery')¶
FHIR resource payload (raw or base64-encoded JSON string).
- Constraints:
strict = True
- field encoding: StrictStr [Required] (alias 'Encoding')¶
Encoding of HealthLakeQuery. Use base64 to base64-decode the payload before create/update. Default is none. The backend compares this value case-insensitively, so uppercase equivalents are also accepted.
- Constraints:
strict = True
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of HclsResource from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of HclsResource from a dict
- Return type:
Optional[Self]