resourcemanagement

package
v1.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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

func NewListRequest(ctx context.Context, server string, params *ListParams) (*http.Request, error)

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

func NewUpdateRequestWithBody

func NewUpdateRequestWithBody(ctx context.Context, server string, containerId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateRequestWithBody generates requests for Update with any type of body

func ValidateRole

func ValidateRole(role ProjectMemberRole) error

ValidateRole validates a role

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 (c *Client) CreateRawWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) DeleteOrganizationsContainerIDRaw(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteProjectContainerIDLabelsRaw

func (c *Client) DeleteProjectContainerIDLabelsRaw(ctx context.Context, containerId string, params *DeleteProjectContainerIDLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRaw

func (c *Client) DeleteRaw(ctx context.Context, containerId string, 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 (c *Client) GetOrganizationsContainerIDRaw(ctx context.Context, containerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizationsContainerIDSupportRaw

func (c *Client) GetOrganizationsContainerIDSupportRaw(ctx context.Context, containerId string, params *GetOrganizationsContainerIDSupportParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRaw

func (c *Client) GetRaw(ctx context.Context, containerId string, params *GetParams, 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 (c *Client) PatchFoldersContainerIDRawWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchOrganizationsContainerIDRaw

func (c *Client) PatchOrganizationsContainerIDRaw(ctx context.Context, containerId string, body PatchOrganizationsContainerIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchOrganizationsContainerIDRawWithBody

func (c *Client) PatchOrganizationsContainerIDRawWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFoldersRaw

func (c *Client) PostFoldersRaw(ctx context.Context, body PostFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFoldersRawWithBody

func (c *Client) PostFoldersRawWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostOrganizationsRaw

func (c *Client) PostOrganizationsRaw(ctx context.Context, body PostOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostOrganizationsRawWithBody

func (c *Client) PostOrganizationsRawWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateRaw

func (c *Client) UpdateRaw(ctx context.Context, containerId string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateRawWithBody

func (c *Client) UpdateRawWithBody(ctx context.Context, containerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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 (*ClientWithResponses) Create

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 (*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 (*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 (*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 Cursor

type Cursor = string

Cursor defines model for cursor.

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

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

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

Status returns HTTPResponse.Status

func (DeleteOrganizationsContainerIDLabelsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationsContainerIDResponse

type DeleteOrganizationsContainerIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON409      *ErrorResponse
	Error        error // Aggregated error
}

func (DeleteOrganizationsContainerIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteOrganizationsContainerIDResponse) StatusCode

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

Status returns HTTPResponse.Status

func (DeleteProjectContainerIDLabelsResponse) StatusCode

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

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

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

Status returns HTTPResponse.Status

func (GetContainersOfAnOrganizationResponse) StatusCode

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

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

Status returns HTTPResponse.Status

func (GetOrganizationsContainerIDResponse) StatusCode

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

Status returns HTTPResponse.Status

func (GetOrganizationsContainerIDSupportResponse) StatusCode

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) Status

func (r GetResponse) Status() string

Status returns HTTPResponse.Status

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 Limit

type Limit = float32

Limit defines model for limit.

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 Member

type Member = string

Member defines model for member.

type Offset

type Offset = float32

Offset defines model for offset.

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

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

Status returns HTTPResponse.Status

func (PatchOrganizationsContainerIDResponse) StatusCode

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 Recursive

type Recursive = bool

Recursive defines model for recursive.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResourceLabels

type ResourceLabels map[string]string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL