Documentation ¶
Index ¶
- type CreateFeedsRequest
- type CreateFeedsResource
- type CreateFeedsResponse
- type CreateFeedsResultResource
- func (m *CreateFeedsResultResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateFeedsResultResource) MarshalBinary() ([]byte, error)
- func (m *CreateFeedsResultResource) UnmarshalBinary(b []byte) error
- func (m *CreateFeedsResultResource) Validate(formats strfmt.Registry) error
- type CreateItemResultResource
- func (m *CreateItemResultResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateItemResultResource) MarshalBinary() ([]byte, error)
- func (m *CreateItemResultResource) UnmarshalBinary(b []byte) error
- func (m *CreateItemResultResource) Validate(formats strfmt.Registry) error
- type CreateItemsRequest
- type CreateItemsResource
- type CreateItemsResponse
- type ErrorResponse
- type FeedResource
- type GetFeedsRequest
- type GetFeedsResponse
- type GetItemsRequest
- type GetItemsResponse
- type ItemFileResource
- type ItemResource
- type UploadFileResultResource
- func (m *UploadFileResultResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UploadFileResultResource) MarshalBinary() ([]byte, error)
- func (m *UploadFileResultResource) UnmarshalBinary(b []byte) error
- func (m *UploadFileResultResource) Validate(formats strfmt.Registry) error
- type UploadFilesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateFeedsRequest ¶
type CreateFeedsRequest struct { // data Data []*CreateFeedsResource `json:"data"` }
CreateFeedsRequest create feeds request
swagger:model CreateFeedsRequest
func (*CreateFeedsRequest) ContextValidate ¶
ContextValidate validate this create feeds request based on the context it is used
func (*CreateFeedsRequest) MarshalBinary ¶
func (m *CreateFeedsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFeedsRequest) UnmarshalBinary ¶
func (m *CreateFeedsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFeedsResource ¶
type CreateFeedsResource struct { // authors // Example: The Owl Authors string `json:"authors,omitempty"` // description // Example: Bored owls talk about whatever happens to be on their minds Description string `json:"description,omitempty"` // link // Example: https://example.com Link string `json:"link,omitempty"` // title // Example: Bored Owls Online Radio Title string `json:"title,omitempty"` }
CreateFeedsResource create feeds resource
swagger:model CreateFeedsResource
func (*CreateFeedsResource) ContextValidate ¶
ContextValidate validates this create feeds resource based on context it is used
func (*CreateFeedsResource) MarshalBinary ¶
func (m *CreateFeedsResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFeedsResource) UnmarshalBinary ¶
func (m *CreateFeedsResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFeedsResponse ¶
type CreateFeedsResponse struct { // data Data []*CreateFeedsResultResource `json:"data"` }
CreateFeedsResponse create feeds response
swagger:model CreateFeedsResponse
func (*CreateFeedsResponse) ContextValidate ¶
ContextValidate validate this create feeds response based on the context it is used
func (*CreateFeedsResponse) MarshalBinary ¶
func (m *CreateFeedsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFeedsResponse) UnmarshalBinary ¶
func (m *CreateFeedsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFeedsResultResource ¶
type CreateFeedsResultResource struct { // id // Example: feed_2K9BWVNuo3sG4yM322fbP3mB6ls ID string `json:"id,omitempty"` }
CreateFeedsResultResource create feeds result resource
swagger:model CreateFeedsResultResource
func (*CreateFeedsResultResource) ContextValidate ¶
func (m *CreateFeedsResultResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create feeds result resource based on context it is used
func (*CreateFeedsResultResource) MarshalBinary ¶
func (m *CreateFeedsResultResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFeedsResultResource) UnmarshalBinary ¶
func (m *CreateFeedsResultResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateItemResultResource ¶
type CreateItemResultResource struct { // id // Example: item_2K9BWVNuo3sG4yM322fbP3mB6ls ID string `json:"id,omitempty"` }
CreateItemResultResource create item result resource
swagger:model CreateItemResultResource
func (*CreateItemResultResource) ContextValidate ¶
func (m *CreateItemResultResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create item result resource based on context it is used
func (*CreateItemResultResource) MarshalBinary ¶
func (m *CreateItemResultResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateItemResultResource) UnmarshalBinary ¶
func (m *CreateItemResultResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateItemsRequest ¶
type CreateItemsRequest struct { // data Data []*CreateItemsResource `json:"data"` }
CreateItemsRequest create items request
swagger:model CreateItemsRequest
func (*CreateItemsRequest) ContextValidate ¶
ContextValidate validate this create items request based on the context it is used
func (*CreateItemsRequest) MarshalBinary ¶
func (m *CreateItemsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateItemsRequest) UnmarshalBinary ¶
func (m *CreateItemsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateItemsResource ¶
type CreateItemsResource struct { // authors // Example: The Owl Authors string `json:"authors,omitempty"` // description // Example: Bored owls talk about whatever happens to be on their minds Description string `json:"description,omitempty"` // feed id // Example: feed_2K9BWVNuo3sG4yM322fbP3mB6ls FeedID string `json:"feed_id,omitempty"` // file id // Example: file_2K9BWVNuo3sG4yM322fbP3mB6ls FileID string `json:"file_id,omitempty"` // link // Example: https://example.com Link string `json:"link,omitempty"` // published at // Example: 2023-01-01T01:02:03.456Z // Format: date-time PublishedAt strfmt.DateTime `json:"published_at,omitempty"` // title // Example: Bored Owls Online Radio Title string `json:"title,omitempty"` }
CreateItemsResource create items resource
swagger:model CreateItemsResource
func (*CreateItemsResource) ContextValidate ¶
ContextValidate validates this create items resource based on context it is used
func (*CreateItemsResource) MarshalBinary ¶
func (m *CreateItemsResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateItemsResource) UnmarshalBinary ¶
func (m *CreateItemsResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateItemsResponse ¶
type CreateItemsResponse struct { // data Data []*CreateItemResultResource `json:"data"` }
CreateItemsResponse create items response
swagger:model CreateItemsResponse
func (*CreateItemsResponse) ContextValidate ¶
ContextValidate validate this create items response based on the context it is used
func (*CreateItemsResponse) MarshalBinary ¶
func (m *CreateItemsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateItemsResponse) UnmarshalBinary ¶
func (m *CreateItemsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
ErrorResponse error response
swagger:model ErrorResponse
func (*ErrorResponse) ContextValidate ¶
ContextValidate validates this error response based on context it is used
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FeedResource ¶
type FeedResource struct { // authors // Example: The Owl Authors string `json:"authors,omitempty"` // created at // Example: 2023-01-01T01:02:03.456Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // description // Example: Bored owls talk about whatever happens to be on their minds Description string `json:"description,omitempty"` // id // Example: feed_2K9BWVNuo3sG4yM322fbP3mB6ls ID string `json:"id,omitempty"` // link // Example: https://example.com Link string `json:"link,omitempty"` // rss url // Example: https://example.com/feed.rss RssURL string `json:"rss_url,omitempty"` // title // Example: Bored Owls Online Radio Title string `json:"title,omitempty"` // updated at // Example: 2023-01-01T01:02:03.456Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
FeedResource feed resource
swagger:model FeedResource
func (*FeedResource) ContextValidate ¶
ContextValidate validates this feed resource based on context it is used
func (*FeedResource) MarshalBinary ¶
func (m *FeedResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FeedResource) UnmarshalBinary ¶
func (m *FeedResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetFeedsRequest ¶
type GetFeedsRequest struct { // ids Ids []string `json:"ids"` }
GetFeedsRequest get feeds request
swagger:model GetFeedsRequest
func (*GetFeedsRequest) ContextValidate ¶
ContextValidate validates this get feeds request based on context it is used
func (*GetFeedsRequest) MarshalBinary ¶
func (m *GetFeedsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetFeedsRequest) UnmarshalBinary ¶
func (m *GetFeedsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetFeedsResponse ¶
type GetFeedsResponse struct { // data Data []*FeedResource `json:"data"` }
GetFeedsResponse get feeds response
swagger:model GetFeedsResponse
func (*GetFeedsResponse) ContextValidate ¶
ContextValidate validate this get feeds response based on the context it is used
func (*GetFeedsResponse) MarshalBinary ¶
func (m *GetFeedsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetFeedsResponse) UnmarshalBinary ¶
func (m *GetFeedsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetItemsRequest ¶
type GetItemsRequest struct { // feed ids FeedIds []string `json:"feed_ids"` // ids Ids []string `json:"ids"` }
GetItemsRequest get items request
swagger:model GetItemsRequest
func (*GetItemsRequest) ContextValidate ¶
ContextValidate validates this get items request based on context it is used
func (*GetItemsRequest) MarshalBinary ¶
func (m *GetItemsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetItemsRequest) UnmarshalBinary ¶
func (m *GetItemsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetItemsResponse ¶
type GetItemsResponse struct { // data Data []*ItemResource `json:"data"` }
GetItemsResponse get items response
swagger:model GetItemsResponse
func (*GetItemsResponse) ContextValidate ¶
ContextValidate validate this get items response based on the context it is used
func (*GetItemsResponse) MarshalBinary ¶
func (m *GetItemsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetItemsResponse) UnmarshalBinary ¶
func (m *GetItemsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemFileResource ¶
type ItemFileResource struct { // content type // Example: audio/mpeg ContentType string `json:"content_type,omitempty"` // id // Example: file_2K9BWVNuo3sG4yM322fbP3mB6ls ID string `json:"id,omitempty"` // size // Example: 123456 Size int64 `json:"size,omitempty"` // url // Example: https://example.com/file.mp3 URL string `json:"url,omitempty"` }
ItemFileResource item file resource
swagger:model ItemFileResource
func (*ItemFileResource) ContextValidate ¶
ContextValidate validates this item file resource based on context it is used
func (*ItemFileResource) MarshalBinary ¶
func (m *ItemFileResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemFileResource) UnmarshalBinary ¶
func (m *ItemFileResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemResource ¶
type ItemResource struct { // authors // Example: The Owl Authors string `json:"authors,omitempty"` // created at // Example: 2023-01-01T01:02:03.456Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // description // Example: Bored owls talk about whatever happens to be on their minds Description string `json:"description,omitempty"` // feed id // Example: feed_2K9BWVNuo3sG4yM322fbP3mB6ls FeedID string `json:"feed_id,omitempty"` // file File struct { ItemFileResource } `json:"file,omitempty"` // id // Example: item_2K9BWVNuo3sG4yM322fbP3mB6ls ID string `json:"id,omitempty"` // link // Example: https://example.com Link string `json:"link,omitempty"` // published at // Example: 2023-01-01T01:02:03.456Z // Format: date-time PublishedAt strfmt.DateTime `json:"published_at,omitempty"` // title // Example: Bored Owls Online Radio Title string `json:"title,omitempty"` // updated at // Example: 2023-01-01T01:02:03.456Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
ItemResource item resource
swagger:model ItemResource
func (*ItemResource) ContextValidate ¶
ContextValidate validate this item resource based on the context it is used
func (*ItemResource) MarshalBinary ¶
func (m *ItemResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemResource) UnmarshalBinary ¶
func (m *ItemResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UploadFileResultResource ¶
type UploadFileResultResource struct { // error // Example: invalid file format Error string `json:"error,omitempty"` // id // Example: file_2K9BWVNuo3sG4yM322fbP3mB6ls ID string `json:"id,omitempty"` }
UploadFileResultResource upload file result resource
swagger:model UploadFileResultResource
func (*UploadFileResultResource) ContextValidate ¶
func (m *UploadFileResultResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this upload file result resource based on context it is used
func (*UploadFileResultResource) MarshalBinary ¶
func (m *UploadFileResultResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UploadFileResultResource) UnmarshalBinary ¶
func (m *UploadFileResultResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UploadFilesResponse ¶
type UploadFilesResponse struct { // data Data []*UploadFileResultResource `json:"data"` }
UploadFilesResponse upload files response
swagger:model UploadFilesResponse
func (*UploadFilesResponse) ContextValidate ¶
ContextValidate validate this upload files response based on the context it is used
func (*UploadFilesResponse) MarshalBinary ¶
func (m *UploadFilesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UploadFilesResponse) UnmarshalBinary ¶
func (m *UploadFilesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- create_feeds_request.go
- create_feeds_resource.go
- create_feeds_response.go
- create_feeds_result_resource.go
- create_item_result_resource.go
- create_items_request.go
- create_items_resource.go
- create_items_response.go
- error_response.go
- feed_resource.go
- get_feeds_request.go
- get_feeds_response.go
- get_items_request.go
- get_items_response.go
- item_file_resource.go
- item_resource.go
- upload_file_result_resource.go
- upload_files_response.go