gitee

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "v0.1.0"
)

Variables

This section is empty.

Functions

func CheckResponse

func CheckResponse(r *http.Response) error

Types

type Client

type Client struct {

	// Base URL for API request. Defaults to the public CNB API, but can be
	// set to a domain endpoint to use the CNB PAAS. BaseURL should
	// always be specified with a trailing slash.
	BaseURL *url.URL

	// User agent used when communicating with the CNB API.
	UserAgent string

	// Services used for talking to different parts of the CNB API.
	ClientService
	// contains filtered or unexported fields
}

A Client manages communication with the CNB API.

func NewClient

func NewClient(httpClient *http.Client) *Client

NewClient returns a new CNB API client. If a nil httpClient is provided, a new http.Client will be used. To use API methods which require authentication, either use Client.WithAuthToken or provide NewClient with a http.Client that will perform the authentication for you

func (*Client) BareDo

func (c *Client) BareDo(ctx context.Context, req *http.Request) (*Response, error)

func (*Client) Do

func (c *Client) Do(ctx context.Context, req *http.Request, v interface{}) (*Response, error)

func (*Client) NewRequest

func (c *Client) NewRequest(method, urlStr string, body interface{}, opts ...RequestOption) (*http.Request, error)

func (*Client) WithToken

func (c *Client) WithToken(token string) *Client

type ClientService

type ClientService struct {
	Activity      *activityService
	Checks        *checksService
	Emails        *emailsService
	Enterprises   *enterprisesService
	Gists         *gistsService
	GitData       *gitDataService
	Issues        *issuesService
	Labels        *labelsService
	Milestones    *milestonesService
	Miscellaneous *miscellaneousService
	Organizations *organizationsService
	PullRequests  *pullRequestsService
	Repositories  *repositoriesService
	Search        *searchService
	Users         *usersService
	Webhooks      *webhooksService
}

type DeleteV5EnterprisesEnterpriseMembersUsernameOptions

type DeleteV5EnterprisesEnterpriseMembersUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5EnterprisesEnterpriseMembersUsernameOptions ...

type DeleteV5EnterprisesEnterpriseWeekReportsReportIdCommentsIdOptions

type DeleteV5EnterprisesEnterpriseWeekReportsReportIdCommentsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5EnterprisesEnterpriseWeekReportsReportIdCommentsIdOptions ...

type DeleteV5GistsGistIdCommentsIdOptions

type DeleteV5GistsGistIdCommentsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5GistsGistIdCommentsIdOptions ...

type DeleteV5GistsIdOptions

type DeleteV5GistsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5GistsIdOptions ...

type DeleteV5GistsIdStarOptions

type DeleteV5GistsIdStarOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5GistsIdStarOptions ...

type DeleteV5OrgsOrgMembershipsUsernameOptions

type DeleteV5OrgsOrgMembershipsUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5OrgsOrgMembershipsUsernameOptions ...

type DeleteV5ReposOwnerRepoBaiduStatisticKeyOptions

type DeleteV5ReposOwnerRepoBaiduStatisticKeyOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoBaiduStatisticKeyOptions ...

type DeleteV5ReposOwnerRepoBranchesBranchProtectionOptions

type DeleteV5ReposOwnerRepoBranchesBranchProtectionOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoBranchesBranchProtectionOptions ...

type DeleteV5ReposOwnerRepoBranchesWildcardSettingOptions

type DeleteV5ReposOwnerRepoBranchesWildcardSettingOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoBranchesWildcardSettingOptions ...

type DeleteV5ReposOwnerRepoCollaboratorsUsernameOptions

type DeleteV5ReposOwnerRepoCollaboratorsUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoCollaboratorsUsernameOptions ...

type DeleteV5ReposOwnerRepoCommentsIdOptions

type DeleteV5ReposOwnerRepoCommentsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoCommentsIdOptions ...

type DeleteV5ReposOwnerRepoContentsPathOptions

type DeleteV5ReposOwnerRepoContentsPathOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Sha         string `url:"sha,omitempty"`
	Message     string `url:"message,omitempty"`
	Branch      string `url:"branch,omitempty"`
}

DeleteV5ReposOwnerRepoContentsPathOptions ...

type DeleteV5ReposOwnerRepoHooksIdOptions

type DeleteV5ReposOwnerRepoHooksIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoHooksIdOptions ...

type DeleteV5ReposOwnerRepoIssuesCommentsIdOptions

type DeleteV5ReposOwnerRepoIssuesCommentsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoIssuesCommentsIdOptions ...

type DeleteV5ReposOwnerRepoIssuesNumberLabelsNameOptions

type DeleteV5ReposOwnerRepoIssuesNumberLabelsNameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoIssuesNumberLabelsNameOptions ...

type DeleteV5ReposOwnerRepoIssuesNumberLabelsOptions

type DeleteV5ReposOwnerRepoIssuesNumberLabelsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoIssuesNumberLabelsOptions ...

type DeleteV5ReposOwnerRepoKeysEnableIdOptions

type DeleteV5ReposOwnerRepoKeysEnableIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoKeysEnableIdOptions ...

type DeleteV5ReposOwnerRepoKeysIdOptions

type DeleteV5ReposOwnerRepoKeysIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoKeysIdOptions ...

type DeleteV5ReposOwnerRepoLabelsNameOptions

type DeleteV5ReposOwnerRepoLabelsNameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoLabelsNameOptions ...

type DeleteV5ReposOwnerRepoMilestonesNumberOptions

type DeleteV5ReposOwnerRepoMilestonesNumberOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoMilestonesNumberOptions ...

type DeleteV5ReposOwnerRepoOptions

type DeleteV5ReposOwnerRepoOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoOptions ...

type DeleteV5ReposOwnerRepoProjectLabelsOptions

type DeleteV5ReposOwnerRepoProjectLabelsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoProjectLabelsOptions ...

type DeleteV5ReposOwnerRepoProjectLabelsRequest

type DeleteV5ReposOwnerRepoProjectLabelsRequest []string

DeleteV5ReposOwnerRepoProjectLabelsRequest ...

type DeleteV5ReposOwnerRepoPullsNumberAssigneesOptions

type DeleteV5ReposOwnerRepoPullsNumberAssigneesOptions struct {
	Assignees string `url:"assignees,omitempty"`
}

DeleteV5ReposOwnerRepoPullsNumberAssigneesOptions ...

type DeleteV5ReposOwnerRepoPullsNumberTestersOptions

type DeleteV5ReposOwnerRepoPullsNumberTestersOptions struct {
	Testers string `url:"testers,omitempty"`
}

DeleteV5ReposOwnerRepoPullsNumberTestersOptions ...

type DeleteV5ReposOwnerRepoReleasesIdOptions

type DeleteV5ReposOwnerRepoReleasesIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoReleasesIdOptions ...

type DeleteV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdOptions

type DeleteV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdOptions ...

type DeleteV5UserFollowingUsernameOptions

type DeleteV5UserFollowingUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5UserFollowingUsernameOptions ...

type DeleteV5UserKeysIdOptions

type DeleteV5UserKeysIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5UserKeysIdOptions ...

type DeleteV5UserMembershipsOrgsOrgOptions

type DeleteV5UserMembershipsOrgsOrgOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5UserMembershipsOrgsOrgOptions ...

type DeleteV5UserSubscriptionsOwnerRepoOptions

type DeleteV5UserSubscriptionsOwnerRepoOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

DeleteV5UserSubscriptionsOwnerRepoOptions ...

type ErrorResponse

type ErrorResponse struct {
	Response *http.Response `json:"-"`
	ErrCode  int            `json:"errcode"`
	ErrMsg   string         `json:"errmsg"`
}

func (*ErrorResponse) Error

func (r *ErrorResponse) Error() string

type GetV5EmailsOptions

type GetV5EmailsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EmailsOptions ...

type GetV5EmojisOptions

type GetV5EmojisOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EmojisOptions ...

type GetV5EnterpriseEnterprisePullRequestsOptions

type GetV5EnterpriseEnterprisePullRequestsOptions struct {
	AccessToken     string `url:"access_token,omitempty"`
	IssueNumber     string `url:"issue_number,omitempty"`
	Repo            string `url:"repo,omitempty"`
	ProgramId       int    `url:"program_id,omitempty"`
	State           string `url:"state,omitempty"`
	Head            string `url:"head,omitempty"`
	Base            string `url:"base,omitempty"`
	Sort            string `url:"sort,omitempty"`
	Since           string `url:"since,omitempty"`
	Direction       string `url:"direction,omitempty"`
	MilestoneNumber int    `url:"milestone_number,omitempty"`
	Labels          string `url:"labels,omitempty"`
	Page            int    `url:"page,omitempty"`
	PerPage         int    `url:"per_page,omitempty"`
}

GetV5EnterpriseEnterprisePullRequestsOptions ...

type GetV5EnterprisesEnterpriseIssuesNumberCommentsOptions

type GetV5EnterprisesEnterpriseIssuesNumberCommentsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5EnterprisesEnterpriseIssuesNumberCommentsOptions ...

type GetV5EnterprisesEnterpriseIssuesNumberLabelsOptions

type GetV5EnterprisesEnterpriseIssuesNumberLabelsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5EnterprisesEnterpriseIssuesNumberLabelsOptions ...

type GetV5EnterprisesEnterpriseIssuesNumberOptions

type GetV5EnterprisesEnterpriseIssuesNumberOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EnterprisesEnterpriseIssuesNumberOptions ...

type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOptions

type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOptions ...

type GetV5EnterprisesEnterpriseIssuesOptions

type GetV5EnterprisesEnterpriseIssuesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	State       string `url:"state,omitempty"`
	Labels      string `url:"labels,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Schedule    string `url:"schedule,omitempty"`
	Deadline    string `url:"deadline,omitempty"`
	CreatedAt   string `url:"created_at,omitempty"`
	FinishedAt  string `url:"finished_at,omitempty"`
	Milestone   string `url:"milestone,omitempty"`
	Assignee    string `url:"assignee,omitempty"`
	Creator     string `url:"creator,omitempty"`
	Program     string `url:"program,omitempty"`
}

GetV5EnterprisesEnterpriseIssuesOptions ...

type GetV5EnterprisesEnterpriseLabelsNameOptions

type GetV5EnterprisesEnterpriseLabelsNameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EnterprisesEnterpriseLabelsNameOptions ...

type GetV5EnterprisesEnterpriseLabelsOptions

type GetV5EnterprisesEnterpriseLabelsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EnterprisesEnterpriseLabelsOptions ...

type GetV5EnterprisesEnterpriseMembersOptions

type GetV5EnterprisesEnterpriseMembersOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Role        string `url:"role,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5EnterprisesEnterpriseMembersOptions ...

type GetV5EnterprisesEnterpriseMembersSearchOptions

type GetV5EnterprisesEnterpriseMembersSearchOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	QueryType   string `url:"query_type,omitempty"`
	QueryValue  string `url:"query_value,omitempty"`
}

GetV5EnterprisesEnterpriseMembersSearchOptions ...

type GetV5EnterprisesEnterpriseMembersUsernameOptions

type GetV5EnterprisesEnterpriseMembersUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EnterprisesEnterpriseMembersUsernameOptions ...

type GetV5EnterprisesEnterpriseOptions

type GetV5EnterprisesEnterpriseOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EnterprisesEnterpriseOptions ...

type GetV5EnterprisesEnterpriseReposOptions

type GetV5EnterprisesEnterpriseReposOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Search      string `url:"search,omitempty"`
	Type        string `url:"type,omitempty"`
	Direct      bool   `url:"direct,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5EnterprisesEnterpriseReposOptions ...

type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOptions

type GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5EnterprisesEnterpriseUsersUsernameWeekReportsOptions ...

type GetV5EnterprisesEnterpriseWeekReportsIdCommentsOptions

type GetV5EnterprisesEnterpriseWeekReportsIdCommentsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5EnterprisesEnterpriseWeekReportsIdCommentsOptions ...

type GetV5EnterprisesEnterpriseWeekReportsIdOptions

type GetV5EnterprisesEnterpriseWeekReportsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5EnterprisesEnterpriseWeekReportsIdOptions ...

type GetV5EnterprisesEnterpriseWeekReportsOptions

type GetV5EnterprisesEnterpriseWeekReportsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Username    string `url:"username,omitempty"`
	Year        int    `url:"year,omitempty"`
	WeekIndex   int    `url:"week_index,omitempty"`
	Date        string `url:"date,omitempty"`
}

GetV5EnterprisesEnterpriseWeekReportsOptions ...

type GetV5GistsGistIdCommentsIdOptions

type GetV5GistsGistIdCommentsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5GistsGistIdCommentsIdOptions ...

type GetV5GistsGistIdCommentsOptions

type GetV5GistsGistIdCommentsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5GistsGistIdCommentsOptions ...

type GetV5GistsIdCommitsOptions

type GetV5GistsIdCommitsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5GistsIdCommitsOptions ...

type GetV5GistsIdForksOptions

type GetV5GistsIdForksOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5GistsIdForksOptions ...

type GetV5GistsIdOptions

type GetV5GistsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5GistsIdOptions ...

type GetV5GistsIdStarOptions

type GetV5GistsIdStarOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5GistsIdStarOptions ...

type GetV5GistsOptions

type GetV5GistsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5GistsOptions ...

type GetV5GistsStarredOptions

type GetV5GistsStarredOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5GistsStarredOptions ...

type GetV5GitignoreTemplatesNameOptions

type GetV5GitignoreTemplatesNameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5GitignoreTemplatesNameOptions ...

type GetV5GitignoreTemplatesNameRawOptions

type GetV5GitignoreTemplatesNameRawOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5GitignoreTemplatesNameRawOptions ...

type GetV5GitignoreTemplatesOptions

type GetV5GitignoreTemplatesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5GitignoreTemplatesOptions ...

type GetV5IssuesOptions

type GetV5IssuesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Filter      string `url:"filter,omitempty"`
	State       string `url:"state,omitempty"`
	Labels      string `url:"labels,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Schedule    string `url:"schedule,omitempty"`
	Deadline    string `url:"deadline,omitempty"`
	CreatedAt   string `url:"created_at,omitempty"`
	FinishedAt  string `url:"finished_at,omitempty"`
}

GetV5IssuesOptions ...

type GetV5LicensesLicenseOptions

type GetV5LicensesLicenseOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5LicensesLicenseOptions ...

type GetV5LicensesLicenseRawOptions

type GetV5LicensesLicenseRawOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5LicensesLicenseRawOptions ...

type GetV5LicensesOptions

type GetV5LicensesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5LicensesOptions ...

type GetV5NetworksOwnerRepoEventsOptions

type GetV5NetworksOwnerRepoEventsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
}

GetV5NetworksOwnerRepoEventsOptions ...

type GetV5NotificationsCountOptions

type GetV5NotificationsCountOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Unread      bool   `url:"unread,omitempty"`
}

GetV5NotificationsCountOptions ...

type GetV5NotificationsMessagesIdOptions

type GetV5NotificationsMessagesIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5NotificationsMessagesIdOptions ...

type GetV5NotificationsMessagesOptions

type GetV5NotificationsMessagesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Unread      bool   `url:"unread,omitempty"`
	Since       string `url:"since,omitempty"`
	Before      string `url:"before,omitempty"`
	Ids         string `url:"ids,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5NotificationsMessagesOptions ...

type GetV5NotificationsThreadsIdOptions

type GetV5NotificationsThreadsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5NotificationsThreadsIdOptions ...

type GetV5NotificationsThreadsOptions

type GetV5NotificationsThreadsOptions struct {
	AccessToken   string `url:"access_token,omitempty"`
	Unread        bool   `url:"unread,omitempty"`
	Participating bool   `url:"participating,omitempty"`
	Type          string `url:"type,omitempty"`
	Since         string `url:"since,omitempty"`
	Before        string `url:"before,omitempty"`
	Ids           string `url:"ids,omitempty"`
	Page          int    `url:"page,omitempty"`
	PerPage       int    `url:"per_page,omitempty"`
}

GetV5NotificationsThreadsOptions ...

type GetV5OrgsOrgEventsOptions

type GetV5OrgsOrgEventsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
}

GetV5OrgsOrgEventsOptions ...

type GetV5OrgsOrgFollowersOptions

type GetV5OrgsOrgFollowersOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5OrgsOrgFollowersOptions ...

type GetV5OrgsOrgIssuesOptions

type GetV5OrgsOrgIssuesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Filter      string `url:"filter,omitempty"`
	State       string `url:"state,omitempty"`
	Labels      string `url:"labels,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Schedule    string `url:"schedule,omitempty"`
	Deadline    string `url:"deadline,omitempty"`
	CreatedAt   string `url:"created_at,omitempty"`
	FinishedAt  string `url:"finished_at,omitempty"`
}

GetV5OrgsOrgIssuesOptions ...

type GetV5OrgsOrgMembersOptions

type GetV5OrgsOrgMembersOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Role        string `url:"role,omitempty"`
}

GetV5OrgsOrgMembersOptions ...

type GetV5OrgsOrgMembershipsUsernameOptions

type GetV5OrgsOrgMembershipsUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5OrgsOrgMembershipsUsernameOptions ...

type GetV5OrgsOrgOptions

type GetV5OrgsOrgOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5OrgsOrgOptions ...

type GetV5OrgsOrgReposOptions

type GetV5OrgsOrgReposOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Type        string `url:"type,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5OrgsOrgReposOptions ...

type GetV5ReposOwnerIssuesNumberOperateLogsOptions

type GetV5ReposOwnerIssuesNumberOperateLogsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Repo        string `url:"repo,omitempty"`
	Sort        string `url:"sort,omitempty"`
}

GetV5ReposOwnerIssuesNumberOperateLogsOptions ...

type GetV5ReposOwnerIssuesNumberPullRequestsOptions

type GetV5ReposOwnerIssuesNumberPullRequestsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Repo        string `url:"repo,omitempty"`
}

GetV5ReposOwnerIssuesNumberPullRequestsOptions ...

type GetV5ReposOwnerRepoBaiduStatisticKeyOptions

type GetV5ReposOwnerRepoBaiduStatisticKeyOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoBaiduStatisticKeyOptions ...

type GetV5ReposOwnerRepoBlamePathOptions

type GetV5ReposOwnerRepoBlamePathOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Ref         string `url:"ref,omitempty"`
}

GetV5ReposOwnerRepoBlamePathOptions ...

type GetV5ReposOwnerRepoBranchesBranchOptions

type GetV5ReposOwnerRepoBranchesBranchOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoBranchesBranchOptions ...

type GetV5ReposOwnerRepoBranchesOptions

type GetV5ReposOwnerRepoBranchesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoBranchesOptions ...

type GetV5ReposOwnerRepoCheckRunsCheckRunIdAnnotationsOptions

type GetV5ReposOwnerRepoCheckRunsCheckRunIdAnnotationsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoCheckRunsCheckRunIdAnnotationsOptions ...

type GetV5ReposOwnerRepoCheckRunsCheckRunIdOptions

type GetV5ReposOwnerRepoCheckRunsCheckRunIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoCheckRunsCheckRunIdOptions ...

type GetV5ReposOwnerRepoCollaboratorsOptions

type GetV5ReposOwnerRepoCollaboratorsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoCollaboratorsOptions ...

type GetV5ReposOwnerRepoCollaboratorsUsernameOptions

type GetV5ReposOwnerRepoCollaboratorsUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoCollaboratorsUsernameOptions ...

type GetV5ReposOwnerRepoCollaboratorsUsernamePermissionOptions

type GetV5ReposOwnerRepoCollaboratorsUsernamePermissionOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoCollaboratorsUsernamePermissionOptions ...

type GetV5ReposOwnerRepoCommentsIdOptions

type GetV5ReposOwnerRepoCommentsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoCommentsIdOptions ...

type GetV5ReposOwnerRepoCommentsOptions

type GetV5ReposOwnerRepoCommentsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Order       string `url:"order,omitempty"`
}

GetV5ReposOwnerRepoCommentsOptions ...

type GetV5ReposOwnerRepoCommitsOptions

type GetV5ReposOwnerRepoCommitsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Sha         string `url:"sha,omitempty"`
	Path        string `url:"path,omitempty"`
	Author      string `url:"author,omitempty"`
	Since       string `url:"since,omitempty"`
	Until       string `url:"until,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoCommitsOptions ...

type GetV5ReposOwnerRepoCommitsRefCheckRunsOptions

type GetV5ReposOwnerRepoCommitsRefCheckRunsOptions struct {
	AccessToken   string `url:"access_token,omitempty"`
	Page          int    `url:"page,omitempty"`
	PerPage       int    `url:"per_page,omitempty"`
	PullRequestId int    `url:"pull_request_id,omitempty"`
	CheckName     string `url:"check_name,omitempty"`
	Status        string `url:"status,omitempty"`
	Filter        string `url:"filter,omitempty"`
}

GetV5ReposOwnerRepoCommitsRefCheckRunsOptions ...

type GetV5ReposOwnerRepoCommitsRefCommentsOptions

type GetV5ReposOwnerRepoCommitsRefCommentsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoCommitsRefCommentsOptions ...

type GetV5ReposOwnerRepoCommitsShaOptions

type GetV5ReposOwnerRepoCommitsShaOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoCommitsShaOptions ...

type GetV5ReposOwnerRepoCompareBaseHeadOptions

type GetV5ReposOwnerRepoCompareBaseHeadOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Straight    bool   `url:"straight,omitempty"`
	Suffix      string `url:"suffix,omitempty"`
}

GetV5ReposOwnerRepoCompareBaseHeadOptions ...

type GetV5ReposOwnerRepoContentsPathOptions

type GetV5ReposOwnerRepoContentsPathOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Ref         string `url:"ref,omitempty"`
}

GetV5ReposOwnerRepoContentsPathOptions ...

type GetV5ReposOwnerRepoContributorsOptions

type GetV5ReposOwnerRepoContributorsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Type        string `url:"type,omitempty"`
}

GetV5ReposOwnerRepoContributorsOptions ...

type GetV5ReposOwnerRepoEventsOptions

type GetV5ReposOwnerRepoEventsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
}

GetV5ReposOwnerRepoEventsOptions ...

type GetV5ReposOwnerRepoForksOptions

type GetV5ReposOwnerRepoForksOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoForksOptions ...

type GetV5ReposOwnerRepoGitBlobsShaOptions

type GetV5ReposOwnerRepoGitBlobsShaOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoGitBlobsShaOptions ...

type GetV5ReposOwnerRepoGitGiteeMetricsOptions

type GetV5ReposOwnerRepoGitGiteeMetricsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoGitGiteeMetricsOptions ...

type GetV5ReposOwnerRepoGitTreesShaOptions

type GetV5ReposOwnerRepoGitTreesShaOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Recursive   int    `url:"recursive,omitempty"`
}

GetV5ReposOwnerRepoGitTreesShaOptions ...

type GetV5ReposOwnerRepoHooksIdOptions

type GetV5ReposOwnerRepoHooksIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoHooksIdOptions ...

type GetV5ReposOwnerRepoHooksOptions

type GetV5ReposOwnerRepoHooksOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoHooksOptions ...

type GetV5ReposOwnerRepoIssuesCommentsIdOptions

type GetV5ReposOwnerRepoIssuesCommentsIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoIssuesCommentsIdOptions ...

type GetV5ReposOwnerRepoIssuesCommentsOptions

type GetV5ReposOwnerRepoIssuesCommentsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoIssuesCommentsOptions ...

type GetV5ReposOwnerRepoIssuesNumberCommentsOptions

type GetV5ReposOwnerRepoIssuesNumberCommentsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Order       string `url:"order,omitempty"`
}

GetV5ReposOwnerRepoIssuesNumberCommentsOptions ...

type GetV5ReposOwnerRepoIssuesNumberLabelsOptions

type GetV5ReposOwnerRepoIssuesNumberLabelsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoIssuesNumberLabelsOptions ...

type GetV5ReposOwnerRepoIssuesNumberOptions

type GetV5ReposOwnerRepoIssuesNumberOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoIssuesNumberOptions ...

type GetV5ReposOwnerRepoIssuesOptions

type GetV5ReposOwnerRepoIssuesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	State       string `url:"state,omitempty"`
	Labels      string `url:"labels,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Schedule    string `url:"schedule,omitempty"`
	Deadline    string `url:"deadline,omitempty"`
	CreatedAt   string `url:"created_at,omitempty"`
	FinishedAt  string `url:"finished_at,omitempty"`
	Milestone   string `url:"milestone,omitempty"`
	Assignee    string `url:"assignee,omitempty"`
	Creator     string `url:"creator,omitempty"`
	Program     string `url:"program,omitempty"`
	Q           string `url:"q,omitempty"`
}

GetV5ReposOwnerRepoIssuesOptions ...

type GetV5ReposOwnerRepoKeysAvailableOptions

type GetV5ReposOwnerRepoKeysAvailableOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoKeysAvailableOptions ...

type GetV5ReposOwnerRepoKeysIdOptions

type GetV5ReposOwnerRepoKeysIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoKeysIdOptions ...

type GetV5ReposOwnerRepoKeysOptions

type GetV5ReposOwnerRepoKeysOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoKeysOptions ...

type GetV5ReposOwnerRepoLabelsNameOptions

type GetV5ReposOwnerRepoLabelsNameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoLabelsNameOptions ...

type GetV5ReposOwnerRepoLabelsOptions

type GetV5ReposOwnerRepoLabelsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoLabelsOptions ...

type GetV5ReposOwnerRepoLanguagesOptions

type GetV5ReposOwnerRepoLanguagesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoLanguagesOptions ...

type GetV5ReposOwnerRepoLicenseOptions

type GetV5ReposOwnerRepoLicenseOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoLicenseOptions ...

type GetV5ReposOwnerRepoMilestonesNumberOptions

type GetV5ReposOwnerRepoMilestonesNumberOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoMilestonesNumberOptions ...

type GetV5ReposOwnerRepoMilestonesOptions

type GetV5ReposOwnerRepoMilestonesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	State       string `url:"state,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoMilestonesOptions ...

type GetV5ReposOwnerRepoNotificationsOptions

type GetV5ReposOwnerRepoNotificationsOptions struct {
	AccessToken   string `url:"access_token,omitempty"`
	Unread        bool   `url:"unread,omitempty"`
	Participating bool   `url:"participating,omitempty"`
	Type          string `url:"type,omitempty"`
	Since         string `url:"since,omitempty"`
	Before        string `url:"before,omitempty"`
	Ids           string `url:"ids,omitempty"`
	Page          int    `url:"page,omitempty"`
	PerPage       int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoNotificationsOptions ...

type GetV5ReposOwnerRepoOptions

type GetV5ReposOwnerRepoOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoOptions ...

type GetV5ReposOwnerRepoPagesOptions

type GetV5ReposOwnerRepoPagesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoPagesOptions ...

type GetV5ReposOwnerRepoProjectLabelsOptions

type GetV5ReposOwnerRepoProjectLabelsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoProjectLabelsOptions ...

type GetV5ReposOwnerRepoPullsNumberCommentsOptions

type GetV5ReposOwnerRepoPullsNumberCommentsOptions struct {
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Direction   string `url:"direction,omitempty"`
	CommentType string `url:"comment_type,omitempty"`
}

GetV5ReposOwnerRepoPullsNumberCommentsOptions ...

type GetV5ReposOwnerRepoPullsNumberIssuesOptions

type GetV5ReposOwnerRepoPullsNumberIssuesOptions struct {
	Page    int `url:"page,omitempty"`
	PerPage int `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoPullsNumberIssuesOptions ...

type GetV5ReposOwnerRepoPullsNumberLabelsOptions

type GetV5ReposOwnerRepoPullsNumberLabelsOptions struct {
	Page    int `url:"page,omitempty"`
	PerPage int `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoPullsNumberLabelsOptions ...

type GetV5ReposOwnerRepoPullsNumberOperateLogsOptions

type GetV5ReposOwnerRepoPullsNumberOperateLogsOptions struct {
	Sort string `url:"sort,omitempty"`
}

GetV5ReposOwnerRepoPullsNumberOperateLogsOptions ...

type GetV5ReposOwnerRepoPullsOptions

type GetV5ReposOwnerRepoPullsOptions struct {
	State           string `url:"state,omitempty"`
	Head            string `url:"head,omitempty"`
	Base            string `url:"base,omitempty"`
	Sort            string `url:"sort,omitempty"`
	Since           string `url:"since,omitempty"`
	Direction       string `url:"direction,omitempty"`
	MilestoneNumber int    `url:"milestone_number,omitempty"`
	Labels          string `url:"labels,omitempty"`
	Page            int    `url:"page,omitempty"`
	PerPage         int    `url:"per_page,omitempty"`
	Author          string `url:"author,omitempty"`
	Assignee        string `url:"assignee,omitempty"`
	Tester          string `url:"tester,omitempty"`
}

GetV5ReposOwnerRepoPullsOptions ...

type GetV5ReposOwnerRepoPushConfigOptions

type GetV5ReposOwnerRepoPushConfigOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoPushConfigOptions ...

type GetV5ReposOwnerRepoRawPathOptions

type GetV5ReposOwnerRepoRawPathOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Ref         string `url:"ref,omitempty"`
}

GetV5ReposOwnerRepoRawPathOptions ...

type GetV5ReposOwnerRepoReadmeOptions

type GetV5ReposOwnerRepoReadmeOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Ref         string `url:"ref,omitempty"`
}

GetV5ReposOwnerRepoReadmeOptions ...

type GetV5ReposOwnerRepoReleasesIdOptions

type GetV5ReposOwnerRepoReleasesIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoReleasesIdOptions ...

type GetV5ReposOwnerRepoReleasesLatestOptions

type GetV5ReposOwnerRepoReleasesLatestOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoReleasesLatestOptions ...

type GetV5ReposOwnerRepoReleasesOptions

type GetV5ReposOwnerRepoReleasesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Direction   string `url:"direction,omitempty"`
}

GetV5ReposOwnerRepoReleasesOptions ...

type GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdDownloadOptions

type GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdDownloadOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdDownloadOptions ...

type GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdOptions

type GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesAttachFileIdOptions ...

type GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesOptions

type GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Direction   string `url:"direction,omitempty"`
}

GetV5ReposOwnerRepoReleasesReleaseIdAttachFilesOptions ...

type GetV5ReposOwnerRepoReleasesTagsTagOptions

type GetV5ReposOwnerRepoReleasesTagsTagOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5ReposOwnerRepoReleasesTagsTagOptions ...

type GetV5ReposOwnerRepoSubscribersOptions

type GetV5ReposOwnerRepoSubscribersOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoSubscribersOptions ...

type GetV5ReposOwnerRepoTagsOptions

type GetV5ReposOwnerRepoTagsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5ReposOwnerRepoTagsOptions ...

type GetV5ReposOwnerRepoTarballOptions

type GetV5ReposOwnerRepoTarballOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Ref         string `url:"ref,omitempty"`
}

GetV5ReposOwnerRepoTarballOptions ...

type GetV5ReposOwnerRepoZipballOptions

type GetV5ReposOwnerRepoZipballOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Ref         string `url:"ref,omitempty"`
}

GetV5ReposOwnerRepoZipballOptions ...

type GetV5SearchIssuesOptions

type GetV5SearchIssuesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Q           string `url:"q,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Repo        string `url:"repo,omitempty"`
	Language    string `url:"language,omitempty"`
	Label       string `url:"label,omitempty"`
	State       string `url:"state,omitempty"`
	Author      string `url:"author,omitempty"`
	Assignee    string `url:"assignee,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Order       string `url:"order,omitempty"`
}

GetV5SearchIssuesOptions ...

type GetV5SearchRepositoriesOptions

type GetV5SearchRepositoriesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Q           string `url:"q,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Owner       string `url:"owner,omitempty"`
	Fork        bool   `url:"fork,omitempty"`
	Language    string `url:"language,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Order       string `url:"order,omitempty"`
}

GetV5SearchRepositoriesOptions ...

type GetV5SearchUsersOptions

type GetV5SearchUsersOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Q           string `url:"q,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Order       string `url:"order,omitempty"`
}

GetV5SearchUsersOptions ...

type GetV5UserEnterprisesOptions

type GetV5UserEnterprisesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Admin       bool   `url:"admin,omitempty"`
}

GetV5UserEnterprisesOptions ...

type GetV5UserFollowersOptions

type GetV5UserFollowersOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UserFollowersOptions ...

type GetV5UserFollowingOptions

type GetV5UserFollowingOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UserFollowingOptions ...

type GetV5UserFollowingUsernameOptions

type GetV5UserFollowingUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5UserFollowingUsernameOptions ...

type GetV5UserIssuesOptions

type GetV5UserIssuesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Filter      string `url:"filter,omitempty"`
	State       string `url:"state,omitempty"`
	Labels      string `url:"labels,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Since       string `url:"since,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Schedule    string `url:"schedule,omitempty"`
	Deadline    string `url:"deadline,omitempty"`
	CreatedAt   string `url:"created_at,omitempty"`
	FinishedAt  string `url:"finished_at,omitempty"`
}

GetV5UserIssuesOptions ...

type GetV5UserKeysIdOptions

type GetV5UserKeysIdOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5UserKeysIdOptions ...

type GetV5UserKeysOptions

type GetV5UserKeysOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UserKeysOptions ...

type GetV5UserMembershipsOrgsOptions

type GetV5UserMembershipsOrgsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Active      bool   `url:"active,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UserMembershipsOrgsOptions ...

type GetV5UserMembershipsOrgsOrgOptions

type GetV5UserMembershipsOrgsOrgOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5UserMembershipsOrgsOrgOptions ...

type GetV5UserNamespaceOptions

type GetV5UserNamespaceOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Path        string `url:"path,omitempty"`
}

GetV5UserNamespaceOptions ...

type GetV5UserNamespacesOptions

type GetV5UserNamespacesOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Mode        string `url:"mode,omitempty"`
}

GetV5UserNamespacesOptions ...

type GetV5UserOptions

type GetV5UserOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5UserOptions ...

type GetV5UserOrgsOptions

type GetV5UserOrgsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
	Admin       bool   `url:"admin,omitempty"`
}

GetV5UserOrgsOptions ...

type GetV5UserReposOptions

type GetV5UserReposOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Visibility  string `url:"visibility,omitempty"`
	Affiliation string `url:"affiliation,omitempty"`
	Type        string `url:"type,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Q           string `url:"q,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UserReposOptions ...

type GetV5UserSubscriptionsOptions

type GetV5UserSubscriptionsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UserSubscriptionsOptions ...

type GetV5UserSubscriptionsOwnerRepoOptions

type GetV5UserSubscriptionsOwnerRepoOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5UserSubscriptionsOwnerRepoOptions ...

type GetV5UsersUsernameEventsOptions

type GetV5UsersUsernameEventsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
}

GetV5UsersUsernameEventsOptions ...

type GetV5UsersUsernameEventsOrgsOrgOptions

type GetV5UsersUsernameEventsOrgsOrgOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
}

GetV5UsersUsernameEventsOrgsOrgOptions ...

type GetV5UsersUsernameEventsPublicOptions

type GetV5UsersUsernameEventsPublicOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
}

GetV5UsersUsernameEventsPublicOptions ...

type GetV5UsersUsernameFollowersOptions

type GetV5UsersUsernameFollowersOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UsersUsernameFollowersOptions ...

type GetV5UsersUsernameFollowingOptions

type GetV5UsersUsernameFollowingOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UsersUsernameFollowingOptions ...

type GetV5UsersUsernameFollowingTargetUserOptions

type GetV5UsersUsernameFollowingTargetUserOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5UsersUsernameFollowingTargetUserOptions ...

type GetV5UsersUsernameKeysOptions

type GetV5UsersUsernameKeysOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UsersUsernameKeysOptions ...

type GetV5UsersUsernameOptions

type GetV5UsersUsernameOptions struct {
	AccessToken string `url:"access_token,omitempty"`
}

GetV5UsersUsernameOptions ...

type GetV5UsersUsernameOrgsOptions

type GetV5UsersUsernameOrgsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UsersUsernameOrgsOptions ...

type GetV5UsersUsernameReceivedEventsOptions

type GetV5UsersUsernameReceivedEventsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
}

GetV5UsersUsernameReceivedEventsOptions ...

type GetV5UsersUsernameReceivedEventsPublicOptions

type GetV5UsersUsernameReceivedEventsPublicOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
}

GetV5UsersUsernameReceivedEventsPublicOptions ...

type GetV5UsersUsernameReposOptions

type GetV5UsersUsernameReposOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	Type        string `url:"type,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
	Page        int    `url:"page,omitempty"`
	PerPage     int    `url:"per_page,omitempty"`
}

GetV5UsersUsernameReposOptions ...

type GetV5UsersUsernameSubscriptionsOptions

type GetV5UsersUsernameSubscriptionsOptions struct {
	AccessToken string `url:"access_token,omitempty"`
	PrevId      int    `url:"prev_id,omitempty"`
	Limit       int    `url:"limit,omitempty"`
	Sort        string `url:"sort,omitempty"`
	Direction   string `url:"direction,omitempty"`
}

GetV5UsersUsernameSubscriptionsOptions ...

type PatchV5EnterprisesEnterpriseIssuesNumberForms

type PatchV5EnterprisesEnterpriseIssuesNumberForms struct {
	AccessToken   string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Title         string `url:"title,omitempty" json:"title,omitempty"`
	State         string `url:"state,omitempty" json:"state,omitempty"`
	Body          string `url:"body,omitempty" json:"body,omitempty"`
	Assignee      string `url:"assignee,omitempty" json:"assignee,omitempty"`
	Collaborators string `url:"collaborators,omitempty" json:"collaborators,omitempty"`
	Milestone     int    `url:"milestone,omitempty" json:"milestone,omitempty"`
	Labels        string `url:"labels,omitempty" json:"labels,omitempty"`
	Program       string `url:"program,omitempty" json:"program,omitempty"`
	SecurityHole  bool   `url:"security_hole,omitempty" json:"security_hole,omitempty"`
	Branch        string `url:"branch,omitempty" json:"branch,omitempty"`
}

PatchV5EnterprisesEnterpriseIssuesNumberForms ...

type PatchV5EnterprisesEnterpriseWeekReportIdForms

type PatchV5EnterprisesEnterpriseWeekReportIdForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Content     string `url:"content,omitempty" json:"content,omitempty"`
}

PatchV5EnterprisesEnterpriseWeekReportIdForms ...

type PatchV5GistsGistIdCommentsIdForms

type PatchV5GistsGistIdCommentsIdForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Body        string `url:"body,omitempty" json:"body,omitempty"`
}

PatchV5GistsGistIdCommentsIdForms ...

type PatchV5GistsIdForms

type PatchV5GistsIdForms struct {
	AccessToken string                 `url:"access_token,omitempty" json:"access_token,omitempty"`
	Files       map[string]interface{} `url:"files,omitempty" json:"files,omitempty"`
	Description string                 `url:"description,omitempty" json:"description,omitempty"`
}

PatchV5GistsIdForms ...

type PatchV5NotificationsMessagesIdForms

type PatchV5NotificationsMessagesIdForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PatchV5NotificationsMessagesIdForms ...

type PatchV5NotificationsThreadsIdForms

type PatchV5NotificationsThreadsIdForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PatchV5NotificationsThreadsIdForms ...

type PatchV5OrgsOrgForms

type PatchV5OrgsOrgForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Email       string `url:"email,omitempty" json:"email,omitempty"`
	Location    string `url:"location,omitempty" json:"location,omitempty"`
	Name        string `url:"name,omitempty" json:"name,omitempty"`
	Description string `url:"description,omitempty" json:"description,omitempty"`
	HtmlUrl     string `url:"html_url,omitempty" json:"html_url,omitempty"`
}

PatchV5OrgsOrgForms ...

type PatchV5ReposOwnerIssuesNumberForms

type PatchV5ReposOwnerIssuesNumberForms struct {
	AccessToken   string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Repo          string `url:"repo,omitempty" json:"repo,omitempty"`
	Title         string `url:"title,omitempty" json:"title,omitempty"`
	State         string `url:"state,omitempty" json:"state,omitempty"`
	Body          string `url:"body,omitempty" json:"body,omitempty"`
	Assignee      string `url:"assignee,omitempty" json:"assignee,omitempty"`
	Collaborators string `url:"collaborators,omitempty" json:"collaborators,omitempty"`
	Milestone     int    `url:"milestone,omitempty" json:"milestone,omitempty"`
	Labels        string `url:"labels,omitempty" json:"labels,omitempty"`
	Program       string `url:"program,omitempty" json:"program,omitempty"`
	SecurityHole  bool   `url:"security_hole,omitempty" json:"security_hole,omitempty"`
}

PatchV5ReposOwnerIssuesNumberForms ...

type PatchV5ReposOwnerRepoCheckRunsCheckRunIdForms

type PatchV5ReposOwnerRepoCheckRunsCheckRunIdForms struct {
	AccessToken   string `url:"access_token,omitempty" json:"access_token,omitempty"`
	PullRequestId int    `url:"pull_request_id,omitempty" json:"pull_request_id,omitempty"`
	DetailsUrl    string `url:"details_url,omitempty" json:"details_url,omitempty"`
	Status        string `url:"status,omitempty" json:"status,omitempty"`
	StartedAt     string `url:"started_at,omitempty" json:"started_at,omitempty"`
	Conclusion    string `url:"conclusion,omitempty" json:"conclusion,omitempty"`
	CompletedAt   string `url:"completed_at,omitempty" json:"completed_at,omitempty"`
	Name          string `url:"name,omitempty" json:"name,omitempty"`
}

PatchV5ReposOwnerRepoCheckRunsCheckRunIdForms ...

type PatchV5ReposOwnerRepoCommentsIdForms

type PatchV5ReposOwnerRepoCommentsIdForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Body        string `url:"body,omitempty" json:"body,omitempty"`
}

PatchV5ReposOwnerRepoCommentsIdForms ...

type PatchV5ReposOwnerRepoForms

type PatchV5ReposOwnerRepoForms struct {
	AccessToken          string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Name                 string `url:"name,omitempty" json:"name,omitempty"`
	Description          string `url:"description,omitempty" json:"description,omitempty"`
	Homepage             string `url:"homepage,omitempty" json:"homepage,omitempty"`
	HasIssues            bool   `url:"has_issues,omitempty" json:"has_issues,omitempty"`
	HasWiki              bool   `url:"has_wiki,omitempty" json:"has_wiki,omitempty"`
	CanComment           bool   `url:"can_comment,omitempty" json:"can_comment,omitempty"`
	IssueComment         bool   `url:"issue_comment,omitempty" json:"issue_comment,omitempty"`
	SecurityHoleEnabled  bool   `url:"security_hole_enabled,omitempty" json:"security_hole_enabled,omitempty"`
	Private              bool   `url:"private,omitempty" json:"private,omitempty"`
	Path                 string `url:"path,omitempty" json:"path,omitempty"`
	DefaultBranch        string `url:"default_branch,omitempty" json:"default_branch,omitempty"`
	PullRequestsEnabled  bool   `url:"pull_requests_enabled,omitempty" json:"pull_requests_enabled,omitempty"`
	OnlineEditEnabled    bool   `url:"online_edit_enabled,omitempty" json:"online_edit_enabled,omitempty"`
	LightweightPrEnabled bool   `url:"lightweight_pr_enabled,omitempty" json:"lightweight_pr_enabled,omitempty"`
	MergeEnabled         bool   `url:"merge_enabled,omitempty" json:"merge_enabled,omitempty"`
	SquashEnabled        bool   `url:"squash_enabled,omitempty" json:"squash_enabled,omitempty"`
	RebaseEnabled        bool   `url:"rebase_enabled,omitempty" json:"rebase_enabled,omitempty"`
	DefaultMergeMethod   string `url:"default_merge_method,omitempty" json:"default_merge_method,omitempty"`
	IssueTemplateSource  string `url:"issue_template_source,omitempty" json:"issue_template_source,omitempty"`
}

PatchV5ReposOwnerRepoForms ...

type PatchV5ReposOwnerRepoHooksIdForms

type PatchV5ReposOwnerRepoHooksIdForms struct {
	AccessToken         string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Url                 string `url:"url,omitempty" json:"url,omitempty"`
	EncryptionType      int    `url:"encryption_type,omitempty" json:"encryption_type,omitempty"`
	Password            string `url:"password,omitempty" json:"password,omitempty"`
	PushEvents          bool   `url:"push_events,omitempty" json:"push_events,omitempty"`
	TagPushEvents       bool   `url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"`
	IssuesEvents        bool   `url:"issues_events,omitempty" json:"issues_events,omitempty"`
	NoteEvents          bool   `url:"note_events,omitempty" json:"note_events,omitempty"`
	MergeRequestsEvents bool   `url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"`
}

PatchV5ReposOwnerRepoHooksIdForms ...

type PatchV5ReposOwnerRepoIssuesCommentsIdForms

type PatchV5ReposOwnerRepoIssuesCommentsIdForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Body        string `url:"body,omitempty" json:"body,omitempty"`
}

PatchV5ReposOwnerRepoIssuesCommentsIdForms ...

type PatchV5ReposOwnerRepoLabelsOriginalNameForms

type PatchV5ReposOwnerRepoLabelsOriginalNameForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Name        string `url:"name,omitempty" json:"name,omitempty"`
	Color       string `url:"color,omitempty" json:"color,omitempty"`
}

PatchV5ReposOwnerRepoLabelsOriginalNameForms ...

type PatchV5ReposOwnerRepoMilestonesNumberForms

type PatchV5ReposOwnerRepoMilestonesNumberForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Title       string `url:"title,omitempty" json:"title,omitempty"`
	State       string `url:"state,omitempty" json:"state,omitempty"`
	Description string `url:"description,omitempty" json:"description,omitempty"`
	DueOn       string `url:"due_on,omitempty" json:"due_on,omitempty"`
}

PatchV5ReposOwnerRepoMilestonesNumberForms ...

type PatchV5ReposOwnerRepoPullsCommentsIdForms

type PatchV5ReposOwnerRepoPullsCommentsIdForms struct {
	Body string `url:"body,omitempty" json:"body,omitempty"`
}

PatchV5ReposOwnerRepoPullsCommentsIdForms ...

type PatchV5ReposOwnerRepoPullsNumberAssigneesForms

type PatchV5ReposOwnerRepoPullsNumberAssigneesForms struct {
	ResetAll bool `url:"reset_all,omitempty" json:"reset_all,omitempty"`
}

PatchV5ReposOwnerRepoPullsNumberAssigneesForms ...

type PatchV5ReposOwnerRepoPullsNumberForms

type PatchV5ReposOwnerRepoPullsNumberForms struct {
	Title                 string `url:"title,omitempty" json:"title,omitempty"`
	Body                  string `url:"body,omitempty" json:"body,omitempty"`
	State                 string `url:"state,omitempty" json:"state,omitempty"`
	MilestoneNumber       int    `url:"milestone_number,omitempty" json:"milestone_number,omitempty"`
	Labels                string `url:"labels,omitempty" json:"labels,omitempty"`
	AssigneesNumber       int    `url:"assignees_number,omitempty" json:"assignees_number,omitempty"`
	TestersNumber         int    `url:"testers_number,omitempty" json:"testers_number,omitempty"`
	RefPullRequestNumbers string `url:"ref_pull_request_numbers,omitempty" json:"ref_pull_request_numbers,omitempty"`
	CloseRelatedIssue     bool   `url:"close_related_issue,omitempty" json:"close_related_issue,omitempty"`
	Draft                 bool   `url:"draft,omitempty" json:"draft,omitempty"`
	Squash                bool   `url:"squash,omitempty" json:"squash,omitempty"`
}

PatchV5ReposOwnerRepoPullsNumberForms ...

type PatchV5ReposOwnerRepoPullsNumberTestersForms

type PatchV5ReposOwnerRepoPullsNumberTestersForms struct {
	ResetAll bool `url:"reset_all,omitempty" json:"reset_all,omitempty"`
}

PatchV5ReposOwnerRepoPullsNumberTestersForms ...

type PatchV5ReposOwnerRepoReleasesIdForms

type PatchV5ReposOwnerRepoReleasesIdForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	TagName     string `url:"tag_name,omitempty" json:"tag_name,omitempty"`
	Name        string `url:"name,omitempty" json:"name,omitempty"`
	Body        string `url:"body,omitempty" json:"body,omitempty"`
	Prerelease  bool   `url:"prerelease,omitempty" json:"prerelease,omitempty"`
}

PatchV5ReposOwnerRepoReleasesIdForms ...

type PatchV5UserForms

type PatchV5UserForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Name        string `url:"name,omitempty" json:"name,omitempty"`
	Blog        string `url:"blog,omitempty" json:"blog,omitempty"`
	Weibo       string `url:"weibo,omitempty" json:"weibo,omitempty"`
	Bio         string `url:"bio,omitempty" json:"bio,omitempty"`
}

PatchV5UserForms ...

type PatchV5UserMembershipsOrgsOrgForms

type PatchV5UserMembershipsOrgsOrgForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Remark      string `url:"remark,omitempty" json:"remark,omitempty"`
}

PatchV5UserMembershipsOrgsOrgForms ...

type PostV5EnterprisesEnterpriseMembersForms

type PostV5EnterprisesEnterpriseMembersForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Username    string `url:"username,omitempty" json:"username,omitempty"`
	Email       string `url:"email,omitempty" json:"email,omitempty"`
	Role        string `url:"role,omitempty" json:"role,omitempty"`
	Name        string `url:"name,omitempty" json:"name,omitempty"`
}

PostV5EnterprisesEnterpriseMembersForms ...

type PostV5EnterprisesEnterpriseReposForms

type PostV5EnterprisesEnterpriseReposForms struct {
	AccessToken       string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Name              string `url:"name,omitempty" json:"name,omitempty"`
	Description       string `url:"description,omitempty" json:"description,omitempty"`
	Homepage          string `url:"homepage,omitempty" json:"homepage,omitempty"`
	HasIssues         bool   `url:"has_issues,omitempty" json:"has_issues,omitempty"`
	HasWiki           bool   `url:"has_wiki,omitempty" json:"has_wiki,omitempty"`
	CanComment        bool   `url:"can_comment,omitempty" json:"can_comment,omitempty"`
	AutoInit          bool   `url:"auto_init,omitempty" json:"auto_init,omitempty"`
	GitignoreTemplate string `url:"gitignore_template,omitempty" json:"gitignore_template,omitempty"`
	LicenseTemplate   string `url:"license_template,omitempty" json:"license_template,omitempty"`
	Path              string `url:"path,omitempty" json:"path,omitempty"`
	Private           int    `url:"private,omitempty" json:"private,omitempty"`
	Outsourced        bool   `url:"outsourced,omitempty" json:"outsourced,omitempty"`
	ProjectCreator    string `url:"project_creator,omitempty" json:"project_creator,omitempty"`
	Members           string `url:"members,omitempty" json:"members,omitempty"`
}

PostV5EnterprisesEnterpriseReposForms ...

type PostV5EnterprisesEnterpriseWeekReportForms

type PostV5EnterprisesEnterpriseWeekReportForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Year        int    `url:"year,omitempty" json:"year,omitempty"`
	Content     string `url:"content,omitempty" json:"content,omitempty"`
	WeekIndex   int    `url:"week_index,omitempty" json:"week_index,omitempty"`
	Date        string `url:"date,omitempty" json:"date,omitempty"`
}

PostV5EnterprisesEnterpriseWeekReportForms ...

type PostV5EnterprisesEnterpriseWeekReportsIdCommentForms

type PostV5EnterprisesEnterpriseWeekReportsIdCommentForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Body        string `url:"body,omitempty" json:"body,omitempty"`
}

PostV5EnterprisesEnterpriseWeekReportsIdCommentForms ...

type PostV5GistsForms

type PostV5GistsForms struct {
	AccessToken string                 `url:"access_token,omitempty" json:"access_token,omitempty"`
	Files       map[string]interface{} `url:"files,omitempty" json:"files,omitempty"`
	Description string                 `url:"description,omitempty" json:"description,omitempty"`
	Public      bool                   `url:"public,omitempty" json:"public,omitempty"`
}

PostV5GistsForms ...

type PostV5GistsGistIdCommentsForms

type PostV5GistsGistIdCommentsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Body        string `url:"body,omitempty" json:"body,omitempty"`
}

PostV5GistsGistIdCommentsForms ...

type PostV5GistsIdForksForms

type PostV5GistsIdForksForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PostV5GistsIdForksForms ...

type PostV5MarkdownForms

type PostV5MarkdownForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Text        string `url:"text,omitempty" json:"text,omitempty"`
}

PostV5MarkdownForms ...

type PostV5NotificationsMessagesForms

type PostV5NotificationsMessagesForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Username    string `url:"username,omitempty" json:"username,omitempty"`
	Content     string `url:"content,omitempty" json:"content,omitempty"`
}

PostV5NotificationsMessagesForms ...

type PostV5OrgsOrgReposForms

type PostV5OrgsOrgReposForms struct {
	AccessToken       string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Name              string `url:"name,omitempty" json:"name,omitempty"`
	Description       string `url:"description,omitempty" json:"description,omitempty"`
	Homepage          string `url:"homepage,omitempty" json:"homepage,omitempty"`
	HasIssues         bool   `url:"has_issues,omitempty" json:"has_issues,omitempty"`
	HasWiki           bool   `url:"has_wiki,omitempty" json:"has_wiki,omitempty"`
	CanComment        bool   `url:"can_comment,omitempty" json:"can_comment,omitempty"`
	Public            int    `url:"public,omitempty" json:"public,omitempty"`
	Private           bool   `url:"private,omitempty" json:"private,omitempty"`
	AutoInit          bool   `url:"auto_init,omitempty" json:"auto_init,omitempty"`
	GitignoreTemplate string `url:"gitignore_template,omitempty" json:"gitignore_template,omitempty"`
	LicenseTemplate   string `url:"license_template,omitempty" json:"license_template,omitempty"`
	Path              string `url:"path,omitempty" json:"path,omitempty"`
}

PostV5OrgsOrgReposForms ...

type PostV5ReposOwnerIssuesForms

type PostV5ReposOwnerIssuesForms struct {
	AccessToken   string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Repo          string `url:"repo,omitempty" json:"repo,omitempty"`
	Title         string `url:"title,omitempty" json:"title,omitempty"`
	IssueType     string `url:"issue_type,omitempty" json:"issue_type,omitempty"`
	Body          string `url:"body,omitempty" json:"body,omitempty"`
	Assignee      string `url:"assignee,omitempty" json:"assignee,omitempty"`
	Collaborators string `url:"collaborators,omitempty" json:"collaborators,omitempty"`
	Milestone     int    `url:"milestone,omitempty" json:"milestone,omitempty"`
	Labels        string `url:"labels,omitempty" json:"labels,omitempty"`
	Program       string `url:"program,omitempty" json:"program,omitempty"`
	SecurityHole  bool   `url:"security_hole,omitempty" json:"security_hole,omitempty"`
}

PostV5ReposOwnerIssuesForms ...

type PostV5ReposOwnerRepoBaiduStatisticKeyForms

type PostV5ReposOwnerRepoBaiduStatisticKeyForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Key         string `url:"key,omitempty" json:"key,omitempty"`
}

PostV5ReposOwnerRepoBaiduStatisticKeyForms ...

type PostV5ReposOwnerRepoBranchesForms

type PostV5ReposOwnerRepoBranchesForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Refs        string `url:"refs,omitempty" json:"refs,omitempty"`
	BranchName  string `url:"branch_name,omitempty" json:"branch_name,omitempty"`
}

PostV5ReposOwnerRepoBranchesForms ...

type PostV5ReposOwnerRepoCheckRunsForms

type PostV5ReposOwnerRepoCheckRunsForms struct {
	AccessToken   string `url:"access_token,omitempty" json:"access_token,omitempty"`
	PullRequestId int    `url:"pull_request_id,omitempty" json:"pull_request_id,omitempty"`
	DetailsUrl    string `url:"details_url,omitempty" json:"details_url,omitempty"`
	Status        string `url:"status,omitempty" json:"status,omitempty"`
	StartedAt     string `url:"started_at,omitempty" json:"started_at,omitempty"`
	Conclusion    string `url:"conclusion,omitempty" json:"conclusion,omitempty"`
	CompletedAt   string `url:"completed_at,omitempty" json:"completed_at,omitempty"`
	Name          string `url:"name,omitempty" json:"name,omitempty"`
	HeadSha       string `url:"head_sha,omitempty" json:"head_sha,omitempty"`
}

PostV5ReposOwnerRepoCheckRunsForms ...

type PostV5ReposOwnerRepoCommitsRequest

type PostV5ReposOwnerRepoCommitsRequest ibase.PostV5ReposOwnerRepoCommits

PostV5ReposOwnerRepoCommitsRequest ...

type PostV5ReposOwnerRepoCommitsShaCommentsForms

type PostV5ReposOwnerRepoCommitsShaCommentsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Body        string `url:"body,omitempty" json:"body,omitempty"`
	Path        string `url:"path,omitempty" json:"path,omitempty"`
	Position    int    `url:"position,omitempty" json:"position,omitempty"`
}

PostV5ReposOwnerRepoCommitsShaCommentsForms ...

type PostV5ReposOwnerRepoContentsPathForms

type PostV5ReposOwnerRepoContentsPathForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Content     string `url:"content,omitempty" json:"content,omitempty"`
	Message     string `url:"message,omitempty" json:"message,omitempty"`
	Branch      string `url:"branch,omitempty" json:"branch,omitempty"`
}

PostV5ReposOwnerRepoContentsPathForms ...

type PostV5ReposOwnerRepoForksForms

type PostV5ReposOwnerRepoForksForms struct {
	AccessToken  string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Organization string `url:"organization,omitempty" json:"organization,omitempty"`
	Name         string `url:"name,omitempty" json:"name,omitempty"`
	Path         string `url:"path,omitempty" json:"path,omitempty"`
}

PostV5ReposOwnerRepoForksForms ...

type PostV5ReposOwnerRepoHooksForms

type PostV5ReposOwnerRepoHooksForms struct {
	AccessToken         string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Url                 string `url:"url,omitempty" json:"url,omitempty"`
	EncryptionType      int    `url:"encryption_type,omitempty" json:"encryption_type,omitempty"`
	Password            string `url:"password,omitempty" json:"password,omitempty"`
	PushEvents          bool   `url:"push_events,omitempty" json:"push_events,omitempty"`
	TagPushEvents       bool   `url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"`
	IssuesEvents        bool   `url:"issues_events,omitempty" json:"issues_events,omitempty"`
	NoteEvents          bool   `url:"note_events,omitempty" json:"note_events,omitempty"`
	MergeRequestsEvents bool   `url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"`
}

PostV5ReposOwnerRepoHooksForms ...

type PostV5ReposOwnerRepoHooksIdTestsForms

type PostV5ReposOwnerRepoHooksIdTestsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PostV5ReposOwnerRepoHooksIdTestsForms ...

type PostV5ReposOwnerRepoIssuesNumberCommentsForms

type PostV5ReposOwnerRepoIssuesNumberCommentsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Body        string `url:"body,omitempty" json:"body,omitempty"`
}

PostV5ReposOwnerRepoIssuesNumberCommentsForms ...

type PostV5ReposOwnerRepoIssuesNumberLabelsForms

type PostV5ReposOwnerRepoIssuesNumberLabelsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PostV5ReposOwnerRepoIssuesNumberLabelsForms ...

type PostV5ReposOwnerRepoIssuesNumberLabelsRequest

type PostV5ReposOwnerRepoIssuesNumberLabelsRequest []string

PostV5ReposOwnerRepoIssuesNumberLabelsRequest ...

type PostV5ReposOwnerRepoKeysForms

type PostV5ReposOwnerRepoKeysForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Key         string `url:"key,omitempty" json:"key,omitempty"`
	Title       string `url:"title,omitempty" json:"title,omitempty"`
}

PostV5ReposOwnerRepoKeysForms ...

type PostV5ReposOwnerRepoLabelsForms

type PostV5ReposOwnerRepoLabelsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Name        string `url:"name,omitempty" json:"name,omitempty"`
	Color       string `url:"color,omitempty" json:"color,omitempty"`
}

PostV5ReposOwnerRepoLabelsForms ...

type PostV5ReposOwnerRepoMilestonesForms

type PostV5ReposOwnerRepoMilestonesForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Title       string `url:"title,omitempty" json:"title,omitempty"`
	State       string `url:"state,omitempty" json:"state,omitempty"`
	Description string `url:"description,omitempty" json:"description,omitempty"`
	DueOn       string `url:"due_on,omitempty" json:"due_on,omitempty"`
}

PostV5ReposOwnerRepoMilestonesForms ...

type PostV5ReposOwnerRepoOpenForms

type PostV5ReposOwnerRepoOpenForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PostV5ReposOwnerRepoOpenForms ...

type PostV5ReposOwnerRepoPagesBuildsForms

type PostV5ReposOwnerRepoPagesBuildsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PostV5ReposOwnerRepoPagesBuildsForms ...

type PostV5ReposOwnerRepoProjectLabelsForms

type PostV5ReposOwnerRepoProjectLabelsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PostV5ReposOwnerRepoProjectLabelsForms ...

type PostV5ReposOwnerRepoProjectLabelsRequest

type PostV5ReposOwnerRepoProjectLabelsRequest []string

PostV5ReposOwnerRepoProjectLabelsRequest ...

type PostV5ReposOwnerRepoPullsForms

type PostV5ReposOwnerRepoPullsForms struct {
	Title                 string `url:"title,omitempty" json:"title,omitempty"`
	Head                  string `url:"head,omitempty" json:"head,omitempty"`
	Base                  string `url:"base,omitempty" json:"base,omitempty"`
	Body                  string `url:"body,omitempty" json:"body,omitempty"`
	MilestoneNumber       int    `url:"milestone_number,omitempty" json:"milestone_number,omitempty"`
	Labels                string `url:"labels,omitempty" json:"labels,omitempty"`
	Issue                 string `url:"issue,omitempty" json:"issue,omitempty"`
	Assignees             string `url:"assignees,omitempty" json:"assignees,omitempty"`
	Testers               string `url:"testers,omitempty" json:"testers,omitempty"`
	AssigneesNumber       int    `url:"assignees_number,omitempty" json:"assignees_number,omitempty"`
	TestersNumber         int    `url:"testers_number,omitempty" json:"testers_number,omitempty"`
	RefPullRequestNumbers string `url:"ref_pull_request_numbers,omitempty" json:"ref_pull_request_numbers,omitempty"`
	PruneSourceBranch     bool   `url:"prune_source_branch,omitempty" json:"prune_source_branch,omitempty"`
	CloseRelatedIssue     bool   `url:"close_related_issue,omitempty" json:"close_related_issue,omitempty"`
	Draft                 bool   `url:"draft,omitempty" json:"draft,omitempty"`
	Squash                bool   `url:"squash,omitempty" json:"squash,omitempty"`
}

PostV5ReposOwnerRepoPullsForms ...

type PostV5ReposOwnerRepoPullsNumberAssigneesForms

type PostV5ReposOwnerRepoPullsNumberAssigneesForms struct {
	Assignees string `url:"assignees,omitempty" json:"assignees,omitempty"`
}

PostV5ReposOwnerRepoPullsNumberAssigneesForms ...

type PostV5ReposOwnerRepoPullsNumberCommentsForms

type PostV5ReposOwnerRepoPullsNumberCommentsForms struct {
	Body     string `url:"body,omitempty" json:"body,omitempty"`
	CommitId string `url:"commit_id,omitempty" json:"commit_id,omitempty"`
	Path     string `url:"path,omitempty" json:"path,omitempty"`
	Position int    `url:"position,omitempty" json:"position,omitempty"`
}

PostV5ReposOwnerRepoPullsNumberCommentsForms ...

type PostV5ReposOwnerRepoPullsNumberLabelsRequest

type PostV5ReposOwnerRepoPullsNumberLabelsRequest []string

PostV5ReposOwnerRepoPullsNumberLabelsRequest ...

type PostV5ReposOwnerRepoPullsNumberReviewForms

type PostV5ReposOwnerRepoPullsNumberReviewForms struct {
	Force bool `url:"force,omitempty" json:"force,omitempty"`
}

PostV5ReposOwnerRepoPullsNumberReviewForms ...

type PostV5ReposOwnerRepoPullsNumberTestForms

type PostV5ReposOwnerRepoPullsNumberTestForms struct {
	Force bool `url:"force,omitempty" json:"force,omitempty"`
}

PostV5ReposOwnerRepoPullsNumberTestForms ...

type PostV5ReposOwnerRepoPullsNumberTestersForms

type PostV5ReposOwnerRepoPullsNumberTestersForms struct {
	Testers string `url:"testers,omitempty" json:"testers,omitempty"`
}

PostV5ReposOwnerRepoPullsNumberTestersForms ...

type PostV5ReposOwnerRepoReleasesForms

type PostV5ReposOwnerRepoReleasesForms struct {
	AccessToken     string `url:"access_token,omitempty" json:"access_token,omitempty"`
	TagName         string `url:"tag_name,omitempty" json:"tag_name,omitempty"`
	Name            string `url:"name,omitempty" json:"name,omitempty"`
	Body            string `url:"body,omitempty" json:"body,omitempty"`
	Prerelease      bool   `url:"prerelease,omitempty" json:"prerelease,omitempty"`
	TargetCommitish string `url:"target_commitish,omitempty" json:"target_commitish,omitempty"`
}

PostV5ReposOwnerRepoReleasesForms ...

type PostV5ReposOwnerRepoReleasesReleaseIdAttachFilesForms

type PostV5ReposOwnerRepoReleasesReleaseIdAttachFilesForms struct {
	AccessToken string      `url:"access_token,omitempty" json:"access_token,omitempty"`
	File        interface{} `url:"file,omitempty" json:"file,omitempty"`
}

PostV5ReposOwnerRepoReleasesReleaseIdAttachFilesForms ...

type PostV5ReposOwnerRepoTagsForms

type PostV5ReposOwnerRepoTagsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Refs        string `url:"refs,omitempty" json:"refs,omitempty"`
	TagName     string `url:"tag_name,omitempty" json:"tag_name,omitempty"`
	TagMessage  string `url:"tag_message,omitempty" json:"tag_message,omitempty"`
}

PostV5ReposOwnerRepoTagsForms ...

type PostV5ReposOwnerRepoTrafficDataForms

type PostV5ReposOwnerRepoTrafficDataForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	StartDay    string `url:"start_day,omitempty" json:"start_day,omitempty"`
	EndDay      string `url:"end_day,omitempty" json:"end_day,omitempty"`
}

PostV5ReposOwnerRepoTrafficDataForms ...

type PostV5UserKeysForms

type PostV5UserKeysForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Key         string `url:"key,omitempty" json:"key,omitempty"`
	Title       string `url:"title,omitempty" json:"title,omitempty"`
}

PostV5UserKeysForms ...

type PostV5UserReposForms

type PostV5UserReposForms struct {
	AccessToken        string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Name               string `url:"name,omitempty" json:"name,omitempty"`
	Description        string `url:"description,omitempty" json:"description,omitempty"`
	Homepage           string `url:"homepage,omitempty" json:"homepage,omitempty"`
	HasIssues          bool   `url:"has_issues,omitempty" json:"has_issues,omitempty"`
	HasWiki            bool   `url:"has_wiki,omitempty" json:"has_wiki,omitempty"`
	CanComment         bool   `url:"can_comment,omitempty" json:"can_comment,omitempty"`
	AutoInit           bool   `url:"auto_init,omitempty" json:"auto_init,omitempty"`
	GitignoreTemplate  string `url:"gitignore_template,omitempty" json:"gitignore_template,omitempty"`
	LicenseTemplate    string `url:"license_template,omitempty" json:"license_template,omitempty"`
	Path               string `url:"path,omitempty" json:"path,omitempty"`
	Namespace          string `url:"namespace,omitempty" json:"namespace,omitempty"`
	Public             int    `url:"public,omitempty" json:"public,omitempty"`
	Outsourced         bool   `url:"outsourced,omitempty" json:"outsourced,omitempty"`
	ProjectCreator     string `url:"project_creator,omitempty" json:"project_creator,omitempty"`
	Members            string `url:"members,omitempty" json:"members,omitempty"`
	TemplateApplyScope string `url:"template_apply_scope,omitempty" json:"template_apply_scope,omitempty"`
	Model              string `url:"model,omitempty" json:"model,omitempty"`
	Enterprise         string `url:"enterprise,omitempty" json:"enterprise,omitempty"`
	Private            bool   `url:"private,omitempty" json:"private,omitempty"`
}

PostV5UserReposForms ...

type PostV5UsersOrganizationForms

type PostV5UsersOrganizationForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Name        string `url:"name,omitempty" json:"name,omitempty"`
	Org         string `url:"org,omitempty" json:"org,omitempty"`
	Description string `url:"description,omitempty" json:"description,omitempty"`
}

PostV5UsersOrganizationForms ...

type PutV5EnterprisesEnterpriseMembersUsernameForms

type PutV5EnterprisesEnterpriseMembersUsernameForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Role        string `url:"role,omitempty" json:"role,omitempty"`
	Active      bool   `url:"active,omitempty" json:"active,omitempty"`
	Name        string `url:"name,omitempty" json:"name,omitempty"`
}

PutV5EnterprisesEnterpriseMembersUsernameForms ...

type PutV5GistsIdStarForms

type PutV5GistsIdStarForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PutV5GistsIdStarForms ...

type PutV5NotificationsMessagesForms

type PutV5NotificationsMessagesForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Ids         string `url:"ids,omitempty" json:"ids,omitempty"`
}

PutV5NotificationsMessagesForms ...

type PutV5NotificationsThreadsForms

type PutV5NotificationsThreadsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Ids         string `url:"ids,omitempty" json:"ids,omitempty"`
}

PutV5NotificationsThreadsForms ...

type PutV5OrgsOrgMembershipsUsernameForms

type PutV5OrgsOrgMembershipsUsernameForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Role        string `url:"role,omitempty" json:"role,omitempty"`
}

PutV5OrgsOrgMembershipsUsernameForms ...

type PutV5ReposOwnerRepoBranchesBranchProtectionForms

type PutV5ReposOwnerRepoBranchesBranchProtectionForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PutV5ReposOwnerRepoBranchesBranchProtectionForms ...

type PutV5ReposOwnerRepoBranchesSettingNewForms

type PutV5ReposOwnerRepoBranchesSettingNewForms struct {
	AccessToken              string   `url:"access_token,omitempty" json:"access_token,omitempty"`
	Wildcard                 string   `url:"wildcard,omitempty" json:"wildcard,omitempty"`
	Pusher                   string   `url:"pusher,omitempty" json:"pusher,omitempty"`
	Merger                   string   `url:"merger,omitempty" json:"merger,omitempty"`
	Mode                     string   `url:"mode,omitempty" json:"mode,omitempty"`
	EscapseProtectBranchList []string `url:"escapse_protect_branch_list,omitempty" json:"escapse_protect_branch_list,omitempty"`
}

PutV5ReposOwnerRepoBranchesSettingNewForms ...

type PutV5ReposOwnerRepoBranchesWildcardSettingForms

type PutV5ReposOwnerRepoBranchesWildcardSettingForms struct {
	AccessToken              string   `url:"access_token,omitempty" json:"access_token,omitempty"`
	NewWildcard              string   `url:"new_wildcard,omitempty" json:"new_wildcard,omitempty"`
	Pusher                   string   `url:"pusher,omitempty" json:"pusher,omitempty"`
	Merger                   string   `url:"merger,omitempty" json:"merger,omitempty"`
	Mode                     string   `url:"mode,omitempty" json:"mode,omitempty"`
	EscapseProtectBranchList []string `url:"escapse_protect_branch_list,omitempty" json:"escapse_protect_branch_list,omitempty"`
}

PutV5ReposOwnerRepoBranchesWildcardSettingForms ...

type PutV5ReposOwnerRepoClearForms

type PutV5ReposOwnerRepoClearForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PutV5ReposOwnerRepoClearForms ...

type PutV5ReposOwnerRepoCollaboratorsUsernameForms

type PutV5ReposOwnerRepoCollaboratorsUsernameForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Permission  string `url:"permission,omitempty" json:"permission,omitempty"`
}

PutV5ReposOwnerRepoCollaboratorsUsernameForms ...

type PutV5ReposOwnerRepoContentsPathForms

type PutV5ReposOwnerRepoContentsPathForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Content     string `url:"content,omitempty" json:"content,omitempty"`
	Sha         string `url:"sha,omitempty" json:"sha,omitempty"`
	Message     string `url:"message,omitempty" json:"message,omitempty"`
	Branch      string `url:"branch,omitempty" json:"branch,omitempty"`
}

PutV5ReposOwnerRepoContentsPathForms ...

type PutV5ReposOwnerRepoIssuesNumberLabelsForms

type PutV5ReposOwnerRepoIssuesNumberLabelsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PutV5ReposOwnerRepoIssuesNumberLabelsForms ...

type PutV5ReposOwnerRepoIssuesNumberLabelsRequest

type PutV5ReposOwnerRepoIssuesNumberLabelsRequest []string

PutV5ReposOwnerRepoIssuesNumberLabelsRequest ...

type PutV5ReposOwnerRepoKeysEnableIdForms

type PutV5ReposOwnerRepoKeysEnableIdForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PutV5ReposOwnerRepoKeysEnableIdForms ...

type PutV5ReposOwnerRepoNotificationsForms

type PutV5ReposOwnerRepoNotificationsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Ids         string `url:"ids,omitempty" json:"ids,omitempty"`
}

PutV5ReposOwnerRepoNotificationsForms ...

type PutV5ReposOwnerRepoPagesForms

type PutV5ReposOwnerRepoPagesForms struct {
	AccessToken       string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Domain            string `url:"domain,omitempty" json:"domain,omitempty"`
	SslCertificateCrt string `url:"ssl_certificate_crt,omitempty" json:"ssl_certificate_crt,omitempty"`
	SslCertificateKey string `url:"ssl_certificate_key,omitempty" json:"ssl_certificate_key,omitempty"`
}

PutV5ReposOwnerRepoPagesForms ...

type PutV5ReposOwnerRepoProjectLabelsForms

type PutV5ReposOwnerRepoProjectLabelsForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PutV5ReposOwnerRepoProjectLabelsForms ...

type PutV5ReposOwnerRepoProjectLabelsRequest

type PutV5ReposOwnerRepoProjectLabelsRequest []string

PutV5ReposOwnerRepoProjectLabelsRequest ...

type PutV5ReposOwnerRepoPullsNumberLabelsRequest

type PutV5ReposOwnerRepoPullsNumberLabelsRequest []string

PutV5ReposOwnerRepoPullsNumberLabelsRequest ...

type PutV5ReposOwnerRepoPullsNumberMergeForms

type PutV5ReposOwnerRepoPullsNumberMergeForms struct {
	MergeMethod       string `url:"merge_method,omitempty" json:"merge_method,omitempty"`
	PruneSourceBranch bool   `url:"prune_source_branch,omitempty" json:"prune_source_branch,omitempty"`
	CloseRelatedIssue bool   `url:"close_related_issue,omitempty" json:"close_related_issue,omitempty"`
	Title             string `url:"title,omitempty" json:"title,omitempty"`
	Description       string `url:"description,omitempty" json:"description,omitempty"`
}

PutV5ReposOwnerRepoPullsNumberMergeForms ...

type PutV5ReposOwnerRepoPushConfigForms

type PutV5ReposOwnerRepoPushConfigForms struct {
	AccessToken               string `url:"access_token,omitempty" json:"access_token,omitempty"`
	RestrictPushOwnCommit     bool   `url:"restrict_push_own_commit,omitempty" json:"restrict_push_own_commit,omitempty"`
	RestrictAuthorEmailSuffix bool   `url:"restrict_author_email_suffix,omitempty" json:"restrict_author_email_suffix,omitempty"`
	AuthorEmailSuffix         string `url:"author_email_suffix,omitempty" json:"author_email_suffix,omitempty"`
	RestrictCommitMessage     bool   `url:"restrict_commit_message,omitempty" json:"restrict_commit_message,omitempty"`
	CommitMessageRegex        string `url:"commit_message_regex,omitempty" json:"commit_message_regex,omitempty"`
	RestrictFileSize          bool   `url:"restrict_file_size,omitempty" json:"restrict_file_size,omitempty"`
	MaxFileSize               int    `url:"max_file_size,omitempty" json:"max_file_size,omitempty"`
	ExceptManager             bool   `url:"except_manager,omitempty" json:"except_manager,omitempty"`
}

PutV5ReposOwnerRepoPushConfigForms ...

type PutV5ReposOwnerRepoReviewerForms

type PutV5ReposOwnerRepoReviewerForms struct {
	AccessToken     string `url:"access_token,omitempty" json:"access_token,omitempty"`
	Assignees       string `url:"assignees,omitempty" json:"assignees,omitempty"`
	Testers         string `url:"testers,omitempty" json:"testers,omitempty"`
	AssigneesNumber int    `url:"assignees_number,omitempty" json:"assignees_number,omitempty"`
	TestersNumber   int    `url:"testers_number,omitempty" json:"testers_number,omitempty"`
}

PutV5ReposOwnerRepoReviewerForms ...

type PutV5UserFollowingUsernameForms

type PutV5UserFollowingUsernameForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
}

PutV5UserFollowingUsernameForms ...

type PutV5UserSubscriptionsOwnerRepoForms

type PutV5UserSubscriptionsOwnerRepoForms struct {
	AccessToken string `url:"access_token,omitempty" json:"access_token,omitempty"`
	WatchType   string `url:"watch_type,omitempty" json:"watch_type,omitempty"`
}

PutV5UserSubscriptionsOwnerRepoForms ...

type RequestOption

type RequestOption func(req *http.Request)

type Response

type Response struct {
	*http.Response
}

Response is a CNB API response. This wraps the standard http.Response returned from CNB and provides convenient access to things link pagination links.

Source Files

  • activity.go
  • checks.go
  • client.go
  • emails.go
  • enterprises.go
  • gists.go
  • gitdata.go
  • gitee.go
  • issues.go
  • labels.go
  • milestones.go
  • miscellaneous.go
  • organizations.go
  • pullrequests.go
  • repositories.go
  • search.go
  • users.go
  • webhooks.go

Directories

Path Synopsis
types

Jump to

Keyboard shortcuts

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