Documentation ¶
Index ¶
- type AllowBadRequest
- func (o *AllowBadRequest) Error() string
- func (o *AllowBadRequest) GetPayload() *models.Error
- func (o *AllowBadRequest) IsClientError() bool
- func (o *AllowBadRequest) IsCode(code int) bool
- func (o *AllowBadRequest) IsRedirect() bool
- func (o *AllowBadRequest) IsServerError() bool
- func (o *AllowBadRequest) IsSuccess() bool
- func (o *AllowBadRequest) String() string
- type AllowNoContent
- func (o *AllowNoContent) Error() string
- func (o *AllowNoContent) IsClientError() bool
- func (o *AllowNoContent) IsCode(code int) bool
- func (o *AllowNoContent) IsRedirect() bool
- func (o *AllowNoContent) IsServerError() bool
- func (o *AllowNoContent) IsSuccess() bool
- func (o *AllowNoContent) String() string
- type AllowParams
- func (o *AllowParams) SetBid(bid string)
- func (o *AllowParams) SetContext(ctx context.Context)
- func (o *AllowParams) SetDefaults()
- func (o *AllowParams) SetExp(exp int64)
- func (o *AllowParams) SetHTTPClient(client *http.Client)
- func (o *AllowParams) SetTimeout(timeout time.Duration)
- func (o *AllowParams) WithBid(bid string) *AllowParams
- func (o *AllowParams) WithContext(ctx context.Context) *AllowParams
- func (o *AllowParams) WithDefaults() *AllowParams
- func (o *AllowParams) WithExp(exp int64) *AllowParams
- func (o *AllowParams) WithHTTPClient(client *http.Client) *AllowParams
- func (o *AllowParams) WithTimeout(timeout time.Duration) *AllowParams
- func (o *AllowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllowReader
- type AllowUnauthorized
- func (o *AllowUnauthorized) Error() string
- func (o *AllowUnauthorized) GetPayload() *models.Error
- func (o *AllowUnauthorized) IsClientError() bool
- func (o *AllowUnauthorized) IsCode(code int) bool
- func (o *AllowUnauthorized) IsRedirect() bool
- func (o *AllowUnauthorized) IsServerError() bool
- func (o *AllowUnauthorized) IsSuccess() bool
- func (o *AllowUnauthorized) String() string
- type Client
- func (a *Client) Allow(params *AllowParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AllowNoContent, error)
- func (a *Client) Deny(params *DenyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DenyNoContent, error)
- func (a *Client) ListAllowed(params *ListAllowedParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAllowedOK, error)
- func (a *Client) ListDenied(params *ListDeniedParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDeniedOK, error)
- func (a *Client) Session(params *SessionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SessionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DenyBadRequest
- func (o *DenyBadRequest) Error() string
- func (o *DenyBadRequest) GetPayload() *models.Error
- func (o *DenyBadRequest) IsClientError() bool
- func (o *DenyBadRequest) IsCode(code int) bool
- func (o *DenyBadRequest) IsRedirect() bool
- func (o *DenyBadRequest) IsServerError() bool
- func (o *DenyBadRequest) IsSuccess() bool
- func (o *DenyBadRequest) String() string
- type DenyNoContent
- type DenyParams
- func (o *DenyParams) SetBid(bid string)
- func (o *DenyParams) SetContext(ctx context.Context)
- func (o *DenyParams) SetDefaults()
- func (o *DenyParams) SetExp(exp int64)
- func (o *DenyParams) SetHTTPClient(client *http.Client)
- func (o *DenyParams) SetTimeout(timeout time.Duration)
- func (o *DenyParams) WithBid(bid string) *DenyParams
- func (o *DenyParams) WithContext(ctx context.Context) *DenyParams
- func (o *DenyParams) WithDefaults() *DenyParams
- func (o *DenyParams) WithExp(exp int64) *DenyParams
- func (o *DenyParams) WithHTTPClient(client *http.Client) *DenyParams
- func (o *DenyParams) WithTimeout(timeout time.Duration) *DenyParams
- func (o *DenyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DenyReader
- type DenyUnauthorized
- func (o *DenyUnauthorized) Error() string
- func (o *DenyUnauthorized) GetPayload() *models.Error
- func (o *DenyUnauthorized) IsClientError() bool
- func (o *DenyUnauthorized) IsCode(code int) bool
- func (o *DenyUnauthorized) IsRedirect() bool
- func (o *DenyUnauthorized) IsServerError() bool
- func (o *DenyUnauthorized) IsSuccess() bool
- func (o *DenyUnauthorized) String() string
- type ListAllowedOK
- func (o *ListAllowedOK) Error() string
- func (o *ListAllowedOK) GetPayload() *models.BookingIDs
- func (o *ListAllowedOK) IsClientError() bool
- func (o *ListAllowedOK) IsCode(code int) bool
- func (o *ListAllowedOK) IsRedirect() bool
- func (o *ListAllowedOK) IsServerError() bool
- func (o *ListAllowedOK) IsSuccess() bool
- func (o *ListAllowedOK) String() string
- type ListAllowedParams
- func (o *ListAllowedParams) SetContext(ctx context.Context)
- func (o *ListAllowedParams) SetDefaults()
- func (o *ListAllowedParams) SetHTTPClient(client *http.Client)
- func (o *ListAllowedParams) SetTimeout(timeout time.Duration)
- func (o *ListAllowedParams) WithContext(ctx context.Context) *ListAllowedParams
- func (o *ListAllowedParams) WithDefaults() *ListAllowedParams
- func (o *ListAllowedParams) WithHTTPClient(client *http.Client) *ListAllowedParams
- func (o *ListAllowedParams) WithTimeout(timeout time.Duration) *ListAllowedParams
- func (o *ListAllowedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAllowedReader
- type ListAllowedUnauthorized
- func (o *ListAllowedUnauthorized) Error() string
- func (o *ListAllowedUnauthorized) GetPayload() *models.Error
- func (o *ListAllowedUnauthorized) IsClientError() bool
- func (o *ListAllowedUnauthorized) IsCode(code int) bool
- func (o *ListAllowedUnauthorized) IsRedirect() bool
- func (o *ListAllowedUnauthorized) IsServerError() bool
- func (o *ListAllowedUnauthorized) IsSuccess() bool
- func (o *ListAllowedUnauthorized) String() string
- type ListDeniedOK
- func (o *ListDeniedOK) Error() string
- func (o *ListDeniedOK) GetPayload() *models.BookingIDs
- func (o *ListDeniedOK) IsClientError() bool
- func (o *ListDeniedOK) IsCode(code int) bool
- func (o *ListDeniedOK) IsRedirect() bool
- func (o *ListDeniedOK) IsServerError() bool
- func (o *ListDeniedOK) IsSuccess() bool
- func (o *ListDeniedOK) String() string
- type ListDeniedParams
- func (o *ListDeniedParams) SetContext(ctx context.Context)
- func (o *ListDeniedParams) SetDefaults()
- func (o *ListDeniedParams) SetHTTPClient(client *http.Client)
- func (o *ListDeniedParams) SetTimeout(timeout time.Duration)
- func (o *ListDeniedParams) WithContext(ctx context.Context) *ListDeniedParams
- func (o *ListDeniedParams) WithDefaults() *ListDeniedParams
- func (o *ListDeniedParams) WithHTTPClient(client *http.Client) *ListDeniedParams
- func (o *ListDeniedParams) WithTimeout(timeout time.Duration) *ListDeniedParams
- func (o *ListDeniedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDeniedReader
- type ListDeniedUnauthorized
- func (o *ListDeniedUnauthorized) Error() string
- func (o *ListDeniedUnauthorized) GetPayload() *models.Error
- func (o *ListDeniedUnauthorized) IsClientError() bool
- func (o *ListDeniedUnauthorized) IsCode(code int) bool
- func (o *ListDeniedUnauthorized) IsRedirect() bool
- func (o *ListDeniedUnauthorized) IsServerError() bool
- func (o *ListDeniedUnauthorized) IsSuccess() bool
- func (o *ListDeniedUnauthorized) String() string
- type SessionBadRequest
- func (o *SessionBadRequest) Error() string
- func (o *SessionBadRequest) GetPayload() *models.Error
- func (o *SessionBadRequest) IsClientError() bool
- func (o *SessionBadRequest) IsCode(code int) bool
- func (o *SessionBadRequest) IsRedirect() bool
- func (o *SessionBadRequest) IsServerError() bool
- func (o *SessionBadRequest) IsSuccess() bool
- func (o *SessionBadRequest) String() string
- type SessionOK
- func (o *SessionOK) Error() string
- func (o *SessionOK) GetPayload() *SessionOKBody
- func (o *SessionOK) IsClientError() bool
- func (o *SessionOK) IsCode(code int) bool
- func (o *SessionOK) IsRedirect() bool
- func (o *SessionOK) IsServerError() bool
- func (o *SessionOK) IsSuccess() bool
- func (o *SessionOK) String() string
- type SessionOKBody
- type SessionParams
- func (o *SessionParams) SetContext(ctx context.Context)
- func (o *SessionParams) SetDefaults()
- func (o *SessionParams) SetHTTPClient(client *http.Client)
- func (o *SessionParams) SetSessionID(sessionID string)
- func (o *SessionParams) SetTimeout(timeout time.Duration)
- func (o *SessionParams) WithContext(ctx context.Context) *SessionParams
- func (o *SessionParams) WithDefaults() *SessionParams
- func (o *SessionParams) WithHTTPClient(client *http.Client) *SessionParams
- func (o *SessionParams) WithSessionID(sessionID string) *SessionParams
- func (o *SessionParams) WithTimeout(timeout time.Duration) *SessionParams
- func (o *SessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SessionReader
- type SessionUnauthorized
- func (o *SessionUnauthorized) Error() string
- func (o *SessionUnauthorized) GetPayload() interface{}
- func (o *SessionUnauthorized) IsClientError() bool
- func (o *SessionUnauthorized) IsCode(code int) bool
- func (o *SessionUnauthorized) IsRedirect() bool
- func (o *SessionUnauthorized) IsServerError() bool
- func (o *SessionUnauthorized) IsSuccess() bool
- func (o *SessionUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowBadRequest ¶
AllowBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewAllowBadRequest ¶
func NewAllowBadRequest() *AllowBadRequest
NewAllowBadRequest creates a AllowBadRequest with default headers values
func (*AllowBadRequest) Error ¶
func (o *AllowBadRequest) Error() string
func (*AllowBadRequest) GetPayload ¶
func (o *AllowBadRequest) GetPayload() *models.Error
func (*AllowBadRequest) IsClientError ¶
func (o *AllowBadRequest) IsClientError() bool
IsClientError returns true when this allow bad request response has a 4xx status code
func (*AllowBadRequest) IsCode ¶
func (o *AllowBadRequest) IsCode(code int) bool
IsCode returns true when this allow bad request response a status code equal to that given
func (*AllowBadRequest) IsRedirect ¶
func (o *AllowBadRequest) IsRedirect() bool
IsRedirect returns true when this allow bad request response has a 3xx status code
func (*AllowBadRequest) IsServerError ¶
func (o *AllowBadRequest) IsServerError() bool
IsServerError returns true when this allow bad request response has a 5xx status code
func (*AllowBadRequest) IsSuccess ¶
func (o *AllowBadRequest) IsSuccess() bool
IsSuccess returns true when this allow bad request response has a 2xx status code
func (*AllowBadRequest) String ¶
func (o *AllowBadRequest) String() string
type AllowNoContent ¶
type AllowNoContent struct { }
AllowNoContent describes a response with status code 204, with default header values.
The bid was allowed successfully.
func NewAllowNoContent ¶
func NewAllowNoContent() *AllowNoContent
NewAllowNoContent creates a AllowNoContent with default headers values
func (*AllowNoContent) Error ¶
func (o *AllowNoContent) Error() string
func (*AllowNoContent) IsClientError ¶
func (o *AllowNoContent) IsClientError() bool
IsClientError returns true when this allow no content response has a 4xx status code
func (*AllowNoContent) IsCode ¶
func (o *AllowNoContent) IsCode(code int) bool
IsCode returns true when this allow no content response a status code equal to that given
func (*AllowNoContent) IsRedirect ¶
func (o *AllowNoContent) IsRedirect() bool
IsRedirect returns true when this allow no content response has a 3xx status code
func (*AllowNoContent) IsServerError ¶
func (o *AllowNoContent) IsServerError() bool
IsServerError returns true when this allow no content response has a 5xx status code
func (*AllowNoContent) IsSuccess ¶
func (o *AllowNoContent) IsSuccess() bool
IsSuccess returns true when this allow no content response has a 2xx status code
func (*AllowNoContent) String ¶
func (o *AllowNoContent) String() string
type AllowParams ¶
type AllowParams struct { // Bid. Bid string // Exp. Exp int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllowParams contains all the parameters to send to the API endpoint
for the allow operation. Typically these are written to a http.Request.
func NewAllowParams ¶
func NewAllowParams() *AllowParams
NewAllowParams creates a new AllowParams 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 NewAllowParamsWithContext ¶
func NewAllowParamsWithContext(ctx context.Context) *AllowParams
NewAllowParamsWithContext creates a new AllowParams object with the ability to set a context for a request.
func NewAllowParamsWithHTTPClient ¶
func NewAllowParamsWithHTTPClient(client *http.Client) *AllowParams
NewAllowParamsWithHTTPClient creates a new AllowParams object with the ability to set a custom HTTPClient for a request.
func NewAllowParamsWithTimeout ¶
func NewAllowParamsWithTimeout(timeout time.Duration) *AllowParams
NewAllowParamsWithTimeout creates a new AllowParams object with the ability to set a timeout on a request.
func (*AllowParams) SetBid ¶
func (o *AllowParams) SetBid(bid string)
SetBid adds the bid to the allow params
func (*AllowParams) SetContext ¶
func (o *AllowParams) SetContext(ctx context.Context)
SetContext adds the context to the allow params
func (*AllowParams) SetDefaults ¶
func (o *AllowParams) SetDefaults()
SetDefaults hydrates default values in the allow params (not the query body).
All values with no default are reset to their zero value.
func (*AllowParams) SetExp ¶
func (o *AllowParams) SetExp(exp int64)
SetExp adds the exp to the allow params
func (*AllowParams) SetHTTPClient ¶
func (o *AllowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allow params
func (*AllowParams) SetTimeout ¶
func (o *AllowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allow params
func (*AllowParams) WithBid ¶
func (o *AllowParams) WithBid(bid string) *AllowParams
WithBid adds the bid to the allow params
func (*AllowParams) WithContext ¶
func (o *AllowParams) WithContext(ctx context.Context) *AllowParams
WithContext adds the context to the allow params
func (*AllowParams) WithDefaults ¶
func (o *AllowParams) WithDefaults() *AllowParams
WithDefaults hydrates default values in the allow params (not the query body).
All values with no default are reset to their zero value.
func (*AllowParams) WithExp ¶
func (o *AllowParams) WithExp(exp int64) *AllowParams
WithExp adds the exp to the allow params
func (*AllowParams) WithHTTPClient ¶
func (o *AllowParams) WithHTTPClient(client *http.Client) *AllowParams
WithHTTPClient adds the HTTPClient to the allow params
func (*AllowParams) WithTimeout ¶
func (o *AllowParams) WithTimeout(timeout time.Duration) *AllowParams
WithTimeout adds the timeout to the allow params
func (*AllowParams) WriteToRequest ¶
func (o *AllowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllowReader ¶
type AllowReader struct {
// contains filtered or unexported fields
}
AllowReader is a Reader for the Allow structure.
func (*AllowReader) ReadResponse ¶
func (o *AllowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllowUnauthorized ¶
type AllowUnauthorized struct {
}AllowUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewAllowUnauthorized ¶
func NewAllowUnauthorized() *AllowUnauthorized
NewAllowUnauthorized creates a AllowUnauthorized with default headers values
func (*AllowUnauthorized) Error ¶
func (o *AllowUnauthorized) Error() string
func (*AllowUnauthorized) GetPayload ¶
func (o *AllowUnauthorized) GetPayload() *models.Error
func (*AllowUnauthorized) IsClientError ¶
func (o *AllowUnauthorized) IsClientError() bool
IsClientError returns true when this allow unauthorized response has a 4xx status code
func (*AllowUnauthorized) IsCode ¶
func (o *AllowUnauthorized) IsCode(code int) bool
IsCode returns true when this allow unauthorized response a status code equal to that given
func (*AllowUnauthorized) IsRedirect ¶
func (o *AllowUnauthorized) IsRedirect() bool
IsRedirect returns true when this allow unauthorized response has a 3xx status code
func (*AllowUnauthorized) IsServerError ¶
func (o *AllowUnauthorized) IsServerError() bool
IsServerError returns true when this allow unauthorized response has a 5xx status code
func (*AllowUnauthorized) IsSuccess ¶
func (o *AllowUnauthorized) IsSuccess() bool
IsSuccess returns true when this allow unauthorized response has a 2xx status code
func (*AllowUnauthorized) String ¶
func (o *AllowUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) Allow ¶
func (a *Client) Allow(params *AllowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllowNoContent, error)
Allow undos the denial of a booking id
Undo the denial of a booking id
func (*Client) Deny ¶
func (a *Client) Deny(params *DenyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DenyNoContent, error)
Deny refuses sessions to new connections using tokens with the bid s booking ids and disconnect any current sessions immediately
Refuse sessions to new connections using tokens with the bid (booking id), and disconnect any current sessions immediately. The exp term is the unix time in UTC when the booking finishes (i.e. the earliest time it is safe to remove the bid from the deny list)
func (*Client) ListAllowed ¶
func (a *Client) ListAllowed(params *ListAllowedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAllowedOK, error)
ListAllowed gets a list of all currently allowed bids
Get a list of all currently-allowed bids (booking ids) with an ongoing or recent live connection
func (*Client) ListDenied ¶
func (a *Client) ListDenied(params *ListDeniedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDeniedOK, error)
ListDenied gets a list of all currently denied bids
Get a list of all currently-denied bids
func (*Client) Session ¶
func (a *Client) Session(params *SessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SessionOK, error)
Session sessions
access the specified session
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 { Allow(params *AllowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllowNoContent, error) Deny(params *DenyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DenyNoContent, error) ListAllowed(params *ListAllowedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAllowedOK, error) ListDenied(params *ListDeniedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDeniedOK, error) Session(params *SessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SessionOK, 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 operations API client.
type DenyBadRequest ¶
DenyBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewDenyBadRequest ¶
func NewDenyBadRequest() *DenyBadRequest
NewDenyBadRequest creates a DenyBadRequest with default headers values
func (*DenyBadRequest) Error ¶
func (o *DenyBadRequest) Error() string
func (*DenyBadRequest) GetPayload ¶
func (o *DenyBadRequest) GetPayload() *models.Error
func (*DenyBadRequest) IsClientError ¶
func (o *DenyBadRequest) IsClientError() bool
IsClientError returns true when this deny bad request response has a 4xx status code
func (*DenyBadRequest) IsCode ¶
func (o *DenyBadRequest) IsCode(code int) bool
IsCode returns true when this deny bad request response a status code equal to that given
func (*DenyBadRequest) IsRedirect ¶
func (o *DenyBadRequest) IsRedirect() bool
IsRedirect returns true when this deny bad request response has a 3xx status code
func (*DenyBadRequest) IsServerError ¶
func (o *DenyBadRequest) IsServerError() bool
IsServerError returns true when this deny bad request response has a 5xx status code
func (*DenyBadRequest) IsSuccess ¶
func (o *DenyBadRequest) IsSuccess() bool
IsSuccess returns true when this deny bad request response has a 2xx status code
func (*DenyBadRequest) String ¶
func (o *DenyBadRequest) String() string
type DenyNoContent ¶
type DenyNoContent struct { }
DenyNoContent describes a response with status code 204, with default header values.
The bid was denied successfully.
func NewDenyNoContent ¶
func NewDenyNoContent() *DenyNoContent
NewDenyNoContent creates a DenyNoContent with default headers values
func (*DenyNoContent) Error ¶
func (o *DenyNoContent) Error() string
func (*DenyNoContent) IsClientError ¶
func (o *DenyNoContent) IsClientError() bool
IsClientError returns true when this deny no content response has a 4xx status code
func (*DenyNoContent) IsCode ¶
func (o *DenyNoContent) IsCode(code int) bool
IsCode returns true when this deny no content response a status code equal to that given
func (*DenyNoContent) IsRedirect ¶
func (o *DenyNoContent) IsRedirect() bool
IsRedirect returns true when this deny no content response has a 3xx status code
func (*DenyNoContent) IsServerError ¶
func (o *DenyNoContent) IsServerError() bool
IsServerError returns true when this deny no content response has a 5xx status code
func (*DenyNoContent) IsSuccess ¶
func (o *DenyNoContent) IsSuccess() bool
IsSuccess returns true when this deny no content response has a 2xx status code
func (*DenyNoContent) String ¶
func (o *DenyNoContent) String() string
type DenyParams ¶
type DenyParams struct { // Bid. Bid string // Exp. Exp int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DenyParams contains all the parameters to send to the API endpoint
for the deny operation. Typically these are written to a http.Request.
func NewDenyParams ¶
func NewDenyParams() *DenyParams
NewDenyParams creates a new DenyParams 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 NewDenyParamsWithContext ¶
func NewDenyParamsWithContext(ctx context.Context) *DenyParams
NewDenyParamsWithContext creates a new DenyParams object with the ability to set a context for a request.
func NewDenyParamsWithHTTPClient ¶
func NewDenyParamsWithHTTPClient(client *http.Client) *DenyParams
NewDenyParamsWithHTTPClient creates a new DenyParams object with the ability to set a custom HTTPClient for a request.
func NewDenyParamsWithTimeout ¶
func NewDenyParamsWithTimeout(timeout time.Duration) *DenyParams
NewDenyParamsWithTimeout creates a new DenyParams object with the ability to set a timeout on a request.
func (*DenyParams) SetBid ¶
func (o *DenyParams) SetBid(bid string)
SetBid adds the bid to the deny params
func (*DenyParams) SetContext ¶
func (o *DenyParams) SetContext(ctx context.Context)
SetContext adds the context to the deny params
func (*DenyParams) SetDefaults ¶
func (o *DenyParams) SetDefaults()
SetDefaults hydrates default values in the deny params (not the query body).
All values with no default are reset to their zero value.
func (*DenyParams) SetExp ¶
func (o *DenyParams) SetExp(exp int64)
SetExp adds the exp to the deny params
func (*DenyParams) SetHTTPClient ¶
func (o *DenyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deny params
func (*DenyParams) SetTimeout ¶
func (o *DenyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deny params
func (*DenyParams) WithBid ¶
func (o *DenyParams) WithBid(bid string) *DenyParams
WithBid adds the bid to the deny params
func (*DenyParams) WithContext ¶
func (o *DenyParams) WithContext(ctx context.Context) *DenyParams
WithContext adds the context to the deny params
func (*DenyParams) WithDefaults ¶
func (o *DenyParams) WithDefaults() *DenyParams
WithDefaults hydrates default values in the deny params (not the query body).
All values with no default are reset to their zero value.
func (*DenyParams) WithExp ¶
func (o *DenyParams) WithExp(exp int64) *DenyParams
WithExp adds the exp to the deny params
func (*DenyParams) WithHTTPClient ¶
func (o *DenyParams) WithHTTPClient(client *http.Client) *DenyParams
WithHTTPClient adds the HTTPClient to the deny params
func (*DenyParams) WithTimeout ¶
func (o *DenyParams) WithTimeout(timeout time.Duration) *DenyParams
WithTimeout adds the timeout to the deny params
func (*DenyParams) WriteToRequest ¶
func (o *DenyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DenyReader ¶
type DenyReader struct {
// contains filtered or unexported fields
}
DenyReader is a Reader for the Deny structure.
func (*DenyReader) ReadResponse ¶
func (o *DenyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DenyUnauthorized ¶
type DenyUnauthorized struct {
}DenyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDenyUnauthorized ¶
func NewDenyUnauthorized() *DenyUnauthorized
NewDenyUnauthorized creates a DenyUnauthorized with default headers values
func (*DenyUnauthorized) Error ¶
func (o *DenyUnauthorized) Error() string
func (*DenyUnauthorized) GetPayload ¶
func (o *DenyUnauthorized) GetPayload() *models.Error
func (*DenyUnauthorized) IsClientError ¶
func (o *DenyUnauthorized) IsClientError() bool
IsClientError returns true when this deny unauthorized response has a 4xx status code
func (*DenyUnauthorized) IsCode ¶
func (o *DenyUnauthorized) IsCode(code int) bool
IsCode returns true when this deny unauthorized response a status code equal to that given
func (*DenyUnauthorized) IsRedirect ¶
func (o *DenyUnauthorized) IsRedirect() bool
IsRedirect returns true when this deny unauthorized response has a 3xx status code
func (*DenyUnauthorized) IsServerError ¶
func (o *DenyUnauthorized) IsServerError() bool
IsServerError returns true when this deny unauthorized response has a 5xx status code
func (*DenyUnauthorized) IsSuccess ¶
func (o *DenyUnauthorized) IsSuccess() bool
IsSuccess returns true when this deny unauthorized response has a 2xx status code
func (*DenyUnauthorized) String ¶
func (o *DenyUnauthorized) String() string
type ListAllowedOK ¶
type ListAllowedOK struct {
Payload *models.BookingIDs
}
ListAllowedOK describes a response with status code 200, with default header values.
Current or recently in-use allowed bids
func NewListAllowedOK ¶
func NewListAllowedOK() *ListAllowedOK
NewListAllowedOK creates a ListAllowedOK with default headers values
func (*ListAllowedOK) Error ¶
func (o *ListAllowedOK) Error() string
func (*ListAllowedOK) GetPayload ¶
func (o *ListAllowedOK) GetPayload() *models.BookingIDs
func (*ListAllowedOK) IsClientError ¶
func (o *ListAllowedOK) IsClientError() bool
IsClientError returns true when this list allowed o k response has a 4xx status code
func (*ListAllowedOK) IsCode ¶
func (o *ListAllowedOK) IsCode(code int) bool
IsCode returns true when this list allowed o k response a status code equal to that given
func (*ListAllowedOK) IsRedirect ¶
func (o *ListAllowedOK) IsRedirect() bool
IsRedirect returns true when this list allowed o k response has a 3xx status code
func (*ListAllowedOK) IsServerError ¶
func (o *ListAllowedOK) IsServerError() bool
IsServerError returns true when this list allowed o k response has a 5xx status code
func (*ListAllowedOK) IsSuccess ¶
func (o *ListAllowedOK) IsSuccess() bool
IsSuccess returns true when this list allowed o k response has a 2xx status code
func (*ListAllowedOK) String ¶
func (o *ListAllowedOK) String() string
type ListAllowedParams ¶
type ListAllowedParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAllowedParams contains all the parameters to send to the API endpoint
for the list allowed operation. Typically these are written to a http.Request.
func NewListAllowedParams ¶
func NewListAllowedParams() *ListAllowedParams
NewListAllowedParams creates a new ListAllowedParams 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 NewListAllowedParamsWithContext ¶
func NewListAllowedParamsWithContext(ctx context.Context) *ListAllowedParams
NewListAllowedParamsWithContext creates a new ListAllowedParams object with the ability to set a context for a request.
func NewListAllowedParamsWithHTTPClient ¶
func NewListAllowedParamsWithHTTPClient(client *http.Client) *ListAllowedParams
NewListAllowedParamsWithHTTPClient creates a new ListAllowedParams object with the ability to set a custom HTTPClient for a request.
func NewListAllowedParamsWithTimeout ¶
func NewListAllowedParamsWithTimeout(timeout time.Duration) *ListAllowedParams
NewListAllowedParamsWithTimeout creates a new ListAllowedParams object with the ability to set a timeout on a request.
func (*ListAllowedParams) SetContext ¶
func (o *ListAllowedParams) SetContext(ctx context.Context)
SetContext adds the context to the list allowed params
func (*ListAllowedParams) SetDefaults ¶
func (o *ListAllowedParams) SetDefaults()
SetDefaults hydrates default values in the list allowed params (not the query body).
All values with no default are reset to their zero value.
func (*ListAllowedParams) SetHTTPClient ¶
func (o *ListAllowedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list allowed params
func (*ListAllowedParams) SetTimeout ¶
func (o *ListAllowedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list allowed params
func (*ListAllowedParams) WithContext ¶
func (o *ListAllowedParams) WithContext(ctx context.Context) *ListAllowedParams
WithContext adds the context to the list allowed params
func (*ListAllowedParams) WithDefaults ¶
func (o *ListAllowedParams) WithDefaults() *ListAllowedParams
WithDefaults hydrates default values in the list allowed params (not the query body).
All values with no default are reset to their zero value.
func (*ListAllowedParams) WithHTTPClient ¶
func (o *ListAllowedParams) WithHTTPClient(client *http.Client) *ListAllowedParams
WithHTTPClient adds the HTTPClient to the list allowed params
func (*ListAllowedParams) WithTimeout ¶
func (o *ListAllowedParams) WithTimeout(timeout time.Duration) *ListAllowedParams
WithTimeout adds the timeout to the list allowed params
func (*ListAllowedParams) WriteToRequest ¶
func (o *ListAllowedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAllowedReader ¶
type ListAllowedReader struct {
// contains filtered or unexported fields
}
ListAllowedReader is a Reader for the ListAllowed structure.
func (*ListAllowedReader) ReadResponse ¶
func (o *ListAllowedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAllowedUnauthorized ¶
type ListAllowedUnauthorized struct {
}ListAllowedUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListAllowedUnauthorized ¶
func NewListAllowedUnauthorized() *ListAllowedUnauthorized
NewListAllowedUnauthorized creates a ListAllowedUnauthorized with default headers values
func (*ListAllowedUnauthorized) Error ¶
func (o *ListAllowedUnauthorized) Error() string
func (*ListAllowedUnauthorized) GetPayload ¶
func (o *ListAllowedUnauthorized) GetPayload() *models.Error
func (*ListAllowedUnauthorized) IsClientError ¶
func (o *ListAllowedUnauthorized) IsClientError() bool
IsClientError returns true when this list allowed unauthorized response has a 4xx status code
func (*ListAllowedUnauthorized) IsCode ¶
func (o *ListAllowedUnauthorized) IsCode(code int) bool
IsCode returns true when this list allowed unauthorized response a status code equal to that given
func (*ListAllowedUnauthorized) IsRedirect ¶
func (o *ListAllowedUnauthorized) IsRedirect() bool
IsRedirect returns true when this list allowed unauthorized response has a 3xx status code
func (*ListAllowedUnauthorized) IsServerError ¶
func (o *ListAllowedUnauthorized) IsServerError() bool
IsServerError returns true when this list allowed unauthorized response has a 5xx status code
func (*ListAllowedUnauthorized) IsSuccess ¶
func (o *ListAllowedUnauthorized) IsSuccess() bool
IsSuccess returns true when this list allowed unauthorized response has a 2xx status code
func (*ListAllowedUnauthorized) String ¶
func (o *ListAllowedUnauthorized) String() string
type ListDeniedOK ¶
type ListDeniedOK struct {
Payload *models.BookingIDs
}
ListDeniedOK describes a response with status code 200, with default header values.
List of current denied bids
func NewListDeniedOK ¶
func NewListDeniedOK() *ListDeniedOK
NewListDeniedOK creates a ListDeniedOK with default headers values
func (*ListDeniedOK) Error ¶
func (o *ListDeniedOK) Error() string
func (*ListDeniedOK) GetPayload ¶
func (o *ListDeniedOK) GetPayload() *models.BookingIDs
func (*ListDeniedOK) IsClientError ¶
func (o *ListDeniedOK) IsClientError() bool
IsClientError returns true when this list denied o k response has a 4xx status code
func (*ListDeniedOK) IsCode ¶
func (o *ListDeniedOK) IsCode(code int) bool
IsCode returns true when this list denied o k response a status code equal to that given
func (*ListDeniedOK) IsRedirect ¶
func (o *ListDeniedOK) IsRedirect() bool
IsRedirect returns true when this list denied o k response has a 3xx status code
func (*ListDeniedOK) IsServerError ¶
func (o *ListDeniedOK) IsServerError() bool
IsServerError returns true when this list denied o k response has a 5xx status code
func (*ListDeniedOK) IsSuccess ¶
func (o *ListDeniedOK) IsSuccess() bool
IsSuccess returns true when this list denied o k response has a 2xx status code
func (*ListDeniedOK) String ¶
func (o *ListDeniedOK) String() string
type ListDeniedParams ¶
type ListDeniedParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDeniedParams contains all the parameters to send to the API endpoint
for the list denied operation. Typically these are written to a http.Request.
func NewListDeniedParams ¶
func NewListDeniedParams() *ListDeniedParams
NewListDeniedParams creates a new ListDeniedParams 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 NewListDeniedParamsWithContext ¶
func NewListDeniedParamsWithContext(ctx context.Context) *ListDeniedParams
NewListDeniedParamsWithContext creates a new ListDeniedParams object with the ability to set a context for a request.
func NewListDeniedParamsWithHTTPClient ¶
func NewListDeniedParamsWithHTTPClient(client *http.Client) *ListDeniedParams
NewListDeniedParamsWithHTTPClient creates a new ListDeniedParams object with the ability to set a custom HTTPClient for a request.
func NewListDeniedParamsWithTimeout ¶
func NewListDeniedParamsWithTimeout(timeout time.Duration) *ListDeniedParams
NewListDeniedParamsWithTimeout creates a new ListDeniedParams object with the ability to set a timeout on a request.
func (*ListDeniedParams) SetContext ¶
func (o *ListDeniedParams) SetContext(ctx context.Context)
SetContext adds the context to the list denied params
func (*ListDeniedParams) SetDefaults ¶
func (o *ListDeniedParams) SetDefaults()
SetDefaults hydrates default values in the list denied params (not the query body).
All values with no default are reset to their zero value.
func (*ListDeniedParams) SetHTTPClient ¶
func (o *ListDeniedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list denied params
func (*ListDeniedParams) SetTimeout ¶
func (o *ListDeniedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list denied params
func (*ListDeniedParams) WithContext ¶
func (o *ListDeniedParams) WithContext(ctx context.Context) *ListDeniedParams
WithContext adds the context to the list denied params
func (*ListDeniedParams) WithDefaults ¶
func (o *ListDeniedParams) WithDefaults() *ListDeniedParams
WithDefaults hydrates default values in the list denied params (not the query body).
All values with no default are reset to their zero value.
func (*ListDeniedParams) WithHTTPClient ¶
func (o *ListDeniedParams) WithHTTPClient(client *http.Client) *ListDeniedParams
WithHTTPClient adds the HTTPClient to the list denied params
func (*ListDeniedParams) WithTimeout ¶
func (o *ListDeniedParams) WithTimeout(timeout time.Duration) *ListDeniedParams
WithTimeout adds the timeout to the list denied params
func (*ListDeniedParams) WriteToRequest ¶
func (o *ListDeniedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDeniedReader ¶
type ListDeniedReader struct {
// contains filtered or unexported fields
}
ListDeniedReader is a Reader for the ListDenied structure.
func (*ListDeniedReader) ReadResponse ¶
func (o *ListDeniedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDeniedUnauthorized ¶
type ListDeniedUnauthorized struct {
}ListDeniedUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListDeniedUnauthorized ¶
func NewListDeniedUnauthorized() *ListDeniedUnauthorized
NewListDeniedUnauthorized creates a ListDeniedUnauthorized with default headers values
func (*ListDeniedUnauthorized) Error ¶
func (o *ListDeniedUnauthorized) Error() string
func (*ListDeniedUnauthorized) GetPayload ¶
func (o *ListDeniedUnauthorized) GetPayload() *models.Error
func (*ListDeniedUnauthorized) IsClientError ¶
func (o *ListDeniedUnauthorized) IsClientError() bool
IsClientError returns true when this list denied unauthorized response has a 4xx status code
func (*ListDeniedUnauthorized) IsCode ¶
func (o *ListDeniedUnauthorized) IsCode(code int) bool
IsCode returns true when this list denied unauthorized response a status code equal to that given
func (*ListDeniedUnauthorized) IsRedirect ¶
func (o *ListDeniedUnauthorized) IsRedirect() bool
IsRedirect returns true when this list denied unauthorized response has a 3xx status code
func (*ListDeniedUnauthorized) IsServerError ¶
func (o *ListDeniedUnauthorized) IsServerError() bool
IsServerError returns true when this list denied unauthorized response has a 5xx status code
func (*ListDeniedUnauthorized) IsSuccess ¶
func (o *ListDeniedUnauthorized) IsSuccess() bool
IsSuccess returns true when this list denied unauthorized response has a 2xx status code
func (*ListDeniedUnauthorized) String ¶
func (o *ListDeniedUnauthorized) String() string
type SessionBadRequest ¶
SessionBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewSessionBadRequest ¶
func NewSessionBadRequest() *SessionBadRequest
NewSessionBadRequest creates a SessionBadRequest with default headers values
func (*SessionBadRequest) Error ¶
func (o *SessionBadRequest) Error() string
func (*SessionBadRequest) GetPayload ¶
func (o *SessionBadRequest) GetPayload() *models.Error
func (*SessionBadRequest) IsClientError ¶
func (o *SessionBadRequest) IsClientError() bool
IsClientError returns true when this session bad request response has a 4xx status code
func (*SessionBadRequest) IsCode ¶
func (o *SessionBadRequest) IsCode(code int) bool
IsCode returns true when this session bad request response a status code equal to that given
func (*SessionBadRequest) IsRedirect ¶
func (o *SessionBadRequest) IsRedirect() bool
IsRedirect returns true when this session bad request response has a 3xx status code
func (*SessionBadRequest) IsServerError ¶
func (o *SessionBadRequest) IsServerError() bool
IsServerError returns true when this session bad request response has a 5xx status code
func (*SessionBadRequest) IsSuccess ¶
func (o *SessionBadRequest) IsSuccess() bool
IsSuccess returns true when this session bad request response has a 2xx status code
func (*SessionBadRequest) String ¶
func (o *SessionBadRequest) String() string
type SessionOK ¶
type SessionOK struct {
Payload *SessionOKBody
}
SessionOK describes a response with status code 200, with default header values.
SessionOK session o k
func NewSessionOK ¶
func NewSessionOK() *SessionOK
NewSessionOK creates a SessionOK with default headers values
func (*SessionOK) GetPayload ¶
func (o *SessionOK) GetPayload() *SessionOKBody
func (*SessionOK) IsClientError ¶
IsClientError returns true when this session o k response has a 4xx status code
func (*SessionOK) IsCode ¶
IsCode returns true when this session o k response a status code equal to that given
func (*SessionOK) IsRedirect ¶
IsRedirect returns true when this session o k response has a 3xx status code
func (*SessionOK) IsServerError ¶
IsServerError returns true when this session o k response has a 5xx status code
type SessionOKBody ¶
type SessionOKBody struct { // uri URI string `json:"uri,omitempty"` }
SessionOKBody session o k body swagger:model SessionOKBody
func (*SessionOKBody) ContextValidate ¶
ContextValidate validates this session o k body based on context it is used
func (*SessionOKBody) MarshalBinary ¶
func (o *SessionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SessionOKBody) UnmarshalBinary ¶
func (o *SessionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SessionParams ¶
type SessionParams struct { /* SessionID. Session identification code */ SessionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SessionParams contains all the parameters to send to the API endpoint
for the session operation. Typically these are written to a http.Request.
func NewSessionParams ¶
func NewSessionParams() *SessionParams
NewSessionParams creates a new SessionParams 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 NewSessionParamsWithContext ¶
func NewSessionParamsWithContext(ctx context.Context) *SessionParams
NewSessionParamsWithContext creates a new SessionParams object with the ability to set a context for a request.
func NewSessionParamsWithHTTPClient ¶
func NewSessionParamsWithHTTPClient(client *http.Client) *SessionParams
NewSessionParamsWithHTTPClient creates a new SessionParams object with the ability to set a custom HTTPClient for a request.
func NewSessionParamsWithTimeout ¶
func NewSessionParamsWithTimeout(timeout time.Duration) *SessionParams
NewSessionParamsWithTimeout creates a new SessionParams object with the ability to set a timeout on a request.
func (*SessionParams) SetContext ¶
func (o *SessionParams) SetContext(ctx context.Context)
SetContext adds the context to the session params
func (*SessionParams) SetDefaults ¶
func (o *SessionParams) SetDefaults()
SetDefaults hydrates default values in the session params (not the query body).
All values with no default are reset to their zero value.
func (*SessionParams) SetHTTPClient ¶
func (o *SessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the session params
func (*SessionParams) SetSessionID ¶
func (o *SessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the session params
func (*SessionParams) SetTimeout ¶
func (o *SessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the session params
func (*SessionParams) WithContext ¶
func (o *SessionParams) WithContext(ctx context.Context) *SessionParams
WithContext adds the context to the session params
func (*SessionParams) WithDefaults ¶
func (o *SessionParams) WithDefaults() *SessionParams
WithDefaults hydrates default values in the session params (not the query body).
All values with no default are reset to their zero value.
func (*SessionParams) WithHTTPClient ¶
func (o *SessionParams) WithHTTPClient(client *http.Client) *SessionParams
WithHTTPClient adds the HTTPClient to the session params
func (*SessionParams) WithSessionID ¶
func (o *SessionParams) WithSessionID(sessionID string) *SessionParams
WithSessionID adds the sessionID to the session params
func (*SessionParams) WithTimeout ¶
func (o *SessionParams) WithTimeout(timeout time.Duration) *SessionParams
WithTimeout adds the timeout to the session params
func (*SessionParams) WriteToRequest ¶
func (o *SessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SessionReader ¶
type SessionReader struct {
// contains filtered or unexported fields
}
SessionReader is a Reader for the Session structure.
func (*SessionReader) ReadResponse ¶
func (o *SessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SessionUnauthorized ¶
type SessionUnauthorized struct {
}SessionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSessionUnauthorized ¶
func NewSessionUnauthorized() *SessionUnauthorized
NewSessionUnauthorized creates a SessionUnauthorized with default headers values
func (*SessionUnauthorized) Error ¶
func (o *SessionUnauthorized) Error() string
func (*SessionUnauthorized) GetPayload ¶
func (o *SessionUnauthorized) GetPayload() interface{}
func (*SessionUnauthorized) IsClientError ¶
func (o *SessionUnauthorized) IsClientError() bool
IsClientError returns true when this session unauthorized response has a 4xx status code
func (*SessionUnauthorized) IsCode ¶
func (o *SessionUnauthorized) IsCode(code int) bool
IsCode returns true when this session unauthorized response a status code equal to that given
func (*SessionUnauthorized) IsRedirect ¶
func (o *SessionUnauthorized) IsRedirect() bool
IsRedirect returns true when this session unauthorized response has a 3xx status code
func (*SessionUnauthorized) IsServerError ¶
func (o *SessionUnauthorized) IsServerError() bool
IsServerError returns true when this session unauthorized response has a 5xx status code
func (*SessionUnauthorized) IsSuccess ¶
func (o *SessionUnauthorized) IsSuccess() bool
IsSuccess returns true when this session unauthorized response has a 2xx status code
func (*SessionUnauthorized) String ¶
func (o *SessionUnauthorized) String() string