subscriptions

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT 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 subscriptions API

func (*Client) GetSubscription

func (a *Client) GetSubscription(params *GetSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSubscriptionOK, error)
GetSubscription retrieves a single subscription

Get the subscription object identified by this URL.

A 'subscription' indicates a licensed subscription to a named Avalara service. To request or remove subscriptions, please contact Avalara sales or your customer account manager.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) ListSubscriptionsByAccount

func (a *Client) ListSubscriptionsByAccount(params *ListSubscriptionsByAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSubscriptionsByAccountOK, error)
ListSubscriptionsByAccount retrieves subscriptions for this account

List all subscription objects attached to this account.

A 'subscription' indicates a licensed subscription to a named Avalara service. To request or remove subscriptions, please contact Avalara sales or your customer account manager.

Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) QuerySubscriptions

func (a *Client) QuerySubscriptions(params *QuerySubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QuerySubscriptionsOK, error)
QuerySubscriptions retrieves all subscriptions

Get multiple subscription objects across all accounts.

A 'subscription' indicates a licensed subscription to a named Avalara service. To request or remove subscriptions, please contact Avalara sales or your customer account manager.

Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

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 {
	GetSubscription(params *GetSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSubscriptionOK, error)

	ListSubscriptionsByAccount(params *ListSubscriptionsByAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSubscriptionsByAccountOK, error)

	QuerySubscriptions(params *QuerySubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QuerySubscriptionsOK, 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 subscriptions API client.

type GetSubscriptionBadRequest

type GetSubscriptionBadRequest struct {
}
GetSubscriptionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetSubscriptionBadRequest

func NewGetSubscriptionBadRequest() *GetSubscriptionBadRequest

NewGetSubscriptionBadRequest creates a GetSubscriptionBadRequest with default headers values

func (*GetSubscriptionBadRequest) Error

func (o *GetSubscriptionBadRequest) Error() string

type GetSubscriptionNotFound

type GetSubscriptionNotFound struct {
}
GetSubscriptionNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetSubscriptionNotFound

func NewGetSubscriptionNotFound() *GetSubscriptionNotFound

NewGetSubscriptionNotFound creates a GetSubscriptionNotFound with default headers values

func (*GetSubscriptionNotFound) Error

func (o *GetSubscriptionNotFound) Error() string

type GetSubscriptionOK

type GetSubscriptionOK struct {
	Payload *models.SubscriptionModel
}
GetSubscriptionOK describes a response with status code 200, with default header values.

Success

func NewGetSubscriptionOK

func NewGetSubscriptionOK() *GetSubscriptionOK

NewGetSubscriptionOK creates a GetSubscriptionOK with default headers values

func (*GetSubscriptionOK) Error

func (o *GetSubscriptionOK) Error() string

func (*GetSubscriptionOK) GetPayload

func (o *GetSubscriptionOK) GetPayload() *models.SubscriptionModel

type GetSubscriptionParams

type GetSubscriptionParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* AccountID.

	   The ID of the account that owns this subscription

	   Format: int32
	*/
	AccountID int32

	/* ID.

	   The primary key of this subscription

	   Format: int32
	*/
	ID int32

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

GetSubscriptionParams contains all the parameters to send to the API endpoint

for the get subscription operation.

Typically these are written to a http.Request.

func NewGetSubscriptionParams

func NewGetSubscriptionParams() *GetSubscriptionParams

NewGetSubscriptionParams creates a new GetSubscriptionParams 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 NewGetSubscriptionParamsWithContext

func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams

NewGetSubscriptionParamsWithContext creates a new GetSubscriptionParams object with the ability to set a context for a request.

func NewGetSubscriptionParamsWithHTTPClient

func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams

NewGetSubscriptionParamsWithHTTPClient creates a new GetSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewGetSubscriptionParamsWithTimeout

func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams

NewGetSubscriptionParamsWithTimeout creates a new GetSubscriptionParams object with the ability to set a timeout on a request.

func (*GetSubscriptionParams) SetAccountID

func (o *GetSubscriptionParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the get subscription params

func (*GetSubscriptionParams) SetContext

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

SetContext adds the context to the get subscription params

func (*GetSubscriptionParams) SetDefaults

func (o *GetSubscriptionParams) SetDefaults()

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

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

func (*GetSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscription params

func (*GetSubscriptionParams) SetID

func (o *GetSubscriptionParams) SetID(id int32)

SetID adds the id to the get subscription params

func (*GetSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the get subscription params

func (*GetSubscriptionParams) SetXAvalaraClient

func (o *GetSubscriptionParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the get subscription params

func (*GetSubscriptionParams) WithAccountID

func (o *GetSubscriptionParams) WithAccountID(accountID int32) *GetSubscriptionParams

WithAccountID adds the accountID to the get subscription params

func (*GetSubscriptionParams) WithContext

WithContext adds the context to the get subscription params

func (*GetSubscriptionParams) WithDefaults

func (o *GetSubscriptionParams) WithDefaults() *GetSubscriptionParams

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

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

func (*GetSubscriptionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get subscription params

func (*GetSubscriptionParams) WithID

WithID adds the id to the get subscription params

func (*GetSubscriptionParams) WithTimeout

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

WithTimeout adds the timeout to the get subscription params

func (*GetSubscriptionParams) WithXAvalaraClient

func (o *GetSubscriptionParams) WithXAvalaraClient(xAvalaraClient *string) *GetSubscriptionParams

WithXAvalaraClient adds the xAvalaraClient to the get subscription params

func (*GetSubscriptionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSubscriptionReader

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

GetSubscriptionReader is a Reader for the GetSubscription structure.

func (*GetSubscriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubscriptionUnauthorized

type GetSubscriptionUnauthorized struct {
}
GetSubscriptionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetSubscriptionUnauthorized

func NewGetSubscriptionUnauthorized() *GetSubscriptionUnauthorized

NewGetSubscriptionUnauthorized creates a GetSubscriptionUnauthorized with default headers values

func (*GetSubscriptionUnauthorized) Error

type ListSubscriptionsByAccountBadRequest

type ListSubscriptionsByAccountBadRequest struct {
}
ListSubscriptionsByAccountBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListSubscriptionsByAccountBadRequest

func NewListSubscriptionsByAccountBadRequest() *ListSubscriptionsByAccountBadRequest

NewListSubscriptionsByAccountBadRequest creates a ListSubscriptionsByAccountBadRequest with default headers values

func (*ListSubscriptionsByAccountBadRequest) Error

type ListSubscriptionsByAccountNotFound

type ListSubscriptionsByAccountNotFound struct {
}
ListSubscriptionsByAccountNotFound describes a response with status code 404, with default header values.

Not Found

func NewListSubscriptionsByAccountNotFound

func NewListSubscriptionsByAccountNotFound() *ListSubscriptionsByAccountNotFound

NewListSubscriptionsByAccountNotFound creates a ListSubscriptionsByAccountNotFound with default headers values

func (*ListSubscriptionsByAccountNotFound) Error

type ListSubscriptionsByAccountOK

type ListSubscriptionsByAccountOK struct {
	Payload *models.SubscriptionModelFetchResult
}
ListSubscriptionsByAccountOK describes a response with status code 200, with default header values.

Success

func NewListSubscriptionsByAccountOK

func NewListSubscriptionsByAccountOK() *ListSubscriptionsByAccountOK

NewListSubscriptionsByAccountOK creates a ListSubscriptionsByAccountOK with default headers values

func (*ListSubscriptionsByAccountOK) Error

func (*ListSubscriptionsByAccountOK) GetPayload

type ListSubscriptionsByAccountParams

type ListSubscriptionsByAccountParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* subscriptionDescription
	*/
	DollarFilter *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* AccountID.

	   The ID of the account that owns these subscriptions

	   Format: int32
	*/
	AccountID int32

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

ListSubscriptionsByAccountParams contains all the parameters to send to the API endpoint

for the list subscriptions by account operation.

Typically these are written to a http.Request.

func NewListSubscriptionsByAccountParams

func NewListSubscriptionsByAccountParams() *ListSubscriptionsByAccountParams

NewListSubscriptionsByAccountParams creates a new ListSubscriptionsByAccountParams 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 NewListSubscriptionsByAccountParamsWithContext

func NewListSubscriptionsByAccountParamsWithContext(ctx context.Context) *ListSubscriptionsByAccountParams

NewListSubscriptionsByAccountParamsWithContext creates a new ListSubscriptionsByAccountParams object with the ability to set a context for a request.

func NewListSubscriptionsByAccountParamsWithHTTPClient

func NewListSubscriptionsByAccountParamsWithHTTPClient(client *http.Client) *ListSubscriptionsByAccountParams

NewListSubscriptionsByAccountParamsWithHTTPClient creates a new ListSubscriptionsByAccountParams object with the ability to set a custom HTTPClient for a request.

func NewListSubscriptionsByAccountParamsWithTimeout

func NewListSubscriptionsByAccountParamsWithTimeout(timeout time.Duration) *ListSubscriptionsByAccountParams

NewListSubscriptionsByAccountParamsWithTimeout creates a new ListSubscriptionsByAccountParams object with the ability to set a timeout on a request.

func (*ListSubscriptionsByAccountParams) SetAccountID

func (o *ListSubscriptionsByAccountParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) SetContext

SetContext adds the context to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) SetDefaults

func (o *ListSubscriptionsByAccountParams) SetDefaults()

SetDefaults hydrates default values in the list subscriptions by account params (not the query body).

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

func (*ListSubscriptionsByAccountParams) SetDollarFilter

func (o *ListSubscriptionsByAccountParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) SetDollarOrderBy

func (o *ListSubscriptionsByAccountParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) SetDollarSkip

func (o *ListSubscriptionsByAccountParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) SetDollarTop

func (o *ListSubscriptionsByAccountParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) SetTimeout

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

SetTimeout adds the timeout to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) SetXAvalaraClient

func (o *ListSubscriptionsByAccountParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithAccountID

WithAccountID adds the accountID to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithContext

WithContext adds the context to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithDefaults

WithDefaults hydrates default values in the list subscriptions by account params (not the query body).

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

func (*ListSubscriptionsByAccountParams) WithDollarFilter

func (o *ListSubscriptionsByAccountParams) WithDollarFilter(dollarFilter *string) *ListSubscriptionsByAccountParams

WithDollarFilter adds the dollarFilter to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithDollarOrderBy

func (o *ListSubscriptionsByAccountParams) WithDollarOrderBy(dollarOrderBy *string) *ListSubscriptionsByAccountParams

WithDollarOrderBy adds the dollarOrderBy to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithDollarTop

WithDollarTop adds the dollarTop to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithTimeout

WithTimeout adds the timeout to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WithXAvalaraClient

func (o *ListSubscriptionsByAccountParams) WithXAvalaraClient(xAvalaraClient *string) *ListSubscriptionsByAccountParams

WithXAvalaraClient adds the xAvalaraClient to the list subscriptions by account params

func (*ListSubscriptionsByAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSubscriptionsByAccountReader

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

ListSubscriptionsByAccountReader is a Reader for the ListSubscriptionsByAccount structure.

func (*ListSubscriptionsByAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSubscriptionsByAccountUnauthorized

type ListSubscriptionsByAccountUnauthorized struct {
}
ListSubscriptionsByAccountUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListSubscriptionsByAccountUnauthorized

func NewListSubscriptionsByAccountUnauthorized() *ListSubscriptionsByAccountUnauthorized

NewListSubscriptionsByAccountUnauthorized creates a ListSubscriptionsByAccountUnauthorized with default headers values

func (*ListSubscriptionsByAccountUnauthorized) Error

type QuerySubscriptionsBadRequest

type QuerySubscriptionsBadRequest struct {
}
QuerySubscriptionsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQuerySubscriptionsBadRequest

func NewQuerySubscriptionsBadRequest() *QuerySubscriptionsBadRequest

NewQuerySubscriptionsBadRequest creates a QuerySubscriptionsBadRequest with default headers values

func (*QuerySubscriptionsBadRequest) Error

type QuerySubscriptionsOK

type QuerySubscriptionsOK struct {
	Payload *models.SubscriptionModelFetchResult
}
QuerySubscriptionsOK describes a response with status code 200, with default header values.

Success

func NewQuerySubscriptionsOK

func NewQuerySubscriptionsOK() *QuerySubscriptionsOK

NewQuerySubscriptionsOK creates a QuerySubscriptionsOK with default headers values

func (*QuerySubscriptionsOK) Error

func (o *QuerySubscriptionsOK) Error() string

func (*QuerySubscriptionsOK) GetPayload

type QuerySubscriptionsParams

type QuerySubscriptionsParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* subscriptionDescription
	*/
	DollarFilter *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

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

QuerySubscriptionsParams contains all the parameters to send to the API endpoint

for the query subscriptions operation.

Typically these are written to a http.Request.

func NewQuerySubscriptionsParams

func NewQuerySubscriptionsParams() *QuerySubscriptionsParams

NewQuerySubscriptionsParams creates a new QuerySubscriptionsParams 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 NewQuerySubscriptionsParamsWithContext

func NewQuerySubscriptionsParamsWithContext(ctx context.Context) *QuerySubscriptionsParams

NewQuerySubscriptionsParamsWithContext creates a new QuerySubscriptionsParams object with the ability to set a context for a request.

func NewQuerySubscriptionsParamsWithHTTPClient

func NewQuerySubscriptionsParamsWithHTTPClient(client *http.Client) *QuerySubscriptionsParams

NewQuerySubscriptionsParamsWithHTTPClient creates a new QuerySubscriptionsParams object with the ability to set a custom HTTPClient for a request.

func NewQuerySubscriptionsParamsWithTimeout

func NewQuerySubscriptionsParamsWithTimeout(timeout time.Duration) *QuerySubscriptionsParams

NewQuerySubscriptionsParamsWithTimeout creates a new QuerySubscriptionsParams object with the ability to set a timeout on a request.

func (*QuerySubscriptionsParams) SetContext

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

SetContext adds the context to the query subscriptions params

func (*QuerySubscriptionsParams) SetDefaults

func (o *QuerySubscriptionsParams) SetDefaults()

SetDefaults hydrates default values in the query subscriptions params (not the query body).

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

func (*QuerySubscriptionsParams) SetDollarFilter

func (o *QuerySubscriptionsParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the query subscriptions params

func (*QuerySubscriptionsParams) SetDollarOrderBy

func (o *QuerySubscriptionsParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the query subscriptions params

func (*QuerySubscriptionsParams) SetDollarSkip

func (o *QuerySubscriptionsParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the query subscriptions params

func (*QuerySubscriptionsParams) SetDollarTop

func (o *QuerySubscriptionsParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the query subscriptions params

func (*QuerySubscriptionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query subscriptions params

func (*QuerySubscriptionsParams) SetTimeout

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

SetTimeout adds the timeout to the query subscriptions params

func (*QuerySubscriptionsParams) SetXAvalaraClient

func (o *QuerySubscriptionsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the query subscriptions params

func (*QuerySubscriptionsParams) WithContext

WithContext adds the context to the query subscriptions params

func (*QuerySubscriptionsParams) WithDefaults

WithDefaults hydrates default values in the query subscriptions params (not the query body).

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

func (*QuerySubscriptionsParams) WithDollarFilter

func (o *QuerySubscriptionsParams) WithDollarFilter(dollarFilter *string) *QuerySubscriptionsParams

WithDollarFilter adds the dollarFilter to the query subscriptions params

func (*QuerySubscriptionsParams) WithDollarOrderBy

func (o *QuerySubscriptionsParams) WithDollarOrderBy(dollarOrderBy *string) *QuerySubscriptionsParams

WithDollarOrderBy adds the dollarOrderBy to the query subscriptions params

func (*QuerySubscriptionsParams) WithDollarSkip

func (o *QuerySubscriptionsParams) WithDollarSkip(dollarSkip *int32) *QuerySubscriptionsParams

WithDollarSkip adds the dollarSkip to the query subscriptions params

func (*QuerySubscriptionsParams) WithDollarTop

func (o *QuerySubscriptionsParams) WithDollarTop(dollarTop *int32) *QuerySubscriptionsParams

WithDollarTop adds the dollarTop to the query subscriptions params

func (*QuerySubscriptionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query subscriptions params

func (*QuerySubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the query subscriptions params

func (*QuerySubscriptionsParams) WithXAvalaraClient

func (o *QuerySubscriptionsParams) WithXAvalaraClient(xAvalaraClient *string) *QuerySubscriptionsParams

WithXAvalaraClient adds the xAvalaraClient to the query subscriptions params

func (*QuerySubscriptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QuerySubscriptionsReader

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

QuerySubscriptionsReader is a Reader for the QuerySubscriptions structure.

func (*QuerySubscriptionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuerySubscriptionsUnauthorized

type QuerySubscriptionsUnauthorized struct {
}
QuerySubscriptionsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewQuerySubscriptionsUnauthorized

func NewQuerySubscriptionsUnauthorized() *QuerySubscriptionsUnauthorized

NewQuerySubscriptionsUnauthorized creates a QuerySubscriptionsUnauthorized with default headers values

func (*QuerySubscriptionsUnauthorized) Error

Jump to

Keyboard shortcuts

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