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 NewAddAPIResourceRequest(server string, body AddAPIResourceJSONRequestBody) (*http.Request, error)
- func NewAddAPIResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddAuthorizationDetailsTypesRequest(server string, apiResourceId ApiResourceId, ...) (*http.Request, error)
- func NewAddAuthorizationDetailsTypesRequestWithBody(server string, apiResourceId ApiResourceId, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteApiResourcesApiResourceIdRequest(server string, apiResourceId ApiResourceId) (*http.Request, error)
- func NewDeleteApiResourcesApiResourceIdScopesScopeNameRequest(server string, apiResourceId ApiResourceId, scopeName ScopeName) (*http.Request, error)
- func NewDeleteAuthorizationDetailsTypeRequest(server string, apiResourceId ApiResourceId, ...) (*http.Request, error)
- func NewGetAPIResourceCollectionByCollectionIdRequest(server string, collectionId CollectionId) (*http.Request, error)
- func NewGetAPIResourceCollectionsRequest(server string, params *GetAPIResourceCollectionsParams) (*http.Request, error)
- func NewGetAPIResourcesRequest(server string, params *GetAPIResourcesParams) (*http.Request, error)
- func NewGetApiResourcesApiResourceIdRequest(server string, apiResourceId ApiResourceId) (*http.Request, error)
- func NewGetApiResourcesApiResourceIdScopesRequest(server string, apiResourceId ApiResourceId) (*http.Request, error)
- func NewGetAuthorizationDetailsTypeRequest(server string, apiResourceId ApiResourceId, ...) (*http.Request, error)
- func NewGetAuthorizationDetailsTypesInTenantRequest(server string, params *GetAuthorizationDetailsTypesInTenantParams) (*http.Request, error)
- func NewGetAuthorizationDetailsTypesRequest(server string, apiResourceId ApiResourceId) (*http.Request, error)
- func NewGetScopesRequest(server string, params *GetScopesParams) (*http.Request, error)
- func NewIsAuthorizationDetailsTypeExistsRequest(server string, params *IsAuthorizationDetailsTypeExistsParams) (*http.Request, error)
- func NewPatchApiResourcesApiResourceIdRequest(server string, apiResourceId ApiResourceId, ...) (*http.Request, error)
- func NewPatchApiResourcesApiResourceIdRequestWithBody(server string, apiResourceId ApiResourceId, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchApiResourcesApiResourceIdScopesScopeNameRequest(server string, apiResourceId ApiResourceId, scopeName ScopeName, ...) (*http.Request, error)
- func NewPatchApiResourcesApiResourceIdScopesScopeNameRequestWithBody(server string, apiResourceId ApiResourceId, scopeName ScopeName, ...) (*http.Request, error)
- func NewPutApiResourcesApiResourceIdScopesRequest(server string, apiResourceId ApiResourceId, ...) (*http.Request, error)
- func NewPutApiResourcesApiResourceIdScopesRequestWithBody(server string, apiResourceId ApiResourceId, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAuthorizationDetailsTypeRequest(server string, apiResourceId ApiResourceId, ...) (*http.Request, error)
- func NewUpdateAuthorizationDetailsTypeRequestWithBody(server string, apiResourceId ApiResourceId, ...) (*http.Request, error)
- type APIResourceCollectionItem
- type APIResourceCollectionListItem
- type APIResourceCollectionListResponse
- type APIResourceCollectionResponse
- type APIResourceCreationModel
- type APIResourceListItem
- type APIResourceListResponse
- type APIResourceMap
- type APIResourcePatchModel
- type APIResourceResponse
- type AddAPIResourceJSONRequestBody
- type AddAPIResourceResponse
- type AddAuthorizationDetailsTypesJSONBody
- type AddAuthorizationDetailsTypesJSONRequestBody
- type AddAuthorizationDetailsTypesResponse
- type After
- type ApiResourceId
- type Attributes
- type AuthorizationDetailsTypeId
- type AuthorizationDetailsTypesCreationModel
- type AuthorizationDetailsTypesGetModel
- type Before
- type Client
- func (c *Client) AddAPIResource(ctx context.Context, body AddAPIResourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddAPIResourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddAuthorizationDetailsTypes(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) AddAuthorizationDetailsTypesWithBody(ctx context.Context, apiResourceId ApiResourceId, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) DeleteApiResourcesApiResourceIdScopesScopeName(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, ...) (*http.Response, error)
- func (c *Client) DeleteAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) GetAPIResourceCollectionByCollectionId(ctx context.Context, collectionId CollectionId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAPIResourceCollections(ctx context.Context, params *GetAPIResourceCollectionsParams, ...) (*http.Response, error)
- func (c *Client) GetAPIResources(ctx context.Context, params *GetAPIResourcesParams, ...) (*http.Response, error)
- func (c *Client) GetApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) GetApiResourcesApiResourceIdScopes(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) GetAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) GetAuthorizationDetailsTypes(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) GetAuthorizationDetailsTypesInTenant(ctx context.Context, params *GetAuthorizationDetailsTypesInTenantParams, ...) (*http.Response, error)
- func (c *Client) GetScopes(ctx context.Context, params *GetScopesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IsAuthorizationDetailsTypeExists(ctx context.Context, params *IsAuthorizationDetailsTypeExistsParams, ...) (*http.Response, error)
- func (c *Client) PatchApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) PatchApiResourcesApiResourceIdScopesScopeName(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, ...) (*http.Response, error)
- func (c *Client) PatchApiResourcesApiResourceIdScopesScopeNameWithBody(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, ...) (*http.Response, error)
- func (c *Client) PatchApiResourcesApiResourceIdWithBody(ctx context.Context, apiResourceId ApiResourceId, contentType string, ...) (*http.Response, error)
- func (c *Client) PutApiResourcesApiResourceIdScopes(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) PutApiResourcesApiResourceIdScopesWithBody(ctx context.Context, apiResourceId ApiResourceId, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- func (c *Client) UpdateAuthorizationDetailsTypeWithBody(ctx context.Context, apiResourceId ApiResourceId, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddAPIResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddAPIResourceResponse, error)
- func (c *ClientWithResponses) AddAPIResourceWithResponse(ctx context.Context, body AddAPIResourceJSONRequestBody, ...) (*AddAPIResourceResponse, error)
- func (c *ClientWithResponses) AddAuthorizationDetailsTypesWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, ...) (*AddAuthorizationDetailsTypesResponse, error)
- func (c *ClientWithResponses) AddAuthorizationDetailsTypesWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*AddAuthorizationDetailsTypesResponse, error)
- func (c *ClientWithResponses) DeleteApiResourcesApiResourceIdScopesScopeNameWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, ...) (*DeleteApiResourcesApiResourceIdScopesScopeNameResponse, error)
- func (c *ClientWithResponses) DeleteApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*DeleteApiResourcesApiResourceIdResponse, error)
- func (c *ClientWithResponses) DeleteAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*DeleteAuthorizationDetailsTypeResponse, error)
- func (c *ClientWithResponses) GetAPIResourceCollectionByCollectionIdWithResponse(ctx context.Context, collectionId CollectionId, reqEditors ...RequestEditorFn) (*GetAPIResourceCollectionByCollectionIdResponse, error)
- func (c *ClientWithResponses) GetAPIResourceCollectionsWithResponse(ctx context.Context, params *GetAPIResourceCollectionsParams, ...) (*GetAPIResourceCollectionsResponse, error)
- func (c *ClientWithResponses) GetAPIResourcesWithResponse(ctx context.Context, params *GetAPIResourcesParams, ...) (*GetAPIResourcesResponse, error)
- func (c *ClientWithResponses) GetApiResourcesApiResourceIdScopesWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*GetApiResourcesApiResourceIdScopesResponse, error)
- func (c *ClientWithResponses) GetApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*GetApiResourcesApiResourceIdResponse, error)
- func (c *ClientWithResponses) GetAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*GetAuthorizationDetailsTypeResponse, error)
- func (c *ClientWithResponses) GetAuthorizationDetailsTypesInTenantWithResponse(ctx context.Context, params *GetAuthorizationDetailsTypesInTenantParams, ...) (*GetAuthorizationDetailsTypesInTenantResponse, error)
- func (c *ClientWithResponses) GetAuthorizationDetailsTypesWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*GetAuthorizationDetailsTypesResponse, error)
- func (c *ClientWithResponses) GetScopesWithResponse(ctx context.Context, params *GetScopesParams, reqEditors ...RequestEditorFn) (*GetScopesResponse, error)
- func (c *ClientWithResponses) IsAuthorizationDetailsTypeExistsWithResponse(ctx context.Context, params *IsAuthorizationDetailsTypeExistsParams, ...) (*IsAuthorizationDetailsTypeExistsResponse, error)
- func (c *ClientWithResponses) PatchApiResourcesApiResourceIdScopesScopeNameWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, ...) (*PatchApiResourcesApiResourceIdScopesScopeNameResponse, error)
- func (c *ClientWithResponses) PatchApiResourcesApiResourceIdScopesScopeNameWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, ...) (*PatchApiResourcesApiResourceIdScopesScopeNameResponse, error)
- func (c *ClientWithResponses) PatchApiResourcesApiResourceIdWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, ...) (*PatchApiResourcesApiResourceIdResponse, error)
- func (c *ClientWithResponses) PatchApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*PatchApiResourcesApiResourceIdResponse, error)
- func (c *ClientWithResponses) PutApiResourcesApiResourceIdScopesWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, ...) (*PutApiResourcesApiResourceIdScopesResponse, error)
- func (c *ClientWithResponses) PutApiResourcesApiResourceIdScopesWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*PutApiResourcesApiResourceIdScopesResponse, error)
- func (c *ClientWithResponses) UpdateAuthorizationDetailsTypeWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*UpdateAuthorizationDetailsTypeResponse, error)
- func (c *ClientWithResponses) UpdateAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, ...) (*UpdateAuthorizationDetailsTypeResponse, error)
- type ClientWithResponsesInterface
- type CollectionAttributes
- type CollectionFilter
- type CollectionId
- type DeleteApiResourcesApiResourceIdResponse
- type DeleteApiResourcesApiResourceIdScopesScopeNameResponse
- type DeleteAuthorizationDetailsTypeResponse
- type Error
- type Filter
- type GetAPIResourceCollectionByCollectionIdResponse
- type GetAPIResourceCollectionsParams
- type GetAPIResourceCollectionsResponse
- type GetAPIResourcesParams
- type GetAPIResourcesResponse
- type GetApiResourcesApiResourceIdResponse
- type GetApiResourcesApiResourceIdScopesResponse
- type GetAuthorizationDetailsTypeResponse
- type GetAuthorizationDetailsTypesInTenantParams
- type GetAuthorizationDetailsTypesInTenantResponse
- type GetAuthorizationDetailsTypesResponse
- type GetScopesParams
- type GetScopesResponse
- type HttpRequestDoer
- type IsAuthorizationDetailsTypeExistsParams
- type IsAuthorizationDetailsTypeExistsResponse
- type Limit
- type PaginationLink
- type PatchApiResourcesApiResourceIdJSONRequestBody
- type PatchApiResourcesApiResourceIdResponse
- type PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody
- type PatchApiResourcesApiResourceIdScopesScopeNameResponse
- type Property
- type PutApiResourcesApiResourceIdScopesJSONBody
- type PutApiResourcesApiResourceIdScopesJSONRequestBody
- type PutApiResourcesApiResourceIdScopesResponse
- type RequestEditorFn
- type ScopeCreationModel
- type ScopeGetModel
- type ScopeName
- type ScopePatchModel
- type SubscribedApplicationGetModel
- type UpdateAuthorizationDetailsTypeJSONRequestBody
- type UpdateAuthorizationDetailsTypeResponse
Constants ¶
const ( BasicAuthScopes = "BasicAuth.Scopes" OAuth2Scopes = "OAuth2.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewAddAPIResourceRequest ¶
func NewAddAPIResourceRequest(server string, body AddAPIResourceJSONRequestBody) (*http.Request, error)
NewAddAPIResourceRequest calls the generic AddAPIResource builder with application/json body
func NewAddAPIResourceRequestWithBody ¶
func NewAddAPIResourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAddAPIResourceRequestWithBody generates requests for AddAPIResource with any type of body
func NewAddAuthorizationDetailsTypesRequest ¶
func NewAddAuthorizationDetailsTypesRequest(server string, apiResourceId ApiResourceId, body AddAuthorizationDetailsTypesJSONRequestBody) (*http.Request, error)
NewAddAuthorizationDetailsTypesRequest calls the generic AddAuthorizationDetailsTypes builder with application/json body
func NewAddAuthorizationDetailsTypesRequestWithBody ¶
func NewAddAuthorizationDetailsTypesRequestWithBody(server string, apiResourceId ApiResourceId, contentType string, body io.Reader) (*http.Request, error)
NewAddAuthorizationDetailsTypesRequestWithBody generates requests for AddAuthorizationDetailsTypes with any type of body
func NewDeleteApiResourcesApiResourceIdRequest ¶
func NewDeleteApiResourcesApiResourceIdRequest(server string, apiResourceId ApiResourceId) (*http.Request, error)
NewDeleteApiResourcesApiResourceIdRequest generates requests for DeleteApiResourcesApiResourceId
func NewDeleteApiResourcesApiResourceIdScopesScopeNameRequest ¶
func NewDeleteApiResourcesApiResourceIdScopesScopeNameRequest(server string, apiResourceId ApiResourceId, scopeName ScopeName) (*http.Request, error)
NewDeleteApiResourcesApiResourceIdScopesScopeNameRequest generates requests for DeleteApiResourcesApiResourceIdScopesScopeName
func NewDeleteAuthorizationDetailsTypeRequest ¶
func NewDeleteAuthorizationDetailsTypeRequest(server string, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId) (*http.Request, error)
NewDeleteAuthorizationDetailsTypeRequest generates requests for DeleteAuthorizationDetailsType
func NewGetAPIResourceCollectionByCollectionIdRequest ¶
func NewGetAPIResourceCollectionByCollectionIdRequest(server string, collectionId CollectionId) (*http.Request, error)
NewGetAPIResourceCollectionByCollectionIdRequest generates requests for GetAPIResourceCollectionByCollectionId
func NewGetAPIResourceCollectionsRequest ¶
func NewGetAPIResourceCollectionsRequest(server string, params *GetAPIResourceCollectionsParams) (*http.Request, error)
NewGetAPIResourceCollectionsRequest generates requests for GetAPIResourceCollections
func NewGetAPIResourcesRequest ¶
func NewGetAPIResourcesRequest(server string, params *GetAPIResourcesParams) (*http.Request, error)
NewGetAPIResourcesRequest generates requests for GetAPIResources
func NewGetApiResourcesApiResourceIdRequest ¶
func NewGetApiResourcesApiResourceIdRequest(server string, apiResourceId ApiResourceId) (*http.Request, error)
NewGetApiResourcesApiResourceIdRequest generates requests for GetApiResourcesApiResourceId
func NewGetApiResourcesApiResourceIdScopesRequest ¶
func NewGetApiResourcesApiResourceIdScopesRequest(server string, apiResourceId ApiResourceId) (*http.Request, error)
NewGetApiResourcesApiResourceIdScopesRequest generates requests for GetApiResourcesApiResourceIdScopes
func NewGetAuthorizationDetailsTypeRequest ¶
func NewGetAuthorizationDetailsTypeRequest(server string, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId) (*http.Request, error)
NewGetAuthorizationDetailsTypeRequest generates requests for GetAuthorizationDetailsType
func NewGetAuthorizationDetailsTypesInTenantRequest ¶
func NewGetAuthorizationDetailsTypesInTenantRequest(server string, params *GetAuthorizationDetailsTypesInTenantParams) (*http.Request, error)
NewGetAuthorizationDetailsTypesInTenantRequest generates requests for GetAuthorizationDetailsTypesInTenant
func NewGetAuthorizationDetailsTypesRequest ¶
func NewGetAuthorizationDetailsTypesRequest(server string, apiResourceId ApiResourceId) (*http.Request, error)
NewGetAuthorizationDetailsTypesRequest generates requests for GetAuthorizationDetailsTypes
func NewGetScopesRequest ¶
func NewGetScopesRequest(server string, params *GetScopesParams) (*http.Request, error)
NewGetScopesRequest generates requests for GetScopes
func NewIsAuthorizationDetailsTypeExistsRequest ¶
func NewIsAuthorizationDetailsTypeExistsRequest(server string, params *IsAuthorizationDetailsTypeExistsParams) (*http.Request, error)
NewIsAuthorizationDetailsTypeExistsRequest generates requests for IsAuthorizationDetailsTypeExists
func NewPatchApiResourcesApiResourceIdRequest ¶
func NewPatchApiResourcesApiResourceIdRequest(server string, apiResourceId ApiResourceId, body PatchApiResourcesApiResourceIdJSONRequestBody) (*http.Request, error)
NewPatchApiResourcesApiResourceIdRequest calls the generic PatchApiResourcesApiResourceId builder with application/json body
func NewPatchApiResourcesApiResourceIdRequestWithBody ¶
func NewPatchApiResourcesApiResourceIdRequestWithBody(server string, apiResourceId ApiResourceId, contentType string, body io.Reader) (*http.Request, error)
NewPatchApiResourcesApiResourceIdRequestWithBody generates requests for PatchApiResourcesApiResourceId with any type of body
func NewPatchApiResourcesApiResourceIdScopesScopeNameRequest ¶
func NewPatchApiResourcesApiResourceIdScopesScopeNameRequest(server string, apiResourceId ApiResourceId, scopeName ScopeName, body PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody) (*http.Request, error)
NewPatchApiResourcesApiResourceIdScopesScopeNameRequest calls the generic PatchApiResourcesApiResourceIdScopesScopeName builder with application/json body
func NewPatchApiResourcesApiResourceIdScopesScopeNameRequestWithBody ¶
func NewPatchApiResourcesApiResourceIdScopesScopeNameRequestWithBody(server string, apiResourceId ApiResourceId, scopeName ScopeName, contentType string, body io.Reader) (*http.Request, error)
NewPatchApiResourcesApiResourceIdScopesScopeNameRequestWithBody generates requests for PatchApiResourcesApiResourceIdScopesScopeName with any type of body
func NewPutApiResourcesApiResourceIdScopesRequest ¶
func NewPutApiResourcesApiResourceIdScopesRequest(server string, apiResourceId ApiResourceId, body PutApiResourcesApiResourceIdScopesJSONRequestBody) (*http.Request, error)
NewPutApiResourcesApiResourceIdScopesRequest calls the generic PutApiResourcesApiResourceIdScopes builder with application/json body
func NewPutApiResourcesApiResourceIdScopesRequestWithBody ¶
func NewPutApiResourcesApiResourceIdScopesRequestWithBody(server string, apiResourceId ApiResourceId, contentType string, body io.Reader) (*http.Request, error)
NewPutApiResourcesApiResourceIdScopesRequestWithBody generates requests for PutApiResourcesApiResourceIdScopes with any type of body
func NewUpdateAuthorizationDetailsTypeRequest ¶
func NewUpdateAuthorizationDetailsTypeRequest(server string, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, body UpdateAuthorizationDetailsTypeJSONRequestBody) (*http.Request, error)
NewUpdateAuthorizationDetailsTypeRequest calls the generic UpdateAuthorizationDetailsType builder with application/json body
func NewUpdateAuthorizationDetailsTypeRequestWithBody ¶
func NewUpdateAuthorizationDetailsTypeRequestWithBody(server string, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAuthorizationDetailsTypeRequestWithBody generates requests for UpdateAuthorizationDetailsType with any type of body
Types ¶
type APIResourceCollectionItem ¶
type APIResourceCollectionItem struct { Description *string `json:"description,omitempty"` Id string `json:"id"` Identifier *string `json:"identifier,omitempty"` Name string `json:"name"` Scopes *[]ScopeGetModel `json:"scopes,omitempty"` Self string `json:"self"` Type *string `json:"type,omitempty"` }
APIResourceCollectionItem defines model for APIResourceCollectionItem.
type APIResourceCollectionListItem ¶
type APIResourceCollectionListItem struct { ApiResources *APIResourceMap `json:"apiResources,omitempty"` DisplayName string `json:"displayName"` Id string `json:"id"` Name string `json:"name"` Self string `json:"self"` Type *string `json:"type,omitempty"` }
APIResourceCollectionListItem defines model for APIResourceCollectionListItem.
type APIResourceCollectionListResponse ¶
type APIResourceCollectionListResponse struct { ApiResourceCollections []APIResourceCollectionListItem `json:"apiResourceCollections"` TotalResults int `json:"totalResults"` }
APIResourceCollectionListResponse defines model for APIResourceCollectionListResponse.
type APIResourceCollectionResponse ¶
type APIResourceCollectionResponse struct { ApiResources *APIResourceMap `json:"apiResources,omitempty"` DisplayName string `json:"displayName"` Id string `json:"id"` Name string `json:"name"` Type *string `json:"type,omitempty"` }
APIResourceCollectionResponse defines model for APIResourceCollectionResponse.
type APIResourceCreationModel ¶
type APIResourceCreationModel struct { AuthorizationDetailsTypes *[]AuthorizationDetailsTypesCreationModel `json:"authorizationDetailsTypes,omitempty"` Description *string `json:"description,omitempty"` Identifier string `json:"identifier"` Name string `json:"name"` RequiresAuthorization *bool `json:"requiresAuthorization,omitempty"` Scopes *[]ScopeCreationModel `json:"scopes,omitempty"` }
APIResourceCreationModel defines model for APIResourceCreationModel.
type APIResourceListItem ¶
type APIResourceListItem struct { Id string `json:"id"` Identifier string `json:"identifier"` Name string `json:"name"` Properties *[]Property `json:"properties,omitempty"` RequiresAuthorization *bool `json:"requiresAuthorization,omitempty"` Self string `json:"self"` Type *string `json:"type,omitempty"` }
APIResourceListItem defines model for APIResourceListItem.
type APIResourceListResponse ¶
type APIResourceListResponse struct { APIResources *[]APIResourceListItem `json:"APIResources,omitempty"` Links []PaginationLink `json:"links"` TotalResults *int `json:"totalResults,omitempty"` }
APIResourceListResponse defines model for APIResourceListResponse.
type APIResourceMap ¶
type APIResourceMap struct { Read *[]APIResourceCollectionItem `json:"read,omitempty"` Write *[]APIResourceCollectionItem `json:"write,omitempty"` }
APIResourceMap defines model for APIResourceMap.
type APIResourcePatchModel ¶
type APIResourcePatchModel struct { AddedAuthorizationDetailsTypes *[]AuthorizationDetailsTypesCreationModel `json:"addedAuthorizationDetailsTypes,omitempty"` AddedScopes *[]ScopeCreationModel `json:"addedScopes,omitempty"` Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` RemovedAuthorizationDetailsTypes *[]string `json:"removedAuthorizationDetailsTypes,omitempty"` // RemovedScopes This field is not supported yet. RemovedScopes *[]string `json:"removedScopes,omitempty"` }
APIResourcePatchModel defines model for APIResourcePatchModel.
type APIResourceResponse ¶
type APIResourceResponse struct { AuthorizationDetailsTypes *[]AuthorizationDetailsTypesGetModel `json:"authorizationDetailsTypes,omitempty"` Description *string `json:"description,omitempty"` Id string `json:"id"` Identifier string `json:"identifier"` Name string `json:"name"` Properties *[]Property `json:"properties,omitempty"` RequiresAuthorization *bool `json:"requiresAuthorization,omitempty"` Scopes *[]ScopeGetModel `json:"scopes,omitempty"` Self string `json:"self"` SubscribedApplications *[]SubscribedApplicationGetModel `json:"subscribedApplications,omitempty"` Type *string `json:"type,omitempty"` }
APIResourceResponse defines model for APIResourceResponse.
type AddAPIResourceJSONRequestBody ¶
type AddAPIResourceJSONRequestBody = APIResourceCreationModel
AddAPIResourceJSONRequestBody defines body for AddAPIResource for application/json ContentType.
type AddAPIResourceResponse ¶
type AddAPIResourceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *APIResourceResponse JSON400 *Error JSON404 *Error JSON409 *Error XML409 *Error JSON500 *Error }
func ParseAddAPIResourceResponse ¶
func ParseAddAPIResourceResponse(rsp *http.Response) (*AddAPIResourceResponse, error)
ParseAddAPIResourceResponse parses an HTTP response from a AddAPIResourceWithResponse call
func (AddAPIResourceResponse) Status ¶
func (r AddAPIResourceResponse) Status() string
Status returns HTTPResponse.Status
func (AddAPIResourceResponse) StatusCode ¶
func (r AddAPIResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddAuthorizationDetailsTypesJSONBody ¶
type AddAuthorizationDetailsTypesJSONBody = []AuthorizationDetailsTypesCreationModel
AddAuthorizationDetailsTypesJSONBody defines parameters for AddAuthorizationDetailsTypes.
type AddAuthorizationDetailsTypesJSONRequestBody ¶
type AddAuthorizationDetailsTypesJSONRequestBody = AddAuthorizationDetailsTypesJSONBody
AddAuthorizationDetailsTypesJSONRequestBody defines body for AddAuthorizationDetailsTypes for application/json ContentType.
type AddAuthorizationDetailsTypesResponse ¶
type AddAuthorizationDetailsTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AuthorizationDetailsTypesGetModel JSON401 *Error JSON404 *Error JSON500 *Error }
func ParseAddAuthorizationDetailsTypesResponse ¶
func ParseAddAuthorizationDetailsTypesResponse(rsp *http.Response) (*AddAuthorizationDetailsTypesResponse, error)
ParseAddAuthorizationDetailsTypesResponse parses an HTTP response from a AddAuthorizationDetailsTypesWithResponse call
func (AddAuthorizationDetailsTypesResponse) Status ¶
func (r AddAuthorizationDetailsTypesResponse) Status() string
Status returns HTTPResponse.Status
func (AddAuthorizationDetailsTypesResponse) StatusCode ¶
func (r AddAuthorizationDetailsTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthorizationDetailsTypeId ¶
type AuthorizationDetailsTypeId = string
AuthorizationDetailsTypeId defines model for authorizationDetailsTypeId.
type AuthorizationDetailsTypesCreationModel ¶
type AuthorizationDetailsTypesCreationModel struct { // Description description of the authorization details type Description string `json:"description"` // Name display name of the authorization details type Name string `json:"name"` // Schema Accepts the [JSON Schema document](https://json-schema.org/draft/2020-12/json-schema-core#name-json-schema-documents) of the authorization details type Schema map[string]interface{} `json:"schema"` // Type an unique type of the authorization details type Type string `json:"type"` }
AuthorizationDetailsTypesCreationModel defines model for AuthorizationDetailsTypesCreationModel.
type AuthorizationDetailsTypesGetModel ¶
type AuthorizationDetailsTypesGetModel struct { // Description description of the authorization details type Description string `json:"description"` // Id an unique id of the registered authorization details type Id string `json:"id"` // Name display name of the authorization details type Name string `json:"name"` // Schema Accepts the [JSON Schema document](https://json-schema.org/draft/2020-12/json-schema-core#name-json-schema-documents) of the authorization details type Schema map[string]interface{} `json:"schema"` // Type an unique type of the authorization details type Type string `json:"type"` }
AuthorizationDetailsTypesGetModel defines model for AuthorizationDetailsTypesGetModel.
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) AddAPIResource ¶
func (c *Client) AddAPIResource(ctx context.Context, body AddAPIResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddAPIResourceWithBody ¶
func (*Client) AddAuthorizationDetailsTypes ¶
func (c *Client) AddAuthorizationDetailsTypes(ctx context.Context, apiResourceId ApiResourceId, body AddAuthorizationDetailsTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddAuthorizationDetailsTypesWithBody ¶
func (*Client) DeleteApiResourcesApiResourceId ¶
func (c *Client) DeleteApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteApiResourcesApiResourceIdScopesScopeName ¶
func (c *Client) DeleteApiResourcesApiResourceIdScopesScopeName(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAuthorizationDetailsType ¶
func (c *Client) DeleteAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAPIResourceCollectionByCollectionId ¶
func (c *Client) GetAPIResourceCollectionByCollectionId(ctx context.Context, collectionId CollectionId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAPIResourceCollections ¶
func (c *Client) GetAPIResourceCollections(ctx context.Context, params *GetAPIResourceCollectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAPIResources ¶
func (c *Client) GetAPIResources(ctx context.Context, params *GetAPIResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiResourcesApiResourceId ¶
func (c *Client) GetApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiResourcesApiResourceIdScopes ¶
func (c *Client) GetApiResourcesApiResourceIdScopes(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAuthorizationDetailsType ¶
func (c *Client) GetAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAuthorizationDetailsTypes ¶
func (c *Client) GetAuthorizationDetailsTypes(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAuthorizationDetailsTypesInTenant ¶
func (c *Client) GetAuthorizationDetailsTypesInTenant(ctx context.Context, params *GetAuthorizationDetailsTypesInTenantParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetScopes ¶
func (c *Client) GetScopes(ctx context.Context, params *GetScopesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IsAuthorizationDetailsTypeExists ¶
func (c *Client) IsAuthorizationDetailsTypeExists(ctx context.Context, params *IsAuthorizationDetailsTypeExistsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchApiResourcesApiResourceId ¶
func (c *Client) PatchApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, body PatchApiResourcesApiResourceIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchApiResourcesApiResourceIdScopesScopeName ¶
func (c *Client) PatchApiResourcesApiResourceIdScopesScopeName(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, body PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchApiResourcesApiResourceIdScopesScopeNameWithBody ¶
func (*Client) PatchApiResourcesApiResourceIdWithBody ¶
func (*Client) PutApiResourcesApiResourceIdScopes ¶
func (c *Client) PutApiResourcesApiResourceIdScopes(ctx context.Context, apiResourceId ApiResourceId, body PutApiResourcesApiResourceIdScopesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiResourcesApiResourceIdScopesWithBody ¶
func (*Client) UpdateAuthorizationDetailsType ¶
func (c *Client) UpdateAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, body UpdateAuthorizationDetailsTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAuthorizationDetailsTypeWithBody ¶
func (c *Client) UpdateAuthorizationDetailsTypeWithBody(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // GetAPIResources request GetAPIResources(ctx context.Context, params *GetAPIResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // AddAPIResourceWithBody request with any body AddAPIResourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AddAPIResource(ctx context.Context, body AddAPIResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteApiResourcesApiResourceId request DeleteApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiResourcesApiResourceId request GetApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchApiResourcesApiResourceIdWithBody request with any body PatchApiResourcesApiResourceIdWithBody(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchApiResourcesApiResourceId(ctx context.Context, apiResourceId ApiResourceId, body PatchApiResourcesApiResourceIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAuthorizationDetailsTypes request GetAuthorizationDetailsTypes(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*http.Response, error) // AddAuthorizationDetailsTypesWithBody request with any body AddAuthorizationDetailsTypesWithBody(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AddAuthorizationDetailsTypes(ctx context.Context, apiResourceId ApiResourceId, body AddAuthorizationDetailsTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAuthorizationDetailsType request DeleteAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAuthorizationDetailsType request GetAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateAuthorizationDetailsTypeWithBody request with any body UpdateAuthorizationDetailsTypeWithBody(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateAuthorizationDetailsType(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, body UpdateAuthorizationDetailsTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiResourcesApiResourceIdScopes request GetApiResourcesApiResourceIdScopes(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*http.Response, error) // PutApiResourcesApiResourceIdScopesWithBody request with any body PutApiResourcesApiResourceIdScopesWithBody(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutApiResourcesApiResourceIdScopes(ctx context.Context, apiResourceId ApiResourceId, body PutApiResourcesApiResourceIdScopesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteApiResourcesApiResourceIdScopesScopeName request DeleteApiResourcesApiResourceIdScopesScopeName(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchApiResourcesApiResourceIdScopesScopeNameWithBody request with any body PatchApiResourcesApiResourceIdScopesScopeNameWithBody(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchApiResourcesApiResourceIdScopesScopeName(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, body PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAuthorizationDetailsTypesInTenant request GetAuthorizationDetailsTypesInTenant(ctx context.Context, params *GetAuthorizationDetailsTypesInTenantParams, reqEditors ...RequestEditorFn) (*http.Response, error) // IsAuthorizationDetailsTypeExists request IsAuthorizationDetailsTypeExists(ctx context.Context, params *IsAuthorizationDetailsTypeExistsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAPIResourceCollections request GetAPIResourceCollections(ctx context.Context, params *GetAPIResourceCollectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAPIResourceCollectionByCollectionId request GetAPIResourceCollectionByCollectionId(ctx context.Context, collectionId CollectionId, reqEditors ...RequestEditorFn) (*http.Response, error) // GetScopes request GetScopes(ctx context.Context, params *GetScopesParams, 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) AddAPIResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) AddAPIResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAPIResourceResponse, error)
AddAPIResourceWithBodyWithResponse request with arbitrary body returning *AddAPIResourceResponse
func (*ClientWithResponses) AddAPIResourceWithResponse ¶
func (c *ClientWithResponses) AddAPIResourceWithResponse(ctx context.Context, body AddAPIResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAPIResourceResponse, error)
func (*ClientWithResponses) AddAuthorizationDetailsTypesWithBodyWithResponse ¶
func (c *ClientWithResponses) AddAuthorizationDetailsTypesWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAuthorizationDetailsTypesResponse, error)
AddAuthorizationDetailsTypesWithBodyWithResponse request with arbitrary body returning *AddAuthorizationDetailsTypesResponse
func (*ClientWithResponses) AddAuthorizationDetailsTypesWithResponse ¶
func (c *ClientWithResponses) AddAuthorizationDetailsTypesWithResponse(ctx context.Context, apiResourceId ApiResourceId, body AddAuthorizationDetailsTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAuthorizationDetailsTypesResponse, error)
func (*ClientWithResponses) DeleteApiResourcesApiResourceIdScopesScopeNameWithResponse ¶
func (c *ClientWithResponses) DeleteApiResourcesApiResourceIdScopesScopeNameWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, reqEditors ...RequestEditorFn) (*DeleteApiResourcesApiResourceIdScopesScopeNameResponse, error)
DeleteApiResourcesApiResourceIdScopesScopeNameWithResponse request returning *DeleteApiResourcesApiResourceIdScopesScopeNameResponse
func (*ClientWithResponses) DeleteApiResourcesApiResourceIdWithResponse ¶
func (c *ClientWithResponses) DeleteApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*DeleteApiResourcesApiResourceIdResponse, error)
DeleteApiResourcesApiResourceIdWithResponse request returning *DeleteApiResourcesApiResourceIdResponse
func (*ClientWithResponses) DeleteAuthorizationDetailsTypeWithResponse ¶
func (c *ClientWithResponses) DeleteAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, reqEditors ...RequestEditorFn) (*DeleteAuthorizationDetailsTypeResponse, error)
DeleteAuthorizationDetailsTypeWithResponse request returning *DeleteAuthorizationDetailsTypeResponse
func (*ClientWithResponses) GetAPIResourceCollectionByCollectionIdWithResponse ¶
func (c *ClientWithResponses) GetAPIResourceCollectionByCollectionIdWithResponse(ctx context.Context, collectionId CollectionId, reqEditors ...RequestEditorFn) (*GetAPIResourceCollectionByCollectionIdResponse, error)
GetAPIResourceCollectionByCollectionIdWithResponse request returning *GetAPIResourceCollectionByCollectionIdResponse
func (*ClientWithResponses) GetAPIResourceCollectionsWithResponse ¶
func (c *ClientWithResponses) GetAPIResourceCollectionsWithResponse(ctx context.Context, params *GetAPIResourceCollectionsParams, reqEditors ...RequestEditorFn) (*GetAPIResourceCollectionsResponse, error)
GetAPIResourceCollectionsWithResponse request returning *GetAPIResourceCollectionsResponse
func (*ClientWithResponses) GetAPIResourcesWithResponse ¶
func (c *ClientWithResponses) GetAPIResourcesWithResponse(ctx context.Context, params *GetAPIResourcesParams, reqEditors ...RequestEditorFn) (*GetAPIResourcesResponse, error)
GetAPIResourcesWithResponse request returning *GetAPIResourcesResponse
func (*ClientWithResponses) GetApiResourcesApiResourceIdScopesWithResponse ¶
func (c *ClientWithResponses) GetApiResourcesApiResourceIdScopesWithResponse(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*GetApiResourcesApiResourceIdScopesResponse, error)
GetApiResourcesApiResourceIdScopesWithResponse request returning *GetApiResourcesApiResourceIdScopesResponse
func (*ClientWithResponses) GetApiResourcesApiResourceIdWithResponse ¶
func (c *ClientWithResponses) GetApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*GetApiResourcesApiResourceIdResponse, error)
GetApiResourcesApiResourceIdWithResponse request returning *GetApiResourcesApiResourceIdResponse
func (*ClientWithResponses) GetAuthorizationDetailsTypeWithResponse ¶
func (c *ClientWithResponses) GetAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, reqEditors ...RequestEditorFn) (*GetAuthorizationDetailsTypeResponse, error)
GetAuthorizationDetailsTypeWithResponse request returning *GetAuthorizationDetailsTypeResponse
func (*ClientWithResponses) GetAuthorizationDetailsTypesInTenantWithResponse ¶
func (c *ClientWithResponses) GetAuthorizationDetailsTypesInTenantWithResponse(ctx context.Context, params *GetAuthorizationDetailsTypesInTenantParams, reqEditors ...RequestEditorFn) (*GetAuthorizationDetailsTypesInTenantResponse, error)
GetAuthorizationDetailsTypesInTenantWithResponse request returning *GetAuthorizationDetailsTypesInTenantResponse
func (*ClientWithResponses) GetAuthorizationDetailsTypesWithResponse ¶
func (c *ClientWithResponses) GetAuthorizationDetailsTypesWithResponse(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*GetAuthorizationDetailsTypesResponse, error)
GetAuthorizationDetailsTypesWithResponse request returning *GetAuthorizationDetailsTypesResponse
func (*ClientWithResponses) GetScopesWithResponse ¶
func (c *ClientWithResponses) GetScopesWithResponse(ctx context.Context, params *GetScopesParams, reqEditors ...RequestEditorFn) (*GetScopesResponse, error)
GetScopesWithResponse request returning *GetScopesResponse
func (*ClientWithResponses) IsAuthorizationDetailsTypeExistsWithResponse ¶
func (c *ClientWithResponses) IsAuthorizationDetailsTypeExistsWithResponse(ctx context.Context, params *IsAuthorizationDetailsTypeExistsParams, reqEditors ...RequestEditorFn) (*IsAuthorizationDetailsTypeExistsResponse, error)
IsAuthorizationDetailsTypeExistsWithResponse request returning *IsAuthorizationDetailsTypeExistsResponse
func (*ClientWithResponses) PatchApiResourcesApiResourceIdScopesScopeNameWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchApiResourcesApiResourceIdScopesScopeNameWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiResourcesApiResourceIdScopesScopeNameResponse, error)
PatchApiResourcesApiResourceIdScopesScopeNameWithBodyWithResponse request with arbitrary body returning *PatchApiResourcesApiResourceIdScopesScopeNameResponse
func (*ClientWithResponses) PatchApiResourcesApiResourceIdScopesScopeNameWithResponse ¶
func (c *ClientWithResponses) PatchApiResourcesApiResourceIdScopesScopeNameWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, body PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiResourcesApiResourceIdScopesScopeNameResponse, error)
func (*ClientWithResponses) PatchApiResourcesApiResourceIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchApiResourcesApiResourceIdWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiResourcesApiResourceIdResponse, error)
PatchApiResourcesApiResourceIdWithBodyWithResponse request with arbitrary body returning *PatchApiResourcesApiResourceIdResponse
func (*ClientWithResponses) PatchApiResourcesApiResourceIdWithResponse ¶
func (c *ClientWithResponses) PatchApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, body PatchApiResourcesApiResourceIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiResourcesApiResourceIdResponse, error)
func (*ClientWithResponses) PutApiResourcesApiResourceIdScopesWithBodyWithResponse ¶
func (c *ClientWithResponses) PutApiResourcesApiResourceIdScopesWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiResourcesApiResourceIdScopesResponse, error)
PutApiResourcesApiResourceIdScopesWithBodyWithResponse request with arbitrary body returning *PutApiResourcesApiResourceIdScopesResponse
func (*ClientWithResponses) PutApiResourcesApiResourceIdScopesWithResponse ¶
func (c *ClientWithResponses) PutApiResourcesApiResourceIdScopesWithResponse(ctx context.Context, apiResourceId ApiResourceId, body PutApiResourcesApiResourceIdScopesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiResourcesApiResourceIdScopesResponse, error)
func (*ClientWithResponses) UpdateAuthorizationDetailsTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAuthorizationDetailsTypeWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAuthorizationDetailsTypeResponse, error)
UpdateAuthorizationDetailsTypeWithBodyWithResponse request with arbitrary body returning *UpdateAuthorizationDetailsTypeResponse
func (*ClientWithResponses) UpdateAuthorizationDetailsTypeWithResponse ¶
func (c *ClientWithResponses) UpdateAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, body UpdateAuthorizationDetailsTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAuthorizationDetailsTypeResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetAPIResourcesWithResponse request GetAPIResourcesWithResponse(ctx context.Context, params *GetAPIResourcesParams, reqEditors ...RequestEditorFn) (*GetAPIResourcesResponse, error) // AddAPIResourceWithBodyWithResponse request with any body AddAPIResourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAPIResourceResponse, error) AddAPIResourceWithResponse(ctx context.Context, body AddAPIResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAPIResourceResponse, error) // DeleteApiResourcesApiResourceIdWithResponse request DeleteApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*DeleteApiResourcesApiResourceIdResponse, error) // GetApiResourcesApiResourceIdWithResponse request GetApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*GetApiResourcesApiResourceIdResponse, error) // PatchApiResourcesApiResourceIdWithBodyWithResponse request with any body PatchApiResourcesApiResourceIdWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiResourcesApiResourceIdResponse, error) PatchApiResourcesApiResourceIdWithResponse(ctx context.Context, apiResourceId ApiResourceId, body PatchApiResourcesApiResourceIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiResourcesApiResourceIdResponse, error) // GetAuthorizationDetailsTypesWithResponse request GetAuthorizationDetailsTypesWithResponse(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*GetAuthorizationDetailsTypesResponse, error) // AddAuthorizationDetailsTypesWithBodyWithResponse request with any body AddAuthorizationDetailsTypesWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAuthorizationDetailsTypesResponse, error) AddAuthorizationDetailsTypesWithResponse(ctx context.Context, apiResourceId ApiResourceId, body AddAuthorizationDetailsTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAuthorizationDetailsTypesResponse, error) // DeleteAuthorizationDetailsTypeWithResponse request DeleteAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, reqEditors ...RequestEditorFn) (*DeleteAuthorizationDetailsTypeResponse, error) // GetAuthorizationDetailsTypeWithResponse request GetAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, reqEditors ...RequestEditorFn) (*GetAuthorizationDetailsTypeResponse, error) // UpdateAuthorizationDetailsTypeWithBodyWithResponse request with any body UpdateAuthorizationDetailsTypeWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAuthorizationDetailsTypeResponse, error) UpdateAuthorizationDetailsTypeWithResponse(ctx context.Context, apiResourceId ApiResourceId, authorizationDetailsTypeId AuthorizationDetailsTypeId, body UpdateAuthorizationDetailsTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAuthorizationDetailsTypeResponse, error) // GetApiResourcesApiResourceIdScopesWithResponse request GetApiResourcesApiResourceIdScopesWithResponse(ctx context.Context, apiResourceId ApiResourceId, reqEditors ...RequestEditorFn) (*GetApiResourcesApiResourceIdScopesResponse, error) // PutApiResourcesApiResourceIdScopesWithBodyWithResponse request with any body PutApiResourcesApiResourceIdScopesWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiResourcesApiResourceIdScopesResponse, error) PutApiResourcesApiResourceIdScopesWithResponse(ctx context.Context, apiResourceId ApiResourceId, body PutApiResourcesApiResourceIdScopesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiResourcesApiResourceIdScopesResponse, error) // DeleteApiResourcesApiResourceIdScopesScopeNameWithResponse request DeleteApiResourcesApiResourceIdScopesScopeNameWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, reqEditors ...RequestEditorFn) (*DeleteApiResourcesApiResourceIdScopesScopeNameResponse, error) // PatchApiResourcesApiResourceIdScopesScopeNameWithBodyWithResponse request with any body PatchApiResourcesApiResourceIdScopesScopeNameWithBodyWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiResourcesApiResourceIdScopesScopeNameResponse, error) PatchApiResourcesApiResourceIdScopesScopeNameWithResponse(ctx context.Context, apiResourceId ApiResourceId, scopeName ScopeName, body PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiResourcesApiResourceIdScopesScopeNameResponse, error) // GetAuthorizationDetailsTypesInTenantWithResponse request GetAuthorizationDetailsTypesInTenantWithResponse(ctx context.Context, params *GetAuthorizationDetailsTypesInTenantParams, reqEditors ...RequestEditorFn) (*GetAuthorizationDetailsTypesInTenantResponse, error) // IsAuthorizationDetailsTypeExistsWithResponse request IsAuthorizationDetailsTypeExistsWithResponse(ctx context.Context, params *IsAuthorizationDetailsTypeExistsParams, reqEditors ...RequestEditorFn) (*IsAuthorizationDetailsTypeExistsResponse, error) // GetAPIResourceCollectionsWithResponse request GetAPIResourceCollectionsWithResponse(ctx context.Context, params *GetAPIResourceCollectionsParams, reqEditors ...RequestEditorFn) (*GetAPIResourceCollectionsResponse, error) // GetAPIResourceCollectionByCollectionIdWithResponse request GetAPIResourceCollectionByCollectionIdWithResponse(ctx context.Context, collectionId CollectionId, reqEditors ...RequestEditorFn) (*GetAPIResourceCollectionByCollectionIdResponse, error) // GetScopesWithResponse request GetScopesWithResponse(ctx context.Context, params *GetScopesParams, reqEditors ...RequestEditorFn) (*GetScopesResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CollectionAttributes ¶
type CollectionAttributes = string
CollectionAttributes defines model for collectionAttributes.
type CollectionFilter ¶
type CollectionFilter = string
CollectionFilter defines model for collectionFilter.
type DeleteApiResourcesApiResourceIdResponse ¶
type DeleteApiResourcesApiResourceIdResponse struct { Body []byte HTTPResponse *http.Response JSON500 *Error }
func ParseDeleteApiResourcesApiResourceIdResponse ¶
func ParseDeleteApiResourcesApiResourceIdResponse(rsp *http.Response) (*DeleteApiResourcesApiResourceIdResponse, error)
ParseDeleteApiResourcesApiResourceIdResponse parses an HTTP response from a DeleteApiResourcesApiResourceIdWithResponse call
func (DeleteApiResourcesApiResourceIdResponse) Status ¶
func (r DeleteApiResourcesApiResourceIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiResourcesApiResourceIdResponse) StatusCode ¶
func (r DeleteApiResourcesApiResourceIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiResourcesApiResourceIdScopesScopeNameResponse ¶
type DeleteApiResourcesApiResourceIdScopesScopeNameResponse struct { Body []byte HTTPResponse *http.Response JSON500 *Error }
func ParseDeleteApiResourcesApiResourceIdScopesScopeNameResponse ¶
func ParseDeleteApiResourcesApiResourceIdScopesScopeNameResponse(rsp *http.Response) (*DeleteApiResourcesApiResourceIdScopesScopeNameResponse, error)
ParseDeleteApiResourcesApiResourceIdScopesScopeNameResponse parses an HTTP response from a DeleteApiResourcesApiResourceIdScopesScopeNameWithResponse call
func (DeleteApiResourcesApiResourceIdScopesScopeNameResponse) Status ¶
func (r DeleteApiResourcesApiResourceIdScopesScopeNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiResourcesApiResourceIdScopesScopeNameResponse) StatusCode ¶
func (r DeleteApiResourcesApiResourceIdScopesScopeNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAuthorizationDetailsTypeResponse ¶
type DeleteAuthorizationDetailsTypeResponse struct { Body []byte HTTPResponse *http.Response JSON401 *Error JSON500 *Error }
func ParseDeleteAuthorizationDetailsTypeResponse ¶
func ParseDeleteAuthorizationDetailsTypeResponse(rsp *http.Response) (*DeleteAuthorizationDetailsTypeResponse, error)
ParseDeleteAuthorizationDetailsTypeResponse parses an HTTP response from a DeleteAuthorizationDetailsTypeWithResponse call
func (DeleteAuthorizationDetailsTypeResponse) Status ¶
func (r DeleteAuthorizationDetailsTypeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAuthorizationDetailsTypeResponse) StatusCode ¶
func (r DeleteAuthorizationDetailsTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Error ¶
type Error struct { Code *string `json:"code,omitempty"` Description *string `json:"description,omitempty"` Message *string `json:"message,omitempty"` TraceId *string `json:"traceId,omitempty"` }
Error defines model for Error.
type GetAPIResourceCollectionByCollectionIdResponse ¶
type GetAPIResourceCollectionByCollectionIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *APIResourceCollectionResponse JSON500 *Error }
func ParseGetAPIResourceCollectionByCollectionIdResponse ¶
func ParseGetAPIResourceCollectionByCollectionIdResponse(rsp *http.Response) (*GetAPIResourceCollectionByCollectionIdResponse, error)
ParseGetAPIResourceCollectionByCollectionIdResponse parses an HTTP response from a GetAPIResourceCollectionByCollectionIdWithResponse call
func (GetAPIResourceCollectionByCollectionIdResponse) Status ¶
func (r GetAPIResourceCollectionByCollectionIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetAPIResourceCollectionByCollectionIdResponse) StatusCode ¶
func (r GetAPIResourceCollectionByCollectionIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAPIResourceCollectionsParams ¶
type GetAPIResourceCollectionsParams struct { // Filter Condition to filter the retrieval of records. Supports 'sw', 'co', 'ew' and 'eq' operations. Filter *CollectionFilter `form:"filter,omitempty" json:"filter,omitempty"` // Attributes Specifies the required attributes in the response. Only 'apiResources' attribute is currently supported. Attributes *CollectionAttributes `form:"attributes,omitempty" json:"attributes,omitempty"` }
GetAPIResourceCollectionsParams defines parameters for GetAPIResourceCollections.
type GetAPIResourceCollectionsResponse ¶
type GetAPIResourceCollectionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *APIResourceCollectionListResponse JSON500 *Error }
func ParseGetAPIResourceCollectionsResponse ¶
func ParseGetAPIResourceCollectionsResponse(rsp *http.Response) (*GetAPIResourceCollectionsResponse, error)
ParseGetAPIResourceCollectionsResponse parses an HTTP response from a GetAPIResourceCollectionsWithResponse call
func (GetAPIResourceCollectionsResponse) Status ¶
func (r GetAPIResourceCollectionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAPIResourceCollectionsResponse) StatusCode ¶
func (r GetAPIResourceCollectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAPIResourcesParams ¶
type GetAPIResourcesParams struct { // Before Base64 encoded cursor value for backward pagination. Before *Before `form:"before,omitempty" json:"before,omitempty"` // After Base64 encoded cursor value for forward pagination. After *After `form:"after,omitempty" json:"after,omitempty"` // Filter Condition to filter the retrieval of records. Supports 'sw', 'co', 'ew' and 'eq' operations. Filter *Filter `form:"filter,omitempty" json:"filter,omitempty"` // Limit Maximum number of records to return. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` // Attributes Specifies the required attributes in the response. Only 'properties' attribute is currently supported. Attributes *Attributes `form:"attributes,omitempty" json:"attributes,omitempty"` }
GetAPIResourcesParams defines parameters for GetAPIResources.
type GetAPIResourcesResponse ¶
type GetAPIResourcesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *APIResourceListResponse JSON500 *Error }
func ParseGetAPIResourcesResponse ¶
func ParseGetAPIResourcesResponse(rsp *http.Response) (*GetAPIResourcesResponse, error)
ParseGetAPIResourcesResponse parses an HTTP response from a GetAPIResourcesWithResponse call
func (GetAPIResourcesResponse) Status ¶
func (r GetAPIResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAPIResourcesResponse) StatusCode ¶
func (r GetAPIResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiResourcesApiResourceIdResponse ¶
type GetApiResourcesApiResourceIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *APIResourceResponse JSON500 *Error }
func ParseGetApiResourcesApiResourceIdResponse ¶
func ParseGetApiResourcesApiResourceIdResponse(rsp *http.Response) (*GetApiResourcesApiResourceIdResponse, error)
ParseGetApiResourcesApiResourceIdResponse parses an HTTP response from a GetApiResourcesApiResourceIdWithResponse call
func (GetApiResourcesApiResourceIdResponse) Status ¶
func (r GetApiResourcesApiResourceIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiResourcesApiResourceIdResponse) StatusCode ¶
func (r GetApiResourcesApiResourceIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiResourcesApiResourceIdScopesResponse ¶
type GetApiResourcesApiResourceIdScopesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ScopeGetModel JSON404 *Error JSON500 *Error }
func ParseGetApiResourcesApiResourceIdScopesResponse ¶
func ParseGetApiResourcesApiResourceIdScopesResponse(rsp *http.Response) (*GetApiResourcesApiResourceIdScopesResponse, error)
ParseGetApiResourcesApiResourceIdScopesResponse parses an HTTP response from a GetApiResourcesApiResourceIdScopesWithResponse call
func (GetApiResourcesApiResourceIdScopesResponse) Status ¶
func (r GetApiResourcesApiResourceIdScopesResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiResourcesApiResourceIdScopesResponse) StatusCode ¶
func (r GetApiResourcesApiResourceIdScopesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuthorizationDetailsTypeResponse ¶
type GetAuthorizationDetailsTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AuthorizationDetailsTypesGetModel JSON401 *Error JSON404 *Error JSON500 *Error }
func ParseGetAuthorizationDetailsTypeResponse ¶
func ParseGetAuthorizationDetailsTypeResponse(rsp *http.Response) (*GetAuthorizationDetailsTypeResponse, error)
ParseGetAuthorizationDetailsTypeResponse parses an HTTP response from a GetAuthorizationDetailsTypeWithResponse call
func (GetAuthorizationDetailsTypeResponse) Status ¶
func (r GetAuthorizationDetailsTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuthorizationDetailsTypeResponse) StatusCode ¶
func (r GetAuthorizationDetailsTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuthorizationDetailsTypesInTenantParams ¶
type GetAuthorizationDetailsTypesInTenantParams struct { // Filter Condition to filter the retrieval of records. Supports 'sw', 'co', 'ew' and 'eq' operations. Filter *string `form:"filter,omitempty" json:"filter,omitempty"` }
GetAuthorizationDetailsTypesInTenantParams defines parameters for GetAuthorizationDetailsTypesInTenant.
type GetAuthorizationDetailsTypesInTenantResponse ¶
type GetAuthorizationDetailsTypesInTenantResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AuthorizationDetailsTypesGetModel JSON404 *Error JSON500 *Error }
func ParseGetAuthorizationDetailsTypesInTenantResponse ¶
func ParseGetAuthorizationDetailsTypesInTenantResponse(rsp *http.Response) (*GetAuthorizationDetailsTypesInTenantResponse, error)
ParseGetAuthorizationDetailsTypesInTenantResponse parses an HTTP response from a GetAuthorizationDetailsTypesInTenantWithResponse call
func (GetAuthorizationDetailsTypesInTenantResponse) Status ¶
func (r GetAuthorizationDetailsTypesInTenantResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuthorizationDetailsTypesInTenantResponse) StatusCode ¶
func (r GetAuthorizationDetailsTypesInTenantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuthorizationDetailsTypesResponse ¶
type GetAuthorizationDetailsTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AuthorizationDetailsTypesGetModel JSON401 *Error JSON404 *Error JSON500 *Error }
func ParseGetAuthorizationDetailsTypesResponse ¶
func ParseGetAuthorizationDetailsTypesResponse(rsp *http.Response) (*GetAuthorizationDetailsTypesResponse, error)
ParseGetAuthorizationDetailsTypesResponse parses an HTTP response from a GetAuthorizationDetailsTypesWithResponse call
func (GetAuthorizationDetailsTypesResponse) Status ¶
func (r GetAuthorizationDetailsTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuthorizationDetailsTypesResponse) StatusCode ¶
func (r GetAuthorizationDetailsTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScopesParams ¶
type GetScopesParams struct { // Filter Condition to filter the retrieval of records. Supports 'sw', 'co', 'ew' and 'eq' operations. Filter *Filter `form:"filter,omitempty" json:"filter,omitempty"` }
GetScopesParams defines parameters for GetScopes.
type GetScopesResponse ¶
type GetScopesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ScopeGetModel JSON404 *Error JSON500 *Error }
func ParseGetScopesResponse ¶
func ParseGetScopesResponse(rsp *http.Response) (*GetScopesResponse, error)
ParseGetScopesResponse parses an HTTP response from a GetScopesWithResponse call
func (GetScopesResponse) Status ¶
func (r GetScopesResponse) Status() string
Status returns HTTPResponse.Status
func (GetScopesResponse) StatusCode ¶
func (r GetScopesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IsAuthorizationDetailsTypeExistsParams ¶
type IsAuthorizationDetailsTypeExistsParams struct { // Filter Condition to filter the retrieval of records. Supports 'sw', 'co', 'ew' and 'eq' operations. Filter string `form:"filter" json:"filter"` }
IsAuthorizationDetailsTypeExistsParams defines parameters for IsAuthorizationDetailsTypeExists.
type IsAuthorizationDetailsTypeExistsResponse ¶
func ParseIsAuthorizationDetailsTypeExistsResponse ¶
func ParseIsAuthorizationDetailsTypeExistsResponse(rsp *http.Response) (*IsAuthorizationDetailsTypeExistsResponse, error)
ParseIsAuthorizationDetailsTypeExistsResponse parses an HTTP response from a IsAuthorizationDetailsTypeExistsWithResponse call
func (IsAuthorizationDetailsTypeExistsResponse) Status ¶
func (r IsAuthorizationDetailsTypeExistsResponse) Status() string
Status returns HTTPResponse.Status
func (IsAuthorizationDetailsTypeExistsResponse) StatusCode ¶
func (r IsAuthorizationDetailsTypeExistsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PaginationLink ¶
type PaginationLink struct { Href *string `json:"href,omitempty"` Rel *string `json:"rel,omitempty"` }
PaginationLink defines model for PaginationLink.
type PatchApiResourcesApiResourceIdJSONRequestBody ¶
type PatchApiResourcesApiResourceIdJSONRequestBody = APIResourcePatchModel
PatchApiResourcesApiResourceIdJSONRequestBody defines body for PatchApiResourcesApiResourceId for application/json ContentType.
type PatchApiResourcesApiResourceIdResponse ¶
type PatchApiResourcesApiResourceIdResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Error JSON404 *Error JSON409 *Error XML409 *Error JSON500 *Error JSON501 *Error }
func ParsePatchApiResourcesApiResourceIdResponse ¶
func ParsePatchApiResourcesApiResourceIdResponse(rsp *http.Response) (*PatchApiResourcesApiResourceIdResponse, error)
ParsePatchApiResourcesApiResourceIdResponse parses an HTTP response from a PatchApiResourcesApiResourceIdWithResponse call
func (PatchApiResourcesApiResourceIdResponse) Status ¶
func (r PatchApiResourcesApiResourceIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchApiResourcesApiResourceIdResponse) StatusCode ¶
func (r PatchApiResourcesApiResourceIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody ¶
type PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody = ScopePatchModel
PatchApiResourcesApiResourceIdScopesScopeNameJSONRequestBody defines body for PatchApiResourcesApiResourceIdScopesScopeName for application/json ContentType.
type PatchApiResourcesApiResourceIdScopesScopeNameResponse ¶
type PatchApiResourcesApiResourceIdScopesScopeNameResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Error JSON404 *Error JSON500 *Error }
func ParsePatchApiResourcesApiResourceIdScopesScopeNameResponse ¶
func ParsePatchApiResourcesApiResourceIdScopesScopeNameResponse(rsp *http.Response) (*PatchApiResourcesApiResourceIdScopesScopeNameResponse, error)
ParsePatchApiResourcesApiResourceIdScopesScopeNameResponse parses an HTTP response from a PatchApiResourcesApiResourceIdScopesScopeNameWithResponse call
func (PatchApiResourcesApiResourceIdScopesScopeNameResponse) Status ¶
func (r PatchApiResourcesApiResourceIdScopesScopeNameResponse) Status() string
Status returns HTTPResponse.Status
func (PatchApiResourcesApiResourceIdScopesScopeNameResponse) StatusCode ¶
func (r PatchApiResourcesApiResourceIdScopesScopeNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutApiResourcesApiResourceIdScopesJSONBody ¶
type PutApiResourcesApiResourceIdScopesJSONBody = []ScopeCreationModel
PutApiResourcesApiResourceIdScopesJSONBody defines parameters for PutApiResourcesApiResourceIdScopes.
type PutApiResourcesApiResourceIdScopesJSONRequestBody ¶
type PutApiResourcesApiResourceIdScopesJSONRequestBody = PutApiResourcesApiResourceIdScopesJSONBody
PutApiResourcesApiResourceIdScopesJSONRequestBody defines body for PutApiResourcesApiResourceIdScopes for application/json ContentType.
type PutApiResourcesApiResourceIdScopesResponse ¶
type PutApiResourcesApiResourceIdScopesResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Error JSON404 *Error JSON409 *Error XML409 *Error JSON500 *Error }
func ParsePutApiResourcesApiResourceIdScopesResponse ¶
func ParsePutApiResourcesApiResourceIdScopesResponse(rsp *http.Response) (*PutApiResourcesApiResourceIdScopesResponse, error)
ParsePutApiResourcesApiResourceIdScopesResponse parses an HTTP response from a PutApiResourcesApiResourceIdScopesWithResponse call
func (PutApiResourcesApiResourceIdScopesResponse) Status ¶
func (r PutApiResourcesApiResourceIdScopesResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiResourcesApiResourceIdScopesResponse) StatusCode ¶
func (r PutApiResourcesApiResourceIdScopesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ScopeCreationModel ¶
type ScopeCreationModel struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Name string `json:"name"` }
ScopeCreationModel defines model for ScopeCreationModel.
type ScopeGetModel ¶
type ScopeGetModel struct { Description *string `json:"description,omitempty"` DisplayName string `json:"displayName"` Id string `json:"id"` Name string `json:"name"` }
ScopeGetModel defines model for ScopeGetModel.
type ScopePatchModel ¶
type ScopePatchModel struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` }
ScopePatchModel defines model for ScopePatchModel.
type SubscribedApplicationGetModel ¶
type SubscribedApplicationGetModel struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
SubscribedApplicationGetModel defines model for SubscribedApplicationGetModel.
type UpdateAuthorizationDetailsTypeJSONRequestBody ¶
type UpdateAuthorizationDetailsTypeJSONRequestBody = AuthorizationDetailsTypesCreationModel
UpdateAuthorizationDetailsTypeJSONRequestBody defines body for UpdateAuthorizationDetailsType for application/json ContentType.
type UpdateAuthorizationDetailsTypeResponse ¶
type UpdateAuthorizationDetailsTypeResponse struct { Body []byte HTTPResponse *http.Response JSON401 *Error JSON404 *Error JSON500 *Error }
func ParseUpdateAuthorizationDetailsTypeResponse ¶
func ParseUpdateAuthorizationDetailsTypeResponse(rsp *http.Response) (*UpdateAuthorizationDetailsTypeResponse, error)
ParseUpdateAuthorizationDetailsTypeResponse parses an HTTP response from a UpdateAuthorizationDetailsTypeWithResponse call
func (UpdateAuthorizationDetailsTypeResponse) Status ¶
func (r UpdateAuthorizationDetailsTypeResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAuthorizationDetailsTypeResponse) StatusCode ¶
func (r UpdateAuthorizationDetailsTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode