models

package
v0.0.0-...-d8f78ea Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {

	/* Role role
	 */
	Role string `json:"role,omitempty"`

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

Author author

swagger:model Author

func (*Author) Validate

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

Validate validates this author

type Comment

type Comment struct {

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

	/* Comments comments
	 */
	Comments []*Comment `json:"comments,omitempty"`

	/* CreatedDate created date
	 */
	CreatedDate int64 `json:"createdDate,omitempty"`

	/* ID id
	 */
	ID int64 `json:"id,omitempty"`

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

	/* UpdatedDate updated date
	 */
	UpdatedDate int64 `json:"updatedDate,omitempty"`

	/* Version version
	 */
	Version int64 `json:"version,omitempty"`
}

Comment comment

swagger:model Comment

func (*Comment) Validate

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

Validate validates this comment

type CommitsResponse

type CommitsResponse struct {

	/* IsLastPage is last page
	 */
	IsLastPage bool `json:"isLastPage,omitempty"`

	/* Limit limit
	 */
	Limit int64 `json:"limit,omitempty"`

	/* NextPageStart next page start
	 */
	NextPageStart int64 `json:"nextPageStart,omitempty"`

	/* Size size
	 */
	Size int64 `json:"size,omitempty"`

	/* Start start
	 */
	Start int64 `json:"start,omitempty"`
}

CommitsResponse commits response

swagger:model CommitsResponse

func (*CommitsResponse) Validate

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

Validate validates this commits response

type Link struct {

	/* Rel rel
	 */
	Rel string `json:"rel,omitempty"`

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

Link link

swagger:model Link

func (*Link) Validate

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

Validate validates this link

type NotFound

type NotFound interface{}

NotFound not found

swagger:model NotFound

type PullRequest

type PullRequest struct {

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

	/* CreatedDate created date
	 */
	CreatedDate int64 `json:"createdDate,omitempty"`

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

	/* ID id
	 */
	ID int64 `json:"id,omitempty"`

	/* Links links
	 */
	Links *PullRequestLinks `json:"links,omitempty"`

	/* State state
	 */
	State string `json:"state,omitempty"`

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

	/* UpdatedDate updated date
	 */
	UpdatedDate int64 `json:"updatedDate,omitempty"`

	/* Version version
	 */
	Version int64 `json:"version,omitempty"`
}

PullRequest pull request

swagger:model PullRequest

func (*PullRequest) Validate

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

Validate validates this pull request

type PullRequestActivitiesResponse

type PullRequestActivitiesResponse struct {

	/* IsLastPage is last page
	 */
	IsLastPage bool `json:"isLastPage,omitempty"`

	/* Limit limit
	 */
	Limit int64 `json:"limit,omitempty"`

	/* NextPageStart next page start
	 */
	NextPageStart int64 `json:"nextPageStart,omitempty"`

	/* Size size
	 */
	Size int64 `json:"size,omitempty"`

	/* Start start
	 */
	Start int64 `json:"start,omitempty"`

	/* Values values
	 */
	Values []*PullRequestActivity `json:"values,omitempty"`
}

PullRequestActivitiesResponse pull request activities response

swagger:model PullRequestActivitiesResponse

func (*PullRequestActivitiesResponse) Validate

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

Validate validates this pull request activities response

type PullRequestActivity

type PullRequestActivity struct {

	/* Action action
	 */
	Action string `json:"action,omitempty"`

	/* Comment comment
	 */
	Comment *Comment `json:"comment,omitempty"`

	/* CreatedDate created date
	 */
	CreatedDate int64 `json:"createdDate,omitempty"`

	/* ID id
	 */
	ID int64 `json:"id,omitempty"`

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

PullRequestActivity pull request activity

swagger:model PullRequestActivity

func (*PullRequestActivity) Validate

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

Validate validates this pull request activity

type PullRequestLinks struct {

	/* Self self
	 */
	Self []*PullRequestSelfItems0 `json:"self,omitempty"`
}

PullRequestLinks pull request links

swagger:model PullRequestLinks

func (*PullRequestLinks) Validate

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

Validate validates this pull request links

type PullRequestResponse

type PullRequestResponse struct {

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

	/* CreatedDate created date
	 */
	CreatedDate int64 `json:"createdDate,omitempty"`

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

	/* ID id
	 */
	ID int64 `json:"id,omitempty"`

	/* State state
	 */
	State string `json:"state,omitempty"`

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

	/* UpdatedDate updated date
	 */
	UpdatedDate int64 `json:"updatedDate,omitempty"`

	/* Version version
	 */
	Version int64 `json:"version,omitempty"`
}

PullRequestResponse pull request response

swagger:model PullRequestResponse

func (*PullRequestResponse) Validate

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

Validate validates this pull request response

type PullRequestSelfItems0

type PullRequestSelfItems0 struct {

	/* Href href
	 */
	Href string `json:"href,omitempty"`
}

PullRequestSelfItems0 pull request self items0

swagger:model PullRequestSelfItems0

func (*PullRequestSelfItems0) Validate

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

Validate validates this pull request self items0

type PullRequestsResponse

type PullRequestsResponse struct {

	/* IsLastPage is last page
	 */
	IsLastPage bool `json:"isLastPage,omitempty"`

	/* Limit limit
	 */
	Limit int64 `json:"limit,omitempty"`

	/* NextPageStart next page start
	 */
	NextPageStart int64 `json:"nextPageStart,omitempty"`

	/* Size size
	 */
	Size int64 `json:"size,omitempty"`

	/* Start start
	 */
	Start int64 `json:"start,omitempty"`

	/* Values values
	 */
	Values []*PullRequest `json:"values,omitempty"`
}

PullRequestsResponse pull requests response

swagger:model PullRequestsResponse

func (*PullRequestsResponse) Validate

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

Validate validates this pull requests response

type User

type User struct {

	/* e.g. John Smith
	 */
	DisplayName string `json:"displayName,omitempty"`

	/* EmailAddress email address
	 */
	EmailAddress string `json:"emailAddress,omitempty"`

	/* ID id
	 */
	ID int64 `json:"id,omitempty"`

	/* Link link
	 */
	Link *Link `json:"link,omitempty"`

	/* e.g. short ldap name
	 */
	Name string `json:"name,omitempty"`

	/* e.g. ldap name
	 */
	Slug string `json:"slug,omitempty"`
}

User user

swagger:model User

func (*User) Validate

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

Validate validates this user

Jump to

Keyboard shortcuts

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