1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* Stedi Healthcare
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2024-04-01
* Contact: healthcare@stedi.com
* Generated by: https://openapi-generator.tech
*/
use crate::healthcare::models;
use serde::{Deserialize, Serialize};
/// EligibilityMetaDataJson : Metadata about the response. Stedi uses this data for tracking and troubleshooting.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EligibilityMetaDataJson {
/// The type of data in the request. This is either `production` when you send a request with a standard API key or `test` when you send a request in test mode with a [test API key](https://www.stedi.com/docs/api-reference/index#api-key-types). The `information` value is not currently used. Payers may sometimes return other non-compliant values.
#[serde(rename = "applicationMode", skip_serializing_if = "Option::is_none")]
pub application_mode: Option<models::ApplicationModes>,
/// The biller ID Stedi assigns to this request.
#[serde(rename = "billerId", skip_serializing_if = "Option::is_none")]
pub biller_id: Option<String>,
/// A unique identifier Stedi assigns to this check. Instead of this property, we recommend using `id` to identify and track eligibility checks. An eligibility check's `id` is guaranteed to be globally unique, and you can use it to deep link to the eligibility check's results within the Stedi portal.
#[serde(rename = "outboundTraceId", skip_serializing_if = "Option::is_none")]
pub outbound_trace_id: Option<String>,
/// The sender ID Stedi assigns to this request.
#[serde(rename = "senderId", skip_serializing_if = "Option::is_none")]
pub sender_id: Option<String>,
/// The submitter ID Stedi assigns to this request.
#[serde(rename = "submitterId", skip_serializing_if = "Option::is_none")]
pub submitter_id: Option<String>,
/// The transaction identifier the payer sends in the response. This should be the same as the `outboundTraceId`.
#[serde(rename = "traceId", skip_serializing_if = "Option::is_none")]
pub trace_id: Option<String>,
}
impl EligibilityMetaDataJson {
/// Metadata about the response. Stedi uses this data for tracking and troubleshooting.
pub fn new() -> EligibilityMetaDataJson {
EligibilityMetaDataJson {
application_mode: None,
biller_id: None,
outbound_trace_id: None,
sender_id: None,
submitter_id: None,
trace_id: None,
}
}
}