Documentation
¶
Overview ¶
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.
Index ¶
- Constants
- func NewAddUserToProjectApiV1ProjectProjectIdUserUserIdPostRequest(server string, projectId string, userId string) (*http.Request, error)
- func NewCreateProjectApiV1ProjectPostRequest(server string, body CreateProjectApiV1ProjectPostJSONRequestBody) (*http.Request, error)
- func NewCreateProjectApiV1ProjectPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateUserApiV1UserPostRequest(server string, body CreateUserApiV1UserPostJSONRequestBody) (*http.Request, error)
- func NewCreateUserApiV1UserPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteProjectApiV1ProjectProjectIdDeleteRequest(server string, projectId string) (*http.Request, error)
- func NewDeleteUserApiV1UserUserIdDeleteRequest(server string, userId string) (*http.Request, error)
- func NewGetImageApiV1ImageImageIdGetRequest(server string, imageId string) (*http.Request, error)
- func NewGetProjectApiV1ProjectProjectIdGetRequest(server string, projectId string) (*http.Request, error)
- func NewGetQuotaApiV1ProjectProjectIdQuotaGetRequest(server string, projectId string) (*http.Request, error)
- func NewGetUserApiV1UserUserIdGetRequest(server string, userId string) (*http.Request, error)
- func NewGetUserForProjectApiV1ProjectProjectIdUserGetRequest(server string, projectId string) (*http.Request, error)
- func NewListProjectsApiV1ProjectGetRequest(server string) (*http.Request, error)
- func NewListUsersApiV1UserGetRequest(server string) (*http.Request, error)
- func NewLoginAccessTokenApiV1AuthLoginAccessTokenPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLoginAccessTokenApiV1AuthLoginAccessTokenPostRequestWithFormdataBody(server string, ...) (*http.Request, error)
- func NewRemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteRequest(server string, projectId string, userId string) (*http.Request, error)
- func NewTestTokenApiV1AuthLoginTestTokenPostRequest(server string) (*http.Request, error)
- func NewUpdateImageVisibilityApiV1ImageImageIdVisibilityPutRequest(server string, imageId string, ...) (*http.Request, error)
- func NewUpdateImageVisibilityApiV1ImageImageIdVisibilityPutRequestWithBody(server string, imageId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateProjectApiV1ProjectProjectIdPutRequest(server string, projectId string, ...) (*http.Request, error)
- func NewUpdateProjectApiV1ProjectProjectIdPutRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateQuotaApiV1ProjectProjectIdQuotaPutRequest(server string, projectId string, ...) (*http.Request, error)
- func NewUpdateQuotaApiV1ProjectProjectIdQuotaPutRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateUserApiV1UserUserIdPutRequest(server string, userId string, body UpdateUserApiV1UserUserIdPutJSONRequestBody) (*http.Request, error)
- func NewUpdateUserApiV1UserUserIdPutRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
- type AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse
- type BaseModel
- type BodyLoginAccessTokenApiV1AuthLoginAccessTokenPost
- type Client
- func (c *Client) AddUserToProjectApiV1ProjectProjectIdUserUserIdPost(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) CreateProjectApiV1ProjectPost(ctx context.Context, body CreateProjectApiV1ProjectPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProjectApiV1ProjectPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateUserApiV1UserPost(ctx context.Context, body CreateUserApiV1UserPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateUserApiV1UserPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteProjectApiV1ProjectProjectIdDelete(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteUserApiV1UserUserIdDelete(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetImageApiV1ImageImageIdGet(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectApiV1ProjectProjectIdGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetQuotaApiV1ProjectProjectIdQuotaGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserApiV1UserUserIdGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserForProjectApiV1ProjectProjectIdUserGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListProjectsApiV1ProjectGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListUsersApiV1UserGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithFormdataBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDelete(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) TestTokenApiV1AuthLoginTestTokenPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateImageVisibilityApiV1ImageImageIdVisibilityPut(ctx context.Context, imageId string, ...) (*http.Response, error)
- func (c *Client) UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBody(ctx context.Context, imageId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateProjectApiV1ProjectProjectIdPut(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) UpdateProjectApiV1ProjectProjectIdPutWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateQuotaApiV1ProjectProjectIdQuotaPut(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateUserApiV1UserUserIdPut(ctx context.Context, userId string, ...) (*http.Response, error)
- func (c *Client) UpdateUserApiV1UserUserIdPutWithBody(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddUserToProjectApiV1ProjectProjectIdUserUserIdPostWithResponse(ctx context.Context, projectId string, userId string, ...) (*AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse, error)
- func (c *ClientWithResponses) CreateProjectApiV1ProjectPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateProjectApiV1ProjectPostResponse, error)
- func (c *ClientWithResponses) CreateProjectApiV1ProjectPostWithResponse(ctx context.Context, body CreateProjectApiV1ProjectPostJSONRequestBody, ...) (*CreateProjectApiV1ProjectPostResponse, error)
- func (c *ClientWithResponses) CreateUserApiV1UserPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateUserApiV1UserPostResponse, error)
- func (c *ClientWithResponses) CreateUserApiV1UserPostWithResponse(ctx context.Context, body CreateUserApiV1UserPostJSONRequestBody, ...) (*CreateUserApiV1UserPostResponse, error)
- func (c *ClientWithResponses) DeleteProjectApiV1ProjectProjectIdDeleteWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*DeleteProjectApiV1ProjectProjectIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteUserApiV1UserUserIdDeleteWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserApiV1UserUserIdDeleteResponse, error)
- func (c *ClientWithResponses) GetImageApiV1ImageImageIdGetWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*GetImageApiV1ImageImageIdGetResponse, error)
- func (c *ClientWithResponses) GetProjectApiV1ProjectProjectIdGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectApiV1ProjectProjectIdGetResponse, error)
- func (c *ClientWithResponses) GetQuotaApiV1ProjectProjectIdQuotaGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetQuotaApiV1ProjectProjectIdQuotaGetResponse, error)
- func (c *ClientWithResponses) GetUserApiV1UserUserIdGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserApiV1UserUserIdGetResponse, error)
- func (c *ClientWithResponses) GetUserForProjectApiV1ProjectProjectIdUserGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetUserForProjectApiV1ProjectProjectIdUserGetResponse, error)
- func (c *ClientWithResponses) ListProjectsApiV1ProjectGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProjectsApiV1ProjectGetResponse, error)
- func (c *ClientWithResponses) ListUsersApiV1UserGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUsersApiV1UserGetResponse, error)
- func (c *ClientWithResponses) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse, error)
- func (c *ClientWithResponses) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithFormdataBodyWithResponse(ctx context.Context, ...) (*LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse, error)
- func (c *ClientWithResponses) RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteWithResponse(ctx context.Context, projectId string, userId string, ...) (*RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse, error)
- func (c *ClientWithResponses) TestTokenApiV1AuthLoginTestTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestTokenApiV1AuthLoginTestTokenPostResponse, error)
- func (c *ClientWithResponses) UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBodyWithResponse(ctx context.Context, imageId string, contentType string, body io.Reader, ...) (*UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse, error)
- func (c *ClientWithResponses) UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithResponse(ctx context.Context, imageId string, ...) (*UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse, error)
- func (c *ClientWithResponses) UpdateProjectApiV1ProjectProjectIdPutWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*UpdateProjectApiV1ProjectProjectIdPutResponse, error)
- func (c *ClientWithResponses) UpdateProjectApiV1ProjectProjectIdPutWithResponse(ctx context.Context, projectId string, ...) (*UpdateProjectApiV1ProjectProjectIdPutResponse, error)
- func (c *ClientWithResponses) UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse, error)
- func (c *ClientWithResponses) UpdateQuotaApiV1ProjectProjectIdQuotaPutWithResponse(ctx context.Context, projectId string, ...) (*UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse, error)
- func (c *ClientWithResponses) UpdateUserApiV1UserUserIdPutWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*UpdateUserApiV1UserUserIdPutResponse, error)
- func (c *ClientWithResponses) UpdateUserApiV1UserUserIdPutWithResponse(ctx context.Context, userId string, ...) (*UpdateUserApiV1UserUserIdPutResponse, error)
- type ClientWithResponsesInterface
- type ComputeQuotas
- type CreateOpenStackUser
- type CreateProjectApiV1ProjectPostJSONRequestBody
- type CreateProjectApiV1ProjectPostResponse
- type CreateUserApiV1UserPostJSONRequestBody
- type CreateUserApiV1UserPostResponse
- type CreatedOpenStackUser
- type DeleteProjectApiV1ProjectProjectIdDeleteResponse
- type DeleteUserApiV1UserUserIdDeleteResponse
- type GetImageApiV1ImageImageIdGetResponse
- type GetProjectApiV1ProjectProjectIdGetResponse
- type GetQuotaApiV1ProjectProjectIdQuotaGetResponse
- type GetUserApiV1UserUserIdGetResponse
- type GetUserForProjectApiV1ProjectProjectIdUserGetResponse
- type HTTPValidationError
- type HttpRequestDoer
- type ImageResponse
- type ImageVisibility
- type ListAPIResponseCreatedOpenStackUser
- type ListAPIResponseProjectCreatedResponse
- type ListAPIResponseProjectUser
- type ListProjectsApiV1ProjectGetResponse
- type ListUsersApiV1UserGetResponse
- type LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody
- type LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse
- type NetworkQuotas
- type ProjectCreate
- type ProjectCreatedResponse
- type ProjectUpdate
- type ProjectUser
- type RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse
- type RequestEditorFn
- type SingleAPIResponse
- type SingleAPIResponseCreatedOpenStackUser
- type SingleAPIResponseImageResponse
- type SingleAPIResponseProjectCreatedResponse
- type SingleAPIResponseUpdateQuota
- type TestTokenApiV1AuthLoginTestTokenPostResponse
- type Token
- type UpdateImageVisibility
- type UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody
- type UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse
- type UpdateOpenStackUser
- type UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody
- type UpdateProjectApiV1ProjectProjectIdPutResponse
- type UpdateQuota
- type UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody
- type UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse
- type UpdateUserApiV1UserUserIdPutJSONRequestBody
- type UpdateUserApiV1UserUserIdPutResponse
- type ValidationError
- type ValidationErrorLoc0
- type ValidationErrorLoc1
- type ValidationError_Loc_Item
- func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
- func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
- type VaultUser
- type VolumeQuotas
Constants ¶
const (
OAuth2PasswordBearerScopes oAuth2PasswordBearerContextKey = "OAuth2PasswordBearer.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewAddUserToProjectApiV1ProjectProjectIdUserUserIdPostRequest ¶
func NewAddUserToProjectApiV1ProjectProjectIdUserUserIdPostRequest(server string, projectId string, userId string) (*http.Request, error)
NewAddUserToProjectApiV1ProjectProjectIdUserUserIdPostRequest generates requests for AddUserToProjectApiV1ProjectProjectIdUserUserIdPost
func NewCreateProjectApiV1ProjectPostRequest ¶
func NewCreateProjectApiV1ProjectPostRequest(server string, body CreateProjectApiV1ProjectPostJSONRequestBody) (*http.Request, error)
NewCreateProjectApiV1ProjectPostRequest calls the generic CreateProjectApiV1ProjectPost builder with application/json body
func NewCreateProjectApiV1ProjectPostRequestWithBody ¶
func NewCreateProjectApiV1ProjectPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectApiV1ProjectPostRequestWithBody generates requests for CreateProjectApiV1ProjectPost with any type of body
func NewCreateUserApiV1UserPostRequest ¶
func NewCreateUserApiV1UserPostRequest(server string, body CreateUserApiV1UserPostJSONRequestBody) (*http.Request, error)
NewCreateUserApiV1UserPostRequest calls the generic CreateUserApiV1UserPost builder with application/json body
func NewCreateUserApiV1UserPostRequestWithBody ¶
func NewCreateUserApiV1UserPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateUserApiV1UserPostRequestWithBody generates requests for CreateUserApiV1UserPost with any type of body
func NewDeleteProjectApiV1ProjectProjectIdDeleteRequest ¶
func NewDeleteProjectApiV1ProjectProjectIdDeleteRequest(server string, projectId string) (*http.Request, error)
NewDeleteProjectApiV1ProjectProjectIdDeleteRequest generates requests for DeleteProjectApiV1ProjectProjectIdDelete
func NewDeleteUserApiV1UserUserIdDeleteRequest ¶
NewDeleteUserApiV1UserUserIdDeleteRequest generates requests for DeleteUserApiV1UserUserIdDelete
func NewGetImageApiV1ImageImageIdGetRequest ¶ added in v0.2.0
NewGetImageApiV1ImageImageIdGetRequest generates requests for GetImageApiV1ImageImageIdGet
func NewGetProjectApiV1ProjectProjectIdGetRequest ¶
func NewGetProjectApiV1ProjectProjectIdGetRequest(server string, projectId string) (*http.Request, error)
NewGetProjectApiV1ProjectProjectIdGetRequest generates requests for GetProjectApiV1ProjectProjectIdGet
func NewGetQuotaApiV1ProjectProjectIdQuotaGetRequest ¶
func NewGetQuotaApiV1ProjectProjectIdQuotaGetRequest(server string, projectId string) (*http.Request, error)
NewGetQuotaApiV1ProjectProjectIdQuotaGetRequest generates requests for GetQuotaApiV1ProjectProjectIdQuotaGet
func NewGetUserApiV1UserUserIdGetRequest ¶
NewGetUserApiV1UserUserIdGetRequest generates requests for GetUserApiV1UserUserIdGet
func NewGetUserForProjectApiV1ProjectProjectIdUserGetRequest ¶
func NewGetUserForProjectApiV1ProjectProjectIdUserGetRequest(server string, projectId string) (*http.Request, error)
NewGetUserForProjectApiV1ProjectProjectIdUserGetRequest generates requests for GetUserForProjectApiV1ProjectProjectIdUserGet
func NewListProjectsApiV1ProjectGetRequest ¶
NewListProjectsApiV1ProjectGetRequest generates requests for ListProjectsApiV1ProjectGet
func NewListUsersApiV1UserGetRequest ¶
NewListUsersApiV1UserGetRequest generates requests for ListUsersApiV1UserGet
func NewLoginAccessTokenApiV1AuthLoginAccessTokenPostRequestWithBody ¶
func NewLoginAccessTokenApiV1AuthLoginAccessTokenPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLoginAccessTokenApiV1AuthLoginAccessTokenPostRequestWithBody generates requests for LoginAccessTokenApiV1AuthLoginAccessTokenPost with any type of body
func NewLoginAccessTokenApiV1AuthLoginAccessTokenPostRequestWithFormdataBody ¶ added in v0.2.0
func NewLoginAccessTokenApiV1AuthLoginAccessTokenPostRequestWithFormdataBody(server string, body LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody) (*http.Request, error)
NewLoginAccessTokenApiV1AuthLoginAccessTokenPostRequestWithFormdataBody calls the generic LoginAccessTokenApiV1AuthLoginAccessTokenPost builder with application/x-www-form-urlencoded body
func NewRemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteRequest ¶
func NewRemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteRequest(server string, projectId string, userId string) (*http.Request, error)
NewRemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteRequest generates requests for RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDelete
func NewTestTokenApiV1AuthLoginTestTokenPostRequest ¶
NewTestTokenApiV1AuthLoginTestTokenPostRequest generates requests for TestTokenApiV1AuthLoginTestTokenPost
func NewUpdateImageVisibilityApiV1ImageImageIdVisibilityPutRequest ¶ added in v0.2.0
func NewUpdateImageVisibilityApiV1ImageImageIdVisibilityPutRequest(server string, imageId string, body UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody) (*http.Request, error)
NewUpdateImageVisibilityApiV1ImageImageIdVisibilityPutRequest calls the generic UpdateImageVisibilityApiV1ImageImageIdVisibilityPut builder with application/json body
func NewUpdateImageVisibilityApiV1ImageImageIdVisibilityPutRequestWithBody ¶ added in v0.2.0
func NewUpdateImageVisibilityApiV1ImageImageIdVisibilityPutRequestWithBody(server string, imageId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateImageVisibilityApiV1ImageImageIdVisibilityPutRequestWithBody generates requests for UpdateImageVisibilityApiV1ImageImageIdVisibilityPut with any type of body
func NewUpdateProjectApiV1ProjectProjectIdPutRequest ¶
func NewUpdateProjectApiV1ProjectProjectIdPutRequest(server string, projectId string, body UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody) (*http.Request, error)
NewUpdateProjectApiV1ProjectProjectIdPutRequest calls the generic UpdateProjectApiV1ProjectProjectIdPut builder with application/json body
func NewUpdateProjectApiV1ProjectProjectIdPutRequestWithBody ¶
func NewUpdateProjectApiV1ProjectProjectIdPutRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProjectApiV1ProjectProjectIdPutRequestWithBody generates requests for UpdateProjectApiV1ProjectProjectIdPut with any type of body
func NewUpdateQuotaApiV1ProjectProjectIdQuotaPutRequest ¶
func NewUpdateQuotaApiV1ProjectProjectIdQuotaPutRequest(server string, projectId string, body UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody) (*http.Request, error)
NewUpdateQuotaApiV1ProjectProjectIdQuotaPutRequest calls the generic UpdateQuotaApiV1ProjectProjectIdQuotaPut builder with application/json body
func NewUpdateQuotaApiV1ProjectProjectIdQuotaPutRequestWithBody ¶
func NewUpdateQuotaApiV1ProjectProjectIdQuotaPutRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateQuotaApiV1ProjectProjectIdQuotaPutRequestWithBody generates requests for UpdateQuotaApiV1ProjectProjectIdQuotaPut with any type of body
func NewUpdateUserApiV1UserUserIdPutRequest ¶
func NewUpdateUserApiV1UserUserIdPutRequest(server string, userId string, body UpdateUserApiV1UserUserIdPutJSONRequestBody) (*http.Request, error)
NewUpdateUserApiV1UserUserIdPutRequest calls the generic UpdateUserApiV1UserUserIdPut builder with application/json body
func NewUpdateUserApiV1UserUserIdPutRequestWithBody ¶
func NewUpdateUserApiV1UserUserIdPutRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateUserApiV1UserUserIdPutRequestWithBody generates requests for UpdateUserApiV1UserUserIdPut with any type of body
Types ¶
type AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse ¶
type AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseAddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse ¶
func ParseAddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse(rsp *http.Response) (*AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse, error)
ParseAddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse parses an HTTP response from a AddUserToProjectApiV1ProjectProjectIdUserUserIdPostWithResponse call
func (AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse) ContentType ¶ added in v0.2.0
func (r AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse) Status ¶
func (r AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse) Status() string
Status returns HTTPResponse.Status
func (AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse) StatusCode ¶
func (r AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BodyLoginAccessTokenApiV1AuthLoginAccessTokenPost ¶
type BodyLoginAccessTokenApiV1AuthLoginAccessTokenPost struct {
ClientId *string `json:"client_id,omitempty"`
ClientSecret *string `json:"client_secret,omitempty"`
GrantType *string `json:"grant_type,omitempty"`
Password string `json:"password"`
Scope *string `json:"scope,omitempty"`
Username string `json:"username"`
}
BodyLoginAccessTokenApiV1AuthLoginAccessTokenPost defines model for Body_login_access_token_api_v1_auth_login_access_token_post.
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) AddUserToProjectApiV1ProjectProjectIdUserUserIdPost ¶
func (*Client) CreateProjectApiV1ProjectPost ¶
func (c *Client) CreateProjectApiV1ProjectPost(ctx context.Context, body CreateProjectApiV1ProjectPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectApiV1ProjectPostWithBody ¶
func (*Client) CreateUserApiV1UserPost ¶
func (c *Client) CreateUserApiV1UserPost(ctx context.Context, body CreateUserApiV1UserPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateUserApiV1UserPostWithBody ¶
func (*Client) DeleteProjectApiV1ProjectProjectIdDelete ¶
func (*Client) DeleteUserApiV1UserUserIdDelete ¶
func (*Client) GetImageApiV1ImageImageIdGet ¶ added in v0.2.0
func (*Client) GetProjectApiV1ProjectProjectIdGet ¶
func (*Client) GetQuotaApiV1ProjectProjectIdQuotaGet ¶
func (*Client) GetUserApiV1UserUserIdGet ¶
func (*Client) GetUserForProjectApiV1ProjectProjectIdUserGet ¶
func (*Client) ListProjectsApiV1ProjectGet ¶
func (*Client) ListUsersApiV1UserGet ¶
func (*Client) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBody ¶
func (*Client) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithFormdataBody ¶ added in v0.2.0
func (c *Client) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithFormdataBody(ctx context.Context, body LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDelete ¶
func (*Client) TestTokenApiV1AuthLoginTestTokenPost ¶
func (*Client) UpdateImageVisibilityApiV1ImageImageIdVisibilityPut ¶ added in v0.2.0
func (c *Client) UpdateImageVisibilityApiV1ImageImageIdVisibilityPut(ctx context.Context, imageId string, body UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBody ¶ added in v0.2.0
func (*Client) UpdateProjectApiV1ProjectProjectIdPut ¶
func (c *Client) UpdateProjectApiV1ProjectProjectIdPut(ctx context.Context, projectId string, body UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProjectApiV1ProjectProjectIdPutWithBody ¶
func (*Client) UpdateQuotaApiV1ProjectProjectIdQuotaPut ¶
func (c *Client) UpdateQuotaApiV1ProjectProjectIdQuotaPut(ctx context.Context, projectId string, body UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBody ¶
func (*Client) UpdateUserApiV1UserUserIdPut ¶
func (c *Client) UpdateUserApiV1UserUserIdPut(ctx context.Context, userId string, body UpdateUserApiV1UserUserIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBody request with any body
LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoginAccessTokenApiV1AuthLoginAccessTokenPostWithFormdataBody(ctx context.Context, body LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestTokenApiV1AuthLoginTestTokenPost request
TestTokenApiV1AuthLoginTestTokenPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImageApiV1ImageImageIdGet request
GetImageApiV1ImageImageIdGet(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBody request with any body
UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBody(ctx context.Context, imageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateImageVisibilityApiV1ImageImageIdVisibilityPut(ctx context.Context, imageId string, body UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectsApiV1ProjectGet request
ListProjectsApiV1ProjectGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectApiV1ProjectPostWithBody request with any body
CreateProjectApiV1ProjectPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectApiV1ProjectPost(ctx context.Context, body CreateProjectApiV1ProjectPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProjectApiV1ProjectProjectIdDelete request
DeleteProjectApiV1ProjectProjectIdDelete(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectApiV1ProjectProjectIdGet request
GetProjectApiV1ProjectProjectIdGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProjectApiV1ProjectProjectIdPutWithBody request with any body
UpdateProjectApiV1ProjectProjectIdPutWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProjectApiV1ProjectProjectIdPut(ctx context.Context, projectId string, body UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetQuotaApiV1ProjectProjectIdQuotaGet request
GetQuotaApiV1ProjectProjectIdQuotaGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBody request with any body
UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateQuotaApiV1ProjectProjectIdQuotaPut(ctx context.Context, projectId string, body UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserForProjectApiV1ProjectProjectIdUserGet request
GetUserForProjectApiV1ProjectProjectIdUserGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDelete request
RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDelete(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddUserToProjectApiV1ProjectProjectIdUserUserIdPost request
AddUserToProjectApiV1ProjectProjectIdUserUserIdPost(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUsersApiV1UserGet request
ListUsersApiV1UserGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUserApiV1UserPostWithBody request with any body
CreateUserApiV1UserPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUserApiV1UserPost(ctx context.Context, body CreateUserApiV1UserPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUserApiV1UserUserIdDelete request
DeleteUserApiV1UserUserIdDelete(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserApiV1UserUserIdGet request
GetUserApiV1UserUserIdGet(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUserApiV1UserUserIdPutWithBody request with any body
UpdateUserApiV1UserUserIdPutWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUserApiV1UserUserIdPut(ctx context.Context, userId string, body UpdateUserApiV1UserUserIdPutJSONRequestBody, 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 (*ClientWithResponses) AddUserToProjectApiV1ProjectProjectIdUserUserIdPostWithResponse ¶
func (c *ClientWithResponses) AddUserToProjectApiV1ProjectProjectIdUserUserIdPostWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse, error)
AddUserToProjectApiV1ProjectProjectIdUserUserIdPostWithResponse request returning *AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse
func (*ClientWithResponses) CreateProjectApiV1ProjectPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectApiV1ProjectPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectApiV1ProjectPostResponse, error)
CreateProjectApiV1ProjectPostWithBodyWithResponse request with arbitrary body returning *CreateProjectApiV1ProjectPostResponse
func (*ClientWithResponses) CreateProjectApiV1ProjectPostWithResponse ¶
func (c *ClientWithResponses) CreateProjectApiV1ProjectPostWithResponse(ctx context.Context, body CreateProjectApiV1ProjectPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectApiV1ProjectPostResponse, error)
func (*ClientWithResponses) CreateUserApiV1UserPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateUserApiV1UserPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserApiV1UserPostResponse, error)
CreateUserApiV1UserPostWithBodyWithResponse request with arbitrary body returning *CreateUserApiV1UserPostResponse
func (*ClientWithResponses) CreateUserApiV1UserPostWithResponse ¶
func (c *ClientWithResponses) CreateUserApiV1UserPostWithResponse(ctx context.Context, body CreateUserApiV1UserPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserApiV1UserPostResponse, error)
func (*ClientWithResponses) DeleteProjectApiV1ProjectProjectIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteProjectApiV1ProjectProjectIdDeleteWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*DeleteProjectApiV1ProjectProjectIdDeleteResponse, error)
DeleteProjectApiV1ProjectProjectIdDeleteWithResponse request returning *DeleteProjectApiV1ProjectProjectIdDeleteResponse
func (*ClientWithResponses) DeleteUserApiV1UserUserIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteUserApiV1UserUserIdDeleteWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserApiV1UserUserIdDeleteResponse, error)
DeleteUserApiV1UserUserIdDeleteWithResponse request returning *DeleteUserApiV1UserUserIdDeleteResponse
func (*ClientWithResponses) GetImageApiV1ImageImageIdGetWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) GetImageApiV1ImageImageIdGetWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*GetImageApiV1ImageImageIdGetResponse, error)
GetImageApiV1ImageImageIdGetWithResponse request returning *GetImageApiV1ImageImageIdGetResponse
func (*ClientWithResponses) GetProjectApiV1ProjectProjectIdGetWithResponse ¶
func (c *ClientWithResponses) GetProjectApiV1ProjectProjectIdGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectApiV1ProjectProjectIdGetResponse, error)
GetProjectApiV1ProjectProjectIdGetWithResponse request returning *GetProjectApiV1ProjectProjectIdGetResponse
func (*ClientWithResponses) GetQuotaApiV1ProjectProjectIdQuotaGetWithResponse ¶
func (c *ClientWithResponses) GetQuotaApiV1ProjectProjectIdQuotaGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetQuotaApiV1ProjectProjectIdQuotaGetResponse, error)
GetQuotaApiV1ProjectProjectIdQuotaGetWithResponse request returning *GetQuotaApiV1ProjectProjectIdQuotaGetResponse
func (*ClientWithResponses) GetUserApiV1UserUserIdGetWithResponse ¶
func (c *ClientWithResponses) GetUserApiV1UserUserIdGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserApiV1UserUserIdGetResponse, error)
GetUserApiV1UserUserIdGetWithResponse request returning *GetUserApiV1UserUserIdGetResponse
func (*ClientWithResponses) GetUserForProjectApiV1ProjectProjectIdUserGetWithResponse ¶
func (c *ClientWithResponses) GetUserForProjectApiV1ProjectProjectIdUserGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetUserForProjectApiV1ProjectProjectIdUserGetResponse, error)
GetUserForProjectApiV1ProjectProjectIdUserGetWithResponse request returning *GetUserForProjectApiV1ProjectProjectIdUserGetResponse
func (*ClientWithResponses) ListProjectsApiV1ProjectGetWithResponse ¶
func (c *ClientWithResponses) ListProjectsApiV1ProjectGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProjectsApiV1ProjectGetResponse, error)
ListProjectsApiV1ProjectGetWithResponse request returning *ListProjectsApiV1ProjectGetResponse
func (*ClientWithResponses) ListUsersApiV1UserGetWithResponse ¶
func (c *ClientWithResponses) ListUsersApiV1UserGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUsersApiV1UserGetResponse, error)
ListUsersApiV1UserGetWithResponse request returning *ListUsersApiV1UserGetResponse
func (*ClientWithResponses) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBodyWithResponse ¶
func (c *ClientWithResponses) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse, error)
LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBodyWithResponse request with arbitrary body returning *LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse
func (*ClientWithResponses) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithFormdataBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) LoginAccessTokenApiV1AuthLoginAccessTokenPostWithFormdataBodyWithResponse(ctx context.Context, body LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse, error)
func (*ClientWithResponses) RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteWithResponse ¶
func (c *ClientWithResponses) RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse, error)
RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteWithResponse request returning *RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse
func (*ClientWithResponses) TestTokenApiV1AuthLoginTestTokenPostWithResponse ¶
func (c *ClientWithResponses) TestTokenApiV1AuthLoginTestTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestTokenApiV1AuthLoginTestTokenPostResponse, error)
TestTokenApiV1AuthLoginTestTokenPostWithResponse request returning *TestTokenApiV1AuthLoginTestTokenPostResponse
func (*ClientWithResponses) UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBodyWithResponse(ctx context.Context, imageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse, error)
UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBodyWithResponse request with arbitrary body returning *UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse
func (*ClientWithResponses) UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithResponse(ctx context.Context, imageId string, body UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse, error)
func (*ClientWithResponses) UpdateProjectApiV1ProjectProjectIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProjectApiV1ProjectProjectIdPutWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectApiV1ProjectProjectIdPutResponse, error)
UpdateProjectApiV1ProjectProjectIdPutWithBodyWithResponse request with arbitrary body returning *UpdateProjectApiV1ProjectProjectIdPutResponse
func (*ClientWithResponses) UpdateProjectApiV1ProjectProjectIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateProjectApiV1ProjectProjectIdPutWithResponse(ctx context.Context, projectId string, body UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectApiV1ProjectProjectIdPutResponse, error)
func (*ClientWithResponses) UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse, error)
UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBodyWithResponse request with arbitrary body returning *UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse
func (*ClientWithResponses) UpdateQuotaApiV1ProjectProjectIdQuotaPutWithResponse ¶
func (c *ClientWithResponses) UpdateQuotaApiV1ProjectProjectIdQuotaPutWithResponse(ctx context.Context, projectId string, body UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse, error)
func (*ClientWithResponses) UpdateUserApiV1UserUserIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateUserApiV1UserUserIdPutWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserApiV1UserUserIdPutResponse, error)
UpdateUserApiV1UserUserIdPutWithBodyWithResponse request with arbitrary body returning *UpdateUserApiV1UserUserIdPutResponse
func (*ClientWithResponses) UpdateUserApiV1UserUserIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateUserApiV1UserUserIdPutWithResponse(ctx context.Context, userId string, body UpdateUserApiV1UserUserIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserApiV1UserUserIdPutResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBodyWithResponse request with any body
LoginAccessTokenApiV1AuthLoginAccessTokenPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse, error)
LoginAccessTokenApiV1AuthLoginAccessTokenPostWithFormdataBodyWithResponse(ctx context.Context, body LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse, error)
// TestTokenApiV1AuthLoginTestTokenPostWithResponse request
TestTokenApiV1AuthLoginTestTokenPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestTokenApiV1AuthLoginTestTokenPostResponse, error)
// GetImageApiV1ImageImageIdGetWithResponse request
GetImageApiV1ImageImageIdGetWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*GetImageApiV1ImageImageIdGetResponse, error)
// UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBodyWithResponse request with any body
UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithBodyWithResponse(ctx context.Context, imageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse, error)
UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithResponse(ctx context.Context, imageId string, body UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse, error)
// ListProjectsApiV1ProjectGetWithResponse request
ListProjectsApiV1ProjectGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProjectsApiV1ProjectGetResponse, error)
// CreateProjectApiV1ProjectPostWithBodyWithResponse request with any body
CreateProjectApiV1ProjectPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectApiV1ProjectPostResponse, error)
CreateProjectApiV1ProjectPostWithResponse(ctx context.Context, body CreateProjectApiV1ProjectPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectApiV1ProjectPostResponse, error)
// DeleteProjectApiV1ProjectProjectIdDeleteWithResponse request
DeleteProjectApiV1ProjectProjectIdDeleteWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*DeleteProjectApiV1ProjectProjectIdDeleteResponse, error)
// GetProjectApiV1ProjectProjectIdGetWithResponse request
GetProjectApiV1ProjectProjectIdGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectApiV1ProjectProjectIdGetResponse, error)
// UpdateProjectApiV1ProjectProjectIdPutWithBodyWithResponse request with any body
UpdateProjectApiV1ProjectProjectIdPutWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectApiV1ProjectProjectIdPutResponse, error)
UpdateProjectApiV1ProjectProjectIdPutWithResponse(ctx context.Context, projectId string, body UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectApiV1ProjectProjectIdPutResponse, error)
// GetQuotaApiV1ProjectProjectIdQuotaGetWithResponse request
GetQuotaApiV1ProjectProjectIdQuotaGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetQuotaApiV1ProjectProjectIdQuotaGetResponse, error)
// UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBodyWithResponse request with any body
UpdateQuotaApiV1ProjectProjectIdQuotaPutWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse, error)
UpdateQuotaApiV1ProjectProjectIdQuotaPutWithResponse(ctx context.Context, projectId string, body UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse, error)
// GetUserForProjectApiV1ProjectProjectIdUserGetWithResponse request
GetUserForProjectApiV1ProjectProjectIdUserGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetUserForProjectApiV1ProjectProjectIdUserGetResponse, error)
// RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteWithResponse request
RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse, error)
// AddUserToProjectApiV1ProjectProjectIdUserUserIdPostWithResponse request
AddUserToProjectApiV1ProjectProjectIdUserUserIdPostWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*AddUserToProjectApiV1ProjectProjectIdUserUserIdPostResponse, error)
// ListUsersApiV1UserGetWithResponse request
ListUsersApiV1UserGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUsersApiV1UserGetResponse, error)
// CreateUserApiV1UserPostWithBodyWithResponse request with any body
CreateUserApiV1UserPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserApiV1UserPostResponse, error)
CreateUserApiV1UserPostWithResponse(ctx context.Context, body CreateUserApiV1UserPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserApiV1UserPostResponse, error)
// DeleteUserApiV1UserUserIdDeleteWithResponse request
DeleteUserApiV1UserUserIdDeleteWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserApiV1UserUserIdDeleteResponse, error)
// GetUserApiV1UserUserIdGetWithResponse request
GetUserApiV1UserUserIdGetWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserApiV1UserUserIdGetResponse, error)
// UpdateUserApiV1UserUserIdPutWithBodyWithResponse request with any body
UpdateUserApiV1UserUserIdPutWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserApiV1UserUserIdPutResponse, error)
UpdateUserApiV1UserUserIdPutWithResponse(ctx context.Context, userId string, body UpdateUserApiV1UserUserIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserApiV1UserUserIdPutResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ComputeQuotas ¶
type ComputeQuotas struct {
// Cores Number of VCPUs
Cores *int `json:"cores,omitempty"`
FixedIps *int `json:"fixed_ips,omitempty"`
// FloatingIps The number of allowed floating IP addresses for each project
FloatingIps *int `json:"floating_ips,omitempty"`
InjectedFileContentBytes *int `json:"injected_file_content_bytes,omitempty"`
InjectedFilePathBytes *int `json:"injected_file_path_bytes,omitempty"`
InjectedFiles *int `json:"injected_files,omitempty"`
Instances int `json:"instances"`
KeyPairs int `json:"key_pairs"`
MetadataItems int `json:"metadata_items"`
// Ram Maximum amount of RAM in MiB
Ram *int `json:"ram,omitempty"`
SecurityGroupRules *int `json:"security_group_rules,omitempty"`
SecurityGroups *int `json:"security_groups,omitempty"`
ServerGroupMembers *int `json:"server_group_members,omitempty"`
ServerGroups int `json:"server_groups"`
}
ComputeQuotas defines model for ComputeQuotas.
type CreateOpenStackUser ¶
type CreateOpenStackUser struct {
// DefaultProject Option to set the users default project via the project id
DefaultProject *string `json:"default_project,omitempty"`
// Description Description of the pluscloud open user
Description string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
// Name Username (like E-Mail) to login into the pluscloud open
Name string `json:"name"`
Password string `json:"password"`
}
CreateOpenStackUser defines model for CreateOpenStackUser.
type CreateProjectApiV1ProjectPostJSONRequestBody ¶
type CreateProjectApiV1ProjectPostJSONRequestBody = ProjectCreate
CreateProjectApiV1ProjectPostJSONRequestBody defines body for CreateProjectApiV1ProjectPost for application/json ContentType.
type CreateProjectApiV1ProjectPostResponse ¶
type CreateProjectApiV1ProjectPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SingleAPIResponseProjectCreatedResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseCreateProjectApiV1ProjectPostResponse ¶
func ParseCreateProjectApiV1ProjectPostResponse(rsp *http.Response) (*CreateProjectApiV1ProjectPostResponse, error)
ParseCreateProjectApiV1ProjectPostResponse parses an HTTP response from a CreateProjectApiV1ProjectPostWithResponse call
func (CreateProjectApiV1ProjectPostResponse) ContentType ¶ added in v0.2.0
func (r CreateProjectApiV1ProjectPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProjectApiV1ProjectPostResponse) Status ¶
func (r CreateProjectApiV1ProjectPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectApiV1ProjectPostResponse) StatusCode ¶
func (r CreateProjectApiV1ProjectPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateUserApiV1UserPostJSONRequestBody ¶
type CreateUserApiV1UserPostJSONRequestBody = CreateOpenStackUser
CreateUserApiV1UserPostJSONRequestBody defines body for CreateUserApiV1UserPost for application/json ContentType.
type CreateUserApiV1UserPostResponse ¶
type CreateUserApiV1UserPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SingleAPIResponseCreatedOpenStackUser
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseCreateUserApiV1UserPostResponse ¶
func ParseCreateUserApiV1UserPostResponse(rsp *http.Response) (*CreateUserApiV1UserPostResponse, error)
ParseCreateUserApiV1UserPostResponse parses an HTTP response from a CreateUserApiV1UserPostWithResponse call
func (CreateUserApiV1UserPostResponse) ContentType ¶ added in v0.2.0
func (r CreateUserApiV1UserPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateUserApiV1UserPostResponse) Status ¶
func (r CreateUserApiV1UserPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateUserApiV1UserPostResponse) StatusCode ¶
func (r CreateUserApiV1UserPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatedOpenStackUser ¶
type CreatedOpenStackUser struct {
// DefaultProject Option to set the users default project via the project id
DefaultProject *string `json:"default_project,omitempty"`
// Description Description of the pluscloud open user
Description string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
Id string `json:"id"`
// Name Username (like E-Mail) to login into the pluscloud open
Name string `json:"name"`
}
CreatedOpenStackUser defines model for CreatedOpenStackUser.
type DeleteProjectApiV1ProjectProjectIdDeleteResponse ¶
type DeleteProjectApiV1ProjectProjectIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON404 *SingleAPIResponse
JSON405 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseDeleteProjectApiV1ProjectProjectIdDeleteResponse ¶
func ParseDeleteProjectApiV1ProjectProjectIdDeleteResponse(rsp *http.Response) (*DeleteProjectApiV1ProjectProjectIdDeleteResponse, error)
ParseDeleteProjectApiV1ProjectProjectIdDeleteResponse parses an HTTP response from a DeleteProjectApiV1ProjectProjectIdDeleteWithResponse call
func (DeleteProjectApiV1ProjectProjectIdDeleteResponse) ContentType ¶ added in v0.2.0
func (r DeleteProjectApiV1ProjectProjectIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteProjectApiV1ProjectProjectIdDeleteResponse) Status ¶
func (r DeleteProjectApiV1ProjectProjectIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectApiV1ProjectProjectIdDeleteResponse) StatusCode ¶
func (r DeleteProjectApiV1ProjectProjectIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUserApiV1UserUserIdDeleteResponse ¶
type DeleteUserApiV1UserUserIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON404 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseDeleteUserApiV1UserUserIdDeleteResponse ¶
func ParseDeleteUserApiV1UserUserIdDeleteResponse(rsp *http.Response) (*DeleteUserApiV1UserUserIdDeleteResponse, error)
ParseDeleteUserApiV1UserUserIdDeleteResponse parses an HTTP response from a DeleteUserApiV1UserUserIdDeleteWithResponse call
func (DeleteUserApiV1UserUserIdDeleteResponse) ContentType ¶ added in v0.2.0
func (r DeleteUserApiV1UserUserIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUserApiV1UserUserIdDeleteResponse) Status ¶
func (r DeleteUserApiV1UserUserIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUserApiV1UserUserIdDeleteResponse) StatusCode ¶
func (r DeleteUserApiV1UserUserIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImageApiV1ImageImageIdGetResponse ¶ added in v0.2.0
type GetImageApiV1ImageImageIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponseImageResponse
JSON404 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseGetImageApiV1ImageImageIdGetResponse ¶ added in v0.2.0
func ParseGetImageApiV1ImageImageIdGetResponse(rsp *http.Response) (*GetImageApiV1ImageImageIdGetResponse, error)
ParseGetImageApiV1ImageImageIdGetResponse parses an HTTP response from a GetImageApiV1ImageImageIdGetWithResponse call
func (GetImageApiV1ImageImageIdGetResponse) ContentType ¶ added in v0.2.0
func (r GetImageApiV1ImageImageIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetImageApiV1ImageImageIdGetResponse) Status ¶ added in v0.2.0
func (r GetImageApiV1ImageImageIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetImageApiV1ImageImageIdGetResponse) StatusCode ¶ added in v0.2.0
func (r GetImageApiV1ImageImageIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectApiV1ProjectProjectIdGetResponse ¶
type GetProjectApiV1ProjectProjectIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponseProjectCreatedResponse
JSON404 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseGetProjectApiV1ProjectProjectIdGetResponse ¶
func ParseGetProjectApiV1ProjectProjectIdGetResponse(rsp *http.Response) (*GetProjectApiV1ProjectProjectIdGetResponse, error)
ParseGetProjectApiV1ProjectProjectIdGetResponse parses an HTTP response from a GetProjectApiV1ProjectProjectIdGetWithResponse call
func (GetProjectApiV1ProjectProjectIdGetResponse) ContentType ¶ added in v0.2.0
func (r GetProjectApiV1ProjectProjectIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectApiV1ProjectProjectIdGetResponse) Status ¶
func (r GetProjectApiV1ProjectProjectIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectApiV1ProjectProjectIdGetResponse) StatusCode ¶
func (r GetProjectApiV1ProjectProjectIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetQuotaApiV1ProjectProjectIdQuotaGetResponse ¶
type GetQuotaApiV1ProjectProjectIdQuotaGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponseUpdateQuota
JSON422 *HTTPValidationError
}
func ParseGetQuotaApiV1ProjectProjectIdQuotaGetResponse ¶
func ParseGetQuotaApiV1ProjectProjectIdQuotaGetResponse(rsp *http.Response) (*GetQuotaApiV1ProjectProjectIdQuotaGetResponse, error)
ParseGetQuotaApiV1ProjectProjectIdQuotaGetResponse parses an HTTP response from a GetQuotaApiV1ProjectProjectIdQuotaGetWithResponse call
func (GetQuotaApiV1ProjectProjectIdQuotaGetResponse) ContentType ¶ added in v0.2.0
func (r GetQuotaApiV1ProjectProjectIdQuotaGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetQuotaApiV1ProjectProjectIdQuotaGetResponse) Status ¶
func (r GetQuotaApiV1ProjectProjectIdQuotaGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetQuotaApiV1ProjectProjectIdQuotaGetResponse) StatusCode ¶
func (r GetQuotaApiV1ProjectProjectIdQuotaGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserApiV1UserUserIdGetResponse ¶
type GetUserApiV1UserUserIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponseCreatedOpenStackUser
JSON404 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseGetUserApiV1UserUserIdGetResponse ¶
func ParseGetUserApiV1UserUserIdGetResponse(rsp *http.Response) (*GetUserApiV1UserUserIdGetResponse, error)
ParseGetUserApiV1UserUserIdGetResponse parses an HTTP response from a GetUserApiV1UserUserIdGetWithResponse call
func (GetUserApiV1UserUserIdGetResponse) ContentType ¶ added in v0.2.0
func (r GetUserApiV1UserUserIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUserApiV1UserUserIdGetResponse) Status ¶
func (r GetUserApiV1UserUserIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserApiV1UserUserIdGetResponse) StatusCode ¶
func (r GetUserApiV1UserUserIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserForProjectApiV1ProjectProjectIdUserGetResponse ¶
type GetUserForProjectApiV1ProjectProjectIdUserGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListAPIResponseProjectUser
JSON404 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseGetUserForProjectApiV1ProjectProjectIdUserGetResponse ¶
func ParseGetUserForProjectApiV1ProjectProjectIdUserGetResponse(rsp *http.Response) (*GetUserForProjectApiV1ProjectProjectIdUserGetResponse, error)
ParseGetUserForProjectApiV1ProjectProjectIdUserGetResponse parses an HTTP response from a GetUserForProjectApiV1ProjectProjectIdUserGetWithResponse call
func (GetUserForProjectApiV1ProjectProjectIdUserGetResponse) ContentType ¶ added in v0.2.0
func (r GetUserForProjectApiV1ProjectProjectIdUserGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUserForProjectApiV1ProjectProjectIdUserGetResponse) Status ¶
func (r GetUserForProjectApiV1ProjectProjectIdUserGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserForProjectApiV1ProjectProjectIdUserGetResponse) StatusCode ¶
func (r GetUserForProjectApiV1ProjectProjectIdUserGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImageResponse ¶ added in v0.2.0
type ImageResponse struct {
Checksum *string `json:"checksum,omitempty"`
ContainerFormat *string `json:"container_format,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DiskFormat *string `json:"disk_format,omitempty"`
File *string `json:"file,omitempty"`
Id string `json:"id"`
MinDisk *int `json:"min_disk,omitempty"`
MinRam *int `json:"min_ram,omitempty"`
Name *string `json:"name,omitempty"`
Owner *string `json:"owner,omitempty"`
Properties *map[string]interface{} `json:"properties,omitempty"`
Protected *bool `json:"protected,omitempty"`
Schema *string `json:"schema,omitempty"`
Size *int `json:"size,omitempty"`
Status *string `json:"status,omitempty"`
Tags *[]interface{} `json:"tags,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
VirtualSize *int `json:"virtual_size,omitempty"`
Visibility *string `json:"visibility,omitempty"`
}
ImageResponse defines model for ImageResponse.
type ImageVisibility ¶ added in v0.2.0
type ImageVisibility string
ImageVisibility An enumeration.
const ( Community ImageVisibility = "community" Private ImageVisibility = "private" Public ImageVisibility = "public" )
Defines values for ImageVisibility.
func (ImageVisibility) Valid ¶ added in v0.2.0
func (e ImageVisibility) Valid() bool
Valid indicates whether the value is a known member of the ImageVisibility enum.
type ListAPIResponseCreatedOpenStackUser ¶
type ListAPIResponseCreatedOpenStackUser struct {
Data *[]CreatedOpenStackUser `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status int `json:"status"`
}
ListAPIResponseCreatedOpenStackUser defines model for ListAPIResponse_CreatedOpenStackUser_.
type ListAPIResponseProjectCreatedResponse ¶
type ListAPIResponseProjectCreatedResponse struct {
Data *[]ProjectCreatedResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status int `json:"status"`
}
ListAPIResponseProjectCreatedResponse defines model for ListAPIResponse_ProjectCreatedResponse_.
type ListAPIResponseProjectUser ¶
type ListAPIResponseProjectUser struct {
Data *[]ProjectUser `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status int `json:"status"`
}
ListAPIResponseProjectUser defines model for ListAPIResponse_ProjectUser_.
type ListProjectsApiV1ProjectGetResponse ¶
type ListProjectsApiV1ProjectGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListAPIResponseProjectCreatedResponse
JSON500 *SingleAPIResponse
}
func ParseListProjectsApiV1ProjectGetResponse ¶
func ParseListProjectsApiV1ProjectGetResponse(rsp *http.Response) (*ListProjectsApiV1ProjectGetResponse, error)
ParseListProjectsApiV1ProjectGetResponse parses an HTTP response from a ListProjectsApiV1ProjectGetWithResponse call
func (ListProjectsApiV1ProjectGetResponse) ContentType ¶ added in v0.2.0
func (r ListProjectsApiV1ProjectGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProjectsApiV1ProjectGetResponse) Status ¶
func (r ListProjectsApiV1ProjectGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectsApiV1ProjectGetResponse) StatusCode ¶
func (r ListProjectsApiV1ProjectGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUsersApiV1UserGetResponse ¶
type ListUsersApiV1UserGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListAPIResponseCreatedOpenStackUser
JSON500 *SingleAPIResponse
}
func ParseListUsersApiV1UserGetResponse ¶
func ParseListUsersApiV1UserGetResponse(rsp *http.Response) (*ListUsersApiV1UserGetResponse, error)
ParseListUsersApiV1UserGetResponse parses an HTTP response from a ListUsersApiV1UserGetWithResponse call
func (ListUsersApiV1UserGetResponse) ContentType ¶ added in v0.2.0
func (r ListUsersApiV1UserGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListUsersApiV1UserGetResponse) Status ¶
func (r ListUsersApiV1UserGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListUsersApiV1UserGetResponse) StatusCode ¶
func (r ListUsersApiV1UserGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody ¶ added in v0.2.0
type LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody = BodyLoginAccessTokenApiV1AuthLoginAccessTokenPost
LoginAccessTokenApiV1AuthLoginAccessTokenPostFormdataRequestBody defines body for LoginAccessTokenApiV1AuthLoginAccessTokenPost for application/x-www-form-urlencoded ContentType.
type LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse ¶
type LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Token
JSON422 *HTTPValidationError
}
func ParseLoginAccessTokenApiV1AuthLoginAccessTokenPostResponse ¶
func ParseLoginAccessTokenApiV1AuthLoginAccessTokenPostResponse(rsp *http.Response) (*LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse, error)
ParseLoginAccessTokenApiV1AuthLoginAccessTokenPostResponse parses an HTTP response from a LoginAccessTokenApiV1AuthLoginAccessTokenPostWithResponse call
func (LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse) ContentType ¶ added in v0.2.0
func (r LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse) Status ¶
func (r LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse) Status() string
Status returns HTTPResponse.Status
func (LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse) StatusCode ¶
func (r LoginAccessTokenApiV1AuthLoginAccessTokenPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkQuotas ¶
type NetworkQuotas struct {
// Floatingip The number of floating IP addresses allowed for each project.A value of -1 means no limit
Floatingip *int `json:"floatingip,omitempty"`
Network int `json:"network"`
Port *int `json:"port,omitempty"`
// RbacPolicy The number of role-based access control (RBAC) policies for each project
RbacPolicy *int `json:"rbac_policy,omitempty"`
Router int `json:"router"`
SecurityGroup int `json:"security_group"`
SecurityGroupRule int `json:"security_group_rule"`
Subnet int `json:"subnet"`
Subnetpool *int `json:"subnetpool,omitempty"`
}
NetworkQuotas defines model for NetworkQuotas.
type ProjectCreate ¶
type ProjectCreate struct {
// Description Description of the pluscloud open project
Description string `json:"description"`
// Enabled Enables or disables the pluscloud open project
Enabled *bool `json:"enabled,omitempty"`
// Name Name of the pluscloud open project. A customer related prefix will be automatically appended
Name string `json:"name"`
// NetworkPreconfigure Preconfigures the pluscloudopen project with a ready to work environment by automatically supplying one router,subnet,network and secgroups
NetworkPreconfigure *bool `json:"network_preconfigure,omitempty"`
}
ProjectCreate defines model for ProjectCreate.
type ProjectCreatedResponse ¶
type ProjectCreatedResponse struct {
// Description Description of the pluscloud open project
Description string `json:"description"`
// Enabled Enables or disables the pluscloud open project
Enabled *bool `json:"enabled,omitempty"`
// Id The pluscloud open project id
Id string `json:"id"`
// Name Name of the pluscloud open project. A customer related prefix will be automatically appended
Name string `json:"name"`
}
ProjectCreatedResponse defines model for ProjectCreatedResponse.
type ProjectUpdate ¶
type ProjectUpdate struct {
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Name *string `json:"name,omitempty"`
}
ProjectUpdate defines model for ProjectUpdate.
type ProjectUser ¶
type ProjectUser struct {
// Project The pluscloud open project id
Project string `json:"project"`
// User The pluscloud open user id
User string `json:"user"`
}
ProjectUser defines model for ProjectUser.
type RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse ¶
type RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseRemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse ¶
func ParseRemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse(rsp *http.Response) (*RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse, error)
ParseRemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse parses an HTTP response from a RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteWithResponse call
func (RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse) ContentType ¶ added in v0.2.0
func (r RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse) Status ¶
func (r RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse) StatusCode ¶
func (r RemoveUserFromProjectApiV1ProjectProjectIdUserUserIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SingleAPIResponse ¶
type SingleAPIResponse struct {
Data *BaseModel `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status int `json:"status"`
}
SingleAPIResponse defines model for SingleAPIResponse.
type SingleAPIResponseCreatedOpenStackUser ¶
type SingleAPIResponseCreatedOpenStackUser struct {
Data *CreatedOpenStackUser `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status int `json:"status"`
}
SingleAPIResponseCreatedOpenStackUser defines model for SingleAPIResponse_CreatedOpenStackUser_.
type SingleAPIResponseImageResponse ¶ added in v0.2.0
type SingleAPIResponseImageResponse struct {
Data *ImageResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status int `json:"status"`
}
SingleAPIResponseImageResponse defines model for SingleAPIResponse_ImageResponse_.
type SingleAPIResponseProjectCreatedResponse ¶
type SingleAPIResponseProjectCreatedResponse struct {
Data *ProjectCreatedResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status int `json:"status"`
}
SingleAPIResponseProjectCreatedResponse defines model for SingleAPIResponse_ProjectCreatedResponse_.
type SingleAPIResponseUpdateQuota ¶
type SingleAPIResponseUpdateQuota struct {
Data *UpdateQuota `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status int `json:"status"`
}
SingleAPIResponseUpdateQuota defines model for SingleAPIResponse_UpdateQuota_.
type TestTokenApiV1AuthLoginTestTokenPostResponse ¶
type TestTokenApiV1AuthLoginTestTokenPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VaultUser
}
func ParseTestTokenApiV1AuthLoginTestTokenPostResponse ¶
func ParseTestTokenApiV1AuthLoginTestTokenPostResponse(rsp *http.Response) (*TestTokenApiV1AuthLoginTestTokenPostResponse, error)
ParseTestTokenApiV1AuthLoginTestTokenPostResponse parses an HTTP response from a TestTokenApiV1AuthLoginTestTokenPostWithResponse call
func (TestTokenApiV1AuthLoginTestTokenPostResponse) ContentType ¶ added in v0.2.0
func (r TestTokenApiV1AuthLoginTestTokenPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestTokenApiV1AuthLoginTestTokenPostResponse) Status ¶
func (r TestTokenApiV1AuthLoginTestTokenPostResponse) Status() string
Status returns HTTPResponse.Status
func (TestTokenApiV1AuthLoginTestTokenPostResponse) StatusCode ¶
func (r TestTokenApiV1AuthLoginTestTokenPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateImageVisibility ¶ added in v0.2.0
type UpdateImageVisibility struct {
// Visibility The visibility status of the image
Visibility ImageVisibility `json:"visibility"`
}
UpdateImageVisibility defines model for UpdateImageVisibility.
type UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody ¶ added in v0.2.0
type UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody = UpdateImageVisibility
UpdateImageVisibilityApiV1ImageImageIdVisibilityPutJSONRequestBody defines body for UpdateImageVisibilityApiV1ImageImageIdVisibilityPut for application/json ContentType.
type UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse ¶ added in v0.2.0
type UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponse
JSON403 *SingleAPIResponse
JSON404 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseUpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse ¶ added in v0.2.0
func ParseUpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse(rsp *http.Response) (*UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse, error)
ParseUpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse parses an HTTP response from a UpdateImageVisibilityApiV1ImageImageIdVisibilityPutWithResponse call
func (UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse) ContentType ¶ added in v0.2.0
func (r UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse) Status ¶ added in v0.2.0
func (r UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse) StatusCode ¶ added in v0.2.0
func (r UpdateImageVisibilityApiV1ImageImageIdVisibilityPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOpenStackUser ¶
type UpdateOpenStackUser struct {
// DefaultProject Option to set the users default project via the project id
DefaultProject *string `json:"default_project,omitempty"`
// Description Description of the pluscloud open user
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Name Username or e-mail to login into the pluscloud open
Name *string `json:"name,omitempty"`
Password *string `json:"password,omitempty"`
}
UpdateOpenStackUser defines model for UpdateOpenStackUser.
type UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody ¶
type UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody = ProjectUpdate
UpdateProjectApiV1ProjectProjectIdPutJSONRequestBody defines body for UpdateProjectApiV1ProjectProjectIdPut for application/json ContentType.
type UpdateProjectApiV1ProjectProjectIdPutResponse ¶
type UpdateProjectApiV1ProjectProjectIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponseProjectCreatedResponse
JSON400 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseUpdateProjectApiV1ProjectProjectIdPutResponse ¶
func ParseUpdateProjectApiV1ProjectProjectIdPutResponse(rsp *http.Response) (*UpdateProjectApiV1ProjectProjectIdPutResponse, error)
ParseUpdateProjectApiV1ProjectProjectIdPutResponse parses an HTTP response from a UpdateProjectApiV1ProjectProjectIdPutWithResponse call
func (UpdateProjectApiV1ProjectProjectIdPutResponse) ContentType ¶ added in v0.2.0
func (r UpdateProjectApiV1ProjectProjectIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateProjectApiV1ProjectProjectIdPutResponse) Status ¶
func (r UpdateProjectApiV1ProjectProjectIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectApiV1ProjectProjectIdPutResponse) StatusCode ¶
func (r UpdateProjectApiV1ProjectProjectIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateQuota ¶
type UpdateQuota struct {
Compute *ComputeQuotas `json:"compute,omitempty"`
Network *NetworkQuotas `json:"network,omitempty"`
Volume *VolumeQuotas `json:"volume,omitempty"`
}
UpdateQuota defines model for UpdateQuota.
type UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody ¶
type UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody = UpdateQuota
UpdateQuotaApiV1ProjectProjectIdQuotaPutJSONRequestBody defines body for UpdateQuotaApiV1ProjectProjectIdQuotaPut for application/json ContentType.
type UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse ¶
type UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponseUpdateQuota
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseUpdateQuotaApiV1ProjectProjectIdQuotaPutResponse ¶
func ParseUpdateQuotaApiV1ProjectProjectIdQuotaPutResponse(rsp *http.Response) (*UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse, error)
ParseUpdateQuotaApiV1ProjectProjectIdQuotaPutResponse parses an HTTP response from a UpdateQuotaApiV1ProjectProjectIdQuotaPutWithResponse call
func (UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse) ContentType ¶ added in v0.2.0
func (r UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse) Status ¶
func (r UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse) StatusCode ¶
func (r UpdateQuotaApiV1ProjectProjectIdQuotaPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateUserApiV1UserUserIdPutJSONRequestBody ¶
type UpdateUserApiV1UserUserIdPutJSONRequestBody = UpdateOpenStackUser
UpdateUserApiV1UserUserIdPutJSONRequestBody defines body for UpdateUserApiV1UserUserIdPut for application/json ContentType.
type UpdateUserApiV1UserUserIdPutResponse ¶
type UpdateUserApiV1UserUserIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SingleAPIResponseCreatedOpenStackUser
JSON404 *SingleAPIResponse
JSON422 *HTTPValidationError
JSON500 *SingleAPIResponse
}
func ParseUpdateUserApiV1UserUserIdPutResponse ¶
func ParseUpdateUserApiV1UserUserIdPutResponse(rsp *http.Response) (*UpdateUserApiV1UserUserIdPutResponse, error)
ParseUpdateUserApiV1UserUserIdPutResponse parses an HTTP response from a UpdateUserApiV1UserUserIdPutWithResponse call
func (UpdateUserApiV1UserUserIdPutResponse) ContentType ¶ added in v0.2.0
func (r UpdateUserApiV1UserUserIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateUserApiV1UserUserIdPutResponse) Status ¶
func (r UpdateUserApiV1UserUserIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateUserApiV1UserUserIdPutResponse) StatusCode ¶
func (r UpdateUserApiV1UserUserIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidationError ¶
type ValidationError struct {
Loc []ValidationError_Loc_Item `json:"loc"`
Msg string `json:"msg"`
Type string `json:"type"`
}
ValidationError defines model for ValidationError.
type ValidationErrorLoc0 ¶ added in v0.2.0
type ValidationErrorLoc0 = string
ValidationErrorLoc0 defines model for .
type ValidationErrorLoc1 ¶ added in v0.2.0
type ValidationErrorLoc1 = int
ValidationErrorLoc1 defines model for .
type ValidationError_Loc_Item ¶ added in v0.2.0
type ValidationError_Loc_Item struct {
// contains filtered or unexported fields
}
ValidationError_Loc_Item defines model for ValidationError.loc.Item.
func (ValidationError_Loc_Item) AsValidationErrorLoc0 ¶ added in v0.2.0
func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
func (ValidationError_Loc_Item) AsValidationErrorLoc1 ¶ added in v0.2.0
func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
func (*ValidationError_Loc_Item) FromValidationErrorLoc0 ¶ added in v0.2.0
func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) FromValidationErrorLoc1 ¶ added in v0.2.0
func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1
func (ValidationError_Loc_Item) MarshalJSON ¶ added in v0.2.0
func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
func (*ValidationError_Loc_Item) MergeValidationErrorLoc0 ¶ added in v0.2.0
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) MergeValidationErrorLoc1 ¶ added in v0.2.0
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1
func (*ValidationError_Loc_Item) UnmarshalJSON ¶ added in v0.2.0
func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
type VaultUser ¶
type VaultUser struct {
DomainId string `json:"domain_id"`
ProjectPrefix string `json:"project_prefix"`
Username string `json:"username"`
}
VaultUser defines model for VaultUser.
type VolumeQuotas ¶
type VolumeQuotas struct {
BackupGigabytes int `json:"backup_gigabytes"`
Backups int `json:"backups"`
// Gigabytes Maximum amount of available Storage
Gigabytes *int `json:"gigabytes,omitempty"`
Groups *int `json:"groups,omitempty"`
PerVolumeGigabytes *int `json:"per_volume_gigabytes,omitempty"`
// Snapshots Maximum amount of snapshots
Snapshots *int `json:"snapshots,omitempty"`
Volumes int `json:"volumes"`
}
VolumeQuotas defines model for VolumeQuotas.