Documentation ¶
Overview ¶
Package sdk provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.
Package sdk provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.
Index ¶
- Constants
- func NewAuthSsoTokenPostRequest(server string) (*http.Request, error)
- func NewAuthTokenPostRequest(server string) (*http.Request, error)
- func NewDownloadSecretBlobRequest(server string, secretId string) (*http.Request, error)
- func NewGetSecretIdRequest(server string, secretId string) (*http.Request, error)
- func NewPigeonholeControllersPkiPkiGetRequest(server string) (*http.Request, error)
- func NewSecretDeleteRequest(server string) (*http.Request, error)
- func NewSecretGetRequest(server string, params *SecretGetParams) (*http.Request, error)
- func NewSecretIdDeleteRequest(server string, secretId string) (*http.Request, error)
- func NewSecretPostRequest(server string, body SecretPostJSONRequestBody) (*http.Request, error)
- func NewSecretPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserGetRequest(server string, params *UserGetParams) (*http.Request, error)
- func NewUserIdGetRequest(server string, userId string) (*http.Request, error)
- func NewUserIdKeyGetRequest(server string, userId string) (*http.Request, error)
- func NewUserIdKeyIdDeleteRequest(server string, userId string, keyId string, ...) (*http.Request, error)
- func NewUserIdKeyIdDeleteRequestWithBody(server string, userId string, keyId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserIdKeyIdGetRequest(server string, userId string, keyId string, body UserIdKeyIdGetJSONRequestBody) (*http.Request, error)
- func NewUserIdKeyIdGetRequestWithBody(server string, userId string, keyId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserIdKeyPostRequest(server string, userId string, body UserIdKeyPostJSONRequestBody) (*http.Request, error)
- func NewUserIdKeyPostRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserMeGetRequest(server string) (*http.Request, error)
- func NewUserMeKeyGetRequest(server string) (*http.Request, error)
- func NewUserMeKeyPostRequest(server string, body UserMeKeyPostJSONRequestBody) (*http.Request, error)
- func NewUserMeKeyPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserPublicGetRequest(server string, userId string) (*http.Request, error)
- type AuthSsoTokenPostResponse
- type AuthTokenPostResponse
- type Client
- func (c *Client) AuthSsoTokenPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthTokenPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadSecretBlob(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecretId(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PigeonholeControllersPkiPkiGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SecretDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SecretGet(ctx context.Context, params *SecretGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SecretIdDelete(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SecretPost(ctx context.Context, body SecretPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SecretPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserGet(ctx context.Context, params *UserGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserIdGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserIdKeyGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserIdKeyIdDelete(ctx context.Context, userId string, keyId string, ...) (*http.Response, error)
- func (c *Client) UserIdKeyIdDeleteWithBody(ctx context.Context, userId string, keyId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UserIdKeyIdGet(ctx context.Context, userId string, keyId string, ...) (*http.Response, error)
- func (c *Client) UserIdKeyIdGetWithBody(ctx context.Context, userId string, keyId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UserIdKeyPost(ctx context.Context, userId string, body UserIdKeyPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserIdKeyPostWithBody(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserMeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserMeKeyGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserMeKeyPost(ctx context.Context, body UserMeKeyPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserMeKeyPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserPublicGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AuthSsoTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthSsoTokenPostResponse, error)
- func (c *ClientWithResponses) AuthTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthTokenPostResponse, error)
- func (c *ClientWithResponses) DownloadSecretBlobWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*DownloadSecretBlobResponse, error)
- func (c *ClientWithResponses) GetSecretIdWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*GetSecretIdResponse, error)
- func (c *ClientWithResponses) PigeonholeControllersPkiPkiGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PigeonholeControllersPkiPkiGetResponse, error)
- func (c *ClientWithResponses) SecretDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecretDeleteResponse, error)
- func (c *ClientWithResponses) SecretGetWithResponse(ctx context.Context, params *SecretGetParams, reqEditors ...RequestEditorFn) (*SecretGetResponse, error)
- func (c *ClientWithResponses) SecretIdDeleteWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*SecretIdDeleteResponse, error)
- func (c *ClientWithResponses) SecretPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SecretPostResponse, error)
- func (c *ClientWithResponses) SecretPostWithResponse(ctx context.Context, body SecretPostJSONRequestBody, ...) (*SecretPostResponse, error)
- func (c *ClientWithResponses) UserGetWithResponse(ctx context.Context, params *UserGetParams, reqEditors ...RequestEditorFn) (*UserGetResponse, error)
- func (c *ClientWithResponses) UserIdGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserIdGetResponse, error)
- func (c *ClientWithResponses) UserIdKeyGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserIdKeyGetResponse, error)
- func (c *ClientWithResponses) UserIdKeyIdDeleteWithBodyWithResponse(ctx context.Context, userId string, keyId string, contentType string, ...) (*UserIdKeyIdDeleteResponse, error)
- func (c *ClientWithResponses) UserIdKeyIdDeleteWithResponse(ctx context.Context, userId string, keyId string, ...) (*UserIdKeyIdDeleteResponse, error)
- func (c *ClientWithResponses) UserIdKeyIdGetWithBodyWithResponse(ctx context.Context, userId string, keyId string, contentType string, ...) (*UserIdKeyIdGetResponse, error)
- func (c *ClientWithResponses) UserIdKeyIdGetWithResponse(ctx context.Context, userId string, keyId string, ...) (*UserIdKeyIdGetResponse, error)
- func (c *ClientWithResponses) UserIdKeyPostWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*UserIdKeyPostResponse, error)
- func (c *ClientWithResponses) UserIdKeyPostWithResponse(ctx context.Context, userId string, body UserIdKeyPostJSONRequestBody, ...) (*UserIdKeyPostResponse, error)
- func (c *ClientWithResponses) UserMeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserMeGetResponse, error)
- func (c *ClientWithResponses) UserMeKeyGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserMeKeyGetResponse, error)
- func (c *ClientWithResponses) UserMeKeyPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UserMeKeyPostResponse, error)
- func (c *ClientWithResponses) UserMeKeyPostWithResponse(ctx context.Context, body UserMeKeyPostJSONRequestBody, ...) (*UserMeKeyPostResponse, error)
- func (c *ClientWithResponses) UserPublicGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserPublicGetResponse, error)
- type ClientWithResponsesInterface
- type CreateSecret
- type CreateSecretResponse
- type DownloadSecretBlobResponse
- type GetSecretIdResponse
- type HttpRequestDoer
- type Key
- type Keys
- type NewKey
- type PigeonholeControllersPkiPkiGetResponse
- type RequestEditorFn
- type Secret
- type SecretDeleteResponse
- type SecretGetParams
- type SecretGetResponse
- type SecretIdDeleteResponse
- type SecretPostJSONRequestBody
- type SecretPostResponse
- type Secrets
- type Token
- type User
- type UserGetParams
- type UserGetResponse
- type UserIdGetResponse
- type UserIdKeyGetResponse
- type UserIdKeyIdDeleteJSONRequestBody
- type UserIdKeyIdDeleteResponse
- type UserIdKeyIdGetJSONRequestBody
- type UserIdKeyIdGetResponse
- type UserIdKeyPostJSONRequestBody
- type UserIdKeyPostResponse
- type UserMeGetResponse
- type UserMeKeyGetResponse
- type UserMeKeyPostJSONRequestBody
- type UserMeKeyPostResponse
- type UserPublicGetResponse
- type Users
Constants ¶
const ( Jwt_azureScopes = "jwt_azure.Scopes" Jwt_pigeonholeScopes = "jwt_pigeonhole.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewAuthSsoTokenPostRequest ¶
NewAuthSsoTokenPostRequest generates requests for AuthSsoTokenPost
func NewAuthTokenPostRequest ¶
NewAuthTokenPostRequest generates requests for AuthTokenPost
func NewDownloadSecretBlobRequest ¶
NewDownloadSecretBlobRequest generates requests for DownloadSecretBlob
func NewGetSecretIdRequest ¶
NewGetSecretIdRequest generates requests for GetSecretId
func NewPigeonholeControllersPkiPkiGetRequest ¶
NewPigeonholeControllersPkiPkiGetRequest generates requests for PigeonholeControllersPkiPkiGet
func NewSecretDeleteRequest ¶
NewSecretDeleteRequest generates requests for SecretDelete
func NewSecretGetRequest ¶
func NewSecretGetRequest(server string, params *SecretGetParams) (*http.Request, error)
NewSecretGetRequest generates requests for SecretGet
func NewSecretIdDeleteRequest ¶
NewSecretIdDeleteRequest generates requests for SecretIdDelete
func NewSecretPostRequest ¶
func NewSecretPostRequest(server string, body SecretPostJSONRequestBody) (*http.Request, error)
NewSecretPostRequest calls the generic SecretPost builder with application/json body
func NewSecretPostRequestWithBody ¶
func NewSecretPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSecretPostRequestWithBody generates requests for SecretPost with any type of body
func NewUserGetRequest ¶
func NewUserGetRequest(server string, params *UserGetParams) (*http.Request, error)
NewUserGetRequest generates requests for UserGet
func NewUserIdGetRequest ¶
NewUserIdGetRequest generates requests for UserIdGet
func NewUserIdKeyGetRequest ¶
NewUserIdKeyGetRequest generates requests for UserIdKeyGet
func NewUserIdKeyIdDeleteRequest ¶
func NewUserIdKeyIdDeleteRequest(server string, userId string, keyId string, body UserIdKeyIdDeleteJSONRequestBody) (*http.Request, error)
NewUserIdKeyIdDeleteRequest calls the generic UserIdKeyIdDelete builder with application/json body
func NewUserIdKeyIdDeleteRequestWithBody ¶
func NewUserIdKeyIdDeleteRequestWithBody(server string, userId string, keyId string, contentType string, body io.Reader) (*http.Request, error)
NewUserIdKeyIdDeleteRequestWithBody generates requests for UserIdKeyIdDelete with any type of body
func NewUserIdKeyIdGetRequest ¶
func NewUserIdKeyIdGetRequest(server string, userId string, keyId string, body UserIdKeyIdGetJSONRequestBody) (*http.Request, error)
NewUserIdKeyIdGetRequest calls the generic UserIdKeyIdGet builder with application/json body
func NewUserIdKeyIdGetRequestWithBody ¶
func NewUserIdKeyIdGetRequestWithBody(server string, userId string, keyId string, contentType string, body io.Reader) (*http.Request, error)
NewUserIdKeyIdGetRequestWithBody generates requests for UserIdKeyIdGet with any type of body
func NewUserIdKeyPostRequest ¶
func NewUserIdKeyPostRequest(server string, userId string, body UserIdKeyPostJSONRequestBody) (*http.Request, error)
NewUserIdKeyPostRequest calls the generic UserIdKeyPost builder with application/json body
func NewUserIdKeyPostRequestWithBody ¶
func NewUserIdKeyPostRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewUserIdKeyPostRequestWithBody generates requests for UserIdKeyPost with any type of body
func NewUserMeGetRequest ¶
NewUserMeGetRequest generates requests for UserMeGet
func NewUserMeKeyGetRequest ¶
NewUserMeKeyGetRequest generates requests for UserMeKeyGet
func NewUserMeKeyPostRequest ¶
func NewUserMeKeyPostRequest(server string, body UserMeKeyPostJSONRequestBody) (*http.Request, error)
NewUserMeKeyPostRequest calls the generic UserMeKeyPost builder with application/json body
Types ¶
type AuthSsoTokenPostResponse ¶
type AuthSsoTokenPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Token JSON201 *Token }
func ParseAuthSsoTokenPostResponse ¶
func ParseAuthSsoTokenPostResponse(rsp *http.Response) (*AuthSsoTokenPostResponse, error)
ParseAuthSsoTokenPostResponse parses an HTTP response from a AuthSsoTokenPostWithResponse call
func (AuthSsoTokenPostResponse) Status ¶
func (r AuthSsoTokenPostResponse) Status() string
Status returns HTTPResponse.Status
func (AuthSsoTokenPostResponse) StatusCode ¶
func (r AuthSsoTokenPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthTokenPostResponse ¶
func ParseAuthTokenPostResponse ¶
func ParseAuthTokenPostResponse(rsp *http.Response) (*AuthTokenPostResponse, error)
ParseAuthTokenPostResponse parses an HTTP response from a AuthTokenPostWithResponse call
func (AuthTokenPostResponse) Status ¶
func (r AuthTokenPostResponse) Status() string
Status returns HTTPResponse.Status
func (AuthTokenPostResponse) StatusCode ¶
func (r AuthTokenPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AuthSsoTokenPost ¶
func (*Client) AuthTokenPost ¶
func (*Client) DownloadSecretBlob ¶
func (*Client) GetSecretId ¶
func (*Client) PigeonholeControllersPkiPkiGet ¶
func (*Client) SecretDelete ¶
func (*Client) SecretGet ¶
func (c *Client) SecretGet(ctx context.Context, params *SecretGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecretIdDelete ¶
func (*Client) SecretPost ¶
func (c *Client) SecretPost(ctx context.Context, body SecretPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecretPostWithBody ¶
func (*Client) UserGet ¶
func (c *Client) UserGet(ctx context.Context, params *UserGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserIdKeyGet ¶
func (*Client) UserIdKeyIdDelete ¶
func (c *Client) UserIdKeyIdDelete(ctx context.Context, userId string, keyId string, body UserIdKeyIdDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserIdKeyIdDeleteWithBody ¶
func (*Client) UserIdKeyIdGet ¶
func (c *Client) UserIdKeyIdGet(ctx context.Context, userId string, keyId string, body UserIdKeyIdGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserIdKeyIdGetWithBody ¶
func (*Client) UserIdKeyPost ¶
func (c *Client) UserIdKeyPost(ctx context.Context, userId string, body UserIdKeyPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserIdKeyPostWithBody ¶
func (*Client) UserMeKeyGet ¶
func (*Client) UserMeKeyPost ¶
func (c *Client) UserMeKeyPost(ctx context.Context, body UserMeKeyPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserMeKeyPostWithBody ¶
func (*Client) UserPublicGet ¶
type ClientInterface ¶
type ClientInterface interface { // AuthSsoTokenPost request AuthSsoTokenPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // AuthTokenPost request AuthTokenPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PigeonholeControllersPkiPkiGet request PigeonholeControllersPkiPkiGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SecretDelete request SecretDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SecretGet request SecretGet(ctx context.Context, params *SecretGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SecretPostWithBody request with any body SecretPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SecretPost(ctx context.Context, body SecretPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SecretIdDelete request SecretIdDelete(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSecretId request GetSecretId(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error) // DownloadSecretBlob request DownloadSecretBlob(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UserGet request UserGet(ctx context.Context, params *UserGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // UserMeGet request UserMeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // UserMeKeyGet request UserMeKeyGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // UserMeKeyPostWithBody request with any body UserMeKeyPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserMeKeyPost(ctx context.Context, body UserMeKeyPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserIdGet request UserIdGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UserIdKeyGet request UserIdKeyGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UserIdKeyPostWithBody request with any body UserIdKeyPostWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserIdKeyPost(ctx context.Context, userId string, body UserIdKeyPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserIdKeyIdDeleteWithBody request with any body UserIdKeyIdDeleteWithBody(ctx context.Context, userId string, keyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserIdKeyIdDelete(ctx context.Context, userId string, keyId string, body UserIdKeyIdDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserIdKeyIdGetWithBody request with any body UserIdKeyIdGetWithBody(ctx context.Context, userId string, keyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserIdKeyIdGet(ctx context.Context, userId string, keyId string, body UserIdKeyIdGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserPublicGet request UserPublicGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func PigeonholeClient ¶
func PigeonholeClient(server string, token string) (ClientWithResponses, context.Context)
func (*ClientWithResponses) AuthSsoTokenPostWithResponse ¶
func (c *ClientWithResponses) AuthSsoTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthSsoTokenPostResponse, error)
AuthSsoTokenPostWithResponse request returning *AuthSsoTokenPostResponse
func (*ClientWithResponses) AuthTokenPostWithResponse ¶
func (c *ClientWithResponses) AuthTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthTokenPostResponse, error)
AuthTokenPostWithResponse request returning *AuthTokenPostResponse
func (*ClientWithResponses) DownloadSecretBlobWithResponse ¶
func (c *ClientWithResponses) DownloadSecretBlobWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*DownloadSecretBlobResponse, error)
DownloadSecretBlobWithResponse request returning *DownloadSecretBlobResponse
func (*ClientWithResponses) GetSecretIdWithResponse ¶
func (c *ClientWithResponses) GetSecretIdWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*GetSecretIdResponse, error)
GetSecretIdWithResponse request returning *GetSecretIdResponse
func (*ClientWithResponses) PigeonholeControllersPkiPkiGetWithResponse ¶
func (c *ClientWithResponses) PigeonholeControllersPkiPkiGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PigeonholeControllersPkiPkiGetResponse, error)
PigeonholeControllersPkiPkiGetWithResponse request returning *PigeonholeControllersPkiPkiGetResponse
func (*ClientWithResponses) SecretDeleteWithResponse ¶
func (c *ClientWithResponses) SecretDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecretDeleteResponse, error)
SecretDeleteWithResponse request returning *SecretDeleteResponse
func (*ClientWithResponses) SecretGetWithResponse ¶
func (c *ClientWithResponses) SecretGetWithResponse(ctx context.Context, params *SecretGetParams, reqEditors ...RequestEditorFn) (*SecretGetResponse, error)
SecretGetWithResponse request returning *SecretGetResponse
func (*ClientWithResponses) SecretIdDeleteWithResponse ¶
func (c *ClientWithResponses) SecretIdDeleteWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*SecretIdDeleteResponse, error)
SecretIdDeleteWithResponse request returning *SecretIdDeleteResponse
func (*ClientWithResponses) SecretPostWithBodyWithResponse ¶
func (c *ClientWithResponses) SecretPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecretPostResponse, error)
SecretPostWithBodyWithResponse request with arbitrary body returning *SecretPostResponse
func (*ClientWithResponses) SecretPostWithResponse ¶
func (c *ClientWithResponses) SecretPostWithResponse(ctx context.Context, body SecretPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SecretPostResponse, error)
func (*ClientWithResponses) UserGetWithResponse ¶
func (c *ClientWithResponses) UserGetWithResponse(ctx context.Context, params *UserGetParams, reqEditors ...RequestEditorFn) (*UserGetResponse, error)
UserGetWithResponse request returning *UserGetResponse
func (*ClientWithResponses) UserIdGetWithResponse ¶
func (c *ClientWithResponses) UserIdGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserIdGetResponse, error)
UserIdGetWithResponse request returning *UserIdGetResponse
func (*ClientWithResponses) UserIdKeyGetWithResponse ¶
func (c *ClientWithResponses) UserIdKeyGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserIdKeyGetResponse, error)
UserIdKeyGetWithResponse request returning *UserIdKeyGetResponse
func (*ClientWithResponses) UserIdKeyIdDeleteWithBodyWithResponse ¶
func (c *ClientWithResponses) UserIdKeyIdDeleteWithBodyWithResponse(ctx context.Context, userId string, keyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserIdKeyIdDeleteResponse, error)
UserIdKeyIdDeleteWithBodyWithResponse request with arbitrary body returning *UserIdKeyIdDeleteResponse
func (*ClientWithResponses) UserIdKeyIdDeleteWithResponse ¶
func (c *ClientWithResponses) UserIdKeyIdDeleteWithResponse(ctx context.Context, userId string, keyId string, body UserIdKeyIdDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*UserIdKeyIdDeleteResponse, error)
func (*ClientWithResponses) UserIdKeyIdGetWithBodyWithResponse ¶
func (c *ClientWithResponses) UserIdKeyIdGetWithBodyWithResponse(ctx context.Context, userId string, keyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserIdKeyIdGetResponse, error)
UserIdKeyIdGetWithBodyWithResponse request with arbitrary body returning *UserIdKeyIdGetResponse
func (*ClientWithResponses) UserIdKeyIdGetWithResponse ¶
func (c *ClientWithResponses) UserIdKeyIdGetWithResponse(ctx context.Context, userId string, keyId string, body UserIdKeyIdGetJSONRequestBody, reqEditors ...RequestEditorFn) (*UserIdKeyIdGetResponse, error)
func (*ClientWithResponses) UserIdKeyPostWithBodyWithResponse ¶
func (c *ClientWithResponses) UserIdKeyPostWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserIdKeyPostResponse, error)
UserIdKeyPostWithBodyWithResponse request with arbitrary body returning *UserIdKeyPostResponse
func (*ClientWithResponses) UserIdKeyPostWithResponse ¶
func (c *ClientWithResponses) UserIdKeyPostWithResponse(ctx context.Context, userId string, body UserIdKeyPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UserIdKeyPostResponse, error)
func (*ClientWithResponses) UserMeGetWithResponse ¶
func (c *ClientWithResponses) UserMeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserMeGetResponse, error)
UserMeGetWithResponse request returning *UserMeGetResponse
func (*ClientWithResponses) UserMeKeyGetWithResponse ¶
func (c *ClientWithResponses) UserMeKeyGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserMeKeyGetResponse, error)
UserMeKeyGetWithResponse request returning *UserMeKeyGetResponse
func (*ClientWithResponses) UserMeKeyPostWithBodyWithResponse ¶
func (c *ClientWithResponses) UserMeKeyPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserMeKeyPostResponse, error)
UserMeKeyPostWithBodyWithResponse request with arbitrary body returning *UserMeKeyPostResponse
func (*ClientWithResponses) UserMeKeyPostWithResponse ¶
func (c *ClientWithResponses) UserMeKeyPostWithResponse(ctx context.Context, body UserMeKeyPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UserMeKeyPostResponse, error)
func (*ClientWithResponses) UserPublicGetWithResponse ¶
func (c *ClientWithResponses) UserPublicGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserPublicGetResponse, error)
UserPublicGetWithResponse request returning *UserPublicGetResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // AuthSsoTokenPostWithResponse request AuthSsoTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthSsoTokenPostResponse, error) // AuthTokenPostWithResponse request AuthTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthTokenPostResponse, error) // PigeonholeControllersPkiPkiGetWithResponse request PigeonholeControllersPkiPkiGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PigeonholeControllersPkiPkiGetResponse, error) // SecretDeleteWithResponse request SecretDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecretDeleteResponse, error) // SecretGetWithResponse request SecretGetWithResponse(ctx context.Context, params *SecretGetParams, reqEditors ...RequestEditorFn) (*SecretGetResponse, error) // SecretPostWithBodyWithResponse request with any body SecretPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecretPostResponse, error) SecretPostWithResponse(ctx context.Context, body SecretPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SecretPostResponse, error) // SecretIdDeleteWithResponse request SecretIdDeleteWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*SecretIdDeleteResponse, error) // GetSecretIdWithResponse request GetSecretIdWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*GetSecretIdResponse, error) // DownloadSecretBlobWithResponse request DownloadSecretBlobWithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*DownloadSecretBlobResponse, error) // UserGetWithResponse request UserGetWithResponse(ctx context.Context, params *UserGetParams, reqEditors ...RequestEditorFn) (*UserGetResponse, error) // UserMeGetWithResponse request UserMeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserMeGetResponse, error) // UserMeKeyGetWithResponse request UserMeKeyGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserMeKeyGetResponse, error) // UserMeKeyPostWithBodyWithResponse request with any body UserMeKeyPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserMeKeyPostResponse, error) UserMeKeyPostWithResponse(ctx context.Context, body UserMeKeyPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UserMeKeyPostResponse, error) // UserIdGetWithResponse request UserIdGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserIdGetResponse, error) // UserIdKeyGetWithResponse request UserIdKeyGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserIdKeyGetResponse, error) // UserIdKeyPostWithBodyWithResponse request with any body UserIdKeyPostWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserIdKeyPostResponse, error) UserIdKeyPostWithResponse(ctx context.Context, userId string, body UserIdKeyPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UserIdKeyPostResponse, error) // UserIdKeyIdDeleteWithBodyWithResponse request with any body UserIdKeyIdDeleteWithBodyWithResponse(ctx context.Context, userId string, keyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserIdKeyIdDeleteResponse, error) UserIdKeyIdDeleteWithResponse(ctx context.Context, userId string, keyId string, body UserIdKeyIdDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*UserIdKeyIdDeleteResponse, error) // UserIdKeyIdGetWithBodyWithResponse request with any body UserIdKeyIdGetWithBodyWithResponse(ctx context.Context, userId string, keyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserIdKeyIdGetResponse, error) UserIdKeyIdGetWithResponse(ctx context.Context, userId string, keyId string, body UserIdKeyIdGetJSONRequestBody, reqEditors ...RequestEditorFn) (*UserIdKeyIdGetResponse, error) // UserPublicGetWithResponse request UserPublicGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserPublicGetResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateSecret ¶
type CreateSecret struct { // RecipientIds A list of recipient IDs. RecipientIds []string `json:"recipient_ids"` // Reference A reference string for the secret. Reference string `json:"reference"` }
CreateSecret defines model for CreateSecret.
type CreateSecretResponse ¶
type CreateSecretResponse struct { S3Info *struct { Fields *struct { Key *string `json:"key,omitempty"` Policy *string `json:"policy,omitempty"` XAmzAlgorithm *string `json:"x-amz-algorithm,omitempty"` XAmzCredential *string `json:"x-amz-credential,omitempty"` XAmzDate *string `json:"x-amz-date,omitempty"` XAmzMetaRecipientIds *[]string `json:"x-amz-meta-recipient_ids,omitempty"` XAmzMetaReference *string `json:"x-amz-meta-reference,omitempty"` XAmzMetaSenderId *string `json:"x-amz-meta-sender_id,omitempty"` XAmzSignature *string `json:"x-amz-signature,omitempty"` } `json:"fields,omitempty"` Url *string `json:"url,omitempty"` } `json:"s3_info,omitempty"` Users *[]User `json:"users,omitempty"` }
CreateSecretResponse defines model for CreateSecretResponse.
type DownloadSecretBlobResponse ¶
func ParseDownloadSecretBlobResponse ¶
func ParseDownloadSecretBlobResponse(rsp *http.Response) (*DownloadSecretBlobResponse, error)
ParseDownloadSecretBlobResponse parses an HTTP response from a DownloadSecretBlobWithResponse call
func (DownloadSecretBlobResponse) Status ¶
func (r DownloadSecretBlobResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadSecretBlobResponse) StatusCode ¶
func (r DownloadSecretBlobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecretIdResponse ¶
func ParseGetSecretIdResponse ¶
func ParseGetSecretIdResponse(rsp *http.Response) (*GetSecretIdResponse, error)
ParseGetSecretIdResponse parses an HTTP response from a GetSecretIdWithResponse call
func (GetSecretIdResponse) Status ¶
func (r GetSecretIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecretIdResponse) StatusCode ¶
func (r GetSecretIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Key ¶
type Key struct { CreatedAt *time.Time `json:"created_at,omitempty"` Expiry *time.Time `json:"expiry,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` KeyData *string `json:"key_data,omitempty"` User openapi_types.UUID `json:"user"` }
Key defines model for Key.
type NewKey ¶
type NewKey struct {
KeyData *string `json:"key_data,omitempty"`
}
NewKey defines model for NewKey.
type PigeonholeControllersPkiPkiGetResponse ¶
func ParsePigeonholeControllersPkiPkiGetResponse ¶
func ParsePigeonholeControllersPkiPkiGetResponse(rsp *http.Response) (*PigeonholeControllersPkiPkiGetResponse, error)
ParsePigeonholeControllersPkiPkiGetResponse parses an HTTP response from a PigeonholeControllersPkiPkiGetWithResponse call
func (PigeonholeControllersPkiPkiGetResponse) Status ¶
func (r PigeonholeControllersPkiPkiGetResponse) Status() string
Status returns HTTPResponse.Status
func (PigeonholeControllersPkiPkiGetResponse) StatusCode ¶
func (r PigeonholeControllersPkiPkiGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Secret ¶
type Secret struct { Id *openapi_types.UUID `json:"id,omitempty"` Recipient *string `json:"recipient,omitempty"` Reference *string `json:"reference,omitempty"` Sender *string `json:"sender,omitempty"` }
Secret defines model for Secret.
type SecretDeleteResponse ¶
func ParseSecretDeleteResponse ¶
func ParseSecretDeleteResponse(rsp *http.Response) (*SecretDeleteResponse, error)
ParseSecretDeleteResponse parses an HTTP response from a SecretDeleteWithResponse call
func (SecretDeleteResponse) Status ¶
func (r SecretDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (SecretDeleteResponse) StatusCode ¶
func (r SecretDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecretGetParams ¶
type SecretGetParams struct {
Reference *string `form:"reference,omitempty" json:"reference,omitempty"`
}
SecretGetParams defines parameters for SecretGet.
type SecretGetResponse ¶
func ParseSecretGetResponse ¶
func ParseSecretGetResponse(rsp *http.Response) (*SecretGetResponse, error)
ParseSecretGetResponse parses an HTTP response from a SecretGetWithResponse call
func (SecretGetResponse) Status ¶
func (r SecretGetResponse) Status() string
Status returns HTTPResponse.Status
func (SecretGetResponse) StatusCode ¶
func (r SecretGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecretIdDeleteResponse ¶
func ParseSecretIdDeleteResponse ¶
func ParseSecretIdDeleteResponse(rsp *http.Response) (*SecretIdDeleteResponse, error)
ParseSecretIdDeleteResponse parses an HTTP response from a SecretIdDeleteWithResponse call
func (SecretIdDeleteResponse) Status ¶
func (r SecretIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (SecretIdDeleteResponse) StatusCode ¶
func (r SecretIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecretPostJSONRequestBody ¶
type SecretPostJSONRequestBody = CreateSecret
SecretPostJSONRequestBody defines body for SecretPost for application/json ContentType.
type SecretPostResponse ¶
type SecretPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateSecretResponse }
func ParseSecretPostResponse ¶
func ParseSecretPostResponse(rsp *http.Response) (*SecretPostResponse, error)
ParseSecretPostResponse parses an HTTP response from a SecretPostWithResponse call
func (SecretPostResponse) Status ¶
func (r SecretPostResponse) Status() string
Status returns HTTPResponse.Status
func (SecretPostResponse) StatusCode ¶
func (r SecretPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Token ¶
type Token struct {
AccessToken string `json:"accessToken"`
}
Token defines model for Token.
type User ¶
type User struct { Email *string `json:"email,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Keys *[]Key `json:"keys,omitempty"` }
User defines model for User.
type UserGetParams ¶
type UserGetParams struct {
Id *[]string `form:"id,omitempty" json:"id,omitempty"`
}
UserGetParams defines parameters for UserGet.
type UserGetResponse ¶
func ParseUserGetResponse ¶
func ParseUserGetResponse(rsp *http.Response) (*UserGetResponse, error)
ParseUserGetResponse parses an HTTP response from a UserGetWithResponse call
func (UserGetResponse) Status ¶
func (r UserGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserGetResponse) StatusCode ¶
func (r UserGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserIdGetResponse ¶
func ParseUserIdGetResponse ¶
func ParseUserIdGetResponse(rsp *http.Response) (*UserIdGetResponse, error)
ParseUserIdGetResponse parses an HTTP response from a UserIdGetWithResponse call
func (UserIdGetResponse) Status ¶
func (r UserIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserIdGetResponse) StatusCode ¶
func (r UserIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserIdKeyGetResponse ¶
func ParseUserIdKeyGetResponse ¶
func ParseUserIdKeyGetResponse(rsp *http.Response) (*UserIdKeyGetResponse, error)
ParseUserIdKeyGetResponse parses an HTTP response from a UserIdKeyGetWithResponse call
func (UserIdKeyGetResponse) Status ¶
func (r UserIdKeyGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserIdKeyGetResponse) StatusCode ¶
func (r UserIdKeyGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserIdKeyIdDeleteJSONRequestBody ¶
type UserIdKeyIdDeleteJSONRequestBody = Key
UserIdKeyIdDeleteJSONRequestBody defines body for UserIdKeyIdDelete for application/json ContentType.
type UserIdKeyIdDeleteResponse ¶
func ParseUserIdKeyIdDeleteResponse ¶
func ParseUserIdKeyIdDeleteResponse(rsp *http.Response) (*UserIdKeyIdDeleteResponse, error)
ParseUserIdKeyIdDeleteResponse parses an HTTP response from a UserIdKeyIdDeleteWithResponse call
func (UserIdKeyIdDeleteResponse) Status ¶
func (r UserIdKeyIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (UserIdKeyIdDeleteResponse) StatusCode ¶
func (r UserIdKeyIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserIdKeyIdGetJSONRequestBody ¶
type UserIdKeyIdGetJSONRequestBody = Key
UserIdKeyIdGetJSONRequestBody defines body for UserIdKeyIdGet for application/json ContentType.
type UserIdKeyIdGetResponse ¶
func ParseUserIdKeyIdGetResponse ¶
func ParseUserIdKeyIdGetResponse(rsp *http.Response) (*UserIdKeyIdGetResponse, error)
ParseUserIdKeyIdGetResponse parses an HTTP response from a UserIdKeyIdGetWithResponse call
func (UserIdKeyIdGetResponse) Status ¶
func (r UserIdKeyIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserIdKeyIdGetResponse) StatusCode ¶
func (r UserIdKeyIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserIdKeyPostJSONRequestBody ¶
type UserIdKeyPostJSONRequestBody = Key
UserIdKeyPostJSONRequestBody defines body for UserIdKeyPost for application/json ContentType.
type UserIdKeyPostResponse ¶
func ParseUserIdKeyPostResponse ¶
func ParseUserIdKeyPostResponse(rsp *http.Response) (*UserIdKeyPostResponse, error)
ParseUserIdKeyPostResponse parses an HTTP response from a UserIdKeyPostWithResponse call
func (UserIdKeyPostResponse) Status ¶
func (r UserIdKeyPostResponse) Status() string
Status returns HTTPResponse.Status
func (UserIdKeyPostResponse) StatusCode ¶
func (r UserIdKeyPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserMeGetResponse ¶
func ParseUserMeGetResponse ¶
func ParseUserMeGetResponse(rsp *http.Response) (*UserMeGetResponse, error)
ParseUserMeGetResponse parses an HTTP response from a UserMeGetWithResponse call
func (UserMeGetResponse) Status ¶
func (r UserMeGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserMeGetResponse) StatusCode ¶
func (r UserMeGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserMeKeyGetResponse ¶
func ParseUserMeKeyGetResponse ¶
func ParseUserMeKeyGetResponse(rsp *http.Response) (*UserMeKeyGetResponse, error)
ParseUserMeKeyGetResponse parses an HTTP response from a UserMeKeyGetWithResponse call
func (UserMeKeyGetResponse) Status ¶
func (r UserMeKeyGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserMeKeyGetResponse) StatusCode ¶
func (r UserMeKeyGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserMeKeyPostJSONRequestBody ¶
type UserMeKeyPostJSONRequestBody = NewKey
UserMeKeyPostJSONRequestBody defines body for UserMeKeyPost for application/json ContentType.
type UserMeKeyPostResponse ¶
func ParseUserMeKeyPostResponse ¶
func ParseUserMeKeyPostResponse(rsp *http.Response) (*UserMeKeyPostResponse, error)
ParseUserMeKeyPostResponse parses an HTTP response from a UserMeKeyPostWithResponse call
func (UserMeKeyPostResponse) Status ¶
func (r UserMeKeyPostResponse) Status() string
Status returns HTTPResponse.Status
func (UserMeKeyPostResponse) StatusCode ¶
func (r UserMeKeyPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserPublicGetResponse ¶
func ParseUserPublicGetResponse ¶
func ParseUserPublicGetResponse(rsp *http.Response) (*UserPublicGetResponse, error)
ParseUserPublicGetResponse parses an HTTP response from a UserPublicGetWithResponse call
func (UserPublicGetResponse) Status ¶
func (r UserPublicGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserPublicGetResponse) StatusCode ¶
func (r UserPublicGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode