features

package
v0.0.0-...-a28b298 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for features API

func (*Client) RemoveOrganizationFeature

func (a *Client) RemoveOrganizationFeature(params *RemoveOrganizationFeatureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOrganizationFeatureOK, error)

RemoveOrganizationFeature removes organization feature

Removes an organization feature

func (*Client) SetOrganizationFeature

func (a *Client) SetOrganizationFeature(params *SetOrganizationFeatureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetOrganizationFeatureOK, error)

SetOrganizationFeature sets organization feature

Sets an organization feature

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	RemoveOrganizationFeature(params *RemoveOrganizationFeatureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveOrganizationFeatureOK, error)

	SetOrganizationFeature(params *SetOrganizationFeatureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetOrganizationFeatureOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new features API client.

type RemoveOrganizationFeatureOK

type RemoveOrganizationFeatureOK struct {
	Payload *models.ActivityResponse
}

RemoveOrganizationFeatureOK describes a response with status code 200, with default header values.

A successful response.

func NewRemoveOrganizationFeatureOK

func NewRemoveOrganizationFeatureOK() *RemoveOrganizationFeatureOK

NewRemoveOrganizationFeatureOK creates a RemoveOrganizationFeatureOK with default headers values

func (*RemoveOrganizationFeatureOK) Code

func (o *RemoveOrganizationFeatureOK) Code() int

Code gets the status code for the remove organization feature o k response

func (*RemoveOrganizationFeatureOK) Error

func (*RemoveOrganizationFeatureOK) GetPayload

func (*RemoveOrganizationFeatureOK) IsClientError

func (o *RemoveOrganizationFeatureOK) IsClientError() bool

IsClientError returns true when this remove organization feature o k response has a 4xx status code

func (*RemoveOrganizationFeatureOK) IsCode

func (o *RemoveOrganizationFeatureOK) IsCode(code int) bool

IsCode returns true when this remove organization feature o k response a status code equal to that given

func (*RemoveOrganizationFeatureOK) IsRedirect

func (o *RemoveOrganizationFeatureOK) IsRedirect() bool

IsRedirect returns true when this remove organization feature o k response has a 3xx status code

func (*RemoveOrganizationFeatureOK) IsServerError

func (o *RemoveOrganizationFeatureOK) IsServerError() bool

IsServerError returns true when this remove organization feature o k response has a 5xx status code

func (*RemoveOrganizationFeatureOK) IsSuccess

func (o *RemoveOrganizationFeatureOK) IsSuccess() bool

IsSuccess returns true when this remove organization feature o k response has a 2xx status code

func (*RemoveOrganizationFeatureOK) String

func (o *RemoveOrganizationFeatureOK) String() string

type RemoveOrganizationFeatureParams

type RemoveOrganizationFeatureParams struct {

	// Body.
	Body *models.RemoveOrganizationFeatureRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveOrganizationFeatureParams contains all the parameters to send to the API endpoint

for the remove organization feature operation.

Typically these are written to a http.Request.

func NewRemoveOrganizationFeatureParams

func NewRemoveOrganizationFeatureParams() *RemoveOrganizationFeatureParams

NewRemoveOrganizationFeatureParams creates a new RemoveOrganizationFeatureParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveOrganizationFeatureParamsWithContext

func NewRemoveOrganizationFeatureParamsWithContext(ctx context.Context) *RemoveOrganizationFeatureParams

NewRemoveOrganizationFeatureParamsWithContext creates a new RemoveOrganizationFeatureParams object with the ability to set a context for a request.

func NewRemoveOrganizationFeatureParamsWithHTTPClient

func NewRemoveOrganizationFeatureParamsWithHTTPClient(client *http.Client) *RemoveOrganizationFeatureParams

NewRemoveOrganizationFeatureParamsWithHTTPClient creates a new RemoveOrganizationFeatureParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveOrganizationFeatureParamsWithTimeout

func NewRemoveOrganizationFeatureParamsWithTimeout(timeout time.Duration) *RemoveOrganizationFeatureParams

NewRemoveOrganizationFeatureParamsWithTimeout creates a new RemoveOrganizationFeatureParams object with the ability to set a timeout on a request.

func (*RemoveOrganizationFeatureParams) SetBody

SetBody adds the body to the remove organization feature params

func (*RemoveOrganizationFeatureParams) SetContext

func (o *RemoveOrganizationFeatureParams) SetContext(ctx context.Context)

SetContext adds the context to the remove organization feature params

func (*RemoveOrganizationFeatureParams) SetDefaults

func (o *RemoveOrganizationFeatureParams) SetDefaults()

SetDefaults hydrates default values in the remove organization feature params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveOrganizationFeatureParams) SetHTTPClient

func (o *RemoveOrganizationFeatureParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove organization feature params

func (*RemoveOrganizationFeatureParams) SetTimeout

func (o *RemoveOrganizationFeatureParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove organization feature params

func (*RemoveOrganizationFeatureParams) WithBody

WithBody adds the body to the remove organization feature params

func (*RemoveOrganizationFeatureParams) WithContext

WithContext adds the context to the remove organization feature params

func (*RemoveOrganizationFeatureParams) WithDefaults

WithDefaults hydrates default values in the remove organization feature params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveOrganizationFeatureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove organization feature params

func (*RemoveOrganizationFeatureParams) WithTimeout

WithTimeout adds the timeout to the remove organization feature params

func (*RemoveOrganizationFeatureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveOrganizationFeatureReader

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

RemoveOrganizationFeatureReader is a Reader for the RemoveOrganizationFeature structure.

func (*RemoveOrganizationFeatureReader) ReadResponse

func (o *RemoveOrganizationFeatureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetOrganizationFeatureOK

type SetOrganizationFeatureOK struct {
	Payload *models.ActivityResponse
}

SetOrganizationFeatureOK describes a response with status code 200, with default header values.

A successful response.

func NewSetOrganizationFeatureOK

func NewSetOrganizationFeatureOK() *SetOrganizationFeatureOK

NewSetOrganizationFeatureOK creates a SetOrganizationFeatureOK with default headers values

func (*SetOrganizationFeatureOK) Code

func (o *SetOrganizationFeatureOK) Code() int

Code gets the status code for the set organization feature o k response

func (*SetOrganizationFeatureOK) Error

func (o *SetOrganizationFeatureOK) Error() string

func (*SetOrganizationFeatureOK) GetPayload

func (*SetOrganizationFeatureOK) IsClientError

func (o *SetOrganizationFeatureOK) IsClientError() bool

IsClientError returns true when this set organization feature o k response has a 4xx status code

func (*SetOrganizationFeatureOK) IsCode

func (o *SetOrganizationFeatureOK) IsCode(code int) bool

IsCode returns true when this set organization feature o k response a status code equal to that given

func (*SetOrganizationFeatureOK) IsRedirect

func (o *SetOrganizationFeatureOK) IsRedirect() bool

IsRedirect returns true when this set organization feature o k response has a 3xx status code

func (*SetOrganizationFeatureOK) IsServerError

func (o *SetOrganizationFeatureOK) IsServerError() bool

IsServerError returns true when this set organization feature o k response has a 5xx status code

func (*SetOrganizationFeatureOK) IsSuccess

func (o *SetOrganizationFeatureOK) IsSuccess() bool

IsSuccess returns true when this set organization feature o k response has a 2xx status code

func (*SetOrganizationFeatureOK) String

func (o *SetOrganizationFeatureOK) String() string

type SetOrganizationFeatureParams

type SetOrganizationFeatureParams struct {

	// Body.
	Body *models.SetOrganizationFeatureRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetOrganizationFeatureParams contains all the parameters to send to the API endpoint

for the set organization feature operation.

Typically these are written to a http.Request.

func NewSetOrganizationFeatureParams

func NewSetOrganizationFeatureParams() *SetOrganizationFeatureParams

NewSetOrganizationFeatureParams creates a new SetOrganizationFeatureParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetOrganizationFeatureParamsWithContext

func NewSetOrganizationFeatureParamsWithContext(ctx context.Context) *SetOrganizationFeatureParams

NewSetOrganizationFeatureParamsWithContext creates a new SetOrganizationFeatureParams object with the ability to set a context for a request.

func NewSetOrganizationFeatureParamsWithHTTPClient

func NewSetOrganizationFeatureParamsWithHTTPClient(client *http.Client) *SetOrganizationFeatureParams

NewSetOrganizationFeatureParamsWithHTTPClient creates a new SetOrganizationFeatureParams object with the ability to set a custom HTTPClient for a request.

func NewSetOrganizationFeatureParamsWithTimeout

func NewSetOrganizationFeatureParamsWithTimeout(timeout time.Duration) *SetOrganizationFeatureParams

NewSetOrganizationFeatureParamsWithTimeout creates a new SetOrganizationFeatureParams object with the ability to set a timeout on a request.

func (*SetOrganizationFeatureParams) SetBody

SetBody adds the body to the set organization feature params

func (*SetOrganizationFeatureParams) SetContext

func (o *SetOrganizationFeatureParams) SetContext(ctx context.Context)

SetContext adds the context to the set organization feature params

func (*SetOrganizationFeatureParams) SetDefaults

func (o *SetOrganizationFeatureParams) SetDefaults()

SetDefaults hydrates default values in the set organization feature params (not the query body).

All values with no default are reset to their zero value.

func (*SetOrganizationFeatureParams) SetHTTPClient

func (o *SetOrganizationFeatureParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set organization feature params

func (*SetOrganizationFeatureParams) SetTimeout

func (o *SetOrganizationFeatureParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set organization feature params

func (*SetOrganizationFeatureParams) WithBody

WithBody adds the body to the set organization feature params

func (*SetOrganizationFeatureParams) WithContext

WithContext adds the context to the set organization feature params

func (*SetOrganizationFeatureParams) WithDefaults

WithDefaults hydrates default values in the set organization feature params (not the query body).

All values with no default are reset to their zero value.

func (*SetOrganizationFeatureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set organization feature params

func (*SetOrganizationFeatureParams) WithTimeout

WithTimeout adds the timeout to the set organization feature params

func (*SetOrganizationFeatureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetOrganizationFeatureReader

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

SetOrganizationFeatureReader is a Reader for the SetOrganizationFeature structure.

func (*SetOrganizationFeatureReader) ReadResponse

func (o *SetOrganizationFeatureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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