organizations

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const IndexOrganizationsBadRequestCode int = 400

IndexOrganizationsBadRequestCode is the HTTP code returned for type IndexOrganizationsBadRequest

View Source
const IndexOrganizationsInternalServerErrorCode int = 500

IndexOrganizationsInternalServerErrorCode is the HTTP code returned for type IndexOrganizationsInternalServerError

View Source
const IndexOrganizationsNotFoundCode int = 404

IndexOrganizationsNotFoundCode is the HTTP code returned for type IndexOrganizationsNotFound

View Source
const IndexOrganizationsOKCode int = 200

IndexOrganizationsOKCode is the HTTP code returned for type IndexOrganizationsOK

View Source
const IndexOrganizationsUnauthorizedCode int = 401

IndexOrganizationsUnauthorizedCode is the HTTP code returned for type IndexOrganizationsUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexOrganizations

type IndexOrganizations struct {
	Context *middleware.Context
	Handler IndexOrganizationsHandler
}
IndexOrganizations swagger:route GET /organizations Organizations indexOrganizations

List Organizations

This endpoint returns a list of Organizations. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.

func NewIndexOrganizations

func NewIndexOrganizations(ctx *middleware.Context, handler IndexOrganizationsHandler) *IndexOrganizations

NewIndexOrganizations creates a new http.Handler for the index organizations operation

func (*IndexOrganizations) ServeHTTP

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

type IndexOrganizationsBadRequest

type IndexOrganizationsBadRequest struct {
}

IndexOrganizationsBadRequest invalid request

swagger:response indexOrganizationsBadRequest

func NewIndexOrganizationsBadRequest

func NewIndexOrganizationsBadRequest() *IndexOrganizationsBadRequest

NewIndexOrganizationsBadRequest creates IndexOrganizationsBadRequest with default headers values

func (*IndexOrganizationsBadRequest) WriteResponse

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

WriteResponse to the client

type IndexOrganizationsHandler

type IndexOrganizationsHandler interface {
	Handle(IndexOrganizationsParams) middleware.Responder
}

IndexOrganizationsHandler interface for that can handle valid index organizations params

type IndexOrganizationsHandlerFunc

type IndexOrganizationsHandlerFunc func(IndexOrganizationsParams) middleware.Responder

IndexOrganizationsHandlerFunc turns a function with the right signature into a index organizations handler

func (IndexOrganizationsHandlerFunc) Handle

Handle executing the request and returning a response

type IndexOrganizationsInternalServerError

type IndexOrganizationsInternalServerError struct {
}

IndexOrganizationsInternalServerError server error

swagger:response indexOrganizationsInternalServerError

func NewIndexOrganizationsInternalServerError

func NewIndexOrganizationsInternalServerError() *IndexOrganizationsInternalServerError

NewIndexOrganizationsInternalServerError creates IndexOrganizationsInternalServerError with default headers values

func (*IndexOrganizationsInternalServerError) WriteResponse

WriteResponse to the client

type IndexOrganizationsNotFound

type IndexOrganizationsNotFound struct {
}

IndexOrganizationsNotFound Organizations not found

swagger:response indexOrganizationsNotFound

func NewIndexOrganizationsNotFound

func NewIndexOrganizationsNotFound() *IndexOrganizationsNotFound

NewIndexOrganizationsNotFound creates IndexOrganizationsNotFound with default headers values

func (*IndexOrganizationsNotFound) WriteResponse

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

WriteResponse to the client

type IndexOrganizationsOK

type IndexOrganizationsOK struct {
	/*Used for pagination

	 */
	ContentRange string `json:"Content-Range"`

	/*
	  In: Body
	*/
	Payload adminmessages.Organizations `json:"body,omitempty"`
}

IndexOrganizationsOK success

swagger:response indexOrganizationsOK

func NewIndexOrganizationsOK

func NewIndexOrganizationsOK() *IndexOrganizationsOK

NewIndexOrganizationsOK creates IndexOrganizationsOK with default headers values

func (*IndexOrganizationsOK) SetContentRange

func (o *IndexOrganizationsOK) SetContentRange(contentRange string)

SetContentRange sets the contentRange to the index organizations o k response

func (*IndexOrganizationsOK) SetPayload

func (o *IndexOrganizationsOK) SetPayload(payload adminmessages.Organizations)

SetPayload sets the payload to the index organizations o k response

func (*IndexOrganizationsOK) WithContentRange

func (o *IndexOrganizationsOK) WithContentRange(contentRange string) *IndexOrganizationsOK

WithContentRange adds the contentRange to the index organizations o k response

func (*IndexOrganizationsOK) WithPayload

WithPayload adds the payload to the index organizations o k response

func (*IndexOrganizationsOK) WriteResponse

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

WriteResponse to the client

type IndexOrganizationsParams

type IndexOrganizationsParams struct {

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

	/*
	  In: query
	*/
	Filter []string
	/*
	  In: query
	*/
	Order *bool
	/*
	  In: query
	*/
	Page *int64
	/*
	  In: query
	*/
	PerPage *int64
	/*
	  In: query
	*/
	Sort *string
}

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

swagger:parameters indexOrganizations

func NewIndexOrganizationsParams

func NewIndexOrganizationsParams() IndexOrganizationsParams

NewIndexOrganizationsParams creates a new IndexOrganizationsParams object

There are no default values defined in the spec.

func (*IndexOrganizationsParams) 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 NewIndexOrganizationsParams() beforehand.

type IndexOrganizationsURL

type IndexOrganizationsURL struct {
	Filter  []string
	Order   *bool
	Page    *int64
	PerPage *int64
	Sort    *string
	// contains filtered or unexported fields
}

IndexOrganizationsURL generates an URL for the index organizations operation

func (*IndexOrganizationsURL) Build

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

Build a url path and query string

func (*IndexOrganizationsURL) BuildFull

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

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

func (*IndexOrganizationsURL) Must

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

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

func (*IndexOrganizationsURL) SetBasePath

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

func (o *IndexOrganizationsURL) String() string

String returns the string representation of the path with query string

func (*IndexOrganizationsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*IndexOrganizationsURL) WithBasePath

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

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 IndexOrganizationsUnauthorized

type IndexOrganizationsUnauthorized struct {
}

IndexOrganizationsUnauthorized request requires user authentication

swagger:response indexOrganizationsUnauthorized

func NewIndexOrganizationsUnauthorized

func NewIndexOrganizationsUnauthorized() *IndexOrganizationsUnauthorized

NewIndexOrganizationsUnauthorized creates IndexOrganizationsUnauthorized with default headers values

func (*IndexOrganizationsUnauthorized) WriteResponse

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