api

package
v0.0.0-...-f2ce234 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT.

Index

Constants

View Source
const (
	Basic_authScopes = "basic_auth.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type Access

type Access struct {
	Permission          string               `json:"permission"`
	ResourceDefinitions []ResourceDefinition `json:"resourceDefinitions"`
}

Access defines model for Access.

type AccessPagination

type AccessPagination struct {
	Data  []Access         `json:"data"`
	Links *PaginationLinks `json:"links,omitempty"`
	Meta  *PaginationMeta  `json:"meta,omitempty"`
}

AccessPagination defines model for AccessPagination.

type AddPrincipalToGroup200JSONResponse

type AddPrincipalToGroup200JSONResponse GroupWithPrincipalsAndRoles

func (AddPrincipalToGroup200JSONResponse) VisitAddPrincipalToGroupResponse

func (response AddPrincipalToGroup200JSONResponse) VisitAddPrincipalToGroupResponse(w http.ResponseWriter) error

type AddPrincipalToGroup400Response

type AddPrincipalToGroup400Response struct {
}

func (AddPrincipalToGroup400Response) VisitAddPrincipalToGroupResponse

func (response AddPrincipalToGroup400Response) VisitAddPrincipalToGroupResponse(w http.ResponseWriter) error

type AddPrincipalToGroup401Response

type AddPrincipalToGroup401Response struct {
}

func (AddPrincipalToGroup401Response) VisitAddPrincipalToGroupResponse

func (response AddPrincipalToGroup401Response) VisitAddPrincipalToGroupResponse(w http.ResponseWriter) error

type AddPrincipalToGroup403JSONResponse

type AddPrincipalToGroup403JSONResponse Error403

func (AddPrincipalToGroup403JSONResponse) VisitAddPrincipalToGroupResponse

func (response AddPrincipalToGroup403JSONResponse) VisitAddPrincipalToGroupResponse(w http.ResponseWriter) error

type AddPrincipalToGroup404JSONResponse

type AddPrincipalToGroup404JSONResponse ErrorNotFound

func (AddPrincipalToGroup404JSONResponse) VisitAddPrincipalToGroupResponse

func (response AddPrincipalToGroup404JSONResponse) VisitAddPrincipalToGroupResponse(w http.ResponseWriter) error

type AddPrincipalToGroup500JSONResponse

type AddPrincipalToGroup500JSONResponse Error

func (AddPrincipalToGroup500JSONResponse) VisitAddPrincipalToGroupResponse

func (response AddPrincipalToGroup500JSONResponse) VisitAddPrincipalToGroupResponse(w http.ResponseWriter) error

type AddPrincipalToGroupJSONRequestBody

type AddPrincipalToGroupJSONRequestBody = GroupPrincipalIn

AddPrincipalToGroupJSONRequestBody defines body for AddPrincipalToGroup for application/json ContentType.

type AddPrincipalToGroupRequestObject

type AddPrincipalToGroupRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
	Body *AddPrincipalToGroupJSONRequestBody
}

type AddPrincipalToGroupResponseObject

type AddPrincipalToGroupResponseObject interface {
	VisitAddPrincipalToGroupResponse(w http.ResponseWriter) error
}

type AddRoleToGroup200JSONResponse

type AddRoleToGroup200JSONResponse struct {
	Data []RoleOut `json:"data"`
}

func (AddRoleToGroup200JSONResponse) VisitAddRoleToGroupResponse

func (response AddRoleToGroup200JSONResponse) VisitAddRoleToGroupResponse(w http.ResponseWriter) error

type AddRoleToGroup400Response

type AddRoleToGroup400Response struct {
}

func (AddRoleToGroup400Response) VisitAddRoleToGroupResponse

func (response AddRoleToGroup400Response) VisitAddRoleToGroupResponse(w http.ResponseWriter) error

type AddRoleToGroup401Response

type AddRoleToGroup401Response struct {
}

func (AddRoleToGroup401Response) VisitAddRoleToGroupResponse

func (response AddRoleToGroup401Response) VisitAddRoleToGroupResponse(w http.ResponseWriter) error

type AddRoleToGroup403JSONResponse

type AddRoleToGroup403JSONResponse Error403

func (AddRoleToGroup403JSONResponse) VisitAddRoleToGroupResponse

func (response AddRoleToGroup403JSONResponse) VisitAddRoleToGroupResponse(w http.ResponseWriter) error

type AddRoleToGroup404JSONResponse

type AddRoleToGroup404JSONResponse Error

func (AddRoleToGroup404JSONResponse) VisitAddRoleToGroupResponse

func (response AddRoleToGroup404JSONResponse) VisitAddRoleToGroupResponse(w http.ResponseWriter) error

type AddRoleToGroup500JSONResponse

type AddRoleToGroup500JSONResponse Error

func (AddRoleToGroup500JSONResponse) VisitAddRoleToGroupResponse

func (response AddRoleToGroup500JSONResponse) VisitAddRoleToGroupResponse(w http.ResponseWriter) error

type AddRoleToGroupJSONRequestBody

type AddRoleToGroupJSONRequestBody = GroupRoleIn

AddRoleToGroupJSONRequestBody defines body for AddRoleToGroup for application/json ContentType.

type AddRoleToGroupRequestObject

type AddRoleToGroupRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
	Body *AddRoleToGroupJSONRequestBody
}

type AddRoleToGroupResponseObject

type AddRoleToGroupResponseObject interface {
	VisitAddRoleToGroupResponse(w http.ResponseWriter) error
}

type AdditionalGroup

type AdditionalGroup struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
	Uuid        *string `json:"uuid,omitempty"`
}

AdditionalGroup defines model for AdditionalGroup.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type CreateCrossAccountRequests201JSONResponse

type CreateCrossAccountRequests201JSONResponse CrossAccountRequestOut

func (CreateCrossAccountRequests201JSONResponse) VisitCreateCrossAccountRequestsResponse

func (response CreateCrossAccountRequests201JSONResponse) VisitCreateCrossAccountRequestsResponse(w http.ResponseWriter) error

type CreateCrossAccountRequests401Response

type CreateCrossAccountRequests401Response struct {
}

func (CreateCrossAccountRequests401Response) VisitCreateCrossAccountRequestsResponse

func (response CreateCrossAccountRequests401Response) VisitCreateCrossAccountRequestsResponse(w http.ResponseWriter) error

type CreateCrossAccountRequests403JSONResponse

type CreateCrossAccountRequests403JSONResponse Error403

func (CreateCrossAccountRequests403JSONResponse) VisitCreateCrossAccountRequestsResponse

func (response CreateCrossAccountRequests403JSONResponse) VisitCreateCrossAccountRequestsResponse(w http.ResponseWriter) error

type CreateCrossAccountRequests500JSONResponse

type CreateCrossAccountRequests500JSONResponse Error

func (CreateCrossAccountRequests500JSONResponse) VisitCreateCrossAccountRequestsResponse

func (response CreateCrossAccountRequests500JSONResponse) VisitCreateCrossAccountRequestsResponse(w http.ResponseWriter) error

type CreateCrossAccountRequestsJSONRequestBody

type CreateCrossAccountRequestsJSONRequestBody = CrossAccountRequestIn

CreateCrossAccountRequestsJSONRequestBody defines body for CreateCrossAccountRequests for application/json ContentType.

type CreateCrossAccountRequestsRequestObject

type CreateCrossAccountRequestsRequestObject struct {
	Body *CreateCrossAccountRequestsJSONRequestBody
}

type CreateCrossAccountRequestsResponseObject

type CreateCrossAccountRequestsResponseObject interface {
	VisitCreateCrossAccountRequestsResponse(w http.ResponseWriter) error
}

type CreateGroup201JSONResponse

type CreateGroup201JSONResponse GroupOut

func (CreateGroup201JSONResponse) VisitCreateGroupResponse

func (response CreateGroup201JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup401Response

type CreateGroup401Response struct {
}

func (CreateGroup401Response) VisitCreateGroupResponse

func (response CreateGroup401Response) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup403JSONResponse

type CreateGroup403JSONResponse Error403

func (CreateGroup403JSONResponse) VisitCreateGroupResponse

func (response CreateGroup403JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup500JSONResponse

type CreateGroup500JSONResponse Error

func (CreateGroup500JSONResponse) VisitCreateGroupResponse

func (response CreateGroup500JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroupJSONRequestBody

type CreateGroupJSONRequestBody = Group

CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.

type CreateGroupRequestObject

type CreateGroupRequestObject struct {
	Body *CreateGroupJSONRequestBody
}

type CreateGroupResponseObject

type CreateGroupResponseObject interface {
	VisitCreateGroupResponse(w http.ResponseWriter) error
}

type CreatePolicies201JSONResponse

type CreatePolicies201JSONResponse PolicyExtended

func (CreatePolicies201JSONResponse) VisitCreatePoliciesResponse

func (response CreatePolicies201JSONResponse) VisitCreatePoliciesResponse(w http.ResponseWriter) error

type CreatePolicies401Response

type CreatePolicies401Response struct {
}

func (CreatePolicies401Response) VisitCreatePoliciesResponse

func (response CreatePolicies401Response) VisitCreatePoliciesResponse(w http.ResponseWriter) error

type CreatePolicies500JSONResponse

type CreatePolicies500JSONResponse Error

func (CreatePolicies500JSONResponse) VisitCreatePoliciesResponse

func (response CreatePolicies500JSONResponse) VisitCreatePoliciesResponse(w http.ResponseWriter) error

type CreatePoliciesJSONRequestBody

type CreatePoliciesJSONRequestBody = PolicyIn

CreatePoliciesJSONRequestBody defines body for CreatePolicies for application/json ContentType.

type CreatePoliciesRequestObject

type CreatePoliciesRequestObject struct {
	Body *CreatePoliciesJSONRequestBody
}

type CreatePoliciesResponseObject

type CreatePoliciesResponseObject interface {
	VisitCreatePoliciesResponse(w http.ResponseWriter) error
}

type CreateRole201JSONResponse

type CreateRole201JSONResponse RoleWithAccess

func (CreateRole201JSONResponse) VisitCreateRoleResponse

func (response CreateRole201JSONResponse) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRole401Response

type CreateRole401Response struct {
}

func (CreateRole401Response) VisitCreateRoleResponse

func (response CreateRole401Response) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRole403JSONResponse

type CreateRole403JSONResponse Error403

func (CreateRole403JSONResponse) VisitCreateRoleResponse

func (response CreateRole403JSONResponse) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRole500JSONResponse

type CreateRole500JSONResponse Error

func (CreateRole500JSONResponse) VisitCreateRoleResponse

func (response CreateRole500JSONResponse) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRoleJSONRequestBody

type CreateRoleJSONRequestBody = RoleIn

CreateRoleJSONRequestBody defines body for CreateRole for application/json ContentType.

type CreateRoleRequestObject

type CreateRoleRequestObject struct {
	Body *CreateRoleJSONRequestBody
}

type CreateRoleResponseObject

type CreateRoleResponseObject interface {
	VisitCreateRoleResponse(w http.ResponseWriter) error
}

type CrossAccountRequest

type CrossAccountRequest struct {
	Created       *time.Time          `json:"created,omitempty"`
	EndDate       *interface{}        `json:"end_date,omitempty"`
	RequestId     *openapi_types.UUID `json:"request_id,omitempty"`
	StartDate     *interface{}        `json:"start_date,omitempty"`
	Status        *string             `json:"status,omitempty"`
	TargetAccount *string             `json:"target_account,omitempty"`
	TargetOrg     *string             `json:"target_org,omitempty"`
}

CrossAccountRequest defines model for CrossAccountRequest.

type CrossAccountRequestByAccount

type CrossAccountRequestByAccount struct {
	Created       *time.Time          `json:"created,omitempty"`
	Email         *string             `json:"email,omitempty"`
	EndDate       *interface{}        `json:"end_date,omitempty"`
	FirstName     *string             `json:"first_name,omitempty"`
	LastName      *string             `json:"last_name,omitempty"`
	RequestId     *openapi_types.UUID `json:"request_id,omitempty"`
	StartDate     *interface{}        `json:"start_date,omitempty"`
	Status        *string             `json:"status,omitempty"`
	TargetAccount *string             `json:"target_account,omitempty"`
	TargetOrg     *string             `json:"target_org,omitempty"`
}

CrossAccountRequestByAccount defines model for CrossAccountRequestByAccount.

type CrossAccountRequestByUserId

type CrossAccountRequestByUserId struct {
	Created       *time.Time          `json:"created,omitempty"`
	EndDate       *interface{}        `json:"end_date,omitempty"`
	RequestId     *openapi_types.UUID `json:"request_id,omitempty"`
	StartDate     *interface{}        `json:"start_date,omitempty"`
	Status        *string             `json:"status,omitempty"`
	TargetAccount *string             `json:"target_account,omitempty"`
	TargetOrg     *string             `json:"target_org,omitempty"`
	UserId        *string             `json:"user_id,omitempty"`
}

CrossAccountRequestByUserId defines model for CrossAccountRequestByUserId.

type CrossAccountRequestDetail

type CrossAccountRequestDetail struct {
	// contains filtered or unexported fields
}

CrossAccountRequestDetail defines model for CrossAccountRequestDetail.

func (CrossAccountRequestDetail) AsCrossAccountRequestDetailByAccount

func (t CrossAccountRequestDetail) AsCrossAccountRequestDetailByAccount() (CrossAccountRequestDetailByAccount, error)

AsCrossAccountRequestDetailByAccount returns the union data inside the CrossAccountRequestDetail as a CrossAccountRequestDetailByAccount

func (CrossAccountRequestDetail) AsCrossAccountRequestDetailByUseId

func (t CrossAccountRequestDetail) AsCrossAccountRequestDetailByUseId() (CrossAccountRequestDetailByUseId, error)

AsCrossAccountRequestDetailByUseId returns the union data inside the CrossAccountRequestDetail as a CrossAccountRequestDetailByUseId

func (*CrossAccountRequestDetail) FromCrossAccountRequestDetailByAccount

func (t *CrossAccountRequestDetail) FromCrossAccountRequestDetailByAccount(v CrossAccountRequestDetailByAccount) error

FromCrossAccountRequestDetailByAccount overwrites any union data inside the CrossAccountRequestDetail as the provided CrossAccountRequestDetailByAccount

func (*CrossAccountRequestDetail) FromCrossAccountRequestDetailByUseId

func (t *CrossAccountRequestDetail) FromCrossAccountRequestDetailByUseId(v CrossAccountRequestDetailByUseId) error

FromCrossAccountRequestDetailByUseId overwrites any union data inside the CrossAccountRequestDetail as the provided CrossAccountRequestDetailByUseId

func (CrossAccountRequestDetail) MarshalJSON

func (t CrossAccountRequestDetail) MarshalJSON() ([]byte, error)

func (*CrossAccountRequestDetail) MergeCrossAccountRequestDetailByAccount

func (t *CrossAccountRequestDetail) MergeCrossAccountRequestDetailByAccount(v CrossAccountRequestDetailByAccount) error

MergeCrossAccountRequestDetailByAccount performs a merge with any union data inside the CrossAccountRequestDetail, using the provided CrossAccountRequestDetailByAccount

func (*CrossAccountRequestDetail) MergeCrossAccountRequestDetailByUseId

func (t *CrossAccountRequestDetail) MergeCrossAccountRequestDetailByUseId(v CrossAccountRequestDetailByUseId) error

MergeCrossAccountRequestDetailByUseId performs a merge with any union data inside the CrossAccountRequestDetail, using the provided CrossAccountRequestDetailByUseId

func (*CrossAccountRequestDetail) UnmarshalJSON

func (t *CrossAccountRequestDetail) UnmarshalJSON(b []byte) error

type CrossAccountRequestDetailByAccount

type CrossAccountRequestDetailByAccount struct {
	Created   *time.Time          `json:"created,omitempty"`
	Email     *interface{}        `json:"email,omitempty"`
	EndDate   *string             `json:"end_date,omitempty"`
	FirstName *interface{}        `json:"first_name,omitempty"`
	LastName  *interface{}        `json:"last_name,omitempty"`
	RequestId *openapi_types.UUID `json:"request_id,omitempty"`
	Roles     *[]struct {
		Description *string       `json:"description,omitempty"`
		DisplayName *string       `json:"display_name,omitempty"`
		Permissions *[]Permission `json:"permissions,omitempty"`
	} `json:"roles,omitempty"`
	StartDate     *string `json:"start_date,omitempty"`
	Status        *string `json:"status,omitempty"`
	TargetAccount *string `json:"target_account,omitempty"`
	TargetOrg     *string `json:"target_org,omitempty"`
}

CrossAccountRequestDetailByAccount defines model for CrossAccountRequestDetailByAccount.

type CrossAccountRequestDetailByUseId

type CrossAccountRequestDetailByUseId struct {
	Created   *time.Time          `json:"created,omitempty"`
	EndDate   *string             `json:"end_date,omitempty"`
	RequestId *openapi_types.UUID `json:"request_id,omitempty"`
	Roles     *[]struct {
		Description *string       `json:"description,omitempty"`
		DisplayName *string       `json:"display_name,omitempty"`
		Permissions *[]Permission `json:"permissions,omitempty"`
	} `json:"roles,omitempty"`
	StartDate     *string      `json:"start_date,omitempty"`
	Status        *string      `json:"status,omitempty"`
	TargetAccount *string      `json:"target_account,omitempty"`
	TargetOrg     *string      `json:"target_org,omitempty"`
	UserId        *interface{} `json:"user_id,omitempty"`
}

CrossAccountRequestDetailByUseId defines model for CrossAccountRequestDetailByUseId.

type CrossAccountRequestIn

type CrossAccountRequestIn struct {
	EndDate       string   `json:"end_date"`
	Roles         []string `json:"roles"`
	StartDate     string   `json:"start_date"`
	TargetAccount string   `json:"target_account"`
	TargetOrg     *string  `json:"target_org,omitempty"`
}

CrossAccountRequestIn defines model for CrossAccountRequestIn.

type CrossAccountRequestOut

type CrossAccountRequestOut struct {
	Created   *time.Time          `json:"created,omitempty"`
	EndDate   *string             `json:"end_date,omitempty"`
	RequestId *openapi_types.UUID `json:"request_id,omitempty"`
	Roles     *[]struct {
		Description *string       `json:"description,omitempty"`
		DisplayName *string       `json:"display_name,omitempty"`
		Permissions *[]Permission `json:"permissions,omitempty"`
	} `json:"roles,omitempty"`
	StartDate     *string `json:"start_date,omitempty"`
	Status        *string `json:"status,omitempty"`
	TargetAccount *string `json:"target_account,omitempty"`
	TargetOrg     *string `json:"target_org,omitempty"`
	UserId        *string `json:"user_id,omitempty"`
}

CrossAccountRequestOut defines model for CrossAccountRequestOut.

type CrossAccountRequestPagination

type CrossAccountRequestPagination struct {
	Data  []CrossAccountRequestPagination_Data_Item `json:"data"`
	Links *PaginationLinks                          `json:"links,omitempty"`
	Meta  *PaginationMeta                           `json:"meta,omitempty"`
}

CrossAccountRequestPagination defines model for CrossAccountRequestPagination.

type CrossAccountRequestPagination_Data_Item

type CrossAccountRequestPagination_Data_Item struct {
	// contains filtered or unexported fields
}

CrossAccountRequestPagination_Data_Item defines model for CrossAccountRequestPagination.data.Item.

func (CrossAccountRequestPagination_Data_Item) AsCrossAccountRequestByAccount

func (t CrossAccountRequestPagination_Data_Item) AsCrossAccountRequestByAccount() (CrossAccountRequestByAccount, error)

AsCrossAccountRequestByAccount returns the union data inside the CrossAccountRequestPagination_Data_Item as a CrossAccountRequestByAccount

func (CrossAccountRequestPagination_Data_Item) AsCrossAccountRequestByUserId

func (t CrossAccountRequestPagination_Data_Item) AsCrossAccountRequestByUserId() (CrossAccountRequestByUserId, error)

AsCrossAccountRequestByUserId returns the union data inside the CrossAccountRequestPagination_Data_Item as a CrossAccountRequestByUserId

func (*CrossAccountRequestPagination_Data_Item) FromCrossAccountRequestByAccount

func (t *CrossAccountRequestPagination_Data_Item) FromCrossAccountRequestByAccount(v CrossAccountRequestByAccount) error

FromCrossAccountRequestByAccount overwrites any union data inside the CrossAccountRequestPagination_Data_Item as the provided CrossAccountRequestByAccount

func (*CrossAccountRequestPagination_Data_Item) FromCrossAccountRequestByUserId

func (t *CrossAccountRequestPagination_Data_Item) FromCrossAccountRequestByUserId(v CrossAccountRequestByUserId) error

FromCrossAccountRequestByUserId overwrites any union data inside the CrossAccountRequestPagination_Data_Item as the provided CrossAccountRequestByUserId

func (CrossAccountRequestPagination_Data_Item) MarshalJSON

func (t CrossAccountRequestPagination_Data_Item) MarshalJSON() ([]byte, error)

func (*CrossAccountRequestPagination_Data_Item) MergeCrossAccountRequestByAccount

func (t *CrossAccountRequestPagination_Data_Item) MergeCrossAccountRequestByAccount(v CrossAccountRequestByAccount) error

MergeCrossAccountRequestByAccount performs a merge with any union data inside the CrossAccountRequestPagination_Data_Item, using the provided CrossAccountRequestByAccount

func (*CrossAccountRequestPagination_Data_Item) MergeCrossAccountRequestByUserId

func (t *CrossAccountRequestPagination_Data_Item) MergeCrossAccountRequestByUserId(v CrossAccountRequestByUserId) error

MergeCrossAccountRequestByUserId performs a merge with any union data inside the CrossAccountRequestPagination_Data_Item, using the provided CrossAccountRequestByUserId

func (*CrossAccountRequestPagination_Data_Item) UnmarshalJSON

func (t *CrossAccountRequestPagination_Data_Item) UnmarshalJSON(b []byte) error

type CrossAccountRequestPatch

type CrossAccountRequestPatch struct {
	EndDate   *string                         `json:"end_date,omitempty"`
	Roles     *[]string                       `json:"roles,omitempty"`
	StartDate *string                         `json:"start_date,omitempty"`
	Status    *CrossAccountRequestPatchStatus `json:"status,omitempty"`
}

CrossAccountRequestPatch defines model for CrossAccountRequestPatch.

type CrossAccountRequestPatchStatus

type CrossAccountRequestPatchStatus string

CrossAccountRequestPatchStatus defines model for CrossAccountRequestPatch.Status.

const (
	CrossAccountRequestPatchStatusApproved  CrossAccountRequestPatchStatus = "approved"
	CrossAccountRequestPatchStatusCancelled CrossAccountRequestPatchStatus = "cancelled"
	CrossAccountRequestPatchStatusDenied    CrossAccountRequestPatchStatus = "denied"
	CrossAccountRequestPatchStatusExpired   CrossAccountRequestPatchStatus = "expired"
	CrossAccountRequestPatchStatusPending   CrossAccountRequestPatchStatus = "pending"
)

Defines values for CrossAccountRequestPatchStatus.

type CrossAccountRequestUpdateIn

type CrossAccountRequestUpdateIn struct {
	EndDate   string   `json:"end_date"`
	Roles     []string `json:"roles"`
	StartDate string   `json:"start_date"`
}

CrossAccountRequestUpdateIn defines model for CrossAccountRequestUpdateIn.

type CrossAccountRequestWithRoles

type CrossAccountRequestWithRoles struct {
	Created   *time.Time          `json:"created,omitempty"`
	EndDate   *string             `json:"end_date,omitempty"`
	RequestId *openapi_types.UUID `json:"request_id,omitempty"`
	Roles     *[]struct {
		Description *string       `json:"description,omitempty"`
		DisplayName *string       `json:"display_name,omitempty"`
		Permissions *[]Permission `json:"permissions,omitempty"`
	} `json:"roles,omitempty"`
	StartDate     *string `json:"start_date,omitempty"`
	Status        *string `json:"status,omitempty"`
	TargetAccount *string `json:"target_account,omitempty"`
	TargetOrg     *string `json:"target_org,omitempty"`
}

CrossAccountRequestWithRoles defines model for CrossAccountRequestWithRoles.

type DeleteGroup204Response

type DeleteGroup204Response struct {
}

func (DeleteGroup204Response) VisitDeleteGroupResponse

func (response DeleteGroup204Response) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup401Response

type DeleteGroup401Response struct {
}

func (DeleteGroup401Response) VisitDeleteGroupResponse

func (response DeleteGroup401Response) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup403JSONResponse

type DeleteGroup403JSONResponse Error403

func (DeleteGroup403JSONResponse) VisitDeleteGroupResponse

func (response DeleteGroup403JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup404AsteriskResponse

type DeleteGroup404AsteriskResponse struct {
	Body          io.Reader
	ContentType   string
	ContentLength int64
}

func (DeleteGroup404AsteriskResponse) VisitDeleteGroupResponse

func (response DeleteGroup404AsteriskResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup500AsteriskResponse

type DeleteGroup500AsteriskResponse struct {
	Body          io.Reader
	ContentType   string
	ContentLength int64
}

func (DeleteGroup500AsteriskResponse) VisitDeleteGroupResponse

func (response DeleteGroup500AsteriskResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroupRequestObject

type DeleteGroupRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
}

type DeleteGroupResponseObject

type DeleteGroupResponseObject interface {
	VisitDeleteGroupResponse(w http.ResponseWriter) error
}

type DeletePolicy204Response

type DeletePolicy204Response struct {
}

func (DeletePolicy204Response) VisitDeletePolicyResponse

func (response DeletePolicy204Response) VisitDeletePolicyResponse(w http.ResponseWriter) error

type DeletePolicy401Response

type DeletePolicy401Response struct {
}

func (DeletePolicy401Response) VisitDeletePolicyResponse

func (response DeletePolicy401Response) VisitDeletePolicyResponse(w http.ResponseWriter) error

type DeletePolicy404JSONResponse

type DeletePolicy404JSONResponse Error

func (DeletePolicy404JSONResponse) VisitDeletePolicyResponse

func (response DeletePolicy404JSONResponse) VisitDeletePolicyResponse(w http.ResponseWriter) error

type DeletePolicy500JSONResponse

type DeletePolicy500JSONResponse Error

func (DeletePolicy500JSONResponse) VisitDeletePolicyResponse

func (response DeletePolicy500JSONResponse) VisitDeletePolicyResponse(w http.ResponseWriter) error

type DeletePolicyRequestObject

type DeletePolicyRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
}

type DeletePolicyResponseObject

type DeletePolicyResponseObject interface {
	VisitDeletePolicyResponse(w http.ResponseWriter) error
}

type DeletePrincipalFromGroup204Response

type DeletePrincipalFromGroup204Response struct {
}

func (DeletePrincipalFromGroup204Response) VisitDeletePrincipalFromGroupResponse

func (response DeletePrincipalFromGroup204Response) VisitDeletePrincipalFromGroupResponse(w http.ResponseWriter) error

type DeletePrincipalFromGroup400Response

type DeletePrincipalFromGroup400Response struct {
}

func (DeletePrincipalFromGroup400Response) VisitDeletePrincipalFromGroupResponse

func (response DeletePrincipalFromGroup400Response) VisitDeletePrincipalFromGroupResponse(w http.ResponseWriter) error

type DeletePrincipalFromGroup401Response

type DeletePrincipalFromGroup401Response struct {
}

func (DeletePrincipalFromGroup401Response) VisitDeletePrincipalFromGroupResponse

func (response DeletePrincipalFromGroup401Response) VisitDeletePrincipalFromGroupResponse(w http.ResponseWriter) error

type DeletePrincipalFromGroup403JSONResponse

type DeletePrincipalFromGroup403JSONResponse Error403

func (DeletePrincipalFromGroup403JSONResponse) VisitDeletePrincipalFromGroupResponse

func (response DeletePrincipalFromGroup403JSONResponse) VisitDeletePrincipalFromGroupResponse(w http.ResponseWriter) error

type DeletePrincipalFromGroup404JSONResponse

type DeletePrincipalFromGroup404JSONResponse ErrorNotFound

func (DeletePrincipalFromGroup404JSONResponse) VisitDeletePrincipalFromGroupResponse

func (response DeletePrincipalFromGroup404JSONResponse) VisitDeletePrincipalFromGroupResponse(w http.ResponseWriter) error

type DeletePrincipalFromGroup500JSONResponse

type DeletePrincipalFromGroup500JSONResponse Error

func (DeletePrincipalFromGroup500JSONResponse) VisitDeletePrincipalFromGroupResponse

func (response DeletePrincipalFromGroup500JSONResponse) VisitDeletePrincipalFromGroupResponse(w http.ResponseWriter) error

type DeletePrincipalFromGroupParams

type DeletePrincipalFromGroupParams struct {
	// Usernames A comma separated list of usernames for principals to remove from the group
	Usernames string `form:"usernames" json:"usernames"`
}

DeletePrincipalFromGroupParams defines parameters for DeletePrincipalFromGroup.

type DeletePrincipalFromGroupRequestObject

type DeletePrincipalFromGroupRequestObject struct {
	Uuid   openapi_types.UUID `json:"uuid"`
	Params DeletePrincipalFromGroupParams
}

type DeletePrincipalFromGroupResponseObject

type DeletePrincipalFromGroupResponseObject interface {
	VisitDeletePrincipalFromGroupResponse(w http.ResponseWriter) error
}

type DeleteRole204Response

type DeleteRole204Response struct {
}

func (DeleteRole204Response) VisitDeleteRoleResponse

func (response DeleteRole204Response) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRole401Response

type DeleteRole401Response struct {
}

func (DeleteRole401Response) VisitDeleteRoleResponse

func (response DeleteRole401Response) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRole403JSONResponse

type DeleteRole403JSONResponse Error403

func (DeleteRole403JSONResponse) VisitDeleteRoleResponse

func (response DeleteRole403JSONResponse) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRole404JSONResponse

type DeleteRole404JSONResponse Error

func (DeleteRole404JSONResponse) VisitDeleteRoleResponse

func (response DeleteRole404JSONResponse) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRole500JSONResponse

type DeleteRole500JSONResponse Error

func (DeleteRole500JSONResponse) VisitDeleteRoleResponse

func (response DeleteRole500JSONResponse) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRoleFromGroup204Response

type DeleteRoleFromGroup204Response struct {
}

func (DeleteRoleFromGroup204Response) VisitDeleteRoleFromGroupResponse

func (response DeleteRoleFromGroup204Response) VisitDeleteRoleFromGroupResponse(w http.ResponseWriter) error

type DeleteRoleFromGroup400Response

type DeleteRoleFromGroup400Response struct {
}

func (DeleteRoleFromGroup400Response) VisitDeleteRoleFromGroupResponse

func (response DeleteRoleFromGroup400Response) VisitDeleteRoleFromGroupResponse(w http.ResponseWriter) error

type DeleteRoleFromGroup401Response

type DeleteRoleFromGroup401Response struct {
}

func (DeleteRoleFromGroup401Response) VisitDeleteRoleFromGroupResponse

func (response DeleteRoleFromGroup401Response) VisitDeleteRoleFromGroupResponse(w http.ResponseWriter) error

type DeleteRoleFromGroup403JSONResponse

type DeleteRoleFromGroup403JSONResponse Error403

func (DeleteRoleFromGroup403JSONResponse) VisitDeleteRoleFromGroupResponse

func (response DeleteRoleFromGroup403JSONResponse) VisitDeleteRoleFromGroupResponse(w http.ResponseWriter) error

type DeleteRoleFromGroup404JSONResponse

type DeleteRoleFromGroup404JSONResponse Error

func (DeleteRoleFromGroup404JSONResponse) VisitDeleteRoleFromGroupResponse

func (response DeleteRoleFromGroup404JSONResponse) VisitDeleteRoleFromGroupResponse(w http.ResponseWriter) error

type DeleteRoleFromGroup500JSONResponse

type DeleteRoleFromGroup500JSONResponse Error

func (DeleteRoleFromGroup500JSONResponse) VisitDeleteRoleFromGroupResponse

func (response DeleteRoleFromGroup500JSONResponse) VisitDeleteRoleFromGroupResponse(w http.ResponseWriter) error

type DeleteRoleFromGroupParams

type DeleteRoleFromGroupParams struct {
	// Roles A comma separated list of role UUIDs for roles to remove from the group
	Roles string `form:"roles" json:"roles"`
}

DeleteRoleFromGroupParams defines parameters for DeleteRoleFromGroup.

type DeleteRoleFromGroupRequestObject

type DeleteRoleFromGroupRequestObject struct {
	Uuid   openapi_types.UUID `json:"uuid"`
	Params DeleteRoleFromGroupParams
}

type DeleteRoleFromGroupResponseObject

type DeleteRoleFromGroupResponseObject interface {
	VisitDeleteRoleFromGroupResponse(w http.ResponseWriter) error
}

type DeleteRoleRequestObject

type DeleteRoleRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
}

type DeleteRoleResponseObject

type DeleteRoleResponseObject interface {
	VisitDeleteRoleResponse(w http.ResponseWriter) error
}

type Error

type Error struct {
	Errors []struct {
		Detail *string `json:"detail,omitempty"`
		Status *string `json:"status,omitempty"`
	} `json:"errors"`
}

Error defines model for Error.

type Error403

type Error403 struct {
	Errors []struct {
		Detail *string `json:"detail,omitempty"`
		Source *string `json:"source,omitempty"`
		Status *string `json:"status,omitempty"`
	} `json:"errors"`
}

Error403 defines model for Error403.

type ErrorNotFound

type ErrorNotFound struct {
	Errors []struct {
		// Detail Detail of the error.
		Detail *string `json:"detail,omitempty"`

		// Source Source of the error.
		Source *string `json:"source,omitempty"`

		// Status Status of the response
		Status *string `json:"status,omitempty"`
	} `json:"errors"`
}

ErrorNotFound Error structure for the "Not Found" responses.

type GetCrossAccountRequest200JSONResponse

type GetCrossAccountRequest200JSONResponse CrossAccountRequestDetail

func (GetCrossAccountRequest200JSONResponse) VisitGetCrossAccountRequestResponse

func (response GetCrossAccountRequest200JSONResponse) VisitGetCrossAccountRequestResponse(w http.ResponseWriter) error

type GetCrossAccountRequest401Response

type GetCrossAccountRequest401Response struct {
}

func (GetCrossAccountRequest401Response) VisitGetCrossAccountRequestResponse

func (response GetCrossAccountRequest401Response) VisitGetCrossAccountRequestResponse(w http.ResponseWriter) error

type GetCrossAccountRequest403JSONResponse

type GetCrossAccountRequest403JSONResponse Error403

func (GetCrossAccountRequest403JSONResponse) VisitGetCrossAccountRequestResponse

func (response GetCrossAccountRequest403JSONResponse) VisitGetCrossAccountRequestResponse(w http.ResponseWriter) error

type GetCrossAccountRequest404JSONResponse

type GetCrossAccountRequest404JSONResponse Error

func (GetCrossAccountRequest404JSONResponse) VisitGetCrossAccountRequestResponse

func (response GetCrossAccountRequest404JSONResponse) VisitGetCrossAccountRequestResponse(w http.ResponseWriter) error

type GetCrossAccountRequest500JSONResponse

type GetCrossAccountRequest500JSONResponse Error

func (GetCrossAccountRequest500JSONResponse) VisitGetCrossAccountRequestResponse

func (response GetCrossAccountRequest500JSONResponse) VisitGetCrossAccountRequestResponse(w http.ResponseWriter) error

type GetCrossAccountRequestParams

type GetCrossAccountRequestParams struct {
	// QueryBy Parameter for filtering resource by either a user's ID, or a client's org. The default value is target_org.
	QueryBy *GetCrossAccountRequestParamsQueryBy `form:"query_by,omitempty" json:"query_by,omitempty"`

	// Account Parameter for filtering resource by an account number. Value can be a comma-separated list of ids. To be used in tandem with ?query_by=user_id to further filter a user's requests by account number.
	Account *string `form:"account,omitempty" json:"account,omitempty"`

	// ApprovedOnly Parameter for filtering resource which have been approved.
	ApprovedOnly *GetCrossAccountRequestParamsApprovedOnly `form:"approved_only,omitempty" json:"approved_only,omitempty"`
}

GetCrossAccountRequestParams defines parameters for GetCrossAccountRequest.

type GetCrossAccountRequestParamsApprovedOnly

type GetCrossAccountRequestParamsApprovedOnly string

GetCrossAccountRequestParamsApprovedOnly defines parameters for GetCrossAccountRequest.

const (
	GetCrossAccountRequestParamsApprovedOnlyTrue GetCrossAccountRequestParamsApprovedOnly = "true"
)

Defines values for GetCrossAccountRequestParamsApprovedOnly.

type GetCrossAccountRequestParamsQueryBy

type GetCrossAccountRequestParamsQueryBy string

GetCrossAccountRequestParamsQueryBy defines parameters for GetCrossAccountRequest.

const (
	GetCrossAccountRequestParamsQueryByTargetOrg GetCrossAccountRequestParamsQueryBy = "target_org"
	GetCrossAccountRequestParamsQueryByUserId    GetCrossAccountRequestParamsQueryBy = "user_id"
)

Defines values for GetCrossAccountRequestParamsQueryBy.

type GetCrossAccountRequestRequestObject

type GetCrossAccountRequestRequestObject struct {
	Uuid   openapi_types.UUID `json:"uuid"`
	Params GetCrossAccountRequestParams
}

type GetCrossAccountRequestResponseObject

type GetCrossAccountRequestResponseObject interface {
	VisitGetCrossAccountRequestResponse(w http.ResponseWriter) error
}

type GetGroup200JSONResponse

type GetGroup200JSONResponse GroupWithPrincipalsAndRoles

func (GetGroup200JSONResponse) VisitGetGroupResponse

func (response GetGroup200JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroup401Response

type GetGroup401Response struct {
}

func (GetGroup401Response) VisitGetGroupResponse

func (response GetGroup401Response) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroup403JSONResponse

type GetGroup403JSONResponse Error403

func (GetGroup403JSONResponse) VisitGetGroupResponse

func (response GetGroup403JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroup404JSONResponse

type GetGroup404JSONResponse Error

func (GetGroup404JSONResponse) VisitGetGroupResponse

func (response GetGroup404JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroup500JSONResponse

type GetGroup500JSONResponse Error

func (GetGroup500JSONResponse) VisitGetGroupResponse

func (response GetGroup500JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroupRequestObject

type GetGroupRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
}

type GetGroupResponseObject

type GetGroupResponseObject interface {
	VisitGetGroupResponse(w http.ResponseWriter) error
}

type GetPolicy200JSONResponse

type GetPolicy200JSONResponse PolicyExtended

func (GetPolicy200JSONResponse) VisitGetPolicyResponse

func (response GetPolicy200JSONResponse) VisitGetPolicyResponse(w http.ResponseWriter) error

type GetPolicy401Response

type GetPolicy401Response struct {
}

func (GetPolicy401Response) VisitGetPolicyResponse

func (response GetPolicy401Response) VisitGetPolicyResponse(w http.ResponseWriter) error

type GetPolicy404JSONResponse

type GetPolicy404JSONResponse Error

func (GetPolicy404JSONResponse) VisitGetPolicyResponse

func (response GetPolicy404JSONResponse) VisitGetPolicyResponse(w http.ResponseWriter) error

type GetPolicy500JSONResponse

type GetPolicy500JSONResponse Error

func (GetPolicy500JSONResponse) VisitGetPolicyResponse

func (response GetPolicy500JSONResponse) VisitGetPolicyResponse(w http.ResponseWriter) error

type GetPolicyRequestObject

type GetPolicyRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
}

type GetPolicyResponseObject

type GetPolicyResponseObject interface {
	VisitGetPolicyResponse(w http.ResponseWriter) error
}

type GetPrincipalAccess200JSONResponse

type GetPrincipalAccess200JSONResponse AccessPagination

func (GetPrincipalAccess200JSONResponse) VisitGetPrincipalAccessResponse

func (response GetPrincipalAccess200JSONResponse) VisitGetPrincipalAccessResponse(w http.ResponseWriter) error

type GetPrincipalAccess401Response

type GetPrincipalAccess401Response struct {
}

func (GetPrincipalAccess401Response) VisitGetPrincipalAccessResponse

func (response GetPrincipalAccess401Response) VisitGetPrincipalAccessResponse(w http.ResponseWriter) error

type GetPrincipalAccess404JSONResponse

type GetPrincipalAccess404JSONResponse Error

func (GetPrincipalAccess404JSONResponse) VisitGetPrincipalAccessResponse

func (response GetPrincipalAccess404JSONResponse) VisitGetPrincipalAccessResponse(w http.ResponseWriter) error

type GetPrincipalAccess500JSONResponse

type GetPrincipalAccess500JSONResponse Error

func (GetPrincipalAccess500JSONResponse) VisitGetPrincipalAccessResponse

func (response GetPrincipalAccess500JSONResponse) VisitGetPrincipalAccessResponse(w http.ResponseWriter) error

type GetPrincipalAccessParams

type GetPrincipalAccessParams struct {
	// Application The application name(s) to obtain access for the principal. This is an exact match. When no application is supplied, all permissions for the principal are returned. You may also use a comma-separated list to match on multiple applications.
	Application string `form:"application" json:"application"`

	// Username Unique username of the principal to obtain access for (only available for admins, and if supplied, takes precedence over the identity header).
	Username *string `form:"username,omitempty" json:"username,omitempty"`

	// OrderBy Parameter for ordering roles by value. For inverse ordering, supply '-' before the param value, such as: ?order_by=-application
	OrderBy *GetPrincipalAccessParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`

	// Status Set the status of users to get back.
	Status *GetPrincipalAccessParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`
}

GetPrincipalAccessParams defines parameters for GetPrincipalAccess.

type GetPrincipalAccessParamsOrderBy

type GetPrincipalAccessParamsOrderBy string

GetPrincipalAccessParamsOrderBy defines parameters for GetPrincipalAccess.

const (
	GetPrincipalAccessParamsOrderByApplication  GetPrincipalAccessParamsOrderBy = "application"
	GetPrincipalAccessParamsOrderByResourceType GetPrincipalAccessParamsOrderBy = "resource_type"
	GetPrincipalAccessParamsOrderByVerb         GetPrincipalAccessParamsOrderBy = "verb"
)

Defines values for GetPrincipalAccessParamsOrderBy.

type GetPrincipalAccessParamsStatus

type GetPrincipalAccessParamsStatus string

GetPrincipalAccessParamsStatus defines parameters for GetPrincipalAccess.

const (
	GetPrincipalAccessParamsStatusAll      GetPrincipalAccessParamsStatus = "all"
	GetPrincipalAccessParamsStatusDisabled GetPrincipalAccessParamsStatus = "disabled"
	GetPrincipalAccessParamsStatusEnabled  GetPrincipalAccessParamsStatus = "enabled"
)

Defines values for GetPrincipalAccessParamsStatus.

type GetPrincipalAccessRequestObject

type GetPrincipalAccessRequestObject struct {
	Params GetPrincipalAccessParams
}

type GetPrincipalAccessResponseObject

type GetPrincipalAccessResponseObject interface {
	VisitGetPrincipalAccessResponse(w http.ResponseWriter) error
}

type GetPrincipalsFromGroup200JSONResponse

type GetPrincipalsFromGroup200JSONResponse PrincipalPagination

func (GetPrincipalsFromGroup200JSONResponse) VisitGetPrincipalsFromGroupResponse

func (response GetPrincipalsFromGroup200JSONResponse) VisitGetPrincipalsFromGroupResponse(w http.ResponseWriter) error

type GetPrincipalsFromGroup400Response

type GetPrincipalsFromGroup400Response struct {
}

func (GetPrincipalsFromGroup400Response) VisitGetPrincipalsFromGroupResponse

func (response GetPrincipalsFromGroup400Response) VisitGetPrincipalsFromGroupResponse(w http.ResponseWriter) error

type GetPrincipalsFromGroup401Response

type GetPrincipalsFromGroup401Response struct {
}

func (GetPrincipalsFromGroup401Response) VisitGetPrincipalsFromGroupResponse

func (response GetPrincipalsFromGroup401Response) VisitGetPrincipalsFromGroupResponse(w http.ResponseWriter) error

type GetPrincipalsFromGroup404JSONResponse

type GetPrincipalsFromGroup404JSONResponse Error

func (GetPrincipalsFromGroup404JSONResponse) VisitGetPrincipalsFromGroupResponse

func (response GetPrincipalsFromGroup404JSONResponse) VisitGetPrincipalsFromGroupResponse(w http.ResponseWriter) error

type GetPrincipalsFromGroup500JSONResponse

type GetPrincipalsFromGroup500JSONResponse Error

func (GetPrincipalsFromGroup500JSONResponse) VisitGetPrincipalsFromGroupResponse

func (response GetPrincipalsFromGroup500JSONResponse) VisitGetPrincipalsFromGroupResponse(w http.ResponseWriter) error

type GetPrincipalsFromGroupParams

type GetPrincipalsFromGroupParams struct {
	// AdminOnly Get only admin users within an account.
	AdminOnly *GetPrincipalsFromGroupParamsAdminOnly `form:"admin_only,omitempty" json:"admin_only,omitempty"`

	// PrincipalUsername Parameter for filtering group principals by principal `username` using string contains search.
	PrincipalUsername *string `form:"principal_username,omitempty" json:"principal_username,omitempty"`

	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// OrderBy Parameter for ordering principals by value. For inverse ordering, supply '-' before the param value, such as: ?order_by=-username
	OrderBy *GetPrincipalsFromGroupParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`

	// UsernameOnly Parameter for optionally returning only usernames for principals, bypassing a call to IT.
	UsernameOnly *GetPrincipalsFromGroupParamsUsernameOnly `form:"username_only,omitempty" json:"username_only,omitempty"`
}

GetPrincipalsFromGroupParams defines parameters for GetPrincipalsFromGroup.

type GetPrincipalsFromGroupParamsAdminOnly

type GetPrincipalsFromGroupParamsAdminOnly string

GetPrincipalsFromGroupParamsAdminOnly defines parameters for GetPrincipalsFromGroup.

const (
	GetPrincipalsFromGroupParamsAdminOnlyFalse GetPrincipalsFromGroupParamsAdminOnly = "false"
	GetPrincipalsFromGroupParamsAdminOnlyTrue  GetPrincipalsFromGroupParamsAdminOnly = "true"
)

Defines values for GetPrincipalsFromGroupParamsAdminOnly.

type GetPrincipalsFromGroupParamsOrderBy

type GetPrincipalsFromGroupParamsOrderBy string

GetPrincipalsFromGroupParamsOrderBy defines parameters for GetPrincipalsFromGroup.

const (
	GetPrincipalsFromGroupParamsOrderByUsername GetPrincipalsFromGroupParamsOrderBy = "username"
)

Defines values for GetPrincipalsFromGroupParamsOrderBy.

type GetPrincipalsFromGroupParamsUsernameOnly

type GetPrincipalsFromGroupParamsUsernameOnly bool

GetPrincipalsFromGroupParamsUsernameOnly defines parameters for GetPrincipalsFromGroup.

const (
	GetPrincipalsFromGroupParamsUsernameOnlyFalse GetPrincipalsFromGroupParamsUsernameOnly = false
	GetPrincipalsFromGroupParamsUsernameOnlyTrue  GetPrincipalsFromGroupParamsUsernameOnly = true
)

Defines values for GetPrincipalsFromGroupParamsUsernameOnly.

type GetPrincipalsFromGroupRequestObject

type GetPrincipalsFromGroupRequestObject struct {
	Uuid   openapi_types.UUID `json:"uuid"`
	Params GetPrincipalsFromGroupParams
}

type GetPrincipalsFromGroupResponseObject

type GetPrincipalsFromGroupResponseObject interface {
	VisitGetPrincipalsFromGroupResponse(w http.ResponseWriter) error
}

type GetRole200JSONResponse

type GetRole200JSONResponse RoleWithAccess

func (GetRole200JSONResponse) VisitGetRoleResponse

func (response GetRole200JSONResponse) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRole401Response

type GetRole401Response struct {
}

func (GetRole401Response) VisitGetRoleResponse

func (response GetRole401Response) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRole403JSONResponse

type GetRole403JSONResponse Error403

func (GetRole403JSONResponse) VisitGetRoleResponse

func (response GetRole403JSONResponse) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRole404JSONResponse

type GetRole404JSONResponse Error

func (GetRole404JSONResponse) VisitGetRoleResponse

func (response GetRole404JSONResponse) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRole500JSONResponse

type GetRole500JSONResponse Error

func (GetRole500JSONResponse) VisitGetRoleResponse

func (response GetRole500JSONResponse) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRoleAccess200JSONResponse

type GetRoleAccess200JSONResponse AccessPagination

func (GetRoleAccess200JSONResponse) VisitGetRoleAccessResponse

func (response GetRoleAccess200JSONResponse) VisitGetRoleAccessResponse(w http.ResponseWriter) error

type GetRoleAccess401Response

type GetRoleAccess401Response struct {
}

func (GetRoleAccess401Response) VisitGetRoleAccessResponse

func (response GetRoleAccess401Response) VisitGetRoleAccessResponse(w http.ResponseWriter) error

type GetRoleAccess403JSONResponse

type GetRoleAccess403JSONResponse Error403

func (GetRoleAccess403JSONResponse) VisitGetRoleAccessResponse

func (response GetRoleAccess403JSONResponse) VisitGetRoleAccessResponse(w http.ResponseWriter) error

type GetRoleAccess404JSONResponse

type GetRoleAccess404JSONResponse Error

func (GetRoleAccess404JSONResponse) VisitGetRoleAccessResponse

func (response GetRoleAccess404JSONResponse) VisitGetRoleAccessResponse(w http.ResponseWriter) error

type GetRoleAccess500JSONResponse

type GetRoleAccess500JSONResponse Error

func (GetRoleAccess500JSONResponse) VisitGetRoleAccessResponse

func (response GetRoleAccess500JSONResponse) VisitGetRoleAccessResponse(w http.ResponseWriter) error

type GetRoleAccessParams

type GetRoleAccessParams struct {
	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`
}

GetRoleAccessParams defines parameters for GetRoleAccess.

type GetRoleAccessRequestObject

type GetRoleAccessRequestObject struct {
	Uuid   openapi_types.UUID `json:"uuid"`
	Params GetRoleAccessParams
}

type GetRoleAccessResponseObject

type GetRoleAccessResponseObject interface {
	VisitGetRoleAccessResponse(w http.ResponseWriter) error
}

type GetRoleParams

type GetRoleParams struct {
	// Scope Parameter for filtering resource by scope.
	Scope *GetRoleParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
}

GetRoleParams defines parameters for GetRole.

type GetRoleParamsScope

type GetRoleParamsScope string

GetRoleParamsScope defines parameters for GetRole.

const (
	GetRoleParamsScopeAccount   GetRoleParamsScope = "account"
	GetRoleParamsScopePrincipal GetRoleParamsScope = "principal"
)

Defines values for GetRoleParamsScope.

type GetRoleRequestObject

type GetRoleRequestObject struct {
	Uuid   openapi_types.UUID `json:"uuid"`
	Params GetRoleParams
}

type GetRoleResponseObject

type GetRoleResponseObject interface {
	VisitGetRoleResponse(w http.ResponseWriter) error
}

type GetStatus200JSONResponse

type GetStatus200JSONResponse Status

func (GetStatus200JSONResponse) VisitGetStatusResponse

func (response GetStatus200JSONResponse) VisitGetStatusResponse(w http.ResponseWriter) error

type GetStatus500JSONResponse

type GetStatus500JSONResponse Error

func (GetStatus500JSONResponse) VisitGetStatusResponse

func (response GetStatus500JSONResponse) VisitGetStatusResponse(w http.ResponseWriter) error

type GetStatusRequestObject

type GetStatusRequestObject struct {
}

type GetStatusResponseObject

type GetStatusResponseObject interface {
	VisitGetStatusResponse(w http.ResponseWriter) error
}

type Group

type Group struct {
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`
}

Group defines model for Group.

type GroupNameFilter

type GroupNameFilter = string

GroupNameFilter defines model for GroupNameFilter.

type GroupOut

type GroupOut struct {
	AdminDefault    *bool              `json:"admin_default,omitempty"`
	Created         time.Time          `json:"created"`
	Description     *string            `json:"description,omitempty"`
	Modified        time.Time          `json:"modified"`
	Name            string             `json:"name"`
	PlatformDefault *bool              `json:"platform_default,omitempty"`
	PrincipalCount  *int               `json:"principalCount,omitempty"`
	RoleCount       *int               `json:"roleCount,omitempty"`
	System          *bool              `json:"system,omitempty"`
	Uuid            openapi_types.UUID `json:"uuid"`
}

GroupOut defines model for GroupOut.

type GroupPagination

type GroupPagination struct {
	Data  []GroupOut       `json:"data"`
	Links *PaginationLinks `json:"links,omitempty"`
	Meta  *PaginationMeta  `json:"meta,omitempty"`
}

GroupPagination defines model for GroupPagination.

type GroupPrincipalIn

type GroupPrincipalIn struct {
	Principals []PrincipalIn `json:"principals"`
}

GroupPrincipalIn defines model for GroupPrincipalIn.

type GroupRoleIn

type GroupRoleIn struct {
	Roles []openapi_types.UUID `json:"roles"`
}

GroupRoleIn defines model for GroupRoleIn.

type GroupRolesPagination

type GroupRolesPagination struct {
	Data  []RoleOut        `json:"data"`
	Links *PaginationLinks `json:"links,omitempty"`
	Meta  *PaginationMeta  `json:"meta,omitempty"`
}

GroupRolesPagination defines model for GroupRolesPagination.

type GroupUUIDFilter

type GroupUUIDFilter = openapi_types.UUID

GroupUUIDFilter defines model for GroupUUIDFilter.

type GroupWithPrincipalsAndRoles

type GroupWithPrincipalsAndRoles struct {
	Created     time.Time          `json:"created"`
	Description *string            `json:"description,omitempty"`
	Modified    time.Time          `json:"modified"`
	Name        string             `json:"name"`
	Principals  []Principal        `json:"principals"`
	Roles       []RoleOut          `json:"roles"`
	Uuid        openapi_types.UUID `json:"uuid"`
}

GroupWithPrincipalsAndRoles defines model for GroupWithPrincipalsAndRoles.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type ListCrossAccountRequests200JSONResponse

type ListCrossAccountRequests200JSONResponse CrossAccountRequestPagination

func (ListCrossAccountRequests200JSONResponse) VisitListCrossAccountRequestsResponse

func (response ListCrossAccountRequests200JSONResponse) VisitListCrossAccountRequestsResponse(w http.ResponseWriter) error

type ListCrossAccountRequests401Response

type ListCrossAccountRequests401Response struct {
}

func (ListCrossAccountRequests401Response) VisitListCrossAccountRequestsResponse

func (response ListCrossAccountRequests401Response) VisitListCrossAccountRequestsResponse(w http.ResponseWriter) error

type ListCrossAccountRequests403JSONResponse

type ListCrossAccountRequests403JSONResponse Error403

func (ListCrossAccountRequests403JSONResponse) VisitListCrossAccountRequestsResponse

func (response ListCrossAccountRequests403JSONResponse) VisitListCrossAccountRequestsResponse(w http.ResponseWriter) error

type ListCrossAccountRequests500JSONResponse

type ListCrossAccountRequests500JSONResponse Error

func (ListCrossAccountRequests500JSONResponse) VisitListCrossAccountRequestsResponse

func (response ListCrossAccountRequests500JSONResponse) VisitListCrossAccountRequestsResponse(w http.ResponseWriter) error

type ListCrossAccountRequestsParams

type ListCrossAccountRequestsParams struct {
	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// QueryBy Parameter for filtering resource by either a user's ID, or a client's org. The default value is target_org.
	QueryBy *ListCrossAccountRequestsParamsQueryBy `form:"query_by,omitempty" json:"query_by,omitempty"`

	// Account Parameter for filtering resource by an account number. Value can be a comma-separated list of ids. To be used in tandem with ?query_by=user_id to further filter a user's requests by account number.
	Account *string `form:"account,omitempty" json:"account,omitempty"`

	// OrgId Parameter for filtering resource by an org id. Value can be a comma-separated list of ids. To be used in tandem with ?query_by=user_id to further filter a user's requests by org id.
	OrgId *string `form:"org_id,omitempty" json:"org_id,omitempty"`

	// ApprovedOnly Parameter for filtering resource which have been approved.
	ApprovedOnly *ListCrossAccountRequestsParamsApprovedOnly `form:"approved_only,omitempty" json:"approved_only,omitempty"`

	// Status Parameter for filtering resource based on status.
	Status *ListCrossAccountRequestsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// OrderBy Parameter for ordering by field. For inverse ordering, use '-', e.g. ?order_by=-start_date.
	OrderBy *ListCrossAccountRequestsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListCrossAccountRequestsParams defines parameters for ListCrossAccountRequests.

type ListCrossAccountRequestsParamsApprovedOnly

type ListCrossAccountRequestsParamsApprovedOnly string

ListCrossAccountRequestsParamsApprovedOnly defines parameters for ListCrossAccountRequests.

const (
	ListCrossAccountRequestsParamsApprovedOnlyTrue ListCrossAccountRequestsParamsApprovedOnly = "true"
)

Defines values for ListCrossAccountRequestsParamsApprovedOnly.

type ListCrossAccountRequestsParamsOrderBy

type ListCrossAccountRequestsParamsOrderBy string

ListCrossAccountRequestsParamsOrderBy defines parameters for ListCrossAccountRequests.

const (
	ListCrossAccountRequestsParamsOrderByCreated   ListCrossAccountRequestsParamsOrderBy = "created"
	ListCrossAccountRequestsParamsOrderByEndDate   ListCrossAccountRequestsParamsOrderBy = "end_date"
	ListCrossAccountRequestsParamsOrderByModified  ListCrossAccountRequestsParamsOrderBy = "modified"
	ListCrossAccountRequestsParamsOrderByRequestId ListCrossAccountRequestsParamsOrderBy = "request_id"
	ListCrossAccountRequestsParamsOrderByStartDate ListCrossAccountRequestsParamsOrderBy = "start_date"
	ListCrossAccountRequestsParamsOrderByStatus    ListCrossAccountRequestsParamsOrderBy = "status"
)

Defines values for ListCrossAccountRequestsParamsOrderBy.

type ListCrossAccountRequestsParamsQueryBy

type ListCrossAccountRequestsParamsQueryBy string

ListCrossAccountRequestsParamsQueryBy defines parameters for ListCrossAccountRequests.

const (
	ListCrossAccountRequestsParamsQueryByTargetOrg ListCrossAccountRequestsParamsQueryBy = "target_org"
	ListCrossAccountRequestsParamsQueryByUserId    ListCrossAccountRequestsParamsQueryBy = "user_id"
)

Defines values for ListCrossAccountRequestsParamsQueryBy.

type ListCrossAccountRequestsParamsStatus

type ListCrossAccountRequestsParamsStatus string

ListCrossAccountRequestsParamsStatus defines parameters for ListCrossAccountRequests.

const (
	ListCrossAccountRequestsParamsStatusApproved  ListCrossAccountRequestsParamsStatus = "approved"
	ListCrossAccountRequestsParamsStatusCancelled ListCrossAccountRequestsParamsStatus = "cancelled"
	ListCrossAccountRequestsParamsStatusDenied    ListCrossAccountRequestsParamsStatus = "denied"
	ListCrossAccountRequestsParamsStatusExpired   ListCrossAccountRequestsParamsStatus = "expired"
	ListCrossAccountRequestsParamsStatusPending   ListCrossAccountRequestsParamsStatus = "pending"
)

Defines values for ListCrossAccountRequestsParamsStatus.

type ListCrossAccountRequestsRequestObject

type ListCrossAccountRequestsRequestObject struct {
	Params ListCrossAccountRequestsParams
}

type ListCrossAccountRequestsResponseObject

type ListCrossAccountRequestsResponseObject interface {
	VisitListCrossAccountRequestsResponse(w http.ResponseWriter) error
}

type ListGroups200JSONResponse

type ListGroups200JSONResponse GroupPagination

func (ListGroups200JSONResponse) VisitListGroupsResponse

func (response ListGroups200JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error

type ListGroups401Response

type ListGroups401Response struct {
}

func (ListGroups401Response) VisitListGroupsResponse

func (response ListGroups401Response) VisitListGroupsResponse(w http.ResponseWriter) error

type ListGroups403JSONResponse

type ListGroups403JSONResponse Error403

func (ListGroups403JSONResponse) VisitListGroupsResponse

func (response ListGroups403JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error

type ListGroups500JSONResponse

type ListGroups500JSONResponse Error

func (ListGroups500JSONResponse) VisitListGroupsResponse

func (response ListGroups500JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error

type ListGroupsParams

type ListGroupsParams struct {
	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// Name Parameter for filtering resource by name using string contains search.
	Name *NameFilter `form:"name,omitempty" json:"name,omitempty"`

	// NameMatch Parameter for specifying the matching criteria for an object's name or display_name.
	NameMatch *ListGroupsParamsNameMatch `form:"name_match,omitempty" json:"name_match,omitempty"`

	// Scope Parameter for filtering resource by scope.
	Scope *ListGroupsParamsScope `form:"scope,omitempty" json:"scope,omitempty"`

	// Username A username for a principal to filter for groups
	Username *string `form:"username,omitempty" json:"username,omitempty"`

	// ExcludeUsername A username for a principal to filter for groups where principal is not a member and can be added manually
	ExcludeUsername *string `form:"exclude_username,omitempty" json:"exclude_username,omitempty"`

	// Uuid A list of UUIDs to filter listed groups.
	Uuid *[]string `form:"uuid,omitempty" json:"uuid,omitempty"`

	// RoleNames List of role name to filter for groups. It is exact match but case-insensitive
	RoleNames *[]string `form:"role_names,omitempty" json:"role_names,omitempty"`

	// RoleDiscriminator Discriminator that works with role_names to indicate matching all/any of the role names
	RoleDiscriminator *ListGroupsParamsRoleDiscriminator `form:"role_discriminator,omitempty" json:"role_discriminator,omitempty"`

	// OrderBy Parameter for ordering groups by value. For inverse ordering, supply '-' before the param value, such as: ?order_by=-name
	OrderBy *ListGroupsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`

	// PlatformDefault An optional flag to return either platform default or non-platform default groups.
	PlatformDefault *bool `form:"platform_default,omitempty" json:"platform_default,omitempty"`

	// AdminDefault An optional flag to return either admin default or non-admin default groups.
	AdminDefault *bool `form:"admin_default,omitempty" json:"admin_default,omitempty"`

	// System An optional flag to return either system or non-system groups.
	System *bool `form:"system,omitempty" json:"system,omitempty"`
}

ListGroupsParams defines parameters for ListGroups.

type ListGroupsParamsNameMatch

type ListGroupsParamsNameMatch string

ListGroupsParamsNameMatch defines parameters for ListGroups.

const (
	ListGroupsParamsNameMatchExact   ListGroupsParamsNameMatch = "exact"
	ListGroupsParamsNameMatchPartial ListGroupsParamsNameMatch = "partial"
)

Defines values for ListGroupsParamsNameMatch.

type ListGroupsParamsOrderBy

type ListGroupsParamsOrderBy string

ListGroupsParamsOrderBy defines parameters for ListGroups.

const (
	ListGroupsParamsOrderByModified       ListGroupsParamsOrderBy = "modified"
	ListGroupsParamsOrderByName           ListGroupsParamsOrderBy = "name"
	ListGroupsParamsOrderByPolicyCount    ListGroupsParamsOrderBy = "policyCount"
	ListGroupsParamsOrderByPrincipalCount ListGroupsParamsOrderBy = "principalCount"
)

Defines values for ListGroupsParamsOrderBy.

type ListGroupsParamsRoleDiscriminator

type ListGroupsParamsRoleDiscriminator string

ListGroupsParamsRoleDiscriminator defines parameters for ListGroups.

const (
	ListGroupsParamsRoleDiscriminatorAll ListGroupsParamsRoleDiscriminator = "all"
	ListGroupsParamsRoleDiscriminatorAny ListGroupsParamsRoleDiscriminator = "any"
)

Defines values for ListGroupsParamsRoleDiscriminator.

type ListGroupsParamsScope

type ListGroupsParamsScope string

ListGroupsParamsScope defines parameters for ListGroups.

const (
	ListGroupsParamsScopeAccount   ListGroupsParamsScope = "account"
	ListGroupsParamsScopePrincipal ListGroupsParamsScope = "principal"
)

Defines values for ListGroupsParamsScope.

type ListGroupsRequestObject

type ListGroupsRequestObject struct {
	Params ListGroupsParams
}

type ListGroupsResponseObject

type ListGroupsResponseObject interface {
	VisitListGroupsResponse(w http.ResponseWriter) error
}

type ListPagination

type ListPagination struct {
	Links *PaginationLinks `json:"links,omitempty"`
	Meta  *PaginationMeta  `json:"meta,omitempty"`
}

ListPagination defines model for ListPagination.

type ListPermissionOptions200JSONResponse

type ListPermissionOptions200JSONResponse PermissionOptionsPagination

func (ListPermissionOptions200JSONResponse) VisitListPermissionOptionsResponse

func (response ListPermissionOptions200JSONResponse) VisitListPermissionOptionsResponse(w http.ResponseWriter) error

type ListPermissionOptions401Response

type ListPermissionOptions401Response struct {
}

func (ListPermissionOptions401Response) VisitListPermissionOptionsResponse

func (response ListPermissionOptions401Response) VisitListPermissionOptionsResponse(w http.ResponseWriter) error

type ListPermissionOptions403JSONResponse

type ListPermissionOptions403JSONResponse Error403

func (ListPermissionOptions403JSONResponse) VisitListPermissionOptionsResponse

func (response ListPermissionOptions403JSONResponse) VisitListPermissionOptionsResponse(w http.ResponseWriter) error

type ListPermissionOptions500JSONResponse

type ListPermissionOptions500JSONResponse Error

func (ListPermissionOptions500JSONResponse) VisitListPermissionOptionsResponse

func (response ListPermissionOptions500JSONResponse) VisitListPermissionOptionsResponse(w http.ResponseWriter) error

type ListPermissionOptionsParams

type ListPermissionOptionsParams struct {
	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// Field specify which fields of permission to display
	Field ListPermissionOptionsParamsField `form:"field" json:"field"`

	// Application Filter returned options based on application. You may also use a comma-separated list to filter on multiple applications.
	Application *string `form:"application,omitempty" json:"application,omitempty"`

	// ResourceType Filter returned options based on resource_type. You may also use a comma-separated list to filter on multiple resource_types.
	ResourceType *string `form:"resource_type,omitempty" json:"resource_type,omitempty"`

	// Verb Filter returned options based on verb. You may also use a comma-separated list to filter on multiple verbs.
	Verb *string `form:"verb,omitempty" json:"verb,omitempty"`

	// ExcludeGlobals If set to 'true', this will exclude any permission option with a global allowance on the supplied '?field=' value of 'application', 'resource_type' or 'verb'. The default is 'false'.
	ExcludeGlobals *ListPermissionOptionsParamsExcludeGlobals `form:"exclude_globals,omitempty" json:"exclude_globals,omitempty"`

	// AllowedOnly If set to 'true', this will exclude any permission with a role where the 'application' is not in the role create allow list.
	AllowedOnly *ListPermissionOptionsParamsAllowedOnly `form:"allowed_only,omitempty" json:"allowed_only,omitempty"`
}

ListPermissionOptionsParams defines parameters for ListPermissionOptions.

type ListPermissionOptionsParamsAllowedOnly

type ListPermissionOptionsParamsAllowedOnly string

ListPermissionOptionsParamsAllowedOnly defines parameters for ListPermissionOptions.

const (
	ListPermissionOptionsParamsAllowedOnlyFalse ListPermissionOptionsParamsAllowedOnly = "false"
	ListPermissionOptionsParamsAllowedOnlyTrue  ListPermissionOptionsParamsAllowedOnly = "true"
)

Defines values for ListPermissionOptionsParamsAllowedOnly.

type ListPermissionOptionsParamsExcludeGlobals

type ListPermissionOptionsParamsExcludeGlobals string

ListPermissionOptionsParamsExcludeGlobals defines parameters for ListPermissionOptions.

const (
	ListPermissionOptionsParamsExcludeGlobalsFalse ListPermissionOptionsParamsExcludeGlobals = "false"
	ListPermissionOptionsParamsExcludeGlobalsTrue  ListPermissionOptionsParamsExcludeGlobals = "true"
)

Defines values for ListPermissionOptionsParamsExcludeGlobals.

type ListPermissionOptionsParamsField

type ListPermissionOptionsParamsField string

ListPermissionOptionsParamsField defines parameters for ListPermissionOptions.

const (
	Application  ListPermissionOptionsParamsField = "application"
	ResourceType ListPermissionOptionsParamsField = "resource_type"
	Verb         ListPermissionOptionsParamsField = "verb"
)

Defines values for ListPermissionOptionsParamsField.

type ListPermissionOptionsRequestObject

type ListPermissionOptionsRequestObject struct {
	Params ListPermissionOptionsParams
}

type ListPermissionOptionsResponseObject

type ListPermissionOptionsResponseObject interface {
	VisitListPermissionOptionsResponse(w http.ResponseWriter) error
}

type ListPermissions200JSONResponse

type ListPermissions200JSONResponse PermissionPagination

func (ListPermissions200JSONResponse) VisitListPermissionsResponse

func (response ListPermissions200JSONResponse) VisitListPermissionsResponse(w http.ResponseWriter) error

type ListPermissions401Response

type ListPermissions401Response struct {
}

func (ListPermissions401Response) VisitListPermissionsResponse

func (response ListPermissions401Response) VisitListPermissionsResponse(w http.ResponseWriter) error

type ListPermissions403JSONResponse

type ListPermissions403JSONResponse Error403

func (ListPermissions403JSONResponse) VisitListPermissionsResponse

func (response ListPermissions403JSONResponse) VisitListPermissionsResponse(w http.ResponseWriter) error

type ListPermissions500JSONResponse

type ListPermissions500JSONResponse Error

func (ListPermissions500JSONResponse) VisitListPermissionsResponse

func (response ListPermissions500JSONResponse) VisitListPermissionsResponse(w http.ResponseWriter) error

type ListPermissionsParams

type ListPermissionsParams struct {
	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// OrderBy Parameter for ordering permissions by value. For inverse ordering, supply '-' before the param value, such as: ?order_by=-application
	OrderBy *ListPermissionsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`

	// Application Exact match for the application name of a permission. You may also use a comma-separated list to match on multiple applications.
	Application *string `form:"application,omitempty" json:"application,omitempty"`

	// ResourceType Exact match for the resource type name of a permission. You may also use a comma-separated list to match on multiple resource_types.
	ResourceType *string `form:"resource_type,omitempty" json:"resource_type,omitempty"`

	// Verb Exact match for the operation verb name of a permission You may also use a comma-separated list to match on multiple verbs.
	Verb *string `form:"verb,omitempty" json:"verb,omitempty"`

	// Permission Partial match for the aggregate permission value name of a permission object.
	Permission *string `form:"permission,omitempty" json:"permission,omitempty"`

	// ExcludeGlobals If set to 'true', this will exclude any permission with a global allowance on either 'application', 'resource_type' or 'verb'. The default is 'false'.
	ExcludeGlobals *ListPermissionsParamsExcludeGlobals `form:"exclude_globals,omitempty" json:"exclude_globals,omitempty"`

	// ExcludeRoles An optional string filter which accepts one or more role UUIDs, comma-separated, to return permissions not associated with the supplied role(s).
	ExcludeRoles *string `form:"exclude_roles,omitempty" json:"exclude_roles,omitempty"`

	// AllowedOnly If set to 'true', this will exclude any permission with a role where the 'application' is not in the role create allow list.
	AllowedOnly *ListPermissionsParamsAllowedOnly `form:"allowed_only,omitempty" json:"allowed_only,omitempty"`
}

ListPermissionsParams defines parameters for ListPermissions.

type ListPermissionsParamsAllowedOnly

type ListPermissionsParamsAllowedOnly string

ListPermissionsParamsAllowedOnly defines parameters for ListPermissions.

const (
	ListPermissionsParamsAllowedOnlyFalse ListPermissionsParamsAllowedOnly = "false"
	ListPermissionsParamsAllowedOnlyTrue  ListPermissionsParamsAllowedOnly = "true"
)

Defines values for ListPermissionsParamsAllowedOnly.

type ListPermissionsParamsExcludeGlobals

type ListPermissionsParamsExcludeGlobals string

ListPermissionsParamsExcludeGlobals defines parameters for ListPermissions.

const (
	ListPermissionsParamsExcludeGlobalsFalse ListPermissionsParamsExcludeGlobals = "false"
	ListPermissionsParamsExcludeGlobalsTrue  ListPermissionsParamsExcludeGlobals = "true"
)

Defines values for ListPermissionsParamsExcludeGlobals.

type ListPermissionsParamsOrderBy

type ListPermissionsParamsOrderBy string

ListPermissionsParamsOrderBy defines parameters for ListPermissions.

const (
	ListPermissionsParamsOrderByApplication  ListPermissionsParamsOrderBy = "application"
	ListPermissionsParamsOrderByPermission   ListPermissionsParamsOrderBy = "permission"
	ListPermissionsParamsOrderByResourceType ListPermissionsParamsOrderBy = "resource_type"
	ListPermissionsParamsOrderByVerb         ListPermissionsParamsOrderBy = "verb"
)

Defines values for ListPermissionsParamsOrderBy.

type ListPermissionsRequestObject

type ListPermissionsRequestObject struct {
	Params ListPermissionsParams
}

type ListPermissionsResponseObject

type ListPermissionsResponseObject interface {
	VisitListPermissionsResponse(w http.ResponseWriter) error
}

type ListPolicies200JSONResponse

type ListPolicies200JSONResponse PolicyPagination

func (ListPolicies200JSONResponse) VisitListPoliciesResponse

func (response ListPolicies200JSONResponse) VisitListPoliciesResponse(w http.ResponseWriter) error

type ListPolicies401Response

type ListPolicies401Response struct {
}

func (ListPolicies401Response) VisitListPoliciesResponse

func (response ListPolicies401Response) VisitListPoliciesResponse(w http.ResponseWriter) error

type ListPolicies500JSONResponse

type ListPolicies500JSONResponse Error

func (ListPolicies500JSONResponse) VisitListPoliciesResponse

func (response ListPolicies500JSONResponse) VisitListPoliciesResponse(w http.ResponseWriter) error

type ListPoliciesParams

type ListPoliciesParams struct {
	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// Name Parameter for filtering resource by name using string contains search.
	Name *NameFilter `form:"name,omitempty" json:"name,omitempty"`

	// Scope Parameter for filtering resource by scope.
	Scope *ListPoliciesParamsScope `form:"scope,omitempty" json:"scope,omitempty"`

	// GroupName Parameter for filtering resource by group name using string contains search.
	GroupName *GroupNameFilter `form:"group_name,omitempty" json:"group_name,omitempty"`

	// GroupUuid Parameter for filtering resource by group uuid using UUID exact match.
	GroupUuid *GroupUUIDFilter `form:"group_uuid,omitempty" json:"group_uuid,omitempty"`

	// OrderBy Parameter for ordering policies by value. For inverse ordering, supply '-' before the param value, such as: ?order_by=-name
	OrderBy *ListPoliciesParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListPoliciesParams defines parameters for ListPolicies.

type ListPoliciesParamsOrderBy

type ListPoliciesParamsOrderBy string

ListPoliciesParamsOrderBy defines parameters for ListPolicies.

const (
	ListPoliciesParamsOrderByModified ListPoliciesParamsOrderBy = "modified"
	ListPoliciesParamsOrderByName     ListPoliciesParamsOrderBy = "name"
)

Defines values for ListPoliciesParamsOrderBy.

type ListPoliciesParamsScope

type ListPoliciesParamsScope string

ListPoliciesParamsScope defines parameters for ListPolicies.

const (
	ListPoliciesParamsScopeAccount   ListPoliciesParamsScope = "account"
	ListPoliciesParamsScopePrincipal ListPoliciesParamsScope = "principal"
)

Defines values for ListPoliciesParamsScope.

type ListPoliciesRequestObject

type ListPoliciesRequestObject struct {
	Params ListPoliciesParams
}

type ListPoliciesResponseObject

type ListPoliciesResponseObject interface {
	VisitListPoliciesResponse(w http.ResponseWriter) error
}

type ListPrincipals200JSONResponse

type ListPrincipals200JSONResponse PrincipalPagination

func (ListPrincipals200JSONResponse) VisitListPrincipalsResponse

func (response ListPrincipals200JSONResponse) VisitListPrincipalsResponse(w http.ResponseWriter) error

type ListPrincipals401Response

type ListPrincipals401Response struct {
}

func (ListPrincipals401Response) VisitListPrincipalsResponse

func (response ListPrincipals401Response) VisitListPrincipalsResponse(w http.ResponseWriter) error

type ListPrincipals403JSONResponse

type ListPrincipals403JSONResponse Error403

func (ListPrincipals403JSONResponse) VisitListPrincipalsResponse

func (response ListPrincipals403JSONResponse) VisitListPrincipalsResponse(w http.ResponseWriter) error

type ListPrincipals500JSONResponse

type ListPrincipals500JSONResponse Error

func (ListPrincipals500JSONResponse) VisitListPrincipalsResponse

func (response ListPrincipals500JSONResponse) VisitListPrincipalsResponse(w http.ResponseWriter) error

type ListPrincipalsParams

type ListPrincipalsParams struct {
	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// MatchCriteria Parameter for specifying the matching criteria for an object's name and/or email. Currently, match_criteria of partial searches for a username/email using "starts with" pattern.
	MatchCriteria *ListPrincipalsParamsMatchCriteria `form:"match_criteria,omitempty" json:"match_criteria,omitempty"`

	// Usernames Comma separated usernames of principals to get. If match_criteria is specified, only the first username will be picked up for search.
	Usernames *string `form:"usernames,omitempty" json:"usernames,omitempty"`

	// SortOrder The sort order of the query, either ascending or descending. Defaults to ascending.
	SortOrder *ListPrincipalsParamsSortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// Email E-mail address of principal to search for. Could be combined with match_criteria for searching.
	Email *string `form:"email,omitempty" json:"email,omitempty"`

	// Status Set the status of users to get back.
	Status *ListPrincipalsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// AdminOnly Get only admin users within an account. Setting this would ignore the parameters: usernames, email
	AdminOnly *ListPrincipalsParamsAdminOnly `form:"admin_only,omitempty" json:"admin_only,omitempty"`

	// OrderBy Parameter for ordering principals by value. For inverse ordering, supply '-' before the param value, such as: ?order_by=-username
	OrderBy *ListPrincipalsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`

	// UsernameOnly Parameter for optionally returning only usernames for principals, bypassing a call to IT.
	UsernameOnly *ListPrincipalsParamsUsernameOnly `form:"username_only,omitempty" json:"username_only,omitempty"`
}

ListPrincipalsParams defines parameters for ListPrincipals.

type ListPrincipalsParamsAdminOnly

type ListPrincipalsParamsAdminOnly string

ListPrincipalsParamsAdminOnly defines parameters for ListPrincipals.

const (
	ListPrincipalsParamsAdminOnlyFalse ListPrincipalsParamsAdminOnly = "false"
	ListPrincipalsParamsAdminOnlyTrue  ListPrincipalsParamsAdminOnly = "true"
)

Defines values for ListPrincipalsParamsAdminOnly.

type ListPrincipalsParamsMatchCriteria

type ListPrincipalsParamsMatchCriteria string

ListPrincipalsParamsMatchCriteria defines parameters for ListPrincipals.

const (
	ListPrincipalsParamsMatchCriteriaExact   ListPrincipalsParamsMatchCriteria = "exact"
	ListPrincipalsParamsMatchCriteriaPartial ListPrincipalsParamsMatchCriteria = "partial"
)

Defines values for ListPrincipalsParamsMatchCriteria.

type ListPrincipalsParamsOrderBy

type ListPrincipalsParamsOrderBy string

ListPrincipalsParamsOrderBy defines parameters for ListPrincipals.

const (
	ListPrincipalsParamsOrderByUsername ListPrincipalsParamsOrderBy = "username"
)

Defines values for ListPrincipalsParamsOrderBy.

type ListPrincipalsParamsSortOrder

type ListPrincipalsParamsSortOrder string

ListPrincipalsParamsSortOrder defines parameters for ListPrincipals.

const (
	Asc  ListPrincipalsParamsSortOrder = "asc"
	Desc ListPrincipalsParamsSortOrder = "desc"
)

Defines values for ListPrincipalsParamsSortOrder.

type ListPrincipalsParamsStatus

type ListPrincipalsParamsStatus string

ListPrincipalsParamsStatus defines parameters for ListPrincipals.

const (
	All      ListPrincipalsParamsStatus = "all"
	Disabled ListPrincipalsParamsStatus = "disabled"
	Enabled  ListPrincipalsParamsStatus = "enabled"
)

Defines values for ListPrincipalsParamsStatus.

type ListPrincipalsParamsUsernameOnly

type ListPrincipalsParamsUsernameOnly bool

ListPrincipalsParamsUsernameOnly defines parameters for ListPrincipals.

const (
	ListPrincipalsParamsUsernameOnlyFalse ListPrincipalsParamsUsernameOnly = false
	ListPrincipalsParamsUsernameOnlyTrue  ListPrincipalsParamsUsernameOnly = true
)

Defines values for ListPrincipalsParamsUsernameOnly.

type ListPrincipalsRequestObject

type ListPrincipalsRequestObject struct {
	Params ListPrincipalsParams
}

type ListPrincipalsResponseObject

type ListPrincipalsResponseObject interface {
	VisitListPrincipalsResponse(w http.ResponseWriter) error
}

type ListRoles200JSONResponse

type ListRoles200JSONResponse RolePaginationDynamic

func (ListRoles200JSONResponse) VisitListRolesResponse

func (response ListRoles200JSONResponse) VisitListRolesResponse(w http.ResponseWriter) error

type ListRoles401Response

type ListRoles401Response struct {
}

func (ListRoles401Response) VisitListRolesResponse

func (response ListRoles401Response) VisitListRolesResponse(w http.ResponseWriter) error

type ListRoles403JSONResponse

type ListRoles403JSONResponse Error403

func (ListRoles403JSONResponse) VisitListRolesResponse

func (response ListRoles403JSONResponse) VisitListRolesResponse(w http.ResponseWriter) error

type ListRoles500JSONResponse

type ListRoles500JSONResponse Error

func (ListRoles500JSONResponse) VisitListRolesResponse

func (response ListRoles500JSONResponse) VisitListRolesResponse(w http.ResponseWriter) error

type ListRolesForGroup200JSONResponse

type ListRolesForGroup200JSONResponse GroupRolesPagination

func (ListRolesForGroup200JSONResponse) VisitListRolesForGroupResponse

func (response ListRolesForGroup200JSONResponse) VisitListRolesForGroupResponse(w http.ResponseWriter) error

type ListRolesForGroup401Response

type ListRolesForGroup401Response struct {
}

func (ListRolesForGroup401Response) VisitListRolesForGroupResponse

func (response ListRolesForGroup401Response) VisitListRolesForGroupResponse(w http.ResponseWriter) error

type ListRolesForGroup403JSONResponse

type ListRolesForGroup403JSONResponse Error403

func (ListRolesForGroup403JSONResponse) VisitListRolesForGroupResponse

func (response ListRolesForGroup403JSONResponse) VisitListRolesForGroupResponse(w http.ResponseWriter) error

type ListRolesForGroup500JSONResponse

type ListRolesForGroup500JSONResponse Error

func (ListRolesForGroup500JSONResponse) VisitListRolesForGroupResponse

func (response ListRolesForGroup500JSONResponse) VisitListRolesForGroupResponse(w http.ResponseWriter) error

type ListRolesForGroupParams

type ListRolesForGroupParams struct {
	// Exclude If this is set to true, the result would be roles excluding the ones in the group
	Exclude *bool `form:"exclude,omitempty" json:"exclude,omitempty"`

	// RoleName Parameter for filtering group roles by role `name` using string contains search.
	RoleName *string `form:"role_name,omitempty" json:"role_name,omitempty"`

	// RoleDisplayName Parameter for filtering group roles by role `display_name` using string contains search.
	RoleDisplayName *string `form:"role_display_name,omitempty" json:"role_display_name,omitempty"`

	// RoleDescription Parameter for filtering group roles by role `description` using string contains search.
	RoleDescription *string `form:"role_description,omitempty" json:"role_description,omitempty"`

	// RoleSystem Parameter for filtering group roles by system flag.
	RoleSystem *bool `form:"role_system,omitempty" json:"role_system,omitempty"`

	// RoleExternalTenant Parameter for filtering group roles by role `external_tenant` using string search.
	RoleExternalTenant *string `form:"role_external_tenant,omitempty" json:"role_external_tenant,omitempty"`

	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// OrderBy Parameter for ordering roles by value. For inverse ordering, supply '-' before the param value, such as: ?order_by=-name
	OrderBy *ListRolesForGroupParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListRolesForGroupParams defines parameters for ListRolesForGroup.

type ListRolesForGroupParamsOrderBy

type ListRolesForGroupParamsOrderBy string

ListRolesForGroupParamsOrderBy defines parameters for ListRolesForGroup.

const (
	ListRolesForGroupParamsOrderByDisplayName ListRolesForGroupParamsOrderBy = "display_name"
	ListRolesForGroupParamsOrderByModified    ListRolesForGroupParamsOrderBy = "modified"
	ListRolesForGroupParamsOrderByName        ListRolesForGroupParamsOrderBy = "name"
	ListRolesForGroupParamsOrderByPolicyCount ListRolesForGroupParamsOrderBy = "policyCount"
)

Defines values for ListRolesForGroupParamsOrderBy.

type ListRolesForGroupRequestObject

type ListRolesForGroupRequestObject struct {
	Uuid   openapi_types.UUID `json:"uuid"`
	Params ListRolesForGroupParams
}

type ListRolesForGroupResponseObject

type ListRolesForGroupResponseObject interface {
	VisitListRolesForGroupResponse(w http.ResponseWriter) error
}

type ListRolesParams

type ListRolesParams struct {
	// Limit Parameter for selecting the amount of data returned.
	Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Parameter for selecting the offset of data.
	Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// Name Parameter for filtering resource by name using string contains search.
	Name *NameFilter `form:"name,omitempty" json:"name,omitempty"`

	// System Parameter for filtering resource by system flag.
	System *SystemFilter `form:"system,omitempty" json:"system,omitempty"`

	// DisplayName Parameter for filtering resource by display_name using string contains search.
	DisplayName *string `form:"display_name,omitempty" json:"display_name,omitempty"`

	// NameMatch Parameter for specifying the matching criteria for an object's name or display_name.
	NameMatch *ListRolesParamsNameMatch `form:"name_match,omitempty" json:"name_match,omitempty"`

	// Scope Parameter for filtering resource by scope.
	Scope *ListRolesParamsScope `form:"scope,omitempty" json:"scope,omitempty"`

	// OrderBy Parameter for ordering roles by value. For inverse ordering, supply '-' before the param value, such as: ?order_by=-name
	OrderBy *ListRolesParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`

	// AddFields Parameter for add list of fields to display for roles.
	AddFields *[]ListRolesParamsAddFields `form:"add_fields,omitempty" json:"add_fields,omitempty"`

	// Username Unique username of the principal to obtain roles for (only available for admins, and if supplied, takes precedence over the identity header).
	Username *string `form:"username,omitempty" json:"username,omitempty"`

	// Application The application name(s) to filter roles by, from permissions or external tenant name. This is an exact match. You may also use a comma-separated list to match on multiple applications.
	Application *string `form:"application,omitempty" json:"application,omitempty"`

	// Permission The permission(s) to filter roles by. This is an exact match. You may also use a comma-separated list to match on multiple permissions.
	Permission *string `form:"permission,omitempty" json:"permission,omitempty"`

	// ExternalTenant Parameter for filtering roles by external tenant name using string search.
	ExternalTenant *string `form:"external_tenant,omitempty" json:"external_tenant,omitempty"`
}

ListRolesParams defines parameters for ListRoles.

type ListRolesParamsAddFields

type ListRolesParamsAddFields string

ListRolesParamsAddFields defines parameters for ListRoles.

const (
	ListRolesParamsAddFieldsAccess        ListRolesParamsAddFields = "access"
	ListRolesParamsAddFieldsGroupsIn      ListRolesParamsAddFields = "groups_in"
	ListRolesParamsAddFieldsGroupsInCount ListRolesParamsAddFields = "groups_in_count"
)

Defines values for ListRolesParamsAddFields.

type ListRolesParamsNameMatch

type ListRolesParamsNameMatch string

ListRolesParamsNameMatch defines parameters for ListRoles.

const (
	ListRolesParamsNameMatchExact   ListRolesParamsNameMatch = "exact"
	ListRolesParamsNameMatchPartial ListRolesParamsNameMatch = "partial"
)

Defines values for ListRolesParamsNameMatch.

type ListRolesParamsOrderBy

type ListRolesParamsOrderBy string

ListRolesParamsOrderBy defines parameters for ListRoles.

const (
	DisplayName ListRolesParamsOrderBy = "display_name"
	Modified    ListRolesParamsOrderBy = "modified"
	Name        ListRolesParamsOrderBy = "name"
	PolicyCount ListRolesParamsOrderBy = "policyCount"
)

Defines values for ListRolesParamsOrderBy.

type ListRolesParamsScope

type ListRolesParamsScope string

ListRolesParamsScope defines parameters for ListRoles.

const (
	ListRolesParamsScopeAccount   ListRolesParamsScope = "account"
	ListRolesParamsScopePrincipal ListRolesParamsScope = "principal"
)

Defines values for ListRolesParamsScope.

type ListRolesRequestObject

type ListRolesRequestObject struct {
	Params ListRolesParams
}

type ListRolesResponseObject

type ListRolesResponseObject interface {
	VisitListRolesResponse(w http.ResponseWriter) error
}

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NameFilter

type NameFilter = string

NameFilter defines model for NameFilter.

type NameMatchCriteria

type NameMatchCriteria string

NameMatchCriteria defines model for NameMatchCriteria.

const (
	NameMatchCriteriaExact   NameMatchCriteria = "exact"
	NameMatchCriteriaPartial NameMatchCriteria = "partial"
)

Defines values for NameMatchCriteria.

type PaginationLinks struct {
	First    *string `json:"first,omitempty"`
	Last     *string `json:"last,omitempty"`
	Next     *string `json:"next,omitempty"`
	Previous *string `json:"previous,omitempty"`
}

PaginationLinks defines model for PaginationLinks.

type PaginationMeta

type PaginationMeta struct {
	Count *int64 `json:"count,omitempty"`
}

PaginationMeta defines model for PaginationMeta.

type PatchCrossAccountRequest200JSONResponse

type PatchCrossAccountRequest200JSONResponse CrossAccountRequestDetail

func (PatchCrossAccountRequest200JSONResponse) VisitPatchCrossAccountRequestResponse

func (response PatchCrossAccountRequest200JSONResponse) VisitPatchCrossAccountRequestResponse(w http.ResponseWriter) error

type PatchCrossAccountRequest201JSONResponse

type PatchCrossAccountRequest201JSONResponse CrossAccountRequestOut

func (PatchCrossAccountRequest201JSONResponse) VisitPatchCrossAccountRequestResponse

func (response PatchCrossAccountRequest201JSONResponse) VisitPatchCrossAccountRequestResponse(w http.ResponseWriter) error

type PatchCrossAccountRequest401Response

type PatchCrossAccountRequest401Response struct {
}

func (PatchCrossAccountRequest401Response) VisitPatchCrossAccountRequestResponse

func (response PatchCrossAccountRequest401Response) VisitPatchCrossAccountRequestResponse(w http.ResponseWriter) error

type PatchCrossAccountRequest403JSONResponse

type PatchCrossAccountRequest403JSONResponse Error403

func (PatchCrossAccountRequest403JSONResponse) VisitPatchCrossAccountRequestResponse

func (response PatchCrossAccountRequest403JSONResponse) VisitPatchCrossAccountRequestResponse(w http.ResponseWriter) error

type PatchCrossAccountRequest404JSONResponse

type PatchCrossAccountRequest404JSONResponse Error

func (PatchCrossAccountRequest404JSONResponse) VisitPatchCrossAccountRequestResponse

func (response PatchCrossAccountRequest404JSONResponse) VisitPatchCrossAccountRequestResponse(w http.ResponseWriter) error

type PatchCrossAccountRequest500JSONResponse

type PatchCrossAccountRequest500JSONResponse Error

func (PatchCrossAccountRequest500JSONResponse) VisitPatchCrossAccountRequestResponse

func (response PatchCrossAccountRequest500JSONResponse) VisitPatchCrossAccountRequestResponse(w http.ResponseWriter) error

type PatchCrossAccountRequestJSONRequestBody

type PatchCrossAccountRequestJSONRequestBody = CrossAccountRequestPatch

PatchCrossAccountRequestJSONRequestBody defines body for PatchCrossAccountRequest for application/json ContentType.

type PatchCrossAccountRequestRequestObject

type PatchCrossAccountRequestRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
	Body *PatchCrossAccountRequestJSONRequestBody
}

type PatchCrossAccountRequestResponseObject

type PatchCrossAccountRequestResponseObject interface {
	VisitPatchCrossAccountRequestResponse(w http.ResponseWriter) error
}

type PatchRole200JSONResponse

type PatchRole200JSONResponse RoleWithAccess

func (PatchRole200JSONResponse) VisitPatchRoleResponse

func (response PatchRole200JSONResponse) VisitPatchRoleResponse(w http.ResponseWriter) error

type PatchRole401Response

type PatchRole401Response struct {
}

func (PatchRole401Response) VisitPatchRoleResponse

func (response PatchRole401Response) VisitPatchRoleResponse(w http.ResponseWriter) error

type PatchRole403JSONResponse

type PatchRole403JSONResponse Error403

func (PatchRole403JSONResponse) VisitPatchRoleResponse

func (response PatchRole403JSONResponse) VisitPatchRoleResponse(w http.ResponseWriter) error

type PatchRole404JSONResponse

type PatchRole404JSONResponse Error

func (PatchRole404JSONResponse) VisitPatchRoleResponse

func (response PatchRole404JSONResponse) VisitPatchRoleResponse(w http.ResponseWriter) error

type PatchRole500JSONResponse

type PatchRole500JSONResponse Error

func (PatchRole500JSONResponse) VisitPatchRoleResponse

func (response PatchRole500JSONResponse) VisitPatchRoleResponse(w http.ResponseWriter) error

type PatchRoleJSONRequestBody

type PatchRoleJSONRequestBody = RolePatch

PatchRoleJSONRequestBody defines body for PatchRole for application/json ContentType.

type PatchRoleRequestObject

type PatchRoleRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
	Body *PatchRoleJSONRequestBody
}

type PatchRoleResponseObject

type PatchRoleResponseObject interface {
	VisitPatchRoleResponse(w http.ResponseWriter) error
}

type Permission

type Permission struct {
	Application  *string `json:"application,omitempty"`
	Description  *string `json:"description,omitempty"`
	Permission   *string `json:"permission,omitempty"`
	ResourceType *string `json:"resource_type,omitempty"`
	Verb         *string `json:"verb,omitempty"`
}

Permission defines model for Permission.

type PermissionOptionsPagination

type PermissionOptionsPagination struct {
	Data  []string         `json:"data"`
	Links *PaginationLinks `json:"links,omitempty"`
	Meta  *PaginationMeta  `json:"meta,omitempty"`
}

PermissionOptionsPagination defines model for PermissionOptionsPagination.

type PermissionPagination

type PermissionPagination struct {
	Data  []Permission     `json:"data"`
	Links *PaginationLinks `json:"links,omitempty"`
	Meta  *PaginationMeta  `json:"meta,omitempty"`
}

PermissionPagination defines model for PermissionPagination.

type Policy

type Policy struct {
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`
}

Policy defines model for Policy.

type PolicyExtended

type PolicyExtended struct {
	Created     time.Time          `json:"created"`
	Description *string            `json:"description,omitempty"`
	Group       GroupOut           `json:"group"`
	Modified    time.Time          `json:"modified"`
	Name        string             `json:"name"`
	Roles       []RoleOut          `json:"roles"`
	Uuid        openapi_types.UUID `json:"uuid"`
}

PolicyExtended defines model for PolicyExtended.

type PolicyIn

type PolicyIn struct {
	Description *string              `json:"description,omitempty"`
	Group       openapi_types.UUID   `json:"group"`
	Name        string               `json:"name"`
	Roles       []openapi_types.UUID `json:"roles"`
}

PolicyIn defines model for PolicyIn.

type PolicyPagination

type PolicyPagination struct {
	Data  []PolicyExtended `json:"data"`
	Links *PaginationLinks `json:"links,omitempty"`
	Meta  *PaginationMeta  `json:"meta,omitempty"`
}

PolicyPagination defines model for PolicyPagination.

type Principal

type Principal struct {
	Email            openapi_types.Email         `json:"email"`
	ExternalSourceId *Principal_ExternalSourceId `json:"external_source_id,omitempty"`
	FirstName        *string                     `json:"first_name,omitempty"`
	IsActive         *bool                       `json:"is_active,omitempty"`
	IsOrgAdmin       *bool                       `json:"is_org_admin,omitempty"`
	LastName         *string                     `json:"last_name,omitempty"`
	Username         string                      `json:"username"`
}

Principal defines model for Principal.

type PrincipalExternalSourceId0

type PrincipalExternalSourceId0 = string

PrincipalExternalSourceId0 defines model for .

type PrincipalExternalSourceId1

type PrincipalExternalSourceId1 = int

PrincipalExternalSourceId1 defines model for .

type PrincipalIn

type PrincipalIn struct {
	Username string `json:"username"`
}

PrincipalIn defines model for PrincipalIn.

type PrincipalMinimal

type PrincipalMinimal struct {
	Username string `json:"username"`
}

PrincipalMinimal defines model for PrincipalMinimal.

type PrincipalPagination

type PrincipalPagination struct {
	Data  []PrincipalPagination_Data_Item `json:"data"`
	Links *PaginationLinks                `json:"links,omitempty"`
	Meta  *PaginationMeta                 `json:"meta,omitempty"`
}

PrincipalPagination defines model for PrincipalPagination.

type PrincipalPagination_Data_Item

type PrincipalPagination_Data_Item struct {
	// contains filtered or unexported fields
}

PrincipalPagination_Data_Item defines model for PrincipalPagination.data.Item.

func (PrincipalPagination_Data_Item) AsPrincipal

func (t PrincipalPagination_Data_Item) AsPrincipal() (Principal, error)

AsPrincipal returns the union data inside the PrincipalPagination_Data_Item as a Principal

func (PrincipalPagination_Data_Item) AsPrincipalMinimal

func (t PrincipalPagination_Data_Item) AsPrincipalMinimal() (PrincipalMinimal, error)

AsPrincipalMinimal returns the union data inside the PrincipalPagination_Data_Item as a PrincipalMinimal

func (*PrincipalPagination_Data_Item) FromPrincipal

func (t *PrincipalPagination_Data_Item) FromPrincipal(v Principal) error

FromPrincipal overwrites any union data inside the PrincipalPagination_Data_Item as the provided Principal

func (*PrincipalPagination_Data_Item) FromPrincipalMinimal

func (t *PrincipalPagination_Data_Item) FromPrincipalMinimal(v PrincipalMinimal) error

FromPrincipalMinimal overwrites any union data inside the PrincipalPagination_Data_Item as the provided PrincipalMinimal

func (PrincipalPagination_Data_Item) MarshalJSON

func (t PrincipalPagination_Data_Item) MarshalJSON() ([]byte, error)

func (*PrincipalPagination_Data_Item) MergePrincipal

func (t *PrincipalPagination_Data_Item) MergePrincipal(v Principal) error

MergePrincipal performs a merge with any union data inside the PrincipalPagination_Data_Item, using the provided Principal

func (*PrincipalPagination_Data_Item) MergePrincipalMinimal

func (t *PrincipalPagination_Data_Item) MergePrincipalMinimal(v PrincipalMinimal) error

MergePrincipalMinimal performs a merge with any union data inside the PrincipalPagination_Data_Item, using the provided PrincipalMinimal

func (*PrincipalPagination_Data_Item) UnmarshalJSON

func (t *PrincipalPagination_Data_Item) UnmarshalJSON(b []byte) error

type Principal_ExternalSourceId

type Principal_ExternalSourceId struct {
	// contains filtered or unexported fields
}

Principal_ExternalSourceId defines model for Principal.ExternalSourceId.

func (Principal_ExternalSourceId) AsPrincipalExternalSourceId0

func (t Principal_ExternalSourceId) AsPrincipalExternalSourceId0() (PrincipalExternalSourceId0, error)

AsPrincipalExternalSourceId0 returns the union data inside the Principal_ExternalSourceId as a PrincipalExternalSourceId0

func (Principal_ExternalSourceId) AsPrincipalExternalSourceId1

func (t Principal_ExternalSourceId) AsPrincipalExternalSourceId1() (PrincipalExternalSourceId1, error)

AsPrincipalExternalSourceId1 returns the union data inside the Principal_ExternalSourceId as a PrincipalExternalSourceId1

func (*Principal_ExternalSourceId) FromPrincipalExternalSourceId0

func (t *Principal_ExternalSourceId) FromPrincipalExternalSourceId0(v PrincipalExternalSourceId0) error

FromPrincipalExternalSourceId0 overwrites any union data inside the Principal_ExternalSourceId as the provided PrincipalExternalSourceId0

func (*Principal_ExternalSourceId) FromPrincipalExternalSourceId1

func (t *Principal_ExternalSourceId) FromPrincipalExternalSourceId1(v PrincipalExternalSourceId1) error

FromPrincipalExternalSourceId1 overwrites any union data inside the Principal_ExternalSourceId as the provided PrincipalExternalSourceId1

func (Principal_ExternalSourceId) MarshalJSON

func (t Principal_ExternalSourceId) MarshalJSON() ([]byte, error)

func (*Principal_ExternalSourceId) MergePrincipalExternalSourceId0

func (t *Principal_ExternalSourceId) MergePrincipalExternalSourceId0(v PrincipalExternalSourceId0) error

MergePrincipalExternalSourceId0 performs a merge with any union data inside the Principal_ExternalSourceId, using the provided PrincipalExternalSourceId0

func (*Principal_ExternalSourceId) MergePrincipalExternalSourceId1

func (t *Principal_ExternalSourceId) MergePrincipalExternalSourceId1(v PrincipalExternalSourceId1) error

MergePrincipalExternalSourceId1 performs a merge with any union data inside the Principal_ExternalSourceId, using the provided PrincipalExternalSourceId1

func (*Principal_ExternalSourceId) UnmarshalJSON

func (t *Principal_ExternalSourceId) UnmarshalJSON(b []byte) error

type PutCrossAccountRequest200JSONResponse

type PutCrossAccountRequest200JSONResponse CrossAccountRequestDetail

func (PutCrossAccountRequest200JSONResponse) VisitPutCrossAccountRequestResponse

func (response PutCrossAccountRequest200JSONResponse) VisitPutCrossAccountRequestResponse(w http.ResponseWriter) error

type PutCrossAccountRequest201JSONResponse

type PutCrossAccountRequest201JSONResponse CrossAccountRequestOut

func (PutCrossAccountRequest201JSONResponse) VisitPutCrossAccountRequestResponse

func (response PutCrossAccountRequest201JSONResponse) VisitPutCrossAccountRequestResponse(w http.ResponseWriter) error

type PutCrossAccountRequest401Response

type PutCrossAccountRequest401Response struct {
}

func (PutCrossAccountRequest401Response) VisitPutCrossAccountRequestResponse

func (response PutCrossAccountRequest401Response) VisitPutCrossAccountRequestResponse(w http.ResponseWriter) error

type PutCrossAccountRequest403JSONResponse

type PutCrossAccountRequest403JSONResponse Error403

func (PutCrossAccountRequest403JSONResponse) VisitPutCrossAccountRequestResponse

func (response PutCrossAccountRequest403JSONResponse) VisitPutCrossAccountRequestResponse(w http.ResponseWriter) error

type PutCrossAccountRequest404JSONResponse

type PutCrossAccountRequest404JSONResponse Error

func (PutCrossAccountRequest404JSONResponse) VisitPutCrossAccountRequestResponse

func (response PutCrossAccountRequest404JSONResponse) VisitPutCrossAccountRequestResponse(w http.ResponseWriter) error

type PutCrossAccountRequest500JSONResponse

type PutCrossAccountRequest500JSONResponse Error

func (PutCrossAccountRequest500JSONResponse) VisitPutCrossAccountRequestResponse

func (response PutCrossAccountRequest500JSONResponse) VisitPutCrossAccountRequestResponse(w http.ResponseWriter) error

type PutCrossAccountRequestJSONRequestBody

type PutCrossAccountRequestJSONRequestBody = CrossAccountRequestUpdateIn

PutCrossAccountRequestJSONRequestBody defines body for PutCrossAccountRequest for application/json ContentType.

type PutCrossAccountRequestRequestObject

type PutCrossAccountRequestRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
	Body *PutCrossAccountRequestJSONRequestBody
}

type PutCrossAccountRequestResponseObject

type PutCrossAccountRequestResponseObject interface {
	VisitPutCrossAccountRequestResponse(w http.ResponseWriter) error
}

type QueryLimit

type QueryLimit = int

QueryLimit defines model for QueryLimit.

type QueryOffset

type QueryOffset = int

QueryOffset defines model for QueryOffset.

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResourceDefinition

type ResourceDefinition struct {
	AttributeFilter ResourceDefinitionFilter `json:"attributeFilter"`
}

ResourceDefinition defines model for ResourceDefinition.

type ResourceDefinitionFilter

type ResourceDefinitionFilter struct {
	Key       string                            `json:"key"`
	Operation ResourceDefinitionFilterOperation `json:"operation"`
	Value     string                            `json:"value"`
}

ResourceDefinitionFilter defines model for ResourceDefinitionFilter.

type ResourceDefinitionFilterOperation

type ResourceDefinitionFilterOperation string

ResourceDefinitionFilterOperation defines model for ResourceDefinitionFilter.Operation.

Defines values for ResourceDefinitionFilterOperation.

type Role

type Role struct {
	Description *string `json:"description,omitempty"`
	DisplayName *string `json:"display_name,omitempty"`
	Name        string  `json:"name"`
}

Role defines model for Role.

type RoleIn

type RoleIn struct {
	Access      []Access `json:"access"`
	Description *string  `json:"description,omitempty"`
	DisplayName *string  `json:"display_name,omitempty"`
	Name        string   `json:"name"`
}

RoleIn defines model for RoleIn.

type RoleOut

type RoleOut struct {
	AccessCount     *int               `json:"accessCount,omitempty"`
	AdminDefault    *bool              `json:"admin_default,omitempty"`
	Applications    *[]string          `json:"applications,omitempty"`
	Created         time.Time          `json:"created"`
	Description     *string            `json:"description,omitempty"`
	DisplayName     *string            `json:"display_name,omitempty"`
	ExternalRoleId  *string            `json:"external_role_id,omitempty"`
	ExternalTenant  *string            `json:"external_tenant,omitempty"`
	Modified        time.Time          `json:"modified"`
	Name            string             `json:"name"`
	PlatformDefault *bool              `json:"platform_default,omitempty"`
	PolicyCount     *int               `json:"policyCount,omitempty"`
	System          *bool              `json:"system,omitempty"`
	Uuid            openapi_types.UUID `json:"uuid"`
}

RoleOut defines model for RoleOut.

type RoleOutDynamic

type RoleOutDynamic struct {
	Access          *[]Access          `json:"access,omitempty"`
	AccessCount     int                `json:"accessCount"`
	AdminDefault    bool               `json:"admin_default"`
	Applications    []string           `json:"applications"`
	Created         time.Time          `json:"created"`
	Description     *string            `json:"description,omitempty"`
	DisplayName     *string            `json:"display_name,omitempty"`
	ExternalRoleId  *string            `json:"external_role_id,omitempty"`
	ExternalTenant  *string            `json:"external_tenant,omitempty"`
	GroupsIn        *[]AdditionalGroup `json:"groups_in,omitempty"`
	GroupsInCount   *int               `json:"groups_in_count,omitempty"`
	Modified        time.Time          `json:"modified"`
	Name            string             `json:"name"`
	PlatformDefault bool               `json:"platform_default"`
	PolicyCount     int                `json:"policyCount"`
	System          bool               `json:"system"`
	Uuid            openapi_types.UUID `json:"uuid"`
}

RoleOutDynamic defines model for RoleOutDynamic.

type RolePaginationDynamic

type RolePaginationDynamic struct {
	Data  []RoleOutDynamic `json:"data"`
	Links *PaginationLinks `json:"links,omitempty"`
	Meta  *PaginationMeta  `json:"meta,omitempty"`
}

RolePaginationDynamic defines model for RolePaginationDynamic.

type RolePatch

type RolePatch struct {
	Description *string `json:"description,omitempty"`
	DisplayName *string `json:"display_name,omitempty"`
	Name        *string `json:"name,omitempty"`
}

RolePatch defines model for RolePatch.

type RoleWithAccess

type RoleWithAccess struct {
	Access          []Access           `json:"access"`
	AccessCount     *int               `json:"accessCount,omitempty"`
	AdminDefault    *bool              `json:"admin_default,omitempty"`
	Applications    *[]string          `json:"applications,omitempty"`
	Created         time.Time          `json:"created"`
	Description     *string            `json:"description,omitempty"`
	DisplayName     *string            `json:"display_name,omitempty"`
	ExternalRoleId  *string            `json:"external_role_id,omitempty"`
	ExternalTenant  *string            `json:"external_tenant,omitempty"`
	Modified        time.Time          `json:"modified"`
	Name            string             `json:"name"`
	PlatformDefault *bool              `json:"platform_default,omitempty"`
	PolicyCount     *int               `json:"policyCount,omitempty"`
	System          *bool              `json:"system,omitempty"`
	Uuid            openapi_types.UUID `json:"uuid"`
}

RoleWithAccess defines model for RoleWithAccess.

type ScopeFilter

type ScopeFilter string

ScopeFilter defines model for ScopeFilter.

const (
	ScopeFilterAccount   ScopeFilter = "account"
	ScopeFilterPrincipal ScopeFilter = "principal"
)

Defines values for ScopeFilter.

type ServerInterface

type ServerInterface interface {
	// Get the permitted access for a principal in the tenant (defaults to principal from the identity header)
	// (GET /access/)
	GetPrincipalAccess(w http.ResponseWriter, r *http.Request, params GetPrincipalAccessParams)
	// List the cross account requests for a user or account
	// (GET /cross-account-requests/)
	ListCrossAccountRequests(w http.ResponseWriter, r *http.Request, params ListCrossAccountRequestsParams)
	// Create a cross account request
	// (POST /cross-account-requests/)
	CreateCrossAccountRequests(w http.ResponseWriter, r *http.Request)
	// Get a cross account request
	// (GET /cross-account-requests/{uuid}/)
	GetCrossAccountRequest(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params GetCrossAccountRequestParams)
	// Patch a cross account request
	// (PATCH /cross-account-requests/{uuid}/)
	PatchCrossAccountRequest(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Update a cross account request
	// (PUT /cross-account-requests/{uuid}/)
	PutCrossAccountRequest(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// List the groups for a tenant
	// (GET /groups/)
	ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)
	// Create a group in a tenant
	// (POST /groups/)
	CreateGroup(w http.ResponseWriter, r *http.Request)
	// Delete a group in the tenant
	// (DELETE /groups/{uuid}/)
	DeleteGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Get a group in the tenant
	// (GET /groups/{uuid}/)
	GetGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Update a group in the tenant
	// (PUT /groups/{uuid}/)
	UpdateGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Remove a principal from a group in the tenant
	// (DELETE /groups/{uuid}/principals/)
	DeletePrincipalFromGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params DeletePrincipalFromGroupParams)
	// Get a list of principals from a group in the tenant
	// (GET /groups/{uuid}/principals/)
	GetPrincipalsFromGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params GetPrincipalsFromGroupParams)
	// Add a principal to a group in the tenant
	// (POST /groups/{uuid}/principals/)
	AddPrincipalToGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Remove a role from a group in the tenant
	// (DELETE /groups/{uuid}/roles/)
	DeleteRoleFromGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params DeleteRoleFromGroupParams)
	// List the roles for a group in the tenant
	// (GET /groups/{uuid}/roles/)
	ListRolesForGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params ListRolesForGroupParams)
	// Add a role to a group in the tenant
	// (POST /groups/{uuid}/roles/)
	AddRoleToGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// List the permissions for a tenant
	// (GET /permissions/)
	ListPermissions(w http.ResponseWriter, r *http.Request, params ListPermissionsParams)
	// List the available options for fields of permissions for a tenant
	// (GET /permissions/options/)
	ListPermissionOptions(w http.ResponseWriter, r *http.Request, params ListPermissionOptionsParams)
	// List the policies in the tenant
	// (GET /policies/)
	ListPolicies(w http.ResponseWriter, r *http.Request, params ListPoliciesParams)
	// Create a policy in a tenant
	// (POST /policies/)
	CreatePolicies(w http.ResponseWriter, r *http.Request)
	// Delete a policy in the tenant
	// (DELETE /policies/{uuid}/)
	DeletePolicy(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Get a policy in the tenant
	// (GET /policies/{uuid}/)
	GetPolicy(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Update a policy in the tenant
	// (PUT /policies/{uuid}/)
	UpdatePolicy(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// List the principals for a tenant
	// (GET /principals/)
	ListPrincipals(w http.ResponseWriter, r *http.Request, params ListPrincipalsParams)
	// List the roles for a tenant
	// (GET /roles/)
	ListRoles(w http.ResponseWriter, r *http.Request, params ListRolesParams)
	// Create a role for a tenant
	// (POST /roles/)
	CreateRole(w http.ResponseWriter, r *http.Request)
	// Delete a role in the tenant
	// (DELETE /roles/{uuid}/)
	DeleteRole(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Get a role in the tenant
	// (GET /roles/{uuid}/)
	GetRole(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params GetRoleParams)
	// Patch a role in the tenant
	// (PATCH /roles/{uuid}/)
	PatchRole(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Update a role in the tenant
	// (PUT /roles/{uuid}/)
	UpdateRole(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)
	// Get access for a role in the tenant
	// (GET /roles/{uuid}/access/)
	GetRoleAccess(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params GetRoleAccessParams)
	// Obtain server status
	// (GET /status/)
	GetStatus(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AddPrincipalToGroup

func (siw *ServerInterfaceWrapper) AddPrincipalToGroup(w http.ResponseWriter, r *http.Request)

AddPrincipalToGroup operation middleware

func (*ServerInterfaceWrapper) AddRoleToGroup

func (siw *ServerInterfaceWrapper) AddRoleToGroup(w http.ResponseWriter, r *http.Request)

AddRoleToGroup operation middleware

func (*ServerInterfaceWrapper) CreateCrossAccountRequests

func (siw *ServerInterfaceWrapper) CreateCrossAccountRequests(w http.ResponseWriter, r *http.Request)

CreateCrossAccountRequests operation middleware

func (*ServerInterfaceWrapper) CreateGroup

func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)

CreateGroup operation middleware

func (*ServerInterfaceWrapper) CreatePolicies

func (siw *ServerInterfaceWrapper) CreatePolicies(w http.ResponseWriter, r *http.Request)

CreatePolicies operation middleware

func (*ServerInterfaceWrapper) CreateRole

func (siw *ServerInterfaceWrapper) CreateRole(w http.ResponseWriter, r *http.Request)

CreateRole operation middleware

func (*ServerInterfaceWrapper) DeleteGroup

func (siw *ServerInterfaceWrapper) DeleteGroup(w http.ResponseWriter, r *http.Request)

DeleteGroup operation middleware

func (*ServerInterfaceWrapper) DeletePolicy

func (siw *ServerInterfaceWrapper) DeletePolicy(w http.ResponseWriter, r *http.Request)

DeletePolicy operation middleware

func (*ServerInterfaceWrapper) DeletePrincipalFromGroup

func (siw *ServerInterfaceWrapper) DeletePrincipalFromGroup(w http.ResponseWriter, r *http.Request)

DeletePrincipalFromGroup operation middleware

func (*ServerInterfaceWrapper) DeleteRole

func (siw *ServerInterfaceWrapper) DeleteRole(w http.ResponseWriter, r *http.Request)

DeleteRole operation middleware

func (*ServerInterfaceWrapper) DeleteRoleFromGroup

func (siw *ServerInterfaceWrapper) DeleteRoleFromGroup(w http.ResponseWriter, r *http.Request)

DeleteRoleFromGroup operation middleware

func (*ServerInterfaceWrapper) GetCrossAccountRequest

func (siw *ServerInterfaceWrapper) GetCrossAccountRequest(w http.ResponseWriter, r *http.Request)

GetCrossAccountRequest operation middleware

func (*ServerInterfaceWrapper) GetGroup

func (siw *ServerInterfaceWrapper) GetGroup(w http.ResponseWriter, r *http.Request)

GetGroup operation middleware

func (*ServerInterfaceWrapper) GetPolicy

func (siw *ServerInterfaceWrapper) GetPolicy(w http.ResponseWriter, r *http.Request)

GetPolicy operation middleware

func (*ServerInterfaceWrapper) GetPrincipalAccess

func (siw *ServerInterfaceWrapper) GetPrincipalAccess(w http.ResponseWriter, r *http.Request)

GetPrincipalAccess operation middleware

func (*ServerInterfaceWrapper) GetPrincipalsFromGroup

func (siw *ServerInterfaceWrapper) GetPrincipalsFromGroup(w http.ResponseWriter, r *http.Request)

GetPrincipalsFromGroup operation middleware

func (*ServerInterfaceWrapper) GetRole

GetRole operation middleware

func (*ServerInterfaceWrapper) GetRoleAccess

func (siw *ServerInterfaceWrapper) GetRoleAccess(w http.ResponseWriter, r *http.Request)

GetRoleAccess operation middleware

func (*ServerInterfaceWrapper) GetStatus

func (siw *ServerInterfaceWrapper) GetStatus(w http.ResponseWriter, r *http.Request)

GetStatus operation middleware

func (*ServerInterfaceWrapper) ListCrossAccountRequests

func (siw *ServerInterfaceWrapper) ListCrossAccountRequests(w http.ResponseWriter, r *http.Request)

ListCrossAccountRequests operation middleware

func (*ServerInterfaceWrapper) ListGroups

func (siw *ServerInterfaceWrapper) ListGroups(w http.ResponseWriter, r *http.Request)

ListGroups operation middleware

func (*ServerInterfaceWrapper) ListPermissionOptions

func (siw *ServerInterfaceWrapper) ListPermissionOptions(w http.ResponseWriter, r *http.Request)

ListPermissionOptions operation middleware

func (*ServerInterfaceWrapper) ListPermissions

func (siw *ServerInterfaceWrapper) ListPermissions(w http.ResponseWriter, r *http.Request)

ListPermissions operation middleware

func (*ServerInterfaceWrapper) ListPolicies

func (siw *ServerInterfaceWrapper) ListPolicies(w http.ResponseWriter, r *http.Request)

ListPolicies operation middleware

func (*ServerInterfaceWrapper) ListPrincipals

func (siw *ServerInterfaceWrapper) ListPrincipals(w http.ResponseWriter, r *http.Request)

ListPrincipals operation middleware

func (*ServerInterfaceWrapper) ListRoles

func (siw *ServerInterfaceWrapper) ListRoles(w http.ResponseWriter, r *http.Request)

ListRoles operation middleware

func (*ServerInterfaceWrapper) ListRolesForGroup

func (siw *ServerInterfaceWrapper) ListRolesForGroup(w http.ResponseWriter, r *http.Request)

ListRolesForGroup operation middleware

func (*ServerInterfaceWrapper) PatchCrossAccountRequest

func (siw *ServerInterfaceWrapper) PatchCrossAccountRequest(w http.ResponseWriter, r *http.Request)

PatchCrossAccountRequest operation middleware

func (*ServerInterfaceWrapper) PatchRole

func (siw *ServerInterfaceWrapper) PatchRole(w http.ResponseWriter, r *http.Request)

PatchRole operation middleware

func (*ServerInterfaceWrapper) PutCrossAccountRequest

func (siw *ServerInterfaceWrapper) PutCrossAccountRequest(w http.ResponseWriter, r *http.Request)

PutCrossAccountRequest operation middleware

func (*ServerInterfaceWrapper) UpdateGroup

func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)

UpdateGroup operation middleware

func (*ServerInterfaceWrapper) UpdatePolicy

func (siw *ServerInterfaceWrapper) UpdatePolicy(w http.ResponseWriter, r *http.Request)

UpdatePolicy operation middleware

func (*ServerInterfaceWrapper) UpdateRole

func (siw *ServerInterfaceWrapper) UpdateRole(w http.ResponseWriter, r *http.Request)

UpdateRole operation middleware

type Status

type Status struct {
	ApiVersion int64   `json:"api_version"`
	Commit     *string `json:"commit,omitempty"`
}

Status defines model for Status.

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictServerInterface

type StrictServerInterface interface {
	// Get the permitted access for a principal in the tenant (defaults to principal from the identity header)
	// (GET /access/)
	GetPrincipalAccess(ctx context.Context, request GetPrincipalAccessRequestObject) (GetPrincipalAccessResponseObject, error)
	// List the cross account requests for a user or account
	// (GET /cross-account-requests/)
	ListCrossAccountRequests(ctx context.Context, request ListCrossAccountRequestsRequestObject) (ListCrossAccountRequestsResponseObject, error)
	// Create a cross account request
	// (POST /cross-account-requests/)
	CreateCrossAccountRequests(ctx context.Context, request CreateCrossAccountRequestsRequestObject) (CreateCrossAccountRequestsResponseObject, error)
	// Get a cross account request
	// (GET /cross-account-requests/{uuid}/)
	GetCrossAccountRequest(ctx context.Context, request GetCrossAccountRequestRequestObject) (GetCrossAccountRequestResponseObject, error)
	// Patch a cross account request
	// (PATCH /cross-account-requests/{uuid}/)
	PatchCrossAccountRequest(ctx context.Context, request PatchCrossAccountRequestRequestObject) (PatchCrossAccountRequestResponseObject, error)
	// Update a cross account request
	// (PUT /cross-account-requests/{uuid}/)
	PutCrossAccountRequest(ctx context.Context, request PutCrossAccountRequestRequestObject) (PutCrossAccountRequestResponseObject, error)
	// List the groups for a tenant
	// (GET /groups/)
	ListGroups(ctx context.Context, request ListGroupsRequestObject) (ListGroupsResponseObject, error)
	// Create a group in a tenant
	// (POST /groups/)
	CreateGroup(ctx context.Context, request CreateGroupRequestObject) (CreateGroupResponseObject, error)
	// Delete a group in the tenant
	// (DELETE /groups/{uuid}/)
	DeleteGroup(ctx context.Context, request DeleteGroupRequestObject) (DeleteGroupResponseObject, error)
	// Get a group in the tenant
	// (GET /groups/{uuid}/)
	GetGroup(ctx context.Context, request GetGroupRequestObject) (GetGroupResponseObject, error)
	// Update a group in the tenant
	// (PUT /groups/{uuid}/)
	UpdateGroup(ctx context.Context, request UpdateGroupRequestObject) (UpdateGroupResponseObject, error)
	// Remove a principal from a group in the tenant
	// (DELETE /groups/{uuid}/principals/)
	DeletePrincipalFromGroup(ctx context.Context, request DeletePrincipalFromGroupRequestObject) (DeletePrincipalFromGroupResponseObject, error)
	// Get a list of principals from a group in the tenant
	// (GET /groups/{uuid}/principals/)
	GetPrincipalsFromGroup(ctx context.Context, request GetPrincipalsFromGroupRequestObject) (GetPrincipalsFromGroupResponseObject, error)
	// Add a principal to a group in the tenant
	// (POST /groups/{uuid}/principals/)
	AddPrincipalToGroup(ctx context.Context, request AddPrincipalToGroupRequestObject) (AddPrincipalToGroupResponseObject, error)
	// Remove a role from a group in the tenant
	// (DELETE /groups/{uuid}/roles/)
	DeleteRoleFromGroup(ctx context.Context, request DeleteRoleFromGroupRequestObject) (DeleteRoleFromGroupResponseObject, error)
	// List the roles for a group in the tenant
	// (GET /groups/{uuid}/roles/)
	ListRolesForGroup(ctx context.Context, request ListRolesForGroupRequestObject) (ListRolesForGroupResponseObject, error)
	// Add a role to a group in the tenant
	// (POST /groups/{uuid}/roles/)
	AddRoleToGroup(ctx context.Context, request AddRoleToGroupRequestObject) (AddRoleToGroupResponseObject, error)
	// List the permissions for a tenant
	// (GET /permissions/)
	ListPermissions(ctx context.Context, request ListPermissionsRequestObject) (ListPermissionsResponseObject, error)
	// List the available options for fields of permissions for a tenant
	// (GET /permissions/options/)
	ListPermissionOptions(ctx context.Context, request ListPermissionOptionsRequestObject) (ListPermissionOptionsResponseObject, error)
	// List the policies in the tenant
	// (GET /policies/)
	ListPolicies(ctx context.Context, request ListPoliciesRequestObject) (ListPoliciesResponseObject, error)
	// Create a policy in a tenant
	// (POST /policies/)
	CreatePolicies(ctx context.Context, request CreatePoliciesRequestObject) (CreatePoliciesResponseObject, error)
	// Delete a policy in the tenant
	// (DELETE /policies/{uuid}/)
	DeletePolicy(ctx context.Context, request DeletePolicyRequestObject) (DeletePolicyResponseObject, error)
	// Get a policy in the tenant
	// (GET /policies/{uuid}/)
	GetPolicy(ctx context.Context, request GetPolicyRequestObject) (GetPolicyResponseObject, error)
	// Update a policy in the tenant
	// (PUT /policies/{uuid}/)
	UpdatePolicy(ctx context.Context, request UpdatePolicyRequestObject) (UpdatePolicyResponseObject, error)
	// List the principals for a tenant
	// (GET /principals/)
	ListPrincipals(ctx context.Context, request ListPrincipalsRequestObject) (ListPrincipalsResponseObject, error)
	// List the roles for a tenant
	// (GET /roles/)
	ListRoles(ctx context.Context, request ListRolesRequestObject) (ListRolesResponseObject, error)
	// Create a role for a tenant
	// (POST /roles/)
	CreateRole(ctx context.Context, request CreateRoleRequestObject) (CreateRoleResponseObject, error)
	// Delete a role in the tenant
	// (DELETE /roles/{uuid}/)
	DeleteRole(ctx context.Context, request DeleteRoleRequestObject) (DeleteRoleResponseObject, error)
	// Get a role in the tenant
	// (GET /roles/{uuid}/)
	GetRole(ctx context.Context, request GetRoleRequestObject) (GetRoleResponseObject, error)
	// Patch a role in the tenant
	// (PATCH /roles/{uuid}/)
	PatchRole(ctx context.Context, request PatchRoleRequestObject) (PatchRoleResponseObject, error)
	// Update a role in the tenant
	// (PUT /roles/{uuid}/)
	UpdateRole(ctx context.Context, request UpdateRoleRequestObject) (UpdateRoleResponseObject, error)
	// Get access for a role in the tenant
	// (GET /roles/{uuid}/access/)
	GetRoleAccess(ctx context.Context, request GetRoleAccessRequestObject) (GetRoleAccessResponseObject, error)
	// Obtain server status
	// (GET /status/)
	GetStatus(ctx context.Context, request GetStatusRequestObject) (GetStatusResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SystemFilter

type SystemFilter = bool

SystemFilter defines model for SystemFilter.

type Timestamped

type Timestamped struct {
	Created  time.Time `json:"created"`
	Modified time.Time `json:"modified"`
}

Timestamped defines model for Timestamped.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UUID

type UUID struct {
	Uuid openapi_types.UUID `json:"uuid"`
}

UUID defines model for UUID.

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) AddPrincipalToGroup

func (_ Unimplemented) AddPrincipalToGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Add a principal to a group in the tenant (POST /groups/{uuid}/principals/)

func (Unimplemented) AddRoleToGroup

func (_ Unimplemented) AddRoleToGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Add a role to a group in the tenant (POST /groups/{uuid}/roles/)

func (Unimplemented) CreateCrossAccountRequests

func (_ Unimplemented) CreateCrossAccountRequests(w http.ResponseWriter, r *http.Request)

Create a cross account request (POST /cross-account-requests/)

func (Unimplemented) CreateGroup

func (_ Unimplemented) CreateGroup(w http.ResponseWriter, r *http.Request)

Create a group in a tenant (POST /groups/)

func (Unimplemented) CreatePolicies

func (_ Unimplemented) CreatePolicies(w http.ResponseWriter, r *http.Request)

Create a policy in a tenant (POST /policies/)

func (Unimplemented) CreateRole

func (_ Unimplemented) CreateRole(w http.ResponseWriter, r *http.Request)

Create a role for a tenant (POST /roles/)

func (Unimplemented) DeleteGroup

func (_ Unimplemented) DeleteGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Delete a group in the tenant (DELETE /groups/{uuid}/)

func (Unimplemented) DeletePolicy

func (_ Unimplemented) DeletePolicy(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Delete a policy in the tenant (DELETE /policies/{uuid}/)

func (Unimplemented) DeletePrincipalFromGroup

func (_ Unimplemented) DeletePrincipalFromGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params DeletePrincipalFromGroupParams)

Remove a principal from a group in the tenant (DELETE /groups/{uuid}/principals/)

func (Unimplemented) DeleteRole

func (_ Unimplemented) DeleteRole(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Delete a role in the tenant (DELETE /roles/{uuid}/)

func (Unimplemented) DeleteRoleFromGroup

func (_ Unimplemented) DeleteRoleFromGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params DeleteRoleFromGroupParams)

Remove a role from a group in the tenant (DELETE /groups/{uuid}/roles/)

func (Unimplemented) GetCrossAccountRequest

func (_ Unimplemented) GetCrossAccountRequest(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params GetCrossAccountRequestParams)

Get a cross account request (GET /cross-account-requests/{uuid}/)

func (Unimplemented) GetGroup

Get a group in the tenant (GET /groups/{uuid}/)

func (Unimplemented) GetPolicy

func (_ Unimplemented) GetPolicy(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Get a policy in the tenant (GET /policies/{uuid}/)

func (Unimplemented) GetPrincipalAccess

func (_ Unimplemented) GetPrincipalAccess(w http.ResponseWriter, r *http.Request, params GetPrincipalAccessParams)

Get the permitted access for a principal in the tenant (defaults to principal from the identity header) (GET /access/)

func (Unimplemented) GetPrincipalsFromGroup

func (_ Unimplemented) GetPrincipalsFromGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params GetPrincipalsFromGroupParams)

Get a list of principals from a group in the tenant (GET /groups/{uuid}/principals/)

func (Unimplemented) GetRole

Get a role in the tenant (GET /roles/{uuid}/)

func (Unimplemented) GetRoleAccess

func (_ Unimplemented) GetRoleAccess(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params GetRoleAccessParams)

Get access for a role in the tenant (GET /roles/{uuid}/access/)

func (Unimplemented) GetStatus

func (_ Unimplemented) GetStatus(w http.ResponseWriter, r *http.Request)

Obtain server status (GET /status/)

func (Unimplemented) ListCrossAccountRequests

func (_ Unimplemented) ListCrossAccountRequests(w http.ResponseWriter, r *http.Request, params ListCrossAccountRequestsParams)

List the cross account requests for a user or account (GET /cross-account-requests/)

func (Unimplemented) ListGroups

func (_ Unimplemented) ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)

List the groups for a tenant (GET /groups/)

func (Unimplemented) ListPermissionOptions

func (_ Unimplemented) ListPermissionOptions(w http.ResponseWriter, r *http.Request, params ListPermissionOptionsParams)

List the available options for fields of permissions for a tenant (GET /permissions/options/)

func (Unimplemented) ListPermissions

func (_ Unimplemented) ListPermissions(w http.ResponseWriter, r *http.Request, params ListPermissionsParams)

List the permissions for a tenant (GET /permissions/)

func (Unimplemented) ListPolicies

func (_ Unimplemented) ListPolicies(w http.ResponseWriter, r *http.Request, params ListPoliciesParams)

List the policies in the tenant (GET /policies/)

func (Unimplemented) ListPrincipals

func (_ Unimplemented) ListPrincipals(w http.ResponseWriter, r *http.Request, params ListPrincipalsParams)

List the principals for a tenant (GET /principals/)

func (Unimplemented) ListRoles

func (_ Unimplemented) ListRoles(w http.ResponseWriter, r *http.Request, params ListRolesParams)

List the roles for a tenant (GET /roles/)

func (Unimplemented) ListRolesForGroup

func (_ Unimplemented) ListRolesForGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID, params ListRolesForGroupParams)

List the roles for a group in the tenant (GET /groups/{uuid}/roles/)

func (Unimplemented) PatchCrossAccountRequest

func (_ Unimplemented) PatchCrossAccountRequest(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Patch a cross account request (PATCH /cross-account-requests/{uuid}/)

func (Unimplemented) PatchRole

func (_ Unimplemented) PatchRole(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Patch a role in the tenant (PATCH /roles/{uuid}/)

func (Unimplemented) PutCrossAccountRequest

func (_ Unimplemented) PutCrossAccountRequest(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Update a cross account request (PUT /cross-account-requests/{uuid}/)

func (Unimplemented) UpdateGroup

func (_ Unimplemented) UpdateGroup(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Update a group in the tenant (PUT /groups/{uuid}/)

func (Unimplemented) UpdatePolicy

func (_ Unimplemented) UpdatePolicy(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Update a policy in the tenant (PUT /policies/{uuid}/)

func (Unimplemented) UpdateRole

func (_ Unimplemented) UpdateRole(w http.ResponseWriter, r *http.Request, uuid openapi_types.UUID)

Update a role in the tenant (PUT /roles/{uuid}/)

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateGroup200JSONResponse

type UpdateGroup200JSONResponse GroupOut

func (UpdateGroup200JSONResponse) VisitUpdateGroupResponse

func (response UpdateGroup200JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup401Response

type UpdateGroup401Response struct {
}

func (UpdateGroup401Response) VisitUpdateGroupResponse

func (response UpdateGroup401Response) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup403JSONResponse

type UpdateGroup403JSONResponse Error403

func (UpdateGroup403JSONResponse) VisitUpdateGroupResponse

func (response UpdateGroup403JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup404AsteriskResponse

type UpdateGroup404AsteriskResponse struct {
	Body          io.Reader
	ContentType   string
	ContentLength int64
}

func (UpdateGroup404AsteriskResponse) VisitUpdateGroupResponse

func (response UpdateGroup404AsteriskResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup500AsteriskResponse

type UpdateGroup500AsteriskResponse struct {
	Body          io.Reader
	ContentType   string
	ContentLength int64
}

func (UpdateGroup500AsteriskResponse) VisitUpdateGroupResponse

func (response UpdateGroup500AsteriskResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroupJSONRequestBody

type UpdateGroupJSONRequestBody = Group

UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.

type UpdateGroupRequestObject

type UpdateGroupRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
	Body *UpdateGroupJSONRequestBody
}

type UpdateGroupResponseObject

type UpdateGroupResponseObject interface {
	VisitUpdateGroupResponse(w http.ResponseWriter) error
}

type UpdatePolicy200JSONResponse

type UpdatePolicy200JSONResponse PolicyExtended

func (UpdatePolicy200JSONResponse) VisitUpdatePolicyResponse

func (response UpdatePolicy200JSONResponse) VisitUpdatePolicyResponse(w http.ResponseWriter) error

type UpdatePolicy401Response

type UpdatePolicy401Response struct {
}

func (UpdatePolicy401Response) VisitUpdatePolicyResponse

func (response UpdatePolicy401Response) VisitUpdatePolicyResponse(w http.ResponseWriter) error

type UpdatePolicy404JSONResponse

type UpdatePolicy404JSONResponse Error

func (UpdatePolicy404JSONResponse) VisitUpdatePolicyResponse

func (response UpdatePolicy404JSONResponse) VisitUpdatePolicyResponse(w http.ResponseWriter) error

type UpdatePolicy500JSONResponse

type UpdatePolicy500JSONResponse Error

func (UpdatePolicy500JSONResponse) VisitUpdatePolicyResponse

func (response UpdatePolicy500JSONResponse) VisitUpdatePolicyResponse(w http.ResponseWriter) error

type UpdatePolicyJSONRequestBody

type UpdatePolicyJSONRequestBody = PolicyIn

UpdatePolicyJSONRequestBody defines body for UpdatePolicy for application/json ContentType.

type UpdatePolicyRequestObject

type UpdatePolicyRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
	Body *UpdatePolicyJSONRequestBody
}

type UpdatePolicyResponseObject

type UpdatePolicyResponseObject interface {
	VisitUpdatePolicyResponse(w http.ResponseWriter) error
}

type UpdateRole200Response

type UpdateRole200Response struct {
}

func (UpdateRole200Response) VisitUpdateRoleResponse

func (response UpdateRole200Response) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole401Response

type UpdateRole401Response struct {
}

func (UpdateRole401Response) VisitUpdateRoleResponse

func (response UpdateRole401Response) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole403JSONResponse

type UpdateRole403JSONResponse Error403

func (UpdateRole403JSONResponse) VisitUpdateRoleResponse

func (response UpdateRole403JSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole404JSONResponse

type UpdateRole404JSONResponse Error

func (UpdateRole404JSONResponse) VisitUpdateRoleResponse

func (response UpdateRole404JSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole500JSONResponse

type UpdateRole500JSONResponse Error

func (UpdateRole500JSONResponse) VisitUpdateRoleResponse

func (response UpdateRole500JSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRoleJSONRequestBody

type UpdateRoleJSONRequestBody = RoleWithAccess

UpdateRoleJSONRequestBody defines body for UpdateRole for application/json ContentType.

type UpdateRoleRequestObject

type UpdateRoleRequestObject struct {
	Uuid openapi_types.UUID `json:"uuid"`
	Body *UpdateRoleJSONRequestBody
}

type UpdateRoleResponseObject

type UpdateRoleResponseObject interface {
	VisitUpdateRoleResponse(w http.ResponseWriter) error
}

Jump to

Keyboard shortcuts

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