mirror of
https://github.com/LukeHagar/log10go.git
synced 2025-12-06 04:20:12 +00:00
29 lines
532 B
Go
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
|
|
}
|