1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports.default = void 0;
|
---|
5 | var _apidomCore = require("@swagger-api/apidom-core");
|
---|
6 | class PathItem extends _apidomCore.ObjectElement {
|
---|
7 | constructor(content, meta, attributes) {
|
---|
8 | super(content, meta, attributes);
|
---|
9 | this.element = 'pathItem';
|
---|
10 | }
|
---|
11 | get $ref() {
|
---|
12 | return this.get('$ref');
|
---|
13 | }
|
---|
14 | set $ref($ref) {
|
---|
15 | this.set('$ref', $ref);
|
---|
16 | }
|
---|
17 | get summary() {
|
---|
18 | return this.get('summary');
|
---|
19 | }
|
---|
20 | set summary(summary) {
|
---|
21 | this.set('summary', summary);
|
---|
22 | }
|
---|
23 | get description() {
|
---|
24 | return this.get('description');
|
---|
25 | }
|
---|
26 | set description(description) {
|
---|
27 | this.set('description', description);
|
---|
28 | }
|
---|
29 | get GET() {
|
---|
30 | return this.get('get');
|
---|
31 | }
|
---|
32 | set GET(operation) {
|
---|
33 | this.set('GET', operation);
|
---|
34 | }
|
---|
35 | get PUT() {
|
---|
36 | return this.get('put');
|
---|
37 | }
|
---|
38 | set PUT(operation) {
|
---|
39 | this.set('PUT', operation);
|
---|
40 | }
|
---|
41 | get POST() {
|
---|
42 | return this.get('post');
|
---|
43 | }
|
---|
44 | set POST(operation) {
|
---|
45 | this.set('POST', operation);
|
---|
46 | }
|
---|
47 | get DELETE() {
|
---|
48 | return this.get('delete');
|
---|
49 | }
|
---|
50 | set DELETE(operation) {
|
---|
51 | this.set('DELETE', operation);
|
---|
52 | }
|
---|
53 | get OPTIONS() {
|
---|
54 | return this.get('options');
|
---|
55 | }
|
---|
56 | set OPTIONS(operation) {
|
---|
57 | this.set('OPTIONS', operation);
|
---|
58 | }
|
---|
59 | get HEAD() {
|
---|
60 | return this.get('head');
|
---|
61 | }
|
---|
62 | set HEAD(operation) {
|
---|
63 | this.set('HEAD', operation);
|
---|
64 | }
|
---|
65 | get PATCH() {
|
---|
66 | return this.get('patch');
|
---|
67 | }
|
---|
68 | set PATCH(operation) {
|
---|
69 | this.set('PATCH', operation);
|
---|
70 | }
|
---|
71 | get TRACE() {
|
---|
72 | return this.get('trace');
|
---|
73 | }
|
---|
74 | set TRACE(operation) {
|
---|
75 | this.set('TRACE', operation);
|
---|
76 | }
|
---|
77 | get servers() {
|
---|
78 | return this.get('servers');
|
---|
79 | }
|
---|
80 | set servers(servers) {
|
---|
81 | this.set('servers', servers);
|
---|
82 | }
|
---|
83 | get parameters() {
|
---|
84 | return this.get('parameters');
|
---|
85 | }
|
---|
86 | set parameters(parameters) {
|
---|
87 | this.set('parameters', parameters);
|
---|
88 | }
|
---|
89 | }
|
---|
90 | var _default = exports.default = PathItem; |
---|