thirdPartyServices

package
v62.0.0-...-eaec136 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

type ThirdPartyServicesService struct {
	*client.Client
}

ThirdPartyServicesService provides the API operations for making requests to ThirdPartyServices endpoint.

func New

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL