Documentation
¶
Index ¶
- type Client
- func (a *Client) GetNetworkEvents(params *GetNetworkEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkEventsOK, error)
- func (a *Client) GetNetworkEventsEventTypes(params *GetNetworkEventsEventTypesParams, ...) (*GetNetworkEventsEventTypesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetNetworkEventsEventTypesOK
- type GetNetworkEventsEventTypesParams
- func NewGetNetworkEventsEventTypesParams() *GetNetworkEventsEventTypesParams
- func NewGetNetworkEventsEventTypesParamsWithContext(ctx context.Context) *GetNetworkEventsEventTypesParams
- func NewGetNetworkEventsEventTypesParamsWithHTTPClient(client *http.Client) *GetNetworkEventsEventTypesParams
- func NewGetNetworkEventsEventTypesParamsWithTimeout(timeout time.Duration) *GetNetworkEventsEventTypesParams
- func (o *GetNetworkEventsEventTypesParams) SetContext(ctx context.Context)
- func (o *GetNetworkEventsEventTypesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkEventsEventTypesParams) SetNetworkID(networkID string)
- func (o *GetNetworkEventsEventTypesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkEventsEventTypesParams) WithContext(ctx context.Context) *GetNetworkEventsEventTypesParams
- func (o *GetNetworkEventsEventTypesParams) WithHTTPClient(client *http.Client) *GetNetworkEventsEventTypesParams
- func (o *GetNetworkEventsEventTypesParams) WithNetworkID(networkID string) *GetNetworkEventsEventTypesParams
- func (o *GetNetworkEventsEventTypesParams) WithTimeout(timeout time.Duration) *GetNetworkEventsEventTypesParams
- func (o *GetNetworkEventsEventTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkEventsEventTypesReader
- type GetNetworkEventsOK
- type GetNetworkEventsParams
- func NewGetNetworkEventsParams() *GetNetworkEventsParams
- func NewGetNetworkEventsParamsWithContext(ctx context.Context) *GetNetworkEventsParams
- func NewGetNetworkEventsParamsWithHTTPClient(client *http.Client) *GetNetworkEventsParams
- func NewGetNetworkEventsParamsWithTimeout(timeout time.Duration) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) SetClientIP(clientIP *string)
- func (o *GetNetworkEventsParams) SetClientMac(clientMac *string)
- func (o *GetNetworkEventsParams) SetClientName(clientName *string)
- func (o *GetNetworkEventsParams) SetContext(ctx context.Context)
- func (o *GetNetworkEventsParams) SetDeviceMac(deviceMac *string)
- func (o *GetNetworkEventsParams) SetDeviceName(deviceName *string)
- func (o *GetNetworkEventsParams) SetDeviceSerial(deviceSerial *string)
- func (o *GetNetworkEventsParams) SetEndingBefore(endingBefore *string)
- func (o *GetNetworkEventsParams) SetExcludedEventTypes(excludedEventTypes []string)
- func (o *GetNetworkEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkEventsParams) SetIncludedEventTypes(includedEventTypes []string)
- func (o *GetNetworkEventsParams) SetNetworkID(networkID string)
- func (o *GetNetworkEventsParams) SetPerPage(perPage *int32)
- func (o *GetNetworkEventsParams) SetProductType(productType *string)
- func (o *GetNetworkEventsParams) SetSmDeviceMac(smDeviceMac *string)
- func (o *GetNetworkEventsParams) SetSmDeviceName(smDeviceName *string)
- func (o *GetNetworkEventsParams) SetStartingAfter(startingAfter *string)
- func (o *GetNetworkEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkEventsParams) WithClientIP(clientIP *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithClientMac(clientMac *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithClientName(clientName *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithContext(ctx context.Context) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithDeviceMac(deviceMac *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithDeviceName(deviceName *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithDeviceSerial(deviceSerial *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithEndingBefore(endingBefore *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithExcludedEventTypes(excludedEventTypes []string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithHTTPClient(client *http.Client) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithIncludedEventTypes(includedEventTypes []string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithNetworkID(networkID string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithPerPage(perPage *int32) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithProductType(productType *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithSmDeviceMac(smDeviceMac *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithSmDeviceName(smDeviceName *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithStartingAfter(startingAfter *string) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WithTimeout(timeout time.Duration) *GetNetworkEventsParams
- func (o *GetNetworkEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkEventsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for events API
func (*Client) GetNetworkEvents ¶
func (a *Client) GetNetworkEvents(params *GetNetworkEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkEventsOK, error)
GetNetworkEvents gets network events
List the events for the network
func (*Client) GetNetworkEventsEventTypes ¶
func (a *Client) GetNetworkEventsEventTypes(params *GetNetworkEventsEventTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkEventsEventTypesOK, error)
GetNetworkEventsEventTypes gets network events event types
List the event type to human-readable description
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetNetworkEvents(params *GetNetworkEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkEventsOK, error) GetNetworkEventsEventTypes(params *GetNetworkEventsEventTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkEventsEventTypesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new events API client.
type GetNetworkEventsEventTypesOK ¶
type GetNetworkEventsEventTypesOK struct {
Payload interface{}
}
GetNetworkEventsEventTypesOK handles this case with default header values.
Successful operation
func NewGetNetworkEventsEventTypesOK ¶
func NewGetNetworkEventsEventTypesOK() *GetNetworkEventsEventTypesOK
NewGetNetworkEventsEventTypesOK creates a GetNetworkEventsEventTypesOK with default headers values
func (*GetNetworkEventsEventTypesOK) Error ¶
func (o *GetNetworkEventsEventTypesOK) Error() string
func (*GetNetworkEventsEventTypesOK) GetPayload ¶
func (o *GetNetworkEventsEventTypesOK) GetPayload() interface{}
type GetNetworkEventsEventTypesParams ¶
type GetNetworkEventsEventTypesParams struct { /*NetworkID*/ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkEventsEventTypesParams contains all the parameters to send to the API endpoint for the get network events event types operation typically these are written to a http.Request
func NewGetNetworkEventsEventTypesParams ¶
func NewGetNetworkEventsEventTypesParams() *GetNetworkEventsEventTypesParams
NewGetNetworkEventsEventTypesParams creates a new GetNetworkEventsEventTypesParams object with the default values initialized.
func NewGetNetworkEventsEventTypesParamsWithContext ¶
func NewGetNetworkEventsEventTypesParamsWithContext(ctx context.Context) *GetNetworkEventsEventTypesParams
NewGetNetworkEventsEventTypesParamsWithContext creates a new GetNetworkEventsEventTypesParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkEventsEventTypesParamsWithHTTPClient ¶
func NewGetNetworkEventsEventTypesParamsWithHTTPClient(client *http.Client) *GetNetworkEventsEventTypesParams
NewGetNetworkEventsEventTypesParamsWithHTTPClient creates a new GetNetworkEventsEventTypesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkEventsEventTypesParamsWithTimeout ¶
func NewGetNetworkEventsEventTypesParamsWithTimeout(timeout time.Duration) *GetNetworkEventsEventTypesParams
NewGetNetworkEventsEventTypesParamsWithTimeout creates a new GetNetworkEventsEventTypesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkEventsEventTypesParams) SetContext ¶
func (o *GetNetworkEventsEventTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network events event types params
func (*GetNetworkEventsEventTypesParams) SetHTTPClient ¶
func (o *GetNetworkEventsEventTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network events event types params
func (*GetNetworkEventsEventTypesParams) SetNetworkID ¶
func (o *GetNetworkEventsEventTypesParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network events event types params
func (*GetNetworkEventsEventTypesParams) SetTimeout ¶
func (o *GetNetworkEventsEventTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network events event types params
func (*GetNetworkEventsEventTypesParams) WithContext ¶
func (o *GetNetworkEventsEventTypesParams) WithContext(ctx context.Context) *GetNetworkEventsEventTypesParams
WithContext adds the context to the get network events event types params
func (*GetNetworkEventsEventTypesParams) WithHTTPClient ¶
func (o *GetNetworkEventsEventTypesParams) WithHTTPClient(client *http.Client) *GetNetworkEventsEventTypesParams
WithHTTPClient adds the HTTPClient to the get network events event types params
func (*GetNetworkEventsEventTypesParams) WithNetworkID ¶
func (o *GetNetworkEventsEventTypesParams) WithNetworkID(networkID string) *GetNetworkEventsEventTypesParams
WithNetworkID adds the networkID to the get network events event types params
func (*GetNetworkEventsEventTypesParams) WithTimeout ¶
func (o *GetNetworkEventsEventTypesParams) WithTimeout(timeout time.Duration) *GetNetworkEventsEventTypesParams
WithTimeout adds the timeout to the get network events event types params
func (*GetNetworkEventsEventTypesParams) WriteToRequest ¶
func (o *GetNetworkEventsEventTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkEventsEventTypesReader ¶
type GetNetworkEventsEventTypesReader struct {
// contains filtered or unexported fields
}
GetNetworkEventsEventTypesReader is a Reader for the GetNetworkEventsEventTypes structure.
func (*GetNetworkEventsEventTypesReader) ReadResponse ¶
func (o *GetNetworkEventsEventTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkEventsOK ¶
type GetNetworkEventsOK struct {
Payload interface{}
}
GetNetworkEventsOK handles this case with default header values.
Successful operation
func NewGetNetworkEventsOK ¶
func NewGetNetworkEventsOK() *GetNetworkEventsOK
NewGetNetworkEventsOK creates a GetNetworkEventsOK with default headers values
func (*GetNetworkEventsOK) Error ¶
func (o *GetNetworkEventsOK) Error() string
func (*GetNetworkEventsOK) GetPayload ¶
func (o *GetNetworkEventsOK) GetPayload() interface{}
type GetNetworkEventsParams ¶
type GetNetworkEventsParams struct { /*ClientIP The IP of the client which the list of events will be filtered with. Only supported for track-by-IP networks. */ ClientIP *string /*ClientMac The MAC address of the client which the list of events will be filtered with. Only supported for track-by-MAC networks. */ ClientMac *string /*ClientName The name, or partial name, of the client which the list of events will be filtered with */ ClientName *string /*DeviceMac The MAC address of the Meraki device which the list of events will be filtered with */ DeviceMac *string /*DeviceName The name of the Meraki device which the list of events will be filtered with */ DeviceName *string /*DeviceSerial The serial of the Meraki device which the list of events will be filtered with */ DeviceSerial *string /*EndingBefore A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /*ExcludedEventTypes A list of event types. The returned events will be filtered to exclude events with these types. */ ExcludedEventTypes []string /*IncludedEventTypes A list of event types. The returned events will be filtered to only include events with these types. */ IncludedEventTypes []string /*NetworkID*/ NetworkID string /*PerPage The number of entries per page returned. Acceptable range is 3 - 1000. Default is 10. */ PerPage *int32 /*ProductType The product type to fetch events for. This parameter is required for networks with multiple device types. Valid types are wireless, appliance, switch, systemsManager, camera, and cellularGateway */ ProductType *string /*SmDeviceMac The MAC address of the Systems Manager device which the list of events will be filtered with */ SmDeviceMac *string /*SmDeviceName The name of the Systems Manager device which the list of events will be filtered with */ SmDeviceName *string /*StartingAfter A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkEventsParams contains all the parameters to send to the API endpoint for the get network events operation typically these are written to a http.Request
func NewGetNetworkEventsParams ¶
func NewGetNetworkEventsParams() *GetNetworkEventsParams
NewGetNetworkEventsParams creates a new GetNetworkEventsParams object with the default values initialized.
func NewGetNetworkEventsParamsWithContext ¶
func NewGetNetworkEventsParamsWithContext(ctx context.Context) *GetNetworkEventsParams
NewGetNetworkEventsParamsWithContext creates a new GetNetworkEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkEventsParamsWithHTTPClient ¶
func NewGetNetworkEventsParamsWithHTTPClient(client *http.Client) *GetNetworkEventsParams
NewGetNetworkEventsParamsWithHTTPClient creates a new GetNetworkEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkEventsParamsWithTimeout ¶
func NewGetNetworkEventsParamsWithTimeout(timeout time.Duration) *GetNetworkEventsParams
NewGetNetworkEventsParamsWithTimeout creates a new GetNetworkEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkEventsParams) SetClientIP ¶
func (o *GetNetworkEventsParams) SetClientIP(clientIP *string)
SetClientIP adds the clientIp to the get network events params
func (*GetNetworkEventsParams) SetClientMac ¶
func (o *GetNetworkEventsParams) SetClientMac(clientMac *string)
SetClientMac adds the clientMac to the get network events params
func (*GetNetworkEventsParams) SetClientName ¶
func (o *GetNetworkEventsParams) SetClientName(clientName *string)
SetClientName adds the clientName to the get network events params
func (*GetNetworkEventsParams) SetContext ¶
func (o *GetNetworkEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network events params
func (*GetNetworkEventsParams) SetDeviceMac ¶
func (o *GetNetworkEventsParams) SetDeviceMac(deviceMac *string)
SetDeviceMac adds the deviceMac to the get network events params
func (*GetNetworkEventsParams) SetDeviceName ¶
func (o *GetNetworkEventsParams) SetDeviceName(deviceName *string)
SetDeviceName adds the deviceName to the get network events params
func (*GetNetworkEventsParams) SetDeviceSerial ¶
func (o *GetNetworkEventsParams) SetDeviceSerial(deviceSerial *string)
SetDeviceSerial adds the deviceSerial to the get network events params
func (*GetNetworkEventsParams) SetEndingBefore ¶
func (o *GetNetworkEventsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get network events params
func (*GetNetworkEventsParams) SetExcludedEventTypes ¶
func (o *GetNetworkEventsParams) SetExcludedEventTypes(excludedEventTypes []string)
SetExcludedEventTypes adds the excludedEventTypes to the get network events params
func (*GetNetworkEventsParams) SetHTTPClient ¶
func (o *GetNetworkEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network events params
func (*GetNetworkEventsParams) SetIncludedEventTypes ¶
func (o *GetNetworkEventsParams) SetIncludedEventTypes(includedEventTypes []string)
SetIncludedEventTypes adds the includedEventTypes to the get network events params
func (*GetNetworkEventsParams) SetNetworkID ¶
func (o *GetNetworkEventsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network events params
func (*GetNetworkEventsParams) SetPerPage ¶
func (o *GetNetworkEventsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get network events params
func (*GetNetworkEventsParams) SetProductType ¶
func (o *GetNetworkEventsParams) SetProductType(productType *string)
SetProductType adds the productType to the get network events params
func (*GetNetworkEventsParams) SetSmDeviceMac ¶
func (o *GetNetworkEventsParams) SetSmDeviceMac(smDeviceMac *string)
SetSmDeviceMac adds the smDeviceMac to the get network events params
func (*GetNetworkEventsParams) SetSmDeviceName ¶
func (o *GetNetworkEventsParams) SetSmDeviceName(smDeviceName *string)
SetSmDeviceName adds the smDeviceName to the get network events params
func (*GetNetworkEventsParams) SetStartingAfter ¶
func (o *GetNetworkEventsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get network events params
func (*GetNetworkEventsParams) SetTimeout ¶
func (o *GetNetworkEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network events params
func (*GetNetworkEventsParams) WithClientIP ¶
func (o *GetNetworkEventsParams) WithClientIP(clientIP *string) *GetNetworkEventsParams
WithClientIP adds the clientIP to the get network events params
func (*GetNetworkEventsParams) WithClientMac ¶
func (o *GetNetworkEventsParams) WithClientMac(clientMac *string) *GetNetworkEventsParams
WithClientMac adds the clientMac to the get network events params
func (*GetNetworkEventsParams) WithClientName ¶
func (o *GetNetworkEventsParams) WithClientName(clientName *string) *GetNetworkEventsParams
WithClientName adds the clientName to the get network events params
func (*GetNetworkEventsParams) WithContext ¶
func (o *GetNetworkEventsParams) WithContext(ctx context.Context) *GetNetworkEventsParams
WithContext adds the context to the get network events params
func (*GetNetworkEventsParams) WithDeviceMac ¶
func (o *GetNetworkEventsParams) WithDeviceMac(deviceMac *string) *GetNetworkEventsParams
WithDeviceMac adds the deviceMac to the get network events params
func (*GetNetworkEventsParams) WithDeviceName ¶
func (o *GetNetworkEventsParams) WithDeviceName(deviceName *string) *GetNetworkEventsParams
WithDeviceName adds the deviceName to the get network events params
func (*GetNetworkEventsParams) WithDeviceSerial ¶
func (o *GetNetworkEventsParams) WithDeviceSerial(deviceSerial *string) *GetNetworkEventsParams
WithDeviceSerial adds the deviceSerial to the get network events params
func (*GetNetworkEventsParams) WithEndingBefore ¶
func (o *GetNetworkEventsParams) WithEndingBefore(endingBefore *string) *GetNetworkEventsParams
WithEndingBefore adds the endingBefore to the get network events params
func (*GetNetworkEventsParams) WithExcludedEventTypes ¶
func (o *GetNetworkEventsParams) WithExcludedEventTypes(excludedEventTypes []string) *GetNetworkEventsParams
WithExcludedEventTypes adds the excludedEventTypes to the get network events params
func (*GetNetworkEventsParams) WithHTTPClient ¶
func (o *GetNetworkEventsParams) WithHTTPClient(client *http.Client) *GetNetworkEventsParams
WithHTTPClient adds the HTTPClient to the get network events params
func (*GetNetworkEventsParams) WithIncludedEventTypes ¶
func (o *GetNetworkEventsParams) WithIncludedEventTypes(includedEventTypes []string) *GetNetworkEventsParams
WithIncludedEventTypes adds the includedEventTypes to the get network events params
func (*GetNetworkEventsParams) WithNetworkID ¶
func (o *GetNetworkEventsParams) WithNetworkID(networkID string) *GetNetworkEventsParams
WithNetworkID adds the networkID to the get network events params
func (*GetNetworkEventsParams) WithPerPage ¶
func (o *GetNetworkEventsParams) WithPerPage(perPage *int32) *GetNetworkEventsParams
WithPerPage adds the perPage to the get network events params
func (*GetNetworkEventsParams) WithProductType ¶
func (o *GetNetworkEventsParams) WithProductType(productType *string) *GetNetworkEventsParams
WithProductType adds the productType to the get network events params
func (*GetNetworkEventsParams) WithSmDeviceMac ¶
func (o *GetNetworkEventsParams) WithSmDeviceMac(smDeviceMac *string) *GetNetworkEventsParams
WithSmDeviceMac adds the smDeviceMac to the get network events params
func (*GetNetworkEventsParams) WithSmDeviceName ¶
func (o *GetNetworkEventsParams) WithSmDeviceName(smDeviceName *string) *GetNetworkEventsParams
WithSmDeviceName adds the smDeviceName to the get network events params
func (*GetNetworkEventsParams) WithStartingAfter ¶
func (o *GetNetworkEventsParams) WithStartingAfter(startingAfter *string) *GetNetworkEventsParams
WithStartingAfter adds the startingAfter to the get network events params
func (*GetNetworkEventsParams) WithTimeout ¶
func (o *GetNetworkEventsParams) WithTimeout(timeout time.Duration) *GetNetworkEventsParams
WithTimeout adds the timeout to the get network events params
func (*GetNetworkEventsParams) WriteToRequest ¶
func (o *GetNetworkEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkEventsReader ¶
type GetNetworkEventsReader struct {
// contains filtered or unexported fields
}
GetNetworkEventsReader is a Reader for the GetNetworkEvents structure.
func (*GetNetworkEventsReader) ReadResponse ¶
func (o *GetNetworkEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.