Documentation ¶
Index ¶
- Constants
- type UnknownResourcesAPI
- type UnknownResourcesService
- func (s *UnknownResourcesService) Delete() (resp *http.Response, err error)
- func (s *UnknownResourcesService) Get() (output *models.UnknownResourceSettingsView, resp *http.Response, err error)
- func (s *UnknownResourcesService) Update(input *UpdateInput) (output *models.UnknownResourceSettingsView, resp *http.Response, err error)
- type UpdateInput
Constants ¶
View Source
const (
// ServiceName - The name of service.
ServiceName = "UnknownResources"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnknownResourcesAPI ¶
type UnknownResourcesAPI interface { Delete() (resp *http.Response, err error) Get() (output *models.UnknownResourceSettingsView, resp *http.Response, err error) Update(input *UpdateInput) (output *models.UnknownResourceSettingsView, resp *http.Response, err error) }
type UnknownResourcesService ¶
UnknownResourcesService provides the API operations for making requests to UnknownResources endpoint.
func New ¶
func New(cfg *config.Config) *UnknownResourcesService
New createa a new instance of the UnknownResourcesService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL) //Create a UnknownResourcesService from the configuration svc := unknownResources.New(cfg)
func (*UnknownResourcesService) Delete ¶
func (s *UnknownResourcesService) Delete() (resp *http.Response, err error)
Delete - Resets the global settings for unknown resources to default values RequestType: DELETE Input:
func (*UnknownResourcesService) Get ¶
func (s *UnknownResourcesService) Get() (output *models.UnknownResourceSettingsView, resp *http.Response, err error)
Get - Retrieves the global settings for unknown resources RequestType: GET Input:
func (*UnknownResourcesService) Update ¶
func (s *UnknownResourcesService) Update(input *UpdateInput) (output *models.UnknownResourceSettingsView, resp *http.Response, err error)
Update - Updates the global settings for unknown resources RequestType: PUT Input: input *UpdateInput
type UpdateInput ¶
type UpdateInput struct {
Body models.UnknownResourceSettingsView
}
UpdateInput - Inputs for Update
Click to show internal directories.
Click to hide internal directories.