Skip to content

Commit

Permalink
add models back
Browse files Browse the repository at this point in the history
  • Loading branch information
jmordica committed May 14, 2023
1 parent 9e49476 commit 3659d22
Show file tree
Hide file tree
Showing 1,199 changed files with 89,120 additions and 0 deletions.
44 changes: 44 additions & 0 deletions models/AccessIPAddressListResponseSchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* Telnyx API
* SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
*
* OpenAPI spec version: 2.0.0
* Contact: support@telnyx.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { AccessIPAddressResponseSchema } from '../models/AccessIPAddressResponseSchema.ts';
import { PaginationMeta } from '../models/PaginationMeta.ts';
import { HttpFile } from '../http/http.ts';

export class AccessIPAddressListResponseSchema {
'data': Array<AccessIPAddressResponseSchema>;
'meta': PaginationMeta;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "data",
"baseName": "data",
"type": "Array<AccessIPAddressResponseSchema>",
"format": ""
},
{
"name": "meta",
"baseName": "meta",
"type": "PaginationMeta",
"format": ""
} ];

static getAttributeTypeMap() {
return AccessIPAddressListResponseSchema.attributeTypeMap;
}

public constructor() {
}
}

42 changes: 42 additions & 0 deletions models/AccessIPAddressPOST.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/**
* Telnyx API
* SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
*
* OpenAPI spec version: 2.0.0
* Contact: support@telnyx.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { HttpFile } from '../http/http.ts';

export class AccessIPAddressPOST {
'ipAddress': string;
'description'?: string;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "ipAddress",
"baseName": "ip_address",
"type": "string",
"format": ""
},
{
"name": "description",
"baseName": "description",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
return AccessIPAddressPOST.attributeTypeMap;
}

public constructor() {
}
}

87 changes: 87 additions & 0 deletions models/AccessIPAddressResponseSchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
/**
* Telnyx API
* SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
*
* OpenAPI spec version: 2.0.0
* Contact: support@telnyx.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { CloudflareSyncStatus } from '../models/CloudflareSyncStatus.ts';
import { HttpFile } from '../http/http.ts';

export class AccessIPAddressResponseSchema {
'id': string;
'ipAddress': string;
'source': string;
'status': CloudflareSyncStatus;
'description'?: string;
'userId': string;
'createdAt'?: Date;
'updatedAt'?: Date;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "id",
"baseName": "id",
"type": "string",
"format": ""
},
{
"name": "ipAddress",
"baseName": "ip_address",
"type": "string",
"format": ""
},
{
"name": "source",
"baseName": "source",
"type": "string",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "CloudflareSyncStatus",
"format": ""
},
{
"name": "description",
"baseName": "description",
"type": "string",
"format": ""
},
{
"name": "userId",
"baseName": "user_id",
"type": "string",
"format": ""
},
{
"name": "createdAt",
"baseName": "created_at",
"type": "Date",
"format": "date-time"
},
{
"name": "updatedAt",
"baseName": "updated_at",
"type": "Date",
"format": "date-time"
} ];

static getAttributeTypeMap() {
return AccessIPAddressResponseSchema.attributeTypeMap;
}

public constructor() {
}
}



44 changes: 44 additions & 0 deletions models/AccessIPRangeListResponseSchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* Telnyx API
* SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
*
* OpenAPI spec version: 2.0.0
* Contact: support@telnyx.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { AccessIPRangeResponseSchema } from '../models/AccessIPRangeResponseSchema.ts';
import { PaginationMeta } from '../models/PaginationMeta.ts';
import { HttpFile } from '../http/http.ts';

export class AccessIPRangeListResponseSchema {
'data': Array<AccessIPRangeResponseSchema>;
'meta': PaginationMeta;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "data",
"baseName": "data",
"type": "Array<AccessIPRangeResponseSchema>",
"format": ""
},
{
"name": "meta",
"baseName": "meta",
"type": "PaginationMeta",
"format": ""
} ];

static getAttributeTypeMap() {
return AccessIPRangeListResponseSchema.attributeTypeMap;
}

public constructor() {
}
}

42 changes: 42 additions & 0 deletions models/AccessIPRangePOST.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/**
* Telnyx API
* SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
*
* OpenAPI spec version: 2.0.0
* Contact: support@telnyx.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { HttpFile } from '../http/http.ts';

export class AccessIPRangePOST {
'cidrBlock': string;
'description'?: string;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "cidrBlock",
"baseName": "cidr_block",
"type": "string",
"format": ""
},
{
"name": "description",
"baseName": "description",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
return AccessIPRangePOST.attributeTypeMap;
}

public constructor() {
}
}

80 changes: 80 additions & 0 deletions models/AccessIPRangeResponseSchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/**
* Telnyx API
* SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
*
* OpenAPI spec version: 2.0.0
* Contact: support@telnyx.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { CloudflareSyncStatus } from '../models/CloudflareSyncStatus.ts';
import { HttpFile } from '../http/http.ts';

export class AccessIPRangeResponseSchema {
'id': string;
'cidrBlock': string;
'status': CloudflareSyncStatus;
'description'?: string;
'userId': string;
'createdAt'?: Date;
'updatedAt'?: Date;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "id",
"baseName": "id",
"type": "string",
"format": ""
},
{
"name": "cidrBlock",
"baseName": "cidr_block",
"type": "string",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "CloudflareSyncStatus",
"format": ""
},
{
"name": "description",
"baseName": "description",
"type": "string",
"format": ""
},
{
"name": "userId",
"baseName": "user_id",
"type": "string",
"format": ""
},
{
"name": "createdAt",
"baseName": "created_at",
"type": "Date",
"format": "date-time"
},
{
"name": "updatedAt",
"baseName": "updated_at",
"type": "Date",
"format": "date-time"
} ];

static getAttributeTypeMap() {
return AccessIPRangeResponseSchema.attributeTypeMap;
}

public constructor() {
}
}



Loading

0 comments on commit 3659d22

Please sign in to comment.