-
Notifications
You must be signed in to change notification settings - Fork 74
/
oas_schemas_gen.go
47 lines (37 loc) · 1 KB
/
oas_schemas_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Code generated by ogen, DO NOT EDIT.
package techempower
// Ref: #/components/schemas/HelloWorld
type HelloWorld struct {
// Should be equal to 'Hello, World!'.
Message string `json:"message"`
}
// GetMessage returns the value of Message.
func (s *HelloWorld) GetMessage() string {
return s.Message
}
// SetMessage sets the value of Message.
func (s *HelloWorld) SetMessage(val string) {
s.Message = val
}
// Ref: #/components/schemas/WorldObject
type WorldObject struct {
ID int64 `json:"id"`
RandomNumber int64 `json:"randomNumber"`
}
// GetID returns the value of ID.
func (s *WorldObject) GetID() int64 {
return s.ID
}
// GetRandomNumber returns the value of RandomNumber.
func (s *WorldObject) GetRandomNumber() int64 {
return s.RandomNumber
}
// SetID sets the value of ID.
func (s *WorldObject) SetID(val int64) {
s.ID = val
}
// SetRandomNumber sets the value of RandomNumber.
func (s *WorldObject) SetRandomNumber(val int64) {
s.RandomNumber = val
}
type WorldObjects []WorldObject