Documentation ¶
Overview ¶
Package dategroup implements the Azure ARM Dategroup service API version 1.0.0.
Test Infrastructure for AutoRest
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BaseClient
- type DateClient
- func (client DateClient) GetInvalidDate(ctx context.Context) (result DateModel, err error)
- func (client DateClient) GetInvalidDatePreparer(ctx context.Context) (*http.Request, error)
- func (client DateClient) GetInvalidDateResponder(resp *http.Response) (result DateModel, err error)
- func (client DateClient) GetInvalidDateSender(req *http.Request) (*http.Response, error)
- func (client DateClient) GetMaxDate(ctx context.Context) (result DateModel, err error)
- func (client DateClient) GetMaxDatePreparer(ctx context.Context) (*http.Request, error)
- func (client DateClient) GetMaxDateResponder(resp *http.Response) (result DateModel, err error)
- func (client DateClient) GetMaxDateSender(req *http.Request) (*http.Response, error)
- func (client DateClient) GetMinDate(ctx context.Context) (result DateModel, err error)
- func (client DateClient) GetMinDatePreparer(ctx context.Context) (*http.Request, error)
- func (client DateClient) GetMinDateResponder(resp *http.Response) (result DateModel, err error)
- func (client DateClient) GetMinDateSender(req *http.Request) (*http.Response, error)
- func (client DateClient) GetNull(ctx context.Context) (result DateModel, err error)
- func (client DateClient) GetNullPreparer(ctx context.Context) (*http.Request, error)
- func (client DateClient) GetNullResponder(resp *http.Response) (result DateModel, err error)
- func (client DateClient) GetNullSender(req *http.Request) (*http.Response, error)
- func (client DateClient) GetOverflowDate(ctx context.Context) (result DateModel, err error)
- func (client DateClient) GetOverflowDatePreparer(ctx context.Context) (*http.Request, error)
- func (client DateClient) GetOverflowDateResponder(resp *http.Response) (result DateModel, err error)
- func (client DateClient) GetOverflowDateSender(req *http.Request) (*http.Response, error)
- func (client DateClient) GetUnderflowDate(ctx context.Context) (result DateModel, err error)
- func (client DateClient) GetUnderflowDatePreparer(ctx context.Context) (*http.Request, error)
- func (client DateClient) GetUnderflowDateResponder(resp *http.Response) (result DateModel, err error)
- func (client DateClient) GetUnderflowDateSender(req *http.Request) (*http.Response, error)
- func (client DateClient) PutMaxDate(ctx context.Context, dateBody date.Date) (result autorest.Response, err error)
- func (client DateClient) PutMaxDatePreparer(ctx context.Context, dateBody date.Date) (*http.Request, error)
- func (client DateClient) PutMaxDateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DateClient) PutMaxDateSender(req *http.Request) (*http.Response, error)
- func (client DateClient) PutMinDate(ctx context.Context, dateBody date.Date) (result autorest.Response, err error)
- func (client DateClient) PutMinDatePreparer(ctx context.Context, dateBody date.Date) (*http.Request, error)
- func (client DateClient) PutMinDateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DateClient) PutMinDateSender(req *http.Request) (*http.Response, error)
- type DateModel
- type Error
Constants ¶
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 ¶
BaseClient is the base client for Dategroup.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
PutMinDateSender sends the PutMinDate request. The method will close the http.Response Body if it receives an error.