account_management

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 11 Imported by: 1

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 account management API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new account management API client.

func (*Client) GetPrivateGetAccountSummary

func (a *Client) GetPrivateGetAccountSummary(params *GetPrivateGetAccountSummaryParams) (*GetPrivateGetAccountSummaryOK, error)

GetPrivateGetAccountSummary retrieves user account summary

func (*Client) GetPrivateGetEmailLanguage

func (a *Client) GetPrivateGetEmailLanguage(params *GetPrivateGetEmailLanguageParams) (*GetPrivateGetEmailLanguageOK, error)

GetPrivateGetEmailLanguage retrieves the language to be used for emails

func (*Client) GetPrivateGetNewAnnouncements

func (a *Client) GetPrivateGetNewAnnouncements(params *GetPrivateGetNewAnnouncementsParams) (*GetPrivateGetNewAnnouncementsOK, error)

GetPrivateGetNewAnnouncements retrieves announcements that have not been marked read by the user

func (*Client) GetPrivateSetAnnouncementAsRead

func (a *Client) GetPrivateSetAnnouncementAsRead(params *GetPrivateSetAnnouncementAsReadParams) (*GetPrivateSetAnnouncementAsReadOK, error)

GetPrivateSetAnnouncementAsRead marks an announcement as read so it will not be shown in get new announcements

func (*Client) GetPrivateSetEmailLanguage

func (a *Client) GetPrivateSetEmailLanguage(params *GetPrivateSetEmailLanguageParams) (*GetPrivateSetEmailLanguageOK, error)

GetPrivateSetEmailLanguage changes the language to be used for emails

func (*Client) GetPublicGetAnnouncements

func (a *Client) GetPublicGetAnnouncements(params *GetPublicGetAnnouncementsParams) (*GetPublicGetAnnouncementsOK, error)

GetPublicGetAnnouncements retrieves announcements from the last 30 days

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetPrivateGetAccountSummaryOK

type GetPrivateGetAccountSummaryOK struct {
	Payload *models.PrivateAccountResponse
}

GetPrivateGetAccountSummaryOK handles this case with default header values.

GetPrivateGetAccountSummaryOK get private get account summary o k

func NewGetPrivateGetAccountSummaryOK

func NewGetPrivateGetAccountSummaryOK() *GetPrivateGetAccountSummaryOK

NewGetPrivateGetAccountSummaryOK creates a GetPrivateGetAccountSummaryOK with default headers values

func (*GetPrivateGetAccountSummaryOK) Error

func (*GetPrivateGetAccountSummaryOK) GetPayload

type GetPrivateGetAccountSummaryParams

type GetPrivateGetAccountSummaryParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Extended
	  Include additional fields

	*/
	Extended *bool

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

GetPrivateGetAccountSummaryParams contains all the parameters to send to the API endpoint for the get private get account summary operation typically these are written to a http.Request

func NewGetPrivateGetAccountSummaryParams

func NewGetPrivateGetAccountSummaryParams() *GetPrivateGetAccountSummaryParams

NewGetPrivateGetAccountSummaryParams creates a new GetPrivateGetAccountSummaryParams object with the default values initialized.

func NewGetPrivateGetAccountSummaryParamsWithContext

func NewGetPrivateGetAccountSummaryParamsWithContext(ctx context.Context) *GetPrivateGetAccountSummaryParams

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

func NewGetPrivateGetAccountSummaryParamsWithHTTPClient

func NewGetPrivateGetAccountSummaryParamsWithHTTPClient(client *http.Client) *GetPrivateGetAccountSummaryParams

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

func NewGetPrivateGetAccountSummaryParamsWithTimeout

func NewGetPrivateGetAccountSummaryParamsWithTimeout(timeout time.Duration) *GetPrivateGetAccountSummaryParams

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

func (*GetPrivateGetAccountSummaryParams) SetContext

SetContext adds the context to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) SetCurrency

func (o *GetPrivateGetAccountSummaryParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) SetExtended

func (o *GetPrivateGetAccountSummaryParams) SetExtended(extended *bool)

SetExtended adds the extended to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) SetTimeout

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

SetTimeout adds the timeout to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithContext

WithContext adds the context to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithCurrency

WithCurrency adds the currency to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithExtended

WithExtended adds the extended to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WithTimeout

WithTimeout adds the timeout to the get private get account summary params

func (*GetPrivateGetAccountSummaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetAccountSummaryReader

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

GetPrivateGetAccountSummaryReader is a Reader for the GetPrivateGetAccountSummary structure.

func (*GetPrivateGetAccountSummaryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateGetEmailLanguageOK

type GetPrivateGetEmailLanguageOK struct {
	Payload *models.PrivateGetEmailLanguageResponse
}

GetPrivateGetEmailLanguageOK handles this case with default header values.

GetPrivateGetEmailLanguageOK get private get email language o k

func NewGetPrivateGetEmailLanguageOK

func NewGetPrivateGetEmailLanguageOK() *GetPrivateGetEmailLanguageOK

NewGetPrivateGetEmailLanguageOK creates a GetPrivateGetEmailLanguageOK with default headers values

func (*GetPrivateGetEmailLanguageOK) Error

func (*GetPrivateGetEmailLanguageOK) GetPayload

type GetPrivateGetEmailLanguageParams

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

GetPrivateGetEmailLanguageParams contains all the parameters to send to the API endpoint for the get private get email language operation typically these are written to a http.Request

func NewGetPrivateGetEmailLanguageParams

func NewGetPrivateGetEmailLanguageParams() *GetPrivateGetEmailLanguageParams

NewGetPrivateGetEmailLanguageParams creates a new GetPrivateGetEmailLanguageParams object with the default values initialized.

func NewGetPrivateGetEmailLanguageParamsWithContext

func NewGetPrivateGetEmailLanguageParamsWithContext(ctx context.Context) *GetPrivateGetEmailLanguageParams

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

func NewGetPrivateGetEmailLanguageParamsWithHTTPClient

func NewGetPrivateGetEmailLanguageParamsWithHTTPClient(client *http.Client) *GetPrivateGetEmailLanguageParams

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

func NewGetPrivateGetEmailLanguageParamsWithTimeout

func NewGetPrivateGetEmailLanguageParamsWithTimeout(timeout time.Duration) *GetPrivateGetEmailLanguageParams

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

func (*GetPrivateGetEmailLanguageParams) SetContext

SetContext adds the context to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) SetTimeout

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

SetTimeout adds the timeout to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) WithContext

WithContext adds the context to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) WithTimeout

WithTimeout adds the timeout to the get private get email language params

func (*GetPrivateGetEmailLanguageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetEmailLanguageReader

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

GetPrivateGetEmailLanguageReader is a Reader for the GetPrivateGetEmailLanguage structure.

func (*GetPrivateGetEmailLanguageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateGetNewAnnouncementsOK

type GetPrivateGetNewAnnouncementsOK struct {
	Payload *models.PublicGetAnnouncementsResponse
}

GetPrivateGetNewAnnouncementsOK handles this case with default header values.

GetPrivateGetNewAnnouncementsOK get private get new announcements o k

func NewGetPrivateGetNewAnnouncementsOK

func NewGetPrivateGetNewAnnouncementsOK() *GetPrivateGetNewAnnouncementsOK

NewGetPrivateGetNewAnnouncementsOK creates a GetPrivateGetNewAnnouncementsOK with default headers values

func (*GetPrivateGetNewAnnouncementsOK) Error

func (*GetPrivateGetNewAnnouncementsOK) GetPayload

type GetPrivateGetNewAnnouncementsParams

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

GetPrivateGetNewAnnouncementsParams contains all the parameters to send to the API endpoint for the get private get new announcements operation typically these are written to a http.Request

func NewGetPrivateGetNewAnnouncementsParams

func NewGetPrivateGetNewAnnouncementsParams() *GetPrivateGetNewAnnouncementsParams

NewGetPrivateGetNewAnnouncementsParams creates a new GetPrivateGetNewAnnouncementsParams object with the default values initialized.

func NewGetPrivateGetNewAnnouncementsParamsWithContext

func NewGetPrivateGetNewAnnouncementsParamsWithContext(ctx context.Context) *GetPrivateGetNewAnnouncementsParams

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

func NewGetPrivateGetNewAnnouncementsParamsWithHTTPClient

func NewGetPrivateGetNewAnnouncementsParamsWithHTTPClient(client *http.Client) *GetPrivateGetNewAnnouncementsParams

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

func NewGetPrivateGetNewAnnouncementsParamsWithTimeout

func NewGetPrivateGetNewAnnouncementsParamsWithTimeout(timeout time.Duration) *GetPrivateGetNewAnnouncementsParams

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

func (*GetPrivateGetNewAnnouncementsParams) SetContext

SetContext adds the context to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) SetTimeout

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

SetTimeout adds the timeout to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) WithContext

WithContext adds the context to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) WithTimeout

WithTimeout adds the timeout to the get private get new announcements params

func (*GetPrivateGetNewAnnouncementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetNewAnnouncementsReader

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

GetPrivateGetNewAnnouncementsReader is a Reader for the GetPrivateGetNewAnnouncements structure.

func (*GetPrivateGetNewAnnouncementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateSetAnnouncementAsReadOK

type GetPrivateSetAnnouncementAsReadOK struct {
	Payload *models.OkResponse
}

GetPrivateSetAnnouncementAsReadOK handles this case with default header values.

GetPrivateSetAnnouncementAsReadOK get private set announcement as read o k

func NewGetPrivateSetAnnouncementAsReadOK

func NewGetPrivateSetAnnouncementAsReadOK() *GetPrivateSetAnnouncementAsReadOK

NewGetPrivateSetAnnouncementAsReadOK creates a GetPrivateSetAnnouncementAsReadOK with default headers values

func (*GetPrivateSetAnnouncementAsReadOK) Error

func (*GetPrivateSetAnnouncementAsReadOK) GetPayload

type GetPrivateSetAnnouncementAsReadParams

type GetPrivateSetAnnouncementAsReadParams struct {

	/*AnnouncementID
	  the ID of the announcement

	*/
	AnnouncementID float64

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

GetPrivateSetAnnouncementAsReadParams contains all the parameters to send to the API endpoint for the get private set announcement as read operation typically these are written to a http.Request

func NewGetPrivateSetAnnouncementAsReadParams

func NewGetPrivateSetAnnouncementAsReadParams() *GetPrivateSetAnnouncementAsReadParams

NewGetPrivateSetAnnouncementAsReadParams creates a new GetPrivateSetAnnouncementAsReadParams object with the default values initialized.

func NewGetPrivateSetAnnouncementAsReadParamsWithContext

func NewGetPrivateSetAnnouncementAsReadParamsWithContext(ctx context.Context) *GetPrivateSetAnnouncementAsReadParams

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

func NewGetPrivateSetAnnouncementAsReadParamsWithHTTPClient

func NewGetPrivateSetAnnouncementAsReadParamsWithHTTPClient(client *http.Client) *GetPrivateSetAnnouncementAsReadParams

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

func NewGetPrivateSetAnnouncementAsReadParamsWithTimeout

func NewGetPrivateSetAnnouncementAsReadParamsWithTimeout(timeout time.Duration) *GetPrivateSetAnnouncementAsReadParams

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

func (*GetPrivateSetAnnouncementAsReadParams) SetAnnouncementID

func (o *GetPrivateSetAnnouncementAsReadParams) SetAnnouncementID(announcementID float64)

SetAnnouncementID adds the announcementId to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) SetContext

SetContext adds the context to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) SetTimeout

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

SetTimeout adds the timeout to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WithAnnouncementID

WithAnnouncementID adds the announcementID to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WithContext

WithContext adds the context to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WithTimeout

WithTimeout adds the timeout to the get private set announcement as read params

func (*GetPrivateSetAnnouncementAsReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSetAnnouncementAsReadReader

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

GetPrivateSetAnnouncementAsReadReader is a Reader for the GetPrivateSetAnnouncementAsRead structure.

func (*GetPrivateSetAnnouncementAsReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateSetEmailLanguageOK

type GetPrivateSetEmailLanguageOK struct {
	Payload *models.OkResponse
}

GetPrivateSetEmailLanguageOK handles this case with default header values.

GetPrivateSetEmailLanguageOK get private set email language o k

func NewGetPrivateSetEmailLanguageOK

func NewGetPrivateSetEmailLanguageOK() *GetPrivateSetEmailLanguageOK

NewGetPrivateSetEmailLanguageOK creates a GetPrivateSetEmailLanguageOK with default headers values

func (*GetPrivateSetEmailLanguageOK) Error

func (*GetPrivateSetEmailLanguageOK) GetPayload

type GetPrivateSetEmailLanguageParams

type GetPrivateSetEmailLanguageParams struct {

	/*Language
	  The abbreviated language name. Valid values include `"en"`, `"ko"`, `"zh"`

	*/
	Language string

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

GetPrivateSetEmailLanguageParams contains all the parameters to send to the API endpoint for the get private set email language operation typically these are written to a http.Request

func NewGetPrivateSetEmailLanguageParams

func NewGetPrivateSetEmailLanguageParams() *GetPrivateSetEmailLanguageParams

NewGetPrivateSetEmailLanguageParams creates a new GetPrivateSetEmailLanguageParams object with the default values initialized.

func NewGetPrivateSetEmailLanguageParamsWithContext

func NewGetPrivateSetEmailLanguageParamsWithContext(ctx context.Context) *GetPrivateSetEmailLanguageParams

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

func NewGetPrivateSetEmailLanguageParamsWithHTTPClient

func NewGetPrivateSetEmailLanguageParamsWithHTTPClient(client *http.Client) *GetPrivateSetEmailLanguageParams

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

func NewGetPrivateSetEmailLanguageParamsWithTimeout

func NewGetPrivateSetEmailLanguageParamsWithTimeout(timeout time.Duration) *GetPrivateSetEmailLanguageParams

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

func (*GetPrivateSetEmailLanguageParams) SetContext

SetContext adds the context to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) SetLanguage

func (o *GetPrivateSetEmailLanguageParams) SetLanguage(language string)

SetLanguage adds the language to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) SetTimeout

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

SetTimeout adds the timeout to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WithContext

WithContext adds the context to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WithLanguage

WithLanguage adds the language to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WithTimeout

WithTimeout adds the timeout to the get private set email language params

func (*GetPrivateSetEmailLanguageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSetEmailLanguageReader

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

GetPrivateSetEmailLanguageReader is a Reader for the GetPrivateSetEmailLanguage structure.

func (*GetPrivateSetEmailLanguageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicGetAnnouncementsOK

type GetPublicGetAnnouncementsOK struct {
	Payload *models.PublicGetAnnouncementsResponse
}

GetPublicGetAnnouncementsOK handles this case with default header values.

GetPublicGetAnnouncementsOK get public get announcements o k

func NewGetPublicGetAnnouncementsOK

func NewGetPublicGetAnnouncementsOK() *GetPublicGetAnnouncementsOK

NewGetPublicGetAnnouncementsOK creates a GetPublicGetAnnouncementsOK with default headers values

func (*GetPublicGetAnnouncementsOK) Error

func (*GetPublicGetAnnouncementsOK) GetPayload

type GetPublicGetAnnouncementsParams

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

GetPublicGetAnnouncementsParams contains all the parameters to send to the API endpoint for the get public get announcements operation typically these are written to a http.Request

func NewGetPublicGetAnnouncementsParams

func NewGetPublicGetAnnouncementsParams() *GetPublicGetAnnouncementsParams

NewGetPublicGetAnnouncementsParams creates a new GetPublicGetAnnouncementsParams object with the default values initialized.

func NewGetPublicGetAnnouncementsParamsWithContext

func NewGetPublicGetAnnouncementsParamsWithContext(ctx context.Context) *GetPublicGetAnnouncementsParams

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

func NewGetPublicGetAnnouncementsParamsWithHTTPClient

func NewGetPublicGetAnnouncementsParamsWithHTTPClient(client *http.Client) *GetPublicGetAnnouncementsParams

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

func NewGetPublicGetAnnouncementsParamsWithTimeout

func NewGetPublicGetAnnouncementsParamsWithTimeout(timeout time.Duration) *GetPublicGetAnnouncementsParams

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

func (*GetPublicGetAnnouncementsParams) SetContext

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

SetContext adds the context to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) SetTimeout

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

SetTimeout adds the timeout to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) WithContext

WithContext adds the context to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) WithTimeout

WithTimeout adds the timeout to the get public get announcements params

func (*GetPublicGetAnnouncementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetAnnouncementsReader

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

GetPublicGetAnnouncementsReader is a Reader for the GetPublicGetAnnouncements structure.

func (*GetPublicGetAnnouncementsReader) ReadResponse

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