Documentation ¶
Index ¶
- type Client
- func (a *Client) OpenerBrandResourceGetGet(params *OpenerBrandResourceGetGetParams, opts ...ClientOption) (*OpenerBrandResourceGetGetOK, error)
- func (a *Client) OpenerBrandsResourceGetGet(params *OpenerBrandsResourceGetGetParams, opts ...ClientOption) (*OpenerBrandsResourceGetGetOK, error)
- func (a *Client) OpenerIntercomResourceGetGet(params *OpenerIntercomResourceGetGetParams, opts ...ClientOption) (*OpenerIntercomResourceGetGetOK, error)
- func (a *Client) OpenerIntercomsResourceGetGet(params *OpenerIntercomsResourceGetGetParams, opts ...ClientOption) (*OpenerIntercomsResourceGetGetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type OpenerBrandResourceGetGetOK
- func (o *OpenerBrandResourceGetGetOK) Code() int
- func (o *OpenerBrandResourceGetGetOK) Error() string
- func (o *OpenerBrandResourceGetGetOK) GetPayload() *models.OpenerIntercomBrand
- func (o *OpenerBrandResourceGetGetOK) IsClientError() bool
- func (o *OpenerBrandResourceGetGetOK) IsCode(code int) bool
- func (o *OpenerBrandResourceGetGetOK) IsRedirect() bool
- func (o *OpenerBrandResourceGetGetOK) IsServerError() bool
- func (o *OpenerBrandResourceGetGetOK) IsSuccess() bool
- func (o *OpenerBrandResourceGetGetOK) String() string
- type OpenerBrandResourceGetGetParams
- func NewOpenerBrandResourceGetGetParams() *OpenerBrandResourceGetGetParams
- func NewOpenerBrandResourceGetGetParamsWithContext(ctx context.Context) *OpenerBrandResourceGetGetParams
- func NewOpenerBrandResourceGetGetParamsWithHTTPClient(client *http.Client) *OpenerBrandResourceGetGetParams
- func NewOpenerBrandResourceGetGetParamsWithTimeout(timeout time.Duration) *OpenerBrandResourceGetGetParams
- func (o *OpenerBrandResourceGetGetParams) SetBrandID(brandID int64)
- func (o *OpenerBrandResourceGetGetParams) SetContext(ctx context.Context)
- func (o *OpenerBrandResourceGetGetParams) SetDefaults()
- func (o *OpenerBrandResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *OpenerBrandResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *OpenerBrandResourceGetGetParams) WithBrandID(brandID int64) *OpenerBrandResourceGetGetParams
- func (o *OpenerBrandResourceGetGetParams) WithContext(ctx context.Context) *OpenerBrandResourceGetGetParams
- func (o *OpenerBrandResourceGetGetParams) WithDefaults() *OpenerBrandResourceGetGetParams
- func (o *OpenerBrandResourceGetGetParams) WithHTTPClient(client *http.Client) *OpenerBrandResourceGetGetParams
- func (o *OpenerBrandResourceGetGetParams) WithTimeout(timeout time.Duration) *OpenerBrandResourceGetGetParams
- func (o *OpenerBrandResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OpenerBrandResourceGetGetReader
- type OpenerBrandsResourceGetGetOK
- func (o *OpenerBrandsResourceGetGetOK) Code() int
- func (o *OpenerBrandsResourceGetGetOK) Error() string
- func (o *OpenerBrandsResourceGetGetOK) GetPayload() []*models.OpenerIntercomBrand
- func (o *OpenerBrandsResourceGetGetOK) IsClientError() bool
- func (o *OpenerBrandsResourceGetGetOK) IsCode(code int) bool
- func (o *OpenerBrandsResourceGetGetOK) IsRedirect() bool
- func (o *OpenerBrandsResourceGetGetOK) IsServerError() bool
- func (o *OpenerBrandsResourceGetGetOK) IsSuccess() bool
- func (o *OpenerBrandsResourceGetGetOK) String() string
- type OpenerBrandsResourceGetGetParams
- func NewOpenerBrandsResourceGetGetParams() *OpenerBrandsResourceGetGetParams
- func NewOpenerBrandsResourceGetGetParamsWithContext(ctx context.Context) *OpenerBrandsResourceGetGetParams
- func NewOpenerBrandsResourceGetGetParamsWithHTTPClient(client *http.Client) *OpenerBrandsResourceGetGetParams
- func NewOpenerBrandsResourceGetGetParamsWithTimeout(timeout time.Duration) *OpenerBrandsResourceGetGetParams
- func (o *OpenerBrandsResourceGetGetParams) SetContext(ctx context.Context)
- func (o *OpenerBrandsResourceGetGetParams) SetDefaults()
- func (o *OpenerBrandsResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *OpenerBrandsResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *OpenerBrandsResourceGetGetParams) WithContext(ctx context.Context) *OpenerBrandsResourceGetGetParams
- func (o *OpenerBrandsResourceGetGetParams) WithDefaults() *OpenerBrandsResourceGetGetParams
- func (o *OpenerBrandsResourceGetGetParams) WithHTTPClient(client *http.Client) *OpenerBrandsResourceGetGetParams
- func (o *OpenerBrandsResourceGetGetParams) WithTimeout(timeout time.Duration) *OpenerBrandsResourceGetGetParams
- func (o *OpenerBrandsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OpenerBrandsResourceGetGetReader
- type OpenerIntercomResourceGetGetOK
- func (o *OpenerIntercomResourceGetGetOK) Code() int
- func (o *OpenerIntercomResourceGetGetOK) Error() string
- func (o *OpenerIntercomResourceGetGetOK) GetPayload() *models.OpenerIntercomModel
- func (o *OpenerIntercomResourceGetGetOK) IsClientError() bool
- func (o *OpenerIntercomResourceGetGetOK) IsCode(code int) bool
- func (o *OpenerIntercomResourceGetGetOK) IsRedirect() bool
- func (o *OpenerIntercomResourceGetGetOK) IsServerError() bool
- func (o *OpenerIntercomResourceGetGetOK) IsSuccess() bool
- func (o *OpenerIntercomResourceGetGetOK) String() string
- type OpenerIntercomResourceGetGetParams
- func NewOpenerIntercomResourceGetGetParams() *OpenerIntercomResourceGetGetParams
- func NewOpenerIntercomResourceGetGetParamsWithContext(ctx context.Context) *OpenerIntercomResourceGetGetParams
- func NewOpenerIntercomResourceGetGetParamsWithHTTPClient(client *http.Client) *OpenerIntercomResourceGetGetParams
- func NewOpenerIntercomResourceGetGetParamsWithTimeout(timeout time.Duration) *OpenerIntercomResourceGetGetParams
- func (o *OpenerIntercomResourceGetGetParams) SetContext(ctx context.Context)
- func (o *OpenerIntercomResourceGetGetParams) SetDefaults()
- func (o *OpenerIntercomResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *OpenerIntercomResourceGetGetParams) SetIntercomID(intercomID int64)
- func (o *OpenerIntercomResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *OpenerIntercomResourceGetGetParams) WithContext(ctx context.Context) *OpenerIntercomResourceGetGetParams
- func (o *OpenerIntercomResourceGetGetParams) WithDefaults() *OpenerIntercomResourceGetGetParams
- func (o *OpenerIntercomResourceGetGetParams) WithHTTPClient(client *http.Client) *OpenerIntercomResourceGetGetParams
- func (o *OpenerIntercomResourceGetGetParams) WithIntercomID(intercomID int64) *OpenerIntercomResourceGetGetParams
- func (o *OpenerIntercomResourceGetGetParams) WithTimeout(timeout time.Duration) *OpenerIntercomResourceGetGetParams
- func (o *OpenerIntercomResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OpenerIntercomResourceGetGetReader
- type OpenerIntercomsResourceGetGetOK
- func (o *OpenerIntercomsResourceGetGetOK) Code() int
- func (o *OpenerIntercomsResourceGetGetOK) Error() string
- func (o *OpenerIntercomsResourceGetGetOK) GetPayload() []*models.OpenerIntercomModel
- func (o *OpenerIntercomsResourceGetGetOK) IsClientError() bool
- func (o *OpenerIntercomsResourceGetGetOK) IsCode(code int) bool
- func (o *OpenerIntercomsResourceGetGetOK) IsRedirect() bool
- func (o *OpenerIntercomsResourceGetGetOK) IsServerError() bool
- func (o *OpenerIntercomsResourceGetGetOK) IsSuccess() bool
- func (o *OpenerIntercomsResourceGetGetOK) String() string
- type OpenerIntercomsResourceGetGetParams
- func NewOpenerIntercomsResourceGetGetParams() *OpenerIntercomsResourceGetGetParams
- func NewOpenerIntercomsResourceGetGetParamsWithContext(ctx context.Context) *OpenerIntercomsResourceGetGetParams
- func NewOpenerIntercomsResourceGetGetParamsWithHTTPClient(client *http.Client) *OpenerIntercomsResourceGetGetParams
- func NewOpenerIntercomsResourceGetGetParamsWithTimeout(timeout time.Duration) *OpenerIntercomsResourceGetGetParams
- func (o *OpenerIntercomsResourceGetGetParams) SetBrandID(brandID *int64)
- func (o *OpenerIntercomsResourceGetGetParams) SetContext(ctx context.Context)
- func (o *OpenerIntercomsResourceGetGetParams) SetDefaults()
- func (o *OpenerIntercomsResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *OpenerIntercomsResourceGetGetParams) SetIgnoreVerified(ignoreVerified *bool)
- func (o *OpenerIntercomsResourceGetGetParams) SetRecentlyChanged(recentlyChanged *bool)
- func (o *OpenerIntercomsResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *OpenerIntercomsResourceGetGetParams) WithBrandID(brandID *int64) *OpenerIntercomsResourceGetGetParams
- func (o *OpenerIntercomsResourceGetGetParams) WithContext(ctx context.Context) *OpenerIntercomsResourceGetGetParams
- func (o *OpenerIntercomsResourceGetGetParams) WithDefaults() *OpenerIntercomsResourceGetGetParams
- func (o *OpenerIntercomsResourceGetGetParams) WithHTTPClient(client *http.Client) *OpenerIntercomsResourceGetGetParams
- func (o *OpenerIntercomsResourceGetGetParams) WithIgnoreVerified(ignoreVerified *bool) *OpenerIntercomsResourceGetGetParams
- func (o *OpenerIntercomsResourceGetGetParams) WithRecentlyChanged(recentlyChanged *bool) *OpenerIntercomsResourceGetGetParams
- func (o *OpenerIntercomsResourceGetGetParams) WithTimeout(timeout time.Duration) *OpenerIntercomsResourceGetGetParams
- func (o *OpenerIntercomsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OpenerIntercomsResourceGetGetReader
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 opener API
func (*Client) OpenerBrandResourceGetGet ¶
func (a *Client) OpenerBrandResourceGetGet(params *OpenerBrandResourceGetGetParams, opts ...ClientOption) (*OpenerBrandResourceGetGetOK, error)
OpenerBrandResourceGetGet gets an intercom brand
func (*Client) OpenerBrandsResourceGetGet ¶
func (a *Client) OpenerBrandsResourceGetGet(params *OpenerBrandsResourceGetGetParams, opts ...ClientOption) (*OpenerBrandsResourceGetGetOK, error)
OpenerBrandsResourceGetGet gets all intercom brands
func (*Client) OpenerIntercomResourceGetGet ¶
func (a *Client) OpenerIntercomResourceGetGet(params *OpenerIntercomResourceGetGetParams, opts ...ClientOption) (*OpenerIntercomResourceGetGetOK, error)
OpenerIntercomResourceGetGet gets an intercom model
func (*Client) OpenerIntercomsResourceGetGet ¶
func (a *Client) OpenerIntercomsResourceGetGet(params *OpenerIntercomsResourceGetGetParams, opts ...ClientOption) (*OpenerIntercomsResourceGetGetOK, error)
OpenerIntercomsResourceGetGet gets a list of intercom models
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 { OpenerBrandResourceGetGet(params *OpenerBrandResourceGetGetParams, opts ...ClientOption) (*OpenerBrandResourceGetGetOK, error) OpenerBrandsResourceGetGet(params *OpenerBrandsResourceGetGetParams, opts ...ClientOption) (*OpenerBrandsResourceGetGetOK, error) OpenerIntercomResourceGetGet(params *OpenerIntercomResourceGetGetParams, opts ...ClientOption) (*OpenerIntercomResourceGetGetOK, error) OpenerIntercomsResourceGetGet(params *OpenerIntercomsResourceGetGetParams, opts ...ClientOption) (*OpenerIntercomsResourceGetGetOK, 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 opener API client.
type OpenerBrandResourceGetGetOK ¶
type OpenerBrandResourceGetGetOK struct {
Payload *models.OpenerIntercomBrand
}
OpenerBrandResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewOpenerBrandResourceGetGetOK ¶
func NewOpenerBrandResourceGetGetOK() *OpenerBrandResourceGetGetOK
NewOpenerBrandResourceGetGetOK creates a OpenerBrandResourceGetGetOK with default headers values
func (*OpenerBrandResourceGetGetOK) Code ¶
func (o *OpenerBrandResourceGetGetOK) Code() int
Code gets the status code for the opener brand resource get get o k response
func (*OpenerBrandResourceGetGetOK) Error ¶
func (o *OpenerBrandResourceGetGetOK) Error() string
func (*OpenerBrandResourceGetGetOK) GetPayload ¶
func (o *OpenerBrandResourceGetGetOK) GetPayload() *models.OpenerIntercomBrand
func (*OpenerBrandResourceGetGetOK) IsClientError ¶
func (o *OpenerBrandResourceGetGetOK) IsClientError() bool
IsClientError returns true when this opener brand resource get get o k response has a 4xx status code
func (*OpenerBrandResourceGetGetOK) IsCode ¶
func (o *OpenerBrandResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this opener brand resource get get o k response a status code equal to that given
func (*OpenerBrandResourceGetGetOK) IsRedirect ¶
func (o *OpenerBrandResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this opener brand resource get get o k response has a 3xx status code
func (*OpenerBrandResourceGetGetOK) IsServerError ¶
func (o *OpenerBrandResourceGetGetOK) IsServerError() bool
IsServerError returns true when this opener brand resource get get o k response has a 5xx status code
func (*OpenerBrandResourceGetGetOK) IsSuccess ¶
func (o *OpenerBrandResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this opener brand resource get get o k response has a 2xx status code
func (*OpenerBrandResourceGetGetOK) String ¶
func (o *OpenerBrandResourceGetGetOK) String() string
type OpenerBrandResourceGetGetParams ¶
type OpenerBrandResourceGetGetParams struct { /* BrandID. The brand ID */ BrandID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OpenerBrandResourceGetGetParams contains all the parameters to send to the API endpoint
for the opener brand resource get get operation. Typically these are written to a http.Request.
func NewOpenerBrandResourceGetGetParams ¶
func NewOpenerBrandResourceGetGetParams() *OpenerBrandResourceGetGetParams
NewOpenerBrandResourceGetGetParams creates a new OpenerBrandResourceGetGetParams 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 NewOpenerBrandResourceGetGetParamsWithContext ¶
func NewOpenerBrandResourceGetGetParamsWithContext(ctx context.Context) *OpenerBrandResourceGetGetParams
NewOpenerBrandResourceGetGetParamsWithContext creates a new OpenerBrandResourceGetGetParams object with the ability to set a context for a request.
func NewOpenerBrandResourceGetGetParamsWithHTTPClient ¶
func NewOpenerBrandResourceGetGetParamsWithHTTPClient(client *http.Client) *OpenerBrandResourceGetGetParams
NewOpenerBrandResourceGetGetParamsWithHTTPClient creates a new OpenerBrandResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewOpenerBrandResourceGetGetParamsWithTimeout ¶
func NewOpenerBrandResourceGetGetParamsWithTimeout(timeout time.Duration) *OpenerBrandResourceGetGetParams
NewOpenerBrandResourceGetGetParamsWithTimeout creates a new OpenerBrandResourceGetGetParams object with the ability to set a timeout on a request.
func (*OpenerBrandResourceGetGetParams) SetBrandID ¶
func (o *OpenerBrandResourceGetGetParams) SetBrandID(brandID int64)
SetBrandID adds the brandId to the opener brand resource get get params
func (*OpenerBrandResourceGetGetParams) SetContext ¶
func (o *OpenerBrandResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the opener brand resource get get params
func (*OpenerBrandResourceGetGetParams) SetDefaults ¶
func (o *OpenerBrandResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the opener brand resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*OpenerBrandResourceGetGetParams) SetHTTPClient ¶
func (o *OpenerBrandResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the opener brand resource get get params
func (*OpenerBrandResourceGetGetParams) SetTimeout ¶
func (o *OpenerBrandResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the opener brand resource get get params
func (*OpenerBrandResourceGetGetParams) WithBrandID ¶
func (o *OpenerBrandResourceGetGetParams) WithBrandID(brandID int64) *OpenerBrandResourceGetGetParams
WithBrandID adds the brandID to the opener brand resource get get params
func (*OpenerBrandResourceGetGetParams) WithContext ¶
func (o *OpenerBrandResourceGetGetParams) WithContext(ctx context.Context) *OpenerBrandResourceGetGetParams
WithContext adds the context to the opener brand resource get get params
func (*OpenerBrandResourceGetGetParams) WithDefaults ¶
func (o *OpenerBrandResourceGetGetParams) WithDefaults() *OpenerBrandResourceGetGetParams
WithDefaults hydrates default values in the opener brand resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*OpenerBrandResourceGetGetParams) WithHTTPClient ¶
func (o *OpenerBrandResourceGetGetParams) WithHTTPClient(client *http.Client) *OpenerBrandResourceGetGetParams
WithHTTPClient adds the HTTPClient to the opener brand resource get get params
func (*OpenerBrandResourceGetGetParams) WithTimeout ¶
func (o *OpenerBrandResourceGetGetParams) WithTimeout(timeout time.Duration) *OpenerBrandResourceGetGetParams
WithTimeout adds the timeout to the opener brand resource get get params
func (*OpenerBrandResourceGetGetParams) WriteToRequest ¶
func (o *OpenerBrandResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OpenerBrandResourceGetGetReader ¶
type OpenerBrandResourceGetGetReader struct {
// contains filtered or unexported fields
}
OpenerBrandResourceGetGetReader is a Reader for the OpenerBrandResourceGetGet structure.
func (*OpenerBrandResourceGetGetReader) ReadResponse ¶
func (o *OpenerBrandResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OpenerBrandsResourceGetGetOK ¶
type OpenerBrandsResourceGetGetOK struct {
Payload []*models.OpenerIntercomBrand
}
OpenerBrandsResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewOpenerBrandsResourceGetGetOK ¶
func NewOpenerBrandsResourceGetGetOK() *OpenerBrandsResourceGetGetOK
NewOpenerBrandsResourceGetGetOK creates a OpenerBrandsResourceGetGetOK with default headers values
func (*OpenerBrandsResourceGetGetOK) Code ¶
func (o *OpenerBrandsResourceGetGetOK) Code() int
Code gets the status code for the opener brands resource get get o k response
func (*OpenerBrandsResourceGetGetOK) Error ¶
func (o *OpenerBrandsResourceGetGetOK) Error() string
func (*OpenerBrandsResourceGetGetOK) GetPayload ¶
func (o *OpenerBrandsResourceGetGetOK) GetPayload() []*models.OpenerIntercomBrand
func (*OpenerBrandsResourceGetGetOK) IsClientError ¶
func (o *OpenerBrandsResourceGetGetOK) IsClientError() bool
IsClientError returns true when this opener brands resource get get o k response has a 4xx status code
func (*OpenerBrandsResourceGetGetOK) IsCode ¶
func (o *OpenerBrandsResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this opener brands resource get get o k response a status code equal to that given
func (*OpenerBrandsResourceGetGetOK) IsRedirect ¶
func (o *OpenerBrandsResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this opener brands resource get get o k response has a 3xx status code
func (*OpenerBrandsResourceGetGetOK) IsServerError ¶
func (o *OpenerBrandsResourceGetGetOK) IsServerError() bool
IsServerError returns true when this opener brands resource get get o k response has a 5xx status code
func (*OpenerBrandsResourceGetGetOK) IsSuccess ¶
func (o *OpenerBrandsResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this opener brands resource get get o k response has a 2xx status code
func (*OpenerBrandsResourceGetGetOK) String ¶
func (o *OpenerBrandsResourceGetGetOK) String() string
type OpenerBrandsResourceGetGetParams ¶
type OpenerBrandsResourceGetGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OpenerBrandsResourceGetGetParams contains all the parameters to send to the API endpoint
for the opener brands resource get get operation. Typically these are written to a http.Request.
func NewOpenerBrandsResourceGetGetParams ¶
func NewOpenerBrandsResourceGetGetParams() *OpenerBrandsResourceGetGetParams
NewOpenerBrandsResourceGetGetParams creates a new OpenerBrandsResourceGetGetParams 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 NewOpenerBrandsResourceGetGetParamsWithContext ¶
func NewOpenerBrandsResourceGetGetParamsWithContext(ctx context.Context) *OpenerBrandsResourceGetGetParams
NewOpenerBrandsResourceGetGetParamsWithContext creates a new OpenerBrandsResourceGetGetParams object with the ability to set a context for a request.
func NewOpenerBrandsResourceGetGetParamsWithHTTPClient ¶
func NewOpenerBrandsResourceGetGetParamsWithHTTPClient(client *http.Client) *OpenerBrandsResourceGetGetParams
NewOpenerBrandsResourceGetGetParamsWithHTTPClient creates a new OpenerBrandsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewOpenerBrandsResourceGetGetParamsWithTimeout ¶
func NewOpenerBrandsResourceGetGetParamsWithTimeout(timeout time.Duration) *OpenerBrandsResourceGetGetParams
NewOpenerBrandsResourceGetGetParamsWithTimeout creates a new OpenerBrandsResourceGetGetParams object with the ability to set a timeout on a request.
func (*OpenerBrandsResourceGetGetParams) SetContext ¶
func (o *OpenerBrandsResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the opener brands resource get get params
func (*OpenerBrandsResourceGetGetParams) SetDefaults ¶
func (o *OpenerBrandsResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the opener brands resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*OpenerBrandsResourceGetGetParams) SetHTTPClient ¶
func (o *OpenerBrandsResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the opener brands resource get get params
func (*OpenerBrandsResourceGetGetParams) SetTimeout ¶
func (o *OpenerBrandsResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the opener brands resource get get params
func (*OpenerBrandsResourceGetGetParams) WithContext ¶
func (o *OpenerBrandsResourceGetGetParams) WithContext(ctx context.Context) *OpenerBrandsResourceGetGetParams
WithContext adds the context to the opener brands resource get get params
func (*OpenerBrandsResourceGetGetParams) WithDefaults ¶
func (o *OpenerBrandsResourceGetGetParams) WithDefaults() *OpenerBrandsResourceGetGetParams
WithDefaults hydrates default values in the opener brands resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*OpenerBrandsResourceGetGetParams) WithHTTPClient ¶
func (o *OpenerBrandsResourceGetGetParams) WithHTTPClient(client *http.Client) *OpenerBrandsResourceGetGetParams
WithHTTPClient adds the HTTPClient to the opener brands resource get get params
func (*OpenerBrandsResourceGetGetParams) WithTimeout ¶
func (o *OpenerBrandsResourceGetGetParams) WithTimeout(timeout time.Duration) *OpenerBrandsResourceGetGetParams
WithTimeout adds the timeout to the opener brands resource get get params
func (*OpenerBrandsResourceGetGetParams) WriteToRequest ¶
func (o *OpenerBrandsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OpenerBrandsResourceGetGetReader ¶
type OpenerBrandsResourceGetGetReader struct {
// contains filtered or unexported fields
}
OpenerBrandsResourceGetGetReader is a Reader for the OpenerBrandsResourceGetGet structure.
func (*OpenerBrandsResourceGetGetReader) ReadResponse ¶
func (o *OpenerBrandsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OpenerIntercomResourceGetGetOK ¶
type OpenerIntercomResourceGetGetOK struct {
Payload *models.OpenerIntercomModel
}
OpenerIntercomResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewOpenerIntercomResourceGetGetOK ¶
func NewOpenerIntercomResourceGetGetOK() *OpenerIntercomResourceGetGetOK
NewOpenerIntercomResourceGetGetOK creates a OpenerIntercomResourceGetGetOK with default headers values
func (*OpenerIntercomResourceGetGetOK) Code ¶
func (o *OpenerIntercomResourceGetGetOK) Code() int
Code gets the status code for the opener intercom resource get get o k response
func (*OpenerIntercomResourceGetGetOK) Error ¶
func (o *OpenerIntercomResourceGetGetOK) Error() string
func (*OpenerIntercomResourceGetGetOK) GetPayload ¶
func (o *OpenerIntercomResourceGetGetOK) GetPayload() *models.OpenerIntercomModel
func (*OpenerIntercomResourceGetGetOK) IsClientError ¶
func (o *OpenerIntercomResourceGetGetOK) IsClientError() bool
IsClientError returns true when this opener intercom resource get get o k response has a 4xx status code
func (*OpenerIntercomResourceGetGetOK) IsCode ¶
func (o *OpenerIntercomResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this opener intercom resource get get o k response a status code equal to that given
func (*OpenerIntercomResourceGetGetOK) IsRedirect ¶
func (o *OpenerIntercomResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this opener intercom resource get get o k response has a 3xx status code
func (*OpenerIntercomResourceGetGetOK) IsServerError ¶
func (o *OpenerIntercomResourceGetGetOK) IsServerError() bool
IsServerError returns true when this opener intercom resource get get o k response has a 5xx status code
func (*OpenerIntercomResourceGetGetOK) IsSuccess ¶
func (o *OpenerIntercomResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this opener intercom resource get get o k response has a 2xx status code
func (*OpenerIntercomResourceGetGetOK) String ¶
func (o *OpenerIntercomResourceGetGetOK) String() string
type OpenerIntercomResourceGetGetParams ¶
type OpenerIntercomResourceGetGetParams struct { /* IntercomID. The intercom ID */ IntercomID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OpenerIntercomResourceGetGetParams contains all the parameters to send to the API endpoint
for the opener intercom resource get get operation. Typically these are written to a http.Request.
func NewOpenerIntercomResourceGetGetParams ¶
func NewOpenerIntercomResourceGetGetParams() *OpenerIntercomResourceGetGetParams
NewOpenerIntercomResourceGetGetParams creates a new OpenerIntercomResourceGetGetParams 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 NewOpenerIntercomResourceGetGetParamsWithContext ¶
func NewOpenerIntercomResourceGetGetParamsWithContext(ctx context.Context) *OpenerIntercomResourceGetGetParams
NewOpenerIntercomResourceGetGetParamsWithContext creates a new OpenerIntercomResourceGetGetParams object with the ability to set a context for a request.
func NewOpenerIntercomResourceGetGetParamsWithHTTPClient ¶
func NewOpenerIntercomResourceGetGetParamsWithHTTPClient(client *http.Client) *OpenerIntercomResourceGetGetParams
NewOpenerIntercomResourceGetGetParamsWithHTTPClient creates a new OpenerIntercomResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewOpenerIntercomResourceGetGetParamsWithTimeout ¶
func NewOpenerIntercomResourceGetGetParamsWithTimeout(timeout time.Duration) *OpenerIntercomResourceGetGetParams
NewOpenerIntercomResourceGetGetParamsWithTimeout creates a new OpenerIntercomResourceGetGetParams object with the ability to set a timeout on a request.
func (*OpenerIntercomResourceGetGetParams) SetContext ¶
func (o *OpenerIntercomResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the opener intercom resource get get params
func (*OpenerIntercomResourceGetGetParams) SetDefaults ¶
func (o *OpenerIntercomResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the opener intercom resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*OpenerIntercomResourceGetGetParams) SetHTTPClient ¶
func (o *OpenerIntercomResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the opener intercom resource get get params
func (*OpenerIntercomResourceGetGetParams) SetIntercomID ¶
func (o *OpenerIntercomResourceGetGetParams) SetIntercomID(intercomID int64)
SetIntercomID adds the intercomId to the opener intercom resource get get params
func (*OpenerIntercomResourceGetGetParams) SetTimeout ¶
func (o *OpenerIntercomResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the opener intercom resource get get params
func (*OpenerIntercomResourceGetGetParams) WithContext ¶
func (o *OpenerIntercomResourceGetGetParams) WithContext(ctx context.Context) *OpenerIntercomResourceGetGetParams
WithContext adds the context to the opener intercom resource get get params
func (*OpenerIntercomResourceGetGetParams) WithDefaults ¶
func (o *OpenerIntercomResourceGetGetParams) WithDefaults() *OpenerIntercomResourceGetGetParams
WithDefaults hydrates default values in the opener intercom resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*OpenerIntercomResourceGetGetParams) WithHTTPClient ¶
func (o *OpenerIntercomResourceGetGetParams) WithHTTPClient(client *http.Client) *OpenerIntercomResourceGetGetParams
WithHTTPClient adds the HTTPClient to the opener intercom resource get get params
func (*OpenerIntercomResourceGetGetParams) WithIntercomID ¶
func (o *OpenerIntercomResourceGetGetParams) WithIntercomID(intercomID int64) *OpenerIntercomResourceGetGetParams
WithIntercomID adds the intercomID to the opener intercom resource get get params
func (*OpenerIntercomResourceGetGetParams) WithTimeout ¶
func (o *OpenerIntercomResourceGetGetParams) WithTimeout(timeout time.Duration) *OpenerIntercomResourceGetGetParams
WithTimeout adds the timeout to the opener intercom resource get get params
func (*OpenerIntercomResourceGetGetParams) WriteToRequest ¶
func (o *OpenerIntercomResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OpenerIntercomResourceGetGetReader ¶
type OpenerIntercomResourceGetGetReader struct {
// contains filtered or unexported fields
}
OpenerIntercomResourceGetGetReader is a Reader for the OpenerIntercomResourceGetGet structure.
func (*OpenerIntercomResourceGetGetReader) ReadResponse ¶
func (o *OpenerIntercomResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OpenerIntercomsResourceGetGetOK ¶
type OpenerIntercomsResourceGetGetOK struct {
Payload []*models.OpenerIntercomModel
}
OpenerIntercomsResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewOpenerIntercomsResourceGetGetOK ¶
func NewOpenerIntercomsResourceGetGetOK() *OpenerIntercomsResourceGetGetOK
NewOpenerIntercomsResourceGetGetOK creates a OpenerIntercomsResourceGetGetOK with default headers values
func (*OpenerIntercomsResourceGetGetOK) Code ¶
func (o *OpenerIntercomsResourceGetGetOK) Code() int
Code gets the status code for the opener intercoms resource get get o k response
func (*OpenerIntercomsResourceGetGetOK) Error ¶
func (o *OpenerIntercomsResourceGetGetOK) Error() string
func (*OpenerIntercomsResourceGetGetOK) GetPayload ¶
func (o *OpenerIntercomsResourceGetGetOK) GetPayload() []*models.OpenerIntercomModel
func (*OpenerIntercomsResourceGetGetOK) IsClientError ¶
func (o *OpenerIntercomsResourceGetGetOK) IsClientError() bool
IsClientError returns true when this opener intercoms resource get get o k response has a 4xx status code
func (*OpenerIntercomsResourceGetGetOK) IsCode ¶
func (o *OpenerIntercomsResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this opener intercoms resource get get o k response a status code equal to that given
func (*OpenerIntercomsResourceGetGetOK) IsRedirect ¶
func (o *OpenerIntercomsResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this opener intercoms resource get get o k response has a 3xx status code
func (*OpenerIntercomsResourceGetGetOK) IsServerError ¶
func (o *OpenerIntercomsResourceGetGetOK) IsServerError() bool
IsServerError returns true when this opener intercoms resource get get o k response has a 5xx status code
func (*OpenerIntercomsResourceGetGetOK) IsSuccess ¶
func (o *OpenerIntercomsResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this opener intercoms resource get get o k response has a 2xx status code
func (*OpenerIntercomsResourceGetGetOK) String ¶
func (o *OpenerIntercomsResourceGetGetOK) String() string
type OpenerIntercomsResourceGetGetParams ¶
type OpenerIntercomsResourceGetGetParams struct { /* BrandID. Filter for brandId. Required if 'recentlyChanged' is not set */ BrandID *int64 /* IgnoreVerified. If true, return intercoms ignoring their verified value */ IgnoreVerified *bool /* RecentlyChanged. If true, return all intercoms which recently were updated */ RecentlyChanged *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OpenerIntercomsResourceGetGetParams contains all the parameters to send to the API endpoint
for the opener intercoms resource get get operation. Typically these are written to a http.Request.
func NewOpenerIntercomsResourceGetGetParams ¶
func NewOpenerIntercomsResourceGetGetParams() *OpenerIntercomsResourceGetGetParams
NewOpenerIntercomsResourceGetGetParams creates a new OpenerIntercomsResourceGetGetParams 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 NewOpenerIntercomsResourceGetGetParamsWithContext ¶
func NewOpenerIntercomsResourceGetGetParamsWithContext(ctx context.Context) *OpenerIntercomsResourceGetGetParams
NewOpenerIntercomsResourceGetGetParamsWithContext creates a new OpenerIntercomsResourceGetGetParams object with the ability to set a context for a request.
func NewOpenerIntercomsResourceGetGetParamsWithHTTPClient ¶
func NewOpenerIntercomsResourceGetGetParamsWithHTTPClient(client *http.Client) *OpenerIntercomsResourceGetGetParams
NewOpenerIntercomsResourceGetGetParamsWithHTTPClient creates a new OpenerIntercomsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewOpenerIntercomsResourceGetGetParamsWithTimeout ¶
func NewOpenerIntercomsResourceGetGetParamsWithTimeout(timeout time.Duration) *OpenerIntercomsResourceGetGetParams
NewOpenerIntercomsResourceGetGetParamsWithTimeout creates a new OpenerIntercomsResourceGetGetParams object with the ability to set a timeout on a request.
func (*OpenerIntercomsResourceGetGetParams) SetBrandID ¶
func (o *OpenerIntercomsResourceGetGetParams) SetBrandID(brandID *int64)
SetBrandID adds the brandId to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) SetContext ¶
func (o *OpenerIntercomsResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) SetDefaults ¶
func (o *OpenerIntercomsResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the opener intercoms resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*OpenerIntercomsResourceGetGetParams) SetHTTPClient ¶
func (o *OpenerIntercomsResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) SetIgnoreVerified ¶
func (o *OpenerIntercomsResourceGetGetParams) SetIgnoreVerified(ignoreVerified *bool)
SetIgnoreVerified adds the ignoreVerified to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) SetRecentlyChanged ¶
func (o *OpenerIntercomsResourceGetGetParams) SetRecentlyChanged(recentlyChanged *bool)
SetRecentlyChanged adds the recentlyChanged to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) SetTimeout ¶
func (o *OpenerIntercomsResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) WithBrandID ¶
func (o *OpenerIntercomsResourceGetGetParams) WithBrandID(brandID *int64) *OpenerIntercomsResourceGetGetParams
WithBrandID adds the brandID to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) WithContext ¶
func (o *OpenerIntercomsResourceGetGetParams) WithContext(ctx context.Context) *OpenerIntercomsResourceGetGetParams
WithContext adds the context to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) WithDefaults ¶
func (o *OpenerIntercomsResourceGetGetParams) WithDefaults() *OpenerIntercomsResourceGetGetParams
WithDefaults hydrates default values in the opener intercoms resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*OpenerIntercomsResourceGetGetParams) WithHTTPClient ¶
func (o *OpenerIntercomsResourceGetGetParams) WithHTTPClient(client *http.Client) *OpenerIntercomsResourceGetGetParams
WithHTTPClient adds the HTTPClient to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) WithIgnoreVerified ¶
func (o *OpenerIntercomsResourceGetGetParams) WithIgnoreVerified(ignoreVerified *bool) *OpenerIntercomsResourceGetGetParams
WithIgnoreVerified adds the ignoreVerified to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) WithRecentlyChanged ¶
func (o *OpenerIntercomsResourceGetGetParams) WithRecentlyChanged(recentlyChanged *bool) *OpenerIntercomsResourceGetGetParams
WithRecentlyChanged adds the recentlyChanged to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) WithTimeout ¶
func (o *OpenerIntercomsResourceGetGetParams) WithTimeout(timeout time.Duration) *OpenerIntercomsResourceGetGetParams
WithTimeout adds the timeout to the opener intercoms resource get get params
func (*OpenerIntercomsResourceGetGetParams) WriteToRequest ¶
func (o *OpenerIntercomsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OpenerIntercomsResourceGetGetReader ¶
type OpenerIntercomsResourceGetGetReader struct {
// contains filtered or unexported fields
}
OpenerIntercomsResourceGetGetReader is a Reader for the OpenerIntercomsResourceGetGet structure.
func (*OpenerIntercomsResourceGetGetReader) ReadResponse ¶
func (o *OpenerIntercomsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- opener_brand_resource_get_get_parameters.go
- opener_brand_resource_get_get_responses.go
- opener_brands_resource_get_get_parameters.go
- opener_brands_resource_get_get_responses.go
- opener_client.go
- opener_intercom_resource_get_get_parameters.go
- opener_intercom_resource_get_get_responses.go
- opener_intercoms_resource_get_get_parameters.go
- opener_intercoms_resource_get_get_responses.go