models

package
v0.1.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commits

type Commits struct {

	// author
	Author *string `json:"author,omitempty"`

	// commits
	Commits []*CommitsItems0 `json:"commits"`

	// next page
	NextPage *int64 `json:"next_page,omitempty"`

	// next page url
	NextPageURL *string `json:"next_page_url,omitempty"`

	// page
	Page int64 `json:"page,omitempty"`

	// prev page
	PrevPage *int64 `json:"prev_page,omitempty"`

	// prev page url
	PrevPageURL *string `json:"prev_page_url,omitempty"`

	// project
	Project *CommitsProject `json:"project,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// total pages
	TotalPages int64 `json:"total_pages,omitempty"`
}

Commits commits swagger:model commits

func (*Commits) MarshalBinary

func (m *Commits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Commits) UnmarshalBinary

func (m *Commits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Commits) Validate

func (m *Commits) Validate(formats strfmt.Registry) error

Validate validates this commits

type CommitsItems0

type CommitsItems0 struct {

	// author avatar url
	AuthorAvatarURL string `json:"author_avatar_url,omitempty"`

	// author date
	AuthorDate string `json:"author_date,omitempty"`

	// author email
	AuthorEmail string `json:"author_email,omitempty"`

	// author html url
	AuthorHTMLURL string `json:"author_html_url,omitempty"`

	// author name
	AuthorName string `json:"author_name,omitempty"`

	// author url
	AuthorURL string `json:"author_url,omitempty"`

	// author username
	AuthorUsername string `json:"author_username,omitempty"`

	// committer avatar url
	CommitterAvatarURL string `json:"committer_avatar_url,omitempty"`

	// committer date
	CommitterDate string `json:"committer_date,omitempty"`

	// committer email
	CommitterEmail string `json:"committer_email,omitempty"`

	// committer html url
	CommitterHTMLURL string `json:"committer_html_url,omitempty"`

	// committer name
	CommitterName string `json:"committer_name,omitempty"`

	// committer url
	CommitterURL string `json:"committer_url,omitempty"`

	// committer username
	CommitterUsername string `json:"committer_username,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// hash
	Hash string `json:"hash,omitempty"`

	// html url
	HTMLURL string `json:"html_url,omitempty"`

	// human readable total
	HumanReadableTotal string `json:"human_readable_total,omitempty"`

	// human readable total with seconds
	HumanReadableTotalWithSeconds string `json:"human_readable_total_with_seconds,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// ref
	Ref string `json:"ref,omitempty"`

	// total seconds
	TotalSeconds float64 `json:"total_seconds,omitempty"`

	// truncated hash
	TruncatedHash string `json:"truncated_hash,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

CommitsItems0 commits items0 swagger:model CommitsItems0

func (*CommitsItems0) MarshalBinary

func (m *CommitsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommitsItems0) UnmarshalBinary

func (m *CommitsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommitsItems0) Validate

func (m *CommitsItems0) Validate(formats strfmt.Registry) error

Validate validates this commits items0

type CommitsProject

type CommitsProject struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// html escaped name
	HTMLEscapedName string `json:"html_escaped_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// privacy
	Privacy string `json:"privacy,omitempty"`

	// repository
	Repository *CommitsProjectRepository `json:"repository,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

CommitsProject commits project swagger:model CommitsProject

func (*CommitsProject) MarshalBinary

func (m *CommitsProject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommitsProject) UnmarshalBinary

func (m *CommitsProject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommitsProject) Validate

func (m *CommitsProject) Validate(formats strfmt.Registry) error

Validate validates this commits project

type CommitsProjectRepository

type CommitsProjectRepository struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// default branch
	DefaultBranch string `json:"default_branch,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// fork count
	ForkCount int64 `json:"fork_count,omitempty"`

	// full name
	FullName string `json:"full_name,omitempty"`

	// homepage
	Homepage *string `json:"homepage,omitempty"`

	// html url
	HTMLURL string `json:"html_url,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is fork
	IsFork bool `json:"is_fork,omitempty"`

	// is private
	IsPrivate bool `json:"is_private,omitempty"`

	// last synced at
	LastSyncedAt string `json:"last_synced_at,omitempty"`

	// modified at
	ModifiedAt string `json:"modified_at,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// star count
	StarCount int64 `json:"star_count,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// watch count
	WatchCount int64 `json:"watch_count,omitempty"`
}

CommitsProjectRepository commits project repository swagger:model CommitsProjectRepository

func (*CommitsProjectRepository) MarshalBinary

func (m *CommitsProjectRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommitsProjectRepository) UnmarshalBinary

func (m *CommitsProjectRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommitsProjectRepository) Validate

func (m *CommitsProjectRepository) Validate(formats strfmt.Registry) error

Validate validates this commits project repository

type Durations

type Durations struct {

	// branches
	Branches []string `json:"branches"`

	// data
	Data []*DurationsDataItems0 `json:"data"`

	// end
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// start
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`
}

Durations durations swagger:model durations

func (*Durations) MarshalBinary

func (m *Durations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Durations) UnmarshalBinary

func (m *Durations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Durations) Validate

func (m *Durations) Validate(formats strfmt.Registry) error

Validate validates this durations

type DurationsDataItems0

type DurationsDataItems0 struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// cursorpos
	Cursorpos *string `json:"cursorpos,omitempty"`

	// duration
	Duration int64 `json:"duration,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// lineno
	Lineno *int64 `json:"lineno,omitempty"`

	// machine name id
	MachineNameID string `json:"machine_name_id,omitempty"`

	// project
	Project string `json:"project,omitempty"`

	// time
	Time float64 `json:"time,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

DurationsDataItems0 durations data items0 swagger:model DurationsDataItems0

func (*DurationsDataItems0) MarshalBinary

func (m *DurationsDataItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DurationsDataItems0) UnmarshalBinary

func (m *DurationsDataItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DurationsDataItems0) Validate

func (m *DurationsDataItems0) Validate(formats strfmt.Registry) error

Validate validates this durations data items0

type Error

type Error struct {

	// error
	// Min Length: 1
	Error string `json:"error,omitempty"`
}

Error error swagger:model error

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Goals

type Goals struct {

	// data
	Data []*GoalsDataItems0 `json:"data"`

	// total
	Total int64 `json:"total,omitempty"`

	// total pages
	TotalPages int64 `json:"total_pages,omitempty"`
}

Goals goals swagger:model goals

func (*Goals) MarshalBinary

func (m *Goals) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Goals) UnmarshalBinary

func (m *Goals) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Goals) Validate

func (m *Goals) Validate(formats strfmt.Registry) error

Validate validates this goals

type GoalsDataItems0

type GoalsDataItems0 struct {

	// average status
	AverageStatus string `json:"average_status,omitempty"`

	// chart data
	ChartData []*GoalsDataItems0ChartDataItems0 `json:"chart_data"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// cumulative status
	CumulativeStatus string `json:"cumulative_status,omitempty"`

	// delta
	Delta string `json:"delta,omitempty"`

	// editors
	Editors []interface{} `json:"editors"`

	// id
	ID string `json:"id,omitempty"`

	// ignore days
	IgnoreDays []interface{} `json:"ignore_days"`

	// improve by percent
	ImproveByPercent float64 `json:"improve_by_percent,omitempty"`

	// is current user owner
	IsCurrentUserOwner bool `json:"is_current_user_owner,omitempty"`

	// is enabled
	IsEnabled bool `json:"is_enabled,omitempty"`

	// is inverse
	IsInverse bool `json:"is_inverse,omitempty"`

	// is snoozed
	IsSnoozed bool `json:"is_snoozed,omitempty"`

	// languages
	Languages []interface{} `json:"languages"`

	// modified at
	// Format: date-time
	ModifiedAt strfmt.DateTime `json:"modified_at,omitempty"`

	// owner
	Owner *GoalsDataItems0Owner `json:"owner,omitempty"`

	// projects
	Projects []interface{} `json:"projects"`

	// range text
	RangeText string `json:"range_text,omitempty"`

	// seconds
	Seconds int64 `json:"seconds,omitempty"`

	// shared with
	SharedWith []interface{} `json:"shared_with"`

	// snooze until
	SnoozeUntil string `json:"snooze_until,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// subscribers
	Subscribers []interface{} `json:"subscribers"`

	// title
	Title string `json:"title,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

GoalsDataItems0 goals data items0 swagger:model GoalsDataItems0

func (*GoalsDataItems0) MarshalBinary

func (m *GoalsDataItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GoalsDataItems0) UnmarshalBinary

func (m *GoalsDataItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GoalsDataItems0) Validate

func (m *GoalsDataItems0) Validate(formats strfmt.Registry) error

Validate validates this goals data items0

type GoalsDataItems0ChartDataItems0

type GoalsDataItems0ChartDataItems0 struct {

	// actual seconds
	ActualSeconds int64 `json:"actual_seconds,omitempty"`

	// actual seconds text
	ActualSecondsText string `json:"actual_seconds_text,omitempty"`

	// goal seconds
	GoalSeconds int64 `json:"goal_seconds,omitempty"`

	// goal seconds text
	GoalSecondsText string `json:"goal_seconds_text,omitempty"`

	// range
	Range *GoalsDataItems0ChartDataItems0Range `json:"range,omitempty"`

	// range status
	RangeStatus string `json:"range_status,omitempty"`

	// range status reason
	RangeStatusReason string `json:"range_status_reason,omitempty"`
}

GoalsDataItems0ChartDataItems0 goals data items0 chart data items0 swagger:model GoalsDataItems0ChartDataItems0

func (*GoalsDataItems0ChartDataItems0) MarshalBinary

func (m *GoalsDataItems0ChartDataItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GoalsDataItems0ChartDataItems0) UnmarshalBinary

func (m *GoalsDataItems0ChartDataItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GoalsDataItems0ChartDataItems0) Validate

func (m *GoalsDataItems0ChartDataItems0) Validate(formats strfmt.Registry) error

Validate validates this goals data items0 chart data items0

type GoalsDataItems0ChartDataItems0Range

type GoalsDataItems0ChartDataItems0Range struct {

	// date
	// Format: date
	Date strfmt.Date `json:"date,omitempty"`

	// end
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// start
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`
}

GoalsDataItems0ChartDataItems0Range goals data items0 chart data items0 range swagger:model GoalsDataItems0ChartDataItems0Range

func (*GoalsDataItems0ChartDataItems0Range) MarshalBinary

func (m *GoalsDataItems0ChartDataItems0Range) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GoalsDataItems0ChartDataItems0Range) UnmarshalBinary

func (m *GoalsDataItems0ChartDataItems0Range) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GoalsDataItems0ChartDataItems0Range) Validate

Validate validates this goals data items0 chart data items0 range

type GoalsDataItems0Owner

type GoalsDataItems0Owner struct {

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// full name
	FullName string `json:"full_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// photo
	Photo string `json:"photo,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

GoalsDataItems0Owner goals data items0 owner swagger:model GoalsDataItems0Owner

func (*GoalsDataItems0Owner) MarshalBinary

func (m *GoalsDataItems0Owner) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GoalsDataItems0Owner) UnmarshalBinary

func (m *GoalsDataItems0Owner) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GoalsDataItems0Owner) Validate

func (m *GoalsDataItems0Owner) Validate(formats strfmt.Registry) error

Validate validates this goals data items0 owner

type Leaders

type Leaders struct {

	// current user
	CurrentUser *LeadersRank `json:"current_user,omitempty"`

	// data
	Data []*LeadersRank `json:"data"`

	// language
	Language *string `json:"language,omitempty"`

	// modified at
	// Format: date-time
	ModifiedAt strfmt.DateTime `json:"modified_at,omitempty"`

	// page
	Page int64 `json:"page,omitempty"`

	// range
	Range *LeadersRank `json:"range,omitempty"`

	// total pages
	TotalPages int64 `json:"total_pages,omitempty"`
}

Leaders leaders swagger:model leaders

func (*Leaders) MarshalBinary

func (m *Leaders) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Leaders) UnmarshalBinary

func (m *Leaders) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Leaders) Validate

func (m *Leaders) Validate(formats strfmt.Registry) error

Validate validates this leaders

type LeadersRank

type LeadersRank struct {

	// rank
	Rank int64 `json:"rank,omitempty"`

	// running total
	RunningTotal *LeadersRankRunningTotal `json:"running_total,omitempty"`

	// user
	User *LeadersRankUser `json:"user,omitempty"`
}

LeadersRank leaders rank swagger:model leaders-rank

func (*LeadersRank) MarshalBinary

func (m *LeadersRank) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LeadersRank) UnmarshalBinary

func (m *LeadersRank) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LeadersRank) Validate

func (m *LeadersRank) Validate(formats strfmt.Registry) error

Validate validates this leaders rank

type LeadersRankRunningTotal

type LeadersRankRunningTotal struct {

	// daily average
	DailyAverage int64 `json:"daily_average,omitempty"`

	// human readable daily average
	HumanReadableDailyAverage string `json:"human_readable_daily_average,omitempty"`

	// human readable total
	HumanReadableTotal string `json:"human_readable_total,omitempty"`

	// languages
	Languages []*LeadersRankRunningTotalLanguagesItems0 `json:"languages"`

	// modified at
	ModifiedAt string `json:"modified_at,omitempty"`

	// total seconds
	TotalSeconds float64 `json:"total_seconds,omitempty"`
}

LeadersRankRunningTotal leaders rank running total swagger:model LeadersRankRunningTotal

func (*LeadersRankRunningTotal) MarshalBinary

func (m *LeadersRankRunningTotal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LeadersRankRunningTotal) UnmarshalBinary

func (m *LeadersRankRunningTotal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LeadersRankRunningTotal) Validate

func (m *LeadersRankRunningTotal) Validate(formats strfmt.Registry) error

Validate validates this leaders rank running total

type LeadersRankRunningTotalLanguagesItems0

type LeadersRankRunningTotalLanguagesItems0 struct {

	// name
	Name string `json:"name,omitempty"`

	// total seconds
	TotalSeconds float64 `json:"total_seconds,omitempty"`
}

LeadersRankRunningTotalLanguagesItems0 leaders rank running total languages items0 swagger:model LeadersRankRunningTotalLanguagesItems0

func (*LeadersRankRunningTotalLanguagesItems0) MarshalBinary

func (m *LeadersRankRunningTotalLanguagesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LeadersRankRunningTotalLanguagesItems0) UnmarshalBinary

func (m *LeadersRankRunningTotalLanguagesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LeadersRankRunningTotalLanguagesItems0) Validate

Validate validates this leaders rank running total languages items0

type LeadersRankUser

type LeadersRankUser struct {

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// email
	Email *string `json:"email,omitempty"`

	// email public
	EmailPublic bool `json:"email_public,omitempty"`

	// full name
	FullName string `json:"full_name,omitempty"`

	// human readable website
	HumanReadableWebsite *string `json:"human_readable_website,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// location
	Location string `json:"location,omitempty"`

	// photo
	Photo string `json:"photo,omitempty"`

	// photo public
	PhotoPublic bool `json:"photo_public,omitempty"`

	// username
	Username *string `json:"username,omitempty"`

	// website
	Website *string `json:"website,omitempty"`
}

LeadersRankUser leaders rank user swagger:model LeadersRankUser

func (*LeadersRankUser) MarshalBinary

func (m *LeadersRankUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LeadersRankUser) UnmarshalBinary

func (m *LeadersRankUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LeadersRankUser) Validate

func (m *LeadersRankUser) Validate(formats strfmt.Registry) error

Validate validates this leaders rank user

type Projects

type Projects struct {

	// data
	Data []*ProjectsDataItems0 `json:"data"`
}

Projects projects swagger:model projects

func (*Projects) MarshalBinary

func (m *Projects) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Projects) UnmarshalBinary

func (m *Projects) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Projects) Validate

func (m *Projects) Validate(formats strfmt.Registry) error

Validate validates this projects

type ProjectsDataItems0

type ProjectsDataItems0 struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// html escaped name
	HTMLEscapedName string `json:"html_escaped_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// privacy
	Privacy string `json:"privacy,omitempty"`

	// repository
	Repository *ProjectsDataItems0Repository `json:"repository,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

ProjectsDataItems0 projects data items0 swagger:model ProjectsDataItems0

func (*ProjectsDataItems0) MarshalBinary

func (m *ProjectsDataItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectsDataItems0) UnmarshalBinary

func (m *ProjectsDataItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectsDataItems0) Validate

func (m *ProjectsDataItems0) Validate(formats strfmt.Registry) error

Validate validates this projects data items0

type ProjectsDataItems0Repository

type ProjectsDataItems0Repository struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// default branch
	DefaultBranch string `json:"default_branch,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// fork count
	ForkCount int64 `json:"fork_count,omitempty"`

	// full name
	FullName string `json:"full_name,omitempty"`

	// homepage
	Homepage *string `json:"homepage,omitempty"`

	// html url
	HTMLURL string `json:"html_url,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is fork
	IsFork bool `json:"is_fork,omitempty"`

	// is private
	IsPrivate bool `json:"is_private,omitempty"`

	// last synced at
	LastSyncedAt string `json:"last_synced_at,omitempty"`

	// modified at
	ModifiedAt string `json:"modified_at,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// star count
	StarCount int64 `json:"star_count,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// watch count
	WatchCount int64 `json:"watch_count,omitempty"`
}

ProjectsDataItems0Repository projects data items0 repository swagger:model ProjectsDataItems0Repository

func (*ProjectsDataItems0Repository) MarshalBinary

func (m *ProjectsDataItems0Repository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectsDataItems0Repository) UnmarshalBinary

func (m *ProjectsDataItems0Repository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectsDataItems0Repository) Validate

func (m *ProjectsDataItems0Repository) Validate(formats strfmt.Registry) error

Validate validates this projects data items0 repository

type Range

type Range string

Range range swagger:model range

const (

	// RangeLast7Days captures enum value "last_7_days"
	RangeLast7Days Range = "last_7_days"

	// RangeLast30Days captures enum value "last_30_days"
	RangeLast30Days Range = "last_30_days"

	// RangeLast6Months captures enum value "last_6_months"
	RangeLast6Months Range = "last_6_months"

	// RangeLastYear captures enum value "last_year"
	RangeLastYear Range = "last_year"
)

func (Range) Validate

func (m Range) Validate(formats strfmt.Registry) error

Validate validates this range

type RangeLeaders added in v0.1.8

type RangeLeaders struct {

	// end date
	// Format: date
	EndDate strfmt.Date `json:"end_date,omitempty"`

	// end text
	EndText string `json:"end_text,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// start date
	// Format: date
	StartDate strfmt.Date `json:"start_date,omitempty"`

	// start text
	StartText string `json:"start_text,omitempty"`

	// text
	Text string `json:"text,omitempty"`
}

RangeLeaders range leaders swagger:model rangeLeaders

func (*RangeLeaders) MarshalBinary added in v0.1.8

func (m *RangeLeaders) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RangeLeaders) UnmarshalBinary added in v0.1.8

func (m *RangeLeaders) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RangeLeaders) Validate added in v0.1.8

func (m *RangeLeaders) Validate(formats strfmt.Registry) error

Validate validates this range leaders

type Stats

type Stats struct {

	// best day
	BestDay *internal.BestDay `json:"best_day,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// daily average
	DailyAverage int64 `json:"daily_average,omitempty"`

	// days including holidays
	DaysIncludingHolidays int64 `json:"days_including_holidays,omitempty"`

	// days minus holidays
	DaysMinusHolidays int64 `json:"days_minus_holidays,omitempty"`

	// dependencies
	Dependencies []*StatsCategory `json:"dependencies"`

	// editors
	Editors []*StatsCategory `json:"editors"`

	// end
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// holidays
	Holidays int64 `json:"holidays,omitempty"`

	// human readable daily average
	HumanReadableDailyAverage string `json:"human_readable_daily_average,omitempty"`

	// human readable total
	HumanReadableTotal string `json:"human_readable_total,omitempty"`

	// is already updating
	IsAlreadyUpdating bool `json:"is_already_updating,omitempty"`

	// is coding activity visible
	IsCodingActivityVisible bool `json:"is_coding_activity_visible,omitempty"`

	// is other usage visible
	IsOtherUsageVisible bool `json:"is_other_usage_visible,omitempty"`

	// is stuck
	IsStuck bool `json:"is_stuck,omitempty"`

	// is up to date
	IsUpToDate bool `json:"is_up_to_date,omitempty"`

	// languages
	Languages []*StatsCategory `json:"languages"`

	// modified at
	// Format: date-time
	ModifiedAt strfmt.DateTime `json:"modified_at,omitempty"`

	// operating systems
	OperatingSystems []*StatsCategory `json:"operating_systems"`

	// projects
	Projects []*StatsCategory `json:"projects"`

	// range
	Range string `json:"range,omitempty"`

	// start
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// timeout
	Timeout int64 `json:"timeout,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`

	// total seconds
	TotalSeconds float64 `json:"total_seconds,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// writes only
	WritesOnly bool `json:"writes_only,omitempty"`
}

Stats stats swagger:model stats

func (*Stats) MarshalBinary

func (m *Stats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Stats) UnmarshalBinary

func (m *Stats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Stats) Validate

func (m *Stats) Validate(formats strfmt.Registry) error

Validate validates this stats

type StatsCategory

type StatsCategory struct {

	// digital
	Digital string `json:"digital,omitempty"`

	// hours
	Hours int64 `json:"hours,omitempty"`

	// minutes
	Minutes int64 `json:"minutes,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// percent
	Percent float64 `json:"percent,omitempty"`

	// seconds
	Seconds int64 `json:"seconds,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// total seconds
	TotalSeconds float64 `json:"total_seconds,omitempty"`
}

StatsCategory stats category swagger:model stats_category

func (*StatsCategory) MarshalBinary

func (m *StatsCategory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StatsCategory) UnmarshalBinary

func (m *StatsCategory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StatsCategory) Validate

func (m *StatsCategory) Validate(formats strfmt.Registry) error

Validate validates this stats category

type StatsPending

type StatsPending struct {

	// data
	Data *StatsPendingData `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

StatsPending stats pending swagger:model stats-pending

func (*StatsPending) MarshalBinary

func (m *StatsPending) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StatsPending) UnmarshalBinary

func (m *StatsPending) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StatsPending) Validate

func (m *StatsPending) Validate(formats strfmt.Registry) error

Validate validates this stats pending

type StatsPendingData

type StatsPendingData struct {

	// id
	ID string `json:"id,omitempty"`

	// is already updating
	IsAlreadyUpdating bool `json:"is_already_updating,omitempty"`

	// is coding activity visible
	IsCodingActivityVisible bool `json:"is_coding_activity_visible,omitempty"`

	// is other usage visible
	IsOtherUsageVisible bool `json:"is_other_usage_visible,omitempty"`

	// is stuck
	IsStuck bool `json:"is_stuck,omitempty"`

	// is up to date
	IsUpToDate bool `json:"is_up_to_date,omitempty"`

	// range
	Range string `json:"range,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// timeout
	Timeout int64 `json:"timeout,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// writes only
	WritesOnly bool `json:"writes_only,omitempty"`
}

StatsPendingData stats pending data swagger:model StatsPendingData

func (*StatsPendingData) MarshalBinary

func (m *StatsPendingData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StatsPendingData) UnmarshalBinary

func (m *StatsPendingData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StatsPendingData) Validate

func (m *StatsPendingData) Validate(formats strfmt.Registry) error

Validate validates this stats pending data

type Summaries

type Summaries struct {

	// data
	Data []*SummariesDataItems0 `json:"data"`

	// end
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// start
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`
}

Summaries summaries swagger:model summaries

func (*Summaries) MarshalBinary

func (m *Summaries) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Summaries) UnmarshalBinary

func (m *Summaries) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Summaries) Validate

func (m *Summaries) Validate(formats strfmt.Registry) error

Validate validates this summaries

type SummariesDataItems0

type SummariesDataItems0 struct {

	// categories
	Categories []*StatsCategory `json:"categories"`

	// dependencies
	Dependencies []*StatsCategory `json:"dependencies"`

	// editors
	Editors []*StatsCategory `json:"editors"`

	// grand total
	GrandTotal *SummariesDataItems0GrandTotal `json:"grand_total,omitempty"`

	// languages
	Languages []*StatsCategory `json:"languages"`

	// operating systems
	OperatingSystems []*StatsCategory `json:"operating_systems"`

	// projects
	Projects []*StatsCategory `json:"projects"`

	// range
	Range *SummariesDataItems0Range `json:"range,omitempty"`
}

SummariesDataItems0 summaries data items0 swagger:model SummariesDataItems0

func (*SummariesDataItems0) MarshalBinary

func (m *SummariesDataItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SummariesDataItems0) UnmarshalBinary

func (m *SummariesDataItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SummariesDataItems0) Validate

func (m *SummariesDataItems0) Validate(formats strfmt.Registry) error

Validate validates this summaries data items0

type SummariesDataItems0GrandTotal

type SummariesDataItems0GrandTotal struct {

	// digital
	Digital string `json:"digital,omitempty"`

	// hours
	Hours int64 `json:"hours,omitempty"`

	// minutes
	Minutes int64 `json:"minutes,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// total seconds
	TotalSeconds float64 `json:"total_seconds,omitempty"`
}

SummariesDataItems0GrandTotal summaries data items0 grand total swagger:model SummariesDataItems0GrandTotal

func (*SummariesDataItems0GrandTotal) MarshalBinary

func (m *SummariesDataItems0GrandTotal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SummariesDataItems0GrandTotal) UnmarshalBinary

func (m *SummariesDataItems0GrandTotal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SummariesDataItems0GrandTotal) Validate

func (m *SummariesDataItems0GrandTotal) Validate(formats strfmt.Registry) error

Validate validates this summaries data items0 grand total

type SummariesDataItems0Range

type SummariesDataItems0Range struct {

	// date
	// Format: date
	Date strfmt.Date `json:"date,omitempty"`

	// end
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// start
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`
}

SummariesDataItems0Range summaries data items0 range swagger:model SummariesDataItems0Range

func (*SummariesDataItems0Range) MarshalBinary

func (m *SummariesDataItems0Range) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SummariesDataItems0Range) UnmarshalBinary

func (m *SummariesDataItems0Range) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SummariesDataItems0Range) Validate

func (m *SummariesDataItems0Range) Validate(formats strfmt.Registry) error

Validate validates this summaries data items0 range

type User

type User struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// email
	Email *string `json:"email,omitempty"`

	// email public
	EmailPublic bool `json:"email_public,omitempty"`

	// full name
	FullName *string `json:"full_name,omitempty"`

	// has premium features
	HasPremiumFeatures bool `json:"has_premium_features,omitempty"`

	// human readable website
	HumanReadableWebsite *string `json:"human_readable_website,omitempty"`

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// is email confirmed
	IsEmailConfirmed bool `json:"is_email_confirmed,omitempty"`

	// is hireable
	IsHireable bool `json:"is_hireable,omitempty"`

	// languages used public
	LanguagesUsedPublic bool `json:"languages_used_public,omitempty"`

	// last heartbeat
	// Format: date-time
	LastHeartbeat *strfmt.DateTime `json:"last_heartbeat,omitempty"`

	// last plugin
	LastPlugin *string `json:"last_plugin,omitempty"`

	// last plugin name
	LastPluginName *string `json:"last_plugin_name,omitempty"`

	// last project
	LastProject *string `json:"last_project,omitempty"`

	// location
	Location *string `json:"location,omitempty"`

	// logged time public
	LoggedTimePublic bool `json:"logged_time_public,omitempty"`

	// modified at
	// Format: date-time
	ModifiedAt *strfmt.DateTime `json:"modified_at,omitempty"`

	// photo
	Photo string `json:"photo,omitempty"`

	// photo public
	PhotoPublic bool `json:"photo_public,omitempty"`

	// plan
	Plan string `json:"plan,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`

	// username
	Username *string `json:"username,omitempty"`

	// website
	Website *string `json:"website,omitempty"`
}

User user swagger:model user

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserAgents

type UserAgents struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// editor
	// Read Only: true
	Editor string `json:"editor,omitempty"`

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// last seen
	// Format: date-time
	LastSeen strfmt.DateTime `json:"last_seen,omitempty"`

	// os
	// Read Only: true
	Os string `json:"os,omitempty"`

	// value
	// Read Only: true
	Value string `json:"value,omitempty"`

	// version
	// Read Only: true
	Version string `json:"version,omitempty"`
}

UserAgents user agents swagger:model user_agents

func (*UserAgents) MarshalBinary

func (m *UserAgents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAgents) UnmarshalBinary

func (m *UserAgents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAgents) Validate

func (m *UserAgents) Validate(formats strfmt.Registry) error

Validate validates this user agents

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL