extendedProperties

package
v0.0.0-...-367d749 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ServiceName - The name of service.
	ServiceName = "ExtendedProperties"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtendedPropertiesAPI

type ExtendedPropertiesAPI interface {
	GetExtendedProperties() (output *models.ExtendedProperties, resp *http.Response, err error)
	GetExtendedPropertiesWithContext(ctx context.Context) (output *models.ExtendedProperties, resp *http.Response, err error)

	UpdateExtendedProperties(input *UpdateExtendedPropertiesInput) (output *models.ExtendedProperties, resp *http.Response, err error)
	UpdateExtendedPropertiesWithContext(ctx context.Context, input *UpdateExtendedPropertiesInput) (output *models.ExtendedProperties, resp *http.Response, err error)
}

type ExtendedPropertiesService

type ExtendedPropertiesService struct {
	*client.PfClient
}

func New

New creates a new instance of the ExtendedPropertiesService client.

func (*ExtendedPropertiesService) GetExtendedProperties

func (s *ExtendedPropertiesService) GetExtendedProperties() (output *models.ExtendedProperties, resp *http.Response, err error)

GetExtendedProperties - Get the defined Extended Properties. RequestType: GET Input:

func (*ExtendedPropertiesService) GetExtendedPropertiesWithContext

func (s *ExtendedPropertiesService) GetExtendedPropertiesWithContext(ctx context.Context) (output *models.ExtendedProperties, resp *http.Response, err error)

GetExtendedPropertiesWithContext - Get the defined Extended Properties. RequestType: GET Input: ctx context.Context,

func (*ExtendedPropertiesService) UpdateExtendedProperties

func (s *ExtendedPropertiesService) UpdateExtendedProperties(input *UpdateExtendedPropertiesInput) (output *models.ExtendedProperties, resp *http.Response, err error)

UpdateExtendedProperties - Update the Extended Properties. RequestType: PUT Input: input *UpdateExtendedPropertiesInput

func (*ExtendedPropertiesService) UpdateExtendedPropertiesWithContext

func (s *ExtendedPropertiesService) UpdateExtendedPropertiesWithContext(ctx context.Context, input *UpdateExtendedPropertiesInput) (output *models.ExtendedProperties, resp *http.Response, err error)

UpdateExtendedPropertiesWithContext - Update the Extended Properties. RequestType: PUT Input: ctx context.Context, input *UpdateExtendedPropertiesInput

type UpdateExtendedPropertiesInput

type UpdateExtendedPropertiesInput struct {
	Body models.ExtendedProperties
}

Jump to

Keyboard shortcuts

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