organization_quota_definitions

package
v0.0.0-...-7977c27 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const CreateOrganizationQuotaDefinitionCreatedCode int = 201

CreateOrganizationQuotaDefinitionCreatedCode is the HTTP code returned for type CreateOrganizationQuotaDefinitionCreated

View Source
const DeleteOrganizationQuotaDefinitionNoContentCode int = 204

DeleteOrganizationQuotaDefinitionNoContentCode is the HTTP code returned for type DeleteOrganizationQuotaDefinitionNoContent

View Source
const ListAllOrganizationQuotaDefinitionsOKCode int = 200

ListAllOrganizationQuotaDefinitionsOKCode is the HTTP code returned for type ListAllOrganizationQuotaDefinitionsOK

View Source
const RetrieveOrganizationQuotaDefinitionOKCode int = 200

RetrieveOrganizationQuotaDefinitionOKCode is the HTTP code returned for type RetrieveOrganizationQuotaDefinitionOK

View Source
const UpdateOrganizationQuotaDefinitionCreatedCode int = 201

UpdateOrganizationQuotaDefinitionCreatedCode is the HTTP code returned for type UpdateOrganizationQuotaDefinitionCreated

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOrganizationQuotaDefinition

type CreateOrganizationQuotaDefinition struct {
	Context *middleware.Context
	Handler CreateOrganizationQuotaDefinitionHandler
}

CreateOrganizationQuotaDefinition swagger:route POST /quota_definitions organizationQuotaDefinitions createOrganizationQuotaDefinition

Creating a Organization Quota Definition

curl --insecure -i %s/v2/quota_definitions -X POST -H 'Authorization: %s' -d '%s'

func NewCreateOrganizationQuotaDefinition

func NewCreateOrganizationQuotaDefinition(ctx *middleware.Context, handler CreateOrganizationQuotaDefinitionHandler) *CreateOrganizationQuotaDefinition

NewCreateOrganizationQuotaDefinition creates a new http.Handler for the create organization quota definition operation

func (*CreateOrganizationQuotaDefinition) ServeHTTP

type CreateOrganizationQuotaDefinitionCreated

type CreateOrganizationQuotaDefinitionCreated struct {

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

CreateOrganizationQuotaDefinitionCreated successful response

swagger:response createOrganizationQuotaDefinitionCreated

func NewCreateOrganizationQuotaDefinitionCreated

func NewCreateOrganizationQuotaDefinitionCreated() *CreateOrganizationQuotaDefinitionCreated

NewCreateOrganizationQuotaDefinitionCreated creates CreateOrganizationQuotaDefinitionCreated with default headers values

func (*CreateOrganizationQuotaDefinitionCreated) SetPayload

SetPayload sets the payload to the create organization quota definition created response

func (*CreateOrganizationQuotaDefinitionCreated) WithPayload

WithPayload adds the payload to the create organization quota definition created response

func (*CreateOrganizationQuotaDefinitionCreated) WriteResponse

WriteResponse to the client

type CreateOrganizationQuotaDefinitionHandler

type CreateOrganizationQuotaDefinitionHandler interface {
	Handle(CreateOrganizationQuotaDefinitionParams) middleware.Responder
}

CreateOrganizationQuotaDefinitionHandler interface for that can handle valid create organization quota definition params

type CreateOrganizationQuotaDefinitionHandlerFunc

type CreateOrganizationQuotaDefinitionHandlerFunc func(CreateOrganizationQuotaDefinitionParams) middleware.Responder

CreateOrganizationQuotaDefinitionHandlerFunc turns a function with the right signature into a create organization quota definition handler

func (CreateOrganizationQuotaDefinitionHandlerFunc) Handle

Handle executing the request and returning a response

type CreateOrganizationQuotaDefinitionParams

type CreateOrganizationQuotaDefinitionParams 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.CreateOrganizationQuotaDefinitionRequest
}

CreateOrganizationQuotaDefinitionParams contains all the bound params for the create organization quota definition operation typically these are obtained from a http.Request

swagger:parameters createOrganizationQuotaDefinition

func NewCreateOrganizationQuotaDefinitionParams

func NewCreateOrganizationQuotaDefinitionParams() CreateOrganizationQuotaDefinitionParams

NewCreateOrganizationQuotaDefinitionParams creates a new CreateOrganizationQuotaDefinitionParams object no default values defined in spec.

func (*CreateOrganizationQuotaDefinitionParams) 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 NewCreateOrganizationQuotaDefinitionParams() beforehand.

type CreateOrganizationQuotaDefinitionURL

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

CreateOrganizationQuotaDefinitionURL generates an URL for the create organization quota definition operation

func (*CreateOrganizationQuotaDefinitionURL) Build

Build a url path and query string

func (*CreateOrganizationQuotaDefinitionURL) BuildFull

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

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

func (*CreateOrganizationQuotaDefinitionURL) Must

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

func (*CreateOrganizationQuotaDefinitionURL) SetBasePath

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

String returns the string representation of the path with query string

func (*CreateOrganizationQuotaDefinitionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateOrganizationQuotaDefinitionURL) WithBasePath

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 DeleteOrganizationQuotaDefinition

type DeleteOrganizationQuotaDefinition struct {
	Context *middleware.Context
	Handler DeleteOrganizationQuotaDefinitionHandler
}

DeleteOrganizationQuotaDefinition swagger:route DELETE /quota_definitions/{guid} organizationQuotaDefinitions deleteOrganizationQuotaDefinition

Delete a Particular Organization Quota Definition

curl --insecure -i %s/v2/quota_definitions/{guid} -X DELETE -H 'Authorization: %s'

func NewDeleteOrganizationQuotaDefinition

func NewDeleteOrganizationQuotaDefinition(ctx *middleware.Context, handler DeleteOrganizationQuotaDefinitionHandler) *DeleteOrganizationQuotaDefinition

NewDeleteOrganizationQuotaDefinition creates a new http.Handler for the delete organization quota definition operation

func (*DeleteOrganizationQuotaDefinition) ServeHTTP

type DeleteOrganizationQuotaDefinitionHandler

type DeleteOrganizationQuotaDefinitionHandler interface {
	Handle(DeleteOrganizationQuotaDefinitionParams) middleware.Responder
}

DeleteOrganizationQuotaDefinitionHandler interface for that can handle valid delete organization quota definition params

type DeleteOrganizationQuotaDefinitionHandlerFunc

type DeleteOrganizationQuotaDefinitionHandlerFunc func(DeleteOrganizationQuotaDefinitionParams) middleware.Responder

DeleteOrganizationQuotaDefinitionHandlerFunc turns a function with the right signature into a delete organization quota definition handler

func (DeleteOrganizationQuotaDefinitionHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteOrganizationQuotaDefinitionNoContent

type DeleteOrganizationQuotaDefinitionNoContent struct {
}

DeleteOrganizationQuotaDefinitionNoContent successful response

swagger:response deleteOrganizationQuotaDefinitionNoContent

func NewDeleteOrganizationQuotaDefinitionNoContent

func NewDeleteOrganizationQuotaDefinitionNoContent() *DeleteOrganizationQuotaDefinitionNoContent

NewDeleteOrganizationQuotaDefinitionNoContent creates DeleteOrganizationQuotaDefinitionNoContent with default headers values

func (*DeleteOrganizationQuotaDefinitionNoContent) WriteResponse

WriteResponse to the client

type DeleteOrganizationQuotaDefinitionParams

type DeleteOrganizationQuotaDefinitionParams struct {

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

	/*The guid parameter is used as a part of the request URL: '/v2/quota_definitions/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

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

swagger:parameters deleteOrganizationQuotaDefinition

func NewDeleteOrganizationQuotaDefinitionParams

func NewDeleteOrganizationQuotaDefinitionParams() DeleteOrganizationQuotaDefinitionParams

NewDeleteOrganizationQuotaDefinitionParams creates a new DeleteOrganizationQuotaDefinitionParams object no default values defined in spec.

func (*DeleteOrganizationQuotaDefinitionParams) 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 NewDeleteOrganizationQuotaDefinitionParams() beforehand.

type DeleteOrganizationQuotaDefinitionURL

type DeleteOrganizationQuotaDefinitionURL struct {
	GUID string
	// contains filtered or unexported fields
}

DeleteOrganizationQuotaDefinitionURL generates an URL for the delete organization quota definition operation

func (*DeleteOrganizationQuotaDefinitionURL) Build

Build a url path and query string

func (*DeleteOrganizationQuotaDefinitionURL) BuildFull

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

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

func (*DeleteOrganizationQuotaDefinitionURL) Must

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

func (*DeleteOrganizationQuotaDefinitionURL) SetBasePath

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

String returns the string representation of the path with query string

func (*DeleteOrganizationQuotaDefinitionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteOrganizationQuotaDefinitionURL) WithBasePath

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 ListAllOrganizationQuotaDefinitions

type ListAllOrganizationQuotaDefinitions struct {
	Context *middleware.Context
	Handler ListAllOrganizationQuotaDefinitionsHandler
}

ListAllOrganizationQuotaDefinitions swagger:route GET /quota_definitions organizationQuotaDefinitions listAllOrganizationQuotaDefinitions

List all Organization Quota Definitions

curl --insecure -i %s/v2/quota_definitions -X GET -H 'Authorization: %s'

func NewListAllOrganizationQuotaDefinitions

func NewListAllOrganizationQuotaDefinitions(ctx *middleware.Context, handler ListAllOrganizationQuotaDefinitionsHandler) *ListAllOrganizationQuotaDefinitions

NewListAllOrganizationQuotaDefinitions creates a new http.Handler for the list all organization quota definitions operation

func (*ListAllOrganizationQuotaDefinitions) ServeHTTP

type ListAllOrganizationQuotaDefinitionsHandler

type ListAllOrganizationQuotaDefinitionsHandler interface {
	Handle(ListAllOrganizationQuotaDefinitionsParams) middleware.Responder
}

ListAllOrganizationQuotaDefinitionsHandler interface for that can handle valid list all organization quota definitions params

type ListAllOrganizationQuotaDefinitionsHandlerFunc

type ListAllOrganizationQuotaDefinitionsHandlerFunc func(ListAllOrganizationQuotaDefinitionsParams) middleware.Responder

ListAllOrganizationQuotaDefinitionsHandlerFunc turns a function with the right signature into a list all organization quota definitions handler

func (ListAllOrganizationQuotaDefinitionsHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllOrganizationQuotaDefinitionsOK

type ListAllOrganizationQuotaDefinitionsOK struct {

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

ListAllOrganizationQuotaDefinitionsOK successful response

swagger:response listAllOrganizationQuotaDefinitionsOK

func NewListAllOrganizationQuotaDefinitionsOK

func NewListAllOrganizationQuotaDefinitionsOK() *ListAllOrganizationQuotaDefinitionsOK

NewListAllOrganizationQuotaDefinitionsOK creates ListAllOrganizationQuotaDefinitionsOK with default headers values

func (*ListAllOrganizationQuotaDefinitionsOK) SetPayload

SetPayload sets the payload to the list all organization quota definitions o k response

func (*ListAllOrganizationQuotaDefinitionsOK) WithPayload

WithPayload adds the payload to the list all organization quota definitions o k response

func (*ListAllOrganizationQuotaDefinitionsOK) WriteResponse

WriteResponse to the client

type ListAllOrganizationQuotaDefinitionsParams

type ListAllOrganizationQuotaDefinitionsParams struct {

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

ListAllOrganizationQuotaDefinitionsParams contains all the bound params for the list all organization quota definitions operation typically these are obtained from a http.Request

swagger:parameters listAllOrganizationQuotaDefinitions

func NewListAllOrganizationQuotaDefinitionsParams

func NewListAllOrganizationQuotaDefinitionsParams() ListAllOrganizationQuotaDefinitionsParams

NewListAllOrganizationQuotaDefinitionsParams creates a new ListAllOrganizationQuotaDefinitionsParams object no default values defined in spec.

func (*ListAllOrganizationQuotaDefinitionsParams) 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 NewListAllOrganizationQuotaDefinitionsParams() beforehand.

type ListAllOrganizationQuotaDefinitionsURL

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

ListAllOrganizationQuotaDefinitionsURL generates an URL for the list all organization quota definitions operation

func (*ListAllOrganizationQuotaDefinitionsURL) Build

Build a url path and query string

func (*ListAllOrganizationQuotaDefinitionsURL) BuildFull

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

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

func (*ListAllOrganizationQuotaDefinitionsURL) Must

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

func (*ListAllOrganizationQuotaDefinitionsURL) SetBasePath

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 (*ListAllOrganizationQuotaDefinitionsURL) String

String returns the string representation of the path with query string

func (*ListAllOrganizationQuotaDefinitionsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListAllOrganizationQuotaDefinitionsURL) WithBasePath

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 RetrieveOrganizationQuotaDefinition

type RetrieveOrganizationQuotaDefinition struct {
	Context *middleware.Context
	Handler RetrieveOrganizationQuotaDefinitionHandler
}

RetrieveOrganizationQuotaDefinition swagger:route GET /quota_definitions/{guid} organizationQuotaDefinitions retrieveOrganizationQuotaDefinition

Retrieve a Particular Organization Quota Definition

curl --insecure -i %s/v2/quota_definitions/{guid} -X GET -H 'Authorization: %s'

func NewRetrieveOrganizationQuotaDefinition

func NewRetrieveOrganizationQuotaDefinition(ctx *middleware.Context, handler RetrieveOrganizationQuotaDefinitionHandler) *RetrieveOrganizationQuotaDefinition

NewRetrieveOrganizationQuotaDefinition creates a new http.Handler for the retrieve organization quota definition operation

func (*RetrieveOrganizationQuotaDefinition) ServeHTTP

type RetrieveOrganizationQuotaDefinitionHandler

type RetrieveOrganizationQuotaDefinitionHandler interface {
	Handle(RetrieveOrganizationQuotaDefinitionParams) middleware.Responder
}

RetrieveOrganizationQuotaDefinitionHandler interface for that can handle valid retrieve organization quota definition params

type RetrieveOrganizationQuotaDefinitionHandlerFunc

type RetrieveOrganizationQuotaDefinitionHandlerFunc func(RetrieveOrganizationQuotaDefinitionParams) middleware.Responder

RetrieveOrganizationQuotaDefinitionHandlerFunc turns a function with the right signature into a retrieve organization quota definition handler

func (RetrieveOrganizationQuotaDefinitionHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveOrganizationQuotaDefinitionOK

type RetrieveOrganizationQuotaDefinitionOK struct {

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

RetrieveOrganizationQuotaDefinitionOK successful response

swagger:response retrieveOrganizationQuotaDefinitionOK

func NewRetrieveOrganizationQuotaDefinitionOK

func NewRetrieveOrganizationQuotaDefinitionOK() *RetrieveOrganizationQuotaDefinitionOK

NewRetrieveOrganizationQuotaDefinitionOK creates RetrieveOrganizationQuotaDefinitionOK with default headers values

func (*RetrieveOrganizationQuotaDefinitionOK) SetPayload

SetPayload sets the payload to the retrieve organization quota definition o k response

func (*RetrieveOrganizationQuotaDefinitionOK) WithPayload

WithPayload adds the payload to the retrieve organization quota definition o k response

func (*RetrieveOrganizationQuotaDefinitionOK) WriteResponse

WriteResponse to the client

type RetrieveOrganizationQuotaDefinitionParams

type RetrieveOrganizationQuotaDefinitionParams struct {

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

	/*The guid parameter is used as a part of the request URL: '/v2/quota_definitions/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

RetrieveOrganizationQuotaDefinitionParams contains all the bound params for the retrieve organization quota definition operation typically these are obtained from a http.Request

swagger:parameters retrieveOrganizationQuotaDefinition

func NewRetrieveOrganizationQuotaDefinitionParams

func NewRetrieveOrganizationQuotaDefinitionParams() RetrieveOrganizationQuotaDefinitionParams

NewRetrieveOrganizationQuotaDefinitionParams creates a new RetrieveOrganizationQuotaDefinitionParams object no default values defined in spec.

func (*RetrieveOrganizationQuotaDefinitionParams) 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 NewRetrieveOrganizationQuotaDefinitionParams() beforehand.

type RetrieveOrganizationQuotaDefinitionURL

type RetrieveOrganizationQuotaDefinitionURL struct {
	GUID string
	// contains filtered or unexported fields
}

RetrieveOrganizationQuotaDefinitionURL generates an URL for the retrieve organization quota definition operation

func (*RetrieveOrganizationQuotaDefinitionURL) Build

Build a url path and query string

func (*RetrieveOrganizationQuotaDefinitionURL) BuildFull

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

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

func (*RetrieveOrganizationQuotaDefinitionURL) Must

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

func (*RetrieveOrganizationQuotaDefinitionURL) SetBasePath

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 (*RetrieveOrganizationQuotaDefinitionURL) String

String returns the string representation of the path with query string

func (*RetrieveOrganizationQuotaDefinitionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RetrieveOrganizationQuotaDefinitionURL) WithBasePath

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 UpdateOrganizationQuotaDefinition

type UpdateOrganizationQuotaDefinition struct {
	Context *middleware.Context
	Handler UpdateOrganizationQuotaDefinitionHandler
}

UpdateOrganizationQuotaDefinition swagger:route PUT /quota_definitions/{guid} organizationQuotaDefinitions updateOrganizationQuotaDefinition

Updating a Organization Quota Definition

curl --insecure -i %s/v2/quota_definitions/{guid} -X PUT -H 'Authorization: %s' -d '%s'

func NewUpdateOrganizationQuotaDefinition

func NewUpdateOrganizationQuotaDefinition(ctx *middleware.Context, handler UpdateOrganizationQuotaDefinitionHandler) *UpdateOrganizationQuotaDefinition

NewUpdateOrganizationQuotaDefinition creates a new http.Handler for the update organization quota definition operation

func (*UpdateOrganizationQuotaDefinition) ServeHTTP

type UpdateOrganizationQuotaDefinitionCreated

type UpdateOrganizationQuotaDefinitionCreated struct {

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

UpdateOrganizationQuotaDefinitionCreated successful response

swagger:response updateOrganizationQuotaDefinitionCreated

func NewUpdateOrganizationQuotaDefinitionCreated

func NewUpdateOrganizationQuotaDefinitionCreated() *UpdateOrganizationQuotaDefinitionCreated

NewUpdateOrganizationQuotaDefinitionCreated creates UpdateOrganizationQuotaDefinitionCreated with default headers values

func (*UpdateOrganizationQuotaDefinitionCreated) SetPayload

SetPayload sets the payload to the update organization quota definition created response

func (*UpdateOrganizationQuotaDefinitionCreated) WithPayload

WithPayload adds the payload to the update organization quota definition created response

func (*UpdateOrganizationQuotaDefinitionCreated) WriteResponse

WriteResponse to the client

type UpdateOrganizationQuotaDefinitionHandler

type UpdateOrganizationQuotaDefinitionHandler interface {
	Handle(UpdateOrganizationQuotaDefinitionParams) middleware.Responder
}

UpdateOrganizationQuotaDefinitionHandler interface for that can handle valid update organization quota definition params

type UpdateOrganizationQuotaDefinitionHandlerFunc

type UpdateOrganizationQuotaDefinitionHandlerFunc func(UpdateOrganizationQuotaDefinitionParams) middleware.Responder

UpdateOrganizationQuotaDefinitionHandlerFunc turns a function with the right signature into a update organization quota definition handler

func (UpdateOrganizationQuotaDefinitionHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateOrganizationQuotaDefinitionParams

type UpdateOrganizationQuotaDefinitionParams struct {

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

	/*The guid parameter is used as a part of the request URL: '/v2/quota_definitions/:guid'
	  Required: true
	  In: path
	*/
	GUID string
	/*An object instance that is serialized and sent as the request body.
	  Required: true
	  In: body
	*/
	Value *models.UpdateOrganizationQuotaDefinitionRequest
}

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

swagger:parameters updateOrganizationQuotaDefinition

func NewUpdateOrganizationQuotaDefinitionParams

func NewUpdateOrganizationQuotaDefinitionParams() UpdateOrganizationQuotaDefinitionParams

NewUpdateOrganizationQuotaDefinitionParams creates a new UpdateOrganizationQuotaDefinitionParams object no default values defined in spec.

func (*UpdateOrganizationQuotaDefinitionParams) 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 NewUpdateOrganizationQuotaDefinitionParams() beforehand.

type UpdateOrganizationQuotaDefinitionURL

type UpdateOrganizationQuotaDefinitionURL struct {
	GUID string
	// contains filtered or unexported fields
}

UpdateOrganizationQuotaDefinitionURL generates an URL for the update organization quota definition operation

func (*UpdateOrganizationQuotaDefinitionURL) Build

Build a url path and query string

func (*UpdateOrganizationQuotaDefinitionURL) BuildFull

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

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

func (*UpdateOrganizationQuotaDefinitionURL) Must

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

func (*UpdateOrganizationQuotaDefinitionURL) SetBasePath

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

String returns the string representation of the path with query string

func (*UpdateOrganizationQuotaDefinitionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateOrganizationQuotaDefinitionURL) WithBasePath

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