Documentation ¶
Overview ¶
Package resourcemanagement provides primitives to interact with the openapi HTTP API.
Code generated by github.com/do87/stackit-client-generator version v0.0.3 DO NOT EDIT.
Index ¶
- Variables
- func NewCreateRequest(ctx context.Context, server string, body CreateJSONRequestBody) (*http.Request, error)
- func NewCreateRequestWithBody(ctx context.Context, server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteFolderLabelsRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewDeleteFoldersContainerIDRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewDeleteOrganizationsContainerIDLabelsRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewDeleteOrganizationsContainerIDRequest(ctx context.Context, server string, containerId string) (*http.Request, error)
- func NewDeleteProjectContainerIDLabelsRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewDeleteRequest(ctx context.Context, server string, containerId string) (*http.Request, error)
- func NewGetAllOrganizationsRequest(ctx context.Context, server string, params *GetAllOrganizationsParams) (*http.Request, error)
- func NewGetContainersOfAFolderRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewGetContainersOfAnOrganizationRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewGetFoldersContainerIDRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewGetFoldersRequest(ctx context.Context, server string, params *GetFoldersParams) (*http.Request, error)
- func NewGetOrganizationsContainerIDRequest(ctx context.Context, server string, containerId string) (*http.Request, error)
- func NewGetOrganizationsContainerIDSupportRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewGetRequest(ctx context.Context, server string, containerId string, params *GetParams) (*http.Request, error)
- func NewListRequest(ctx context.Context, server string, params *ListParams) (*http.Request, error)
- func NewPatchFoldersContainerIDRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewPatchFoldersContainerIDRequestWithBody(ctx context.Context, server string, containerId string, contentType string, ...) (*http.Request, error)
- func NewPatchOrganizationsContainerIDRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewPatchOrganizationsContainerIDRequestWithBody(ctx context.Context, server string, containerId string, contentType string, ...) (*http.Request, error)
- func NewPostFoldersRequest(ctx context.Context, server string, body PostFoldersJSONRequestBody) (*http.Request, error)
- func NewPostFoldersRequestWithBody(ctx context.Context, server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostOrganizationsRequest(ctx context.Context, server string, body PostOrganizationsJSONRequestBody) (*http.Request, error)
- func NewPostOrganizationsRequestWithBody(ctx context.Context, server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateRequest(ctx context.Context, server string, containerId string, ...) (*http.Request, error)
- func NewUpdateRequestWithBody(ctx context.Context, server string, containerId string, contentType string, ...) (*http.Request, error)
- func ValidateRole(role ProjectMemberRole) error
- type AllFoldersResponse
- type AllOrgResponse
- type AllProjectsResponse
- type ChildrenResponse
- type ChildrenResponseItemsType
- type Client
- func (c *Client) CreateRaw(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateRawWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteFolderLabelsRaw(ctx context.Context, containerId string, params *DeleteFolderLabelsParams, ...) (*http.Response, error)
- func (c *Client) DeleteFoldersContainerIDRaw(ctx context.Context, containerId string, ...) (*http.Response, error)
- func (c *Client) DeleteOrganizationsContainerIDLabelsRaw(ctx context.Context, containerId string, ...) (*http.Response, error)
- func (c *Client) DeleteOrganizationsContainerIDRaw(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteProjectContainerIDLabelsRaw(ctx context.Context, containerId string, ...) (*http.Response, error)
- func (c *Client) DeleteRaw(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllOrganizationsRaw(ctx context.Context, params *GetAllOrganizationsParams, ...) (*http.Response, error)
- func (c *Client) GetContainersOfAFolderRaw(ctx context.Context, containerId string, params *GetContainersOfAFolderParams, ...) (*http.Response, error)
- func (c *Client) GetContainersOfAnOrganizationRaw(ctx context.Context, containerId string, ...) (*http.Response, error)
- func (c *Client) GetFoldersContainerIDRaw(ctx context.Context, containerId string, params *GetFoldersContainerIDParams, ...) (*http.Response, error)
- func (c *Client) GetFoldersRaw(ctx context.Context, params *GetFoldersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationsContainerIDRaw(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationsContainerIDSupportRaw(ctx context.Context, containerId string, ...) (*http.Response, error)
- func (c *Client) GetRaw(ctx context.Context, containerId string, params *GetParams, ...) (*http.Response, error)
- func (c *Client) ListRaw(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchFoldersContainerIDRaw(ctx context.Context, containerId string, ...) (*http.Response, error)
- func (c *Client) PatchFoldersContainerIDRawWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchOrganizationsContainerIDRaw(ctx context.Context, containerId string, ...) (*http.Response, error)
- func (c *Client) PatchOrganizationsContainerIDRawWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostFoldersRaw(ctx context.Context, body PostFoldersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostFoldersRawWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostOrganizationsRaw(ctx context.Context, body PostOrganizationsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostOrganizationsRawWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateRaw(ctx context.Context, containerId string, body UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateRawWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) Create(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResponse, error)
- func (c *ClientWithResponses) CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*CreateResponse, error)
- func (c *ClientWithResponses) Delete(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*DeleteResponse, error)
- func (c *ClientWithResponses) DeleteFolderLabels(ctx context.Context, containerId string, params *DeleteFolderLabelsParams, ...) (*DeleteFolderLabelsResponse, error)
- func (c *ClientWithResponses) DeleteFoldersContainerID(ctx context.Context, containerId string, ...) (*DeleteFoldersContainerIDResponse, error)
- func (c *ClientWithResponses) DeleteOrganizationsContainerID(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationsContainerIDResponse, error)
- func (c *ClientWithResponses) DeleteOrganizationsContainerIDLabels(ctx context.Context, containerId string, ...) (*DeleteOrganizationsContainerIDLabelsResponse, error)
- func (c *ClientWithResponses) DeleteProjectContainerIDLabels(ctx context.Context, containerId string, ...) (*DeleteProjectContainerIDLabelsResponse, error)
- func (c *ClientWithResponses) Get(ctx context.Context, containerId string, params *GetParams, ...) (*GetResponse, error)
- func (c *ClientWithResponses) GetAllOrganizations(ctx context.Context, params *GetAllOrganizationsParams, ...) (*GetAllOrganizationsResponse, error)
- func (c *ClientWithResponses) GetContainersOfAFolder(ctx context.Context, containerId string, params *GetContainersOfAFolderParams, ...) (*GetContainersOfAFolderResponse, error)
- func (c *ClientWithResponses) GetContainersOfAnOrganization(ctx context.Context, containerId string, ...) (*GetContainersOfAnOrganizationResponse, error)
- func (c *ClientWithResponses) GetFolders(ctx context.Context, params *GetFoldersParams, reqEditors ...RequestEditorFn) (*GetFoldersResponse, error)
- func (c *ClientWithResponses) GetFoldersContainerID(ctx context.Context, containerId string, params *GetFoldersContainerIDParams, ...) (*GetFoldersContainerIDResponse, error)
- func (c *ClientWithResponses) GetOrganizationsContainerID(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*GetOrganizationsContainerIDResponse, error)
- func (c *ClientWithResponses) GetOrganizationsContainerIDSupport(ctx context.Context, containerId string, ...) (*GetOrganizationsContainerIDSupportResponse, error)
- func (c *ClientWithResponses) List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListResponse, error)
- func (c *ClientWithResponses) ParseCreateResponse(rsp *http.Response) (*CreateResponse, error)
- func (c *ClientWithResponses) ParseDeleteFolderLabelsResponse(rsp *http.Response) (*DeleteFolderLabelsResponse, error)
- func (c *ClientWithResponses) ParseDeleteFoldersContainerIDResponse(rsp *http.Response) (*DeleteFoldersContainerIDResponse, error)
- func (c *ClientWithResponses) ParseDeleteOrganizationsContainerIDLabelsResponse(rsp *http.Response) (*DeleteOrganizationsContainerIDLabelsResponse, error)
- func (c *ClientWithResponses) ParseDeleteOrganizationsContainerIDResponse(rsp *http.Response) (*DeleteOrganizationsContainerIDResponse, error)
- func (c *ClientWithResponses) ParseDeleteProjectContainerIDLabelsResponse(rsp *http.Response) (*DeleteProjectContainerIDLabelsResponse, error)
- func (c *ClientWithResponses) ParseDeleteResponse(rsp *http.Response) (*DeleteResponse, error)
- func (c *ClientWithResponses) ParseGetAllOrganizationsResponse(rsp *http.Response) (*GetAllOrganizationsResponse, error)
- func (c *ClientWithResponses) ParseGetContainersOfAFolderResponse(rsp *http.Response) (*GetContainersOfAFolderResponse, error)
- func (c *ClientWithResponses) ParseGetContainersOfAnOrganizationResponse(rsp *http.Response) (*GetContainersOfAnOrganizationResponse, error)
- func (c *ClientWithResponses) ParseGetFoldersContainerIDResponse(rsp *http.Response) (*GetFoldersContainerIDResponse, error)
- func (c *ClientWithResponses) ParseGetFoldersResponse(rsp *http.Response) (*GetFoldersResponse, error)
- func (c *ClientWithResponses) ParseGetOrganizationsContainerIDResponse(rsp *http.Response) (*GetOrganizationsContainerIDResponse, error)
- func (c *ClientWithResponses) ParseGetOrganizationsContainerIDSupportResponse(rsp *http.Response) (*GetOrganizationsContainerIDSupportResponse, error)
- func (c *ClientWithResponses) ParseGetResponse(rsp *http.Response) (*GetResponse, error)
- func (c *ClientWithResponses) ParseListResponse(rsp *http.Response) (*ListResponse, error)
- func (c *ClientWithResponses) ParsePatchFoldersContainerIDResponse(rsp *http.Response) (*PatchFoldersContainerIDResponse, error)
- func (c *ClientWithResponses) ParsePatchOrganizationsContainerIDResponse(rsp *http.Response) (*PatchOrganizationsContainerIDResponse, error)
- func (c *ClientWithResponses) ParsePostFoldersResponse(rsp *http.Response) (*PostFoldersResponse, error)
- func (c *ClientWithResponses) ParsePostOrganizationsResponse(rsp *http.Response) (*PostOrganizationsResponse, error)
- func (c *ClientWithResponses) ParseUpdateResponse(rsp *http.Response) (*UpdateResponse, error)
- func (c *ClientWithResponses) PatchFoldersContainerID(ctx context.Context, containerId string, ...) (*PatchFoldersContainerIDResponse, error)
- func (c *ClientWithResponses) PatchFoldersContainerIDWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, ...) (*PatchFoldersContainerIDResponse, error)
- func (c *ClientWithResponses) PatchOrganizationsContainerID(ctx context.Context, containerId string, ...) (*PatchOrganizationsContainerIDResponse, error)
- func (c *ClientWithResponses) PatchOrganizationsContainerIDWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, ...) (*PatchOrganizationsContainerIDResponse, error)
- func (c *ClientWithResponses) PostFolders(ctx context.Context, body PostFoldersJSONRequestBody, ...) (*PostFoldersResponse, error)
- func (c *ClientWithResponses) PostFoldersWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*PostFoldersResponse, error)
- func (c *ClientWithResponses) PostOrganizations(ctx context.Context, body PostOrganizationsJSONRequestBody, ...) (*PostOrganizationsResponse, error)
- func (c *ClientWithResponses) PostOrganizationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*PostOrganizationsResponse, error)
- func (c *ClientWithResponses) Update(ctx context.Context, containerId string, body UpdateJSONRequestBody, ...) (*UpdateResponse, error)
- func (c *ClientWithResponses) UpdateWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, ...) (*UpdateResponse, error)
- type ClientWithResponsesInterface
- type ContainerResponse
- type ContainerResponseItemsType
- type CreateJSONRequestBody
- type CreateResponse
- type CreationTimeStart
- type Cursor
- type CursorSchema
- type DeleteFolderLabelsParams
- type DeleteFolderLabelsResponse
- type DeleteFoldersContainerIDParams
- type DeleteFoldersContainerIDResponse
- type DeleteOrganizationsContainerIDLabelsParams
- type DeleteOrganizationsContainerIDLabelsResponse
- type DeleteOrganizationsContainerIDResponse
- type DeleteProjectContainerIDLabelsParams
- type DeleteProjectContainerIDLabelsResponse
- type DeleteResponse
- type ErrorResponse
- type FolderRequestBody
- type FolderResponse
- type FolderResponseWithParents
- type GetAllOrganizationsParams
- type GetAllOrganizationsResponse
- type GetContainersOfAFolderParams
- type GetContainersOfAFolderParamsType
- type GetContainersOfAFolderResponse
- type GetContainersOfAnOrganizationParams
- type GetContainersOfAnOrganizationParamsType
- type GetContainersOfAnOrganizationResponse
- type GetFoldersContainerIDParams
- type GetFoldersContainerIDResponse
- type GetFoldersParams
- type GetFoldersResponse
- type GetOrganizationsContainerIDResponse
- type GetOrganizationsContainerIDSupportParams
- type GetOrganizationsContainerIDSupportParamsType
- type GetOrganizationsContainerIDSupportResponse
- type GetParams
- type GetResponse
- type LifecycleState
- type Limit
- type LimitSchema
- type ListParams
- type ListResponse
- type Member
- type Offset
- type OffsetSchema
- type OrganizationMember
- type OrganizationMemberRole
- type OrganizationRequestBody
- type OrganizationResponse
- type Parent
- type ParentList
- type ParentListType
- type ParentType
- type PatchFolderOrProject
- type PatchFoldersContainerIDJSONRequestBody
- type PatchFoldersContainerIDResponse
- type PatchOrganizationRequestBody
- type PatchOrganizationsContainerIDJSONRequestBody
- type PatchOrganizationsContainerIDResponse
- type PostFoldersJSONRequestBody
- type PostFoldersResponse
- type PostOrganizationsJSONRequestBody
- type PostOrganizationsResponse
- type ProjectMember
- type ProjectMemberRole
- type ProjectRequestBody
- type ProjectResponse
- type ProjectResponseWithParents
- type Recursive
- type RequestEditorFn
- type ResourceLabels
- type UpdateJSONRequestBody
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
var BaseURLs = baseurl.New(
"resource_management",
"https://resource-manager.api.stackit.cloud/v2/",
)
Functions ¶
func NewCreateRequest ¶
func NewCreateRequest(ctx context.Context, server string, body CreateJSONRequestBody) (*http.Request, error)
NewCreateRequest calls the generic Create builder with application/json body
func NewCreateRequestWithBody ¶
func NewCreateRequestWithBody(ctx context.Context, server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRequestWithBody generates requests for Create with any type of body
func NewDeleteFolderLabelsRequest ¶
func NewDeleteFolderLabelsRequest(ctx context.Context, server string, containerId string, params *DeleteFolderLabelsParams) (*http.Request, error)
NewDeleteFolderLabelsRequest generates requests for DeleteFolderLabels
func NewDeleteFoldersContainerIDRequest ¶
func NewDeleteFoldersContainerIDRequest(ctx context.Context, server string, containerId string, params *DeleteFoldersContainerIDParams) (*http.Request, error)
NewDeleteFoldersContainerIDRequest generates requests for DeleteFoldersContainerID
func NewDeleteOrganizationsContainerIDLabelsRequest ¶
func NewDeleteOrganizationsContainerIDLabelsRequest(ctx context.Context, server string, containerId string, params *DeleteOrganizationsContainerIDLabelsParams) (*http.Request, error)
NewDeleteOrganizationsContainerIDLabelsRequest generates requests for DeleteOrganizationsContainerIDLabels
func NewDeleteOrganizationsContainerIDRequest ¶
func NewDeleteOrganizationsContainerIDRequest(ctx context.Context, server string, containerId string) (*http.Request, error)
NewDeleteOrganizationsContainerIDRequest generates requests for DeleteOrganizationsContainerID
func NewDeleteProjectContainerIDLabelsRequest ¶
func NewDeleteProjectContainerIDLabelsRequest(ctx context.Context, server string, containerId string, params *DeleteProjectContainerIDLabelsParams) (*http.Request, error)
NewDeleteProjectContainerIDLabelsRequest generates requests for DeleteProjectContainerIDLabels
func NewDeleteRequest ¶
func NewDeleteRequest(ctx context.Context, server string, containerId string) (*http.Request, error)
NewDeleteRequest generates requests for Delete
func NewGetAllOrganizationsRequest ¶
func NewGetAllOrganizationsRequest(ctx context.Context, server string, params *GetAllOrganizationsParams) (*http.Request, error)
NewGetAllOrganizationsRequest generates requests for GetAllOrganizations
func NewGetContainersOfAFolderRequest ¶
func NewGetContainersOfAFolderRequest(ctx context.Context, server string, containerId string, params *GetContainersOfAFolderParams) (*http.Request, error)
NewGetContainersOfAFolderRequest generates requests for GetContainersOfAFolder
func NewGetContainersOfAnOrganizationRequest ¶
func NewGetContainersOfAnOrganizationRequest(ctx context.Context, server string, containerId string, params *GetContainersOfAnOrganizationParams) (*http.Request, error)
NewGetContainersOfAnOrganizationRequest generates requests for GetContainersOfAnOrganization
func NewGetFoldersContainerIDRequest ¶
func NewGetFoldersContainerIDRequest(ctx context.Context, server string, containerId string, params *GetFoldersContainerIDParams) (*http.Request, error)
NewGetFoldersContainerIDRequest generates requests for GetFoldersContainerID
func NewGetFoldersRequest ¶
func NewGetFoldersRequest(ctx context.Context, server string, params *GetFoldersParams) (*http.Request, error)
NewGetFoldersRequest generates requests for GetFolders
func NewGetOrganizationsContainerIDRequest ¶
func NewGetOrganizationsContainerIDRequest(ctx context.Context, server string, containerId string) (*http.Request, error)
NewGetOrganizationsContainerIDRequest generates requests for GetOrganizationsContainerID
func NewGetOrganizationsContainerIDSupportRequest ¶
func NewGetOrganizationsContainerIDSupportRequest(ctx context.Context, server string, containerId string, params *GetOrganizationsContainerIDSupportParams) (*http.Request, error)
NewGetOrganizationsContainerIDSupportRequest generates requests for GetOrganizationsContainerIDSupport
func NewGetRequest ¶
func NewGetRequest(ctx context.Context, server string, containerId string, params *GetParams) (*http.Request, error)
NewGetRequest generates requests for Get
func NewListRequest ¶
NewListRequest generates requests for List
func NewPatchFoldersContainerIDRequest ¶
func NewPatchFoldersContainerIDRequest(ctx context.Context, server string, containerId string, body PatchFoldersContainerIDJSONRequestBody) (*http.Request, error)
NewPatchFoldersContainerIDRequest calls the generic PatchFoldersContainerID builder with application/json body
func NewPatchFoldersContainerIDRequestWithBody ¶
func NewPatchFoldersContainerIDRequestWithBody(ctx context.Context, server string, containerId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchFoldersContainerIDRequestWithBody generates requests for PatchFoldersContainerID with any type of body
func NewPatchOrganizationsContainerIDRequest ¶
func NewPatchOrganizationsContainerIDRequest(ctx context.Context, server string, containerId string, body PatchOrganizationsContainerIDJSONRequestBody) (*http.Request, error)
NewPatchOrganizationsContainerIDRequest calls the generic PatchOrganizationsContainerID builder with application/json body
func NewPatchOrganizationsContainerIDRequestWithBody ¶
func NewPatchOrganizationsContainerIDRequestWithBody(ctx context.Context, server string, containerId string, contentType string, body io.Reader) (*http.Request, error)
NewPatchOrganizationsContainerIDRequestWithBody generates requests for PatchOrganizationsContainerID with any type of body
func NewPostFoldersRequest ¶
func NewPostFoldersRequest(ctx context.Context, server string, body PostFoldersJSONRequestBody) (*http.Request, error)
NewPostFoldersRequest calls the generic PostFolders builder with application/json body
func NewPostFoldersRequestWithBody ¶
func NewPostFoldersRequestWithBody(ctx context.Context, server string, contentType string, body io.Reader) (*http.Request, error)
NewPostFoldersRequestWithBody generates requests for PostFolders with any type of body
func NewPostOrganizationsRequest ¶
func NewPostOrganizationsRequest(ctx context.Context, server string, body PostOrganizationsJSONRequestBody) (*http.Request, error)
NewPostOrganizationsRequest calls the generic PostOrganizations builder with application/json body
func NewPostOrganizationsRequestWithBody ¶
func NewPostOrganizationsRequestWithBody(ctx context.Context, server string, contentType string, body io.Reader) (*http.Request, error)
NewPostOrganizationsRequestWithBody generates requests for PostOrganizations with any type of body
func NewUpdateRequest ¶
func NewUpdateRequest(ctx context.Context, server string, containerId string, body UpdateJSONRequestBody) (*http.Request, error)
NewUpdateRequest calls the generic Update builder with application/json body
Types ¶
type AllFoldersResponse ¶
type AllFoldersResponse struct { Items []struct { // ContainerId Globally unique, user-friendly identifier. Will replace old, legacy identifier "folderId". ContainerID string `json:"containerId"` // CreationTime Timestamp at which the folder was created. CreationTime string `json:"creationTime"` // FolderId Globally unique, legacy folder identifier (for backward compatibility) FolderID openapiTypes.UUID `json:"folderId"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // Name Name of the folder. Name string `json:"name"` // Parent Parent container. Parent Parent `json:"parent"` // UpdateTime Timestamp at which the folder was created. UpdateTime string `json:"updateTime"` } `json:"items"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. Limit LimitSchema `json:"limit"` // Offset The offset of the first item in the collection to return. Offset OffsetSchema `json:"offset"` }
AllFoldersResponse defines model for AllFoldersResponse.
type AllOrgResponse ¶
type AllOrgResponse struct { Items []struct { // ContainerId Globally unique, user-friendly identifier. Will replace old, legacy identifier "organizationId". ContainerID string `json:"containerId"` // CreationTime Timestamp at which the organization was created. CreationTime string `json:"creationTime"` // LifecycleState Lifecycle state of the resource container. // // | LIFECYCLE STATE | DESCRIPTION | // |----------|--------------------| // | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | // | ACTIVE | Resource container can be fully used. | // | INACTIVE | Resource container usage has been disabled. | // | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. | LifecycleState LifecycleState `json:"lifecycleState"` // Name Name of the organization. Name string `json:"name"` // OrganizationId Globally unique, legacy organization identifier (for backward compatibility) OrganizationID openapiTypes.UUID `json:"organizationId"` // UpdateTime Timestamp at which the organization was last modified. UpdateTime string `json:"updateTime"` } `json:"items"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. Limit LimitSchema `json:"limit"` // Offset The offset of the first item in the collection to return. Offset OffsetSchema `json:"offset"` }
AllOrgResponse defines model for AllOrgResponse.
type AllProjectsResponse ¶
type AllProjectsResponse struct { Items []ProjectResponse `json:"items"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. Limit LimitSchema `json:"limit"` // Offset The offset of the first item in the collection to return. Offset OffsetSchema `json:"offset"` }
AllProjectsResponse defines model for AllProjectsResponse.
type ChildrenResponse ¶
type ChildrenResponse struct { Items []struct { Item ProjectResponse `json:"item"` // Type Resource container type. Type ChildrenResponseItemsType `json:"type"` } `json:"items"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. Limit LimitSchema `json:"limit"` // Offset The offset of the first item in the collection to return. Offset OffsetSchema `json:"offset"` }
ChildrenResponse defines model for ChildrenResponse.
type ChildrenResponseItemsType ¶
type ChildrenResponseItemsType string
ChildrenResponseItemsType Resource container type.
const (
CHILDREN_RESPONSE_ITEMS_TYPE_PROJECT ChildrenResponseItemsType = "PROJECT"
)
Defines values for ChildrenResponseItemsType.
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 contracts.BaseClientInterface // 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 NewRawClient ¶
func NewRawClient(server string, opts ...ClientOption) (*Client, error)
NewRawClient creates a new Client, with reasonable defaults
func (*Client) CreateRaw ¶
func (c *Client) CreateRaw(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRawWithBody ¶
func (*Client) DeleteFolderLabelsRaw ¶
func (c *Client) DeleteFolderLabelsRaw(ctx context.Context, containerId string, params *DeleteFolderLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteFoldersContainerIDRaw ¶
func (c *Client) DeleteFoldersContainerIDRaw(ctx context.Context, containerId string, params *DeleteFoldersContainerIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteOrganizationsContainerIDLabelsRaw ¶
func (c *Client) DeleteOrganizationsContainerIDLabelsRaw(ctx context.Context, containerId string, params *DeleteOrganizationsContainerIDLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteOrganizationsContainerIDRaw ¶
func (*Client) DeleteProjectContainerIDLabelsRaw ¶
func (c *Client) DeleteProjectContainerIDLabelsRaw(ctx context.Context, containerId string, params *DeleteProjectContainerIDLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllOrganizationsRaw ¶
func (c *Client) GetAllOrganizationsRaw(ctx context.Context, params *GetAllOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetContainersOfAFolderRaw ¶
func (c *Client) GetContainersOfAFolderRaw(ctx context.Context, containerId string, params *GetContainersOfAFolderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetContainersOfAnOrganizationRaw ¶
func (c *Client) GetContainersOfAnOrganizationRaw(ctx context.Context, containerId string, params *GetContainersOfAnOrganizationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFoldersContainerIDRaw ¶
func (c *Client) GetFoldersContainerIDRaw(ctx context.Context, containerId string, params *GetFoldersContainerIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFoldersRaw ¶
func (c *Client) GetFoldersRaw(ctx context.Context, params *GetFoldersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetOrganizationsContainerIDRaw ¶
func (*Client) GetOrganizationsContainerIDSupportRaw ¶
func (c *Client) GetOrganizationsContainerIDSupportRaw(ctx context.Context, containerId string, params *GetOrganizationsContainerIDSupportParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRaw ¶
func (c *Client) ListRaw(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchFoldersContainerIDRaw ¶
func (c *Client) PatchFoldersContainerIDRaw(ctx context.Context, containerId string, body PatchFoldersContainerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchFoldersContainerIDRawWithBody ¶
func (*Client) PatchOrganizationsContainerIDRaw ¶
func (c *Client) PatchOrganizationsContainerIDRaw(ctx context.Context, containerId string, body PatchOrganizationsContainerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchOrganizationsContainerIDRawWithBody ¶
func (*Client) PostFoldersRaw ¶
func (c *Client) PostFoldersRaw(ctx context.Context, body PostFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostFoldersRawWithBody ¶
func (*Client) PostOrganizationsRaw ¶
func (c *Client) PostOrganizationsRaw(ctx context.Context, body PostOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostOrganizationsRawWithBody ¶
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer contracts.BaseClientInterface) 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 {
// contains filtered or unexported fields
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClient creates a new ClientWithResponses, which wraps Client with return type handling
func NewService ¶
func NewService(c contracts.BaseClientInterface) *ClientWithResponses
func (*ClientWithResponses) Create ¶
func (c *ClientWithResponses) Create(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResponse, error)
func (*ClientWithResponses) CreateWithBody ¶
func (c *ClientWithResponses) CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResponse, error)
CreateWithBody request with arbitrary body returning *CreateResponse
func (*ClientWithResponses) Delete ¶
func (c *ClientWithResponses) Delete(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*DeleteResponse, error)
Delete request returning *DeleteResponse
func (*ClientWithResponses) DeleteFolderLabels ¶
func (c *ClientWithResponses) DeleteFolderLabels(ctx context.Context, containerId string, params *DeleteFolderLabelsParams, reqEditors ...RequestEditorFn) (*DeleteFolderLabelsResponse, error)
DeleteFolderLabels request returning *DeleteFolderLabelsResponse
func (*ClientWithResponses) DeleteFoldersContainerID ¶
func (c *ClientWithResponses) DeleteFoldersContainerID(ctx context.Context, containerId string, params *DeleteFoldersContainerIDParams, reqEditors ...RequestEditorFn) (*DeleteFoldersContainerIDResponse, error)
DeleteFoldersContainerID request returning *DeleteFoldersContainerIDResponse
func (*ClientWithResponses) DeleteOrganizationsContainerID ¶
func (c *ClientWithResponses) DeleteOrganizationsContainerID(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationsContainerIDResponse, error)
DeleteOrganizationsContainerID request returning *DeleteOrganizationsContainerIDResponse
func (*ClientWithResponses) DeleteOrganizationsContainerIDLabels ¶
func (c *ClientWithResponses) DeleteOrganizationsContainerIDLabels(ctx context.Context, containerId string, params *DeleteOrganizationsContainerIDLabelsParams, reqEditors ...RequestEditorFn) (*DeleteOrganizationsContainerIDLabelsResponse, error)
DeleteOrganizationsContainerIDLabels request returning *DeleteOrganizationsContainerIDLabelsResponse
func (*ClientWithResponses) DeleteProjectContainerIDLabels ¶
func (c *ClientWithResponses) DeleteProjectContainerIDLabels(ctx context.Context, containerId string, params *DeleteProjectContainerIDLabelsParams, reqEditors ...RequestEditorFn) (*DeleteProjectContainerIDLabelsResponse, error)
DeleteProjectContainerIDLabels request returning *DeleteProjectContainerIDLabelsResponse
func (*ClientWithResponses) Get ¶
func (c *ClientWithResponses) Get(ctx context.Context, containerId string, params *GetParams, reqEditors ...RequestEditorFn) (*GetResponse, error)
Get request returning *GetResponse
func (*ClientWithResponses) GetAllOrganizations ¶
func (c *ClientWithResponses) GetAllOrganizations(ctx context.Context, params *GetAllOrganizationsParams, reqEditors ...RequestEditorFn) (*GetAllOrganizationsResponse, error)
GetAllOrganizations request returning *GetAllOrganizationsResponse
func (*ClientWithResponses) GetContainersOfAFolder ¶
func (c *ClientWithResponses) GetContainersOfAFolder(ctx context.Context, containerId string, params *GetContainersOfAFolderParams, reqEditors ...RequestEditorFn) (*GetContainersOfAFolderResponse, error)
GetContainersOfAFolder request returning *GetContainersOfAFolderResponse
func (*ClientWithResponses) GetContainersOfAnOrganization ¶
func (c *ClientWithResponses) GetContainersOfAnOrganization(ctx context.Context, containerId string, params *GetContainersOfAnOrganizationParams, reqEditors ...RequestEditorFn) (*GetContainersOfAnOrganizationResponse, error)
GetContainersOfAnOrganization request returning *GetContainersOfAnOrganizationResponse
func (*ClientWithResponses) GetFolders ¶
func (c *ClientWithResponses) GetFolders(ctx context.Context, params *GetFoldersParams, reqEditors ...RequestEditorFn) (*GetFoldersResponse, error)
GetFolders request returning *GetFoldersResponse
func (*ClientWithResponses) GetFoldersContainerID ¶
func (c *ClientWithResponses) GetFoldersContainerID(ctx context.Context, containerId string, params *GetFoldersContainerIDParams, reqEditors ...RequestEditorFn) (*GetFoldersContainerIDResponse, error)
GetFoldersContainerID request returning *GetFoldersContainerIDResponse
func (*ClientWithResponses) GetOrganizationsContainerID ¶
func (c *ClientWithResponses) GetOrganizationsContainerID(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*GetOrganizationsContainerIDResponse, error)
GetOrganizationsContainerID request returning *GetOrganizationsContainerIDResponse
func (*ClientWithResponses) GetOrganizationsContainerIDSupport ¶
func (c *ClientWithResponses) GetOrganizationsContainerIDSupport(ctx context.Context, containerId string, params *GetOrganizationsContainerIDSupportParams, reqEditors ...RequestEditorFn) (*GetOrganizationsContainerIDSupportResponse, error)
GetOrganizationsContainerIDSupport request returning *GetOrganizationsContainerIDSupportResponse
func (*ClientWithResponses) List ¶
func (c *ClientWithResponses) List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListResponse, error)
List request returning *ListResponse
func (*ClientWithResponses) ParseCreateResponse ¶
func (c *ClientWithResponses) ParseCreateResponse(rsp *http.Response) (*CreateResponse, error)
ParseCreateResponse parses an HTTP response from a Create call
func (*ClientWithResponses) ParseDeleteFolderLabelsResponse ¶
func (c *ClientWithResponses) ParseDeleteFolderLabelsResponse(rsp *http.Response) (*DeleteFolderLabelsResponse, error)
ParseDeleteFolderLabelsResponse parses an HTTP response from a DeleteFolderLabels call
func (*ClientWithResponses) ParseDeleteFoldersContainerIDResponse ¶
func (c *ClientWithResponses) ParseDeleteFoldersContainerIDResponse(rsp *http.Response) (*DeleteFoldersContainerIDResponse, error)
ParseDeleteFoldersContainerIDResponse parses an HTTP response from a DeleteFoldersContainerID call
func (*ClientWithResponses) ParseDeleteOrganizationsContainerIDLabelsResponse ¶
func (c *ClientWithResponses) ParseDeleteOrganizationsContainerIDLabelsResponse(rsp *http.Response) (*DeleteOrganizationsContainerIDLabelsResponse, error)
ParseDeleteOrganizationsContainerIDLabelsResponse parses an HTTP response from a DeleteOrganizationsContainerIDLabels call
func (*ClientWithResponses) ParseDeleteOrganizationsContainerIDResponse ¶
func (c *ClientWithResponses) ParseDeleteOrganizationsContainerIDResponse(rsp *http.Response) (*DeleteOrganizationsContainerIDResponse, error)
ParseDeleteOrganizationsContainerIDResponse parses an HTTP response from a DeleteOrganizationsContainerID call
func (*ClientWithResponses) ParseDeleteProjectContainerIDLabelsResponse ¶
func (c *ClientWithResponses) ParseDeleteProjectContainerIDLabelsResponse(rsp *http.Response) (*DeleteProjectContainerIDLabelsResponse, error)
ParseDeleteProjectContainerIDLabelsResponse parses an HTTP response from a DeleteProjectContainerIDLabels call
func (*ClientWithResponses) ParseDeleteResponse ¶
func (c *ClientWithResponses) ParseDeleteResponse(rsp *http.Response) (*DeleteResponse, error)
ParseDeleteResponse parses an HTTP response from a Delete call
func (*ClientWithResponses) ParseGetAllOrganizationsResponse ¶
func (c *ClientWithResponses) ParseGetAllOrganizationsResponse(rsp *http.Response) (*GetAllOrganizationsResponse, error)
ParseGetAllOrganizationsResponse parses an HTTP response from a GetAllOrganizations call
func (*ClientWithResponses) ParseGetContainersOfAFolderResponse ¶
func (c *ClientWithResponses) ParseGetContainersOfAFolderResponse(rsp *http.Response) (*GetContainersOfAFolderResponse, error)
ParseGetContainersOfAFolderResponse parses an HTTP response from a GetContainersOfAFolder call
func (*ClientWithResponses) ParseGetContainersOfAnOrganizationResponse ¶
func (c *ClientWithResponses) ParseGetContainersOfAnOrganizationResponse(rsp *http.Response) (*GetContainersOfAnOrganizationResponse, error)
ParseGetContainersOfAnOrganizationResponse parses an HTTP response from a GetContainersOfAnOrganization call
func (*ClientWithResponses) ParseGetFoldersContainerIDResponse ¶
func (c *ClientWithResponses) ParseGetFoldersContainerIDResponse(rsp *http.Response) (*GetFoldersContainerIDResponse, error)
ParseGetFoldersContainerIDResponse parses an HTTP response from a GetFoldersContainerID call
func (*ClientWithResponses) ParseGetFoldersResponse ¶
func (c *ClientWithResponses) ParseGetFoldersResponse(rsp *http.Response) (*GetFoldersResponse, error)
ParseGetFoldersResponse parses an HTTP response from a GetFolders call
func (*ClientWithResponses) ParseGetOrganizationsContainerIDResponse ¶
func (c *ClientWithResponses) ParseGetOrganizationsContainerIDResponse(rsp *http.Response) (*GetOrganizationsContainerIDResponse, error)
ParseGetOrganizationsContainerIDResponse parses an HTTP response from a GetOrganizationsContainerID call
func (*ClientWithResponses) ParseGetOrganizationsContainerIDSupportResponse ¶
func (c *ClientWithResponses) ParseGetOrganizationsContainerIDSupportResponse(rsp *http.Response) (*GetOrganizationsContainerIDSupportResponse, error)
ParseGetOrganizationsContainerIDSupportResponse parses an HTTP response from a GetOrganizationsContainerIDSupport call
func (*ClientWithResponses) ParseGetResponse ¶
func (c *ClientWithResponses) ParseGetResponse(rsp *http.Response) (*GetResponse, error)
ParseGetResponse parses an HTTP response from a Get call
func (*ClientWithResponses) ParseListResponse ¶
func (c *ClientWithResponses) ParseListResponse(rsp *http.Response) (*ListResponse, error)
ParseListResponse parses an HTTP response from a List call
func (*ClientWithResponses) ParsePatchFoldersContainerIDResponse ¶
func (c *ClientWithResponses) ParsePatchFoldersContainerIDResponse(rsp *http.Response) (*PatchFoldersContainerIDResponse, error)
ParsePatchFoldersContainerIDResponse parses an HTTP response from a PatchFoldersContainerID call
func (*ClientWithResponses) ParsePatchOrganizationsContainerIDResponse ¶
func (c *ClientWithResponses) ParsePatchOrganizationsContainerIDResponse(rsp *http.Response) (*PatchOrganizationsContainerIDResponse, error)
ParsePatchOrganizationsContainerIDResponse parses an HTTP response from a PatchOrganizationsContainerID call
func (*ClientWithResponses) ParsePostFoldersResponse ¶
func (c *ClientWithResponses) ParsePostFoldersResponse(rsp *http.Response) (*PostFoldersResponse, error)
ParsePostFoldersResponse parses an HTTP response from a PostFolders call
func (*ClientWithResponses) ParsePostOrganizationsResponse ¶
func (c *ClientWithResponses) ParsePostOrganizationsResponse(rsp *http.Response) (*PostOrganizationsResponse, error)
ParsePostOrganizationsResponse parses an HTTP response from a PostOrganizations call
func (*ClientWithResponses) ParseUpdateResponse ¶
func (c *ClientWithResponses) ParseUpdateResponse(rsp *http.Response) (*UpdateResponse, error)
ParseUpdateResponse parses an HTTP response from a Update call
func (*ClientWithResponses) PatchFoldersContainerID ¶
func (c *ClientWithResponses) PatchFoldersContainerID(ctx context.Context, containerId string, body PatchFoldersContainerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFoldersContainerIDResponse, error)
func (*ClientWithResponses) PatchFoldersContainerIDWithBody ¶
func (c *ClientWithResponses) PatchFoldersContainerIDWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFoldersContainerIDResponse, error)
PatchFoldersContainerIDWithBody request with arbitrary body returning *PatchFoldersContainerIDResponse
func (*ClientWithResponses) PatchOrganizationsContainerID ¶
func (c *ClientWithResponses) PatchOrganizationsContainerID(ctx context.Context, containerId string, body PatchOrganizationsContainerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrganizationsContainerIDResponse, error)
func (*ClientWithResponses) PatchOrganizationsContainerIDWithBody ¶
func (c *ClientWithResponses) PatchOrganizationsContainerIDWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrganizationsContainerIDResponse, error)
PatchOrganizationsContainerIDWithBody request with arbitrary body returning *PatchOrganizationsContainerIDResponse
func (*ClientWithResponses) PostFolders ¶
func (c *ClientWithResponses) PostFolders(ctx context.Context, body PostFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFoldersResponse, error)
func (*ClientWithResponses) PostFoldersWithBody ¶
func (c *ClientWithResponses) PostFoldersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFoldersResponse, error)
PostFoldersWithBody request with arbitrary body returning *PostFoldersResponse
func (*ClientWithResponses) PostOrganizations ¶
func (c *ClientWithResponses) PostOrganizations(ctx context.Context, body PostOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrganizationsResponse, error)
func (*ClientWithResponses) PostOrganizationsWithBody ¶
func (c *ClientWithResponses) PostOrganizationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrganizationsResponse, error)
PostOrganizationsWithBody request with arbitrary body returning *PostOrganizationsResponse
func (*ClientWithResponses) Update ¶
func (c *ClientWithResponses) Update(ctx context.Context, containerId string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResponse, error)
func (*ClientWithResponses) UpdateWithBody ¶
func (c *ClientWithResponses) UpdateWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResponse, error)
UpdateWithBody request with arbitrary body returning *UpdateResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetFolders request GetFolders(ctx context.Context, params *GetFoldersParams, reqEditors ...RequestEditorFn) (*GetFoldersResponse, error) // PostFolders request with any body PostFoldersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFoldersResponse, error) PostFolders(ctx context.Context, body PostFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFoldersResponse, error) // DeleteFoldersContainerID request DeleteFoldersContainerID(ctx context.Context, containerId string, params *DeleteFoldersContainerIDParams, reqEditors ...RequestEditorFn) (*DeleteFoldersContainerIDResponse, error) // GetFoldersContainerID request GetFoldersContainerID(ctx context.Context, containerId string, params *GetFoldersContainerIDParams, reqEditors ...RequestEditorFn) (*GetFoldersContainerIDResponse, error) // PatchFoldersContainerID request with any body PatchFoldersContainerIDWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFoldersContainerIDResponse, error) PatchFoldersContainerID(ctx context.Context, containerId string, body PatchFoldersContainerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFoldersContainerIDResponse, error) // GetContainersOfAFolder request GetContainersOfAFolder(ctx context.Context, containerId string, params *GetContainersOfAFolderParams, reqEditors ...RequestEditorFn) (*GetContainersOfAFolderResponse, error) // DeleteFolderLabels request DeleteFolderLabels(ctx context.Context, containerId string, params *DeleteFolderLabelsParams, reqEditors ...RequestEditorFn) (*DeleteFolderLabelsResponse, error) // GetAllOrganizations request GetAllOrganizations(ctx context.Context, params *GetAllOrganizationsParams, reqEditors ...RequestEditorFn) (*GetAllOrganizationsResponse, error) // PostOrganizations request with any body PostOrganizationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrganizationsResponse, error) PostOrganizations(ctx context.Context, body PostOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrganizationsResponse, error) // DeleteOrganizationsContainerID request DeleteOrganizationsContainerID(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationsContainerIDResponse, error) // GetOrganizationsContainerID request GetOrganizationsContainerID(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*GetOrganizationsContainerIDResponse, error) // PatchOrganizationsContainerID request with any body PatchOrganizationsContainerIDWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrganizationsContainerIDResponse, error) PatchOrganizationsContainerID(ctx context.Context, containerId string, body PatchOrganizationsContainerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrganizationsContainerIDResponse, error) // GetOrganizationsContainerIDSupport request GetOrganizationsContainerIDSupport(ctx context.Context, containerId string, params *GetOrganizationsContainerIDSupportParams, reqEditors ...RequestEditorFn) (*GetOrganizationsContainerIDSupportResponse, error) // GetContainersOfAnOrganization request GetContainersOfAnOrganization(ctx context.Context, containerId string, params *GetContainersOfAnOrganizationParams, reqEditors ...RequestEditorFn) (*GetContainersOfAnOrganizationResponse, error) // DeleteOrganizationsContainerIDLabels request DeleteOrganizationsContainerIDLabels(ctx context.Context, containerId string, params *DeleteOrganizationsContainerIDLabelsParams, reqEditors ...RequestEditorFn) (*DeleteOrganizationsContainerIDLabelsResponse, error) // List request List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListResponse, error) // Create request with any body CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResponse, error) Create(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResponse, error) // Delete request Delete(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*DeleteResponse, error) // Get request Get(ctx context.Context, containerId string, params *GetParams, reqEditors ...RequestEditorFn) (*GetResponse, error) // Update request with any body UpdateWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResponse, error) Update(ctx context.Context, containerId string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResponse, error) // DeleteProjectContainerIDLabels request DeleteProjectContainerIDLabels(ctx context.Context, containerId string, params *DeleteProjectContainerIDLabelsParams, reqEditors ...RequestEditorFn) (*DeleteProjectContainerIDLabelsResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ContainerResponse ¶
type ContainerResponse struct { // Cursor A pagination cursor is returned on the first call of the pagination process. If given, it will start from the end of the previous position. If not given, a new pagination is started. Cursor CursorSchema `json:"cursor"` Items []struct { Item ProjectResponse `json:"item"` // Type Resource container type. Type ContainerResponseItemsType `json:"type"` } `json:"items"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. Limit LimitSchema `json:"limit"` }
ContainerResponse defines model for ContainerResponse.
type ContainerResponseItemsType ¶
type ContainerResponseItemsType string
ContainerResponseItemsType Resource container type.
const (
CONTAINER_RESPONSE_ITEMS_TYPE_PROJECT ContainerResponseItemsType = "PROJECT"
)
Defines values for ContainerResponseItemsType.
type CreateJSONRequestBody ¶
type CreateJSONRequestBody = ProjectRequestBody
CreateJSONRequestBody defines body for Create for application/json ContentType.
type CreateResponse ¶
type CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ProjectResponse JSON400 *ErrorResponse JSON403 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (CreateResponse) Status ¶
func (r CreateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateResponse) StatusCode ¶
func (r CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
func (*CreateResponse) WaitHandler ¶
func (*CreateResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, containerID string) *wait.Handler
type CreationTimeStart ¶
type CreationTimeStart = string
CreationTimeStart defines model for creation-time-start.
type CursorSchema ¶
type CursorSchema = string
CursorSchema A pagination cursor is returned on the first call of the pagination process. If given, it will start from the end of the previous position. If not given, a new pagination is started.
type DeleteFolderLabelsParams ¶
type DeleteFolderLabelsParams struct {
// Keys Label name.
Keys *[]interface{} `form:"keys,omitempty" json:"keys,omitempty"`
}
DeleteFolderLabelsParams defines parameters for DeleteFolderLabels.
type DeleteFolderLabelsResponse ¶
type DeleteFolderLabelsResponse struct { Body []byte HTTPResponse *http.Response JSON409 *ErrorResponse Error error // Aggregated error }
func (DeleteFolderLabelsResponse) Status ¶
func (r DeleteFolderLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFolderLabelsResponse) StatusCode ¶
func (r DeleteFolderLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFoldersContainerIDParams ¶
type DeleteFoldersContainerIDParams struct { // Force If true, all nested, empty folders are deleted recursively - if no project is attached! Force *bool `form:"force,omitempty" json:"force,omitempty"` }
DeleteFoldersContainerIDParams defines parameters for DeleteFoldersContainerID.
type DeleteFoldersContainerIDResponse ¶
type DeleteFoldersContainerIDResponse struct { Body []byte HTTPResponse *http.Response JSON404 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (DeleteFoldersContainerIDResponse) Status ¶
func (r DeleteFoldersContainerIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFoldersContainerIDResponse) StatusCode ¶
func (r DeleteFoldersContainerIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrganizationsContainerIDLabelsParams ¶
type DeleteOrganizationsContainerIDLabelsParams struct {
// Keys Label name.
Keys *[]interface{} `form:"keys,omitempty" json:"keys,omitempty"`
}
DeleteOrganizationsContainerIDLabelsParams defines parameters for DeleteOrganizationsContainerIDLabels.
type DeleteOrganizationsContainerIDLabelsResponse ¶
type DeleteOrganizationsContainerIDLabelsResponse struct { Body []byte HTTPResponse *http.Response JSON409 *ErrorResponse Error error // Aggregated error }
func (DeleteOrganizationsContainerIDLabelsResponse) Status ¶
func (r DeleteOrganizationsContainerIDLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOrganizationsContainerIDLabelsResponse) StatusCode ¶
func (r DeleteOrganizationsContainerIDLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrganizationsContainerIDResponse ¶
type DeleteOrganizationsContainerIDResponse struct { Body []byte HTTPResponse *http.Response JSON409 *ErrorResponse Error error // Aggregated error }
func (DeleteOrganizationsContainerIDResponse) Status ¶
func (r DeleteOrganizationsContainerIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOrganizationsContainerIDResponse) StatusCode ¶
func (r DeleteOrganizationsContainerIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectContainerIDLabelsParams ¶
type DeleteProjectContainerIDLabelsParams struct {
// Keys Label name.
Keys *[]interface{} `form:"keys,omitempty" json:"keys,omitempty"`
}
DeleteProjectContainerIDLabelsParams defines parameters for DeleteProjectContainerIDLabels.
type DeleteProjectContainerIDLabelsResponse ¶
type DeleteProjectContainerIDLabelsResponse struct { Body []byte HTTPResponse *http.Response JSON409 *ErrorResponse Error error // Aggregated error }
func (DeleteProjectContainerIDLabelsResponse) Status ¶
func (r DeleteProjectContainerIDLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectContainerIDLabelsResponse) StatusCode ¶
func (r DeleteProjectContainerIDLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteResponse ¶
type DeleteResponse struct { Body []byte HTTPResponse *http.Response JSON409 *ErrorResponse Error error // Aggregated error }
func (DeleteResponse) Status ¶
func (r DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteResponse) StatusCode ¶
func (r DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
func (*DeleteResponse) WaitHandler ¶
func (*DeleteResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, containerID string) *wait.Handler
type ErrorResponse ¶
type ErrorResponse struct { // Error The reason phrase of the status code. Error string `json:"error"` // Message Description of the error. Message string `json:"message"` // Path Path which was called. Path string `json:"path"` // Status Http Status Code. Status float32 `json:"status"` // TimeStamp Timestamp at which the error occurred. TimeStamp string `json:"timeStamp"` }
ErrorResponse defines model for ErrorResponse.
type FolderRequestBody ¶
type FolderRequestBody struct { // ContainerParentId User-friendly Id of the parent resource container. ContainerParentID string `json:"containerParentId"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // Name The name of the folder matching the regex `^[a-zA-ZäüöÄÜÖ0-9][ a-zA-ZäüöÄÜÖß0-9_+&-]{1,39}$`. Name string `json:"name"` }
FolderRequestBody defines model for FolderRequestBody.
type FolderResponse ¶
type FolderResponse struct { // ContainerId Globally unique, user-friendly identifier. Will replace old, legacy identifier "folderId". ContainerID string `json:"containerId"` // CreationTime Timestamp at which the folder was created. CreationTime string `json:"creationTime"` // FolderId Globally unique, legacy folder identifier (for backward compatibility) FolderID openapiTypes.UUID `json:"folderId"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // Name Folder name. Name string `json:"name"` // Parent Parent container. Parent Parent `json:"parent"` // UpdateTime Timestamp at which the folder was last modified. UpdateTime string `json:"updateTime"` }
FolderResponse A Folder can have another folder as parent. 5 levels of nested folders are permitted.
type FolderResponseWithParents ¶
type FolderResponseWithParents struct { // ContainerId Globally unique, user-friendly identifier. Will replace old, legacy identifier "folderId". ContainerID string `json:"containerId"` // CreationTime Timestamp at which the folder was created. CreationTime string `json:"creationTime"` // FolderId Globally unique, legacy folder identifier (for backward compatibility) FolderID openapiTypes.UUID `json:"folderId"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // Name Folder name. Name string `json:"name"` // Parent Parent container. Parent Parent `json:"parent"` Parents *ParentList `json:"parents,omitempty"` // UpdateTime Timestamp at which the folder was last modified. UpdateTime string `json:"updateTime"` }
FolderResponseWithParents A Folder can have another folder as parent. 5 levels of nested folders are permitted.
type GetAllOrganizationsParams ¶
type GetAllOrganizationsParams struct { // ContainerIDs Preferable the containerIds, but for migration purpose, the legacy uuids of the organizations are accepted as well. ContainerIDs *[]interface{} `form:"containerIDs,omitempty" json:"containerIDs,omitempty"` // Member E-Mail address of the user for whom the visible resource containers should be filtered. Member *Member `form:"member,omitempty" json:"member,omitempty"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` // Offset The offset of the first item in the collection to return. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // CreationTimeStart A timestamp to specifiy the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time. CreationTimeStart *CreationTimeStart `form:"creation-time-start,omitempty" json:"creation-time-start,omitempty"` }
GetAllOrganizationsParams defines parameters for GetAllOrganizations.
type GetAllOrganizationsResponse ¶
type GetAllOrganizationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AllOrgResponse JSON400 *ErrorResponse JSON403 *ErrorResponse Error error // Aggregated error }
func (GetAllOrganizationsResponse) Status ¶
func (r GetAllOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllOrganizationsResponse) StatusCode ¶
func (r GetAllOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContainersOfAFolderParams ¶
type GetContainersOfAFolderParams struct { // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` // Cursor A pagination cursor is returned on the first call of the pagination process. If given, it will start from the end of the previous position. If not given, a new pagination is started. Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"` // Member E-Mail address of the user for whom the visible resource containers should be filtered. Member *Member `form:"member,omitempty" json:"member,omitempty"` // Type If given, only children of specified type will be returned. Type *GetContainersOfAFolderParamsType `form:"type,omitempty" json:"type,omitempty"` }
GetContainersOfAFolderParams defines parameters for GetContainersOfAFolder.
type GetContainersOfAFolderParamsType ¶
type GetContainersOfAFolderParamsType string
GetContainersOfAFolderParamsType defines parameters for GetContainersOfAFolder.
const (
GET_CONTAINERS_OF_A_FOLDER_PARAMS_TYPE_PROJECT GetContainersOfAFolderParamsType = "project"
)
Defines values for GetContainersOfAFolderParamsType.
type GetContainersOfAFolderResponse ¶
type GetContainersOfAFolderResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ContainerResponse JSON400 *ErrorResponse Error error // Aggregated error }
func (GetContainersOfAFolderResponse) Status ¶
func (r GetContainersOfAFolderResponse) Status() string
Status returns HTTPResponse.Status
func (GetContainersOfAFolderResponse) StatusCode ¶
func (r GetContainersOfAFolderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContainersOfAnOrganizationParams ¶
type GetContainersOfAnOrganizationParams struct { // Member E-Mail address of the user for whom the visible resource containers should be filtered. Member *Member `form:"member,omitempty" json:"member,omitempty"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` // Cursor A pagination cursor is returned on the first call of the pagination process. If given, it will start from the end of the previous position. If not given, a new pagination is started. Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"` // Recursive If true, list all children. If false, list only the next direct children. Recursive *Recursive `form:"recursive,omitempty" json:"recursive,omitempty"` // Type If given, only children of specified type will be returned. Type *GetContainersOfAnOrganizationParamsType `form:"type,omitempty" json:"type,omitempty"` }
GetContainersOfAnOrganizationParams defines parameters for GetContainersOfAnOrganization.
type GetContainersOfAnOrganizationParamsType ¶
type GetContainersOfAnOrganizationParamsType string
GetContainersOfAnOrganizationParamsType defines parameters for GetContainersOfAnOrganization.
const (
PROJECT GetContainersOfAnOrganizationParamsType = "project"
)
Defines values for GetContainersOfAnOrganizationParamsType.
type GetContainersOfAnOrganizationResponse ¶
type GetContainersOfAnOrganizationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ContainerResponse JSON404 *ErrorResponse Error error // Aggregated error }
func (GetContainersOfAnOrganizationResponse) Status ¶
func (r GetContainersOfAnOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (GetContainersOfAnOrganizationResponse) StatusCode ¶
func (r GetContainersOfAnOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFoldersContainerIDParams ¶
type GetFoldersContainerIDParams struct {
IncludeParents *bool `form:"includeParents,omitempty" json:"includeParents,omitempty"`
}
GetFoldersContainerIDParams defines parameters for GetFoldersContainerID.
type GetFoldersContainerIDResponse ¶
type GetFoldersContainerIDResponse struct { Body []byte HTTPResponse *http.Response JSON200 *FolderResponseWithParents JSON403 *ErrorResponse JSON404 *ErrorResponse Error error // Aggregated error }
func (GetFoldersContainerIDResponse) Status ¶
func (r GetFoldersContainerIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetFoldersContainerIDResponse) StatusCode ¶
func (r GetFoldersContainerIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFoldersParams ¶
type GetFoldersParams struct { // ContainerParentID container Id of the parent resource container. ContainerParentID *string `form:"containerParentID,omitempty" json:"containerParentID,omitempty"` // ContainerIDs List of user-friendly container Ids. ContainerIDs *[]interface{} `form:"containerIDs,omitempty" json:"containerIDs,omitempty"` // Member E-Mail address of the user for whom the visible resource containers should be filtered. Member *Member `form:"member,omitempty" json:"member,omitempty"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` // Offset The offset of the first item in the collection to return. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // CreationTimeStart A timestamp to specifiy the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time. CreationTimeStart *CreationTimeStart `form:"creation-time-start,omitempty" json:"creation-time-start,omitempty"` }
GetFoldersParams defines parameters for GetFolders.
type GetFoldersResponse ¶
type GetFoldersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AllFoldersResponse JSON400 *ErrorResponse JSON403 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (GetFoldersResponse) Status ¶
func (r GetFoldersResponse) Status() string
Status returns HTTPResponse.Status
func (GetFoldersResponse) StatusCode ¶
func (r GetFoldersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationsContainerIDResponse ¶
type GetOrganizationsContainerIDResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrganizationResponse JSON404 *ErrorResponse Error error // Aggregated error }
func (GetOrganizationsContainerIDResponse) Status ¶
func (r GetOrganizationsContainerIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationsContainerIDResponse) StatusCode ¶
func (r GetOrganizationsContainerIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationsContainerIDSupportParams ¶
type GetOrganizationsContainerIDSupportParams struct { // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` // Offset The offset of the first item in the collection to return. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // CreationTimeStart A timestamp to specifiy the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time. CreationTimeStart *CreationTimeStart `form:"creation-time-start,omitempty" json:"creation-time-start,omitempty"` // Type If given, only children of specified type will be returned. Type *GetOrganizationsContainerIDSupportParamsType `form:"type,omitempty" json:"type,omitempty"` }
GetOrganizationsContainerIDSupportParams defines parameters for GetOrganizationsContainerIDSupport.
type GetOrganizationsContainerIDSupportParamsType ¶
type GetOrganizationsContainerIDSupportParamsType string
GetOrganizationsContainerIDSupportParamsType defines parameters for GetOrganizationsContainerIDSupport.
const (
GET_ORGANIZATIONS_CONTAINER_ID_SUPPORT_PARAMS_TYPE_PROJECT GetOrganizationsContainerIDSupportParamsType = "project"
)
Defines values for GetOrganizationsContainerIDSupportParamsType.
type GetOrganizationsContainerIDSupportResponse ¶
type GetOrganizationsContainerIDSupportResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ChildrenResponse JSON404 *ErrorResponse Error error // Aggregated error }
func (GetOrganizationsContainerIDSupportResponse) Status ¶
func (r GetOrganizationsContainerIDSupportResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationsContainerIDSupportResponse) StatusCode ¶
func (r GetOrganizationsContainerIDSupportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetParams ¶
type GetParams struct {
IncludeParents *bool `form:"includeParents,omitempty" json:"includeParents,omitempty"`
}
GetParams defines parameters for Get.
type GetResponse ¶
type GetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectResponseWithParents JSON403 *ErrorResponse JSON404 *ErrorResponse Error error // Aggregated error }
func (GetResponse) StatusCode ¶
func (r GetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LifecycleState ¶
type LifecycleState string
LifecycleState Lifecycle state of the resource container.
| LIFECYCLE STATE | DESCRIPTION | |----------|--------------------| | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | | ACTIVE | Resource container can be fully used. | | INACTIVE | Resource container usage has been disabled. | | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. |
const ( ACTIVE LifecycleState = "ACTIVE" CREATING LifecycleState = "CREATING" DELETING LifecycleState = "DELETING" INACTIVE LifecycleState = "INACTIVE" )
Defines values for LifecycleState.
type LimitSchema ¶
type LimitSchema = float32
LimitSchema The maximum number of projects to return in the response. If not present, an appropriate default will be used.
type ListParams ¶
type ListParams struct { // ContainerParentID Container ID from parent container. ContainerParentID *string `form:"containerParentID,omitempty" json:"containerParentID,omitempty"` // ContainerIDs List of container IDs ContainerIDs *[]interface{} `form:"containerIDs,omitempty" json:"containerIDs,omitempty"` // Member E-Mail address of the user for whom the visible resource containers should be filtered. Member *Member `form:"member,omitempty" json:"member,omitempty"` // Offset The offset of the first item in the collection to return. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // Limit The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` // CreationTimeStart A timestamp to specifiy the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time. CreationTimeStart *CreationTimeStart `form:"creation-time-start,omitempty" json:"creation-time-start,omitempty"` }
ListParams defines parameters for List.
type ListResponse ¶
type ListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AllProjectsResponse JSON400 *ErrorResponse JSON403 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (ListResponse) Status ¶
func (r ListResponse) Status() string
Status returns HTTPResponse.Status
func (ListResponse) StatusCode ¶
func (r ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OffsetSchema ¶
type OffsetSchema = float32
OffsetSchema The offset of the first item in the collection to return.
type OrganizationMember ¶
type OrganizationMember struct { // Role Unique name of the role. Role OrganizationMemberRole `json:"role"` // Subject Unique identifier of the user, service account, or client. Subject string `json:"subject"` }
OrganizationMember defines model for OrganizationMember.
type OrganizationMemberRole ¶
type OrganizationMemberRole string
OrganizationMemberRole Unique name of the role.
const ( ORGANIZATION_ADMIN OrganizationMemberRole = "organization.admin" ORGANIZATION_AUDITOR OrganizationMemberRole = "organization.auditor" ORGANIZATION_MEMBER OrganizationMemberRole = "organization.member" ORGANIZATION_OWNER OrganizationMemberRole = "organization.owner" )
Defines values for OrganizationMemberRole.
type OrganizationRequestBody ¶
type OrganizationRequestBody struct { // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // Members The initial members that are assigned to the organization. At least one subject needs to be a user and not a client or service account. Members []OrganizationMember `json:"members"` // Name The name for the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9][ a-zA-ZäüöÄÜÖß0-9_+&-]{1,39}$`. Name string `json:"name"` }
OrganizationRequestBody defines model for OrganizationRequestBody.
type OrganizationResponse ¶
type OrganizationResponse struct { // ContainerId Globally unique, user-friendly identifier. Will replace old, legacy identifier "organizationId". ContainerID string `json:"containerId"` // CreationTime Timestamp at which the organization was created. CreationTime string `json:"creationTime"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // LifecycleState Lifecycle state of the resource container. // // | LIFECYCLE STATE | DESCRIPTION | // |----------|--------------------| // | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | // | ACTIVE | Resource container can be fully used. | // | INACTIVE | Resource container usage has been disabled. | // | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. | LifecycleState LifecycleState `json:"lifecycleState"` // Name Organization name. Name string `json:"name"` // OrganizationId Globally unique, legacy organization identifier (for backward compatibility) OrganizationID openapiTypes.UUID `json:"organizationId"` // UpdateTime Timestamp at which the organization was last modified. UpdateTime string `json:"updateTime"` }
OrganizationResponse defines model for OrganizationResponse.
type Parent ¶
type Parent struct { // ContainerId User-friendly identifier of either organization or folder (will replace id). ContainerID string `json:"containerId"` // Id Legacy identifier of either organization or folder (for backward compatibility). Field name according to parent object of v1. ID openapiTypes.UUID `json:"id"` // Type Container type of parent container. Type ParentType `json:"type"` }
Parent Parent container.
type ParentList ¶
type ParentList = []struct { // ContainerId User-friendly identifier of either organization or folder (will replace id). ContainerID string `json:"containerId"` // ContainerParentId User-friendly parent identifier of either organization or folder (will replace parentId). ContainerParentID string `json:"containerParentId"` // Id Legacy identifier (for backward compatibility). ID openapiTypes.UUID `json:"id"` // Name Parent container name. Name string `json:"name"` // ParentId Legacy identifier of the parent resource container (for backward compatibility). ParentID openapiTypes.UUID `json:"parentId"` // Type Parent container type. Type ParentListType `json:"type"` }
ParentList defines model for ParentList.
type ParentListType ¶
type ParentListType string
ParentListType Parent container type.
const ( PARENT_LIST_TYPE_FOLDER ParentListType = "FOLDER" PARENT_LIST_TYPE_ORGANIZATION ParentListType = "ORGANIZATION" )
Defines values for ParentListType.
type ParentType ¶
type ParentType string
ParentType Container type of parent container.
const ( PARENT_TYPE_FOLDER ParentType = "FOLDER" PARENT_TYPE_ORGANIZATION ParentType = "ORGANIZATION" )
Defines values for ParentType.
type PatchFolderOrProject ¶
type PatchFolderOrProject struct { // ContainerParentId New user-friendly parent Id for the resource container. ContainerParentID *string `json:"containerParentId,omitempty"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // Name New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9][ a-zA-ZäüöÄÜÖß0-9_+&-]{1,39}$`. Name *string `json:"name,omitempty"` }
PatchFolderOrProject defines model for PatchFolderOrProject.
type PatchFoldersContainerIDJSONRequestBody ¶
type PatchFoldersContainerIDJSONRequestBody = PatchFolderOrProject
PatchFoldersContainerIDJSONRequestBody defines body for PatchFoldersContainerID for application/json ContentType.
type PatchFoldersContainerIDResponse ¶
type PatchFoldersContainerIDResponse struct { Body []byte HTTPResponse *http.Response JSON200 *FolderResponse JSON403 *ErrorResponse JSON404 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (PatchFoldersContainerIDResponse) Status ¶
func (r PatchFoldersContainerIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchFoldersContainerIDResponse) StatusCode ¶
func (r PatchFoldersContainerIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchOrganizationRequestBody ¶
type PatchOrganizationRequestBody struct { // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // Name The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9][ a-zA-ZäüöÄÜÖß0-9_+&-]{1,39}$`. Name *string `json:"name,omitempty"` }
PatchOrganizationRequestBody defines model for PatchOrganizationRequestBody.
type PatchOrganizationsContainerIDJSONRequestBody ¶
type PatchOrganizationsContainerIDJSONRequestBody = PatchOrganizationRequestBody
PatchOrganizationsContainerIDJSONRequestBody defines body for PatchOrganizationsContainerID for application/json ContentType.
type PatchOrganizationsContainerIDResponse ¶
type PatchOrganizationsContainerIDResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrganizationResponse JSON404 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (PatchOrganizationsContainerIDResponse) Status ¶
func (r PatchOrganizationsContainerIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchOrganizationsContainerIDResponse) StatusCode ¶
func (r PatchOrganizationsContainerIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostFoldersJSONRequestBody ¶
type PostFoldersJSONRequestBody = FolderRequestBody
PostFoldersJSONRequestBody defines body for PostFolders for application/json ContentType.
type PostFoldersResponse ¶
type PostFoldersResponse struct { Body []byte HTTPResponse *http.Response JSON201 *FolderResponse JSON400 *ErrorResponse JSON403 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (PostFoldersResponse) Status ¶
func (r PostFoldersResponse) Status() string
Status returns HTTPResponse.Status
func (PostFoldersResponse) StatusCode ¶
func (r PostFoldersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostOrganizationsJSONRequestBody ¶
type PostOrganizationsJSONRequestBody = OrganizationRequestBody
PostOrganizationsJSONRequestBody defines body for PostOrganizations for application/json ContentType.
type PostOrganizationsResponse ¶
type PostOrganizationsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *OrganizationResponse JSON400 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (PostOrganizationsResponse) Status ¶
func (r PostOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (PostOrganizationsResponse) StatusCode ¶
func (r PostOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectMember ¶
type ProjectMember struct { Role *ProjectMemberRole `json:"role,omitempty"` Subject *string `json:"subject,omitempty"` }
ProjectMember defines model for ProjectMember.
type ProjectMemberRole ¶
type ProjectMemberRole string
ProjectMemberRole defines model for ProjectMember.Role.
const ( PROJECT_ADMIN ProjectMemberRole = "project.admin" PROJECT_AUDITOR ProjectMemberRole = "project.auditor" PROJECT_MEMBER ProjectMemberRole = "project.member" PROJECT_OWNER ProjectMemberRole = "project.owner" )
Defines values for ProjectMemberRole.
type ProjectRequestBody ¶
type ProjectRequestBody struct { // ContainerParentId User-friendly identifier of the parent resource container. ContainerParentID string `json:"containerParentId"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // Members The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. Members []ProjectMember `json:"members"` // Name Project name matching the regex `^[a-zA-ZäüöÄÜÖ0-9][ a-zA-ZäüöÄÜÖß0-9_+&-]{1,39}$`. Name string `json:"name"` }
ProjectRequestBody defines model for ProjectRequestBody.
type ProjectResponse ¶
type ProjectResponse struct { // ContainerId Globally unique, user-friendly identifier. Will replace old, legacy identifier "projectId". ContainerID string `json:"containerId"` // CreationTime Timestamp at which the project was created. CreationTime string `json:"creationTime"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // LifecycleState Lifecycle state of the resource container. // // | LIFECYCLE STATE | DESCRIPTION | // |----------|--------------------| // | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | // | ACTIVE | Resource container can be fully used. | // | INACTIVE | Resource container usage has been disabled. | // | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. | LifecycleState LifecycleState `json:"lifecycleState"` // Name Project name. Name string `json:"name"` // Parent Parent container. Parent Parent `json:"parent"` // ProjectId Globally unique, legacy project identifier (for backward compatibility) ProjectID openapiTypes.UUID `json:"projectId"` // UpdateTime Timestamp at which the project was last modified. UpdateTime string `json:"updateTime"` }
ProjectResponse defines model for ProjectResponse.
type ProjectResponseWithParents ¶
type ProjectResponseWithParents struct { // ContainerId Globally unique, user-friendly identifier. Will replace old, legacy identifier "projectId". ContainerID string `json:"containerId"` // CreationTime Timestamp at which the project was created. CreationTime string `json:"creationTime"` // Labels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. // - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. // - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. Labels *ResourceLabels `json:"labels,omitempty"` // LifecycleState Lifecycle state of the resource container. // // | LIFECYCLE STATE | DESCRIPTION | // |----------|--------------------| // | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | // | ACTIVE | Resource container can be fully used. | // | INACTIVE | Resource container usage has been disabled. | // | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. | LifecycleState LifecycleState `json:"lifecycleState"` // Name Project name. Name string `json:"name"` // Parent Parent container. Parent Parent `json:"parent"` Parents *ParentList `json:"parents,omitempty"` // ProjectId Globally unique, legacy project identifier (for backward compatibility) ProjectID openapiTypes.UUID `json:"projectId"` // UpdateTime Timestamp at which the project was last modified. UpdateTime string `json:"updateTime"` }
ProjectResponseWithParents defines model for ProjectResponseWithParents.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResourceLabels ¶
ResourceLabels Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
type UpdateJSONRequestBody ¶
type UpdateJSONRequestBody = PatchFolderOrProject
UpdateJSONRequestBody defines body for Update for application/json ContentType.
type UpdateResponse ¶
type UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectResponse JSON403 *ErrorResponse JSON404 *ErrorResponse JSON409 *ErrorResponse Error error // Aggregated error }
func (UpdateResponse) Status ¶
func (r UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateResponse) StatusCode ¶
func (r UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode