Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- parameters_to_tuples
- parameters_to_tuples
- /*
- GetContactReports returns a list of contact reports
- Enter values for pagination or use defaults
- */
- func (a *Client) GetContactReports(params *GetContactReportsParams, authInfo runtime.ClientAuthInfoWriter) error {
- // TODO: Validate the params before sending
- if params == nil {
- params = NewGetContactReportsParams()
- }
- _, err := a.transport.Submit(&runtime.ClientOperation{
- ID: "getContactReports",
- Method: "GET",
- PathPattern: "/contactReport",
- ProducesMediaTypes: []string{"application/json"},
- ConsumesMediaTypes: []string{""},
- Schemes: []string{"https"},
- Params: params,
- Reader: &GetContactReportsReader{formats: a.formats},
- AuthInfo: authInfo,
- Context: params.Context,
- Client: params.HTTPClient,
- })
- if err != nil {
- return err
- }
- return nil
- }
Add Comment
Please, Sign In to add comment