dategroup

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 dategroup implements the Azure ARM Dategroup service API version 1.0.0.

Test Infrastructure for AutoRest

Index

Constants

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

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 DateClient

type DateClient struct {
	BaseClient
}

DateClient is the test Infrastructure for AutoRest

func NewDateClient

func NewDateClient() DateClient

NewDateClient creates an instance of the DateClient client.

func NewDateClientWithBaseURI

func NewDateClientWithBaseURI(baseURI string) DateClient

NewDateClientWithBaseURI creates an instance of the DateClient 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 (DateClient) GetInvalidDate

func (client DateClient) GetInvalidDate(ctx context.Context) (result DateModel, err error)

GetInvalidDate get invalid date value

func (DateClient) GetInvalidDatePreparer

func (client DateClient) GetInvalidDatePreparer(ctx context.Context) (*http.Request, error)

GetInvalidDatePreparer prepares the GetInvalidDate request.

func (DateClient) GetInvalidDateResponder

func (client DateClient) GetInvalidDateResponder(resp *http.Response) (result DateModel, err error)

GetInvalidDateResponder handles the response to the GetInvalidDate request. The method always closes the http.Response Body.

func (DateClient) GetInvalidDateSender

func (client DateClient) GetInvalidDateSender(req *http.Request) (*http.Response, error)

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

func (DateClient) GetMaxDate

func (client DateClient) GetMaxDate(ctx context.Context) (result DateModel, err error)

GetMaxDate get max date value 9999-12-31

func (DateClient) GetMaxDatePreparer

func (client DateClient) GetMaxDatePreparer(ctx context.Context) (*http.Request, error)

GetMaxDatePreparer prepares the GetMaxDate request.

func (DateClient) GetMaxDateResponder

func (client DateClient) GetMaxDateResponder(resp *http.Response) (result DateModel, err error)

GetMaxDateResponder handles the response to the GetMaxDate request. The method always closes the http.Response Body.

func (DateClient) GetMaxDateSender

func (client DateClient) GetMaxDateSender(req *http.Request) (*http.Response, error)

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

func (DateClient) GetMinDate

func (client DateClient) GetMinDate(ctx context.Context) (result DateModel, err error)

GetMinDate get min date value 0000-01-01

func (DateClient) GetMinDatePreparer

func (client DateClient) GetMinDatePreparer(ctx context.Context) (*http.Request, error)

GetMinDatePreparer prepares the GetMinDate request.

func (DateClient) GetMinDateResponder

func (client DateClient) GetMinDateResponder(resp *http.Response) (result DateModel, err error)

GetMinDateResponder handles the response to the GetMinDate request. The method always closes the http.Response Body.

func (DateClient) GetMinDateSender

func (client DateClient) GetMinDateSender(req *http.Request) (*http.Response, error)

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

func (DateClient) GetNull

func (client DateClient) GetNull(ctx context.Context) (result DateModel, err error)

GetNull get null date value

func (DateClient) GetNullPreparer

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

GetNullPreparer prepares the GetNull request.

func (DateClient) GetNullResponder

func (client DateClient) GetNullResponder(resp *http.Response) (result DateModel, err error)

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

func (DateClient) GetNullSender

func (client DateClient) 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 (DateClient) GetOverflowDate

func (client DateClient) GetOverflowDate(ctx context.Context) (result DateModel, err error)

GetOverflowDate get overflow date value

func (DateClient) GetOverflowDatePreparer

func (client DateClient) GetOverflowDatePreparer(ctx context.Context) (*http.Request, error)

GetOverflowDatePreparer prepares the GetOverflowDate request.

func (DateClient) GetOverflowDateResponder

func (client DateClient) GetOverflowDateResponder(resp *http.Response) (result DateModel, err error)

GetOverflowDateResponder handles the response to the GetOverflowDate request. The method always closes the http.Response Body.

func (DateClient) GetOverflowDateSender

func (client DateClient) GetOverflowDateSender(req *http.Request) (*http.Response, error)

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

func (DateClient) GetUnderflowDate

func (client DateClient) GetUnderflowDate(ctx context.Context) (result DateModel, err error)

GetUnderflowDate get underflow date value

func (DateClient) GetUnderflowDatePreparer

func (client DateClient) GetUnderflowDatePreparer(ctx context.Context) (*http.Request, error)

GetUnderflowDatePreparer prepares the GetUnderflowDate request.

func (DateClient) GetUnderflowDateResponder

func (client DateClient) GetUnderflowDateResponder(resp *http.Response) (result DateModel, err error)

GetUnderflowDateResponder handles the response to the GetUnderflowDate request. The method always closes the http.Response Body.

func (DateClient) GetUnderflowDateSender

func (client DateClient) GetUnderflowDateSender(req *http.Request) (*http.Response, error)

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

func (DateClient) PutMaxDate

func (client DateClient) PutMaxDate(ctx context.Context, dateBody date.Date) (result autorest.Response, err error)

PutMaxDate put max date value 9999-12-31

func (DateClient) PutMaxDatePreparer

func (client DateClient) PutMaxDatePreparer(ctx context.Context, dateBody date.Date) (*http.Request, error)

PutMaxDatePreparer prepares the PutMaxDate request.

func (DateClient) PutMaxDateResponder

func (client DateClient) PutMaxDateResponder(resp *http.Response) (result autorest.Response, err error)

PutMaxDateResponder handles the response to the PutMaxDate request. The method always closes the http.Response Body.

func (DateClient) PutMaxDateSender

func (client DateClient) PutMaxDateSender(req *http.Request) (*http.Response, error)

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

func (DateClient) PutMinDate

func (client DateClient) PutMinDate(ctx context.Context, dateBody date.Date) (result autorest.Response, err error)

PutMinDate put min date value 0000-01-01

func (DateClient) PutMinDatePreparer

func (client DateClient) PutMinDatePreparer(ctx context.Context, dateBody date.Date) (*http.Request, error)

PutMinDatePreparer prepares the PutMinDate request.

func (DateClient) PutMinDateResponder

func (client DateClient) PutMinDateResponder(resp *http.Response) (result autorest.Response, err error)

PutMinDateResponder handles the response to the PutMinDate request. The method always closes the http.Response Body.

func (DateClient) PutMinDateSender

func (client DateClient) PutMinDateSender(req *http.Request) (*http.Response, error)

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

type DateModel

type DateModel struct {
	autorest.Response `json:"-"`
	Value             *date.Date `json:"value,omitempty"`
}

DateModel ...

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