-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "tmflib" | ||
version = "0.1.26" | ||
version = "0.1.27" | ||
edition = "2021" | ||
authors = ["Ryan Ruckley <[email protected]>"] | ||
description = "Interface library for processing TMF payloads" | ||
|
@@ -57,6 +57,7 @@ all = [ | |
"tmf638", | ||
"tmf639", | ||
"tmf641", | ||
"tmf645", | ||
"tmf646", | ||
"tmf648", | ||
"tmf653", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
//! Check Service Qualification Module | ||
use serde::{Deserialize,Serialize}; | ||
|
||
use crate::{ | ||
HasId, | ||
HasDescription, | ||
LIB_PATH, | ||
Uri | ||
}; | ||
|
||
use tmflib_derive::{ | ||
HasId, | ||
HasDescription, | ||
}; | ||
|
||
const CLASS_PATH : &str = "checkServiceQualification"; | ||
use super::MOD_PATH; | ||
|
||
/// Check Service Qualification | ||
#[derive(Clone,Debug,Default,HasId,HasDescription,Deserialize,Serialize)] | ||
pub struct CheckServiceQualificaitonItem { | ||
/// Unique Id | ||
pub id : Option<String>, | ||
/// HTTP URI | ||
pub href: Option<Uri>, | ||
/// Description | ||
pub description : Option<String>, | ||
} | ||
|
||
/// Check Service Qualification | ||
#[derive(Clone,Debug,Default,Deserialize,Serialize)] | ||
pub struct CheckServiceQualification { | ||
/// Service Qualification Items | ||
pub service_qualification_item : Option<Vec<CheckServiceQualificaitonItem>>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//! TMF645 Service Qualification Module | ||
#[cfg(feature = "build-V4")] | ||
const MOD_PATH : &str = "serviceQualificationManagement/v4"; | ||
#[cfg(feature = "build-V5")] | ||
const MOD_PATH : &str = "serviceQualificationManagement/v5"; | ||
|
||
pub mod check_service_qualification; | ||
pub mod query_service_qualification; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
//! Query Service Qualification | ||
use serde::{Deserialize,Serialize}; | ||
|
||
use crate::{ | ||
HasId, | ||
HasDescription, | ||
LIB_PATH, | ||
Uri | ||
}; | ||
|
||
use tmflib_derive::{ | ||
HasId, | ||
HasDescription | ||
}; | ||
|
||
const CLASS_PATH : &str = "queryServiceQualification"; | ||
use super::MOD_PATH; | ||
|
||
/// Query Service Qualification | ||
#[derive(Clone,Debug,Default,HasId,HasDescription,Deserialize,Serialize)] | ||
pub struct QueryServiceQualification { | ||
/// Unique Id | ||
pub id : Option<String>, | ||
/// HTTP Uri | ||
pub href: Option<Uri>, | ||
/// Description | ||
pub description: Option<String>, | ||
} |