Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateComment(params *CreateCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateCommentCreated, error)
- func (a *Client) DeleteComment(params *DeleteCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCommentOK, error)
- func (a *Client) GetComment(params *GetCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCommentOK, error)
- func (a *Client) ListComment(params *ListCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListCommentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateComment(params *UpdateCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateCommentOK, error)
- type ClientOption
- type ClientService
- type CreateCommentConflict
- func (o *CreateCommentConflict) Code() int
- func (o *CreateCommentConflict) Error() string
- func (o *CreateCommentConflict) GetPayload() *models.BasicFailedReply
- func (o *CreateCommentConflict) IsClientError() bool
- func (o *CreateCommentConflict) IsCode(code int) bool
- func (o *CreateCommentConflict) IsRedirect() bool
- func (o *CreateCommentConflict) IsServerError() bool
- func (o *CreateCommentConflict) IsSuccess() bool
- func (o *CreateCommentConflict) String() string
- type CreateCommentCreated
- func (o *CreateCommentCreated) Code() int
- func (o *CreateCommentCreated) Error() string
- func (o *CreateCommentCreated) GetPayload() *models.Comment
- func (o *CreateCommentCreated) IsClientError() bool
- func (o *CreateCommentCreated) IsCode(code int) bool
- func (o *CreateCommentCreated) IsRedirect() bool
- func (o *CreateCommentCreated) IsServerError() bool
- func (o *CreateCommentCreated) IsSuccess() bool
- func (o *CreateCommentCreated) String() string
- type CreateCommentNotFound
- func (o *CreateCommentNotFound) Code() int
- func (o *CreateCommentNotFound) Error() string
- func (o *CreateCommentNotFound) GetPayload() *models.BasicFailedReply
- func (o *CreateCommentNotFound) IsClientError() bool
- func (o *CreateCommentNotFound) IsCode(code int) bool
- func (o *CreateCommentNotFound) IsRedirect() bool
- func (o *CreateCommentNotFound) IsServerError() bool
- func (o *CreateCommentNotFound) IsSuccess() bool
- func (o *CreateCommentNotFound) String() string
- type CreateCommentParams
- func (o *CreateCommentParams) SetBody(body *models.CommentCreateRequest)
- func (o *CreateCommentParams) SetContext(ctx context.Context)
- func (o *CreateCommentParams) SetDefaults()
- func (o *CreateCommentParams) SetHTTPClient(client *http.Client)
- func (o *CreateCommentParams) SetResourceID(resourceID string)
- func (o *CreateCommentParams) SetResourceType(resourceType string)
- func (o *CreateCommentParams) SetTimeout(timeout time.Duration)
- func (o *CreateCommentParams) WithBody(body *models.CommentCreateRequest) *CreateCommentParams
- func (o *CreateCommentParams) WithContext(ctx context.Context) *CreateCommentParams
- func (o *CreateCommentParams) WithDefaults() *CreateCommentParams
- func (o *CreateCommentParams) WithHTTPClient(client *http.Client) *CreateCommentParams
- func (o *CreateCommentParams) WithResourceID(resourceID string) *CreateCommentParams
- func (o *CreateCommentParams) WithResourceType(resourceType string) *CreateCommentParams
- func (o *CreateCommentParams) WithTimeout(timeout time.Duration) *CreateCommentParams
- func (o *CreateCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCommentReader
- type CreateCommentUnauthorized
- func (o *CreateCommentUnauthorized) Code() int
- func (o *CreateCommentUnauthorized) Error() string
- func (o *CreateCommentUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *CreateCommentUnauthorized) IsClientError() bool
- func (o *CreateCommentUnauthorized) IsCode(code int) bool
- func (o *CreateCommentUnauthorized) IsRedirect() bool
- func (o *CreateCommentUnauthorized) IsServerError() bool
- func (o *CreateCommentUnauthorized) IsSuccess() bool
- func (o *CreateCommentUnauthorized) String() string
- type DeleteCommentConflict
- func (o *DeleteCommentConflict) Code() int
- func (o *DeleteCommentConflict) Error() string
- func (o *DeleteCommentConflict) GetPayload() *models.BasicFailedReply
- func (o *DeleteCommentConflict) IsClientError() bool
- func (o *DeleteCommentConflict) IsCode(code int) bool
- func (o *DeleteCommentConflict) IsRedirect() bool
- func (o *DeleteCommentConflict) IsServerError() bool
- func (o *DeleteCommentConflict) IsSuccess() bool
- func (o *DeleteCommentConflict) String() string
- type DeleteCommentNotFound
- func (o *DeleteCommentNotFound) Code() int
- func (o *DeleteCommentNotFound) Error() string
- func (o *DeleteCommentNotFound) GetPayload() *models.BasicFailedReply
- func (o *DeleteCommentNotFound) IsClientError() bool
- func (o *DeleteCommentNotFound) IsCode(code int) bool
- func (o *DeleteCommentNotFound) IsRedirect() bool
- func (o *DeleteCommentNotFound) IsServerError() bool
- func (o *DeleteCommentNotFound) IsSuccess() bool
- func (o *DeleteCommentNotFound) String() string
- type DeleteCommentOK
- func (o *DeleteCommentOK) Code() int
- func (o *DeleteCommentOK) Error() string
- func (o *DeleteCommentOK) GetPayload() models.EmptyResponse
- func (o *DeleteCommentOK) IsClientError() bool
- func (o *DeleteCommentOK) IsCode(code int) bool
- func (o *DeleteCommentOK) IsRedirect() bool
- func (o *DeleteCommentOK) IsServerError() bool
- func (o *DeleteCommentOK) IsSuccess() bool
- func (o *DeleteCommentOK) String() string
- type DeleteCommentParams
- func (o *DeleteCommentParams) SetCommentID(commentID string)
- func (o *DeleteCommentParams) SetContext(ctx context.Context)
- func (o *DeleteCommentParams) SetDefaults()
- func (o *DeleteCommentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCommentParams) SetResourceID(resourceID string)
- func (o *DeleteCommentParams) SetResourceType(resourceType string)
- func (o *DeleteCommentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCommentParams) SetVersion(version *string)
- func (o *DeleteCommentParams) WithCommentID(commentID string) *DeleteCommentParams
- func (o *DeleteCommentParams) WithContext(ctx context.Context) *DeleteCommentParams
- func (o *DeleteCommentParams) WithDefaults() *DeleteCommentParams
- func (o *DeleteCommentParams) WithHTTPClient(client *http.Client) *DeleteCommentParams
- func (o *DeleteCommentParams) WithResourceID(resourceID string) *DeleteCommentParams
- func (o *DeleteCommentParams) WithResourceType(resourceType string) *DeleteCommentParams
- func (o *DeleteCommentParams) WithTimeout(timeout time.Duration) *DeleteCommentParams
- func (o *DeleteCommentParams) WithVersion(version *string) *DeleteCommentParams
- func (o *DeleteCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCommentReader
- type DeleteCommentUnauthorized
- func (o *DeleteCommentUnauthorized) Code() int
- func (o *DeleteCommentUnauthorized) Error() string
- func (o *DeleteCommentUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *DeleteCommentUnauthorized) IsClientError() bool
- func (o *DeleteCommentUnauthorized) IsCode(code int) bool
- func (o *DeleteCommentUnauthorized) IsRedirect() bool
- func (o *DeleteCommentUnauthorized) IsServerError() bool
- func (o *DeleteCommentUnauthorized) IsSuccess() bool
- func (o *DeleteCommentUnauthorized) String() string
- type GetCommentNotFound
- func (o *GetCommentNotFound) Code() int
- func (o *GetCommentNotFound) Error() string
- func (o *GetCommentNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetCommentNotFound) IsClientError() bool
- func (o *GetCommentNotFound) IsCode(code int) bool
- func (o *GetCommentNotFound) IsRedirect() bool
- func (o *GetCommentNotFound) IsServerError() bool
- func (o *GetCommentNotFound) IsSuccess() bool
- func (o *GetCommentNotFound) String() string
- type GetCommentOK
- func (o *GetCommentOK) Code() int
- func (o *GetCommentOK) Error() string
- func (o *GetCommentOK) GetPayload() *models.Comment
- func (o *GetCommentOK) IsClientError() bool
- func (o *GetCommentOK) IsCode(code int) bool
- func (o *GetCommentOK) IsRedirect() bool
- func (o *GetCommentOK) IsServerError() bool
- func (o *GetCommentOK) IsSuccess() bool
- func (o *GetCommentOK) String() string
- type GetCommentParams
- func (o *GetCommentParams) SetCommentID(commentID string)
- func (o *GetCommentParams) SetContext(ctx context.Context)
- func (o *GetCommentParams) SetDefaults()
- func (o *GetCommentParams) SetHTTPClient(client *http.Client)
- func (o *GetCommentParams) SetResourceID(resourceID string)
- func (o *GetCommentParams) SetResourceType(resourceType string)
- func (o *GetCommentParams) SetTimeout(timeout time.Duration)
- func (o *GetCommentParams) WithCommentID(commentID string) *GetCommentParams
- func (o *GetCommentParams) WithContext(ctx context.Context) *GetCommentParams
- func (o *GetCommentParams) WithDefaults() *GetCommentParams
- func (o *GetCommentParams) WithHTTPClient(client *http.Client) *GetCommentParams
- func (o *GetCommentParams) WithResourceID(resourceID string) *GetCommentParams
- func (o *GetCommentParams) WithResourceType(resourceType string) *GetCommentParams
- func (o *GetCommentParams) WithTimeout(timeout time.Duration) *GetCommentParams
- func (o *GetCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCommentReader
- type ListCommentOK
- func (o *ListCommentOK) Code() int
- func (o *ListCommentOK) Error() string
- func (o *ListCommentOK) GetPayload() *models.CommentsWithMetas
- func (o *ListCommentOK) IsClientError() bool
- func (o *ListCommentOK) IsCode(code int) bool
- func (o *ListCommentOK) IsRedirect() bool
- func (o *ListCommentOK) IsServerError() bool
- func (o *ListCommentOK) IsSuccess() bool
- func (o *ListCommentOK) String() string
- type ListCommentParams
- func (o *ListCommentParams) SetContext(ctx context.Context)
- func (o *ListCommentParams) SetDefaults()
- func (o *ListCommentParams) SetHTTPClient(client *http.Client)
- func (o *ListCommentParams) SetResourceID(resourceID string)
- func (o *ListCommentParams) SetResourceType(resourceType string)
- func (o *ListCommentParams) SetTimeout(timeout time.Duration)
- func (o *ListCommentParams) WithContext(ctx context.Context) *ListCommentParams
- func (o *ListCommentParams) WithDefaults() *ListCommentParams
- func (o *ListCommentParams) WithHTTPClient(client *http.Client) *ListCommentParams
- func (o *ListCommentParams) WithResourceID(resourceID string) *ListCommentParams
- func (o *ListCommentParams) WithResourceType(resourceType string) *ListCommentParams
- func (o *ListCommentParams) WithTimeout(timeout time.Duration) *ListCommentParams
- func (o *ListCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCommentReader
- type UpdateCommentConflict
- func (o *UpdateCommentConflict) Code() int
- func (o *UpdateCommentConflict) Error() string
- func (o *UpdateCommentConflict) GetPayload() *models.BasicFailedReply
- func (o *UpdateCommentConflict) IsClientError() bool
- func (o *UpdateCommentConflict) IsCode(code int) bool
- func (o *UpdateCommentConflict) IsRedirect() bool
- func (o *UpdateCommentConflict) IsServerError() bool
- func (o *UpdateCommentConflict) IsSuccess() bool
- func (o *UpdateCommentConflict) String() string
- type UpdateCommentNotFound
- func (o *UpdateCommentNotFound) Code() int
- func (o *UpdateCommentNotFound) Error() string
- func (o *UpdateCommentNotFound) GetPayload() *models.BasicFailedReply
- func (o *UpdateCommentNotFound) IsClientError() bool
- func (o *UpdateCommentNotFound) IsCode(code int) bool
- func (o *UpdateCommentNotFound) IsRedirect() bool
- func (o *UpdateCommentNotFound) IsServerError() bool
- func (o *UpdateCommentNotFound) IsSuccess() bool
- func (o *UpdateCommentNotFound) String() string
- type UpdateCommentOK
- func (o *UpdateCommentOK) Code() int
- func (o *UpdateCommentOK) Error() string
- func (o *UpdateCommentOK) GetPayload() *models.Comment
- func (o *UpdateCommentOK) IsClientError() bool
- func (o *UpdateCommentOK) IsCode(code int) bool
- func (o *UpdateCommentOK) IsRedirect() bool
- func (o *UpdateCommentOK) IsServerError() bool
- func (o *UpdateCommentOK) IsSuccess() bool
- func (o *UpdateCommentOK) String() string
- type UpdateCommentParams
- func (o *UpdateCommentParams) SetBody(body *models.CommentUpdateRequest)
- func (o *UpdateCommentParams) SetCommentID(commentID string)
- func (o *UpdateCommentParams) SetContext(ctx context.Context)
- func (o *UpdateCommentParams) SetDefaults()
- func (o *UpdateCommentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCommentParams) SetResourceID(resourceID string)
- func (o *UpdateCommentParams) SetResourceType(resourceType string)
- func (o *UpdateCommentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCommentParams) SetVersion(version *string)
- func (o *UpdateCommentParams) WithBody(body *models.CommentUpdateRequest) *UpdateCommentParams
- func (o *UpdateCommentParams) WithCommentID(commentID string) *UpdateCommentParams
- func (o *UpdateCommentParams) WithContext(ctx context.Context) *UpdateCommentParams
- func (o *UpdateCommentParams) WithDefaults() *UpdateCommentParams
- func (o *UpdateCommentParams) WithHTTPClient(client *http.Client) *UpdateCommentParams
- func (o *UpdateCommentParams) WithResourceID(resourceID string) *UpdateCommentParams
- func (o *UpdateCommentParams) WithResourceType(resourceType string) *UpdateCommentParams
- func (o *UpdateCommentParams) WithTimeout(timeout time.Duration) *UpdateCommentParams
- func (o *UpdateCommentParams) WithVersion(version *string) *UpdateCommentParams
- func (o *UpdateCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCommentReader
- type UpdateCommentUnauthorized
- func (o *UpdateCommentUnauthorized) Code() int
- func (o *UpdateCommentUnauthorized) Error() string
- func (o *UpdateCommentUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *UpdateCommentUnauthorized) IsClientError() bool
- func (o *UpdateCommentUnauthorized) IsCode(code int) bool
- func (o *UpdateCommentUnauthorized) IsRedirect() bool
- func (o *UpdateCommentUnauthorized) IsServerError() bool
- func (o *UpdateCommentUnauthorized) IsSuccess() bool
- func (o *UpdateCommentUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for comments API
func (*Client) CreateComment ¶
func (a *Client) CreateComment(params *CreateCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCommentCreated, error)
CreateComment creates a comment
Creates a comment for the given Resource.
func (*Client) DeleteComment ¶
func (a *Client) DeleteComment(params *DeleteCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCommentOK, error)
DeleteComment deletes comment
Deletes a Comment.
func (*Client) GetComment ¶
func (a *Client) GetComment(params *GetCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommentOK, error)
GetComment gets comment
Retrieves a Comment.
func (*Client) ListComment ¶
func (a *Client) ListComment(params *ListCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCommentOK, error)
ListComment lists comments
Retrieves all the comments for a given Resource, in reverse modified time order.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateComment ¶
func (a *Client) UpdateComment(params *UpdateCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCommentOK, error)
UpdateComment updates comment
Updates a Comment.
type ClientOption ¶ added in v1.3.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateComment(params *CreateCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCommentCreated, error) DeleteComment(params *DeleteCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCommentOK, error) GetComment(params *GetCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommentOK, error) ListComment(params *ListCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCommentOK, error) UpdateComment(params *UpdateCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCommentOK, 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 comments API client.
type CreateCommentConflict ¶
type CreateCommentConflict struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateCommentConflict describes a response with status code 409, with default header values.
A Comment already exists with the generated id. Please try again. (code: `comments.id_already_exists`)
func NewCreateCommentConflict ¶
func NewCreateCommentConflict() *CreateCommentConflict
NewCreateCommentConflict creates a CreateCommentConflict with default headers values
func (*CreateCommentConflict) Code ¶ added in v1.13.0
func (o *CreateCommentConflict) Code() int
Code gets the status code for the create comment conflict response
func (*CreateCommentConflict) Error ¶
func (o *CreateCommentConflict) Error() string
func (*CreateCommentConflict) GetPayload ¶
func (o *CreateCommentConflict) GetPayload() *models.BasicFailedReply
func (*CreateCommentConflict) IsClientError ¶ added in v1.13.0
func (o *CreateCommentConflict) IsClientError() bool
IsClientError returns true when this create comment conflict response has a 4xx status code
func (*CreateCommentConflict) IsCode ¶ added in v1.13.0
func (o *CreateCommentConflict) IsCode(code int) bool
IsCode returns true when this create comment conflict response a status code equal to that given
func (*CreateCommentConflict) IsRedirect ¶ added in v1.13.0
func (o *CreateCommentConflict) IsRedirect() bool
IsRedirect returns true when this create comment conflict response has a 3xx status code
func (*CreateCommentConflict) IsServerError ¶ added in v1.13.0
func (o *CreateCommentConflict) IsServerError() bool
IsServerError returns true when this create comment conflict response has a 5xx status code
func (*CreateCommentConflict) IsSuccess ¶ added in v1.13.0
func (o *CreateCommentConflict) IsSuccess() bool
IsSuccess returns true when this create comment conflict response has a 2xx status code
func (*CreateCommentConflict) String ¶ added in v1.13.0
func (o *CreateCommentConflict) String() string
type CreateCommentCreated ¶
type CreateCommentCreated struct { /* The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /* The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /* The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Comment }
CreateCommentCreated describes a response with status code 201, with default header values.
The Comment that was just created.
func NewCreateCommentCreated ¶
func NewCreateCommentCreated() *CreateCommentCreated
NewCreateCommentCreated creates a CreateCommentCreated with default headers values
func (*CreateCommentCreated) Code ¶ added in v1.13.0
func (o *CreateCommentCreated) Code() int
Code gets the status code for the create comment created response
func (*CreateCommentCreated) Error ¶
func (o *CreateCommentCreated) Error() string
func (*CreateCommentCreated) GetPayload ¶
func (o *CreateCommentCreated) GetPayload() *models.Comment
func (*CreateCommentCreated) IsClientError ¶ added in v1.13.0
func (o *CreateCommentCreated) IsClientError() bool
IsClientError returns true when this create comment created response has a 4xx status code
func (*CreateCommentCreated) IsCode ¶ added in v1.13.0
func (o *CreateCommentCreated) IsCode(code int) bool
IsCode returns true when this create comment created response a status code equal to that given
func (*CreateCommentCreated) IsRedirect ¶ added in v1.13.0
func (o *CreateCommentCreated) IsRedirect() bool
IsRedirect returns true when this create comment created response has a 3xx status code
func (*CreateCommentCreated) IsServerError ¶ added in v1.13.0
func (o *CreateCommentCreated) IsServerError() bool
IsServerError returns true when this create comment created response has a 5xx status code
func (*CreateCommentCreated) IsSuccess ¶ added in v1.13.0
func (o *CreateCommentCreated) IsSuccess() bool
IsSuccess returns true when this create comment created response has a 2xx status code
func (*CreateCommentCreated) String ¶ added in v1.13.0
func (o *CreateCommentCreated) String() string
type CreateCommentNotFound ¶
type CreateCommentNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateCommentNotFound describes a response with status code 404, with default header values.
No Resource of the given type and id exist. (code: `comments.resource_does_not_exist`)
func NewCreateCommentNotFound ¶
func NewCreateCommentNotFound() *CreateCommentNotFound
NewCreateCommentNotFound creates a CreateCommentNotFound with default headers values
func (*CreateCommentNotFound) Code ¶ added in v1.13.0
func (o *CreateCommentNotFound) Code() int
Code gets the status code for the create comment not found response
func (*CreateCommentNotFound) Error ¶
func (o *CreateCommentNotFound) Error() string
func (*CreateCommentNotFound) GetPayload ¶
func (o *CreateCommentNotFound) GetPayload() *models.BasicFailedReply
func (*CreateCommentNotFound) IsClientError ¶ added in v1.13.0
func (o *CreateCommentNotFound) IsClientError() bool
IsClientError returns true when this create comment not found response has a 4xx status code
func (*CreateCommentNotFound) IsCode ¶ added in v1.13.0
func (o *CreateCommentNotFound) IsCode(code int) bool
IsCode returns true when this create comment not found response a status code equal to that given
func (*CreateCommentNotFound) IsRedirect ¶ added in v1.13.0
func (o *CreateCommentNotFound) IsRedirect() bool
IsRedirect returns true when this create comment not found response has a 3xx status code
func (*CreateCommentNotFound) IsServerError ¶ added in v1.13.0
func (o *CreateCommentNotFound) IsServerError() bool
IsServerError returns true when this create comment not found response has a 5xx status code
func (*CreateCommentNotFound) IsSuccess ¶ added in v1.13.0
func (o *CreateCommentNotFound) IsSuccess() bool
IsSuccess returns true when this create comment not found response has a 2xx status code
func (*CreateCommentNotFound) String ¶ added in v1.13.0
func (o *CreateCommentNotFound) String() string
type CreateCommentParams ¶
type CreateCommentParams struct { /* Body. Data for comment creation */ Body *models.CommentCreateRequest /* ResourceID. Id of the Resource that a Comment belongs to. */ ResourceID string /* ResourceType. The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, integrations_server, allocator, constructor, runner, proxy]. */ ResourceType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCommentParams contains all the parameters to send to the API endpoint
for the create comment operation. Typically these are written to a http.Request.
func NewCreateCommentParams ¶
func NewCreateCommentParams() *CreateCommentParams
NewCreateCommentParams creates a new CreateCommentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateCommentParamsWithContext ¶
func NewCreateCommentParamsWithContext(ctx context.Context) *CreateCommentParams
NewCreateCommentParamsWithContext creates a new CreateCommentParams object with the ability to set a context for a request.
func NewCreateCommentParamsWithHTTPClient ¶
func NewCreateCommentParamsWithHTTPClient(client *http.Client) *CreateCommentParams
NewCreateCommentParamsWithHTTPClient creates a new CreateCommentParams object with the ability to set a custom HTTPClient for a request.
func NewCreateCommentParamsWithTimeout ¶
func NewCreateCommentParamsWithTimeout(timeout time.Duration) *CreateCommentParams
NewCreateCommentParamsWithTimeout creates a new CreateCommentParams object with the ability to set a timeout on a request.
func (*CreateCommentParams) SetBody ¶
func (o *CreateCommentParams) SetBody(body *models.CommentCreateRequest)
SetBody adds the body to the create comment params
func (*CreateCommentParams) SetContext ¶
func (o *CreateCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the create comment params
func (*CreateCommentParams) SetDefaults ¶ added in v1.3.0
func (o *CreateCommentParams) SetDefaults()
SetDefaults hydrates default values in the create comment params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCommentParams) SetHTTPClient ¶
func (o *CreateCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create comment params
func (*CreateCommentParams) SetResourceID ¶
func (o *CreateCommentParams) SetResourceID(resourceID string)
SetResourceID adds the resourceId to the create comment params
func (*CreateCommentParams) SetResourceType ¶
func (o *CreateCommentParams) SetResourceType(resourceType string)
SetResourceType adds the resourceType to the create comment params
func (*CreateCommentParams) SetTimeout ¶
func (o *CreateCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create comment params
func (*CreateCommentParams) WithBody ¶
func (o *CreateCommentParams) WithBody(body *models.CommentCreateRequest) *CreateCommentParams
WithBody adds the body to the create comment params
func (*CreateCommentParams) WithContext ¶
func (o *CreateCommentParams) WithContext(ctx context.Context) *CreateCommentParams
WithContext adds the context to the create comment params
func (*CreateCommentParams) WithDefaults ¶ added in v1.3.0
func (o *CreateCommentParams) WithDefaults() *CreateCommentParams
WithDefaults hydrates default values in the create comment params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCommentParams) WithHTTPClient ¶
func (o *CreateCommentParams) WithHTTPClient(client *http.Client) *CreateCommentParams
WithHTTPClient adds the HTTPClient to the create comment params
func (*CreateCommentParams) WithResourceID ¶
func (o *CreateCommentParams) WithResourceID(resourceID string) *CreateCommentParams
WithResourceID adds the resourceID to the create comment params
func (*CreateCommentParams) WithResourceType ¶
func (o *CreateCommentParams) WithResourceType(resourceType string) *CreateCommentParams
WithResourceType adds the resourceType to the create comment params
func (*CreateCommentParams) WithTimeout ¶
func (o *CreateCommentParams) WithTimeout(timeout time.Duration) *CreateCommentParams
WithTimeout adds the timeout to the create comment params
func (*CreateCommentParams) WriteToRequest ¶
func (o *CreateCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCommentReader ¶
type CreateCommentReader struct {
// contains filtered or unexported fields
}
CreateCommentReader is a Reader for the CreateComment structure.
func (*CreateCommentReader) ReadResponse ¶
func (o *CreateCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCommentUnauthorized ¶
type CreateCommentUnauthorized struct { string }XCloudErrorCodes
CreateCommentUnauthorized describes a response with status code 401, with default header values.
Your current session does not have a user id associated with it. (code: `comments.no_user_id`)
func NewCreateCommentUnauthorized ¶
func NewCreateCommentUnauthorized() *CreateCommentUnauthorized
NewCreateCommentUnauthorized creates a CreateCommentUnauthorized with default headers values
func (*CreateCommentUnauthorized) Code ¶ added in v1.13.0
func (o *CreateCommentUnauthorized) Code() int
Code gets the status code for the create comment unauthorized response
func (*CreateCommentUnauthorized) Error ¶
func (o *CreateCommentUnauthorized) Error() string
func (*CreateCommentUnauthorized) GetPayload ¶
func (o *CreateCommentUnauthorized) GetPayload() *models.BasicFailedReply
func (*CreateCommentUnauthorized) IsClientError ¶ added in v1.13.0
func (o *CreateCommentUnauthorized) IsClientError() bool
IsClientError returns true when this create comment unauthorized response has a 4xx status code
func (*CreateCommentUnauthorized) IsCode ¶ added in v1.13.0
func (o *CreateCommentUnauthorized) IsCode(code int) bool
IsCode returns true when this create comment unauthorized response a status code equal to that given
func (*CreateCommentUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *CreateCommentUnauthorized) IsRedirect() bool
IsRedirect returns true when this create comment unauthorized response has a 3xx status code
func (*CreateCommentUnauthorized) IsServerError ¶ added in v1.13.0
func (o *CreateCommentUnauthorized) IsServerError() bool
IsServerError returns true when this create comment unauthorized response has a 5xx status code
func (*CreateCommentUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *CreateCommentUnauthorized) IsSuccess() bool
IsSuccess returns true when this create comment unauthorized response has a 2xx status code
func (*CreateCommentUnauthorized) String ¶ added in v1.13.0
func (o *CreateCommentUnauthorized) String() string
type DeleteCommentConflict ¶
type DeleteCommentConflict struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteCommentConflict describes a response with status code 409, with default header values.
The version you sent does not match the persisted version. (code: `comments.version_conflict`)
func NewDeleteCommentConflict ¶
func NewDeleteCommentConflict() *DeleteCommentConflict
NewDeleteCommentConflict creates a DeleteCommentConflict with default headers values
func (*DeleteCommentConflict) Code ¶ added in v1.13.0
func (o *DeleteCommentConflict) Code() int
Code gets the status code for the delete comment conflict response
func (*DeleteCommentConflict) Error ¶
func (o *DeleteCommentConflict) Error() string
func (*DeleteCommentConflict) GetPayload ¶
func (o *DeleteCommentConflict) GetPayload() *models.BasicFailedReply
func (*DeleteCommentConflict) IsClientError ¶ added in v1.13.0
func (o *DeleteCommentConflict) IsClientError() bool
IsClientError returns true when this delete comment conflict response has a 4xx status code
func (*DeleteCommentConflict) IsCode ¶ added in v1.13.0
func (o *DeleteCommentConflict) IsCode(code int) bool
IsCode returns true when this delete comment conflict response a status code equal to that given
func (*DeleteCommentConflict) IsRedirect ¶ added in v1.13.0
func (o *DeleteCommentConflict) IsRedirect() bool
IsRedirect returns true when this delete comment conflict response has a 3xx status code
func (*DeleteCommentConflict) IsServerError ¶ added in v1.13.0
func (o *DeleteCommentConflict) IsServerError() bool
IsServerError returns true when this delete comment conflict response has a 5xx status code
func (*DeleteCommentConflict) IsSuccess ¶ added in v1.13.0
func (o *DeleteCommentConflict) IsSuccess() bool
IsSuccess returns true when this delete comment conflict response has a 2xx status code
func (*DeleteCommentConflict) String ¶ added in v1.13.0
func (o *DeleteCommentConflict) String() string
type DeleteCommentNotFound ¶
type DeleteCommentNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteCommentNotFound describes a response with status code 404, with default header values.
The Comment you want does not exist. (code: `comments.comment_does_not_exist`)
func NewDeleteCommentNotFound ¶
func NewDeleteCommentNotFound() *DeleteCommentNotFound
NewDeleteCommentNotFound creates a DeleteCommentNotFound with default headers values
func (*DeleteCommentNotFound) Code ¶ added in v1.13.0
func (o *DeleteCommentNotFound) Code() int
Code gets the status code for the delete comment not found response
func (*DeleteCommentNotFound) Error ¶
func (o *DeleteCommentNotFound) Error() string
func (*DeleteCommentNotFound) GetPayload ¶
func (o *DeleteCommentNotFound) GetPayload() *models.BasicFailedReply
func (*DeleteCommentNotFound) IsClientError ¶ added in v1.13.0
func (o *DeleteCommentNotFound) IsClientError() bool
IsClientError returns true when this delete comment not found response has a 4xx status code
func (*DeleteCommentNotFound) IsCode ¶ added in v1.13.0
func (o *DeleteCommentNotFound) IsCode(code int) bool
IsCode returns true when this delete comment not found response a status code equal to that given
func (*DeleteCommentNotFound) IsRedirect ¶ added in v1.13.0
func (o *DeleteCommentNotFound) IsRedirect() bool
IsRedirect returns true when this delete comment not found response has a 3xx status code
func (*DeleteCommentNotFound) IsServerError ¶ added in v1.13.0
func (o *DeleteCommentNotFound) IsServerError() bool
IsServerError returns true when this delete comment not found response has a 5xx status code
func (*DeleteCommentNotFound) IsSuccess ¶ added in v1.13.0
func (o *DeleteCommentNotFound) IsSuccess() bool
IsSuccess returns true when this delete comment not found response has a 2xx status code
func (*DeleteCommentNotFound) String ¶ added in v1.13.0
func (o *DeleteCommentNotFound) String() string
type DeleteCommentOK ¶
type DeleteCommentOK struct { /* The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /* The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /* The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload models.EmptyResponse }
DeleteCommentOK describes a response with status code 200, with default header values.
Comment deleted successfully.
func NewDeleteCommentOK ¶
func NewDeleteCommentOK() *DeleteCommentOK
NewDeleteCommentOK creates a DeleteCommentOK with default headers values
func (*DeleteCommentOK) Code ¶ added in v1.13.0
func (o *DeleteCommentOK) Code() int
Code gets the status code for the delete comment o k response
func (*DeleteCommentOK) Error ¶
func (o *DeleteCommentOK) Error() string
func (*DeleteCommentOK) GetPayload ¶
func (o *DeleteCommentOK) GetPayload() models.EmptyResponse
func (*DeleteCommentOK) IsClientError ¶ added in v1.13.0
func (o *DeleteCommentOK) IsClientError() bool
IsClientError returns true when this delete comment o k response has a 4xx status code
func (*DeleteCommentOK) IsCode ¶ added in v1.13.0
func (o *DeleteCommentOK) IsCode(code int) bool
IsCode returns true when this delete comment o k response a status code equal to that given
func (*DeleteCommentOK) IsRedirect ¶ added in v1.13.0
func (o *DeleteCommentOK) IsRedirect() bool
IsRedirect returns true when this delete comment o k response has a 3xx status code
func (*DeleteCommentOK) IsServerError ¶ added in v1.13.0
func (o *DeleteCommentOK) IsServerError() bool
IsServerError returns true when this delete comment o k response has a 5xx status code
func (*DeleteCommentOK) IsSuccess ¶ added in v1.13.0
func (o *DeleteCommentOK) IsSuccess() bool
IsSuccess returns true when this delete comment o k response has a 2xx status code
func (*DeleteCommentOK) String ¶ added in v1.13.0
func (o *DeleteCommentOK) String() string
type DeleteCommentParams ¶
type DeleteCommentParams struct { /* CommentID. Id of a Comment */ CommentID string /* ResourceID. Id of the Resource that a Comment belongs to. */ ResourceID string /* ResourceType. The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, integrations_server, allocator, constructor, runner, proxy]. */ ResourceType string /* Version. If specified then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request) */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCommentParams contains all the parameters to send to the API endpoint
for the delete comment operation. Typically these are written to a http.Request.
func NewDeleteCommentParams ¶
func NewDeleteCommentParams() *DeleteCommentParams
NewDeleteCommentParams creates a new DeleteCommentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteCommentParamsWithContext ¶
func NewDeleteCommentParamsWithContext(ctx context.Context) *DeleteCommentParams
NewDeleteCommentParamsWithContext creates a new DeleteCommentParams object with the ability to set a context for a request.
func NewDeleteCommentParamsWithHTTPClient ¶
func NewDeleteCommentParamsWithHTTPClient(client *http.Client) *DeleteCommentParams
NewDeleteCommentParamsWithHTTPClient creates a new DeleteCommentParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCommentParamsWithTimeout ¶
func NewDeleteCommentParamsWithTimeout(timeout time.Duration) *DeleteCommentParams
NewDeleteCommentParamsWithTimeout creates a new DeleteCommentParams object with the ability to set a timeout on a request.
func (*DeleteCommentParams) SetCommentID ¶
func (o *DeleteCommentParams) SetCommentID(commentID string)
SetCommentID adds the commentId to the delete comment params
func (*DeleteCommentParams) SetContext ¶
func (o *DeleteCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete comment params
func (*DeleteCommentParams) SetDefaults ¶ added in v1.3.0
func (o *DeleteCommentParams) SetDefaults()
SetDefaults hydrates default values in the delete comment params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCommentParams) SetHTTPClient ¶
func (o *DeleteCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete comment params
func (*DeleteCommentParams) SetResourceID ¶
func (o *DeleteCommentParams) SetResourceID(resourceID string)
SetResourceID adds the resourceId to the delete comment params
func (*DeleteCommentParams) SetResourceType ¶
func (o *DeleteCommentParams) SetResourceType(resourceType string)
SetResourceType adds the resourceType to the delete comment params
func (*DeleteCommentParams) SetTimeout ¶
func (o *DeleteCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete comment params
func (*DeleteCommentParams) SetVersion ¶
func (o *DeleteCommentParams) SetVersion(version *string)
SetVersion adds the version to the delete comment params
func (*DeleteCommentParams) WithCommentID ¶
func (o *DeleteCommentParams) WithCommentID(commentID string) *DeleteCommentParams
WithCommentID adds the commentID to the delete comment params
func (*DeleteCommentParams) WithContext ¶
func (o *DeleteCommentParams) WithContext(ctx context.Context) *DeleteCommentParams
WithContext adds the context to the delete comment params
func (*DeleteCommentParams) WithDefaults ¶ added in v1.3.0
func (o *DeleteCommentParams) WithDefaults() *DeleteCommentParams
WithDefaults hydrates default values in the delete comment params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCommentParams) WithHTTPClient ¶
func (o *DeleteCommentParams) WithHTTPClient(client *http.Client) *DeleteCommentParams
WithHTTPClient adds the HTTPClient to the delete comment params
func (*DeleteCommentParams) WithResourceID ¶
func (o *DeleteCommentParams) WithResourceID(resourceID string) *DeleteCommentParams
WithResourceID adds the resourceID to the delete comment params
func (*DeleteCommentParams) WithResourceType ¶
func (o *DeleteCommentParams) WithResourceType(resourceType string) *DeleteCommentParams
WithResourceType adds the resourceType to the delete comment params
func (*DeleteCommentParams) WithTimeout ¶
func (o *DeleteCommentParams) WithTimeout(timeout time.Duration) *DeleteCommentParams
WithTimeout adds the timeout to the delete comment params
func (*DeleteCommentParams) WithVersion ¶
func (o *DeleteCommentParams) WithVersion(version *string) *DeleteCommentParams
WithVersion adds the version to the delete comment params
func (*DeleteCommentParams) WriteToRequest ¶
func (o *DeleteCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCommentReader ¶
type DeleteCommentReader struct {
// contains filtered or unexported fields
}
DeleteCommentReader is a Reader for the DeleteComment structure.
func (*DeleteCommentReader) ReadResponse ¶
func (o *DeleteCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCommentUnauthorized ¶
type DeleteCommentUnauthorized struct { string }XCloudErrorCodes
DeleteCommentUnauthorized describes a response with status code 401, with default header values. * The Comment does not belong to you. (code: `comments.unauthorised`)
* Your current session does not have a user id associated with it. (code: `comments.no_user_id`)
func NewDeleteCommentUnauthorized ¶
func NewDeleteCommentUnauthorized() *DeleteCommentUnauthorized
NewDeleteCommentUnauthorized creates a DeleteCommentUnauthorized with default headers values
func (*DeleteCommentUnauthorized) Code ¶ added in v1.13.0
func (o *DeleteCommentUnauthorized) Code() int
Code gets the status code for the delete comment unauthorized response
func (*DeleteCommentUnauthorized) Error ¶
func (o *DeleteCommentUnauthorized) Error() string
func (*DeleteCommentUnauthorized) GetPayload ¶
func (o *DeleteCommentUnauthorized) GetPayload() *models.BasicFailedReply
func (*DeleteCommentUnauthorized) IsClientError ¶ added in v1.13.0
func (o *DeleteCommentUnauthorized) IsClientError() bool
IsClientError returns true when this delete comment unauthorized response has a 4xx status code
func (*DeleteCommentUnauthorized) IsCode ¶ added in v1.13.0
func (o *DeleteCommentUnauthorized) IsCode(code int) bool
IsCode returns true when this delete comment unauthorized response a status code equal to that given
func (*DeleteCommentUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *DeleteCommentUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete comment unauthorized response has a 3xx status code
func (*DeleteCommentUnauthorized) IsServerError ¶ added in v1.13.0
func (o *DeleteCommentUnauthorized) IsServerError() bool
IsServerError returns true when this delete comment unauthorized response has a 5xx status code
func (*DeleteCommentUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *DeleteCommentUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete comment unauthorized response has a 2xx status code
func (*DeleteCommentUnauthorized) String ¶ added in v1.13.0
func (o *DeleteCommentUnauthorized) String() string
type GetCommentNotFound ¶
type GetCommentNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetCommentNotFound describes a response with status code 404, with default header values.
The Comment you want does not exist. (code: `comments.comment_does_not_exist`)
func NewGetCommentNotFound ¶
func NewGetCommentNotFound() *GetCommentNotFound
NewGetCommentNotFound creates a GetCommentNotFound with default headers values
func (*GetCommentNotFound) Code ¶ added in v1.13.0
func (o *GetCommentNotFound) Code() int
Code gets the status code for the get comment not found response
func (*GetCommentNotFound) Error ¶
func (o *GetCommentNotFound) Error() string
func (*GetCommentNotFound) GetPayload ¶
func (o *GetCommentNotFound) GetPayload() *models.BasicFailedReply
func (*GetCommentNotFound) IsClientError ¶ added in v1.13.0
func (o *GetCommentNotFound) IsClientError() bool
IsClientError returns true when this get comment not found response has a 4xx status code
func (*GetCommentNotFound) IsCode ¶ added in v1.13.0
func (o *GetCommentNotFound) IsCode(code int) bool
IsCode returns true when this get comment not found response a status code equal to that given
func (*GetCommentNotFound) IsRedirect ¶ added in v1.13.0
func (o *GetCommentNotFound) IsRedirect() bool
IsRedirect returns true when this get comment not found response has a 3xx status code
func (*GetCommentNotFound) IsServerError ¶ added in v1.13.0
func (o *GetCommentNotFound) IsServerError() bool
IsServerError returns true when this get comment not found response has a 5xx status code
func (*GetCommentNotFound) IsSuccess ¶ added in v1.13.0
func (o *GetCommentNotFound) IsSuccess() bool
IsSuccess returns true when this get comment not found response has a 2xx status code
func (*GetCommentNotFound) String ¶ added in v1.13.0
func (o *GetCommentNotFound) String() string
type GetCommentOK ¶
type GetCommentOK struct { /* The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /* The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /* The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Comment }
GetCommentOK describes a response with status code 200, with default header values.
The Comment
func NewGetCommentOK ¶
func NewGetCommentOK() *GetCommentOK
NewGetCommentOK creates a GetCommentOK with default headers values
func (*GetCommentOK) Code ¶ added in v1.13.0
func (o *GetCommentOK) Code() int
Code gets the status code for the get comment o k response
func (*GetCommentOK) Error ¶
func (o *GetCommentOK) Error() string
func (*GetCommentOK) GetPayload ¶
func (o *GetCommentOK) GetPayload() *models.Comment
func (*GetCommentOK) IsClientError ¶ added in v1.13.0
func (o *GetCommentOK) IsClientError() bool
IsClientError returns true when this get comment o k response has a 4xx status code
func (*GetCommentOK) IsCode ¶ added in v1.13.0
func (o *GetCommentOK) IsCode(code int) bool
IsCode returns true when this get comment o k response a status code equal to that given
func (*GetCommentOK) IsRedirect ¶ added in v1.13.0
func (o *GetCommentOK) IsRedirect() bool
IsRedirect returns true when this get comment o k response has a 3xx status code
func (*GetCommentOK) IsServerError ¶ added in v1.13.0
func (o *GetCommentOK) IsServerError() bool
IsServerError returns true when this get comment o k response has a 5xx status code
func (*GetCommentOK) IsSuccess ¶ added in v1.13.0
func (o *GetCommentOK) IsSuccess() bool
IsSuccess returns true when this get comment o k response has a 2xx status code
func (*GetCommentOK) String ¶ added in v1.13.0
func (o *GetCommentOK) String() string
type GetCommentParams ¶
type GetCommentParams struct { /* CommentID. Id of a Comment */ CommentID string /* ResourceID. Id of the Resource that a Comment belongs to. */ ResourceID string /* ResourceType. The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, integrations_server, allocator, constructor, runner, proxy]. */ ResourceType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCommentParams contains all the parameters to send to the API endpoint
for the get comment operation. Typically these are written to a http.Request.
func NewGetCommentParams ¶
func NewGetCommentParams() *GetCommentParams
NewGetCommentParams creates a new GetCommentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCommentParamsWithContext ¶
func NewGetCommentParamsWithContext(ctx context.Context) *GetCommentParams
NewGetCommentParamsWithContext creates a new GetCommentParams object with the ability to set a context for a request.
func NewGetCommentParamsWithHTTPClient ¶
func NewGetCommentParamsWithHTTPClient(client *http.Client) *GetCommentParams
NewGetCommentParamsWithHTTPClient creates a new GetCommentParams object with the ability to set a custom HTTPClient for a request.
func NewGetCommentParamsWithTimeout ¶
func NewGetCommentParamsWithTimeout(timeout time.Duration) *GetCommentParams
NewGetCommentParamsWithTimeout creates a new GetCommentParams object with the ability to set a timeout on a request.
func (*GetCommentParams) SetCommentID ¶
func (o *GetCommentParams) SetCommentID(commentID string)
SetCommentID adds the commentId to the get comment params
func (*GetCommentParams) SetContext ¶
func (o *GetCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the get comment params
func (*GetCommentParams) SetDefaults ¶ added in v1.3.0
func (o *GetCommentParams) SetDefaults()
SetDefaults hydrates default values in the get comment params (not the query body).
All values with no default are reset to their zero value.
func (*GetCommentParams) SetHTTPClient ¶
func (o *GetCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get comment params
func (*GetCommentParams) SetResourceID ¶
func (o *GetCommentParams) SetResourceID(resourceID string)
SetResourceID adds the resourceId to the get comment params
func (*GetCommentParams) SetResourceType ¶
func (o *GetCommentParams) SetResourceType(resourceType string)
SetResourceType adds the resourceType to the get comment params
func (*GetCommentParams) SetTimeout ¶
func (o *GetCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get comment params
func (*GetCommentParams) WithCommentID ¶
func (o *GetCommentParams) WithCommentID(commentID string) *GetCommentParams
WithCommentID adds the commentID to the get comment params
func (*GetCommentParams) WithContext ¶
func (o *GetCommentParams) WithContext(ctx context.Context) *GetCommentParams
WithContext adds the context to the get comment params
func (*GetCommentParams) WithDefaults ¶ added in v1.3.0
func (o *GetCommentParams) WithDefaults() *GetCommentParams
WithDefaults hydrates default values in the get comment params (not the query body).
All values with no default are reset to their zero value.
func (*GetCommentParams) WithHTTPClient ¶
func (o *GetCommentParams) WithHTTPClient(client *http.Client) *GetCommentParams
WithHTTPClient adds the HTTPClient to the get comment params
func (*GetCommentParams) WithResourceID ¶
func (o *GetCommentParams) WithResourceID(resourceID string) *GetCommentParams
WithResourceID adds the resourceID to the get comment params
func (*GetCommentParams) WithResourceType ¶
func (o *GetCommentParams) WithResourceType(resourceType string) *GetCommentParams
WithResourceType adds the resourceType to the get comment params
func (*GetCommentParams) WithTimeout ¶
func (o *GetCommentParams) WithTimeout(timeout time.Duration) *GetCommentParams
WithTimeout adds the timeout to the get comment params
func (*GetCommentParams) WriteToRequest ¶
func (o *GetCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCommentReader ¶
type GetCommentReader struct {
// contains filtered or unexported fields
}
GetCommentReader is a Reader for the GetComment structure.
func (*GetCommentReader) ReadResponse ¶
func (o *GetCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCommentOK ¶
type ListCommentOK struct {
Payload *models.CommentsWithMetas
}
ListCommentOK describes a response with status code 200, with default header values.
The Comments
func NewListCommentOK ¶
func NewListCommentOK() *ListCommentOK
NewListCommentOK creates a ListCommentOK with default headers values
func (*ListCommentOK) Code ¶ added in v1.13.0
func (o *ListCommentOK) Code() int
Code gets the status code for the list comment o k response
func (*ListCommentOK) Error ¶
func (o *ListCommentOK) Error() string
func (*ListCommentOK) GetPayload ¶
func (o *ListCommentOK) GetPayload() *models.CommentsWithMetas
func (*ListCommentOK) IsClientError ¶ added in v1.13.0
func (o *ListCommentOK) IsClientError() bool
IsClientError returns true when this list comment o k response has a 4xx status code
func (*ListCommentOK) IsCode ¶ added in v1.13.0
func (o *ListCommentOK) IsCode(code int) bool
IsCode returns true when this list comment o k response a status code equal to that given
func (*ListCommentOK) IsRedirect ¶ added in v1.13.0
func (o *ListCommentOK) IsRedirect() bool
IsRedirect returns true when this list comment o k response has a 3xx status code
func (*ListCommentOK) IsServerError ¶ added in v1.13.0
func (o *ListCommentOK) IsServerError() bool
IsServerError returns true when this list comment o k response has a 5xx status code
func (*ListCommentOK) IsSuccess ¶ added in v1.13.0
func (o *ListCommentOK) IsSuccess() bool
IsSuccess returns true when this list comment o k response has a 2xx status code
func (*ListCommentOK) String ¶ added in v1.13.0
func (o *ListCommentOK) String() string
type ListCommentParams ¶
type ListCommentParams struct { /* ResourceID. Id of the Resource that a Comment belongs to. */ ResourceID string /* ResourceType. The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, integrations_server, allocator, constructor, runner, proxy]. */ ResourceType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCommentParams contains all the parameters to send to the API endpoint
for the list comment operation. Typically these are written to a http.Request.
func NewListCommentParams ¶
func NewListCommentParams() *ListCommentParams
NewListCommentParams creates a new ListCommentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListCommentParamsWithContext ¶
func NewListCommentParamsWithContext(ctx context.Context) *ListCommentParams
NewListCommentParamsWithContext creates a new ListCommentParams object with the ability to set a context for a request.
func NewListCommentParamsWithHTTPClient ¶
func NewListCommentParamsWithHTTPClient(client *http.Client) *ListCommentParams
NewListCommentParamsWithHTTPClient creates a new ListCommentParams object with the ability to set a custom HTTPClient for a request.
func NewListCommentParamsWithTimeout ¶
func NewListCommentParamsWithTimeout(timeout time.Duration) *ListCommentParams
NewListCommentParamsWithTimeout creates a new ListCommentParams object with the ability to set a timeout on a request.
func (*ListCommentParams) SetContext ¶
func (o *ListCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the list comment params
func (*ListCommentParams) SetDefaults ¶ added in v1.3.0
func (o *ListCommentParams) SetDefaults()
SetDefaults hydrates default values in the list comment params (not the query body).
All values with no default are reset to their zero value.
func (*ListCommentParams) SetHTTPClient ¶
func (o *ListCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list comment params
func (*ListCommentParams) SetResourceID ¶
func (o *ListCommentParams) SetResourceID(resourceID string)
SetResourceID adds the resourceId to the list comment params
func (*ListCommentParams) SetResourceType ¶
func (o *ListCommentParams) SetResourceType(resourceType string)
SetResourceType adds the resourceType to the list comment params
func (*ListCommentParams) SetTimeout ¶
func (o *ListCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list comment params
func (*ListCommentParams) WithContext ¶
func (o *ListCommentParams) WithContext(ctx context.Context) *ListCommentParams
WithContext adds the context to the list comment params
func (*ListCommentParams) WithDefaults ¶ added in v1.3.0
func (o *ListCommentParams) WithDefaults() *ListCommentParams
WithDefaults hydrates default values in the list comment params (not the query body).
All values with no default are reset to their zero value.
func (*ListCommentParams) WithHTTPClient ¶
func (o *ListCommentParams) WithHTTPClient(client *http.Client) *ListCommentParams
WithHTTPClient adds the HTTPClient to the list comment params
func (*ListCommentParams) WithResourceID ¶
func (o *ListCommentParams) WithResourceID(resourceID string) *ListCommentParams
WithResourceID adds the resourceID to the list comment params
func (*ListCommentParams) WithResourceType ¶
func (o *ListCommentParams) WithResourceType(resourceType string) *ListCommentParams
WithResourceType adds the resourceType to the list comment params
func (*ListCommentParams) WithTimeout ¶
func (o *ListCommentParams) WithTimeout(timeout time.Duration) *ListCommentParams
WithTimeout adds the timeout to the list comment params
func (*ListCommentParams) WriteToRequest ¶
func (o *ListCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCommentReader ¶
type ListCommentReader struct {
// contains filtered or unexported fields
}
ListCommentReader is a Reader for the ListComment structure.
func (*ListCommentReader) ReadResponse ¶
func (o *ListCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCommentConflict ¶
type UpdateCommentConflict struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateCommentConflict describes a response with status code 409, with default header values.
The version you sent does not match the persisted version. (code: `comments.version_conflict`)
func NewUpdateCommentConflict ¶
func NewUpdateCommentConflict() *UpdateCommentConflict
NewUpdateCommentConflict creates a UpdateCommentConflict with default headers values
func (*UpdateCommentConflict) Code ¶ added in v1.13.0
func (o *UpdateCommentConflict) Code() int
Code gets the status code for the update comment conflict response
func (*UpdateCommentConflict) Error ¶
func (o *UpdateCommentConflict) Error() string
func (*UpdateCommentConflict) GetPayload ¶
func (o *UpdateCommentConflict) GetPayload() *models.BasicFailedReply
func (*UpdateCommentConflict) IsClientError ¶ added in v1.13.0
func (o *UpdateCommentConflict) IsClientError() bool
IsClientError returns true when this update comment conflict response has a 4xx status code
func (*UpdateCommentConflict) IsCode ¶ added in v1.13.0
func (o *UpdateCommentConflict) IsCode(code int) bool
IsCode returns true when this update comment conflict response a status code equal to that given
func (*UpdateCommentConflict) IsRedirect ¶ added in v1.13.0
func (o *UpdateCommentConflict) IsRedirect() bool
IsRedirect returns true when this update comment conflict response has a 3xx status code
func (*UpdateCommentConflict) IsServerError ¶ added in v1.13.0
func (o *UpdateCommentConflict) IsServerError() bool
IsServerError returns true when this update comment conflict response has a 5xx status code
func (*UpdateCommentConflict) IsSuccess ¶ added in v1.13.0
func (o *UpdateCommentConflict) IsSuccess() bool
IsSuccess returns true when this update comment conflict response has a 2xx status code
func (*UpdateCommentConflict) String ¶ added in v1.13.0
func (o *UpdateCommentConflict) String() string
type UpdateCommentNotFound ¶
type UpdateCommentNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateCommentNotFound describes a response with status code 404, with default header values.
The Comment you want does not exist. (code: `comments.comment_does_not_exist`)
func NewUpdateCommentNotFound ¶
func NewUpdateCommentNotFound() *UpdateCommentNotFound
NewUpdateCommentNotFound creates a UpdateCommentNotFound with default headers values
func (*UpdateCommentNotFound) Code ¶ added in v1.13.0
func (o *UpdateCommentNotFound) Code() int
Code gets the status code for the update comment not found response
func (*UpdateCommentNotFound) Error ¶
func (o *UpdateCommentNotFound) Error() string
func (*UpdateCommentNotFound) GetPayload ¶
func (o *UpdateCommentNotFound) GetPayload() *models.BasicFailedReply
func (*UpdateCommentNotFound) IsClientError ¶ added in v1.13.0
func (o *UpdateCommentNotFound) IsClientError() bool
IsClientError returns true when this update comment not found response has a 4xx status code
func (*UpdateCommentNotFound) IsCode ¶ added in v1.13.0
func (o *UpdateCommentNotFound) IsCode(code int) bool
IsCode returns true when this update comment not found response a status code equal to that given
func (*UpdateCommentNotFound) IsRedirect ¶ added in v1.13.0
func (o *UpdateCommentNotFound) IsRedirect() bool
IsRedirect returns true when this update comment not found response has a 3xx status code
func (*UpdateCommentNotFound) IsServerError ¶ added in v1.13.0
func (o *UpdateCommentNotFound) IsServerError() bool
IsServerError returns true when this update comment not found response has a 5xx status code
func (*UpdateCommentNotFound) IsSuccess ¶ added in v1.13.0
func (o *UpdateCommentNotFound) IsSuccess() bool
IsSuccess returns true when this update comment not found response has a 2xx status code
func (*UpdateCommentNotFound) String ¶ added in v1.13.0
func (o *UpdateCommentNotFound) String() string
type UpdateCommentOK ¶
type UpdateCommentOK struct { /* The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /* The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /* The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Comment }
UpdateCommentOK describes a response with status code 200, with default header values.
Comment updated successfully.
func NewUpdateCommentOK ¶
func NewUpdateCommentOK() *UpdateCommentOK
NewUpdateCommentOK creates a UpdateCommentOK with default headers values
func (*UpdateCommentOK) Code ¶ added in v1.13.0
func (o *UpdateCommentOK) Code() int
Code gets the status code for the update comment o k response
func (*UpdateCommentOK) Error ¶
func (o *UpdateCommentOK) Error() string
func (*UpdateCommentOK) GetPayload ¶
func (o *UpdateCommentOK) GetPayload() *models.Comment
func (*UpdateCommentOK) IsClientError ¶ added in v1.13.0
func (o *UpdateCommentOK) IsClientError() bool
IsClientError returns true when this update comment o k response has a 4xx status code
func (*UpdateCommentOK) IsCode ¶ added in v1.13.0
func (o *UpdateCommentOK) IsCode(code int) bool
IsCode returns true when this update comment o k response a status code equal to that given
func (*UpdateCommentOK) IsRedirect ¶ added in v1.13.0
func (o *UpdateCommentOK) IsRedirect() bool
IsRedirect returns true when this update comment o k response has a 3xx status code
func (*UpdateCommentOK) IsServerError ¶ added in v1.13.0
func (o *UpdateCommentOK) IsServerError() bool
IsServerError returns true when this update comment o k response has a 5xx status code
func (*UpdateCommentOK) IsSuccess ¶ added in v1.13.0
func (o *UpdateCommentOK) IsSuccess() bool
IsSuccess returns true when this update comment o k response has a 2xx status code
func (*UpdateCommentOK) String ¶ added in v1.13.0
func (o *UpdateCommentOK) String() string
type UpdateCommentParams ¶
type UpdateCommentParams struct { /* Body. The Comment update data. */ Body *models.CommentUpdateRequest /* CommentID. Id of a Comment */ CommentID string /* ResourceID. Id of the Resource that a Comment belongs to. */ ResourceID string /* ResourceType. The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, integrations_server, allocator, constructor, runner, proxy]. */ ResourceType string /* Version. If specified then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request) */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCommentParams contains all the parameters to send to the API endpoint
for the update comment operation. Typically these are written to a http.Request.
func NewUpdateCommentParams ¶
func NewUpdateCommentParams() *UpdateCommentParams
NewUpdateCommentParams creates a new UpdateCommentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateCommentParamsWithContext ¶
func NewUpdateCommentParamsWithContext(ctx context.Context) *UpdateCommentParams
NewUpdateCommentParamsWithContext creates a new UpdateCommentParams object with the ability to set a context for a request.
func NewUpdateCommentParamsWithHTTPClient ¶
func NewUpdateCommentParamsWithHTTPClient(client *http.Client) *UpdateCommentParams
NewUpdateCommentParamsWithHTTPClient creates a new UpdateCommentParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCommentParamsWithTimeout ¶
func NewUpdateCommentParamsWithTimeout(timeout time.Duration) *UpdateCommentParams
NewUpdateCommentParamsWithTimeout creates a new UpdateCommentParams object with the ability to set a timeout on a request.
func (*UpdateCommentParams) SetBody ¶
func (o *UpdateCommentParams) SetBody(body *models.CommentUpdateRequest)
SetBody adds the body to the update comment params
func (*UpdateCommentParams) SetCommentID ¶
func (o *UpdateCommentParams) SetCommentID(commentID string)
SetCommentID adds the commentId to the update comment params
func (*UpdateCommentParams) SetContext ¶
func (o *UpdateCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the update comment params
func (*UpdateCommentParams) SetDefaults ¶ added in v1.3.0
func (o *UpdateCommentParams) SetDefaults()
SetDefaults hydrates default values in the update comment params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCommentParams) SetHTTPClient ¶
func (o *UpdateCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update comment params
func (*UpdateCommentParams) SetResourceID ¶
func (o *UpdateCommentParams) SetResourceID(resourceID string)
SetResourceID adds the resourceId to the update comment params
func (*UpdateCommentParams) SetResourceType ¶
func (o *UpdateCommentParams) SetResourceType(resourceType string)
SetResourceType adds the resourceType to the update comment params
func (*UpdateCommentParams) SetTimeout ¶
func (o *UpdateCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update comment params
func (*UpdateCommentParams) SetVersion ¶
func (o *UpdateCommentParams) SetVersion(version *string)
SetVersion adds the version to the update comment params
func (*UpdateCommentParams) WithBody ¶
func (o *UpdateCommentParams) WithBody(body *models.CommentUpdateRequest) *UpdateCommentParams
WithBody adds the body to the update comment params
func (*UpdateCommentParams) WithCommentID ¶
func (o *UpdateCommentParams) WithCommentID(commentID string) *UpdateCommentParams
WithCommentID adds the commentID to the update comment params
func (*UpdateCommentParams) WithContext ¶
func (o *UpdateCommentParams) WithContext(ctx context.Context) *UpdateCommentParams
WithContext adds the context to the update comment params
func (*UpdateCommentParams) WithDefaults ¶ added in v1.3.0
func (o *UpdateCommentParams) WithDefaults() *UpdateCommentParams
WithDefaults hydrates default values in the update comment params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCommentParams) WithHTTPClient ¶
func (o *UpdateCommentParams) WithHTTPClient(client *http.Client) *UpdateCommentParams
WithHTTPClient adds the HTTPClient to the update comment params
func (*UpdateCommentParams) WithResourceID ¶
func (o *UpdateCommentParams) WithResourceID(resourceID string) *UpdateCommentParams
WithResourceID adds the resourceID to the update comment params
func (*UpdateCommentParams) WithResourceType ¶
func (o *UpdateCommentParams) WithResourceType(resourceType string) *UpdateCommentParams
WithResourceType adds the resourceType to the update comment params
func (*UpdateCommentParams) WithTimeout ¶
func (o *UpdateCommentParams) WithTimeout(timeout time.Duration) *UpdateCommentParams
WithTimeout adds the timeout to the update comment params
func (*UpdateCommentParams) WithVersion ¶
func (o *UpdateCommentParams) WithVersion(version *string) *UpdateCommentParams
WithVersion adds the version to the update comment params
func (*UpdateCommentParams) WriteToRequest ¶
func (o *UpdateCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCommentReader ¶
type UpdateCommentReader struct {
// contains filtered or unexported fields
}
UpdateCommentReader is a Reader for the UpdateComment structure.
func (*UpdateCommentReader) ReadResponse ¶
func (o *UpdateCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCommentUnauthorized ¶
type UpdateCommentUnauthorized struct { string }XCloudErrorCodes
UpdateCommentUnauthorized describes a response with status code 401, with default header values. * The Comment does not belong to you. (code: `comments.unauthorised`)
* Your current session does not have a user id associated with it. (code: `comments.no_user_id`)
func NewUpdateCommentUnauthorized ¶
func NewUpdateCommentUnauthorized() *UpdateCommentUnauthorized
NewUpdateCommentUnauthorized creates a UpdateCommentUnauthorized with default headers values
func (*UpdateCommentUnauthorized) Code ¶ added in v1.13.0
func (o *UpdateCommentUnauthorized) Code() int
Code gets the status code for the update comment unauthorized response
func (*UpdateCommentUnauthorized) Error ¶
func (o *UpdateCommentUnauthorized) Error() string
func (*UpdateCommentUnauthorized) GetPayload ¶
func (o *UpdateCommentUnauthorized) GetPayload() *models.BasicFailedReply
func (*UpdateCommentUnauthorized) IsClientError ¶ added in v1.13.0
func (o *UpdateCommentUnauthorized) IsClientError() bool
IsClientError returns true when this update comment unauthorized response has a 4xx status code
func (*UpdateCommentUnauthorized) IsCode ¶ added in v1.13.0
func (o *UpdateCommentUnauthorized) IsCode(code int) bool
IsCode returns true when this update comment unauthorized response a status code equal to that given
func (*UpdateCommentUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *UpdateCommentUnauthorized) IsRedirect() bool
IsRedirect returns true when this update comment unauthorized response has a 3xx status code
func (*UpdateCommentUnauthorized) IsServerError ¶ added in v1.13.0
func (o *UpdateCommentUnauthorized) IsServerError() bool
IsServerError returns true when this update comment unauthorized response has a 5xx status code
func (*UpdateCommentUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *UpdateCommentUnauthorized) IsSuccess() bool
IsSuccess returns true when this update comment unauthorized response has a 2xx status code
func (*UpdateCommentUnauthorized) String ¶ added in v1.13.0
func (o *UpdateCommentUnauthorized) String() string