Show / Hide Table of Contents

Class TestScriptVariable

Variable is set based either on element value in response body or on header field value in the response headers.

Inheritance
System.Object
Element
BackboneElement
TestScriptVariable
Implements
IFhirJsonSerializable
Inherited Members
BackboneElement.ModifierExtension
Element.Extension
Element.Fhir_comments
Element._Fhir_comments
Element.Id
Element._Id
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class TestScriptVariable : BackboneElement, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_HeaderField

Extension container element for HeaderField

Declaration
public Element _HeaderField { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Name

Extension container element for Name

Declaration
public Element _Name { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Path

Extension container element for Path

Declaration
public Element _Path { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_SourceId

Extension container element for SourceId

Declaration
public Element _SourceId { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

HeaderField

Will be used to grab the HTTP header field value from the headers that sourceId is pointing to.

Declaration
public string HeaderField { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Name

Descriptive name for this variable.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Path

XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both.

Declaration
public string Path { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SourceId

Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable.

Declaration
public string SourceId { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

DeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)

Deserialize a JSON object

Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
| Improve this Doc View Source

DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)

Deserialize a JSON property

Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
System.String propertyName
| Improve this Doc View Source

SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)

Serialize to a JSON object

Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type Name Description
Utf8JsonWriter writer
JsonSerializerOptions options
System.Boolean includeStartObject

Implements

IFhirJsonSerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX