Documentation ¶
Index ¶
- type Client
- func (a *Client) HelloServiceSayHello(params *HelloServiceSayHelloParams, opts ...ClientOption) (*HelloServiceSayHelloOK, error)
- func (a *Client) HelloServiceSayHelloStream(params *HelloServiceSayHelloStreamParams, opts ...ClientOption) (*HelloServiceSayHelloStreamOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type HelloServiceSayHelloDefault
- func (o *HelloServiceSayHelloDefault) Code() int
- func (o *HelloServiceSayHelloDefault) Error() string
- func (o *HelloServiceSayHelloDefault) GetPayload() *models.RPCStatus
- func (o *HelloServiceSayHelloDefault) IsClientError() bool
- func (o *HelloServiceSayHelloDefault) IsCode(code int) bool
- func (o *HelloServiceSayHelloDefault) IsRedirect() bool
- func (o *HelloServiceSayHelloDefault) IsServerError() bool
- func (o *HelloServiceSayHelloDefault) IsSuccess() bool
- func (o *HelloServiceSayHelloDefault) String() string
- type HelloServiceSayHelloOK
- func (o *HelloServiceSayHelloOK) Code() int
- func (o *HelloServiceSayHelloOK) Error() string
- func (o *HelloServiceSayHelloOK) GetPayload() *models.APIHelloResponse
- func (o *HelloServiceSayHelloOK) IsClientError() bool
- func (o *HelloServiceSayHelloOK) IsCode(code int) bool
- func (o *HelloServiceSayHelloOK) IsRedirect() bool
- func (o *HelloServiceSayHelloOK) IsServerError() bool
- func (o *HelloServiceSayHelloOK) IsSuccess() bool
- func (o *HelloServiceSayHelloOK) String() string
- type HelloServiceSayHelloParams
- func NewHelloServiceSayHelloParams() *HelloServiceSayHelloParams
- func NewHelloServiceSayHelloParamsWithContext(ctx context.Context) *HelloServiceSayHelloParams
- func NewHelloServiceSayHelloParamsWithHTTPClient(client *http.Client) *HelloServiceSayHelloParams
- func NewHelloServiceSayHelloParamsWithTimeout(timeout time.Duration) *HelloServiceSayHelloParams
- func (o *HelloServiceSayHelloParams) SetContext(ctx context.Context)
- func (o *HelloServiceSayHelloParams) SetDefaults()
- func (o *HelloServiceSayHelloParams) SetGreeting(greeting *string)
- func (o *HelloServiceSayHelloParams) SetHTTPClient(client *http.Client)
- func (o *HelloServiceSayHelloParams) SetTimeout(timeout time.Duration)
- func (o *HelloServiceSayHelloParams) WithContext(ctx context.Context) *HelloServiceSayHelloParams
- func (o *HelloServiceSayHelloParams) WithDefaults() *HelloServiceSayHelloParams
- func (o *HelloServiceSayHelloParams) WithGreeting(greeting *string) *HelloServiceSayHelloParams
- func (o *HelloServiceSayHelloParams) WithHTTPClient(client *http.Client) *HelloServiceSayHelloParams
- func (o *HelloServiceSayHelloParams) WithTimeout(timeout time.Duration) *HelloServiceSayHelloParams
- func (o *HelloServiceSayHelloParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HelloServiceSayHelloReader
- type HelloServiceSayHelloStreamDefault
- func (o *HelloServiceSayHelloStreamDefault) Code() int
- func (o *HelloServiceSayHelloStreamDefault) Error() string
- func (o *HelloServiceSayHelloStreamDefault) GetPayload() *models.RPCStatus
- func (o *HelloServiceSayHelloStreamDefault) IsClientError() bool
- func (o *HelloServiceSayHelloStreamDefault) IsCode(code int) bool
- func (o *HelloServiceSayHelloStreamDefault) IsRedirect() bool
- func (o *HelloServiceSayHelloStreamDefault) IsServerError() bool
- func (o *HelloServiceSayHelloStreamDefault) IsSuccess() bool
- func (o *HelloServiceSayHelloStreamDefault) String() string
- type HelloServiceSayHelloStreamOK
- func (o *HelloServiceSayHelloStreamOK) Code() int
- func (o *HelloServiceSayHelloStreamOK) Error() string
- func (o *HelloServiceSayHelloStreamOK) GetPayload() *HelloServiceSayHelloStreamOKBody
- func (o *HelloServiceSayHelloStreamOK) IsClientError() bool
- func (o *HelloServiceSayHelloStreamOK) IsCode(code int) bool
- func (o *HelloServiceSayHelloStreamOK) IsRedirect() bool
- func (o *HelloServiceSayHelloStreamOK) IsServerError() bool
- func (o *HelloServiceSayHelloStreamOK) IsSuccess() bool
- func (o *HelloServiceSayHelloStreamOK) String() string
- type HelloServiceSayHelloStreamOKBody
- func (o *HelloServiceSayHelloStreamOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *HelloServiceSayHelloStreamOKBody) MarshalBinary() ([]byte, error)
- func (o *HelloServiceSayHelloStreamOKBody) UnmarshalBinary(b []byte) error
- func (o *HelloServiceSayHelloStreamOKBody) Validate(formats strfmt.Registry) error
- type HelloServiceSayHelloStreamParams
- func NewHelloServiceSayHelloStreamParams() *HelloServiceSayHelloStreamParams
- func NewHelloServiceSayHelloStreamParamsWithContext(ctx context.Context) *HelloServiceSayHelloStreamParams
- func NewHelloServiceSayHelloStreamParamsWithHTTPClient(client *http.Client) *HelloServiceSayHelloStreamParams
- func NewHelloServiceSayHelloStreamParamsWithTimeout(timeout time.Duration) *HelloServiceSayHelloStreamParams
- func (o *HelloServiceSayHelloStreamParams) SetContext(ctx context.Context)
- func (o *HelloServiceSayHelloStreamParams) SetDefaults()
- func (o *HelloServiceSayHelloStreamParams) SetGreeting(greeting *string)
- func (o *HelloServiceSayHelloStreamParams) SetHTTPClient(client *http.Client)
- func (o *HelloServiceSayHelloStreamParams) SetTimeout(timeout time.Duration)
- func (o *HelloServiceSayHelloStreamParams) WithContext(ctx context.Context) *HelloServiceSayHelloStreamParams
- func (o *HelloServiceSayHelloStreamParams) WithDefaults() *HelloServiceSayHelloStreamParams
- func (o *HelloServiceSayHelloStreamParams) WithGreeting(greeting *string) *HelloServiceSayHelloStreamParams
- func (o *HelloServiceSayHelloStreamParams) WithHTTPClient(client *http.Client) *HelloServiceSayHelloStreamParams
- func (o *HelloServiceSayHelloStreamParams) WithTimeout(timeout time.Duration) *HelloServiceSayHelloStreamParams
- func (o *HelloServiceSayHelloStreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HelloServiceSayHelloStreamReader
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 hello service API
func (*Client) HelloServiceSayHello ¶
func (a *Client) HelloServiceSayHello(params *HelloServiceSayHelloParams, opts ...ClientOption) (*HelloServiceSayHelloOK, error)
HelloServiceSayHello hello service say hello API
func (*Client) HelloServiceSayHelloStream ¶
func (a *Client) HelloServiceSayHelloStream(params *HelloServiceSayHelloStreamParams, opts ...ClientOption) (*HelloServiceSayHelloStreamOK, error)
HelloServiceSayHelloStream hello service say hello stream API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { HelloServiceSayHello(params *HelloServiceSayHelloParams, opts ...ClientOption) (*HelloServiceSayHelloOK, error) HelloServiceSayHelloStream(params *HelloServiceSayHelloStreamParams, opts ...ClientOption) (*HelloServiceSayHelloStreamOK, 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 hello service API client.
type HelloServiceSayHelloDefault ¶
type HelloServiceSayHelloDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
HelloServiceSayHelloDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHelloServiceSayHelloDefault ¶
func NewHelloServiceSayHelloDefault(code int) *HelloServiceSayHelloDefault
NewHelloServiceSayHelloDefault creates a HelloServiceSayHelloDefault with default headers values
func (*HelloServiceSayHelloDefault) Code ¶
func (o *HelloServiceSayHelloDefault) Code() int
Code gets the status code for the hello service say hello default response
func (*HelloServiceSayHelloDefault) Error ¶
func (o *HelloServiceSayHelloDefault) Error() string
func (*HelloServiceSayHelloDefault) GetPayload ¶
func (o *HelloServiceSayHelloDefault) GetPayload() *models.RPCStatus
func (*HelloServiceSayHelloDefault) IsClientError ¶
func (o *HelloServiceSayHelloDefault) IsClientError() bool
IsClientError returns true when this hello service say hello default response has a 4xx status code
func (*HelloServiceSayHelloDefault) IsCode ¶
func (o *HelloServiceSayHelloDefault) IsCode(code int) bool
IsCode returns true when this hello service say hello default response a status code equal to that given
func (*HelloServiceSayHelloDefault) IsRedirect ¶
func (o *HelloServiceSayHelloDefault) IsRedirect() bool
IsRedirect returns true when this hello service say hello default response has a 3xx status code
func (*HelloServiceSayHelloDefault) IsServerError ¶
func (o *HelloServiceSayHelloDefault) IsServerError() bool
IsServerError returns true when this hello service say hello default response has a 5xx status code
func (*HelloServiceSayHelloDefault) IsSuccess ¶
func (o *HelloServiceSayHelloDefault) IsSuccess() bool
IsSuccess returns true when this hello service say hello default response has a 2xx status code
func (*HelloServiceSayHelloDefault) String ¶
func (o *HelloServiceSayHelloDefault) String() string
type HelloServiceSayHelloOK ¶
type HelloServiceSayHelloOK struct {
Payload *models.APIHelloResponse
}
HelloServiceSayHelloOK describes a response with status code 200, with default header values.
A successful response.
func NewHelloServiceSayHelloOK ¶
func NewHelloServiceSayHelloOK() *HelloServiceSayHelloOK
NewHelloServiceSayHelloOK creates a HelloServiceSayHelloOK with default headers values
func (*HelloServiceSayHelloOK) Code ¶
func (o *HelloServiceSayHelloOK) Code() int
Code gets the status code for the hello service say hello o k response
func (*HelloServiceSayHelloOK) Error ¶
func (o *HelloServiceSayHelloOK) Error() string
func (*HelloServiceSayHelloOK) GetPayload ¶
func (o *HelloServiceSayHelloOK) GetPayload() *models.APIHelloResponse
func (*HelloServiceSayHelloOK) IsClientError ¶
func (o *HelloServiceSayHelloOK) IsClientError() bool
IsClientError returns true when this hello service say hello o k response has a 4xx status code
func (*HelloServiceSayHelloOK) IsCode ¶
func (o *HelloServiceSayHelloOK) IsCode(code int) bool
IsCode returns true when this hello service say hello o k response a status code equal to that given
func (*HelloServiceSayHelloOK) IsRedirect ¶
func (o *HelloServiceSayHelloOK) IsRedirect() bool
IsRedirect returns true when this hello service say hello o k response has a 3xx status code
func (*HelloServiceSayHelloOK) IsServerError ¶
func (o *HelloServiceSayHelloOK) IsServerError() bool
IsServerError returns true when this hello service say hello o k response has a 5xx status code
func (*HelloServiceSayHelloOK) IsSuccess ¶
func (o *HelloServiceSayHelloOK) IsSuccess() bool
IsSuccess returns true when this hello service say hello o k response has a 2xx status code
func (*HelloServiceSayHelloOK) String ¶
func (o *HelloServiceSayHelloOK) String() string
type HelloServiceSayHelloParams ¶
type HelloServiceSayHelloParams struct { // Greeting. Greeting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HelloServiceSayHelloParams contains all the parameters to send to the API endpoint
for the hello service say hello operation. Typically these are written to a http.Request.
func NewHelloServiceSayHelloParams ¶
func NewHelloServiceSayHelloParams() *HelloServiceSayHelloParams
NewHelloServiceSayHelloParams creates a new HelloServiceSayHelloParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewHelloServiceSayHelloParamsWithContext ¶
func NewHelloServiceSayHelloParamsWithContext(ctx context.Context) *HelloServiceSayHelloParams
NewHelloServiceSayHelloParamsWithContext creates a new HelloServiceSayHelloParams object with the ability to set a context for a request.
func NewHelloServiceSayHelloParamsWithHTTPClient ¶
func NewHelloServiceSayHelloParamsWithHTTPClient(client *http.Client) *HelloServiceSayHelloParams
NewHelloServiceSayHelloParamsWithHTTPClient creates a new HelloServiceSayHelloParams object with the ability to set a custom HTTPClient for a request.
func NewHelloServiceSayHelloParamsWithTimeout ¶
func NewHelloServiceSayHelloParamsWithTimeout(timeout time.Duration) *HelloServiceSayHelloParams
NewHelloServiceSayHelloParamsWithTimeout creates a new HelloServiceSayHelloParams object with the ability to set a timeout on a request.
func (*HelloServiceSayHelloParams) SetContext ¶
func (o *HelloServiceSayHelloParams) SetContext(ctx context.Context)
SetContext adds the context to the hello service say hello params
func (*HelloServiceSayHelloParams) SetDefaults ¶
func (o *HelloServiceSayHelloParams) SetDefaults()
SetDefaults hydrates default values in the hello service say hello params (not the query body).
All values with no default are reset to their zero value.
func (*HelloServiceSayHelloParams) SetGreeting ¶
func (o *HelloServiceSayHelloParams) SetGreeting(greeting *string)
SetGreeting adds the greeting to the hello service say hello params
func (*HelloServiceSayHelloParams) SetHTTPClient ¶
func (o *HelloServiceSayHelloParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hello service say hello params
func (*HelloServiceSayHelloParams) SetTimeout ¶
func (o *HelloServiceSayHelloParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hello service say hello params
func (*HelloServiceSayHelloParams) WithContext ¶
func (o *HelloServiceSayHelloParams) WithContext(ctx context.Context) *HelloServiceSayHelloParams
WithContext adds the context to the hello service say hello params
func (*HelloServiceSayHelloParams) WithDefaults ¶
func (o *HelloServiceSayHelloParams) WithDefaults() *HelloServiceSayHelloParams
WithDefaults hydrates default values in the hello service say hello params (not the query body).
All values with no default are reset to their zero value.
func (*HelloServiceSayHelloParams) WithGreeting ¶
func (o *HelloServiceSayHelloParams) WithGreeting(greeting *string) *HelloServiceSayHelloParams
WithGreeting adds the greeting to the hello service say hello params
func (*HelloServiceSayHelloParams) WithHTTPClient ¶
func (o *HelloServiceSayHelloParams) WithHTTPClient(client *http.Client) *HelloServiceSayHelloParams
WithHTTPClient adds the HTTPClient to the hello service say hello params
func (*HelloServiceSayHelloParams) WithTimeout ¶
func (o *HelloServiceSayHelloParams) WithTimeout(timeout time.Duration) *HelloServiceSayHelloParams
WithTimeout adds the timeout to the hello service say hello params
func (*HelloServiceSayHelloParams) WriteToRequest ¶
func (o *HelloServiceSayHelloParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HelloServiceSayHelloReader ¶
type HelloServiceSayHelloReader struct {
// contains filtered or unexported fields
}
HelloServiceSayHelloReader is a Reader for the HelloServiceSayHello structure.
func (*HelloServiceSayHelloReader) ReadResponse ¶
func (o *HelloServiceSayHelloReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HelloServiceSayHelloStreamDefault ¶
type HelloServiceSayHelloStreamDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
HelloServiceSayHelloStreamDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHelloServiceSayHelloStreamDefault ¶
func NewHelloServiceSayHelloStreamDefault(code int) *HelloServiceSayHelloStreamDefault
NewHelloServiceSayHelloStreamDefault creates a HelloServiceSayHelloStreamDefault with default headers values
func (*HelloServiceSayHelloStreamDefault) Code ¶
func (o *HelloServiceSayHelloStreamDefault) Code() int
Code gets the status code for the hello service say hello stream default response
func (*HelloServiceSayHelloStreamDefault) Error ¶
func (o *HelloServiceSayHelloStreamDefault) Error() string
func (*HelloServiceSayHelloStreamDefault) GetPayload ¶
func (o *HelloServiceSayHelloStreamDefault) GetPayload() *models.RPCStatus
func (*HelloServiceSayHelloStreamDefault) IsClientError ¶
func (o *HelloServiceSayHelloStreamDefault) IsClientError() bool
IsClientError returns true when this hello service say hello stream default response has a 4xx status code
func (*HelloServiceSayHelloStreamDefault) IsCode ¶
func (o *HelloServiceSayHelloStreamDefault) IsCode(code int) bool
IsCode returns true when this hello service say hello stream default response a status code equal to that given
func (*HelloServiceSayHelloStreamDefault) IsRedirect ¶
func (o *HelloServiceSayHelloStreamDefault) IsRedirect() bool
IsRedirect returns true when this hello service say hello stream default response has a 3xx status code
func (*HelloServiceSayHelloStreamDefault) IsServerError ¶
func (o *HelloServiceSayHelloStreamDefault) IsServerError() bool
IsServerError returns true when this hello service say hello stream default response has a 5xx status code
func (*HelloServiceSayHelloStreamDefault) IsSuccess ¶
func (o *HelloServiceSayHelloStreamDefault) IsSuccess() bool
IsSuccess returns true when this hello service say hello stream default response has a 2xx status code
func (*HelloServiceSayHelloStreamDefault) String ¶
func (o *HelloServiceSayHelloStreamDefault) String() string
type HelloServiceSayHelloStreamOK ¶
type HelloServiceSayHelloStreamOK struct {
Payload *HelloServiceSayHelloStreamOKBody
}
HelloServiceSayHelloStreamOK describes a response with status code 200, with default header values.
A successful response.(streaming responses)
func NewHelloServiceSayHelloStreamOK ¶
func NewHelloServiceSayHelloStreamOK() *HelloServiceSayHelloStreamOK
NewHelloServiceSayHelloStreamOK creates a HelloServiceSayHelloStreamOK with default headers values
func (*HelloServiceSayHelloStreamOK) Code ¶
func (o *HelloServiceSayHelloStreamOK) Code() int
Code gets the status code for the hello service say hello stream o k response
func (*HelloServiceSayHelloStreamOK) Error ¶
func (o *HelloServiceSayHelloStreamOK) Error() string
func (*HelloServiceSayHelloStreamOK) GetPayload ¶
func (o *HelloServiceSayHelloStreamOK) GetPayload() *HelloServiceSayHelloStreamOKBody
func (*HelloServiceSayHelloStreamOK) IsClientError ¶
func (o *HelloServiceSayHelloStreamOK) IsClientError() bool
IsClientError returns true when this hello service say hello stream o k response has a 4xx status code
func (*HelloServiceSayHelloStreamOK) IsCode ¶
func (o *HelloServiceSayHelloStreamOK) IsCode(code int) bool
IsCode returns true when this hello service say hello stream o k response a status code equal to that given
func (*HelloServiceSayHelloStreamOK) IsRedirect ¶
func (o *HelloServiceSayHelloStreamOK) IsRedirect() bool
IsRedirect returns true when this hello service say hello stream o k response has a 3xx status code
func (*HelloServiceSayHelloStreamOK) IsServerError ¶
func (o *HelloServiceSayHelloStreamOK) IsServerError() bool
IsServerError returns true when this hello service say hello stream o k response has a 5xx status code
func (*HelloServiceSayHelloStreamOK) IsSuccess ¶
func (o *HelloServiceSayHelloStreamOK) IsSuccess() bool
IsSuccess returns true when this hello service say hello stream o k response has a 2xx status code
func (*HelloServiceSayHelloStreamOK) String ¶
func (o *HelloServiceSayHelloStreamOK) String() string
type HelloServiceSayHelloStreamOKBody ¶
type HelloServiceSayHelloStreamOKBody struct { // error Error *models.RPCStatus `json:"error,omitempty"` // result Result *models.APIHelloResponse `json:"result,omitempty"` }
HelloServiceSayHelloStreamOKBody Stream result of apiHelloResponse swagger:model HelloServiceSayHelloStreamOKBody
func (*HelloServiceSayHelloStreamOKBody) ContextValidate ¶
func (o *HelloServiceSayHelloStreamOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hello service say hello stream o k body based on the context it is used
func (*HelloServiceSayHelloStreamOKBody) MarshalBinary ¶
func (o *HelloServiceSayHelloStreamOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelloServiceSayHelloStreamOKBody) UnmarshalBinary ¶
func (o *HelloServiceSayHelloStreamOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelloServiceSayHelloStreamParams ¶
type HelloServiceSayHelloStreamParams struct { // Greeting. Greeting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HelloServiceSayHelloStreamParams contains all the parameters to send to the API endpoint
for the hello service say hello stream operation. Typically these are written to a http.Request.
func NewHelloServiceSayHelloStreamParams ¶
func NewHelloServiceSayHelloStreamParams() *HelloServiceSayHelloStreamParams
NewHelloServiceSayHelloStreamParams creates a new HelloServiceSayHelloStreamParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewHelloServiceSayHelloStreamParamsWithContext ¶
func NewHelloServiceSayHelloStreamParamsWithContext(ctx context.Context) *HelloServiceSayHelloStreamParams
NewHelloServiceSayHelloStreamParamsWithContext creates a new HelloServiceSayHelloStreamParams object with the ability to set a context for a request.
func NewHelloServiceSayHelloStreamParamsWithHTTPClient ¶
func NewHelloServiceSayHelloStreamParamsWithHTTPClient(client *http.Client) *HelloServiceSayHelloStreamParams
NewHelloServiceSayHelloStreamParamsWithHTTPClient creates a new HelloServiceSayHelloStreamParams object with the ability to set a custom HTTPClient for a request.
func NewHelloServiceSayHelloStreamParamsWithTimeout ¶
func NewHelloServiceSayHelloStreamParamsWithTimeout(timeout time.Duration) *HelloServiceSayHelloStreamParams
NewHelloServiceSayHelloStreamParamsWithTimeout creates a new HelloServiceSayHelloStreamParams object with the ability to set a timeout on a request.
func (*HelloServiceSayHelloStreamParams) SetContext ¶
func (o *HelloServiceSayHelloStreamParams) SetContext(ctx context.Context)
SetContext adds the context to the hello service say hello stream params
func (*HelloServiceSayHelloStreamParams) SetDefaults ¶
func (o *HelloServiceSayHelloStreamParams) SetDefaults()
SetDefaults hydrates default values in the hello service say hello stream params (not the query body).
All values with no default are reset to their zero value.
func (*HelloServiceSayHelloStreamParams) SetGreeting ¶
func (o *HelloServiceSayHelloStreamParams) SetGreeting(greeting *string)
SetGreeting adds the greeting to the hello service say hello stream params
func (*HelloServiceSayHelloStreamParams) SetHTTPClient ¶
func (o *HelloServiceSayHelloStreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hello service say hello stream params
func (*HelloServiceSayHelloStreamParams) SetTimeout ¶
func (o *HelloServiceSayHelloStreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hello service say hello stream params
func (*HelloServiceSayHelloStreamParams) WithContext ¶
func (o *HelloServiceSayHelloStreamParams) WithContext(ctx context.Context) *HelloServiceSayHelloStreamParams
WithContext adds the context to the hello service say hello stream params
func (*HelloServiceSayHelloStreamParams) WithDefaults ¶
func (o *HelloServiceSayHelloStreamParams) WithDefaults() *HelloServiceSayHelloStreamParams
WithDefaults hydrates default values in the hello service say hello stream params (not the query body).
All values with no default are reset to their zero value.
func (*HelloServiceSayHelloStreamParams) WithGreeting ¶
func (o *HelloServiceSayHelloStreamParams) WithGreeting(greeting *string) *HelloServiceSayHelloStreamParams
WithGreeting adds the greeting to the hello service say hello stream params
func (*HelloServiceSayHelloStreamParams) WithHTTPClient ¶
func (o *HelloServiceSayHelloStreamParams) WithHTTPClient(client *http.Client) *HelloServiceSayHelloStreamParams
WithHTTPClient adds the HTTPClient to the hello service say hello stream params
func (*HelloServiceSayHelloStreamParams) WithTimeout ¶
func (o *HelloServiceSayHelloStreamParams) WithTimeout(timeout time.Duration) *HelloServiceSayHelloStreamParams
WithTimeout adds the timeout to the hello service say hello stream params
func (*HelloServiceSayHelloStreamParams) WriteToRequest ¶
func (o *HelloServiceSayHelloStreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HelloServiceSayHelloStreamReader ¶
type HelloServiceSayHelloStreamReader struct {
// contains filtered or unexported fields
}
HelloServiceSayHelloStreamReader is a Reader for the HelloServiceSayHelloStream structure.
func (*HelloServiceSayHelloStreamReader) ReadResponse ¶
func (o *HelloServiceSayHelloStreamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.