addon

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: MIT 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 addon API

func (*Client) DeleteAddon

func (a *Client) DeleteAddon(params *DeleteAddonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAddonNoContent, error)
DeleteAddon Deletes the application for the user.

This endpoint is intended to be used by Bitbucket Connect apps and only supports JWT authentication -- that is how Bitbucket identifies the particular installation of the app. Developers with applications registered in the "Develop Apps" section of Bitbucket Marketplace need not use this endpoint as updates for those applications can be sent out via the UI of that section.

```

$ curl -X DELETE https://api.bitbucket.org/2.0/addon \
  -H "Authorization: JWT <JWT Token>"

```

func (*Client) DeleteAddonLinkersLinkerKeyValues

func (a *Client) DeleteAddonLinkersLinkerKeyValues(params *DeleteAddonLinkersLinkerKeyValuesParams, authInfo runtime.ClientAuthInfoWriter) error

DeleteAddonLinkersLinkerKeyValues delete addon linkers linker key values API

func (*Client) GetAddonLinkers

func (a *Client) GetAddonLinkers(params *GetAddonLinkersParams, authInfo runtime.ClientAuthInfoWriter) error

GetAddonLinkers get addon linkers API

func (*Client) GetAddonLinkersLinkerKey

func (a *Client) GetAddonLinkersLinkerKey(params *GetAddonLinkersLinkerKeyParams, authInfo runtime.ClientAuthInfoWriter) error

GetAddonLinkersLinkerKey get addon linkers linker key API

func (*Client) GetAddonLinkersLinkerKeyValues

func (a *Client) GetAddonLinkersLinkerKeyValues(params *GetAddonLinkersLinkerKeyValuesParams, authInfo runtime.ClientAuthInfoWriter) error

GetAddonLinkersLinkerKeyValues get addon linkers linker key values API

func (*Client) PostAddonLinkersLinkerKeyValues

func (a *Client) PostAddonLinkersLinkerKeyValues(params *PostAddonLinkersLinkerKeyValuesParams, authInfo runtime.ClientAuthInfoWriter) error

PostAddonLinkersLinkerKeyValues post addon linkers linker key values API

func (*Client) PostAddonUsersTargetUserEventsEventKey

PostAddonUsersTargetUserEventsEventKey POST a new custom event.

The data within the event body will be hydrated by Bitbucket. For example, the following event submission would result in subscribers for the event receiving the full repository object corresponding to the UUID.

```

$ curl -X POST -H "Content-Type: application/json" -d '{
    "mynumdata": "12345",
    "repository": {
        "type": "repository",
        "uuid": "{be95aa1f-c0b2-47f6-99d1-bf5d3a0f850f}"
}}' https://api.bitbucket.org/2.0/addon/users/myuser/events/com.example.app%3Amyevent

```

Use the optional `fields` property of the custom event Connect module where the event is defined to add additional fields to the expanded payload sent to listeners.

For example, the `customEvents` module in the app descriptor for the previous example would look like this:

```

'modules': {
    'customEvents': {
        'com.example.app:myevent': {
            'schema': {
                'properties': {
                    'mynumdata': {'type': 'number'},
                    'repository': {'$ref': '#/definitions/repository'}
                }
            },
            'fields': ['repository.owner']
        }
    }
}

```

By specifying fields as above, the repository owner will also be sent to subscribers of the event.

func (*Client) PutAddon

func (a *Client) PutAddon(params *PutAddonParams, authInfo runtime.ClientAuthInfoWriter) (*PutAddonNoContent, error)
PutAddon Updates the application installation for the user.

This endpoint is intended to be used by Bitbucket Connect apps and only supports JWT authentication -- that is how Bitbucket identifies the particular installation of the app. Developers with applications registered in the "Develop Apps" section of Bitbucket Marketplace need not use this endpoint as updates for those applications can be sent out via the UI of that section.

A new, valid descriptor must be provided in the body of the PUT request.

```

$ curl -X PUT https://api.bitbucket.org/2.0/addon \
  -H "Authorization: JWT <JWT Token>" \
  --header "Content-Type: application/json" \
  --data '{"descriptor": $NEW_DESCRIPTOR}'

```

Note that the scopes of the application cannot be increased in the new descriptor nor reduced to none.

func (*Client) PutAddonLinkersLinkerKeyValues

func (a *Client) PutAddonLinkersLinkerKeyValues(params *PutAddonLinkersLinkerKeyValuesParams, authInfo runtime.ClientAuthInfoWriter) error

PutAddonLinkersLinkerKeyValues put addon linkers linker key values API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAddon(params *DeleteAddonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAddonNoContent, error)

	DeleteAddonLinkersLinkerKeyValues(params *DeleteAddonLinkersLinkerKeyValuesParams, authInfo runtime.ClientAuthInfoWriter) error

	GetAddonLinkers(params *GetAddonLinkersParams, authInfo runtime.ClientAuthInfoWriter) error

	GetAddonLinkersLinkerKey(params *GetAddonLinkersLinkerKeyParams, authInfo runtime.ClientAuthInfoWriter) error

	GetAddonLinkersLinkerKeyValues(params *GetAddonLinkersLinkerKeyValuesParams, authInfo runtime.ClientAuthInfoWriter) error

	PostAddonLinkersLinkerKeyValues(params *PostAddonLinkersLinkerKeyValuesParams, authInfo runtime.ClientAuthInfoWriter) error

	PostAddonUsersTargetUserEventsEventKey(params *PostAddonUsersTargetUserEventsEventKeyParams, authInfo runtime.ClientAuthInfoWriter) (*PostAddonUsersTargetUserEventsEventKeyNoContent, error)

	PutAddon(params *PutAddonParams, authInfo runtime.ClientAuthInfoWriter) (*PutAddonNoContent, error)

	PutAddonLinkersLinkerKeyValues(params *PutAddonLinkersLinkerKeyValuesParams, authInfo runtime.ClientAuthInfoWriter) 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 addon API client.

type DeleteAddonForbidden

type DeleteAddonForbidden struct {
	Payload *models.Error
}

DeleteAddonForbidden handles this case with default header values.

Improper authentication.

func NewDeleteAddonForbidden

func NewDeleteAddonForbidden() *DeleteAddonForbidden

NewDeleteAddonForbidden creates a DeleteAddonForbidden with default headers values

func (*DeleteAddonForbidden) Error

func (o *DeleteAddonForbidden) Error() string

func (*DeleteAddonForbidden) GetPayload

func (o *DeleteAddonForbidden) GetPayload() *models.Error

type DeleteAddonLinkersLinkerKeyValuesDefault

type DeleteAddonLinkersLinkerKeyValuesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteAddonLinkersLinkerKeyValuesDefault handles this case with default header values.

Unexpected error.

func NewDeleteAddonLinkersLinkerKeyValuesDefault

func NewDeleteAddonLinkersLinkerKeyValuesDefault(code int) *DeleteAddonLinkersLinkerKeyValuesDefault

NewDeleteAddonLinkersLinkerKeyValuesDefault creates a DeleteAddonLinkersLinkerKeyValuesDefault with default headers values

func (*DeleteAddonLinkersLinkerKeyValuesDefault) Code

Code gets the status code for the delete addon linkers linker key values default response

func (*DeleteAddonLinkersLinkerKeyValuesDefault) Error

func (*DeleteAddonLinkersLinkerKeyValuesDefault) GetPayload

type DeleteAddonLinkersLinkerKeyValuesParams

type DeleteAddonLinkersLinkerKeyValuesParams struct {

	/*LinkerKey*/
	LinkerKey string

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

DeleteAddonLinkersLinkerKeyValuesParams contains all the parameters to send to the API endpoint for the delete addon linkers linker key values operation typically these are written to a http.Request

func NewDeleteAddonLinkersLinkerKeyValuesParams

func NewDeleteAddonLinkersLinkerKeyValuesParams() *DeleteAddonLinkersLinkerKeyValuesParams

NewDeleteAddonLinkersLinkerKeyValuesParams creates a new DeleteAddonLinkersLinkerKeyValuesParams object with the default values initialized.

func NewDeleteAddonLinkersLinkerKeyValuesParamsWithContext

func NewDeleteAddonLinkersLinkerKeyValuesParamsWithContext(ctx context.Context) *DeleteAddonLinkersLinkerKeyValuesParams

NewDeleteAddonLinkersLinkerKeyValuesParamsWithContext creates a new DeleteAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAddonLinkersLinkerKeyValuesParamsWithHTTPClient

func NewDeleteAddonLinkersLinkerKeyValuesParamsWithHTTPClient(client *http.Client) *DeleteAddonLinkersLinkerKeyValuesParams

NewDeleteAddonLinkersLinkerKeyValuesParamsWithHTTPClient creates a new DeleteAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAddonLinkersLinkerKeyValuesParamsWithTimeout

func NewDeleteAddonLinkersLinkerKeyValuesParamsWithTimeout(timeout time.Duration) *DeleteAddonLinkersLinkerKeyValuesParams

NewDeleteAddonLinkersLinkerKeyValuesParamsWithTimeout creates a new DeleteAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAddonLinkersLinkerKeyValuesParams) SetContext

SetContext adds the context to the delete addon linkers linker key values params

func (*DeleteAddonLinkersLinkerKeyValuesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete addon linkers linker key values params

func (*DeleteAddonLinkersLinkerKeyValuesParams) SetLinkerKey

func (o *DeleteAddonLinkersLinkerKeyValuesParams) SetLinkerKey(linkerKey string)

SetLinkerKey adds the linkerKey to the delete addon linkers linker key values params

func (*DeleteAddonLinkersLinkerKeyValuesParams) SetTimeout

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

SetTimeout adds the timeout to the delete addon linkers linker key values params

func (*DeleteAddonLinkersLinkerKeyValuesParams) WithContext

WithContext adds the context to the delete addon linkers linker key values params

func (*DeleteAddonLinkersLinkerKeyValuesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete addon linkers linker key values params

func (*DeleteAddonLinkersLinkerKeyValuesParams) WithLinkerKey

WithLinkerKey adds the linkerKey to the delete addon linkers linker key values params

func (*DeleteAddonLinkersLinkerKeyValuesParams) WithTimeout

WithTimeout adds the timeout to the delete addon linkers linker key values params

func (*DeleteAddonLinkersLinkerKeyValuesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAddonLinkersLinkerKeyValuesReader

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

DeleteAddonLinkersLinkerKeyValuesReader is a Reader for the DeleteAddonLinkersLinkerKeyValues structure.

func (*DeleteAddonLinkersLinkerKeyValuesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAddonNoContent

type DeleteAddonNoContent struct {
}

DeleteAddonNoContent handles this case with default header values.

Request has succeeded. The application has been deleted for the user.

func NewDeleteAddonNoContent

func NewDeleteAddonNoContent() *DeleteAddonNoContent

NewDeleteAddonNoContent creates a DeleteAddonNoContent with default headers values

func (*DeleteAddonNoContent) Error

func (o *DeleteAddonNoContent) Error() string

type DeleteAddonParams

type DeleteAddonParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAddonParams contains all the parameters to send to the API endpoint for the delete addon operation typically these are written to a http.Request

func NewDeleteAddonParams

func NewDeleteAddonParams() *DeleteAddonParams

NewDeleteAddonParams creates a new DeleteAddonParams object with the default values initialized.

func NewDeleteAddonParamsWithContext

func NewDeleteAddonParamsWithContext(ctx context.Context) *DeleteAddonParams

NewDeleteAddonParamsWithContext creates a new DeleteAddonParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAddonParamsWithHTTPClient

func NewDeleteAddonParamsWithHTTPClient(client *http.Client) *DeleteAddonParams

NewDeleteAddonParamsWithHTTPClient creates a new DeleteAddonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAddonParamsWithTimeout

func NewDeleteAddonParamsWithTimeout(timeout time.Duration) *DeleteAddonParams

NewDeleteAddonParamsWithTimeout creates a new DeleteAddonParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAddonParams) SetContext

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

SetContext adds the context to the delete addon params

func (*DeleteAddonParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete addon params

func (*DeleteAddonParams) SetTimeout

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

SetTimeout adds the timeout to the delete addon params

func (*DeleteAddonParams) WithContext

func (o *DeleteAddonParams) WithContext(ctx context.Context) *DeleteAddonParams

WithContext adds the context to the delete addon params

func (*DeleteAddonParams) WithHTTPClient

func (o *DeleteAddonParams) WithHTTPClient(client *http.Client) *DeleteAddonParams

WithHTTPClient adds the HTTPClient to the delete addon params

func (*DeleteAddonParams) WithTimeout

func (o *DeleteAddonParams) WithTimeout(timeout time.Duration) *DeleteAddonParams

WithTimeout adds the timeout to the delete addon params

func (*DeleteAddonParams) WriteToRequest

func (o *DeleteAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAddonReader

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

DeleteAddonReader is a Reader for the DeleteAddon structure.

func (*DeleteAddonReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAddonUnauthorized

type DeleteAddonUnauthorized struct {
	Payload *models.Error
}

DeleteAddonUnauthorized handles this case with default header values.

No authorization.

func NewDeleteAddonUnauthorized

func NewDeleteAddonUnauthorized() *DeleteAddonUnauthorized

NewDeleteAddonUnauthorized creates a DeleteAddonUnauthorized with default headers values

func (*DeleteAddonUnauthorized) Error

func (o *DeleteAddonUnauthorized) Error() string

func (*DeleteAddonUnauthorized) GetPayload

func (o *DeleteAddonUnauthorized) GetPayload() *models.Error

type GetAddonLinkersDefault

type GetAddonLinkersDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetAddonLinkersDefault handles this case with default header values.

Unexpected error.

func NewGetAddonLinkersDefault

func NewGetAddonLinkersDefault(code int) *GetAddonLinkersDefault

NewGetAddonLinkersDefault creates a GetAddonLinkersDefault with default headers values

func (*GetAddonLinkersDefault) Code

func (o *GetAddonLinkersDefault) Code() int

Code gets the status code for the get addon linkers default response

func (*GetAddonLinkersDefault) Error

func (o *GetAddonLinkersDefault) Error() string

func (*GetAddonLinkersDefault) GetPayload

func (o *GetAddonLinkersDefault) GetPayload() *models.Error

type GetAddonLinkersLinkerKeyDefault

type GetAddonLinkersLinkerKeyDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetAddonLinkersLinkerKeyDefault handles this case with default header values.

Unexpected error.

func NewGetAddonLinkersLinkerKeyDefault

func NewGetAddonLinkersLinkerKeyDefault(code int) *GetAddonLinkersLinkerKeyDefault

NewGetAddonLinkersLinkerKeyDefault creates a GetAddonLinkersLinkerKeyDefault with default headers values

func (*GetAddonLinkersLinkerKeyDefault) Code

Code gets the status code for the get addon linkers linker key default response

func (*GetAddonLinkersLinkerKeyDefault) Error

func (*GetAddonLinkersLinkerKeyDefault) GetPayload

func (o *GetAddonLinkersLinkerKeyDefault) GetPayload() *models.Error

type GetAddonLinkersLinkerKeyParams

type GetAddonLinkersLinkerKeyParams struct {

	/*LinkerKey*/
	LinkerKey string

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

GetAddonLinkersLinkerKeyParams contains all the parameters to send to the API endpoint for the get addon linkers linker key operation typically these are written to a http.Request

func NewGetAddonLinkersLinkerKeyParams

func NewGetAddonLinkersLinkerKeyParams() *GetAddonLinkersLinkerKeyParams

NewGetAddonLinkersLinkerKeyParams creates a new GetAddonLinkersLinkerKeyParams object with the default values initialized.

func NewGetAddonLinkersLinkerKeyParamsWithContext

func NewGetAddonLinkersLinkerKeyParamsWithContext(ctx context.Context) *GetAddonLinkersLinkerKeyParams

NewGetAddonLinkersLinkerKeyParamsWithContext creates a new GetAddonLinkersLinkerKeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetAddonLinkersLinkerKeyParamsWithHTTPClient

func NewGetAddonLinkersLinkerKeyParamsWithHTTPClient(client *http.Client) *GetAddonLinkersLinkerKeyParams

NewGetAddonLinkersLinkerKeyParamsWithHTTPClient creates a new GetAddonLinkersLinkerKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAddonLinkersLinkerKeyParamsWithTimeout

func NewGetAddonLinkersLinkerKeyParamsWithTimeout(timeout time.Duration) *GetAddonLinkersLinkerKeyParams

NewGetAddonLinkersLinkerKeyParamsWithTimeout creates a new GetAddonLinkersLinkerKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAddonLinkersLinkerKeyParams) SetContext

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

SetContext adds the context to the get addon linkers linker key params

func (*GetAddonLinkersLinkerKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get addon linkers linker key params

func (*GetAddonLinkersLinkerKeyParams) SetLinkerKey

func (o *GetAddonLinkersLinkerKeyParams) SetLinkerKey(linkerKey string)

SetLinkerKey adds the linkerKey to the get addon linkers linker key params

func (*GetAddonLinkersLinkerKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get addon linkers linker key params

func (*GetAddonLinkersLinkerKeyParams) WithContext

WithContext adds the context to the get addon linkers linker key params

func (*GetAddonLinkersLinkerKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get addon linkers linker key params

func (*GetAddonLinkersLinkerKeyParams) WithLinkerKey

WithLinkerKey adds the linkerKey to the get addon linkers linker key params

func (*GetAddonLinkersLinkerKeyParams) WithTimeout

WithTimeout adds the timeout to the get addon linkers linker key params

func (*GetAddonLinkersLinkerKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAddonLinkersLinkerKeyReader

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

GetAddonLinkersLinkerKeyReader is a Reader for the GetAddonLinkersLinkerKey structure.

func (*GetAddonLinkersLinkerKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAddonLinkersLinkerKeyValuesDefault

type GetAddonLinkersLinkerKeyValuesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetAddonLinkersLinkerKeyValuesDefault handles this case with default header values.

Unexpected error.

func NewGetAddonLinkersLinkerKeyValuesDefault

func NewGetAddonLinkersLinkerKeyValuesDefault(code int) *GetAddonLinkersLinkerKeyValuesDefault

NewGetAddonLinkersLinkerKeyValuesDefault creates a GetAddonLinkersLinkerKeyValuesDefault with default headers values

func (*GetAddonLinkersLinkerKeyValuesDefault) Code

Code gets the status code for the get addon linkers linker key values default response

func (*GetAddonLinkersLinkerKeyValuesDefault) Error

func (*GetAddonLinkersLinkerKeyValuesDefault) GetPayload

type GetAddonLinkersLinkerKeyValuesParams

type GetAddonLinkersLinkerKeyValuesParams struct {

	/*LinkerKey*/
	LinkerKey string

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

GetAddonLinkersLinkerKeyValuesParams contains all the parameters to send to the API endpoint for the get addon linkers linker key values operation typically these are written to a http.Request

func NewGetAddonLinkersLinkerKeyValuesParams

func NewGetAddonLinkersLinkerKeyValuesParams() *GetAddonLinkersLinkerKeyValuesParams

NewGetAddonLinkersLinkerKeyValuesParams creates a new GetAddonLinkersLinkerKeyValuesParams object with the default values initialized.

func NewGetAddonLinkersLinkerKeyValuesParamsWithContext

func NewGetAddonLinkersLinkerKeyValuesParamsWithContext(ctx context.Context) *GetAddonLinkersLinkerKeyValuesParams

NewGetAddonLinkersLinkerKeyValuesParamsWithContext creates a new GetAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a context for a request

func NewGetAddonLinkersLinkerKeyValuesParamsWithHTTPClient

func NewGetAddonLinkersLinkerKeyValuesParamsWithHTTPClient(client *http.Client) *GetAddonLinkersLinkerKeyValuesParams

NewGetAddonLinkersLinkerKeyValuesParamsWithHTTPClient creates a new GetAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAddonLinkersLinkerKeyValuesParamsWithTimeout

func NewGetAddonLinkersLinkerKeyValuesParamsWithTimeout(timeout time.Duration) *GetAddonLinkersLinkerKeyValuesParams

NewGetAddonLinkersLinkerKeyValuesParamsWithTimeout creates a new GetAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAddonLinkersLinkerKeyValuesParams) SetContext

SetContext adds the context to the get addon linkers linker key values params

func (*GetAddonLinkersLinkerKeyValuesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get addon linkers linker key values params

func (*GetAddonLinkersLinkerKeyValuesParams) SetLinkerKey

func (o *GetAddonLinkersLinkerKeyValuesParams) SetLinkerKey(linkerKey string)

SetLinkerKey adds the linkerKey to the get addon linkers linker key values params

func (*GetAddonLinkersLinkerKeyValuesParams) SetTimeout

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

SetTimeout adds the timeout to the get addon linkers linker key values params

func (*GetAddonLinkersLinkerKeyValuesParams) WithContext

WithContext adds the context to the get addon linkers linker key values params

func (*GetAddonLinkersLinkerKeyValuesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get addon linkers linker key values params

func (*GetAddonLinkersLinkerKeyValuesParams) WithLinkerKey

WithLinkerKey adds the linkerKey to the get addon linkers linker key values params

func (*GetAddonLinkersLinkerKeyValuesParams) WithTimeout

WithTimeout adds the timeout to the get addon linkers linker key values params

func (*GetAddonLinkersLinkerKeyValuesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAddonLinkersLinkerKeyValuesReader

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

GetAddonLinkersLinkerKeyValuesReader is a Reader for the GetAddonLinkersLinkerKeyValues structure.

func (*GetAddonLinkersLinkerKeyValuesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAddonLinkersParams

type GetAddonLinkersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAddonLinkersParams contains all the parameters to send to the API endpoint for the get addon linkers operation typically these are written to a http.Request

func NewGetAddonLinkersParams

func NewGetAddonLinkersParams() *GetAddonLinkersParams

NewGetAddonLinkersParams creates a new GetAddonLinkersParams object with the default values initialized.

func NewGetAddonLinkersParamsWithContext

func NewGetAddonLinkersParamsWithContext(ctx context.Context) *GetAddonLinkersParams

NewGetAddonLinkersParamsWithContext creates a new GetAddonLinkersParams object with the default values initialized, and the ability to set a context for a request

func NewGetAddonLinkersParamsWithHTTPClient

func NewGetAddonLinkersParamsWithHTTPClient(client *http.Client) *GetAddonLinkersParams

NewGetAddonLinkersParamsWithHTTPClient creates a new GetAddonLinkersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAddonLinkersParamsWithTimeout

func NewGetAddonLinkersParamsWithTimeout(timeout time.Duration) *GetAddonLinkersParams

NewGetAddonLinkersParamsWithTimeout creates a new GetAddonLinkersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAddonLinkersParams) SetContext

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

SetContext adds the context to the get addon linkers params

func (*GetAddonLinkersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get addon linkers params

func (*GetAddonLinkersParams) SetTimeout

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

SetTimeout adds the timeout to the get addon linkers params

func (*GetAddonLinkersParams) WithContext

WithContext adds the context to the get addon linkers params

func (*GetAddonLinkersParams) WithHTTPClient

func (o *GetAddonLinkersParams) WithHTTPClient(client *http.Client) *GetAddonLinkersParams

WithHTTPClient adds the HTTPClient to the get addon linkers params

func (*GetAddonLinkersParams) WithTimeout

func (o *GetAddonLinkersParams) WithTimeout(timeout time.Duration) *GetAddonLinkersParams

WithTimeout adds the timeout to the get addon linkers params

func (*GetAddonLinkersParams) WriteToRequest

func (o *GetAddonLinkersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAddonLinkersReader

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

GetAddonLinkersReader is a Reader for the GetAddonLinkers structure.

func (*GetAddonLinkersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAddonLinkersLinkerKeyValuesDefault

type PostAddonLinkersLinkerKeyValuesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PostAddonLinkersLinkerKeyValuesDefault handles this case with default header values.

Unexpected error.

func NewPostAddonLinkersLinkerKeyValuesDefault

func NewPostAddonLinkersLinkerKeyValuesDefault(code int) *PostAddonLinkersLinkerKeyValuesDefault

NewPostAddonLinkersLinkerKeyValuesDefault creates a PostAddonLinkersLinkerKeyValuesDefault with default headers values

func (*PostAddonLinkersLinkerKeyValuesDefault) Code

Code gets the status code for the post addon linkers linker key values default response

func (*PostAddonLinkersLinkerKeyValuesDefault) Error

func (*PostAddonLinkersLinkerKeyValuesDefault) GetPayload

type PostAddonLinkersLinkerKeyValuesParams

type PostAddonLinkersLinkerKeyValuesParams struct {

	/*LinkerKey*/
	LinkerKey string

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

PostAddonLinkersLinkerKeyValuesParams contains all the parameters to send to the API endpoint for the post addon linkers linker key values operation typically these are written to a http.Request

func NewPostAddonLinkersLinkerKeyValuesParams

func NewPostAddonLinkersLinkerKeyValuesParams() *PostAddonLinkersLinkerKeyValuesParams

NewPostAddonLinkersLinkerKeyValuesParams creates a new PostAddonLinkersLinkerKeyValuesParams object with the default values initialized.

func NewPostAddonLinkersLinkerKeyValuesParamsWithContext

func NewPostAddonLinkersLinkerKeyValuesParamsWithContext(ctx context.Context) *PostAddonLinkersLinkerKeyValuesParams

NewPostAddonLinkersLinkerKeyValuesParamsWithContext creates a new PostAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a context for a request

func NewPostAddonLinkersLinkerKeyValuesParamsWithHTTPClient

func NewPostAddonLinkersLinkerKeyValuesParamsWithHTTPClient(client *http.Client) *PostAddonLinkersLinkerKeyValuesParams

NewPostAddonLinkersLinkerKeyValuesParamsWithHTTPClient creates a new PostAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAddonLinkersLinkerKeyValuesParamsWithTimeout

func NewPostAddonLinkersLinkerKeyValuesParamsWithTimeout(timeout time.Duration) *PostAddonLinkersLinkerKeyValuesParams

NewPostAddonLinkersLinkerKeyValuesParamsWithTimeout creates a new PostAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAddonLinkersLinkerKeyValuesParams) SetContext

SetContext adds the context to the post addon linkers linker key values params

func (*PostAddonLinkersLinkerKeyValuesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post addon linkers linker key values params

func (*PostAddonLinkersLinkerKeyValuesParams) SetLinkerKey

func (o *PostAddonLinkersLinkerKeyValuesParams) SetLinkerKey(linkerKey string)

SetLinkerKey adds the linkerKey to the post addon linkers linker key values params

func (*PostAddonLinkersLinkerKeyValuesParams) SetTimeout

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

SetTimeout adds the timeout to the post addon linkers linker key values params

func (*PostAddonLinkersLinkerKeyValuesParams) WithContext

WithContext adds the context to the post addon linkers linker key values params

func (*PostAddonLinkersLinkerKeyValuesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post addon linkers linker key values params

func (*PostAddonLinkersLinkerKeyValuesParams) WithLinkerKey

WithLinkerKey adds the linkerKey to the post addon linkers linker key values params

func (*PostAddonLinkersLinkerKeyValuesParams) WithTimeout

WithTimeout adds the timeout to the post addon linkers linker key values params

func (*PostAddonLinkersLinkerKeyValuesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAddonLinkersLinkerKeyValuesReader

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

PostAddonLinkersLinkerKeyValuesReader is a Reader for the PostAddonLinkersLinkerKeyValues structure.

func (*PostAddonLinkersLinkerKeyValuesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAddonUsersTargetUserEventsEventKeyNoContent

type PostAddonUsersTargetUserEventsEventKeyNoContent struct {
}

PostAddonUsersTargetUserEventsEventKeyNoContent handles this case with default header values.

Event successfully submitted

func NewPostAddonUsersTargetUserEventsEventKeyNoContent

func NewPostAddonUsersTargetUserEventsEventKeyNoContent() *PostAddonUsersTargetUserEventsEventKeyNoContent

NewPostAddonUsersTargetUserEventsEventKeyNoContent creates a PostAddonUsersTargetUserEventsEventKeyNoContent with default headers values

func (*PostAddonUsersTargetUserEventsEventKeyNoContent) Error

type PostAddonUsersTargetUserEventsEventKeyNotFound

type PostAddonUsersTargetUserEventsEventKeyNotFound struct {
}

PostAddonUsersTargetUserEventsEventKeyNotFound handles this case with default header values.

Connect app not installed or event does not exist

func NewPostAddonUsersTargetUserEventsEventKeyNotFound

func NewPostAddonUsersTargetUserEventsEventKeyNotFound() *PostAddonUsersTargetUserEventsEventKeyNotFound

NewPostAddonUsersTargetUserEventsEventKeyNotFound creates a PostAddonUsersTargetUserEventsEventKeyNotFound with default headers values

func (*PostAddonUsersTargetUserEventsEventKeyNotFound) Error

type PostAddonUsersTargetUserEventsEventKeyParams

type PostAddonUsersTargetUserEventsEventKeyParams struct {

	/*EventKey
	  The key of the event, which corresponds to an event
	defined in the connect app descriptor.


	*/
	EventKey string
	/*TargetUser
	  The account the app is installed in.

	This can either be the username or the UUID of the account,
	surrounded by curly-braces, for example: `{account UUID}`. An account
	is either a team or user.


	*/
	TargetUser string

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

PostAddonUsersTargetUserEventsEventKeyParams contains all the parameters to send to the API endpoint for the post addon users target user events event key operation typically these are written to a http.Request

func NewPostAddonUsersTargetUserEventsEventKeyParams

func NewPostAddonUsersTargetUserEventsEventKeyParams() *PostAddonUsersTargetUserEventsEventKeyParams

NewPostAddonUsersTargetUserEventsEventKeyParams creates a new PostAddonUsersTargetUserEventsEventKeyParams object with the default values initialized.

func NewPostAddonUsersTargetUserEventsEventKeyParamsWithContext

func NewPostAddonUsersTargetUserEventsEventKeyParamsWithContext(ctx context.Context) *PostAddonUsersTargetUserEventsEventKeyParams

NewPostAddonUsersTargetUserEventsEventKeyParamsWithContext creates a new PostAddonUsersTargetUserEventsEventKeyParams object with the default values initialized, and the ability to set a context for a request

func NewPostAddonUsersTargetUserEventsEventKeyParamsWithHTTPClient

func NewPostAddonUsersTargetUserEventsEventKeyParamsWithHTTPClient(client *http.Client) *PostAddonUsersTargetUserEventsEventKeyParams

NewPostAddonUsersTargetUserEventsEventKeyParamsWithHTTPClient creates a new PostAddonUsersTargetUserEventsEventKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAddonUsersTargetUserEventsEventKeyParamsWithTimeout

func NewPostAddonUsersTargetUserEventsEventKeyParamsWithTimeout(timeout time.Duration) *PostAddonUsersTargetUserEventsEventKeyParams

NewPostAddonUsersTargetUserEventsEventKeyParamsWithTimeout creates a new PostAddonUsersTargetUserEventsEventKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAddonUsersTargetUserEventsEventKeyParams) SetContext

SetContext adds the context to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) SetEventKey

func (o *PostAddonUsersTargetUserEventsEventKeyParams) SetEventKey(eventKey string)

SetEventKey adds the eventKey to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) SetTargetUser

func (o *PostAddonUsersTargetUserEventsEventKeyParams) SetTargetUser(targetUser string)

SetTargetUser adds the targetUser to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) SetTimeout

SetTimeout adds the timeout to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) WithContext

WithContext adds the context to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) WithEventKey

WithEventKey adds the eventKey to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) WithTargetUser

WithTargetUser adds the targetUser to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) WithTimeout

WithTimeout adds the timeout to the post addon users target user events event key params

func (*PostAddonUsersTargetUserEventsEventKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAddonUsersTargetUserEventsEventKeyReader

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

PostAddonUsersTargetUserEventsEventKeyReader is a Reader for the PostAddonUsersTargetUserEventsEventKey structure.

func (*PostAddonUsersTargetUserEventsEventKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAddonBadRequest

type PutAddonBadRequest struct {
	Payload *models.Error
}

PutAddonBadRequest handles this case with default header values.

Scopes have increased or decreased to none.

func NewPutAddonBadRequest

func NewPutAddonBadRequest() *PutAddonBadRequest

NewPutAddonBadRequest creates a PutAddonBadRequest with default headers values

func (*PutAddonBadRequest) Error

func (o *PutAddonBadRequest) Error() string

func (*PutAddonBadRequest) GetPayload

func (o *PutAddonBadRequest) GetPayload() *models.Error

type PutAddonForbidden

type PutAddonForbidden struct {
	Payload *models.Error
}

PutAddonForbidden handles this case with default header values.

Improper authentication.

func NewPutAddonForbidden

func NewPutAddonForbidden() *PutAddonForbidden

NewPutAddonForbidden creates a PutAddonForbidden with default headers values

func (*PutAddonForbidden) Error

func (o *PutAddonForbidden) Error() string

func (*PutAddonForbidden) GetPayload

func (o *PutAddonForbidden) GetPayload() *models.Error

type PutAddonLinkersLinkerKeyValuesDefault

type PutAddonLinkersLinkerKeyValuesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutAddonLinkersLinkerKeyValuesDefault handles this case with default header values.

Unexpected error.

func NewPutAddonLinkersLinkerKeyValuesDefault

func NewPutAddonLinkersLinkerKeyValuesDefault(code int) *PutAddonLinkersLinkerKeyValuesDefault

NewPutAddonLinkersLinkerKeyValuesDefault creates a PutAddonLinkersLinkerKeyValuesDefault with default headers values

func (*PutAddonLinkersLinkerKeyValuesDefault) Code

Code gets the status code for the put addon linkers linker key values default response

func (*PutAddonLinkersLinkerKeyValuesDefault) Error

func (*PutAddonLinkersLinkerKeyValuesDefault) GetPayload

type PutAddonLinkersLinkerKeyValuesParams

type PutAddonLinkersLinkerKeyValuesParams struct {

	/*LinkerKey*/
	LinkerKey string

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

PutAddonLinkersLinkerKeyValuesParams contains all the parameters to send to the API endpoint for the put addon linkers linker key values operation typically these are written to a http.Request

func NewPutAddonLinkersLinkerKeyValuesParams

func NewPutAddonLinkersLinkerKeyValuesParams() *PutAddonLinkersLinkerKeyValuesParams

NewPutAddonLinkersLinkerKeyValuesParams creates a new PutAddonLinkersLinkerKeyValuesParams object with the default values initialized.

func NewPutAddonLinkersLinkerKeyValuesParamsWithContext

func NewPutAddonLinkersLinkerKeyValuesParamsWithContext(ctx context.Context) *PutAddonLinkersLinkerKeyValuesParams

NewPutAddonLinkersLinkerKeyValuesParamsWithContext creates a new PutAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a context for a request

func NewPutAddonLinkersLinkerKeyValuesParamsWithHTTPClient

func NewPutAddonLinkersLinkerKeyValuesParamsWithHTTPClient(client *http.Client) *PutAddonLinkersLinkerKeyValuesParams

NewPutAddonLinkersLinkerKeyValuesParamsWithHTTPClient creates a new PutAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutAddonLinkersLinkerKeyValuesParamsWithTimeout

func NewPutAddonLinkersLinkerKeyValuesParamsWithTimeout(timeout time.Duration) *PutAddonLinkersLinkerKeyValuesParams

NewPutAddonLinkersLinkerKeyValuesParamsWithTimeout creates a new PutAddonLinkersLinkerKeyValuesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutAddonLinkersLinkerKeyValuesParams) SetContext

SetContext adds the context to the put addon linkers linker key values params

func (*PutAddonLinkersLinkerKeyValuesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put addon linkers linker key values params

func (*PutAddonLinkersLinkerKeyValuesParams) SetLinkerKey

func (o *PutAddonLinkersLinkerKeyValuesParams) SetLinkerKey(linkerKey string)

SetLinkerKey adds the linkerKey to the put addon linkers linker key values params

func (*PutAddonLinkersLinkerKeyValuesParams) SetTimeout

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

SetTimeout adds the timeout to the put addon linkers linker key values params

func (*PutAddonLinkersLinkerKeyValuesParams) WithContext

WithContext adds the context to the put addon linkers linker key values params

func (*PutAddonLinkersLinkerKeyValuesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put addon linkers linker key values params

func (*PutAddonLinkersLinkerKeyValuesParams) WithLinkerKey

WithLinkerKey adds the linkerKey to the put addon linkers linker key values params

func (*PutAddonLinkersLinkerKeyValuesParams) WithTimeout

WithTimeout adds the timeout to the put addon linkers linker key values params

func (*PutAddonLinkersLinkerKeyValuesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAddonLinkersLinkerKeyValuesReader

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

PutAddonLinkersLinkerKeyValuesReader is a Reader for the PutAddonLinkersLinkerKeyValues structure.

func (*PutAddonLinkersLinkerKeyValuesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAddonNoContent

type PutAddonNoContent struct {
}

PutAddonNoContent handles this case with default header values.

Request has succeeded. The installation has been updated to the new descriptor.

func NewPutAddonNoContent

func NewPutAddonNoContent() *PutAddonNoContent

NewPutAddonNoContent creates a PutAddonNoContent with default headers values

func (*PutAddonNoContent) Error

func (o *PutAddonNoContent) Error() string

type PutAddonParams

type PutAddonParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutAddonParams contains all the parameters to send to the API endpoint for the put addon operation typically these are written to a http.Request

func NewPutAddonParams

func NewPutAddonParams() *PutAddonParams

NewPutAddonParams creates a new PutAddonParams object with the default values initialized.

func NewPutAddonParamsWithContext

func NewPutAddonParamsWithContext(ctx context.Context) *PutAddonParams

NewPutAddonParamsWithContext creates a new PutAddonParams object with the default values initialized, and the ability to set a context for a request

func NewPutAddonParamsWithHTTPClient

func NewPutAddonParamsWithHTTPClient(client *http.Client) *PutAddonParams

NewPutAddonParamsWithHTTPClient creates a new PutAddonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutAddonParamsWithTimeout

func NewPutAddonParamsWithTimeout(timeout time.Duration) *PutAddonParams

NewPutAddonParamsWithTimeout creates a new PutAddonParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutAddonParams) SetContext

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

SetContext adds the context to the put addon params

func (*PutAddonParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put addon params

func (*PutAddonParams) SetTimeout

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

SetTimeout adds the timeout to the put addon params

func (*PutAddonParams) WithContext

func (o *PutAddonParams) WithContext(ctx context.Context) *PutAddonParams

WithContext adds the context to the put addon params

func (*PutAddonParams) WithHTTPClient

func (o *PutAddonParams) WithHTTPClient(client *http.Client) *PutAddonParams

WithHTTPClient adds the HTTPClient to the put addon params

func (*PutAddonParams) WithTimeout

func (o *PutAddonParams) WithTimeout(timeout time.Duration) *PutAddonParams

WithTimeout adds the timeout to the put addon params

func (*PutAddonParams) WriteToRequest

func (o *PutAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutAddonReader

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

PutAddonReader is a Reader for the PutAddon structure.

func (*PutAddonReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAddonUnauthorized

type PutAddonUnauthorized struct {
	Payload *models.Error
}

PutAddonUnauthorized handles this case with default header values.

No authorization.

func NewPutAddonUnauthorized

func NewPutAddonUnauthorized() *PutAddonUnauthorized

NewPutAddonUnauthorized creates a PutAddonUnauthorized with default headers values

func (*PutAddonUnauthorized) Error

func (o *PutAddonUnauthorized) Error() string

func (*PutAddonUnauthorized) GetPayload

func (o *PutAddonUnauthorized) GetPayload() *models.Error

Jump to

Keyboard shortcuts

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