team

package
v0.0.0-...-9e5aecc Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: GPL-2.0 Imports: 11 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 team API

func (*Client) DeleteAPITeamsID

func (a *Client) DeleteAPITeamsID(params *DeleteAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDNoContent, error)

DeleteAPITeamsID deletes a team

func (*Client) DeleteAPITeamsIDActivitiesActivityID

func (a *Client) DeleteAPITeamsIDActivitiesActivityID(params *DeleteAPITeamsIDActivitiesActivityIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDActivitiesActivityIDOK, error)

DeleteAPITeamsIDActivitiesActivityID revokes access for an activity from a team

func (*Client) DeleteAPITeamsIDCustomersCustomerID

func (a *Client) DeleteAPITeamsIDCustomersCustomerID(params *DeleteAPITeamsIDCustomersCustomerIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDCustomersCustomerIDOK, error)

DeleteAPITeamsIDCustomersCustomerID revokes access for a customer from a team

func (*Client) DeleteAPITeamsIDMembersUserID

func (a *Client) DeleteAPITeamsIDMembersUserID(params *DeleteAPITeamsIDMembersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDMembersUserIDOK, error)

DeleteAPITeamsIDMembersUserID removes a member from the team

func (*Client) DeleteAPITeamsIDProjectsProjectID

func (a *Client) DeleteAPITeamsIDProjectsProjectID(params *DeleteAPITeamsIDProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDProjectsProjectIDOK, error)

DeleteAPITeamsIDProjectsProjectID revokes access for a project from a team

func (*Client) GetAPITeams

func (a *Client) GetAPITeams(params *GetAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITeamsOK, error)

GetAPITeams fetches all existing teams

func (*Client) GetAPITeamsID

func (a *Client) GetAPITeamsID(params *GetAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITeamsIDOK, error)

GetAPITeamsID returns one team

func (*Client) PatchAPITeamsID

func (a *Client) PatchAPITeamsID(params *PatchAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITeamsIDOK, error)

PatchAPITeamsID updates an existing team

Update an existing team, you can pass all or just a subset of all attributes (passing members will replace all existing ones)

func (*Client) PostAPITeams

func (a *Client) PostAPITeams(params *PostAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsOK, error)

PostAPITeams creates a new team

Creates a new team and returns it afterwards

func (*Client) PostAPITeamsIDActivitiesActivityID

func (a *Client) PostAPITeamsIDActivitiesActivityID(params *PostAPITeamsIDActivitiesActivityIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDActivitiesActivityIDOK, error)

PostAPITeamsIDActivitiesActivityID grants the team access to an activity

func (*Client) PostAPITeamsIDCustomersCustomerID

func (a *Client) PostAPITeamsIDCustomersCustomerID(params *PostAPITeamsIDCustomersCustomerIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDCustomersCustomerIDOK, error)

PostAPITeamsIDCustomersCustomerID grants the team access to a customer

func (*Client) PostAPITeamsIDMembersUserID

func (a *Client) PostAPITeamsIDMembersUserID(params *PostAPITeamsIDMembersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDMembersUserIDOK, error)

PostAPITeamsIDMembersUserID adds a new member to a team

func (*Client) PostAPITeamsIDProjectsProjectID

func (a *Client) PostAPITeamsIDProjectsProjectID(params *PostAPITeamsIDProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDProjectsProjectIDOK, error)

PostAPITeamsIDProjectsProjectID grants the team access to a project

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 {
	DeleteAPITeamsID(params *DeleteAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDNoContent, error)

	DeleteAPITeamsIDActivitiesActivityID(params *DeleteAPITeamsIDActivitiesActivityIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDActivitiesActivityIDOK, error)

	DeleteAPITeamsIDCustomersCustomerID(params *DeleteAPITeamsIDCustomersCustomerIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDCustomersCustomerIDOK, error)

	DeleteAPITeamsIDMembersUserID(params *DeleteAPITeamsIDMembersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDMembersUserIDOK, error)

	DeleteAPITeamsIDProjectsProjectID(params *DeleteAPITeamsIDProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDProjectsProjectIDOK, error)

	GetAPITeams(params *GetAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITeamsOK, error)

	GetAPITeamsID(params *GetAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITeamsIDOK, error)

	PatchAPITeamsID(params *PatchAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITeamsIDOK, error)

	PostAPITeams(params *PostAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsOK, error)

	PostAPITeamsIDActivitiesActivityID(params *PostAPITeamsIDActivitiesActivityIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDActivitiesActivityIDOK, error)

	PostAPITeamsIDCustomersCustomerID(params *PostAPITeamsIDCustomersCustomerIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDCustomersCustomerIDOK, error)

	PostAPITeamsIDMembersUserID(params *PostAPITeamsIDMembersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDMembersUserIDOK, error)

	PostAPITeamsIDProjectsProjectID(params *PostAPITeamsIDProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDProjectsProjectIDOK, 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 team API client.

type DeleteAPITeamsIDActivitiesActivityIDOK

type DeleteAPITeamsIDActivitiesActivityIDOK struct {
	Payload *models.Team
}

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

Removes a activity from the team.

func NewDeleteAPITeamsIDActivitiesActivityIDOK

func NewDeleteAPITeamsIDActivitiesActivityIDOK() *DeleteAPITeamsIDActivitiesActivityIDOK

NewDeleteAPITeamsIDActivitiesActivityIDOK creates a DeleteAPITeamsIDActivitiesActivityIDOK with default headers values

func (*DeleteAPITeamsIDActivitiesActivityIDOK) Error

func (*DeleteAPITeamsIDActivitiesActivityIDOK) GetPayload

func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsClientError

func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsClientError() bool

IsClientError returns true when this delete Api teams Id activities activity Id o k response has a 4xx status code

func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsCode

IsCode returns true when this delete Api teams Id activities activity Id o k response a status code equal to that given

func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsRedirect

IsRedirect returns true when this delete Api teams Id activities activity Id o k response has a 3xx status code

func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsServerError

func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsServerError() bool

IsServerError returns true when this delete Api teams Id activities activity Id o k response has a 5xx status code

func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsSuccess

IsSuccess returns true when this delete Api teams Id activities activity Id o k response has a 2xx status code

func (*DeleteAPITeamsIDActivitiesActivityIDOK) String

type DeleteAPITeamsIDActivitiesActivityIDParams

type DeleteAPITeamsIDActivitiesActivityIDParams struct {

	/* ActivityID.

	   The activity to remove (Activity ID)
	*/
	ActivityID int64

	/* ID.

	   The team whose permission will be revoked
	*/
	ID int64

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

DeleteAPITeamsIDActivitiesActivityIDParams contains all the parameters to send to the API endpoint

for the delete API teams ID activities activity ID operation.

Typically these are written to a http.Request.

func NewDeleteAPITeamsIDActivitiesActivityIDParams

func NewDeleteAPITeamsIDActivitiesActivityIDParams() *DeleteAPITeamsIDActivitiesActivityIDParams

NewDeleteAPITeamsIDActivitiesActivityIDParams creates a new DeleteAPITeamsIDActivitiesActivityIDParams 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 NewDeleteAPITeamsIDActivitiesActivityIDParamsWithContext

func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDActivitiesActivityIDParams

NewDeleteAPITeamsIDActivitiesActivityIDParamsWithContext creates a new DeleteAPITeamsIDActivitiesActivityIDParams object with the ability to set a context for a request.

func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithHTTPClient

func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDActivitiesActivityIDParams

NewDeleteAPITeamsIDActivitiesActivityIDParamsWithHTTPClient creates a new DeleteAPITeamsIDActivitiesActivityIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithTimeout

func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDActivitiesActivityIDParams

NewDeleteAPITeamsIDActivitiesActivityIDParamsWithTimeout creates a new DeleteAPITeamsIDActivitiesActivityIDParams object with the ability to set a timeout on a request.

func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetActivityID

func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetActivityID(activityID int64)

SetActivityID adds the activityId to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetContext

SetContext adds the context to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetDefaults

SetDefaults hydrates default values in the delete API teams ID activities activity ID params (not the query body).

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

func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetID

SetID adds the id to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetTimeout

SetTimeout adds the timeout to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithActivityID

WithActivityID adds the activityID to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithContext

WithContext adds the context to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithDefaults

WithDefaults hydrates default values in the delete API teams ID activities activity ID params (not the query body).

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

func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithID

WithID adds the id to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithTimeout

WithTimeout adds the timeout to the delete API teams ID activities activity ID params

func (*DeleteAPITeamsIDActivitiesActivityIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPITeamsIDActivitiesActivityIDReader

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

DeleteAPITeamsIDActivitiesActivityIDReader is a Reader for the DeleteAPITeamsIDActivitiesActivityID structure.

func (*DeleteAPITeamsIDActivitiesActivityIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPITeamsIDCustomersCustomerIDOK

type DeleteAPITeamsIDCustomersCustomerIDOK struct {
	Payload *models.Team
}

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

Removes a customer from the team.

func NewDeleteAPITeamsIDCustomersCustomerIDOK

func NewDeleteAPITeamsIDCustomersCustomerIDOK() *DeleteAPITeamsIDCustomersCustomerIDOK

NewDeleteAPITeamsIDCustomersCustomerIDOK creates a DeleteAPITeamsIDCustomersCustomerIDOK with default headers values

func (*DeleteAPITeamsIDCustomersCustomerIDOK) Error

func (*DeleteAPITeamsIDCustomersCustomerIDOK) GetPayload

func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsClientError

func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsClientError() bool

IsClientError returns true when this delete Api teams Id customers customer Id o k response has a 4xx status code

func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsCode

IsCode returns true when this delete Api teams Id customers customer Id o k response a status code equal to that given

func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsRedirect

IsRedirect returns true when this delete Api teams Id customers customer Id o k response has a 3xx status code

func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsServerError

func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsServerError() bool

IsServerError returns true when this delete Api teams Id customers customer Id o k response has a 5xx status code

func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsSuccess

IsSuccess returns true when this delete Api teams Id customers customer Id o k response has a 2xx status code

func (*DeleteAPITeamsIDCustomersCustomerIDOK) String

type DeleteAPITeamsIDCustomersCustomerIDParams

type DeleteAPITeamsIDCustomersCustomerIDParams struct {

	/* CustomerID.

	   The customer to remove (Customer ID)
	*/
	CustomerID int64

	/* ID.

	   The team whose permission will be revoked
	*/
	ID int64

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

DeleteAPITeamsIDCustomersCustomerIDParams contains all the parameters to send to the API endpoint

for the delete API teams ID customers customer ID operation.

Typically these are written to a http.Request.

func NewDeleteAPITeamsIDCustomersCustomerIDParams

func NewDeleteAPITeamsIDCustomersCustomerIDParams() *DeleteAPITeamsIDCustomersCustomerIDParams

NewDeleteAPITeamsIDCustomersCustomerIDParams creates a new DeleteAPITeamsIDCustomersCustomerIDParams 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 NewDeleteAPITeamsIDCustomersCustomerIDParamsWithContext

func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDCustomersCustomerIDParams

NewDeleteAPITeamsIDCustomersCustomerIDParamsWithContext creates a new DeleteAPITeamsIDCustomersCustomerIDParams object with the ability to set a context for a request.

func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithHTTPClient

func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDCustomersCustomerIDParams

NewDeleteAPITeamsIDCustomersCustomerIDParamsWithHTTPClient creates a new DeleteAPITeamsIDCustomersCustomerIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithTimeout

func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDCustomersCustomerIDParams

NewDeleteAPITeamsIDCustomersCustomerIDParamsWithTimeout creates a new DeleteAPITeamsIDCustomersCustomerIDParams object with the ability to set a timeout on a request.

func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetContext

SetContext adds the context to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetCustomerID

func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetCustomerID(customerID int64)

SetCustomerID adds the customerId to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetDefaults

SetDefaults hydrates default values in the delete API teams ID customers customer ID params (not the query body).

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

func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetID

SetID adds the id to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetTimeout

SetTimeout adds the timeout to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithContext

WithContext adds the context to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithCustomerID

WithCustomerID adds the customerID to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithDefaults

WithDefaults hydrates default values in the delete API teams ID customers customer ID params (not the query body).

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

func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithID

WithID adds the id to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithTimeout

WithTimeout adds the timeout to the delete API teams ID customers customer ID params

func (*DeleteAPITeamsIDCustomersCustomerIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPITeamsIDCustomersCustomerIDReader

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

DeleteAPITeamsIDCustomersCustomerIDReader is a Reader for the DeleteAPITeamsIDCustomersCustomerID structure.

func (*DeleteAPITeamsIDCustomersCustomerIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPITeamsIDMembersUserIDOK

type DeleteAPITeamsIDMembersUserIDOK struct {
	Payload *models.Team
}

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

Removes a user from the team. The teamlead cannot be removed.

func NewDeleteAPITeamsIDMembersUserIDOK

func NewDeleteAPITeamsIDMembersUserIDOK() *DeleteAPITeamsIDMembersUserIDOK

NewDeleteAPITeamsIDMembersUserIDOK creates a DeleteAPITeamsIDMembersUserIDOK with default headers values

func (*DeleteAPITeamsIDMembersUserIDOK) Error

func (*DeleteAPITeamsIDMembersUserIDOK) GetPayload

func (o *DeleteAPITeamsIDMembersUserIDOK) GetPayload() *models.Team

func (*DeleteAPITeamsIDMembersUserIDOK) IsClientError

func (o *DeleteAPITeamsIDMembersUserIDOK) IsClientError() bool

IsClientError returns true when this delete Api teams Id members user Id o k response has a 4xx status code

func (*DeleteAPITeamsIDMembersUserIDOK) IsCode

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

IsCode returns true when this delete Api teams Id members user Id o k response a status code equal to that given

func (*DeleteAPITeamsIDMembersUserIDOK) IsRedirect

func (o *DeleteAPITeamsIDMembersUserIDOK) IsRedirect() bool

IsRedirect returns true when this delete Api teams Id members user Id o k response has a 3xx status code

func (*DeleteAPITeamsIDMembersUserIDOK) IsServerError

func (o *DeleteAPITeamsIDMembersUserIDOK) IsServerError() bool

IsServerError returns true when this delete Api teams Id members user Id o k response has a 5xx status code

func (*DeleteAPITeamsIDMembersUserIDOK) IsSuccess

func (o *DeleteAPITeamsIDMembersUserIDOK) IsSuccess() bool

IsSuccess returns true when this delete Api teams Id members user Id o k response has a 2xx status code

func (*DeleteAPITeamsIDMembersUserIDOK) String

type DeleteAPITeamsIDMembersUserIDParams

type DeleteAPITeamsIDMembersUserIDParams struct {

	/* ID.

	   The team from which the member will be removed
	*/
	ID int64

	/* UserID.

	   The team member to remove (User ID)
	*/
	UserID int64

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

DeleteAPITeamsIDMembersUserIDParams contains all the parameters to send to the API endpoint

for the delete API teams ID members user ID operation.

Typically these are written to a http.Request.

func NewDeleteAPITeamsIDMembersUserIDParams

func NewDeleteAPITeamsIDMembersUserIDParams() *DeleteAPITeamsIDMembersUserIDParams

NewDeleteAPITeamsIDMembersUserIDParams creates a new DeleteAPITeamsIDMembersUserIDParams 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 NewDeleteAPITeamsIDMembersUserIDParamsWithContext

func NewDeleteAPITeamsIDMembersUserIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDMembersUserIDParams

NewDeleteAPITeamsIDMembersUserIDParamsWithContext creates a new DeleteAPITeamsIDMembersUserIDParams object with the ability to set a context for a request.

func NewDeleteAPITeamsIDMembersUserIDParamsWithHTTPClient

func NewDeleteAPITeamsIDMembersUserIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDMembersUserIDParams

NewDeleteAPITeamsIDMembersUserIDParamsWithHTTPClient creates a new DeleteAPITeamsIDMembersUserIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPITeamsIDMembersUserIDParamsWithTimeout

func NewDeleteAPITeamsIDMembersUserIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDMembersUserIDParams

NewDeleteAPITeamsIDMembersUserIDParamsWithTimeout creates a new DeleteAPITeamsIDMembersUserIDParams object with the ability to set a timeout on a request.

func (*DeleteAPITeamsIDMembersUserIDParams) SetContext

SetContext adds the context to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) SetDefaults

func (o *DeleteAPITeamsIDMembersUserIDParams) SetDefaults()

SetDefaults hydrates default values in the delete API teams ID members user ID params (not the query body).

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

func (*DeleteAPITeamsIDMembersUserIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) SetID

SetID adds the id to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) SetUserID

func (o *DeleteAPITeamsIDMembersUserIDParams) SetUserID(userID int64)

SetUserID adds the userId to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) WithContext

WithContext adds the context to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) WithDefaults

WithDefaults hydrates default values in the delete API teams ID members user ID params (not the query body).

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

func (*DeleteAPITeamsIDMembersUserIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) WithID

WithID adds the id to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) WithTimeout

WithTimeout adds the timeout to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) WithUserID

WithUserID adds the userID to the delete API teams ID members user ID params

func (*DeleteAPITeamsIDMembersUserIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPITeamsIDMembersUserIDReader

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

DeleteAPITeamsIDMembersUserIDReader is a Reader for the DeleteAPITeamsIDMembersUserID structure.

func (*DeleteAPITeamsIDMembersUserIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPITeamsIDNoContent

type DeleteAPITeamsIDNoContent struct {
}

DeleteAPITeamsIDNoContent describes a response with status code 204, with default header values.

Delete one team

func NewDeleteAPITeamsIDNoContent

func NewDeleteAPITeamsIDNoContent() *DeleteAPITeamsIDNoContent

NewDeleteAPITeamsIDNoContent creates a DeleteAPITeamsIDNoContent with default headers values

func (*DeleteAPITeamsIDNoContent) Error

func (o *DeleteAPITeamsIDNoContent) Error() string

func (*DeleteAPITeamsIDNoContent) IsClientError

func (o *DeleteAPITeamsIDNoContent) IsClientError() bool

IsClientError returns true when this delete Api teams Id no content response has a 4xx status code

func (*DeleteAPITeamsIDNoContent) IsCode

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

IsCode returns true when this delete Api teams Id no content response a status code equal to that given

func (*DeleteAPITeamsIDNoContent) IsRedirect

func (o *DeleteAPITeamsIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete Api teams Id no content response has a 3xx status code

func (*DeleteAPITeamsIDNoContent) IsServerError

func (o *DeleteAPITeamsIDNoContent) IsServerError() bool

IsServerError returns true when this delete Api teams Id no content response has a 5xx status code

func (*DeleteAPITeamsIDNoContent) IsSuccess

func (o *DeleteAPITeamsIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete Api teams Id no content response has a 2xx status code

func (*DeleteAPITeamsIDNoContent) String

func (o *DeleteAPITeamsIDNoContent) String() string

type DeleteAPITeamsIDParams

type DeleteAPITeamsIDParams struct {

	/* ID.

	   Team ID to delete
	*/
	ID int64

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

DeleteAPITeamsIDParams contains all the parameters to send to the API endpoint

for the delete API teams ID operation.

Typically these are written to a http.Request.

func NewDeleteAPITeamsIDParams

func NewDeleteAPITeamsIDParams() *DeleteAPITeamsIDParams

NewDeleteAPITeamsIDParams creates a new DeleteAPITeamsIDParams 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 NewDeleteAPITeamsIDParamsWithContext

func NewDeleteAPITeamsIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDParams

NewDeleteAPITeamsIDParamsWithContext creates a new DeleteAPITeamsIDParams object with the ability to set a context for a request.

func NewDeleteAPITeamsIDParamsWithHTTPClient

func NewDeleteAPITeamsIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDParams

NewDeleteAPITeamsIDParamsWithHTTPClient creates a new DeleteAPITeamsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPITeamsIDParamsWithTimeout

func NewDeleteAPITeamsIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDParams

NewDeleteAPITeamsIDParamsWithTimeout creates a new DeleteAPITeamsIDParams object with the ability to set a timeout on a request.

func (*DeleteAPITeamsIDParams) SetContext

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

SetContext adds the context to the delete API teams ID params

func (*DeleteAPITeamsIDParams) SetDefaults

func (o *DeleteAPITeamsIDParams) SetDefaults()

SetDefaults hydrates default values in the delete API teams ID params (not the query body).

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

func (*DeleteAPITeamsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API teams ID params

func (*DeleteAPITeamsIDParams) SetID

func (o *DeleteAPITeamsIDParams) SetID(id int64)

SetID adds the id to the delete API teams ID params

func (*DeleteAPITeamsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete API teams ID params

func (*DeleteAPITeamsIDParams) WithContext

WithContext adds the context to the delete API teams ID params

func (*DeleteAPITeamsIDParams) WithDefaults

WithDefaults hydrates default values in the delete API teams ID params (not the query body).

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

func (*DeleteAPITeamsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete API teams ID params

func (*DeleteAPITeamsIDParams) WithID

WithID adds the id to the delete API teams ID params

func (*DeleteAPITeamsIDParams) WithTimeout

WithTimeout adds the timeout to the delete API teams ID params

func (*DeleteAPITeamsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPITeamsIDProjectsProjectIDOK

type DeleteAPITeamsIDProjectsProjectIDOK struct {
	Payload *models.Team
}

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

Removes a project from the team.

func NewDeleteAPITeamsIDProjectsProjectIDOK

func NewDeleteAPITeamsIDProjectsProjectIDOK() *DeleteAPITeamsIDProjectsProjectIDOK

NewDeleteAPITeamsIDProjectsProjectIDOK creates a DeleteAPITeamsIDProjectsProjectIDOK with default headers values

func (*DeleteAPITeamsIDProjectsProjectIDOK) Error

func (*DeleteAPITeamsIDProjectsProjectIDOK) GetPayload

func (*DeleteAPITeamsIDProjectsProjectIDOK) IsClientError

func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsClientError() bool

IsClientError returns true when this delete Api teams Id projects project Id o k response has a 4xx status code

func (*DeleteAPITeamsIDProjectsProjectIDOK) IsCode

IsCode returns true when this delete Api teams Id projects project Id o k response a status code equal to that given

func (*DeleteAPITeamsIDProjectsProjectIDOK) IsRedirect

func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsRedirect() bool

IsRedirect returns true when this delete Api teams Id projects project Id o k response has a 3xx status code

func (*DeleteAPITeamsIDProjectsProjectIDOK) IsServerError

func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsServerError() bool

IsServerError returns true when this delete Api teams Id projects project Id o k response has a 5xx status code

func (*DeleteAPITeamsIDProjectsProjectIDOK) IsSuccess

IsSuccess returns true when this delete Api teams Id projects project Id o k response has a 2xx status code

func (*DeleteAPITeamsIDProjectsProjectIDOK) String

type DeleteAPITeamsIDProjectsProjectIDParams

type DeleteAPITeamsIDProjectsProjectIDParams struct {

	/* ID.

	   The team whose permission will be revoked
	*/
	ID int64

	/* ProjectID.

	   The project to remove (Project ID)
	*/
	ProjectID int64

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

DeleteAPITeamsIDProjectsProjectIDParams contains all the parameters to send to the API endpoint

for the delete API teams ID projects project ID operation.

Typically these are written to a http.Request.

func NewDeleteAPITeamsIDProjectsProjectIDParams

func NewDeleteAPITeamsIDProjectsProjectIDParams() *DeleteAPITeamsIDProjectsProjectIDParams

NewDeleteAPITeamsIDProjectsProjectIDParams creates a new DeleteAPITeamsIDProjectsProjectIDParams 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 NewDeleteAPITeamsIDProjectsProjectIDParamsWithContext

func NewDeleteAPITeamsIDProjectsProjectIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDProjectsProjectIDParams

NewDeleteAPITeamsIDProjectsProjectIDParamsWithContext creates a new DeleteAPITeamsIDProjectsProjectIDParams object with the ability to set a context for a request.

func NewDeleteAPITeamsIDProjectsProjectIDParamsWithHTTPClient

func NewDeleteAPITeamsIDProjectsProjectIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDProjectsProjectIDParams

NewDeleteAPITeamsIDProjectsProjectIDParamsWithHTTPClient creates a new DeleteAPITeamsIDProjectsProjectIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPITeamsIDProjectsProjectIDParamsWithTimeout

func NewDeleteAPITeamsIDProjectsProjectIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDProjectsProjectIDParams

NewDeleteAPITeamsIDProjectsProjectIDParamsWithTimeout creates a new DeleteAPITeamsIDProjectsProjectIDParams object with the ability to set a timeout on a request.

func (*DeleteAPITeamsIDProjectsProjectIDParams) SetContext

SetContext adds the context to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) SetDefaults

func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetDefaults()

SetDefaults hydrates default values in the delete API teams ID projects project ID params (not the query body).

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

func (*DeleteAPITeamsIDProjectsProjectIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) SetID

SetID adds the id to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) SetProjectID

func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) WithContext

WithContext adds the context to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) WithDefaults

WithDefaults hydrates default values in the delete API teams ID projects project ID params (not the query body).

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

func (*DeleteAPITeamsIDProjectsProjectIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) WithID

WithID adds the id to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) WithProjectID

WithProjectID adds the projectID to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) WithTimeout

WithTimeout adds the timeout to the delete API teams ID projects project ID params

func (*DeleteAPITeamsIDProjectsProjectIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPITeamsIDProjectsProjectIDReader

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

DeleteAPITeamsIDProjectsProjectIDReader is a Reader for the DeleteAPITeamsIDProjectsProjectID structure.

func (*DeleteAPITeamsIDProjectsProjectIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPITeamsIDReader

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

DeleteAPITeamsIDReader is a Reader for the DeleteAPITeamsID structure.

func (*DeleteAPITeamsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPITeamsIDOK

type GetAPITeamsIDOK struct {
	Payload *models.Team
}

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

Returns one team entity

func NewGetAPITeamsIDOK

func NewGetAPITeamsIDOK() *GetAPITeamsIDOK

NewGetAPITeamsIDOK creates a GetAPITeamsIDOK with default headers values

func (*GetAPITeamsIDOK) Error

func (o *GetAPITeamsIDOK) Error() string

func (*GetAPITeamsIDOK) GetPayload

func (o *GetAPITeamsIDOK) GetPayload() *models.Team

func (*GetAPITeamsIDOK) IsClientError

func (o *GetAPITeamsIDOK) IsClientError() bool

IsClientError returns true when this get Api teams Id o k response has a 4xx status code

func (*GetAPITeamsIDOK) IsCode

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

IsCode returns true when this get Api teams Id o k response a status code equal to that given

func (*GetAPITeamsIDOK) IsRedirect

func (o *GetAPITeamsIDOK) IsRedirect() bool

IsRedirect returns true when this get Api teams Id o k response has a 3xx status code

func (*GetAPITeamsIDOK) IsServerError

func (o *GetAPITeamsIDOK) IsServerError() bool

IsServerError returns true when this get Api teams Id o k response has a 5xx status code

func (*GetAPITeamsIDOK) IsSuccess

func (o *GetAPITeamsIDOK) IsSuccess() bool

IsSuccess returns true when this get Api teams Id o k response has a 2xx status code

func (*GetAPITeamsIDOK) String

func (o *GetAPITeamsIDOK) String() string

type GetAPITeamsIDParams

type GetAPITeamsIDParams struct {

	// ID.
	ID string

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

GetAPITeamsIDParams contains all the parameters to send to the API endpoint

for the get API teams ID operation.

Typically these are written to a http.Request.

func NewGetAPITeamsIDParams

func NewGetAPITeamsIDParams() *GetAPITeamsIDParams

NewGetAPITeamsIDParams creates a new GetAPITeamsIDParams 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 NewGetAPITeamsIDParamsWithContext

func NewGetAPITeamsIDParamsWithContext(ctx context.Context) *GetAPITeamsIDParams

NewGetAPITeamsIDParamsWithContext creates a new GetAPITeamsIDParams object with the ability to set a context for a request.

func NewGetAPITeamsIDParamsWithHTTPClient

func NewGetAPITeamsIDParamsWithHTTPClient(client *http.Client) *GetAPITeamsIDParams

NewGetAPITeamsIDParamsWithHTTPClient creates a new GetAPITeamsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPITeamsIDParamsWithTimeout

func NewGetAPITeamsIDParamsWithTimeout(timeout time.Duration) *GetAPITeamsIDParams

NewGetAPITeamsIDParamsWithTimeout creates a new GetAPITeamsIDParams object with the ability to set a timeout on a request.

func (*GetAPITeamsIDParams) SetContext

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

SetContext adds the context to the get API teams ID params

func (*GetAPITeamsIDParams) SetDefaults

func (o *GetAPITeamsIDParams) SetDefaults()

SetDefaults hydrates default values in the get API teams ID params (not the query body).

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

func (*GetAPITeamsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API teams ID params

func (*GetAPITeamsIDParams) SetID

func (o *GetAPITeamsIDParams) SetID(id string)

SetID adds the id to the get API teams ID params

func (*GetAPITeamsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get API teams ID params

func (*GetAPITeamsIDParams) WithContext

WithContext adds the context to the get API teams ID params

func (*GetAPITeamsIDParams) WithDefaults

func (o *GetAPITeamsIDParams) WithDefaults() *GetAPITeamsIDParams

WithDefaults hydrates default values in the get API teams ID params (not the query body).

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

func (*GetAPITeamsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API teams ID params

func (*GetAPITeamsIDParams) WithID

WithID adds the id to the get API teams ID params

func (*GetAPITeamsIDParams) WithTimeout

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

WithTimeout adds the timeout to the get API teams ID params

func (*GetAPITeamsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPITeamsIDReader

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

GetAPITeamsIDReader is a Reader for the GetAPITeamsID structure.

func (*GetAPITeamsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPITeamsOK

type GetAPITeamsOK struct {
	Payload []*models.TeamCollection
}

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

Returns the collection of all existing teams

func NewGetAPITeamsOK

func NewGetAPITeamsOK() *GetAPITeamsOK

NewGetAPITeamsOK creates a GetAPITeamsOK with default headers values

func (*GetAPITeamsOK) Error

func (o *GetAPITeamsOK) Error() string

func (*GetAPITeamsOK) GetPayload

func (o *GetAPITeamsOK) GetPayload() []*models.TeamCollection

func (*GetAPITeamsOK) IsClientError

func (o *GetAPITeamsOK) IsClientError() bool

IsClientError returns true when this get Api teams o k response has a 4xx status code

func (*GetAPITeamsOK) IsCode

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

IsCode returns true when this get Api teams o k response a status code equal to that given

func (*GetAPITeamsOK) IsRedirect

func (o *GetAPITeamsOK) IsRedirect() bool

IsRedirect returns true when this get Api teams o k response has a 3xx status code

func (*GetAPITeamsOK) IsServerError

func (o *GetAPITeamsOK) IsServerError() bool

IsServerError returns true when this get Api teams o k response has a 5xx status code

func (*GetAPITeamsOK) IsSuccess

func (o *GetAPITeamsOK) IsSuccess() bool

IsSuccess returns true when this get Api teams o k response has a 2xx status code

func (*GetAPITeamsOK) String

func (o *GetAPITeamsOK) String() string

type GetAPITeamsParams

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

GetAPITeamsParams contains all the parameters to send to the API endpoint

for the get API teams operation.

Typically these are written to a http.Request.

func NewGetAPITeamsParams

func NewGetAPITeamsParams() *GetAPITeamsParams

NewGetAPITeamsParams creates a new GetAPITeamsParams 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 NewGetAPITeamsParamsWithContext

func NewGetAPITeamsParamsWithContext(ctx context.Context) *GetAPITeamsParams

NewGetAPITeamsParamsWithContext creates a new GetAPITeamsParams object with the ability to set a context for a request.

func NewGetAPITeamsParamsWithHTTPClient

func NewGetAPITeamsParamsWithHTTPClient(client *http.Client) *GetAPITeamsParams

NewGetAPITeamsParamsWithHTTPClient creates a new GetAPITeamsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPITeamsParamsWithTimeout

func NewGetAPITeamsParamsWithTimeout(timeout time.Duration) *GetAPITeamsParams

NewGetAPITeamsParamsWithTimeout creates a new GetAPITeamsParams object with the ability to set a timeout on a request.

func (*GetAPITeamsParams) SetContext

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

SetContext adds the context to the get API teams params

func (*GetAPITeamsParams) SetDefaults

func (o *GetAPITeamsParams) SetDefaults()

SetDefaults hydrates default values in the get API teams params (not the query body).

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

func (*GetAPITeamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API teams params

func (*GetAPITeamsParams) SetTimeout

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

SetTimeout adds the timeout to the get API teams params

func (*GetAPITeamsParams) WithContext

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

WithContext adds the context to the get API teams params

func (*GetAPITeamsParams) WithDefaults

func (o *GetAPITeamsParams) WithDefaults() *GetAPITeamsParams

WithDefaults hydrates default values in the get API teams params (not the query body).

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

func (*GetAPITeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API teams params

func (*GetAPITeamsParams) WithTimeout

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

WithTimeout adds the timeout to the get API teams params

func (*GetAPITeamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPITeamsReader

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

GetAPITeamsReader is a Reader for the GetAPITeams structure.

func (*GetAPITeamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPITeamsIDOK

type PatchAPITeamsIDOK struct {
	Payload *models.Team
}

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

Returns the updated team

func NewPatchAPITeamsIDOK

func NewPatchAPITeamsIDOK() *PatchAPITeamsIDOK

NewPatchAPITeamsIDOK creates a PatchAPITeamsIDOK with default headers values

func (*PatchAPITeamsIDOK) Error

func (o *PatchAPITeamsIDOK) Error() string

func (*PatchAPITeamsIDOK) GetPayload

func (o *PatchAPITeamsIDOK) GetPayload() *models.Team

func (*PatchAPITeamsIDOK) IsClientError

func (o *PatchAPITeamsIDOK) IsClientError() bool

IsClientError returns true when this patch Api teams Id o k response has a 4xx status code

func (*PatchAPITeamsIDOK) IsCode

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

IsCode returns true when this patch Api teams Id o k response a status code equal to that given

func (*PatchAPITeamsIDOK) IsRedirect

func (o *PatchAPITeamsIDOK) IsRedirect() bool

IsRedirect returns true when this patch Api teams Id o k response has a 3xx status code

func (*PatchAPITeamsIDOK) IsServerError

func (o *PatchAPITeamsIDOK) IsServerError() bool

IsServerError returns true when this patch Api teams Id o k response has a 5xx status code

func (*PatchAPITeamsIDOK) IsSuccess

func (o *PatchAPITeamsIDOK) IsSuccess() bool

IsSuccess returns true when this patch Api teams Id o k response has a 2xx status code

func (*PatchAPITeamsIDOK) String

func (o *PatchAPITeamsIDOK) String() string

type PatchAPITeamsIDParams

type PatchAPITeamsIDParams struct {

	// Body.
	Body *models.TeamEditForm

	/* ID.

	   Team ID to update
	*/
	ID int64

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

PatchAPITeamsIDParams contains all the parameters to send to the API endpoint

for the patch API teams ID operation.

Typically these are written to a http.Request.

func NewPatchAPITeamsIDParams

func NewPatchAPITeamsIDParams() *PatchAPITeamsIDParams

NewPatchAPITeamsIDParams creates a new PatchAPITeamsIDParams 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 NewPatchAPITeamsIDParamsWithContext

func NewPatchAPITeamsIDParamsWithContext(ctx context.Context) *PatchAPITeamsIDParams

NewPatchAPITeamsIDParamsWithContext creates a new PatchAPITeamsIDParams object with the ability to set a context for a request.

func NewPatchAPITeamsIDParamsWithHTTPClient

func NewPatchAPITeamsIDParamsWithHTTPClient(client *http.Client) *PatchAPITeamsIDParams

NewPatchAPITeamsIDParamsWithHTTPClient creates a new PatchAPITeamsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPITeamsIDParamsWithTimeout

func NewPatchAPITeamsIDParamsWithTimeout(timeout time.Duration) *PatchAPITeamsIDParams

NewPatchAPITeamsIDParamsWithTimeout creates a new PatchAPITeamsIDParams object with the ability to set a timeout on a request.

func (*PatchAPITeamsIDParams) SetBody

func (o *PatchAPITeamsIDParams) SetBody(body *models.TeamEditForm)

SetBody adds the body to the patch API teams ID params

func (*PatchAPITeamsIDParams) SetContext

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

SetContext adds the context to the patch API teams ID params

func (*PatchAPITeamsIDParams) SetDefaults

func (o *PatchAPITeamsIDParams) SetDefaults()

SetDefaults hydrates default values in the patch API teams ID params (not the query body).

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

func (*PatchAPITeamsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API teams ID params

func (*PatchAPITeamsIDParams) SetID

func (o *PatchAPITeamsIDParams) SetID(id int64)

SetID adds the id to the patch API teams ID params

func (*PatchAPITeamsIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch API teams ID params

func (*PatchAPITeamsIDParams) WithBody

WithBody adds the body to the patch API teams ID params

func (*PatchAPITeamsIDParams) WithContext

WithContext adds the context to the patch API teams ID params

func (*PatchAPITeamsIDParams) WithDefaults

func (o *PatchAPITeamsIDParams) WithDefaults() *PatchAPITeamsIDParams

WithDefaults hydrates default values in the patch API teams ID params (not the query body).

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

func (*PatchAPITeamsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch API teams ID params

func (*PatchAPITeamsIDParams) WithID

WithID adds the id to the patch API teams ID params

func (*PatchAPITeamsIDParams) WithTimeout

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

WithTimeout adds the timeout to the patch API teams ID params

func (*PatchAPITeamsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchAPITeamsIDReader

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

PatchAPITeamsIDReader is a Reader for the PatchAPITeamsID structure.

func (*PatchAPITeamsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPITeamsIDActivitiesActivityIDOK

type PostAPITeamsIDActivitiesActivityIDOK struct {
	Payload *models.Team
}

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

Adds a new activity to a team.

func NewPostAPITeamsIDActivitiesActivityIDOK

func NewPostAPITeamsIDActivitiesActivityIDOK() *PostAPITeamsIDActivitiesActivityIDOK

NewPostAPITeamsIDActivitiesActivityIDOK creates a PostAPITeamsIDActivitiesActivityIDOK with default headers values

func (*PostAPITeamsIDActivitiesActivityIDOK) Error

func (*PostAPITeamsIDActivitiesActivityIDOK) GetPayload

func (*PostAPITeamsIDActivitiesActivityIDOK) IsClientError

func (o *PostAPITeamsIDActivitiesActivityIDOK) IsClientError() bool

IsClientError returns true when this post Api teams Id activities activity Id o k response has a 4xx status code

func (*PostAPITeamsIDActivitiesActivityIDOK) IsCode

IsCode returns true when this post Api teams Id activities activity Id o k response a status code equal to that given

func (*PostAPITeamsIDActivitiesActivityIDOK) IsRedirect

IsRedirect returns true when this post Api teams Id activities activity Id o k response has a 3xx status code

func (*PostAPITeamsIDActivitiesActivityIDOK) IsServerError

func (o *PostAPITeamsIDActivitiesActivityIDOK) IsServerError() bool

IsServerError returns true when this post Api teams Id activities activity Id o k response has a 5xx status code

func (*PostAPITeamsIDActivitiesActivityIDOK) IsSuccess

IsSuccess returns true when this post Api teams Id activities activity Id o k response has a 2xx status code

func (*PostAPITeamsIDActivitiesActivityIDOK) String

type PostAPITeamsIDActivitiesActivityIDParams

type PostAPITeamsIDActivitiesActivityIDParams struct {

	/* ActivityID.

	   The activity to grant acecess to (Activity ID)
	*/
	ActivityID int64

	/* ID.

	   The team that is granted access
	*/
	ID int64

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

PostAPITeamsIDActivitiesActivityIDParams contains all the parameters to send to the API endpoint

for the post API teams ID activities activity ID operation.

Typically these are written to a http.Request.

func NewPostAPITeamsIDActivitiesActivityIDParams

func NewPostAPITeamsIDActivitiesActivityIDParams() *PostAPITeamsIDActivitiesActivityIDParams

NewPostAPITeamsIDActivitiesActivityIDParams creates a new PostAPITeamsIDActivitiesActivityIDParams 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 NewPostAPITeamsIDActivitiesActivityIDParamsWithContext

func NewPostAPITeamsIDActivitiesActivityIDParamsWithContext(ctx context.Context) *PostAPITeamsIDActivitiesActivityIDParams

NewPostAPITeamsIDActivitiesActivityIDParamsWithContext creates a new PostAPITeamsIDActivitiesActivityIDParams object with the ability to set a context for a request.

func NewPostAPITeamsIDActivitiesActivityIDParamsWithHTTPClient

func NewPostAPITeamsIDActivitiesActivityIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDActivitiesActivityIDParams

NewPostAPITeamsIDActivitiesActivityIDParamsWithHTTPClient creates a new PostAPITeamsIDActivitiesActivityIDParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPITeamsIDActivitiesActivityIDParamsWithTimeout

func NewPostAPITeamsIDActivitiesActivityIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDActivitiesActivityIDParams

NewPostAPITeamsIDActivitiesActivityIDParamsWithTimeout creates a new PostAPITeamsIDActivitiesActivityIDParams object with the ability to set a timeout on a request.

func (*PostAPITeamsIDActivitiesActivityIDParams) SetActivityID

func (o *PostAPITeamsIDActivitiesActivityIDParams) SetActivityID(activityID int64)

SetActivityID adds the activityId to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) SetContext

SetContext adds the context to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) SetDefaults

SetDefaults hydrates default values in the post API teams ID activities activity ID params (not the query body).

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

func (*PostAPITeamsIDActivitiesActivityIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) SetID

SetID adds the id to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) SetTimeout

SetTimeout adds the timeout to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) WithActivityID

WithActivityID adds the activityID to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) WithContext

WithContext adds the context to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) WithDefaults

WithDefaults hydrates default values in the post API teams ID activities activity ID params (not the query body).

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

func (*PostAPITeamsIDActivitiesActivityIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) WithID

WithID adds the id to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) WithTimeout

WithTimeout adds the timeout to the post API teams ID activities activity ID params

func (*PostAPITeamsIDActivitiesActivityIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPITeamsIDActivitiesActivityIDReader

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

PostAPITeamsIDActivitiesActivityIDReader is a Reader for the PostAPITeamsIDActivitiesActivityID structure.

func (*PostAPITeamsIDActivitiesActivityIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPITeamsIDCustomersCustomerIDOK

type PostAPITeamsIDCustomersCustomerIDOK struct {
	Payload *models.Team
}

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

Adds a new customer to a team.

func NewPostAPITeamsIDCustomersCustomerIDOK

func NewPostAPITeamsIDCustomersCustomerIDOK() *PostAPITeamsIDCustomersCustomerIDOK

NewPostAPITeamsIDCustomersCustomerIDOK creates a PostAPITeamsIDCustomersCustomerIDOK with default headers values

func (*PostAPITeamsIDCustomersCustomerIDOK) Error

func (*PostAPITeamsIDCustomersCustomerIDOK) GetPayload

func (*PostAPITeamsIDCustomersCustomerIDOK) IsClientError

func (o *PostAPITeamsIDCustomersCustomerIDOK) IsClientError() bool

IsClientError returns true when this post Api teams Id customers customer Id o k response has a 4xx status code

func (*PostAPITeamsIDCustomersCustomerIDOK) IsCode

IsCode returns true when this post Api teams Id customers customer Id o k response a status code equal to that given

func (*PostAPITeamsIDCustomersCustomerIDOK) IsRedirect

func (o *PostAPITeamsIDCustomersCustomerIDOK) IsRedirect() bool

IsRedirect returns true when this post Api teams Id customers customer Id o k response has a 3xx status code

func (*PostAPITeamsIDCustomersCustomerIDOK) IsServerError

func (o *PostAPITeamsIDCustomersCustomerIDOK) IsServerError() bool

IsServerError returns true when this post Api teams Id customers customer Id o k response has a 5xx status code

func (*PostAPITeamsIDCustomersCustomerIDOK) IsSuccess

IsSuccess returns true when this post Api teams Id customers customer Id o k response has a 2xx status code

func (*PostAPITeamsIDCustomersCustomerIDOK) String

type PostAPITeamsIDCustomersCustomerIDParams

type PostAPITeamsIDCustomersCustomerIDParams struct {

	/* CustomerID.

	   The customer to grant acecess to (Customer ID)
	*/
	CustomerID int64

	/* ID.

	   The team that is granted access
	*/
	ID int64

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

PostAPITeamsIDCustomersCustomerIDParams contains all the parameters to send to the API endpoint

for the post API teams ID customers customer ID operation.

Typically these are written to a http.Request.

func NewPostAPITeamsIDCustomersCustomerIDParams

func NewPostAPITeamsIDCustomersCustomerIDParams() *PostAPITeamsIDCustomersCustomerIDParams

NewPostAPITeamsIDCustomersCustomerIDParams creates a new PostAPITeamsIDCustomersCustomerIDParams 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 NewPostAPITeamsIDCustomersCustomerIDParamsWithContext

func NewPostAPITeamsIDCustomersCustomerIDParamsWithContext(ctx context.Context) *PostAPITeamsIDCustomersCustomerIDParams

NewPostAPITeamsIDCustomersCustomerIDParamsWithContext creates a new PostAPITeamsIDCustomersCustomerIDParams object with the ability to set a context for a request.

func NewPostAPITeamsIDCustomersCustomerIDParamsWithHTTPClient

func NewPostAPITeamsIDCustomersCustomerIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDCustomersCustomerIDParams

NewPostAPITeamsIDCustomersCustomerIDParamsWithHTTPClient creates a new PostAPITeamsIDCustomersCustomerIDParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPITeamsIDCustomersCustomerIDParamsWithTimeout

func NewPostAPITeamsIDCustomersCustomerIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDCustomersCustomerIDParams

NewPostAPITeamsIDCustomersCustomerIDParamsWithTimeout creates a new PostAPITeamsIDCustomersCustomerIDParams object with the ability to set a timeout on a request.

func (*PostAPITeamsIDCustomersCustomerIDParams) SetContext

SetContext adds the context to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) SetCustomerID

func (o *PostAPITeamsIDCustomersCustomerIDParams) SetCustomerID(customerID int64)

SetCustomerID adds the customerId to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) SetDefaults

func (o *PostAPITeamsIDCustomersCustomerIDParams) SetDefaults()

SetDefaults hydrates default values in the post API teams ID customers customer ID params (not the query body).

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

func (*PostAPITeamsIDCustomersCustomerIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) SetID

SetID adds the id to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) SetTimeout

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

SetTimeout adds the timeout to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) WithContext

WithContext adds the context to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) WithCustomerID

WithCustomerID adds the customerID to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) WithDefaults

WithDefaults hydrates default values in the post API teams ID customers customer ID params (not the query body).

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

func (*PostAPITeamsIDCustomersCustomerIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) WithID

WithID adds the id to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) WithTimeout

WithTimeout adds the timeout to the post API teams ID customers customer ID params

func (*PostAPITeamsIDCustomersCustomerIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPITeamsIDCustomersCustomerIDReader

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

PostAPITeamsIDCustomersCustomerIDReader is a Reader for the PostAPITeamsIDCustomersCustomerID structure.

func (*PostAPITeamsIDCustomersCustomerIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPITeamsIDMembersUserIDOK

type PostAPITeamsIDMembersUserIDOK struct {
	Payload *models.Team
}

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

Adds a new user to a team.

func NewPostAPITeamsIDMembersUserIDOK

func NewPostAPITeamsIDMembersUserIDOK() *PostAPITeamsIDMembersUserIDOK

NewPostAPITeamsIDMembersUserIDOK creates a PostAPITeamsIDMembersUserIDOK with default headers values

func (*PostAPITeamsIDMembersUserIDOK) Error

func (*PostAPITeamsIDMembersUserIDOK) GetPayload

func (o *PostAPITeamsIDMembersUserIDOK) GetPayload() *models.Team

func (*PostAPITeamsIDMembersUserIDOK) IsClientError

func (o *PostAPITeamsIDMembersUserIDOK) IsClientError() bool

IsClientError returns true when this post Api teams Id members user Id o k response has a 4xx status code

func (*PostAPITeamsIDMembersUserIDOK) IsCode

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

IsCode returns true when this post Api teams Id members user Id o k response a status code equal to that given

func (*PostAPITeamsIDMembersUserIDOK) IsRedirect

func (o *PostAPITeamsIDMembersUserIDOK) IsRedirect() bool

IsRedirect returns true when this post Api teams Id members user Id o k response has a 3xx status code

func (*PostAPITeamsIDMembersUserIDOK) IsServerError

func (o *PostAPITeamsIDMembersUserIDOK) IsServerError() bool

IsServerError returns true when this post Api teams Id members user Id o k response has a 5xx status code

func (*PostAPITeamsIDMembersUserIDOK) IsSuccess

func (o *PostAPITeamsIDMembersUserIDOK) IsSuccess() bool

IsSuccess returns true when this post Api teams Id members user Id o k response has a 2xx status code

func (*PostAPITeamsIDMembersUserIDOK) String

type PostAPITeamsIDMembersUserIDParams

type PostAPITeamsIDMembersUserIDParams struct {

	/* ID.

	   The team which will receive the new member
	*/
	ID int64

	/* UserID.

	   The team member to add (User ID)
	*/
	UserID int64

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

PostAPITeamsIDMembersUserIDParams contains all the parameters to send to the API endpoint

for the post API teams ID members user ID operation.

Typically these are written to a http.Request.

func NewPostAPITeamsIDMembersUserIDParams

func NewPostAPITeamsIDMembersUserIDParams() *PostAPITeamsIDMembersUserIDParams

NewPostAPITeamsIDMembersUserIDParams creates a new PostAPITeamsIDMembersUserIDParams 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 NewPostAPITeamsIDMembersUserIDParamsWithContext

func NewPostAPITeamsIDMembersUserIDParamsWithContext(ctx context.Context) *PostAPITeamsIDMembersUserIDParams

NewPostAPITeamsIDMembersUserIDParamsWithContext creates a new PostAPITeamsIDMembersUserIDParams object with the ability to set a context for a request.

func NewPostAPITeamsIDMembersUserIDParamsWithHTTPClient

func NewPostAPITeamsIDMembersUserIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDMembersUserIDParams

NewPostAPITeamsIDMembersUserIDParamsWithHTTPClient creates a new PostAPITeamsIDMembersUserIDParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPITeamsIDMembersUserIDParamsWithTimeout

func NewPostAPITeamsIDMembersUserIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDMembersUserIDParams

NewPostAPITeamsIDMembersUserIDParamsWithTimeout creates a new PostAPITeamsIDMembersUserIDParams object with the ability to set a timeout on a request.

func (*PostAPITeamsIDMembersUserIDParams) SetContext

SetContext adds the context to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) SetDefaults

func (o *PostAPITeamsIDMembersUserIDParams) SetDefaults()

SetDefaults hydrates default values in the post API teams ID members user ID params (not the query body).

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

func (*PostAPITeamsIDMembersUserIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) SetID

SetID adds the id to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) SetTimeout

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

SetTimeout adds the timeout to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) SetUserID

func (o *PostAPITeamsIDMembersUserIDParams) SetUserID(userID int64)

SetUserID adds the userId to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) WithContext

WithContext adds the context to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) WithDefaults

WithDefaults hydrates default values in the post API teams ID members user ID params (not the query body).

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

func (*PostAPITeamsIDMembersUserIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) WithID

WithID adds the id to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) WithTimeout

WithTimeout adds the timeout to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) WithUserID

WithUserID adds the userID to the post API teams ID members user ID params

func (*PostAPITeamsIDMembersUserIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPITeamsIDMembersUserIDReader

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

PostAPITeamsIDMembersUserIDReader is a Reader for the PostAPITeamsIDMembersUserID structure.

func (*PostAPITeamsIDMembersUserIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPITeamsIDProjectsProjectIDOK

type PostAPITeamsIDProjectsProjectIDOK struct {
	Payload *models.Team
}

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

Adds a new project to a team.

func NewPostAPITeamsIDProjectsProjectIDOK

func NewPostAPITeamsIDProjectsProjectIDOK() *PostAPITeamsIDProjectsProjectIDOK

NewPostAPITeamsIDProjectsProjectIDOK creates a PostAPITeamsIDProjectsProjectIDOK with default headers values

func (*PostAPITeamsIDProjectsProjectIDOK) Error

func (*PostAPITeamsIDProjectsProjectIDOK) GetPayload

func (*PostAPITeamsIDProjectsProjectIDOK) IsClientError

func (o *PostAPITeamsIDProjectsProjectIDOK) IsClientError() bool

IsClientError returns true when this post Api teams Id projects project Id o k response has a 4xx status code

func (*PostAPITeamsIDProjectsProjectIDOK) IsCode

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

IsCode returns true when this post Api teams Id projects project Id o k response a status code equal to that given

func (*PostAPITeamsIDProjectsProjectIDOK) IsRedirect

func (o *PostAPITeamsIDProjectsProjectIDOK) IsRedirect() bool

IsRedirect returns true when this post Api teams Id projects project Id o k response has a 3xx status code

func (*PostAPITeamsIDProjectsProjectIDOK) IsServerError

func (o *PostAPITeamsIDProjectsProjectIDOK) IsServerError() bool

IsServerError returns true when this post Api teams Id projects project Id o k response has a 5xx status code

func (*PostAPITeamsIDProjectsProjectIDOK) IsSuccess

func (o *PostAPITeamsIDProjectsProjectIDOK) IsSuccess() bool

IsSuccess returns true when this post Api teams Id projects project Id o k response has a 2xx status code

func (*PostAPITeamsIDProjectsProjectIDOK) String

type PostAPITeamsIDProjectsProjectIDParams

type PostAPITeamsIDProjectsProjectIDParams struct {

	/* ID.

	   The team that is granted access
	*/
	ID int64

	/* ProjectID.

	   The project to grant acecess to (Project ID)
	*/
	ProjectID int64

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

PostAPITeamsIDProjectsProjectIDParams contains all the parameters to send to the API endpoint

for the post API teams ID projects project ID operation.

Typically these are written to a http.Request.

func NewPostAPITeamsIDProjectsProjectIDParams

func NewPostAPITeamsIDProjectsProjectIDParams() *PostAPITeamsIDProjectsProjectIDParams

NewPostAPITeamsIDProjectsProjectIDParams creates a new PostAPITeamsIDProjectsProjectIDParams 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 NewPostAPITeamsIDProjectsProjectIDParamsWithContext

func NewPostAPITeamsIDProjectsProjectIDParamsWithContext(ctx context.Context) *PostAPITeamsIDProjectsProjectIDParams

NewPostAPITeamsIDProjectsProjectIDParamsWithContext creates a new PostAPITeamsIDProjectsProjectIDParams object with the ability to set a context for a request.

func NewPostAPITeamsIDProjectsProjectIDParamsWithHTTPClient

func NewPostAPITeamsIDProjectsProjectIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDProjectsProjectIDParams

NewPostAPITeamsIDProjectsProjectIDParamsWithHTTPClient creates a new PostAPITeamsIDProjectsProjectIDParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPITeamsIDProjectsProjectIDParamsWithTimeout

func NewPostAPITeamsIDProjectsProjectIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDProjectsProjectIDParams

NewPostAPITeamsIDProjectsProjectIDParamsWithTimeout creates a new PostAPITeamsIDProjectsProjectIDParams object with the ability to set a timeout on a request.

func (*PostAPITeamsIDProjectsProjectIDParams) SetContext

SetContext adds the context to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) SetDefaults

func (o *PostAPITeamsIDProjectsProjectIDParams) SetDefaults()

SetDefaults hydrates default values in the post API teams ID projects project ID params (not the query body).

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

func (*PostAPITeamsIDProjectsProjectIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) SetID

SetID adds the id to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) SetProjectID

func (o *PostAPITeamsIDProjectsProjectIDParams) SetProjectID(projectID int64)

SetProjectID adds the projectId to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) SetTimeout

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

SetTimeout adds the timeout to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) WithContext

WithContext adds the context to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) WithDefaults

WithDefaults hydrates default values in the post API teams ID projects project ID params (not the query body).

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

func (*PostAPITeamsIDProjectsProjectIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) WithID

WithID adds the id to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) WithProjectID

WithProjectID adds the projectID to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) WithTimeout

WithTimeout adds the timeout to the post API teams ID projects project ID params

func (*PostAPITeamsIDProjectsProjectIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPITeamsIDProjectsProjectIDReader

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

PostAPITeamsIDProjectsProjectIDReader is a Reader for the PostAPITeamsIDProjectsProjectID structure.

func (*PostAPITeamsIDProjectsProjectIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPITeamsOK

type PostAPITeamsOK struct {
	Payload *models.Team
}

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

Returns the new created team

func NewPostAPITeamsOK

func NewPostAPITeamsOK() *PostAPITeamsOK

NewPostAPITeamsOK creates a PostAPITeamsOK with default headers values

func (*PostAPITeamsOK) Error

func (o *PostAPITeamsOK) Error() string

func (*PostAPITeamsOK) GetPayload

func (o *PostAPITeamsOK) GetPayload() *models.Team

func (*PostAPITeamsOK) IsClientError

func (o *PostAPITeamsOK) IsClientError() bool

IsClientError returns true when this post Api teams o k response has a 4xx status code

func (*PostAPITeamsOK) IsCode

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

IsCode returns true when this post Api teams o k response a status code equal to that given

func (*PostAPITeamsOK) IsRedirect

func (o *PostAPITeamsOK) IsRedirect() bool

IsRedirect returns true when this post Api teams o k response has a 3xx status code

func (*PostAPITeamsOK) IsServerError

func (o *PostAPITeamsOK) IsServerError() bool

IsServerError returns true when this post Api teams o k response has a 5xx status code

func (*PostAPITeamsOK) IsSuccess

func (o *PostAPITeamsOK) IsSuccess() bool

IsSuccess returns true when this post Api teams o k response has a 2xx status code

func (*PostAPITeamsOK) String

func (o *PostAPITeamsOK) String() string

type PostAPITeamsParams

type PostAPITeamsParams struct {

	// Body.
	Body *models.TeamEditForm

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

PostAPITeamsParams contains all the parameters to send to the API endpoint

for the post API teams operation.

Typically these are written to a http.Request.

func NewPostAPITeamsParams

func NewPostAPITeamsParams() *PostAPITeamsParams

NewPostAPITeamsParams creates a new PostAPITeamsParams 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 NewPostAPITeamsParamsWithContext

func NewPostAPITeamsParamsWithContext(ctx context.Context) *PostAPITeamsParams

NewPostAPITeamsParamsWithContext creates a new PostAPITeamsParams object with the ability to set a context for a request.

func NewPostAPITeamsParamsWithHTTPClient

func NewPostAPITeamsParamsWithHTTPClient(client *http.Client) *PostAPITeamsParams

NewPostAPITeamsParamsWithHTTPClient creates a new PostAPITeamsParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPITeamsParamsWithTimeout

func NewPostAPITeamsParamsWithTimeout(timeout time.Duration) *PostAPITeamsParams

NewPostAPITeamsParamsWithTimeout creates a new PostAPITeamsParams object with the ability to set a timeout on a request.

func (*PostAPITeamsParams) SetBody

func (o *PostAPITeamsParams) SetBody(body *models.TeamEditForm)

SetBody adds the body to the post API teams params

func (*PostAPITeamsParams) SetContext

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

SetContext adds the context to the post API teams params

func (*PostAPITeamsParams) SetDefaults

func (o *PostAPITeamsParams) SetDefaults()

SetDefaults hydrates default values in the post API teams params (not the query body).

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

func (*PostAPITeamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API teams params

func (*PostAPITeamsParams) SetTimeout

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

SetTimeout adds the timeout to the post API teams params

func (*PostAPITeamsParams) WithBody

WithBody adds the body to the post API teams params

func (*PostAPITeamsParams) WithContext

WithContext adds the context to the post API teams params

func (*PostAPITeamsParams) WithDefaults

func (o *PostAPITeamsParams) WithDefaults() *PostAPITeamsParams

WithDefaults hydrates default values in the post API teams params (not the query body).

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

func (*PostAPITeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post API teams params

func (*PostAPITeamsParams) WithTimeout

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

WithTimeout adds the timeout to the post API teams params

func (*PostAPITeamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAPITeamsReader

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

PostAPITeamsReader is a Reader for the PostAPITeams structure.

func (*PostAPITeamsReader) ReadResponse

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