type ResponseProps … type responsePropsOmitZero … type Response … // UnmarshalJSON hydrates this items instance with the data from JSON func (r *Response) UnmarshalJSON(data []byte) error { … } func (r *Response) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *jsonv2.Decoder) error { … } // MarshalJSON converts this items object to JSON func (r Response) MarshalJSON() ([]byte, error) { … } func (r Response) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv2.Encoder) error { … } // NewResponse creates a new response instance func NewResponse() *Response { … } // ResponseRef creates a response as a json reference func ResponseRef(url string) *Response { … }