Documentation ¶
Overview ¶
Package model contains the model definitions for mouthful API response and request types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCommentBody ¶
type CreateCommentBody struct { Path string `json:"path"` Body string `json:"body"` Author string `json:"author"` Email *string `json:"email,omitempty"` ReplyTo *string `json:"replyTo,omitempty"` }
CreateCommentBody is a struct that represents a create comment request
type CreateCommentResponse ¶
type CreateCommentResponse struct { Id string `json:"id"` Path string `json:"path"` Body string `json:"body"` Author string `json:"author"` Email *string `json:"email,omitempty"` ReplyTo *string `json:"replyTo,omitempty"` }
CreateCommentResponse is a struct that represents a create comment response
type DeleteCommentBody ¶
DeleteCommentBody is a struct that represents a delete comment request
Click to show internal directories.
Click to hide internal directories.