admin_reasons

package
v0.49.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetAllReasonsInternalServerError

type AdminGetAllReasonsInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

AdminGetAllReasonsInternalServerError handles this case with default header values.

func NewAdminGetAllReasonsInternalServerError

func NewAdminGetAllReasonsInternalServerError() *AdminGetAllReasonsInternalServerError

NewAdminGetAllReasonsInternalServerError creates a AdminGetAllReasonsInternalServerError with default headers values

func (*AdminGetAllReasonsInternalServerError) Error

func (*AdminGetAllReasonsInternalServerError) GetPayload

func (*AdminGetAllReasonsInternalServerError) ToJSONString

type AdminGetAllReasonsOK

type AdminGetAllReasonsOK struct {
	Payload *reportingclientmodels.RestapiAdminAllReasonsResponse
}

AdminGetAllReasonsOK handles this case with default header values.

OK

func NewAdminGetAllReasonsOK

func NewAdminGetAllReasonsOK() *AdminGetAllReasonsOK

NewAdminGetAllReasonsOK creates a AdminGetAllReasonsOK with default headers values

func (*AdminGetAllReasonsOK) Error

func (o *AdminGetAllReasonsOK) Error() string

func (*AdminGetAllReasonsOK) GetPayload

func (*AdminGetAllReasonsOK) ToJSONString

func (o *AdminGetAllReasonsOK) ToJSONString() string

type AdminGetAllReasonsParams

type AdminGetAllReasonsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminGetAllReasonsParams contains all the parameters to send to the API endpoint for the admin get all reasons operation typically these are written to a http.Request

func NewAdminGetAllReasonsParams

func NewAdminGetAllReasonsParams() *AdminGetAllReasonsParams

NewAdminGetAllReasonsParams creates a new AdminGetAllReasonsParams object with the default values initialized.

func NewAdminGetAllReasonsParamsWithContext

func NewAdminGetAllReasonsParamsWithContext(ctx context.Context) *AdminGetAllReasonsParams

NewAdminGetAllReasonsParamsWithContext creates a new AdminGetAllReasonsParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetAllReasonsParamsWithHTTPClient

func NewAdminGetAllReasonsParamsWithHTTPClient(client *http.Client) *AdminGetAllReasonsParams

NewAdminGetAllReasonsParamsWithHTTPClient creates a new AdminGetAllReasonsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetAllReasonsParamsWithTimeout

func NewAdminGetAllReasonsParamsWithTimeout(timeout time.Duration) *AdminGetAllReasonsParams

NewAdminGetAllReasonsParamsWithTimeout creates a new AdminGetAllReasonsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetAllReasonsParams) SetAuthInfoWriter

func (o *AdminGetAllReasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get all reasons params

func (*AdminGetAllReasonsParams) SetContext

func (o *AdminGetAllReasonsParams) SetContext(ctx context.Context)

SetContext adds the context to the admin get all reasons params

func (*AdminGetAllReasonsParams) SetHTTPClient

func (o *AdminGetAllReasonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin get all reasons params

func (*AdminGetAllReasonsParams) SetHTTPClientTransport

func (o *AdminGetAllReasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get all reasons params

func (*AdminGetAllReasonsParams) SetNamespace

func (o *AdminGetAllReasonsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get all reasons params

func (*AdminGetAllReasonsParams) SetTimeout

func (o *AdminGetAllReasonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin get all reasons params

func (*AdminGetAllReasonsParams) WithContext

WithContext adds the context to the admin get all reasons params

func (*AdminGetAllReasonsParams) WithHTTPClient

func (o *AdminGetAllReasonsParams) WithHTTPClient(client *http.Client) *AdminGetAllReasonsParams

WithHTTPClient adds the HTTPClient to the admin get all reasons params

func (*AdminGetAllReasonsParams) WithNamespace

func (o *AdminGetAllReasonsParams) WithNamespace(namespace string) *AdminGetAllReasonsParams

WithNamespace adds the namespace to the admin get all reasons params

func (*AdminGetAllReasonsParams) WithTimeout

WithTimeout adds the timeout to the admin get all reasons params

func (*AdminGetAllReasonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetAllReasonsReader

type AdminGetAllReasonsReader struct {
	// contains filtered or unexported fields
}

AdminGetAllReasonsReader is a Reader for the AdminGetAllReasons structure.

func (*AdminGetAllReasonsReader) ReadResponse

func (o *AdminGetAllReasonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminGetReasonInternalServerError

type AdminGetReasonInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

AdminGetReasonInternalServerError handles this case with default header values.

func NewAdminGetReasonInternalServerError

func NewAdminGetReasonInternalServerError() *AdminGetReasonInternalServerError

NewAdminGetReasonInternalServerError creates a AdminGetReasonInternalServerError with default headers values

func (*AdminGetReasonInternalServerError) Error

func (*AdminGetReasonInternalServerError) GetPayload

func (*AdminGetReasonInternalServerError) ToJSONString

func (o *AdminGetReasonInternalServerError) ToJSONString() string

type AdminGetReasonNotFound

type AdminGetReasonNotFound struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

AdminGetReasonNotFound handles this case with default header values.

func NewAdminGetReasonNotFound

func NewAdminGetReasonNotFound() *AdminGetReasonNotFound

NewAdminGetReasonNotFound creates a AdminGetReasonNotFound with default headers values

func (*AdminGetReasonNotFound) Error

func (o *AdminGetReasonNotFound) Error() string

func (*AdminGetReasonNotFound) GetPayload

func (*AdminGetReasonNotFound) ToJSONString

func (o *AdminGetReasonNotFound) ToJSONString() string

type AdminGetReasonOK

type AdminGetReasonOK struct {
	Payload *reportingclientmodels.RestapiAdminReasonResponse
}

AdminGetReasonOK handles this case with default header values.

OK

func NewAdminGetReasonOK

func NewAdminGetReasonOK() *AdminGetReasonOK

NewAdminGetReasonOK creates a AdminGetReasonOK with default headers values

func (*AdminGetReasonOK) Error

func (o *AdminGetReasonOK) Error() string

func (*AdminGetReasonOK) GetPayload

func (*AdminGetReasonOK) ToJSONString

func (o *AdminGetReasonOK) ToJSONString() string

type AdminGetReasonParams

type AdminGetReasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ReasonID*/
	ReasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminGetReasonParams contains all the parameters to send to the API endpoint for the admin get reason operation typically these are written to a http.Request

func NewAdminGetReasonParams

func NewAdminGetReasonParams() *AdminGetReasonParams

NewAdminGetReasonParams creates a new AdminGetReasonParams object with the default values initialized.

func NewAdminGetReasonParamsWithContext

func NewAdminGetReasonParamsWithContext(ctx context.Context) *AdminGetReasonParams

NewAdminGetReasonParamsWithContext creates a new AdminGetReasonParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetReasonParamsWithHTTPClient

func NewAdminGetReasonParamsWithHTTPClient(client *http.Client) *AdminGetReasonParams

NewAdminGetReasonParamsWithHTTPClient creates a new AdminGetReasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetReasonParamsWithTimeout

func NewAdminGetReasonParamsWithTimeout(timeout time.Duration) *AdminGetReasonParams

NewAdminGetReasonParamsWithTimeout creates a new AdminGetReasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetReasonParams) SetAuthInfoWriter

func (o *AdminGetReasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get reason params

func (*AdminGetReasonParams) SetContext

func (o *AdminGetReasonParams) SetContext(ctx context.Context)

SetContext adds the context to the admin get reason params

func (*AdminGetReasonParams) SetHTTPClient

func (o *AdminGetReasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin get reason params

func (*AdminGetReasonParams) SetHTTPClientTransport

func (o *AdminGetReasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get reason params

func (*AdminGetReasonParams) SetNamespace

func (o *AdminGetReasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get reason params

func (*AdminGetReasonParams) SetReasonID

func (o *AdminGetReasonParams) SetReasonID(reasonID string)

SetReasonID adds the reasonId to the admin get reason params

func (*AdminGetReasonParams) SetTimeout

func (o *AdminGetReasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin get reason params

func (*AdminGetReasonParams) WithContext

WithContext adds the context to the admin get reason params

func (*AdminGetReasonParams) WithHTTPClient

func (o *AdminGetReasonParams) WithHTTPClient(client *http.Client) *AdminGetReasonParams

WithHTTPClient adds the HTTPClient to the admin get reason params

func (*AdminGetReasonParams) WithNamespace

func (o *AdminGetReasonParams) WithNamespace(namespace string) *AdminGetReasonParams

WithNamespace adds the namespace to the admin get reason params

func (*AdminGetReasonParams) WithReasonID

func (o *AdminGetReasonParams) WithReasonID(reasonID string) *AdminGetReasonParams

WithReasonID adds the reasonID to the admin get reason params

func (*AdminGetReasonParams) WithTimeout

func (o *AdminGetReasonParams) WithTimeout(timeout time.Duration) *AdminGetReasonParams

WithTimeout adds the timeout to the admin get reason params

func (*AdminGetReasonParams) WriteToRequest

func (o *AdminGetReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminGetReasonReader

type AdminGetReasonReader struct {
	// contains filtered or unexported fields
}

AdminGetReasonReader is a Reader for the AdminGetReason structure.

func (*AdminGetReasonReader) ReadResponse

func (o *AdminGetReasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminGetReasonsInternalServerError

type AdminGetReasonsInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

AdminGetReasonsInternalServerError handles this case with default header values.

func NewAdminGetReasonsInternalServerError

func NewAdminGetReasonsInternalServerError() *AdminGetReasonsInternalServerError

NewAdminGetReasonsInternalServerError creates a AdminGetReasonsInternalServerError with default headers values

func (*AdminGetReasonsInternalServerError) Error

func (*AdminGetReasonsInternalServerError) GetPayload

func (*AdminGetReasonsInternalServerError) ToJSONString

func (o *AdminGetReasonsInternalServerError) ToJSONString() string

type AdminGetReasonsNotFound

type AdminGetReasonsNotFound struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

AdminGetReasonsNotFound handles this case with default header values.

func NewAdminGetReasonsNotFound

func NewAdminGetReasonsNotFound() *AdminGetReasonsNotFound

NewAdminGetReasonsNotFound creates a AdminGetReasonsNotFound with default headers values

func (*AdminGetReasonsNotFound) Error

func (o *AdminGetReasonsNotFound) Error() string

func (*AdminGetReasonsNotFound) GetPayload

func (*AdminGetReasonsNotFound) ToJSONString

func (o *AdminGetReasonsNotFound) ToJSONString() string

type AdminGetReasonsOK

type AdminGetReasonsOK struct {
	Payload *reportingclientmodels.RestapiAdminReasonListResponse
}

AdminGetReasonsOK handles this case with default header values.

OK

func NewAdminGetReasonsOK

func NewAdminGetReasonsOK() *AdminGetReasonsOK

NewAdminGetReasonsOK creates a AdminGetReasonsOK with default headers values

func (*AdminGetReasonsOK) Error

func (o *AdminGetReasonsOK) Error() string

func (*AdminGetReasonsOK) GetPayload

func (*AdminGetReasonsOK) ToJSONString

func (o *AdminGetReasonsOK) ToJSONString() string

type AdminGetReasonsParams

type AdminGetReasonsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Group
	  query reasons under specified reason group

	*/
	Group *string
	/*Limit
	  number of data requested (default 25)

	*/
	Limit *int64
	/*Offset
	  number of data offset (default 0)

	*/
	Offset *int64
	/*Title
	  query reason(s) by title

	*/
	Title *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminGetReasonsParams contains all the parameters to send to the API endpoint for the admin get reasons operation typically these are written to a http.Request

func NewAdminGetReasonsParams

func NewAdminGetReasonsParams() *AdminGetReasonsParams

NewAdminGetReasonsParams creates a new AdminGetReasonsParams object with the default values initialized.

func NewAdminGetReasonsParamsWithContext

func NewAdminGetReasonsParamsWithContext(ctx context.Context) *AdminGetReasonsParams

NewAdminGetReasonsParamsWithContext creates a new AdminGetReasonsParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetReasonsParamsWithHTTPClient

func NewAdminGetReasonsParamsWithHTTPClient(client *http.Client) *AdminGetReasonsParams

NewAdminGetReasonsParamsWithHTTPClient creates a new AdminGetReasonsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetReasonsParamsWithTimeout

func NewAdminGetReasonsParamsWithTimeout(timeout time.Duration) *AdminGetReasonsParams

NewAdminGetReasonsParamsWithTimeout creates a new AdminGetReasonsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetReasonsParams) SetAuthInfoWriter

func (o *AdminGetReasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get reasons params

func (*AdminGetReasonsParams) SetContext

func (o *AdminGetReasonsParams) SetContext(ctx context.Context)

SetContext adds the context to the admin get reasons params

func (*AdminGetReasonsParams) SetGroup

func (o *AdminGetReasonsParams) SetGroup(group *string)

SetGroup adds the group to the admin get reasons params

func (*AdminGetReasonsParams) SetHTTPClient

func (o *AdminGetReasonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin get reasons params

func (*AdminGetReasonsParams) SetHTTPClientTransport

func (o *AdminGetReasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get reasons params

func (*AdminGetReasonsParams) SetLimit

func (o *AdminGetReasonsParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin get reasons params

func (*AdminGetReasonsParams) SetNamespace

func (o *AdminGetReasonsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get reasons params

func (*AdminGetReasonsParams) SetOffset

func (o *AdminGetReasonsParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin get reasons params

func (*AdminGetReasonsParams) SetTimeout

func (o *AdminGetReasonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin get reasons params

func (*AdminGetReasonsParams) SetTitle

func (o *AdminGetReasonsParams) SetTitle(title *string)

SetTitle adds the title to the admin get reasons params

func (*AdminGetReasonsParams) WithContext

WithContext adds the context to the admin get reasons params

func (*AdminGetReasonsParams) WithGroup

func (o *AdminGetReasonsParams) WithGroup(group *string) *AdminGetReasonsParams

WithGroup adds the group to the admin get reasons params

func (*AdminGetReasonsParams) WithHTTPClient

func (o *AdminGetReasonsParams) WithHTTPClient(client *http.Client) *AdminGetReasonsParams

WithHTTPClient adds the HTTPClient to the admin get reasons params

func (*AdminGetReasonsParams) WithLimit

func (o *AdminGetReasonsParams) WithLimit(limit *int64) *AdminGetReasonsParams

WithLimit adds the limit to the admin get reasons params

func (*AdminGetReasonsParams) WithNamespace

func (o *AdminGetReasonsParams) WithNamespace(namespace string) *AdminGetReasonsParams

WithNamespace adds the namespace to the admin get reasons params

func (*AdminGetReasonsParams) WithOffset

func (o *AdminGetReasonsParams) WithOffset(offset *int64) *AdminGetReasonsParams

WithOffset adds the offset to the admin get reasons params

func (*AdminGetReasonsParams) WithTimeout

func (o *AdminGetReasonsParams) WithTimeout(timeout time.Duration) *AdminGetReasonsParams

WithTimeout adds the timeout to the admin get reasons params

func (*AdminGetReasonsParams) WithTitle

func (o *AdminGetReasonsParams) WithTitle(title *string) *AdminGetReasonsParams

WithTitle adds the title to the admin get reasons params

func (*AdminGetReasonsParams) WriteToRequest

func (o *AdminGetReasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminGetReasonsReader

type AdminGetReasonsReader struct {
	// contains filtered or unexported fields
}

AdminGetReasonsReader is a Reader for the AdminGetReasons structure.

func (*AdminGetReasonsReader) ReadResponse

func (o *AdminGetReasonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminGetUnusedReasonsInternalServerError

type AdminGetUnusedReasonsInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

AdminGetUnusedReasonsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetUnusedReasonsInternalServerError

func NewAdminGetUnusedReasonsInternalServerError() *AdminGetUnusedReasonsInternalServerError

NewAdminGetUnusedReasonsInternalServerError creates a AdminGetUnusedReasonsInternalServerError with default headers values

func (*AdminGetUnusedReasonsInternalServerError) Error

func (*AdminGetUnusedReasonsInternalServerError) GetPayload

func (*AdminGetUnusedReasonsInternalServerError) ToJSONString

type AdminGetUnusedReasonsNotFound

type AdminGetUnusedReasonsNotFound struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

AdminGetUnusedReasonsNotFound handles this case with default header values.

Not Found

func NewAdminGetUnusedReasonsNotFound

func NewAdminGetUnusedReasonsNotFound() *AdminGetUnusedReasonsNotFound

NewAdminGetUnusedReasonsNotFound creates a AdminGetUnusedReasonsNotFound with default headers values

func (*AdminGetUnusedReasonsNotFound) Error

func (*AdminGetUnusedReasonsNotFound) GetPayload

func (*AdminGetUnusedReasonsNotFound) ToJSONString

func (o *AdminGetUnusedReasonsNotFound) ToJSONString() string

type AdminGetUnusedReasonsOK

type AdminGetUnusedReasonsOK struct {
	Payload *reportingclientmodels.RestapiUnusedReasonListResponse
}

AdminGetUnusedReasonsOK handles this case with default header values.

OK

func NewAdminGetUnusedReasonsOK

func NewAdminGetUnusedReasonsOK() *AdminGetUnusedReasonsOK

NewAdminGetUnusedReasonsOK creates a AdminGetUnusedReasonsOK with default headers values

func (*AdminGetUnusedReasonsOK) Error

func (o *AdminGetUnusedReasonsOK) Error() string

func (*AdminGetUnusedReasonsOK) GetPayload

func (*AdminGetUnusedReasonsOK) ToJSONString

func (o *AdminGetUnusedReasonsOK) ToJSONString() string

type AdminGetUnusedReasonsParams

type AdminGetUnusedReasonsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ExtensionCategory*/
	ExtensionCategory *string
	/*Category*/
	Category string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminGetUnusedReasonsParams contains all the parameters to send to the API endpoint for the admin get unused reasons operation typically these are written to a http.Request

func NewAdminGetUnusedReasonsParams

func NewAdminGetUnusedReasonsParams() *AdminGetUnusedReasonsParams

NewAdminGetUnusedReasonsParams creates a new AdminGetUnusedReasonsParams object with the default values initialized.

func NewAdminGetUnusedReasonsParamsWithContext

func NewAdminGetUnusedReasonsParamsWithContext(ctx context.Context) *AdminGetUnusedReasonsParams

NewAdminGetUnusedReasonsParamsWithContext creates a new AdminGetUnusedReasonsParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetUnusedReasonsParamsWithHTTPClient

func NewAdminGetUnusedReasonsParamsWithHTTPClient(client *http.Client) *AdminGetUnusedReasonsParams

NewAdminGetUnusedReasonsParamsWithHTTPClient creates a new AdminGetUnusedReasonsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetUnusedReasonsParamsWithTimeout

func NewAdminGetUnusedReasonsParamsWithTimeout(timeout time.Duration) *AdminGetUnusedReasonsParams

NewAdminGetUnusedReasonsParamsWithTimeout creates a new AdminGetUnusedReasonsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetUnusedReasonsParams) SetAuthInfoWriter

func (o *AdminGetUnusedReasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) SetCategory

func (o *AdminGetUnusedReasonsParams) SetCategory(category string)

SetCategory adds the category to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) SetContext

func (o *AdminGetUnusedReasonsParams) SetContext(ctx context.Context)

SetContext adds the context to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) SetExtensionCategory

func (o *AdminGetUnusedReasonsParams) SetExtensionCategory(extensionCategory *string)

SetExtensionCategory adds the extensionCategory to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) SetHTTPClient

func (o *AdminGetUnusedReasonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) SetHTTPClientTransport

func (o *AdminGetUnusedReasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) SetNamespace

func (o *AdminGetUnusedReasonsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) SetTimeout

func (o *AdminGetUnusedReasonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) WithCategory

WithCategory adds the category to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) WithContext

WithContext adds the context to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) WithExtensionCategory

func (o *AdminGetUnusedReasonsParams) WithExtensionCategory(extensionCategory *string) *AdminGetUnusedReasonsParams

WithExtensionCategory adds the extensionCategory to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) WithNamespace

func (o *AdminGetUnusedReasonsParams) WithNamespace(namespace string) *AdminGetUnusedReasonsParams

WithNamespace adds the namespace to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) WithTimeout

WithTimeout adds the timeout to the admin get unused reasons params

func (*AdminGetUnusedReasonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetUnusedReasonsReader

type AdminGetUnusedReasonsReader struct {
	// contains filtered or unexported fields
}

AdminGetUnusedReasonsReader is a Reader for the AdminGetUnusedReasons structure.

func (*AdminGetUnusedReasonsReader) ReadResponse

func (o *AdminGetUnusedReasonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminListReasonGroupsInternalServerError

type AdminListReasonGroupsInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

AdminListReasonGroupsInternalServerError handles this case with default header values.

func NewAdminListReasonGroupsInternalServerError

func NewAdminListReasonGroupsInternalServerError() *AdminListReasonGroupsInternalServerError

NewAdminListReasonGroupsInternalServerError creates a AdminListReasonGroupsInternalServerError with default headers values

func (*AdminListReasonGroupsInternalServerError) Error

func (*AdminListReasonGroupsInternalServerError) GetPayload

func (*AdminListReasonGroupsInternalServerError) ToJSONString

type AdminListReasonGroupsOK

type AdminListReasonGroupsOK struct {
	Payload *reportingclientmodels.RestapiReasonGroupListResponse
}

AdminListReasonGroupsOK handles this case with default header values.

func NewAdminListReasonGroupsOK

func NewAdminListReasonGroupsOK() *AdminListReasonGroupsOK

NewAdminListReasonGroupsOK creates a AdminListReasonGroupsOK with default headers values

func (*AdminListReasonGroupsOK) Error

func (o *AdminListReasonGroupsOK) Error() string

func (*AdminListReasonGroupsOK) GetPayload

func (*AdminListReasonGroupsOK) ToJSONString

func (o *AdminListReasonGroupsOK) ToJSONString() string

type AdminListReasonGroupsParams

type AdminListReasonGroupsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace 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
	// contains filtered or unexported fields
}

AdminListReasonGroupsParams contains all the parameters to send to the API endpoint for the admin list reason groups operation typically these are written to a http.Request

func NewAdminListReasonGroupsParams

func NewAdminListReasonGroupsParams() *AdminListReasonGroupsParams

NewAdminListReasonGroupsParams creates a new AdminListReasonGroupsParams object with the default values initialized.

func NewAdminListReasonGroupsParamsWithContext

func NewAdminListReasonGroupsParamsWithContext(ctx context.Context) *AdminListReasonGroupsParams

NewAdminListReasonGroupsParamsWithContext creates a new AdminListReasonGroupsParams object with the default values initialized, and the ability to set a context for a request

func NewAdminListReasonGroupsParamsWithHTTPClient

func NewAdminListReasonGroupsParamsWithHTTPClient(client *http.Client) *AdminListReasonGroupsParams

NewAdminListReasonGroupsParamsWithHTTPClient creates a new AdminListReasonGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminListReasonGroupsParamsWithTimeout

func NewAdminListReasonGroupsParamsWithTimeout(timeout time.Duration) *AdminListReasonGroupsParams

NewAdminListReasonGroupsParamsWithTimeout creates a new AdminListReasonGroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminListReasonGroupsParams) SetAuthInfoWriter

func (o *AdminListReasonGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin list reason groups params

func (*AdminListReasonGroupsParams) SetContext

func (o *AdminListReasonGroupsParams) SetContext(ctx context.Context)

SetContext adds the context to the admin list reason groups params

func (*AdminListReasonGroupsParams) SetHTTPClient

func (o *AdminListReasonGroupsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin list reason groups params

func (*AdminListReasonGroupsParams) SetHTTPClientTransport

func (o *AdminListReasonGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin list reason groups params

func (*AdminListReasonGroupsParams) SetLimit

func (o *AdminListReasonGroupsParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin list reason groups params

func (*AdminListReasonGroupsParams) SetNamespace

func (o *AdminListReasonGroupsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list reason groups params

func (*AdminListReasonGroupsParams) SetOffset

func (o *AdminListReasonGroupsParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin list reason groups params

func (*AdminListReasonGroupsParams) SetTimeout

func (o *AdminListReasonGroupsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin list reason groups params

func (*AdminListReasonGroupsParams) WithContext

WithContext adds the context to the admin list reason groups params

func (*AdminListReasonGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list reason groups params

func (*AdminListReasonGroupsParams) WithLimit

WithLimit adds the limit to the admin list reason groups params

func (*AdminListReasonGroupsParams) WithNamespace

func (o *AdminListReasonGroupsParams) WithNamespace(namespace string) *AdminListReasonGroupsParams

WithNamespace adds the namespace to the admin list reason groups params

func (*AdminListReasonGroupsParams) WithOffset

WithOffset adds the offset to the admin list reason groups params

func (*AdminListReasonGroupsParams) WithTimeout

WithTimeout adds the timeout to the admin list reason groups params

func (*AdminListReasonGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListReasonGroupsReader

type AdminListReasonGroupsReader struct {
	// contains filtered or unexported fields
}

AdminListReasonGroupsReader is a Reader for the AdminListReasonGroups structure.

func (*AdminListReasonGroupsReader) ReadResponse

func (o *AdminListReasonGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for admin reasons API

func (*Client) AdminGetAllReasons deprecated

Deprecated: 2022-08-10 - Use AdminGetAllReasonsShort instead.

AdminGetAllReasons get all reasons

This endpoint get all reasons without pagination.

Required Permission: ADMIN:NAMESPACE:{namespace}:REASON [READ]

func (*Client) AdminGetAllReasonsShort

func (a *Client) AdminGetAllReasonsShort(params *AdminGetAllReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllReasonsOK, error)

AdminGetAllReasonsShort get all reasons

This endpoint get all reasons without pagination.

Required Permission: ADMIN:NAMESPACE:{namespace}:REASON [READ]

func (*Client) AdminGetReason deprecated

Deprecated: 2022-08-10 - Use AdminGetReasonShort instead.

AdminGetReason get a single reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [READ]

func (*Client) AdminGetReasonShort

func (a *Client) AdminGetReasonShort(params *AdminGetReasonParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonOK, error)

AdminGetReasonShort get a single reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [READ]

func (*Client) AdminGetReasons deprecated

Deprecated: 2022-08-10 - Use AdminGetReasonsShort instead.

AdminGetReasons get list of reasons

func (*Client) AdminGetReasonsShort

func (a *Client) AdminGetReasonsShort(params *AdminGetReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonsOK, error)

AdminGetReasonsShort get list of reasons

func (*Client) AdminGetUnusedReasons deprecated

Deprecated: 2022-08-10 - Use AdminGetUnusedReasonsShort instead.

AdminGetUnusedReasons get list of reasons that not used by moderation rules

This endpoint get reasons not used by moderation rules.

Required Permission: ADMIN:NAMESPACE:{namespace}:REASON [READ]

func (*Client) AdminGetUnusedReasonsShort

func (a *Client) AdminGetUnusedReasonsShort(params *AdminGetUnusedReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUnusedReasonsOK, error)

AdminGetUnusedReasonsShort get list of reasons that not used by moderation rules

This endpoint get reasons not used by moderation rules.

Required Permission: ADMIN:NAMESPACE:{namespace}:REASON [READ]

func (*Client) AdminListReasonGroups deprecated

Deprecated: 2022-08-10 - Use AdminListReasonGroupsShort instead.

AdminListReasonGroups list reason groups under a namespace Required permission: ADMIN:NAMESPACE:{namespace}:REASON [READ] Return list of reason groups ID and title under given namespace. To fetch the reasons inside a group, use get reason group endpoint.

func (*Client) AdminListReasonGroupsShort

func (a *Client) AdminListReasonGroupsShort(params *AdminListReasonGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListReasonGroupsOK, error)

AdminListReasonGroupsShort list reason groups under a namespace Required permission: ADMIN:NAMESPACE:{namespace}:REASON [READ] Return list of reason groups ID and title under given namespace. To fetch the reasons inside a group, use get reason group endpoint.

func (*Client) CreateReason deprecated

Deprecated: 2022-08-10 - Use CreateReasonShort instead.

CreateReason create a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [CREATE]

func (*Client) CreateReasonGroup deprecated

Deprecated: 2022-08-10 - Use CreateReasonGroupShort instead.

CreateReasonGroup create a reason group Required permission: ADMIN:NAMESPACE:{namespace}:REASON [CREATE] Create a reason group for easier query. You can query reasons by specifying the group title in the list reasons query. Reason group title is case insensitive, meaning you can't have reason if you already create a reason titled Reason

func (*Client) CreateReasonGroupShort

func (a *Client) CreateReasonGroupShort(params *CreateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonGroupCreated, error)

CreateReasonGroupShort create a reason group Required permission: ADMIN:NAMESPACE:{namespace}:REASON [CREATE] Create a reason group for easier query. You can query reasons by specifying the group title in the list reasons query. Reason group title is case insensitive, meaning you can't have reason if you already create a reason titled Reason

func (*Client) CreateReasonShort

func (a *Client) CreateReasonShort(params *CreateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonCreated, error)

CreateReasonShort create a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [CREATE]

func (*Client) DeleteReason deprecated

Deprecated: 2022-08-10 - Use DeleteReasonShort instead.

DeleteReason delete a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [DELETE]

func (*Client) DeleteReasonGroup deprecated

Deprecated: 2022-08-10 - Use DeleteReasonGroupShort instead.

DeleteReasonGroup delete a reason group Required permission: ADMIN:NAMESPACE:{namespace}:REASON [DELETE]

func (*Client) DeleteReasonGroupShort

func (a *Client) DeleteReasonGroupShort(params *DeleteReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonGroupNoContent, error)

DeleteReasonGroupShort delete a reason group Required permission: ADMIN:NAMESPACE:{namespace}:REASON [DELETE]

func (*Client) DeleteReasonShort

func (a *Client) DeleteReasonShort(params *DeleteReasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonNoContent, error)

DeleteReasonShort delete a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [DELETE]

func (*Client) GetReasonGroup deprecated

Deprecated: 2022-08-10 - Use GetReasonGroupShort instead.

GetReasonGroup get reason group Required permission: ADMIN:NAMESPACE:{namespace}:REASON [READ]

func (*Client) GetReasonGroupShort

func (a *Client) GetReasonGroupShort(params *GetReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetReasonGroupOK, error)

GetReasonGroupShort get reason group Required permission: ADMIN:NAMESPACE:{namespace}:REASON [READ]

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateReason deprecated

Deprecated: 2022-08-10 - Use UpdateReasonShort instead.

UpdateReason update a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [UPDATE]

func (*Client) UpdateReasonGroup deprecated

Deprecated: 2022-08-10 - Use UpdateReasonGroupShort instead.

UpdateReasonGroup update a reason group Required permission: ADMIN:NAMESPACE:{namespace}:REASON [UPDATE] Reason group title is case insensitive, meaning you can't have reason if you already create a reason titled Reason If no reasonIds passed when updating, the current reasons under the reason group will be kept (reasons will not be removed from the group).

func (*Client) UpdateReasonGroupShort

func (a *Client) UpdateReasonGroupShort(params *UpdateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonGroupOK, error)

UpdateReasonGroupShort update a reason group Required permission: ADMIN:NAMESPACE:{namespace}:REASON [UPDATE] Reason group title is case insensitive, meaning you can't have reason if you already create a reason titled Reason If no reasonIds passed when updating, the current reasons under the reason group will be kept (reasons will not be removed from the group).

func (*Client) UpdateReasonShort

func (a *Client) UpdateReasonShort(params *UpdateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonOK, error)

UpdateReasonShort update a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [UPDATE]

type ClientService

type ClientService interface {
	AdminListReasonGroups(params *AdminListReasonGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListReasonGroupsOK, *AdminListReasonGroupsInternalServerError, error)
	AdminListReasonGroupsShort(params *AdminListReasonGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListReasonGroupsOK, error)
	CreateReasonGroup(params *CreateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonGroupCreated, *CreateReasonGroupBadRequest, *CreateReasonGroupConflict, *CreateReasonGroupInternalServerError, error)
	CreateReasonGroupShort(params *CreateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonGroupCreated, error)
	GetReasonGroup(params *GetReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetReasonGroupOK, *GetReasonGroupNotFound, *GetReasonGroupInternalServerError, error)
	GetReasonGroupShort(params *GetReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetReasonGroupOK, error)
	DeleteReasonGroup(params *DeleteReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonGroupNoContent, *DeleteReasonGroupInternalServerError, error)
	DeleteReasonGroupShort(params *DeleteReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonGroupNoContent, error)
	UpdateReasonGroup(params *UpdateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonGroupOK, *UpdateReasonGroupBadRequest, *UpdateReasonGroupConflict, *UpdateReasonGroupInternalServerError, error)
	UpdateReasonGroupShort(params *UpdateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonGroupOK, error)
	AdminGetReasons(params *AdminGetReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonsOK, *AdminGetReasonsNotFound, *AdminGetReasonsInternalServerError, error)
	AdminGetReasonsShort(params *AdminGetReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonsOK, error)
	CreateReason(params *CreateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonCreated, *CreateReasonBadRequest, *CreateReasonConflict, *CreateReasonInternalServerError, error)
	CreateReasonShort(params *CreateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonCreated, error)
	AdminGetAllReasons(params *AdminGetAllReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllReasonsOK, *AdminGetAllReasonsInternalServerError, error)
	AdminGetAllReasonsShort(params *AdminGetAllReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllReasonsOK, error)
	AdminGetUnusedReasons(params *AdminGetUnusedReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUnusedReasonsOK, *AdminGetUnusedReasonsNotFound, *AdminGetUnusedReasonsInternalServerError, error)
	AdminGetUnusedReasonsShort(params *AdminGetUnusedReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUnusedReasonsOK, error)
	AdminGetReason(params *AdminGetReasonParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonOK, *AdminGetReasonNotFound, *AdminGetReasonInternalServerError, error)
	AdminGetReasonShort(params *AdminGetReasonParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonOK, error)
	DeleteReason(params *DeleteReasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonNoContent, *DeleteReasonInternalServerError, error)
	DeleteReasonShort(params *DeleteReasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonNoContent, error)
	UpdateReason(params *UpdateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonOK, *UpdateReasonBadRequest, *UpdateReasonConflict, *UpdateReasonInternalServerError, error)
	UpdateReasonShort(params *UpdateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonOK, 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 reasons API client.

type CreateReasonBadRequest

type CreateReasonBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateReasonBadRequest handles this case with default header values.

func NewCreateReasonBadRequest

func NewCreateReasonBadRequest() *CreateReasonBadRequest

NewCreateReasonBadRequest creates a CreateReasonBadRequest with default headers values

func (*CreateReasonBadRequest) Error

func (o *CreateReasonBadRequest) Error() string

func (*CreateReasonBadRequest) GetPayload

func (*CreateReasonBadRequest) ToJSONString

func (o *CreateReasonBadRequest) ToJSONString() string

type CreateReasonConflict

type CreateReasonConflict struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateReasonConflict handles this case with default header values.

Conflict

func NewCreateReasonConflict

func NewCreateReasonConflict() *CreateReasonConflict

NewCreateReasonConflict creates a CreateReasonConflict with default headers values

func (*CreateReasonConflict) Error

func (o *CreateReasonConflict) Error() string

func (*CreateReasonConflict) GetPayload

func (*CreateReasonConflict) ToJSONString

func (o *CreateReasonConflict) ToJSONString() string

type CreateReasonCreated

type CreateReasonCreated struct {
	Payload *reportingclientmodels.RestapiAdminReasonResponse
}

CreateReasonCreated handles this case with default header values.

func NewCreateReasonCreated

func NewCreateReasonCreated() *CreateReasonCreated

NewCreateReasonCreated creates a CreateReasonCreated with default headers values

func (*CreateReasonCreated) Error

func (o *CreateReasonCreated) Error() string

func (*CreateReasonCreated) GetPayload

func (*CreateReasonCreated) ToJSONString

func (o *CreateReasonCreated) ToJSONString() string

type CreateReasonGroupBadRequest

type CreateReasonGroupBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateReasonGroupBadRequest handles this case with default header values.

func NewCreateReasonGroupBadRequest

func NewCreateReasonGroupBadRequest() *CreateReasonGroupBadRequest

NewCreateReasonGroupBadRequest creates a CreateReasonGroupBadRequest with default headers values

func (*CreateReasonGroupBadRequest) Error

func (*CreateReasonGroupBadRequest) GetPayload

func (*CreateReasonGroupBadRequest) ToJSONString

func (o *CreateReasonGroupBadRequest) ToJSONString() string

type CreateReasonGroupConflict

type CreateReasonGroupConflict struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateReasonGroupConflict handles this case with default header values.

func NewCreateReasonGroupConflict

func NewCreateReasonGroupConflict() *CreateReasonGroupConflict

NewCreateReasonGroupConflict creates a CreateReasonGroupConflict with default headers values

func (*CreateReasonGroupConflict) Error

func (o *CreateReasonGroupConflict) Error() string

func (*CreateReasonGroupConflict) GetPayload

func (*CreateReasonGroupConflict) ToJSONString

func (o *CreateReasonGroupConflict) ToJSONString() string

type CreateReasonGroupCreated

type CreateReasonGroupCreated struct {
	Payload *reportingclientmodels.RestapiReasonGroupResponse
}

CreateReasonGroupCreated handles this case with default header values.

func NewCreateReasonGroupCreated

func NewCreateReasonGroupCreated() *CreateReasonGroupCreated

NewCreateReasonGroupCreated creates a CreateReasonGroupCreated with default headers values

func (*CreateReasonGroupCreated) Error

func (o *CreateReasonGroupCreated) Error() string

func (*CreateReasonGroupCreated) GetPayload

func (*CreateReasonGroupCreated) ToJSONString

func (o *CreateReasonGroupCreated) ToJSONString() string

type CreateReasonGroupInternalServerError

type CreateReasonGroupInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateReasonGroupInternalServerError handles this case with default header values.

func NewCreateReasonGroupInternalServerError

func NewCreateReasonGroupInternalServerError() *CreateReasonGroupInternalServerError

NewCreateReasonGroupInternalServerError creates a CreateReasonGroupInternalServerError with default headers values

func (*CreateReasonGroupInternalServerError) Error

func (*CreateReasonGroupInternalServerError) GetPayload

func (*CreateReasonGroupInternalServerError) ToJSONString

func (o *CreateReasonGroupInternalServerError) ToJSONString() string

type CreateReasonGroupParams

type CreateReasonGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *reportingclientmodels.RestapiCreateReasonGroupRequest
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

CreateReasonGroupParams contains all the parameters to send to the API endpoint for the create reason group operation typically these are written to a http.Request

func NewCreateReasonGroupParams

func NewCreateReasonGroupParams() *CreateReasonGroupParams

NewCreateReasonGroupParams creates a new CreateReasonGroupParams object with the default values initialized.

func NewCreateReasonGroupParamsWithContext

func NewCreateReasonGroupParamsWithContext(ctx context.Context) *CreateReasonGroupParams

NewCreateReasonGroupParamsWithContext creates a new CreateReasonGroupParams object with the default values initialized, and the ability to set a context for a request

func NewCreateReasonGroupParamsWithHTTPClient

func NewCreateReasonGroupParamsWithHTTPClient(client *http.Client) *CreateReasonGroupParams

NewCreateReasonGroupParamsWithHTTPClient creates a new CreateReasonGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateReasonGroupParamsWithTimeout

func NewCreateReasonGroupParamsWithTimeout(timeout time.Duration) *CreateReasonGroupParams

NewCreateReasonGroupParamsWithTimeout creates a new CreateReasonGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateReasonGroupParams) SetAuthInfoWriter

func (o *CreateReasonGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create reason group params

func (*CreateReasonGroupParams) SetBody

SetBody adds the body to the create reason group params

func (*CreateReasonGroupParams) SetContext

func (o *CreateReasonGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the create reason group params

func (*CreateReasonGroupParams) SetHTTPClient

func (o *CreateReasonGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create reason group params

func (*CreateReasonGroupParams) SetHTTPClientTransport

func (o *CreateReasonGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create reason group params

func (*CreateReasonGroupParams) SetNamespace

func (o *CreateReasonGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create reason group params

func (*CreateReasonGroupParams) SetTimeout

func (o *CreateReasonGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create reason group params

func (*CreateReasonGroupParams) WithBody

WithBody adds the body to the create reason group params

func (*CreateReasonGroupParams) WithContext

WithContext adds the context to the create reason group params

func (*CreateReasonGroupParams) WithHTTPClient

func (o *CreateReasonGroupParams) WithHTTPClient(client *http.Client) *CreateReasonGroupParams

WithHTTPClient adds the HTTPClient to the create reason group params

func (*CreateReasonGroupParams) WithNamespace

func (o *CreateReasonGroupParams) WithNamespace(namespace string) *CreateReasonGroupParams

WithNamespace adds the namespace to the create reason group params

func (*CreateReasonGroupParams) WithTimeout

WithTimeout adds the timeout to the create reason group params

func (*CreateReasonGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateReasonGroupReader

type CreateReasonGroupReader struct {
	// contains filtered or unexported fields
}

CreateReasonGroupReader is a Reader for the CreateReasonGroup structure.

func (*CreateReasonGroupReader) ReadResponse

func (o *CreateReasonGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateReasonInternalServerError

type CreateReasonInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateReasonInternalServerError handles this case with default header values.

func NewCreateReasonInternalServerError

func NewCreateReasonInternalServerError() *CreateReasonInternalServerError

NewCreateReasonInternalServerError creates a CreateReasonInternalServerError with default headers values

func (*CreateReasonInternalServerError) Error

func (*CreateReasonInternalServerError) GetPayload

func (*CreateReasonInternalServerError) ToJSONString

func (o *CreateReasonInternalServerError) ToJSONString() string

type CreateReasonParams

type CreateReasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *reportingclientmodels.RestapiCreateReasonRequest
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

CreateReasonParams contains all the parameters to send to the API endpoint for the create reason operation typically these are written to a http.Request

func NewCreateReasonParams

func NewCreateReasonParams() *CreateReasonParams

NewCreateReasonParams creates a new CreateReasonParams object with the default values initialized.

func NewCreateReasonParamsWithContext

func NewCreateReasonParamsWithContext(ctx context.Context) *CreateReasonParams

NewCreateReasonParamsWithContext creates a new CreateReasonParams object with the default values initialized, and the ability to set a context for a request

func NewCreateReasonParamsWithHTTPClient

func NewCreateReasonParamsWithHTTPClient(client *http.Client) *CreateReasonParams

NewCreateReasonParamsWithHTTPClient creates a new CreateReasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateReasonParamsWithTimeout

func NewCreateReasonParamsWithTimeout(timeout time.Duration) *CreateReasonParams

NewCreateReasonParamsWithTimeout creates a new CreateReasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateReasonParams) SetAuthInfoWriter

func (o *CreateReasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create reason params

func (*CreateReasonParams) SetBody

SetBody adds the body to the create reason params

func (*CreateReasonParams) SetContext

func (o *CreateReasonParams) SetContext(ctx context.Context)

SetContext adds the context to the create reason params

func (*CreateReasonParams) SetHTTPClient

func (o *CreateReasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create reason params

func (*CreateReasonParams) SetHTTPClientTransport

func (o *CreateReasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create reason params

func (*CreateReasonParams) SetNamespace

func (o *CreateReasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create reason params

func (*CreateReasonParams) SetTimeout

func (o *CreateReasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create reason params

func (*CreateReasonParams) WithBody

WithBody adds the body to the create reason params

func (*CreateReasonParams) WithContext

WithContext adds the context to the create reason params

func (*CreateReasonParams) WithHTTPClient

func (o *CreateReasonParams) WithHTTPClient(client *http.Client) *CreateReasonParams

WithHTTPClient adds the HTTPClient to the create reason params

func (*CreateReasonParams) WithNamespace

func (o *CreateReasonParams) WithNamespace(namespace string) *CreateReasonParams

WithNamespace adds the namespace to the create reason params

func (*CreateReasonParams) WithTimeout

func (o *CreateReasonParams) WithTimeout(timeout time.Duration) *CreateReasonParams

WithTimeout adds the timeout to the create reason params

func (*CreateReasonParams) WriteToRequest

func (o *CreateReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateReasonReader

type CreateReasonReader struct {
	// contains filtered or unexported fields
}

CreateReasonReader is a Reader for the CreateReason structure.

func (*CreateReasonReader) ReadResponse

func (o *CreateReasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteReasonGroupInternalServerError

type DeleteReasonGroupInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

DeleteReasonGroupInternalServerError handles this case with default header values.

func NewDeleteReasonGroupInternalServerError

func NewDeleteReasonGroupInternalServerError() *DeleteReasonGroupInternalServerError

NewDeleteReasonGroupInternalServerError creates a DeleteReasonGroupInternalServerError with default headers values

func (*DeleteReasonGroupInternalServerError) Error

func (*DeleteReasonGroupInternalServerError) GetPayload

func (*DeleteReasonGroupInternalServerError) ToJSONString

func (o *DeleteReasonGroupInternalServerError) ToJSONString() string

type DeleteReasonGroupNoContent

type DeleteReasonGroupNoContent struct {
}

DeleteReasonGroupNoContent handles this case with default header values.

func NewDeleteReasonGroupNoContent

func NewDeleteReasonGroupNoContent() *DeleteReasonGroupNoContent

NewDeleteReasonGroupNoContent creates a DeleteReasonGroupNoContent with default headers values

func (*DeleteReasonGroupNoContent) Error

type DeleteReasonGroupParams

type DeleteReasonGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*GroupID
	  Reason group ID

	*/
	GroupID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

DeleteReasonGroupParams contains all the parameters to send to the API endpoint for the delete reason group operation typically these are written to a http.Request

func NewDeleteReasonGroupParams

func NewDeleteReasonGroupParams() *DeleteReasonGroupParams

NewDeleteReasonGroupParams creates a new DeleteReasonGroupParams object with the default values initialized.

func NewDeleteReasonGroupParamsWithContext

func NewDeleteReasonGroupParamsWithContext(ctx context.Context) *DeleteReasonGroupParams

NewDeleteReasonGroupParamsWithContext creates a new DeleteReasonGroupParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteReasonGroupParamsWithHTTPClient

func NewDeleteReasonGroupParamsWithHTTPClient(client *http.Client) *DeleteReasonGroupParams

NewDeleteReasonGroupParamsWithHTTPClient creates a new DeleteReasonGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteReasonGroupParamsWithTimeout

func NewDeleteReasonGroupParamsWithTimeout(timeout time.Duration) *DeleteReasonGroupParams

NewDeleteReasonGroupParamsWithTimeout creates a new DeleteReasonGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteReasonGroupParams) SetAuthInfoWriter

func (o *DeleteReasonGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete reason group params

func (*DeleteReasonGroupParams) SetContext

func (o *DeleteReasonGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the delete reason group params

func (*DeleteReasonGroupParams) SetGroupID

func (o *DeleteReasonGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the delete reason group params

func (*DeleteReasonGroupParams) SetHTTPClient

func (o *DeleteReasonGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete reason group params

func (*DeleteReasonGroupParams) SetHTTPClientTransport

func (o *DeleteReasonGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete reason group params

func (*DeleteReasonGroupParams) SetNamespace

func (o *DeleteReasonGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete reason group params

func (*DeleteReasonGroupParams) SetTimeout

func (o *DeleteReasonGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete reason group params

func (*DeleteReasonGroupParams) WithContext

WithContext adds the context to the delete reason group params

func (*DeleteReasonGroupParams) WithGroupID

func (o *DeleteReasonGroupParams) WithGroupID(groupID string) *DeleteReasonGroupParams

WithGroupID adds the groupID to the delete reason group params

func (*DeleteReasonGroupParams) WithHTTPClient

func (o *DeleteReasonGroupParams) WithHTTPClient(client *http.Client) *DeleteReasonGroupParams

WithHTTPClient adds the HTTPClient to the delete reason group params

func (*DeleteReasonGroupParams) WithNamespace

func (o *DeleteReasonGroupParams) WithNamespace(namespace string) *DeleteReasonGroupParams

WithNamespace adds the namespace to the delete reason group params

func (*DeleteReasonGroupParams) WithTimeout

WithTimeout adds the timeout to the delete reason group params

func (*DeleteReasonGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteReasonGroupReader

type DeleteReasonGroupReader struct {
	// contains filtered or unexported fields
}

DeleteReasonGroupReader is a Reader for the DeleteReasonGroup structure.

func (*DeleteReasonGroupReader) ReadResponse

func (o *DeleteReasonGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteReasonInternalServerError

type DeleteReasonInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

DeleteReasonInternalServerError handles this case with default header values.

func NewDeleteReasonInternalServerError

func NewDeleteReasonInternalServerError() *DeleteReasonInternalServerError

NewDeleteReasonInternalServerError creates a DeleteReasonInternalServerError with default headers values

func (*DeleteReasonInternalServerError) Error

func (*DeleteReasonInternalServerError) GetPayload

func (*DeleteReasonInternalServerError) ToJSONString

func (o *DeleteReasonInternalServerError) ToJSONString() string

type DeleteReasonNoContent

type DeleteReasonNoContent struct {
}

DeleteReasonNoContent handles this case with default header values.

func NewDeleteReasonNoContent

func NewDeleteReasonNoContent() *DeleteReasonNoContent

NewDeleteReasonNoContent creates a DeleteReasonNoContent with default headers values

func (*DeleteReasonNoContent) Error

func (o *DeleteReasonNoContent) Error() string

type DeleteReasonParams

type DeleteReasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ReasonID*/
	ReasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

DeleteReasonParams contains all the parameters to send to the API endpoint for the delete reason operation typically these are written to a http.Request

func NewDeleteReasonParams

func NewDeleteReasonParams() *DeleteReasonParams

NewDeleteReasonParams creates a new DeleteReasonParams object with the default values initialized.

func NewDeleteReasonParamsWithContext

func NewDeleteReasonParamsWithContext(ctx context.Context) *DeleteReasonParams

NewDeleteReasonParamsWithContext creates a new DeleteReasonParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteReasonParamsWithHTTPClient

func NewDeleteReasonParamsWithHTTPClient(client *http.Client) *DeleteReasonParams

NewDeleteReasonParamsWithHTTPClient creates a new DeleteReasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteReasonParamsWithTimeout

func NewDeleteReasonParamsWithTimeout(timeout time.Duration) *DeleteReasonParams

NewDeleteReasonParamsWithTimeout creates a new DeleteReasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteReasonParams) SetAuthInfoWriter

func (o *DeleteReasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete reason params

func (*DeleteReasonParams) SetContext

func (o *DeleteReasonParams) SetContext(ctx context.Context)

SetContext adds the context to the delete reason params

func (*DeleteReasonParams) SetHTTPClient

func (o *DeleteReasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete reason params

func (*DeleteReasonParams) SetHTTPClientTransport

func (o *DeleteReasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete reason params

func (*DeleteReasonParams) SetNamespace

func (o *DeleteReasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete reason params

func (*DeleteReasonParams) SetReasonID

func (o *DeleteReasonParams) SetReasonID(reasonID string)

SetReasonID adds the reasonId to the delete reason params

func (*DeleteReasonParams) SetTimeout

func (o *DeleteReasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete reason params

func (*DeleteReasonParams) WithContext

WithContext adds the context to the delete reason params

func (*DeleteReasonParams) WithHTTPClient

func (o *DeleteReasonParams) WithHTTPClient(client *http.Client) *DeleteReasonParams

WithHTTPClient adds the HTTPClient to the delete reason params

func (*DeleteReasonParams) WithNamespace

func (o *DeleteReasonParams) WithNamespace(namespace string) *DeleteReasonParams

WithNamespace adds the namespace to the delete reason params

func (*DeleteReasonParams) WithReasonID

func (o *DeleteReasonParams) WithReasonID(reasonID string) *DeleteReasonParams

WithReasonID adds the reasonID to the delete reason params

func (*DeleteReasonParams) WithTimeout

func (o *DeleteReasonParams) WithTimeout(timeout time.Duration) *DeleteReasonParams

WithTimeout adds the timeout to the delete reason params

func (*DeleteReasonParams) WriteToRequest

func (o *DeleteReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteReasonReader

type DeleteReasonReader struct {
	// contains filtered or unexported fields
}

DeleteReasonReader is a Reader for the DeleteReason structure.

func (*DeleteReasonReader) ReadResponse

func (o *DeleteReasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetReasonGroupInternalServerError

type GetReasonGroupInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

GetReasonGroupInternalServerError handles this case with default header values.

func NewGetReasonGroupInternalServerError

func NewGetReasonGroupInternalServerError() *GetReasonGroupInternalServerError

NewGetReasonGroupInternalServerError creates a GetReasonGroupInternalServerError with default headers values

func (*GetReasonGroupInternalServerError) Error

func (*GetReasonGroupInternalServerError) GetPayload

func (*GetReasonGroupInternalServerError) ToJSONString

func (o *GetReasonGroupInternalServerError) ToJSONString() string

type GetReasonGroupNotFound

type GetReasonGroupNotFound struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

GetReasonGroupNotFound handles this case with default header values.

func NewGetReasonGroupNotFound

func NewGetReasonGroupNotFound() *GetReasonGroupNotFound

NewGetReasonGroupNotFound creates a GetReasonGroupNotFound with default headers values

func (*GetReasonGroupNotFound) Error

func (o *GetReasonGroupNotFound) Error() string

func (*GetReasonGroupNotFound) GetPayload

func (*GetReasonGroupNotFound) ToJSONString

func (o *GetReasonGroupNotFound) ToJSONString() string

type GetReasonGroupOK

type GetReasonGroupOK struct {
	Payload *reportingclientmodels.RestapiReasonGroupResponse
}

GetReasonGroupOK handles this case with default header values.

func NewGetReasonGroupOK

func NewGetReasonGroupOK() *GetReasonGroupOK

NewGetReasonGroupOK creates a GetReasonGroupOK with default headers values

func (*GetReasonGroupOK) Error

func (o *GetReasonGroupOK) Error() string

func (*GetReasonGroupOK) GetPayload

func (*GetReasonGroupOK) ToJSONString

func (o *GetReasonGroupOK) ToJSONString() string

type GetReasonGroupParams

type GetReasonGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*GroupID
	  Reason group ID

	*/
	GroupID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetReasonGroupParams contains all the parameters to send to the API endpoint for the get reason group operation typically these are written to a http.Request

func NewGetReasonGroupParams

func NewGetReasonGroupParams() *GetReasonGroupParams

NewGetReasonGroupParams creates a new GetReasonGroupParams object with the default values initialized.

func NewGetReasonGroupParamsWithContext

func NewGetReasonGroupParamsWithContext(ctx context.Context) *GetReasonGroupParams

NewGetReasonGroupParamsWithContext creates a new GetReasonGroupParams object with the default values initialized, and the ability to set a context for a request

func NewGetReasonGroupParamsWithHTTPClient

func NewGetReasonGroupParamsWithHTTPClient(client *http.Client) *GetReasonGroupParams

NewGetReasonGroupParamsWithHTTPClient creates a new GetReasonGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetReasonGroupParamsWithTimeout

func NewGetReasonGroupParamsWithTimeout(timeout time.Duration) *GetReasonGroupParams

NewGetReasonGroupParamsWithTimeout creates a new GetReasonGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetReasonGroupParams) SetAuthInfoWriter

func (o *GetReasonGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get reason group params

func (*GetReasonGroupParams) SetContext

func (o *GetReasonGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the get reason group params

func (*GetReasonGroupParams) SetGroupID

func (o *GetReasonGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get reason group params

func (*GetReasonGroupParams) SetHTTPClient

func (o *GetReasonGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get reason group params

func (*GetReasonGroupParams) SetHTTPClientTransport

func (o *GetReasonGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get reason group params

func (*GetReasonGroupParams) SetNamespace

func (o *GetReasonGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get reason group params

func (*GetReasonGroupParams) SetTimeout

func (o *GetReasonGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get reason group params

func (*GetReasonGroupParams) WithContext

WithContext adds the context to the get reason group params

func (*GetReasonGroupParams) WithGroupID

func (o *GetReasonGroupParams) WithGroupID(groupID string) *GetReasonGroupParams

WithGroupID adds the groupID to the get reason group params

func (*GetReasonGroupParams) WithHTTPClient

func (o *GetReasonGroupParams) WithHTTPClient(client *http.Client) *GetReasonGroupParams

WithHTTPClient adds the HTTPClient to the get reason group params

func (*GetReasonGroupParams) WithNamespace

func (o *GetReasonGroupParams) WithNamespace(namespace string) *GetReasonGroupParams

WithNamespace adds the namespace to the get reason group params

func (*GetReasonGroupParams) WithTimeout

func (o *GetReasonGroupParams) WithTimeout(timeout time.Duration) *GetReasonGroupParams

WithTimeout adds the timeout to the get reason group params

func (*GetReasonGroupParams) WriteToRequest

func (o *GetReasonGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetReasonGroupReader

type GetReasonGroupReader struct {
	// contains filtered or unexported fields
}

GetReasonGroupReader is a Reader for the GetReasonGroup structure.

func (*GetReasonGroupReader) ReadResponse

func (o *GetReasonGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateReasonBadRequest

type UpdateReasonBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateReasonBadRequest handles this case with default header values.

func NewUpdateReasonBadRequest

func NewUpdateReasonBadRequest() *UpdateReasonBadRequest

NewUpdateReasonBadRequest creates a UpdateReasonBadRequest with default headers values

func (*UpdateReasonBadRequest) Error

func (o *UpdateReasonBadRequest) Error() string

func (*UpdateReasonBadRequest) GetPayload

func (*UpdateReasonBadRequest) ToJSONString

func (o *UpdateReasonBadRequest) ToJSONString() string

type UpdateReasonConflict

type UpdateReasonConflict struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateReasonConflict handles this case with default header values.

Conflict

func NewUpdateReasonConflict

func NewUpdateReasonConflict() *UpdateReasonConflict

NewUpdateReasonConflict creates a UpdateReasonConflict with default headers values

func (*UpdateReasonConflict) Error

func (o *UpdateReasonConflict) Error() string

func (*UpdateReasonConflict) GetPayload

func (*UpdateReasonConflict) ToJSONString

func (o *UpdateReasonConflict) ToJSONString() string

type UpdateReasonGroupBadRequest

type UpdateReasonGroupBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateReasonGroupBadRequest handles this case with default header values.

func NewUpdateReasonGroupBadRequest

func NewUpdateReasonGroupBadRequest() *UpdateReasonGroupBadRequest

NewUpdateReasonGroupBadRequest creates a UpdateReasonGroupBadRequest with default headers values

func (*UpdateReasonGroupBadRequest) Error

func (*UpdateReasonGroupBadRequest) GetPayload

func (*UpdateReasonGroupBadRequest) ToJSONString

func (o *UpdateReasonGroupBadRequest) ToJSONString() string

type UpdateReasonGroupConflict

type UpdateReasonGroupConflict struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateReasonGroupConflict handles this case with default header values.

func NewUpdateReasonGroupConflict

func NewUpdateReasonGroupConflict() *UpdateReasonGroupConflict

NewUpdateReasonGroupConflict creates a UpdateReasonGroupConflict with default headers values

func (*UpdateReasonGroupConflict) Error

func (o *UpdateReasonGroupConflict) Error() string

func (*UpdateReasonGroupConflict) GetPayload

func (*UpdateReasonGroupConflict) ToJSONString

func (o *UpdateReasonGroupConflict) ToJSONString() string

type UpdateReasonGroupInternalServerError

type UpdateReasonGroupInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateReasonGroupInternalServerError handles this case with default header values.

func NewUpdateReasonGroupInternalServerError

func NewUpdateReasonGroupInternalServerError() *UpdateReasonGroupInternalServerError

NewUpdateReasonGroupInternalServerError creates a UpdateReasonGroupInternalServerError with default headers values

func (*UpdateReasonGroupInternalServerError) Error

func (*UpdateReasonGroupInternalServerError) GetPayload

func (*UpdateReasonGroupInternalServerError) ToJSONString

func (o *UpdateReasonGroupInternalServerError) ToJSONString() string

type UpdateReasonGroupOK

type UpdateReasonGroupOK struct {
	Payload *reportingclientmodels.RestapiReasonGroupResponse
}

UpdateReasonGroupOK handles this case with default header values.

func NewUpdateReasonGroupOK

func NewUpdateReasonGroupOK() *UpdateReasonGroupOK

NewUpdateReasonGroupOK creates a UpdateReasonGroupOK with default headers values

func (*UpdateReasonGroupOK) Error

func (o *UpdateReasonGroupOK) Error() string

func (*UpdateReasonGroupOK) GetPayload

func (*UpdateReasonGroupOK) ToJSONString

func (o *UpdateReasonGroupOK) ToJSONString() string

type UpdateReasonGroupParams

type UpdateReasonGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *reportingclientmodels.RestapiUpdateReasonGroupRequest
	/*GroupID
	  Reason group ID

	*/
	GroupID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

UpdateReasonGroupParams contains all the parameters to send to the API endpoint for the update reason group operation typically these are written to a http.Request

func NewUpdateReasonGroupParams

func NewUpdateReasonGroupParams() *UpdateReasonGroupParams

NewUpdateReasonGroupParams creates a new UpdateReasonGroupParams object with the default values initialized.

func NewUpdateReasonGroupParamsWithContext

func NewUpdateReasonGroupParamsWithContext(ctx context.Context) *UpdateReasonGroupParams

NewUpdateReasonGroupParamsWithContext creates a new UpdateReasonGroupParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateReasonGroupParamsWithHTTPClient

func NewUpdateReasonGroupParamsWithHTTPClient(client *http.Client) *UpdateReasonGroupParams

NewUpdateReasonGroupParamsWithHTTPClient creates a new UpdateReasonGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateReasonGroupParamsWithTimeout

func NewUpdateReasonGroupParamsWithTimeout(timeout time.Duration) *UpdateReasonGroupParams

NewUpdateReasonGroupParamsWithTimeout creates a new UpdateReasonGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateReasonGroupParams) SetAuthInfoWriter

func (o *UpdateReasonGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update reason group params

func (*UpdateReasonGroupParams) SetBody

SetBody adds the body to the update reason group params

func (*UpdateReasonGroupParams) SetContext

func (o *UpdateReasonGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the update reason group params

func (*UpdateReasonGroupParams) SetGroupID

func (o *UpdateReasonGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the update reason group params

func (*UpdateReasonGroupParams) SetHTTPClient

func (o *UpdateReasonGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update reason group params

func (*UpdateReasonGroupParams) SetHTTPClientTransport

func (o *UpdateReasonGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update reason group params

func (*UpdateReasonGroupParams) SetNamespace

func (o *UpdateReasonGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update reason group params

func (*UpdateReasonGroupParams) SetTimeout

func (o *UpdateReasonGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update reason group params

func (*UpdateReasonGroupParams) WithBody

WithBody adds the body to the update reason group params

func (*UpdateReasonGroupParams) WithContext

WithContext adds the context to the update reason group params

func (*UpdateReasonGroupParams) WithGroupID

func (o *UpdateReasonGroupParams) WithGroupID(groupID string) *UpdateReasonGroupParams

WithGroupID adds the groupID to the update reason group params

func (*UpdateReasonGroupParams) WithHTTPClient

func (o *UpdateReasonGroupParams) WithHTTPClient(client *http.Client) *UpdateReasonGroupParams

WithHTTPClient adds the HTTPClient to the update reason group params

func (*UpdateReasonGroupParams) WithNamespace

func (o *UpdateReasonGroupParams) WithNamespace(namespace string) *UpdateReasonGroupParams

WithNamespace adds the namespace to the update reason group params

func (*UpdateReasonGroupParams) WithTimeout

WithTimeout adds the timeout to the update reason group params

func (*UpdateReasonGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateReasonGroupReader

type UpdateReasonGroupReader struct {
	// contains filtered or unexported fields
}

UpdateReasonGroupReader is a Reader for the UpdateReasonGroup structure.

func (*UpdateReasonGroupReader) ReadResponse

func (o *UpdateReasonGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateReasonInternalServerError

type UpdateReasonInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateReasonInternalServerError handles this case with default header values.

func NewUpdateReasonInternalServerError

func NewUpdateReasonInternalServerError() *UpdateReasonInternalServerError

NewUpdateReasonInternalServerError creates a UpdateReasonInternalServerError with default headers values

func (*UpdateReasonInternalServerError) Error

func (*UpdateReasonInternalServerError) GetPayload

func (*UpdateReasonInternalServerError) ToJSONString

func (o *UpdateReasonInternalServerError) ToJSONString() string

type UpdateReasonOK

type UpdateReasonOK struct {
	Payload *reportingclientmodels.RestapiAdminReasonResponse
}

UpdateReasonOK handles this case with default header values.

func NewUpdateReasonOK

func NewUpdateReasonOK() *UpdateReasonOK

NewUpdateReasonOK creates a UpdateReasonOK with default headers values

func (*UpdateReasonOK) Error

func (o *UpdateReasonOK) Error() string

func (*UpdateReasonOK) GetPayload

func (*UpdateReasonOK) ToJSONString

func (o *UpdateReasonOK) ToJSONString() string

type UpdateReasonParams

type UpdateReasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *reportingclientmodels.RestapiCreateReasonRequest
	/*Namespace*/
	Namespace string
	/*ReasonID*/
	ReasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

UpdateReasonParams contains all the parameters to send to the API endpoint for the update reason operation typically these are written to a http.Request

func NewUpdateReasonParams

func NewUpdateReasonParams() *UpdateReasonParams

NewUpdateReasonParams creates a new UpdateReasonParams object with the default values initialized.

func NewUpdateReasonParamsWithContext

func NewUpdateReasonParamsWithContext(ctx context.Context) *UpdateReasonParams

NewUpdateReasonParamsWithContext creates a new UpdateReasonParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateReasonParamsWithHTTPClient

func NewUpdateReasonParamsWithHTTPClient(client *http.Client) *UpdateReasonParams

NewUpdateReasonParamsWithHTTPClient creates a new UpdateReasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateReasonParamsWithTimeout

func NewUpdateReasonParamsWithTimeout(timeout time.Duration) *UpdateReasonParams

NewUpdateReasonParamsWithTimeout creates a new UpdateReasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateReasonParams) SetAuthInfoWriter

func (o *UpdateReasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update reason params

func (*UpdateReasonParams) SetBody

SetBody adds the body to the update reason params

func (*UpdateReasonParams) SetContext

func (o *UpdateReasonParams) SetContext(ctx context.Context)

SetContext adds the context to the update reason params

func (*UpdateReasonParams) SetHTTPClient

func (o *UpdateReasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update reason params

func (*UpdateReasonParams) SetHTTPClientTransport

func (o *UpdateReasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update reason params

func (*UpdateReasonParams) SetNamespace

func (o *UpdateReasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update reason params

func (*UpdateReasonParams) SetReasonID

func (o *UpdateReasonParams) SetReasonID(reasonID string)

SetReasonID adds the reasonId to the update reason params

func (*UpdateReasonParams) SetTimeout

func (o *UpdateReasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update reason params

func (*UpdateReasonParams) WithBody

WithBody adds the body to the update reason params

func (*UpdateReasonParams) WithContext

WithContext adds the context to the update reason params

func (*UpdateReasonParams) WithHTTPClient

func (o *UpdateReasonParams) WithHTTPClient(client *http.Client) *UpdateReasonParams

WithHTTPClient adds the HTTPClient to the update reason params

func (*UpdateReasonParams) WithNamespace

func (o *UpdateReasonParams) WithNamespace(namespace string) *UpdateReasonParams

WithNamespace adds the namespace to the update reason params

func (*UpdateReasonParams) WithReasonID

func (o *UpdateReasonParams) WithReasonID(reasonID string) *UpdateReasonParams

WithReasonID adds the reasonID to the update reason params

func (*UpdateReasonParams) WithTimeout

func (o *UpdateReasonParams) WithTimeout(timeout time.Duration) *UpdateReasonParams

WithTimeout adds the timeout to the update reason params

func (*UpdateReasonParams) WriteToRequest

func (o *UpdateReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateReasonReader

type UpdateReasonReader struct {
	// contains filtered or unexported fields
}

UpdateReasonReader is a Reader for the UpdateReason structure.

func (*UpdateReasonReader) ReadResponse

func (o *UpdateReasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL