-
Notifications
You must be signed in to change notification settings - Fork 0
/
createpets.go
47 lines (40 loc) · 919 Bytes
/
createpets.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 Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package operations
import (
"github.com/speakeasy-sdks/test-go-dev-con/pkg/models/shared"
"net/http"
)
type CreatePetsResponse struct {
// HTTP response content type for this operation
ContentType string
// unexpected error
Error *shared.Error
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (o *CreatePetsResponse) GetContentType() string {
if o == nil {
return ""
}
return o.ContentType
}
func (o *CreatePetsResponse) GetError() *shared.Error {
if o == nil {
return nil
}
return o.Error
}
func (o *CreatePetsResponse) GetStatusCode() int {
if o == nil {
return 0
}
return o.StatusCode
}
func (o *CreatePetsResponse) GetRawResponse() *http.Response {
if o == nil {
return nil
}
return o.RawResponse
}