organization_access

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-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 organization access API

func (*Client) GetOrganizationAccess

func (a *Client) GetOrganizationAccess(params *GetOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationAccessOK, error)

GetOrganizationAccess get organization access API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrganizationAccess added in v1.2.0

func (a *Client) UpdateOrganizationAccess(params *UpdateOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrganizationAccessOK, error)

UpdateOrganizationAccess update organization access API

type ClientService

type ClientService interface {
	GetOrganizationAccess(params *GetOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationAccessOK, error)

	UpdateOrganizationAccess(params *UpdateOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrganizationAccessOK, 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 organization access API client.

type GetOrganizationAccessOK

type GetOrganizationAccessOK struct {
	Payload *models.APICollectionOfOrganizationAccess
}

GetOrganizationAccessOK handles this case with default header values.

Success

func NewGetOrganizationAccessOK

func NewGetOrganizationAccessOK() *GetOrganizationAccessOK

NewGetOrganizationAccessOK creates a GetOrganizationAccessOK with default headers values

func (*GetOrganizationAccessOK) Error

func (o *GetOrganizationAccessOK) Error() string

func (*GetOrganizationAccessOK) GetPayload

type GetOrganizationAccessParams

type GetOrganizationAccessParams struct {

	/*OrganizationID*/
	OrganizationID *int32
	/*Page*/
	Page *int32
	/*PageSize*/
	PageSize *int32
	/*UserID*/
	UserID *string

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

GetOrganizationAccessParams contains all the parameters to send to the API endpoint for the get organization access operation typically these are written to a http.Request

func NewGetOrganizationAccessParams

func NewGetOrganizationAccessParams() *GetOrganizationAccessParams

NewGetOrganizationAccessParams creates a new GetOrganizationAccessParams object with the default values initialized.

func NewGetOrganizationAccessParamsWithContext

func NewGetOrganizationAccessParamsWithContext(ctx context.Context) *GetOrganizationAccessParams

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

func NewGetOrganizationAccessParamsWithHTTPClient

func NewGetOrganizationAccessParamsWithHTTPClient(client *http.Client) *GetOrganizationAccessParams

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

func NewGetOrganizationAccessParamsWithTimeout

func NewGetOrganizationAccessParamsWithTimeout(timeout time.Duration) *GetOrganizationAccessParams

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

func (*GetOrganizationAccessParams) SetContext

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

SetContext adds the context to the get organization access params

func (*GetOrganizationAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization access params

func (*GetOrganizationAccessParams) SetOrganizationID

func (o *GetOrganizationAccessParams) SetOrganizationID(organizationID *int32)

SetOrganizationID adds the organizationId to the get organization access params

func (*GetOrganizationAccessParams) SetPage

func (o *GetOrganizationAccessParams) SetPage(page *int32)

SetPage adds the page to the get organization access params

func (*GetOrganizationAccessParams) SetPageSize

func (o *GetOrganizationAccessParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get organization access params

func (*GetOrganizationAccessParams) SetTimeout

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

SetTimeout adds the timeout to the get organization access params

func (*GetOrganizationAccessParams) SetUserID

func (o *GetOrganizationAccessParams) SetUserID(userID *string)

SetUserID adds the userId to the get organization access params

func (*GetOrganizationAccessParams) WithContext

WithContext adds the context to the get organization access params

func (*GetOrganizationAccessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization access params

func (*GetOrganizationAccessParams) WithOrganizationID

func (o *GetOrganizationAccessParams) WithOrganizationID(organizationID *int32) *GetOrganizationAccessParams

WithOrganizationID adds the organizationID to the get organization access params

func (*GetOrganizationAccessParams) WithPage

WithPage adds the page to the get organization access params

func (*GetOrganizationAccessParams) WithPageSize

WithPageSize adds the pageSize to the get organization access params

func (*GetOrganizationAccessParams) WithTimeout

WithTimeout adds the timeout to the get organization access params

func (*GetOrganizationAccessParams) WithUserID

WithUserID adds the userID to the get organization access params

func (*GetOrganizationAccessParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationAccessReader

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

GetOrganizationAccessReader is a Reader for the GetOrganizationAccess structure.

func (*GetOrganizationAccessReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrganizationAccessOK added in v1.2.0

type UpdateOrganizationAccessOK struct {
	Payload []*models.OrganizationAccess
}

UpdateOrganizationAccessOK handles this case with default header values.

Success

func NewUpdateOrganizationAccessOK added in v1.2.0

func NewUpdateOrganizationAccessOK() *UpdateOrganizationAccessOK

NewUpdateOrganizationAccessOK creates a UpdateOrganizationAccessOK with default headers values

func (*UpdateOrganizationAccessOK) Error added in v1.2.0

func (*UpdateOrganizationAccessOK) GetPayload added in v1.2.0

type UpdateOrganizationAccessParams added in v1.2.0

type UpdateOrganizationAccessParams struct {

	/*List*/
	List []*models.OrganizationAccess

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

UpdateOrganizationAccessParams contains all the parameters to send to the API endpoint for the update organization access operation typically these are written to a http.Request

func NewUpdateOrganizationAccessParams added in v1.2.0

func NewUpdateOrganizationAccessParams() *UpdateOrganizationAccessParams

NewUpdateOrganizationAccessParams creates a new UpdateOrganizationAccessParams object with the default values initialized.

func NewUpdateOrganizationAccessParamsWithContext added in v1.2.0

func NewUpdateOrganizationAccessParamsWithContext(ctx context.Context) *UpdateOrganizationAccessParams

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

func NewUpdateOrganizationAccessParamsWithHTTPClient added in v1.2.0

func NewUpdateOrganizationAccessParamsWithHTTPClient(client *http.Client) *UpdateOrganizationAccessParams

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

func NewUpdateOrganizationAccessParamsWithTimeout added in v1.2.0

func NewUpdateOrganizationAccessParamsWithTimeout(timeout time.Duration) *UpdateOrganizationAccessParams

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

func (*UpdateOrganizationAccessParams) SetContext added in v1.2.0

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

SetContext adds the context to the update organization access params

func (*UpdateOrganizationAccessParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the update organization access params

func (*UpdateOrganizationAccessParams) SetList added in v1.2.0

SetList adds the list to the update organization access params

func (*UpdateOrganizationAccessParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the update organization access params

func (*UpdateOrganizationAccessParams) WithContext added in v1.2.0

WithContext adds the context to the update organization access params

func (*UpdateOrganizationAccessParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the update organization access params

func (*UpdateOrganizationAccessParams) WithList added in v1.2.0

WithList adds the list to the update organization access params

func (*UpdateOrganizationAccessParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the update organization access params

func (*UpdateOrganizationAccessParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type UpdateOrganizationAccessReader added in v1.2.0

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

UpdateOrganizationAccessReader is a Reader for the UpdateOrganizationAccess structure.

func (*UpdateOrganizationAccessReader) ReadResponse added in v1.2.0

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