management_links

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 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 management links API

func (*Client) GetGrouped

func (a *Client) GetGrouped(params *GetGroupedParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupedOK, error)

GetGrouped get grouped API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetGrouped(params *GetGroupedParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupedOK, 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 management links API client.

type GetGroupedOK

type GetGroupedOK struct {
	Payload *models.APICollectionOfManagementLinkGrouped
}

GetGroupedOK handles this case with default header values.

Success

func NewGetGroupedOK

func NewGetGroupedOK() *GetGroupedOK

NewGetGroupedOK creates a GetGroupedOK with default headers values

func (*GetGroupedOK) Error

func (o *GetGroupedOK) Error() string

func (*GetGroupedOK) GetPayload

type GetGroupedParams

type GetGroupedParams struct {

	/*Page*/
	Page *int32
	/*PageSize*/
	PageSize *int32
	/*ResellerCustomerIds*/
	ResellerCustomerIds []int32
	/*SubscriptionIds*/
	SubscriptionIds []int32

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

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

func NewGetGroupedParams

func NewGetGroupedParams() *GetGroupedParams

NewGetGroupedParams creates a new GetGroupedParams object with the default values initialized.

func NewGetGroupedParamsWithContext

func NewGetGroupedParamsWithContext(ctx context.Context) *GetGroupedParams

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

func NewGetGroupedParamsWithHTTPClient

func NewGetGroupedParamsWithHTTPClient(client *http.Client) *GetGroupedParams

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

func NewGetGroupedParamsWithTimeout

func NewGetGroupedParamsWithTimeout(timeout time.Duration) *GetGroupedParams

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

func (*GetGroupedParams) SetContext

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

SetContext adds the context to the get grouped params

func (*GetGroupedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get grouped params

func (*GetGroupedParams) SetPage

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

SetPage adds the page to the get grouped params

func (*GetGroupedParams) SetPageSize

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

SetPageSize adds the pageSize to the get grouped params

func (*GetGroupedParams) SetResellerCustomerIds

func (o *GetGroupedParams) SetResellerCustomerIds(resellerCustomerIds []int32)

SetResellerCustomerIds adds the resellerCustomerIds to the get grouped params

func (*GetGroupedParams) SetSubscriptionIds

func (o *GetGroupedParams) SetSubscriptionIds(subscriptionIds []int32)

SetSubscriptionIds adds the subscriptionIds to the get grouped params

func (*GetGroupedParams) SetTimeout

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

SetTimeout adds the timeout to the get grouped params

func (*GetGroupedParams) WithContext

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

WithContext adds the context to the get grouped params

func (*GetGroupedParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get grouped params

func (*GetGroupedParams) WithPage

func (o *GetGroupedParams) WithPage(page *int32) *GetGroupedParams

WithPage adds the page to the get grouped params

func (*GetGroupedParams) WithPageSize

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

WithPageSize adds the pageSize to the get grouped params

func (*GetGroupedParams) WithResellerCustomerIds

func (o *GetGroupedParams) WithResellerCustomerIds(resellerCustomerIds []int32) *GetGroupedParams

WithResellerCustomerIds adds the resellerCustomerIds to the get grouped params

func (*GetGroupedParams) WithSubscriptionIds

func (o *GetGroupedParams) WithSubscriptionIds(subscriptionIds []int32) *GetGroupedParams

WithSubscriptionIds adds the subscriptionIds to the get grouped params

func (*GetGroupedParams) WithTimeout

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

WithTimeout adds the timeout to the get grouped params

func (*GetGroupedParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGroupedReader

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

GetGroupedReader is a Reader for the GetGrouped structure.

func (*GetGroupedReader) ReadResponse

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