Documentation
¶
Index ¶
- type Client
- func (a *Client) GetRegions(params *GetRegionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegionsOK, error)
- func (a *Client) GetRegionsName(params *GetRegionsNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegionsNameOK, error)
- func (a *Client) GetRegionsRegionNameZones(params *GetRegionsRegionNameZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegionsRegionNameZonesOK, error)
- func (a *Client) GetRegionsRegionNameZonesZoneName(params *GetRegionsRegionNameZonesZoneNameParams, ...) (*GetRegionsRegionNameZonesZoneNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetRegionsInternalServerError
- type GetRegionsNameInternalServerError
- type GetRegionsNameNotFound
- type GetRegionsNameOK
- type GetRegionsNameParams
- func NewGetRegionsNameParams() *GetRegionsNameParams
- func NewGetRegionsNameParamsWithContext(ctx context.Context) *GetRegionsNameParams
- func NewGetRegionsNameParamsWithHTTPClient(client *http.Client) *GetRegionsNameParams
- func NewGetRegionsNameParamsWithTimeout(timeout time.Duration) *GetRegionsNameParams
- func (o *GetRegionsNameParams) SetContext(ctx context.Context)
- func (o *GetRegionsNameParams) SetGeneration(generation int64)
- func (o *GetRegionsNameParams) SetHTTPClient(client *http.Client)
- func (o *GetRegionsNameParams) SetName(name string)
- func (o *GetRegionsNameParams) SetTimeout(timeout time.Duration)
- func (o *GetRegionsNameParams) SetVersion(version string)
- func (o *GetRegionsNameParams) WithContext(ctx context.Context) *GetRegionsNameParams
- func (o *GetRegionsNameParams) WithGeneration(generation int64) *GetRegionsNameParams
- func (o *GetRegionsNameParams) WithHTTPClient(client *http.Client) *GetRegionsNameParams
- func (o *GetRegionsNameParams) WithName(name string) *GetRegionsNameParams
- func (o *GetRegionsNameParams) WithTimeout(timeout time.Duration) *GetRegionsNameParams
- func (o *GetRegionsNameParams) WithVersion(version string) *GetRegionsNameParams
- func (o *GetRegionsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegionsNameReader
- type GetRegionsOK
- type GetRegionsOKBody
- type GetRegionsParams
- func (o *GetRegionsParams) SetContext(ctx context.Context)
- func (o *GetRegionsParams) SetGeneration(generation int64)
- func (o *GetRegionsParams) SetHTTPClient(client *http.Client)
- func (o *GetRegionsParams) SetTimeout(timeout time.Duration)
- func (o *GetRegionsParams) SetVersion(version string)
- func (o *GetRegionsParams) WithContext(ctx context.Context) *GetRegionsParams
- func (o *GetRegionsParams) WithGeneration(generation int64) *GetRegionsParams
- func (o *GetRegionsParams) WithHTTPClient(client *http.Client) *GetRegionsParams
- func (o *GetRegionsParams) WithTimeout(timeout time.Duration) *GetRegionsParams
- func (o *GetRegionsParams) WithVersion(version string) *GetRegionsParams
- func (o *GetRegionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegionsReader
- type GetRegionsRegionNameZonesInternalServerError
- type GetRegionsRegionNameZonesNotFound
- type GetRegionsRegionNameZonesOK
- type GetRegionsRegionNameZonesOKBody
- type GetRegionsRegionNameZonesParams
- func NewGetRegionsRegionNameZonesParams() *GetRegionsRegionNameZonesParams
- func NewGetRegionsRegionNameZonesParamsWithContext(ctx context.Context) *GetRegionsRegionNameZonesParams
- func NewGetRegionsRegionNameZonesParamsWithHTTPClient(client *http.Client) *GetRegionsRegionNameZonesParams
- func NewGetRegionsRegionNameZonesParamsWithTimeout(timeout time.Duration) *GetRegionsRegionNameZonesParams
- func (o *GetRegionsRegionNameZonesParams) SetContext(ctx context.Context)
- func (o *GetRegionsRegionNameZonesParams) SetGeneration(generation int64)
- func (o *GetRegionsRegionNameZonesParams) SetHTTPClient(client *http.Client)
- func (o *GetRegionsRegionNameZonesParams) SetRegionName(regionName string)
- func (o *GetRegionsRegionNameZonesParams) SetTimeout(timeout time.Duration)
- func (o *GetRegionsRegionNameZonesParams) SetVersion(version string)
- func (o *GetRegionsRegionNameZonesParams) WithContext(ctx context.Context) *GetRegionsRegionNameZonesParams
- func (o *GetRegionsRegionNameZonesParams) WithGeneration(generation int64) *GetRegionsRegionNameZonesParams
- func (o *GetRegionsRegionNameZonesParams) WithHTTPClient(client *http.Client) *GetRegionsRegionNameZonesParams
- func (o *GetRegionsRegionNameZonesParams) WithRegionName(regionName string) *GetRegionsRegionNameZonesParams
- func (o *GetRegionsRegionNameZonesParams) WithTimeout(timeout time.Duration) *GetRegionsRegionNameZonesParams
- func (o *GetRegionsRegionNameZonesParams) WithVersion(version string) *GetRegionsRegionNameZonesParams
- func (o *GetRegionsRegionNameZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegionsRegionNameZonesReader
- type GetRegionsRegionNameZonesZoneNameInternalServerError
- type GetRegionsRegionNameZonesZoneNameNotFound
- type GetRegionsRegionNameZonesZoneNameOK
- type GetRegionsRegionNameZonesZoneNameParams
- func NewGetRegionsRegionNameZonesZoneNameParams() *GetRegionsRegionNameZonesZoneNameParams
- func NewGetRegionsRegionNameZonesZoneNameParamsWithContext(ctx context.Context) *GetRegionsRegionNameZonesZoneNameParams
- func NewGetRegionsRegionNameZonesZoneNameParamsWithHTTPClient(client *http.Client) *GetRegionsRegionNameZonesZoneNameParams
- func NewGetRegionsRegionNameZonesZoneNameParamsWithTimeout(timeout time.Duration) *GetRegionsRegionNameZonesZoneNameParams
- func (o *GetRegionsRegionNameZonesZoneNameParams) SetContext(ctx context.Context)
- func (o *GetRegionsRegionNameZonesZoneNameParams) SetGeneration(generation int64)
- func (o *GetRegionsRegionNameZonesZoneNameParams) SetHTTPClient(client *http.Client)
- func (o *GetRegionsRegionNameZonesZoneNameParams) SetRegionName(regionName string)
- func (o *GetRegionsRegionNameZonesZoneNameParams) SetTimeout(timeout time.Duration)
- func (o *GetRegionsRegionNameZonesZoneNameParams) SetVersion(version string)
- func (o *GetRegionsRegionNameZonesZoneNameParams) SetZoneName(zoneName string)
- func (o *GetRegionsRegionNameZonesZoneNameParams) WithContext(ctx context.Context) *GetRegionsRegionNameZonesZoneNameParams
- func (o *GetRegionsRegionNameZonesZoneNameParams) WithGeneration(generation int64) *GetRegionsRegionNameZonesZoneNameParams
- func (o *GetRegionsRegionNameZonesZoneNameParams) WithHTTPClient(client *http.Client) *GetRegionsRegionNameZonesZoneNameParams
- func (o *GetRegionsRegionNameZonesZoneNameParams) WithRegionName(regionName string) *GetRegionsRegionNameZonesZoneNameParams
- func (o *GetRegionsRegionNameZonesZoneNameParams) WithTimeout(timeout time.Duration) *GetRegionsRegionNameZonesZoneNameParams
- func (o *GetRegionsRegionNameZonesZoneNameParams) WithVersion(version string) *GetRegionsRegionNameZonesZoneNameParams
- func (o *GetRegionsRegionNameZonesZoneNameParams) WithZoneName(zoneName string) *GetRegionsRegionNameZonesZoneNameParams
- func (o *GetRegionsRegionNameZonesZoneNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegionsRegionNameZonesZoneNameReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for geography API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new geography API client.
func (*Client) GetRegions ¶
func (a *Client) GetRegions(params *GetRegionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegionsOK, error)
GetRegions retrieves all regions
This request retrieves all regions. Each region is a separate geographic area containing multiple isolated zones. Resources can be provisioned into a one or more zones in a region. Each zone is isolated, but connected to other zones in the same region with low-latency and high-bandwidth links. Regions represent the top-level of fault isolation available. Resources deployed within a single region also benefit from the low latency afforded by geographic proximity.
func (*Client) GetRegionsName ¶
func (a *Client) GetRegionsName(params *GetRegionsNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegionsNameOK, error)
GetRegionsName retrieves a region
This request retrieves a single region specified by the name in the URL.
func (*Client) GetRegionsRegionNameZones ¶
func (a *Client) GetRegionsRegionNameZones(params *GetRegionsRegionNameZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegionsRegionNameZonesOK, error)
GetRegionsRegionNameZones retrieves all zones in a region
This request retrieves all zones in a region. Zones represent logically-isolated data centers with high-bandwidth, low-latency interconnects to other zones in the same region. Faults in a zone do not impact other zones.
func (*Client) GetRegionsRegionNameZonesZoneName ¶
func (a *Client) GetRegionsRegionNameZonesZoneName(params *GetRegionsRegionNameZonesZoneNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegionsRegionNameZonesZoneNameOK, error)
GetRegionsRegionNameZonesZoneName retrieves a zone
This request retrieves a single zone specified by the region and zone names in the URL.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetRegionsInternalServerError ¶
type GetRegionsInternalServerError struct {
Payload *models.Riaaserror
}
GetRegionsInternalServerError handles this case with default header values.
error
func NewGetRegionsInternalServerError ¶
func NewGetRegionsInternalServerError() *GetRegionsInternalServerError
NewGetRegionsInternalServerError creates a GetRegionsInternalServerError with default headers values
func (*GetRegionsInternalServerError) Error ¶
func (o *GetRegionsInternalServerError) Error() string
type GetRegionsNameInternalServerError ¶
type GetRegionsNameInternalServerError struct {
Payload *models.Riaaserror
}
GetRegionsNameInternalServerError handles this case with default header values.
error
func NewGetRegionsNameInternalServerError ¶
func NewGetRegionsNameInternalServerError() *GetRegionsNameInternalServerError
NewGetRegionsNameInternalServerError creates a GetRegionsNameInternalServerError with default headers values
func (*GetRegionsNameInternalServerError) Error ¶
func (o *GetRegionsNameInternalServerError) Error() string
type GetRegionsNameNotFound ¶
type GetRegionsNameNotFound struct {
Payload *models.Riaaserror
}
GetRegionsNameNotFound handles this case with default header values.
error
func NewGetRegionsNameNotFound ¶
func NewGetRegionsNameNotFound() *GetRegionsNameNotFound
NewGetRegionsNameNotFound creates a GetRegionsNameNotFound with default headers values
func (*GetRegionsNameNotFound) Error ¶
func (o *GetRegionsNameNotFound) Error() string
type GetRegionsNameOK ¶
GetRegionsNameOK handles this case with default header values.
dummy
func NewGetRegionsNameOK ¶
func NewGetRegionsNameOK() *GetRegionsNameOK
NewGetRegionsNameOK creates a GetRegionsNameOK with default headers values
func (*GetRegionsNameOK) Error ¶
func (o *GetRegionsNameOK) Error() string
type GetRegionsNameParams ¶
type GetRegionsNameParams struct { /*Generation The infrastructure generation for the request. */ Generation int64 /*Name The region name */ Name string /*Version Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRegionsNameParams contains all the parameters to send to the API endpoint for the get regions name operation typically these are written to a http.Request
func NewGetRegionsNameParams ¶
func NewGetRegionsNameParams() *GetRegionsNameParams
NewGetRegionsNameParams creates a new GetRegionsNameParams object with the default values initialized.
func NewGetRegionsNameParamsWithContext ¶
func NewGetRegionsNameParamsWithContext(ctx context.Context) *GetRegionsNameParams
NewGetRegionsNameParamsWithContext creates a new GetRegionsNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetRegionsNameParamsWithHTTPClient ¶
func NewGetRegionsNameParamsWithHTTPClient(client *http.Client) *GetRegionsNameParams
NewGetRegionsNameParamsWithHTTPClient creates a new GetRegionsNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRegionsNameParamsWithTimeout ¶
func NewGetRegionsNameParamsWithTimeout(timeout time.Duration) *GetRegionsNameParams
NewGetRegionsNameParamsWithTimeout creates a new GetRegionsNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRegionsNameParams) SetContext ¶
func (o *GetRegionsNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get regions name params
func (*GetRegionsNameParams) SetGeneration ¶
func (o *GetRegionsNameParams) SetGeneration(generation int64)
SetGeneration adds the generation to the get regions name params
func (*GetRegionsNameParams) SetHTTPClient ¶
func (o *GetRegionsNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get regions name params
func (*GetRegionsNameParams) SetName ¶
func (o *GetRegionsNameParams) SetName(name string)
SetName adds the name to the get regions name params
func (*GetRegionsNameParams) SetTimeout ¶
func (o *GetRegionsNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get regions name params
func (*GetRegionsNameParams) SetVersion ¶
func (o *GetRegionsNameParams) SetVersion(version string)
SetVersion adds the version to the get regions name params
func (*GetRegionsNameParams) WithContext ¶
func (o *GetRegionsNameParams) WithContext(ctx context.Context) *GetRegionsNameParams
WithContext adds the context to the get regions name params
func (*GetRegionsNameParams) WithGeneration ¶
func (o *GetRegionsNameParams) WithGeneration(generation int64) *GetRegionsNameParams
WithGeneration adds the generation to the get regions name params
func (*GetRegionsNameParams) WithHTTPClient ¶
func (o *GetRegionsNameParams) WithHTTPClient(client *http.Client) *GetRegionsNameParams
WithHTTPClient adds the HTTPClient to the get regions name params
func (*GetRegionsNameParams) WithName ¶
func (o *GetRegionsNameParams) WithName(name string) *GetRegionsNameParams
WithName adds the name to the get regions name params
func (*GetRegionsNameParams) WithTimeout ¶
func (o *GetRegionsNameParams) WithTimeout(timeout time.Duration) *GetRegionsNameParams
WithTimeout adds the timeout to the get regions name params
func (*GetRegionsNameParams) WithVersion ¶
func (o *GetRegionsNameParams) WithVersion(version string) *GetRegionsNameParams
WithVersion adds the version to the get regions name params
func (*GetRegionsNameParams) WriteToRequest ¶
func (o *GetRegionsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRegionsNameReader ¶
type GetRegionsNameReader struct {
// contains filtered or unexported fields
}
GetRegionsNameReader is a Reader for the GetRegionsName structure.
func (*GetRegionsNameReader) ReadResponse ¶
func (o *GetRegionsNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRegionsOK ¶
type GetRegionsOK struct {
Payload *GetRegionsOKBody
}
GetRegionsOK handles this case with default header values.
dummy
func NewGetRegionsOK ¶
func NewGetRegionsOK() *GetRegionsOK
NewGetRegionsOK creates a GetRegionsOK with default headers values
func (*GetRegionsOK) Error ¶
func (o *GetRegionsOK) Error() string
type GetRegionsOKBody ¶
type GetRegionsOKBody struct { // Array of Region objects // Required: true Regions []*models.Region `json:"regions"` }
GetRegionsOKBody RegionCollection swagger:model GetRegionsOKBody
func (*GetRegionsOKBody) MarshalBinary ¶
func (o *GetRegionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRegionsOKBody) UnmarshalBinary ¶
func (o *GetRegionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRegionsParams ¶
type GetRegionsParams struct { /*Generation The infrastructure generation for the request. */ Generation int64 /*Version Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRegionsParams contains all the parameters to send to the API endpoint for the get regions operation typically these are written to a http.Request
func NewGetRegionsParams ¶
func NewGetRegionsParams() *GetRegionsParams
NewGetRegionsParams creates a new GetRegionsParams object with the default values initialized.
func NewGetRegionsParamsWithContext ¶
func NewGetRegionsParamsWithContext(ctx context.Context) *GetRegionsParams
NewGetRegionsParamsWithContext creates a new GetRegionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRegionsParamsWithHTTPClient ¶
func NewGetRegionsParamsWithHTTPClient(client *http.Client) *GetRegionsParams
NewGetRegionsParamsWithHTTPClient creates a new GetRegionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRegionsParamsWithTimeout ¶
func NewGetRegionsParamsWithTimeout(timeout time.Duration) *GetRegionsParams
NewGetRegionsParamsWithTimeout creates a new GetRegionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRegionsParams) SetContext ¶
func (o *GetRegionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get regions params
func (*GetRegionsParams) SetGeneration ¶
func (o *GetRegionsParams) SetGeneration(generation int64)
SetGeneration adds the generation to the get regions params
func (*GetRegionsParams) SetHTTPClient ¶
func (o *GetRegionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get regions params
func (*GetRegionsParams) SetTimeout ¶
func (o *GetRegionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get regions params
func (*GetRegionsParams) SetVersion ¶
func (o *GetRegionsParams) SetVersion(version string)
SetVersion adds the version to the get regions params
func (*GetRegionsParams) WithContext ¶
func (o *GetRegionsParams) WithContext(ctx context.Context) *GetRegionsParams
WithContext adds the context to the get regions params
func (*GetRegionsParams) WithGeneration ¶
func (o *GetRegionsParams) WithGeneration(generation int64) *GetRegionsParams
WithGeneration adds the generation to the get regions params
func (*GetRegionsParams) WithHTTPClient ¶
func (o *GetRegionsParams) WithHTTPClient(client *http.Client) *GetRegionsParams
WithHTTPClient adds the HTTPClient to the get regions params
func (*GetRegionsParams) WithTimeout ¶
func (o *GetRegionsParams) WithTimeout(timeout time.Duration) *GetRegionsParams
WithTimeout adds the timeout to the get regions params
func (*GetRegionsParams) WithVersion ¶
func (o *GetRegionsParams) WithVersion(version string) *GetRegionsParams
WithVersion adds the version to the get regions params
func (*GetRegionsParams) WriteToRequest ¶
func (o *GetRegionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRegionsReader ¶
type GetRegionsReader struct {
// contains filtered or unexported fields
}
GetRegionsReader is a Reader for the GetRegions structure.
func (*GetRegionsReader) ReadResponse ¶
func (o *GetRegionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRegionsRegionNameZonesInternalServerError ¶
type GetRegionsRegionNameZonesInternalServerError struct {
Payload *models.Riaaserror
}
GetRegionsRegionNameZonesInternalServerError handles this case with default header values.
error
func NewGetRegionsRegionNameZonesInternalServerError ¶
func NewGetRegionsRegionNameZonesInternalServerError() *GetRegionsRegionNameZonesInternalServerError
NewGetRegionsRegionNameZonesInternalServerError creates a GetRegionsRegionNameZonesInternalServerError with default headers values
func (*GetRegionsRegionNameZonesInternalServerError) Error ¶
func (o *GetRegionsRegionNameZonesInternalServerError) Error() string
type GetRegionsRegionNameZonesNotFound ¶
type GetRegionsRegionNameZonesNotFound struct {
Payload *models.Riaaserror
}
GetRegionsRegionNameZonesNotFound handles this case with default header values.
error
func NewGetRegionsRegionNameZonesNotFound ¶
func NewGetRegionsRegionNameZonesNotFound() *GetRegionsRegionNameZonesNotFound
NewGetRegionsRegionNameZonesNotFound creates a GetRegionsRegionNameZonesNotFound with default headers values
func (*GetRegionsRegionNameZonesNotFound) Error ¶
func (o *GetRegionsRegionNameZonesNotFound) Error() string
type GetRegionsRegionNameZonesOK ¶
type GetRegionsRegionNameZonesOK struct {
Payload *GetRegionsRegionNameZonesOKBody
}
GetRegionsRegionNameZonesOK handles this case with default header values.
dummy
func NewGetRegionsRegionNameZonesOK ¶
func NewGetRegionsRegionNameZonesOK() *GetRegionsRegionNameZonesOK
NewGetRegionsRegionNameZonesOK creates a GetRegionsRegionNameZonesOK with default headers values
func (*GetRegionsRegionNameZonesOK) Error ¶
func (o *GetRegionsRegionNameZonesOK) Error() string
type GetRegionsRegionNameZonesOKBody ¶
type GetRegionsRegionNameZonesOKBody struct { // Collection of zones // Required: true Zones []*models.Zone `json:"zones"` }
GetRegionsRegionNameZonesOKBody ZoneCollection swagger:model GetRegionsRegionNameZonesOKBody
func (*GetRegionsRegionNameZonesOKBody) MarshalBinary ¶
func (o *GetRegionsRegionNameZonesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRegionsRegionNameZonesOKBody) UnmarshalBinary ¶
func (o *GetRegionsRegionNameZonesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRegionsRegionNameZonesParams ¶
type GetRegionsRegionNameZonesParams struct { /*Generation The infrastructure generation for the request. */ Generation int64 /*RegionName The region name */ RegionName string /*Version Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRegionsRegionNameZonesParams contains all the parameters to send to the API endpoint for the get regions region name zones operation typically these are written to a http.Request
func NewGetRegionsRegionNameZonesParams ¶
func NewGetRegionsRegionNameZonesParams() *GetRegionsRegionNameZonesParams
NewGetRegionsRegionNameZonesParams creates a new GetRegionsRegionNameZonesParams object with the default values initialized.
func NewGetRegionsRegionNameZonesParamsWithContext ¶
func NewGetRegionsRegionNameZonesParamsWithContext(ctx context.Context) *GetRegionsRegionNameZonesParams
NewGetRegionsRegionNameZonesParamsWithContext creates a new GetRegionsRegionNameZonesParams object with the default values initialized, and the ability to set a context for a request
func NewGetRegionsRegionNameZonesParamsWithHTTPClient ¶
func NewGetRegionsRegionNameZonesParamsWithHTTPClient(client *http.Client) *GetRegionsRegionNameZonesParams
NewGetRegionsRegionNameZonesParamsWithHTTPClient creates a new GetRegionsRegionNameZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRegionsRegionNameZonesParamsWithTimeout ¶
func NewGetRegionsRegionNameZonesParamsWithTimeout(timeout time.Duration) *GetRegionsRegionNameZonesParams
NewGetRegionsRegionNameZonesParamsWithTimeout creates a new GetRegionsRegionNameZonesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRegionsRegionNameZonesParams) SetContext ¶
func (o *GetRegionsRegionNameZonesParams) SetContext(ctx context.Context)
SetContext adds the context to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) SetGeneration ¶
func (o *GetRegionsRegionNameZonesParams) SetGeneration(generation int64)
SetGeneration adds the generation to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) SetHTTPClient ¶
func (o *GetRegionsRegionNameZonesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) SetRegionName ¶
func (o *GetRegionsRegionNameZonesParams) SetRegionName(regionName string)
SetRegionName adds the regionName to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) SetTimeout ¶
func (o *GetRegionsRegionNameZonesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) SetVersion ¶
func (o *GetRegionsRegionNameZonesParams) SetVersion(version string)
SetVersion adds the version to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) WithContext ¶
func (o *GetRegionsRegionNameZonesParams) WithContext(ctx context.Context) *GetRegionsRegionNameZonesParams
WithContext adds the context to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) WithGeneration ¶
func (o *GetRegionsRegionNameZonesParams) WithGeneration(generation int64) *GetRegionsRegionNameZonesParams
WithGeneration adds the generation to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) WithHTTPClient ¶
func (o *GetRegionsRegionNameZonesParams) WithHTTPClient(client *http.Client) *GetRegionsRegionNameZonesParams
WithHTTPClient adds the HTTPClient to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) WithRegionName ¶
func (o *GetRegionsRegionNameZonesParams) WithRegionName(regionName string) *GetRegionsRegionNameZonesParams
WithRegionName adds the regionName to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) WithTimeout ¶
func (o *GetRegionsRegionNameZonesParams) WithTimeout(timeout time.Duration) *GetRegionsRegionNameZonesParams
WithTimeout adds the timeout to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) WithVersion ¶
func (o *GetRegionsRegionNameZonesParams) WithVersion(version string) *GetRegionsRegionNameZonesParams
WithVersion adds the version to the get regions region name zones params
func (*GetRegionsRegionNameZonesParams) WriteToRequest ¶
func (o *GetRegionsRegionNameZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRegionsRegionNameZonesReader ¶
type GetRegionsRegionNameZonesReader struct {
// contains filtered or unexported fields
}
GetRegionsRegionNameZonesReader is a Reader for the GetRegionsRegionNameZones structure.
func (*GetRegionsRegionNameZonesReader) ReadResponse ¶
func (o *GetRegionsRegionNameZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRegionsRegionNameZonesZoneNameInternalServerError ¶
type GetRegionsRegionNameZonesZoneNameInternalServerError struct {
Payload *models.Riaaserror
}
GetRegionsRegionNameZonesZoneNameInternalServerError handles this case with default header values.
error
func NewGetRegionsRegionNameZonesZoneNameInternalServerError ¶
func NewGetRegionsRegionNameZonesZoneNameInternalServerError() *GetRegionsRegionNameZonesZoneNameInternalServerError
NewGetRegionsRegionNameZonesZoneNameInternalServerError creates a GetRegionsRegionNameZonesZoneNameInternalServerError with default headers values
func (*GetRegionsRegionNameZonesZoneNameInternalServerError) Error ¶
func (o *GetRegionsRegionNameZonesZoneNameInternalServerError) Error() string
type GetRegionsRegionNameZonesZoneNameNotFound ¶
type GetRegionsRegionNameZonesZoneNameNotFound struct {
Payload *models.Riaaserror
}
GetRegionsRegionNameZonesZoneNameNotFound handles this case with default header values.
error
func NewGetRegionsRegionNameZonesZoneNameNotFound ¶
func NewGetRegionsRegionNameZonesZoneNameNotFound() *GetRegionsRegionNameZonesZoneNameNotFound
NewGetRegionsRegionNameZonesZoneNameNotFound creates a GetRegionsRegionNameZonesZoneNameNotFound with default headers values
func (*GetRegionsRegionNameZonesZoneNameNotFound) Error ¶
func (o *GetRegionsRegionNameZonesZoneNameNotFound) Error() string
type GetRegionsRegionNameZonesZoneNameOK ¶
GetRegionsRegionNameZonesZoneNameOK handles this case with default header values.
dummy
func NewGetRegionsRegionNameZonesZoneNameOK ¶
func NewGetRegionsRegionNameZonesZoneNameOK() *GetRegionsRegionNameZonesZoneNameOK
NewGetRegionsRegionNameZonesZoneNameOK creates a GetRegionsRegionNameZonesZoneNameOK with default headers values
func (*GetRegionsRegionNameZonesZoneNameOK) Error ¶
func (o *GetRegionsRegionNameZonesZoneNameOK) Error() string
type GetRegionsRegionNameZonesZoneNameParams ¶
type GetRegionsRegionNameZonesZoneNameParams struct { /*Generation The infrastructure generation for the request. */ Generation int64 /*RegionName The region name */ RegionName string /*Version Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version. */ Version string /*ZoneName The zone name */ ZoneName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRegionsRegionNameZonesZoneNameParams contains all the parameters to send to the API endpoint for the get regions region name zones zone name operation typically these are written to a http.Request
func NewGetRegionsRegionNameZonesZoneNameParams ¶
func NewGetRegionsRegionNameZonesZoneNameParams() *GetRegionsRegionNameZonesZoneNameParams
NewGetRegionsRegionNameZonesZoneNameParams creates a new GetRegionsRegionNameZonesZoneNameParams object with the default values initialized.
func NewGetRegionsRegionNameZonesZoneNameParamsWithContext ¶
func NewGetRegionsRegionNameZonesZoneNameParamsWithContext(ctx context.Context) *GetRegionsRegionNameZonesZoneNameParams
NewGetRegionsRegionNameZonesZoneNameParamsWithContext creates a new GetRegionsRegionNameZonesZoneNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetRegionsRegionNameZonesZoneNameParamsWithHTTPClient ¶
func NewGetRegionsRegionNameZonesZoneNameParamsWithHTTPClient(client *http.Client) *GetRegionsRegionNameZonesZoneNameParams
NewGetRegionsRegionNameZonesZoneNameParamsWithHTTPClient creates a new GetRegionsRegionNameZonesZoneNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRegionsRegionNameZonesZoneNameParamsWithTimeout ¶
func NewGetRegionsRegionNameZonesZoneNameParamsWithTimeout(timeout time.Duration) *GetRegionsRegionNameZonesZoneNameParams
NewGetRegionsRegionNameZonesZoneNameParamsWithTimeout creates a new GetRegionsRegionNameZonesZoneNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRegionsRegionNameZonesZoneNameParams) SetContext ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) SetGeneration ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) SetGeneration(generation int64)
SetGeneration adds the generation to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) SetHTTPClient ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) SetRegionName ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) SetRegionName(regionName string)
SetRegionName adds the regionName to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) SetTimeout ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) SetVersion ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) SetVersion(version string)
SetVersion adds the version to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) SetZoneName ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) SetZoneName(zoneName string)
SetZoneName adds the zoneName to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) WithContext ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) WithContext(ctx context.Context) *GetRegionsRegionNameZonesZoneNameParams
WithContext adds the context to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) WithGeneration ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) WithGeneration(generation int64) *GetRegionsRegionNameZonesZoneNameParams
WithGeneration adds the generation to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) WithHTTPClient ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) WithHTTPClient(client *http.Client) *GetRegionsRegionNameZonesZoneNameParams
WithHTTPClient adds the HTTPClient to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) WithRegionName ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) WithRegionName(regionName string) *GetRegionsRegionNameZonesZoneNameParams
WithRegionName adds the regionName to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) WithTimeout ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) WithTimeout(timeout time.Duration) *GetRegionsRegionNameZonesZoneNameParams
WithTimeout adds the timeout to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) WithVersion ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) WithVersion(version string) *GetRegionsRegionNameZonesZoneNameParams
WithVersion adds the version to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) WithZoneName ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) WithZoneName(zoneName string) *GetRegionsRegionNameZonesZoneNameParams
WithZoneName adds the zoneName to the get regions region name zones zone name params
func (*GetRegionsRegionNameZonesZoneNameParams) WriteToRequest ¶
func (o *GetRegionsRegionNameZonesZoneNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRegionsRegionNameZonesZoneNameReader ¶
type GetRegionsRegionNameZonesZoneNameReader struct {
// contains filtered or unexported fields
}
GetRegionsRegionNameZonesZoneNameReader is a Reader for the GetRegionsRegionNameZonesZoneName structure.
func (*GetRegionsRegionNameZonesZoneNameReader) ReadResponse ¶
func (o *GetRegionsRegionNameZonesZoneNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- geography_client.go
- get_regions_name_parameters.go
- get_regions_name_responses.go
- get_regions_parameters.go
- get_regions_region_name_zones_parameters.go
- get_regions_region_name_zones_responses.go
- get_regions_region_name_zones_zone_name_parameters.go
- get_regions_region_name_zones_zone_name_responses.go
- get_regions_responses.go