Documentation ¶
Index ¶
- Constants
- type CreatePrivateDomainOwnedByGivenOrganization
- type CreatePrivateDomainOwnedByGivenOrganizationCreated
- func (o *CreatePrivateDomainOwnedByGivenOrganizationCreated) SetPayload(payload *models.CreatePrivateDomainOwnedByGivenOrganizationResponseResource)
- func (o *CreatePrivateDomainOwnedByGivenOrganizationCreated) WithPayload(payload *models.CreatePrivateDomainOwnedByGivenOrganizationResponseResource) *CreatePrivateDomainOwnedByGivenOrganizationCreated
- func (o *CreatePrivateDomainOwnedByGivenOrganizationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePrivateDomainOwnedByGivenOrganizationHandler
- type CreatePrivateDomainOwnedByGivenOrganizationHandlerFunc
- type CreatePrivateDomainOwnedByGivenOrganizationParams
- type CreatePrivateDomainOwnedByGivenOrganizationURL
- func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) Build() (*url.URL, error)
- func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) Must(u *url.URL, err error) *url.URL
- func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) SetBasePath(bp string)
- func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) String() string
- func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) StringFull(scheme, host string) string
- func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) WithBasePath(bp string) *CreatePrivateDomainOwnedByGivenOrganizationURL
- type DeletePrivateDomain
- type DeletePrivateDomainHandler
- type DeletePrivateDomainHandlerFunc
- type DeletePrivateDomainNoContent
- type DeletePrivateDomainParams
- type DeletePrivateDomainURL
- func (o *DeletePrivateDomainURL) Build() (*url.URL, error)
- func (o *DeletePrivateDomainURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeletePrivateDomainURL) Must(u *url.URL, err error) *url.URL
- func (o *DeletePrivateDomainURL) SetBasePath(bp string)
- func (o *DeletePrivateDomainURL) String() string
- func (o *DeletePrivateDomainURL) StringFull(scheme, host string) string
- func (o *DeletePrivateDomainURL) WithBasePath(bp string) *DeletePrivateDomainURL
- type FilterPrivateDomainsByName
- type FilterPrivateDomainsByNameHandler
- type FilterPrivateDomainsByNameHandlerFunc
- type FilterPrivateDomainsByNameOK
- func (o *FilterPrivateDomainsByNameOK) SetPayload(payload *models.FilterPrivateDomainsByNameResponsePaged)
- func (o *FilterPrivateDomainsByNameOK) WithPayload(payload *models.FilterPrivateDomainsByNameResponsePaged) *FilterPrivateDomainsByNameOK
- func (o *FilterPrivateDomainsByNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type FilterPrivateDomainsByNameParams
- type FilterPrivateDomainsByNameURL
- func (o *FilterPrivateDomainsByNameURL) Build() (*url.URL, error)
- func (o *FilterPrivateDomainsByNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FilterPrivateDomainsByNameURL) Must(u *url.URL, err error) *url.URL
- func (o *FilterPrivateDomainsByNameURL) SetBasePath(bp string)
- func (o *FilterPrivateDomainsByNameURL) String() string
- func (o *FilterPrivateDomainsByNameURL) StringFull(scheme, host string) string
- func (o *FilterPrivateDomainsByNameURL) WithBasePath(bp string) *FilterPrivateDomainsByNameURL
- type RetrievePrivateDomain
- type RetrievePrivateDomainHandler
- type RetrievePrivateDomainHandlerFunc
- type RetrievePrivateDomainOK
- func (o *RetrievePrivateDomainOK) SetPayload(payload *models.RetrievePrivateDomainResponseResource)
- func (o *RetrievePrivateDomainOK) WithPayload(payload *models.RetrievePrivateDomainResponseResource) *RetrievePrivateDomainOK
- func (o *RetrievePrivateDomainOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrievePrivateDomainParams
- type RetrievePrivateDomainURL
- func (o *RetrievePrivateDomainURL) Build() (*url.URL, error)
- func (o *RetrievePrivateDomainURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrievePrivateDomainURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrievePrivateDomainURL) SetBasePath(bp string)
- func (o *RetrievePrivateDomainURL) String() string
- func (o *RetrievePrivateDomainURL) StringFull(scheme, host string) string
- func (o *RetrievePrivateDomainURL) WithBasePath(bp string) *RetrievePrivateDomainURL
Constants ¶
const CreatePrivateDomainOwnedByGivenOrganizationCreatedCode int = 201
CreatePrivateDomainOwnedByGivenOrganizationCreatedCode is the HTTP code returned for type CreatePrivateDomainOwnedByGivenOrganizationCreated
const DeletePrivateDomainNoContentCode int = 204
DeletePrivateDomainNoContentCode is the HTTP code returned for type DeletePrivateDomainNoContent
const FilterPrivateDomainsByNameOKCode int = 200
FilterPrivateDomainsByNameOKCode is the HTTP code returned for type FilterPrivateDomainsByNameOK
const RetrievePrivateDomainOKCode int = 200
RetrievePrivateDomainOKCode is the HTTP code returned for type RetrievePrivateDomainOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePrivateDomainOwnedByGivenOrganization ¶
type CreatePrivateDomainOwnedByGivenOrganization struct { Context *middleware.Context Handler CreatePrivateDomainOwnedByGivenOrganizationHandler }
CreatePrivateDomainOwnedByGivenOrganization swagger:route POST /private_domains privateDomains createPrivateDomainOwnedByGivenOrganization
Create a Private Domain owned by the given Organization ¶
curl --insecure -i %s/v2/private_domains -X POST -H 'Authorization: %s' -d '%s'
func NewCreatePrivateDomainOwnedByGivenOrganization ¶
func NewCreatePrivateDomainOwnedByGivenOrganization(ctx *middleware.Context, handler CreatePrivateDomainOwnedByGivenOrganizationHandler) *CreatePrivateDomainOwnedByGivenOrganization
NewCreatePrivateDomainOwnedByGivenOrganization creates a new http.Handler for the create private domain owned by given organization operation
func (*CreatePrivateDomainOwnedByGivenOrganization) ServeHTTP ¶
func (o *CreatePrivateDomainOwnedByGivenOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreatePrivateDomainOwnedByGivenOrganizationCreated ¶
type CreatePrivateDomainOwnedByGivenOrganizationCreated struct { /* In: Body */ Payload *models.CreatePrivateDomainOwnedByGivenOrganizationResponseResource `json:"body,omitempty"` }
CreatePrivateDomainOwnedByGivenOrganizationCreated successful response
swagger:response createPrivateDomainOwnedByGivenOrganizationCreated
func NewCreatePrivateDomainOwnedByGivenOrganizationCreated ¶
func NewCreatePrivateDomainOwnedByGivenOrganizationCreated() *CreatePrivateDomainOwnedByGivenOrganizationCreated
NewCreatePrivateDomainOwnedByGivenOrganizationCreated creates CreatePrivateDomainOwnedByGivenOrganizationCreated with default headers values
func (*CreatePrivateDomainOwnedByGivenOrganizationCreated) SetPayload ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationCreated) SetPayload(payload *models.CreatePrivateDomainOwnedByGivenOrganizationResponseResource)
SetPayload sets the payload to the create private domain owned by given organization created response
func (*CreatePrivateDomainOwnedByGivenOrganizationCreated) WithPayload ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationCreated) WithPayload(payload *models.CreatePrivateDomainOwnedByGivenOrganizationResponseResource) *CreatePrivateDomainOwnedByGivenOrganizationCreated
WithPayload adds the payload to the create private domain owned by given organization created response
func (*CreatePrivateDomainOwnedByGivenOrganizationCreated) WriteResponse ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePrivateDomainOwnedByGivenOrganizationHandler ¶
type CreatePrivateDomainOwnedByGivenOrganizationHandler interface {
Handle(CreatePrivateDomainOwnedByGivenOrganizationParams) middleware.Responder
}
CreatePrivateDomainOwnedByGivenOrganizationHandler interface for that can handle valid create private domain owned by given organization params
type CreatePrivateDomainOwnedByGivenOrganizationHandlerFunc ¶
type CreatePrivateDomainOwnedByGivenOrganizationHandlerFunc func(CreatePrivateDomainOwnedByGivenOrganizationParams) middleware.Responder
CreatePrivateDomainOwnedByGivenOrganizationHandlerFunc turns a function with the right signature into a create private domain owned by given organization handler
func (CreatePrivateDomainOwnedByGivenOrganizationHandlerFunc) Handle ¶
func (fn CreatePrivateDomainOwnedByGivenOrganizationHandlerFunc) Handle(params CreatePrivateDomainOwnedByGivenOrganizationParams) middleware.Responder
Handle executing the request and returning a response
type CreatePrivateDomainOwnedByGivenOrganizationParams ¶
type CreatePrivateDomainOwnedByGivenOrganizationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An object instance that is serialized and sent as the request body. Required: true In: body */ Value *models.CreatePrivateDomainOwnedByGivenOrganizationRequest }
CreatePrivateDomainOwnedByGivenOrganizationParams contains all the bound params for the create private domain owned by given organization operation typically these are obtained from a http.Request
swagger:parameters createPrivateDomainOwnedByGivenOrganization
func NewCreatePrivateDomainOwnedByGivenOrganizationParams ¶
func NewCreatePrivateDomainOwnedByGivenOrganizationParams() CreatePrivateDomainOwnedByGivenOrganizationParams
NewCreatePrivateDomainOwnedByGivenOrganizationParams creates a new CreatePrivateDomainOwnedByGivenOrganizationParams object no default values defined in spec.
func (*CreatePrivateDomainOwnedByGivenOrganizationParams) BindRequest ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationParams) 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 NewCreatePrivateDomainOwnedByGivenOrganizationParams() beforehand.
type CreatePrivateDomainOwnedByGivenOrganizationURL ¶
type CreatePrivateDomainOwnedByGivenOrganizationURL struct {
// contains filtered or unexported fields
}
CreatePrivateDomainOwnedByGivenOrganizationURL generates an URL for the create private domain owned by given organization operation
func (*CreatePrivateDomainOwnedByGivenOrganizationURL) Build ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreatePrivateDomainOwnedByGivenOrganizationURL) BuildFull ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreatePrivateDomainOwnedByGivenOrganizationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreatePrivateDomainOwnedByGivenOrganizationURL) SetBasePath ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) 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 (*CreatePrivateDomainOwnedByGivenOrganizationURL) String ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) String() string
String returns the string representation of the path with query string
func (*CreatePrivateDomainOwnedByGivenOrganizationURL) StringFull ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreatePrivateDomainOwnedByGivenOrganizationURL) WithBasePath ¶
func (o *CreatePrivateDomainOwnedByGivenOrganizationURL) WithBasePath(bp string) *CreatePrivateDomainOwnedByGivenOrganizationURL
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 DeletePrivateDomain ¶
type DeletePrivateDomain struct { Context *middleware.Context Handler DeletePrivateDomainHandler }
DeletePrivateDomain swagger:route DELETE /private_domains/{guid} privateDomains deletePrivateDomain
Delete a Particular Private Domain ¶
curl --insecure -i %s/v2/private_domains/{guid} -X DELETE -H 'Authorization: %s'
func NewDeletePrivateDomain ¶
func NewDeletePrivateDomain(ctx *middleware.Context, handler DeletePrivateDomainHandler) *DeletePrivateDomain
NewDeletePrivateDomain creates a new http.Handler for the delete private domain operation
func (*DeletePrivateDomain) ServeHTTP ¶
func (o *DeletePrivateDomain) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeletePrivateDomainHandler ¶
type DeletePrivateDomainHandler interface {
Handle(DeletePrivateDomainParams) middleware.Responder
}
DeletePrivateDomainHandler interface for that can handle valid delete private domain params
type DeletePrivateDomainHandlerFunc ¶
type DeletePrivateDomainHandlerFunc func(DeletePrivateDomainParams) middleware.Responder
DeletePrivateDomainHandlerFunc turns a function with the right signature into a delete private domain handler
func (DeletePrivateDomainHandlerFunc) Handle ¶
func (fn DeletePrivateDomainHandlerFunc) Handle(params DeletePrivateDomainParams) middleware.Responder
Handle executing the request and returning a response
type DeletePrivateDomainNoContent ¶
type DeletePrivateDomainNoContent struct { }
DeletePrivateDomainNoContent successful response
swagger:response deletePrivateDomainNoContent
func NewDeletePrivateDomainNoContent ¶
func NewDeletePrivateDomainNoContent() *DeletePrivateDomainNoContent
NewDeletePrivateDomainNoContent creates DeletePrivateDomainNoContent with default headers values
func (*DeletePrivateDomainNoContent) WriteResponse ¶
func (o *DeletePrivateDomainNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePrivateDomainParams ¶
type DeletePrivateDomainParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/private_domains/:guid' Required: true In: path */ GUID string }
DeletePrivateDomainParams contains all the bound params for the delete private domain operation typically these are obtained from a http.Request
swagger:parameters deletePrivateDomain
func NewDeletePrivateDomainParams ¶
func NewDeletePrivateDomainParams() DeletePrivateDomainParams
NewDeletePrivateDomainParams creates a new DeletePrivateDomainParams object no default values defined in spec.
func (*DeletePrivateDomainParams) BindRequest ¶
func (o *DeletePrivateDomainParams) 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 NewDeletePrivateDomainParams() beforehand.
type DeletePrivateDomainURL ¶
type DeletePrivateDomainURL struct { GUID string // contains filtered or unexported fields }
DeletePrivateDomainURL generates an URL for the delete private domain operation
func (*DeletePrivateDomainURL) Build ¶
func (o *DeletePrivateDomainURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeletePrivateDomainURL) BuildFull ¶
func (o *DeletePrivateDomainURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeletePrivateDomainURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeletePrivateDomainURL) SetBasePath ¶
func (o *DeletePrivateDomainURL) 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 (*DeletePrivateDomainURL) String ¶
func (o *DeletePrivateDomainURL) String() string
String returns the string representation of the path with query string
func (*DeletePrivateDomainURL) StringFull ¶
func (o *DeletePrivateDomainURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeletePrivateDomainURL) WithBasePath ¶
func (o *DeletePrivateDomainURL) WithBasePath(bp string) *DeletePrivateDomainURL
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 FilterPrivateDomainsByName ¶
type FilterPrivateDomainsByName struct { Context *middleware.Context Handler FilterPrivateDomainsByNameHandler }
FilterPrivateDomainsByName swagger:route GET /private_domains privateDomains filterPrivateDomainsByName
Filtering Private Domains by name ¶
curl --insecure -i %s/v2/private_domains -X GET -H 'Authorization: %s'
func NewFilterPrivateDomainsByName ¶
func NewFilterPrivateDomainsByName(ctx *middleware.Context, handler FilterPrivateDomainsByNameHandler) *FilterPrivateDomainsByName
NewFilterPrivateDomainsByName creates a new http.Handler for the filter private domains by name operation
func (*FilterPrivateDomainsByName) ServeHTTP ¶
func (o *FilterPrivateDomainsByName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FilterPrivateDomainsByNameHandler ¶
type FilterPrivateDomainsByNameHandler interface {
Handle(FilterPrivateDomainsByNameParams) middleware.Responder
}
FilterPrivateDomainsByNameHandler interface for that can handle valid filter private domains by name params
type FilterPrivateDomainsByNameHandlerFunc ¶
type FilterPrivateDomainsByNameHandlerFunc func(FilterPrivateDomainsByNameParams) middleware.Responder
FilterPrivateDomainsByNameHandlerFunc turns a function with the right signature into a filter private domains by name handler
func (FilterPrivateDomainsByNameHandlerFunc) Handle ¶
func (fn FilterPrivateDomainsByNameHandlerFunc) Handle(params FilterPrivateDomainsByNameParams) middleware.Responder
Handle executing the request and returning a response
type FilterPrivateDomainsByNameOK ¶
type FilterPrivateDomainsByNameOK struct { /* In: Body */ Payload *models.FilterPrivateDomainsByNameResponsePaged `json:"body,omitempty"` }
FilterPrivateDomainsByNameOK successful response
swagger:response filterPrivateDomainsByNameOK
func NewFilterPrivateDomainsByNameOK ¶
func NewFilterPrivateDomainsByNameOK() *FilterPrivateDomainsByNameOK
NewFilterPrivateDomainsByNameOK creates FilterPrivateDomainsByNameOK with default headers values
func (*FilterPrivateDomainsByNameOK) SetPayload ¶
func (o *FilterPrivateDomainsByNameOK) SetPayload(payload *models.FilterPrivateDomainsByNameResponsePaged)
SetPayload sets the payload to the filter private domains by name o k response
func (*FilterPrivateDomainsByNameOK) WithPayload ¶
func (o *FilterPrivateDomainsByNameOK) WithPayload(payload *models.FilterPrivateDomainsByNameResponsePaged) *FilterPrivateDomainsByNameOK
WithPayload adds the payload to the filter private domains by name o k response
func (*FilterPrivateDomainsByNameOK) WriteResponse ¶
func (o *FilterPrivateDomainsByNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FilterPrivateDomainsByNameParams ¶
type FilterPrivateDomainsByNameParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
FilterPrivateDomainsByNameParams contains all the bound params for the filter private domains by name operation typically these are obtained from a http.Request
swagger:parameters filterPrivateDomainsByName
func NewFilterPrivateDomainsByNameParams ¶
func NewFilterPrivateDomainsByNameParams() FilterPrivateDomainsByNameParams
NewFilterPrivateDomainsByNameParams creates a new FilterPrivateDomainsByNameParams object no default values defined in spec.
func (*FilterPrivateDomainsByNameParams) BindRequest ¶
func (o *FilterPrivateDomainsByNameParams) 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 NewFilterPrivateDomainsByNameParams() beforehand.
type FilterPrivateDomainsByNameURL ¶
type FilterPrivateDomainsByNameURL struct {
// contains filtered or unexported fields
}
FilterPrivateDomainsByNameURL generates an URL for the filter private domains by name operation
func (*FilterPrivateDomainsByNameURL) Build ¶
func (o *FilterPrivateDomainsByNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*FilterPrivateDomainsByNameURL) BuildFull ¶
func (o *FilterPrivateDomainsByNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FilterPrivateDomainsByNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*FilterPrivateDomainsByNameURL) SetBasePath ¶
func (o *FilterPrivateDomainsByNameURL) 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 (*FilterPrivateDomainsByNameURL) String ¶
func (o *FilterPrivateDomainsByNameURL) String() string
String returns the string representation of the path with query string
func (*FilterPrivateDomainsByNameURL) StringFull ¶
func (o *FilterPrivateDomainsByNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FilterPrivateDomainsByNameURL) WithBasePath ¶
func (o *FilterPrivateDomainsByNameURL) WithBasePath(bp string) *FilterPrivateDomainsByNameURL
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 RetrievePrivateDomain ¶
type RetrievePrivateDomain struct { Context *middleware.Context Handler RetrievePrivateDomainHandler }
RetrievePrivateDomain swagger:route GET /private_domains/{guid} privateDomains retrievePrivateDomain
Retrieve a Particular Private Domain ¶
curl --insecure -i %s/v2/private_domains/{guid} -X GET -H 'Authorization: %s'
func NewRetrievePrivateDomain ¶
func NewRetrievePrivateDomain(ctx *middleware.Context, handler RetrievePrivateDomainHandler) *RetrievePrivateDomain
NewRetrievePrivateDomain creates a new http.Handler for the retrieve private domain operation
func (*RetrievePrivateDomain) ServeHTTP ¶
func (o *RetrievePrivateDomain) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrievePrivateDomainHandler ¶
type RetrievePrivateDomainHandler interface {
Handle(RetrievePrivateDomainParams) middleware.Responder
}
RetrievePrivateDomainHandler interface for that can handle valid retrieve private domain params
type RetrievePrivateDomainHandlerFunc ¶
type RetrievePrivateDomainHandlerFunc func(RetrievePrivateDomainParams) middleware.Responder
RetrievePrivateDomainHandlerFunc turns a function with the right signature into a retrieve private domain handler
func (RetrievePrivateDomainHandlerFunc) Handle ¶
func (fn RetrievePrivateDomainHandlerFunc) Handle(params RetrievePrivateDomainParams) middleware.Responder
Handle executing the request and returning a response
type RetrievePrivateDomainOK ¶
type RetrievePrivateDomainOK struct { /* In: Body */ Payload *models.RetrievePrivateDomainResponseResource `json:"body,omitempty"` }
RetrievePrivateDomainOK successful response
swagger:response retrievePrivateDomainOK
func NewRetrievePrivateDomainOK ¶
func NewRetrievePrivateDomainOK() *RetrievePrivateDomainOK
NewRetrievePrivateDomainOK creates RetrievePrivateDomainOK with default headers values
func (*RetrievePrivateDomainOK) SetPayload ¶
func (o *RetrievePrivateDomainOK) SetPayload(payload *models.RetrievePrivateDomainResponseResource)
SetPayload sets the payload to the retrieve private domain o k response
func (*RetrievePrivateDomainOK) WithPayload ¶
func (o *RetrievePrivateDomainOK) WithPayload(payload *models.RetrievePrivateDomainResponseResource) *RetrievePrivateDomainOK
WithPayload adds the payload to the retrieve private domain o k response
func (*RetrievePrivateDomainOK) WriteResponse ¶
func (o *RetrievePrivateDomainOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrievePrivateDomainParams ¶
type RetrievePrivateDomainParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/private_domains/:guid' Required: true In: path */ GUID string }
RetrievePrivateDomainParams contains all the bound params for the retrieve private domain operation typically these are obtained from a http.Request
swagger:parameters retrievePrivateDomain
func NewRetrievePrivateDomainParams ¶
func NewRetrievePrivateDomainParams() RetrievePrivateDomainParams
NewRetrievePrivateDomainParams creates a new RetrievePrivateDomainParams object no default values defined in spec.
func (*RetrievePrivateDomainParams) BindRequest ¶
func (o *RetrievePrivateDomainParams) 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 NewRetrievePrivateDomainParams() beforehand.
type RetrievePrivateDomainURL ¶
type RetrievePrivateDomainURL struct { GUID string // contains filtered or unexported fields }
RetrievePrivateDomainURL generates an URL for the retrieve private domain operation
func (*RetrievePrivateDomainURL) Build ¶
func (o *RetrievePrivateDomainURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrievePrivateDomainURL) BuildFull ¶
func (o *RetrievePrivateDomainURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrievePrivateDomainURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrievePrivateDomainURL) SetBasePath ¶
func (o *RetrievePrivateDomainURL) 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 (*RetrievePrivateDomainURL) String ¶
func (o *RetrievePrivateDomainURL) String() string
String returns the string representation of the path with query string
func (*RetrievePrivateDomainURL) StringFull ¶
func (o *RetrievePrivateDomainURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrievePrivateDomainURL) WithBasePath ¶
func (o *RetrievePrivateDomainURL) WithBasePath(bp string) *RetrievePrivateDomainURL
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 ¶
- create_private_domain_owned_by_given_organization.go
- create_private_domain_owned_by_given_organization_parameters.go
- create_private_domain_owned_by_given_organization_responses.go
- create_private_domain_owned_by_given_organization_urlbuilder.go
- delete_private_domain.go
- delete_private_domain_parameters.go
- delete_private_domain_responses.go
- delete_private_domain_urlbuilder.go
- filter_private_domains_by_name.go
- filter_private_domains_by_name_parameters.go
- filter_private_domains_by_name_responses.go
- filter_private_domains_by_name_urlbuilder.go
- retrieve_private_domain.go
- retrieve_private_domain_parameters.go
- retrieve_private_domain_responses.go
- retrieve_private_domain_urlbuilder.go