Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateStream ¶
type CreateStream struct {
// track
// Required: true
Track *string `json:"track"`
}
CreateStream create stream swagger:model CreateStream
func (*CreateStream) MarshalBinary ¶
func (m *CreateStream) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateStream) UnmarshalBinary ¶
func (m *CreateStream) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTopic ¶
type CreateTopic struct {
// is active
// Required: true
IsActive *bool `json:"isActive"`
// name
// Required: true
Name *string `json:"name"`
}
CreateTopic create topic swagger:model CreateTopic
func (*CreateTopic) MarshalBinary ¶
func (m *CreateTopic) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTopic) UnmarshalBinary ¶
func (m *CreateTopic) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Credentials ¶
type Credentials struct {
// email
// Required: true
Email *string `json:"email"`
// password
// Required: true
// Format: password
Password *strfmt.Password `json:"password"`
}
Credentials credentials swagger:model Credentials
func (*Credentials) MarshalBinary ¶
func (m *Credentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Credentials) UnmarshalBinary ¶
func (m *Credentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DefaultError ¶
type DefaultError struct {
// message
// Required: true
Message *string `json:"message"`
}
DefaultError default error swagger:model DefaultError
func (*DefaultError) MarshalBinary ¶
func (m *DefaultError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DefaultError) UnmarshalBinary ¶
func (m *DefaultError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DefaultSuccess ¶
type DefaultSuccess struct {
// message
// Required: true
Message *string `json:"message"`
}
DefaultSuccess default success swagger:model DefaultSuccess
func (*DefaultSuccess) MarshalBinary ¶
func (m *DefaultSuccess) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DefaultSuccess) UnmarshalBinary ¶
func (m *DefaultSuccess) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SavedTweet ¶
SavedTweet saved tweet swagger:model SavedTweet
func (*SavedTweet) MarshalBinary ¶
func (m *SavedTweet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (SavedTweet) MarshalJSON ¶
func (m SavedTweet) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*SavedTweet) UnmarshalBinary ¶
func (m *SavedTweet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SavedTweet) UnmarshalJSON ¶
func (m *SavedTweet) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type Stream ¶
type Stream struct {
// created at
// Required: true
CreatedAt *string `json:"createdAt"`
// id
// Required: true
ID *int64 `json:"id"`
// track
// Required: true
Track *string `json:"track"`
}
Stream stream swagger:model Stream
func (*Stream) MarshalBinary ¶
MarshalBinary interface implementation
func (*Stream) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Topic ¶
type Topic struct {
// created at
// Required: true
CreatedAt *string `json:"createdAt"`
// id
// Required: true
ID *int64 `json:"id"`
// is active
// Required: true
IsActive *bool `json:"isActive"`
// name
// Required: true
Name *string `json:"name"`
}
Topic topic swagger:model Topic
func (*Topic) MarshalBinary ¶
MarshalBinary interface implementation
func (*Topic) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Tweet ¶
type Tweet struct {
// created at
// Required: true
CreatedAt *string `json:"createdAt"`
// full text
// Required: true
FullText *string `json:"fullText"`
// id
// Required: true
ID *int64 `json:"id"`
// twitter Id
// Required: true
TwitterID *int64 `json:"twitterId"`
// twitter user Id
// Required: true
TwitterUserID *int64 `json:"twitterUserId"`
// twitter username
// Required: true
TwitterUsername *string `json:"twitterUsername"`
}
Tweet tweet swagger:model Tweet
func (*Tweet) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tweet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type User ¶
type User struct {
// email
// Required: true
Email *string `json:"email"`
// id
// Required: true
ID *int64 `json:"id"`
// token
// Required: true
Token *string `json:"token"`
}
User user swagger:model User
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation