organizations

package
Version: 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 organizations API

func (*Client) GetOrganizationSalesContact

func (a *Client) GetOrganizationSalesContact(params *GetOrganizationSalesContactParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationSalesContactOK, error)

GetOrganizationSalesContact get organization sales contact API

func (*Client) GetOrganizations added in v1.1.0

func (a *Client) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationsOK, error)

GetOrganizations get organizations API

func (*Client) HasAccessAsync

func (a *Client) HasAccessAsync(params *HasAccessAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*HasAccessAsyncOK, error)

HasAccessAsync has access async API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetOrganizationSalesContact(params *GetOrganizationSalesContactParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationSalesContactOK, error)

	GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationsOK, error)

	HasAccessAsync(params *HasAccessAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*HasAccessAsyncOK, 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 organizations API client.

type GetOrganizationSalesContactOK

type GetOrganizationSalesContactOK struct {
	Payload *models.OrganizationSalesContact
}

GetOrganizationSalesContactOK handles this case with default header values.

Success

func NewGetOrganizationSalesContactOK

func NewGetOrganizationSalesContactOK() *GetOrganizationSalesContactOK

NewGetOrganizationSalesContactOK creates a GetOrganizationSalesContactOK with default headers values

func (*GetOrganizationSalesContactOK) Error

func (*GetOrganizationSalesContactOK) GetPayload

type GetOrganizationSalesContactParams

type GetOrganizationSalesContactParams struct {

	/*OrganizationID*/
	OrganizationID int32

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

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

func NewGetOrganizationSalesContactParams

func NewGetOrganizationSalesContactParams() *GetOrganizationSalesContactParams

NewGetOrganizationSalesContactParams creates a new GetOrganizationSalesContactParams object with the default values initialized.

func NewGetOrganizationSalesContactParamsWithContext

func NewGetOrganizationSalesContactParamsWithContext(ctx context.Context) *GetOrganizationSalesContactParams

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

func NewGetOrganizationSalesContactParamsWithHTTPClient

func NewGetOrganizationSalesContactParamsWithHTTPClient(client *http.Client) *GetOrganizationSalesContactParams

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

func NewGetOrganizationSalesContactParamsWithTimeout

func NewGetOrganizationSalesContactParamsWithTimeout(timeout time.Duration) *GetOrganizationSalesContactParams

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

func (*GetOrganizationSalesContactParams) SetContext

SetContext adds the context to the get organization sales contact params

func (*GetOrganizationSalesContactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization sales contact params

func (*GetOrganizationSalesContactParams) SetOrganizationID

func (o *GetOrganizationSalesContactParams) SetOrganizationID(organizationID int32)

SetOrganizationID adds the organizationId to the get organization sales contact params

func (*GetOrganizationSalesContactParams) SetTimeout

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

SetTimeout adds the timeout to the get organization sales contact params

func (*GetOrganizationSalesContactParams) WithContext

WithContext adds the context to the get organization sales contact params

func (*GetOrganizationSalesContactParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization sales contact params

func (*GetOrganizationSalesContactParams) WithOrganizationID

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

WithOrganizationID adds the organizationID to the get organization sales contact params

func (*GetOrganizationSalesContactParams) WithTimeout

WithTimeout adds the timeout to the get organization sales contact params

func (*GetOrganizationSalesContactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationSalesContactReader

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

GetOrganizationSalesContactReader is a Reader for the GetOrganizationSalesContact structure.

func (*GetOrganizationSalesContactReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationsOK added in v1.1.0

type GetOrganizationsOK struct {
	Payload *models.APICollectionOfOrganization
}

GetOrganizationsOK handles this case with default header values.

Success

func NewGetOrganizationsOK added in v1.1.0

func NewGetOrganizationsOK() *GetOrganizationsOK

NewGetOrganizationsOK creates a GetOrganizationsOK with default headers values

func (*GetOrganizationsOK) Error added in v1.1.0

func (o *GetOrganizationsOK) Error() string

func (*GetOrganizationsOK) GetPayload added in v1.1.0

type GetOrganizationsParams added in v1.1.0

type GetOrganizationsParams struct {

	/*Page*/
	Page *int32
	/*PageSize*/
	PageSize *int32
	/*Search*/
	Search *string

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

GetOrganizationsParams contains all the parameters to send to the API endpoint for the get organizations operation typically these are written to a http.Request

func NewGetOrganizationsParams added in v1.1.0

func NewGetOrganizationsParams() *GetOrganizationsParams

NewGetOrganizationsParams creates a new GetOrganizationsParams object with the default values initialized.

func NewGetOrganizationsParamsWithContext added in v1.1.0

func NewGetOrganizationsParamsWithContext(ctx context.Context) *GetOrganizationsParams

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

func NewGetOrganizationsParamsWithHTTPClient added in v1.1.0

func NewGetOrganizationsParamsWithHTTPClient(client *http.Client) *GetOrganizationsParams

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

func NewGetOrganizationsParamsWithTimeout added in v1.1.0

func NewGetOrganizationsParamsWithTimeout(timeout time.Duration) *GetOrganizationsParams

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

func (*GetOrganizationsParams) SetContext added in v1.1.0

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

SetContext adds the context to the get organizations params

func (*GetOrganizationsParams) SetHTTPClient added in v1.1.0

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

SetHTTPClient adds the HTTPClient to the get organizations params

func (*GetOrganizationsParams) SetPage added in v1.1.0

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

SetPage adds the page to the get organizations params

func (*GetOrganizationsParams) SetPageSize added in v1.1.0

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

SetPageSize adds the pageSize to the get organizations params

func (*GetOrganizationsParams) SetSearch added in v1.1.0

func (o *GetOrganizationsParams) SetSearch(search *string)

SetSearch adds the search to the get organizations params

func (*GetOrganizationsParams) SetTimeout added in v1.1.0

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

SetTimeout adds the timeout to the get organizations params

func (*GetOrganizationsParams) WithContext added in v1.1.0

WithContext adds the context to the get organizations params

func (*GetOrganizationsParams) WithHTTPClient added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the get organizations params

func (*GetOrganizationsParams) WithPage added in v1.1.0

WithPage adds the page to the get organizations params

func (*GetOrganizationsParams) WithPageSize added in v1.1.0

func (o *GetOrganizationsParams) WithPageSize(pageSize *int32) *GetOrganizationsParams

WithPageSize adds the pageSize to the get organizations params

func (*GetOrganizationsParams) WithSearch added in v1.1.0

func (o *GetOrganizationsParams) WithSearch(search *string) *GetOrganizationsParams

WithSearch adds the search to the get organizations params

func (*GetOrganizationsParams) WithTimeout added in v1.1.0

WithTimeout adds the timeout to the get organizations params

func (*GetOrganizationsParams) WriteToRequest added in v1.1.0

WriteToRequest writes these params to a swagger request

type GetOrganizationsReader added in v1.1.0

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

GetOrganizationsReader is a Reader for the GetOrganizations structure.

func (*GetOrganizationsReader) ReadResponse added in v1.1.0

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

ReadResponse reads a server response into the received o.

type HasAccessAsyncOK

type HasAccessAsyncOK struct {
	Payload bool
}

HasAccessAsyncOK handles this case with default header values.

Success

func NewHasAccessAsyncOK

func NewHasAccessAsyncOK() *HasAccessAsyncOK

NewHasAccessAsyncOK creates a HasAccessAsyncOK with default headers values

func (*HasAccessAsyncOK) Error

func (o *HasAccessAsyncOK) Error() string

func (*HasAccessAsyncOK) GetPayload

func (o *HasAccessAsyncOK) GetPayload() bool

type HasAccessAsyncParams

type HasAccessAsyncParams struct {

	/*ID*/
	ID int32

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

HasAccessAsyncParams contains all the parameters to send to the API endpoint for the has access async operation typically these are written to a http.Request

func NewHasAccessAsyncParams

func NewHasAccessAsyncParams() *HasAccessAsyncParams

NewHasAccessAsyncParams creates a new HasAccessAsyncParams object with the default values initialized.

func NewHasAccessAsyncParamsWithContext

func NewHasAccessAsyncParamsWithContext(ctx context.Context) *HasAccessAsyncParams

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

func NewHasAccessAsyncParamsWithHTTPClient

func NewHasAccessAsyncParamsWithHTTPClient(client *http.Client) *HasAccessAsyncParams

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

func NewHasAccessAsyncParamsWithTimeout

func NewHasAccessAsyncParamsWithTimeout(timeout time.Duration) *HasAccessAsyncParams

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

func (*HasAccessAsyncParams) SetContext

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

SetContext adds the context to the has access async params

func (*HasAccessAsyncParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the has access async params

func (*HasAccessAsyncParams) SetID

func (o *HasAccessAsyncParams) SetID(id int32)

SetID adds the id to the has access async params

func (*HasAccessAsyncParams) SetTimeout

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

SetTimeout adds the timeout to the has access async params

func (*HasAccessAsyncParams) WithContext

WithContext adds the context to the has access async params

func (*HasAccessAsyncParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the has access async params

func (*HasAccessAsyncParams) WithID

WithID adds the id to the has access async params

func (*HasAccessAsyncParams) WithTimeout

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

WithTimeout adds the timeout to the has access async params

func (*HasAccessAsyncParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type HasAccessAsyncReader

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

HasAccessAsyncReader is a Reader for the HasAccessAsync structure.

func (*HasAccessAsyncReader) ReadResponse

func (o *HasAccessAsyncReader) 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL