Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateSubscription() *CreateSubscriptionRequest
- func (c *Client) DeleteSubscription() *DeleteSubscriptionRequest
- func (c *Client) GetSubscription() *GetSubscriptionRequest
- func (c *Client) ListSubscriptions() *ListSubscriptionsRequest
- func (c *Client) ModifySubscription() *ModifySubscriptionRequest
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateSubscriptionCreated
- func (o *CreateSubscriptionCreated) Code() int
- func (o *CreateSubscriptionCreated) Error() string
- func (o *CreateSubscriptionCreated) IsClientError() bool
- func (o *CreateSubscriptionCreated) IsCode(code int) bool
- func (o *CreateSubscriptionCreated) IsRedirect() bool
- func (o *CreateSubscriptionCreated) IsServerError() bool
- func (o *CreateSubscriptionCreated) IsSuccess() bool
- type CreateSubscriptionReader
- type CreateSubscriptionRequest
- func (a *CreateSubscriptionRequest) Do() (*CreateSubscriptionCreated, error)
- func (o *CreateSubscriptionRequest) FromJson(j string) (*CreateSubscriptionRequest, error)
- func (a *CreateSubscriptionRequest) MustDo() *CreateSubscriptionCreated
- func (o *CreateSubscriptionRequest) WithContext(ctx context.Context) *CreateSubscriptionRequest
- func (o *CreateSubscriptionRequest) WithHTTPClient(client *http.Client) *CreateSubscriptionRequest
- func (o *CreateSubscriptionRequest) WithSubscriptionCreationRequest(subscriptionCreationRequest models.SubscriptionCreation) *CreateSubscriptionRequest
- func (o *CreateSubscriptionRequest) WithoutSubscriptionCreationRequest() *CreateSubscriptionRequest
- func (o *CreateSubscriptionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionNoContent
- func (o *DeleteSubscriptionNoContent) Code() int
- func (o *DeleteSubscriptionNoContent) Error() string
- func (o *DeleteSubscriptionNoContent) IsClientError() bool
- func (o *DeleteSubscriptionNoContent) IsCode(code int) bool
- func (o *DeleteSubscriptionNoContent) IsRedirect() bool
- func (o *DeleteSubscriptionNoContent) IsServerError() bool
- func (o *DeleteSubscriptionNoContent) IsSuccess() bool
- type DeleteSubscriptionReader
- type DeleteSubscriptionRequest
- func (a *DeleteSubscriptionRequest) Do() (*DeleteSubscriptionNoContent, error)
- func (o *DeleteSubscriptionRequest) FromJson(j string) (*DeleteSubscriptionRequest, error)
- func (a *DeleteSubscriptionRequest) MustDo() *DeleteSubscriptionNoContent
- func (o *DeleteSubscriptionRequest) WithContext(ctx context.Context) *DeleteSubscriptionRequest
- func (o *DeleteSubscriptionRequest) WithHTTPClient(client *http.Client) *DeleteSubscriptionRequest
- func (o *DeleteSubscriptionRequest) WithID(id strfmt.UUID) *DeleteSubscriptionRequest
- func (o *DeleteSubscriptionRequest) WithVersion(version int64) *DeleteSubscriptionRequest
- func (o *DeleteSubscriptionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionOK
- func (o *GetSubscriptionOK) Code() int
- func (o *GetSubscriptionOK) Error() string
- func (o *GetSubscriptionOK) IsClientError() bool
- func (o *GetSubscriptionOK) IsCode(code int) bool
- func (o *GetSubscriptionOK) IsRedirect() bool
- func (o *GetSubscriptionOK) IsServerError() bool
- func (o *GetSubscriptionOK) IsSuccess() bool
- type GetSubscriptionReader
- type GetSubscriptionRequest
- func (a *GetSubscriptionRequest) Do() (*GetSubscriptionOK, error)
- func (o *GetSubscriptionRequest) FromJson(j string) (*GetSubscriptionRequest, error)
- func (a *GetSubscriptionRequest) MustDo() *GetSubscriptionOK
- func (o *GetSubscriptionRequest) WithContext(ctx context.Context) *GetSubscriptionRequest
- func (o *GetSubscriptionRequest) WithHTTPClient(client *http.Client) *GetSubscriptionRequest
- func (o *GetSubscriptionRequest) WithID(id strfmt.UUID) *GetSubscriptionRequest
- func (o *GetSubscriptionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSubscriptionsOK
- func (o *ListSubscriptionsOK) Code() int
- func (o *ListSubscriptionsOK) Error() string
- func (o *ListSubscriptionsOK) IsClientError() bool
- func (o *ListSubscriptionsOK) IsCode(code int) bool
- func (o *ListSubscriptionsOK) IsRedirect() bool
- func (o *ListSubscriptionsOK) IsServerError() bool
- func (o *ListSubscriptionsOK) IsSuccess() bool
- type ListSubscriptionsReader
- type ListSubscriptionsRequest
- func (a *ListSubscriptionsRequest) Do() (*ListSubscriptionsOK, error)
- func (o *ListSubscriptionsRequest) FromJson(j string) (*ListSubscriptionsRequest, error)
- func (a *ListSubscriptionsRequest) MustDo() *ListSubscriptionsOK
- func (o *ListSubscriptionsRequest) WithContext(ctx context.Context) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithFilterCallbackTransport(filterCallbackTransport string) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithFilterCallbackURISearchTerm(filterCallbackURISearchTerm string) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithFilterDeactivated(filterDeactivated bool) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithFilterEventType(filterEventType []string) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithFilterNotificationFilter(filterNotificationFilter bool) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithFilterRecordType(filterRecordType []string) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithHTTPClient(client *http.Client) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithPageNumber(pageNumber string) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithPageSize(pageSize int64) *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutFilterCallbackTransport() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutFilterCallbackURISearchTerm() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutFilterDeactivated() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutFilterEventType() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutFilterNotificationFilter() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutFilterOrganisationID() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutFilterRecordType() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutPageNumber() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WithoutPageSize() *ListSubscriptionsRequest
- func (o *ListSubscriptionsRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifySubscriptionBadRequest
- func (o *ModifySubscriptionBadRequest) Code() int
- func (o *ModifySubscriptionBadRequest) Error() string
- func (o *ModifySubscriptionBadRequest) IsClientError() bool
- func (o *ModifySubscriptionBadRequest) IsCode(code int) bool
- func (o *ModifySubscriptionBadRequest) IsRedirect() bool
- func (o *ModifySubscriptionBadRequest) IsServerError() bool
- func (o *ModifySubscriptionBadRequest) IsSuccess() bool
- type ModifySubscriptionConflict
- func (o *ModifySubscriptionConflict) Code() int
- func (o *ModifySubscriptionConflict) Error() string
- func (o *ModifySubscriptionConflict) IsClientError() bool
- func (o *ModifySubscriptionConflict) IsCode(code int) bool
- func (o *ModifySubscriptionConflict) IsRedirect() bool
- func (o *ModifySubscriptionConflict) IsServerError() bool
- func (o *ModifySubscriptionConflict) IsSuccess() bool
- type ModifySubscriptionInternalServerError
- func (o *ModifySubscriptionInternalServerError) Code() int
- func (o *ModifySubscriptionInternalServerError) Error() string
- func (o *ModifySubscriptionInternalServerError) IsClientError() bool
- func (o *ModifySubscriptionInternalServerError) IsCode(code int) bool
- func (o *ModifySubscriptionInternalServerError) IsRedirect() bool
- func (o *ModifySubscriptionInternalServerError) IsServerError() bool
- func (o *ModifySubscriptionInternalServerError) IsSuccess() bool
- type ModifySubscriptionNotFound
- func (o *ModifySubscriptionNotFound) Code() int
- func (o *ModifySubscriptionNotFound) Error() string
- func (o *ModifySubscriptionNotFound) IsClientError() bool
- func (o *ModifySubscriptionNotFound) IsCode(code int) bool
- func (o *ModifySubscriptionNotFound) IsRedirect() bool
- func (o *ModifySubscriptionNotFound) IsServerError() bool
- func (o *ModifySubscriptionNotFound) IsSuccess() bool
- type ModifySubscriptionOK
- func (o *ModifySubscriptionOK) Code() int
- func (o *ModifySubscriptionOK) Error() string
- func (o *ModifySubscriptionOK) IsClientError() bool
- func (o *ModifySubscriptionOK) IsCode(code int) bool
- func (o *ModifySubscriptionOK) IsRedirect() bool
- func (o *ModifySubscriptionOK) IsServerError() bool
- func (o *ModifySubscriptionOK) IsSuccess() bool
- type ModifySubscriptionReader
- type ModifySubscriptionRequest
- func (a *ModifySubscriptionRequest) Do() (*ModifySubscriptionOK, error)
- func (o *ModifySubscriptionRequest) FromJson(j string) (*ModifySubscriptionRequest, error)
- func (a *ModifySubscriptionRequest) MustDo() *ModifySubscriptionOK
- func (o *ModifySubscriptionRequest) WithContext(ctx context.Context) *ModifySubscriptionRequest
- func (o *ModifySubscriptionRequest) WithHTTPClient(client *http.Client) *ModifySubscriptionRequest
- func (o *ModifySubscriptionRequest) WithID(id strfmt.UUID) *ModifySubscriptionRequest
- func (o *ModifySubscriptionRequest) WithSubscriptionUpdateRequest(subscriptionUpdateRequest models.SubscriptionAmendment) *ModifySubscriptionRequest
- func (o *ModifySubscriptionRequest) WithoutSubscriptionUpdateRequest() *ModifySubscriptionRequest
- func (o *ModifySubscriptionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for subscriptions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client
New creates a new subscriptions API client.
func (*Client) CreateSubscription ¶
func (c *Client) CreateSubscription() *CreateSubscriptionRequest
Client.CreateSubscription creates a new CreateSubscriptionRequest object with the default values initialized.
func (*Client) DeleteSubscription ¶
func (c *Client) DeleteSubscription() *DeleteSubscriptionRequest
Client.DeleteSubscription creates a new DeleteSubscriptionRequest object with the default values initialized.
func (*Client) GetSubscription ¶
func (c *Client) GetSubscription() *GetSubscriptionRequest
Client.GetSubscription creates a new GetSubscriptionRequest object with the default values initialized.
func (*Client) ListSubscriptions ¶
func (c *Client) ListSubscriptions() *ListSubscriptionsRequest
Client.ListSubscriptions creates a new ListSubscriptionsRequest object with the default values initialized.
func (*Client) ModifySubscription ¶
func (c *Client) ModifySubscription() *ModifySubscriptionRequest
Client.ModifySubscription creates a new ModifySubscriptionRequest object with the default values initialized.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateSubscriptionCreated ¶
type CreateSubscriptionCreated struct { // isStream: false *models.SubscriptionCreationResponse }
CreateSubscriptionCreated handles this case with default header values.
Subscription creation response
func NewCreateSubscriptionCreated ¶
func NewCreateSubscriptionCreated() *CreateSubscriptionCreated
NewCreateSubscriptionCreated creates a CreateSubscriptionCreated with default headers values
func (*CreateSubscriptionCreated) Code ¶
func (o *CreateSubscriptionCreated) Code() int
Code gets the status code for the create subscription created response
func (*CreateSubscriptionCreated) Error ¶
func (o *CreateSubscriptionCreated) Error() string
func (*CreateSubscriptionCreated) IsClientError ¶
func (o *CreateSubscriptionCreated) IsClientError() bool
IsClientError returns true when this create subscription created response has a 4xx status code
func (*CreateSubscriptionCreated) IsCode ¶
func (o *CreateSubscriptionCreated) IsCode(code int) bool
IsCode returns true when this create subscription created response a status code equal to that given
func (*CreateSubscriptionCreated) IsRedirect ¶
func (o *CreateSubscriptionCreated) IsRedirect() bool
IsRedirect returns true when this create subscription created response has a 3xx status code
func (*CreateSubscriptionCreated) IsServerError ¶
func (o *CreateSubscriptionCreated) IsServerError() bool
IsServerError returns true when this create subscription created response has a 5xx status code
func (*CreateSubscriptionCreated) IsSuccess ¶
func (o *CreateSubscriptionCreated) IsSuccess() bool
IsSuccess returns true when this create subscription created response has a 2xx status code
type CreateSubscriptionReader ¶
type CreateSubscriptionReader struct {
// contains filtered or unexported fields
}
CreateSubscriptionReader is a Reader for the CreateSubscription structure.
func (*CreateSubscriptionReader) ReadResponse ¶
func (o *CreateSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct { *models.SubscriptionCreation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*CreateSubscriptionRequest) Do ¶
func (a *CreateSubscriptionRequest) Do() (*CreateSubscriptionCreated, error)
create subscription API
func (*CreateSubscriptionRequest) FromJson ¶
func (o *CreateSubscriptionRequest) FromJson(j string) (*CreateSubscriptionRequest, error)
func (*CreateSubscriptionRequest) MustDo ¶
func (a *CreateSubscriptionRequest) MustDo() *CreateSubscriptionCreated
func (*CreateSubscriptionRequest) WithContext ¶
func (o *CreateSubscriptionRequest) WithContext(ctx context.Context) *CreateSubscriptionRequest
//////////////// WithContext adds the context to the create subscription Request
func (*CreateSubscriptionRequest) WithHTTPClient ¶
func (o *CreateSubscriptionRequest) WithHTTPClient(client *http.Client) *CreateSubscriptionRequest
WithHTTPClient adds the HTTPClient to the create subscription Request
func (*CreateSubscriptionRequest) WithSubscriptionCreationRequest ¶
func (o *CreateSubscriptionRequest) WithSubscriptionCreationRequest(subscriptionCreationRequest models.SubscriptionCreation) *CreateSubscriptionRequest
func (*CreateSubscriptionRequest) WithoutSubscriptionCreationRequest ¶
func (o *CreateSubscriptionRequest) WithoutSubscriptionCreationRequest() *CreateSubscriptionRequest
func (*CreateSubscriptionRequest) WriteToRequest ¶
func (o *CreateSubscriptionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type DeleteSubscriptionNoContent ¶
type DeleteSubscriptionNoContent struct { }
DeleteSubscriptionNoContent handles this case with default header values.
Subscription deleted OK. No body content will be returned
func NewDeleteSubscriptionNoContent ¶
func NewDeleteSubscriptionNoContent() *DeleteSubscriptionNoContent
NewDeleteSubscriptionNoContent creates a DeleteSubscriptionNoContent with default headers values
func (*DeleteSubscriptionNoContent) Code ¶
func (o *DeleteSubscriptionNoContent) Code() int
Code gets the status code for the delete subscription no content response
func (*DeleteSubscriptionNoContent) Error ¶
func (o *DeleteSubscriptionNoContent) Error() string
func (*DeleteSubscriptionNoContent) IsClientError ¶
func (o *DeleteSubscriptionNoContent) IsClientError() bool
IsClientError returns true when this delete subscription no content response has a 4xx status code
func (*DeleteSubscriptionNoContent) IsCode ¶
func (o *DeleteSubscriptionNoContent) IsCode(code int) bool
IsCode returns true when this delete subscription no content response a status code equal to that given
func (*DeleteSubscriptionNoContent) IsRedirect ¶
func (o *DeleteSubscriptionNoContent) IsRedirect() bool
IsRedirect returns true when this delete subscription no content response has a 3xx status code
func (*DeleteSubscriptionNoContent) IsServerError ¶
func (o *DeleteSubscriptionNoContent) IsServerError() bool
IsServerError returns true when this delete subscription no content response has a 5xx status code
func (*DeleteSubscriptionNoContent) IsSuccess ¶
func (o *DeleteSubscriptionNoContent) IsSuccess() bool
IsSuccess returns true when this delete subscription no content response has a 2xx status code
type DeleteSubscriptionReader ¶
type DeleteSubscriptionReader struct {
// contains filtered or unexported fields
}
DeleteSubscriptionReader is a Reader for the DeleteSubscription structure.
func (*DeleteSubscriptionReader) ReadResponse ¶
func (o *DeleteSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSubscriptionRequest ¶
type DeleteSubscriptionRequest struct { ID strfmt.UUID Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*DeleteSubscriptionRequest) Do ¶
func (a *DeleteSubscriptionRequest) Do() (*DeleteSubscriptionNoContent, error)
delete subscription API
func (*DeleteSubscriptionRequest) FromJson ¶
func (o *DeleteSubscriptionRequest) FromJson(j string) (*DeleteSubscriptionRequest, error)
func (*DeleteSubscriptionRequest) MustDo ¶
func (a *DeleteSubscriptionRequest) MustDo() *DeleteSubscriptionNoContent
func (*DeleteSubscriptionRequest) WithContext ¶
func (o *DeleteSubscriptionRequest) WithContext(ctx context.Context) *DeleteSubscriptionRequest
//////////////// WithContext adds the context to the delete subscription Request
func (*DeleteSubscriptionRequest) WithHTTPClient ¶
func (o *DeleteSubscriptionRequest) WithHTTPClient(client *http.Client) *DeleteSubscriptionRequest
WithHTTPClient adds the HTTPClient to the delete subscription Request
func (*DeleteSubscriptionRequest) WithID ¶
func (o *DeleteSubscriptionRequest) WithID(id strfmt.UUID) *DeleteSubscriptionRequest
func (*DeleteSubscriptionRequest) WithVersion ¶
func (o *DeleteSubscriptionRequest) WithVersion(version int64) *DeleteSubscriptionRequest
func (*DeleteSubscriptionRequest) WriteToRequest ¶
func (o *DeleteSubscriptionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type GetSubscriptionOK ¶
type GetSubscriptionOK struct { // isStream: false *models.SubscriptionDetailsResponse }
GetSubscriptionOK handles this case with default header values.
Subscription details
func NewGetSubscriptionOK ¶
func NewGetSubscriptionOK() *GetSubscriptionOK
NewGetSubscriptionOK creates a GetSubscriptionOK with default headers values
func (*GetSubscriptionOK) Code ¶
func (o *GetSubscriptionOK) Code() int
Code gets the status code for the get subscription o k response
func (*GetSubscriptionOK) Error ¶
func (o *GetSubscriptionOK) Error() string
func (*GetSubscriptionOK) IsClientError ¶
func (o *GetSubscriptionOK) IsClientError() bool
IsClientError returns true when this get subscription o k response has a 4xx status code
func (*GetSubscriptionOK) IsCode ¶
func (o *GetSubscriptionOK) IsCode(code int) bool
IsCode returns true when this get subscription o k response a status code equal to that given
func (*GetSubscriptionOK) IsRedirect ¶
func (o *GetSubscriptionOK) IsRedirect() bool
IsRedirect returns true when this get subscription o k response has a 3xx status code
func (*GetSubscriptionOK) IsServerError ¶
func (o *GetSubscriptionOK) IsServerError() bool
IsServerError returns true when this get subscription o k response has a 5xx status code
func (*GetSubscriptionOK) IsSuccess ¶
func (o *GetSubscriptionOK) IsSuccess() bool
IsSuccess returns true when this get subscription o k response has a 2xx status code
type GetSubscriptionReader ¶
type GetSubscriptionReader struct {
// contains filtered or unexported fields
}
GetSubscriptionReader is a Reader for the GetSubscription structure.
func (*GetSubscriptionReader) ReadResponse ¶
func (o *GetSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionRequest ¶
type GetSubscriptionRequest struct { ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*GetSubscriptionRequest) Do ¶
func (a *GetSubscriptionRequest) Do() (*GetSubscriptionOK, error)
get subscription API
func (*GetSubscriptionRequest) FromJson ¶
func (o *GetSubscriptionRequest) FromJson(j string) (*GetSubscriptionRequest, error)
func (*GetSubscriptionRequest) MustDo ¶
func (a *GetSubscriptionRequest) MustDo() *GetSubscriptionOK
func (*GetSubscriptionRequest) WithContext ¶
func (o *GetSubscriptionRequest) WithContext(ctx context.Context) *GetSubscriptionRequest
//////////////// WithContext adds the context to the get subscription Request
func (*GetSubscriptionRequest) WithHTTPClient ¶
func (o *GetSubscriptionRequest) WithHTTPClient(client *http.Client) *GetSubscriptionRequest
WithHTTPClient adds the HTTPClient to the get subscription Request
func (*GetSubscriptionRequest) WithID ¶
func (o *GetSubscriptionRequest) WithID(id strfmt.UUID) *GetSubscriptionRequest
func (*GetSubscriptionRequest) WriteToRequest ¶
func (o *GetSubscriptionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListSubscriptionsOK ¶
type ListSubscriptionsOK struct { // isStream: false *models.SubscriptionDetailsListResponse }
ListSubscriptionsOK handles this case with default header values.
List of subscription details
func NewListSubscriptionsOK ¶
func NewListSubscriptionsOK() *ListSubscriptionsOK
NewListSubscriptionsOK creates a ListSubscriptionsOK with default headers values
func (*ListSubscriptionsOK) Code ¶
func (o *ListSubscriptionsOK) Code() int
Code gets the status code for the list subscriptions o k response
func (*ListSubscriptionsOK) Error ¶
func (o *ListSubscriptionsOK) Error() string
func (*ListSubscriptionsOK) IsClientError ¶
func (o *ListSubscriptionsOK) IsClientError() bool
IsClientError returns true when this list subscriptions o k response has a 4xx status code
func (*ListSubscriptionsOK) IsCode ¶
func (o *ListSubscriptionsOK) IsCode(code int) bool
IsCode returns true when this list subscriptions o k response a status code equal to that given
func (*ListSubscriptionsOK) IsRedirect ¶
func (o *ListSubscriptionsOK) IsRedirect() bool
IsRedirect returns true when this list subscriptions o k response has a 3xx status code
func (*ListSubscriptionsOK) IsServerError ¶
func (o *ListSubscriptionsOK) IsServerError() bool
IsServerError returns true when this list subscriptions o k response has a 5xx status code
func (*ListSubscriptionsOK) IsSuccess ¶
func (o *ListSubscriptionsOK) IsSuccess() bool
IsSuccess returns true when this list subscriptions o k response has a 2xx status code
type ListSubscriptionsReader ¶
type ListSubscriptionsReader struct {
// contains filtered or unexported fields
}
ListSubscriptionsReader is a Reader for the ListSubscriptions structure.
func (*ListSubscriptionsReader) ReadResponse ¶
func (o *ListSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSubscriptionsRequest ¶
type ListSubscriptionsRequest struct { FilterCallbackTransport *string FilterCallbackURISearchTerm *string FilterDeactivated *bool FilterEventType []string FilterNotificationFilter *bool FilterOrganisationID []strfmt.UUID FilterRecordType []string PageNumber *string PageSize *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ListSubscriptionsRequest) Do ¶
func (a *ListSubscriptionsRequest) Do() (*ListSubscriptionsOK, error)
list subscriptions API
func (*ListSubscriptionsRequest) FromJson ¶
func (o *ListSubscriptionsRequest) FromJson(j string) (*ListSubscriptionsRequest, error)
func (*ListSubscriptionsRequest) MustDo ¶
func (a *ListSubscriptionsRequest) MustDo() *ListSubscriptionsOK
func (*ListSubscriptionsRequest) WithContext ¶
func (o *ListSubscriptionsRequest) WithContext(ctx context.Context) *ListSubscriptionsRequest
//////////////// WithContext adds the context to the list subscriptions Request
func (*ListSubscriptionsRequest) WithFilterCallbackTransport ¶
func (o *ListSubscriptionsRequest) WithFilterCallbackTransport(filterCallbackTransport string) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithFilterCallbackURISearchTerm ¶
func (o *ListSubscriptionsRequest) WithFilterCallbackURISearchTerm(filterCallbackURISearchTerm string) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithFilterDeactivated ¶
func (o *ListSubscriptionsRequest) WithFilterDeactivated(filterDeactivated bool) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithFilterEventType ¶
func (o *ListSubscriptionsRequest) WithFilterEventType(filterEventType []string) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithFilterNotificationFilter ¶
func (o *ListSubscriptionsRequest) WithFilterNotificationFilter(filterNotificationFilter bool) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithFilterOrganisationID ¶
func (o *ListSubscriptionsRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithFilterRecordType ¶
func (o *ListSubscriptionsRequest) WithFilterRecordType(filterRecordType []string) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithHTTPClient ¶
func (o *ListSubscriptionsRequest) WithHTTPClient(client *http.Client) *ListSubscriptionsRequest
WithHTTPClient adds the HTTPClient to the list subscriptions Request
func (*ListSubscriptionsRequest) WithPageNumber ¶
func (o *ListSubscriptionsRequest) WithPageNumber(pageNumber string) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithPageSize ¶
func (o *ListSubscriptionsRequest) WithPageSize(pageSize int64) *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutFilterCallbackTransport ¶
func (o *ListSubscriptionsRequest) WithoutFilterCallbackTransport() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutFilterCallbackURISearchTerm ¶
func (o *ListSubscriptionsRequest) WithoutFilterCallbackURISearchTerm() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutFilterDeactivated ¶
func (o *ListSubscriptionsRequest) WithoutFilterDeactivated() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutFilterEventType ¶
func (o *ListSubscriptionsRequest) WithoutFilterEventType() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutFilterNotificationFilter ¶
func (o *ListSubscriptionsRequest) WithoutFilterNotificationFilter() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutFilterOrganisationID ¶
func (o *ListSubscriptionsRequest) WithoutFilterOrganisationID() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutFilterRecordType ¶
func (o *ListSubscriptionsRequest) WithoutFilterRecordType() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutPageNumber ¶
func (o *ListSubscriptionsRequest) WithoutPageNumber() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WithoutPageSize ¶
func (o *ListSubscriptionsRequest) WithoutPageSize() *ListSubscriptionsRequest
func (*ListSubscriptionsRequest) WriteToRequest ¶
func (o *ListSubscriptionsRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ModifySubscriptionBadRequest ¶
ModifySubscriptionBadRequest handles this case with default header values.
Bad Request
func NewModifySubscriptionBadRequest ¶
func NewModifySubscriptionBadRequest() *ModifySubscriptionBadRequest
NewModifySubscriptionBadRequest creates a ModifySubscriptionBadRequest with default headers values
func (*ModifySubscriptionBadRequest) Code ¶
func (o *ModifySubscriptionBadRequest) Code() int
Code gets the status code for the modify subscription bad request response
func (*ModifySubscriptionBadRequest) Error ¶
func (o *ModifySubscriptionBadRequest) Error() string
func (*ModifySubscriptionBadRequest) IsClientError ¶
func (o *ModifySubscriptionBadRequest) IsClientError() bool
IsClientError returns true when this modify subscription bad request response has a 4xx status code
func (*ModifySubscriptionBadRequest) IsCode ¶
func (o *ModifySubscriptionBadRequest) IsCode(code int) bool
IsCode returns true when this modify subscription bad request response a status code equal to that given
func (*ModifySubscriptionBadRequest) IsRedirect ¶
func (o *ModifySubscriptionBadRequest) IsRedirect() bool
IsRedirect returns true when this modify subscription bad request response has a 3xx status code
func (*ModifySubscriptionBadRequest) IsServerError ¶
func (o *ModifySubscriptionBadRequest) IsServerError() bool
IsServerError returns true when this modify subscription bad request response has a 5xx status code
func (*ModifySubscriptionBadRequest) IsSuccess ¶
func (o *ModifySubscriptionBadRequest) IsSuccess() bool
IsSuccess returns true when this modify subscription bad request response has a 2xx status code
type ModifySubscriptionConflict ¶
ModifySubscriptionConflict handles this case with default header values.
Conflict
func NewModifySubscriptionConflict ¶
func NewModifySubscriptionConflict() *ModifySubscriptionConflict
NewModifySubscriptionConflict creates a ModifySubscriptionConflict with default headers values
func (*ModifySubscriptionConflict) Code ¶
func (o *ModifySubscriptionConflict) Code() int
Code gets the status code for the modify subscription conflict response
func (*ModifySubscriptionConflict) Error ¶
func (o *ModifySubscriptionConflict) Error() string
func (*ModifySubscriptionConflict) IsClientError ¶
func (o *ModifySubscriptionConflict) IsClientError() bool
IsClientError returns true when this modify subscription conflict response has a 4xx status code
func (*ModifySubscriptionConflict) IsCode ¶
func (o *ModifySubscriptionConflict) IsCode(code int) bool
IsCode returns true when this modify subscription conflict response a status code equal to that given
func (*ModifySubscriptionConflict) IsRedirect ¶
func (o *ModifySubscriptionConflict) IsRedirect() bool
IsRedirect returns true when this modify subscription conflict response has a 3xx status code
func (*ModifySubscriptionConflict) IsServerError ¶
func (o *ModifySubscriptionConflict) IsServerError() bool
IsServerError returns true when this modify subscription conflict response has a 5xx status code
func (*ModifySubscriptionConflict) IsSuccess ¶
func (o *ModifySubscriptionConflict) IsSuccess() bool
IsSuccess returns true when this modify subscription conflict response has a 2xx status code
type ModifySubscriptionInternalServerError ¶
ModifySubscriptionInternalServerError handles this case with default header values.
Internal Error
func NewModifySubscriptionInternalServerError ¶
func NewModifySubscriptionInternalServerError() *ModifySubscriptionInternalServerError
NewModifySubscriptionInternalServerError creates a ModifySubscriptionInternalServerError with default headers values
func (*ModifySubscriptionInternalServerError) Code ¶
func (o *ModifySubscriptionInternalServerError) Code() int
Code gets the status code for the modify subscription internal server error response
func (*ModifySubscriptionInternalServerError) Error ¶
func (o *ModifySubscriptionInternalServerError) Error() string
func (*ModifySubscriptionInternalServerError) IsClientError ¶
func (o *ModifySubscriptionInternalServerError) IsClientError() bool
IsClientError returns true when this modify subscription internal server error response has a 4xx status code
func (*ModifySubscriptionInternalServerError) IsCode ¶
func (o *ModifySubscriptionInternalServerError) IsCode(code int) bool
IsCode returns true when this modify subscription internal server error response a status code equal to that given
func (*ModifySubscriptionInternalServerError) IsRedirect ¶
func (o *ModifySubscriptionInternalServerError) IsRedirect() bool
IsRedirect returns true when this modify subscription internal server error response has a 3xx status code
func (*ModifySubscriptionInternalServerError) IsServerError ¶
func (o *ModifySubscriptionInternalServerError) IsServerError() bool
IsServerError returns true when this modify subscription internal server error response has a 5xx status code
func (*ModifySubscriptionInternalServerError) IsSuccess ¶
func (o *ModifySubscriptionInternalServerError) IsSuccess() bool
IsSuccess returns true when this modify subscription internal server error response has a 2xx status code
type ModifySubscriptionNotFound ¶
ModifySubscriptionNotFound handles this case with default header values.
Not Found
func NewModifySubscriptionNotFound ¶
func NewModifySubscriptionNotFound() *ModifySubscriptionNotFound
NewModifySubscriptionNotFound creates a ModifySubscriptionNotFound with default headers values
func (*ModifySubscriptionNotFound) Code ¶
func (o *ModifySubscriptionNotFound) Code() int
Code gets the status code for the modify subscription not found response
func (*ModifySubscriptionNotFound) Error ¶
func (o *ModifySubscriptionNotFound) Error() string
func (*ModifySubscriptionNotFound) IsClientError ¶
func (o *ModifySubscriptionNotFound) IsClientError() bool
IsClientError returns true when this modify subscription not found response has a 4xx status code
func (*ModifySubscriptionNotFound) IsCode ¶
func (o *ModifySubscriptionNotFound) IsCode(code int) bool
IsCode returns true when this modify subscription not found response a status code equal to that given
func (*ModifySubscriptionNotFound) IsRedirect ¶
func (o *ModifySubscriptionNotFound) IsRedirect() bool
IsRedirect returns true when this modify subscription not found response has a 3xx status code
func (*ModifySubscriptionNotFound) IsServerError ¶
func (o *ModifySubscriptionNotFound) IsServerError() bool
IsServerError returns true when this modify subscription not found response has a 5xx status code
func (*ModifySubscriptionNotFound) IsSuccess ¶
func (o *ModifySubscriptionNotFound) IsSuccess() bool
IsSuccess returns true when this modify subscription not found response has a 2xx status code
type ModifySubscriptionOK ¶
type ModifySubscriptionOK struct { // isStream: false *models.SubscriptionDetailsResponse }
ModifySubscriptionOK handles this case with default header values.
Subscription details
func NewModifySubscriptionOK ¶
func NewModifySubscriptionOK() *ModifySubscriptionOK
NewModifySubscriptionOK creates a ModifySubscriptionOK with default headers values
func (*ModifySubscriptionOK) Code ¶
func (o *ModifySubscriptionOK) Code() int
Code gets the status code for the modify subscription o k response
func (*ModifySubscriptionOK) Error ¶
func (o *ModifySubscriptionOK) Error() string
func (*ModifySubscriptionOK) IsClientError ¶
func (o *ModifySubscriptionOK) IsClientError() bool
IsClientError returns true when this modify subscription o k response has a 4xx status code
func (*ModifySubscriptionOK) IsCode ¶
func (o *ModifySubscriptionOK) IsCode(code int) bool
IsCode returns true when this modify subscription o k response a status code equal to that given
func (*ModifySubscriptionOK) IsRedirect ¶
func (o *ModifySubscriptionOK) IsRedirect() bool
IsRedirect returns true when this modify subscription o k response has a 3xx status code
func (*ModifySubscriptionOK) IsServerError ¶
func (o *ModifySubscriptionOK) IsServerError() bool
IsServerError returns true when this modify subscription o k response has a 5xx status code
func (*ModifySubscriptionOK) IsSuccess ¶
func (o *ModifySubscriptionOK) IsSuccess() bool
IsSuccess returns true when this modify subscription o k response has a 2xx status code
type ModifySubscriptionReader ¶
type ModifySubscriptionReader struct {
// contains filtered or unexported fields
}
ModifySubscriptionReader is a Reader for the ModifySubscription structure.
func (*ModifySubscriptionReader) ReadResponse ¶
func (o *ModifySubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifySubscriptionRequest ¶
type ModifySubscriptionRequest struct { *models.SubscriptionAmendment ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ModifySubscriptionRequest) Do ¶
func (a *ModifySubscriptionRequest) Do() (*ModifySubscriptionOK, error)
modify subscription API
func (*ModifySubscriptionRequest) FromJson ¶
func (o *ModifySubscriptionRequest) FromJson(j string) (*ModifySubscriptionRequest, error)
func (*ModifySubscriptionRequest) MustDo ¶
func (a *ModifySubscriptionRequest) MustDo() *ModifySubscriptionOK
func (*ModifySubscriptionRequest) WithContext ¶
func (o *ModifySubscriptionRequest) WithContext(ctx context.Context) *ModifySubscriptionRequest
//////////////// WithContext adds the context to the modify subscription Request
func (*ModifySubscriptionRequest) WithHTTPClient ¶
func (o *ModifySubscriptionRequest) WithHTTPClient(client *http.Client) *ModifySubscriptionRequest
WithHTTPClient adds the HTTPClient to the modify subscription Request
func (*ModifySubscriptionRequest) WithID ¶
func (o *ModifySubscriptionRequest) WithID(id strfmt.UUID) *ModifySubscriptionRequest
func (*ModifySubscriptionRequest) WithSubscriptionUpdateRequest ¶
func (o *ModifySubscriptionRequest) WithSubscriptionUpdateRequest(subscriptionUpdateRequest models.SubscriptionAmendment) *ModifySubscriptionRequest
func (*ModifySubscriptionRequest) WithoutSubscriptionUpdateRequest ¶
func (o *ModifySubscriptionRequest) WithoutSubscriptionUpdateRequest() *ModifySubscriptionRequest
func (*ModifySubscriptionRequest) WriteToRequest ¶
func (o *ModifySubscriptionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
Source Files ¶
- create_subscription_requests.go
- create_subscription_responses.go
- delete_subscription_requests.go
- delete_subscription_responses.go
- get_subscription_requests.go
- get_subscription_responses.go
- list_subscriptions_requests.go
- list_subscriptions_responses.go
- modify_subscription_requests.go
- modify_subscription_responses.go
- subscriptions_client.go