Documentation ¶
Index ¶
- Constants
- type AddRejectionHandlerCommandInput
- type DeleteRejectionHandlerCommandInput
- type GetRejecitonHandlerDescriptorCommandInput
- type GetRejectionHandlerCommandInput
- type GetRejectionHandlersCommandInput
- type RejectionHandlersAPI
- type RejectionHandlersService
- func (s *RejectionHandlersService) AddRejectionHandlerCommand(input *AddRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error)
- func (s *RejectionHandlersService) DeleteRejectionHandlerCommand(input *DeleteRejectionHandlerCommandInput) (resp *http.Response, err error)
- func (s *RejectionHandlersService) GetRejecitonHandlerDescriptorCommand(input *GetRejecitonHandlerDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error)
- func (s *RejectionHandlersService) GetRejectionHandlerCommand(input *GetRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error)
- func (s *RejectionHandlersService) GetRejectionHandlerDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
- func (s *RejectionHandlersService) GetRejectionHandlersCommand(input *GetRejectionHandlersCommandInput) (output *models.RejectionHandlersView, resp *http.Response, err error)
- func (s *RejectionHandlersService) UpdateRejectionHandlerCommand(input *UpdateRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error)
- type UpdateRejectionHandlerCommandInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "RejectionHandlers"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRejectionHandlerCommandInput ¶
type AddRejectionHandlerCommandInput struct {
Body models.RejectionHandlerView
}
AddRejectionHandlerCommandInput - Inputs for AddRejectionHandlerCommand
type DeleteRejectionHandlerCommandInput ¶
type DeleteRejectionHandlerCommandInput struct {
Id string
}
DeleteRejectionHandlerCommandInput - Inputs for DeleteRejectionHandlerCommand
type GetRejecitonHandlerDescriptorCommandInput ¶
type GetRejecitonHandlerDescriptorCommandInput struct {
RejectionHandlerType string
}
GetRejecitonHandlerDescriptorCommandInput - Inputs for GetRejecitonHandlerDescriptorCommand
type GetRejectionHandlerCommandInput ¶
type GetRejectionHandlerCommandInput struct {
Id string
}
GetRejectionHandlerCommandInput - Inputs for GetRejectionHandlerCommand
type GetRejectionHandlersCommandInput ¶
type GetRejectionHandlersCommandInput struct { Page string NumberPerPage string Filter string Name string SortKey string Order string }
GetRejectionHandlersCommandInput - Inputs for GetRejectionHandlersCommand
type RejectionHandlersAPI ¶
type RejectionHandlersAPI interface { GetRejectionHandlersCommand(input *GetRejectionHandlersCommandInput) (output *models.RejectionHandlersView, resp *http.Response, err error) AddRejectionHandlerCommand(input *AddRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error) GetRejectionHandlerDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error) GetRejecitonHandlerDescriptorCommand(input *GetRejecitonHandlerDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error) DeleteRejectionHandlerCommand(input *DeleteRejectionHandlerCommandInput) (resp *http.Response, err error) GetRejectionHandlerCommand(input *GetRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error) UpdateRejectionHandlerCommand(input *UpdateRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error) }
type RejectionHandlersService ¶
RejectionHandlersService provides the API operations for making requests to RejectionHandlers endpoint.
func New ¶
func New(cfg *config.Config) *RejectionHandlersService
New createa a new instance of the RejectionHandlersService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2FederateM0re").WithEndpoint(paURL.String()) //Create a RejectionHandlersService from the configuration svc := rejectionHandlers.New(cfg)
func (*RejectionHandlersService) AddRejectionHandlerCommand ¶
func (s *RejectionHandlersService) AddRejectionHandlerCommand(input *AddRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error)
AddRejectionHandlerCommand - Create a Rejection Handler RequestType: POST Input: input *AddRejectionHandlerCommandInput
func (*RejectionHandlersService) DeleteRejectionHandlerCommand ¶
func (s *RejectionHandlersService) DeleteRejectionHandlerCommand(input *DeleteRejectionHandlerCommandInput) (resp *http.Response, err error)
DeleteRejectionHandlerCommand - Delete a Rejection Handler RequestType: DELETE Input: input *DeleteRejectionHandlerCommandInput
func (*RejectionHandlersService) GetRejecitonHandlerDescriptorCommand ¶
func (s *RejectionHandlersService) GetRejecitonHandlerDescriptorCommand(input *GetRejecitonHandlerDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error)
GetRejecitonHandlerDescriptorCommand - Get descriptor for a Rejection Handler type RequestType: GET Input: input *GetRejecitonHandlerDescriptorCommandInput
func (*RejectionHandlersService) GetRejectionHandlerCommand ¶
func (s *RejectionHandlersService) GetRejectionHandlerCommand(input *GetRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error)
GetRejectionHandlerCommand - Get a Rejection Handler RequestType: GET Input: input *GetRejectionHandlerCommandInput
func (*RejectionHandlersService) GetRejectionHandlerDescriptorsCommand ¶
func (s *RejectionHandlersService) GetRejectionHandlerDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
GetRejectionHandlerDescriptorsCommand - Get descriptors for all supported Rejection Handler types RequestType: GET Input:
func (*RejectionHandlersService) GetRejectionHandlersCommand ¶
func (s *RejectionHandlersService) GetRejectionHandlersCommand(input *GetRejectionHandlersCommandInput) (output *models.RejectionHandlersView, resp *http.Response, err error)
GetRejectionHandlersCommand - Get all Rejection Handlers RequestType: GET Input: input *GetRejectionHandlersCommandInput
func (*RejectionHandlersService) UpdateRejectionHandlerCommand ¶
func (s *RejectionHandlersService) UpdateRejectionHandlerCommand(input *UpdateRejectionHandlerCommandInput) (output *models.RejectionHandlerView, resp *http.Response, err error)
UpdateRejectionHandlerCommand - Update a Rejection Handler RequestType: PUT Input: input *UpdateRejectionHandlerCommandInput
type UpdateRejectionHandlerCommandInput ¶
type UpdateRejectionHandlerCommandInput struct { Body models.RejectionHandlerView Id string }
UpdateRejectionHandlerCommandInput - Inputs for UpdateRejectionHandlerCommand