Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteTicket(params *DeleteTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTicketNoContent, *DeleteTicketNotFound, ...)deprecated
- func (a *Client) DeleteTicketShort(params *DeleteTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTicketNoContent, error)
- func (a *Client) GetReportsByTicket(params *GetReportsByTicketParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsByTicketOK, *GetReportsByTicketInternalServerError, error)deprecated
- func (a *Client) GetReportsByTicketShort(params *GetReportsByTicketParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsByTicketOK, error)
- func (a *Client) GetTicketDetail(params *GetTicketDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetTicketDetailOK, *GetTicketDetailNotFound, ...)deprecated
- func (a *Client) GetTicketDetailShort(params *GetTicketDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetTicketDetailOK, error)
- func (a *Client) ListTickets(params *ListTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*ListTicketsOK, *ListTicketsInternalServerError, error)deprecated
- func (a *Client) ListTicketsShort(params *ListTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*ListTicketsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TicketStatistic(params *TicketStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*TicketStatisticOK, *TicketStatisticInternalServerError, error)deprecated
- func (a *Client) TicketStatisticShort(params *TicketStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*TicketStatisticOK, error)
- func (a *Client) UpdateTicketResolutions(params *UpdateTicketResolutionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTicketResolutionsOK, *UpdateTicketResolutionsInternalServerError, error)deprecated
- func (a *Client) UpdateTicketResolutionsShort(params *UpdateTicketResolutionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTicketResolutionsOK, error)
- type ClientService
- type DeleteTicketInternalServerError
- type DeleteTicketNoContent
- type DeleteTicketNotFound
- type DeleteTicketParams
- func (o *DeleteTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteTicketParams) SetContext(ctx context.Context)
- func (o *DeleteTicketParams) SetFlightId(flightId string)
- func (o *DeleteTicketParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteTicketParams) SetNamespace(namespace string)
- func (o *DeleteTicketParams) SetTicketID(ticketID string)
- func (o *DeleteTicketParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTicketParams) WithContext(ctx context.Context) *DeleteTicketParams
- func (o *DeleteTicketParams) WithHTTPClient(client *http.Client) *DeleteTicketParams
- func (o *DeleteTicketParams) WithNamespace(namespace string) *DeleteTicketParams
- func (o *DeleteTicketParams) WithTicketID(ticketID string) *DeleteTicketParams
- func (o *DeleteTicketParams) WithTimeout(timeout time.Duration) *DeleteTicketParams
- func (o *DeleteTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTicketReader
- type GetReportsByTicketInternalServerError
- type GetReportsByTicketOK
- type GetReportsByTicketParams
- func NewGetReportsByTicketParams() *GetReportsByTicketParams
- func NewGetReportsByTicketParamsWithContext(ctx context.Context) *GetReportsByTicketParams
- func NewGetReportsByTicketParamsWithHTTPClient(client *http.Client) *GetReportsByTicketParams
- func NewGetReportsByTicketParamsWithTimeout(timeout time.Duration) *GetReportsByTicketParams
- func (o *GetReportsByTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetReportsByTicketParams) SetContext(ctx context.Context)
- func (o *GetReportsByTicketParams) SetFlightId(flightId string)
- func (o *GetReportsByTicketParams) SetHTTPClient(client *http.Client)
- func (o *GetReportsByTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetReportsByTicketParams) SetLimit(limit *int64)
- func (o *GetReportsByTicketParams) SetNamespace(namespace string)
- func (o *GetReportsByTicketParams) SetOffset(offset *int64)
- func (o *GetReportsByTicketParams) SetTicketID(ticketID string)
- func (o *GetReportsByTicketParams) SetTimeout(timeout time.Duration)
- func (o *GetReportsByTicketParams) WithContext(ctx context.Context) *GetReportsByTicketParams
- func (o *GetReportsByTicketParams) WithHTTPClient(client *http.Client) *GetReportsByTicketParams
- func (o *GetReportsByTicketParams) WithLimit(limit *int64) *GetReportsByTicketParams
- func (o *GetReportsByTicketParams) WithNamespace(namespace string) *GetReportsByTicketParams
- func (o *GetReportsByTicketParams) WithOffset(offset *int64) *GetReportsByTicketParams
- func (o *GetReportsByTicketParams) WithTicketID(ticketID string) *GetReportsByTicketParams
- func (o *GetReportsByTicketParams) WithTimeout(timeout time.Duration) *GetReportsByTicketParams
- func (o *GetReportsByTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportsByTicketReader
- type GetTicketDetailInternalServerError
- type GetTicketDetailNotFound
- type GetTicketDetailOK
- type GetTicketDetailParams
- func NewGetTicketDetailParams() *GetTicketDetailParams
- func NewGetTicketDetailParamsWithContext(ctx context.Context) *GetTicketDetailParams
- func NewGetTicketDetailParamsWithHTTPClient(client *http.Client) *GetTicketDetailParams
- func NewGetTicketDetailParamsWithTimeout(timeout time.Duration) *GetTicketDetailParams
- func (o *GetTicketDetailParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetTicketDetailParams) SetContext(ctx context.Context)
- func (o *GetTicketDetailParams) SetFlightId(flightId string)
- func (o *GetTicketDetailParams) SetHTTPClient(client *http.Client)
- func (o *GetTicketDetailParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetTicketDetailParams) SetNamespace(namespace string)
- func (o *GetTicketDetailParams) SetTicketID(ticketID string)
- func (o *GetTicketDetailParams) SetTimeout(timeout time.Duration)
- func (o *GetTicketDetailParams) WithContext(ctx context.Context) *GetTicketDetailParams
- func (o *GetTicketDetailParams) WithHTTPClient(client *http.Client) *GetTicketDetailParams
- func (o *GetTicketDetailParams) WithNamespace(namespace string) *GetTicketDetailParams
- func (o *GetTicketDetailParams) WithTicketID(ticketID string) *GetTicketDetailParams
- func (o *GetTicketDetailParams) WithTimeout(timeout time.Duration) *GetTicketDetailParams
- func (o *GetTicketDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTicketDetailReader
- type ListTicketsInternalServerError
- type ListTicketsOK
- type ListTicketsParams
- func (o *ListTicketsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListTicketsParams) SetCategory(category *string)
- func (o *ListTicketsParams) SetContext(ctx context.Context)
- func (o *ListTicketsParams) SetExtensionCategory(extensionCategory *string)
- func (o *ListTicketsParams) SetFlightId(flightId string)
- func (o *ListTicketsParams) SetHTTPClient(client *http.Client)
- func (o *ListTicketsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListTicketsParams) SetLimit(limit *int64)
- func (o *ListTicketsParams) SetNamespace(namespace string)
- func (o *ListTicketsParams) SetOffset(offset *int64)
- func (o *ListTicketsParams) SetOrder(order *string)
- func (o *ListTicketsParams) SetReportedUserID(reportedUserID *string)
- func (o *ListTicketsParams) SetSortBy(sortBy *string)
- func (o *ListTicketsParams) SetStatus(status *string)
- func (o *ListTicketsParams) SetTimeout(timeout time.Duration)
- func (o *ListTicketsParams) WithCategory(category *string) *ListTicketsParams
- func (o *ListTicketsParams) WithContext(ctx context.Context) *ListTicketsParams
- func (o *ListTicketsParams) WithExtensionCategory(extensionCategory *string) *ListTicketsParams
- func (o *ListTicketsParams) WithHTTPClient(client *http.Client) *ListTicketsParams
- func (o *ListTicketsParams) WithLimit(limit *int64) *ListTicketsParams
- func (o *ListTicketsParams) WithNamespace(namespace string) *ListTicketsParams
- func (o *ListTicketsParams) WithOffset(offset *int64) *ListTicketsParams
- func (o *ListTicketsParams) WithOrder(order *string) *ListTicketsParams
- func (o *ListTicketsParams) WithReportedUserID(reportedUserID *string) *ListTicketsParams
- func (o *ListTicketsParams) WithSortBy(sortBy *string) *ListTicketsParams
- func (o *ListTicketsParams) WithStatus(status *string) *ListTicketsParams
- func (o *ListTicketsParams) WithTimeout(timeout time.Duration) *ListTicketsParams
- func (o *ListTicketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTicketsReader
- type TicketStatisticInternalServerError
- type TicketStatisticOK
- type TicketStatisticParams
- func NewTicketStatisticParams() *TicketStatisticParams
- func NewTicketStatisticParamsWithContext(ctx context.Context) *TicketStatisticParams
- func NewTicketStatisticParamsWithHTTPClient(client *http.Client) *TicketStatisticParams
- func NewTicketStatisticParamsWithTimeout(timeout time.Duration) *TicketStatisticParams
- func (o *TicketStatisticParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *TicketStatisticParams) SetCategory(category string)
- func (o *TicketStatisticParams) SetContext(ctx context.Context)
- func (o *TicketStatisticParams) SetExtensionCategory(extensionCategory *string)
- func (o *TicketStatisticParams) SetFlightId(flightId string)
- func (o *TicketStatisticParams) SetHTTPClient(client *http.Client)
- func (o *TicketStatisticParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *TicketStatisticParams) SetNamespace(namespace string)
- func (o *TicketStatisticParams) SetTimeout(timeout time.Duration)
- func (o *TicketStatisticParams) WithCategory(category string) *TicketStatisticParams
- func (o *TicketStatisticParams) WithContext(ctx context.Context) *TicketStatisticParams
- func (o *TicketStatisticParams) WithExtensionCategory(extensionCategory *string) *TicketStatisticParams
- func (o *TicketStatisticParams) WithHTTPClient(client *http.Client) *TicketStatisticParams
- func (o *TicketStatisticParams) WithNamespace(namespace string) *TicketStatisticParams
- func (o *TicketStatisticParams) WithTimeout(timeout time.Duration) *TicketStatisticParams
- func (o *TicketStatisticParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TicketStatisticReader
- type UpdateTicketResolutionsInternalServerError
- type UpdateTicketResolutionsOK
- type UpdateTicketResolutionsParams
- func NewUpdateTicketResolutionsParams() *UpdateTicketResolutionsParams
- func NewUpdateTicketResolutionsParamsWithContext(ctx context.Context) *UpdateTicketResolutionsParams
- func NewUpdateTicketResolutionsParamsWithHTTPClient(client *http.Client) *UpdateTicketResolutionsParams
- func NewUpdateTicketResolutionsParamsWithTimeout(timeout time.Duration) *UpdateTicketResolutionsParams
- func (o *UpdateTicketResolutionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateTicketResolutionsParams) SetBody(body *reportingclientmodels.RestapiUpdateTicketResolutionsRequest)
- func (o *UpdateTicketResolutionsParams) SetContext(ctx context.Context)
- func (o *UpdateTicketResolutionsParams) SetFlightId(flightId string)
- func (o *UpdateTicketResolutionsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTicketResolutionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateTicketResolutionsParams) SetNamespace(namespace string)
- func (o *UpdateTicketResolutionsParams) SetTicketID(ticketID string)
- func (o *UpdateTicketResolutionsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTicketResolutionsParams) WithBody(body *reportingclientmodels.RestapiUpdateTicketResolutionsRequest) *UpdateTicketResolutionsParams
- func (o *UpdateTicketResolutionsParams) WithContext(ctx context.Context) *UpdateTicketResolutionsParams
- func (o *UpdateTicketResolutionsParams) WithHTTPClient(client *http.Client) *UpdateTicketResolutionsParams
- func (o *UpdateTicketResolutionsParams) WithNamespace(namespace string) *UpdateTicketResolutionsParams
- func (o *UpdateTicketResolutionsParams) WithTicketID(ticketID string) *UpdateTicketResolutionsParams
- func (o *UpdateTicketResolutionsParams) WithTimeout(timeout time.Duration) *UpdateTicketResolutionsParams
- func (o *UpdateTicketResolutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTicketResolutionsReader
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 admin tickets API
func (*Client) DeleteTicket
deprecated
func (a *Client) DeleteTicket(params *DeleteTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTicketNoContent, *DeleteTicketNotFound, *DeleteTicketInternalServerError, error)
Deprecated: 2022-08-10 - Use DeleteTicketShort instead.
DeleteTicket delete single ticket This endpoint will delete ticket and all its reports.
func (*Client) DeleteTicketShort ¶
func (a *Client) DeleteTicketShort(params *DeleteTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTicketNoContent, error)
DeleteTicketShort delete single ticket This endpoint will delete ticket and all its reports.
func (*Client) GetReportsByTicket
deprecated
func (a *Client) GetReportsByTicket(params *GetReportsByTicketParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsByTicketOK, *GetReportsByTicketInternalServerError, error)
Deprecated: 2022-08-10 - Use GetReportsByTicketShort instead.
GetReportsByTicket get reports by ticket id List reports ordered by createdAt in descending order.
func (*Client) GetReportsByTicketShort ¶
func (a *Client) GetReportsByTicketShort(params *GetReportsByTicketParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsByTicketOK, error)
GetReportsByTicketShort get reports by ticket id List reports ordered by createdAt in descending order.
func (*Client) GetTicketDetail
deprecated
func (a *Client) GetTicketDetail(params *GetTicketDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetTicketDetailOK, *GetTicketDetailNotFound, *GetTicketDetailInternalServerError, error)
Deprecated: 2022-08-10 - Use GetTicketDetailShort instead.
GetTicketDetail get single ticket This endpoint will return ticket detail with ticket id.
func (*Client) GetTicketDetailShort ¶
func (a *Client) GetTicketDetailShort(params *GetTicketDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetTicketDetailOK, error)
GetTicketDetailShort get single ticket This endpoint will return ticket detail with ticket id.
func (*Client) ListTickets
deprecated
func (a *Client) ListTickets(params *ListTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*ListTicketsOK, *ListTicketsInternalServerError, error)
Deprecated: 2022-08-10 - Use ListTicketsShort instead.
ListTickets list report tickets Tickets list can be ordered by: - createdAt - reportsCount - status (currently there are OPEN, AUTO_MODERATED and CLOSED statuses, desc order will put ticket with CLOSED status at the top)
func (*Client) ListTicketsShort ¶
func (a *Client) ListTicketsShort(params *ListTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*ListTicketsOK, error)
ListTicketsShort list report tickets Tickets list can be ordered by: - createdAt - reportsCount - status (currently there are OPEN, AUTO_MODERATED and CLOSED statuses, desc order will put ticket with CLOSED status at the top)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TicketStatistic
deprecated
func (a *Client) TicketStatistic(params *TicketStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*TicketStatisticOK, *TicketStatisticInternalServerError, error)
Deprecated: 2022-08-10 - Use TicketStatisticShort instead.
TicketStatistic ticket statistic Ticket statistic can be filtered by: - category - extension category
func (*Client) TicketStatisticShort ¶
func (a *Client) TicketStatisticShort(params *TicketStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*TicketStatisticOK, error)
TicketStatisticShort ticket statistic Ticket statistic can be filtered by: - category - extension category
func (*Client) UpdateTicketResolutions
deprecated
func (a *Client) UpdateTicketResolutions(params *UpdateTicketResolutionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTicketResolutionsOK, *UpdateTicketResolutionsInternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateTicketResolutionsShort instead.
UpdateTicketResolutions update ticket resolution to a given status Update ticket resolution status to either OPEN or CLOSED. It is mandatory to provide notes
func (*Client) UpdateTicketResolutionsShort ¶
func (a *Client) UpdateTicketResolutionsShort(params *UpdateTicketResolutionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTicketResolutionsOK, error)
UpdateTicketResolutionsShort update ticket resolution to a given status Update ticket resolution status to either OPEN or CLOSED. It is mandatory to provide notes
type ClientService ¶
type ClientService interface { ListTickets(params *ListTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*ListTicketsOK, *ListTicketsInternalServerError, error) ListTicketsShort(params *ListTicketsParams, authInfo runtime.ClientAuthInfoWriter) (*ListTicketsOK, error) TicketStatistic(params *TicketStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*TicketStatisticOK, *TicketStatisticInternalServerError, error) TicketStatisticShort(params *TicketStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*TicketStatisticOK, error) GetTicketDetail(params *GetTicketDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetTicketDetailOK, *GetTicketDetailNotFound, *GetTicketDetailInternalServerError, error) GetTicketDetailShort(params *GetTicketDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetTicketDetailOK, error) DeleteTicket(params *DeleteTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTicketNoContent, *DeleteTicketNotFound, *DeleteTicketInternalServerError, error) DeleteTicketShort(params *DeleteTicketParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTicketNoContent, error) GetReportsByTicket(params *GetReportsByTicketParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsByTicketOK, *GetReportsByTicketInternalServerError, error) GetReportsByTicketShort(params *GetReportsByTicketParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsByTicketOK, error) UpdateTicketResolutions(params *UpdateTicketResolutionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTicketResolutionsOK, *UpdateTicketResolutionsInternalServerError, error) UpdateTicketResolutionsShort(params *UpdateTicketResolutionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTicketResolutionsOK, 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 admin tickets API client.
type DeleteTicketInternalServerError ¶
type DeleteTicketInternalServerError struct {
Payload *reportingclientmodels.RestapiErrorResponse
}
DeleteTicketInternalServerError handles this case with default header values.
func NewDeleteTicketInternalServerError ¶
func NewDeleteTicketInternalServerError() *DeleteTicketInternalServerError
NewDeleteTicketInternalServerError creates a DeleteTicketInternalServerError with default headers values
func (*DeleteTicketInternalServerError) Error ¶
func (o *DeleteTicketInternalServerError) Error() string
func (*DeleteTicketInternalServerError) GetPayload ¶
func (o *DeleteTicketInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*DeleteTicketInternalServerError) ToJSONString ¶
func (o *DeleteTicketInternalServerError) ToJSONString() string
type DeleteTicketNoContent ¶
type DeleteTicketNoContent struct { }
DeleteTicketNoContent handles this case with default header values.
func NewDeleteTicketNoContent ¶
func NewDeleteTicketNoContent() *DeleteTicketNoContent
NewDeleteTicketNoContent creates a DeleteTicketNoContent with default headers values
func (*DeleteTicketNoContent) Error ¶
func (o *DeleteTicketNoContent) Error() string
type DeleteTicketNotFound ¶
type DeleteTicketNotFound struct {
Payload *reportingclientmodels.RestapiErrorResponse
}
DeleteTicketNotFound handles this case with default header values.
func NewDeleteTicketNotFound ¶
func NewDeleteTicketNotFound() *DeleteTicketNotFound
NewDeleteTicketNotFound creates a DeleteTicketNotFound with default headers values
func (*DeleteTicketNotFound) Error ¶
func (o *DeleteTicketNotFound) Error() string
func (*DeleteTicketNotFound) GetPayload ¶
func (o *DeleteTicketNotFound) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*DeleteTicketNotFound) ToJSONString ¶
func (o *DeleteTicketNotFound) ToJSONString() string
type DeleteTicketParams ¶
type DeleteTicketParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*TicketID*/ TicketID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeleteTicketParams contains all the parameters to send to the API endpoint for the delete ticket operation typically these are written to a http.Request
func NewDeleteTicketParams ¶
func NewDeleteTicketParams() *DeleteTicketParams
NewDeleteTicketParams creates a new DeleteTicketParams object with the default values initialized.
func NewDeleteTicketParamsWithContext ¶
func NewDeleteTicketParamsWithContext(ctx context.Context) *DeleteTicketParams
NewDeleteTicketParamsWithContext creates a new DeleteTicketParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteTicketParamsWithHTTPClient ¶
func NewDeleteTicketParamsWithHTTPClient(client *http.Client) *DeleteTicketParams
NewDeleteTicketParamsWithHTTPClient creates a new DeleteTicketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteTicketParamsWithTimeout ¶
func NewDeleteTicketParamsWithTimeout(timeout time.Duration) *DeleteTicketParams
NewDeleteTicketParamsWithTimeout creates a new DeleteTicketParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteTicketParams) SetAuthInfoWriter ¶
func (o *DeleteTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete ticket params
func (*DeleteTicketParams) SetContext ¶
func (o *DeleteTicketParams) SetContext(ctx context.Context)
SetContext adds the context to the delete ticket params
func (*DeleteTicketParams) SetFlightId ¶ added in v0.63.0
func (o *DeleteTicketParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteTicketParams) SetHTTPClient ¶
func (o *DeleteTicketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ticket params
func (*DeleteTicketParams) SetHTTPClientTransport ¶
func (o *DeleteTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete ticket params
func (*DeleteTicketParams) SetNamespace ¶
func (o *DeleteTicketParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete ticket params
func (*DeleteTicketParams) SetTicketID ¶
func (o *DeleteTicketParams) SetTicketID(ticketID string)
SetTicketID adds the ticketId to the delete ticket params
func (*DeleteTicketParams) SetTimeout ¶
func (o *DeleteTicketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ticket params
func (*DeleteTicketParams) WithContext ¶
func (o *DeleteTicketParams) WithContext(ctx context.Context) *DeleteTicketParams
WithContext adds the context to the delete ticket params
func (*DeleteTicketParams) WithHTTPClient ¶
func (o *DeleteTicketParams) WithHTTPClient(client *http.Client) *DeleteTicketParams
WithHTTPClient adds the HTTPClient to the delete ticket params
func (*DeleteTicketParams) WithNamespace ¶
func (o *DeleteTicketParams) WithNamespace(namespace string) *DeleteTicketParams
WithNamespace adds the namespace to the delete ticket params
func (*DeleteTicketParams) WithTicketID ¶
func (o *DeleteTicketParams) WithTicketID(ticketID string) *DeleteTicketParams
WithTicketID adds the ticketID to the delete ticket params
func (*DeleteTicketParams) WithTimeout ¶
func (o *DeleteTicketParams) WithTimeout(timeout time.Duration) *DeleteTicketParams
WithTimeout adds the timeout to the delete ticket params
func (*DeleteTicketParams) WriteToRequest ¶
func (o *DeleteTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTicketReader ¶
type DeleteTicketReader struct {
// contains filtered or unexported fields
}
DeleteTicketReader is a Reader for the DeleteTicket structure.
func (*DeleteTicketReader) ReadResponse ¶
func (o *DeleteTicketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportsByTicketInternalServerError ¶
type GetReportsByTicketInternalServerError struct {
Payload *reportingclientmodels.RestapiErrorResponse
}
GetReportsByTicketInternalServerError handles this case with default header values.
func NewGetReportsByTicketInternalServerError ¶
func NewGetReportsByTicketInternalServerError() *GetReportsByTicketInternalServerError
NewGetReportsByTicketInternalServerError creates a GetReportsByTicketInternalServerError with default headers values
func (*GetReportsByTicketInternalServerError) Error ¶
func (o *GetReportsByTicketInternalServerError) Error() string
func (*GetReportsByTicketInternalServerError) GetPayload ¶
func (o *GetReportsByTicketInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*GetReportsByTicketInternalServerError) ToJSONString ¶
func (o *GetReportsByTicketInternalServerError) ToJSONString() string
type GetReportsByTicketOK ¶
type GetReportsByTicketOK struct {
Payload *reportingclientmodels.RestapiReportListResponse
}
GetReportsByTicketOK handles this case with default header values.
func NewGetReportsByTicketOK ¶
func NewGetReportsByTicketOK() *GetReportsByTicketOK
NewGetReportsByTicketOK creates a GetReportsByTicketOK with default headers values
func (*GetReportsByTicketOK) Error ¶
func (o *GetReportsByTicketOK) Error() string
func (*GetReportsByTicketOK) GetPayload ¶
func (o *GetReportsByTicketOK) GetPayload() *reportingclientmodels.RestapiReportListResponse
func (*GetReportsByTicketOK) ToJSONString ¶
func (o *GetReportsByTicketOK) ToJSONString() string
type GetReportsByTicketParams ¶
type GetReportsByTicketParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*TicketID*/ TicketID string /*Limit number of data requested (default 25) */ Limit *int64 /*Offset number of data offset (default 0) */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetReportsByTicketParams contains all the parameters to send to the API endpoint for the get reports by ticket operation typically these are written to a http.Request
func NewGetReportsByTicketParams ¶
func NewGetReportsByTicketParams() *GetReportsByTicketParams
NewGetReportsByTicketParams creates a new GetReportsByTicketParams object with the default values initialized.
func NewGetReportsByTicketParamsWithContext ¶
func NewGetReportsByTicketParamsWithContext(ctx context.Context) *GetReportsByTicketParams
NewGetReportsByTicketParamsWithContext creates a new GetReportsByTicketParams object with the default values initialized, and the ability to set a context for a request
func NewGetReportsByTicketParamsWithHTTPClient ¶
func NewGetReportsByTicketParamsWithHTTPClient(client *http.Client) *GetReportsByTicketParams
NewGetReportsByTicketParamsWithHTTPClient creates a new GetReportsByTicketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetReportsByTicketParamsWithTimeout ¶
func NewGetReportsByTicketParamsWithTimeout(timeout time.Duration) *GetReportsByTicketParams
NewGetReportsByTicketParamsWithTimeout creates a new GetReportsByTicketParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetReportsByTicketParams) SetAuthInfoWriter ¶
func (o *GetReportsByTicketParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get reports by ticket params
func (*GetReportsByTicketParams) SetContext ¶
func (o *GetReportsByTicketParams) SetContext(ctx context.Context)
SetContext adds the context to the get reports by ticket params
func (*GetReportsByTicketParams) SetFlightId ¶ added in v0.63.0
func (o *GetReportsByTicketParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetReportsByTicketParams) SetHTTPClient ¶
func (o *GetReportsByTicketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get reports by ticket params
func (*GetReportsByTicketParams) SetHTTPClientTransport ¶
func (o *GetReportsByTicketParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get reports by ticket params
func (*GetReportsByTicketParams) SetLimit ¶
func (o *GetReportsByTicketParams) SetLimit(limit *int64)
SetLimit adds the limit to the get reports by ticket params
func (*GetReportsByTicketParams) SetNamespace ¶
func (o *GetReportsByTicketParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get reports by ticket params
func (*GetReportsByTicketParams) SetOffset ¶
func (o *GetReportsByTicketParams) SetOffset(offset *int64)
SetOffset adds the offset to the get reports by ticket params
func (*GetReportsByTicketParams) SetTicketID ¶
func (o *GetReportsByTicketParams) SetTicketID(ticketID string)
SetTicketID adds the ticketId to the get reports by ticket params
func (*GetReportsByTicketParams) SetTimeout ¶
func (o *GetReportsByTicketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get reports by ticket params
func (*GetReportsByTicketParams) WithContext ¶
func (o *GetReportsByTicketParams) WithContext(ctx context.Context) *GetReportsByTicketParams
WithContext adds the context to the get reports by ticket params
func (*GetReportsByTicketParams) WithHTTPClient ¶
func (o *GetReportsByTicketParams) WithHTTPClient(client *http.Client) *GetReportsByTicketParams
WithHTTPClient adds the HTTPClient to the get reports by ticket params
func (*GetReportsByTicketParams) WithLimit ¶
func (o *GetReportsByTicketParams) WithLimit(limit *int64) *GetReportsByTicketParams
WithLimit adds the limit to the get reports by ticket params
func (*GetReportsByTicketParams) WithNamespace ¶
func (o *GetReportsByTicketParams) WithNamespace(namespace string) *GetReportsByTicketParams
WithNamespace adds the namespace to the get reports by ticket params
func (*GetReportsByTicketParams) WithOffset ¶
func (o *GetReportsByTicketParams) WithOffset(offset *int64) *GetReportsByTicketParams
WithOffset adds the offset to the get reports by ticket params
func (*GetReportsByTicketParams) WithTicketID ¶
func (o *GetReportsByTicketParams) WithTicketID(ticketID string) *GetReportsByTicketParams
WithTicketID adds the ticketID to the get reports by ticket params
func (*GetReportsByTicketParams) WithTimeout ¶
func (o *GetReportsByTicketParams) WithTimeout(timeout time.Duration) *GetReportsByTicketParams
WithTimeout adds the timeout to the get reports by ticket params
func (*GetReportsByTicketParams) WriteToRequest ¶
func (o *GetReportsByTicketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportsByTicketReader ¶
type GetReportsByTicketReader struct {
// contains filtered or unexported fields
}
GetReportsByTicketReader is a Reader for the GetReportsByTicket structure.
func (*GetReportsByTicketReader) ReadResponse ¶
func (o *GetReportsByTicketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTicketDetailInternalServerError ¶
type GetTicketDetailInternalServerError struct {
Payload *reportingclientmodels.RestapiErrorResponse
}
GetTicketDetailInternalServerError handles this case with default header values.
func NewGetTicketDetailInternalServerError ¶
func NewGetTicketDetailInternalServerError() *GetTicketDetailInternalServerError
NewGetTicketDetailInternalServerError creates a GetTicketDetailInternalServerError with default headers values
func (*GetTicketDetailInternalServerError) Error ¶
func (o *GetTicketDetailInternalServerError) Error() string
func (*GetTicketDetailInternalServerError) GetPayload ¶
func (o *GetTicketDetailInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*GetTicketDetailInternalServerError) ToJSONString ¶
func (o *GetTicketDetailInternalServerError) ToJSONString() string
type GetTicketDetailNotFound ¶
type GetTicketDetailNotFound struct {
Payload *reportingclientmodels.RestapiErrorResponse
}
GetTicketDetailNotFound handles this case with default header values.
func NewGetTicketDetailNotFound ¶
func NewGetTicketDetailNotFound() *GetTicketDetailNotFound
NewGetTicketDetailNotFound creates a GetTicketDetailNotFound with default headers values
func (*GetTicketDetailNotFound) Error ¶
func (o *GetTicketDetailNotFound) Error() string
func (*GetTicketDetailNotFound) GetPayload ¶
func (o *GetTicketDetailNotFound) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*GetTicketDetailNotFound) ToJSONString ¶
func (o *GetTicketDetailNotFound) ToJSONString() string
type GetTicketDetailOK ¶
type GetTicketDetailOK struct {
Payload *reportingclientmodels.RestapiTicketResponse
}
GetTicketDetailOK handles this case with default header values.
func NewGetTicketDetailOK ¶
func NewGetTicketDetailOK() *GetTicketDetailOK
NewGetTicketDetailOK creates a GetTicketDetailOK with default headers values
func (*GetTicketDetailOK) Error ¶
func (o *GetTicketDetailOK) Error() string
func (*GetTicketDetailOK) GetPayload ¶
func (o *GetTicketDetailOK) GetPayload() *reportingclientmodels.RestapiTicketResponse
func (*GetTicketDetailOK) ToJSONString ¶
func (o *GetTicketDetailOK) ToJSONString() string
type GetTicketDetailParams ¶
type GetTicketDetailParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*TicketID*/ TicketID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetTicketDetailParams contains all the parameters to send to the API endpoint for the get ticket detail operation typically these are written to a http.Request
func NewGetTicketDetailParams ¶
func NewGetTicketDetailParams() *GetTicketDetailParams
NewGetTicketDetailParams creates a new GetTicketDetailParams object with the default values initialized.
func NewGetTicketDetailParamsWithContext ¶
func NewGetTicketDetailParamsWithContext(ctx context.Context) *GetTicketDetailParams
NewGetTicketDetailParamsWithContext creates a new GetTicketDetailParams object with the default values initialized, and the ability to set a context for a request
func NewGetTicketDetailParamsWithHTTPClient ¶
func NewGetTicketDetailParamsWithHTTPClient(client *http.Client) *GetTicketDetailParams
NewGetTicketDetailParamsWithHTTPClient creates a new GetTicketDetailParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTicketDetailParamsWithTimeout ¶
func NewGetTicketDetailParamsWithTimeout(timeout time.Duration) *GetTicketDetailParams
NewGetTicketDetailParamsWithTimeout creates a new GetTicketDetailParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTicketDetailParams) SetAuthInfoWriter ¶
func (o *GetTicketDetailParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get ticket detail params
func (*GetTicketDetailParams) SetContext ¶
func (o *GetTicketDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the get ticket detail params
func (*GetTicketDetailParams) SetFlightId ¶ added in v0.63.0
func (o *GetTicketDetailParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetTicketDetailParams) SetHTTPClient ¶
func (o *GetTicketDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ticket detail params
func (*GetTicketDetailParams) SetHTTPClientTransport ¶
func (o *GetTicketDetailParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get ticket detail params
func (*GetTicketDetailParams) SetNamespace ¶
func (o *GetTicketDetailParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get ticket detail params
func (*GetTicketDetailParams) SetTicketID ¶
func (o *GetTicketDetailParams) SetTicketID(ticketID string)
SetTicketID adds the ticketId to the get ticket detail params
func (*GetTicketDetailParams) SetTimeout ¶
func (o *GetTicketDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ticket detail params
func (*GetTicketDetailParams) WithContext ¶
func (o *GetTicketDetailParams) WithContext(ctx context.Context) *GetTicketDetailParams
WithContext adds the context to the get ticket detail params
func (*GetTicketDetailParams) WithHTTPClient ¶
func (o *GetTicketDetailParams) WithHTTPClient(client *http.Client) *GetTicketDetailParams
WithHTTPClient adds the HTTPClient to the get ticket detail params
func (*GetTicketDetailParams) WithNamespace ¶
func (o *GetTicketDetailParams) WithNamespace(namespace string) *GetTicketDetailParams
WithNamespace adds the namespace to the get ticket detail params
func (*GetTicketDetailParams) WithTicketID ¶
func (o *GetTicketDetailParams) WithTicketID(ticketID string) *GetTicketDetailParams
WithTicketID adds the ticketID to the get ticket detail params
func (*GetTicketDetailParams) WithTimeout ¶
func (o *GetTicketDetailParams) WithTimeout(timeout time.Duration) *GetTicketDetailParams
WithTimeout adds the timeout to the get ticket detail params
func (*GetTicketDetailParams) WriteToRequest ¶
func (o *GetTicketDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTicketDetailReader ¶
type GetTicketDetailReader struct {
// contains filtered or unexported fields
}
GetTicketDetailReader is a Reader for the GetTicketDetail structure.
func (*GetTicketDetailReader) ReadResponse ¶
func (o *GetTicketDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTicketsInternalServerError ¶
type ListTicketsInternalServerError struct {
Payload *reportingclientmodels.RestapiErrorResponse
}
ListTicketsInternalServerError handles this case with default header values.
func NewListTicketsInternalServerError ¶
func NewListTicketsInternalServerError() *ListTicketsInternalServerError
NewListTicketsInternalServerError creates a ListTicketsInternalServerError with default headers values
func (*ListTicketsInternalServerError) Error ¶
func (o *ListTicketsInternalServerError) Error() string
func (*ListTicketsInternalServerError) GetPayload ¶
func (o *ListTicketsInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*ListTicketsInternalServerError) ToJSONString ¶
func (o *ListTicketsInternalServerError) ToJSONString() string
type ListTicketsOK ¶
type ListTicketsOK struct {
Payload *reportingclientmodels.RestapiTicketListResponse
}
ListTicketsOK handles this case with default header values.
func NewListTicketsOK ¶
func NewListTicketsOK() *ListTicketsOK
NewListTicketsOK creates a ListTicketsOK with default headers values
func (*ListTicketsOK) Error ¶
func (o *ListTicketsOK) Error() string
func (*ListTicketsOK) GetPayload ¶
func (o *ListTicketsOK) GetPayload() *reportingclientmodels.RestapiTicketListResponse
func (*ListTicketsOK) ToJSONString ¶
func (o *ListTicketsOK) ToJSONString() string
type ListTicketsParams ¶
type ListTicketsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*Category filter tickets by category */ Category *string /*ExtensionCategory filter tickets by extension category */ ExtensionCategory *string /*Limit number of data requested (default 25) */ Limit *int64 /*Offset number of data offset (default 0) */ Offset *int64 /*Order data order, asc or desc (default: desc) */ Order *string /*ReportedUserID filter reports by reportedUserId */ ReportedUserID *string /*SortBy data order key, valid keys are createdAt, reportsCount, and status (default: createdAt) */ SortBy *string /*Status filter tickets by status (OPEN, AUTO_MODERATED or CLOSED) */ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
ListTicketsParams contains all the parameters to send to the API endpoint for the list tickets operation typically these are written to a http.Request
func NewListTicketsParams ¶
func NewListTicketsParams() *ListTicketsParams
NewListTicketsParams creates a new ListTicketsParams object with the default values initialized.
func NewListTicketsParamsWithContext ¶
func NewListTicketsParamsWithContext(ctx context.Context) *ListTicketsParams
NewListTicketsParamsWithContext creates a new ListTicketsParams object with the default values initialized, and the ability to set a context for a request
func NewListTicketsParamsWithHTTPClient ¶
func NewListTicketsParamsWithHTTPClient(client *http.Client) *ListTicketsParams
NewListTicketsParamsWithHTTPClient creates a new ListTicketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListTicketsParamsWithTimeout ¶
func NewListTicketsParamsWithTimeout(timeout time.Duration) *ListTicketsParams
NewListTicketsParamsWithTimeout creates a new ListTicketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListTicketsParams) SetAuthInfoWriter ¶
func (o *ListTicketsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list tickets params
func (*ListTicketsParams) SetCategory ¶
func (o *ListTicketsParams) SetCategory(category *string)
SetCategory adds the category to the list tickets params
func (*ListTicketsParams) SetContext ¶
func (o *ListTicketsParams) SetContext(ctx context.Context)
SetContext adds the context to the list tickets params
func (*ListTicketsParams) SetExtensionCategory ¶
func (o *ListTicketsParams) SetExtensionCategory(extensionCategory *string)
SetExtensionCategory adds the extensionCategory to the list tickets params
func (*ListTicketsParams) SetFlightId ¶ added in v0.63.0
func (o *ListTicketsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*ListTicketsParams) SetHTTPClient ¶
func (o *ListTicketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tickets params
func (*ListTicketsParams) SetHTTPClientTransport ¶
func (o *ListTicketsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list tickets params
func (*ListTicketsParams) SetLimit ¶
func (o *ListTicketsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list tickets params
func (*ListTicketsParams) SetNamespace ¶
func (o *ListTicketsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list tickets params
func (*ListTicketsParams) SetOffset ¶
func (o *ListTicketsParams) SetOffset(offset *int64)
SetOffset adds the offset to the list tickets params
func (*ListTicketsParams) SetOrder ¶
func (o *ListTicketsParams) SetOrder(order *string)
SetOrder adds the order to the list tickets params
func (*ListTicketsParams) SetReportedUserID ¶
func (o *ListTicketsParams) SetReportedUserID(reportedUserID *string)
SetReportedUserID adds the reportedUserId to the list tickets params
func (*ListTicketsParams) SetSortBy ¶
func (o *ListTicketsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the list tickets params
func (*ListTicketsParams) SetStatus ¶
func (o *ListTicketsParams) SetStatus(status *string)
SetStatus adds the status to the list tickets params
func (*ListTicketsParams) SetTimeout ¶
func (o *ListTicketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tickets params
func (*ListTicketsParams) WithCategory ¶
func (o *ListTicketsParams) WithCategory(category *string) *ListTicketsParams
WithCategory adds the category to the list tickets params
func (*ListTicketsParams) WithContext ¶
func (o *ListTicketsParams) WithContext(ctx context.Context) *ListTicketsParams
WithContext adds the context to the list tickets params
func (*ListTicketsParams) WithExtensionCategory ¶
func (o *ListTicketsParams) WithExtensionCategory(extensionCategory *string) *ListTicketsParams
WithExtensionCategory adds the extensionCategory to the list tickets params
func (*ListTicketsParams) WithHTTPClient ¶
func (o *ListTicketsParams) WithHTTPClient(client *http.Client) *ListTicketsParams
WithHTTPClient adds the HTTPClient to the list tickets params
func (*ListTicketsParams) WithLimit ¶
func (o *ListTicketsParams) WithLimit(limit *int64) *ListTicketsParams
WithLimit adds the limit to the list tickets params
func (*ListTicketsParams) WithNamespace ¶
func (o *ListTicketsParams) WithNamespace(namespace string) *ListTicketsParams
WithNamespace adds the namespace to the list tickets params
func (*ListTicketsParams) WithOffset ¶
func (o *ListTicketsParams) WithOffset(offset *int64) *ListTicketsParams
WithOffset adds the offset to the list tickets params
func (*ListTicketsParams) WithOrder ¶
func (o *ListTicketsParams) WithOrder(order *string) *ListTicketsParams
WithOrder adds the order to the list tickets params
func (*ListTicketsParams) WithReportedUserID ¶
func (o *ListTicketsParams) WithReportedUserID(reportedUserID *string) *ListTicketsParams
WithReportedUserID adds the reportedUserID to the list tickets params
func (*ListTicketsParams) WithSortBy ¶
func (o *ListTicketsParams) WithSortBy(sortBy *string) *ListTicketsParams
WithSortBy adds the sortBy to the list tickets params
func (*ListTicketsParams) WithStatus ¶
func (o *ListTicketsParams) WithStatus(status *string) *ListTicketsParams
WithStatus adds the status to the list tickets params
func (*ListTicketsParams) WithTimeout ¶
func (o *ListTicketsParams) WithTimeout(timeout time.Duration) *ListTicketsParams
WithTimeout adds the timeout to the list tickets params
func (*ListTicketsParams) WriteToRequest ¶
func (o *ListTicketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTicketsReader ¶
type ListTicketsReader struct {
// contains filtered or unexported fields
}
ListTicketsReader is a Reader for the ListTickets structure.
func (*ListTicketsReader) ReadResponse ¶
func (o *ListTicketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TicketStatisticInternalServerError ¶
type TicketStatisticInternalServerError struct {
Payload *reportingclientmodels.RestapiErrorResponse
}
TicketStatisticInternalServerError handles this case with default header values.
func NewTicketStatisticInternalServerError ¶
func NewTicketStatisticInternalServerError() *TicketStatisticInternalServerError
NewTicketStatisticInternalServerError creates a TicketStatisticInternalServerError with default headers values
func (*TicketStatisticInternalServerError) Error ¶
func (o *TicketStatisticInternalServerError) Error() string
func (*TicketStatisticInternalServerError) GetPayload ¶
func (o *TicketStatisticInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*TicketStatisticInternalServerError) ToJSONString ¶
func (o *TicketStatisticInternalServerError) ToJSONString() string
type TicketStatisticOK ¶
type TicketStatisticOK struct {
Payload *reportingclientmodels.RestapiTicketStatisticResponse
}
TicketStatisticOK handles this case with default header values.
func NewTicketStatisticOK ¶
func NewTicketStatisticOK() *TicketStatisticOK
NewTicketStatisticOK creates a TicketStatisticOK with default headers values
func (*TicketStatisticOK) Error ¶
func (o *TicketStatisticOK) Error() string
func (*TicketStatisticOK) GetPayload ¶
func (o *TicketStatisticOK) GetPayload() *reportingclientmodels.RestapiTicketStatisticResponse
func (*TicketStatisticOK) ToJSONString ¶
func (o *TicketStatisticOK) ToJSONString() string
type TicketStatisticParams ¶
type TicketStatisticParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*ExtensionCategory filter statistic by extension category */ ExtensionCategory *string /*Category filter statistic by category */ Category string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
TicketStatisticParams contains all the parameters to send to the API endpoint for the ticket statistic operation typically these are written to a http.Request
func NewTicketStatisticParams ¶
func NewTicketStatisticParams() *TicketStatisticParams
NewTicketStatisticParams creates a new TicketStatisticParams object with the default values initialized.
func NewTicketStatisticParamsWithContext ¶
func NewTicketStatisticParamsWithContext(ctx context.Context) *TicketStatisticParams
NewTicketStatisticParamsWithContext creates a new TicketStatisticParams object with the default values initialized, and the ability to set a context for a request
func NewTicketStatisticParamsWithHTTPClient ¶
func NewTicketStatisticParamsWithHTTPClient(client *http.Client) *TicketStatisticParams
NewTicketStatisticParamsWithHTTPClient creates a new TicketStatisticParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTicketStatisticParamsWithTimeout ¶
func NewTicketStatisticParamsWithTimeout(timeout time.Duration) *TicketStatisticParams
NewTicketStatisticParamsWithTimeout creates a new TicketStatisticParams object with the default values initialized, and the ability to set a timeout on a request
func (*TicketStatisticParams) SetAuthInfoWriter ¶
func (o *TicketStatisticParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the ticket statistic params
func (*TicketStatisticParams) SetCategory ¶
func (o *TicketStatisticParams) SetCategory(category string)
SetCategory adds the category to the ticket statistic params
func (*TicketStatisticParams) SetContext ¶
func (o *TicketStatisticParams) SetContext(ctx context.Context)
SetContext adds the context to the ticket statistic params
func (*TicketStatisticParams) SetExtensionCategory ¶
func (o *TicketStatisticParams) SetExtensionCategory(extensionCategory *string)
SetExtensionCategory adds the extensionCategory to the ticket statistic params
func (*TicketStatisticParams) SetFlightId ¶ added in v0.63.0
func (o *TicketStatisticParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*TicketStatisticParams) SetHTTPClient ¶
func (o *TicketStatisticParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ticket statistic params
func (*TicketStatisticParams) SetHTTPClientTransport ¶
func (o *TicketStatisticParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the ticket statistic params
func (*TicketStatisticParams) SetNamespace ¶
func (o *TicketStatisticParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the ticket statistic params
func (*TicketStatisticParams) SetTimeout ¶
func (o *TicketStatisticParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ticket statistic params
func (*TicketStatisticParams) WithCategory ¶
func (o *TicketStatisticParams) WithCategory(category string) *TicketStatisticParams
WithCategory adds the category to the ticket statistic params
func (*TicketStatisticParams) WithContext ¶
func (o *TicketStatisticParams) WithContext(ctx context.Context) *TicketStatisticParams
WithContext adds the context to the ticket statistic params
func (*TicketStatisticParams) WithExtensionCategory ¶
func (o *TicketStatisticParams) WithExtensionCategory(extensionCategory *string) *TicketStatisticParams
WithExtensionCategory adds the extensionCategory to the ticket statistic params
func (*TicketStatisticParams) WithHTTPClient ¶
func (o *TicketStatisticParams) WithHTTPClient(client *http.Client) *TicketStatisticParams
WithHTTPClient adds the HTTPClient to the ticket statistic params
func (*TicketStatisticParams) WithNamespace ¶
func (o *TicketStatisticParams) WithNamespace(namespace string) *TicketStatisticParams
WithNamespace adds the namespace to the ticket statistic params
func (*TicketStatisticParams) WithTimeout ¶
func (o *TicketStatisticParams) WithTimeout(timeout time.Duration) *TicketStatisticParams
WithTimeout adds the timeout to the ticket statistic params
func (*TicketStatisticParams) WriteToRequest ¶
func (o *TicketStatisticParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TicketStatisticReader ¶
type TicketStatisticReader struct {
// contains filtered or unexported fields
}
TicketStatisticReader is a Reader for the TicketStatistic structure.
func (*TicketStatisticReader) ReadResponse ¶
func (o *TicketStatisticReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTicketResolutionsInternalServerError ¶
type UpdateTicketResolutionsInternalServerError struct {
Payload *reportingclientmodels.RestapiErrorResponse
}
UpdateTicketResolutionsInternalServerError handles this case with default header values.
func NewUpdateTicketResolutionsInternalServerError ¶
func NewUpdateTicketResolutionsInternalServerError() *UpdateTicketResolutionsInternalServerError
NewUpdateTicketResolutionsInternalServerError creates a UpdateTicketResolutionsInternalServerError with default headers values
func (*UpdateTicketResolutionsInternalServerError) Error ¶
func (o *UpdateTicketResolutionsInternalServerError) Error() string
func (*UpdateTicketResolutionsInternalServerError) GetPayload ¶
func (o *UpdateTicketResolutionsInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*UpdateTicketResolutionsInternalServerError) ToJSONString ¶
func (o *UpdateTicketResolutionsInternalServerError) ToJSONString() string
type UpdateTicketResolutionsOK ¶
type UpdateTicketResolutionsOK struct {
Payload *reportingclientmodels.RestapiTicketResponse
}
UpdateTicketResolutionsOK handles this case with default header values.
func NewUpdateTicketResolutionsOK ¶
func NewUpdateTicketResolutionsOK() *UpdateTicketResolutionsOK
NewUpdateTicketResolutionsOK creates a UpdateTicketResolutionsOK with default headers values
func (*UpdateTicketResolutionsOK) Error ¶
func (o *UpdateTicketResolutionsOK) Error() string
func (*UpdateTicketResolutionsOK) GetPayload ¶
func (o *UpdateTicketResolutionsOK) GetPayload() *reportingclientmodels.RestapiTicketResponse
func (*UpdateTicketResolutionsOK) ToJSONString ¶
func (o *UpdateTicketResolutionsOK) ToJSONString() string
type UpdateTicketResolutionsParams ¶
type UpdateTicketResolutionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *reportingclientmodels.RestapiUpdateTicketResolutionsRequest /*Namespace*/ Namespace string /*TicketID*/ TicketID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdateTicketResolutionsParams contains all the parameters to send to the API endpoint for the update ticket resolutions operation typically these are written to a http.Request
func NewUpdateTicketResolutionsParams ¶
func NewUpdateTicketResolutionsParams() *UpdateTicketResolutionsParams
NewUpdateTicketResolutionsParams creates a new UpdateTicketResolutionsParams object with the default values initialized.
func NewUpdateTicketResolutionsParamsWithContext ¶
func NewUpdateTicketResolutionsParamsWithContext(ctx context.Context) *UpdateTicketResolutionsParams
NewUpdateTicketResolutionsParamsWithContext creates a new UpdateTicketResolutionsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateTicketResolutionsParamsWithHTTPClient ¶
func NewUpdateTicketResolutionsParamsWithHTTPClient(client *http.Client) *UpdateTicketResolutionsParams
NewUpdateTicketResolutionsParamsWithHTTPClient creates a new UpdateTicketResolutionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateTicketResolutionsParamsWithTimeout ¶
func NewUpdateTicketResolutionsParamsWithTimeout(timeout time.Duration) *UpdateTicketResolutionsParams
NewUpdateTicketResolutionsParamsWithTimeout creates a new UpdateTicketResolutionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateTicketResolutionsParams) SetAuthInfoWriter ¶
func (o *UpdateTicketResolutionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) SetBody ¶
func (o *UpdateTicketResolutionsParams) SetBody(body *reportingclientmodels.RestapiUpdateTicketResolutionsRequest)
SetBody adds the body to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) SetContext ¶
func (o *UpdateTicketResolutionsParams) SetContext(ctx context.Context)
SetContext adds the context to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) SetFlightId ¶ added in v0.63.0
func (o *UpdateTicketResolutionsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateTicketResolutionsParams) SetHTTPClient ¶
func (o *UpdateTicketResolutionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) SetHTTPClientTransport ¶
func (o *UpdateTicketResolutionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) SetNamespace ¶
func (o *UpdateTicketResolutionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) SetTicketID ¶
func (o *UpdateTicketResolutionsParams) SetTicketID(ticketID string)
SetTicketID adds the ticketId to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) SetTimeout ¶
func (o *UpdateTicketResolutionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) WithBody ¶
func (o *UpdateTicketResolutionsParams) WithBody(body *reportingclientmodels.RestapiUpdateTicketResolutionsRequest) *UpdateTicketResolutionsParams
WithBody adds the body to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) WithContext ¶
func (o *UpdateTicketResolutionsParams) WithContext(ctx context.Context) *UpdateTicketResolutionsParams
WithContext adds the context to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) WithHTTPClient ¶
func (o *UpdateTicketResolutionsParams) WithHTTPClient(client *http.Client) *UpdateTicketResolutionsParams
WithHTTPClient adds the HTTPClient to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) WithNamespace ¶
func (o *UpdateTicketResolutionsParams) WithNamespace(namespace string) *UpdateTicketResolutionsParams
WithNamespace adds the namespace to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) WithTicketID ¶
func (o *UpdateTicketResolutionsParams) WithTicketID(ticketID string) *UpdateTicketResolutionsParams
WithTicketID adds the ticketID to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) WithTimeout ¶
func (o *UpdateTicketResolutionsParams) WithTimeout(timeout time.Duration) *UpdateTicketResolutionsParams
WithTimeout adds the timeout to the update ticket resolutions params
func (*UpdateTicketResolutionsParams) WriteToRequest ¶
func (o *UpdateTicketResolutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTicketResolutionsReader ¶
type UpdateTicketResolutionsReader struct {
// contains filtered or unexported fields
}
UpdateTicketResolutionsReader is a Reader for the UpdateTicketResolutions structure.
func (*UpdateTicketResolutionsReader) ReadResponse ¶
func (o *UpdateTicketResolutionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- admin_tickets_client.go
- delete_ticket_parameters.go
- delete_ticket_responses.go
- get_reports_by_ticket_parameters.go
- get_reports_by_ticket_responses.go
- get_ticket_detail_parameters.go
- get_ticket_detail_responses.go
- list_tickets_parameters.go
- list_tickets_responses.go
- ticket_statistic_parameters.go
- ticket_statistic_responses.go
- update_ticket_resolutions_parameters.go
- update_ticket_resolutions_responses.go