operation_groups

package
v0.0.0-...-71505b4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const GetOperationGroupBadRequestCode int = 400

GetOperationGroupBadRequestCode is the HTTP code returned for type GetOperationGroupBadRequest

View Source
const GetOperationGroupNotFoundCode int = 404

GetOperationGroupNotFoundCode is the HTTP code returned for type GetOperationGroupNotFound

View Source
const GetOperationGroupOKCode int = 200

GetOperationGroupOKCode is the HTTP code returned for type GetOperationGroupOK

View Source
const GetOperationGroupsBadRequestCode int = 400

GetOperationGroupsBadRequestCode is the HTTP code returned for type GetOperationGroupsBadRequest

View Source
const GetOperationGroupsNotFoundCode int = 404

GetOperationGroupsNotFoundCode is the HTTP code returned for type GetOperationGroupsNotFound

View Source
const GetOperationGroupsOKCode int = 200

GetOperationGroupsOKCode is the HTTP code returned for type GetOperationGroupsOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetOperationGroup

type GetOperationGroup struct {
	Context *middleware.Context
	Handler GetOperationGroupHandler
}

GetOperationGroup swagger:route GET /v2/data/{platform}/{network}/operation_groups/{operationGroupId} Operation groups getOperationGroup

GetOperationGroup get operation group API

func NewGetOperationGroup

func NewGetOperationGroup(ctx *middleware.Context, handler GetOperationGroupHandler) *GetOperationGroup

NewGetOperationGroup creates a new http.Handler for the get operation group operation

func (*GetOperationGroup) ServeHTTP

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

type GetOperationGroupBadRequest

type GetOperationGroupBadRequest struct {
}

GetOperationGroupBadRequest Bad request

swagger:response getOperationGroupBadRequest

func NewGetOperationGroupBadRequest

func NewGetOperationGroupBadRequest() *GetOperationGroupBadRequest

NewGetOperationGroupBadRequest creates GetOperationGroupBadRequest with default headers values

func (*GetOperationGroupBadRequest) WriteResponse

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

WriteResponse to the client

type GetOperationGroupHandler

type GetOperationGroupHandler interface {
	Handle(GetOperationGroupParams) middleware.Responder
}

GetOperationGroupHandler interface for that can handle valid get operation group params

type GetOperationGroupHandlerFunc

type GetOperationGroupHandlerFunc func(GetOperationGroupParams) middleware.Responder

GetOperationGroupHandlerFunc turns a function with the right signature into a get operation group handler

func (GetOperationGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetOperationGroupNotFound

type GetOperationGroupNotFound struct {
}

GetOperationGroupNotFound Not Found

swagger:response getOperationGroupNotFound

func NewGetOperationGroupNotFound

func NewGetOperationGroupNotFound() *GetOperationGroupNotFound

NewGetOperationGroupNotFound creates GetOperationGroupNotFound with default headers values

func (*GetOperationGroupNotFound) WriteResponse

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

WriteResponse to the client

type GetOperationGroupOK

type GetOperationGroupOK struct {

	/*
	  In: Body
	*/
	Payload *models.OperationGroupResult `json:"body,omitempty"`
}

GetOperationGroupOK Query compatibility endpoint for operation group

swagger:response getOperationGroupOK

func NewGetOperationGroupOK

func NewGetOperationGroupOK() *GetOperationGroupOK

NewGetOperationGroupOK creates GetOperationGroupOK with default headers values

func (*GetOperationGroupOK) SetPayload

func (o *GetOperationGroupOK) SetPayload(payload *models.OperationGroupResult)

SetPayload sets the payload to the get operation group o k response

func (*GetOperationGroupOK) WithPayload

WithPayload adds the payload to the get operation group o k response

func (*GetOperationGroupOK) WriteResponse

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

WriteResponse to the client

type GetOperationGroupParams

type GetOperationGroupParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: path
	*/
	OperationGroupID string
	/*
	  Required: true
	  In: path
	*/
	Platform string
}

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

swagger:parameters getOperationGroup

func NewGetOperationGroupParams

func NewGetOperationGroupParams() GetOperationGroupParams

NewGetOperationGroupParams creates a new GetOperationGroupParams object no default values defined in spec.

func (*GetOperationGroupParams) BindRequest

func (o *GetOperationGroupParams) 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 NewGetOperationGroupParams() beforehand.

type GetOperationGroupURL

type GetOperationGroupURL struct {
	Network          string
	OperationGroupID string
	Platform         string
	// contains filtered or unexported fields
}

GetOperationGroupURL generates an URL for the get operation group operation

func (*GetOperationGroupURL) Build

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

Build a url path and query string

func (*GetOperationGroupURL) BuildFull

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

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

func (*GetOperationGroupURL) Must

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

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

func (*GetOperationGroupURL) SetBasePath

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

func (o *GetOperationGroupURL) String() string

String returns the string representation of the path with query string

func (*GetOperationGroupURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetOperationGroupURL) WithBasePath

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

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 GetOperationGroups

type GetOperationGroups struct {
	Context *middleware.Context
	Handler GetOperationGroupsHandler
}

GetOperationGroups swagger:route GET /v2/data/{platform}/{network}/operation_groups Operation groups getOperationGroups

GetOperationGroups get operation groups API

func NewGetOperationGroups

func NewGetOperationGroups(ctx *middleware.Context, handler GetOperationGroupsHandler) *GetOperationGroups

NewGetOperationGroups creates a new http.Handler for the get operation groups operation

func (*GetOperationGroups) ServeHTTP

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

type GetOperationGroupsBadRequest

type GetOperationGroupsBadRequest struct {
}

GetOperationGroupsBadRequest Bad request

swagger:response getOperationGroupsBadRequest

func NewGetOperationGroupsBadRequest

func NewGetOperationGroupsBadRequest() *GetOperationGroupsBadRequest

NewGetOperationGroupsBadRequest creates GetOperationGroupsBadRequest with default headers values

func (*GetOperationGroupsBadRequest) WriteResponse

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

WriteResponse to the client

type GetOperationGroupsHandler

type GetOperationGroupsHandler interface {
	Handle(GetOperationGroupsParams) middleware.Responder
}

GetOperationGroupsHandler interface for that can handle valid get operation groups params

type GetOperationGroupsHandlerFunc

type GetOperationGroupsHandlerFunc func(GetOperationGroupsParams) middleware.Responder

GetOperationGroupsHandlerFunc turns a function with the right signature into a get operation groups handler

func (GetOperationGroupsHandlerFunc) Handle

Handle executing the request and returning a response

type GetOperationGroupsNotFound

type GetOperationGroupsNotFound struct {
}

GetOperationGroupsNotFound Not Found

swagger:response getOperationGroupsNotFound

func NewGetOperationGroupsNotFound

func NewGetOperationGroupsNotFound() *GetOperationGroupsNotFound

NewGetOperationGroupsNotFound creates GetOperationGroupsNotFound with default headers values

func (*GetOperationGroupsNotFound) WriteResponse

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

WriteResponse to the client

type GetOperationGroupsOK

type GetOperationGroupsOK struct {

	/*
	  In: Body
	*/
	Payload []string `json:"body,omitempty"`
}

GetOperationGroupsOK Query compatibility endpoint for operation groups

swagger:response getOperationGroupsOK

func NewGetOperationGroupsOK

func NewGetOperationGroupsOK() *GetOperationGroupsOK

NewGetOperationGroupsOK creates GetOperationGroupsOK with default headers values

func (*GetOperationGroupsOK) SetPayload

func (o *GetOperationGroupsOK) SetPayload(payload []string)

SetPayload sets the payload to the get operation groups o k response

func (*GetOperationGroupsOK) WithPayload

func (o *GetOperationGroupsOK) WithPayload(payload []string) *GetOperationGroupsOK

WithPayload adds the payload to the get operation groups o k response

func (*GetOperationGroupsOK) WriteResponse

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

WriteResponse to the client

type GetOperationGroupsParams

type GetOperationGroupsParams struct {

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

	/*
	  In: query
	  Collection Format: multi
	*/
	AccountDelegate []string
	/*
	  In: query
	  Collection Format: multi
	*/
	AccountID []string
	/*
	  In: query
	  Collection Format: multi
	*/
	AccountManager []string
	/*
	  In: query
	  Collection Format: multi
	*/
	BlockID []string
	/*
	  In: query
	  Collection Format: multi
	*/
	BlockLevel []int64
	/*
	  In: query
	  Collection Format: multi
	*/
	BlockNetid []string
	/*
	  In: query
	  Collection Format: multi
	*/
	BlockProtocol []string
	/*
	  Maximum: 500
	  Minimum: 1
	  In: query
	  Default: 20
	*/
	Limit *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*Offset
	  Minimum: 0
	  In: query
	  Default: 0
	*/
	Offset *int64
	/*
	  In: query
	  Collection Format: multi
	*/
	OperationDestination []string
	/*
	  In: query
	  Collection Format: multi
	*/
	OperationID []string
	/*
	  In: query
	  Collection Format: multi
	*/
	OperationKind []string
	/*
	  In: query
	  Collection Format: multi
	*/
	OperationParticipant []string
	/*
	  In: query
	  Collection Format: multi
	*/
	OperationSource []string
	/*
	  In: query
	*/
	Order *string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	SortBy *string
}

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

swagger:parameters getOperationGroups

func NewGetOperationGroupsParams

func NewGetOperationGroupsParams() GetOperationGroupsParams

NewGetOperationGroupsParams creates a new GetOperationGroupsParams object with the default values initialized.

func (*GetOperationGroupsParams) 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 NewGetOperationGroupsParams() beforehand.

type GetOperationGroupsURL

type GetOperationGroupsURL struct {
	Network  string
	Platform string

	AccountDelegate      []string
	AccountID            []string
	AccountManager       []string
	BlockID              []string
	BlockLevel           []int64
	BlockNetid           []string
	BlockProtocol        []string
	Limit                *int64
	Offset               *int64
	OperationDestination []string
	OperationID          []string
	OperationKind        []string
	OperationParticipant []string
	OperationSource      []string
	Order                *string
	SortBy               *string
	// contains filtered or unexported fields
}

GetOperationGroupsURL generates an URL for the get operation groups operation

func (*GetOperationGroupsURL) Build

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

Build a url path and query string

func (*GetOperationGroupsURL) BuildFull

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

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

func (*GetOperationGroupsURL) Must

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

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

func (*GetOperationGroupsURL) SetBasePath

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

func (o *GetOperationGroupsURL) String() string

String returns the string representation of the path with query string

func (*GetOperationGroupsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetOperationGroupsURL) WithBasePath

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

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

Jump to

Keyboard shortcuts

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