stringgroup

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: 6 Imported by: 0

Documentation

Overview

Package stringgroup implements the Azure ARM Stringgroup service API version 1.0.0.

Test Infrastructure for AutoRest Swagger BAT

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Stringgroup
	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 Base64URL

type Base64URL struct {
	autorest.Response `json:"-"`
	// Value - a URL-encoded base64 string
	Value *string `json:"value,omitempty"`
}

Base64URL ...

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI string
}

BaseClient is the base client for Stringgroup.

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 Colors

type Colors string

Colors enumerates the values for colors.

const (
	// BlueColor ...
	BlueColor Colors = "blue_color"
	// GreenColor ...
	GreenColor Colors = "green-color"
	// Redcolor ...
	Redcolor Colors = "red color"
)

func PossibleColorsValues

func PossibleColorsValues() []Colors

PossibleColorsValues returns an array of possible values for the Colors const type.

type EnumClient

type EnumClient struct {
	BaseClient
}

EnumClient is the test Infrastructure for AutoRest Swagger BAT

func NewEnumClient

func NewEnumClient() EnumClient

NewEnumClient creates an instance of the EnumClient client.

func NewEnumClientWithBaseURI

func NewEnumClientWithBaseURI(baseURI string) EnumClient

NewEnumClientWithBaseURI creates an instance of the EnumClient 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 (EnumClient) GetNotExpandable

func (client EnumClient) GetNotExpandable(ctx context.Context) (result StringModel, err error)

GetNotExpandable get enum value 'red color' from enumeration of 'red color', 'green-color', 'blue_color'.

func (EnumClient) GetNotExpandablePreparer

func (client EnumClient) GetNotExpandablePreparer(ctx context.Context) (*http.Request, error)

GetNotExpandablePreparer prepares the GetNotExpandable request.

func (EnumClient) GetNotExpandableResponder

func (client EnumClient) GetNotExpandableResponder(resp *http.Response) (result StringModel, err error)

GetNotExpandableResponder handles the response to the GetNotExpandable request. The method always closes the http.Response Body.

func (EnumClient) GetNotExpandableSender

func (client EnumClient) GetNotExpandableSender(req *http.Request) (*http.Response, error)

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

func (EnumClient) GetReferenced

func (client EnumClient) GetReferenced(ctx context.Context) (result StringModel, err error)

GetReferenced get enum value 'red color' from enumeration of 'red color', 'green-color', 'blue_color'.

func (EnumClient) GetReferencedConstant

func (client EnumClient) GetReferencedConstant(ctx context.Context) (result RefColorConstant, err error)

GetReferencedConstant get value 'green-color' from the constant.

func (EnumClient) GetReferencedConstantPreparer

func (client EnumClient) GetReferencedConstantPreparer(ctx context.Context) (*http.Request, error)

GetReferencedConstantPreparer prepares the GetReferencedConstant request.

func (EnumClient) GetReferencedConstantResponder

func (client EnumClient) GetReferencedConstantResponder(resp *http.Response) (result RefColorConstant, err error)

GetReferencedConstantResponder handles the response to the GetReferencedConstant request. The method always closes the http.Response Body.

func (EnumClient) GetReferencedConstantSender

func (client EnumClient) GetReferencedConstantSender(req *http.Request) (*http.Response, error)

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

func (EnumClient) GetReferencedPreparer

func (client EnumClient) GetReferencedPreparer(ctx context.Context) (*http.Request, error)

GetReferencedPreparer prepares the GetReferenced request.

func (EnumClient) GetReferencedResponder

func (client EnumClient) GetReferencedResponder(resp *http.Response) (result StringModel, err error)

GetReferencedResponder handles the response to the GetReferenced request. The method always closes the http.Response Body.

func (EnumClient) GetReferencedSender

func (client EnumClient) GetReferencedSender(req *http.Request) (*http.Response, error)

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

func (EnumClient) PutNotExpandable

func (client EnumClient) PutNotExpandable(ctx context.Context, stringBody Colors) (result autorest.Response, err error)

PutNotExpandable sends value 'red color' from enumeration of 'red color', 'green-color', 'blue_color'

func (EnumClient) PutNotExpandablePreparer

func (client EnumClient) PutNotExpandablePreparer(ctx context.Context, stringBody Colors) (*http.Request, error)

PutNotExpandablePreparer prepares the PutNotExpandable request.

func (EnumClient) PutNotExpandableResponder

func (client EnumClient) PutNotExpandableResponder(resp *http.Response) (result autorest.Response, err error)

PutNotExpandableResponder handles the response to the PutNotExpandable request. The method always closes the http.Response Body.

func (EnumClient) PutNotExpandableSender

func (client EnumClient) PutNotExpandableSender(req *http.Request) (*http.Response, error)

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

func (EnumClient) PutReferenced

func (client EnumClient) PutReferenced(ctx context.Context, enumStringBody Colors) (result autorest.Response, err error)

PutReferenced sends value 'red color' from enumeration of 'red color', 'green-color', 'blue_color'

func (EnumClient) PutReferencedConstant

func (client EnumClient) PutReferencedConstant(ctx context.Context, enumStringBody RefColorConstant) (result autorest.Response, err error)

PutReferencedConstant sends value 'green-color' from a constant

func (EnumClient) PutReferencedConstantPreparer

func (client EnumClient) PutReferencedConstantPreparer(ctx context.Context, enumStringBody RefColorConstant) (*http.Request, error)

PutReferencedConstantPreparer prepares the PutReferencedConstant request.

func (EnumClient) PutReferencedConstantResponder

func (client EnumClient) PutReferencedConstantResponder(resp *http.Response) (result autorest.Response, err error)

PutReferencedConstantResponder handles the response to the PutReferencedConstant request. The method always closes the http.Response Body.

func (EnumClient) PutReferencedConstantSender

func (client EnumClient) PutReferencedConstantSender(req *http.Request) (*http.Response, error)

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

func (EnumClient) PutReferencedPreparer

func (client EnumClient) PutReferencedPreparer(ctx context.Context, enumStringBody Colors) (*http.Request, error)

PutReferencedPreparer prepares the PutReferenced request.

func (EnumClient) PutReferencedResponder

func (client EnumClient) PutReferencedResponder(resp *http.Response) (result autorest.Response, err error)

PutReferencedResponder handles the response to the PutReferenced request. The method always closes the http.Response Body.

func (EnumClient) PutReferencedSender

func (client EnumClient) PutReferencedSender(req *http.Request) (*http.Response, error)

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

type Error

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

Error ...

type RefColorConstant

type RefColorConstant struct {
	autorest.Response `json:"-"`
	// ColorConstant - Referenced Color Constant Description.
	ColorConstant *string `json:"ColorConstant,omitempty"`
	// Field1 - Sample string.
	Field1 *string `json:"field1,omitempty"`
}

RefColorConstant ...

type StringClient

type StringClient struct {
	BaseClient
}

StringClient is the test Infrastructure for AutoRest Swagger BAT

func NewStringClient

func NewStringClient() StringClient

NewStringClient creates an instance of the StringClient client.

func NewStringClientWithBaseURI

func NewStringClientWithBaseURI(baseURI string) StringClient

NewStringClientWithBaseURI creates an instance of the StringClient 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 (StringClient) GetBase64Encoded

func (client StringClient) GetBase64Encoded(ctx context.Context) (result Base64URL, err error)

GetBase64Encoded get value that is base64 encoded

func (StringClient) GetBase64EncodedPreparer

func (client StringClient) GetBase64EncodedPreparer(ctx context.Context) (*http.Request, error)

GetBase64EncodedPreparer prepares the GetBase64Encoded request.

func (StringClient) GetBase64EncodedResponder

func (client StringClient) GetBase64EncodedResponder(resp *http.Response) (result Base64URL, err error)

GetBase64EncodedResponder handles the response to the GetBase64Encoded request. The method always closes the http.Response Body.

func (StringClient) GetBase64EncodedSender

func (client StringClient) GetBase64EncodedSender(req *http.Request) (*http.Response, error)

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

func (StringClient) GetBase64URLEncoded

func (client StringClient) GetBase64URLEncoded(ctx context.Context) (result Base64URL, err error)

GetBase64URLEncoded get value that is base64url encoded

func (StringClient) GetBase64URLEncodedPreparer

func (client StringClient) GetBase64URLEncodedPreparer(ctx context.Context) (*http.Request, error)

GetBase64URLEncodedPreparer prepares the GetBase64URLEncoded request.

func (StringClient) GetBase64URLEncodedResponder

func (client StringClient) GetBase64URLEncodedResponder(resp *http.Response) (result Base64URL, err error)

GetBase64URLEncodedResponder handles the response to the GetBase64URLEncoded request. The method always closes the http.Response Body.

func (StringClient) GetBase64URLEncodedSender

func (client StringClient) GetBase64URLEncodedSender(req *http.Request) (*http.Response, error)

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

func (StringClient) GetEmpty

func (client StringClient) GetEmpty(ctx context.Context) (result StringModel, err error)

GetEmpty get empty string value value ”

func (StringClient) GetEmptyPreparer

func (client StringClient) GetEmptyPreparer(ctx context.Context) (*http.Request, error)

GetEmptyPreparer prepares the GetEmpty request.

func (StringClient) GetEmptyResponder

func (client StringClient) GetEmptyResponder(resp *http.Response) (result StringModel, err error)

GetEmptyResponder handles the response to the GetEmpty request. The method always closes the http.Response Body.

func (StringClient) GetEmptySender

func (client StringClient) GetEmptySender(req *http.Request) (*http.Response, error)

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

func (StringClient) GetMbcs

func (client StringClient) GetMbcs(ctx context.Context) (result StringModel, err error)

GetMbcs get mbcs string value '啊齄丂狛狜隣郎隣兀﨩ˊ〞〡¦℡㈱‐ー﹡﹢﹫、〓ⅰⅹ⒈€㈠㈩ⅠⅫ! ̄ぁんァヶΑ︴АЯаяāɡㄅㄩ─╋︵﹄︻︱︳︴ⅰⅹɑɡ〇〾⿻⺁䜣€'

func (StringClient) GetMbcsPreparer

func (client StringClient) GetMbcsPreparer(ctx context.Context) (*http.Request, error)

GetMbcsPreparer prepares the GetMbcs request.

func (StringClient) GetMbcsResponder

func (client StringClient) GetMbcsResponder(resp *http.Response) (result StringModel, err error)

GetMbcsResponder handles the response to the GetMbcs request. The method always closes the http.Response Body.

func (StringClient) GetMbcsSender

func (client StringClient) GetMbcsSender(req *http.Request) (*http.Response, error)

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

func (StringClient) GetNotProvided

func (client StringClient) GetNotProvided(ctx context.Context) (result StringModel, err error)

GetNotProvided get String value when no string value is sent in response payload

func (StringClient) GetNotProvidedPreparer

func (client StringClient) GetNotProvidedPreparer(ctx context.Context) (*http.Request, error)

GetNotProvidedPreparer prepares the GetNotProvided request.

func (StringClient) GetNotProvidedResponder

func (client StringClient) GetNotProvidedResponder(resp *http.Response) (result StringModel, err error)

GetNotProvidedResponder handles the response to the GetNotProvided request. The method always closes the http.Response Body.

func (StringClient) GetNotProvidedSender

func (client StringClient) GetNotProvidedSender(req *http.Request) (*http.Response, error)

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

func (StringClient) GetNull

func (client StringClient) GetNull(ctx context.Context) (result StringModel, err error)

GetNull get null string value value

func (StringClient) GetNullBase64URLEncoded

func (client StringClient) GetNullBase64URLEncoded(ctx context.Context) (result Base64URL, err error)

GetNullBase64URLEncoded get null value that is expected to be base64url encoded

func (StringClient) GetNullBase64URLEncodedPreparer

func (client StringClient) GetNullBase64URLEncodedPreparer(ctx context.Context) (*http.Request, error)

GetNullBase64URLEncodedPreparer prepares the GetNullBase64URLEncoded request.

func (StringClient) GetNullBase64URLEncodedResponder

func (client StringClient) GetNullBase64URLEncodedResponder(resp *http.Response) (result Base64URL, err error)

GetNullBase64URLEncodedResponder handles the response to the GetNullBase64URLEncoded request. The method always closes the http.Response Body.

func (StringClient) GetNullBase64URLEncodedSender

func (client StringClient) GetNullBase64URLEncodedSender(req *http.Request) (*http.Response, error)

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

func (StringClient) GetNullPreparer

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

GetNullPreparer prepares the GetNull request.

func (StringClient) GetNullResponder

func (client StringClient) GetNullResponder(resp *http.Response) (result StringModel, err error)

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

func (StringClient) GetNullSender

func (client StringClient) 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 (StringClient) GetWhitespace

func (client StringClient) GetWhitespace(ctx context.Context) (result StringModel, err error)

GetWhitespace get string value with leading and trailing whitespace '<tab><space><space>Now is the time for all good men to come to the aid of their country<tab><space><space>'

func (StringClient) GetWhitespacePreparer

func (client StringClient) GetWhitespacePreparer(ctx context.Context) (*http.Request, error)

GetWhitespacePreparer prepares the GetWhitespace request.

func (StringClient) GetWhitespaceResponder

func (client StringClient) GetWhitespaceResponder(resp *http.Response) (result StringModel, err error)

GetWhitespaceResponder handles the response to the GetWhitespace request. The method always closes the http.Response Body.

func (StringClient) GetWhitespaceSender

func (client StringClient) GetWhitespaceSender(req *http.Request) (*http.Response, error)

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

func (StringClient) PutBase64URLEncoded

func (client StringClient) PutBase64URLEncoded(ctx context.Context, stringBody string) (result autorest.Response, err error)

PutBase64URLEncoded put value that is base64url encoded

func (StringClient) PutBase64URLEncodedPreparer

func (client StringClient) PutBase64URLEncodedPreparer(ctx context.Context, stringBody string) (*http.Request, error)

PutBase64URLEncodedPreparer prepares the PutBase64URLEncoded request.

func (StringClient) PutBase64URLEncodedResponder

func (client StringClient) PutBase64URLEncodedResponder(resp *http.Response) (result autorest.Response, err error)

PutBase64URLEncodedResponder handles the response to the PutBase64URLEncoded request. The method always closes the http.Response Body.

func (StringClient) PutBase64URLEncodedSender

func (client StringClient) PutBase64URLEncodedSender(req *http.Request) (*http.Response, error)

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

func (StringClient) PutEmpty

func (client StringClient) PutEmpty(ctx context.Context) (result autorest.Response, err error)

PutEmpty set string value empty ”

func (StringClient) PutEmptyPreparer

func (client StringClient) PutEmptyPreparer(ctx context.Context) (*http.Request, error)

PutEmptyPreparer prepares the PutEmpty request.

func (StringClient) PutEmptyResponder

func (client StringClient) PutEmptyResponder(resp *http.Response) (result autorest.Response, err error)

PutEmptyResponder handles the response to the PutEmpty request. The method always closes the http.Response Body.

func (StringClient) PutEmptySender

func (client StringClient) PutEmptySender(req *http.Request) (*http.Response, error)

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

func (StringClient) PutMbcs

func (client StringClient) PutMbcs(ctx context.Context) (result autorest.Response, err error)

PutMbcs set string value mbcs '啊齄丂狛狜隣郎隣兀﨩ˊ〞〡¦℡㈱‐ー﹡﹢﹫、〓ⅰⅹ⒈€㈠㈩ⅠⅫ! ̄ぁんァヶΑ︴АЯаяāɡㄅㄩ─╋︵﹄︻︱︳︴ⅰⅹɑɡ〇〾⿻⺁䜣€'

func (StringClient) PutMbcsPreparer

func (client StringClient) PutMbcsPreparer(ctx context.Context) (*http.Request, error)

PutMbcsPreparer prepares the PutMbcs request.

func (StringClient) PutMbcsResponder

func (client StringClient) PutMbcsResponder(resp *http.Response) (result autorest.Response, err error)

PutMbcsResponder handles the response to the PutMbcs request. The method always closes the http.Response Body.

func (StringClient) PutMbcsSender

func (client StringClient) PutMbcsSender(req *http.Request) (*http.Response, error)

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

func (StringClient) PutNull

func (client StringClient) PutNull(ctx context.Context, stringBody string) (result autorest.Response, err error)

PutNull set string value null

func (StringClient) PutNullPreparer

func (client StringClient) PutNullPreparer(ctx context.Context, stringBody string) (*http.Request, error)

PutNullPreparer prepares the PutNull request.

func (StringClient) PutNullResponder

func (client StringClient) PutNullResponder(resp *http.Response) (result autorest.Response, err error)

PutNullResponder handles the response to the PutNull request. The method always closes the http.Response Body.

func (StringClient) PutNullSender

func (client StringClient) PutNullSender(req *http.Request) (*http.Response, error)

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

func (StringClient) PutWhitespace

func (client StringClient) PutWhitespace(ctx context.Context) (result autorest.Response, err error)

PutWhitespace set String value with leading and trailing whitespace '<tab><space><space>Now is the time for all good men to come to the aid of their country<tab><space><space>'

func (StringClient) PutWhitespacePreparer

func (client StringClient) PutWhitespacePreparer(ctx context.Context) (*http.Request, error)

PutWhitespacePreparer prepares the PutWhitespace request.

func (StringClient) PutWhitespaceResponder

func (client StringClient) PutWhitespaceResponder(resp *http.Response) (result autorest.Response, err error)

PutWhitespaceResponder handles the response to the PutWhitespace request. The method always closes the http.Response Body.

func (StringClient) PutWhitespaceSender

func (client StringClient) PutWhitespaceSender(req *http.Request) (*http.Response, error)

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

type StringModel

type StringModel struct {
	autorest.Response `json:"-"`
	// Value - Possible values include: ”
	Value *string `json:"value,omitempty"`
}

StringModel ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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