Documentation ¶
Index ¶
- Constants
- type AddThirdPartyServiceCommandInput
- type DeleteThirdPartyServiceCommandInput
- type GetThirdPartyServiceCommandInput
- type GetThirdPartyServicesCommandInput
- type ThirdPartyServicesAPI
- type ThirdPartyServicesService
- func (s *ThirdPartyServicesService) AddThirdPartyServiceCommand(input *AddThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error)
- func (s *ThirdPartyServicesService) DeleteThirdPartyServiceCommand(input *DeleteThirdPartyServiceCommandInput) (resp *http.Response, err error)
- func (s *ThirdPartyServicesService) GetThirdPartyServiceCommand(input *GetThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error)
- func (s *ThirdPartyServicesService) GetThirdPartyServicesCommand(input *GetThirdPartyServicesCommandInput) (output *models.ThirdPartyServicesView, resp *http.Response, err error)
- func (s *ThirdPartyServicesService) UpdateThirdPartyServiceCommand(input *UpdateThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error)
- type UpdateThirdPartyServiceCommandInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "ThirdPartyServices"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddThirdPartyServiceCommandInput ¶
type AddThirdPartyServiceCommandInput struct {
Body models.ThirdPartyServiceView
}
AddThirdPartyServiceCommandInput - Inputs for AddThirdPartyServiceCommand
type DeleteThirdPartyServiceCommandInput ¶
type DeleteThirdPartyServiceCommandInput struct {
Id string
}
DeleteThirdPartyServiceCommandInput - Inputs for DeleteThirdPartyServiceCommand
type GetThirdPartyServiceCommandInput ¶
type GetThirdPartyServiceCommandInput struct {
Id string
}
GetThirdPartyServiceCommandInput - Inputs for GetThirdPartyServiceCommand
type GetThirdPartyServicesCommandInput ¶
type GetThirdPartyServicesCommandInput struct { Page string NumberPerPage string Filter string Name string SortKey string Order string }
GetThirdPartyServicesCommandInput - Inputs for GetThirdPartyServicesCommand
type ThirdPartyServicesAPI ¶
type ThirdPartyServicesAPI interface { GetThirdPartyServicesCommand(input *GetThirdPartyServicesCommandInput) (output *models.ThirdPartyServicesView, resp *http.Response, err error) AddThirdPartyServiceCommand(input *AddThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error) DeleteThirdPartyServiceCommand(input *DeleteThirdPartyServiceCommandInput) (resp *http.Response, err error) GetThirdPartyServiceCommand(input *GetThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error) UpdateThirdPartyServiceCommand(input *UpdateThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error) }
type ThirdPartyServicesService ¶
ThirdPartyServicesService provides the API operations for making requests to ThirdPartyServices endpoint.
func New ¶
func New(cfg *config.Config) *ThirdPartyServicesService
New createa a new instance of the ThirdPartyServicesService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL) //Create a ThirdPartyServicesService from the configuration svc := thirdPartyServices.New(cfg)
func (*ThirdPartyServicesService) AddThirdPartyServiceCommand ¶
func (s *ThirdPartyServicesService) AddThirdPartyServiceCommand(input *AddThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error)
AddThirdPartyServiceCommand - Create a Third-Party Service RequestType: POST Input: input *AddThirdPartyServiceCommandInput
func (*ThirdPartyServicesService) DeleteThirdPartyServiceCommand ¶
func (s *ThirdPartyServicesService) DeleteThirdPartyServiceCommand(input *DeleteThirdPartyServiceCommandInput) (resp *http.Response, err error)
DeleteThirdPartyServiceCommand - Delete a Third-Party Service RequestType: DELETE Input: input *DeleteThirdPartyServiceCommandInput
func (*ThirdPartyServicesService) GetThirdPartyServiceCommand ¶
func (s *ThirdPartyServicesService) GetThirdPartyServiceCommand(input *GetThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error)
GetThirdPartyServiceCommand - Get a Third-Party Service RequestType: GET Input: input *GetThirdPartyServiceCommandInput
func (*ThirdPartyServicesService) GetThirdPartyServicesCommand ¶
func (s *ThirdPartyServicesService) GetThirdPartyServicesCommand(input *GetThirdPartyServicesCommandInput) (output *models.ThirdPartyServicesView, resp *http.Response, err error)
GetThirdPartyServicesCommand - Get all Third-Party Services RequestType: GET Input: input *GetThirdPartyServicesCommandInput
func (*ThirdPartyServicesService) UpdateThirdPartyServiceCommand ¶
func (s *ThirdPartyServicesService) UpdateThirdPartyServiceCommand(input *UpdateThirdPartyServiceCommandInput) (output *models.ThirdPartyServiceView, resp *http.Response, err error)
UpdateThirdPartyServiceCommand - Update a Third-Party Service RequestType: PUT Input: input *UpdateThirdPartyServiceCommandInput
type UpdateThirdPartyServiceCommandInput ¶
type UpdateThirdPartyServiceCommandInput struct { Body models.ThirdPartyServiceView Id string }
UpdateThirdPartyServiceCommandInput - Inputs for UpdateThirdPartyServiceCommand