-
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
8 changed files
with
367 additions
and
2 deletions.
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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/** | ||
* Api | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: master | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { ManagementV1DevPodEnvironmentTemplateSpec } from '../models/managementV1DevPodEnvironmentTemplateSpec'; | ||
import { V1ObjectMeta } from '../models/V1ObjectMeta'; | ||
|
||
|
||
/** | ||
* DevPodEnvironmentTemplate holds the DevPodEnvironmentTemplate information | ||
*/ | ||
export class ManagementV1DevPodEnvironmentTemplate { | ||
/** | ||
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
*/ | ||
'apiVersion'?: string; | ||
/** | ||
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
*/ | ||
'kind'?: string; | ||
'metadata'?: V1ObjectMeta; | ||
'spec'?: ManagementV1DevPodEnvironmentTemplateSpec; | ||
/** | ||
* DevPodEnvironmentTemplateStatus holds the status | ||
*/ | ||
'status'?: any; | ||
|
||
static readonly discriminator: string | undefined = undefined; | ||
|
||
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ | ||
{ | ||
"name": "apiVersion", | ||
"baseName": "apiVersion", | ||
"type": "string", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "kind", | ||
"baseName": "kind", | ||
"type": "string", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "metadata", | ||
"baseName": "metadata", | ||
"type": "V1ObjectMeta", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "spec", | ||
"baseName": "spec", | ||
"type": "ManagementV1DevPodEnvironmentTemplateSpec", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "status", | ||
"baseName": "status", | ||
"type": "any", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return ManagementV1DevPodEnvironmentTemplate.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
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,64 @@ | ||
/** | ||
* Api | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: master | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { ManagementV1DevPodEnvironmentTemplate } from '../models/managementV1DevPodEnvironmentTemplate'; | ||
import { V1ListMeta } from '../models/V1ListMeta'; | ||
|
||
|
||
export class ManagementV1DevPodEnvironmentTemplateList { | ||
/** | ||
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
*/ | ||
'apiVersion'?: string; | ||
'items': Array<ManagementV1DevPodEnvironmentTemplate>; | ||
/** | ||
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
*/ | ||
'kind'?: string; | ||
'metadata'?: V1ListMeta; | ||
|
||
static readonly discriminator: string | undefined = undefined; | ||
|
||
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ | ||
{ | ||
"name": "apiVersion", | ||
"baseName": "apiVersion", | ||
"type": "string", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "items", | ||
"baseName": "items", | ||
"type": "Array<ManagementV1DevPodEnvironmentTemplate>", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "kind", | ||
"baseName": "kind", | ||
"type": "string", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "metadata", | ||
"baseName": "metadata", | ||
"type": "V1ListMeta", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return ManagementV1DevPodEnvironmentTemplateList.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
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,68 @@ | ||
/** | ||
* Api | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: master | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { StorageV1Access } from '../models/storageV1Access'; | ||
import { StorageV1GitEnvironmentTemplate } from '../models/storageV1GitEnvironmentTemplate'; | ||
import { StorageV1UserOrTeam } from '../models/storageV1UserOrTeam'; | ||
|
||
|
||
/** | ||
* DevPodEnvironmentTemplateSpec holds the specification | ||
*/ | ||
export class ManagementV1DevPodEnvironmentTemplateSpec { | ||
/** | ||
* Access to the DevPod machine instance object itself | ||
*/ | ||
'access'?: Array<StorageV1Access>; | ||
/** | ||
* DisplayName is the name that should be displayed in the UI | ||
*/ | ||
'displayName'?: string; | ||
'git'?: StorageV1GitEnvironmentTemplate; | ||
'owner'?: StorageV1UserOrTeam; | ||
|
||
static readonly discriminator: string | undefined = undefined; | ||
|
||
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ | ||
{ | ||
"name": "access", | ||
"baseName": "access", | ||
"type": "Array<StorageV1Access>", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "displayName", | ||
"baseName": "displayName", | ||
"type": "string", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "git", | ||
"baseName": "git", | ||
"type": "StorageV1GitEnvironmentTemplate", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "owner", | ||
"baseName": "owner", | ||
"type": "StorageV1UserOrTeam", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return ManagementV1DevPodEnvironmentTemplateSpec.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
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,61 @@ | ||
/** | ||
* Api | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: master | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* GitEnvironmentTemplate stores configuration of Git environment template source | ||
*/ | ||
export class StorageV1GitEnvironmentTemplate { | ||
/** | ||
* Repository stores repository URL for Git environment spec source | ||
*/ | ||
'repository': string; | ||
/** | ||
* Revision stores revision to checkout in repository | ||
*/ | ||
'revision'?: string; | ||
/** | ||
* SubPath stores subpath within Repositor where environment spec is | ||
*/ | ||
'subpath'?: string; | ||
|
||
static readonly discriminator: string | undefined = undefined; | ||
|
||
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ | ||
{ | ||
"name": "repository", | ||
"baseName": "repository", | ||
"type": "string", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "revision", | ||
"baseName": "revision", | ||
"type": "string", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "subpath", | ||
"baseName": "subpath", | ||
"type": "string", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return StorageV1GitEnvironmentTemplate.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
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
Oops, something went wrong.