Versions in this module Expand all Collapse all v1 v1.5.1 Oct 2, 2018 Changes in this version + type APIClient struct + func (c *APIClient) CallAPI(path string, method string, postBody interface{}, ...) (*resty.Response, error) + func (c *APIClient) ParameterToString(obj interface{}, collectionFormat string) string + func (c *APIClient) SelectHeaderAccept(accepts []string) string + func (c *APIClient) SelectHeaderContentType(contentTypes []string) string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type Configuration struct + APIClient *APIClient + APIKey map[string]string + APIKeyPrefix map[string]string + AccessToken string + BasePath string + Debug bool + DebugFile string + DefaultHeader map[string]string + Host string + OAuthToken string + Password string + Scheme string + Timeout *time.Duration + Transport *http.Transport + UserAgent string + Username string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) GetAPIKeyWithPrefix(APIKeyIdentifier string) string + func (c *Configuration) GetBasicAuthEncodedString() string + type ExamplepbUnannotatedSimpleMessage struct + Duration string + Id string + Num string + type UnannotatedEchoServiceApi struct + Configuration *Configuration + func NewUnannotatedEchoServiceApi() *UnannotatedEchoServiceApi + func NewUnannotatedEchoServiceApiWithBasePath(basePath string) *UnannotatedEchoServiceApi + func (a UnannotatedEchoServiceApi) Echo(id string) (*ExamplepbUnannotatedSimpleMessage, *APIResponse, error) + func (a UnannotatedEchoServiceApi) Echo2(id string, num string, duration string) (*ExamplepbUnannotatedSimpleMessage, *APIResponse, error) + func (a UnannotatedEchoServiceApi) EchoBody(body ExamplepbUnannotatedSimpleMessage) (*ExamplepbUnannotatedSimpleMessage, *APIResponse, error) + func (a UnannotatedEchoServiceApi) EchoDelete(id string, num string, duration string) (*ExamplepbUnannotatedSimpleMessage, *APIResponse, error)