Documentation ¶
Index ¶
- Constants
- type DeleteDomainsDomainID
- type DeleteDomainsDomainIDDefault
- func (o *DeleteDomainsDomainIDDefault) SetPayload(payload *models.Error)
- func (o *DeleteDomainsDomainIDDefault) SetStatusCode(code int)
- func (o *DeleteDomainsDomainIDDefault) WithPayload(payload *models.Error) *DeleteDomainsDomainIDDefault
- func (o *DeleteDomainsDomainIDDefault) WithStatusCode(code int) *DeleteDomainsDomainIDDefault
- func (o *DeleteDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteDomainsDomainIDHandler
- type DeleteDomainsDomainIDHandlerFunc
- type DeleteDomainsDomainIDNoContent
- type DeleteDomainsDomainIDNotFound
- type DeleteDomainsDomainIDParams
- type DeleteDomainsDomainIDURL
- func (o *DeleteDomainsDomainIDURL) Build() (*url.URL, error)
- func (o *DeleteDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteDomainsDomainIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteDomainsDomainIDURL) SetBasePath(bp string)
- func (o *DeleteDomainsDomainIDURL) String() string
- func (o *DeleteDomainsDomainIDURL) StringFull(scheme, host string) string
- func (o *DeleteDomainsDomainIDURL) WithBasePath(bp string) *DeleteDomainsDomainIDURL
- type GetDomains
- type GetDomainsBadRequest
- type GetDomainsDefault
- func (o *GetDomainsDefault) SetPayload(payload *models.Error)
- func (o *GetDomainsDefault) SetStatusCode(code int)
- func (o *GetDomainsDefault) WithPayload(payload *models.Error) *GetDomainsDefault
- func (o *GetDomainsDefault) WithStatusCode(code int) *GetDomainsDefault
- func (o *GetDomainsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDomainsDomainID
- type GetDomainsDomainIDDefault
- func (o *GetDomainsDomainIDDefault) SetPayload(payload *models.Error)
- func (o *GetDomainsDomainIDDefault) SetStatusCode(code int)
- func (o *GetDomainsDomainIDDefault) WithPayload(payload *models.Error) *GetDomainsDomainIDDefault
- func (o *GetDomainsDomainIDDefault) WithStatusCode(code int) *GetDomainsDomainIDDefault
- func (o *GetDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDomainsDomainIDHandler
- type GetDomainsDomainIDHandlerFunc
- type GetDomainsDomainIDNotFound
- type GetDomainsDomainIDOK
- type GetDomainsDomainIDOKBody
- func (o *GetDomainsDomainIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDomainsDomainIDOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDomainsDomainIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDomainsDomainIDOKBody) Validate(formats strfmt.Registry) error
- type GetDomainsDomainIDParams
- type GetDomainsDomainIDURL
- func (o *GetDomainsDomainIDURL) Build() (*url.URL, error)
- func (o *GetDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDomainsDomainIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDomainsDomainIDURL) SetBasePath(bp string)
- func (o *GetDomainsDomainIDURL) String() string
- func (o *GetDomainsDomainIDURL) StringFull(scheme, host string) string
- func (o *GetDomainsDomainIDURL) WithBasePath(bp string) *GetDomainsDomainIDURL
- type GetDomainsHandler
- type GetDomainsHandlerFunc
- type GetDomainsOK
- type GetDomainsOKBody
- type GetDomainsParams
- type GetDomainsURL
- func (o *GetDomainsURL) Build() (*url.URL, error)
- func (o *GetDomainsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDomainsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDomainsURL) SetBasePath(bp string)
- func (o *GetDomainsURL) String() string
- func (o *GetDomainsURL) StringFull(scheme, host string) string
- func (o *GetDomainsURL) WithBasePath(bp string) *GetDomainsURL
- type PostDomains
- type PostDomainsBadRequest
- type PostDomainsBody
- type PostDomainsCreated
- type PostDomainsCreatedBody
- func (o *PostDomainsCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PostDomainsCreatedBody) MarshalBinary() ([]byte, error)
- func (o *PostDomainsCreatedBody) UnmarshalBinary(b []byte) error
- func (o *PostDomainsCreatedBody) Validate(formats strfmt.Registry) error
- type PostDomainsDefault
- func (o *PostDomainsDefault) SetPayload(payload *models.Error)
- func (o *PostDomainsDefault) SetStatusCode(code int)
- func (o *PostDomainsDefault) WithPayload(payload *models.Error) *PostDomainsDefault
- func (o *PostDomainsDefault) WithStatusCode(code int) *PostDomainsDefault
- func (o *PostDomainsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostDomainsHandler
- type PostDomainsHandlerFunc
- type PostDomainsParams
- type PostDomainsURL
- func (o *PostDomainsURL) Build() (*url.URL, error)
- func (o *PostDomainsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostDomainsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostDomainsURL) SetBasePath(bp string)
- func (o *PostDomainsURL) String() string
- func (o *PostDomainsURL) StringFull(scheme, host string) string
- func (o *PostDomainsURL) WithBasePath(bp string) *PostDomainsURL
- type PutDomainsDomainID
- type PutDomainsDomainIDAccepted
- func (o *PutDomainsDomainIDAccepted) SetPayload(payload *PutDomainsDomainIDAcceptedBody)
- func (o *PutDomainsDomainIDAccepted) WithPayload(payload *PutDomainsDomainIDAcceptedBody) *PutDomainsDomainIDAccepted
- func (o *PutDomainsDomainIDAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutDomainsDomainIDAcceptedBody
- func (o *PutDomainsDomainIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutDomainsDomainIDAcceptedBody) MarshalBinary() ([]byte, error)
- func (o *PutDomainsDomainIDAcceptedBody) UnmarshalBinary(b []byte) error
- func (o *PutDomainsDomainIDAcceptedBody) Validate(formats strfmt.Registry) error
- type PutDomainsDomainIDBadRequest
- type PutDomainsDomainIDBody
- func (o *PutDomainsDomainIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutDomainsDomainIDBody) MarshalBinary() ([]byte, error)
- func (o *PutDomainsDomainIDBody) UnmarshalBinary(b []byte) error
- func (o *PutDomainsDomainIDBody) Validate(formats strfmt.Registry) error
- type PutDomainsDomainIDDefault
- func (o *PutDomainsDomainIDDefault) SetPayload(payload *models.Error)
- func (o *PutDomainsDomainIDDefault) SetStatusCode(code int)
- func (o *PutDomainsDomainIDDefault) WithPayload(payload *models.Error) *PutDomainsDomainIDDefault
- func (o *PutDomainsDomainIDDefault) WithStatusCode(code int) *PutDomainsDomainIDDefault
- func (o *PutDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutDomainsDomainIDHandler
- type PutDomainsDomainIDHandlerFunc
- type PutDomainsDomainIDNotFound
- type PutDomainsDomainIDParams
- type PutDomainsDomainIDURL
- func (o *PutDomainsDomainIDURL) Build() (*url.URL, error)
- func (o *PutDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutDomainsDomainIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutDomainsDomainIDURL) SetBasePath(bp string)
- func (o *PutDomainsDomainIDURL) String() string
- func (o *PutDomainsDomainIDURL) StringFull(scheme, host string) string
- func (o *PutDomainsDomainIDURL) WithBasePath(bp string) *PutDomainsDomainIDURL
Constants ¶
const DeleteDomainsDomainIDNoContentCode int = 204
DeleteDomainsDomainIDNoContentCode is the HTTP code returned for type DeleteDomainsDomainIDNoContent
const DeleteDomainsDomainIDNotFoundCode int = 404
DeleteDomainsDomainIDNotFoundCode is the HTTP code returned for type DeleteDomainsDomainIDNotFound
const GetDomainsBadRequestCode int = 400
GetDomainsBadRequestCode is the HTTP code returned for type GetDomainsBadRequest
const GetDomainsDomainIDNotFoundCode int = 404
GetDomainsDomainIDNotFoundCode is the HTTP code returned for type GetDomainsDomainIDNotFound
const GetDomainsDomainIDOKCode int = 200
GetDomainsDomainIDOKCode is the HTTP code returned for type GetDomainsDomainIDOK
const GetDomainsOKCode int = 200
GetDomainsOKCode is the HTTP code returned for type GetDomainsOK
const PostDomainsBadRequestCode int = 400
PostDomainsBadRequestCode is the HTTP code returned for type PostDomainsBadRequest
const PostDomainsCreatedCode int = 201
PostDomainsCreatedCode is the HTTP code returned for type PostDomainsCreated
const PutDomainsDomainIDAcceptedCode int = 202
PutDomainsDomainIDAcceptedCode is the HTTP code returned for type PutDomainsDomainIDAccepted
const PutDomainsDomainIDBadRequestCode int = 400
PutDomainsDomainIDBadRequestCode is the HTTP code returned for type PutDomainsDomainIDBadRequest
const PutDomainsDomainIDNotFoundCode int = 404
PutDomainsDomainIDNotFoundCode is the HTTP code returned for type PutDomainsDomainIDNotFound
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteDomainsDomainID ¶
type DeleteDomainsDomainID struct { Context *middleware.Context Handler DeleteDomainsDomainIDHandler }
DeleteDomainsDomainID swagger:route DELETE /domains/{domain_id} Domains deleteDomainsDomainId
Delete a domain
func NewDeleteDomainsDomainID ¶
func NewDeleteDomainsDomainID(ctx *middleware.Context, handler DeleteDomainsDomainIDHandler) *DeleteDomainsDomainID
NewDeleteDomainsDomainID creates a new http.Handler for the delete domains domain ID operation
func (*DeleteDomainsDomainID) ServeHTTP ¶
func (o *DeleteDomainsDomainID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteDomainsDomainIDDefault ¶
type DeleteDomainsDomainIDDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteDomainsDomainIDDefault Unexpected Error
swagger:response deleteDomainsDomainIdDefault
func NewDeleteDomainsDomainIDDefault ¶
func NewDeleteDomainsDomainIDDefault(code int) *DeleteDomainsDomainIDDefault
NewDeleteDomainsDomainIDDefault creates DeleteDomainsDomainIDDefault with default headers values
func (*DeleteDomainsDomainIDDefault) SetPayload ¶
func (o *DeleteDomainsDomainIDDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete domains domain ID default response
func (*DeleteDomainsDomainIDDefault) SetStatusCode ¶
func (o *DeleteDomainsDomainIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete domains domain ID default response
func (*DeleteDomainsDomainIDDefault) WithPayload ¶
func (o *DeleteDomainsDomainIDDefault) WithPayload(payload *models.Error) *DeleteDomainsDomainIDDefault
WithPayload adds the payload to the delete domains domain ID default response
func (*DeleteDomainsDomainIDDefault) WithStatusCode ¶
func (o *DeleteDomainsDomainIDDefault) WithStatusCode(code int) *DeleteDomainsDomainIDDefault
WithStatusCode adds the status to the delete domains domain ID default response
func (*DeleteDomainsDomainIDDefault) WriteResponse ¶
func (o *DeleteDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDomainsDomainIDHandler ¶
type DeleteDomainsDomainIDHandler interface {
Handle(DeleteDomainsDomainIDParams) middleware.Responder
}
DeleteDomainsDomainIDHandler interface for that can handle valid delete domains domain ID params
type DeleteDomainsDomainIDHandlerFunc ¶
type DeleteDomainsDomainIDHandlerFunc func(DeleteDomainsDomainIDParams) middleware.Responder
DeleteDomainsDomainIDHandlerFunc turns a function with the right signature into a delete domains domain ID handler
func (DeleteDomainsDomainIDHandlerFunc) Handle ¶
func (fn DeleteDomainsDomainIDHandlerFunc) Handle(params DeleteDomainsDomainIDParams) middleware.Responder
Handle executing the request and returning a response
type DeleteDomainsDomainIDNoContent ¶
type DeleteDomainsDomainIDNoContent struct { }
DeleteDomainsDomainIDNoContent Resource successfully deleted.
swagger:response deleteDomainsDomainIdNoContent
func NewDeleteDomainsDomainIDNoContent ¶
func NewDeleteDomainsDomainIDNoContent() *DeleteDomainsDomainIDNoContent
NewDeleteDomainsDomainIDNoContent creates DeleteDomainsDomainIDNoContent with default headers values
func (*DeleteDomainsDomainIDNoContent) WriteResponse ¶
func (o *DeleteDomainsDomainIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDomainsDomainIDNotFound ¶
type DeleteDomainsDomainIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteDomainsDomainIDNotFound Not Found
swagger:response deleteDomainsDomainIdNotFound
func NewDeleteDomainsDomainIDNotFound ¶
func NewDeleteDomainsDomainIDNotFound() *DeleteDomainsDomainIDNotFound
NewDeleteDomainsDomainIDNotFound creates DeleteDomainsDomainIDNotFound with default headers values
func (*DeleteDomainsDomainIDNotFound) SetPayload ¶
func (o *DeleteDomainsDomainIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete domains domain Id not found response
func (*DeleteDomainsDomainIDNotFound) WithPayload ¶
func (o *DeleteDomainsDomainIDNotFound) WithPayload(payload *models.Error) *DeleteDomainsDomainIDNotFound
WithPayload adds the payload to the delete domains domain Id not found response
func (*DeleteDomainsDomainIDNotFound) WriteResponse ¶
func (o *DeleteDomainsDomainIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDomainsDomainIDParams ¶
type DeleteDomainsDomainIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The UUID of the domain Required: true In: path */ DomainID strfmt.UUID }
DeleteDomainsDomainIDParams contains all the bound params for the delete domains domain ID operation typically these are obtained from a http.Request
swagger:parameters DeleteDomainsDomainID
func NewDeleteDomainsDomainIDParams ¶
func NewDeleteDomainsDomainIDParams() DeleteDomainsDomainIDParams
NewDeleteDomainsDomainIDParams creates a new DeleteDomainsDomainIDParams object
There are no default values defined in the spec.
func (*DeleteDomainsDomainIDParams) BindRequest ¶
func (o *DeleteDomainsDomainIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteDomainsDomainIDParams() beforehand.
type DeleteDomainsDomainIDURL ¶
type DeleteDomainsDomainIDURL struct { DomainID strfmt.UUID // contains filtered or unexported fields }
DeleteDomainsDomainIDURL generates an URL for the delete domains domain ID operation
func (*DeleteDomainsDomainIDURL) Build ¶
func (o *DeleteDomainsDomainIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteDomainsDomainIDURL) BuildFull ¶
func (o *DeleteDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteDomainsDomainIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteDomainsDomainIDURL) SetBasePath ¶
func (o *DeleteDomainsDomainIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteDomainsDomainIDURL) String ¶
func (o *DeleteDomainsDomainIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteDomainsDomainIDURL) StringFull ¶
func (o *DeleteDomainsDomainIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteDomainsDomainIDURL) WithBasePath ¶
func (o *DeleteDomainsDomainIDURL) WithBasePath(bp string) *DeleteDomainsDomainIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDomains ¶
type GetDomains struct { Context *middleware.Context Handler GetDomainsHandler }
GetDomains swagger:route GET /domains Domains getDomains
List domains
func NewGetDomains ¶
func NewGetDomains(ctx *middleware.Context, handler GetDomainsHandler) *GetDomains
NewGetDomains creates a new http.Handler for the get domains operation
func (*GetDomains) ServeHTTP ¶
func (o *GetDomains) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDomainsBadRequest ¶
GetDomainsBadRequest Bad request
swagger:response getDomainsBadRequest
func NewGetDomainsBadRequest ¶
func NewGetDomainsBadRequest() *GetDomainsBadRequest
NewGetDomainsBadRequest creates GetDomainsBadRequest with default headers values
func (*GetDomainsBadRequest) SetPayload ¶
func (o *GetDomainsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get domains bad request response
func (*GetDomainsBadRequest) WithPayload ¶
func (o *GetDomainsBadRequest) WithPayload(payload *models.Error) *GetDomainsBadRequest
WithPayload adds the payload to the get domains bad request response
func (*GetDomainsBadRequest) WriteResponse ¶
func (o *GetDomainsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDomainsDefault ¶
type GetDomainsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetDomainsDefault Unexpected Error
swagger:response getDomainsDefault
func NewGetDomainsDefault ¶
func NewGetDomainsDefault(code int) *GetDomainsDefault
NewGetDomainsDefault creates GetDomainsDefault with default headers values
func (*GetDomainsDefault) SetPayload ¶
func (o *GetDomainsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get domains default response
func (*GetDomainsDefault) SetStatusCode ¶
func (o *GetDomainsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get domains default response
func (*GetDomainsDefault) WithPayload ¶
func (o *GetDomainsDefault) WithPayload(payload *models.Error) *GetDomainsDefault
WithPayload adds the payload to the get domains default response
func (*GetDomainsDefault) WithStatusCode ¶
func (o *GetDomainsDefault) WithStatusCode(code int) *GetDomainsDefault
WithStatusCode adds the status to the get domains default response
func (*GetDomainsDefault) WriteResponse ¶
func (o *GetDomainsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDomainsDomainID ¶
type GetDomainsDomainID struct { Context *middleware.Context Handler GetDomainsDomainIDHandler }
GetDomainsDomainID swagger:route GET /domains/{domain_id} Domains getDomainsDomainId
Show domain detail
func NewGetDomainsDomainID ¶
func NewGetDomainsDomainID(ctx *middleware.Context, handler GetDomainsDomainIDHandler) *GetDomainsDomainID
NewGetDomainsDomainID creates a new http.Handler for the get domains domain ID operation
func (*GetDomainsDomainID) ServeHTTP ¶
func (o *GetDomainsDomainID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDomainsDomainIDDefault ¶
type GetDomainsDomainIDDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetDomainsDomainIDDefault Unexpected Error
swagger:response getDomainsDomainIdDefault
func NewGetDomainsDomainIDDefault ¶
func NewGetDomainsDomainIDDefault(code int) *GetDomainsDomainIDDefault
NewGetDomainsDomainIDDefault creates GetDomainsDomainIDDefault with default headers values
func (*GetDomainsDomainIDDefault) SetPayload ¶
func (o *GetDomainsDomainIDDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get domains domain ID default response
func (*GetDomainsDomainIDDefault) SetStatusCode ¶
func (o *GetDomainsDomainIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get domains domain ID default response
func (*GetDomainsDomainIDDefault) WithPayload ¶
func (o *GetDomainsDomainIDDefault) WithPayload(payload *models.Error) *GetDomainsDomainIDDefault
WithPayload adds the payload to the get domains domain ID default response
func (*GetDomainsDomainIDDefault) WithStatusCode ¶
func (o *GetDomainsDomainIDDefault) WithStatusCode(code int) *GetDomainsDomainIDDefault
WithStatusCode adds the status to the get domains domain ID default response
func (*GetDomainsDomainIDDefault) WriteResponse ¶
func (o *GetDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDomainsDomainIDHandler ¶
type GetDomainsDomainIDHandler interface {
Handle(GetDomainsDomainIDParams) middleware.Responder
}
GetDomainsDomainIDHandler interface for that can handle valid get domains domain ID params
type GetDomainsDomainIDHandlerFunc ¶
type GetDomainsDomainIDHandlerFunc func(GetDomainsDomainIDParams) middleware.Responder
GetDomainsDomainIDHandlerFunc turns a function with the right signature into a get domains domain ID handler
func (GetDomainsDomainIDHandlerFunc) Handle ¶
func (fn GetDomainsDomainIDHandlerFunc) Handle(params GetDomainsDomainIDParams) middleware.Responder
Handle executing the request and returning a response
type GetDomainsDomainIDNotFound ¶
type GetDomainsDomainIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetDomainsDomainIDNotFound Not Found
swagger:response getDomainsDomainIdNotFound
func NewGetDomainsDomainIDNotFound ¶
func NewGetDomainsDomainIDNotFound() *GetDomainsDomainIDNotFound
NewGetDomainsDomainIDNotFound creates GetDomainsDomainIDNotFound with default headers values
func (*GetDomainsDomainIDNotFound) SetPayload ¶
func (o *GetDomainsDomainIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get domains domain Id not found response
func (*GetDomainsDomainIDNotFound) WithPayload ¶
func (o *GetDomainsDomainIDNotFound) WithPayload(payload *models.Error) *GetDomainsDomainIDNotFound
WithPayload adds the payload to the get domains domain Id not found response
func (*GetDomainsDomainIDNotFound) WriteResponse ¶
func (o *GetDomainsDomainIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDomainsDomainIDOK ¶
type GetDomainsDomainIDOK struct { /* In: Body */ Payload *GetDomainsDomainIDOKBody `json:"body,omitempty"` }
GetDomainsDomainIDOK Shows the details of a specific domain.
swagger:response getDomainsDomainIdOK
func NewGetDomainsDomainIDOK ¶
func NewGetDomainsDomainIDOK() *GetDomainsDomainIDOK
NewGetDomainsDomainIDOK creates GetDomainsDomainIDOK with default headers values
func (*GetDomainsDomainIDOK) SetPayload ¶
func (o *GetDomainsDomainIDOK) SetPayload(payload *GetDomainsDomainIDOKBody)
SetPayload sets the payload to the get domains domain Id o k response
func (*GetDomainsDomainIDOK) WithPayload ¶
func (o *GetDomainsDomainIDOK) WithPayload(payload *GetDomainsDomainIDOKBody) *GetDomainsDomainIDOK
WithPayload adds the payload to the get domains domain Id o k response
func (*GetDomainsDomainIDOK) WriteResponse ¶
func (o *GetDomainsDomainIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDomainsDomainIDOKBody ¶
GetDomainsDomainIDOKBody get domains domain ID o k body
swagger:model GetDomainsDomainIDOKBody
func (*GetDomainsDomainIDOKBody) ContextValidate ¶
func (o *GetDomainsDomainIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get domains domain ID o k body based on the context it is used
func (*GetDomainsDomainIDOKBody) MarshalBinary ¶
func (o *GetDomainsDomainIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDomainsDomainIDOKBody) UnmarshalBinary ¶
func (o *GetDomainsDomainIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDomainsDomainIDParams ¶
type GetDomainsDomainIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The UUID of the domain Required: true In: path */ DomainID strfmt.UUID }
GetDomainsDomainIDParams contains all the bound params for the get domains domain ID operation typically these are obtained from a http.Request
swagger:parameters GetDomainsDomainID
func NewGetDomainsDomainIDParams ¶
func NewGetDomainsDomainIDParams() GetDomainsDomainIDParams
NewGetDomainsDomainIDParams creates a new GetDomainsDomainIDParams object
There are no default values defined in the spec.
func (*GetDomainsDomainIDParams) BindRequest ¶
func (o *GetDomainsDomainIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDomainsDomainIDParams() beforehand.
type GetDomainsDomainIDURL ¶
type GetDomainsDomainIDURL struct { DomainID strfmt.UUID // contains filtered or unexported fields }
GetDomainsDomainIDURL generates an URL for the get domains domain ID operation
func (*GetDomainsDomainIDURL) Build ¶
func (o *GetDomainsDomainIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDomainsDomainIDURL) BuildFull ¶
func (o *GetDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDomainsDomainIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDomainsDomainIDURL) SetBasePath ¶
func (o *GetDomainsDomainIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDomainsDomainIDURL) String ¶
func (o *GetDomainsDomainIDURL) String() string
String returns the string representation of the path with query string
func (*GetDomainsDomainIDURL) StringFull ¶
func (o *GetDomainsDomainIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDomainsDomainIDURL) WithBasePath ¶
func (o *GetDomainsDomainIDURL) WithBasePath(bp string) *GetDomainsDomainIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDomainsHandler ¶
type GetDomainsHandler interface {
Handle(GetDomainsParams) middleware.Responder
}
GetDomainsHandler interface for that can handle valid get domains params
type GetDomainsHandlerFunc ¶
type GetDomainsHandlerFunc func(GetDomainsParams) middleware.Responder
GetDomainsHandlerFunc turns a function with the right signature into a get domains handler
func (GetDomainsHandlerFunc) Handle ¶
func (fn GetDomainsHandlerFunc) Handle(params GetDomainsParams) middleware.Responder
Handle executing the request and returning a response
type GetDomainsOK ¶
type GetDomainsOK struct { /* In: Body */ Payload *GetDomainsOKBody `json:"body,omitempty"` }
GetDomainsOK A JSON array of domains
swagger:response getDomainsOK
func NewGetDomainsOK ¶
func NewGetDomainsOK() *GetDomainsOK
NewGetDomainsOK creates GetDomainsOK with default headers values
func (*GetDomainsOK) SetPayload ¶
func (o *GetDomainsOK) SetPayload(payload *GetDomainsOKBody)
SetPayload sets the payload to the get domains o k response
func (*GetDomainsOK) WithPayload ¶
func (o *GetDomainsOK) WithPayload(payload *GetDomainsOKBody) *GetDomainsOK
WithPayload adds the payload to the get domains o k response
func (*GetDomainsOK) WriteResponse ¶
func (o *GetDomainsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDomainsOKBody ¶
type GetDomainsOKBody struct { // domains Domains []*models.Domain `json:"domains"` // links Links []*models.Link `json:"links,omitempty"` }
GetDomainsOKBody get domains o k body
swagger:model GetDomainsOKBody
func (*GetDomainsOKBody) ContextValidate ¶
ContextValidate validate this get domains o k body based on the context it is used
func (*GetDomainsOKBody) MarshalBinary ¶
func (o *GetDomainsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDomainsOKBody) UnmarshalBinary ¶
func (o *GetDomainsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDomainsParams ¶
type GetDomainsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Sets the page size. In: query */ Limit *int64 /*Pagination ID of the last item in the previous list. In: query */ Marker *strfmt.UUID /*Filter for resources not having tags, multiple not-tags are considered as logical AND. Should be provided in a comma separated list. In: query */ NotTags []string /*Filter for resources not having tags, multiple tags are considered as logical OR. Should be provided in a comma separated list. In: query */ NotTagsAny []string /*Sets the page direction. In: query */ PageReverse *bool /*Comma-separated list of sort keys, optinally prefix with - to reverse sort order. In: query */ Sort *string /*Filter for tags, multiple tags are considered as logical AND. Should be provided in a comma separated list. In: query */ Tags []string /*Filter for tags, multiple tags are considered as logical OR. Should be provided in a comma separated list. In: query */ TagsAny []string }
GetDomainsParams contains all the bound params for the get domains operation typically these are obtained from a http.Request
swagger:parameters GetDomains
func NewGetDomainsParams ¶
func NewGetDomainsParams() GetDomainsParams
NewGetDomainsParams creates a new GetDomainsParams object
There are no default values defined in the spec.
func (*GetDomainsParams) BindRequest ¶
func (o *GetDomainsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDomainsParams() beforehand.
type GetDomainsURL ¶
type GetDomainsURL struct { Limit *int64 Marker *strfmt.UUID NotTags []string NotTagsAny []string PageReverse *bool Sort *string Tags []string TagsAny []string // contains filtered or unexported fields }
GetDomainsURL generates an URL for the get domains operation
func (*GetDomainsURL) Build ¶
func (o *GetDomainsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDomainsURL) BuildFull ¶
func (o *GetDomainsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDomainsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDomainsURL) SetBasePath ¶
func (o *GetDomainsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDomainsURL) String ¶
func (o *GetDomainsURL) String() string
String returns the string representation of the path with query string
func (*GetDomainsURL) StringFull ¶
func (o *GetDomainsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDomainsURL) WithBasePath ¶
func (o *GetDomainsURL) WithBasePath(bp string) *GetDomainsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostDomains ¶
type PostDomains struct { Context *middleware.Context Handler PostDomainsHandler }
PostDomains swagger:route POST /domains Domains postDomains
Create new domain
func NewPostDomains ¶
func NewPostDomains(ctx *middleware.Context, handler PostDomainsHandler) *PostDomains
NewPostDomains creates a new http.Handler for the post domains operation
func (*PostDomains) ServeHTTP ¶
func (o *PostDomains) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostDomainsBadRequest ¶
PostDomainsBadRequest Bad request
swagger:response postDomainsBadRequest
func NewPostDomainsBadRequest ¶
func NewPostDomainsBadRequest() *PostDomainsBadRequest
NewPostDomainsBadRequest creates PostDomainsBadRequest with default headers values
func (*PostDomainsBadRequest) SetPayload ¶
func (o *PostDomainsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the post domains bad request response
func (*PostDomainsBadRequest) WithPayload ¶
func (o *PostDomainsBadRequest) WithPayload(payload *models.Error) *PostDomainsBadRequest
WithPayload adds the payload to the post domains bad request response
func (*PostDomainsBadRequest) WriteResponse ¶
func (o *PostDomainsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostDomainsBody ¶
PostDomainsBody post domains body
swagger:model PostDomainsBody
func (*PostDomainsBody) ContextValidate ¶
ContextValidate validate this post domains body based on the context it is used
func (*PostDomainsBody) MarshalBinary ¶
func (o *PostDomainsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostDomainsBody) UnmarshalBinary ¶
func (o *PostDomainsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostDomainsCreated ¶
type PostDomainsCreated struct { /* In: Body */ Payload *PostDomainsCreatedBody `json:"body,omitempty"` }
PostDomainsCreated Created domain.
swagger:response postDomainsCreated
func NewPostDomainsCreated ¶
func NewPostDomainsCreated() *PostDomainsCreated
NewPostDomainsCreated creates PostDomainsCreated with default headers values
func (*PostDomainsCreated) SetPayload ¶
func (o *PostDomainsCreated) SetPayload(payload *PostDomainsCreatedBody)
SetPayload sets the payload to the post domains created response
func (*PostDomainsCreated) WithPayload ¶
func (o *PostDomainsCreated) WithPayload(payload *PostDomainsCreatedBody) *PostDomainsCreated
WithPayload adds the payload to the post domains created response
func (*PostDomainsCreated) WriteResponse ¶
func (o *PostDomainsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostDomainsCreatedBody ¶
PostDomainsCreatedBody post domains created body
swagger:model PostDomainsCreatedBody
func (*PostDomainsCreatedBody) ContextValidate ¶
func (o *PostDomainsCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post domains created body based on the context it is used
func (*PostDomainsCreatedBody) MarshalBinary ¶
func (o *PostDomainsCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostDomainsCreatedBody) UnmarshalBinary ¶
func (o *PostDomainsCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostDomainsDefault ¶
type PostDomainsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PostDomainsDefault Unexpected Error
swagger:response postDomainsDefault
func NewPostDomainsDefault ¶
func NewPostDomainsDefault(code int) *PostDomainsDefault
NewPostDomainsDefault creates PostDomainsDefault with default headers values
func (*PostDomainsDefault) SetPayload ¶
func (o *PostDomainsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the post domains default response
func (*PostDomainsDefault) SetStatusCode ¶
func (o *PostDomainsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post domains default response
func (*PostDomainsDefault) WithPayload ¶
func (o *PostDomainsDefault) WithPayload(payload *models.Error) *PostDomainsDefault
WithPayload adds the payload to the post domains default response
func (*PostDomainsDefault) WithStatusCode ¶
func (o *PostDomainsDefault) WithStatusCode(code int) *PostDomainsDefault
WithStatusCode adds the status to the post domains default response
func (*PostDomainsDefault) WriteResponse ¶
func (o *PostDomainsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostDomainsHandler ¶
type PostDomainsHandler interface {
Handle(PostDomainsParams) middleware.Responder
}
PostDomainsHandler interface for that can handle valid post domains params
type PostDomainsHandlerFunc ¶
type PostDomainsHandlerFunc func(PostDomainsParams) middleware.Responder
PostDomainsHandlerFunc turns a function with the right signature into a post domains handler
func (PostDomainsHandlerFunc) Handle ¶
func (fn PostDomainsHandlerFunc) Handle(params PostDomainsParams) middleware.Responder
Handle executing the request and returning a response
type PostDomainsParams ¶
type PostDomainsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Domain PostDomainsBody }
PostDomainsParams contains all the bound params for the post domains operation typically these are obtained from a http.Request
swagger:parameters PostDomains
func NewPostDomainsParams ¶
func NewPostDomainsParams() PostDomainsParams
NewPostDomainsParams creates a new PostDomainsParams object
There are no default values defined in the spec.
func (*PostDomainsParams) BindRequest ¶
func (o *PostDomainsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostDomainsParams() beforehand.
type PostDomainsURL ¶
type PostDomainsURL struct {
// contains filtered or unexported fields
}
PostDomainsURL generates an URL for the post domains operation
func (*PostDomainsURL) Build ¶
func (o *PostDomainsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostDomainsURL) BuildFull ¶
func (o *PostDomainsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostDomainsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostDomainsURL) SetBasePath ¶
func (o *PostDomainsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostDomainsURL) String ¶
func (o *PostDomainsURL) String() string
String returns the string representation of the path with query string
func (*PostDomainsURL) StringFull ¶
func (o *PostDomainsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostDomainsURL) WithBasePath ¶
func (o *PostDomainsURL) WithBasePath(bp string) *PostDomainsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutDomainsDomainID ¶
type PutDomainsDomainID struct { Context *middleware.Context Handler PutDomainsDomainIDHandler }
PutDomainsDomainID swagger:route PUT /domains/{domain_id} Domains putDomainsDomainId
Update a domain
func NewPutDomainsDomainID ¶
func NewPutDomainsDomainID(ctx *middleware.Context, handler PutDomainsDomainIDHandler) *PutDomainsDomainID
NewPutDomainsDomainID creates a new http.Handler for the put domains domain ID operation
func (*PutDomainsDomainID) ServeHTTP ¶
func (o *PutDomainsDomainID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutDomainsDomainIDAccepted ¶
type PutDomainsDomainIDAccepted struct { /* In: Body */ Payload *PutDomainsDomainIDAcceptedBody `json:"body,omitempty"` }
PutDomainsDomainIDAccepted Updated domain.
swagger:response putDomainsDomainIdAccepted
func NewPutDomainsDomainIDAccepted ¶
func NewPutDomainsDomainIDAccepted() *PutDomainsDomainIDAccepted
NewPutDomainsDomainIDAccepted creates PutDomainsDomainIDAccepted with default headers values
func (*PutDomainsDomainIDAccepted) SetPayload ¶
func (o *PutDomainsDomainIDAccepted) SetPayload(payload *PutDomainsDomainIDAcceptedBody)
SetPayload sets the payload to the put domains domain Id accepted response
func (*PutDomainsDomainIDAccepted) WithPayload ¶
func (o *PutDomainsDomainIDAccepted) WithPayload(payload *PutDomainsDomainIDAcceptedBody) *PutDomainsDomainIDAccepted
WithPayload adds the payload to the put domains domain Id accepted response
func (*PutDomainsDomainIDAccepted) WriteResponse ¶
func (o *PutDomainsDomainIDAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutDomainsDomainIDAcceptedBody ¶
type PutDomainsDomainIDAcceptedBody struct { // domain Domain *models.Domain `json:"domain,omitempty"` }
PutDomainsDomainIDAcceptedBody put domains domain ID accepted body
swagger:model PutDomainsDomainIDAcceptedBody
func (*PutDomainsDomainIDAcceptedBody) ContextValidate ¶
func (o *PutDomainsDomainIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put domains domain ID accepted body based on the context it is used
func (*PutDomainsDomainIDAcceptedBody) MarshalBinary ¶
func (o *PutDomainsDomainIDAcceptedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutDomainsDomainIDAcceptedBody) UnmarshalBinary ¶
func (o *PutDomainsDomainIDAcceptedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutDomainsDomainIDBadRequest ¶
type PutDomainsDomainIDBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutDomainsDomainIDBadRequest Bad request
swagger:response putDomainsDomainIdBadRequest
func NewPutDomainsDomainIDBadRequest ¶
func NewPutDomainsDomainIDBadRequest() *PutDomainsDomainIDBadRequest
NewPutDomainsDomainIDBadRequest creates PutDomainsDomainIDBadRequest with default headers values
func (*PutDomainsDomainIDBadRequest) SetPayload ¶
func (o *PutDomainsDomainIDBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the put domains domain Id bad request response
func (*PutDomainsDomainIDBadRequest) WithPayload ¶
func (o *PutDomainsDomainIDBadRequest) WithPayload(payload *models.Error) *PutDomainsDomainIDBadRequest
WithPayload adds the payload to the put domains domain Id bad request response
func (*PutDomainsDomainIDBadRequest) WriteResponse ¶
func (o *PutDomainsDomainIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutDomainsDomainIDBody ¶
type PutDomainsDomainIDBody struct { // domain // Required: true Domain *models.Domain `json:"domain"` }
PutDomainsDomainIDBody put domains domain ID body
swagger:model PutDomainsDomainIDBody
func (*PutDomainsDomainIDBody) ContextValidate ¶
func (o *PutDomainsDomainIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put domains domain ID body based on the context it is used
func (*PutDomainsDomainIDBody) MarshalBinary ¶
func (o *PutDomainsDomainIDBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutDomainsDomainIDBody) UnmarshalBinary ¶
func (o *PutDomainsDomainIDBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutDomainsDomainIDDefault ¶
type PutDomainsDomainIDDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PutDomainsDomainIDDefault Unexpected Error
swagger:response putDomainsDomainIdDefault
func NewPutDomainsDomainIDDefault ¶
func NewPutDomainsDomainIDDefault(code int) *PutDomainsDomainIDDefault
NewPutDomainsDomainIDDefault creates PutDomainsDomainIDDefault with default headers values
func (*PutDomainsDomainIDDefault) SetPayload ¶
func (o *PutDomainsDomainIDDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the put domains domain ID default response
func (*PutDomainsDomainIDDefault) SetStatusCode ¶
func (o *PutDomainsDomainIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put domains domain ID default response
func (*PutDomainsDomainIDDefault) WithPayload ¶
func (o *PutDomainsDomainIDDefault) WithPayload(payload *models.Error) *PutDomainsDomainIDDefault
WithPayload adds the payload to the put domains domain ID default response
func (*PutDomainsDomainIDDefault) WithStatusCode ¶
func (o *PutDomainsDomainIDDefault) WithStatusCode(code int) *PutDomainsDomainIDDefault
WithStatusCode adds the status to the put domains domain ID default response
func (*PutDomainsDomainIDDefault) WriteResponse ¶
func (o *PutDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutDomainsDomainIDHandler ¶
type PutDomainsDomainIDHandler interface {
Handle(PutDomainsDomainIDParams) middleware.Responder
}
PutDomainsDomainIDHandler interface for that can handle valid put domains domain ID params
type PutDomainsDomainIDHandlerFunc ¶
type PutDomainsDomainIDHandlerFunc func(PutDomainsDomainIDParams) middleware.Responder
PutDomainsDomainIDHandlerFunc turns a function with the right signature into a put domains domain ID handler
func (PutDomainsDomainIDHandlerFunc) Handle ¶
func (fn PutDomainsDomainIDHandlerFunc) Handle(params PutDomainsDomainIDParams) middleware.Responder
Handle executing the request and returning a response
type PutDomainsDomainIDNotFound ¶
type PutDomainsDomainIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutDomainsDomainIDNotFound Not Found
swagger:response putDomainsDomainIdNotFound
func NewPutDomainsDomainIDNotFound ¶
func NewPutDomainsDomainIDNotFound() *PutDomainsDomainIDNotFound
NewPutDomainsDomainIDNotFound creates PutDomainsDomainIDNotFound with default headers values
func (*PutDomainsDomainIDNotFound) SetPayload ¶
func (o *PutDomainsDomainIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the put domains domain Id not found response
func (*PutDomainsDomainIDNotFound) WithPayload ¶
func (o *PutDomainsDomainIDNotFound) WithPayload(payload *models.Error) *PutDomainsDomainIDNotFound
WithPayload adds the payload to the put domains domain Id not found response
func (*PutDomainsDomainIDNotFound) WriteResponse ¶
func (o *PutDomainsDomainIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutDomainsDomainIDParams ¶
type PutDomainsDomainIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Domain PutDomainsDomainIDBody /*The UUID of the domain Required: true In: path */ DomainID strfmt.UUID }
PutDomainsDomainIDParams contains all the bound params for the put domains domain ID operation typically these are obtained from a http.Request
swagger:parameters PutDomainsDomainID
func NewPutDomainsDomainIDParams ¶
func NewPutDomainsDomainIDParams() PutDomainsDomainIDParams
NewPutDomainsDomainIDParams creates a new PutDomainsDomainIDParams object
There are no default values defined in the spec.
func (*PutDomainsDomainIDParams) BindRequest ¶
func (o *PutDomainsDomainIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutDomainsDomainIDParams() beforehand.
type PutDomainsDomainIDURL ¶
type PutDomainsDomainIDURL struct { DomainID strfmt.UUID // contains filtered or unexported fields }
PutDomainsDomainIDURL generates an URL for the put domains domain ID operation
func (*PutDomainsDomainIDURL) Build ¶
func (o *PutDomainsDomainIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutDomainsDomainIDURL) BuildFull ¶
func (o *PutDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutDomainsDomainIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutDomainsDomainIDURL) SetBasePath ¶
func (o *PutDomainsDomainIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutDomainsDomainIDURL) String ¶
func (o *PutDomainsDomainIDURL) String() string
String returns the string representation of the path with query string
func (*PutDomainsDomainIDURL) StringFull ¶
func (o *PutDomainsDomainIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutDomainsDomainIDURL) WithBasePath ¶
func (o *PutDomainsDomainIDURL) WithBasePath(bp string) *PutDomainsDomainIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- delete_domains_domain_id.go
- delete_domains_domain_id_parameters.go
- delete_domains_domain_id_responses.go
- delete_domains_domain_id_urlbuilder.go
- get_domains.go
- get_domains_domain_id.go
- get_domains_domain_id_parameters.go
- get_domains_domain_id_responses.go
- get_domains_domain_id_urlbuilder.go
- get_domains_parameters.go
- get_domains_responses.go
- get_domains_urlbuilder.go
- post_domains.go
- post_domains_parameters.go
- post_domains_responses.go
- post_domains_urlbuilder.go
- put_domains_domain_id.go
- put_domains_domain_id_parameters.go
- put_domains_domain_id_responses.go
- put_domains_domain_id_urlbuilder.go