Documentation ¶
Index ¶
- type ApiService
- type GetWarmUpIp404Response
- type GetWarmUpIp404ResponseErrorsInner
- type GetWarmUpIpParam
- type IpWarmup200Inner
- type ListWarmUpIpParam
- type StopIpWarmUp404Response
- type StopIpWarmUp404ResponseErrorsInner
- type StopIpWarmUpParam
- type WarmUpIp404Response
- type WarmUpIp404ResponseErrorsInner
- type WarmUpIpParam
- type WarmUpIpRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiService ¶
type ApiService struct {
// contains filtered or unexported fields
}
func NewApiService ¶
func NewApiService(requestHandler *sendgrid.RequestHandler) *ApiService
func NewApiServiceWithClient ¶
func NewApiServiceWithClient(client sendgrid.BaseClient) *ApiService
func (*ApiService) GetWarmUpIp ¶
func (c *ApiService) GetWarmUpIp(params *GetWarmUpIpParam) (interface{}, error)
**This endpoint allows you to retrieve the warmup status for a specific IP address.** You can retrieve all of your warming IPs using the \"Retrieve all IPs currently in warmup\" endpoint.
func (*ApiService) ListWarmUpIp ¶
func (c *ApiService) ListWarmUpIp() (interface{}, error)
**This endpoint allows you to retrieve all of your IP addresses that are currently warming up.**
func (*ApiService) StopIpWarmUp ¶
func (c *ApiService) StopIpWarmUp(params *StopIpWarmUpParam) (interface{}, error)
**This endpoint allows you to remove an IP address from warmup mode.** Your request will return a 204 status code if the specified IP was successfully removed from warmup mode. To retrieve details of the IP’s warmup status *before* removing it from warmup mode, call the \"Retrieve the warmpup status for a specific IP address\" endpoint.
func (*ApiService) WarmUpIp ¶
func (c *ApiService) WarmUpIp(params *WarmUpIpParam) (interface{}, error)
**This endpoint allows you to put an IP address into warmup mode.**
type GetWarmUpIp404Response ¶
type GetWarmUpIp404Response struct { // The errors that were encountered. Errors *[]GetWarmUpIp404ResponseErrorsInner `json:"errors,omitempty"` }
GetWarmUpIp404Response struct for GetWarmUpIp404Response
type GetWarmUpIp404ResponseErrorsInner ¶
type GetWarmUpIp404ResponseErrorsInner struct { Field *string `json:"field,omitempty"` // A message explaining why the warmup status could not be retrieved. Message *string `json:"message,omitempty"` }
GetWarmUpIp404ResponseErrorsInner struct for GetWarmUpIp404ResponseErrorsInner
type GetWarmUpIpParam ¶
type GetWarmUpIpParam struct { // The IP address that you want to retrieve the warmup status for. IpAddress *string `json:"ip_address"` }
func (*GetWarmUpIpParam) SetIpAddress ¶
func (params *GetWarmUpIpParam) SetIpAddress(IpAddress string) *GetWarmUpIpParam
type IpWarmup200Inner ¶
type IpWarmup200Inner struct { // The IP address. Ip string `json:"ip"` // A Unix timestamp indicating when the IP address entered warmup mode. StartDate int32 `json:"start_date"` }
IpWarmup200Inner struct for IpWarmup200Inner
type ListWarmUpIpParam ¶
type ListWarmUpIpParam struct { }
type StopIpWarmUp404Response ¶
type StopIpWarmUp404Response struct { // The errors that were encountered. Errors *[]StopIpWarmUp404ResponseErrorsInner `json:"errors,omitempty"` }
StopIpWarmUp404Response struct for StopIpWarmUp404Response
type StopIpWarmUp404ResponseErrorsInner ¶
type StopIpWarmUp404ResponseErrorsInner struct { Field *string `json:"field,omitempty"` // A message explaining why the IP couldn't be removed from warmup. Message *string `json:"message,omitempty"` }
StopIpWarmUp404ResponseErrorsInner struct for StopIpWarmUp404ResponseErrorsInner
type StopIpWarmUpParam ¶
type StopIpWarmUpParam struct { // The IP address that you want to retrieve the warmup status for. IpAddress *string `json:"ip_address"` }
func (*StopIpWarmUpParam) SetIpAddress ¶
func (params *StopIpWarmUpParam) SetIpAddress(IpAddress string) *StopIpWarmUpParam
type WarmUpIp404Response ¶
type WarmUpIp404Response struct { // The errors that were encountered. Errors *[]WarmUpIp404ResponseErrorsInner `json:"errors,omitempty"` }
WarmUpIp404Response struct for WarmUpIp404Response
type WarmUpIp404ResponseErrorsInner ¶
type WarmUpIp404ResponseErrorsInner struct { Field *string `json:"field,omitempty"` // A message explaining why the IP couldn't entered into warmup mode. Message *string `json:"message,omitempty"` }
WarmUpIp404ResponseErrorsInner struct for WarmUpIp404ResponseErrorsInner
type WarmUpIpParam ¶
type WarmUpIpParam struct { // WarmUpIpRequest *WarmUpIpRequest `json:"WarmUpIpRequest,omitempty"` }
func (*WarmUpIpParam) SetWarmUpIpRequest ¶
func (params *WarmUpIpParam) SetWarmUpIpRequest(WarmUpIpRequest WarmUpIpRequest) *WarmUpIpParam
type WarmUpIpRequest ¶
type WarmUpIpRequest struct { // The IP address that you want to begin warming up. Ip *string `json:"ip,omitempty"` }
WarmUpIpRequest struct for WarmUpIpRequest
Source Files ¶
- api_get_warm_up_ip.go
- api_list_warm_up_ip.go
- api_service.go
- api_stop_ip_warm_up.go
- api_warm_up_ip.go
- model_get_warm_up_ip_404_response.go
- model_get_warm_up_ip_404_response_errors_inner.go
- model_ip_warmup200_inner.go
- model_stop_ip_warm_up_404_response.go
- model_stop_ip_warm_up_404_response_errors_inner.go
- model_warm_up_ip_404_response.go
- model_warm_up_ip_404_response_errors_inner.go
- model_warm_up_ip_request.go