Documentation ¶
Index ¶
- Constants
- type CreateMappingInput
- type DeleteMappingInput
- type GetMappingInput
- type OauthAccessTokenMappingsAPI
- type OauthAccessTokenMappingsService
- func (s *OauthAccessTokenMappingsService) CreateMapping(input *CreateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) CreateMappingWithContext(ctx context.Context, input *CreateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) DeleteMapping(input *DeleteMappingInput) (output *models.ApiResult, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) DeleteMappingWithContext(ctx context.Context, input *DeleteMappingInput) (output *models.ApiResult, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) GetMapping(input *GetMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) GetMappingWithContext(ctx context.Context, input *GetMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) GetMappings() (output *models.AccessTokenMappings, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) GetMappingsWithContext(ctx context.Context) (output *models.AccessTokenMappings, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) UpdateMapping(input *UpdateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
- func (s *OauthAccessTokenMappingsService) UpdateMappingWithContext(ctx context.Context, input *UpdateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
- type UpdateMappingInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "OauthAccessTokenMappings"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateMappingInput ¶
type CreateMappingInput struct { Body models.AccessTokenMapping BypassExternalValidation *bool }
type DeleteMappingInput ¶
type DeleteMappingInput struct {
Id string
}
type GetMappingInput ¶
type GetMappingInput struct {
Id string
}
type OauthAccessTokenMappingsAPI ¶
type OauthAccessTokenMappingsAPI interface { GetMappings() (output *models.AccessTokenMappings, resp *http.Response, err error) GetMappingsWithContext(ctx context.Context) (output *models.AccessTokenMappings, resp *http.Response, err error) CreateMapping(input *CreateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error) CreateMappingWithContext(ctx context.Context, input *CreateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error) GetMapping(input *GetMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error) GetMappingWithContext(ctx context.Context, input *GetMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error) UpdateMapping(input *UpdateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error) UpdateMappingWithContext(ctx context.Context, input *UpdateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error) DeleteMapping(input *DeleteMappingInput) (output *models.ApiResult, resp *http.Response, err error) DeleteMappingWithContext(ctx context.Context, input *DeleteMappingInput) (output *models.ApiResult, resp *http.Response, err error) }
type OauthAccessTokenMappingsService ¶
func New ¶
func New(cfg *config.Config) *OauthAccessTokenMappingsService
New creates a new instance of the OauthAccessTokenMappingsService client.
func (*OauthAccessTokenMappingsService) CreateMapping ¶
func (s *OauthAccessTokenMappingsService) CreateMapping(input *CreateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
CreateMapping - Create a new Access Token Mapping. RequestType: POST Input: input *CreateMappingInput
func (*OauthAccessTokenMappingsService) CreateMappingWithContext ¶
func (s *OauthAccessTokenMappingsService) CreateMappingWithContext(ctx context.Context, input *CreateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
CreateMappingWithContext - Create a new Access Token Mapping. RequestType: POST Input: ctx context.Context, input *CreateMappingInput
func (*OauthAccessTokenMappingsService) DeleteMapping ¶
func (s *OauthAccessTokenMappingsService) DeleteMapping(input *DeleteMappingInput) (output *models.ApiResult, resp *http.Response, err error)
DeleteMapping - Delete an Access Token Mapping. RequestType: DELETE Input: input *DeleteMappingInput
func (*OauthAccessTokenMappingsService) DeleteMappingWithContext ¶
func (s *OauthAccessTokenMappingsService) DeleteMappingWithContext(ctx context.Context, input *DeleteMappingInput) (output *models.ApiResult, resp *http.Response, err error)
DeleteMappingWithContext - Delete an Access Token Mapping. RequestType: DELETE Input: ctx context.Context, input *DeleteMappingInput
func (*OauthAccessTokenMappingsService) GetMapping ¶
func (s *OauthAccessTokenMappingsService) GetMapping(input *GetMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
GetMapping - Find the Access Token Mapping by its ID. RequestType: GET Input: input *GetMappingInput
func (*OauthAccessTokenMappingsService) GetMappingWithContext ¶
func (s *OauthAccessTokenMappingsService) GetMappingWithContext(ctx context.Context, input *GetMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
GetMappingWithContext - Find the Access Token Mapping by its ID. RequestType: GET Input: ctx context.Context, input *GetMappingInput
func (*OauthAccessTokenMappingsService) GetMappings ¶
func (s *OauthAccessTokenMappingsService) GetMappings() (output *models.AccessTokenMappings, resp *http.Response, err error)
GetMappings - Get the list of Access Token Mappings. RequestType: GET Input:
func (*OauthAccessTokenMappingsService) GetMappingsWithContext ¶
func (s *OauthAccessTokenMappingsService) GetMappingsWithContext(ctx context.Context) (output *models.AccessTokenMappings, resp *http.Response, err error)
GetMappingsWithContext - Get the list of Access Token Mappings. RequestType: GET Input: ctx context.Context,
func (*OauthAccessTokenMappingsService) UpdateMapping ¶
func (s *OauthAccessTokenMappingsService) UpdateMapping(input *UpdateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
UpdateMapping - Update an Access Token Mapping. RequestType: PUT Input: input *UpdateMappingInput
func (*OauthAccessTokenMappingsService) UpdateMappingWithContext ¶
func (s *OauthAccessTokenMappingsService) UpdateMappingWithContext(ctx context.Context, input *UpdateMappingInput) (output *models.AccessTokenMapping, resp *http.Response, err error)
UpdateMappingWithContext - Update an Access Token Mapping. RequestType: PUT Input: ctx context.Context, input *UpdateMappingInput
type UpdateMappingInput ¶
type UpdateMappingInput struct { Body models.AccessTokenMapping Id string BypassExternalValidation *bool }