realmrootapi

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.

Index

Constants

View Source
const (
	AgentAssertionScopes agentAssertionContextKey = "agentAssertion.Scopes"
	Oauth2Scopes         oauth2ContextKey         = "oauth2.Scopes"
	SessionCookieScopes  sessionCookieContextKey  = "sessionCookie.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateAgentAccessRequestCredentialRequest

func NewCreateAgentAccessRequestCredentialRequest(server string, requestId string, body CreateAgentAccessRequestCredentialJSONRequestBody) (*http.Request, error)

NewCreateAgentAccessRequestCredentialRequest calls the generic CreateAgentAccessRequestCredential builder with application/json body

func NewCreateAgentAccessRequestCredentialRequestWithBody

func NewCreateAgentAccessRequestCredentialRequestWithBody(server string, requestId string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAgentAccessRequestCredentialRequestWithBody generates requests for CreateAgentAccessRequestCredential with any type of body

func NewCreateAgentAuthorizationRequestRequest

func NewCreateAgentAuthorizationRequestRequest(server string, body CreateAgentAuthorizationRequestJSONRequestBody) (*http.Request, error)

NewCreateAgentAuthorizationRequestRequest calls the generic CreateAgentAuthorizationRequest builder with application/json body

func NewCreateAgentAuthorizationRequestRequestWithBody

func NewCreateAgentAuthorizationRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAgentAuthorizationRequestRequestWithBody generates requests for CreateAgentAuthorizationRequest with any type of body

func NewCreateAgentEnrollmentRequest

func NewCreateAgentEnrollmentRequest(server string, params *CreateAgentEnrollmentParams, body CreateAgentEnrollmentJSONRequestBody) (*http.Request, error)

NewCreateAgentEnrollmentRequest calls the generic CreateAgentEnrollment builder with application/json body

func NewCreateAgentEnrollmentRequestWithBody

func NewCreateAgentEnrollmentRequestWithBody(server string, params *CreateAgentEnrollmentParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateAgentEnrollmentRequestWithBody generates requests for CreateAgentEnrollment with any type of body

func NewGetAgentAuthorizationRequestRequest

func NewGetAgentAuthorizationRequestRequest(server string, requestId string) (*http.Request, error)

NewGetAgentAuthorizationRequestRequest generates requests for GetAgentAuthorizationRequest

func NewGetAgentEnrollmentRequest

func NewGetAgentEnrollmentRequest(server string, enrollmentId string) (*http.Request, error)

NewGetAgentEnrollmentRequest generates requests for GetAgentEnrollment

func NewGetAgentStatusRequest

func NewGetAgentStatusRequest(server string) (*http.Request, error)

NewGetAgentStatusRequest generates requests for GetAgentStatus

func NewGetResourceServerRequest

func NewGetResourceServerRequest(server string, resourceServerId string) (*http.Request, error)

NewGetResourceServerRequest generates requests for GetResourceServer

func NewListResourceServerAuthorizationDetailsRequest

func NewListResourceServerAuthorizationDetailsRequest(server string, resourceServerId string, params *ListResourceServerAuthorizationDetailsParams) (*http.Request, error)

NewListResourceServerAuthorizationDetailsRequest generates requests for ListResourceServerAuthorizationDetails

func NewListResourceServersRequest

func NewListResourceServersRequest(server string, params *ListResourceServersParams) (*http.Request, error)

NewListResourceServersRequest generates requests for ListResourceServers

Types

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateAgentAccessRequestCredential

func (c *Client) CreateAgentAccessRequestCredential(ctx context.Context, requestId string, body CreateAgentAccessRequestCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAgentAccessRequestCredentialWithBody

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

func (*Client) CreateAgentAuthorizationRequest

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

func (*Client) CreateAgentAuthorizationRequestWithBody

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

func (*Client) CreateAgentEnrollment

func (c *Client) CreateAgentEnrollment(ctx context.Context, params *CreateAgentEnrollmentParams, body CreateAgentEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAgentEnrollmentWithBody

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

func (*Client) GetAgentAuthorizationRequest

func (c *Client) GetAgentAuthorizationRequest(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAgentEnrollment

func (c *Client) GetAgentEnrollment(ctx context.Context, enrollmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAgentStatus

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

func (*Client) GetResourceServer

func (c *Client) GetResourceServer(ctx context.Context, resourceServerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListResourceServerAuthorizationDetails

func (c *Client) ListResourceServerAuthorizationDetails(ctx context.Context, resourceServerId string, params *ListResourceServerAuthorizationDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListResourceServers

func (c *Client) ListResourceServers(ctx context.Context, params *ListResourceServersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetAgentStatus request
	GetAgentStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAgentAuthorizationRequestWithBody request with any body
	CreateAgentAuthorizationRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAgentAuthorizationRequest(ctx context.Context, body CreateAgentAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgentAuthorizationRequest request
	GetAgentAuthorizationRequest(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAgentAccessRequestCredentialWithBody request with any body
	CreateAgentAccessRequestCredentialWithBody(ctx context.Context, requestId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAgentAccessRequestCredential(ctx context.Context, requestId string, body CreateAgentAccessRequestCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAgentEnrollmentWithBody request with any body
	CreateAgentEnrollmentWithBody(ctx context.Context, params *CreateAgentEnrollmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAgentEnrollment(ctx context.Context, params *CreateAgentEnrollmentParams, body CreateAgentEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgentEnrollment request
	GetAgentEnrollment(ctx context.Context, enrollmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListResourceServers request
	ListResourceServers(ctx context.Context, params *ListResourceServersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetResourceServer request
	GetResourceServer(ctx context.Context, resourceServerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListResourceServerAuthorizationDetails request
	ListResourceServerAuthorizationDetails(ctx context.Context, resourceServerId string, params *ListResourceServerAuthorizationDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateAgentAccessRequestCredentialWithBodyWithResponse

func (c *ClientWithResponses) CreateAgentAccessRequestCredentialWithBodyWithResponse(ctx context.Context, requestId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentAccessRequestCredentialResponse, error)

CreateAgentAccessRequestCredentialWithBodyWithResponse request with arbitrary body returning *CreateAgentAccessRequestCredentialResponse

func (*ClientWithResponses) CreateAgentAccessRequestCredentialWithResponse

func (c *ClientWithResponses) CreateAgentAccessRequestCredentialWithResponse(ctx context.Context, requestId string, body CreateAgentAccessRequestCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentAccessRequestCredentialResponse, error)

func (*ClientWithResponses) CreateAgentAuthorizationRequestWithBodyWithResponse

func (c *ClientWithResponses) CreateAgentAuthorizationRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentAuthorizationRequestResponse, error)

CreateAgentAuthorizationRequestWithBodyWithResponse request with arbitrary body returning *CreateAgentAuthorizationRequestResponse

func (*ClientWithResponses) CreateAgentAuthorizationRequestWithResponse

func (c *ClientWithResponses) CreateAgentAuthorizationRequestWithResponse(ctx context.Context, body CreateAgentAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentAuthorizationRequestResponse, error)

func (*ClientWithResponses) CreateAgentEnrollmentWithBodyWithResponse

func (c *ClientWithResponses) CreateAgentEnrollmentWithBodyWithResponse(ctx context.Context, params *CreateAgentEnrollmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentEnrollmentResponse, error)

CreateAgentEnrollmentWithBodyWithResponse request with arbitrary body returning *CreateAgentEnrollmentResponse

func (*ClientWithResponses) CreateAgentEnrollmentWithResponse

func (*ClientWithResponses) GetAgentAuthorizationRequestWithResponse

func (c *ClientWithResponses) GetAgentAuthorizationRequestWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*GetAgentAuthorizationRequestResponse, error)

GetAgentAuthorizationRequestWithResponse request returning *GetAgentAuthorizationRequestResponse

func (*ClientWithResponses) GetAgentEnrollmentWithResponse

func (c *ClientWithResponses) GetAgentEnrollmentWithResponse(ctx context.Context, enrollmentId string, reqEditors ...RequestEditorFn) (*GetAgentEnrollmentResponse, error)

GetAgentEnrollmentWithResponse request returning *GetAgentEnrollmentResponse

func (*ClientWithResponses) GetAgentStatusWithResponse

func (c *ClientWithResponses) GetAgentStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentStatusResponse, error)

GetAgentStatusWithResponse request returning *GetAgentStatusResponse

func (*ClientWithResponses) GetResourceServerWithResponse

func (c *ClientWithResponses) GetResourceServerWithResponse(ctx context.Context, resourceServerId string, reqEditors ...RequestEditorFn) (*GetResourceServerResponse, error)

GetResourceServerWithResponse request returning *GetResourceServerResponse

func (*ClientWithResponses) ListResourceServerAuthorizationDetailsWithResponse

func (c *ClientWithResponses) ListResourceServerAuthorizationDetailsWithResponse(ctx context.Context, resourceServerId string, params *ListResourceServerAuthorizationDetailsParams, reqEditors ...RequestEditorFn) (*ListResourceServerAuthorizationDetailsResponse, error)

ListResourceServerAuthorizationDetailsWithResponse request returning *ListResourceServerAuthorizationDetailsResponse

func (*ClientWithResponses) ListResourceServersWithResponse

func (c *ClientWithResponses) ListResourceServersWithResponse(ctx context.Context, params *ListResourceServersParams, reqEditors ...RequestEditorFn) (*ListResourceServersResponse, error)

ListResourceServersWithResponse request returning *ListResourceServersResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetAgentStatusWithResponse request
	GetAgentStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentStatusResponse, error)

	// CreateAgentAuthorizationRequestWithBodyWithResponse request with any body
	CreateAgentAuthorizationRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentAuthorizationRequestResponse, error)

	CreateAgentAuthorizationRequestWithResponse(ctx context.Context, body CreateAgentAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentAuthorizationRequestResponse, error)

	// GetAgentAuthorizationRequestWithResponse request
	GetAgentAuthorizationRequestWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*GetAgentAuthorizationRequestResponse, error)

	// CreateAgentAccessRequestCredentialWithBodyWithResponse request with any body
	CreateAgentAccessRequestCredentialWithBodyWithResponse(ctx context.Context, requestId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentAccessRequestCredentialResponse, error)

	CreateAgentAccessRequestCredentialWithResponse(ctx context.Context, requestId string, body CreateAgentAccessRequestCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentAccessRequestCredentialResponse, error)

	// CreateAgentEnrollmentWithBodyWithResponse request with any body
	CreateAgentEnrollmentWithBodyWithResponse(ctx context.Context, params *CreateAgentEnrollmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentEnrollmentResponse, error)

	CreateAgentEnrollmentWithResponse(ctx context.Context, params *CreateAgentEnrollmentParams, body CreateAgentEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentEnrollmentResponse, error)

	// GetAgentEnrollmentWithResponse request
	GetAgentEnrollmentWithResponse(ctx context.Context, enrollmentId string, reqEditors ...RequestEditorFn) (*GetAgentEnrollmentResponse, error)

	// ListResourceServersWithResponse request
	ListResourceServersWithResponse(ctx context.Context, params *ListResourceServersParams, reqEditors ...RequestEditorFn) (*ListResourceServersResponse, error)

	// GetResourceServerWithResponse request
	GetResourceServerWithResponse(ctx context.Context, resourceServerId string, reqEditors ...RequestEditorFn) (*GetResourceServerResponse, error)

	// ListResourceServerAuthorizationDetailsWithResponse request
	ListResourceServerAuthorizationDetailsWithResponse(ctx context.Context, resourceServerId string, params *ListResourceServerAuthorizationDetailsParams, reqEditors ...RequestEditorFn) (*ListResourceServerAuthorizationDetailsResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateAgentAccessRequestCredential201JSONResponseBodyTokenType

type CreateAgentAccessRequestCredential201JSONResponseBodyTokenType string

CreateAgentAccessRequestCredential201JSONResponseBodyTokenType defines parameters for CreateAgentAccessRequestCredential.

Defines values for CreateAgentAccessRequestCredential201JSONResponseBodyTokenType.

func (CreateAgentAccessRequestCredential201JSONResponseBodyTokenType) Valid

Valid indicates whether the value is a known member of the CreateAgentAccessRequestCredential201JSONResponseBodyTokenType enum.

type CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item

type CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item defines parameters for CreateAgentAccessRequestCredential.

func (CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item) Get

Getter for additional properties for CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item. Returns the specified element and whether it was found

func (CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item) MarshalJSON

Override default JSON handling for CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item to handle AdditionalProperties

func (*CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item) Set

Setter for additional properties for CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item

func (*CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item) UnmarshalJSON

Override default JSON handling for CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item to handle AdditionalProperties

type CreateAgentAccessRequestCredential400JSONResponseBody

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

CreateAgentAccessRequestCredential400JSONResponseBody defines parameters for CreateAgentAccessRequestCredential.

func (CreateAgentAccessRequestCredential400JSONResponseBody) AsCreateAgentAccessRequestCredential400JSONResponseBody0

func (t CreateAgentAccessRequestCredential400JSONResponseBody) AsCreateAgentAccessRequestCredential400JSONResponseBody0() (CreateAgentAccessRequestCredential400JSONResponseBody0, error)

AsCreateAgentAccessRequestCredential400JSONResponseBody0 returns the union data inside the CreateAgentAccessRequestCredential400JSONResponseBody as a CreateAgentAccessRequestCredential400JSONResponseBody0

func (CreateAgentAccessRequestCredential400JSONResponseBody) AsCreateAgentAccessRequestCredential400JSONResponseBody1

func (t CreateAgentAccessRequestCredential400JSONResponseBody) AsCreateAgentAccessRequestCredential400JSONResponseBody1() (CreateAgentAccessRequestCredential400JSONResponseBody1, error)

AsCreateAgentAccessRequestCredential400JSONResponseBody1 returns the union data inside the CreateAgentAccessRequestCredential400JSONResponseBody as a CreateAgentAccessRequestCredential400JSONResponseBody1

func (*CreateAgentAccessRequestCredential400JSONResponseBody) FromCreateAgentAccessRequestCredential400JSONResponseBody0

func (t *CreateAgentAccessRequestCredential400JSONResponseBody) FromCreateAgentAccessRequestCredential400JSONResponseBody0(v CreateAgentAccessRequestCredential400JSONResponseBody0) error

FromCreateAgentAccessRequestCredential400JSONResponseBody0 overwrites any union data inside the CreateAgentAccessRequestCredential400JSONResponseBody as the provided CreateAgentAccessRequestCredential400JSONResponseBody0

func (*CreateAgentAccessRequestCredential400JSONResponseBody) FromCreateAgentAccessRequestCredential400JSONResponseBody1

func (t *CreateAgentAccessRequestCredential400JSONResponseBody) FromCreateAgentAccessRequestCredential400JSONResponseBody1(v CreateAgentAccessRequestCredential400JSONResponseBody1) error

FromCreateAgentAccessRequestCredential400JSONResponseBody1 overwrites any union data inside the CreateAgentAccessRequestCredential400JSONResponseBody as the provided CreateAgentAccessRequestCredential400JSONResponseBody1

func (CreateAgentAccessRequestCredential400JSONResponseBody) MarshalJSON

func (*CreateAgentAccessRequestCredential400JSONResponseBody) MergeCreateAgentAccessRequestCredential400JSONResponseBody0

func (t *CreateAgentAccessRequestCredential400JSONResponseBody) MergeCreateAgentAccessRequestCredential400JSONResponseBody0(v CreateAgentAccessRequestCredential400JSONResponseBody0) error

MergeCreateAgentAccessRequestCredential400JSONResponseBody0 performs a merge with any union data inside the CreateAgentAccessRequestCredential400JSONResponseBody, using the provided CreateAgentAccessRequestCredential400JSONResponseBody0

func (*CreateAgentAccessRequestCredential400JSONResponseBody) MergeCreateAgentAccessRequestCredential400JSONResponseBody1

func (t *CreateAgentAccessRequestCredential400JSONResponseBody) MergeCreateAgentAccessRequestCredential400JSONResponseBody1(v CreateAgentAccessRequestCredential400JSONResponseBody1) error

MergeCreateAgentAccessRequestCredential400JSONResponseBody1 performs a merge with any union data inside the CreateAgentAccessRequestCredential400JSONResponseBody, using the provided CreateAgentAccessRequestCredential400JSONResponseBody1

func (*CreateAgentAccessRequestCredential400JSONResponseBody) UnmarshalJSON

type CreateAgentAccessRequestCredential400JSONResponseBody0

type CreateAgentAccessRequestCredential400JSONResponseBody0 struct {
	Error struct {
		Code      CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode `json:"code"`
		Details   *map[string]interface{}                                         `json:"details,omitempty"`
		Message   string                                                          `json:"message"`
		RequestId *string                                                         `json:"requestId,omitempty"`
	} `json:"error"`
}

CreateAgentAccessRequestCredential400JSONResponseBody0 defines parameters for CreateAgentAccessRequestCredential.

type CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode

type CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode string

CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode defines parameters for CreateAgentAccessRequestCredential.

const (
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodeBadGateway           CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "bad_gateway"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodeBadRequest           CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "bad_request"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodeConflict             CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "conflict"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodeForbidden            CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "forbidden"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodeInternalError        CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "internal_error"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodeNotFound             CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "not_found"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodePreconditionFailed   CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "precondition_failed"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodePreconditionRequired CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "precondition_required"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodeResourceInUse        CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "resource_in_use"
	CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCodeUnauthorized         CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode = "unauthorized"
)

Defines values for CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode.

func (CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode) Valid

Valid indicates whether the value is a known member of the CreateAgentAccessRequestCredential400JSONResponseBody0ErrorCode enum.

type CreateAgentAccessRequestCredential400JSONResponseBody1

type CreateAgentAccessRequestCredential400JSONResponseBody1 struct {
	Error            CreateAgentAccessRequestCredential400JSONResponseBody1Error `json:"error"`
	ErrorDescription string                                                      `json:"error_description"`
}

CreateAgentAccessRequestCredential400JSONResponseBody1 defines parameters for CreateAgentAccessRequestCredential.

type CreateAgentAccessRequestCredential400JSONResponseBody1Error

type CreateAgentAccessRequestCredential400JSONResponseBody1Error string

CreateAgentAccessRequestCredential400JSONResponseBody1Error defines parameters for CreateAgentAccessRequestCredential.

const (
	UseDpopNonce CreateAgentAccessRequestCredential400JSONResponseBody1Error = "use_dpop_nonce"
)

Defines values for CreateAgentAccessRequestCredential400JSONResponseBody1Error.

func (CreateAgentAccessRequestCredential400JSONResponseBody1Error) Valid

Valid indicates whether the value is a known member of the CreateAgentAccessRequestCredential400JSONResponseBody1Error enum.

type CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode

type CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode string

CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode defines parameters for CreateAgentAccessRequestCredential.

const (
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodeBadGateway           CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "bad_gateway"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodeBadRequest           CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "bad_request"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodeConflict             CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "conflict"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodeForbidden            CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "forbidden"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodeInternalError        CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "internal_error"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodeNotFound             CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "not_found"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodePreconditionFailed   CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "precondition_failed"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodePreconditionRequired CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "precondition_required"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodeResourceInUse        CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "resource_in_use"
	CreateAgentAccessRequestCredential401JSONResponseBodyErrorCodeUnauthorized         CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode.

func (CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode enum.

type CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode

type CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode string

CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode defines parameters for CreateAgentAccessRequestCredential.

const (
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodeBadGateway           CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "bad_gateway"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodeBadRequest           CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "bad_request"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodeConflict             CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "conflict"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodeForbidden            CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "forbidden"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodeInternalError        CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "internal_error"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodeNotFound             CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "not_found"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodePreconditionFailed   CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "precondition_failed"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodePreconditionRequired CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "precondition_required"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodeResourceInUse        CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "resource_in_use"
	CreateAgentAccessRequestCredential403JSONResponseBodyErrorCodeUnauthorized         CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode.

func (CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode enum.

type CreateAgentAccessRequestCredentialJSONBody

type CreateAgentAccessRequestCredentialJSONBody struct {
	Proof struct {
		Type  CreateAgentAccessRequestCredentialJSONBodyProofType `json:"type"`
		Value string                                              `json:"value"`
	} `json:"proof"`
}

CreateAgentAccessRequestCredentialJSONBody defines parameters for CreateAgentAccessRequestCredential.

type CreateAgentAccessRequestCredentialJSONBodyProofType

type CreateAgentAccessRequestCredentialJSONBodyProofType string

CreateAgentAccessRequestCredentialJSONBodyProofType defines parameters for CreateAgentAccessRequestCredential.

Defines values for CreateAgentAccessRequestCredentialJSONBodyProofType.

func (CreateAgentAccessRequestCredentialJSONBodyProofType) Valid

Valid indicates whether the value is a known member of the CreateAgentAccessRequestCredentialJSONBodyProofType enum.

type CreateAgentAccessRequestCredentialJSONRequestBody

type CreateAgentAccessRequestCredentialJSONRequestBody CreateAgentAccessRequestCredentialJSONBody

CreateAgentAccessRequestCredentialJSONRequestBody defines body for CreateAgentAccessRequestCredential for application/json ContentType.

type CreateAgentAccessRequestCredentialResponse

type CreateAgentAccessRequestCredentialResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		AccessToken          string                                                                            `json:"accessToken"`
		AuthorizationDetails []CreateAgentAccessRequestCredential201JSONResponseBody_AuthorizationDetails_Item `json:"authorizationDetails"`
		ExpiresAt            time.Time                                                                         `json:"expiresAt"`
		ExpiresIn            int                                                                               `json:"expiresIn"`
		ResourceIndicator    string                                                                            `json:"resourceIndicator"`
		Scopes               []string                                                                          `json:"scopes"`
		TokenType            CreateAgentAccessRequestCredential201JSONResponseBodyTokenType                    `json:"tokenType"`
	}
	JSON400 *CreateAgentAccessRequestCredential400JSONResponseBody
	JSON401 *struct {
		Error struct {
			Code      CreateAgentAccessRequestCredential401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                        `json:"details,omitempty"`
			Message   string                                                         `json:"message"`
			RequestId *string                                                        `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      CreateAgentAccessRequestCredential403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                        `json:"details,omitempty"`
			Message   string                                                         `json:"message"`
			RequestId *string                                                        `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseCreateAgentAccessRequestCredentialResponse

func ParseCreateAgentAccessRequestCredentialResponse(rsp *http.Response) (*CreateAgentAccessRequestCredentialResponse, error)

ParseCreateAgentAccessRequestCredentialResponse parses an HTTP response from a CreateAgentAccessRequestCredentialWithResponse call

func (CreateAgentAccessRequestCredentialResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAgentAccessRequestCredentialResponse) Status

Status returns HTTPResponse.Status

func (CreateAgentAccessRequestCredentialResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithm

type CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithm string

CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithm defines parameters for CreateAgentAuthorizationRequest.

const (
	CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithmES256 CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithm = "ES256"
)

Defines values for CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithm.

func (CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithm) Valid

Valid indicates whether the value is a known member of the CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithm enum.

type CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethod

type CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethod string

CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethod defines parameters for CreateAgentAuthorizationRequest.

const (
	CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethodPOST CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethod = "POST"
)

Defines values for CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethod.

func (CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethod) Valid

Valid indicates whether the value is a known member of the CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethod enum.

type CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferType

type CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferType string

CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferType defines parameters for CreateAgentAuthorizationRequest.

const (
	CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferTypeDpop CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferType = "dpop"
)

Defines values for CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferType.

func (CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferType) Valid

Valid indicates whether the value is a known member of the CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferType enum.

type CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus

type CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus string

CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus defines parameters for CreateAgentAuthorizationRequest.

const (
	CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatusCompleted CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus = "completed"
	CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatusDenied    CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus = "denied"
	CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatusExpired   CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus = "expired"
	CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatusFailed    CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus = "failed"
	CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatusPending   CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus = "pending"
)

Defines values for CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus.

func (CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus) Valid

Valid indicates whether the value is a known member of the CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus enum.

type CreateAgentAuthorizationRequest201JSONResponseBodyInteractionType

type CreateAgentAuthorizationRequest201JSONResponseBodyInteractionType string

CreateAgentAuthorizationRequest201JSONResponseBodyInteractionType defines parameters for CreateAgentAuthorizationRequest.

const (
	CreateAgentAuthorizationRequest201JSONResponseBodyInteractionTypeUserApproval CreateAgentAuthorizationRequest201JSONResponseBodyInteractionType = "user-approval"
)

Defines values for CreateAgentAuthorizationRequest201JSONResponseBodyInteractionType.

func (CreateAgentAuthorizationRequest201JSONResponseBodyInteractionType) Valid

Valid indicates whether the value is a known member of the CreateAgentAuthorizationRequest201JSONResponseBodyInteractionType enum.

type CreateAgentAuthorizationRequest201JSONResponseBodyStatus

type CreateAgentAuthorizationRequest201JSONResponseBodyStatus string

CreateAgentAuthorizationRequest201JSONResponseBodyStatus defines parameters for CreateAgentAuthorizationRequest.

const (
	CreateAgentAuthorizationRequest201JSONResponseBodyStatusApproved CreateAgentAuthorizationRequest201JSONResponseBodyStatus = "approved"
	CreateAgentAuthorizationRequest201JSONResponseBodyStatusConsumed CreateAgentAuthorizationRequest201JSONResponseBodyStatus = "consumed"
	CreateAgentAuthorizationRequest201JSONResponseBodyStatusDenied   CreateAgentAuthorizationRequest201JSONResponseBodyStatus = "denied"
	CreateAgentAuthorizationRequest201JSONResponseBodyStatusExpired  CreateAgentAuthorizationRequest201JSONResponseBodyStatus = "expired"
	CreateAgentAuthorizationRequest201JSONResponseBodyStatusPending  CreateAgentAuthorizationRequest201JSONResponseBodyStatus = "pending"
)

Defines values for CreateAgentAuthorizationRequest201JSONResponseBodyStatus.

func (CreateAgentAuthorizationRequest201JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the CreateAgentAuthorizationRequest201JSONResponseBodyStatus enum.

type CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item

type CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item defines parameters for CreateAgentAuthorizationRequest.

func (CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item) Get

Getter for additional properties for CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item. Returns the specified element and whether it was found

func (CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item) MarshalJSON

Override default JSON handling for CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item to handle AdditionalProperties

func (*CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item) Set

Setter for additional properties for CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item

func (*CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item) UnmarshalJSON

Override default JSON handling for CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item to handle AdditionalProperties

type CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item

type CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item defines parameters for CreateAgentAuthorizationRequest.

func (CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item) Get

Getter for additional properties for CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item. Returns the specified element and whether it was found

func (CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item) MarshalJSON

Override default JSON handling for CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item to handle AdditionalProperties

func (*CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item) Set

Setter for additional properties for CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item

func (*CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item) UnmarshalJSON

Override default JSON handling for CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item to handle AdditionalProperties

type CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode

type CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode string

CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode defines parameters for CreateAgentAuthorizationRequest.

const (
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodeBadGateway           CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "bad_gateway"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodeBadRequest           CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "bad_request"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodeConflict             CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "conflict"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodeForbidden            CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "forbidden"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodeInternalError        CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "internal_error"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodeNotFound             CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "not_found"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodePreconditionFailed   CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "precondition_failed"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodePreconditionRequired CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "precondition_required"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodeResourceInUse        CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "resource_in_use"
	CreateAgentAuthorizationRequest401JSONResponseBodyErrorCodeUnauthorized         CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode.

func (CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode enum.

type CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode

type CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode string

CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode defines parameters for CreateAgentAuthorizationRequest.

const (
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodeBadGateway           CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "bad_gateway"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodeBadRequest           CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "bad_request"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodeConflict             CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "conflict"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodeForbidden            CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "forbidden"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodeInternalError        CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "internal_error"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodeNotFound             CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "not_found"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodePreconditionFailed   CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "precondition_failed"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodePreconditionRequired CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "precondition_required"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodeResourceInUse        CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "resource_in_use"
	CreateAgentAuthorizationRequest403JSONResponseBodyErrorCodeUnauthorized         CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode.

func (CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode enum.

type CreateAgentAuthorizationRequestJSONBody

type CreateAgentAuthorizationRequestJSONBody struct {
	AuthorizationDetails *[]CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item `json:"authorizationDetails,omitempty"`
	Reason               *string                                                              `json:"reason,omitempty"`
	ResourceServerId     string                                                               `json:"resourceServerId"`
	Scopes               []string                                                             `json:"scopes"`
}

CreateAgentAuthorizationRequestJSONBody defines parameters for CreateAgentAuthorizationRequest.

type CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item

type CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item defines parameters for CreateAgentAuthorizationRequest.

func (CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item) Get

Getter for additional properties for CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item. Returns the specified element and whether it was found

func (CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item) MarshalJSON

Override default JSON handling for CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item to handle AdditionalProperties

func (*CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item) Set

Setter for additional properties for CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item

func (*CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item) UnmarshalJSON

Override default JSON handling for CreateAgentAuthorizationRequestJSONBody_AuthorizationDetails_Item to handle AdditionalProperties

type CreateAgentAuthorizationRequestJSONRequestBody

type CreateAgentAuthorizationRequestJSONRequestBody CreateAgentAuthorizationRequestJSONBody

CreateAgentAuthorizationRequestJSONRequestBody defines body for CreateAgentAuthorizationRequest for application/json ContentType.

type CreateAgentAuthorizationRequestResponse

type CreateAgentAuthorizationRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		AgentId              string                                                                         `json:"agentId"`
		AuthorizationDetails []CreateAgentAuthorizationRequest201JSONResponseBody_AuthorizationDetails_Item `json:"authorizationDetails"`
		CreatedAt            time.Time                                                                      `json:"createdAt"`
		CredentialOffer      struct {
			AuthorizationDetails []CreateAgentAuthorizationRequest201JSONResponseBody_CredentialOffer_AuthorizationDetails_Item `json:"authorizationDetails"`
			Endpoint             string                                                                                         `json:"endpoint"`
			Proof                struct {
				Algorithm CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofAlgorithm `json:"algorithm"`
				Method    CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferProofMethod    `json:"method"`
				Uri       string                                                                          `json:"uri"`
			} `json:"proof"`
			ResourceIndicator string                                                                `json:"resourceIndicator"`
			Scopes            []string                                                              `json:"scopes"`
			Type              CreateAgentAuthorizationRequest201JSONResponseBodyCredentialOfferType `json:"type"`
		} `json:"credentialOffer"`
		DecidedAt   time.Time `json:"decidedAt"`
		ExpiresAt   time.Time `json:"expiresAt"`
		Id          string    `json:"id"`
		Interaction struct {
			ExpiresAt time.Time                                                           `json:"expiresAt"`
			Status    CreateAgentAuthorizationRequest201JSONResponseBodyInteractionStatus `json:"status"`
			Type      CreateAgentAuthorizationRequest201JSONResponseBodyInteractionType   `json:"type"`
			Url       string                                                              `json:"url"`
		} `json:"interaction"`
		Links struct {
			Credentials string `json:"credentials"`
			Self        string `json:"self"`
		} `json:"links"`
		Reason           string                                                   `json:"reason"`
		ResourceServerId string                                                   `json:"resourceServerId"`
		Scopes           []string                                                 `json:"scopes"`
		Status           CreateAgentAuthorizationRequest201JSONResponseBodyStatus `json:"status"`
		UpdatedAt        time.Time                                                `json:"updatedAt"`
	}
	JSON401 *struct {
		Error struct {
			Code      CreateAgentAuthorizationRequest401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                     `json:"details,omitempty"`
			Message   string                                                      `json:"message"`
			RequestId *string                                                     `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      CreateAgentAuthorizationRequest403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                     `json:"details,omitempty"`
			Message   string                                                      `json:"message"`
			RequestId *string                                                     `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseCreateAgentAuthorizationRequestResponse

func ParseCreateAgentAuthorizationRequestResponse(rsp *http.Response) (*CreateAgentAuthorizationRequestResponse, error)

ParseCreateAgentAuthorizationRequestResponse parses an HTTP response from a CreateAgentAuthorizationRequestWithResponse call

func (CreateAgentAuthorizationRequestResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAgentAuthorizationRequestResponse) Status

Status returns HTTPResponse.Status

func (CreateAgentAuthorizationRequestResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateAgentEnrollment201JSONResponseBody

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

CreateAgentEnrollment201JSONResponseBody defines parameters for CreateAgentEnrollment.

func (CreateAgentEnrollment201JSONResponseBody) AsCreateAgentEnrollment201JSONResponseBody0

func (t CreateAgentEnrollment201JSONResponseBody) AsCreateAgentEnrollment201JSONResponseBody0() (CreateAgentEnrollment201JSONResponseBody0, error)

AsCreateAgentEnrollment201JSONResponseBody0 returns the union data inside the CreateAgentEnrollment201JSONResponseBody as a CreateAgentEnrollment201JSONResponseBody0

func (CreateAgentEnrollment201JSONResponseBody) AsCreateAgentEnrollment201JSONResponseBody1

func (t CreateAgentEnrollment201JSONResponseBody) AsCreateAgentEnrollment201JSONResponseBody1() (CreateAgentEnrollment201JSONResponseBody1, error)

AsCreateAgentEnrollment201JSONResponseBody1 returns the union data inside the CreateAgentEnrollment201JSONResponseBody as a CreateAgentEnrollment201JSONResponseBody1

func (*CreateAgentEnrollment201JSONResponseBody) FromCreateAgentEnrollment201JSONResponseBody0

func (t *CreateAgentEnrollment201JSONResponseBody) FromCreateAgentEnrollment201JSONResponseBody0(v CreateAgentEnrollment201JSONResponseBody0) error

FromCreateAgentEnrollment201JSONResponseBody0 overwrites any union data inside the CreateAgentEnrollment201JSONResponseBody as the provided CreateAgentEnrollment201JSONResponseBody0

func (*CreateAgentEnrollment201JSONResponseBody) FromCreateAgentEnrollment201JSONResponseBody1

func (t *CreateAgentEnrollment201JSONResponseBody) FromCreateAgentEnrollment201JSONResponseBody1(v CreateAgentEnrollment201JSONResponseBody1) error

FromCreateAgentEnrollment201JSONResponseBody1 overwrites any union data inside the CreateAgentEnrollment201JSONResponseBody as the provided CreateAgentEnrollment201JSONResponseBody1

func (CreateAgentEnrollment201JSONResponseBody) MarshalJSON

func (*CreateAgentEnrollment201JSONResponseBody) MergeCreateAgentEnrollment201JSONResponseBody0

func (t *CreateAgentEnrollment201JSONResponseBody) MergeCreateAgentEnrollment201JSONResponseBody0(v CreateAgentEnrollment201JSONResponseBody0) error

MergeCreateAgentEnrollment201JSONResponseBody0 performs a merge with any union data inside the CreateAgentEnrollment201JSONResponseBody, using the provided CreateAgentEnrollment201JSONResponseBody0

func (*CreateAgentEnrollment201JSONResponseBody) MergeCreateAgentEnrollment201JSONResponseBody1

func (t *CreateAgentEnrollment201JSONResponseBody) MergeCreateAgentEnrollment201JSONResponseBody1(v CreateAgentEnrollment201JSONResponseBody1) error

MergeCreateAgentEnrollment201JSONResponseBody1 performs a merge with any union data inside the CreateAgentEnrollment201JSONResponseBody, using the provided CreateAgentEnrollment201JSONResponseBody1

func (*CreateAgentEnrollment201JSONResponseBody) UnmarshalJSON

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

type CreateAgentEnrollment201JSONResponseBody0

type CreateAgentEnrollment201JSONResponseBody0 struct {
	AgentId   string                                               `json:"agentId"`
	CreatedAt time.Time                                            `json:"createdAt"`
	DecidedAt time.Time                                            `json:"decidedAt"`
	ExpiresAt time.Time                                            `json:"expiresAt"`
	HomeSpace CreateAgentEnrollment201JSONResponseBody_0_HomeSpace `json:"homeSpace"`
	Id        string                                               `json:"id"`
	Kind      CreateAgentEnrollment201JSONResponseBody0Kind        `json:"kind"`
	Nickname  string                                               `json:"nickname"`
	Runtime   string                                               `json:"runtime"`
	Status    CreateAgentEnrollment201JSONResponseBody0Status      `json:"status"`
	UpdatedAt time.Time                                            `json:"updatedAt"`
	Username  string                                               `json:"username"`
}

CreateAgentEnrollment201JSONResponseBody0 defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollment201JSONResponseBody0HomeSpace0

type CreateAgentEnrollment201JSONResponseBody0HomeSpace0 struct {
	Type   CreateAgentEnrollment201JSONResponseBody0HomeSpace0Type `json:"type"`
	UserId string                                                  `json:"userId"`
}

CreateAgentEnrollment201JSONResponseBody0HomeSpace0 defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollment201JSONResponseBody0HomeSpace0Type

type CreateAgentEnrollment201JSONResponseBody0HomeSpace0Type string

CreateAgentEnrollment201JSONResponseBody0HomeSpace0Type defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment201JSONResponseBody0HomeSpace0TypePersonal CreateAgentEnrollment201JSONResponseBody0HomeSpace0Type = "personal"
)

Defines values for CreateAgentEnrollment201JSONResponseBody0HomeSpace0Type.

func (CreateAgentEnrollment201JSONResponseBody0HomeSpace0Type) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment201JSONResponseBody0HomeSpace0Type enum.

type CreateAgentEnrollment201JSONResponseBody0HomeSpace1

type CreateAgentEnrollment201JSONResponseBody0HomeSpace1 struct {
	OrganizationId string                                                  `json:"organizationId"`
	Type           CreateAgentEnrollment201JSONResponseBody0HomeSpace1Type `json:"type"`
}

CreateAgentEnrollment201JSONResponseBody0HomeSpace1 defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollment201JSONResponseBody0HomeSpace1Type

type CreateAgentEnrollment201JSONResponseBody0HomeSpace1Type string

CreateAgentEnrollment201JSONResponseBody0HomeSpace1Type defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment201JSONResponseBody0HomeSpace1TypeOrganization CreateAgentEnrollment201JSONResponseBody0HomeSpace1Type = "organization"
)

Defines values for CreateAgentEnrollment201JSONResponseBody0HomeSpace1Type.

func (CreateAgentEnrollment201JSONResponseBody0HomeSpace1Type) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment201JSONResponseBody0HomeSpace1Type enum.

type CreateAgentEnrollment201JSONResponseBody0Kind

type CreateAgentEnrollment201JSONResponseBody0Kind string

CreateAgentEnrollment201JSONResponseBody0Kind defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment201JSONResponseBody0KindAdditionalHost CreateAgentEnrollment201JSONResponseBody0Kind = "additional_host"
	CreateAgentEnrollment201JSONResponseBody0KindNewIdentity    CreateAgentEnrollment201JSONResponseBody0Kind = "new_identity"
)

Defines values for CreateAgentEnrollment201JSONResponseBody0Kind.

func (CreateAgentEnrollment201JSONResponseBody0Kind) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment201JSONResponseBody0Kind enum.

type CreateAgentEnrollment201JSONResponseBody0Status

type CreateAgentEnrollment201JSONResponseBody0Status string

CreateAgentEnrollment201JSONResponseBody0Status defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment201JSONResponseBody0StatusApproved  CreateAgentEnrollment201JSONResponseBody0Status = "approved"
	CreateAgentEnrollment201JSONResponseBody0StatusCancelled CreateAgentEnrollment201JSONResponseBody0Status = "cancelled"
	CreateAgentEnrollment201JSONResponseBody0StatusDenied    CreateAgentEnrollment201JSONResponseBody0Status = "denied"
	CreateAgentEnrollment201JSONResponseBody0StatusExpired   CreateAgentEnrollment201JSONResponseBody0Status = "expired"
	CreateAgentEnrollment201JSONResponseBody0StatusPending   CreateAgentEnrollment201JSONResponseBody0Status = "pending"
)

Defines values for CreateAgentEnrollment201JSONResponseBody0Status.

func (CreateAgentEnrollment201JSONResponseBody0Status) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment201JSONResponseBody0Status enum.

type CreateAgentEnrollment201JSONResponseBody1

type CreateAgentEnrollment201JSONResponseBody1 struct {
	Enrollment struct {
		AgentId   string                                                          `json:"agentId"`
		CreatedAt time.Time                                                       `json:"createdAt"`
		DecidedAt time.Time                                                       `json:"decidedAt"`
		ExpiresAt time.Time                                                       `json:"expiresAt"`
		HomeSpace CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace `json:"homeSpace"`
		Id        string                                                          `json:"id"`
		Kind      CreateAgentEnrollment201JSONResponseBody1EnrollmentKind         `json:"kind"`
		Nickname  string                                                          `json:"nickname"`
		Runtime   string                                                          `json:"runtime"`
		Status    CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus       `json:"status"`
		UpdatedAt time.Time                                                       `json:"updatedAt"`
		Username  string                                                          `json:"username"`
	} `json:"enrollment"`
	VerificationUri string `json:"verificationUri"`
}

CreateAgentEnrollment201JSONResponseBody1 defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0

type CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0 struct {
	Type   CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0Type `json:"type"`
	UserId string                                                            `json:"userId"`
}

CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0 defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0Type

type CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0Type string

CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0Type defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0TypePersonal CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0Type = "personal"
)

Defines values for CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0Type.

func (CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0Type) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0Type enum.

type CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1

type CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1 struct {
	OrganizationId string                                                            `json:"organizationId"`
	Type           CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1Type `json:"type"`
}

CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1 defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1Type

type CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1Type string

CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1Type defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1TypeOrganization CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1Type = "organization"
)

Defines values for CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1Type.

func (CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1Type) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1Type enum.

type CreateAgentEnrollment201JSONResponseBody1EnrollmentKind

type CreateAgentEnrollment201JSONResponseBody1EnrollmentKind string

CreateAgentEnrollment201JSONResponseBody1EnrollmentKind defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment201JSONResponseBody1EnrollmentKindAdditionalHost CreateAgentEnrollment201JSONResponseBody1EnrollmentKind = "additional_host"
)

Defines values for CreateAgentEnrollment201JSONResponseBody1EnrollmentKind.

func (CreateAgentEnrollment201JSONResponseBody1EnrollmentKind) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment201JSONResponseBody1EnrollmentKind enum.

type CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus

type CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus string

CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment201JSONResponseBody1EnrollmentStatusApproved  CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus = "approved"
	CreateAgentEnrollment201JSONResponseBody1EnrollmentStatusCancelled CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus = "cancelled"
	CreateAgentEnrollment201JSONResponseBody1EnrollmentStatusDenied    CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus = "denied"
	CreateAgentEnrollment201JSONResponseBody1EnrollmentStatusExpired   CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus = "expired"
	CreateAgentEnrollment201JSONResponseBody1EnrollmentStatusPending   CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus = "pending"
)

Defines values for CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus.

func (CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment201JSONResponseBody1EnrollmentStatus enum.

type CreateAgentEnrollment201JSONResponseBody_0_HomeSpace

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

CreateAgentEnrollment201JSONResponseBody_0_HomeSpace defines parameters for CreateAgentEnrollment.

func (CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) AsCreateAgentEnrollment201JSONResponseBody0HomeSpace0

func (t CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) AsCreateAgentEnrollment201JSONResponseBody0HomeSpace0() (CreateAgentEnrollment201JSONResponseBody0HomeSpace0, error)

AsCreateAgentEnrollment201JSONResponseBody0HomeSpace0 returns the union data inside the CreateAgentEnrollment201JSONResponseBody_0_HomeSpace as a CreateAgentEnrollment201JSONResponseBody0HomeSpace0

func (CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) AsCreateAgentEnrollment201JSONResponseBody0HomeSpace1

func (t CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) AsCreateAgentEnrollment201JSONResponseBody0HomeSpace1() (CreateAgentEnrollment201JSONResponseBody0HomeSpace1, error)

AsCreateAgentEnrollment201JSONResponseBody0HomeSpace1 returns the union data inside the CreateAgentEnrollment201JSONResponseBody_0_HomeSpace as a CreateAgentEnrollment201JSONResponseBody0HomeSpace1

func (*CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) FromCreateAgentEnrollment201JSONResponseBody0HomeSpace0

func (t *CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) FromCreateAgentEnrollment201JSONResponseBody0HomeSpace0(v CreateAgentEnrollment201JSONResponseBody0HomeSpace0) error

FromCreateAgentEnrollment201JSONResponseBody0HomeSpace0 overwrites any union data inside the CreateAgentEnrollment201JSONResponseBody_0_HomeSpace as the provided CreateAgentEnrollment201JSONResponseBody0HomeSpace0

func (*CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) FromCreateAgentEnrollment201JSONResponseBody0HomeSpace1

func (t *CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) FromCreateAgentEnrollment201JSONResponseBody0HomeSpace1(v CreateAgentEnrollment201JSONResponseBody0HomeSpace1) error

FromCreateAgentEnrollment201JSONResponseBody0HomeSpace1 overwrites any union data inside the CreateAgentEnrollment201JSONResponseBody_0_HomeSpace as the provided CreateAgentEnrollment201JSONResponseBody0HomeSpace1

func (CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) MarshalJSON

func (*CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) MergeCreateAgentEnrollment201JSONResponseBody0HomeSpace0

func (t *CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) MergeCreateAgentEnrollment201JSONResponseBody0HomeSpace0(v CreateAgentEnrollment201JSONResponseBody0HomeSpace0) error

MergeCreateAgentEnrollment201JSONResponseBody0HomeSpace0 performs a merge with any union data inside the CreateAgentEnrollment201JSONResponseBody_0_HomeSpace, using the provided CreateAgentEnrollment201JSONResponseBody0HomeSpace0

func (*CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) MergeCreateAgentEnrollment201JSONResponseBody0HomeSpace1

func (t *CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) MergeCreateAgentEnrollment201JSONResponseBody0HomeSpace1(v CreateAgentEnrollment201JSONResponseBody0HomeSpace1) error

MergeCreateAgentEnrollment201JSONResponseBody0HomeSpace1 performs a merge with any union data inside the CreateAgentEnrollment201JSONResponseBody_0_HomeSpace, using the provided CreateAgentEnrollment201JSONResponseBody0HomeSpace1

func (*CreateAgentEnrollment201JSONResponseBody_0_HomeSpace) UnmarshalJSON

type CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace

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

CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace defines parameters for CreateAgentEnrollment.

func (CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace) AsCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0

AsCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0 returns the union data inside the CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace as a CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0

func (CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace) AsCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1

AsCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1 returns the union data inside the CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace as a CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1

func (*CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace) FromCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0

FromCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0 overwrites any union data inside the CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace as the provided CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0

func (*CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace) FromCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1

FromCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1 overwrites any union data inside the CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace as the provided CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1

func (CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace) MarshalJSON

func (*CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace) MergeCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0

MergeCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0 performs a merge with any union data inside the CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace, using the provided CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace0

func (*CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace) MergeCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1

MergeCreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1 performs a merge with any union data inside the CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace, using the provided CreateAgentEnrollment201JSONResponseBody1EnrollmentHomeSpace1

func (*CreateAgentEnrollment201JSONResponseBody_1_Enrollment_HomeSpace) UnmarshalJSON

type CreateAgentEnrollment400JSONResponseBodyErrorCode

type CreateAgentEnrollment400JSONResponseBodyErrorCode string

CreateAgentEnrollment400JSONResponseBodyErrorCode defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment400JSONResponseBodyErrorCodeBadGateway           CreateAgentEnrollment400JSONResponseBodyErrorCode = "bad_gateway"
	CreateAgentEnrollment400JSONResponseBodyErrorCodeBadRequest           CreateAgentEnrollment400JSONResponseBodyErrorCode = "bad_request"
	CreateAgentEnrollment400JSONResponseBodyErrorCodeConflict             CreateAgentEnrollment400JSONResponseBodyErrorCode = "conflict"
	CreateAgentEnrollment400JSONResponseBodyErrorCodeForbidden            CreateAgentEnrollment400JSONResponseBodyErrorCode = "forbidden"
	CreateAgentEnrollment400JSONResponseBodyErrorCodeInternalError        CreateAgentEnrollment400JSONResponseBodyErrorCode = "internal_error"
	CreateAgentEnrollment400JSONResponseBodyErrorCodeNotFound             CreateAgentEnrollment400JSONResponseBodyErrorCode = "not_found"
	CreateAgentEnrollment400JSONResponseBodyErrorCodePreconditionFailed   CreateAgentEnrollment400JSONResponseBodyErrorCode = "precondition_failed"
	CreateAgentEnrollment400JSONResponseBodyErrorCodePreconditionRequired CreateAgentEnrollment400JSONResponseBodyErrorCode = "precondition_required"
	CreateAgentEnrollment400JSONResponseBodyErrorCodeResourceInUse        CreateAgentEnrollment400JSONResponseBodyErrorCode = "resource_in_use"
	CreateAgentEnrollment400JSONResponseBodyErrorCodeUnauthorized         CreateAgentEnrollment400JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for CreateAgentEnrollment400JSONResponseBodyErrorCode.

func (CreateAgentEnrollment400JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment400JSONResponseBodyErrorCode enum.

type CreateAgentEnrollment401JSONResponseBodyErrorCode

type CreateAgentEnrollment401JSONResponseBodyErrorCode string

CreateAgentEnrollment401JSONResponseBodyErrorCode defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment401JSONResponseBodyErrorCodeBadGateway           CreateAgentEnrollment401JSONResponseBodyErrorCode = "bad_gateway"
	CreateAgentEnrollment401JSONResponseBodyErrorCodeBadRequest           CreateAgentEnrollment401JSONResponseBodyErrorCode = "bad_request"
	CreateAgentEnrollment401JSONResponseBodyErrorCodeConflict             CreateAgentEnrollment401JSONResponseBodyErrorCode = "conflict"
	CreateAgentEnrollment401JSONResponseBodyErrorCodeForbidden            CreateAgentEnrollment401JSONResponseBodyErrorCode = "forbidden"
	CreateAgentEnrollment401JSONResponseBodyErrorCodeInternalError        CreateAgentEnrollment401JSONResponseBodyErrorCode = "internal_error"
	CreateAgentEnrollment401JSONResponseBodyErrorCodeNotFound             CreateAgentEnrollment401JSONResponseBodyErrorCode = "not_found"
	CreateAgentEnrollment401JSONResponseBodyErrorCodePreconditionFailed   CreateAgentEnrollment401JSONResponseBodyErrorCode = "precondition_failed"
	CreateAgentEnrollment401JSONResponseBodyErrorCodePreconditionRequired CreateAgentEnrollment401JSONResponseBodyErrorCode = "precondition_required"
	CreateAgentEnrollment401JSONResponseBodyErrorCodeResourceInUse        CreateAgentEnrollment401JSONResponseBodyErrorCode = "resource_in_use"
	CreateAgentEnrollment401JSONResponseBodyErrorCodeUnauthorized         CreateAgentEnrollment401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for CreateAgentEnrollment401JSONResponseBodyErrorCode.

func (CreateAgentEnrollment401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment401JSONResponseBodyErrorCode enum.

type CreateAgentEnrollment403JSONResponseBodyErrorCode

type CreateAgentEnrollment403JSONResponseBodyErrorCode string

CreateAgentEnrollment403JSONResponseBodyErrorCode defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollment403JSONResponseBodyErrorCodeBadGateway           CreateAgentEnrollment403JSONResponseBodyErrorCode = "bad_gateway"
	CreateAgentEnrollment403JSONResponseBodyErrorCodeBadRequest           CreateAgentEnrollment403JSONResponseBodyErrorCode = "bad_request"
	CreateAgentEnrollment403JSONResponseBodyErrorCodeConflict             CreateAgentEnrollment403JSONResponseBodyErrorCode = "conflict"
	CreateAgentEnrollment403JSONResponseBodyErrorCodeForbidden            CreateAgentEnrollment403JSONResponseBodyErrorCode = "forbidden"
	CreateAgentEnrollment403JSONResponseBodyErrorCodeInternalError        CreateAgentEnrollment403JSONResponseBodyErrorCode = "internal_error"
	CreateAgentEnrollment403JSONResponseBodyErrorCodeNotFound             CreateAgentEnrollment403JSONResponseBodyErrorCode = "not_found"
	CreateAgentEnrollment403JSONResponseBodyErrorCodePreconditionFailed   CreateAgentEnrollment403JSONResponseBodyErrorCode = "precondition_failed"
	CreateAgentEnrollment403JSONResponseBodyErrorCodePreconditionRequired CreateAgentEnrollment403JSONResponseBodyErrorCode = "precondition_required"
	CreateAgentEnrollment403JSONResponseBodyErrorCodeResourceInUse        CreateAgentEnrollment403JSONResponseBodyErrorCode = "resource_in_use"
	CreateAgentEnrollment403JSONResponseBodyErrorCodeUnauthorized         CreateAgentEnrollment403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for CreateAgentEnrollment403JSONResponseBodyErrorCode.

func (CreateAgentEnrollment403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollment403JSONResponseBodyErrorCode enum.

type CreateAgentEnrollmentJSONBody

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

CreateAgentEnrollmentJSONBody defines parameters for CreateAgentEnrollment.

func (CreateAgentEnrollmentJSONBody) AsCreateAgentEnrollmentJSONBody0

func (t CreateAgentEnrollmentJSONBody) AsCreateAgentEnrollmentJSONBody0() (CreateAgentEnrollmentJSONBody0, error)

AsCreateAgentEnrollmentJSONBody0 returns the union data inside the CreateAgentEnrollmentJSONBody as a CreateAgentEnrollmentJSONBody0

func (CreateAgentEnrollmentJSONBody) AsCreateAgentEnrollmentJSONBody1

func (t CreateAgentEnrollmentJSONBody) AsCreateAgentEnrollmentJSONBody1() (CreateAgentEnrollmentJSONBody1, error)

AsCreateAgentEnrollmentJSONBody1 returns the union data inside the CreateAgentEnrollmentJSONBody as a CreateAgentEnrollmentJSONBody1

func (*CreateAgentEnrollmentJSONBody) FromCreateAgentEnrollmentJSONBody0

func (t *CreateAgentEnrollmentJSONBody) FromCreateAgentEnrollmentJSONBody0(v CreateAgentEnrollmentJSONBody0) error

FromCreateAgentEnrollmentJSONBody0 overwrites any union data inside the CreateAgentEnrollmentJSONBody as the provided CreateAgentEnrollmentJSONBody0

func (*CreateAgentEnrollmentJSONBody) FromCreateAgentEnrollmentJSONBody1

func (t *CreateAgentEnrollmentJSONBody) FromCreateAgentEnrollmentJSONBody1(v CreateAgentEnrollmentJSONBody1) error

FromCreateAgentEnrollmentJSONBody1 overwrites any union data inside the CreateAgentEnrollmentJSONBody as the provided CreateAgentEnrollmentJSONBody1

func (CreateAgentEnrollmentJSONBody) MarshalJSON

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

func (*CreateAgentEnrollmentJSONBody) MergeCreateAgentEnrollmentJSONBody0

func (t *CreateAgentEnrollmentJSONBody) MergeCreateAgentEnrollmentJSONBody0(v CreateAgentEnrollmentJSONBody0) error

MergeCreateAgentEnrollmentJSONBody0 performs a merge with any union data inside the CreateAgentEnrollmentJSONBody, using the provided CreateAgentEnrollmentJSONBody0

func (*CreateAgentEnrollmentJSONBody) MergeCreateAgentEnrollmentJSONBody1

func (t *CreateAgentEnrollmentJSONBody) MergeCreateAgentEnrollmentJSONBody1(v CreateAgentEnrollmentJSONBody1) error

MergeCreateAgentEnrollmentJSONBody1 performs a merge with any union data inside the CreateAgentEnrollmentJSONBody, using the provided CreateAgentEnrollmentJSONBody1

func (*CreateAgentEnrollmentJSONBody) UnmarshalJSON

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

type CreateAgentEnrollmentJSONBody0

type CreateAgentEnrollmentJSONBody0 struct {
	Kind           CreateAgentEnrollmentJSONBody0Kind `json:"kind"`
	Nickname       *string                            `json:"nickname,omitempty"`
	OrganizationId *string                            `json:"organizationId,omitempty"`
	Runtime        string                             `json:"runtime"`
	Username       string                             `json:"username"`
}

CreateAgentEnrollmentJSONBody0 defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollmentJSONBody0Kind

type CreateAgentEnrollmentJSONBody0Kind string

CreateAgentEnrollmentJSONBody0Kind defines parameters for CreateAgentEnrollment.

const (
	CreateAgentEnrollmentJSONBody0KindNewIdentity CreateAgentEnrollmentJSONBody0Kind = "new_identity"
)

Defines values for CreateAgentEnrollmentJSONBody0Kind.

func (CreateAgentEnrollmentJSONBody0Kind) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollmentJSONBody0Kind enum.

type CreateAgentEnrollmentJSONBody1

type CreateAgentEnrollmentJSONBody1 struct {
	AgentId string                             `json:"agentId"`
	Kind    CreateAgentEnrollmentJSONBody1Kind `json:"kind"`
}

CreateAgentEnrollmentJSONBody1 defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollmentJSONBody1Kind

type CreateAgentEnrollmentJSONBody1Kind string

CreateAgentEnrollmentJSONBody1Kind defines parameters for CreateAgentEnrollment.

const (
	AdditionalInstallation CreateAgentEnrollmentJSONBody1Kind = "additional_installation"
)

Defines values for CreateAgentEnrollmentJSONBody1Kind.

func (CreateAgentEnrollmentJSONBody1Kind) Valid

Valid indicates whether the value is a known member of the CreateAgentEnrollmentJSONBody1Kind enum.

type CreateAgentEnrollmentJSONRequestBody

type CreateAgentEnrollmentJSONRequestBody CreateAgentEnrollmentJSONBody

CreateAgentEnrollmentJSONRequestBody defines body for CreateAgentEnrollment for application/json ContentType.

type CreateAgentEnrollmentParams

type CreateAgentEnrollmentParams struct {
	// IdempotencyKey Stable retry key injected by the Agent authentication adapter; direct clients must supply it.
	IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}

CreateAgentEnrollmentParams defines parameters for CreateAgentEnrollment.

type CreateAgentEnrollmentResponse

type CreateAgentEnrollmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateAgentEnrollment201JSONResponseBody
	JSON400      *struct {
		Error struct {
			Code      CreateAgentEnrollment400JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                           `json:"details,omitempty"`
			Message   string                                            `json:"message"`
			RequestId *string                                           `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON401 *struct {
		Error struct {
			Code      CreateAgentEnrollment401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                           `json:"details,omitempty"`
			Message   string                                            `json:"message"`
			RequestId *string                                           `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      CreateAgentEnrollment403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                           `json:"details,omitempty"`
			Message   string                                            `json:"message"`
			RequestId *string                                           `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseCreateAgentEnrollmentResponse

func ParseCreateAgentEnrollmentResponse(rsp *http.Response) (*CreateAgentEnrollmentResponse, error)

ParseCreateAgentEnrollmentResponse parses an HTTP response from a CreateAgentEnrollmentWithResponse call

func (CreateAgentEnrollmentResponse) ContentType

func (r CreateAgentEnrollmentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAgentEnrollmentResponse) Status

Status returns HTTPResponse.Status

func (CreateAgentEnrollmentResponse) StatusCode

func (r CreateAgentEnrollmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithm

type GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithm string

GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithm defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithmES256 GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithm = "ES256"
)

Defines values for GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithm.

func (GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithm) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithm enum.

type GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethod

type GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethod string

GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethod defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethodPOST GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethod = "POST"
)

Defines values for GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethod.

func (GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethod) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethod enum.

type GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferType

type GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferType string

GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferType defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferTypeDpop GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferType = "dpop"
)

Defines values for GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferType.

func (GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferType) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferType enum.

type GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus

type GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus string

GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatusCompleted GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus = "completed"
	GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatusDenied    GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus = "denied"
	GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatusExpired   GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus = "expired"
	GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatusFailed    GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus = "failed"
	GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatusPending   GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus = "pending"
)

Defines values for GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus.

func (GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus enum.

type GetAgentAuthorizationRequest200JSONResponseBodyInteractionType

type GetAgentAuthorizationRequest200JSONResponseBodyInteractionType string

GetAgentAuthorizationRequest200JSONResponseBodyInteractionType defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest200JSONResponseBodyInteractionTypeUserApproval GetAgentAuthorizationRequest200JSONResponseBodyInteractionType = "user-approval"
)

Defines values for GetAgentAuthorizationRequest200JSONResponseBodyInteractionType.

func (GetAgentAuthorizationRequest200JSONResponseBodyInteractionType) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest200JSONResponseBodyInteractionType enum.

type GetAgentAuthorizationRequest200JSONResponseBodyStatus

type GetAgentAuthorizationRequest200JSONResponseBodyStatus string

GetAgentAuthorizationRequest200JSONResponseBodyStatus defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest200JSONResponseBodyStatusApproved GetAgentAuthorizationRequest200JSONResponseBodyStatus = "approved"
	GetAgentAuthorizationRequest200JSONResponseBodyStatusConsumed GetAgentAuthorizationRequest200JSONResponseBodyStatus = "consumed"
	GetAgentAuthorizationRequest200JSONResponseBodyStatusDenied   GetAgentAuthorizationRequest200JSONResponseBodyStatus = "denied"
	GetAgentAuthorizationRequest200JSONResponseBodyStatusExpired  GetAgentAuthorizationRequest200JSONResponseBodyStatus = "expired"
	GetAgentAuthorizationRequest200JSONResponseBodyStatusPending  GetAgentAuthorizationRequest200JSONResponseBodyStatus = "pending"
)

Defines values for GetAgentAuthorizationRequest200JSONResponseBodyStatus.

func (GetAgentAuthorizationRequest200JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest200JSONResponseBodyStatus enum.

type GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item

type GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item defines parameters for GetAgentAuthorizationRequest.

func (GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item) Get

Getter for additional properties for GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item. Returns the specified element and whether it was found

func (GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item) MarshalJSON

Override default JSON handling for GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item to handle AdditionalProperties

func (*GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item) Set

Setter for additional properties for GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item

func (*GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item) UnmarshalJSON

Override default JSON handling for GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item to handle AdditionalProperties

type GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item

type GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item defines parameters for GetAgentAuthorizationRequest.

func (GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item) Get

Getter for additional properties for GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item. Returns the specified element and whether it was found

func (GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item) MarshalJSON

Override default JSON handling for GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item to handle AdditionalProperties

func (*GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item) Set

Setter for additional properties for GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item

func (*GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item) UnmarshalJSON

Override default JSON handling for GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item to handle AdditionalProperties

type GetAgentAuthorizationRequest401JSONResponseBodyErrorCode

type GetAgentAuthorizationRequest401JSONResponseBodyErrorCode string

GetAgentAuthorizationRequest401JSONResponseBodyErrorCode defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodeBadGateway           GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "bad_gateway"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodeBadRequest           GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "bad_request"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodeConflict             GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "conflict"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodeForbidden            GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "forbidden"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodeInternalError        GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "internal_error"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodeNotFound             GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "not_found"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodePreconditionFailed   GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "precondition_failed"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodePreconditionRequired GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "precondition_required"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodeResourceInUse        GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "resource_in_use"
	GetAgentAuthorizationRequest401JSONResponseBodyErrorCodeUnauthorized         GetAgentAuthorizationRequest401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetAgentAuthorizationRequest401JSONResponseBodyErrorCode.

func (GetAgentAuthorizationRequest401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest401JSONResponseBodyErrorCode enum.

type GetAgentAuthorizationRequest403JSONResponseBodyErrorCode

type GetAgentAuthorizationRequest403JSONResponseBodyErrorCode string

GetAgentAuthorizationRequest403JSONResponseBodyErrorCode defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodeBadGateway           GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "bad_gateway"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodeBadRequest           GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "bad_request"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodeConflict             GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "conflict"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodeForbidden            GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "forbidden"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodeInternalError        GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "internal_error"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodeNotFound             GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "not_found"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodePreconditionFailed   GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "precondition_failed"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodePreconditionRequired GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "precondition_required"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodeResourceInUse        GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "resource_in_use"
	GetAgentAuthorizationRequest403JSONResponseBodyErrorCodeUnauthorized         GetAgentAuthorizationRequest403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetAgentAuthorizationRequest403JSONResponseBodyErrorCode.

func (GetAgentAuthorizationRequest403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest403JSONResponseBodyErrorCode enum.

type GetAgentAuthorizationRequest404JSONResponseBodyErrorCode

type GetAgentAuthorizationRequest404JSONResponseBodyErrorCode string

GetAgentAuthorizationRequest404JSONResponseBodyErrorCode defines parameters for GetAgentAuthorizationRequest.

const (
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodeBadGateway           GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "bad_gateway"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodeBadRequest           GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "bad_request"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodeConflict             GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "conflict"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodeForbidden            GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "forbidden"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodeInternalError        GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "internal_error"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodeNotFound             GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "not_found"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodePreconditionFailed   GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "precondition_failed"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodePreconditionRequired GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "precondition_required"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodeResourceInUse        GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "resource_in_use"
	GetAgentAuthorizationRequest404JSONResponseBodyErrorCodeUnauthorized         GetAgentAuthorizationRequest404JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetAgentAuthorizationRequest404JSONResponseBodyErrorCode.

func (GetAgentAuthorizationRequest404JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetAgentAuthorizationRequest404JSONResponseBodyErrorCode enum.

type GetAgentAuthorizationRequestResponse

type GetAgentAuthorizationRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AgentId              string                                                                      `json:"agentId"`
		AuthorizationDetails []GetAgentAuthorizationRequest200JSONResponseBody_AuthorizationDetails_Item `json:"authorizationDetails"`
		CreatedAt            time.Time                                                                   `json:"createdAt"`
		CredentialOffer      struct {
			AuthorizationDetails []GetAgentAuthorizationRequest200JSONResponseBody_CredentialOffer_AuthorizationDetails_Item `json:"authorizationDetails"`
			Endpoint             string                                                                                      `json:"endpoint"`
			Proof                struct {
				Algorithm GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofAlgorithm `json:"algorithm"`
				Method    GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferProofMethod    `json:"method"`
				Uri       string                                                                       `json:"uri"`
			} `json:"proof"`
			ResourceIndicator string                                                             `json:"resourceIndicator"`
			Scopes            []string                                                           `json:"scopes"`
			Type              GetAgentAuthorizationRequest200JSONResponseBodyCredentialOfferType `json:"type"`
		} `json:"credentialOffer"`
		DecidedAt   time.Time `json:"decidedAt"`
		ExpiresAt   time.Time `json:"expiresAt"`
		Id          string    `json:"id"`
		Interaction struct {
			ExpiresAt time.Time                                                        `json:"expiresAt"`
			Status    GetAgentAuthorizationRequest200JSONResponseBodyInteractionStatus `json:"status"`
			Type      GetAgentAuthorizationRequest200JSONResponseBodyInteractionType   `json:"type"`
			Url       string                                                           `json:"url"`
		} `json:"interaction"`
		Links struct {
			Credentials string `json:"credentials"`
			Self        string `json:"self"`
		} `json:"links"`
		Reason           string                                                `json:"reason"`
		ResourceServerId string                                                `json:"resourceServerId"`
		Scopes           []string                                              `json:"scopes"`
		Status           GetAgentAuthorizationRequest200JSONResponseBodyStatus `json:"status"`
		UpdatedAt        time.Time                                             `json:"updatedAt"`
	}
	JSON401 *struct {
		Error struct {
			Code      GetAgentAuthorizationRequest401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                  `json:"details,omitempty"`
			Message   string                                                   `json:"message"`
			RequestId *string                                                  `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      GetAgentAuthorizationRequest403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                  `json:"details,omitempty"`
			Message   string                                                   `json:"message"`
			RequestId *string                                                  `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON404 *struct {
		Error struct {
			Code      GetAgentAuthorizationRequest404JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                  `json:"details,omitempty"`
			Message   string                                                   `json:"message"`
			RequestId *string                                                  `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseGetAgentAuthorizationRequestResponse

func ParseGetAgentAuthorizationRequestResponse(rsp *http.Response) (*GetAgentAuthorizationRequestResponse, error)

ParseGetAgentAuthorizationRequestResponse parses an HTTP response from a GetAgentAuthorizationRequestWithResponse call

func (GetAgentAuthorizationRequestResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAgentAuthorizationRequestResponse) Status

Status returns HTTPResponse.Status

func (GetAgentAuthorizationRequestResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAgentEnrollment200JSONResponseBodyHomeSpace0

type GetAgentEnrollment200JSONResponseBodyHomeSpace0 struct {
	Type   GetAgentEnrollment200JSONResponseBodyHomeSpace0Type `json:"type"`
	UserId string                                              `json:"userId"`
}

GetAgentEnrollment200JSONResponseBodyHomeSpace0 defines parameters for GetAgentEnrollment.

type GetAgentEnrollment200JSONResponseBodyHomeSpace0Type

type GetAgentEnrollment200JSONResponseBodyHomeSpace0Type string

GetAgentEnrollment200JSONResponseBodyHomeSpace0Type defines parameters for GetAgentEnrollment.

const (
	GetAgentEnrollment200JSONResponseBodyHomeSpace0TypePersonal GetAgentEnrollment200JSONResponseBodyHomeSpace0Type = "personal"
)

Defines values for GetAgentEnrollment200JSONResponseBodyHomeSpace0Type.

func (GetAgentEnrollment200JSONResponseBodyHomeSpace0Type) Valid

Valid indicates whether the value is a known member of the GetAgentEnrollment200JSONResponseBodyHomeSpace0Type enum.

type GetAgentEnrollment200JSONResponseBodyHomeSpace1

type GetAgentEnrollment200JSONResponseBodyHomeSpace1 struct {
	OrganizationId string                                              `json:"organizationId"`
	Type           GetAgentEnrollment200JSONResponseBodyHomeSpace1Type `json:"type"`
}

GetAgentEnrollment200JSONResponseBodyHomeSpace1 defines parameters for GetAgentEnrollment.

type GetAgentEnrollment200JSONResponseBodyHomeSpace1Type

type GetAgentEnrollment200JSONResponseBodyHomeSpace1Type string

GetAgentEnrollment200JSONResponseBodyHomeSpace1Type defines parameters for GetAgentEnrollment.

const (
	GetAgentEnrollment200JSONResponseBodyHomeSpace1TypeOrganization GetAgentEnrollment200JSONResponseBodyHomeSpace1Type = "organization"
)

Defines values for GetAgentEnrollment200JSONResponseBodyHomeSpace1Type.

func (GetAgentEnrollment200JSONResponseBodyHomeSpace1Type) Valid

Valid indicates whether the value is a known member of the GetAgentEnrollment200JSONResponseBodyHomeSpace1Type enum.

type GetAgentEnrollment200JSONResponseBodyKind

type GetAgentEnrollment200JSONResponseBodyKind string

GetAgentEnrollment200JSONResponseBodyKind defines parameters for GetAgentEnrollment.

const (
	GetAgentEnrollment200JSONResponseBodyKindAdditionalHost GetAgentEnrollment200JSONResponseBodyKind = "additional_host"
)

Defines values for GetAgentEnrollment200JSONResponseBodyKind.

func (GetAgentEnrollment200JSONResponseBodyKind) Valid

Valid indicates whether the value is a known member of the GetAgentEnrollment200JSONResponseBodyKind enum.

type GetAgentEnrollment200JSONResponseBodyStatus

type GetAgentEnrollment200JSONResponseBodyStatus string

GetAgentEnrollment200JSONResponseBodyStatus defines parameters for GetAgentEnrollment.

const (
	GetAgentEnrollment200JSONResponseBodyStatusApproved  GetAgentEnrollment200JSONResponseBodyStatus = "approved"
	GetAgentEnrollment200JSONResponseBodyStatusCancelled GetAgentEnrollment200JSONResponseBodyStatus = "cancelled"
	GetAgentEnrollment200JSONResponseBodyStatusDenied    GetAgentEnrollment200JSONResponseBodyStatus = "denied"
	GetAgentEnrollment200JSONResponseBodyStatusExpired   GetAgentEnrollment200JSONResponseBodyStatus = "expired"
	GetAgentEnrollment200JSONResponseBodyStatusPending   GetAgentEnrollment200JSONResponseBodyStatus = "pending"
)

Defines values for GetAgentEnrollment200JSONResponseBodyStatus.

func (GetAgentEnrollment200JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the GetAgentEnrollment200JSONResponseBodyStatus enum.

type GetAgentEnrollment200JSONResponseBody_HomeSpace

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

GetAgentEnrollment200JSONResponseBody_HomeSpace defines parameters for GetAgentEnrollment.

func (GetAgentEnrollment200JSONResponseBody_HomeSpace) AsGetAgentEnrollment200JSONResponseBodyHomeSpace0

func (t GetAgentEnrollment200JSONResponseBody_HomeSpace) AsGetAgentEnrollment200JSONResponseBodyHomeSpace0() (GetAgentEnrollment200JSONResponseBodyHomeSpace0, error)

AsGetAgentEnrollment200JSONResponseBodyHomeSpace0 returns the union data inside the GetAgentEnrollment200JSONResponseBody_HomeSpace as a GetAgentEnrollment200JSONResponseBodyHomeSpace0

func (GetAgentEnrollment200JSONResponseBody_HomeSpace) AsGetAgentEnrollment200JSONResponseBodyHomeSpace1

func (t GetAgentEnrollment200JSONResponseBody_HomeSpace) AsGetAgentEnrollment200JSONResponseBodyHomeSpace1() (GetAgentEnrollment200JSONResponseBodyHomeSpace1, error)

AsGetAgentEnrollment200JSONResponseBodyHomeSpace1 returns the union data inside the GetAgentEnrollment200JSONResponseBody_HomeSpace as a GetAgentEnrollment200JSONResponseBodyHomeSpace1

func (*GetAgentEnrollment200JSONResponseBody_HomeSpace) FromGetAgentEnrollment200JSONResponseBodyHomeSpace0

func (t *GetAgentEnrollment200JSONResponseBody_HomeSpace) FromGetAgentEnrollment200JSONResponseBodyHomeSpace0(v GetAgentEnrollment200JSONResponseBodyHomeSpace0) error

FromGetAgentEnrollment200JSONResponseBodyHomeSpace0 overwrites any union data inside the GetAgentEnrollment200JSONResponseBody_HomeSpace as the provided GetAgentEnrollment200JSONResponseBodyHomeSpace0

func (*GetAgentEnrollment200JSONResponseBody_HomeSpace) FromGetAgentEnrollment200JSONResponseBodyHomeSpace1

func (t *GetAgentEnrollment200JSONResponseBody_HomeSpace) FromGetAgentEnrollment200JSONResponseBodyHomeSpace1(v GetAgentEnrollment200JSONResponseBodyHomeSpace1) error

FromGetAgentEnrollment200JSONResponseBodyHomeSpace1 overwrites any union data inside the GetAgentEnrollment200JSONResponseBody_HomeSpace as the provided GetAgentEnrollment200JSONResponseBodyHomeSpace1

func (GetAgentEnrollment200JSONResponseBody_HomeSpace) MarshalJSON

func (*GetAgentEnrollment200JSONResponseBody_HomeSpace) MergeGetAgentEnrollment200JSONResponseBodyHomeSpace0

func (t *GetAgentEnrollment200JSONResponseBody_HomeSpace) MergeGetAgentEnrollment200JSONResponseBodyHomeSpace0(v GetAgentEnrollment200JSONResponseBodyHomeSpace0) error

MergeGetAgentEnrollment200JSONResponseBodyHomeSpace0 performs a merge with any union data inside the GetAgentEnrollment200JSONResponseBody_HomeSpace, using the provided GetAgentEnrollment200JSONResponseBodyHomeSpace0

func (*GetAgentEnrollment200JSONResponseBody_HomeSpace) MergeGetAgentEnrollment200JSONResponseBodyHomeSpace1

func (t *GetAgentEnrollment200JSONResponseBody_HomeSpace) MergeGetAgentEnrollment200JSONResponseBodyHomeSpace1(v GetAgentEnrollment200JSONResponseBodyHomeSpace1) error

MergeGetAgentEnrollment200JSONResponseBodyHomeSpace1 performs a merge with any union data inside the GetAgentEnrollment200JSONResponseBody_HomeSpace, using the provided GetAgentEnrollment200JSONResponseBodyHomeSpace1

func (*GetAgentEnrollment200JSONResponseBody_HomeSpace) UnmarshalJSON

type GetAgentEnrollment401JSONResponseBodyErrorCode

type GetAgentEnrollment401JSONResponseBodyErrorCode string

GetAgentEnrollment401JSONResponseBodyErrorCode defines parameters for GetAgentEnrollment.

const (
	GetAgentEnrollment401JSONResponseBodyErrorCodeBadGateway           GetAgentEnrollment401JSONResponseBodyErrorCode = "bad_gateway"
	GetAgentEnrollment401JSONResponseBodyErrorCodeBadRequest           GetAgentEnrollment401JSONResponseBodyErrorCode = "bad_request"
	GetAgentEnrollment401JSONResponseBodyErrorCodeConflict             GetAgentEnrollment401JSONResponseBodyErrorCode = "conflict"
	GetAgentEnrollment401JSONResponseBodyErrorCodeForbidden            GetAgentEnrollment401JSONResponseBodyErrorCode = "forbidden"
	GetAgentEnrollment401JSONResponseBodyErrorCodeInternalError        GetAgentEnrollment401JSONResponseBodyErrorCode = "internal_error"
	GetAgentEnrollment401JSONResponseBodyErrorCodeNotFound             GetAgentEnrollment401JSONResponseBodyErrorCode = "not_found"
	GetAgentEnrollment401JSONResponseBodyErrorCodePreconditionFailed   GetAgentEnrollment401JSONResponseBodyErrorCode = "precondition_failed"
	GetAgentEnrollment401JSONResponseBodyErrorCodePreconditionRequired GetAgentEnrollment401JSONResponseBodyErrorCode = "precondition_required"
	GetAgentEnrollment401JSONResponseBodyErrorCodeResourceInUse        GetAgentEnrollment401JSONResponseBodyErrorCode = "resource_in_use"
	GetAgentEnrollment401JSONResponseBodyErrorCodeUnauthorized         GetAgentEnrollment401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetAgentEnrollment401JSONResponseBodyErrorCode.

func (GetAgentEnrollment401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetAgentEnrollment401JSONResponseBodyErrorCode enum.

type GetAgentEnrollment403JSONResponseBodyErrorCode

type GetAgentEnrollment403JSONResponseBodyErrorCode string

GetAgentEnrollment403JSONResponseBodyErrorCode defines parameters for GetAgentEnrollment.

const (
	GetAgentEnrollment403JSONResponseBodyErrorCodeBadGateway           GetAgentEnrollment403JSONResponseBodyErrorCode = "bad_gateway"
	GetAgentEnrollment403JSONResponseBodyErrorCodeBadRequest           GetAgentEnrollment403JSONResponseBodyErrorCode = "bad_request"
	GetAgentEnrollment403JSONResponseBodyErrorCodeConflict             GetAgentEnrollment403JSONResponseBodyErrorCode = "conflict"
	GetAgentEnrollment403JSONResponseBodyErrorCodeForbidden            GetAgentEnrollment403JSONResponseBodyErrorCode = "forbidden"
	GetAgentEnrollment403JSONResponseBodyErrorCodeInternalError        GetAgentEnrollment403JSONResponseBodyErrorCode = "internal_error"
	GetAgentEnrollment403JSONResponseBodyErrorCodeNotFound             GetAgentEnrollment403JSONResponseBodyErrorCode = "not_found"
	GetAgentEnrollment403JSONResponseBodyErrorCodePreconditionFailed   GetAgentEnrollment403JSONResponseBodyErrorCode = "precondition_failed"
	GetAgentEnrollment403JSONResponseBodyErrorCodePreconditionRequired GetAgentEnrollment403JSONResponseBodyErrorCode = "precondition_required"
	GetAgentEnrollment403JSONResponseBodyErrorCodeResourceInUse        GetAgentEnrollment403JSONResponseBodyErrorCode = "resource_in_use"
	GetAgentEnrollment403JSONResponseBodyErrorCodeUnauthorized         GetAgentEnrollment403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetAgentEnrollment403JSONResponseBodyErrorCode.

func (GetAgentEnrollment403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetAgentEnrollment403JSONResponseBodyErrorCode enum.

type GetAgentEnrollment404JSONResponseBodyErrorCode

type GetAgentEnrollment404JSONResponseBodyErrorCode string

GetAgentEnrollment404JSONResponseBodyErrorCode defines parameters for GetAgentEnrollment.

const (
	GetAgentEnrollment404JSONResponseBodyErrorCodeBadGateway           GetAgentEnrollment404JSONResponseBodyErrorCode = "bad_gateway"
	GetAgentEnrollment404JSONResponseBodyErrorCodeBadRequest           GetAgentEnrollment404JSONResponseBodyErrorCode = "bad_request"
	GetAgentEnrollment404JSONResponseBodyErrorCodeConflict             GetAgentEnrollment404JSONResponseBodyErrorCode = "conflict"
	GetAgentEnrollment404JSONResponseBodyErrorCodeForbidden            GetAgentEnrollment404JSONResponseBodyErrorCode = "forbidden"
	GetAgentEnrollment404JSONResponseBodyErrorCodeInternalError        GetAgentEnrollment404JSONResponseBodyErrorCode = "internal_error"
	GetAgentEnrollment404JSONResponseBodyErrorCodeNotFound             GetAgentEnrollment404JSONResponseBodyErrorCode = "not_found"
	GetAgentEnrollment404JSONResponseBodyErrorCodePreconditionFailed   GetAgentEnrollment404JSONResponseBodyErrorCode = "precondition_failed"
	GetAgentEnrollment404JSONResponseBodyErrorCodePreconditionRequired GetAgentEnrollment404JSONResponseBodyErrorCode = "precondition_required"
	GetAgentEnrollment404JSONResponseBodyErrorCodeResourceInUse        GetAgentEnrollment404JSONResponseBodyErrorCode = "resource_in_use"
	GetAgentEnrollment404JSONResponseBodyErrorCodeUnauthorized         GetAgentEnrollment404JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetAgentEnrollment404JSONResponseBodyErrorCode.

func (GetAgentEnrollment404JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetAgentEnrollment404JSONResponseBodyErrorCode enum.

type GetAgentEnrollmentResponse

type GetAgentEnrollmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AgentId   string                                          `json:"agentId"`
		CreatedAt time.Time                                       `json:"createdAt"`
		DecidedAt time.Time                                       `json:"decidedAt"`
		ExpiresAt time.Time                                       `json:"expiresAt"`
		HomeSpace GetAgentEnrollment200JSONResponseBody_HomeSpace `json:"homeSpace"`
		Id        string                                          `json:"id"`
		Kind      GetAgentEnrollment200JSONResponseBodyKind       `json:"kind"`
		Nickname  string                                          `json:"nickname"`
		Runtime   string                                          `json:"runtime"`
		Status    GetAgentEnrollment200JSONResponseBodyStatus     `json:"status"`
		UpdatedAt time.Time                                       `json:"updatedAt"`
		Username  string                                          `json:"username"`
	}
	JSON401 *struct {
		Error struct {
			Code      GetAgentEnrollment401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                        `json:"details,omitempty"`
			Message   string                                         `json:"message"`
			RequestId *string                                        `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      GetAgentEnrollment403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                        `json:"details,omitempty"`
			Message   string                                         `json:"message"`
			RequestId *string                                        `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON404 *struct {
		Error struct {
			Code      GetAgentEnrollment404JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                        `json:"details,omitempty"`
			Message   string                                         `json:"message"`
			RequestId *string                                        `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseGetAgentEnrollmentResponse

func ParseGetAgentEnrollmentResponse(rsp *http.Response) (*GetAgentEnrollmentResponse, error)

ParseGetAgentEnrollmentResponse parses an HTTP response from a GetAgentEnrollmentWithResponse call

func (GetAgentEnrollmentResponse) ContentType

func (r GetAgentEnrollmentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAgentEnrollmentResponse) Status

Status returns HTTPResponse.Status

func (GetAgentEnrollmentResponse) StatusCode

func (r GetAgentEnrollmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentStatus200JSONResponseBodyAgentHomeSpace0

type GetAgentStatus200JSONResponseBodyAgentHomeSpace0 struct {
	Type   GetAgentStatus200JSONResponseBodyAgentHomeSpace0Type `json:"type"`
	UserId string                                               `json:"userId"`
}

GetAgentStatus200JSONResponseBodyAgentHomeSpace0 defines parameters for GetAgentStatus.

type GetAgentStatus200JSONResponseBodyAgentHomeSpace0Type

type GetAgentStatus200JSONResponseBodyAgentHomeSpace0Type string

GetAgentStatus200JSONResponseBodyAgentHomeSpace0Type defines parameters for GetAgentStatus.

const (
	GetAgentStatus200JSONResponseBodyAgentHomeSpace0TypePersonal GetAgentStatus200JSONResponseBodyAgentHomeSpace0Type = "personal"
)

Defines values for GetAgentStatus200JSONResponseBodyAgentHomeSpace0Type.

func (GetAgentStatus200JSONResponseBodyAgentHomeSpace0Type) Valid

Valid indicates whether the value is a known member of the GetAgentStatus200JSONResponseBodyAgentHomeSpace0Type enum.

type GetAgentStatus200JSONResponseBodyAgentHomeSpace1

type GetAgentStatus200JSONResponseBodyAgentHomeSpace1 struct {
	OrganizationId string                                               `json:"organizationId"`
	Type           GetAgentStatus200JSONResponseBodyAgentHomeSpace1Type `json:"type"`
}

GetAgentStatus200JSONResponseBodyAgentHomeSpace1 defines parameters for GetAgentStatus.

type GetAgentStatus200JSONResponseBodyAgentHomeSpace1Type

type GetAgentStatus200JSONResponseBodyAgentHomeSpace1Type string

GetAgentStatus200JSONResponseBodyAgentHomeSpace1Type defines parameters for GetAgentStatus.

const (
	GetAgentStatus200JSONResponseBodyAgentHomeSpace1TypeOrganization GetAgentStatus200JSONResponseBodyAgentHomeSpace1Type = "organization"
)

Defines values for GetAgentStatus200JSONResponseBodyAgentHomeSpace1Type.

func (GetAgentStatus200JSONResponseBodyAgentHomeSpace1Type) Valid

Valid indicates whether the value is a known member of the GetAgentStatus200JSONResponseBodyAgentHomeSpace1Type enum.

type GetAgentStatus200JSONResponseBodyAgentStatus

type GetAgentStatus200JSONResponseBodyAgentStatus string

GetAgentStatus200JSONResponseBodyAgentStatus defines parameters for GetAgentStatus.

const (
	GetAgentStatus200JSONResponseBodyAgentStatusActive   GetAgentStatus200JSONResponseBodyAgentStatus = "active"
	GetAgentStatus200JSONResponseBodyAgentStatusInactive GetAgentStatus200JSONResponseBodyAgentStatus = "inactive"
)

Defines values for GetAgentStatus200JSONResponseBodyAgentStatus.

func (GetAgentStatus200JSONResponseBodyAgentStatus) Valid

Valid indicates whether the value is a known member of the GetAgentStatus200JSONResponseBodyAgentStatus enum.

type GetAgentStatus200JSONResponseBodyEnrollmentState

type GetAgentStatus200JSONResponseBodyEnrollmentState string

GetAgentStatus200JSONResponseBodyEnrollmentState defines parameters for GetAgentStatus.

Defines values for GetAgentStatus200JSONResponseBodyEnrollmentState.

func (GetAgentStatus200JSONResponseBodyEnrollmentState) Valid

Valid indicates whether the value is a known member of the GetAgentStatus200JSONResponseBodyEnrollmentState enum.

type GetAgentStatus200JSONResponseBodyInstallationStatus

type GetAgentStatus200JSONResponseBodyInstallationStatus string

GetAgentStatus200JSONResponseBodyInstallationStatus defines parameters for GetAgentStatus.

const (
	GetAgentStatus200JSONResponseBodyInstallationStatusActive  GetAgentStatus200JSONResponseBodyInstallationStatus = "active"
	GetAgentStatus200JSONResponseBodyInstallationStatusRevoked GetAgentStatus200JSONResponseBodyInstallationStatus = "revoked"
)

Defines values for GetAgentStatus200JSONResponseBodyInstallationStatus.

func (GetAgentStatus200JSONResponseBodyInstallationStatus) Valid

Valid indicates whether the value is a known member of the GetAgentStatus200JSONResponseBodyInstallationStatus enum.

type GetAgentStatus200JSONResponseBody_Agent_HomeSpace

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

GetAgentStatus200JSONResponseBody_Agent_HomeSpace defines parameters for GetAgentStatus.

func (GetAgentStatus200JSONResponseBody_Agent_HomeSpace) AsGetAgentStatus200JSONResponseBodyAgentHomeSpace0

func (t GetAgentStatus200JSONResponseBody_Agent_HomeSpace) AsGetAgentStatus200JSONResponseBodyAgentHomeSpace0() (GetAgentStatus200JSONResponseBodyAgentHomeSpace0, error)

AsGetAgentStatus200JSONResponseBodyAgentHomeSpace0 returns the union data inside the GetAgentStatus200JSONResponseBody_Agent_HomeSpace as a GetAgentStatus200JSONResponseBodyAgentHomeSpace0

func (GetAgentStatus200JSONResponseBody_Agent_HomeSpace) AsGetAgentStatus200JSONResponseBodyAgentHomeSpace1

func (t GetAgentStatus200JSONResponseBody_Agent_HomeSpace) AsGetAgentStatus200JSONResponseBodyAgentHomeSpace1() (GetAgentStatus200JSONResponseBodyAgentHomeSpace1, error)

AsGetAgentStatus200JSONResponseBodyAgentHomeSpace1 returns the union data inside the GetAgentStatus200JSONResponseBody_Agent_HomeSpace as a GetAgentStatus200JSONResponseBodyAgentHomeSpace1

func (*GetAgentStatus200JSONResponseBody_Agent_HomeSpace) FromGetAgentStatus200JSONResponseBodyAgentHomeSpace0

func (t *GetAgentStatus200JSONResponseBody_Agent_HomeSpace) FromGetAgentStatus200JSONResponseBodyAgentHomeSpace0(v GetAgentStatus200JSONResponseBodyAgentHomeSpace0) error

FromGetAgentStatus200JSONResponseBodyAgentHomeSpace0 overwrites any union data inside the GetAgentStatus200JSONResponseBody_Agent_HomeSpace as the provided GetAgentStatus200JSONResponseBodyAgentHomeSpace0

func (*GetAgentStatus200JSONResponseBody_Agent_HomeSpace) FromGetAgentStatus200JSONResponseBodyAgentHomeSpace1

func (t *GetAgentStatus200JSONResponseBody_Agent_HomeSpace) FromGetAgentStatus200JSONResponseBodyAgentHomeSpace1(v GetAgentStatus200JSONResponseBodyAgentHomeSpace1) error

FromGetAgentStatus200JSONResponseBodyAgentHomeSpace1 overwrites any union data inside the GetAgentStatus200JSONResponseBody_Agent_HomeSpace as the provided GetAgentStatus200JSONResponseBodyAgentHomeSpace1

func (GetAgentStatus200JSONResponseBody_Agent_HomeSpace) MarshalJSON

func (*GetAgentStatus200JSONResponseBody_Agent_HomeSpace) MergeGetAgentStatus200JSONResponseBodyAgentHomeSpace0

func (t *GetAgentStatus200JSONResponseBody_Agent_HomeSpace) MergeGetAgentStatus200JSONResponseBodyAgentHomeSpace0(v GetAgentStatus200JSONResponseBodyAgentHomeSpace0) error

MergeGetAgentStatus200JSONResponseBodyAgentHomeSpace0 performs a merge with any union data inside the GetAgentStatus200JSONResponseBody_Agent_HomeSpace, using the provided GetAgentStatus200JSONResponseBodyAgentHomeSpace0

func (*GetAgentStatus200JSONResponseBody_Agent_HomeSpace) MergeGetAgentStatus200JSONResponseBodyAgentHomeSpace1

func (t *GetAgentStatus200JSONResponseBody_Agent_HomeSpace) MergeGetAgentStatus200JSONResponseBodyAgentHomeSpace1(v GetAgentStatus200JSONResponseBodyAgentHomeSpace1) error

MergeGetAgentStatus200JSONResponseBodyAgentHomeSpace1 performs a merge with any union data inside the GetAgentStatus200JSONResponseBody_Agent_HomeSpace, using the provided GetAgentStatus200JSONResponseBodyAgentHomeSpace1

func (*GetAgentStatus200JSONResponseBody_Agent_HomeSpace) UnmarshalJSON

type GetAgentStatus401JSONResponseBodyErrorCode

type GetAgentStatus401JSONResponseBodyErrorCode string

GetAgentStatus401JSONResponseBodyErrorCode defines parameters for GetAgentStatus.

const (
	GetAgentStatus401JSONResponseBodyErrorCodeBadGateway           GetAgentStatus401JSONResponseBodyErrorCode = "bad_gateway"
	GetAgentStatus401JSONResponseBodyErrorCodeBadRequest           GetAgentStatus401JSONResponseBodyErrorCode = "bad_request"
	GetAgentStatus401JSONResponseBodyErrorCodeConflict             GetAgentStatus401JSONResponseBodyErrorCode = "conflict"
	GetAgentStatus401JSONResponseBodyErrorCodeForbidden            GetAgentStatus401JSONResponseBodyErrorCode = "forbidden"
	GetAgentStatus401JSONResponseBodyErrorCodeInternalError        GetAgentStatus401JSONResponseBodyErrorCode = "internal_error"
	GetAgentStatus401JSONResponseBodyErrorCodeNotFound             GetAgentStatus401JSONResponseBodyErrorCode = "not_found"
	GetAgentStatus401JSONResponseBodyErrorCodePreconditionFailed   GetAgentStatus401JSONResponseBodyErrorCode = "precondition_failed"
	GetAgentStatus401JSONResponseBodyErrorCodePreconditionRequired GetAgentStatus401JSONResponseBodyErrorCode = "precondition_required"
	GetAgentStatus401JSONResponseBodyErrorCodeResourceInUse        GetAgentStatus401JSONResponseBodyErrorCode = "resource_in_use"
	GetAgentStatus401JSONResponseBodyErrorCodeUnauthorized         GetAgentStatus401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetAgentStatus401JSONResponseBodyErrorCode.

func (GetAgentStatus401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetAgentStatus401JSONResponseBodyErrorCode enum.

type GetAgentStatus403JSONResponseBodyErrorCode

type GetAgentStatus403JSONResponseBodyErrorCode string

GetAgentStatus403JSONResponseBodyErrorCode defines parameters for GetAgentStatus.

const (
	GetAgentStatus403JSONResponseBodyErrorCodeBadGateway           GetAgentStatus403JSONResponseBodyErrorCode = "bad_gateway"
	GetAgentStatus403JSONResponseBodyErrorCodeBadRequest           GetAgentStatus403JSONResponseBodyErrorCode = "bad_request"
	GetAgentStatus403JSONResponseBodyErrorCodeConflict             GetAgentStatus403JSONResponseBodyErrorCode = "conflict"
	GetAgentStatus403JSONResponseBodyErrorCodeForbidden            GetAgentStatus403JSONResponseBodyErrorCode = "forbidden"
	GetAgentStatus403JSONResponseBodyErrorCodeInternalError        GetAgentStatus403JSONResponseBodyErrorCode = "internal_error"
	GetAgentStatus403JSONResponseBodyErrorCodeNotFound             GetAgentStatus403JSONResponseBodyErrorCode = "not_found"
	GetAgentStatus403JSONResponseBodyErrorCodePreconditionFailed   GetAgentStatus403JSONResponseBodyErrorCode = "precondition_failed"
	GetAgentStatus403JSONResponseBodyErrorCodePreconditionRequired GetAgentStatus403JSONResponseBodyErrorCode = "precondition_required"
	GetAgentStatus403JSONResponseBodyErrorCodeResourceInUse        GetAgentStatus403JSONResponseBodyErrorCode = "resource_in_use"
	GetAgentStatus403JSONResponseBodyErrorCodeUnauthorized         GetAgentStatus403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetAgentStatus403JSONResponseBodyErrorCode.

func (GetAgentStatus403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetAgentStatus403JSONResponseBodyErrorCode enum.

type GetAgentStatusResponse

type GetAgentStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Agent struct {
			CreatedAt time.Time                                         `json:"createdAt"`
			HomeSpace GetAgentStatus200JSONResponseBody_Agent_HomeSpace `json:"homeSpace"`

			// Id Stable Agent resource identifier. New values are UUIDv7; legacy prefixed values remain readable.
			Id      string                                       `json:"id"`
			Issuer  string                                       `json:"issuer"`
			Name    string                                       `json:"name"`
			Runtime string                                       `json:"runtime"`
			Status  GetAgentStatus200JSONResponseBodyAgentStatus `json:"status"`

			// Subject Stable OIDC subject. New Agent subjects are UUIDv7; historical values remain readable references.
			Subject   string    `json:"subject"`
			UpdatedAt time.Time `json:"updatedAt"`
			Username  string    `json:"username"`
		} `json:"agent"`
		Enrollment struct {
			Pending string                                           `json:"pending"`
			State   GetAgentStatus200JSONResponseBodyEnrollmentState `json:"state"`
		} `json:"enrollment"`
		Installation struct {
			Id     string                                              `json:"id"`
			Status GetAgentStatus200JSONResponseBodyInstallationStatus `json:"status"`
		} `json:"installation"`
	}
	JSON401 *struct {
		Error struct {
			Code      GetAgentStatus401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                    `json:"details,omitempty"`
			Message   string                                     `json:"message"`
			RequestId *string                                    `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      GetAgentStatus403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                    `json:"details,omitempty"`
			Message   string                                     `json:"message"`
			RequestId *string                                    `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseGetAgentStatusResponse

func ParseGetAgentStatusResponse(rsp *http.Response) (*GetAgentStatusResponse, error)

ParseGetAgentStatusResponse parses an HTTP response from a GetAgentStatusWithResponse call

func (GetAgentStatusResponse) ContentType

func (r GetAgentStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAgentStatusResponse) Status

func (r GetAgentStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentStatusResponse) StatusCode

func (r GetAgentStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfigured

type GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfigured bool

GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfigured defines parameters for GetResourceServer.

const (
	GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfiguredTrue GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfigured = true
)

Defines values for GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfigured.

func (GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfigured) Valid

Valid indicates whether the value is a known member of the GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfigured enum.

type GetResourceServer200JSONResponseBodyAuthorizationModel

type GetResourceServer200JSONResponseBodyAuthorizationModel string

GetResourceServer200JSONResponseBodyAuthorizationModel defines parameters for GetResourceServer.

const (
	GetResourceServer200JSONResponseBodyAuthorizationModelExternal GetResourceServer200JSONResponseBodyAuthorizationModel = "external"
	GetResourceServer200JSONResponseBodyAuthorizationModelNative   GetResourceServer200JSONResponseBodyAuthorizationModel = "native"
)

Defines values for GetResourceServer200JSONResponseBodyAuthorizationModel.

func (GetResourceServer200JSONResponseBodyAuthorizationModel) Valid

Valid indicates whether the value is a known member of the GetResourceServer200JSONResponseBodyAuthorizationModel enum.

type GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode

type GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode string

GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode defines parameters for GetResourceServer.

const (
	GetResourceServer200JSONResponseBodyAuthorizationRegistrationModeDynamic GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode = "dynamic"
	GetResourceServer200JSONResponseBodyAuthorizationRegistrationModeManual  GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode = "manual"
)

Defines values for GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode.

func (GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode) Valid

Valid indicates whether the value is a known member of the GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode enum.

type GetResourceServer200JSONResponseBodyAuthorizationStatus

type GetResourceServer200JSONResponseBodyAuthorizationStatus string

GetResourceServer200JSONResponseBodyAuthorizationStatus defines parameters for GetResourceServer.

Defines values for GetResourceServer200JSONResponseBodyAuthorizationStatus.

func (GetResourceServer200JSONResponseBodyAuthorizationStatus) Valid

Valid indicates whether the value is a known member of the GetResourceServer200JSONResponseBodyAuthorizationStatus enum.

type GetResourceServer200JSONResponseBodyAvailabilityStatus

type GetResourceServer200JSONResponseBodyAvailabilityStatus string

GetResourceServer200JSONResponseBodyAvailabilityStatus defines parameters for GetResourceServer.

const (
	GetResourceServer200JSONResponseBodyAvailabilityStatusAvailable   GetResourceServer200JSONResponseBodyAvailabilityStatus = "available"
	GetResourceServer200JSONResponseBodyAvailabilityStatusUnavailable GetResourceServer200JSONResponseBodyAvailabilityStatus = "unavailable"
)

Defines values for GetResourceServer200JSONResponseBodyAvailabilityStatus.

func (GetResourceServer200JSONResponseBodyAvailabilityStatus) Valid

Valid indicates whether the value is a known member of the GetResourceServer200JSONResponseBodyAvailabilityStatus enum.

type GetResourceServer200JSONResponseBodyConnectionStatus

type GetResourceServer200JSONResponseBodyConnectionStatus string

GetResourceServer200JSONResponseBodyConnectionStatus defines parameters for GetResourceServer.

const (
	GetResourceServer200JSONResponseBodyConnectionStatusConnected    GetResourceServer200JSONResponseBodyConnectionStatus = "connected"
	GetResourceServer200JSONResponseBodyConnectionStatusNotConnected GetResourceServer200JSONResponseBodyConnectionStatus = "not_connected"
	GetResourceServer200JSONResponseBodyConnectionStatusNotRequired  GetResourceServer200JSONResponseBodyConnectionStatus = "not_required"
)

Defines values for GetResourceServer200JSONResponseBodyConnectionStatus.

func (GetResourceServer200JSONResponseBodyConnectionStatus) Valid

Valid indicates whether the value is a known member of the GetResourceServer200JSONResponseBodyConnectionStatus enum.

type GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode

type GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode string

GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode defines parameters for GetResourceServer.

const (
	GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantModeAssigned  GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode = "assigned"
	GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantModeAutomatic GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode = "automatic"
)

Defines values for GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode.

func (GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode) Valid

Valid indicates whether the value is a known member of the GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode enum.

type GetResourceServer200JSONResponseBodyVisibility

type GetResourceServer200JSONResponseBodyVisibility string

GetResourceServer200JSONResponseBodyVisibility defines parameters for GetResourceServer.

const (
	GetResourceServer200JSONResponseBodyVisibilityPrivate GetResourceServer200JSONResponseBodyVisibility = "private"
	GetResourceServer200JSONResponseBodyVisibilityPublic  GetResourceServer200JSONResponseBodyVisibility = "public"
)

Defines values for GetResourceServer200JSONResponseBodyVisibility.

func (GetResourceServer200JSONResponseBodyVisibility) Valid

Valid indicates whether the value is a known member of the GetResourceServer200JSONResponseBodyVisibility enum.

type GetResourceServer200JSONResponseBody_AuthorizationDetails_Item

type GetResourceServer200JSONResponseBody_AuthorizationDetails_Item struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

GetResourceServer200JSONResponseBody_AuthorizationDetails_Item defines parameters for GetResourceServer.

func (GetResourceServer200JSONResponseBody_AuthorizationDetails_Item) Get

Getter for additional properties for GetResourceServer200JSONResponseBody_AuthorizationDetails_Item. Returns the specified element and whether it was found

func (GetResourceServer200JSONResponseBody_AuthorizationDetails_Item) MarshalJSON

Override default JSON handling for GetResourceServer200JSONResponseBody_AuthorizationDetails_Item to handle AdditionalProperties

func (*GetResourceServer200JSONResponseBody_AuthorizationDetails_Item) Set

Setter for additional properties for GetResourceServer200JSONResponseBody_AuthorizationDetails_Item

func (*GetResourceServer200JSONResponseBody_AuthorizationDetails_Item) UnmarshalJSON

Override default JSON handling for GetResourceServer200JSONResponseBody_AuthorizationDetails_Item to handle AdditionalProperties

type GetResourceServer401JSONResponseBodyErrorCode

type GetResourceServer401JSONResponseBodyErrorCode string

GetResourceServer401JSONResponseBodyErrorCode defines parameters for GetResourceServer.

const (
	GetResourceServer401JSONResponseBodyErrorCodeBadGateway           GetResourceServer401JSONResponseBodyErrorCode = "bad_gateway"
	GetResourceServer401JSONResponseBodyErrorCodeBadRequest           GetResourceServer401JSONResponseBodyErrorCode = "bad_request"
	GetResourceServer401JSONResponseBodyErrorCodeConflict             GetResourceServer401JSONResponseBodyErrorCode = "conflict"
	GetResourceServer401JSONResponseBodyErrorCodeForbidden            GetResourceServer401JSONResponseBodyErrorCode = "forbidden"
	GetResourceServer401JSONResponseBodyErrorCodeInternalError        GetResourceServer401JSONResponseBodyErrorCode = "internal_error"
	GetResourceServer401JSONResponseBodyErrorCodeNotFound             GetResourceServer401JSONResponseBodyErrorCode = "not_found"
	GetResourceServer401JSONResponseBodyErrorCodePreconditionFailed   GetResourceServer401JSONResponseBodyErrorCode = "precondition_failed"
	GetResourceServer401JSONResponseBodyErrorCodePreconditionRequired GetResourceServer401JSONResponseBodyErrorCode = "precondition_required"
	GetResourceServer401JSONResponseBodyErrorCodeResourceInUse        GetResourceServer401JSONResponseBodyErrorCode = "resource_in_use"
	GetResourceServer401JSONResponseBodyErrorCodeUnauthorized         GetResourceServer401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetResourceServer401JSONResponseBodyErrorCode.

func (GetResourceServer401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetResourceServer401JSONResponseBodyErrorCode enum.

type GetResourceServer403JSONResponseBodyErrorCode

type GetResourceServer403JSONResponseBodyErrorCode string

GetResourceServer403JSONResponseBodyErrorCode defines parameters for GetResourceServer.

const (
	GetResourceServer403JSONResponseBodyErrorCodeBadGateway           GetResourceServer403JSONResponseBodyErrorCode = "bad_gateway"
	GetResourceServer403JSONResponseBodyErrorCodeBadRequest           GetResourceServer403JSONResponseBodyErrorCode = "bad_request"
	GetResourceServer403JSONResponseBodyErrorCodeConflict             GetResourceServer403JSONResponseBodyErrorCode = "conflict"
	GetResourceServer403JSONResponseBodyErrorCodeForbidden            GetResourceServer403JSONResponseBodyErrorCode = "forbidden"
	GetResourceServer403JSONResponseBodyErrorCodeInternalError        GetResourceServer403JSONResponseBodyErrorCode = "internal_error"
	GetResourceServer403JSONResponseBodyErrorCodeNotFound             GetResourceServer403JSONResponseBodyErrorCode = "not_found"
	GetResourceServer403JSONResponseBodyErrorCodePreconditionFailed   GetResourceServer403JSONResponseBodyErrorCode = "precondition_failed"
	GetResourceServer403JSONResponseBodyErrorCodePreconditionRequired GetResourceServer403JSONResponseBodyErrorCode = "precondition_required"
	GetResourceServer403JSONResponseBodyErrorCodeResourceInUse        GetResourceServer403JSONResponseBodyErrorCode = "resource_in_use"
	GetResourceServer403JSONResponseBodyErrorCodeUnauthorized         GetResourceServer403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for GetResourceServer403JSONResponseBodyErrorCode.

func (GetResourceServer403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the GetResourceServer403JSONResponseBodyErrorCode enum.

type GetResourceServerResponse

type GetResourceServerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Authorization struct {
			AuthorizationDetailsCatalogEndpoint string                                                                  `json:"authorizationDetailsCatalogEndpoint"`
			AuthorizationDetailsCatalogScope    string                                                                  `json:"authorizationDetailsCatalogScope"`
			AuthorizationDetailsTypesSupported  []string                                                                `json:"authorizationDetailsTypesSupported"`
			AuthorizationEndpoint               string                                                                  `json:"authorizationEndpoint"`
			ClientId                            string                                                                  `json:"clientId"`
			ClientSecretConfigured              GetResourceServer200JSONResponseBodyAuthorizationClientSecretConfigured `json:"clientSecretConfigured"`
			ConnectorId                         string                                                                  `json:"connectorId"`
			CreatedAt                           time.Time                                                               `json:"createdAt"`
			Issuer                              string                                                                  `json:"issuer"`
			JwksUri                             string                                                                  `json:"jwksUri"`
			PushedAuthorizationRequestEndpoint  string                                                                  `json:"pushedAuthorizationRequestEndpoint"`
			RegistrationEndpoint                string                                                                  `json:"registrationEndpoint"`
			RegistrationMode                    GetResourceServer200JSONResponseBodyAuthorizationRegistrationMode       `json:"registrationMode"`
			ResourceUrl                         string                                                                  `json:"resourceUrl"`
			RevocationEndpoint                  string                                                                  `json:"revocationEndpoint"`
			Status                              GetResourceServer200JSONResponseBodyAuthorizationStatus                 `json:"status"`
			TokenEndpoint                       string                                                                  `json:"tokenEndpoint"`
			UpdatedAt                           time.Time                                                               `json:"updatedAt"`
			UserInfoEndpoint                    string                                                                  `json:"userInfoEndpoint"`
		} `json:"authorization"`
		AuthorizationDetails []GetResourceServer200JSONResponseBody_AuthorizationDetails_Item `json:"authorizationDetails"`
		AuthorizationModel   GetResourceServer200JSONResponseBodyAuthorizationModel           `json:"authorizationModel"`
		Availability         struct {
			CheckedAt time.Time                                              `json:"checkedAt"`
			Status    GetResourceServer200JSONResponseBodyAvailabilityStatus `json:"status"`
		} `json:"availability"`
		AvailableToAgents bool `json:"availableToAgents"`
		Connection        struct {
			AuthorizedScopes []string                                             `json:"authorizedScopes"`
			DisplayName      string                                               `json:"displayName"`
			Status           GetResourceServer200JSONResponseBodyConnectionStatus `json:"status"`
		} `json:"connection"`
		ConnectorId string `json:"connectorId"`
		CreatedAt   string `json:"createdAt"`
		Description string `json:"description"`
		Enabled     bool   `json:"enabled"`
		Id          string `json:"id"`
		Identifier  string `json:"identifier"`
		Links       struct {
			AuthorizationDetails string `json:"authorizationDetails"`
			Self                 string `json:"self"`
		} `json:"links"`
		Name                string `json:"name"`
		OwnerOrganizationId string `json:"ownerOrganizationId"`
		ResourceUrl         string `json:"resourceUrl"`
		ScopeRegistry       struct {
			Discovery struct {
				DocumentHash string `json:"documentHash"`
				Etag         string `json:"etag"`
				LastError    struct {
					Code    string `json:"code"`
					Message string `json:"message"`
				} `json:"lastError"`
				SourceUrl string    `json:"sourceUrl"`
				SyncedAt  time.Time `json:"syncedAt"`
			} `json:"discovery"`
			Scopes []struct {
				Description string                                                           `json:"description"`
				GrantMode   GetResourceServer200JSONResponseBodyScopeRegistryScopesGrantMode `json:"grantMode"`
				Value       string                                                           `json:"value"`
			} `json:"scopes"`
		} `json:"scopeRegistry"`
		Scopes []struct {
			Description string `json:"description"`
			Value       string `json:"value"`
		} `json:"scopes"`
		UpdatedAt  string                                         `json:"updatedAt"`
		Visibility GetResourceServer200JSONResponseBodyVisibility `json:"visibility"`
	}
	JSON401 *struct {
		Error struct {
			Code      GetResourceServer401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                       `json:"details,omitempty"`
			Message   string                                        `json:"message"`
			RequestId *string                                       `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      GetResourceServer403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                       `json:"details,omitempty"`
			Message   string                                        `json:"message"`
			RequestId *string                                       `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseGetResourceServerResponse

func ParseGetResourceServerResponse(rsp *http.Response) (*GetResourceServerResponse, error)

ParseGetResourceServerResponse parses an HTTP response from a GetResourceServerWithResponse call

func (GetResourceServerResponse) ContentType

func (r GetResourceServerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetResourceServerResponse) Status

func (r GetResourceServerResponse) Status() string

Status returns HTTPResponse.Status

func (GetResourceServerResponse) StatusCode

func (r GetResourceServerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListResourceServerAuthorizationDetails200JSONResponseBodyItemsAccountAuthorizationStatus

type ListResourceServerAuthorizationDetails200JSONResponseBodyItemsAccountAuthorizationStatus string

ListResourceServerAuthorizationDetails200JSONResponseBodyItemsAccountAuthorizationStatus defines parameters for ListResourceServerAuthorizationDetails.

Defines values for ListResourceServerAuthorizationDetails200JSONResponseBodyItemsAccountAuthorizationStatus.

func (ListResourceServerAuthorizationDetails200JSONResponseBodyItemsAccountAuthorizationStatus) Valid

Valid indicates whether the value is a known member of the ListResourceServerAuthorizationDetails200JSONResponseBodyItemsAccountAuthorizationStatus enum.

type ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail

type ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail defines parameters for ListResourceServerAuthorizationDetails.

func (ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail) Get

Getter for additional properties for ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail. Returns the specified element and whether it was found

func (ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail) MarshalJSON

Override default JSON handling for ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail to handle AdditionalProperties

func (*ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail) Set

Setter for additional properties for ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail

func (*ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail) UnmarshalJSON

Override default JSON handling for ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail to handle AdditionalProperties

type ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode

type ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode string

ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode defines parameters for ListResourceServerAuthorizationDetails.

const (
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodeBadGateway           ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "bad_gateway"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodeBadRequest           ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "bad_request"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodeConflict             ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "conflict"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodeForbidden            ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "forbidden"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodeInternalError        ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "internal_error"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodeNotFound             ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "not_found"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodePreconditionFailed   ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "precondition_failed"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodePreconditionRequired ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "precondition_required"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodeResourceInUse        ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "resource_in_use"
	ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCodeUnauthorized         ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode.

func (ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode enum.

type ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode

type ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode string

ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode defines parameters for ListResourceServerAuthorizationDetails.

const (
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodeBadGateway           ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "bad_gateway"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodeBadRequest           ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "bad_request"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodeConflict             ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "conflict"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodeForbidden            ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "forbidden"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodeInternalError        ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "internal_error"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodeNotFound             ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "not_found"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodePreconditionFailed   ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "precondition_failed"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodePreconditionRequired ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "precondition_required"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodeResourceInUse        ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "resource_in_use"
	ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCodeUnauthorized         ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode.

func (ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode enum.

type ListResourceServerAuthorizationDetailsParams

type ListResourceServerAuthorizationDetailsParams struct {
	Page     *int `form:"page,omitempty" json:"page,omitempty"`
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

ListResourceServerAuthorizationDetailsParams defines parameters for ListResourceServerAuthorizationDetails.

type ListResourceServerAuthorizationDetailsResponse

type ListResourceServerAuthorizationDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []struct {
			AccountAuthorizationStatus ListResourceServerAuthorizationDetails200JSONResponseBodyItemsAccountAuthorizationStatus `json:"accountAuthorizationStatus"`
			AuthorizationDetail        ListResourceServerAuthorizationDetails200JSONResponseBody_Items_AuthorizationDetail      `json:"authorizationDetail"`
			AuthorizedScopes           []string                                                                                 `json:"authorizedScopes"`
			Description                string                                                                                   `json:"description"`
			Id                         *string                                                                                  `json:"id"`
			Metadata                   map[string]string                                                                        `json:"metadata"`
			Name                       string                                                                                   `json:"name"`
			RequestableScopes          []string                                                                                 `json:"requestableScopes"`
		} `json:"items"`
		Pagination struct {
			Page       int `json:"page"`
			PageSize   int `json:"pageSize"`
			TotalItems int `json:"totalItems"`
			TotalPages int `json:"totalPages"`
		} `json:"pagination"`
	}
	JSON401 *struct {
		Error struct {
			Code      ListResourceServerAuthorizationDetails401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                            `json:"details,omitempty"`
			Message   string                                                             `json:"message"`
			RequestId *string                                                            `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      ListResourceServerAuthorizationDetails403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                                            `json:"details,omitempty"`
			Message   string                                                             `json:"message"`
			RequestId *string                                                            `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseListResourceServerAuthorizationDetailsResponse

func ParseListResourceServerAuthorizationDetailsResponse(rsp *http.Response) (*ListResourceServerAuthorizationDetailsResponse, error)

ParseListResourceServerAuthorizationDetailsResponse parses an HTTP response from a ListResourceServerAuthorizationDetailsWithResponse call

func (ListResourceServerAuthorizationDetailsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListResourceServerAuthorizationDetailsResponse) Status

Status returns HTTPResponse.Status

func (ListResourceServerAuthorizationDetailsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfigured

type ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfigured bool

ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfigured defines parameters for ListResourceServers.

const (
	ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfiguredTrue ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfigured = true
)

Defines values for ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfigured.

func (ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfigured) Valid

Valid indicates whether the value is a known member of the ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfigured enum.

type ListResourceServers200JSONResponseBodyItemsAuthorizationModel

type ListResourceServers200JSONResponseBodyItemsAuthorizationModel string

ListResourceServers200JSONResponseBodyItemsAuthorizationModel defines parameters for ListResourceServers.

const (
	ListResourceServers200JSONResponseBodyItemsAuthorizationModelExternal ListResourceServers200JSONResponseBodyItemsAuthorizationModel = "external"
	ListResourceServers200JSONResponseBodyItemsAuthorizationModelNative   ListResourceServers200JSONResponseBodyItemsAuthorizationModel = "native"
)

Defines values for ListResourceServers200JSONResponseBodyItemsAuthorizationModel.

func (ListResourceServers200JSONResponseBodyItemsAuthorizationModel) Valid

Valid indicates whether the value is a known member of the ListResourceServers200JSONResponseBodyItemsAuthorizationModel enum.

type ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode

type ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode string

ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode defines parameters for ListResourceServers.

const (
	ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationModeDynamic ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode = "dynamic"
	ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationModeManual  ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode = "manual"
)

Defines values for ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode.

func (ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode) Valid

Valid indicates whether the value is a known member of the ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode enum.

type ListResourceServers200JSONResponseBodyItemsAuthorizationStatus

type ListResourceServers200JSONResponseBodyItemsAuthorizationStatus string

ListResourceServers200JSONResponseBodyItemsAuthorizationStatus defines parameters for ListResourceServers.

const (
	ListResourceServers200JSONResponseBodyItemsAuthorizationStatusActive  ListResourceServers200JSONResponseBodyItemsAuthorizationStatus = "active"
	ListResourceServers200JSONResponseBodyItemsAuthorizationStatusInvalid ListResourceServers200JSONResponseBodyItemsAuthorizationStatus = "invalid"
	ListResourceServers200JSONResponseBodyItemsAuthorizationStatusPending ListResourceServers200JSONResponseBodyItemsAuthorizationStatus = "pending"
)

Defines values for ListResourceServers200JSONResponseBodyItemsAuthorizationStatus.

func (ListResourceServers200JSONResponseBodyItemsAuthorizationStatus) Valid

Valid indicates whether the value is a known member of the ListResourceServers200JSONResponseBodyItemsAuthorizationStatus enum.

type ListResourceServers200JSONResponseBodyItemsAvailabilityStatus

type ListResourceServers200JSONResponseBodyItemsAvailabilityStatus string

ListResourceServers200JSONResponseBodyItemsAvailabilityStatus defines parameters for ListResourceServers.

const (
	ListResourceServers200JSONResponseBodyItemsAvailabilityStatusAvailable   ListResourceServers200JSONResponseBodyItemsAvailabilityStatus = "available"
	ListResourceServers200JSONResponseBodyItemsAvailabilityStatusUnavailable ListResourceServers200JSONResponseBodyItemsAvailabilityStatus = "unavailable"
)

Defines values for ListResourceServers200JSONResponseBodyItemsAvailabilityStatus.

func (ListResourceServers200JSONResponseBodyItemsAvailabilityStatus) Valid

Valid indicates whether the value is a known member of the ListResourceServers200JSONResponseBodyItemsAvailabilityStatus enum.

type ListResourceServers200JSONResponseBodyItemsConnectionStatus

type ListResourceServers200JSONResponseBodyItemsConnectionStatus string

ListResourceServers200JSONResponseBodyItemsConnectionStatus defines parameters for ListResourceServers.

const (
	ListResourceServers200JSONResponseBodyItemsConnectionStatusConnected    ListResourceServers200JSONResponseBodyItemsConnectionStatus = "connected"
	ListResourceServers200JSONResponseBodyItemsConnectionStatusNotConnected ListResourceServers200JSONResponseBodyItemsConnectionStatus = "not_connected"
	ListResourceServers200JSONResponseBodyItemsConnectionStatusNotRequired  ListResourceServers200JSONResponseBodyItemsConnectionStatus = "not_required"
)

Defines values for ListResourceServers200JSONResponseBodyItemsConnectionStatus.

func (ListResourceServers200JSONResponseBodyItemsConnectionStatus) Valid

Valid indicates whether the value is a known member of the ListResourceServers200JSONResponseBodyItemsConnectionStatus enum.

type ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode

type ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode string

ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode defines parameters for ListResourceServers.

const (
	ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantModeAssigned  ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode = "assigned"
	ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantModeAutomatic ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode = "automatic"
)

Defines values for ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode.

func (ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode) Valid

Valid indicates whether the value is a known member of the ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode enum.

type ListResourceServers200JSONResponseBodyItemsVisibility

type ListResourceServers200JSONResponseBodyItemsVisibility string

ListResourceServers200JSONResponseBodyItemsVisibility defines parameters for ListResourceServers.

const (
	ListResourceServers200JSONResponseBodyItemsVisibilityPrivate ListResourceServers200JSONResponseBodyItemsVisibility = "private"
	ListResourceServers200JSONResponseBodyItemsVisibilityPublic  ListResourceServers200JSONResponseBodyItemsVisibility = "public"
)

Defines values for ListResourceServers200JSONResponseBodyItemsVisibility.

func (ListResourceServers200JSONResponseBodyItemsVisibility) Valid

Valid indicates whether the value is a known member of the ListResourceServers200JSONResponseBodyItemsVisibility enum.

type ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item

type ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item struct {
	Type                 string            `json:"type"`
	AdditionalProperties map[string]string `json:"-"`
}

ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item defines parameters for ListResourceServers.

func (ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item) Get

Getter for additional properties for ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item. Returns the specified element and whether it was found

func (ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item) MarshalJSON

Override default JSON handling for ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item to handle AdditionalProperties

func (*ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item) Set

Setter for additional properties for ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item

func (*ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item) UnmarshalJSON

Override default JSON handling for ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item to handle AdditionalProperties

type ListResourceServers401JSONResponseBodyErrorCode

type ListResourceServers401JSONResponseBodyErrorCode string

ListResourceServers401JSONResponseBodyErrorCode defines parameters for ListResourceServers.

const (
	ListResourceServers401JSONResponseBodyErrorCodeBadGateway           ListResourceServers401JSONResponseBodyErrorCode = "bad_gateway"
	ListResourceServers401JSONResponseBodyErrorCodeBadRequest           ListResourceServers401JSONResponseBodyErrorCode = "bad_request"
	ListResourceServers401JSONResponseBodyErrorCodeConflict             ListResourceServers401JSONResponseBodyErrorCode = "conflict"
	ListResourceServers401JSONResponseBodyErrorCodeForbidden            ListResourceServers401JSONResponseBodyErrorCode = "forbidden"
	ListResourceServers401JSONResponseBodyErrorCodeInternalError        ListResourceServers401JSONResponseBodyErrorCode = "internal_error"
	ListResourceServers401JSONResponseBodyErrorCodeNotFound             ListResourceServers401JSONResponseBodyErrorCode = "not_found"
	ListResourceServers401JSONResponseBodyErrorCodePreconditionFailed   ListResourceServers401JSONResponseBodyErrorCode = "precondition_failed"
	ListResourceServers401JSONResponseBodyErrorCodePreconditionRequired ListResourceServers401JSONResponseBodyErrorCode = "precondition_required"
	ListResourceServers401JSONResponseBodyErrorCodeResourceInUse        ListResourceServers401JSONResponseBodyErrorCode = "resource_in_use"
	ListResourceServers401JSONResponseBodyErrorCodeUnauthorized         ListResourceServers401JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for ListResourceServers401JSONResponseBodyErrorCode.

func (ListResourceServers401JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the ListResourceServers401JSONResponseBodyErrorCode enum.

type ListResourceServers403JSONResponseBodyErrorCode

type ListResourceServers403JSONResponseBodyErrorCode string

ListResourceServers403JSONResponseBodyErrorCode defines parameters for ListResourceServers.

const (
	ListResourceServers403JSONResponseBodyErrorCodeBadGateway           ListResourceServers403JSONResponseBodyErrorCode = "bad_gateway"
	ListResourceServers403JSONResponseBodyErrorCodeBadRequest           ListResourceServers403JSONResponseBodyErrorCode = "bad_request"
	ListResourceServers403JSONResponseBodyErrorCodeConflict             ListResourceServers403JSONResponseBodyErrorCode = "conflict"
	ListResourceServers403JSONResponseBodyErrorCodeForbidden            ListResourceServers403JSONResponseBodyErrorCode = "forbidden"
	ListResourceServers403JSONResponseBodyErrorCodeInternalError        ListResourceServers403JSONResponseBodyErrorCode = "internal_error"
	ListResourceServers403JSONResponseBodyErrorCodeNotFound             ListResourceServers403JSONResponseBodyErrorCode = "not_found"
	ListResourceServers403JSONResponseBodyErrorCodePreconditionFailed   ListResourceServers403JSONResponseBodyErrorCode = "precondition_failed"
	ListResourceServers403JSONResponseBodyErrorCodePreconditionRequired ListResourceServers403JSONResponseBodyErrorCode = "precondition_required"
	ListResourceServers403JSONResponseBodyErrorCodeResourceInUse        ListResourceServers403JSONResponseBodyErrorCode = "resource_in_use"
	ListResourceServers403JSONResponseBodyErrorCodeUnauthorized         ListResourceServers403JSONResponseBodyErrorCode = "unauthorized"
)

Defines values for ListResourceServers403JSONResponseBodyErrorCode.

func (ListResourceServers403JSONResponseBodyErrorCode) Valid

Valid indicates whether the value is a known member of the ListResourceServers403JSONResponseBodyErrorCode enum.

type ListResourceServersParams

type ListResourceServersParams struct {
	Page                *int    `form:"page,omitempty" json:"page,omitempty"`
	PageSize            *int    `form:"pageSize,omitempty" json:"pageSize,omitempty"`
	OwnerOrganizationId *string `form:"ownerOrganizationId,omitempty" json:"ownerOrganizationId,omitempty"`
}

ListResourceServersParams defines parameters for ListResourceServers.

type ListResourceServersResponse

type ListResourceServersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []struct {
			Authorization struct {
				AuthorizationDetailsCatalogEndpoint string                                                                         `json:"authorizationDetailsCatalogEndpoint"`
				AuthorizationDetailsCatalogScope    string                                                                         `json:"authorizationDetailsCatalogScope"`
				AuthorizationDetailsTypesSupported  []string                                                                       `json:"authorizationDetailsTypesSupported"`
				AuthorizationEndpoint               string                                                                         `json:"authorizationEndpoint"`
				ClientId                            string                                                                         `json:"clientId"`
				ClientSecretConfigured              ListResourceServers200JSONResponseBodyItemsAuthorizationClientSecretConfigured `json:"clientSecretConfigured"`
				ConnectorId                         string                                                                         `json:"connectorId"`
				CreatedAt                           time.Time                                                                      `json:"createdAt"`
				Issuer                              string                                                                         `json:"issuer"`
				JwksUri                             string                                                                         `json:"jwksUri"`
				PushedAuthorizationRequestEndpoint  string                                                                         `json:"pushedAuthorizationRequestEndpoint"`
				RegistrationEndpoint                string                                                                         `json:"registrationEndpoint"`
				RegistrationMode                    ListResourceServers200JSONResponseBodyItemsAuthorizationRegistrationMode       `json:"registrationMode"`
				ResourceUrl                         string                                                                         `json:"resourceUrl"`
				RevocationEndpoint                  string                                                                         `json:"revocationEndpoint"`
				Status                              ListResourceServers200JSONResponseBodyItemsAuthorizationStatus                 `json:"status"`
				TokenEndpoint                       string                                                                         `json:"tokenEndpoint"`
				UpdatedAt                           time.Time                                                                      `json:"updatedAt"`
				UserInfoEndpoint                    string                                                                         `json:"userInfoEndpoint"`
			} `json:"authorization"`
			AuthorizationDetails []ListResourceServers200JSONResponseBody_Items_AuthorizationDetails_Item `json:"authorizationDetails"`
			AuthorizationModel   ListResourceServers200JSONResponseBodyItemsAuthorizationModel            `json:"authorizationModel"`
			Availability         struct {
				CheckedAt time.Time                                                     `json:"checkedAt"`
				Status    ListResourceServers200JSONResponseBodyItemsAvailabilityStatus `json:"status"`
			} `json:"availability"`
			AvailableToAgents bool `json:"availableToAgents"`
			Connection        struct {
				AuthorizedScopes []string                                                    `json:"authorizedScopes"`
				DisplayName      string                                                      `json:"displayName"`
				Status           ListResourceServers200JSONResponseBodyItemsConnectionStatus `json:"status"`
			} `json:"connection"`
			ConnectorId string `json:"connectorId"`
			CreatedAt   string `json:"createdAt"`
			Description string `json:"description"`
			Enabled     bool   `json:"enabled"`
			Id          string `json:"id"`
			Identifier  string `json:"identifier"`
			Links       struct {
				AuthorizationDetails string `json:"authorizationDetails"`
				Self                 string `json:"self"`
			} `json:"links"`
			Name                string `json:"name"`
			OwnerOrganizationId string `json:"ownerOrganizationId"`
			ResourceUrl         string `json:"resourceUrl"`
			ScopeRegistry       struct {
				Discovery struct {
					DocumentHash string `json:"documentHash"`
					Etag         string `json:"etag"`
					LastError    struct {
						Code    string `json:"code"`
						Message string `json:"message"`
					} `json:"lastError"`
					SourceUrl string    `json:"sourceUrl"`
					SyncedAt  time.Time `json:"syncedAt"`
				} `json:"discovery"`
				Scopes []struct {
					Description string                                                                  `json:"description"`
					GrantMode   ListResourceServers200JSONResponseBodyItemsScopeRegistryScopesGrantMode `json:"grantMode"`
					Value       string                                                                  `json:"value"`
				} `json:"scopes"`
			} `json:"scopeRegistry"`
			Scopes []struct {
				Description string `json:"description"`
				Value       string `json:"value"`
			} `json:"scopes"`
			UpdatedAt  string                                                `json:"updatedAt"`
			Visibility ListResourceServers200JSONResponseBodyItemsVisibility `json:"visibility"`
		} `json:"items"`
		Pagination struct {
			Page       int `json:"page"`
			PageSize   int `json:"pageSize"`
			TotalItems int `json:"totalItems"`
			TotalPages int `json:"totalPages"`
		} `json:"pagination"`
	}
	JSON401 *struct {
		Error struct {
			Code      ListResourceServers401JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                         `json:"details,omitempty"`
			Message   string                                          `json:"message"`
			RequestId *string                                         `json:"requestId,omitempty"`
		} `json:"error"`
	}
	JSON403 *struct {
		Error struct {
			Code      ListResourceServers403JSONResponseBodyErrorCode `json:"code"`
			Details   *map[string]interface{}                         `json:"details,omitempty"`
			Message   string                                          `json:"message"`
			RequestId *string                                         `json:"requestId,omitempty"`
		} `json:"error"`
	}
}

func ParseListResourceServersResponse

func ParseListResourceServersResponse(rsp *http.Response) (*ListResourceServersResponse, error)

ParseListResourceServersResponse parses an HTTP response from a ListResourceServersWithResponse call

func (ListResourceServersResponse) ContentType

func (r ListResourceServersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListResourceServersResponse) Status

Status returns HTTPResponse.Status

func (ListResourceServersResponse) StatusCode

func (r ListResourceServersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

Jump to

Keyboard shortcuts

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