unknownResources

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

type UnknownResourcesService struct {
	*client.Client
}

UnknownResourcesService provides the API operations for making requests to UnknownResources endpoint.

func New

New createa a new instance of the UnknownResourcesService client.

Example:

cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2FederateM0re").WithEndpoint(paURL.String())

//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

Get - Retrieves the global settings for unknown resources RequestType: GET Input:

func (*UnknownResourcesService) Update

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

Jump to

Keyboard shortcuts

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