Documentation
¶
Overview ¶
Package internal provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
- Constants
- func NewAddClaimDialectRequest(server string, body AddClaimDialectJSONRequestBody) (*http.Request, error)
- func NewAddClaimDialectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddExternalClaimRequest(server string, dialectId DialectIdPathParam, ...) (*http.Request, error)
- func NewAddExternalClaimRequestWithBody(server string, dialectId DialectIdPathParam, contentType string, ...) (*http.Request, error)
- func NewAddLocalClaimRequest(server string, body AddLocalClaimJSONRequestBody) (*http.Request, error)
- func NewAddLocalClaimRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteClaimDialectRequest(server string, dialectId DialectIdPathParam) (*http.Request, error)
- func NewDeleteExternalClaimRequest(server string, dialectId DialectIdPathParam, claimId ClaimIdPathParam) (*http.Request, error)
- func NewDeleteLocalClaimRequest(server string, claimId ClaimIdPathParam) (*http.Request, error)
- func NewExportClaimDialectToFileRequest(server string, dialectId DialectIdPathParam, ...) (*http.Request, error)
- func NewGetClaimDialectRequest(server string, dialectId DialectIdPathParam) (*http.Request, error)
- func NewGetClaimDialectsRequest(server string, params *GetClaimDialectsParams) (*http.Request, error)
- func NewGetExternalClaimRequest(server string, dialectId DialectIdPathParam, claimId ClaimIdPathParam) (*http.Request, error)
- func NewGetExternalClaimsRequest(server string, dialectId DialectIdPathParam, params *GetExternalClaimsParams) (*http.Request, error)
- func NewGetLocalClaimRequest(server string, claimId ClaimIdPathParam) (*http.Request, error)
- func NewGetLocalClaimsRequest(server string, params *GetLocalClaimsParams) (*http.Request, error)
- func NewImportClaimDialectFromFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateClaimDialectFromFileRequestWithBody(server string, params *UpdateClaimDialectFromFileParams, contentType string, ...) (*http.Request, error)
- func NewUpdateClaimDialectRequest(server string, dialectId DialectIdPathParam, ...) (*http.Request, error)
- func NewUpdateClaimDialectRequestWithBody(server string, dialectId DialectIdPathParam, contentType string, ...) (*http.Request, error)
- func NewUpdateExternalClaimRequest(server string, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*http.Request, error)
- func NewUpdateExternalClaimRequestWithBody(server string, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*http.Request, error)
- func NewUpdateLocalClaimRequest(server string, claimId ClaimIdPathParam, body UpdateLocalClaimJSONRequestBody) (*http.Request, error)
- func NewUpdateLocalClaimRequestWithBody(server string, claimId ClaimIdPathParam, contentType string, body io.Reader) (*http.Request, error)
- type AddClaimDialectJSONRequestBody
- type AddClaimDialectResponse
- type AddExternalClaimJSONRequestBody
- type AddExternalClaimResponse
- type AddLocalClaimJSONRequestBody
- type AddLocalClaimResponse
- type AttributeMapping
- type AttributeProfile
- type AttributesQueryParam
- type ClaimDialectReq
- type ClaimDialectRes
- type ClaimIdPathParam
- type ClaimRes
- type Client
- func (c *Client) AddClaimDialect(ctx context.Context, body AddClaimDialectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddClaimDialectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddExternalClaim(ctx context.Context, dialectId DialectIdPathParam, ...) (*http.Response, error)
- func (c *Client) AddExternalClaimWithBody(ctx context.Context, dialectId DialectIdPathParam, contentType string, ...) (*http.Response, error)
- func (c *Client) AddLocalClaim(ctx context.Context, body AddLocalClaimJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddLocalClaimWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteClaimDialect(ctx context.Context, dialectId DialectIdPathParam, ...) (*http.Response, error)
- func (c *Client) DeleteExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*http.Response, error)
- func (c *Client) DeleteLocalClaim(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ExportClaimDialectToFile(ctx context.Context, dialectId DialectIdPathParam, ...) (*http.Response, error)
- func (c *Client) GetClaimDialect(ctx context.Context, dialectId DialectIdPathParam, ...) (*http.Response, error)
- func (c *Client) GetClaimDialects(ctx context.Context, params *GetClaimDialectsParams, ...) (*http.Response, error)
- func (c *Client) GetExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*http.Response, error)
- func (c *Client) GetExternalClaims(ctx context.Context, dialectId DialectIdPathParam, ...) (*http.Response, error)
- func (c *Client) GetLocalClaim(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLocalClaims(ctx context.Context, params *GetLocalClaimsParams, ...) (*http.Response, error)
- func (c *Client) ImportClaimDialectFromFileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateClaimDialect(ctx context.Context, dialectId DialectIdPathParam, ...) (*http.Response, error)
- func (c *Client) UpdateClaimDialectFromFileWithBody(ctx context.Context, params *UpdateClaimDialectFromFileParams, ...) (*http.Response, error)
- func (c *Client) UpdateClaimDialectWithBody(ctx context.Context, dialectId DialectIdPathParam, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*http.Response, error)
- func (c *Client) UpdateExternalClaimWithBody(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*http.Response, error)
- func (c *Client) UpdateLocalClaim(ctx context.Context, claimId ClaimIdPathParam, ...) (*http.Response, error)
- func (c *Client) UpdateLocalClaimWithBody(ctx context.Context, claimId ClaimIdPathParam, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddClaimDialectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddClaimDialectResponse, error)
- func (c *ClientWithResponses) AddClaimDialectWithResponse(ctx context.Context, body AddClaimDialectJSONRequestBody, ...) (*AddClaimDialectResponse, error)
- func (c *ClientWithResponses) AddExternalClaimWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, contentType string, ...) (*AddExternalClaimResponse, error)
- func (c *ClientWithResponses) AddExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, ...) (*AddExternalClaimResponse, error)
- func (c *ClientWithResponses) AddLocalClaimWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddLocalClaimResponse, error)
- func (c *ClientWithResponses) AddLocalClaimWithResponse(ctx context.Context, body AddLocalClaimJSONRequestBody, ...) (*AddLocalClaimResponse, error)
- func (c *ClientWithResponses) DeleteClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, ...) (*DeleteClaimDialectResponse, error)
- func (c *ClientWithResponses) DeleteExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*DeleteExternalClaimResponse, error)
- func (c *ClientWithResponses) DeleteLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*DeleteLocalClaimResponse, error)
- func (c *ClientWithResponses) ExportClaimDialectToFileWithResponse(ctx context.Context, dialectId DialectIdPathParam, ...) (*ExportClaimDialectToFileResponse, error)
- func (c *ClientWithResponses) GetClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, ...) (*GetClaimDialectResponse, error)
- func (c *ClientWithResponses) GetClaimDialectsWithResponse(ctx context.Context, params *GetClaimDialectsParams, ...) (*GetClaimDialectsResponse, error)
- func (c *ClientWithResponses) GetExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*GetExternalClaimResponse, error)
- func (c *ClientWithResponses) GetExternalClaimsWithResponse(ctx context.Context, dialectId DialectIdPathParam, ...) (*GetExternalClaimsResponse, error)
- func (c *ClientWithResponses) GetLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*GetLocalClaimResponse, error)
- func (c *ClientWithResponses) GetLocalClaimsWithResponse(ctx context.Context, params *GetLocalClaimsParams, ...) (*GetLocalClaimsResponse, error)
- func (c *ClientWithResponses) ImportClaimDialectFromFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ImportClaimDialectFromFileResponse, error)
- func (c *ClientWithResponses) UpdateClaimDialectFromFileWithBodyWithResponse(ctx context.Context, params *UpdateClaimDialectFromFileParams, ...) (*UpdateClaimDialectFromFileResponse, error)
- func (c *ClientWithResponses) UpdateClaimDialectWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, contentType string, ...) (*UpdateClaimDialectResponse, error)
- func (c *ClientWithResponses) UpdateClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, ...) (*UpdateClaimDialectResponse, error)
- func (c *ClientWithResponses) UpdateExternalClaimWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*UpdateExternalClaimResponse, error)
- func (c *ClientWithResponses) UpdateExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, ...) (*UpdateExternalClaimResponse, error)
- func (c *ClientWithResponses) UpdateLocalClaimWithBodyWithResponse(ctx context.Context, claimId ClaimIdPathParam, contentType string, ...) (*UpdateLocalClaimResponse, error)
- func (c *ClientWithResponses) UpdateLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, ...) (*UpdateLocalClaimResponse, error)
- type ClientWithResponsesInterface
- type Conflict
- type DeleteClaimDialectResponse
- type DeleteExternalClaimResponse
- type DeleteLocalClaimResponse
- type DialectIdPathParam
- type Error
- type ExcludeHiddenClaimsQueryParam
- type ExcludeIdentityClaimsQueryParam
- type ExportClaimDialectToFileParams
- type ExportClaimDialectToFileParamsAccept
- type ExportClaimDialectToFileResponse
- type ExternalClaimReq
- type ExternalClaimRes
- type FileParam
- type FileTypeHeaderParam
- type FilterQueryParam
- type GetClaimDialectResponse
- type GetClaimDialectsParams
- type GetClaimDialectsResponse
- type GetExternalClaimResponse
- type GetExternalClaimsParams
- type GetExternalClaimsResponse
- type GetLocalClaimResponse
- type GetLocalClaimsParams
- type GetLocalClaimsResponse
- type HttpRequestDoer
- type ImportClaimDialectFromFileMultipartBody
- type ImportClaimDialectFromFileMultipartRequestBody
- type ImportClaimDialectFromFileResponse
- type InvalidInput
- type LimitQueryParam
- type Link
- type LocalClaimReq
- type LocalClaimReqSharedProfileValueResolvingMethod
- type LocalClaimReqUniquenessScope
- type LocalClaimRes
- type LocalClaimResSharedProfileValueResolvingMethod
- type LocalClaimResUniquenessScope
- type NotFound
- type NotImplemented
- type OffsetQueryParam
- type PreserveClaimsParam
- type Profiles
- type Property
- type RequestEditorFn
- type ServerError
- type SortQueryParam
- type UpdateClaimDialectFromFileMultipartBody
- type UpdateClaimDialectFromFileMultipartRequestBody
- type UpdateClaimDialectFromFileParams
- type UpdateClaimDialectFromFileResponse
- type UpdateClaimDialectJSONRequestBody
- type UpdateClaimDialectResponse
- type UpdateExternalClaimJSONRequestBody
- type UpdateExternalClaimResponse
- type UpdateLocalClaimJSONRequestBody
- type UpdateLocalClaimResponse
Constants ¶
const ( BasicAuthScopes = "BasicAuth.Scopes" OAuth2Scopes = "OAuth2.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewAddClaimDialectRequest ¶ added in v0.0.14
func NewAddClaimDialectRequest(server string, body AddClaimDialectJSONRequestBody) (*http.Request, error)
NewAddClaimDialectRequest calls the generic AddClaimDialect builder with application/json body
func NewAddClaimDialectRequestWithBody ¶ added in v0.0.14
func NewAddClaimDialectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAddClaimDialectRequestWithBody generates requests for AddClaimDialect with any type of body
func NewAddExternalClaimRequest ¶ added in v0.0.14
func NewAddExternalClaimRequest(server string, dialectId DialectIdPathParam, body AddExternalClaimJSONRequestBody) (*http.Request, error)
NewAddExternalClaimRequest calls the generic AddExternalClaim builder with application/json body
func NewAddExternalClaimRequestWithBody ¶ added in v0.0.14
func NewAddExternalClaimRequestWithBody(server string, dialectId DialectIdPathParam, contentType string, body io.Reader) (*http.Request, error)
NewAddExternalClaimRequestWithBody generates requests for AddExternalClaim with any type of body
func NewAddLocalClaimRequest ¶ added in v0.0.14
func NewAddLocalClaimRequest(server string, body AddLocalClaimJSONRequestBody) (*http.Request, error)
NewAddLocalClaimRequest calls the generic AddLocalClaim builder with application/json body
func NewAddLocalClaimRequestWithBody ¶ added in v0.0.14
func NewAddLocalClaimRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAddLocalClaimRequestWithBody generates requests for AddLocalClaim with any type of body
func NewDeleteClaimDialectRequest ¶ added in v0.0.14
func NewDeleteClaimDialectRequest(server string, dialectId DialectIdPathParam) (*http.Request, error)
NewDeleteClaimDialectRequest generates requests for DeleteClaimDialect
func NewDeleteExternalClaimRequest ¶ added in v0.0.14
func NewDeleteExternalClaimRequest(server string, dialectId DialectIdPathParam, claimId ClaimIdPathParam) (*http.Request, error)
NewDeleteExternalClaimRequest generates requests for DeleteExternalClaim
func NewDeleteLocalClaimRequest ¶ added in v0.0.14
func NewDeleteLocalClaimRequest(server string, claimId ClaimIdPathParam) (*http.Request, error)
NewDeleteLocalClaimRequest generates requests for DeleteLocalClaim
func NewExportClaimDialectToFileRequest ¶ added in v0.0.14
func NewExportClaimDialectToFileRequest(server string, dialectId DialectIdPathParam, params *ExportClaimDialectToFileParams) (*http.Request, error)
NewExportClaimDialectToFileRequest generates requests for ExportClaimDialectToFile
func NewGetClaimDialectRequest ¶ added in v0.0.14
func NewGetClaimDialectRequest(server string, dialectId DialectIdPathParam) (*http.Request, error)
NewGetClaimDialectRequest generates requests for GetClaimDialect
func NewGetClaimDialectsRequest ¶ added in v0.0.14
func NewGetClaimDialectsRequest(server string, params *GetClaimDialectsParams) (*http.Request, error)
NewGetClaimDialectsRequest generates requests for GetClaimDialects
func NewGetExternalClaimRequest ¶ added in v0.0.14
func NewGetExternalClaimRequest(server string, dialectId DialectIdPathParam, claimId ClaimIdPathParam) (*http.Request, error)
NewGetExternalClaimRequest generates requests for GetExternalClaim
func NewGetExternalClaimsRequest ¶ added in v0.0.14
func NewGetExternalClaimsRequest(server string, dialectId DialectIdPathParam, params *GetExternalClaimsParams) (*http.Request, error)
NewGetExternalClaimsRequest generates requests for GetExternalClaims
func NewGetLocalClaimRequest ¶ added in v0.0.14
func NewGetLocalClaimRequest(server string, claimId ClaimIdPathParam) (*http.Request, error)
NewGetLocalClaimRequest generates requests for GetLocalClaim
func NewGetLocalClaimsRequest ¶
func NewGetLocalClaimsRequest(server string, params *GetLocalClaimsParams) (*http.Request, error)
NewGetLocalClaimsRequest generates requests for GetLocalClaims
func NewImportClaimDialectFromFileRequestWithBody ¶ added in v0.0.14
func NewImportClaimDialectFromFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewImportClaimDialectFromFileRequestWithBody generates requests for ImportClaimDialectFromFile with any type of body
func NewUpdateClaimDialectFromFileRequestWithBody ¶ added in v0.0.14
func NewUpdateClaimDialectFromFileRequestWithBody(server string, params *UpdateClaimDialectFromFileParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateClaimDialectFromFileRequestWithBody generates requests for UpdateClaimDialectFromFile with any type of body
func NewUpdateClaimDialectRequest ¶ added in v0.0.14
func NewUpdateClaimDialectRequest(server string, dialectId DialectIdPathParam, body UpdateClaimDialectJSONRequestBody) (*http.Request, error)
NewUpdateClaimDialectRequest calls the generic UpdateClaimDialect builder with application/json body
func NewUpdateClaimDialectRequestWithBody ¶ added in v0.0.14
func NewUpdateClaimDialectRequestWithBody(server string, dialectId DialectIdPathParam, contentType string, body io.Reader) (*http.Request, error)
NewUpdateClaimDialectRequestWithBody generates requests for UpdateClaimDialect with any type of body
func NewUpdateExternalClaimRequest ¶ added in v0.0.14
func NewUpdateExternalClaimRequest(server string, dialectId DialectIdPathParam, claimId ClaimIdPathParam, body UpdateExternalClaimJSONRequestBody) (*http.Request, error)
NewUpdateExternalClaimRequest calls the generic UpdateExternalClaim builder with application/json body
func NewUpdateExternalClaimRequestWithBody ¶ added in v0.0.14
func NewUpdateExternalClaimRequestWithBody(server string, dialectId DialectIdPathParam, claimId ClaimIdPathParam, contentType string, body io.Reader) (*http.Request, error)
NewUpdateExternalClaimRequestWithBody generates requests for UpdateExternalClaim with any type of body
func NewUpdateLocalClaimRequest ¶ added in v0.0.14
func NewUpdateLocalClaimRequest(server string, claimId ClaimIdPathParam, body UpdateLocalClaimJSONRequestBody) (*http.Request, error)
NewUpdateLocalClaimRequest calls the generic UpdateLocalClaim builder with application/json body
func NewUpdateLocalClaimRequestWithBody ¶ added in v0.0.14
func NewUpdateLocalClaimRequestWithBody(server string, claimId ClaimIdPathParam, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLocalClaimRequestWithBody generates requests for UpdateLocalClaim with any type of body
Types ¶
type AddClaimDialectJSONRequestBody ¶ added in v0.0.14
type AddClaimDialectJSONRequestBody = ClaimDialectReq
AddClaimDialectJSONRequestBody defines body for AddClaimDialect for application/json ContentType.
type AddClaimDialectResponse ¶ added in v0.0.14
type AddClaimDialectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON409 *Conflict
JSON500 *ServerError
}
func ParseAddClaimDialectResponse ¶ added in v0.0.14
func ParseAddClaimDialectResponse(rsp *http.Response) (*AddClaimDialectResponse, error)
ParseAddClaimDialectResponse parses an HTTP response from a AddClaimDialectWithResponse call
func (AddClaimDialectResponse) Status ¶ added in v0.0.14
func (r AddClaimDialectResponse) Status() string
Status returns HTTPResponse.Status
func (AddClaimDialectResponse) StatusCode ¶ added in v0.0.14
func (r AddClaimDialectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddExternalClaimJSONRequestBody ¶ added in v0.0.14
type AddExternalClaimJSONRequestBody = ExternalClaimReq
AddExternalClaimJSONRequestBody defines body for AddExternalClaim for application/json ContentType.
type AddExternalClaimResponse ¶ added in v0.0.14
type AddExternalClaimResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON404 *NotFound
JSON409 *Conflict
JSON500 *ServerError
}
func ParseAddExternalClaimResponse ¶ added in v0.0.14
func ParseAddExternalClaimResponse(rsp *http.Response) (*AddExternalClaimResponse, error)
ParseAddExternalClaimResponse parses an HTTP response from a AddExternalClaimWithResponse call
func (AddExternalClaimResponse) Status ¶ added in v0.0.14
func (r AddExternalClaimResponse) Status() string
Status returns HTTPResponse.Status
func (AddExternalClaimResponse) StatusCode ¶ added in v0.0.14
func (r AddExternalClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddLocalClaimJSONRequestBody ¶ added in v0.0.14
type AddLocalClaimJSONRequestBody = LocalClaimReq
AddLocalClaimJSONRequestBody defines body for AddLocalClaim for application/json ContentType.
type AddLocalClaimResponse ¶ added in v0.0.14
type AddLocalClaimResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON409 *Conflict
JSON500 *ServerError
}
func ParseAddLocalClaimResponse ¶ added in v0.0.14
func ParseAddLocalClaimResponse(rsp *http.Response) (*AddLocalClaimResponse, error)
ParseAddLocalClaimResponse parses an HTTP response from a AddLocalClaimWithResponse call
func (AddLocalClaimResponse) Status ¶ added in v0.0.14
func (r AddLocalClaimResponse) Status() string
Status returns HTTPResponse.Status
func (AddLocalClaimResponse) StatusCode ¶ added in v0.0.14
func (r AddLocalClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttributeMapping ¶
type AttributeMapping struct {
// MappedAttribute Userstore attribute to be mapped to.
MappedAttribute string `json:"mappedAttribute"`
// Userstore Userstore domain name.
Userstore string `json:"userstore"`
}
AttributeMapping Claim userstore attribute mapping.
type AttributeProfile ¶
type AttributeProfile struct {
ReadOnly *bool `json:"readOnly,omitempty"`
Required *bool `json:"required,omitempty"`
SupportedByDefault *bool `json:"supportedByDefault,omitempty"`
}
AttributeProfile defines model for AttributeProfile.
type AttributesQueryParam ¶ added in v0.0.14
type AttributesQueryParam = string
AttributesQueryParam defines model for attributesQueryParam.
type ClaimDialectReq ¶ added in v0.0.14
type ClaimDialectReq struct {
// DialectURI URI of the claim dialect.
DialectURI string `json:"dialectURI"`
}
ClaimDialectReq Claim dialect request.
type ClaimDialectRes ¶ added in v0.0.14
type ClaimDialectRes struct {
// DialectURI URI of the claim dialect.
DialectURI *string `json:"dialectURI,omitempty"`
// Id Dialect id.
Id *string `json:"id,omitempty"`
Link *Link `json:"link,omitempty"`
}
ClaimDialectRes Claim dialect response.
type ClaimIdPathParam ¶ added in v0.0.14
type ClaimIdPathParam = string
ClaimIdPathParam defines model for claimIdPathParam.
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) AddClaimDialect ¶ added in v0.0.14
func (c *Client) AddClaimDialect(ctx context.Context, body AddClaimDialectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddClaimDialectWithBody ¶ added in v0.0.14
func (*Client) AddExternalClaim ¶ added in v0.0.14
func (c *Client) AddExternalClaim(ctx context.Context, dialectId DialectIdPathParam, body AddExternalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddExternalClaimWithBody ¶ added in v0.0.14
func (*Client) AddLocalClaim ¶ added in v0.0.14
func (c *Client) AddLocalClaim(ctx context.Context, body AddLocalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddLocalClaimWithBody ¶ added in v0.0.14
func (*Client) DeleteClaimDialect ¶ added in v0.0.14
func (c *Client) DeleteClaimDialect(ctx context.Context, dialectId DialectIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteExternalClaim ¶ added in v0.0.14
func (c *Client) DeleteExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteLocalClaim ¶ added in v0.0.14
func (c *Client) DeleteLocalClaim(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExportClaimDialectToFile ¶ added in v0.0.14
func (c *Client) ExportClaimDialectToFile(ctx context.Context, dialectId DialectIdPathParam, params *ExportClaimDialectToFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetClaimDialect ¶ added in v0.0.14
func (c *Client) GetClaimDialect(ctx context.Context, dialectId DialectIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetClaimDialects ¶ added in v0.0.14
func (c *Client) GetClaimDialects(ctx context.Context, params *GetClaimDialectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetExternalClaim ¶ added in v0.0.14
func (c *Client) GetExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetExternalClaims ¶ added in v0.0.14
func (c *Client) GetExternalClaims(ctx context.Context, dialectId DialectIdPathParam, params *GetExternalClaimsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLocalClaim ¶ added in v0.0.14
func (c *Client) GetLocalClaim(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLocalClaims ¶
func (c *Client) GetLocalClaims(ctx context.Context, params *GetLocalClaimsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ImportClaimDialectFromFileWithBody ¶ added in v0.0.14
func (*Client) UpdateClaimDialect ¶ added in v0.0.14
func (c *Client) UpdateClaimDialect(ctx context.Context, dialectId DialectIdPathParam, body UpdateClaimDialectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateClaimDialectFromFileWithBody ¶ added in v0.0.14
func (*Client) UpdateClaimDialectWithBody ¶ added in v0.0.14
func (*Client) UpdateExternalClaim ¶ added in v0.0.14
func (c *Client) UpdateExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, body UpdateExternalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateExternalClaimWithBody ¶ added in v0.0.14
func (c *Client) UpdateExternalClaimWithBody(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLocalClaim ¶ added in v0.0.14
func (c *Client) UpdateLocalClaim(ctx context.Context, claimId ClaimIdPathParam, body UpdateLocalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLocalClaimWithBody ¶ added in v0.0.14
type ClientInterface ¶
type ClientInterface interface {
// GetClaimDialects request
GetClaimDialects(ctx context.Context, params *GetClaimDialectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddClaimDialectWithBody request with any body
AddClaimDialectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddClaimDialect(ctx context.Context, body AddClaimDialectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportClaimDialectFromFileWithBody request with any body
ImportClaimDialectFromFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateClaimDialectFromFileWithBody request with any body
UpdateClaimDialectFromFileWithBody(ctx context.Context, params *UpdateClaimDialectFromFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLocalClaims request
GetLocalClaims(ctx context.Context, params *GetLocalClaimsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddLocalClaimWithBody request with any body
AddLocalClaimWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddLocalClaim(ctx context.Context, body AddLocalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteLocalClaim request
DeleteLocalClaim(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLocalClaim request
GetLocalClaim(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateLocalClaimWithBody request with any body
UpdateLocalClaimWithBody(ctx context.Context, claimId ClaimIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateLocalClaim(ctx context.Context, claimId ClaimIdPathParam, body UpdateLocalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteClaimDialect request
DeleteClaimDialect(ctx context.Context, dialectId DialectIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClaimDialect request
GetClaimDialect(ctx context.Context, dialectId DialectIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateClaimDialectWithBody request with any body
UpdateClaimDialectWithBody(ctx context.Context, dialectId DialectIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateClaimDialect(ctx context.Context, dialectId DialectIdPathParam, body UpdateClaimDialectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExternalClaims request
GetExternalClaims(ctx context.Context, dialectId DialectIdPathParam, params *GetExternalClaimsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddExternalClaimWithBody request with any body
AddExternalClaimWithBody(ctx context.Context, dialectId DialectIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddExternalClaim(ctx context.Context, dialectId DialectIdPathParam, body AddExternalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteExternalClaim request
DeleteExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExternalClaim request
GetExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateExternalClaimWithBody request with any body
UpdateExternalClaimWithBody(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateExternalClaim(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, body UpdateExternalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportClaimDialectToFile request
ExportClaimDialectToFile(ctx context.Context, dialectId DialectIdPathParam, params *ExportClaimDialectToFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddClaimDialectWithBodyWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) AddClaimDialectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddClaimDialectResponse, error)
AddClaimDialectWithBodyWithResponse request with arbitrary body returning *AddClaimDialectResponse
func (*ClientWithResponses) AddClaimDialectWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) AddClaimDialectWithResponse(ctx context.Context, body AddClaimDialectJSONRequestBody, reqEditors ...RequestEditorFn) (*AddClaimDialectResponse, error)
func (*ClientWithResponses) AddExternalClaimWithBodyWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) AddExternalClaimWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddExternalClaimResponse, error)
AddExternalClaimWithBodyWithResponse request with arbitrary body returning *AddExternalClaimResponse
func (*ClientWithResponses) AddExternalClaimWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) AddExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, body AddExternalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExternalClaimResponse, error)
func (*ClientWithResponses) AddLocalClaimWithBodyWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) AddLocalClaimWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddLocalClaimResponse, error)
AddLocalClaimWithBodyWithResponse request with arbitrary body returning *AddLocalClaimResponse
func (*ClientWithResponses) AddLocalClaimWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) AddLocalClaimWithResponse(ctx context.Context, body AddLocalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*AddLocalClaimResponse, error)
func (*ClientWithResponses) DeleteClaimDialectWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) DeleteClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, reqEditors ...RequestEditorFn) (*DeleteClaimDialectResponse, error)
DeleteClaimDialectWithResponse request returning *DeleteClaimDialectResponse
func (*ClientWithResponses) DeleteExternalClaimWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) DeleteExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*DeleteExternalClaimResponse, error)
DeleteExternalClaimWithResponse request returning *DeleteExternalClaimResponse
func (*ClientWithResponses) DeleteLocalClaimWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) DeleteLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*DeleteLocalClaimResponse, error)
DeleteLocalClaimWithResponse request returning *DeleteLocalClaimResponse
func (*ClientWithResponses) ExportClaimDialectToFileWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) ExportClaimDialectToFileWithResponse(ctx context.Context, dialectId DialectIdPathParam, params *ExportClaimDialectToFileParams, reqEditors ...RequestEditorFn) (*ExportClaimDialectToFileResponse, error)
ExportClaimDialectToFileWithResponse request returning *ExportClaimDialectToFileResponse
func (*ClientWithResponses) GetClaimDialectWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) GetClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, reqEditors ...RequestEditorFn) (*GetClaimDialectResponse, error)
GetClaimDialectWithResponse request returning *GetClaimDialectResponse
func (*ClientWithResponses) GetClaimDialectsWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) GetClaimDialectsWithResponse(ctx context.Context, params *GetClaimDialectsParams, reqEditors ...RequestEditorFn) (*GetClaimDialectsResponse, error)
GetClaimDialectsWithResponse request returning *GetClaimDialectsResponse
func (*ClientWithResponses) GetExternalClaimWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) GetExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*GetExternalClaimResponse, error)
GetExternalClaimWithResponse request returning *GetExternalClaimResponse
func (*ClientWithResponses) GetExternalClaimsWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) GetExternalClaimsWithResponse(ctx context.Context, dialectId DialectIdPathParam, params *GetExternalClaimsParams, reqEditors ...RequestEditorFn) (*GetExternalClaimsResponse, error)
GetExternalClaimsWithResponse request returning *GetExternalClaimsResponse
func (*ClientWithResponses) GetLocalClaimWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) GetLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*GetLocalClaimResponse, error)
GetLocalClaimWithResponse request returning *GetLocalClaimResponse
func (*ClientWithResponses) GetLocalClaimsWithResponse ¶
func (c *ClientWithResponses) GetLocalClaimsWithResponse(ctx context.Context, params *GetLocalClaimsParams, reqEditors ...RequestEditorFn) (*GetLocalClaimsResponse, error)
GetLocalClaimsWithResponse request returning *GetLocalClaimsResponse
func (*ClientWithResponses) ImportClaimDialectFromFileWithBodyWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) ImportClaimDialectFromFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportClaimDialectFromFileResponse, error)
ImportClaimDialectFromFileWithBodyWithResponse request with arbitrary body returning *ImportClaimDialectFromFileResponse
func (*ClientWithResponses) UpdateClaimDialectFromFileWithBodyWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) UpdateClaimDialectFromFileWithBodyWithResponse(ctx context.Context, params *UpdateClaimDialectFromFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClaimDialectFromFileResponse, error)
UpdateClaimDialectFromFileWithBodyWithResponse request with arbitrary body returning *UpdateClaimDialectFromFileResponse
func (*ClientWithResponses) UpdateClaimDialectWithBodyWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) UpdateClaimDialectWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClaimDialectResponse, error)
UpdateClaimDialectWithBodyWithResponse request with arbitrary body returning *UpdateClaimDialectResponse
func (*ClientWithResponses) UpdateClaimDialectWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) UpdateClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, body UpdateClaimDialectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClaimDialectResponse, error)
func (*ClientWithResponses) UpdateExternalClaimWithBodyWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) UpdateExternalClaimWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExternalClaimResponse, error)
UpdateExternalClaimWithBodyWithResponse request with arbitrary body returning *UpdateExternalClaimResponse
func (*ClientWithResponses) UpdateExternalClaimWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) UpdateExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, body UpdateExternalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExternalClaimResponse, error)
func (*ClientWithResponses) UpdateLocalClaimWithBodyWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) UpdateLocalClaimWithBodyWithResponse(ctx context.Context, claimId ClaimIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLocalClaimResponse, error)
UpdateLocalClaimWithBodyWithResponse request with arbitrary body returning *UpdateLocalClaimResponse
func (*ClientWithResponses) UpdateLocalClaimWithResponse ¶ added in v0.0.14
func (c *ClientWithResponses) UpdateLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, body UpdateLocalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLocalClaimResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetClaimDialectsWithResponse request
GetClaimDialectsWithResponse(ctx context.Context, params *GetClaimDialectsParams, reqEditors ...RequestEditorFn) (*GetClaimDialectsResponse, error)
// AddClaimDialectWithBodyWithResponse request with any body
AddClaimDialectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddClaimDialectResponse, error)
AddClaimDialectWithResponse(ctx context.Context, body AddClaimDialectJSONRequestBody, reqEditors ...RequestEditorFn) (*AddClaimDialectResponse, error)
// ImportClaimDialectFromFileWithBodyWithResponse request with any body
ImportClaimDialectFromFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportClaimDialectFromFileResponse, error)
// UpdateClaimDialectFromFileWithBodyWithResponse request with any body
UpdateClaimDialectFromFileWithBodyWithResponse(ctx context.Context, params *UpdateClaimDialectFromFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClaimDialectFromFileResponse, error)
// GetLocalClaimsWithResponse request
GetLocalClaimsWithResponse(ctx context.Context, params *GetLocalClaimsParams, reqEditors ...RequestEditorFn) (*GetLocalClaimsResponse, error)
// AddLocalClaimWithBodyWithResponse request with any body
AddLocalClaimWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddLocalClaimResponse, error)
AddLocalClaimWithResponse(ctx context.Context, body AddLocalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*AddLocalClaimResponse, error)
// DeleteLocalClaimWithResponse request
DeleteLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*DeleteLocalClaimResponse, error)
// GetLocalClaimWithResponse request
GetLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*GetLocalClaimResponse, error)
// UpdateLocalClaimWithBodyWithResponse request with any body
UpdateLocalClaimWithBodyWithResponse(ctx context.Context, claimId ClaimIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLocalClaimResponse, error)
UpdateLocalClaimWithResponse(ctx context.Context, claimId ClaimIdPathParam, body UpdateLocalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLocalClaimResponse, error)
// DeleteClaimDialectWithResponse request
DeleteClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, reqEditors ...RequestEditorFn) (*DeleteClaimDialectResponse, error)
// GetClaimDialectWithResponse request
GetClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, reqEditors ...RequestEditorFn) (*GetClaimDialectResponse, error)
// UpdateClaimDialectWithBodyWithResponse request with any body
UpdateClaimDialectWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClaimDialectResponse, error)
UpdateClaimDialectWithResponse(ctx context.Context, dialectId DialectIdPathParam, body UpdateClaimDialectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClaimDialectResponse, error)
// GetExternalClaimsWithResponse request
GetExternalClaimsWithResponse(ctx context.Context, dialectId DialectIdPathParam, params *GetExternalClaimsParams, reqEditors ...RequestEditorFn) (*GetExternalClaimsResponse, error)
// AddExternalClaimWithBodyWithResponse request with any body
AddExternalClaimWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddExternalClaimResponse, error)
AddExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, body AddExternalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExternalClaimResponse, error)
// DeleteExternalClaimWithResponse request
DeleteExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*DeleteExternalClaimResponse, error)
// GetExternalClaimWithResponse request
GetExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, reqEditors ...RequestEditorFn) (*GetExternalClaimResponse, error)
// UpdateExternalClaimWithBodyWithResponse request with any body
UpdateExternalClaimWithBodyWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExternalClaimResponse, error)
UpdateExternalClaimWithResponse(ctx context.Context, dialectId DialectIdPathParam, claimId ClaimIdPathParam, body UpdateExternalClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExternalClaimResponse, error)
// ExportClaimDialectToFileWithResponse request
ExportClaimDialectToFileWithResponse(ctx context.Context, dialectId DialectIdPathParam, params *ExportClaimDialectToFileParams, reqEditors ...RequestEditorFn) (*ExportClaimDialectToFileResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteClaimDialectResponse ¶ added in v0.0.14
type DeleteClaimDialectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON500 *ServerError
}
func ParseDeleteClaimDialectResponse ¶ added in v0.0.14
func ParseDeleteClaimDialectResponse(rsp *http.Response) (*DeleteClaimDialectResponse, error)
ParseDeleteClaimDialectResponse parses an HTTP response from a DeleteClaimDialectWithResponse call
func (DeleteClaimDialectResponse) Status ¶ added in v0.0.14
func (r DeleteClaimDialectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClaimDialectResponse) StatusCode ¶ added in v0.0.14
func (r DeleteClaimDialectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteExternalClaimResponse ¶ added in v0.0.14
type DeleteExternalClaimResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON500 *ServerError
}
func ParseDeleteExternalClaimResponse ¶ added in v0.0.14
func ParseDeleteExternalClaimResponse(rsp *http.Response) (*DeleteExternalClaimResponse, error)
ParseDeleteExternalClaimResponse parses an HTTP response from a DeleteExternalClaimWithResponse call
func (DeleteExternalClaimResponse) Status ¶ added in v0.0.14
func (r DeleteExternalClaimResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteExternalClaimResponse) StatusCode ¶ added in v0.0.14
func (r DeleteExternalClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLocalClaimResponse ¶ added in v0.0.14
type DeleteLocalClaimResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON500 *ServerError
}
func ParseDeleteLocalClaimResponse ¶ added in v0.0.14
func ParseDeleteLocalClaimResponse(rsp *http.Response) (*DeleteLocalClaimResponse, error)
ParseDeleteLocalClaimResponse parses an HTTP response from a DeleteLocalClaimWithResponse call
func (DeleteLocalClaimResponse) Status ¶ added in v0.0.14
func (r DeleteLocalClaimResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLocalClaimResponse) StatusCode ¶ added in v0.0.14
func (r DeleteLocalClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DialectIdPathParam ¶ added in v0.0.14
type DialectIdPathParam = string
DialectIdPathParam defines model for dialectIdPathParam.
type Error ¶
type Error struct {
Code string `json:"code"`
Description *string `json:"description,omitempty"`
Message string `json:"message"`
TraceId *string `json:"traceId,omitempty"`
}
Error defines model for Error.
type ExcludeHiddenClaimsQueryParam ¶ added in v0.0.14
type ExcludeHiddenClaimsQueryParam = bool
ExcludeHiddenClaimsQueryParam defines model for excludeHiddenClaimsQueryParam.
type ExcludeIdentityClaimsQueryParam ¶ added in v0.0.14
type ExcludeIdentityClaimsQueryParam = bool
ExcludeIdentityClaimsQueryParam defines model for excludeIdentityClaimsQueryParam.
type ExportClaimDialectToFileParams ¶ added in v0.0.14
type ExportClaimDialectToFileParams struct {
// Accept Content type of the file.
Accept *ExportClaimDialectToFileParamsAccept `json:"Accept,omitempty"`
}
ExportClaimDialectToFileParams defines parameters for ExportClaimDialectToFile.
type ExportClaimDialectToFileParamsAccept ¶ added in v0.0.14
type ExportClaimDialectToFileParamsAccept string
ExportClaimDialectToFileParamsAccept defines parameters for ExportClaimDialectToFile.
const ( ExportClaimDialectToFileParamsAcceptApplicationjson ExportClaimDialectToFileParamsAccept = "application/json" ExportClaimDialectToFileParamsAcceptApplicationxYaml ExportClaimDialectToFileParamsAccept = "application/x-yaml" ExportClaimDialectToFileParamsAcceptApplicationxml ExportClaimDialectToFileParamsAccept = "application/xml" ExportClaimDialectToFileParamsAcceptApplicationyaml ExportClaimDialectToFileParamsAccept = "application/yaml" ExportClaimDialectToFileParamsAcceptTextjson ExportClaimDialectToFileParamsAccept = "text/json" ExportClaimDialectToFileParamsAcceptTextxml ExportClaimDialectToFileParamsAccept = "text/xml" ExportClaimDialectToFileParamsAcceptTextyaml ExportClaimDialectToFileParamsAccept = "text/yaml" )
Defines values for ExportClaimDialectToFileParamsAccept.
type ExportClaimDialectToFileResponse ¶ added in v0.0.14
type ExportClaimDialectToFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
XML200 *string
YAML200 *string
JSON400 *InvalidInput
JSON404 *NotFound
JSON500 *ServerError
}
func ParseExportClaimDialectToFileResponse ¶ added in v0.0.14
func ParseExportClaimDialectToFileResponse(rsp *http.Response) (*ExportClaimDialectToFileResponse, error)
ParseExportClaimDialectToFileResponse parses an HTTP response from a ExportClaimDialectToFileWithResponse call
func (ExportClaimDialectToFileResponse) Status ¶ added in v0.0.14
func (r ExportClaimDialectToFileResponse) Status() string
Status returns HTTPResponse.Status
func (ExportClaimDialectToFileResponse) StatusCode ¶ added in v0.0.14
func (r ExportClaimDialectToFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExternalClaimReq ¶ added in v0.0.14
type ExternalClaimReq struct {
// ClaimURI Claim URI of the external claim.
ClaimURI string `json:"claimURI"`
// MappedLocalClaimURI The local claim URI to map with the external claim.
MappedLocalClaimURI string `json:"mappedLocalClaimURI"`
}
ExternalClaimReq External claim request.
type ExternalClaimRes ¶ added in v0.0.14
type ExternalClaimRes struct {
// ClaimDialectURI Dialect URI of the external claim.
ClaimDialectURI *string `json:"claimDialectURI,omitempty"`
// ClaimURI Claim URI of the external claim.
ClaimURI *string `json:"claimURI,omitempty"`
// Id External claim ID.
Id *string `json:"id,omitempty"`
// MappedLocalClaimURI The local claim URI to map with the external claim.
MappedLocalClaimURI *string `json:"mappedLocalClaimURI,omitempty"`
// Properties Define any additional properties if required.
Properties *[]Property `json:"properties,omitempty"`
}
ExternalClaimRes defines model for ExternalClaimRes.
type FileParam ¶ added in v0.0.14
type FileParam = openapi_types.File
FileParam defines model for fileParam.
type FileTypeHeaderParam ¶ added in v0.0.14
type FileTypeHeaderParam string
FileTypeHeaderParam defines model for fileTypeHeaderParam.
const ( FileTypeHeaderParamApplicationjson FileTypeHeaderParam = "application/json" FileTypeHeaderParamApplicationxYaml FileTypeHeaderParam = "application/x-yaml" FileTypeHeaderParamApplicationxml FileTypeHeaderParam = "application/xml" FileTypeHeaderParamApplicationyaml FileTypeHeaderParam = "application/yaml" FileTypeHeaderParamTextjson FileTypeHeaderParam = "text/json" FileTypeHeaderParamTextxml FileTypeHeaderParam = "text/xml" FileTypeHeaderParamTextyaml FileTypeHeaderParam = "text/yaml" )
Defines values for FileTypeHeaderParam.
type FilterQueryParam ¶ added in v0.0.14
type FilterQueryParam = string
FilterQueryParam defines model for filterQueryParam.
type GetClaimDialectResponse ¶ added in v0.0.14
type GetClaimDialectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClaimDialectRes
JSON400 *InvalidInput
JSON404 *NotFound
JSON500 *ServerError
}
func ParseGetClaimDialectResponse ¶ added in v0.0.14
func ParseGetClaimDialectResponse(rsp *http.Response) (*GetClaimDialectResponse, error)
ParseGetClaimDialectResponse parses an HTTP response from a GetClaimDialectWithResponse call
func (GetClaimDialectResponse) Status ¶ added in v0.0.14
func (r GetClaimDialectResponse) Status() string
Status returns HTTPResponse.Status
func (GetClaimDialectResponse) StatusCode ¶ added in v0.0.14
func (r GetClaimDialectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClaimDialectsParams ¶ added in v0.0.14
type GetClaimDialectsParams struct {
// Limit Maximum number of records to return.
// <br>**This option is not yet supported.**
Limit *LimitQueryParam `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of records to skip for pagination.
// <br>**This option is not yet supported.**
Offset *OffsetQueryParam `form:"offset,omitempty" json:"offset,omitempty"`
// Filter Condition to filter the retrieval of records.
// <br>**This option is not yet supported.**
Filter *FilterQueryParam `form:"filter,omitempty" json:"filter,omitempty"`
// Sort Define the order by which the retrieved records should be sorted.
// <br>**This option is not yet supported.**
Sort *SortQueryParam `form:"sort,omitempty" json:"sort,omitempty"`
}
GetClaimDialectsParams defines parameters for GetClaimDialects.
type GetClaimDialectsResponse ¶ added in v0.0.14
type GetClaimDialectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ClaimDialectRes
JSON500 *ServerError
JSON501 *NotImplemented
}
func ParseGetClaimDialectsResponse ¶ added in v0.0.14
func ParseGetClaimDialectsResponse(rsp *http.Response) (*GetClaimDialectsResponse, error)
ParseGetClaimDialectsResponse parses an HTTP response from a GetClaimDialectsWithResponse call
func (GetClaimDialectsResponse) Status ¶ added in v0.0.14
func (r GetClaimDialectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetClaimDialectsResponse) StatusCode ¶ added in v0.0.14
func (r GetClaimDialectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExternalClaimResponse ¶ added in v0.0.14
type GetExternalClaimResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ExternalClaimRes
JSON400 *InvalidInput
JSON404 *NotFound
JSON500 *ServerError
}
func ParseGetExternalClaimResponse ¶ added in v0.0.14
func ParseGetExternalClaimResponse(rsp *http.Response) (*GetExternalClaimResponse, error)
ParseGetExternalClaimResponse parses an HTTP response from a GetExternalClaimWithResponse call
func (GetExternalClaimResponse) Status ¶ added in v0.0.14
func (r GetExternalClaimResponse) Status() string
Status returns HTTPResponse.Status
func (GetExternalClaimResponse) StatusCode ¶ added in v0.0.14
func (r GetExternalClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExternalClaimsParams ¶ added in v0.0.14
type GetExternalClaimsParams struct {
// Limit Maximum number of records to return.
// <br>**This option is not yet supported.**
Limit *LimitQueryParam `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of records to skip for pagination.
// <br>**This option is not yet supported.**
Offset *OffsetQueryParam `form:"offset,omitempty" json:"offset,omitempty"`
// Filter Condition to filter the retrieval of records.
// <br>**This option is not yet supported.**
Filter *FilterQueryParam `form:"filter,omitempty" json:"filter,omitempty"`
// Sort Define the order by which the retrieved records should be sorted.
// <br>**This option is not yet supported.**
Sort *SortQueryParam `form:"sort,omitempty" json:"sort,omitempty"`
}
GetExternalClaimsParams defines parameters for GetExternalClaims.
type GetExternalClaimsResponse ¶ added in v0.0.14
type GetExternalClaimsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ExternalClaimRes
JSON404 *NotFound
JSON500 *ServerError
JSON501 *NotImplemented
}
func ParseGetExternalClaimsResponse ¶ added in v0.0.14
func ParseGetExternalClaimsResponse(rsp *http.Response) (*GetExternalClaimsResponse, error)
ParseGetExternalClaimsResponse parses an HTTP response from a GetExternalClaimsWithResponse call
func (GetExternalClaimsResponse) Status ¶ added in v0.0.14
func (r GetExternalClaimsResponse) Status() string
Status returns HTTPResponse.Status
func (GetExternalClaimsResponse) StatusCode ¶ added in v0.0.14
func (r GetExternalClaimsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLocalClaimResponse ¶ added in v0.0.14
type GetLocalClaimResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LocalClaimRes
JSON400 *InvalidInput
JSON404 *NotFound
JSON500 *ServerError
}
func ParseGetLocalClaimResponse ¶ added in v0.0.14
func ParseGetLocalClaimResponse(rsp *http.Response) (*GetLocalClaimResponse, error)
ParseGetLocalClaimResponse parses an HTTP response from a GetLocalClaimWithResponse call
func (GetLocalClaimResponse) Status ¶ added in v0.0.14
func (r GetLocalClaimResponse) Status() string
Status returns HTTPResponse.Status
func (GetLocalClaimResponse) StatusCode ¶ added in v0.0.14
func (r GetLocalClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLocalClaimsParams ¶ added in v0.0.14
type GetLocalClaimsParams struct {
// Attributes Define only the required attributes to be sent in the response object.
// <br>**This option is not yet supported.**
Attributes *AttributesQueryParam `form:"attributes,omitempty" json:"attributes,omitempty"`
// Limit Maximum number of records to return.
// <br>**This option is not yet supported.**
Limit *LimitQueryParam `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of records to skip for pagination.
// <br>**This option is not yet supported.**
Offset *OffsetQueryParam `form:"offset,omitempty" json:"offset,omitempty"`
// Filter Condition to filter the retrieval of records.
// <br>**This option is not yet supported.**
Filter *FilterQueryParam `form:"filter,omitempty" json:"filter,omitempty"`
// Sort Define the order by which the retrieved records should be sorted.
// <br>**This option is not yet supported.**
Sort *SortQueryParam `form:"sort,omitempty" json:"sort,omitempty"`
// ExcludeIdentityClaims Exclude identity claims when listing local claims.
ExcludeIdentityClaims *ExcludeIdentityClaimsQueryParam `form:"exclude-identity-claims,omitempty" json:"exclude-identity-claims,omitempty"`
// ExcludeHiddenClaims Exclude hidden claims when listing local claims.
ExcludeHiddenClaims *ExcludeHiddenClaimsQueryParam `form:"exclude-hidden-claims,omitempty" json:"exclude-hidden-claims,omitempty"`
}
GetLocalClaimsParams defines parameters for GetLocalClaims.
type GetLocalClaimsResponse ¶
type GetLocalClaimsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]LocalClaimRes
JSON500 *ServerError
JSON501 *NotImplemented
}
func ParseGetLocalClaimsResponse ¶
func ParseGetLocalClaimsResponse(rsp *http.Response) (*GetLocalClaimsResponse, error)
ParseGetLocalClaimsResponse parses an HTTP response from a GetLocalClaimsWithResponse call
func (GetLocalClaimsResponse) Status ¶
func (r GetLocalClaimsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLocalClaimsResponse) StatusCode ¶
func (r GetLocalClaimsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImportClaimDialectFromFileMultipartBody ¶ added in v0.0.14
type ImportClaimDialectFromFileMultipartBody struct {
File *openapi_types.File `json:"file,omitempty"`
}
ImportClaimDialectFromFileMultipartBody defines parameters for ImportClaimDialectFromFile.
type ImportClaimDialectFromFileMultipartRequestBody ¶ added in v0.0.14
type ImportClaimDialectFromFileMultipartRequestBody ImportClaimDialectFromFileMultipartBody
ImportClaimDialectFromFileMultipartRequestBody defines body for ImportClaimDialectFromFile for multipart/form-data ContentType.
type ImportClaimDialectFromFileResponse ¶ added in v0.0.14
type ImportClaimDialectFromFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON500 *ServerError
}
func ParseImportClaimDialectFromFileResponse ¶ added in v0.0.14
func ParseImportClaimDialectFromFileResponse(rsp *http.Response) (*ImportClaimDialectFromFileResponse, error)
ParseImportClaimDialectFromFileResponse parses an HTTP response from a ImportClaimDialectFromFileWithResponse call
func (ImportClaimDialectFromFileResponse) Status ¶ added in v0.0.14
func (r ImportClaimDialectFromFileResponse) Status() string
Status returns HTTPResponse.Status
func (ImportClaimDialectFromFileResponse) StatusCode ¶ added in v0.0.14
func (r ImportClaimDialectFromFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InvalidInput ¶ added in v0.0.14
type InvalidInput = Error
InvalidInput defines model for InvalidInput.
type LimitQueryParam ¶ added in v0.0.14
type LimitQueryParam = int32
LimitQueryParam defines model for limitQueryParam.
type Link ¶ added in v0.0.14
type Link struct {
// Href Relative path to the target resource.
Href *string `json:"href,omitempty"`
// Rel Describes how the current context is related to the target resource.
Rel *string `json:"rel,omitempty"`
}
Link defines model for Link.
type LocalClaimReq ¶ added in v0.0.14
type LocalClaimReq struct {
// AttributeMapping Userstore attribute mappings.
AttributeMapping []AttributeMapping `json:"attributeMapping"`
// ClaimURI A unique URI specific to the claim.
ClaimURI string `json:"claimURI"`
// Description Description of the claim.
Description *string `json:"description,omitempty"`
// DisplayName Name of the claim to be displayed in the UI.
DisplayName string `json:"displayName"`
// DisplayOrder The order in which the claim is displayed among other claims under the same dialect.
DisplayOrder *int `json:"displayOrder,omitempty"`
// MultiValued Specifies if the claim can hold multiple values or not.
MultiValued *bool `json:"multiValued,omitempty"`
// Profiles Attribute profiles.
Profiles *Profiles `json:"profiles,omitempty"`
// Properties Define any additional properties if required.
Properties *[]Property `json:"properties,omitempty"`
// ReadOnly Specifies if the claim is read-only.
ReadOnly *bool `json:"readOnly,omitempty"`
// RegEx Regular expression used to validate inputs.
RegEx *string `json:"regEx,omitempty"`
// Required Specifies if the claim is required for user registration.
Required *bool `json:"required,omitempty"`
SharedProfileValueResolvingMethod *LocalClaimReqSharedProfileValueResolvingMethod `json:"sharedProfileValueResolvingMethod,omitempty"`
// SupportedByDefault Specifies if the claim will be prompted during user registration and displayed on the user profile.
SupportedByDefault *bool `json:"supportedByDefault,omitempty"`
// UniquenessScope Specifies the scope of uniqueness validation for the claim value.
UniquenessScope *LocalClaimReqUniquenessScope `json:"uniquenessScope,omitempty"`
}
LocalClaimReq Local claim request.
type LocalClaimReqSharedProfileValueResolvingMethod ¶ added in v0.0.14
type LocalClaimReqSharedProfileValueResolvingMethod string
LocalClaimReqSharedProfileValueResolvingMethod Specifies claim value resolving method for shared user profile.
const ( )
Defines values for LocalClaimReqSharedProfileValueResolvingMethod.
type LocalClaimReqUniquenessScope ¶ added in v0.0.14
type LocalClaimReqUniquenessScope string
LocalClaimReqUniquenessScope Specifies the scope of uniqueness validation for the claim value.
const ( LocalClaimReqUniquenessScopeACROSSUSERSTORES LocalClaimReqUniquenessScope = "ACROSS_USERSTORES" LocalClaimReqUniquenessScopeNONE LocalClaimReqUniquenessScope = "NONE" LocalClaimReqUniquenessScopeWITHINUSERSTORE LocalClaimReqUniquenessScope = "WITHIN_USERSTORE" )
Defines values for LocalClaimReqUniquenessScope.
type LocalClaimRes ¶
type LocalClaimRes struct {
// AttributeMapping Userstore attribute mappings.
AttributeMapping *[]AttributeMapping `json:"attributeMapping,omitempty"`
// ClaimURI A unique URI specific to the claim.
ClaimURI *string `json:"claimURI,omitempty"`
// Description Description of the claim.
Description *string `json:"description,omitempty"`
// DialectURI URI of the claim dialect.
DialectURI *string `json:"dialectURI,omitempty"`
// DisplayName Name of the claim to be displayed in the UI.
DisplayName *string `json:"displayName,omitempty"`
// DisplayOrder The order in which the claim is displayed among other claims under the same dialect.
DisplayOrder *int `json:"displayOrder,omitempty"`
// Id claim ID.
Id *string `json:"id,omitempty"`
// MultiValued Specifies if the claim can hold multiple values.
MultiValued *bool `json:"multiValued,omitempty"`
// Profiles Attribute profiles.
Profiles *Profiles `json:"profiles,omitempty"`
// Properties Define any additional properties if required.
Properties *[]Property `json:"properties,omitempty"`
// ReadOnly Specifies if the claim is read-only.
ReadOnly *bool `json:"readOnly,omitempty"`
// RegEx Regular expression used to validate inputs.
RegEx *string `json:"regEx,omitempty"`
// Required Specifies if the claim is required for user registration.
Required *bool `json:"required,omitempty"`
SharedProfileValueResolvingMethod *LocalClaimResSharedProfileValueResolvingMethod `json:"sharedProfileValueResolvingMethod,omitempty"`
// SupportedByDefault Specifies if the claim will be prompted during user registration and displayed on the user profile.
SupportedByDefault *bool `json:"supportedByDefault,omitempty"`
// UniquenessScope Specifies the scope of uniqueness validation for the claim value.
UniquenessScope *LocalClaimResUniquenessScope `json:"uniquenessScope,omitempty"`
}
LocalClaimRes defines model for LocalClaimRes.
type LocalClaimResSharedProfileValueResolvingMethod ¶
type LocalClaimResSharedProfileValueResolvingMethod string
LocalClaimResSharedProfileValueResolvingMethod Specifies claim value resolving method for shared user profile.
const ( )
Defines values for LocalClaimResSharedProfileValueResolvingMethod.
type LocalClaimResUniquenessScope ¶
type LocalClaimResUniquenessScope string
LocalClaimResUniquenessScope Specifies the scope of uniqueness validation for the claim value.
const ( LocalClaimResUniquenessScopeACROSSUSERSTORES LocalClaimResUniquenessScope = "ACROSS_USERSTORES" LocalClaimResUniquenessScopeNONE LocalClaimResUniquenessScope = "NONE" LocalClaimResUniquenessScopeWITHINUSERSTORE LocalClaimResUniquenessScope = "WITHIN_USERSTORE" )
Defines values for LocalClaimResUniquenessScope.
type OffsetQueryParam ¶ added in v0.0.14
type OffsetQueryParam = int32
OffsetQueryParam defines model for offsetQueryParam.
type PreserveClaimsParam ¶ added in v0.0.14
type PreserveClaimsParam = bool
PreserveClaimsParam defines model for preserveClaimsParam.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SortQueryParam ¶ added in v0.0.14
type SortQueryParam = string
SortQueryParam defines model for sortQueryParam.
type UpdateClaimDialectFromFileMultipartBody ¶ added in v0.0.14
type UpdateClaimDialectFromFileMultipartBody struct {
File *openapi_types.File `json:"file,omitempty"`
}
UpdateClaimDialectFromFileMultipartBody defines parameters for UpdateClaimDialectFromFile.
type UpdateClaimDialectFromFileMultipartRequestBody ¶ added in v0.0.14
type UpdateClaimDialectFromFileMultipartRequestBody UpdateClaimDialectFromFileMultipartBody
UpdateClaimDialectFromFileMultipartRequestBody defines body for UpdateClaimDialectFromFile for multipart/form-data ContentType.
type UpdateClaimDialectFromFileParams ¶ added in v0.0.14
type UpdateClaimDialectFromFileParams struct {
// PreserveClaims Specify whether to merge and preserve the claims or completely replace the existing claims set.
PreserveClaims *PreserveClaimsParam `form:"preserveClaims,omitempty" json:"preserveClaims,omitempty"`
}
UpdateClaimDialectFromFileParams defines parameters for UpdateClaimDialectFromFile.
type UpdateClaimDialectFromFileResponse ¶ added in v0.0.14
type UpdateClaimDialectFromFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON500 *ServerError
}
func ParseUpdateClaimDialectFromFileResponse ¶ added in v0.0.14
func ParseUpdateClaimDialectFromFileResponse(rsp *http.Response) (*UpdateClaimDialectFromFileResponse, error)
ParseUpdateClaimDialectFromFileResponse parses an HTTP response from a UpdateClaimDialectFromFileWithResponse call
func (UpdateClaimDialectFromFileResponse) Status ¶ added in v0.0.14
func (r UpdateClaimDialectFromFileResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateClaimDialectFromFileResponse) StatusCode ¶ added in v0.0.14
func (r UpdateClaimDialectFromFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateClaimDialectJSONRequestBody ¶ added in v0.0.14
type UpdateClaimDialectJSONRequestBody = ClaimDialectReq
UpdateClaimDialectJSONRequestBody defines body for UpdateClaimDialect for application/json ContentType.
type UpdateClaimDialectResponse ¶ added in v0.0.14
type UpdateClaimDialectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON500 *ServerError
}
func ParseUpdateClaimDialectResponse ¶ added in v0.0.14
func ParseUpdateClaimDialectResponse(rsp *http.Response) (*UpdateClaimDialectResponse, error)
ParseUpdateClaimDialectResponse parses an HTTP response from a UpdateClaimDialectWithResponse call
func (UpdateClaimDialectResponse) Status ¶ added in v0.0.14
func (r UpdateClaimDialectResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateClaimDialectResponse) StatusCode ¶ added in v0.0.14
func (r UpdateClaimDialectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateExternalClaimJSONRequestBody ¶ added in v0.0.14
type UpdateExternalClaimJSONRequestBody = ExternalClaimReq
UpdateExternalClaimJSONRequestBody defines body for UpdateExternalClaim for application/json ContentType.
type UpdateExternalClaimResponse ¶ added in v0.0.14
type UpdateExternalClaimResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON409 *Conflict
JSON500 *ServerError
}
func ParseUpdateExternalClaimResponse ¶ added in v0.0.14
func ParseUpdateExternalClaimResponse(rsp *http.Response) (*UpdateExternalClaimResponse, error)
ParseUpdateExternalClaimResponse parses an HTTP response from a UpdateExternalClaimWithResponse call
func (UpdateExternalClaimResponse) Status ¶ added in v0.0.14
func (r UpdateExternalClaimResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateExternalClaimResponse) StatusCode ¶ added in v0.0.14
func (r UpdateExternalClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLocalClaimJSONRequestBody ¶ added in v0.0.14
type UpdateLocalClaimJSONRequestBody = LocalClaimReq
UpdateLocalClaimJSONRequestBody defines body for UpdateLocalClaim for application/json ContentType.
type UpdateLocalClaimResponse ¶ added in v0.0.14
type UpdateLocalClaimResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *InvalidInput
JSON409 *Conflict
JSON500 *ServerError
}
func ParseUpdateLocalClaimResponse ¶ added in v0.0.14
func ParseUpdateLocalClaimResponse(rsp *http.Response) (*UpdateLocalClaimResponse, error)
ParseUpdateLocalClaimResponse parses an HTTP response from a UpdateLocalClaimWithResponse call
func (UpdateLocalClaimResponse) Status ¶ added in v0.0.14
func (r UpdateLocalClaimResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLocalClaimResponse) StatusCode ¶ added in v0.0.14
func (r UpdateLocalClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode