Documentation ¶
Index ¶
- Constants
- type AddTrustedCertificateGroupCommandInput
- type DeleteTrustedCertificateGroupCommandInput
- type GetTrustedCertificateGroupCommandInput
- type GetTrustedCertificateGroupsCommandInput
- type TrustedCertificateGroupsAPI
- type TrustedCertificateGroupsService
- func (s *TrustedCertificateGroupsService) AddTrustedCertificateGroupCommand(input *AddTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error)
- func (s *TrustedCertificateGroupsService) DeleteTrustedCertificateGroupCommand(input *DeleteTrustedCertificateGroupCommandInput) (resp *http.Response, err error)
- func (s *TrustedCertificateGroupsService) GetTrustedCertificateGroupCommand(input *GetTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error)
- func (s *TrustedCertificateGroupsService) GetTrustedCertificateGroupsCommand(input *GetTrustedCertificateGroupsCommandInput) (output *models.TrustedCertificateGroupsView, resp *http.Response, err error)
- func (s *TrustedCertificateGroupsService) UpdateTrustedCertificateGroupCommand(input *UpdateTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error)
- type UpdateTrustedCertificateGroupCommandInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "TrustedCertificateGroups"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTrustedCertificateGroupCommandInput ¶
type AddTrustedCertificateGroupCommandInput struct {
Body models.TrustedCertificateGroupView
}
AddTrustedCertificateGroupCommandInput - Inputs for AddTrustedCertificateGroupCommand
type DeleteTrustedCertificateGroupCommandInput ¶
type DeleteTrustedCertificateGroupCommandInput struct {
Id string
}
DeleteTrustedCertificateGroupCommandInput - Inputs for DeleteTrustedCertificateGroupCommand
type GetTrustedCertificateGroupCommandInput ¶
type GetTrustedCertificateGroupCommandInput struct {
Id string
}
GetTrustedCertificateGroupCommandInput - Inputs for GetTrustedCertificateGroupCommand
type GetTrustedCertificateGroupsCommandInput ¶
type GetTrustedCertificateGroupsCommandInput struct { Page string NumberPerPage string Filter string Name string SortKey string Order string }
GetTrustedCertificateGroupsCommandInput - Inputs for GetTrustedCertificateGroupsCommand
type TrustedCertificateGroupsAPI ¶
type TrustedCertificateGroupsAPI interface { GetTrustedCertificateGroupsCommand(input *GetTrustedCertificateGroupsCommandInput) (output *models.TrustedCertificateGroupsView, resp *http.Response, err error) AddTrustedCertificateGroupCommand(input *AddTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error) DeleteTrustedCertificateGroupCommand(input *DeleteTrustedCertificateGroupCommandInput) (resp *http.Response, err error) GetTrustedCertificateGroupCommand(input *GetTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error) UpdateTrustedCertificateGroupCommand(input *UpdateTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error) }
type TrustedCertificateGroupsService ¶
TrustedCertificateGroupsService provides the API operations for making requests to TrustedCertificateGroups endpoint.
func New ¶
func New(cfg *config.Config) *TrustedCertificateGroupsService
New createa a new instance of the TrustedCertificateGroupsService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL) //Create a TrustedCertificateGroupsService from the configuration svc := trustedCertificateGroups.New(cfg)
func (*TrustedCertificateGroupsService) AddTrustedCertificateGroupCommand ¶
func (s *TrustedCertificateGroupsService) AddTrustedCertificateGroupCommand(input *AddTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error)
AddTrustedCertificateGroupCommand - Create a Trusted Certificate Group RequestType: POST Input: input *AddTrustedCertificateGroupCommandInput
func (*TrustedCertificateGroupsService) DeleteTrustedCertificateGroupCommand ¶
func (s *TrustedCertificateGroupsService) DeleteTrustedCertificateGroupCommand(input *DeleteTrustedCertificateGroupCommandInput) (resp *http.Response, err error)
DeleteTrustedCertificateGroupCommand - Delete a Trusted Certificate Group RequestType: DELETE Input: input *DeleteTrustedCertificateGroupCommandInput
func (*TrustedCertificateGroupsService) GetTrustedCertificateGroupCommand ¶
func (s *TrustedCertificateGroupsService) GetTrustedCertificateGroupCommand(input *GetTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error)
GetTrustedCertificateGroupCommand - Get a Trusted Certificate Group RequestType: GET Input: input *GetTrustedCertificateGroupCommandInput
func (*TrustedCertificateGroupsService) GetTrustedCertificateGroupsCommand ¶
func (s *TrustedCertificateGroupsService) GetTrustedCertificateGroupsCommand(input *GetTrustedCertificateGroupsCommandInput) (output *models.TrustedCertificateGroupsView, resp *http.Response, err error)
GetTrustedCertificateGroupsCommand - Get all Trusted Certificate Groups RequestType: GET Input: input *GetTrustedCertificateGroupsCommandInput
func (*TrustedCertificateGroupsService) UpdateTrustedCertificateGroupCommand ¶
func (s *TrustedCertificateGroupsService) UpdateTrustedCertificateGroupCommand(input *UpdateTrustedCertificateGroupCommandInput) (output *models.TrustedCertificateGroupView, resp *http.Response, err error)
UpdateTrustedCertificateGroupCommand - Update a TrustedCertificateGroup RequestType: PUT Input: input *UpdateTrustedCertificateGroupCommandInput
type UpdateTrustedCertificateGroupCommandInput ¶
type UpdateTrustedCertificateGroupCommandInput struct { Body models.TrustedCertificateGroupView Id string }
UpdateTrustedCertificateGroupCommandInput - Inputs for UpdateTrustedCertificateGroupCommand