Versions in this module Expand all Collapse all v0 v0.11.12 May 7, 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 InlineResponse401 struct + Code int64 + Details []map[string]interface{} + Message string + Reason string + Request string + Status string + type JsonWebKey struct + Alg string + Crv string + D string + Dp string + Dq string + E string + K string + Kid string + Kty string + N string + P string + Q string + Qi string + Use string + X string + X5c []string + Y string + type JsonWebKeySet struct + Keys []JsonWebKey + type Rule struct + Description string + Id string + MatchesMethods []string + MatchesUrl string + Mode string + RequiredAction string + RequiredResource string + RequiredScopes []string + type RuleApi struct + Configuration *Configuration + func NewRuleApi() *RuleApi + func NewRuleApiWithBasePath(basePath string) *RuleApi + func (a RuleApi) CreateRule(body Rule) (*Rule, *APIResponse, error) + func (a RuleApi) DeleteRule(id string) (*APIResponse, error) + func (a RuleApi) GetRule(id string) (*Rule, *APIResponse, error) + func (a RuleApi) ListRules() ([]Rule, *APIResponse, error) + func (a RuleApi) UpdateRule(id string, body Rule) (*Rule, *APIResponse, error) + type SwaggerCreateRuleParameters struct + Body Rule + type SwaggerGetRuleParameters struct + Id string + type SwaggerRuleResponse struct + Body Rule + type SwaggerRulesResponse struct + Body []Rule + type SwaggerUpdateRuleParameters struct + Body Rule + Id string v0.0.29 Dec 19, 2017 v0.0.28 Dec 19, 2017 v0.0.27 Dec 12, 2017 v0.0.26 Dec 11, 2017 v0.0.25 Nov 28, 2017 v0.0.24 Nov 26, 2017 v0.0.23 Nov 24, 2017 v0.0.22 Nov 20, 2017 v0.0.21 Nov 19, 2017 v0.0.20 Nov 18, 2017