Documentation ¶
Index ¶
- type AdminGetAllReasonsInternalServerError
- type AdminGetAllReasonsOK
- type AdminGetAllReasonsParams
- func NewAdminGetAllReasonsParams() *AdminGetAllReasonsParams
- func NewAdminGetAllReasonsParamsWithContext(ctx context.Context) *AdminGetAllReasonsParams
- func NewAdminGetAllReasonsParamsWithHTTPClient(client *http.Client) *AdminGetAllReasonsParams
- func NewAdminGetAllReasonsParamsWithTimeout(timeout time.Duration) *AdminGetAllReasonsParams
- func (o *AdminGetAllReasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetAllReasonsParams) SetContext(ctx context.Context)
- func (o *AdminGetAllReasonsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetAllReasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetAllReasonsParams) SetNamespace(namespace string)
- func (o *AdminGetAllReasonsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetAllReasonsParams) WithContext(ctx context.Context) *AdminGetAllReasonsParams
- func (o *AdminGetAllReasonsParams) WithHTTPClient(client *http.Client) *AdminGetAllReasonsParams
- func (o *AdminGetAllReasonsParams) WithNamespace(namespace string) *AdminGetAllReasonsParams
- func (o *AdminGetAllReasonsParams) WithTimeout(timeout time.Duration) *AdminGetAllReasonsParams
- func (o *AdminGetAllReasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetAllReasonsReader
- type AdminGetReasonInternalServerError
- type AdminGetReasonNotFound
- type AdminGetReasonOK
- type AdminGetReasonParams
- func NewAdminGetReasonParams() *AdminGetReasonParams
- func NewAdminGetReasonParamsWithContext(ctx context.Context) *AdminGetReasonParams
- func NewAdminGetReasonParamsWithHTTPClient(client *http.Client) *AdminGetReasonParams
- func NewAdminGetReasonParamsWithTimeout(timeout time.Duration) *AdminGetReasonParams
- func (o *AdminGetReasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetReasonParams) SetContext(ctx context.Context)
- func (o *AdminGetReasonParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetReasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetReasonParams) SetNamespace(namespace string)
- func (o *AdminGetReasonParams) SetReasonID(reasonID string)
- func (o *AdminGetReasonParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetReasonParams) WithContext(ctx context.Context) *AdminGetReasonParams
- func (o *AdminGetReasonParams) WithHTTPClient(client *http.Client) *AdminGetReasonParams
- func (o *AdminGetReasonParams) WithNamespace(namespace string) *AdminGetReasonParams
- func (o *AdminGetReasonParams) WithReasonID(reasonID string) *AdminGetReasonParams
- func (o *AdminGetReasonParams) WithTimeout(timeout time.Duration) *AdminGetReasonParams
- func (o *AdminGetReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetReasonReader
- type AdminGetReasonsInternalServerError
- type AdminGetReasonsNotFound
- type AdminGetReasonsOK
- type AdminGetReasonsParams
- func NewAdminGetReasonsParams() *AdminGetReasonsParams
- func NewAdminGetReasonsParamsWithContext(ctx context.Context) *AdminGetReasonsParams
- func NewAdminGetReasonsParamsWithHTTPClient(client *http.Client) *AdminGetReasonsParams
- func NewAdminGetReasonsParamsWithTimeout(timeout time.Duration) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetReasonsParams) SetContext(ctx context.Context)
- func (o *AdminGetReasonsParams) SetGroup(group *string)
- func (o *AdminGetReasonsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetReasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetReasonsParams) SetLimit(limit *int64)
- func (o *AdminGetReasonsParams) SetNamespace(namespace string)
- func (o *AdminGetReasonsParams) SetOffset(offset *int64)
- func (o *AdminGetReasonsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetReasonsParams) SetTitle(title *string)
- func (o *AdminGetReasonsParams) WithContext(ctx context.Context) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) WithGroup(group *string) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) WithHTTPClient(client *http.Client) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) WithLimit(limit *int64) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) WithNamespace(namespace string) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) WithOffset(offset *int64) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) WithTimeout(timeout time.Duration) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) WithTitle(title *string) *AdminGetReasonsParams
- func (o *AdminGetReasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetReasonsReader
- type AdminGetUnusedReasonsInternalServerError
- type AdminGetUnusedReasonsNotFound
- type AdminGetUnusedReasonsOK
- type AdminGetUnusedReasonsParams
- func NewAdminGetUnusedReasonsParams() *AdminGetUnusedReasonsParams
- func NewAdminGetUnusedReasonsParamsWithContext(ctx context.Context) *AdminGetUnusedReasonsParams
- func NewAdminGetUnusedReasonsParamsWithHTTPClient(client *http.Client) *AdminGetUnusedReasonsParams
- func NewAdminGetUnusedReasonsParamsWithTimeout(timeout time.Duration) *AdminGetUnusedReasonsParams
- func (o *AdminGetUnusedReasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetUnusedReasonsParams) SetCategory(category string)
- func (o *AdminGetUnusedReasonsParams) SetContext(ctx context.Context)
- func (o *AdminGetUnusedReasonsParams) SetExtensionCategory(extensionCategory *string)
- func (o *AdminGetUnusedReasonsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetUnusedReasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetUnusedReasonsParams) SetNamespace(namespace string)
- func (o *AdminGetUnusedReasonsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetUnusedReasonsParams) WithCategory(category string) *AdminGetUnusedReasonsParams
- func (o *AdminGetUnusedReasonsParams) WithContext(ctx context.Context) *AdminGetUnusedReasonsParams
- func (o *AdminGetUnusedReasonsParams) WithExtensionCategory(extensionCategory *string) *AdminGetUnusedReasonsParams
- func (o *AdminGetUnusedReasonsParams) WithHTTPClient(client *http.Client) *AdminGetUnusedReasonsParams
- func (o *AdminGetUnusedReasonsParams) WithNamespace(namespace string) *AdminGetUnusedReasonsParams
- func (o *AdminGetUnusedReasonsParams) WithTimeout(timeout time.Duration) *AdminGetUnusedReasonsParams
- func (o *AdminGetUnusedReasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetUnusedReasonsReader
- type AdminListReasonGroupsInternalServerError
- type AdminListReasonGroupsOK
- type AdminListReasonGroupsParams
- func NewAdminListReasonGroupsParams() *AdminListReasonGroupsParams
- func NewAdminListReasonGroupsParamsWithContext(ctx context.Context) *AdminListReasonGroupsParams
- func NewAdminListReasonGroupsParamsWithHTTPClient(client *http.Client) *AdminListReasonGroupsParams
- func NewAdminListReasonGroupsParamsWithTimeout(timeout time.Duration) *AdminListReasonGroupsParams
- func (o *AdminListReasonGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListReasonGroupsParams) SetContext(ctx context.Context)
- func (o *AdminListReasonGroupsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListReasonGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListReasonGroupsParams) SetLimit(limit *int64)
- func (o *AdminListReasonGroupsParams) SetNamespace(namespace string)
- func (o *AdminListReasonGroupsParams) SetOffset(offset *int64)
- func (o *AdminListReasonGroupsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListReasonGroupsParams) WithContext(ctx context.Context) *AdminListReasonGroupsParams
- func (o *AdminListReasonGroupsParams) WithHTTPClient(client *http.Client) *AdminListReasonGroupsParams
- func (o *AdminListReasonGroupsParams) WithLimit(limit *int64) *AdminListReasonGroupsParams
- func (o *AdminListReasonGroupsParams) WithNamespace(namespace string) *AdminListReasonGroupsParams
- func (o *AdminListReasonGroupsParams) WithOffset(offset *int64) *AdminListReasonGroupsParams
- func (o *AdminListReasonGroupsParams) WithTimeout(timeout time.Duration) *AdminListReasonGroupsParams
- func (o *AdminListReasonGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListReasonGroupsReader
- type Client
- func (a *Client) AdminGetAllReasons(params *AdminGetAllReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllReasonsOK, *AdminGetAllReasonsInternalServerError, error)deprecated
- func (a *Client) AdminGetAllReasonsShort(params *AdminGetAllReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllReasonsOK, error)
- func (a *Client) AdminGetReason(params *AdminGetReasonParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonOK, *AdminGetReasonNotFound, *AdminGetReasonInternalServerError, ...)deprecated
- func (a *Client) AdminGetReasonShort(params *AdminGetReasonParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonOK, error)
- func (a *Client) AdminGetReasons(params *AdminGetReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonsOK, *AdminGetReasonsNotFound, ...)deprecated
- func (a *Client) AdminGetReasonsShort(params *AdminGetReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonsOK, error)
- func (a *Client) AdminGetUnusedReasons(params *AdminGetUnusedReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUnusedReasonsOK, *AdminGetUnusedReasonsNotFound, ...)deprecated
- func (a *Client) AdminGetUnusedReasonsShort(params *AdminGetUnusedReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUnusedReasonsOK, error)
- func (a *Client) AdminListReasonGroups(params *AdminListReasonGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListReasonGroupsOK, *AdminListReasonGroupsInternalServerError, error)deprecated
- func (a *Client) AdminListReasonGroupsShort(params *AdminListReasonGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListReasonGroupsOK, error)
- func (a *Client) CreateReason(params *CreateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonCreated, *CreateReasonBadRequest, *CreateReasonConflict, ...)deprecated
- func (a *Client) CreateReasonGroup(params *CreateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonGroupCreated, *CreateReasonGroupBadRequest, ...)deprecated
- func (a *Client) CreateReasonGroupShort(params *CreateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonGroupCreated, error)
- func (a *Client) CreateReasonShort(params *CreateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonCreated, error)
- func (a *Client) DeleteReason(params *DeleteReasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonNoContent, *DeleteReasonInternalServerError, error)deprecated
- func (a *Client) DeleteReasonGroup(params *DeleteReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonGroupNoContent, *DeleteReasonGroupInternalServerError, error)deprecated
- func (a *Client) DeleteReasonGroupShort(params *DeleteReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonGroupNoContent, error)
- func (a *Client) DeleteReasonShort(params *DeleteReasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonNoContent, error)
- func (a *Client) GetReasonGroup(params *GetReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetReasonGroupOK, *GetReasonGroupNotFound, *GetReasonGroupInternalServerError, ...)deprecated
- func (a *Client) GetReasonGroupShort(params *GetReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetReasonGroupOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateReason(params *UpdateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonOK, *UpdateReasonBadRequest, *UpdateReasonConflict, ...)deprecated
- func (a *Client) UpdateReasonGroup(params *UpdateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonGroupOK, *UpdateReasonGroupBadRequest, *UpdateReasonGroupConflict, ...)deprecated
- func (a *Client) UpdateReasonGroupShort(params *UpdateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonGroupOK, error)
- func (a *Client) UpdateReasonShort(params *UpdateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonOK, error)
- type ClientService
- type CreateReasonBadRequest
- type CreateReasonConflict
- type CreateReasonCreated
- type CreateReasonGroupBadRequest
- type CreateReasonGroupConflict
- type CreateReasonGroupCreated
- type CreateReasonGroupInternalServerError
- type CreateReasonGroupParams
- func NewCreateReasonGroupParams() *CreateReasonGroupParams
- func NewCreateReasonGroupParamsWithContext(ctx context.Context) *CreateReasonGroupParams
- func NewCreateReasonGroupParamsWithHTTPClient(client *http.Client) *CreateReasonGroupParams
- func NewCreateReasonGroupParamsWithTimeout(timeout time.Duration) *CreateReasonGroupParams
- func (o *CreateReasonGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateReasonGroupParams) SetBody(body *reportingclientmodels.RestapiCreateReasonGroupRequest)
- func (o *CreateReasonGroupParams) SetContext(ctx context.Context)
- func (o *CreateReasonGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateReasonGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateReasonGroupParams) SetNamespace(namespace string)
- func (o *CreateReasonGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateReasonGroupParams) WithBody(body *reportingclientmodels.RestapiCreateReasonGroupRequest) *CreateReasonGroupParams
- func (o *CreateReasonGroupParams) WithContext(ctx context.Context) *CreateReasonGroupParams
- func (o *CreateReasonGroupParams) WithHTTPClient(client *http.Client) *CreateReasonGroupParams
- func (o *CreateReasonGroupParams) WithNamespace(namespace string) *CreateReasonGroupParams
- func (o *CreateReasonGroupParams) WithTimeout(timeout time.Duration) *CreateReasonGroupParams
- func (o *CreateReasonGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReasonGroupReader
- type CreateReasonInternalServerError
- type CreateReasonParams
- func (o *CreateReasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateReasonParams) SetBody(body *reportingclientmodels.RestapiCreateReasonRequest)
- func (o *CreateReasonParams) SetContext(ctx context.Context)
- func (o *CreateReasonParams) SetHTTPClient(client *http.Client)
- func (o *CreateReasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateReasonParams) SetNamespace(namespace string)
- func (o *CreateReasonParams) SetTimeout(timeout time.Duration)
- func (o *CreateReasonParams) WithBody(body *reportingclientmodels.RestapiCreateReasonRequest) *CreateReasonParams
- func (o *CreateReasonParams) WithContext(ctx context.Context) *CreateReasonParams
- func (o *CreateReasonParams) WithHTTPClient(client *http.Client) *CreateReasonParams
- func (o *CreateReasonParams) WithNamespace(namespace string) *CreateReasonParams
- func (o *CreateReasonParams) WithTimeout(timeout time.Duration) *CreateReasonParams
- func (o *CreateReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReasonReader
- type DeleteReasonGroupInternalServerError
- type DeleteReasonGroupNoContent
- type DeleteReasonGroupParams
- func NewDeleteReasonGroupParams() *DeleteReasonGroupParams
- func NewDeleteReasonGroupParamsWithContext(ctx context.Context) *DeleteReasonGroupParams
- func NewDeleteReasonGroupParamsWithHTTPClient(client *http.Client) *DeleteReasonGroupParams
- func NewDeleteReasonGroupParamsWithTimeout(timeout time.Duration) *DeleteReasonGroupParams
- func (o *DeleteReasonGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteReasonGroupParams) SetContext(ctx context.Context)
- func (o *DeleteReasonGroupParams) SetGroupID(groupID string)
- func (o *DeleteReasonGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReasonGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteReasonGroupParams) SetNamespace(namespace string)
- func (o *DeleteReasonGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReasonGroupParams) WithContext(ctx context.Context) *DeleteReasonGroupParams
- func (o *DeleteReasonGroupParams) WithGroupID(groupID string) *DeleteReasonGroupParams
- func (o *DeleteReasonGroupParams) WithHTTPClient(client *http.Client) *DeleteReasonGroupParams
- func (o *DeleteReasonGroupParams) WithNamespace(namespace string) *DeleteReasonGroupParams
- func (o *DeleteReasonGroupParams) WithTimeout(timeout time.Duration) *DeleteReasonGroupParams
- func (o *DeleteReasonGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReasonGroupReader
- type DeleteReasonInternalServerError
- type DeleteReasonNoContent
- type DeleteReasonParams
- func (o *DeleteReasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteReasonParams) SetContext(ctx context.Context)
- func (o *DeleteReasonParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteReasonParams) SetNamespace(namespace string)
- func (o *DeleteReasonParams) SetReasonID(reasonID string)
- func (o *DeleteReasonParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReasonParams) WithContext(ctx context.Context) *DeleteReasonParams
- func (o *DeleteReasonParams) WithHTTPClient(client *http.Client) *DeleteReasonParams
- func (o *DeleteReasonParams) WithNamespace(namespace string) *DeleteReasonParams
- func (o *DeleteReasonParams) WithReasonID(reasonID string) *DeleteReasonParams
- func (o *DeleteReasonParams) WithTimeout(timeout time.Duration) *DeleteReasonParams
- func (o *DeleteReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReasonReader
- type GetReasonGroupInternalServerError
- type GetReasonGroupNotFound
- type GetReasonGroupOK
- type GetReasonGroupParams
- func NewGetReasonGroupParams() *GetReasonGroupParams
- func NewGetReasonGroupParamsWithContext(ctx context.Context) *GetReasonGroupParams
- func NewGetReasonGroupParamsWithHTTPClient(client *http.Client) *GetReasonGroupParams
- func NewGetReasonGroupParamsWithTimeout(timeout time.Duration) *GetReasonGroupParams
- func (o *GetReasonGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetReasonGroupParams) SetContext(ctx context.Context)
- func (o *GetReasonGroupParams) SetGroupID(groupID string)
- func (o *GetReasonGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetReasonGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetReasonGroupParams) SetNamespace(namespace string)
- func (o *GetReasonGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetReasonGroupParams) WithContext(ctx context.Context) *GetReasonGroupParams
- func (o *GetReasonGroupParams) WithGroupID(groupID string) *GetReasonGroupParams
- func (o *GetReasonGroupParams) WithHTTPClient(client *http.Client) *GetReasonGroupParams
- func (o *GetReasonGroupParams) WithNamespace(namespace string) *GetReasonGroupParams
- func (o *GetReasonGroupParams) WithTimeout(timeout time.Duration) *GetReasonGroupParams
- func (o *GetReasonGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReasonGroupReader
- type UpdateReasonBadRequest
- type UpdateReasonConflict
- type UpdateReasonGroupBadRequest
- type UpdateReasonGroupConflict
- type UpdateReasonGroupInternalServerError
- type UpdateReasonGroupOK
- type UpdateReasonGroupParams
- func NewUpdateReasonGroupParams() *UpdateReasonGroupParams
- func NewUpdateReasonGroupParamsWithContext(ctx context.Context) *UpdateReasonGroupParams
- func NewUpdateReasonGroupParamsWithHTTPClient(client *http.Client) *UpdateReasonGroupParams
- func NewUpdateReasonGroupParamsWithTimeout(timeout time.Duration) *UpdateReasonGroupParams
- func (o *UpdateReasonGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateReasonGroupParams) SetBody(body *reportingclientmodels.RestapiUpdateReasonGroupRequest)
- func (o *UpdateReasonGroupParams) SetContext(ctx context.Context)
- func (o *UpdateReasonGroupParams) SetGroupID(groupID string)
- func (o *UpdateReasonGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateReasonGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateReasonGroupParams) SetNamespace(namespace string)
- func (o *UpdateReasonGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateReasonGroupParams) WithBody(body *reportingclientmodels.RestapiUpdateReasonGroupRequest) *UpdateReasonGroupParams
- func (o *UpdateReasonGroupParams) WithContext(ctx context.Context) *UpdateReasonGroupParams
- func (o *UpdateReasonGroupParams) WithGroupID(groupID string) *UpdateReasonGroupParams
- func (o *UpdateReasonGroupParams) WithHTTPClient(client *http.Client) *UpdateReasonGroupParams
- func (o *UpdateReasonGroupParams) WithNamespace(namespace string) *UpdateReasonGroupParams
- func (o *UpdateReasonGroupParams) WithTimeout(timeout time.Duration) *UpdateReasonGroupParams
- func (o *UpdateReasonGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReasonGroupReader
- type UpdateReasonInternalServerError
- type UpdateReasonOK
- type UpdateReasonParams
- func (o *UpdateReasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateReasonParams) SetBody(body *reportingclientmodels.RestapiCreateReasonRequest)
- func (o *UpdateReasonParams) SetContext(ctx context.Context)
- func (o *UpdateReasonParams) SetHTTPClient(client *http.Client)
- func (o *UpdateReasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateReasonParams) SetNamespace(namespace string)
- func (o *UpdateReasonParams) SetReasonID(reasonID string)
- func (o *UpdateReasonParams) SetTimeout(timeout time.Duration)
- func (o *UpdateReasonParams) WithBody(body *reportingclientmodels.RestapiCreateReasonRequest) *UpdateReasonParams
- func (o *UpdateReasonParams) WithContext(ctx context.Context) *UpdateReasonParams
- func (o *UpdateReasonParams) WithHTTPClient(client *http.Client) *UpdateReasonParams
- func (o *UpdateReasonParams) WithNamespace(namespace string) *UpdateReasonParams
- func (o *UpdateReasonParams) WithReasonID(reasonID string) *UpdateReasonParams
- func (o *UpdateReasonParams) WithTimeout(timeout time.Duration) *UpdateReasonParams
- func (o *UpdateReasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReasonReader
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 (o *AdminGetAllReasonsInternalServerError) Error() string
func (*AdminGetAllReasonsInternalServerError) GetPayload ¶
func (o *AdminGetAllReasonsInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*AdminGetAllReasonsInternalServerError) ToJSONString ¶
func (o *AdminGetAllReasonsInternalServerError) ToJSONString() string
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 (o *AdminGetAllReasonsOK) GetPayload() *reportingclientmodels.RestapiAdminAllReasonsResponse
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 ¶
func (o *AdminGetAllReasonsParams) WithContext(ctx context.Context) *AdminGetAllReasonsParams
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 ¶
func (o *AdminGetAllReasonsParams) WithTimeout(timeout time.Duration) *AdminGetAllReasonsParams
WithTimeout adds the timeout to the admin get all reasons params
func (*AdminGetAllReasonsParams) WriteToRequest ¶
func (o *AdminGetAllReasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *AdminGetReasonInternalServerError) Error() string
func (*AdminGetReasonInternalServerError) GetPayload ¶
func (o *AdminGetReasonInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *AdminGetReasonNotFound) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *AdminGetReasonOK) GetPayload() *reportingclientmodels.RestapiAdminReasonResponse
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 ¶
func (o *AdminGetReasonParams) WithContext(ctx context.Context) *AdminGetReasonParams
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 (o *AdminGetReasonsInternalServerError) Error() string
func (*AdminGetReasonsInternalServerError) GetPayload ¶
func (o *AdminGetReasonsInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *AdminGetReasonsNotFound) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *AdminGetReasonsOK) GetPayload() *reportingclientmodels.RestapiAdminReasonListResponse
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 ¶
func (o *AdminGetReasonsParams) WithContext(ctx context.Context) *AdminGetReasonsParams
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 (o *AdminGetUnusedReasonsInternalServerError) Error() string
func (*AdminGetUnusedReasonsInternalServerError) GetPayload ¶
func (o *AdminGetUnusedReasonsInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*AdminGetUnusedReasonsInternalServerError) ToJSONString ¶
func (o *AdminGetUnusedReasonsInternalServerError) ToJSONString() string
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 (o *AdminGetUnusedReasonsNotFound) Error() string
func (*AdminGetUnusedReasonsNotFound) GetPayload ¶
func (o *AdminGetUnusedReasonsNotFound) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *AdminGetUnusedReasonsOK) GetPayload() *reportingclientmodels.RestapiUnusedReasonListResponse
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 ¶
func (o *AdminGetUnusedReasonsParams) WithCategory(category string) *AdminGetUnusedReasonsParams
WithCategory adds the category to the admin get unused reasons params
func (*AdminGetUnusedReasonsParams) WithContext ¶
func (o *AdminGetUnusedReasonsParams) WithContext(ctx context.Context) *AdminGetUnusedReasonsParams
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 ¶
func (o *AdminGetUnusedReasonsParams) WithHTTPClient(client *http.Client) *AdminGetUnusedReasonsParams
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 ¶
func (o *AdminGetUnusedReasonsParams) WithTimeout(timeout time.Duration) *AdminGetUnusedReasonsParams
WithTimeout adds the timeout to the admin get unused reasons params
func (*AdminGetUnusedReasonsParams) WriteToRequest ¶
func (o *AdminGetUnusedReasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *AdminListReasonGroupsInternalServerError) Error() string
func (*AdminListReasonGroupsInternalServerError) GetPayload ¶
func (o *AdminListReasonGroupsInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
func (*AdminListReasonGroupsInternalServerError) ToJSONString ¶
func (o *AdminListReasonGroupsInternalServerError) ToJSONString() string
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 (o *AdminListReasonGroupsOK) GetPayload() *reportingclientmodels.RestapiReasonGroupListResponse
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 ¶
func (o *AdminListReasonGroupsParams) WithContext(ctx context.Context) *AdminListReasonGroupsParams
WithContext adds the context to the admin list reason groups params
func (*AdminListReasonGroupsParams) WithHTTPClient ¶
func (o *AdminListReasonGroupsParams) WithHTTPClient(client *http.Client) *AdminListReasonGroupsParams
WithHTTPClient adds the HTTPClient to the admin list reason groups params
func (*AdminListReasonGroupsParams) WithLimit ¶
func (o *AdminListReasonGroupsParams) WithLimit(limit *int64) *AdminListReasonGroupsParams
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 ¶
func (o *AdminListReasonGroupsParams) WithOffset(offset *int64) *AdminListReasonGroupsParams
WithOffset adds the offset to the admin list reason groups params
func (*AdminListReasonGroupsParams) WithTimeout ¶
func (o *AdminListReasonGroupsParams) WithTimeout(timeout time.Duration) *AdminListReasonGroupsParams
WithTimeout adds the timeout to the admin list reason groups params
func (*AdminListReasonGroupsParams) WriteToRequest ¶
func (o *AdminListReasonGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (a *Client) AdminGetAllReasons(params *AdminGetAllReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllReasonsOK, *AdminGetAllReasonsInternalServerError, error)
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
func (a *Client) AdminGetReason(params *AdminGetReasonParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonOK, *AdminGetReasonNotFound, *AdminGetReasonInternalServerError, error)
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
func (a *Client) AdminGetReasons(params *AdminGetReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetReasonsOK, *AdminGetReasonsNotFound, *AdminGetReasonsInternalServerError, error)
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
func (a *Client) AdminGetUnusedReasons(params *AdminGetUnusedReasonsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUnusedReasonsOK, *AdminGetUnusedReasonsNotFound, *AdminGetUnusedReasonsInternalServerError, error)
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
func (a *Client) AdminListReasonGroups(params *AdminListReasonGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListReasonGroupsOK, *AdminListReasonGroupsInternalServerError, error)
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
func (a *Client) CreateReason(params *CreateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonCreated, *CreateReasonBadRequest, *CreateReasonConflict, *CreateReasonInternalServerError, error)
Deprecated: 2022-08-10 - Use CreateReasonShort instead.
CreateReason create a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [CREATE]
func (*Client) CreateReasonGroup
deprecated
func (a *Client) CreateReasonGroup(params *CreateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReasonGroupCreated, *CreateReasonGroupBadRequest, *CreateReasonGroupConflict, *CreateReasonGroupInternalServerError, error)
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
func (a *Client) DeleteReason(params *DeleteReasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonNoContent, *DeleteReasonInternalServerError, error)
Deprecated: 2022-08-10 - Use DeleteReasonShort instead.
DeleteReason delete a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [DELETE]
func (*Client) DeleteReasonGroup
deprecated
func (a *Client) DeleteReasonGroup(params *DeleteReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReasonGroupNoContent, *DeleteReasonGroupInternalServerError, error)
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
func (a *Client) GetReasonGroup(params *GetReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetReasonGroupOK, *GetReasonGroupNotFound, *GetReasonGroupInternalServerError, error)
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
func (a *Client) UpdateReason(params *UpdateReasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonOK, *UpdateReasonBadRequest, *UpdateReasonConflict, *UpdateReasonInternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateReasonShort instead.
UpdateReason update a report reason Required permission: ADMIN:NAMESPACE:{namespace}:REASON [UPDATE]
func (*Client) UpdateReasonGroup
deprecated
func (a *Client) UpdateReasonGroup(params *UpdateReasonGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReasonGroupOK, *UpdateReasonGroupBadRequest, *UpdateReasonGroupConflict, *UpdateReasonGroupInternalServerError, error)
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 (o *CreateReasonBadRequest) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *CreateReasonConflict) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *CreateReasonCreated) GetPayload() *reportingclientmodels.RestapiAdminReasonResponse
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 (o *CreateReasonGroupBadRequest) Error() string
func (*CreateReasonGroupBadRequest) GetPayload ¶
func (o *CreateReasonGroupBadRequest) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *CreateReasonGroupConflict) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *CreateReasonGroupCreated) GetPayload() *reportingclientmodels.RestapiReasonGroupResponse
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 (o *CreateReasonGroupInternalServerError) Error() string
func (*CreateReasonGroupInternalServerError) GetPayload ¶
func (o *CreateReasonGroupInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 ¶
func (o *CreateReasonGroupParams) SetBody(body *reportingclientmodels.RestapiCreateReasonGroupRequest)
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 ¶
func (o *CreateReasonGroupParams) WithBody(body *reportingclientmodels.RestapiCreateReasonGroupRequest) *CreateReasonGroupParams
WithBody adds the body to the create reason group params
func (*CreateReasonGroupParams) WithContext ¶
func (o *CreateReasonGroupParams) WithContext(ctx context.Context) *CreateReasonGroupParams
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 ¶
func (o *CreateReasonGroupParams) WithTimeout(timeout time.Duration) *CreateReasonGroupParams
WithTimeout adds the timeout to the create reason group params
func (*CreateReasonGroupParams) WriteToRequest ¶
func (o *CreateReasonGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateReasonInternalServerError) Error() string
func (*CreateReasonInternalServerError) GetPayload ¶
func (o *CreateReasonInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 ¶
func (o *CreateReasonParams) SetBody(body *reportingclientmodels.RestapiCreateReasonRequest)
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 ¶
func (o *CreateReasonParams) WithBody(body *reportingclientmodels.RestapiCreateReasonRequest) *CreateReasonParams
WithBody adds the body to the create reason params
func (*CreateReasonParams) WithContext ¶
func (o *CreateReasonParams) WithContext(ctx context.Context) *CreateReasonParams
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 (o *DeleteReasonGroupInternalServerError) Error() string
func (*DeleteReasonGroupInternalServerError) GetPayload ¶
func (o *DeleteReasonGroupInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 ¶
func (o *DeleteReasonGroupNoContent) Error() string
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 ¶
func (o *DeleteReasonGroupParams) WithContext(ctx context.Context) *DeleteReasonGroupParams
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 ¶
func (o *DeleteReasonGroupParams) WithTimeout(timeout time.Duration) *DeleteReasonGroupParams
WithTimeout adds the timeout to the delete reason group params
func (*DeleteReasonGroupParams) WriteToRequest ¶
func (o *DeleteReasonGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteReasonInternalServerError) Error() string
func (*DeleteReasonInternalServerError) GetPayload ¶
func (o *DeleteReasonInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 ¶
func (o *DeleteReasonParams) WithContext(ctx context.Context) *DeleteReasonParams
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 (o *GetReasonGroupInternalServerError) Error() string
func (*GetReasonGroupInternalServerError) GetPayload ¶
func (o *GetReasonGroupInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *GetReasonGroupNotFound) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *GetReasonGroupOK) GetPayload() *reportingclientmodels.RestapiReasonGroupResponse
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 ¶
func (o *GetReasonGroupParams) WithContext(ctx context.Context) *GetReasonGroupParams
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 (o *UpdateReasonBadRequest) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *UpdateReasonConflict) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *UpdateReasonGroupBadRequest) Error() string
func (*UpdateReasonGroupBadRequest) GetPayload ¶
func (o *UpdateReasonGroupBadRequest) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *UpdateReasonGroupConflict) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *UpdateReasonGroupInternalServerError) Error() string
func (*UpdateReasonGroupInternalServerError) GetPayload ¶
func (o *UpdateReasonGroupInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *UpdateReasonGroupOK) GetPayload() *reportingclientmodels.RestapiReasonGroupResponse
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 ¶
func (o *UpdateReasonGroupParams) SetBody(body *reportingclientmodels.RestapiUpdateReasonGroupRequest)
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 ¶
func (o *UpdateReasonGroupParams) WithBody(body *reportingclientmodels.RestapiUpdateReasonGroupRequest) *UpdateReasonGroupParams
WithBody adds the body to the update reason group params
func (*UpdateReasonGroupParams) WithContext ¶
func (o *UpdateReasonGroupParams) WithContext(ctx context.Context) *UpdateReasonGroupParams
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 ¶
func (o *UpdateReasonGroupParams) WithTimeout(timeout time.Duration) *UpdateReasonGroupParams
WithTimeout adds the timeout to the update reason group params
func (*UpdateReasonGroupParams) WriteToRequest ¶
func (o *UpdateReasonGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateReasonInternalServerError) Error() string
func (*UpdateReasonInternalServerError) GetPayload ¶
func (o *UpdateReasonInternalServerError) GetPayload() *reportingclientmodels.RestapiErrorResponse
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 (o *UpdateReasonOK) GetPayload() *reportingclientmodels.RestapiAdminReasonResponse
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 ¶
func (o *UpdateReasonParams) SetBody(body *reportingclientmodels.RestapiCreateReasonRequest)
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 ¶
func (o *UpdateReasonParams) WithBody(body *reportingclientmodels.RestapiCreateReasonRequest) *UpdateReasonParams
WithBody adds the body to the update reason params
func (*UpdateReasonParams) WithContext ¶
func (o *UpdateReasonParams) WithContext(ctx context.Context) *UpdateReasonParams
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.
Source Files ¶
- admin_get_all_reasons_parameters.go
- admin_get_all_reasons_responses.go
- admin_get_reason_parameters.go
- admin_get_reason_responses.go
- admin_get_reasons_parameters.go
- admin_get_reasons_responses.go
- admin_get_unused_reasons_parameters.go
- admin_get_unused_reasons_responses.go
- admin_list_reason_groups_parameters.go
- admin_list_reason_groups_responses.go
- admin_reasons_client.go
- create_reason_group_parameters.go
- create_reason_group_responses.go
- create_reason_parameters.go
- create_reason_responses.go
- delete_reason_group_parameters.go
- delete_reason_group_responses.go
- delete_reason_parameters.go
- delete_reason_responses.go
- get_reason_group_parameters.go
- get_reason_group_responses.go
- update_reason_group_parameters.go
- update_reason_group_responses.go
- update_reason_parameters.go
- update_reason_responses.go