ConsentConfig class

Configures whether to enforce consent for the FHIR store and which consent enforcement version is being used.

Constructors

ConsentConfig.new({AccessDeterminationLogConfig? accessDeterminationLogConfig, bool? accessEnforced, ConsentHeaderHandling? consentHeaderHandling, List<String>? enforcedAdminConsents, String? version})
ConsentConfig.fromJson(Map json_)

Properties

accessDeterminationLogConfig AccessDeterminationLogConfig?
Specifies how the server logs the consent-aware requests.
getter/setter pair
accessEnforced bool?
The default value is false.
getter/setter pair
consentHeaderHandling ConsentHeaderHandling?
Different options to configure the behaviour of the server when handling the X-Consent-Scope header.
getter/setter pair
enforcedAdminConsents List<String>?
The versioned names of the enforced admin Consent resource(s), in the format projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
Specifies which consent enforcement version is being used for this FHIR store.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited