-- REST API Validation
-- API to validate
--
-- The version of the OpenAPI document: 1.0.0
-- Contact: Stephane.Carrez@gmail.com
--
-- NOTE: This package is auto generated by OpenAPI-Generator 7.0.1-2023-08-27.
-- https://openapi-generator.tech
-- Do not edit the class manually.
with Swagger.Streams;
with Ada.Containers.Vectors;
with External;
package TestBinary.Models is
pragma Style_Checks ("-bmrIu");
procedure Serialize
(Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in External.Stat_Type);
procedure Serialize
(Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in External.Stat_Vector);
procedure Deserialize
(From : in Swagger.Value_Type;
Name : in String;
Value : out External.Stat_Type);
procedure Deserialize
(From : in Swagger.Value_Type;
Name : in String;
Value : in out External.Stat_Vector);
type Status_Type is (OPEN, ONHOLD, ASSIGNED, CLOSED, REJECTED);
function To_Status_Type
(Value : in String) return TestBinary.Models.Status_Type;
function To_String (Value : in Status_Type) return String;
package Status_Type_Vectors is new Ada.Containers.Vectors
(Index_Type => Positive, Element_Type => TestBinary.Models.Status_Type);
procedure Serialize
(Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in TestBinary.Models.Status_Type);
procedure Serialize
(Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Status_Type_Vectors.Vector);
procedure Deserialize
(From : in Swagger.Value_Type;
Name : in String;
Value : out TestBinary.Models.Status_Type);
procedure Deserialize
(From : in Swagger.Value_Type;
Name : in String;
Value : in out Status_Type_Vectors.Vector);
end TestBinary.Models;