Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SubscriptionResourceGetGet(params *SubscriptionResourceGetGetParams, ...) (*SubscriptionResourceGetGetOK, error)
- func (a *Client) SubscriptionsResourceGetGet(params *SubscriptionsResourceGetGetParams, ...) (*SubscriptionsResourceGetGetOK, error)
- type ClientOption
- type ClientService
- type SubscriptionResourceGetGetOK
- func (o *SubscriptionResourceGetGetOK) Code() int
- func (o *SubscriptionResourceGetGetOK) Error() string
- func (o *SubscriptionResourceGetGetOK) GetPayload() *models.Subscription
- func (o *SubscriptionResourceGetGetOK) IsClientError() bool
- func (o *SubscriptionResourceGetGetOK) IsCode(code int) bool
- func (o *SubscriptionResourceGetGetOK) IsRedirect() bool
- func (o *SubscriptionResourceGetGetOK) IsServerError() bool
- func (o *SubscriptionResourceGetGetOK) IsSuccess() bool
- func (o *SubscriptionResourceGetGetOK) String() string
- type SubscriptionResourceGetGetParams
- func NewSubscriptionResourceGetGetParams() *SubscriptionResourceGetGetParams
- func NewSubscriptionResourceGetGetParamsWithContext(ctx context.Context) *SubscriptionResourceGetGetParams
- func NewSubscriptionResourceGetGetParamsWithHTTPClient(client *http.Client) *SubscriptionResourceGetGetParams
- func NewSubscriptionResourceGetGetParamsWithTimeout(timeout time.Duration) *SubscriptionResourceGetGetParams
- func (o *SubscriptionResourceGetGetParams) SetContext(ctx context.Context)
- func (o *SubscriptionResourceGetGetParams) SetDefaults()
- func (o *SubscriptionResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *SubscriptionResourceGetGetParams) SetSubscriptionID(subscriptionID int64)
- func (o *SubscriptionResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *SubscriptionResourceGetGetParams) WithContext(ctx context.Context) *SubscriptionResourceGetGetParams
- func (o *SubscriptionResourceGetGetParams) WithDefaults() *SubscriptionResourceGetGetParams
- func (o *SubscriptionResourceGetGetParams) WithHTTPClient(client *http.Client) *SubscriptionResourceGetGetParams
- func (o *SubscriptionResourceGetGetParams) WithSubscriptionID(subscriptionID int64) *SubscriptionResourceGetGetParams
- func (o *SubscriptionResourceGetGetParams) WithTimeout(timeout time.Duration) *SubscriptionResourceGetGetParams
- func (o *SubscriptionResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubscriptionResourceGetGetReader
- type SubscriptionResourceGetGetUnauthorized
- func (o *SubscriptionResourceGetGetUnauthorized) Code() int
- func (o *SubscriptionResourceGetGetUnauthorized) Error() string
- func (o *SubscriptionResourceGetGetUnauthorized) IsClientError() bool
- func (o *SubscriptionResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *SubscriptionResourceGetGetUnauthorized) IsRedirect() bool
- func (o *SubscriptionResourceGetGetUnauthorized) IsServerError() bool
- func (o *SubscriptionResourceGetGetUnauthorized) IsSuccess() bool
- func (o *SubscriptionResourceGetGetUnauthorized) String() string
- type SubscriptionsResourceGetGetOK
- func (o *SubscriptionsResourceGetGetOK) Code() int
- func (o *SubscriptionsResourceGetGetOK) Error() string
- func (o *SubscriptionsResourceGetGetOK) GetPayload() []*models.Subscription
- func (o *SubscriptionsResourceGetGetOK) IsClientError() bool
- func (o *SubscriptionsResourceGetGetOK) IsCode(code int) bool
- func (o *SubscriptionsResourceGetGetOK) IsRedirect() bool
- func (o *SubscriptionsResourceGetGetOK) IsServerError() bool
- func (o *SubscriptionsResourceGetGetOK) IsSuccess() bool
- func (o *SubscriptionsResourceGetGetOK) String() string
- type SubscriptionsResourceGetGetParams
- func NewSubscriptionsResourceGetGetParams() *SubscriptionsResourceGetGetParams
- func NewSubscriptionsResourceGetGetParamsWithContext(ctx context.Context) *SubscriptionsResourceGetGetParams
- func NewSubscriptionsResourceGetGetParamsWithHTTPClient(client *http.Client) *SubscriptionsResourceGetGetParams
- func NewSubscriptionsResourceGetGetParamsWithTimeout(timeout time.Duration) *SubscriptionsResourceGetGetParams
- func (o *SubscriptionsResourceGetGetParams) SetContext(ctx context.Context)
- func (o *SubscriptionsResourceGetGetParams) SetDefaults()
- func (o *SubscriptionsResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *SubscriptionsResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *SubscriptionsResourceGetGetParams) WithContext(ctx context.Context) *SubscriptionsResourceGetGetParams
- func (o *SubscriptionsResourceGetGetParams) WithDefaults() *SubscriptionsResourceGetGetParams
- func (o *SubscriptionsResourceGetGetParams) WithHTTPClient(client *http.Client) *SubscriptionsResourceGetGetParams
- func (o *SubscriptionsResourceGetGetParams) WithTimeout(timeout time.Duration) *SubscriptionsResourceGetGetParams
- func (o *SubscriptionsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubscriptionsResourceGetGetReader
- type SubscriptionsResourceGetGetUnauthorized
- func (o *SubscriptionsResourceGetGetUnauthorized) Code() int
- func (o *SubscriptionsResourceGetGetUnauthorized) Error() string
- func (o *SubscriptionsResourceGetGetUnauthorized) IsClientError() bool
- func (o *SubscriptionsResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *SubscriptionsResourceGetGetUnauthorized) IsRedirect() bool
- func (o *SubscriptionsResourceGetGetUnauthorized) IsServerError() bool
- func (o *SubscriptionsResourceGetGetUnauthorized) IsSuccess() bool
- func (o *SubscriptionsResourceGetGetUnauthorized) String() string
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 subscription API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SubscriptionResourceGetGet ¶
func (a *Client) SubscriptionResourceGetGet(params *SubscriptionResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SubscriptionResourceGetGetOK, error)
SubscriptionResourceGetGet gets a subscription
func (*Client) SubscriptionsResourceGetGet ¶
func (a *Client) SubscriptionsResourceGetGet(params *SubscriptionsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SubscriptionsResourceGetGetOK, error)
SubscriptionsResourceGetGet gets a list of subscriptions
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SubscriptionResourceGetGet(params *SubscriptionResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SubscriptionResourceGetGetOK, error) SubscriptionsResourceGetGet(params *SubscriptionsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SubscriptionsResourceGetGetOK, 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 subscription API client.
type SubscriptionResourceGetGetOK ¶
type SubscriptionResourceGetGetOK struct {
Payload *models.Subscription
}
SubscriptionResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewSubscriptionResourceGetGetOK ¶
func NewSubscriptionResourceGetGetOK() *SubscriptionResourceGetGetOK
NewSubscriptionResourceGetGetOK creates a SubscriptionResourceGetGetOK with default headers values
func (*SubscriptionResourceGetGetOK) Code ¶
func (o *SubscriptionResourceGetGetOK) Code() int
Code gets the status code for the subscription resource get get o k response
func (*SubscriptionResourceGetGetOK) Error ¶
func (o *SubscriptionResourceGetGetOK) Error() string
func (*SubscriptionResourceGetGetOK) GetPayload ¶
func (o *SubscriptionResourceGetGetOK) GetPayload() *models.Subscription
func (*SubscriptionResourceGetGetOK) IsClientError ¶
func (o *SubscriptionResourceGetGetOK) IsClientError() bool
IsClientError returns true when this subscription resource get get o k response has a 4xx status code
func (*SubscriptionResourceGetGetOK) IsCode ¶
func (o *SubscriptionResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this subscription resource get get o k response a status code equal to that given
func (*SubscriptionResourceGetGetOK) IsRedirect ¶
func (o *SubscriptionResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this subscription resource get get o k response has a 3xx status code
func (*SubscriptionResourceGetGetOK) IsServerError ¶
func (o *SubscriptionResourceGetGetOK) IsServerError() bool
IsServerError returns true when this subscription resource get get o k response has a 5xx status code
func (*SubscriptionResourceGetGetOK) IsSuccess ¶
func (o *SubscriptionResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this subscription resource get get o k response has a 2xx status code
func (*SubscriptionResourceGetGetOK) String ¶
func (o *SubscriptionResourceGetGetOK) String() string
type SubscriptionResourceGetGetParams ¶
type SubscriptionResourceGetGetParams struct { /* SubscriptionID. The subscription id */ SubscriptionID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubscriptionResourceGetGetParams contains all the parameters to send to the API endpoint
for the subscription resource get get operation. Typically these are written to a http.Request.
func NewSubscriptionResourceGetGetParams ¶
func NewSubscriptionResourceGetGetParams() *SubscriptionResourceGetGetParams
NewSubscriptionResourceGetGetParams creates a new SubscriptionResourceGetGetParams 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 NewSubscriptionResourceGetGetParamsWithContext ¶
func NewSubscriptionResourceGetGetParamsWithContext(ctx context.Context) *SubscriptionResourceGetGetParams
NewSubscriptionResourceGetGetParamsWithContext creates a new SubscriptionResourceGetGetParams object with the ability to set a context for a request.
func NewSubscriptionResourceGetGetParamsWithHTTPClient ¶
func NewSubscriptionResourceGetGetParamsWithHTTPClient(client *http.Client) *SubscriptionResourceGetGetParams
NewSubscriptionResourceGetGetParamsWithHTTPClient creates a new SubscriptionResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewSubscriptionResourceGetGetParamsWithTimeout ¶
func NewSubscriptionResourceGetGetParamsWithTimeout(timeout time.Duration) *SubscriptionResourceGetGetParams
NewSubscriptionResourceGetGetParamsWithTimeout creates a new SubscriptionResourceGetGetParams object with the ability to set a timeout on a request.
func (*SubscriptionResourceGetGetParams) SetContext ¶
func (o *SubscriptionResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the subscription resource get get params
func (*SubscriptionResourceGetGetParams) SetDefaults ¶
func (o *SubscriptionResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the subscription resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SubscriptionResourceGetGetParams) SetHTTPClient ¶
func (o *SubscriptionResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the subscription resource get get params
func (*SubscriptionResourceGetGetParams) SetSubscriptionID ¶
func (o *SubscriptionResourceGetGetParams) SetSubscriptionID(subscriptionID int64)
SetSubscriptionID adds the subscriptionId to the subscription resource get get params
func (*SubscriptionResourceGetGetParams) SetTimeout ¶
func (o *SubscriptionResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the subscription resource get get params
func (*SubscriptionResourceGetGetParams) WithContext ¶
func (o *SubscriptionResourceGetGetParams) WithContext(ctx context.Context) *SubscriptionResourceGetGetParams
WithContext adds the context to the subscription resource get get params
func (*SubscriptionResourceGetGetParams) WithDefaults ¶
func (o *SubscriptionResourceGetGetParams) WithDefaults() *SubscriptionResourceGetGetParams
WithDefaults hydrates default values in the subscription resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SubscriptionResourceGetGetParams) WithHTTPClient ¶
func (o *SubscriptionResourceGetGetParams) WithHTTPClient(client *http.Client) *SubscriptionResourceGetGetParams
WithHTTPClient adds the HTTPClient to the subscription resource get get params
func (*SubscriptionResourceGetGetParams) WithSubscriptionID ¶
func (o *SubscriptionResourceGetGetParams) WithSubscriptionID(subscriptionID int64) *SubscriptionResourceGetGetParams
WithSubscriptionID adds the subscriptionID to the subscription resource get get params
func (*SubscriptionResourceGetGetParams) WithTimeout ¶
func (o *SubscriptionResourceGetGetParams) WithTimeout(timeout time.Duration) *SubscriptionResourceGetGetParams
WithTimeout adds the timeout to the subscription resource get get params
func (*SubscriptionResourceGetGetParams) WriteToRequest ¶
func (o *SubscriptionResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubscriptionResourceGetGetReader ¶
type SubscriptionResourceGetGetReader struct {
// contains filtered or unexported fields
}
SubscriptionResourceGetGetReader is a Reader for the SubscriptionResourceGetGet structure.
func (*SubscriptionResourceGetGetReader) ReadResponse ¶
func (o *SubscriptionResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubscriptionResourceGetGetUnauthorized ¶
type SubscriptionResourceGetGetUnauthorized struct { }
SubscriptionResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSubscriptionResourceGetGetUnauthorized ¶
func NewSubscriptionResourceGetGetUnauthorized() *SubscriptionResourceGetGetUnauthorized
NewSubscriptionResourceGetGetUnauthorized creates a SubscriptionResourceGetGetUnauthorized with default headers values
func (*SubscriptionResourceGetGetUnauthorized) Code ¶
func (o *SubscriptionResourceGetGetUnauthorized) Code() int
Code gets the status code for the subscription resource get get unauthorized response
func (*SubscriptionResourceGetGetUnauthorized) Error ¶
func (o *SubscriptionResourceGetGetUnauthorized) Error() string
func (*SubscriptionResourceGetGetUnauthorized) IsClientError ¶
func (o *SubscriptionResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this subscription resource get get unauthorized response has a 4xx status code
func (*SubscriptionResourceGetGetUnauthorized) IsCode ¶
func (o *SubscriptionResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this subscription resource get get unauthorized response a status code equal to that given
func (*SubscriptionResourceGetGetUnauthorized) IsRedirect ¶
func (o *SubscriptionResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this subscription resource get get unauthorized response has a 3xx status code
func (*SubscriptionResourceGetGetUnauthorized) IsServerError ¶
func (o *SubscriptionResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this subscription resource get get unauthorized response has a 5xx status code
func (*SubscriptionResourceGetGetUnauthorized) IsSuccess ¶
func (o *SubscriptionResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this subscription resource get get unauthorized response has a 2xx status code
func (*SubscriptionResourceGetGetUnauthorized) String ¶
func (o *SubscriptionResourceGetGetUnauthorized) String() string
type SubscriptionsResourceGetGetOK ¶
type SubscriptionsResourceGetGetOK struct {
Payload []*models.Subscription
}
SubscriptionsResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewSubscriptionsResourceGetGetOK ¶
func NewSubscriptionsResourceGetGetOK() *SubscriptionsResourceGetGetOK
NewSubscriptionsResourceGetGetOK creates a SubscriptionsResourceGetGetOK with default headers values
func (*SubscriptionsResourceGetGetOK) Code ¶
func (o *SubscriptionsResourceGetGetOK) Code() int
Code gets the status code for the subscriptions resource get get o k response
func (*SubscriptionsResourceGetGetOK) Error ¶
func (o *SubscriptionsResourceGetGetOK) Error() string
func (*SubscriptionsResourceGetGetOK) GetPayload ¶
func (o *SubscriptionsResourceGetGetOK) GetPayload() []*models.Subscription
func (*SubscriptionsResourceGetGetOK) IsClientError ¶
func (o *SubscriptionsResourceGetGetOK) IsClientError() bool
IsClientError returns true when this subscriptions resource get get o k response has a 4xx status code
func (*SubscriptionsResourceGetGetOK) IsCode ¶
func (o *SubscriptionsResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this subscriptions resource get get o k response a status code equal to that given
func (*SubscriptionsResourceGetGetOK) IsRedirect ¶
func (o *SubscriptionsResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this subscriptions resource get get o k response has a 3xx status code
func (*SubscriptionsResourceGetGetOK) IsServerError ¶
func (o *SubscriptionsResourceGetGetOK) IsServerError() bool
IsServerError returns true when this subscriptions resource get get o k response has a 5xx status code
func (*SubscriptionsResourceGetGetOK) IsSuccess ¶
func (o *SubscriptionsResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this subscriptions resource get get o k response has a 2xx status code
func (*SubscriptionsResourceGetGetOK) String ¶
func (o *SubscriptionsResourceGetGetOK) String() string
type SubscriptionsResourceGetGetParams ¶
type SubscriptionsResourceGetGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubscriptionsResourceGetGetParams contains all the parameters to send to the API endpoint
for the subscriptions resource get get operation. Typically these are written to a http.Request.
func NewSubscriptionsResourceGetGetParams ¶
func NewSubscriptionsResourceGetGetParams() *SubscriptionsResourceGetGetParams
NewSubscriptionsResourceGetGetParams creates a new SubscriptionsResourceGetGetParams 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 NewSubscriptionsResourceGetGetParamsWithContext ¶
func NewSubscriptionsResourceGetGetParamsWithContext(ctx context.Context) *SubscriptionsResourceGetGetParams
NewSubscriptionsResourceGetGetParamsWithContext creates a new SubscriptionsResourceGetGetParams object with the ability to set a context for a request.
func NewSubscriptionsResourceGetGetParamsWithHTTPClient ¶
func NewSubscriptionsResourceGetGetParamsWithHTTPClient(client *http.Client) *SubscriptionsResourceGetGetParams
NewSubscriptionsResourceGetGetParamsWithHTTPClient creates a new SubscriptionsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewSubscriptionsResourceGetGetParamsWithTimeout ¶
func NewSubscriptionsResourceGetGetParamsWithTimeout(timeout time.Duration) *SubscriptionsResourceGetGetParams
NewSubscriptionsResourceGetGetParamsWithTimeout creates a new SubscriptionsResourceGetGetParams object with the ability to set a timeout on a request.
func (*SubscriptionsResourceGetGetParams) SetContext ¶
func (o *SubscriptionsResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the subscriptions resource get get params
func (*SubscriptionsResourceGetGetParams) SetDefaults ¶
func (o *SubscriptionsResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the subscriptions resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SubscriptionsResourceGetGetParams) SetHTTPClient ¶
func (o *SubscriptionsResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the subscriptions resource get get params
func (*SubscriptionsResourceGetGetParams) SetTimeout ¶
func (o *SubscriptionsResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the subscriptions resource get get params
func (*SubscriptionsResourceGetGetParams) WithContext ¶
func (o *SubscriptionsResourceGetGetParams) WithContext(ctx context.Context) *SubscriptionsResourceGetGetParams
WithContext adds the context to the subscriptions resource get get params
func (*SubscriptionsResourceGetGetParams) WithDefaults ¶
func (o *SubscriptionsResourceGetGetParams) WithDefaults() *SubscriptionsResourceGetGetParams
WithDefaults hydrates default values in the subscriptions resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*SubscriptionsResourceGetGetParams) WithHTTPClient ¶
func (o *SubscriptionsResourceGetGetParams) WithHTTPClient(client *http.Client) *SubscriptionsResourceGetGetParams
WithHTTPClient adds the HTTPClient to the subscriptions resource get get params
func (*SubscriptionsResourceGetGetParams) WithTimeout ¶
func (o *SubscriptionsResourceGetGetParams) WithTimeout(timeout time.Duration) *SubscriptionsResourceGetGetParams
WithTimeout adds the timeout to the subscriptions resource get get params
func (*SubscriptionsResourceGetGetParams) WriteToRequest ¶
func (o *SubscriptionsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubscriptionsResourceGetGetReader ¶
type SubscriptionsResourceGetGetReader struct {
// contains filtered or unexported fields
}
SubscriptionsResourceGetGetReader is a Reader for the SubscriptionsResourceGetGet structure.
func (*SubscriptionsResourceGetGetReader) ReadResponse ¶
func (o *SubscriptionsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubscriptionsResourceGetGetUnauthorized ¶
type SubscriptionsResourceGetGetUnauthorized struct { }
SubscriptionsResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewSubscriptionsResourceGetGetUnauthorized ¶
func NewSubscriptionsResourceGetGetUnauthorized() *SubscriptionsResourceGetGetUnauthorized
NewSubscriptionsResourceGetGetUnauthorized creates a SubscriptionsResourceGetGetUnauthorized with default headers values
func (*SubscriptionsResourceGetGetUnauthorized) Code ¶
func (o *SubscriptionsResourceGetGetUnauthorized) Code() int
Code gets the status code for the subscriptions resource get get unauthorized response
func (*SubscriptionsResourceGetGetUnauthorized) Error ¶
func (o *SubscriptionsResourceGetGetUnauthorized) Error() string
func (*SubscriptionsResourceGetGetUnauthorized) IsClientError ¶
func (o *SubscriptionsResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this subscriptions resource get get unauthorized response has a 4xx status code
func (*SubscriptionsResourceGetGetUnauthorized) IsCode ¶
func (o *SubscriptionsResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this subscriptions resource get get unauthorized response a status code equal to that given
func (*SubscriptionsResourceGetGetUnauthorized) IsRedirect ¶
func (o *SubscriptionsResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this subscriptions resource get get unauthorized response has a 3xx status code
func (*SubscriptionsResourceGetGetUnauthorized) IsServerError ¶
func (o *SubscriptionsResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this subscriptions resource get get unauthorized response has a 5xx status code
func (*SubscriptionsResourceGetGetUnauthorized) IsSuccess ¶
func (o *SubscriptionsResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this subscriptions resource get get unauthorized response has a 2xx status code
func (*SubscriptionsResourceGetGetUnauthorized) String ¶
func (o *SubscriptionsResourceGetGetUnauthorized) String() string