Skip to content

Commit

Permalink
Fix the namings of CommunicationOKFlag
Browse files Browse the repository at this point in the history
  • Loading branch information
Eoin Falconer committed Oct 31, 2022
1 parent 59ce9c5 commit 15e85c2
Showing 1 changed file with 69 additions and 65 deletions.
134 changes: 69 additions & 65 deletions src/typings/terminal/pOIStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,88 +16,92 @@
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/

/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


import { CashHandlingDevice } from './cashHandlingDevice';
import { GlobalStatusType } from './globalStatusType';
import { CashHandlingDevice } from "./cashHandlingDevice";
import { GlobalStatusType } from "./globalStatusType";

export class POIStatus {
'CardReaderOkFlag'?: boolean;
'CashHandlingDevice'?: Array<CashHandlingDevice>;
'CommunicationOkFlag'?: boolean;
'FraudPreventionFlag'?: boolean;
'GlobalStatus': GlobalStatusType;
'PEDOKFlag'?: boolean;
'PrinterStatus'?: POIStatus.PrinterStatusEnum;
'SecurityOkFlag'?: boolean;
"CardReaderOkFlag"?: boolean;
"CashHandlingDevice"?: Array<CashHandlingDevice>;
"CommunicationOKFlag"?: boolean;
"FraudPreventionFlag"?: boolean;
"GlobalStatus": GlobalStatusType;
"PEDOKFlag"?: boolean;
"PrinterStatus"?: POIStatus.PrinterStatusEnum;
"SecurityOkFlag"?: boolean;

static discriminator: string | undefined = undefined;
static discriminator: string | undefined = undefined;

static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "CardReaderOkFlag",
"baseName": "CardReaderOkFlag",
"type": "boolean"
},
{
"name": "CashHandlingDevice",
"baseName": "CashHandlingDevice",
"type": "Array<CashHandlingDevice>"
},
{
"name": "CommunicationOkFlag",
"baseName": "CommunicationOkFlag",
"type": "boolean"
},
{
"name": "FraudPreventionFlag",
"baseName": "FraudPreventionFlag",
"type": "boolean"
},
{
"name": "GlobalStatus",
"baseName": "GlobalStatus",
"type": "GlobalStatusType"
},
{
"name": "PEDOKFlag",
"baseName": "PEDOKFlag",
"type": "boolean"
},
{
"name": "PrinterStatus",
"baseName": "PrinterStatus",
"type": "POIStatus.PrinterStatusEnum"
},
{
"name": "SecurityOkFlag",
"baseName": "SecurityOkFlag",
"type": "boolean"
} ];
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}> = [
{
name: "CardReaderOkFlag",
baseName: "CardReaderOkFlag",
type: "boolean",
},
{
name: "CashHandlingDevice",
baseName: "CashHandlingDevice",
type: "Array<CashHandlingDevice>",
},
{
name: "CommunicationOKFlag",
baseName: "CommunicationOKFlag",
type: "boolean",
},
{
name: "FraudPreventionFlag",
baseName: "FraudPreventionFlag",
type: "boolean",
},
{
name: "GlobalStatus",
baseName: "GlobalStatus",
type: "GlobalStatusType",
},
{
name: "PEDOKFlag",
baseName: "PEDOKFlag",
type: "boolean",
},
{
name: "PrinterStatus",
baseName: "PrinterStatus",
type: "POIStatus.PrinterStatusEnum",
},
{
name: "SecurityOkFlag",
baseName: "SecurityOkFlag",
type: "boolean",
},
];

static getAttributeTypeMap() {
return POIStatus.attributeTypeMap;
}
static getAttributeTypeMap() {
return POIStatus.attributeTypeMap;
}
}

export namespace POIStatus {
export enum PrinterStatusEnum {
NoPaper = <any> 'NoPaper',
Ok = <any> 'OK',
OutOfOrder = <any> 'OutOfOrder',
PaperJam = <any> 'PaperJam',
PaperLow = <any> 'PaperLow'
}
export enum PrinterStatusEnum {
NoPaper = <any>"NoPaper",
Ok = <any>"OK",
OutOfOrder = <any>"OutOfOrder",
PaperJam = <any>"PaperJam",
PaperLow = <any>"PaperLow",
}
}

0 comments on commit 15e85c2

Please sign in to comment.