Files
log10go/models/components/httpmetadata.go
2024-05-24 18:29:28 -07:00

29 lines
532 B
Go

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package components
import (
"net/http"
)
type HTTPMetadata struct {
// Raw HTTP response; suitable for custom response parsing
Response *http.Response `json:"-"`
// Raw HTTP request; suitable for debugging
Request *http.Request `json:"-"`
}
func (o *HTTPMetadata) GetResponse() *http.Response {
if o == nil {
return nil
}
return o.Response
}
func (o *HTTPMetadata) GetRequest() *http.Request {
if o == nil {
return nil
}
return o.Request
}