Skip to content

Commit 3643d53

Browse files
committed
Add missing fields for licenses
1 parent ff4d546 commit 3643d53

File tree

4 files changed

+367
-2
lines changed

4 files changed

+367
-2
lines changed

api/openapi.yaml

+32-2
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,18 @@ components:
532532
v0.0.37_licenses:
533533
example:
534534
licenses:
535-
- name: name
536-
- name: name
535+
- total: 0
536+
reserved: 5
537+
name: name
538+
available: 1
539+
in_use: 6
540+
remote: true
541+
- total: 0
542+
reserved: 5
543+
name: name
544+
available: 1
545+
in_use: 6
546+
remote: true
537547
errors:
538548
- errno: 0
539549
error: error
@@ -553,11 +563,31 @@ components:
553563
type: object
554564
v0.0.37_license:
555565
example:
566+
total: 0
567+
reserved: 5
556568
name: name
569+
available: 1
570+
in_use: 6
571+
remote: true
557572
properties:
558573
name:
559574
description: name of license
560575
type: string
576+
total:
577+
description: total number of licenses
578+
type: integer
579+
in_use:
580+
description: number of licenses in use
581+
type: integer
582+
available:
583+
description: number of licenses available
584+
type: integer
585+
reserved:
586+
description: number of licenses reserved
587+
type: integer
588+
remote:
589+
description: license is remote
590+
type: boolean
561591
type: object
562592
v0.0.37_diag_rpcm:
563593
example:

docs/V0037License.md

+130
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**Name** | Pointer to **string** | name of license | [optional]
8+
**Total** | Pointer to **int32** | total number of licenses | [optional]
9+
**InUse** | Pointer to **int32** | number of licenses in use | [optional]
10+
**Available** | Pointer to **int32** | number of licenses available | [optional]
11+
**Reserved** | Pointer to **int32** | number of licenses reserved | [optional]
12+
**Remote** | Pointer to **bool** | license is remote | [optional]
813

914
## Methods
1015

@@ -50,6 +55,131 @@ SetName sets Name field to given value.
5055

5156
HasName returns a boolean if a field has been set.
5257

58+
### GetTotal
59+
60+
`func (o *V0037License) GetTotal() int32`
61+
62+
GetTotal returns the Total field if non-nil, zero value otherwise.
63+
64+
### GetTotalOk
65+
66+
`func (o *V0037License) GetTotalOk() (*int32, bool)`
67+
68+
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise
69+
and a boolean to check if the value has been set.
70+
71+
### SetTotal
72+
73+
`func (o *V0037License) SetTotal(v int32)`
74+
75+
SetTotal sets Total field to given value.
76+
77+
### HasTotal
78+
79+
`func (o *V0037License) HasTotal() bool`
80+
81+
HasTotal returns a boolean if a field has been set.
82+
83+
### GetInUse
84+
85+
`func (o *V0037License) GetInUse() int32`
86+
87+
GetInUse returns the InUse field if non-nil, zero value otherwise.
88+
89+
### GetInUseOk
90+
91+
`func (o *V0037License) GetInUseOk() (*int32, bool)`
92+
93+
GetInUseOk returns a tuple with the InUse field if it's non-nil, zero value otherwise
94+
and a boolean to check if the value has been set.
95+
96+
### SetInUse
97+
98+
`func (o *V0037License) SetInUse(v int32)`
99+
100+
SetInUse sets InUse field to given value.
101+
102+
### HasInUse
103+
104+
`func (o *V0037License) HasInUse() bool`
105+
106+
HasInUse returns a boolean if a field has been set.
107+
108+
### GetAvailable
109+
110+
`func (o *V0037License) GetAvailable() int32`
111+
112+
GetAvailable returns the Available field if non-nil, zero value otherwise.
113+
114+
### GetAvailableOk
115+
116+
`func (o *V0037License) GetAvailableOk() (*int32, bool)`
117+
118+
GetAvailableOk returns a tuple with the Available field if it's non-nil, zero value otherwise
119+
and a boolean to check if the value has been set.
120+
121+
### SetAvailable
122+
123+
`func (o *V0037License) SetAvailable(v int32)`
124+
125+
SetAvailable sets Available field to given value.
126+
127+
### HasAvailable
128+
129+
`func (o *V0037License) HasAvailable() bool`
130+
131+
HasAvailable returns a boolean if a field has been set.
132+
133+
### GetReserved
134+
135+
`func (o *V0037License) GetReserved() int32`
136+
137+
GetReserved returns the Reserved field if non-nil, zero value otherwise.
138+
139+
### GetReservedOk
140+
141+
`func (o *V0037License) GetReservedOk() (*int32, bool)`
142+
143+
GetReservedOk returns a tuple with the Reserved field if it's non-nil, zero value otherwise
144+
and a boolean to check if the value has been set.
145+
146+
### SetReserved
147+
148+
`func (o *V0037License) SetReserved(v int32)`
149+
150+
SetReserved sets Reserved field to given value.
151+
152+
### HasReserved
153+
154+
`func (o *V0037License) HasReserved() bool`
155+
156+
HasReserved returns a boolean if a field has been set.
157+
158+
### GetRemote
159+
160+
`func (o *V0037License) GetRemote() bool`
161+
162+
GetRemote returns the Remote field if non-nil, zero value otherwise.
163+
164+
### GetRemoteOk
165+
166+
`func (o *V0037License) GetRemoteOk() (*bool, bool)`
167+
168+
GetRemoteOk returns a tuple with the Remote field if it's non-nil, zero value otherwise
169+
and a boolean to check if the value has been set.
170+
171+
### SetRemote
172+
173+
`func (o *V0037License) SetRemote(v bool)`
174+
175+
SetRemote sets Remote field to given value.
176+
177+
### HasRemote
178+
179+
`func (o *V0037License) HasRemote() bool`
180+
181+
HasRemote returns a boolean if a field has been set.
182+
53183

54184
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
55185

0 commit comments

Comments
 (0)