booleangroup

package
v0.0.0-...-4a6d4ce Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package booleangroup implements the Azure ARM Booleangroup service API version 1.0.0.

Test Infrastructure for AutoRest

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Booleangroup
	DefaultBaseURI = "http://localhost:3000"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI string
}

BaseClient is the base client for Booleangroup.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BoolClient

type BoolClient struct {
	BaseClient
}

BoolClient is the test Infrastructure for AutoRest

func NewBoolClient

func NewBoolClient() BoolClient

NewBoolClient creates an instance of the BoolClient client.

func NewBoolClientWithBaseURI

func NewBoolClientWithBaseURI(baseURI string) BoolClient

NewBoolClientWithBaseURI creates an instance of the BoolClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BoolClient) GetFalse

func (client BoolClient) GetFalse(ctx context.Context) (result BoolModel, err error)

GetFalse get false Boolean value

func (BoolClient) GetFalsePreparer

func (client BoolClient) GetFalsePreparer(ctx context.Context) (*http.Request, error)

GetFalsePreparer prepares the GetFalse request.

func (BoolClient) GetFalseResponder

func (client BoolClient) GetFalseResponder(resp *http.Response) (result BoolModel, err error)

GetFalseResponder handles the response to the GetFalse request. The method always closes the http.Response Body.

func (BoolClient) GetFalseSender

func (client BoolClient) GetFalseSender(req *http.Request) (*http.Response, error)

GetFalseSender sends the GetFalse request. The method will close the http.Response Body if it receives an error.

func (BoolClient) GetInvalid

func (client BoolClient) GetInvalid(ctx context.Context) (result BoolModel, err error)

GetInvalid get invalid Boolean value

func (BoolClient) GetInvalidPreparer

func (client BoolClient) GetInvalidPreparer(ctx context.Context) (*http.Request, error)

GetInvalidPreparer prepares the GetInvalid request.

func (BoolClient) GetInvalidResponder

func (client BoolClient) GetInvalidResponder(resp *http.Response) (result BoolModel, err error)

GetInvalidResponder handles the response to the GetInvalid request. The method always closes the http.Response Body.

func (BoolClient) GetInvalidSender

func (client BoolClient) GetInvalidSender(req *http.Request) (*http.Response, error)

GetInvalidSender sends the GetInvalid request. The method will close the http.Response Body if it receives an error.

func (BoolClient) GetNull

func (client BoolClient) GetNull(ctx context.Context) (result BoolModel, err error)

GetNull get null Boolean value

func (BoolClient) GetNullPreparer

func (client BoolClient) GetNullPreparer(ctx context.Context) (*http.Request, error)

GetNullPreparer prepares the GetNull request.

func (BoolClient) GetNullResponder

func (client BoolClient) GetNullResponder(resp *http.Response) (result BoolModel, err error)

GetNullResponder handles the response to the GetNull request. The method always closes the http.Response Body.

func (BoolClient) GetNullSender

func (client BoolClient) GetNullSender(req *http.Request) (*http.Response, error)

GetNullSender sends the GetNull request. The method will close the http.Response Body if it receives an error.

func (BoolClient) GetTrue

func (client BoolClient) GetTrue(ctx context.Context) (result BoolModel, err error)

GetTrue get true Boolean value

func (BoolClient) GetTruePreparer

func (client BoolClient) GetTruePreparer(ctx context.Context) (*http.Request, error)

GetTruePreparer prepares the GetTrue request.

func (BoolClient) GetTrueResponder

func (client BoolClient) GetTrueResponder(resp *http.Response) (result BoolModel, err error)

GetTrueResponder handles the response to the GetTrue request. The method always closes the http.Response Body.

func (BoolClient) GetTrueSender

func (client BoolClient) GetTrueSender(req *http.Request) (*http.Response, error)

GetTrueSender sends the GetTrue request. The method will close the http.Response Body if it receives an error.

func (BoolClient) PutFalse

func (client BoolClient) PutFalse(ctx context.Context) (result autorest.Response, err error)

PutFalse set Boolean value false

func (BoolClient) PutFalsePreparer

func (client BoolClient) PutFalsePreparer(ctx context.Context) (*http.Request, error)

PutFalsePreparer prepares the PutFalse request.

func (BoolClient) PutFalseResponder

func (client BoolClient) PutFalseResponder(resp *http.Response) (result autorest.Response, err error)

PutFalseResponder handles the response to the PutFalse request. The method always closes the http.Response Body.

func (BoolClient) PutFalseSender

func (client BoolClient) PutFalseSender(req *http.Request) (*http.Response, error)

PutFalseSender sends the PutFalse request. The method will close the http.Response Body if it receives an error.

func (BoolClient) PutTrue

func (client BoolClient) PutTrue(ctx context.Context) (result autorest.Response, err error)

PutTrue set Boolean value true

func (BoolClient) PutTruePreparer

func (client BoolClient) PutTruePreparer(ctx context.Context) (*http.Request, error)

PutTruePreparer prepares the PutTrue request.

func (BoolClient) PutTrueResponder

func (client BoolClient) PutTrueResponder(resp *http.Response) (result autorest.Response, err error)

PutTrueResponder handles the response to the PutTrue request. The method always closes the http.Response Body.

func (BoolClient) PutTrueSender

func (client BoolClient) PutTrueSender(req *http.Request) (*http.Response, error)

PutTrueSender sends the PutTrue request. The method will close the http.Response Body if it receives an error.

type BoolModel

type BoolModel struct {
	autorest.Response `json:"-"`
	Value             *bool `json:"value,omitempty"`
}

BoolModel ...

type Error

type Error struct {
	Status  *int32  `json:"status,omitempty"`
	Message *string `json:"message,omitempty"`
}

Error ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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