organization

package
v0.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AddOrganizationBadRequestCode int = 400

AddOrganizationBadRequestCode is the HTTP code returned for type AddOrganizationBadRequest

View Source
const AddOrganizationConflictCode int = 409

AddOrganizationConflictCode is the HTTP code returned for type AddOrganizationConflict

View Source
const AddOrganizationCreatedCode int = 201

AddOrganizationCreatedCode is the HTTP code returned for type AddOrganizationCreated

View Source
const AddOrganizationForbiddenCode int = 403

AddOrganizationForbiddenCode is the HTTP code returned for type AddOrganizationForbidden

View Source
const AddOrganizationUnauthorizedCode int = 401

AddOrganizationUnauthorizedCode is the HTTP code returned for type AddOrganizationUnauthorized

View Source
const DeleteOrganizationBadRequestCode int = 400

DeleteOrganizationBadRequestCode is the HTTP code returned for type DeleteOrganizationBadRequest

View Source
const DeleteOrganizationForbiddenCode int = 403

DeleteOrganizationForbiddenCode is the HTTP code returned for type DeleteOrganizationForbidden

View Source
const DeleteOrganizationNotFoundCode int = 404

DeleteOrganizationNotFoundCode is the HTTP code returned for type DeleteOrganizationNotFound

View Source
const DeleteOrganizationOKCode int = 200

DeleteOrganizationOKCode is the HTTP code returned for type DeleteOrganizationOK

View Source
const DeleteOrganizationUnauthorizedCode int = 401

DeleteOrganizationUnauthorizedCode is the HTTP code returned for type DeleteOrganizationUnauthorized

View Source
const GetOrganizationBadRequestCode int = 400

GetOrganizationBadRequestCode is the HTTP code returned for type GetOrganizationBadRequest

View Source
const GetOrganizationForbiddenCode int = 403

GetOrganizationForbiddenCode is the HTTP code returned for type GetOrganizationForbidden

View Source
const GetOrganizationNotFoundCode int = 404

GetOrganizationNotFoundCode is the HTTP code returned for type GetOrganizationNotFound

View Source
const GetOrganizationOKCode int = 200

GetOrganizationOKCode is the HTTP code returned for type GetOrganizationOK

View Source
const GetOrganizationUnauthorizedCode int = 401

GetOrganizationUnauthorizedCode is the HTTP code returned for type GetOrganizationUnauthorized

View Source
const GetOrganizationsForbiddenCode int = 403

GetOrganizationsForbiddenCode is the HTTP code returned for type GetOrganizationsForbidden

View Source
const GetOrganizationsOKCode int = 200

GetOrganizationsOKCode is the HTTP code returned for type GetOrganizationsOK

View Source
const GetOrganizationsUnauthorizedCode int = 401

GetOrganizationsUnauthorizedCode is the HTTP code returned for type GetOrganizationsUnauthorized

View Source
const UpdateOrganizationBadRequestCode int = 400

UpdateOrganizationBadRequestCode is the HTTP code returned for type UpdateOrganizationBadRequest

View Source
const UpdateOrganizationForbiddenCode int = 403

UpdateOrganizationForbiddenCode is the HTTP code returned for type UpdateOrganizationForbidden

View Source
const UpdateOrganizationNotFoundCode int = 404

UpdateOrganizationNotFoundCode is the HTTP code returned for type UpdateOrganizationNotFound

View Source
const UpdateOrganizationOKCode int = 200

UpdateOrganizationOKCode is the HTTP code returned for type UpdateOrganizationOK

View Source
const UpdateOrganizationUnauthorizedCode int = 401

UpdateOrganizationUnauthorizedCode is the HTTP code returned for type UpdateOrganizationUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOrganization

type AddOrganization struct {
	Context *middleware.Context
	Handler AddOrganizationHandler
}

AddOrganization swagger:route POST /v1/iam/organization organization addOrganization

Add a new organization

func NewAddOrganization

func NewAddOrganization(ctx *middleware.Context, handler AddOrganizationHandler) *AddOrganization

NewAddOrganization creates a new http.Handler for the add organization operation

func (*AddOrganization) ServeHTTP

func (o *AddOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AddOrganizationBadRequest

type AddOrganizationBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddOrganizationBadRequest Invalid input

swagger:response addOrganizationBadRequest

func NewAddOrganizationBadRequest

func NewAddOrganizationBadRequest() *AddOrganizationBadRequest

NewAddOrganizationBadRequest creates AddOrganizationBadRequest with default headers values

func (*AddOrganizationBadRequest) SetPayload

func (o *AddOrganizationBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add organization bad request response

func (*AddOrganizationBadRequest) WithPayload

func (o *AddOrganizationBadRequest) WithPayload(payload *v1.Error) *AddOrganizationBadRequest

WithPayload adds the payload to the add organization bad request response

func (*AddOrganizationBadRequest) WriteResponse

func (o *AddOrganizationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddOrganizationConflict

type AddOrganizationConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddOrganizationConflict Already Exists

swagger:response addOrganizationConflict

func NewAddOrganizationConflict

func NewAddOrganizationConflict() *AddOrganizationConflict

NewAddOrganizationConflict creates AddOrganizationConflict with default headers values

func (*AddOrganizationConflict) SetPayload

func (o *AddOrganizationConflict) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add organization conflict response

func (*AddOrganizationConflict) WithPayload

func (o *AddOrganizationConflict) WithPayload(payload *v1.Error) *AddOrganizationConflict

WithPayload adds the payload to the add organization conflict response

func (*AddOrganizationConflict) WriteResponse

func (o *AddOrganizationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddOrganizationCreated

type AddOrganizationCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.Organization `json:"body,omitempty"`
}

AddOrganizationCreated created

swagger:response addOrganizationCreated

func NewAddOrganizationCreated

func NewAddOrganizationCreated() *AddOrganizationCreated

NewAddOrganizationCreated creates AddOrganizationCreated with default headers values

func (*AddOrganizationCreated) SetPayload

func (o *AddOrganizationCreated) SetPayload(payload *v1.Organization)

SetPayload sets the payload to the add organization created response

func (*AddOrganizationCreated) WithPayload

WithPayload adds the payload to the add organization created response

func (*AddOrganizationCreated) WriteResponse

func (o *AddOrganizationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddOrganizationDefault

type AddOrganizationDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

AddOrganizationDefault Generic error response

swagger:response addOrganizationDefault

func NewAddOrganizationDefault

func NewAddOrganizationDefault(code int) *AddOrganizationDefault

NewAddOrganizationDefault creates AddOrganizationDefault with default headers values

func (*AddOrganizationDefault) SetPayload

func (o *AddOrganizationDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add organization default response

func (*AddOrganizationDefault) SetStatusCode

func (o *AddOrganizationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add organization default response

func (*AddOrganizationDefault) WithPayload

func (o *AddOrganizationDefault) WithPayload(payload *v1.Error) *AddOrganizationDefault

WithPayload adds the payload to the add organization default response

func (*AddOrganizationDefault) WithStatusCode

func (o *AddOrganizationDefault) WithStatusCode(code int) *AddOrganizationDefault

WithStatusCode adds the status to the add organization default response

func (*AddOrganizationDefault) WriteResponse

func (o *AddOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddOrganizationForbidden added in v0.1.18

type AddOrganizationForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddOrganizationForbidden access to this resource is forbidden

swagger:response addOrganizationForbidden

func NewAddOrganizationForbidden added in v0.1.18

func NewAddOrganizationForbidden() *AddOrganizationForbidden

NewAddOrganizationForbidden creates AddOrganizationForbidden with default headers values

func (*AddOrganizationForbidden) SetPayload added in v0.1.18

func (o *AddOrganizationForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add organization forbidden response

func (*AddOrganizationForbidden) WithPayload added in v0.1.18

func (o *AddOrganizationForbidden) WithPayload(payload *v1.Error) *AddOrganizationForbidden

WithPayload adds the payload to the add organization forbidden response

func (*AddOrganizationForbidden) WriteResponse added in v0.1.18

func (o *AddOrganizationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddOrganizationHandler

type AddOrganizationHandler interface {
	Handle(AddOrganizationParams, interface{}) middleware.Responder
}

AddOrganizationHandler interface for that can handle valid add organization params

type AddOrganizationHandlerFunc

type AddOrganizationHandlerFunc func(AddOrganizationParams, interface{}) middleware.Responder

AddOrganizationHandlerFunc turns a function with the right signature into a add organization handler

func (AddOrganizationHandlerFunc) Handle

func (fn AddOrganizationHandlerFunc) Handle(params AddOrganizationParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddOrganizationParams

type AddOrganizationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: header
	*/
	XDispatchOrg *string
	/*Organization Object
	  Required: true
	  In: body
	*/
	Body *v1.Organization
}

AddOrganizationParams contains all the bound params for the add organization operation typically these are obtained from a http.Request

swagger:parameters addOrganization

func NewAddOrganizationParams

func NewAddOrganizationParams() AddOrganizationParams

NewAddOrganizationParams creates a new AddOrganizationParams object no default values defined in spec.

func (*AddOrganizationParams) BindRequest

func (o *AddOrganizationParams) 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 NewAddOrganizationParams() beforehand.

type AddOrganizationURL

type AddOrganizationURL struct {
	// contains filtered or unexported fields
}

AddOrganizationURL generates an URL for the add organization operation

func (*AddOrganizationURL) Build

func (o *AddOrganizationURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddOrganizationURL) BuildFull

func (o *AddOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AddOrganizationURL) Must

func (o *AddOrganizationURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*AddOrganizationURL) SetBasePath

func (o *AddOrganizationURL) 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 (*AddOrganizationURL) String

func (o *AddOrganizationURL) String() string

String returns the string representation of the path with query string

func (*AddOrganizationURL) StringFull

func (o *AddOrganizationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AddOrganizationURL) WithBasePath

func (o *AddOrganizationURL) WithBasePath(bp string) *AddOrganizationURL

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 AddOrganizationUnauthorized added in v0.1.18

type AddOrganizationUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddOrganizationUnauthorized Unauthorized Request

swagger:response addOrganizationUnauthorized

func NewAddOrganizationUnauthorized added in v0.1.18

func NewAddOrganizationUnauthorized() *AddOrganizationUnauthorized

NewAddOrganizationUnauthorized creates AddOrganizationUnauthorized with default headers values

func (*AddOrganizationUnauthorized) SetPayload added in v0.1.18

func (o *AddOrganizationUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add organization unauthorized response

func (*AddOrganizationUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the add organization unauthorized response

func (*AddOrganizationUnauthorized) WriteResponse added in v0.1.18

func (o *AddOrganizationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteOrganization

type DeleteOrganization struct {
	Context *middleware.Context
	Handler DeleteOrganizationHandler
}

DeleteOrganization swagger:route DELETE /v1/iam/organization/{organizationName} organization deleteOrganization

Deletes an Organization

func NewDeleteOrganization

func NewDeleteOrganization(ctx *middleware.Context, handler DeleteOrganizationHandler) *DeleteOrganization

NewDeleteOrganization creates a new http.Handler for the delete organization operation

func (*DeleteOrganization) ServeHTTP

func (o *DeleteOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteOrganizationBadRequest

type DeleteOrganizationBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteOrganizationBadRequest Invalid Name supplied

swagger:response deleteOrganizationBadRequest

func NewDeleteOrganizationBadRequest

func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest

NewDeleteOrganizationBadRequest creates DeleteOrganizationBadRequest with default headers values

func (*DeleteOrganizationBadRequest) SetPayload

func (o *DeleteOrganizationBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete organization bad request response

func (*DeleteOrganizationBadRequest) WithPayload

WithPayload adds the payload to the delete organization bad request response

func (*DeleteOrganizationBadRequest) WriteResponse

func (o *DeleteOrganizationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteOrganizationDefault added in v0.1.18

type DeleteOrganizationDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteOrganizationDefault Unknown error

swagger:response deleteOrganizationDefault

func NewDeleteOrganizationDefault added in v0.1.18

func NewDeleteOrganizationDefault(code int) *DeleteOrganizationDefault

NewDeleteOrganizationDefault creates DeleteOrganizationDefault with default headers values

func (*DeleteOrganizationDefault) SetPayload added in v0.1.18

func (o *DeleteOrganizationDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete organization default response

func (*DeleteOrganizationDefault) SetStatusCode added in v0.1.18

func (o *DeleteOrganizationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete organization default response

func (*DeleteOrganizationDefault) WithPayload added in v0.1.18

func (o *DeleteOrganizationDefault) WithPayload(payload *v1.Error) *DeleteOrganizationDefault

WithPayload adds the payload to the delete organization default response

func (*DeleteOrganizationDefault) WithStatusCode added in v0.1.18

func (o *DeleteOrganizationDefault) WithStatusCode(code int) *DeleteOrganizationDefault

WithStatusCode adds the status to the delete organization default response

func (*DeleteOrganizationDefault) WriteResponse added in v0.1.18

func (o *DeleteOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteOrganizationForbidden added in v0.1.18

type DeleteOrganizationForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteOrganizationForbidden access to this resource is forbidden

swagger:response deleteOrganizationForbidden

func NewDeleteOrganizationForbidden added in v0.1.18

func NewDeleteOrganizationForbidden() *DeleteOrganizationForbidden

NewDeleteOrganizationForbidden creates DeleteOrganizationForbidden with default headers values

func (*DeleteOrganizationForbidden) SetPayload added in v0.1.18

func (o *DeleteOrganizationForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete organization forbidden response

func (*DeleteOrganizationForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the delete organization forbidden response

func (*DeleteOrganizationForbidden) WriteResponse added in v0.1.18

func (o *DeleteOrganizationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteOrganizationHandler

type DeleteOrganizationHandler interface {
	Handle(DeleteOrganizationParams, interface{}) middleware.Responder
}

DeleteOrganizationHandler interface for that can handle valid delete organization params

type DeleteOrganizationHandlerFunc

type DeleteOrganizationHandlerFunc func(DeleteOrganizationParams, interface{}) middleware.Responder

DeleteOrganizationHandlerFunc turns a function with the right signature into a delete organization handler

func (DeleteOrganizationHandlerFunc) Handle

func (fn DeleteOrganizationHandlerFunc) Handle(params DeleteOrganizationParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteOrganizationNotFound

type DeleteOrganizationNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteOrganizationNotFound Organization not found

swagger:response deleteOrganizationNotFound

func NewDeleteOrganizationNotFound

func NewDeleteOrganizationNotFound() *DeleteOrganizationNotFound

NewDeleteOrganizationNotFound creates DeleteOrganizationNotFound with default headers values

func (*DeleteOrganizationNotFound) SetPayload

func (o *DeleteOrganizationNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete organization not found response

func (*DeleteOrganizationNotFound) WithPayload

WithPayload adds the payload to the delete organization not found response

func (*DeleteOrganizationNotFound) WriteResponse

func (o *DeleteOrganizationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteOrganizationOK

type DeleteOrganizationOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Organization `json:"body,omitempty"`
}

DeleteOrganizationOK Successful operation

swagger:response deleteOrganizationOK

func NewDeleteOrganizationOK

func NewDeleteOrganizationOK() *DeleteOrganizationOK

NewDeleteOrganizationOK creates DeleteOrganizationOK with default headers values

func (*DeleteOrganizationOK) SetPayload

func (o *DeleteOrganizationOK) SetPayload(payload *v1.Organization)

SetPayload sets the payload to the delete organization o k response

func (*DeleteOrganizationOK) WithPayload

func (o *DeleteOrganizationOK) WithPayload(payload *v1.Organization) *DeleteOrganizationOK

WithPayload adds the payload to the delete organization o k response

func (*DeleteOrganizationOK) WriteResponse

func (o *DeleteOrganizationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteOrganizationParams

type DeleteOrganizationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of Organization to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	OrganizationName string
}

DeleteOrganizationParams contains all the bound params for the delete organization operation typically these are obtained from a http.Request

swagger:parameters deleteOrganization

func NewDeleteOrganizationParams

func NewDeleteOrganizationParams() DeleteOrganizationParams

NewDeleteOrganizationParams creates a new DeleteOrganizationParams object no default values defined in spec.

func (*DeleteOrganizationParams) BindRequest

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 NewDeleteOrganizationParams() beforehand.

type DeleteOrganizationURL

type DeleteOrganizationURL struct {
	OrganizationName string
	// contains filtered or unexported fields
}

DeleteOrganizationURL generates an URL for the delete organization operation

func (*DeleteOrganizationURL) Build

func (o *DeleteOrganizationURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteOrganizationURL) BuildFull

func (o *DeleteOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteOrganizationURL) Must

func (o *DeleteOrganizationURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteOrganizationURL) SetBasePath

func (o *DeleteOrganizationURL) 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 (*DeleteOrganizationURL) String

func (o *DeleteOrganizationURL) String() string

String returns the string representation of the path with query string

func (*DeleteOrganizationURL) StringFull

func (o *DeleteOrganizationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteOrganizationURL) WithBasePath

func (o *DeleteOrganizationURL) WithBasePath(bp string) *DeleteOrganizationURL

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 DeleteOrganizationUnauthorized added in v0.1.18

type DeleteOrganizationUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteOrganizationUnauthorized Unauthorized Request

swagger:response deleteOrganizationUnauthorized

func NewDeleteOrganizationUnauthorized added in v0.1.18

func NewDeleteOrganizationUnauthorized() *DeleteOrganizationUnauthorized

NewDeleteOrganizationUnauthorized creates DeleteOrganizationUnauthorized with default headers values

func (*DeleteOrganizationUnauthorized) SetPayload added in v0.1.18

func (o *DeleteOrganizationUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete organization unauthorized response

func (*DeleteOrganizationUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the delete organization unauthorized response

func (*DeleteOrganizationUnauthorized) WriteResponse added in v0.1.18

func (o *DeleteOrganizationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganization

type GetOrganization struct {
	Context *middleware.Context
	Handler GetOrganizationHandler
}

GetOrganization swagger:route GET /v1/iam/organization/{organizationName} organization getOrganization

Find Organization by name

get an Organization by name

func NewGetOrganization

func NewGetOrganization(ctx *middleware.Context, handler GetOrganizationHandler) *GetOrganization

NewGetOrganization creates a new http.Handler for the get organization operation

func (*GetOrganization) ServeHTTP

func (o *GetOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetOrganizationBadRequest

type GetOrganizationBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetOrganizationBadRequest Invalid Name supplied

swagger:response getOrganizationBadRequest

func NewGetOrganizationBadRequest

func NewGetOrganizationBadRequest() *GetOrganizationBadRequest

NewGetOrganizationBadRequest creates GetOrganizationBadRequest with default headers values

func (*GetOrganizationBadRequest) SetPayload

func (o *GetOrganizationBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get organization bad request response

func (*GetOrganizationBadRequest) WithPayload

func (o *GetOrganizationBadRequest) WithPayload(payload *v1.Error) *GetOrganizationBadRequest

WithPayload adds the payload to the get organization bad request response

func (*GetOrganizationBadRequest) WriteResponse

func (o *GetOrganizationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizationDefault added in v0.1.18

type GetOrganizationDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationDefault Unknown error

swagger:response getOrganizationDefault

func NewGetOrganizationDefault added in v0.1.18

func NewGetOrganizationDefault(code int) *GetOrganizationDefault

NewGetOrganizationDefault creates GetOrganizationDefault with default headers values

func (*GetOrganizationDefault) SetPayload added in v0.1.18

func (o *GetOrganizationDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get organization default response

func (*GetOrganizationDefault) SetStatusCode added in v0.1.18

func (o *GetOrganizationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get organization default response

func (*GetOrganizationDefault) WithPayload added in v0.1.18

func (o *GetOrganizationDefault) WithPayload(payload *v1.Error) *GetOrganizationDefault

WithPayload adds the payload to the get organization default response

func (*GetOrganizationDefault) WithStatusCode added in v0.1.18

func (o *GetOrganizationDefault) WithStatusCode(code int) *GetOrganizationDefault

WithStatusCode adds the status to the get organization default response

func (*GetOrganizationDefault) WriteResponse added in v0.1.18

func (o *GetOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizationForbidden added in v0.1.18

type GetOrganizationForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetOrganizationForbidden access to this resource is forbidden

swagger:response getOrganizationForbidden

func NewGetOrganizationForbidden added in v0.1.18

func NewGetOrganizationForbidden() *GetOrganizationForbidden

NewGetOrganizationForbidden creates GetOrganizationForbidden with default headers values

func (*GetOrganizationForbidden) SetPayload added in v0.1.18

func (o *GetOrganizationForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get organization forbidden response

func (*GetOrganizationForbidden) WithPayload added in v0.1.18

func (o *GetOrganizationForbidden) WithPayload(payload *v1.Error) *GetOrganizationForbidden

WithPayload adds the payload to the get organization forbidden response

func (*GetOrganizationForbidden) WriteResponse added in v0.1.18

func (o *GetOrganizationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizationHandler

type GetOrganizationHandler interface {
	Handle(GetOrganizationParams, interface{}) middleware.Responder
}

GetOrganizationHandler interface for that can handle valid get organization params

type GetOrganizationHandlerFunc

type GetOrganizationHandlerFunc func(GetOrganizationParams, interface{}) middleware.Responder

GetOrganizationHandlerFunc turns a function with the right signature into a get organization handler

func (GetOrganizationHandlerFunc) Handle

func (fn GetOrganizationHandlerFunc) Handle(params GetOrganizationParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetOrganizationNotFound

type GetOrganizationNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetOrganizationNotFound Organization not found

swagger:response getOrganizationNotFound

func NewGetOrganizationNotFound

func NewGetOrganizationNotFound() *GetOrganizationNotFound

NewGetOrganizationNotFound creates GetOrganizationNotFound with default headers values

func (*GetOrganizationNotFound) SetPayload

func (o *GetOrganizationNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get organization not found response

func (*GetOrganizationNotFound) WithPayload

func (o *GetOrganizationNotFound) WithPayload(payload *v1.Error) *GetOrganizationNotFound

WithPayload adds the payload to the get organization not found response

func (*GetOrganizationNotFound) WriteResponse

func (o *GetOrganizationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizationOK

type GetOrganizationOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Organization `json:"body,omitempty"`
}

GetOrganizationOK Successful operation

swagger:response getOrganizationOK

func NewGetOrganizationOK

func NewGetOrganizationOK() *GetOrganizationOK

NewGetOrganizationOK creates GetOrganizationOK with default headers values

func (*GetOrganizationOK) SetPayload

func (o *GetOrganizationOK) SetPayload(payload *v1.Organization)

SetPayload sets the payload to the get organization o k response

func (*GetOrganizationOK) WithPayload

func (o *GetOrganizationOK) WithPayload(payload *v1.Organization) *GetOrganizationOK

WithPayload adds the payload to the get organization o k response

func (*GetOrganizationOK) WriteResponse

func (o *GetOrganizationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizationParams

type GetOrganizationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of Organization to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	OrganizationName string
}

GetOrganizationParams contains all the bound params for the get organization operation typically these are obtained from a http.Request

swagger:parameters getOrganization

func NewGetOrganizationParams

func NewGetOrganizationParams() GetOrganizationParams

NewGetOrganizationParams creates a new GetOrganizationParams object no default values defined in spec.

func (*GetOrganizationParams) BindRequest

func (o *GetOrganizationParams) 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 NewGetOrganizationParams() beforehand.

type GetOrganizationURL

type GetOrganizationURL struct {
	OrganizationName string
	// contains filtered or unexported fields
}

GetOrganizationURL generates an URL for the get organization operation

func (*GetOrganizationURL) Build

func (o *GetOrganizationURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetOrganizationURL) BuildFull

func (o *GetOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetOrganizationURL) Must

func (o *GetOrganizationURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetOrganizationURL) SetBasePath

func (o *GetOrganizationURL) 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 (*GetOrganizationURL) String

func (o *GetOrganizationURL) String() string

String returns the string representation of the path with query string

func (*GetOrganizationURL) StringFull

func (o *GetOrganizationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetOrganizationURL) WithBasePath

func (o *GetOrganizationURL) WithBasePath(bp string) *GetOrganizationURL

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 GetOrganizationUnauthorized added in v0.1.18

type GetOrganizationUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetOrganizationUnauthorized Unauthorized Request

swagger:response getOrganizationUnauthorized

func NewGetOrganizationUnauthorized added in v0.1.18

func NewGetOrganizationUnauthorized() *GetOrganizationUnauthorized

NewGetOrganizationUnauthorized creates GetOrganizationUnauthorized with default headers values

func (*GetOrganizationUnauthorized) SetPayload added in v0.1.18

func (o *GetOrganizationUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get organization unauthorized response

func (*GetOrganizationUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the get organization unauthorized response

func (*GetOrganizationUnauthorized) WriteResponse added in v0.1.18

func (o *GetOrganizationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizations

type GetOrganizations struct {
	Context *middleware.Context
	Handler GetOrganizationsHandler
}

GetOrganizations swagger:route GET /v1/iam/organization organization getOrganizations

List all existing organizations

func NewGetOrganizations

func NewGetOrganizations(ctx *middleware.Context, handler GetOrganizationsHandler) *GetOrganizations

NewGetOrganizations creates a new http.Handler for the get organizations operation

func (*GetOrganizations) ServeHTTP

func (o *GetOrganizations) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetOrganizationsDefault

type GetOrganizationsDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationsDefault Unexpected Error

swagger:response getOrganizationsDefault

func NewGetOrganizationsDefault

func NewGetOrganizationsDefault(code int) *GetOrganizationsDefault

NewGetOrganizationsDefault creates GetOrganizationsDefault with default headers values

func (*GetOrganizationsDefault) SetPayload

func (o *GetOrganizationsDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get organizations default response

func (*GetOrganizationsDefault) SetStatusCode

func (o *GetOrganizationsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get organizations default response

func (*GetOrganizationsDefault) WithPayload

func (o *GetOrganizationsDefault) WithPayload(payload *v1.Error) *GetOrganizationsDefault

WithPayload adds the payload to the get organizations default response

func (*GetOrganizationsDefault) WithStatusCode

func (o *GetOrganizationsDefault) WithStatusCode(code int) *GetOrganizationsDefault

WithStatusCode adds the status to the get organizations default response

func (*GetOrganizationsDefault) WriteResponse

func (o *GetOrganizationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizationsForbidden added in v0.1.18

type GetOrganizationsForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetOrganizationsForbidden access to this resource is forbidden

swagger:response getOrganizationsForbidden

func NewGetOrganizationsForbidden added in v0.1.18

func NewGetOrganizationsForbidden() *GetOrganizationsForbidden

NewGetOrganizationsForbidden creates GetOrganizationsForbidden with default headers values

func (*GetOrganizationsForbidden) SetPayload added in v0.1.18

func (o *GetOrganizationsForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get organizations forbidden response

func (*GetOrganizationsForbidden) WithPayload added in v0.1.18

func (o *GetOrganizationsForbidden) WithPayload(payload *v1.Error) *GetOrganizationsForbidden

WithPayload adds the payload to the get organizations forbidden response

func (*GetOrganizationsForbidden) WriteResponse added in v0.1.18

func (o *GetOrganizationsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizationsHandler

type GetOrganizationsHandler interface {
	Handle(GetOrganizationsParams, interface{}) middleware.Responder
}

GetOrganizationsHandler interface for that can handle valid get organizations params

type GetOrganizationsHandlerFunc

type GetOrganizationsHandlerFunc func(GetOrganizationsParams, interface{}) middleware.Responder

GetOrganizationsHandlerFunc turns a function with the right signature into a get organizations handler

func (GetOrganizationsHandlerFunc) Handle

func (fn GetOrganizationsHandlerFunc) Handle(params GetOrganizationsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetOrganizationsOK

type GetOrganizationsOK struct {

	/*
	  In: Body
	*/
	Payload []*v1.Organization `json:"body,omitempty"`
}

GetOrganizationsOK Successful operation

swagger:response getOrganizationsOK

func NewGetOrganizationsOK

func NewGetOrganizationsOK() *GetOrganizationsOK

NewGetOrganizationsOK creates GetOrganizationsOK with default headers values

func (*GetOrganizationsOK) SetPayload

func (o *GetOrganizationsOK) SetPayload(payload []*v1.Organization)

SetPayload sets the payload to the get organizations o k response

func (*GetOrganizationsOK) WithPayload

func (o *GetOrganizationsOK) WithPayload(payload []*v1.Organization) *GetOrganizationsOK

WithPayload adds the payload to the get organizations o k response

func (*GetOrganizationsOK) WriteResponse

func (o *GetOrganizationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetOrganizationsParams

type GetOrganizationsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: header
	*/
	XDispatchOrg *string
}

GetOrganizationsParams contains all the bound params for the get organizations operation typically these are obtained from a http.Request

swagger:parameters getOrganizations

func NewGetOrganizationsParams

func NewGetOrganizationsParams() GetOrganizationsParams

NewGetOrganizationsParams creates a new GetOrganizationsParams object no default values defined in spec.

func (*GetOrganizationsParams) BindRequest

func (o *GetOrganizationsParams) 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 NewGetOrganizationsParams() beforehand.

type GetOrganizationsURL

type GetOrganizationsURL struct {
	// contains filtered or unexported fields
}

GetOrganizationsURL generates an URL for the get organizations operation

func (*GetOrganizationsURL) Build

func (o *GetOrganizationsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetOrganizationsURL) BuildFull

func (o *GetOrganizationsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetOrganizationsURL) Must

func (o *GetOrganizationsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetOrganizationsURL) SetBasePath

func (o *GetOrganizationsURL) 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 (*GetOrganizationsURL) String

func (o *GetOrganizationsURL) String() string

String returns the string representation of the path with query string

func (*GetOrganizationsURL) StringFull

func (o *GetOrganizationsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetOrganizationsURL) WithBasePath

func (o *GetOrganizationsURL) WithBasePath(bp string) *GetOrganizationsURL

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 GetOrganizationsUnauthorized added in v0.1.18

type GetOrganizationsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetOrganizationsUnauthorized Unauthorized Request

swagger:response getOrganizationsUnauthorized

func NewGetOrganizationsUnauthorized added in v0.1.18

func NewGetOrganizationsUnauthorized() *GetOrganizationsUnauthorized

NewGetOrganizationsUnauthorized creates GetOrganizationsUnauthorized with default headers values

func (*GetOrganizationsUnauthorized) SetPayload added in v0.1.18

func (o *GetOrganizationsUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get organizations unauthorized response

func (*GetOrganizationsUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the get organizations unauthorized response

func (*GetOrganizationsUnauthorized) WriteResponse added in v0.1.18

func (o *GetOrganizationsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateOrganization

type UpdateOrganization struct {
	Context *middleware.Context
	Handler UpdateOrganizationHandler
}

UpdateOrganization swagger:route PUT /v1/iam/organization/{organizationName} organization updateOrganization

Update a Organization

func NewUpdateOrganization

func NewUpdateOrganization(ctx *middleware.Context, handler UpdateOrganizationHandler) *UpdateOrganization

NewUpdateOrganization creates a new http.Handler for the update organization operation

func (*UpdateOrganization) ServeHTTP

func (o *UpdateOrganization) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateOrganizationBadRequest

type UpdateOrganizationBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateOrganizationBadRequest Invalid input

swagger:response updateOrganizationBadRequest

func NewUpdateOrganizationBadRequest

func NewUpdateOrganizationBadRequest() *UpdateOrganizationBadRequest

NewUpdateOrganizationBadRequest creates UpdateOrganizationBadRequest with default headers values

func (*UpdateOrganizationBadRequest) SetPayload

func (o *UpdateOrganizationBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update organization bad request response

func (*UpdateOrganizationBadRequest) WithPayload

WithPayload adds the payload to the update organization bad request response

func (*UpdateOrganizationBadRequest) WriteResponse

func (o *UpdateOrganizationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateOrganizationDefault added in v0.1.18

type UpdateOrganizationDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateOrganizationDefault Unknown error

swagger:response updateOrganizationDefault

func NewUpdateOrganizationDefault added in v0.1.18

func NewUpdateOrganizationDefault(code int) *UpdateOrganizationDefault

NewUpdateOrganizationDefault creates UpdateOrganizationDefault with default headers values

func (*UpdateOrganizationDefault) SetPayload added in v0.1.18

func (o *UpdateOrganizationDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update organization default response

func (*UpdateOrganizationDefault) SetStatusCode added in v0.1.18

func (o *UpdateOrganizationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update organization default response

func (*UpdateOrganizationDefault) WithPayload added in v0.1.18

func (o *UpdateOrganizationDefault) WithPayload(payload *v1.Error) *UpdateOrganizationDefault

WithPayload adds the payload to the update organization default response

func (*UpdateOrganizationDefault) WithStatusCode added in v0.1.18

func (o *UpdateOrganizationDefault) WithStatusCode(code int) *UpdateOrganizationDefault

WithStatusCode adds the status to the update organization default response

func (*UpdateOrganizationDefault) WriteResponse added in v0.1.18

func (o *UpdateOrganizationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateOrganizationForbidden added in v0.1.18

type UpdateOrganizationForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateOrganizationForbidden access to this resource is forbidden

swagger:response updateOrganizationForbidden

func NewUpdateOrganizationForbidden added in v0.1.18

func NewUpdateOrganizationForbidden() *UpdateOrganizationForbidden

NewUpdateOrganizationForbidden creates UpdateOrganizationForbidden with default headers values

func (*UpdateOrganizationForbidden) SetPayload added in v0.1.18

func (o *UpdateOrganizationForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update organization forbidden response

func (*UpdateOrganizationForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the update organization forbidden response

func (*UpdateOrganizationForbidden) WriteResponse added in v0.1.18

func (o *UpdateOrganizationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateOrganizationHandler

type UpdateOrganizationHandler interface {
	Handle(UpdateOrganizationParams, interface{}) middleware.Responder
}

UpdateOrganizationHandler interface for that can handle valid update organization params

type UpdateOrganizationHandlerFunc

type UpdateOrganizationHandlerFunc func(UpdateOrganizationParams, interface{}) middleware.Responder

UpdateOrganizationHandlerFunc turns a function with the right signature into a update organization handler

func (UpdateOrganizationHandlerFunc) Handle

func (fn UpdateOrganizationHandlerFunc) Handle(params UpdateOrganizationParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateOrganizationNotFound

type UpdateOrganizationNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateOrganizationNotFound Organization not found

swagger:response updateOrganizationNotFound

func NewUpdateOrganizationNotFound

func NewUpdateOrganizationNotFound() *UpdateOrganizationNotFound

NewUpdateOrganizationNotFound creates UpdateOrganizationNotFound with default headers values

func (*UpdateOrganizationNotFound) SetPayload

func (o *UpdateOrganizationNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update organization not found response

func (*UpdateOrganizationNotFound) WithPayload

WithPayload adds the payload to the update organization not found response

func (*UpdateOrganizationNotFound) WriteResponse

func (o *UpdateOrganizationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateOrganizationOK

type UpdateOrganizationOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Organization `json:"body,omitempty"`
}

UpdateOrganizationOK Successful update

swagger:response updateOrganizationOK

func NewUpdateOrganizationOK

func NewUpdateOrganizationOK() *UpdateOrganizationOK

NewUpdateOrganizationOK creates UpdateOrganizationOK with default headers values

func (*UpdateOrganizationOK) SetPayload

func (o *UpdateOrganizationOK) SetPayload(payload *v1.Organization)

SetPayload sets the payload to the update organization o k response

func (*UpdateOrganizationOK) WithPayload

func (o *UpdateOrganizationOK) WithPayload(payload *v1.Organization) *UpdateOrganizationOK

WithPayload adds the payload to the update organization o k response

func (*UpdateOrganizationOK) WriteResponse

func (o *UpdateOrganizationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateOrganizationParams

type UpdateOrganizationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Organization object
	  Required: true
	  In: body
	*/
	Body *v1.Organization
	/*Name of Organization to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	OrganizationName string
}

UpdateOrganizationParams contains all the bound params for the update organization operation typically these are obtained from a http.Request

swagger:parameters updateOrganization

func NewUpdateOrganizationParams

func NewUpdateOrganizationParams() UpdateOrganizationParams

NewUpdateOrganizationParams creates a new UpdateOrganizationParams object no default values defined in spec.

func (*UpdateOrganizationParams) BindRequest

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 NewUpdateOrganizationParams() beforehand.

type UpdateOrganizationURL

type UpdateOrganizationURL struct {
	OrganizationName string
	// contains filtered or unexported fields
}

UpdateOrganizationURL generates an URL for the update organization operation

func (*UpdateOrganizationURL) Build

func (o *UpdateOrganizationURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateOrganizationURL) BuildFull

func (o *UpdateOrganizationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateOrganizationURL) Must

func (o *UpdateOrganizationURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateOrganizationURL) SetBasePath

func (o *UpdateOrganizationURL) 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 (*UpdateOrganizationURL) String

func (o *UpdateOrganizationURL) String() string

String returns the string representation of the path with query string

func (*UpdateOrganizationURL) StringFull

func (o *UpdateOrganizationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateOrganizationURL) WithBasePath

func (o *UpdateOrganizationURL) WithBasePath(bp string) *UpdateOrganizationURL

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 UpdateOrganizationUnauthorized added in v0.1.18

type UpdateOrganizationUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateOrganizationUnauthorized Unauthorized Request

swagger:response updateOrganizationUnauthorized

func NewUpdateOrganizationUnauthorized added in v0.1.18

func NewUpdateOrganizationUnauthorized() *UpdateOrganizationUnauthorized

NewUpdateOrganizationUnauthorized creates UpdateOrganizationUnauthorized with default headers values

func (*UpdateOrganizationUnauthorized) SetPayload added in v0.1.18

func (o *UpdateOrganizationUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update organization unauthorized response

func (*UpdateOrganizationUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the update organization unauthorized response

func (*UpdateOrganizationUnauthorized) WriteResponse added in v0.1.18

func (o *UpdateOrganizationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL