Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) DeleteV5ReposOwnerRepoIssuesCommentsID(params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)
- func (a *Client) DeleteV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, ...) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssues(params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesParams, ...) (*GetV5EnterprisesEnterpriseIssuesOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesNumber(params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberComments(params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, ...) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberCommentsContext(ctx context.Context, ...) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberParams, ...) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberLabels(params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, ...) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberLabelsContext(ctx context.Context, ...) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequests(params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, ...) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)
- func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext(ctx context.Context, ...) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)
- func (a *Client) GetV5Issues(params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)
- func (a *Client) GetV5IssuesContext(ctx context.Context, params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)
- func (a *Client) GetV5OrgsOrgIssues(params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)
- func (a *Client) GetV5OrgsOrgIssuesContext(ctx context.Context, params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)
- func (a *Client) GetV5ReposOwnerIssuesNumberOperateLogs(params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)
- func (a *Client) GetV5ReposOwnerIssuesNumberOperateLogsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberOperateLogsParams, ...) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)
- func (a *Client) GetV5ReposOwnerIssuesNumberPullRequests(params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)
- func (a *Client) GetV5ReposOwnerIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberPullRequestsParams, ...) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssues(params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesComments(params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsParams, ...) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesCommentsID(params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsIDParams, ...) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesParams, ...) (*GetV5ReposOwnerRepoIssuesOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesNumber(params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesNumberComments(params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, ...) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)
- func (a *Client) GetV5ReposOwnerRepoIssuesNumberContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberParams, ...) (*GetV5ReposOwnerRepoIssuesNumberOK, error)
- func (a *Client) GetV5UserIssues(params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)
- func (a *Client) GetV5UserIssuesContext(ctx context.Context, params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)
- func (a *Client) PatchV5EnterprisesEnterpriseIssuesNumber(params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)
- func (a *Client) PatchV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *PatchV5EnterprisesEnterpriseIssuesNumberParams, ...) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)
- func (a *Client) PatchV5ReposOwnerIssuesNumber(params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)
- func (a *Client) PatchV5ReposOwnerIssuesNumberContext(ctx context.Context, params *PatchV5ReposOwnerIssuesNumberParams, ...) (*PatchV5ReposOwnerIssuesNumberOK, error)
- func (a *Client) PatchV5ReposOwnerRepoIssuesCommentsID(params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)
- func (a *Client) PatchV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, ...) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)
- func (a *Client) PostV5ReposOwnerIssues(params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)
- func (a *Client) PostV5ReposOwnerIssuesContext(ctx context.Context, params *PostV5ReposOwnerIssuesParams, ...) (*PostV5ReposOwnerIssuesCreated, error)
- func (a *Client) PostV5ReposOwnerRepoIssuesNumberComments(params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)
- func (a *Client) PostV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, ...) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) Code() int
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) Error() string
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsClientError() bool
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsCode(code int) bool
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsRedirect() bool
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsServerError() bool
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsSuccess() bool
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) String() string
- type DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParams() *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *DeleteV5ReposOwnerRepoIssuesCommentsIDParamsdeprecated
- func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults()
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetID(id int32)
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner(owner string)
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo(repo string)
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken(accessToken *string) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithContext(ctx context.Context) *DeleteV5ReposOwnerRepoIssuesCommentsIDParamsdeprecated
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults() *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient(client *http.Client) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithID(id int32) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner(owner string) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo(repo string) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout(timeout time.Duration) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV5ReposOwnerRepoIssuesCommentsIDReader
- type GetV5EnterprisesEnterpriseIssuesNumberCommentsOK
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) Code() int
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) Error() string
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) GetPayload() []*models.Note
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) String() string
- type GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParams() *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParamsdeprecated
- func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetNumber(number string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetPage(page *int32)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetPerPage(perPage *int32)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithNumber(number string) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseIssuesNumberCommentsReader
- type GetV5EnterprisesEnterpriseIssuesNumberLabelsOK
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) Code() int
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) Error() string
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) GetPayload() []*models.Label
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) String() string
- type GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParams() *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParamsdeprecated
- func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetNumber(number string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetPage(page *int32)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetPerPage(perPage *int32)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithNumber(number string) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseIssuesNumberLabelsReader
- type GetV5EnterprisesEnterpriseIssuesNumberOK
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) Code() int
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) Error() string
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) GetPayload() *models.Issue
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) String() string
- type GetV5EnterprisesEnterpriseIssuesNumberParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberParams() *GetV5EnterprisesEnterpriseIssuesNumberParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberParamsdeprecated
- func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetNumber(number string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesNumberParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesNumberParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesNumberParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithNumber(number string) *GetV5EnterprisesEnterpriseIssuesNumberParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) Code() int
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) Error() string
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) GetPayload() []*models.PullRequest
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) String() string
- type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams() *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsdeprecated
- func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetNumber(number string)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithNumber(number string) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
- func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader
- type GetV5EnterprisesEnterpriseIssuesNumberReader
- type GetV5EnterprisesEnterpriseIssuesOK
- func (o *GetV5EnterprisesEnterpriseIssuesOK) Code() int
- func (o *GetV5EnterprisesEnterpriseIssuesOK) Error() string
- func (o *GetV5EnterprisesEnterpriseIssuesOK) GetPayload() []*models.Issue
- func (o *GetV5EnterprisesEnterpriseIssuesOK) IsClientError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesOK) IsCode(code int) bool
- func (o *GetV5EnterprisesEnterpriseIssuesOK) IsRedirect() bool
- func (o *GetV5EnterprisesEnterpriseIssuesOK) IsServerError() bool
- func (o *GetV5EnterprisesEnterpriseIssuesOK) IsSuccess() bool
- func (o *GetV5EnterprisesEnterpriseIssuesOK) String() string
- type GetV5EnterprisesEnterpriseIssuesParams
- func NewGetV5EnterprisesEnterpriseIssuesParams() *GetV5EnterprisesEnterpriseIssuesParams
- func NewGetV5EnterprisesEnterpriseIssuesParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesParamsdeprecated
- func NewGetV5EnterprisesEnterpriseIssuesParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesParams
- func NewGetV5EnterprisesEnterpriseIssuesParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetAccessToken(accessToken *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetAssignee(assignee *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetCreatedAt(createdAt *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetCreator(creator *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDeadline(deadline *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDefaults()
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDirection(direction *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetEnterprise(enterprise string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetFinishedAt(finishedAt *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetHTTPClient(client *http.Client)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetLabels(labels *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetMilestone(milestone *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetPage(page *int32)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetPerPage(perPage *int32)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetProgram(program *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetSchedule(schedule *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetSince(since *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetSort(sort *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetState(state *string)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) SetTimeout(timeout time.Duration)
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithAssignee(assignee *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesParamsdeprecated
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithCreatedAt(createdAt *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithCreator(creator *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithDeadline(deadline *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithDirection(direction *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithFinishedAt(finishedAt *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithLabels(labels *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithMilestone(milestone *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithProgram(program *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithSchedule(schedule *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithSince(since *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithSort(sort *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithState(state *string) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesParams
- func (o *GetV5EnterprisesEnterpriseIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5EnterprisesEnterpriseIssuesReader
- type GetV5IssuesOK
- func (o *GetV5IssuesOK) Code() int
- func (o *GetV5IssuesOK) Error() string
- func (o *GetV5IssuesOK) GetPayload() []*models.Issue
- func (o *GetV5IssuesOK) IsClientError() bool
- func (o *GetV5IssuesOK) IsCode(code int) bool
- func (o *GetV5IssuesOK) IsRedirect() bool
- func (o *GetV5IssuesOK) IsServerError() bool
- func (o *GetV5IssuesOK) IsSuccess() bool
- func (o *GetV5IssuesOK) String() string
- type GetV5IssuesParams
- func (o *GetV5IssuesParams) SetAccessToken(accessToken *string)
- func (o *GetV5IssuesParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5IssuesParams) SetCreatedAt(createdAt *string)
- func (o *GetV5IssuesParams) SetDeadline(deadline *string)
- func (o *GetV5IssuesParams) SetDefaults()
- func (o *GetV5IssuesParams) SetDirection(direction *string)
- func (o *GetV5IssuesParams) SetFilter(filter *string)
- func (o *GetV5IssuesParams) SetFinishedAt(finishedAt *string)
- func (o *GetV5IssuesParams) SetHTTPClient(client *http.Client)
- func (o *GetV5IssuesParams) SetLabels(labels *string)
- func (o *GetV5IssuesParams) SetPage(page *int32)
- func (o *GetV5IssuesParams) SetPerPage(perPage *int32)
- func (o *GetV5IssuesParams) SetSchedule(schedule *string)
- func (o *GetV5IssuesParams) SetSince(since *string)
- func (o *GetV5IssuesParams) SetSort(sort *string)
- func (o *GetV5IssuesParams) SetState(state *string)
- func (o *GetV5IssuesParams) SetTimeout(timeout time.Duration)
- func (o *GetV5IssuesParams) WithAccessToken(accessToken *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithContext(ctx context.Context) *GetV5IssuesParamsdeprecated
- func (o *GetV5IssuesParams) WithCreatedAt(createdAt *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithDeadline(deadline *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithDefaults() *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithDirection(direction *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithFilter(filter *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithFinishedAt(finishedAt *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithHTTPClient(client *http.Client) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithLabels(labels *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithPage(page *int32) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithPerPage(perPage *int32) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithSchedule(schedule *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithSince(since *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithSort(sort *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithState(state *string) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WithTimeout(timeout time.Duration) *GetV5IssuesParams
- func (o *GetV5IssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5IssuesReader
- type GetV5OrgsOrgIssuesOK
- func (o *GetV5OrgsOrgIssuesOK) Code() int
- func (o *GetV5OrgsOrgIssuesOK) Error() string
- func (o *GetV5OrgsOrgIssuesOK) GetPayload() []*models.Issue
- func (o *GetV5OrgsOrgIssuesOK) IsClientError() bool
- func (o *GetV5OrgsOrgIssuesOK) IsCode(code int) bool
- func (o *GetV5OrgsOrgIssuesOK) IsRedirect() bool
- func (o *GetV5OrgsOrgIssuesOK) IsServerError() bool
- func (o *GetV5OrgsOrgIssuesOK) IsSuccess() bool
- func (o *GetV5OrgsOrgIssuesOK) String() string
- type GetV5OrgsOrgIssuesParams
- func NewGetV5OrgsOrgIssuesParams() *GetV5OrgsOrgIssuesParams
- func NewGetV5OrgsOrgIssuesParamsWithContext(ctx context.Context) *GetV5OrgsOrgIssuesParamsdeprecated
- func NewGetV5OrgsOrgIssuesParamsWithHTTPClient(client *http.Client) *GetV5OrgsOrgIssuesParams
- func NewGetV5OrgsOrgIssuesParamsWithTimeout(timeout time.Duration) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) SetAccessToken(accessToken *string)
- func (o *GetV5OrgsOrgIssuesParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5OrgsOrgIssuesParams) SetCreatedAt(createdAt *string)
- func (o *GetV5OrgsOrgIssuesParams) SetDeadline(deadline *string)
- func (o *GetV5OrgsOrgIssuesParams) SetDefaults()
- func (o *GetV5OrgsOrgIssuesParams) SetDirection(direction *string)
- func (o *GetV5OrgsOrgIssuesParams) SetFilter(filter *string)
- func (o *GetV5OrgsOrgIssuesParams) SetFinishedAt(finishedAt *string)
- func (o *GetV5OrgsOrgIssuesParams) SetHTTPClient(client *http.Client)
- func (o *GetV5OrgsOrgIssuesParams) SetLabels(labels *string)
- func (o *GetV5OrgsOrgIssuesParams) SetOrg(org string)
- func (o *GetV5OrgsOrgIssuesParams) SetPage(page *int32)
- func (o *GetV5OrgsOrgIssuesParams) SetPerPage(perPage *int32)
- func (o *GetV5OrgsOrgIssuesParams) SetSchedule(schedule *string)
- func (o *GetV5OrgsOrgIssuesParams) SetSince(since *string)
- func (o *GetV5OrgsOrgIssuesParams) SetSort(sort *string)
- func (o *GetV5OrgsOrgIssuesParams) SetState(state *string)
- func (o *GetV5OrgsOrgIssuesParams) SetTimeout(timeout time.Duration)
- func (o *GetV5OrgsOrgIssuesParams) WithAccessToken(accessToken *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithContext(ctx context.Context) *GetV5OrgsOrgIssuesParamsdeprecated
- func (o *GetV5OrgsOrgIssuesParams) WithCreatedAt(createdAt *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithDeadline(deadline *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithDefaults() *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithDirection(direction *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithFilter(filter *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithFinishedAt(finishedAt *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithHTTPClient(client *http.Client) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithLabels(labels *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithOrg(org string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithPage(page *int32) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithPerPage(perPage *int32) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithSchedule(schedule *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithSince(since *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithSort(sort *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithState(state *string) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WithTimeout(timeout time.Duration) *GetV5OrgsOrgIssuesParams
- func (o *GetV5OrgsOrgIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5OrgsOrgIssuesReader
- type GetV5ReposOwnerIssuesNumberOperateLogsOK
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) Code() int
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) Error() string
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) GetPayload() []*models.OperateLog
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsClientError() bool
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsCode(code int) bool
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsRedirect() bool
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsServerError() bool
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsSuccess() bool
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) String() string
- type GetV5ReposOwnerIssuesNumberOperateLogsParams
- func NewGetV5ReposOwnerIssuesNumberOperateLogsParams() *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberOperateLogsParamsdeprecated
- func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetAccessToken(accessToken *string)
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetDefaults()
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetNumber(number string)
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetOwner(owner string)
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetRepo(repo *string)
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetSort(sort *string)
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberOperateLogsParamsdeprecated
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithDefaults() *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithNumber(number string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithOwner(owner string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithRepo(repo *string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithSort(sort *string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberOperateLogsParams
- func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5ReposOwnerIssuesNumberOperateLogsReader
- type GetV5ReposOwnerIssuesNumberPullRequestsOK
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) Code() int
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) Error() string
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) GetPayload() []*models.PullRequest
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsClientError() bool
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsCode(code int) bool
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsRedirect() bool
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsServerError() bool
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsSuccess() bool
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) String() string
- type GetV5ReposOwnerIssuesNumberPullRequestsParams
- func NewGetV5ReposOwnerIssuesNumberPullRequestsParams() *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberPullRequestsParamsdeprecated
- func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetAccessToken(accessToken *string)
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetDefaults()
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetNumber(number string)
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetOwner(owner string)
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetRepo(repo *string)
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberPullRequestsParamsdeprecated
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithDefaults() *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithNumber(number string) *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithOwner(owner string) *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithRepo(repo *string) *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberPullRequestsParams
- func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5ReposOwnerIssuesNumberPullRequestsReader
- type GetV5ReposOwnerRepoIssuesCommentsIDNotFound
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) Code() int
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) Error() string
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsClientError() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsCode(code int) bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsRedirect() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsServerError() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsSuccess() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) String() string
- type GetV5ReposOwnerRepoIssuesCommentsIDOK
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) Code() int
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) Error() string
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) GetPayload() *models.Note
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsCode(code int) bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsRedirect() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsSuccess() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) String() string
- type GetV5ReposOwnerRepoIssuesCommentsIDParams
- func NewGetV5ReposOwnerRepoIssuesCommentsIDParams() *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsIDParamsdeprecated
- func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults()
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetID(id int32)
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner(owner string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo(repo string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsIDParamsdeprecated
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults() *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithID(id int32) *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5ReposOwnerRepoIssuesCommentsIDReader
- type GetV5ReposOwnerRepoIssuesCommentsOK
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) Code() int
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) Error() string
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) GetPayload() []*models.Note
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsClientError() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsCode(code int) bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsRedirect() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsServerError() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsSuccess() bool
- func (o *GetV5ReposOwnerRepoIssuesCommentsOK) String() string
- type GetV5ReposOwnerRepoIssuesCommentsParams
- func NewGetV5ReposOwnerRepoIssuesCommentsParams() *GetV5ReposOwnerRepoIssuesCommentsParams
- func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsParamsdeprecated
- func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsParams
- func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetAccessToken(accessToken *string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetDefaults()
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetDirection(direction *string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetOwner(owner string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetPage(page *int32)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetPerPage(perPage *int32)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetRepo(repo string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetSince(since *string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetSort(sort *string)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsParamsdeprecated
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithDefaults() *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithDirection(direction *string) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithPage(page *int32) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithPerPage(perPage *int32) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithSince(since *string) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithSort(sort *string) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5ReposOwnerRepoIssuesCommentsReader
- type GetV5ReposOwnerRepoIssuesNumberCommentsNotFound
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) Code() int
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) Error() string
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsClientError() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsCode(code int) bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsRedirect() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsServerError() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsSuccess() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) String() string
- type GetV5ReposOwnerRepoIssuesNumberCommentsOK
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) Code() int
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) Error() string
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) GetPayload() []*models.Note
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsClientError() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsCode(code int) bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsRedirect() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsServerError() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsSuccess() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) String() string
- type GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func NewGetV5ReposOwnerRepoIssuesNumberCommentsParams() *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberCommentsParamsdeprecated
- func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken(accessToken *string)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetDefaults()
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient(client *http.Client)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetNumber(number string)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetOrder(order *string)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetOwner(owner string)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPage(page *int32)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPerPage(perPage *int32)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetRepo(repo string)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetSince(since *string)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetTimeout(timeout time.Duration)
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberCommentsParamsdeprecated
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithDefaults() *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithNumber(number string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithOrder(order *string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithPage(page *int32) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithPerPage(perPage *int32) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithSince(since *string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5ReposOwnerRepoIssuesNumberCommentsReader
- type GetV5ReposOwnerRepoIssuesNumberOK
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) Code() int
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) Error() string
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) GetPayload() *models.Issue
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsClientError() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsCode(code int) bool
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsRedirect() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsServerError() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsSuccess() bool
- func (o *GetV5ReposOwnerRepoIssuesNumberOK) String() string
- type GetV5ReposOwnerRepoIssuesNumberParams
- func NewGetV5ReposOwnerRepoIssuesNumberParams() *GetV5ReposOwnerRepoIssuesNumberParams
- func NewGetV5ReposOwnerRepoIssuesNumberParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberParamsdeprecated
- func NewGetV5ReposOwnerRepoIssuesNumberParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberParams
- func NewGetV5ReposOwnerRepoIssuesNumberParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberParams
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetAccessToken(accessToken *string)
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetDefaults()
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetHTTPClient(client *http.Client)
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetNumber(number string)
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetOwner(owner string)
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetRepo(repo string)
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetTimeout(timeout time.Duration)
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesNumberParams
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberParamsdeprecated
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithDefaults() *GetV5ReposOwnerRepoIssuesNumberParams
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberParams
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithNumber(number string) *GetV5ReposOwnerRepoIssuesNumberParams
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesNumberParams
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesNumberParams
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberParams
- func (o *GetV5ReposOwnerRepoIssuesNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5ReposOwnerRepoIssuesNumberReader
- type GetV5ReposOwnerRepoIssuesOK
- func (o *GetV5ReposOwnerRepoIssuesOK) Code() int
- func (o *GetV5ReposOwnerRepoIssuesOK) Error() string
- func (o *GetV5ReposOwnerRepoIssuesOK) GetPayload() []*models.Issue
- func (o *GetV5ReposOwnerRepoIssuesOK) IsClientError() bool
- func (o *GetV5ReposOwnerRepoIssuesOK) IsCode(code int) bool
- func (o *GetV5ReposOwnerRepoIssuesOK) IsRedirect() bool
- func (o *GetV5ReposOwnerRepoIssuesOK) IsServerError() bool
- func (o *GetV5ReposOwnerRepoIssuesOK) IsSuccess() bool
- func (o *GetV5ReposOwnerRepoIssuesOK) String() string
- type GetV5ReposOwnerRepoIssuesParams
- func NewGetV5ReposOwnerRepoIssuesParams() *GetV5ReposOwnerRepoIssuesParams
- func NewGetV5ReposOwnerRepoIssuesParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesParamsdeprecated
- func NewGetV5ReposOwnerRepoIssuesParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesParams
- func NewGetV5ReposOwnerRepoIssuesParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) SetAccessToken(accessToken *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetAssignee(assignee *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5ReposOwnerRepoIssuesParams) SetCreatedAt(createdAt *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetCreator(creator *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetDeadline(deadline *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetDefaults()
- func (o *GetV5ReposOwnerRepoIssuesParams) SetDirection(direction *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetFinishedAt(finishedAt *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetHTTPClient(client *http.Client)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetLabels(labels *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetMilestone(milestone *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetOwner(owner string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetPage(page *int32)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetPerPage(perPage *int32)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetProgram(program *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetQ(q *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetRepo(repo string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetSchedule(schedule *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetSecurityHole(securityHole *bool)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetSince(since *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetSort(sort *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetState(state *string)
- func (o *GetV5ReposOwnerRepoIssuesParams) SetTimeout(timeout time.Duration)
- func (o *GetV5ReposOwnerRepoIssuesParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithAssignee(assignee *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesParamsdeprecated
- func (o *GetV5ReposOwnerRepoIssuesParams) WithCreatedAt(createdAt *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithCreator(creator *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithDeadline(deadline *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithDefaults() *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithDirection(direction *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithFinishedAt(finishedAt *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithLabels(labels *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithMilestone(milestone *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithPage(page *int32) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithPerPage(perPage *int32) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithProgram(program *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithQ(q *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithSchedule(schedule *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithSecurityHole(securityHole *bool) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithSince(since *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithSort(sort *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithState(state *string) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesParams
- func (o *GetV5ReposOwnerRepoIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5ReposOwnerRepoIssuesReader
- type GetV5UserIssuesOK
- func (o *GetV5UserIssuesOK) Code() int
- func (o *GetV5UserIssuesOK) Error() string
- func (o *GetV5UserIssuesOK) GetPayload() []*models.Issue
- func (o *GetV5UserIssuesOK) IsClientError() bool
- func (o *GetV5UserIssuesOK) IsCode(code int) bool
- func (o *GetV5UserIssuesOK) IsRedirect() bool
- func (o *GetV5UserIssuesOK) IsServerError() bool
- func (o *GetV5UserIssuesOK) IsSuccess() bool
- func (o *GetV5UserIssuesOK) String() string
- type GetV5UserIssuesParams
- func NewGetV5UserIssuesParams() *GetV5UserIssuesParams
- func NewGetV5UserIssuesParamsWithContext(ctx context.Context) *GetV5UserIssuesParamsdeprecated
- func NewGetV5UserIssuesParamsWithHTTPClient(client *http.Client) *GetV5UserIssuesParams
- func NewGetV5UserIssuesParamsWithTimeout(timeout time.Duration) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) SetAccessToken(accessToken *string)
- func (o *GetV5UserIssuesParams) SetContext(ctx context.Context)deprecated
- func (o *GetV5UserIssuesParams) SetCreatedAt(createdAt *string)
- func (o *GetV5UserIssuesParams) SetDeadline(deadline *string)
- func (o *GetV5UserIssuesParams) SetDefaults()
- func (o *GetV5UserIssuesParams) SetDirection(direction *string)
- func (o *GetV5UserIssuesParams) SetFilter(filter *string)
- func (o *GetV5UserIssuesParams) SetFinishedAt(finishedAt *string)
- func (o *GetV5UserIssuesParams) SetHTTPClient(client *http.Client)
- func (o *GetV5UserIssuesParams) SetLabels(labels *string)
- func (o *GetV5UserIssuesParams) SetPage(page *int32)
- func (o *GetV5UserIssuesParams) SetPerPage(perPage *int32)
- func (o *GetV5UserIssuesParams) SetSchedule(schedule *string)
- func (o *GetV5UserIssuesParams) SetSince(since *string)
- func (o *GetV5UserIssuesParams) SetSort(sort *string)
- func (o *GetV5UserIssuesParams) SetState(state *string)
- func (o *GetV5UserIssuesParams) SetTimeout(timeout time.Duration)
- func (o *GetV5UserIssuesParams) WithAccessToken(accessToken *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithContext(ctx context.Context) *GetV5UserIssuesParamsdeprecated
- func (o *GetV5UserIssuesParams) WithCreatedAt(createdAt *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithDeadline(deadline *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithDefaults() *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithDirection(direction *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithFilter(filter *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithFinishedAt(finishedAt *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithHTTPClient(client *http.Client) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithLabels(labels *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithPage(page *int32) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithPerPage(perPage *int32) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithSchedule(schedule *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithSince(since *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithSort(sort *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithState(state *string) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WithTimeout(timeout time.Duration) *GetV5UserIssuesParams
- func (o *GetV5UserIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV5UserIssuesReader
- type PatchV5EnterprisesEnterpriseIssuesNumberOK
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) Code() int
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) Error() string
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) GetPayload() *models.Issue
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsClientError() bool
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsCode(code int) bool
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsRedirect() bool
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsServerError() bool
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsSuccess() bool
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) String() string
- type PatchV5EnterprisesEnterpriseIssuesNumberParams
- func NewPatchV5EnterprisesEnterpriseIssuesNumberParams() *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseIssuesNumberParamsdeprecated
- func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken(accessToken *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAssignee(assignee *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetBody(body *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetBranch(branch *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCollaborators(collaborators *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetContext(ctx context.Context)deprecated
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCveID(cveID *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetDefaults()
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise(enterprise string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient(client *http.Client)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetLabels(labels *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetMilestone(milestone *int32)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetNumber(number string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetProgram(program *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetSecurityHole(securityHole *bool)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetState(state *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetTimeout(timeout time.Duration)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetTitle(title *string)
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithAccessToken(accessToken *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithAssignee(assignee *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithBody(body *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithBranch(branch *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithCollaborators(collaborators *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseIssuesNumberParamsdeprecated
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithCveID(cveID *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithDefaults() *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithEnterprise(enterprise string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithLabels(labels *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithMilestone(milestone *int32) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithNumber(number string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithProgram(program *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithSecurityHole(securityHole *bool) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithState(state *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithTitle(title *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
- func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV5EnterprisesEnterpriseIssuesNumberReader
- type PatchV5ReposOwnerIssuesNumberOK
- func (o *PatchV5ReposOwnerIssuesNumberOK) Code() int
- func (o *PatchV5ReposOwnerIssuesNumberOK) Error() string
- func (o *PatchV5ReposOwnerIssuesNumberOK) GetPayload() *models.Issue
- func (o *PatchV5ReposOwnerIssuesNumberOK) IsClientError() bool
- func (o *PatchV5ReposOwnerIssuesNumberOK) IsCode(code int) bool
- func (o *PatchV5ReposOwnerIssuesNumberOK) IsRedirect() bool
- func (o *PatchV5ReposOwnerIssuesNumberOK) IsServerError() bool
- func (o *PatchV5ReposOwnerIssuesNumberOK) IsSuccess() bool
- func (o *PatchV5ReposOwnerIssuesNumberOK) String() string
- type PatchV5ReposOwnerIssuesNumberParams
- func NewPatchV5ReposOwnerIssuesNumberParams() *PatchV5ReposOwnerIssuesNumberParams
- func NewPatchV5ReposOwnerIssuesNumberParamsWithContext(ctx context.Context) *PatchV5ReposOwnerIssuesNumberParamsdeprecated
- func NewPatchV5ReposOwnerIssuesNumberParamsWithHTTPClient(client *http.Client) *PatchV5ReposOwnerIssuesNumberParams
- func NewPatchV5ReposOwnerIssuesNumberParamsWithTimeout(timeout time.Duration) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetAccessToken(accessToken *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetAssignee(assignee *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetBody(body *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetBranch(branch *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetCollaborators(collaborators *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetContext(ctx context.Context)deprecated
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetCveID(cveID *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetDefaults()
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetHTTPClient(client *http.Client)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetLabels(labels *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetMilestone(milestone *int32)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetNumber(number string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetOwner(owner string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetProgram(program *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetRepo(repo *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetSecurityHole(securityHole *bool)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetState(state *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetTimeout(timeout time.Duration)
- func (o *PatchV5ReposOwnerIssuesNumberParams) SetTitle(title *string)
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithAccessToken(accessToken *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithAssignee(assignee *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithBody(body *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithBranch(branch *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithCollaborators(collaborators *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithContext(ctx context.Context) *PatchV5ReposOwnerIssuesNumberParamsdeprecated
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithCveID(cveID *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithDefaults() *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithHTTPClient(client *http.Client) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithLabels(labels *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithMilestone(milestone *int32) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithNumber(number string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithOwner(owner string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithProgram(program *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithRepo(repo *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithSecurityHole(securityHole *bool) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithState(state *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithTimeout(timeout time.Duration) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WithTitle(title *string) *PatchV5ReposOwnerIssuesNumberParams
- func (o *PatchV5ReposOwnerIssuesNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV5ReposOwnerIssuesNumberReader
- type PatchV5ReposOwnerRepoIssuesCommentsIDOK
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) Code() int
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) Error() string
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) GetPayload() *models.Note
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError() bool
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsCode(code int) bool
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsRedirect() bool
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError() bool
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsSuccess() bool
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) String() string
- type PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func NewPatchV5ReposOwnerRepoIssuesCommentsIDParams() *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *PatchV5ReposOwnerRepoIssuesCommentsIDParamsdeprecated
- func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetBody(body string)
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetContext(ctx context.Context)deprecated
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults()
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetID(id int32)
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner(owner string)
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo(repo string)
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken(accessToken *string) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithBody(body string) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithContext(ctx context.Context) *PatchV5ReposOwnerRepoIssuesCommentsIDParamsdeprecated
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults() *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient(client *http.Client) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithID(id int32) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner(owner string) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo(repo string) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout(timeout time.Duration) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
- func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV5ReposOwnerRepoIssuesCommentsIDReader
- type PostV5ReposOwnerIssuesCreated
- func (o *PostV5ReposOwnerIssuesCreated) Code() int
- func (o *PostV5ReposOwnerIssuesCreated) Error() string
- func (o *PostV5ReposOwnerIssuesCreated) GetPayload() *models.Issue
- func (o *PostV5ReposOwnerIssuesCreated) IsClientError() bool
- func (o *PostV5ReposOwnerIssuesCreated) IsCode(code int) bool
- func (o *PostV5ReposOwnerIssuesCreated) IsRedirect() bool
- func (o *PostV5ReposOwnerIssuesCreated) IsServerError() bool
- func (o *PostV5ReposOwnerIssuesCreated) IsSuccess() bool
- func (o *PostV5ReposOwnerIssuesCreated) String() string
- type PostV5ReposOwnerIssuesParams
- func NewPostV5ReposOwnerIssuesParams() *PostV5ReposOwnerIssuesParams
- func NewPostV5ReposOwnerIssuesParamsWithContext(ctx context.Context) *PostV5ReposOwnerIssuesParamsdeprecated
- func NewPostV5ReposOwnerIssuesParamsWithHTTPClient(client *http.Client) *PostV5ReposOwnerIssuesParams
- func NewPostV5ReposOwnerIssuesParamsWithTimeout(timeout time.Duration) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) SetAccessToken(accessToken *string)
- func (o *PostV5ReposOwnerIssuesParams) SetAssignee(assignee *string)
- func (o *PostV5ReposOwnerIssuesParams) SetBody(body *string)
- func (o *PostV5ReposOwnerIssuesParams) SetBranch(branch *string)
- func (o *PostV5ReposOwnerIssuesParams) SetCollaborators(collaborators *string)
- func (o *PostV5ReposOwnerIssuesParams) SetContext(ctx context.Context)deprecated
- func (o *PostV5ReposOwnerIssuesParams) SetCveID(cveID *string)
- func (o *PostV5ReposOwnerIssuesParams) SetDefaults()
- func (o *PostV5ReposOwnerIssuesParams) SetHTTPClient(client *http.Client)
- func (o *PostV5ReposOwnerIssuesParams) SetIssueType(issueType *string)
- func (o *PostV5ReposOwnerIssuesParams) SetLabels(labels *string)
- func (o *PostV5ReposOwnerIssuesParams) SetMilestone(milestone *int32)
- func (o *PostV5ReposOwnerIssuesParams) SetOwner(owner string)
- func (o *PostV5ReposOwnerIssuesParams) SetProgram(program *string)
- func (o *PostV5ReposOwnerIssuesParams) SetRepo(repo *string)
- func (o *PostV5ReposOwnerIssuesParams) SetSecurityHole(securityHole *bool)
- func (o *PostV5ReposOwnerIssuesParams) SetTimeout(timeout time.Duration)
- func (o *PostV5ReposOwnerIssuesParams) SetTitle(title string)
- func (o *PostV5ReposOwnerIssuesParams) WithAccessToken(accessToken *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithAssignee(assignee *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithBody(body *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithBranch(branch *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithCollaborators(collaborators *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithContext(ctx context.Context) *PostV5ReposOwnerIssuesParamsdeprecated
- func (o *PostV5ReposOwnerIssuesParams) WithCveID(cveID *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithDefaults() *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithHTTPClient(client *http.Client) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithIssueType(issueType *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithLabels(labels *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithMilestone(milestone *int32) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithOwner(owner string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithProgram(program *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithRepo(repo *string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithSecurityHole(securityHole *bool) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithTimeout(timeout time.Duration) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WithTitle(title string) *PostV5ReposOwnerIssuesParams
- func (o *PostV5ReposOwnerIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV5ReposOwnerIssuesReader
- type PostV5ReposOwnerRepoIssuesNumberCommentsCreated
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) Code() int
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) Error() string
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) GetPayload() *models.Note
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsClientError() bool
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsCode(code int) bool
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsRedirect() bool
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsServerError() bool
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsSuccess() bool
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) String() string
- type PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func NewPostV5ReposOwnerRepoIssuesNumberCommentsParams() *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext(ctx context.Context) *PostV5ReposOwnerRepoIssuesNumberCommentsParamsdeprecated
- func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken(accessToken *string)
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetBody(body string)
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetContext(ctx context.Context)deprecated
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetDefaults()
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient(client *http.Client)
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetNumber(number string)
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetOwner(owner string)
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetRepo(repo string)
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetTimeout(timeout time.Duration)
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithAccessToken(accessToken *string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithBody(body string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithContext(ctx context.Context) *PostV5ReposOwnerRepoIssuesNumberCommentsParamsdeprecated
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithDefaults() *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithHTTPClient(client *http.Client) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithNumber(number string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithOwner(owner string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithRepo(repo string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithTimeout(timeout time.Duration) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
- func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV5ReposOwnerRepoIssuesNumberCommentsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for issues API.
func (*Client) DeleteV5ReposOwnerRepoIssuesCommentsID ¶
func (a *Client) DeleteV5ReposOwnerRepoIssuesCommentsID(params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)
DeleteV5ReposOwnerRepoIssuesCommentsID删除s issue某条评论.
删除Issue某条评论.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.DeleteV5ReposOwnerRepoIssuesCommentsIDContext instead.
func (*Client) DeleteV5ReposOwnerRepoIssuesCommentsIDContext ¶ added in v5.14.0
func (a *Client) DeleteV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)
DeleteV5ReposOwnerRepoIssuesCommentsIDContext删除s issue某条评论.
删除Issue某条评论.
Do not use the deprecated [DeleteV5ReposOwnerRepoIssuesCommentsIDParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseIssues ¶
func (a *Client) GetV5EnterprisesEnterpriseIssues(params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)
GetV5EnterprisesEnterpriseIssues获取某个企业的所有s issues.
获取某个企业的所有Issues.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesContext instead.
func (*Client) GetV5EnterprisesEnterpriseIssuesContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseIssuesContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)
GetV5EnterprisesEnterpriseIssuesContext获取某个企业的所有s issues.
获取某个企业的所有Issues.
Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseIssuesNumber ¶
func (a *Client) GetV5EnterprisesEnterpriseIssuesNumber(params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)
GetV5EnterprisesEnterpriseIssuesNumber获取企业的某个s issue.
获取企业的某个Issue.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesNumberContext instead.
func (*Client) GetV5EnterprisesEnterpriseIssuesNumberComments ¶
func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberComments(params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)
GetV5EnterprisesEnterpriseIssuesNumberComments获取企业某个s issue所有评论.
获取企业某个Issue所有评论.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesNumberCommentsContext instead.
func (*Client) GetV5EnterprisesEnterpriseIssuesNumberCommentsContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberCommentsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)
GetV5EnterprisesEnterpriseIssuesNumberCommentsContext获取企业某个s issue所有评论.
获取企业某个Issue所有评论.
Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesNumberCommentsParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseIssuesNumberContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)
GetV5EnterprisesEnterpriseIssuesNumberContext获取企业的某个s issue.
获取企业的某个Issue.
Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesNumberParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseIssuesNumberLabels ¶
func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberLabels(params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)
GetV5EnterprisesEnterpriseIssuesNumberLabels获取企业某个s issue所有标签.
获取企业某个Issue所有标签.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesNumberLabelsContext instead.
func (*Client) GetV5EnterprisesEnterpriseIssuesNumberLabelsContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberLabelsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)
GetV5EnterprisesEnterpriseIssuesNumberLabelsContext获取企业某个s issue所有标签.
获取企业某个Issue所有标签.
Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesNumberLabelsParams.Context] with this method: it would be ignored.
func (*Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequests ¶
func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequests(params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)
GetV5EnterprisesEnterpriseIssuesNumberPullRequests获取企业s issue 关联的 pull requests.
获取企业 issue 关联的 Pull Requests.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext instead.
func (*Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext ¶ added in v5.14.0
func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)
GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext获取企业s issue 关联的 pull requests.
获取企业 issue 关联的 Pull Requests.
Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams.Context] with this method: it would be ignored.
func (*Client) GetV5Issues ¶
func (a *Client) GetV5Issues(params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)
GetV5Issues获取当前授权用户的所有s issues.
获取当前授权用户的所有Issues.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5IssuesContext instead.
func (*Client) GetV5IssuesContext ¶ added in v5.14.0
func (a *Client) GetV5IssuesContext(ctx context.Context, params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)
GetV5IssuesContext获取当前授权用户的所有s issues.
获取当前授权用户的所有Issues.
Do not use the deprecated [GetV5IssuesParams.Context] with this method: it would be ignored.
func (*Client) GetV5OrgsOrgIssues ¶
func (a *Client) GetV5OrgsOrgIssues(params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)
GetV5OrgsOrgIssues获取当前用户某个组织的s issues.
获取当前用户某个组织的Issues.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5OrgsOrgIssuesContext instead.
func (*Client) GetV5OrgsOrgIssuesContext ¶ added in v5.14.0
func (a *Client) GetV5OrgsOrgIssuesContext(ctx context.Context, params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)
GetV5OrgsOrgIssuesContext获取当前用户某个组织的s issues.
获取当前用户某个组织的Issues.
Do not use the deprecated [GetV5OrgsOrgIssuesParams.Context] with this method: it would be ignored.
func (*Client) GetV5ReposOwnerIssuesNumberOperateLogs ¶
func (a *Client) GetV5ReposOwnerIssuesNumberOperateLogs(params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)
GetV5ReposOwnerIssuesNumberOperateLogs获取某个s issue下的操作日志.
获取某个Issue下的操作日志.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5ReposOwnerIssuesNumberOperateLogsContext instead.
func (*Client) GetV5ReposOwnerIssuesNumberOperateLogsContext ¶ added in v5.14.0
func (a *Client) GetV5ReposOwnerIssuesNumberOperateLogsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)
GetV5ReposOwnerIssuesNumberOperateLogsContext获取某个s issue下的操作日志.
获取某个Issue下的操作日志.
Do not use the deprecated [GetV5ReposOwnerIssuesNumberOperateLogsParams.Context] with this method: it would be ignored.
func (*Client) GetV5ReposOwnerIssuesNumberPullRequests ¶
func (a *Client) GetV5ReposOwnerIssuesNumberPullRequests(params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)
GetV5ReposOwnerIssuesNumberPullRequests获取s issue 关联的 pull requests.
获取 issue 关联的 Pull Requests.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5ReposOwnerIssuesNumberPullRequestsContext instead.
func (*Client) GetV5ReposOwnerIssuesNumberPullRequestsContext ¶ added in v5.14.0
func (a *Client) GetV5ReposOwnerIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)
GetV5ReposOwnerIssuesNumberPullRequestsContext获取s issue 关联的 pull requests.
获取 issue 关联的 Pull Requests.
Do not use the deprecated [GetV5ReposOwnerIssuesNumberPullRequestsParams.Context] with this method: it would be ignored.
func (*Client) GetV5ReposOwnerRepoIssues ¶
func (a *Client) GetV5ReposOwnerRepoIssues(params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)
GetV5ReposOwnerRepoIssues仓库的所有s issues.
仓库的所有Issues.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesContext instead.
func (*Client) GetV5ReposOwnerRepoIssuesComments ¶
func (a *Client) GetV5ReposOwnerRepoIssuesComments(params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)
GetV5ReposOwnerRepoIssuesComments获取仓库所有s issue的评论.
获取仓库所有Issue的评论.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesCommentsContext instead.
func (*Client) GetV5ReposOwnerRepoIssuesCommentsContext ¶ added in v5.14.0
func (a *Client) GetV5ReposOwnerRepoIssuesCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)
GetV5ReposOwnerRepoIssuesCommentsContext获取仓库所有s issue的评论.
获取仓库所有Issue的评论.
Do not use the deprecated [GetV5ReposOwnerRepoIssuesCommentsParams.Context] with this method: it would be ignored.
func (*Client) GetV5ReposOwnerRepoIssuesCommentsID ¶
func (a *Client) GetV5ReposOwnerRepoIssuesCommentsID(params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)
GetV5ReposOwnerRepoIssuesCommentsID获取仓库s issue某条评论.
获取仓库Issue某条评论.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesCommentsIDContext instead.
func (*Client) GetV5ReposOwnerRepoIssuesCommentsIDContext ¶ added in v5.14.0
func (a *Client) GetV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)
GetV5ReposOwnerRepoIssuesCommentsIDContext获取仓库s issue某条评论.
获取仓库Issue某条评论.
Do not use the deprecated [GetV5ReposOwnerRepoIssuesCommentsIDParams.Context] with this method: it would be ignored.
func (*Client) GetV5ReposOwnerRepoIssuesContext ¶ added in v5.14.0
func (a *Client) GetV5ReposOwnerRepoIssuesContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)
GetV5ReposOwnerRepoIssuesContext仓库的所有s issues.
仓库的所有Issues.
Do not use the deprecated [GetV5ReposOwnerRepoIssuesParams.Context] with this method: it would be ignored.
func (*Client) GetV5ReposOwnerRepoIssuesNumber ¶
func (a *Client) GetV5ReposOwnerRepoIssuesNumber(params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)
GetV5ReposOwnerRepoIssuesNumber仓库的某个s issue.
仓库的某个Issue.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesNumberContext instead.
func (*Client) GetV5ReposOwnerRepoIssuesNumberComments ¶
func (a *Client) GetV5ReposOwnerRepoIssuesNumberComments(params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)
GetV5ReposOwnerRepoIssuesNumberComments获取仓库某个s issue所有的评论.
获取仓库某个Issue所有的评论.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesNumberCommentsContext instead.
func (*Client) GetV5ReposOwnerRepoIssuesNumberCommentsContext ¶ added in v5.14.0
func (a *Client) GetV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)
GetV5ReposOwnerRepoIssuesNumberCommentsContext获取仓库某个s issue所有的评论.
获取仓库某个Issue所有的评论.
Do not use the deprecated [GetV5ReposOwnerRepoIssuesNumberCommentsParams.Context] with this method: it would be ignored.
func (*Client) GetV5ReposOwnerRepoIssuesNumberContext ¶ added in v5.14.0
func (a *Client) GetV5ReposOwnerRepoIssuesNumberContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)
GetV5ReposOwnerRepoIssuesNumberContext仓库的某个s issue.
仓库的某个Issue.
Do not use the deprecated [GetV5ReposOwnerRepoIssuesNumberParams.Context] with this method: it would be ignored.
func (*Client) GetV5UserIssues ¶
func (a *Client) GetV5UserIssues(params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)
GetV5UserIssues获取授权用户的所有s issues.
获取授权用户的所有Issues.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetV5UserIssuesContext instead.
func (*Client) GetV5UserIssuesContext ¶ added in v5.14.0
func (a *Client) GetV5UserIssuesContext(ctx context.Context, params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)
GetV5UserIssuesContext获取授权用户的所有s issues.
获取授权用户的所有Issues.
Do not use the deprecated [GetV5UserIssuesParams.Context] with this method: it would be ignored.
func (*Client) PatchV5EnterprisesEnterpriseIssuesNumber ¶
func (a *Client) PatchV5EnterprisesEnterpriseIssuesNumber(params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)
PatchV5EnterprisesEnterpriseIssuesNumber更新企业的某个s issue.
更新企业的某个Issue.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PatchV5EnterprisesEnterpriseIssuesNumberContext instead.
func (*Client) PatchV5EnterprisesEnterpriseIssuesNumberContext ¶ added in v5.14.0
func (a *Client) PatchV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)
PatchV5EnterprisesEnterpriseIssuesNumberContext更新企业的某个s issue.
更新企业的某个Issue.
Do not use the deprecated [PatchV5EnterprisesEnterpriseIssuesNumberParams.Context] with this method: it would be ignored.
func (*Client) PatchV5ReposOwnerIssuesNumber ¶
func (a *Client) PatchV5ReposOwnerIssuesNumber(params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)
PatchV5ReposOwnerIssuesNumber更新s issue.
更新Issue.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PatchV5ReposOwnerIssuesNumberContext instead.
func (*Client) PatchV5ReposOwnerIssuesNumberContext ¶ added in v5.14.0
func (a *Client) PatchV5ReposOwnerIssuesNumberContext(ctx context.Context, params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)
PatchV5ReposOwnerIssuesNumberContext更新s issue.
更新Issue.
Do not use the deprecated [PatchV5ReposOwnerIssuesNumberParams.Context] with this method: it would be ignored.
func (*Client) PatchV5ReposOwnerRepoIssuesCommentsID ¶
func (a *Client) PatchV5ReposOwnerRepoIssuesCommentsID(params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)
PatchV5ReposOwnerRepoIssuesCommentsID更新s issue某条评论.
更新Issue某条评论.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PatchV5ReposOwnerRepoIssuesCommentsIDContext instead.
func (*Client) PatchV5ReposOwnerRepoIssuesCommentsIDContext ¶ added in v5.14.0
func (a *Client) PatchV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)
PatchV5ReposOwnerRepoIssuesCommentsIDContext更新s issue某条评论.
更新Issue某条评论.
Do not use the deprecated [PatchV5ReposOwnerRepoIssuesCommentsIDParams.Context] with this method: it would be ignored.
func (*Client) PostV5ReposOwnerIssues ¶
func (a *Client) PostV5ReposOwnerIssues(params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)
PostV5ReposOwnerIssues创建s issue.
创建Issue.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PostV5ReposOwnerIssuesContext instead.
func (*Client) PostV5ReposOwnerIssuesContext ¶ added in v5.14.0
func (a *Client) PostV5ReposOwnerIssuesContext(ctx context.Context, params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)
PostV5ReposOwnerIssuesContext创建s issue.
创建Issue.
Do not use the deprecated [PostV5ReposOwnerIssuesParams.Context] with this method: it would be ignored.
func (*Client) PostV5ReposOwnerRepoIssuesNumberComments ¶
func (a *Client) PostV5ReposOwnerRepoIssuesNumberComments(params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)
PostV5ReposOwnerRepoIssuesNumberComments创建某个s issue评论.
创建某个Issue评论.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.PostV5ReposOwnerRepoIssuesNumberCommentsContext instead.
func (*Client) PostV5ReposOwnerRepoIssuesNumberCommentsContext ¶ added in v5.14.0
func (a *Client) PostV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)
PostV5ReposOwnerRepoIssuesNumberCommentsContext创建某个s issue评论.
创建某个Issue评论.
Do not use the deprecated [PostV5ReposOwnerRepoIssuesNumberCommentsParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
// DeleteV5ReposOwnerRepoIssuesCommentsID 删除 issue某条评论.
DeleteV5ReposOwnerRepoIssuesCommentsID(params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)
// DeleteV5ReposOwnerRepoIssuesCommentsIDContext 删除 issue某条评论.
DeleteV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)
// GetV5EnterprisesEnterpriseIssues 获取某个企业的所有 issues.
GetV5EnterprisesEnterpriseIssues(params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)
// GetV5EnterprisesEnterpriseIssuesContext 获取某个企业的所有 issues.
GetV5EnterprisesEnterpriseIssuesContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)
// GetV5EnterprisesEnterpriseIssuesNumber 获取企业的某个 issue.
GetV5EnterprisesEnterpriseIssuesNumber(params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)
// GetV5EnterprisesEnterpriseIssuesNumberContext 获取企业的某个 issue.
GetV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)
// GetV5EnterprisesEnterpriseIssuesNumberComments 获取企业某个 issue所有评论.
GetV5EnterprisesEnterpriseIssuesNumberComments(params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)
// GetV5EnterprisesEnterpriseIssuesNumberCommentsContext 获取企业某个 issue所有评论.
GetV5EnterprisesEnterpriseIssuesNumberCommentsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)
// GetV5EnterprisesEnterpriseIssuesNumberLabels 获取企业某个 issue所有标签.
GetV5EnterprisesEnterpriseIssuesNumberLabels(params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)
// GetV5EnterprisesEnterpriseIssuesNumberLabelsContext 获取企业某个 issue所有标签.
GetV5EnterprisesEnterpriseIssuesNumberLabelsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)
// GetV5EnterprisesEnterpriseIssuesNumberPullRequests 获取企业 issue 关联的 pull requests.
GetV5EnterprisesEnterpriseIssuesNumberPullRequests(params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)
// GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext 获取企业 issue 关联的 pull requests.
GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)
// GetV5Issues 获取当前授权用户的所有 issues.
GetV5Issues(params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)
// GetV5IssuesContext 获取当前授权用户的所有 issues.
GetV5IssuesContext(ctx context.Context, params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)
// GetV5OrgsOrgIssues 获取当前用户某个组织的 issues.
GetV5OrgsOrgIssues(params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)
// GetV5OrgsOrgIssuesContext 获取当前用户某个组织的 issues.
GetV5OrgsOrgIssuesContext(ctx context.Context, params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)
// GetV5ReposOwnerIssuesNumberOperateLogs 获取某个 issue下的操作日志.
GetV5ReposOwnerIssuesNumberOperateLogs(params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)
// GetV5ReposOwnerIssuesNumberOperateLogsContext 获取某个 issue下的操作日志.
GetV5ReposOwnerIssuesNumberOperateLogsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)
// GetV5ReposOwnerIssuesNumberPullRequests 获取 issue 关联的 pull requests.
GetV5ReposOwnerIssuesNumberPullRequests(params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)
// GetV5ReposOwnerIssuesNumberPullRequestsContext 获取 issue 关联的 pull requests.
GetV5ReposOwnerIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)
// GetV5ReposOwnerRepoIssues 仓库的所有 issues.
GetV5ReposOwnerRepoIssues(params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)
// GetV5ReposOwnerRepoIssuesContext 仓库的所有 issues.
GetV5ReposOwnerRepoIssuesContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)
// GetV5ReposOwnerRepoIssuesComments 获取仓库所有 issue的评论.
GetV5ReposOwnerRepoIssuesComments(params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)
// GetV5ReposOwnerRepoIssuesCommentsContext 获取仓库所有 issue的评论.
GetV5ReposOwnerRepoIssuesCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)
// GetV5ReposOwnerRepoIssuesCommentsID 获取仓库 issue某条评论.
GetV5ReposOwnerRepoIssuesCommentsID(params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)
// GetV5ReposOwnerRepoIssuesCommentsIDContext 获取仓库 issue某条评论.
GetV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)
// GetV5ReposOwnerRepoIssuesNumber 仓库的某个 issue.
GetV5ReposOwnerRepoIssuesNumber(params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)
// GetV5ReposOwnerRepoIssuesNumberContext 仓库的某个 issue.
GetV5ReposOwnerRepoIssuesNumberContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)
// GetV5ReposOwnerRepoIssuesNumberComments 获取仓库某个 issue所有的评论.
GetV5ReposOwnerRepoIssuesNumberComments(params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)
// GetV5ReposOwnerRepoIssuesNumberCommentsContext 获取仓库某个 issue所有的评论.
GetV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)
// GetV5UserIssues 获取授权用户的所有 issues.
GetV5UserIssues(params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)
// GetV5UserIssuesContext 获取授权用户的所有 issues.
GetV5UserIssuesContext(ctx context.Context, params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)
// PatchV5EnterprisesEnterpriseIssuesNumber 更新企业的某个 issue.
PatchV5EnterprisesEnterpriseIssuesNumber(params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)
// PatchV5EnterprisesEnterpriseIssuesNumberContext 更新企业的某个 issue.
PatchV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)
// PatchV5ReposOwnerIssuesNumber 更新 issue.
PatchV5ReposOwnerIssuesNumber(params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)
// PatchV5ReposOwnerIssuesNumberContext 更新 issue.
PatchV5ReposOwnerIssuesNumberContext(ctx context.Context, params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)
// PatchV5ReposOwnerRepoIssuesCommentsID 更新 issue某条评论.
PatchV5ReposOwnerRepoIssuesCommentsID(params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)
// PatchV5ReposOwnerRepoIssuesCommentsIDContext 更新 issue某条评论.
PatchV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)
// PostV5ReposOwnerIssues 创建 issue.
PostV5ReposOwnerIssues(params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)
// PostV5ReposOwnerIssuesContext 创建 issue.
PostV5ReposOwnerIssuesContext(ctx context.Context, params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)
// PostV5ReposOwnerRepoIssuesNumberComments 创建某个 issue评论.
PostV5ReposOwnerRepoIssuesNumberComments(params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)
// PostV5ReposOwnerRepoIssuesNumberCommentsContext 创建某个 issue评论.
PostV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new issues API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new issues API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new issues API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent ¶
type DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent struct {
}
DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent describes a response with status code 204, with default header values.
删除Issue某条评论
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDNoContent ¶
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDNoContent() *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent
NewDeleteV5ReposOwnerRepoIssuesCommentsIDNoContent creates a DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent with default headers values
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) Code ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) Code() int
Code gets the status code for the delete v5 repos owner repo issues comments Id no content response
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) Error ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) Error() string
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsClientError ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsClientError() bool
IsClientError returns true when this delete v5 repos owner repo issues comments Id no content response has a 4xx status code
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsCode ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsCode(code int) bool
IsCode returns true when this delete v5 repos owner repo issues comments Id no content response a status code equal to that given
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsRedirect ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete v5 repos owner repo issues comments Id no content response has a 3xx status code
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsServerError ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsServerError() bool
IsServerError returns true when this delete v5 repos owner repo issues comments Id no content response has a 5xx status code
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsSuccess ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete v5 repos owner repo issues comments Id no content response has a 2xx status code
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) String ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) String() string
type DeleteV5ReposOwnerRepoIssuesCommentsIDParams ¶
type DeleteV5ReposOwnerRepoIssuesCommentsIDParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* ID.
评论的ID
Format: int32
*/
ID int32
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Repo.
仓库路径(path)
*/
Repo string
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteV5ReposOwnerRepoIssuesCommentsIDParams contains all the parameters to send to the API endpoint
for the delete v5 repos owner repo issues comments Id operation. Typically these are written to a http.Request.
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParams ¶
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParams() *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
NewDeleteV5ReposOwnerRepoIssuesCommentsIDParams creates a new DeleteV5ReposOwnerRepoIssuesCommentsIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithContext
deprecated
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithContext creates a new DeleteV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteV5ReposOwnerRepoIssuesCommentsIDParams.
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient ¶
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient creates a new DeleteV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout ¶
func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout creates a new DeleteV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a timeout on a request.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetContext
deprecated
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v5 repos owner repo issues comments Id params.
Deprecated: use the operation call with context to pass the context instead of DeleteV5ReposOwnerRepoIssuesCommentsIDParams.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v5 repos owner repo issues comments Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetID ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetID(id int32)
SetID adds the id to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner(owner string)
SetOwner adds the owner to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo(repo string)
SetRepo adds the repo to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken(accessToken *string) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
WithAccessToken adds the accessToken to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithContext
deprecated
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithContext(ctx context.Context) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
WithContext adds the context to the delete v5 repos owner repo issues comments Id params.
Deprecated: use the operation call with context to pass the context instead of DeleteV5ReposOwnerRepoIssuesCommentsIDParams.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults() *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
WithDefaults hydrates default values in the delete v5 repos owner repo issues comments Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient(client *http.Client) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
WithHTTPClient adds the HTTPClient to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithID ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithID(id int32) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
WithID adds the id to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner(owner string) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
WithOwner adds the owner to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo(repo string) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
WithRepo adds the repo to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout(timeout time.Duration) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams
WithTimeout adds the timeout to the delete v5 repos owner repo issues comments Id params.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteV5ReposOwnerRepoIssuesCommentsIDReader ¶
type DeleteV5ReposOwnerRepoIssuesCommentsIDReader struct {
// contains filtered or unexported fields
}
DeleteV5ReposOwnerRepoIssuesCommentsIDReader is a Reader for the DeleteV5ReposOwnerRepoIssuesCommentsID structure.
func (*DeleteV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse ¶
func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseIssuesNumberCommentsOK ¶
GetV5EnterprisesEnterpriseIssuesNumberCommentsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsOK ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsOK() *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK
NewGetV5EnterprisesEnterpriseIssuesNumberCommentsOK creates a GetV5EnterprisesEnterpriseIssuesNumberCommentsOK with default headers values
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) Code ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) Code() int
Code gets the status code for the get v5 enterprises enterprise issues number comments o k response
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) Error ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) Error() string
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) GetPayload() []*models.Note
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise issues number comments o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise issues number comments o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise issues number comments o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise issues number comments o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise issues number comments o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) String ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) String() string
type GetV5EnterprisesEnterpriseIssuesNumberCommentsParams ¶
type GetV5EnterprisesEnterpriseIssuesNumberCommentsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesNumberCommentsParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise issues number comments operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParams ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParams() *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParams creates a new GetV5EnterprisesEnterpriseIssuesNumberCommentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesNumberCommentsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberCommentsParams.
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesNumberCommentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesNumberCommentsParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise issues number comments params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberCommentsParams.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise issues number comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetNumber ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetNumber(number string)
SetNumber adds the number to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetPage(page *int32)
SetPage adds the page to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetPerPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithContext adds the context to the get v5 enterprises enterprise issues number comments params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberCommentsParams.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithDefaults hydrates default values in the get v5 enterprises enterprise issues number comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithNumber ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithNumber(number string) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithNumber adds the number to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithPage adds the page to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithPerPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithPerPage adds the perPage to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams
WithTimeout adds the timeout to the get v5 enterprises enterprise issues number comments params.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseIssuesNumberCommentsReader ¶
type GetV5EnterprisesEnterpriseIssuesNumberCommentsReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesNumberCommentsReader is a Reader for the GetV5EnterprisesEnterpriseIssuesNumberComments structure.
func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseIssuesNumberLabelsOK ¶
GetV5EnterprisesEnterpriseIssuesNumberLabelsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsOK ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsOK() *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK
NewGetV5EnterprisesEnterpriseIssuesNumberLabelsOK creates a GetV5EnterprisesEnterpriseIssuesNumberLabelsOK with default headers values
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) Code ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) Code() int
Code gets the status code for the get v5 enterprises enterprise issues number labels o k response
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) Error ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) Error() string
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) GetPayload() []*models.Label
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise issues number labels o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise issues number labels o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise issues number labels o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise issues number labels o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise issues number labels o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) String ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) String() string
type GetV5EnterprisesEnterpriseIssuesNumberLabelsParams ¶
type GetV5EnterprisesEnterpriseIssuesNumberLabelsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesNumberLabelsParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise issues number labels operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParams ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParams() *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParams creates a new GetV5EnterprisesEnterpriseIssuesNumberLabelsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesNumberLabelsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberLabelsParams.
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesNumberLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesNumberLabelsParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise issues number labels params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberLabelsParams.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise issues number labels params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetNumber ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetNumber(number string)
SetNumber adds the number to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetPage(page *int32)
SetPage adds the page to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetPerPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithContext adds the context to the get v5 enterprises enterprise issues number labels params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberLabelsParams.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithDefaults hydrates default values in the get v5 enterprises enterprise issues number labels params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithNumber ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithNumber(number string) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithNumber adds the number to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithPage adds the page to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithPerPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithPerPage adds the perPage to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams
WithTimeout adds the timeout to the get v5 enterprises enterprise issues number labels params.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseIssuesNumberLabelsReader ¶
type GetV5EnterprisesEnterpriseIssuesNumberLabelsReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesNumberLabelsReader is a Reader for the GetV5EnterprisesEnterpriseIssuesNumberLabels structure.
func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseIssuesNumberOK ¶
GetV5EnterprisesEnterpriseIssuesNumberOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseIssuesNumberOK ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberOK() *GetV5EnterprisesEnterpriseIssuesNumberOK
NewGetV5EnterprisesEnterpriseIssuesNumberOK creates a GetV5EnterprisesEnterpriseIssuesNumberOK with default headers values
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) Code ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) Code() int
Code gets the status code for the get v5 enterprises enterprise issues number o k response
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) Error ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) Error() string
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) GetPayload() *models.Issue
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise issues number o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise issues number o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise issues number o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise issues number o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise issues number o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberOK) String ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberOK) String() string
type GetV5EnterprisesEnterpriseIssuesNumberParams ¶
type GetV5EnterprisesEnterpriseIssuesNumberParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesNumberParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise issues number operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseIssuesNumberParams ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberParams() *GetV5EnterprisesEnterpriseIssuesNumberParams
NewGetV5EnterprisesEnterpriseIssuesNumberParams creates a new GetV5EnterprisesEnterpriseIssuesNumberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberParams
NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberParams.
func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberParams
NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberParams
NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise issues number params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberParams.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise issues number params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetNumber ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetNumber(number string)
SetNumber adds the number to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesNumberParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberParams
WithContext adds the context to the get v5 enterprises enterprise issues number params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberParams.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesNumberParams
WithDefaults hydrates default values in the get v5 enterprises enterprise issues number params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesNumberParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithNumber ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithNumber(number string) *GetV5EnterprisesEnterpriseIssuesNumberParams
WithNumber adds the number to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberParams
WithTimeout adds the timeout to the get v5 enterprises enterprise issues number params.
func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK ¶
type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK struct {
Payload []*models.PullRequest
}
GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK() *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK
NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK creates a GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK with default headers values
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) Code ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) Code() int
Code gets the status code for the get v5 enterprises enterprise issues number pull requests o k response
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) Error ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) Error() string
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) GetPayload() []*models.PullRequest
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise issues number pull requests o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise issues number pull requests o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise issues number pull requests o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise issues number pull requests o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise issues number pull requests o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) String ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) String() string
type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams ¶
type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise issues number pull requests operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams() *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams creates a new GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams.
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise issues number pull requests params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise issues number pull requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetNumber ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetNumber(number string)
SetNumber adds the number to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
WithContext adds the context to the get v5 enterprises enterprise issues number pull requests params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
WithDefaults hydrates default values in the get v5 enterprises enterprise issues number pull requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithNumber ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithNumber(number string) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
WithNumber adds the number to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams
WithTimeout adds the timeout to the get v5 enterprises enterprise issues number pull requests params.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader ¶
type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader is a Reader for the GetV5EnterprisesEnterpriseIssuesNumberPullRequests structure.
func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseIssuesNumberReader ¶
type GetV5EnterprisesEnterpriseIssuesNumberReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesNumberReader is a Reader for the GetV5EnterprisesEnterpriseIssuesNumber structure.
func (*GetV5EnterprisesEnterpriseIssuesNumberReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseIssuesNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5EnterprisesEnterpriseIssuesOK ¶
GetV5EnterprisesEnterpriseIssuesOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5EnterprisesEnterpriseIssuesOK ¶
func NewGetV5EnterprisesEnterpriseIssuesOK() *GetV5EnterprisesEnterpriseIssuesOK
NewGetV5EnterprisesEnterpriseIssuesOK creates a GetV5EnterprisesEnterpriseIssuesOK with default headers values
func (*GetV5EnterprisesEnterpriseIssuesOK) Code ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) Code() int
Code gets the status code for the get v5 enterprises enterprise issues o k response
func (*GetV5EnterprisesEnterpriseIssuesOK) Error ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) Error() string
func (*GetV5EnterprisesEnterpriseIssuesOK) GetPayload ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) GetPayload() []*models.Issue
func (*GetV5EnterprisesEnterpriseIssuesOK) IsClientError ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) IsClientError() bool
IsClientError returns true when this get v5 enterprises enterprise issues o k response has a 4xx status code
func (*GetV5EnterprisesEnterpriseIssuesOK) IsCode ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) IsCode(code int) bool
IsCode returns true when this get v5 enterprises enterprise issues o k response a status code equal to that given
func (*GetV5EnterprisesEnterpriseIssuesOK) IsRedirect ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) IsRedirect() bool
IsRedirect returns true when this get v5 enterprises enterprise issues o k response has a 3xx status code
func (*GetV5EnterprisesEnterpriseIssuesOK) IsServerError ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) IsServerError() bool
IsServerError returns true when this get v5 enterprises enterprise issues o k response has a 5xx status code
func (*GetV5EnterprisesEnterpriseIssuesOK) IsSuccess ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) IsSuccess() bool
IsSuccess returns true when this get v5 enterprises enterprise issues o k response has a 2xx status code
func (*GetV5EnterprisesEnterpriseIssuesOK) String ¶
func (o *GetV5EnterprisesEnterpriseIssuesOK) String() string
type GetV5EnterprisesEnterpriseIssuesParams ¶
type GetV5EnterprisesEnterpriseIssuesParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Assignee.
用户的username。 none为没指派者, *为所有带有指派者的
*/
Assignee *string
/* CreatedAt.
任务创建时间,格式同上
*/
CreatedAt *string
/* Creator.
创建Issues的用户username
*/
Creator *string
/* Deadline.
计划截止日期,格式同上
*/
Deadline *string
/* Direction.
排序方式: 升序(asc),降序(desc)。默认: desc
Default: "desc"
*/
Direction *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* FinishedAt.
任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
*/
FinishedAt *string
/* Labels.
用逗号分开的标签。如: bug,performance
*/
Labels *string
/* Milestone.
根据里程碑标题。none为没里程碑的,*为所有带里程碑的
*/
Milestone *string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Program.
所属项目名称。none为没所属有项目的,*为所有带所属项目的
*/
Program *string
/* Schedule.
计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
*/
Schedule *string
/* Since.
起始的更新时间,要求时间格式为 ISO 8601
*/
Since *string
/* Sort.
排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at
Default: "created"
*/
Sort *string
/* State.
Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open
Default: "open"
*/
State *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesParams contains all the parameters to send to the API endpoint
for the get v5 enterprises enterprise issues operation. Typically these are written to a http.Request.
func NewGetV5EnterprisesEnterpriseIssuesParams ¶
func NewGetV5EnterprisesEnterpriseIssuesParams() *GetV5EnterprisesEnterpriseIssuesParams
NewGetV5EnterprisesEnterpriseIssuesParams creates a new GetV5EnterprisesEnterpriseIssuesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5EnterprisesEnterpriseIssuesParamsWithContext
deprecated
func NewGetV5EnterprisesEnterpriseIssuesParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesParams
NewGetV5EnterprisesEnterpriseIssuesParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesParams.
func NewGetV5EnterprisesEnterpriseIssuesParamsWithHTTPClient ¶
func NewGetV5EnterprisesEnterpriseIssuesParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesParams
NewGetV5EnterprisesEnterpriseIssuesParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5EnterprisesEnterpriseIssuesParamsWithTimeout ¶
func NewGetV5EnterprisesEnterpriseIssuesParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesParams
NewGetV5EnterprisesEnterpriseIssuesParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesParams object with the ability to set a timeout on a request.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetAssignee ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetAssignee(assignee *string)
SetAssignee adds the assignee to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 enterprises enterprise issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesParams.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetCreatedAt ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetCreatedAt(createdAt *string)
SetCreatedAt adds the createdAt to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetCreator ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetCreator(creator *string)
SetCreator adds the creator to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetDeadline ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDeadline(deadline *string)
SetDeadline adds the deadline to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDefaults()
SetDefaults hydrates default values in the get v5 enterprises enterprise issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetDirection ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDirection(direction *string)
SetDirection adds the direction to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetFinishedAt ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetFinishedAt(finishedAt *string)
SetFinishedAt adds the finishedAt to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetLabels ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetLabels(labels *string)
SetLabels adds the labels to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetMilestone ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetMilestone(milestone *string)
SetMilestone adds the milestone to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetPage(page *int32)
SetPage adds the page to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetPerPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetProgram ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetProgram(program *string)
SetProgram adds the program to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetSchedule ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetSchedule(schedule *string)
SetSchedule adds the schedule to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetSince ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetSince(since *string)
SetSince adds the since to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetSort ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetSort(sort *string)
SetSort adds the sort to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetState ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetState(state *string)
SetState adds the state to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) SetTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithAccessToken ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithAccessToken(accessToken *string) *GetV5EnterprisesEnterpriseIssuesParams
WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithAssignee ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithAssignee(assignee *string) *GetV5EnterprisesEnterpriseIssuesParams
WithAssignee adds the assignee to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithContext
deprecated
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesParams
WithContext adds the context to the get v5 enterprises enterprise issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesParams.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithCreatedAt ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithCreatedAt(createdAt *string) *GetV5EnterprisesEnterpriseIssuesParams
WithCreatedAt adds the createdAt to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithCreator ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithCreator(creator *string) *GetV5EnterprisesEnterpriseIssuesParams
WithCreator adds the creator to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithDeadline ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithDeadline(deadline *string) *GetV5EnterprisesEnterpriseIssuesParams
WithDeadline adds the deadline to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithDefaults ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithDefaults() *GetV5EnterprisesEnterpriseIssuesParams
WithDefaults hydrates default values in the get v5 enterprises enterprise issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithDirection ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithDirection(direction *string) *GetV5EnterprisesEnterpriseIssuesParams
WithDirection adds the direction to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithEnterprise ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithEnterprise(enterprise string) *GetV5EnterprisesEnterpriseIssuesParams
WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithFinishedAt ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithFinishedAt(finishedAt *string) *GetV5EnterprisesEnterpriseIssuesParams
WithFinishedAt adds the finishedAt to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithHTTPClient ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesParams
WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithLabels ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithLabels(labels *string) *GetV5EnterprisesEnterpriseIssuesParams
WithLabels adds the labels to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithMilestone ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithMilestone(milestone *string) *GetV5EnterprisesEnterpriseIssuesParams
WithMilestone adds the milestone to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithPage(page *int32) *GetV5EnterprisesEnterpriseIssuesParams
WithPage adds the page to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithPerPage ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithPerPage(perPage *int32) *GetV5EnterprisesEnterpriseIssuesParams
WithPerPage adds the perPage to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithProgram ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithProgram(program *string) *GetV5EnterprisesEnterpriseIssuesParams
WithProgram adds the program to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithSchedule ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithSchedule(schedule *string) *GetV5EnterprisesEnterpriseIssuesParams
WithSchedule adds the schedule to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithSince ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithSince(since *string) *GetV5EnterprisesEnterpriseIssuesParams
WithSince adds the since to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithSort ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithSort(sort *string) *GetV5EnterprisesEnterpriseIssuesParams
WithSort adds the sort to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithState ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithState(state *string) *GetV5EnterprisesEnterpriseIssuesParams
WithState adds the state to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WithTimeout ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesParams
WithTimeout adds the timeout to the get v5 enterprises enterprise issues params.
func (*GetV5EnterprisesEnterpriseIssuesParams) WriteToRequest ¶
func (o *GetV5EnterprisesEnterpriseIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5EnterprisesEnterpriseIssuesReader ¶
type GetV5EnterprisesEnterpriseIssuesReader struct {
// contains filtered or unexported fields
}
GetV5EnterprisesEnterpriseIssuesReader is a Reader for the GetV5EnterprisesEnterpriseIssues structure.
func (*GetV5EnterprisesEnterpriseIssuesReader) ReadResponse ¶
func (o *GetV5EnterprisesEnterpriseIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5IssuesOK ¶
GetV5IssuesOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5IssuesOK ¶
func NewGetV5IssuesOK() *GetV5IssuesOK
NewGetV5IssuesOK creates a GetV5IssuesOK with default headers values
func (*GetV5IssuesOK) Code ¶
func (o *GetV5IssuesOK) Code() int
Code gets the status code for the get v5 issues o k response
func (*GetV5IssuesOK) Error ¶
func (o *GetV5IssuesOK) Error() string
func (*GetV5IssuesOK) GetPayload ¶
func (o *GetV5IssuesOK) GetPayload() []*models.Issue
func (*GetV5IssuesOK) IsClientError ¶
func (o *GetV5IssuesOK) IsClientError() bool
IsClientError returns true when this get v5 issues o k response has a 4xx status code
func (*GetV5IssuesOK) IsCode ¶
func (o *GetV5IssuesOK) IsCode(code int) bool
IsCode returns true when this get v5 issues o k response a status code equal to that given
func (*GetV5IssuesOK) IsRedirect ¶
func (o *GetV5IssuesOK) IsRedirect() bool
IsRedirect returns true when this get v5 issues o k response has a 3xx status code
func (*GetV5IssuesOK) IsServerError ¶
func (o *GetV5IssuesOK) IsServerError() bool
IsServerError returns true when this get v5 issues o k response has a 5xx status code
func (*GetV5IssuesOK) IsSuccess ¶
func (o *GetV5IssuesOK) IsSuccess() bool
IsSuccess returns true when this get v5 issues o k response has a 2xx status code
func (*GetV5IssuesOK) String ¶
func (o *GetV5IssuesOK) String() string
type GetV5IssuesParams ¶
type GetV5IssuesParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* CreatedAt.
任务创建时间,格式同上
*/
CreatedAt *string
/* Deadline.
计划截止日期,格式同上
*/
Deadline *string
/* Direction.
排序方式: 升序(asc),降序(desc)。默认: desc
Default: "desc"
*/
Direction *string
/* Filter.
筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned
Default: "assigned"
*/
Filter *string
/* FinishedAt.
任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
*/
FinishedAt *string
/* Labels.
用逗号分开的标签。如: bug,performance
*/
Labels *string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Schedule.
计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
*/
Schedule *string
/* Since.
起始的更新时间,要求时间格式为 ISO 8601
*/
Since *string
/* Sort.
排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at
Default: "created"
*/
Sort *string
/* State.
Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open
Default: "open"
*/
State *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5IssuesParams contains all the parameters to send to the API endpoint
for the get v5 issues operation. Typically these are written to a http.Request.
func NewGetV5IssuesParams ¶
func NewGetV5IssuesParams() *GetV5IssuesParams
NewGetV5IssuesParams creates a new GetV5IssuesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5IssuesParamsWithContext
deprecated
func NewGetV5IssuesParamsWithContext(ctx context.Context) *GetV5IssuesParams
NewGetV5IssuesParamsWithContext creates a new GetV5IssuesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5IssuesParams.
func NewGetV5IssuesParamsWithHTTPClient ¶
func NewGetV5IssuesParamsWithHTTPClient(client *http.Client) *GetV5IssuesParams
NewGetV5IssuesParamsWithHTTPClient creates a new GetV5IssuesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5IssuesParamsWithTimeout ¶
func NewGetV5IssuesParamsWithTimeout(timeout time.Duration) *GetV5IssuesParams
NewGetV5IssuesParamsWithTimeout creates a new GetV5IssuesParams object with the ability to set a timeout on a request.
func (*GetV5IssuesParams) SetAccessToken ¶
func (o *GetV5IssuesParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 issues params.
func (*GetV5IssuesParams) SetContext
deprecated
func (o *GetV5IssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5IssuesParams.
func (*GetV5IssuesParams) SetCreatedAt ¶
func (o *GetV5IssuesParams) SetCreatedAt(createdAt *string)
SetCreatedAt adds the createdAt to the get v5 issues params.
func (*GetV5IssuesParams) SetDeadline ¶
func (o *GetV5IssuesParams) SetDeadline(deadline *string)
SetDeadline adds the deadline to the get v5 issues params.
func (*GetV5IssuesParams) SetDefaults ¶
func (o *GetV5IssuesParams) SetDefaults()
SetDefaults hydrates default values in the get v5 issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5IssuesParams) SetDirection ¶
func (o *GetV5IssuesParams) SetDirection(direction *string)
SetDirection adds the direction to the get v5 issues params.
func (*GetV5IssuesParams) SetFilter ¶
func (o *GetV5IssuesParams) SetFilter(filter *string)
SetFilter adds the filter to the get v5 issues params.
func (*GetV5IssuesParams) SetFinishedAt ¶
func (o *GetV5IssuesParams) SetFinishedAt(finishedAt *string)
SetFinishedAt adds the finishedAt to the get v5 issues params.
func (*GetV5IssuesParams) SetHTTPClient ¶
func (o *GetV5IssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 issues params.
func (*GetV5IssuesParams) SetLabels ¶
func (o *GetV5IssuesParams) SetLabels(labels *string)
SetLabels adds the labels to the get v5 issues params.
func (*GetV5IssuesParams) SetPage ¶
func (o *GetV5IssuesParams) SetPage(page *int32)
SetPage adds the page to the get v5 issues params.
func (*GetV5IssuesParams) SetPerPage ¶
func (o *GetV5IssuesParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 issues params.
func (*GetV5IssuesParams) SetSchedule ¶
func (o *GetV5IssuesParams) SetSchedule(schedule *string)
SetSchedule adds the schedule to the get v5 issues params.
func (*GetV5IssuesParams) SetSince ¶
func (o *GetV5IssuesParams) SetSince(since *string)
SetSince adds the since to the get v5 issues params.
func (*GetV5IssuesParams) SetSort ¶
func (o *GetV5IssuesParams) SetSort(sort *string)
SetSort adds the sort to the get v5 issues params.
func (*GetV5IssuesParams) SetState ¶
func (o *GetV5IssuesParams) SetState(state *string)
SetState adds the state to the get v5 issues params.
func (*GetV5IssuesParams) SetTimeout ¶
func (o *GetV5IssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 issues params.
func (*GetV5IssuesParams) WithAccessToken ¶
func (o *GetV5IssuesParams) WithAccessToken(accessToken *string) *GetV5IssuesParams
WithAccessToken adds the accessToken to the get v5 issues params.
func (*GetV5IssuesParams) WithContext
deprecated
func (o *GetV5IssuesParams) WithContext(ctx context.Context) *GetV5IssuesParams
WithContext adds the context to the get v5 issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5IssuesParams.
func (*GetV5IssuesParams) WithCreatedAt ¶
func (o *GetV5IssuesParams) WithCreatedAt(createdAt *string) *GetV5IssuesParams
WithCreatedAt adds the createdAt to the get v5 issues params.
func (*GetV5IssuesParams) WithDeadline ¶
func (o *GetV5IssuesParams) WithDeadline(deadline *string) *GetV5IssuesParams
WithDeadline adds the deadline to the get v5 issues params.
func (*GetV5IssuesParams) WithDefaults ¶
func (o *GetV5IssuesParams) WithDefaults() *GetV5IssuesParams
WithDefaults hydrates default values in the get v5 issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5IssuesParams) WithDirection ¶
func (o *GetV5IssuesParams) WithDirection(direction *string) *GetV5IssuesParams
WithDirection adds the direction to the get v5 issues params.
func (*GetV5IssuesParams) WithFilter ¶
func (o *GetV5IssuesParams) WithFilter(filter *string) *GetV5IssuesParams
WithFilter adds the filter to the get v5 issues params.
func (*GetV5IssuesParams) WithFinishedAt ¶
func (o *GetV5IssuesParams) WithFinishedAt(finishedAt *string) *GetV5IssuesParams
WithFinishedAt adds the finishedAt to the get v5 issues params.
func (*GetV5IssuesParams) WithHTTPClient ¶
func (o *GetV5IssuesParams) WithHTTPClient(client *http.Client) *GetV5IssuesParams
WithHTTPClient adds the HTTPClient to the get v5 issues params.
func (*GetV5IssuesParams) WithLabels ¶
func (o *GetV5IssuesParams) WithLabels(labels *string) *GetV5IssuesParams
WithLabels adds the labels to the get v5 issues params.
func (*GetV5IssuesParams) WithPage ¶
func (o *GetV5IssuesParams) WithPage(page *int32) *GetV5IssuesParams
WithPage adds the page to the get v5 issues params.
func (*GetV5IssuesParams) WithPerPage ¶
func (o *GetV5IssuesParams) WithPerPage(perPage *int32) *GetV5IssuesParams
WithPerPage adds the perPage to the get v5 issues params.
func (*GetV5IssuesParams) WithSchedule ¶
func (o *GetV5IssuesParams) WithSchedule(schedule *string) *GetV5IssuesParams
WithSchedule adds the schedule to the get v5 issues params.
func (*GetV5IssuesParams) WithSince ¶
func (o *GetV5IssuesParams) WithSince(since *string) *GetV5IssuesParams
WithSince adds the since to the get v5 issues params.
func (*GetV5IssuesParams) WithSort ¶
func (o *GetV5IssuesParams) WithSort(sort *string) *GetV5IssuesParams
WithSort adds the sort to the get v5 issues params.
func (*GetV5IssuesParams) WithState ¶
func (o *GetV5IssuesParams) WithState(state *string) *GetV5IssuesParams
WithState adds the state to the get v5 issues params.
func (*GetV5IssuesParams) WithTimeout ¶
func (o *GetV5IssuesParams) WithTimeout(timeout time.Duration) *GetV5IssuesParams
WithTimeout adds the timeout to the get v5 issues params.
func (*GetV5IssuesParams) WriteToRequest ¶
func (o *GetV5IssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5IssuesReader ¶
type GetV5IssuesReader struct {
// contains filtered or unexported fields
}
GetV5IssuesReader is a Reader for the GetV5Issues structure.
func (*GetV5IssuesReader) ReadResponse ¶
func (o *GetV5IssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5OrgsOrgIssuesOK ¶
GetV5OrgsOrgIssuesOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5OrgsOrgIssuesOK ¶
func NewGetV5OrgsOrgIssuesOK() *GetV5OrgsOrgIssuesOK
NewGetV5OrgsOrgIssuesOK creates a GetV5OrgsOrgIssuesOK with default headers values
func (*GetV5OrgsOrgIssuesOK) Code ¶
func (o *GetV5OrgsOrgIssuesOK) Code() int
Code gets the status code for the get v5 orgs org issues o k response
func (*GetV5OrgsOrgIssuesOK) Error ¶
func (o *GetV5OrgsOrgIssuesOK) Error() string
func (*GetV5OrgsOrgIssuesOK) GetPayload ¶
func (o *GetV5OrgsOrgIssuesOK) GetPayload() []*models.Issue
func (*GetV5OrgsOrgIssuesOK) IsClientError ¶
func (o *GetV5OrgsOrgIssuesOK) IsClientError() bool
IsClientError returns true when this get v5 orgs org issues o k response has a 4xx status code
func (*GetV5OrgsOrgIssuesOK) IsCode ¶
func (o *GetV5OrgsOrgIssuesOK) IsCode(code int) bool
IsCode returns true when this get v5 orgs org issues o k response a status code equal to that given
func (*GetV5OrgsOrgIssuesOK) IsRedirect ¶
func (o *GetV5OrgsOrgIssuesOK) IsRedirect() bool
IsRedirect returns true when this get v5 orgs org issues o k response has a 3xx status code
func (*GetV5OrgsOrgIssuesOK) IsServerError ¶
func (o *GetV5OrgsOrgIssuesOK) IsServerError() bool
IsServerError returns true when this get v5 orgs org issues o k response has a 5xx status code
func (*GetV5OrgsOrgIssuesOK) IsSuccess ¶
func (o *GetV5OrgsOrgIssuesOK) IsSuccess() bool
IsSuccess returns true when this get v5 orgs org issues o k response has a 2xx status code
func (*GetV5OrgsOrgIssuesOK) String ¶
func (o *GetV5OrgsOrgIssuesOK) String() string
type GetV5OrgsOrgIssuesParams ¶
type GetV5OrgsOrgIssuesParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* CreatedAt.
任务创建时间,格式同上
*/
CreatedAt *string
/* Deadline.
计划截止日期,格式同上
*/
Deadline *string
/* Direction.
排序方式: 升序(asc),降序(desc)。默认: desc
Default: "desc"
*/
Direction *string
/* Filter.
筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned
Default: "assigned"
*/
Filter *string
/* FinishedAt.
任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
*/
FinishedAt *string
/* Labels.
用逗号分开的标签。如: bug,performance
*/
Labels *string
/* Org.
组织的路径(path/login)
*/
Org string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Schedule.
计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
*/
Schedule *string
/* Since.
起始的更新时间,要求时间格式为 ISO 8601
*/
Since *string
/* Sort.
排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at
Default: "created"
*/
Sort *string
/* State.
Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open
Default: "open"
*/
State *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5OrgsOrgIssuesParams contains all the parameters to send to the API endpoint
for the get v5 orgs org issues operation. Typically these are written to a http.Request.
func NewGetV5OrgsOrgIssuesParams ¶
func NewGetV5OrgsOrgIssuesParams() *GetV5OrgsOrgIssuesParams
NewGetV5OrgsOrgIssuesParams creates a new GetV5OrgsOrgIssuesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5OrgsOrgIssuesParamsWithContext
deprecated
func NewGetV5OrgsOrgIssuesParamsWithContext(ctx context.Context) *GetV5OrgsOrgIssuesParams
NewGetV5OrgsOrgIssuesParamsWithContext creates a new GetV5OrgsOrgIssuesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5OrgsOrgIssuesParams.
func NewGetV5OrgsOrgIssuesParamsWithHTTPClient ¶
func NewGetV5OrgsOrgIssuesParamsWithHTTPClient(client *http.Client) *GetV5OrgsOrgIssuesParams
NewGetV5OrgsOrgIssuesParamsWithHTTPClient creates a new GetV5OrgsOrgIssuesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5OrgsOrgIssuesParamsWithTimeout ¶
func NewGetV5OrgsOrgIssuesParamsWithTimeout(timeout time.Duration) *GetV5OrgsOrgIssuesParams
NewGetV5OrgsOrgIssuesParamsWithTimeout creates a new GetV5OrgsOrgIssuesParams object with the ability to set a timeout on a request.
func (*GetV5OrgsOrgIssuesParams) SetAccessToken ¶
func (o *GetV5OrgsOrgIssuesParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetContext
deprecated
func (o *GetV5OrgsOrgIssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 orgs org issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5OrgsOrgIssuesParams.
func (*GetV5OrgsOrgIssuesParams) SetCreatedAt ¶
func (o *GetV5OrgsOrgIssuesParams) SetCreatedAt(createdAt *string)
SetCreatedAt adds the createdAt to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetDeadline ¶
func (o *GetV5OrgsOrgIssuesParams) SetDeadline(deadline *string)
SetDeadline adds the deadline to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetDefaults ¶
func (o *GetV5OrgsOrgIssuesParams) SetDefaults()
SetDefaults hydrates default values in the get v5 orgs org issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5OrgsOrgIssuesParams) SetDirection ¶
func (o *GetV5OrgsOrgIssuesParams) SetDirection(direction *string)
SetDirection adds the direction to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetFilter ¶
func (o *GetV5OrgsOrgIssuesParams) SetFilter(filter *string)
SetFilter adds the filter to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetFinishedAt ¶
func (o *GetV5OrgsOrgIssuesParams) SetFinishedAt(finishedAt *string)
SetFinishedAt adds the finishedAt to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetHTTPClient ¶
func (o *GetV5OrgsOrgIssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetLabels ¶
func (o *GetV5OrgsOrgIssuesParams) SetLabels(labels *string)
SetLabels adds the labels to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetOrg ¶
func (o *GetV5OrgsOrgIssuesParams) SetOrg(org string)
SetOrg adds the org to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetPage ¶
func (o *GetV5OrgsOrgIssuesParams) SetPage(page *int32)
SetPage adds the page to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetPerPage ¶
func (o *GetV5OrgsOrgIssuesParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetSchedule ¶
func (o *GetV5OrgsOrgIssuesParams) SetSchedule(schedule *string)
SetSchedule adds the schedule to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetSince ¶
func (o *GetV5OrgsOrgIssuesParams) SetSince(since *string)
SetSince adds the since to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetSort ¶
func (o *GetV5OrgsOrgIssuesParams) SetSort(sort *string)
SetSort adds the sort to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetState ¶
func (o *GetV5OrgsOrgIssuesParams) SetState(state *string)
SetState adds the state to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) SetTimeout ¶
func (o *GetV5OrgsOrgIssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithAccessToken ¶
func (o *GetV5OrgsOrgIssuesParams) WithAccessToken(accessToken *string) *GetV5OrgsOrgIssuesParams
WithAccessToken adds the accessToken to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithContext
deprecated
func (o *GetV5OrgsOrgIssuesParams) WithContext(ctx context.Context) *GetV5OrgsOrgIssuesParams
WithContext adds the context to the get v5 orgs org issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5OrgsOrgIssuesParams.
func (*GetV5OrgsOrgIssuesParams) WithCreatedAt ¶
func (o *GetV5OrgsOrgIssuesParams) WithCreatedAt(createdAt *string) *GetV5OrgsOrgIssuesParams
WithCreatedAt adds the createdAt to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithDeadline ¶
func (o *GetV5OrgsOrgIssuesParams) WithDeadline(deadline *string) *GetV5OrgsOrgIssuesParams
WithDeadline adds the deadline to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithDefaults ¶
func (o *GetV5OrgsOrgIssuesParams) WithDefaults() *GetV5OrgsOrgIssuesParams
WithDefaults hydrates default values in the get v5 orgs org issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5OrgsOrgIssuesParams) WithDirection ¶
func (o *GetV5OrgsOrgIssuesParams) WithDirection(direction *string) *GetV5OrgsOrgIssuesParams
WithDirection adds the direction to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithFilter ¶
func (o *GetV5OrgsOrgIssuesParams) WithFilter(filter *string) *GetV5OrgsOrgIssuesParams
WithFilter adds the filter to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithFinishedAt ¶
func (o *GetV5OrgsOrgIssuesParams) WithFinishedAt(finishedAt *string) *GetV5OrgsOrgIssuesParams
WithFinishedAt adds the finishedAt to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithHTTPClient ¶
func (o *GetV5OrgsOrgIssuesParams) WithHTTPClient(client *http.Client) *GetV5OrgsOrgIssuesParams
WithHTTPClient adds the HTTPClient to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithLabels ¶
func (o *GetV5OrgsOrgIssuesParams) WithLabels(labels *string) *GetV5OrgsOrgIssuesParams
WithLabels adds the labels to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithOrg ¶
func (o *GetV5OrgsOrgIssuesParams) WithOrg(org string) *GetV5OrgsOrgIssuesParams
WithOrg adds the org to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithPage ¶
func (o *GetV5OrgsOrgIssuesParams) WithPage(page *int32) *GetV5OrgsOrgIssuesParams
WithPage adds the page to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithPerPage ¶
func (o *GetV5OrgsOrgIssuesParams) WithPerPage(perPage *int32) *GetV5OrgsOrgIssuesParams
WithPerPage adds the perPage to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithSchedule ¶
func (o *GetV5OrgsOrgIssuesParams) WithSchedule(schedule *string) *GetV5OrgsOrgIssuesParams
WithSchedule adds the schedule to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithSince ¶
func (o *GetV5OrgsOrgIssuesParams) WithSince(since *string) *GetV5OrgsOrgIssuesParams
WithSince adds the since to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithSort ¶
func (o *GetV5OrgsOrgIssuesParams) WithSort(sort *string) *GetV5OrgsOrgIssuesParams
WithSort adds the sort to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithState ¶
func (o *GetV5OrgsOrgIssuesParams) WithState(state *string) *GetV5OrgsOrgIssuesParams
WithState adds the state to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WithTimeout ¶
func (o *GetV5OrgsOrgIssuesParams) WithTimeout(timeout time.Duration) *GetV5OrgsOrgIssuesParams
WithTimeout adds the timeout to the get v5 orgs org issues params.
func (*GetV5OrgsOrgIssuesParams) WriteToRequest ¶
func (o *GetV5OrgsOrgIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5OrgsOrgIssuesReader ¶
type GetV5OrgsOrgIssuesReader struct {
// contains filtered or unexported fields
}
GetV5OrgsOrgIssuesReader is a Reader for the GetV5OrgsOrgIssues structure.
func (*GetV5OrgsOrgIssuesReader) ReadResponse ¶
func (o *GetV5OrgsOrgIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5ReposOwnerIssuesNumberOperateLogsOK ¶
type GetV5ReposOwnerIssuesNumberOperateLogsOK struct {
Payload []*models.OperateLog
}
GetV5ReposOwnerIssuesNumberOperateLogsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5ReposOwnerIssuesNumberOperateLogsOK ¶
func NewGetV5ReposOwnerIssuesNumberOperateLogsOK() *GetV5ReposOwnerIssuesNumberOperateLogsOK
NewGetV5ReposOwnerIssuesNumberOperateLogsOK creates a GetV5ReposOwnerIssuesNumberOperateLogsOK with default headers values
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) Code ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) Code() int
Code gets the status code for the get v5 repos owner issues number operate logs o k response
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) Error ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) Error() string
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) GetPayload ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) GetPayload() []*models.OperateLog
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsClientError ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsClientError() bool
IsClientError returns true when this get v5 repos owner issues number operate logs o k response has a 4xx status code
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsCode ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsCode(code int) bool
IsCode returns true when this get v5 repos owner issues number operate logs o k response a status code equal to that given
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsRedirect ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner issues number operate logs o k response has a 3xx status code
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsServerError ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsServerError() bool
IsServerError returns true when this get v5 repos owner issues number operate logs o k response has a 5xx status code
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsSuccess ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner issues number operate logs o k response has a 2xx status code
func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) String ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsOK) String() string
type GetV5ReposOwnerIssuesNumberOperateLogsParams ¶
type GetV5ReposOwnerIssuesNumberOperateLogsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Repo.
仓库路径(path)
*/
Repo *string
/* Sort.
按递增(asc)或递减(desc)排序,默认:递减
Default: "desc"
*/
Sort *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5ReposOwnerIssuesNumberOperateLogsParams contains all the parameters to send to the API endpoint
for the get v5 repos owner issues number operate logs operation. Typically these are written to a http.Request.
func NewGetV5ReposOwnerIssuesNumberOperateLogsParams ¶
func NewGetV5ReposOwnerIssuesNumberOperateLogsParams() *GetV5ReposOwnerIssuesNumberOperateLogsParams
NewGetV5ReposOwnerIssuesNumberOperateLogsParams creates a new GetV5ReposOwnerIssuesNumberOperateLogsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithContext
deprecated
func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberOperateLogsParams
NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithContext creates a new GetV5ReposOwnerIssuesNumberOperateLogsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberOperateLogsParams.
func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithHTTPClient ¶
func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberOperateLogsParams
NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithHTTPClient creates a new GetV5ReposOwnerIssuesNumberOperateLogsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithTimeout ¶
func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberOperateLogsParams
NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithTimeout creates a new GetV5ReposOwnerIssuesNumberOperateLogsParams object with the ability to set a timeout on a request.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetAccessToken ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetContext
deprecated
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 repos owner issues number operate logs params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberOperateLogsParams.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetDefaults ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 repos owner issues number operate logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetHTTPClient ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetNumber ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetNumber(number string)
SetNumber adds the number to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetOwner ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetOwner(owner string)
SetOwner adds the owner to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetRepo ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetRepo(repo *string)
SetRepo adds the repo to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetSort ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetSort(sort *string)
SetSort adds the sort to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetTimeout ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithAccessToken ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithAccessToken adds the accessToken to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithContext
deprecated
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithContext adds the context to the get v5 repos owner issues number operate logs params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberOperateLogsParams.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithDefaults ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithDefaults() *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithDefaults hydrates default values in the get v5 repos owner issues number operate logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithHTTPClient ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithHTTPClient adds the HTTPClient to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithNumber ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithNumber(number string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithNumber adds the number to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithOwner ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithOwner(owner string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithOwner adds the owner to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithRepo ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithRepo(repo *string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithRepo adds the repo to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithSort ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithSort(sort *string) *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithSort adds the sort to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithTimeout ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberOperateLogsParams
WithTimeout adds the timeout to the get v5 repos owner issues number operate logs params.
func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WriteToRequest ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5ReposOwnerIssuesNumberOperateLogsReader ¶
type GetV5ReposOwnerIssuesNumberOperateLogsReader struct {
// contains filtered or unexported fields
}
GetV5ReposOwnerIssuesNumberOperateLogsReader is a Reader for the GetV5ReposOwnerIssuesNumberOperateLogs structure.
func (*GetV5ReposOwnerIssuesNumberOperateLogsReader) ReadResponse ¶
func (o *GetV5ReposOwnerIssuesNumberOperateLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5ReposOwnerIssuesNumberPullRequestsOK ¶
type GetV5ReposOwnerIssuesNumberPullRequestsOK struct {
Payload []*models.PullRequest
}
GetV5ReposOwnerIssuesNumberPullRequestsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5ReposOwnerIssuesNumberPullRequestsOK ¶
func NewGetV5ReposOwnerIssuesNumberPullRequestsOK() *GetV5ReposOwnerIssuesNumberPullRequestsOK
NewGetV5ReposOwnerIssuesNumberPullRequestsOK creates a GetV5ReposOwnerIssuesNumberPullRequestsOK with default headers values
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) Code ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) Code() int
Code gets the status code for the get v5 repos owner issues number pull requests o k response
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) Error ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) Error() string
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) GetPayload ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) GetPayload() []*models.PullRequest
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsClientError ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsClientError() bool
IsClientError returns true when this get v5 repos owner issues number pull requests o k response has a 4xx status code
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsCode ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsCode(code int) bool
IsCode returns true when this get v5 repos owner issues number pull requests o k response a status code equal to that given
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsRedirect ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner issues number pull requests o k response has a 3xx status code
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsServerError ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsServerError() bool
IsServerError returns true when this get v5 repos owner issues number pull requests o k response has a 5xx status code
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsSuccess ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner issues number pull requests o k response has a 2xx status code
func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) String ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsOK) String() string
type GetV5ReposOwnerIssuesNumberPullRequestsParams ¶
type GetV5ReposOwnerIssuesNumberPullRequestsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Repo.
仓库路径(path)
*/
Repo *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5ReposOwnerIssuesNumberPullRequestsParams contains all the parameters to send to the API endpoint
for the get v5 repos owner issues number pull requests operation. Typically these are written to a http.Request.
func NewGetV5ReposOwnerIssuesNumberPullRequestsParams ¶
func NewGetV5ReposOwnerIssuesNumberPullRequestsParams() *GetV5ReposOwnerIssuesNumberPullRequestsParams
NewGetV5ReposOwnerIssuesNumberPullRequestsParams creates a new GetV5ReposOwnerIssuesNumberPullRequestsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithContext
deprecated
func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberPullRequestsParams
NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithContext creates a new GetV5ReposOwnerIssuesNumberPullRequestsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberPullRequestsParams.
func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithHTTPClient ¶
func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberPullRequestsParams
NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithHTTPClient creates a new GetV5ReposOwnerIssuesNumberPullRequestsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithTimeout ¶
func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberPullRequestsParams
NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithTimeout creates a new GetV5ReposOwnerIssuesNumberPullRequestsParams object with the ability to set a timeout on a request.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetAccessToken ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetContext
deprecated
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 repos owner issues number pull requests params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberPullRequestsParams.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetDefaults ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 repos owner issues number pull requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetHTTPClient ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetNumber ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetNumber(number string)
SetNumber adds the number to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetOwner ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetOwner(owner string)
SetOwner adds the owner to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetRepo ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetRepo(repo *string)
SetRepo adds the repo to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetTimeout ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithAccessToken ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerIssuesNumberPullRequestsParams
WithAccessToken adds the accessToken to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithContext
deprecated
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberPullRequestsParams
WithContext adds the context to the get v5 repos owner issues number pull requests params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberPullRequestsParams.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithDefaults ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithDefaults() *GetV5ReposOwnerIssuesNumberPullRequestsParams
WithDefaults hydrates default values in the get v5 repos owner issues number pull requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithHTTPClient ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberPullRequestsParams
WithHTTPClient adds the HTTPClient to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithNumber ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithNumber(number string) *GetV5ReposOwnerIssuesNumberPullRequestsParams
WithNumber adds the number to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithOwner ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithOwner(owner string) *GetV5ReposOwnerIssuesNumberPullRequestsParams
WithOwner adds the owner to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithRepo ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithRepo(repo *string) *GetV5ReposOwnerIssuesNumberPullRequestsParams
WithRepo adds the repo to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithTimeout ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberPullRequestsParams
WithTimeout adds the timeout to the get v5 repos owner issues number pull requests params.
func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WriteToRequest ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5ReposOwnerIssuesNumberPullRequestsReader ¶
type GetV5ReposOwnerIssuesNumberPullRequestsReader struct {
// contains filtered or unexported fields
}
GetV5ReposOwnerIssuesNumberPullRequestsReader is a Reader for the GetV5ReposOwnerIssuesNumberPullRequests structure.
func (*GetV5ReposOwnerIssuesNumberPullRequestsReader) ReadResponse ¶
func (o *GetV5ReposOwnerIssuesNumberPullRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5ReposOwnerRepoIssuesCommentsIDNotFound ¶
type GetV5ReposOwnerRepoIssuesCommentsIDNotFound struct {
}
GetV5ReposOwnerRepoIssuesCommentsIDNotFound describes a response with status code 404, with default header values.
没有相关数据
func NewGetV5ReposOwnerRepoIssuesCommentsIDNotFound ¶
func NewGetV5ReposOwnerRepoIssuesCommentsIDNotFound() *GetV5ReposOwnerRepoIssuesCommentsIDNotFound
NewGetV5ReposOwnerRepoIssuesCommentsIDNotFound creates a GetV5ReposOwnerRepoIssuesCommentsIDNotFound with default headers values
func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) Code ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) Code() int
Code gets the status code for the get v5 repos owner repo issues comments Id not found response
func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) Error ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) Error() string
func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsClientError ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsClientError() bool
IsClientError returns true when this get v5 repos owner repo issues comments Id not found response has a 4xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsCode ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsCode(code int) bool
IsCode returns true when this get v5 repos owner repo issues comments Id not found response a status code equal to that given
func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsRedirect ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner repo issues comments Id not found response has a 3xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsServerError ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsServerError() bool
IsServerError returns true when this get v5 repos owner repo issues comments Id not found response has a 5xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsSuccess ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner repo issues comments Id not found response has a 2xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) String ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDNotFound) String() string
type GetV5ReposOwnerRepoIssuesCommentsIDOK ¶
GetV5ReposOwnerRepoIssuesCommentsIDOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5ReposOwnerRepoIssuesCommentsIDOK ¶
func NewGetV5ReposOwnerRepoIssuesCommentsIDOK() *GetV5ReposOwnerRepoIssuesCommentsIDOK
NewGetV5ReposOwnerRepoIssuesCommentsIDOK creates a GetV5ReposOwnerRepoIssuesCommentsIDOK with default headers values
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) Code ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) Code() int
Code gets the status code for the get v5 repos owner repo issues comments Id o k response
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) Error ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) Error() string
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) GetPayload ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) GetPayload() *models.Note
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError() bool
IsClientError returns true when this get v5 repos owner repo issues comments Id o k response has a 4xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsCode ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsCode(code int) bool
IsCode returns true when this get v5 repos owner repo issues comments Id o k response a status code equal to that given
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsRedirect ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner repo issues comments Id o k response has a 3xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError() bool
IsServerError returns true when this get v5 repos owner repo issues comments Id o k response has a 5xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsSuccess ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner repo issues comments Id o k response has a 2xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) String ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) String() string
type GetV5ReposOwnerRepoIssuesCommentsIDParams ¶
type GetV5ReposOwnerRepoIssuesCommentsIDParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* ID.
评论的ID
Format: int32
*/
ID int32
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Repo.
仓库路径(path)
*/
Repo string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesCommentsIDParams contains all the parameters to send to the API endpoint
for the get v5 repos owner repo issues comments Id operation. Typically these are written to a http.Request.
func NewGetV5ReposOwnerRepoIssuesCommentsIDParams ¶
func NewGetV5ReposOwnerRepoIssuesCommentsIDParams() *GetV5ReposOwnerRepoIssuesCommentsIDParams
NewGetV5ReposOwnerRepoIssuesCommentsIDParams creates a new GetV5ReposOwnerRepoIssuesCommentsIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithContext
deprecated
func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsIDParams
NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithContext creates a new GetV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsIDParams.
func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient ¶
func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsIDParams
NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout ¶
func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsIDParams
NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a timeout on a request.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 repos owner repo issues comments Id params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsIDParams.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults()
SetDefaults hydrates default values in the get v5 repos owner repo issues comments Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetID ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetID(id int32)
SetID adds the id to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner(owner string)
SetOwner adds the owner to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo(repo string)
SetRepo adds the repo to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesCommentsIDParams
WithAccessToken adds the accessToken to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsIDParams
WithContext adds the context to the get v5 repos owner repo issues comments Id params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsIDParams.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults() *GetV5ReposOwnerRepoIssuesCommentsIDParams
WithDefaults hydrates default values in the get v5 repos owner repo issues comments Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsIDParams
WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithID ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithID(id int32) *GetV5ReposOwnerRepoIssuesCommentsIDParams
WithID adds the id to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesCommentsIDParams
WithOwner adds the owner to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesCommentsIDParams
WithRepo adds the repo to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsIDParams
WithTimeout adds the timeout to the get v5 repos owner repo issues comments Id params.
func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5ReposOwnerRepoIssuesCommentsIDReader ¶
type GetV5ReposOwnerRepoIssuesCommentsIDReader struct {
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesCommentsIDReader is a Reader for the GetV5ReposOwnerRepoIssuesCommentsID structure.
func (*GetV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5ReposOwnerRepoIssuesCommentsOK ¶
GetV5ReposOwnerRepoIssuesCommentsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5ReposOwnerRepoIssuesCommentsOK ¶
func NewGetV5ReposOwnerRepoIssuesCommentsOK() *GetV5ReposOwnerRepoIssuesCommentsOK
NewGetV5ReposOwnerRepoIssuesCommentsOK creates a GetV5ReposOwnerRepoIssuesCommentsOK with default headers values
func (*GetV5ReposOwnerRepoIssuesCommentsOK) Code ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) Code() int
Code gets the status code for the get v5 repos owner repo issues comments o k response
func (*GetV5ReposOwnerRepoIssuesCommentsOK) Error ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) Error() string
func (*GetV5ReposOwnerRepoIssuesCommentsOK) GetPayload ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) GetPayload() []*models.Note
func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsClientError ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsClientError() bool
IsClientError returns true when this get v5 repos owner repo issues comments o k response has a 4xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsCode ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsCode(code int) bool
IsCode returns true when this get v5 repos owner repo issues comments o k response a status code equal to that given
func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsRedirect ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner repo issues comments o k response has a 3xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsServerError ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsServerError() bool
IsServerError returns true when this get v5 repos owner repo issues comments o k response has a 5xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsSuccess ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner repo issues comments o k response has a 2xx status code
func (*GetV5ReposOwnerRepoIssuesCommentsOK) String ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsOK) String() string
type GetV5ReposOwnerRepoIssuesCommentsParams ¶
type GetV5ReposOwnerRepoIssuesCommentsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Direction.
Either asc or desc. Ignored without the sort parameter.
Default: "asc"
*/
Direction *string
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Repo.
仓库路径(path)
*/
Repo string
/* Since.
Only comments updated at or after this time are returned.
This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
*/
Since *string
/* Sort.
Either created or updated. Default: created
Default: "created"
*/
Sort *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesCommentsParams contains all the parameters to send to the API endpoint
for the get v5 repos owner repo issues comments operation. Typically these are written to a http.Request.
func NewGetV5ReposOwnerRepoIssuesCommentsParams ¶
func NewGetV5ReposOwnerRepoIssuesCommentsParams() *GetV5ReposOwnerRepoIssuesCommentsParams
NewGetV5ReposOwnerRepoIssuesCommentsParams creates a new GetV5ReposOwnerRepoIssuesCommentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithContext
deprecated
func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsParams
NewGetV5ReposOwnerRepoIssuesCommentsParamsWithContext creates a new GetV5ReposOwnerRepoIssuesCommentsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsParams.
func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithHTTPClient ¶
func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsParams
NewGetV5ReposOwnerRepoIssuesCommentsParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesCommentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithTimeout ¶
func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsParams
NewGetV5ReposOwnerRepoIssuesCommentsParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesCommentsParams object with the ability to set a timeout on a request.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 repos owner repo issues comments params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsParams.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 repos owner repo issues comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetDirection ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetDirection(direction *string)
SetDirection adds the direction to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetOwner ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetOwner(owner string)
SetOwner adds the owner to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetPage ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetPage(page *int32)
SetPage adds the page to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetPerPage ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetRepo ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetRepo(repo string)
SetRepo adds the repo to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetSince ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetSince(since *string)
SetSince adds the since to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetSort ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetSort(sort *string)
SetSort adds the sort to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesCommentsParams
WithAccessToken adds the accessToken to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsParams
WithContext adds the context to the get v5 repos owner repo issues comments params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsParams.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithDefaults() *GetV5ReposOwnerRepoIssuesCommentsParams
WithDefaults hydrates default values in the get v5 repos owner repo issues comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithDirection ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithDirection(direction *string) *GetV5ReposOwnerRepoIssuesCommentsParams
WithDirection adds the direction to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsParams
WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithOwner ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesCommentsParams
WithOwner adds the owner to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithPage ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithPage(page *int32) *GetV5ReposOwnerRepoIssuesCommentsParams
WithPage adds the page to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithPerPage ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithPerPage(perPage *int32) *GetV5ReposOwnerRepoIssuesCommentsParams
WithPerPage adds the perPage to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithRepo ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesCommentsParams
WithRepo adds the repo to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithSince ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithSince(since *string) *GetV5ReposOwnerRepoIssuesCommentsParams
WithSince adds the since to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithSort ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithSort(sort *string) *GetV5ReposOwnerRepoIssuesCommentsParams
WithSort adds the sort to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsParams
WithTimeout adds the timeout to the get v5 repos owner repo issues comments params.
func (*GetV5ReposOwnerRepoIssuesCommentsParams) WriteToRequest ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5ReposOwnerRepoIssuesCommentsReader ¶
type GetV5ReposOwnerRepoIssuesCommentsReader struct {
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesCommentsReader is a Reader for the GetV5ReposOwnerRepoIssuesComments structure.
func (*GetV5ReposOwnerRepoIssuesCommentsReader) ReadResponse ¶
func (o *GetV5ReposOwnerRepoIssuesCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5ReposOwnerRepoIssuesNumberCommentsNotFound ¶
type GetV5ReposOwnerRepoIssuesNumberCommentsNotFound struct {
}
GetV5ReposOwnerRepoIssuesNumberCommentsNotFound describes a response with status code 404, with default header values.
没有相关数据
func NewGetV5ReposOwnerRepoIssuesNumberCommentsNotFound ¶
func NewGetV5ReposOwnerRepoIssuesNumberCommentsNotFound() *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound
NewGetV5ReposOwnerRepoIssuesNumberCommentsNotFound creates a GetV5ReposOwnerRepoIssuesNumberCommentsNotFound with default headers values
func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) Code ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) Code() int
Code gets the status code for the get v5 repos owner repo issues number comments not found response
func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) Error ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) Error() string
func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsClientError ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsClientError() bool
IsClientError returns true when this get v5 repos owner repo issues number comments not found response has a 4xx status code
func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsCode ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsCode(code int) bool
IsCode returns true when this get v5 repos owner repo issues number comments not found response a status code equal to that given
func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsRedirect ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner repo issues number comments not found response has a 3xx status code
func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsServerError ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsServerError() bool
IsServerError returns true when this get v5 repos owner repo issues number comments not found response has a 5xx status code
func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsSuccess ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner repo issues number comments not found response has a 2xx status code
func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) String ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) String() string
type GetV5ReposOwnerRepoIssuesNumberCommentsOK ¶
GetV5ReposOwnerRepoIssuesNumberCommentsOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5ReposOwnerRepoIssuesNumberCommentsOK ¶
func NewGetV5ReposOwnerRepoIssuesNumberCommentsOK() *GetV5ReposOwnerRepoIssuesNumberCommentsOK
NewGetV5ReposOwnerRepoIssuesNumberCommentsOK creates a GetV5ReposOwnerRepoIssuesNumberCommentsOK with default headers values
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) Code ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) Code() int
Code gets the status code for the get v5 repos owner repo issues number comments o k response
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) Error ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) Error() string
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) GetPayload ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) GetPayload() []*models.Note
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsClientError ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsClientError() bool
IsClientError returns true when this get v5 repos owner repo issues number comments o k response has a 4xx status code
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsCode ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsCode(code int) bool
IsCode returns true when this get v5 repos owner repo issues number comments o k response a status code equal to that given
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsRedirect ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner repo issues number comments o k response has a 3xx status code
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsServerError ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsServerError() bool
IsServerError returns true when this get v5 repos owner repo issues number comments o k response has a 5xx status code
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsSuccess ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner repo issues number comments o k response has a 2xx status code
func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) String ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsOK) String() string
type GetV5ReposOwnerRepoIssuesNumberCommentsParams ¶
type GetV5ReposOwnerRepoIssuesNumberCommentsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Order.
排序顺序: asc(default),desc
Default: "asc"
*/
Order *string
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Repo.
仓库路径(path)
*/
Repo string
/* Since.
Only comments updated at or after this time are returned.
This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
*/
Since *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesNumberCommentsParams contains all the parameters to send to the API endpoint
for the get v5 repos owner repo issues number comments operation. Typically these are written to a http.Request.
func NewGetV5ReposOwnerRepoIssuesNumberCommentsParams ¶
func NewGetV5ReposOwnerRepoIssuesNumberCommentsParams() *GetV5ReposOwnerRepoIssuesNumberCommentsParams
NewGetV5ReposOwnerRepoIssuesNumberCommentsParams creates a new GetV5ReposOwnerRepoIssuesNumberCommentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext
deprecated
func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext creates a new GetV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberCommentsParams.
func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient ¶
func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout ¶
func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a timeout on a request.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 repos owner repo issues number comments params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberCommentsParams.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetDefaults()
SetDefaults hydrates default values in the get v5 repos owner repo issues number comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetNumber ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetNumber(number string)
SetNumber adds the number to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetOrder ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetOrder(order *string)
SetOrder adds the order to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetOwner ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetOwner(owner string)
SetOwner adds the owner to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPage ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPage(page *int32)
SetPage adds the page to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPerPage ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetRepo ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetRepo(repo string)
SetRepo adds the repo to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetSince ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetSince(since *string)
SetSince adds the since to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithAccessToken adds the accessToken to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithContext adds the context to the get v5 repos owner repo issues number comments params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberCommentsParams.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithDefaults() *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithDefaults hydrates default values in the get v5 repos owner repo issues number comments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithNumber ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithNumber(number string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithNumber adds the number to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithOrder ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithOrder(order *string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithOrder adds the order to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithOwner ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithOwner adds the owner to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithPage ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithPage(page *int32) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithPage adds the page to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithPerPage ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithPerPage(perPage *int32) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithPerPage adds the perPage to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithRepo ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithRepo adds the repo to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithSince ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithSince(since *string) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithSince adds the since to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberCommentsParams
WithTimeout adds the timeout to the get v5 repos owner repo issues number comments params.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WriteToRequest ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5ReposOwnerRepoIssuesNumberCommentsReader ¶
type GetV5ReposOwnerRepoIssuesNumberCommentsReader struct {
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesNumberCommentsReader is a Reader for the GetV5ReposOwnerRepoIssuesNumberComments structure.
func (*GetV5ReposOwnerRepoIssuesNumberCommentsReader) ReadResponse ¶
func (o *GetV5ReposOwnerRepoIssuesNumberCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5ReposOwnerRepoIssuesNumberOK ¶
GetV5ReposOwnerRepoIssuesNumberOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5ReposOwnerRepoIssuesNumberOK ¶
func NewGetV5ReposOwnerRepoIssuesNumberOK() *GetV5ReposOwnerRepoIssuesNumberOK
NewGetV5ReposOwnerRepoIssuesNumberOK creates a GetV5ReposOwnerRepoIssuesNumberOK with default headers values
func (*GetV5ReposOwnerRepoIssuesNumberOK) Code ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) Code() int
Code gets the status code for the get v5 repos owner repo issues number o k response
func (*GetV5ReposOwnerRepoIssuesNumberOK) Error ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) Error() string
func (*GetV5ReposOwnerRepoIssuesNumberOK) GetPayload ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) GetPayload() *models.Issue
func (*GetV5ReposOwnerRepoIssuesNumberOK) IsClientError ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsClientError() bool
IsClientError returns true when this get v5 repos owner repo issues number o k response has a 4xx status code
func (*GetV5ReposOwnerRepoIssuesNumberOK) IsCode ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsCode(code int) bool
IsCode returns true when this get v5 repos owner repo issues number o k response a status code equal to that given
func (*GetV5ReposOwnerRepoIssuesNumberOK) IsRedirect ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner repo issues number o k response has a 3xx status code
func (*GetV5ReposOwnerRepoIssuesNumberOK) IsServerError ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsServerError() bool
IsServerError returns true when this get v5 repos owner repo issues number o k response has a 5xx status code
func (*GetV5ReposOwnerRepoIssuesNumberOK) IsSuccess ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner repo issues number o k response has a 2xx status code
func (*GetV5ReposOwnerRepoIssuesNumberOK) String ¶
func (o *GetV5ReposOwnerRepoIssuesNumberOK) String() string
type GetV5ReposOwnerRepoIssuesNumberParams ¶
type GetV5ReposOwnerRepoIssuesNumberParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Repo.
仓库路径(path)
*/
Repo string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesNumberParams contains all the parameters to send to the API endpoint
for the get v5 repos owner repo issues number operation. Typically these are written to a http.Request.
func NewGetV5ReposOwnerRepoIssuesNumberParams ¶
func NewGetV5ReposOwnerRepoIssuesNumberParams() *GetV5ReposOwnerRepoIssuesNumberParams
NewGetV5ReposOwnerRepoIssuesNumberParams creates a new GetV5ReposOwnerRepoIssuesNumberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5ReposOwnerRepoIssuesNumberParamsWithContext
deprecated
func NewGetV5ReposOwnerRepoIssuesNumberParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberParams
NewGetV5ReposOwnerRepoIssuesNumberParamsWithContext creates a new GetV5ReposOwnerRepoIssuesNumberParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberParams.
func NewGetV5ReposOwnerRepoIssuesNumberParamsWithHTTPClient ¶
func NewGetV5ReposOwnerRepoIssuesNumberParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberParams
NewGetV5ReposOwnerRepoIssuesNumberParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesNumberParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5ReposOwnerRepoIssuesNumberParamsWithTimeout ¶
func NewGetV5ReposOwnerRepoIssuesNumberParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberParams
NewGetV5ReposOwnerRepoIssuesNumberParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesNumberParams object with the ability to set a timeout on a request.
func (*GetV5ReposOwnerRepoIssuesNumberParams) SetAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) SetContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 repos owner repo issues number params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberParams.
func (*GetV5ReposOwnerRepoIssuesNumberParams) SetDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetDefaults()
SetDefaults hydrates default values in the get v5 repos owner repo issues number params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesNumberParams) SetHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) SetNumber ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetNumber(number string)
SetNumber adds the number to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) SetOwner ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetOwner(owner string)
SetOwner adds the owner to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) SetRepo ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetRepo(repo string)
SetRepo adds the repo to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) SetTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WithAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesNumberParams
WithAccessToken adds the accessToken to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WithContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberParams
WithContext adds the context to the get v5 repos owner repo issues number params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberParams.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WithDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithDefaults() *GetV5ReposOwnerRepoIssuesNumberParams
WithDefaults hydrates default values in the get v5 repos owner repo issues number params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WithHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberParams
WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WithNumber ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithNumber(number string) *GetV5ReposOwnerRepoIssuesNumberParams
WithNumber adds the number to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WithOwner ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesNumberParams
WithOwner adds the owner to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WithRepo ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesNumberParams
WithRepo adds the repo to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WithTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberParams
WithTimeout adds the timeout to the get v5 repos owner repo issues number params.
func (*GetV5ReposOwnerRepoIssuesNumberParams) WriteToRequest ¶
func (o *GetV5ReposOwnerRepoIssuesNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5ReposOwnerRepoIssuesNumberReader ¶
type GetV5ReposOwnerRepoIssuesNumberReader struct {
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesNumberReader is a Reader for the GetV5ReposOwnerRepoIssuesNumber structure.
func (*GetV5ReposOwnerRepoIssuesNumberReader) ReadResponse ¶
func (o *GetV5ReposOwnerRepoIssuesNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5ReposOwnerRepoIssuesOK ¶
GetV5ReposOwnerRepoIssuesOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5ReposOwnerRepoIssuesOK ¶
func NewGetV5ReposOwnerRepoIssuesOK() *GetV5ReposOwnerRepoIssuesOK
NewGetV5ReposOwnerRepoIssuesOK creates a GetV5ReposOwnerRepoIssuesOK with default headers values
func (*GetV5ReposOwnerRepoIssuesOK) Code ¶
func (o *GetV5ReposOwnerRepoIssuesOK) Code() int
Code gets the status code for the get v5 repos owner repo issues o k response
func (*GetV5ReposOwnerRepoIssuesOK) Error ¶
func (o *GetV5ReposOwnerRepoIssuesOK) Error() string
func (*GetV5ReposOwnerRepoIssuesOK) GetPayload ¶
func (o *GetV5ReposOwnerRepoIssuesOK) GetPayload() []*models.Issue
func (*GetV5ReposOwnerRepoIssuesOK) IsClientError ¶
func (o *GetV5ReposOwnerRepoIssuesOK) IsClientError() bool
IsClientError returns true when this get v5 repos owner repo issues o k response has a 4xx status code
func (*GetV5ReposOwnerRepoIssuesOK) IsCode ¶
func (o *GetV5ReposOwnerRepoIssuesOK) IsCode(code int) bool
IsCode returns true when this get v5 repos owner repo issues o k response a status code equal to that given
func (*GetV5ReposOwnerRepoIssuesOK) IsRedirect ¶
func (o *GetV5ReposOwnerRepoIssuesOK) IsRedirect() bool
IsRedirect returns true when this get v5 repos owner repo issues o k response has a 3xx status code
func (*GetV5ReposOwnerRepoIssuesOK) IsServerError ¶
func (o *GetV5ReposOwnerRepoIssuesOK) IsServerError() bool
IsServerError returns true when this get v5 repos owner repo issues o k response has a 5xx status code
func (*GetV5ReposOwnerRepoIssuesOK) IsSuccess ¶
func (o *GetV5ReposOwnerRepoIssuesOK) IsSuccess() bool
IsSuccess returns true when this get v5 repos owner repo issues o k response has a 2xx status code
func (*GetV5ReposOwnerRepoIssuesOK) String ¶
func (o *GetV5ReposOwnerRepoIssuesOK) String() string
type GetV5ReposOwnerRepoIssuesParams ¶
type GetV5ReposOwnerRepoIssuesParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Assignee.
用户的username。 none为没指派者, *为所有带有指派者的
*/
Assignee *string
/* CreatedAt.
任务创建时间,格式同上
*/
CreatedAt *string
/* Creator.
创建Issues的用户username
*/
Creator *string
/* Deadline.
计划截止日期,格式同上
*/
Deadline *string
/* Direction.
排序方式: 升序(asc),降序(desc)。默认: desc
Default: "desc"
*/
Direction *string
/* FinishedAt.
任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
*/
FinishedAt *string
/* Labels.
用逗号分开的标签。如: bug,performance
*/
Labels *string
/* Milestone.
根据里程碑标题。none为没里程碑的,*为所有带里程碑的
*/
Milestone *string
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Program.
所属项目名称。none为没有所属项目,*为所有带所属项目的
*/
Program *string
/* Q.
搜索关键字
*/
Q *string
/* Repo.
仓库路径(path)
*/
Repo string
/* Schedule.
计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
*/
Schedule *string
/* SecurityHole.
是否只看安全属性的issue
*/
SecurityHole *bool
/* Since.
起始的更新时间,要求时间格式为 ISO 8601
*/
Since *string
/* Sort.
排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at
Default: "created"
*/
Sort *string
/* State.
Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open
Default: "open"
*/
State *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesParams contains all the parameters to send to the API endpoint
for the get v5 repos owner repo issues operation. Typically these are written to a http.Request.
func NewGetV5ReposOwnerRepoIssuesParams ¶
func NewGetV5ReposOwnerRepoIssuesParams() *GetV5ReposOwnerRepoIssuesParams
NewGetV5ReposOwnerRepoIssuesParams creates a new GetV5ReposOwnerRepoIssuesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5ReposOwnerRepoIssuesParamsWithContext
deprecated
func NewGetV5ReposOwnerRepoIssuesParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesParams
NewGetV5ReposOwnerRepoIssuesParamsWithContext creates a new GetV5ReposOwnerRepoIssuesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesParams.
func NewGetV5ReposOwnerRepoIssuesParamsWithHTTPClient ¶
func NewGetV5ReposOwnerRepoIssuesParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesParams
NewGetV5ReposOwnerRepoIssuesParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5ReposOwnerRepoIssuesParamsWithTimeout ¶
func NewGetV5ReposOwnerRepoIssuesParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesParams
NewGetV5ReposOwnerRepoIssuesParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesParams object with the ability to set a timeout on a request.
func (*GetV5ReposOwnerRepoIssuesParams) SetAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetAssignee ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetAssignee(assignee *string)
SetAssignee adds the assignee to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 repos owner repo issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesParams.
func (*GetV5ReposOwnerRepoIssuesParams) SetCreatedAt ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetCreatedAt(createdAt *string)
SetCreatedAt adds the createdAt to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetCreator ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetCreator(creator *string)
SetCreator adds the creator to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetDeadline ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetDeadline(deadline *string)
SetDeadline adds the deadline to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetDefaults()
SetDefaults hydrates default values in the get v5 repos owner repo issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesParams) SetDirection ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetDirection(direction *string)
SetDirection adds the direction to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetFinishedAt ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetFinishedAt(finishedAt *string)
SetFinishedAt adds the finishedAt to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetLabels ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetLabels(labels *string)
SetLabels adds the labels to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetMilestone ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetMilestone(milestone *string)
SetMilestone adds the milestone to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetOwner ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetOwner(owner string)
SetOwner adds the owner to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetPage ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetPage(page *int32)
SetPage adds the page to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetPerPage ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetProgram ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetProgram(program *string)
SetProgram adds the program to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetQ ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetQ(q *string)
SetQ adds the q to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetRepo ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetRepo(repo string)
SetRepo adds the repo to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetSchedule ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetSchedule(schedule *string)
SetSchedule adds the schedule to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetSecurityHole ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetSecurityHole(securityHole *bool)
SetSecurityHole adds the securityHole to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetSince ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetSince(since *string)
SetSince adds the since to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetSort ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetSort(sort *string)
SetSort adds the sort to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetState ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetState(state *string)
SetState adds the state to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) SetTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithAccessToken ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithAccessToken(accessToken *string) *GetV5ReposOwnerRepoIssuesParams
WithAccessToken adds the accessToken to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithAssignee ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithAssignee(assignee *string) *GetV5ReposOwnerRepoIssuesParams
WithAssignee adds the assignee to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithContext
deprecated
func (o *GetV5ReposOwnerRepoIssuesParams) WithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesParams
WithContext adds the context to the get v5 repos owner repo issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesParams.
func (*GetV5ReposOwnerRepoIssuesParams) WithCreatedAt ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithCreatedAt(createdAt *string) *GetV5ReposOwnerRepoIssuesParams
WithCreatedAt adds the createdAt to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithCreator ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithCreator(creator *string) *GetV5ReposOwnerRepoIssuesParams
WithCreator adds the creator to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithDeadline ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithDeadline(deadline *string) *GetV5ReposOwnerRepoIssuesParams
WithDeadline adds the deadline to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithDefaults ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithDefaults() *GetV5ReposOwnerRepoIssuesParams
WithDefaults hydrates default values in the get v5 repos owner repo issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5ReposOwnerRepoIssuesParams) WithDirection ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithDirection(direction *string) *GetV5ReposOwnerRepoIssuesParams
WithDirection adds the direction to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithFinishedAt ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithFinishedAt(finishedAt *string) *GetV5ReposOwnerRepoIssuesParams
WithFinishedAt adds the finishedAt to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithHTTPClient ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesParams
WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithLabels ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithLabels(labels *string) *GetV5ReposOwnerRepoIssuesParams
WithLabels adds the labels to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithMilestone ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithMilestone(milestone *string) *GetV5ReposOwnerRepoIssuesParams
WithMilestone adds the milestone to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithOwner ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithOwner(owner string) *GetV5ReposOwnerRepoIssuesParams
WithOwner adds the owner to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithPage ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithPage(page *int32) *GetV5ReposOwnerRepoIssuesParams
WithPage adds the page to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithPerPage ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithPerPage(perPage *int32) *GetV5ReposOwnerRepoIssuesParams
WithPerPage adds the perPage to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithProgram ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithProgram(program *string) *GetV5ReposOwnerRepoIssuesParams
WithProgram adds the program to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithQ ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithQ(q *string) *GetV5ReposOwnerRepoIssuesParams
WithQ adds the q to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithRepo ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithRepo(repo string) *GetV5ReposOwnerRepoIssuesParams
WithRepo adds the repo to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithSchedule ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithSchedule(schedule *string) *GetV5ReposOwnerRepoIssuesParams
WithSchedule adds the schedule to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithSecurityHole ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithSecurityHole(securityHole *bool) *GetV5ReposOwnerRepoIssuesParams
WithSecurityHole adds the securityHole to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithSince ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithSince(since *string) *GetV5ReposOwnerRepoIssuesParams
WithSince adds the since to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithSort ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithSort(sort *string) *GetV5ReposOwnerRepoIssuesParams
WithSort adds the sort to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithState ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithState(state *string) *GetV5ReposOwnerRepoIssuesParams
WithState adds the state to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WithTimeout ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesParams
WithTimeout adds the timeout to the get v5 repos owner repo issues params.
func (*GetV5ReposOwnerRepoIssuesParams) WriteToRequest ¶
func (o *GetV5ReposOwnerRepoIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5ReposOwnerRepoIssuesReader ¶
type GetV5ReposOwnerRepoIssuesReader struct {
// contains filtered or unexported fields
}
GetV5ReposOwnerRepoIssuesReader is a Reader for the GetV5ReposOwnerRepoIssues structure.
func (*GetV5ReposOwnerRepoIssuesReader) ReadResponse ¶
func (o *GetV5ReposOwnerRepoIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetV5UserIssuesOK ¶
GetV5UserIssuesOK describes a response with status code 200, with default header values.
返回格式
func NewGetV5UserIssuesOK ¶
func NewGetV5UserIssuesOK() *GetV5UserIssuesOK
NewGetV5UserIssuesOK creates a GetV5UserIssuesOK with default headers values
func (*GetV5UserIssuesOK) Code ¶
func (o *GetV5UserIssuesOK) Code() int
Code gets the status code for the get v5 user issues o k response
func (*GetV5UserIssuesOK) Error ¶
func (o *GetV5UserIssuesOK) Error() string
func (*GetV5UserIssuesOK) GetPayload ¶
func (o *GetV5UserIssuesOK) GetPayload() []*models.Issue
func (*GetV5UserIssuesOK) IsClientError ¶
func (o *GetV5UserIssuesOK) IsClientError() bool
IsClientError returns true when this get v5 user issues o k response has a 4xx status code
func (*GetV5UserIssuesOK) IsCode ¶
func (o *GetV5UserIssuesOK) IsCode(code int) bool
IsCode returns true when this get v5 user issues o k response a status code equal to that given
func (*GetV5UserIssuesOK) IsRedirect ¶
func (o *GetV5UserIssuesOK) IsRedirect() bool
IsRedirect returns true when this get v5 user issues o k response has a 3xx status code
func (*GetV5UserIssuesOK) IsServerError ¶
func (o *GetV5UserIssuesOK) IsServerError() bool
IsServerError returns true when this get v5 user issues o k response has a 5xx status code
func (*GetV5UserIssuesOK) IsSuccess ¶
func (o *GetV5UserIssuesOK) IsSuccess() bool
IsSuccess returns true when this get v5 user issues o k response has a 2xx status code
func (*GetV5UserIssuesOK) String ¶
func (o *GetV5UserIssuesOK) String() string
type GetV5UserIssuesParams ¶
type GetV5UserIssuesParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* CreatedAt.
任务创建时间,格式同上
*/
CreatedAt *string
/* Deadline.
计划截止日期,格式同上
*/
Deadline *string
/* Direction.
排序方式: 升序(asc),降序(desc)。默认: desc
Default: "desc"
*/
Direction *string
/* Filter.
筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned
Default: "assigned"
*/
Filter *string
/* FinishedAt.
任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
*/
FinishedAt *string
/* Labels.
用逗号分开的标签。如: bug,performance
*/
Labels *string
/* Page.
当前的页码
Format: int32
Default: 1
*/
Page *int32
/* PerPage.
每页的数量,最大为 100
Format: int32
Default: 20
*/
PerPage *int32
/* Schedule.
计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
*/
Schedule *string
/* Since.
起始的更新时间,要求时间格式为 ISO 8601
*/
Since *string
/* Sort.
排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at
Default: "created"
*/
Sort *string
/* State.
Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open
Default: "open"
*/
State *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV5UserIssuesParams contains all the parameters to send to the API endpoint
for the get v5 user issues operation. Typically these are written to a http.Request.
func NewGetV5UserIssuesParams ¶
func NewGetV5UserIssuesParams() *GetV5UserIssuesParams
NewGetV5UserIssuesParams creates a new GetV5UserIssuesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV5UserIssuesParamsWithContext
deprecated
func NewGetV5UserIssuesParamsWithContext(ctx context.Context) *GetV5UserIssuesParams
NewGetV5UserIssuesParamsWithContext creates a new GetV5UserIssuesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetV5UserIssuesParams.
func NewGetV5UserIssuesParamsWithHTTPClient ¶
func NewGetV5UserIssuesParamsWithHTTPClient(client *http.Client) *GetV5UserIssuesParams
NewGetV5UserIssuesParamsWithHTTPClient creates a new GetV5UserIssuesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV5UserIssuesParamsWithTimeout ¶
func NewGetV5UserIssuesParamsWithTimeout(timeout time.Duration) *GetV5UserIssuesParams
NewGetV5UserIssuesParamsWithTimeout creates a new GetV5UserIssuesParams object with the ability to set a timeout on a request.
func (*GetV5UserIssuesParams) SetAccessToken ¶
func (o *GetV5UserIssuesParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetContext
deprecated
func (o *GetV5UserIssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v5 user issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5UserIssuesParams.
func (*GetV5UserIssuesParams) SetCreatedAt ¶
func (o *GetV5UserIssuesParams) SetCreatedAt(createdAt *string)
SetCreatedAt adds the createdAt to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetDeadline ¶
func (o *GetV5UserIssuesParams) SetDeadline(deadline *string)
SetDeadline adds the deadline to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetDefaults ¶
func (o *GetV5UserIssuesParams) SetDefaults()
SetDefaults hydrates default values in the get v5 user issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5UserIssuesParams) SetDirection ¶
func (o *GetV5UserIssuesParams) SetDirection(direction *string)
SetDirection adds the direction to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetFilter ¶
func (o *GetV5UserIssuesParams) SetFilter(filter *string)
SetFilter adds the filter to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetFinishedAt ¶
func (o *GetV5UserIssuesParams) SetFinishedAt(finishedAt *string)
SetFinishedAt adds the finishedAt to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetHTTPClient ¶
func (o *GetV5UserIssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetLabels ¶
func (o *GetV5UserIssuesParams) SetLabels(labels *string)
SetLabels adds the labels to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetPage ¶
func (o *GetV5UserIssuesParams) SetPage(page *int32)
SetPage adds the page to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetPerPage ¶
func (o *GetV5UserIssuesParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetSchedule ¶
func (o *GetV5UserIssuesParams) SetSchedule(schedule *string)
SetSchedule adds the schedule to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetSince ¶
func (o *GetV5UserIssuesParams) SetSince(since *string)
SetSince adds the since to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetSort ¶
func (o *GetV5UserIssuesParams) SetSort(sort *string)
SetSort adds the sort to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetState ¶
func (o *GetV5UserIssuesParams) SetState(state *string)
SetState adds the state to the get v5 user issues params.
func (*GetV5UserIssuesParams) SetTimeout ¶
func (o *GetV5UserIssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithAccessToken ¶
func (o *GetV5UserIssuesParams) WithAccessToken(accessToken *string) *GetV5UserIssuesParams
WithAccessToken adds the accessToken to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithContext
deprecated
func (o *GetV5UserIssuesParams) WithContext(ctx context.Context) *GetV5UserIssuesParams
WithContext adds the context to the get v5 user issues params.
Deprecated: use the operation call with context to pass the context instead of GetV5UserIssuesParams.
func (*GetV5UserIssuesParams) WithCreatedAt ¶
func (o *GetV5UserIssuesParams) WithCreatedAt(createdAt *string) *GetV5UserIssuesParams
WithCreatedAt adds the createdAt to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithDeadline ¶
func (o *GetV5UserIssuesParams) WithDeadline(deadline *string) *GetV5UserIssuesParams
WithDeadline adds the deadline to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithDefaults ¶
func (o *GetV5UserIssuesParams) WithDefaults() *GetV5UserIssuesParams
WithDefaults hydrates default values in the get v5 user issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetV5UserIssuesParams) WithDirection ¶
func (o *GetV5UserIssuesParams) WithDirection(direction *string) *GetV5UserIssuesParams
WithDirection adds the direction to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithFilter ¶
func (o *GetV5UserIssuesParams) WithFilter(filter *string) *GetV5UserIssuesParams
WithFilter adds the filter to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithFinishedAt ¶
func (o *GetV5UserIssuesParams) WithFinishedAt(finishedAt *string) *GetV5UserIssuesParams
WithFinishedAt adds the finishedAt to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithHTTPClient ¶
func (o *GetV5UserIssuesParams) WithHTTPClient(client *http.Client) *GetV5UserIssuesParams
WithHTTPClient adds the HTTPClient to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithLabels ¶
func (o *GetV5UserIssuesParams) WithLabels(labels *string) *GetV5UserIssuesParams
WithLabels adds the labels to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithPage ¶
func (o *GetV5UserIssuesParams) WithPage(page *int32) *GetV5UserIssuesParams
WithPage adds the page to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithPerPage ¶
func (o *GetV5UserIssuesParams) WithPerPage(perPage *int32) *GetV5UserIssuesParams
WithPerPage adds the perPage to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithSchedule ¶
func (o *GetV5UserIssuesParams) WithSchedule(schedule *string) *GetV5UserIssuesParams
WithSchedule adds the schedule to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithSince ¶
func (o *GetV5UserIssuesParams) WithSince(since *string) *GetV5UserIssuesParams
WithSince adds the since to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithSort ¶
func (o *GetV5UserIssuesParams) WithSort(sort *string) *GetV5UserIssuesParams
WithSort adds the sort to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithState ¶
func (o *GetV5UserIssuesParams) WithState(state *string) *GetV5UserIssuesParams
WithState adds the state to the get v5 user issues params.
func (*GetV5UserIssuesParams) WithTimeout ¶
func (o *GetV5UserIssuesParams) WithTimeout(timeout time.Duration) *GetV5UserIssuesParams
WithTimeout adds the timeout to the get v5 user issues params.
func (*GetV5UserIssuesParams) WriteToRequest ¶
func (o *GetV5UserIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetV5UserIssuesReader ¶
type GetV5UserIssuesReader struct {
// contains filtered or unexported fields
}
GetV5UserIssuesReader is a Reader for the GetV5UserIssues structure.
func (*GetV5UserIssuesReader) ReadResponse ¶
func (o *GetV5UserIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PatchV5EnterprisesEnterpriseIssuesNumberOK ¶
PatchV5EnterprisesEnterpriseIssuesNumberOK describes a response with status code 200, with default header values.
返回格式
func NewPatchV5EnterprisesEnterpriseIssuesNumberOK ¶
func NewPatchV5EnterprisesEnterpriseIssuesNumberOK() *PatchV5EnterprisesEnterpriseIssuesNumberOK
NewPatchV5EnterprisesEnterpriseIssuesNumberOK creates a PatchV5EnterprisesEnterpriseIssuesNumberOK with default headers values
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) Code ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) Code() int
Code gets the status code for the patch v5 enterprises enterprise issues number o k response
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) Error ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) Error() string
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) GetPayload ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) GetPayload() *models.Issue
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsClientError ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsClientError() bool
IsClientError returns true when this patch v5 enterprises enterprise issues number o k response has a 4xx status code
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsCode ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsCode(code int) bool
IsCode returns true when this patch v5 enterprises enterprise issues number o k response a status code equal to that given
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsRedirect ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsRedirect() bool
IsRedirect returns true when this patch v5 enterprises enterprise issues number o k response has a 3xx status code
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsServerError ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsServerError() bool
IsServerError returns true when this patch v5 enterprises enterprise issues number o k response has a 5xx status code
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsSuccess ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) IsSuccess() bool
IsSuccess returns true when this patch v5 enterprises enterprise issues number o k response has a 2xx status code
func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) String ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberOK) String() string
type PatchV5EnterprisesEnterpriseIssuesNumberParams ¶
type PatchV5EnterprisesEnterpriseIssuesNumberParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Assignee.
Issue负责人的个人空间地址
*/
Assignee *string
/* Body.
Issue描述
*/
Body *string
/* Branch.
分支名称,传空串表示取消关联分支
*/
Branch *string
/* Collaborators.
Issue协助者的个人空间地址, 以 , 分隔
*/
Collaborators *string
/* CveID.
CVE identifier for security issues
*/
CveID *string
/* Enterprise.
企业的路径(path/login)
*/
Enterprise string
/* Labels.
用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance
*/
Labels *string
/* Milestone.
里程碑序号
Format: int32
*/
Milestone *int32
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Program.
项目ID
*/
Program *string
/* SecurityHole.
是否是私有issue(默认为false)
*/
SecurityHole *bool
/* State.
Issue 状态,open(开启的)、progressing(进行中)、closed(关闭的)
*/
State *string
/* Title.
Issue标题
*/
Title *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchV5EnterprisesEnterpriseIssuesNumberParams contains all the parameters to send to the API endpoint
for the patch v5 enterprises enterprise issues number operation. Typically these are written to a http.Request.
func NewPatchV5EnterprisesEnterpriseIssuesNumberParams ¶
func NewPatchV5EnterprisesEnterpriseIssuesNumberParams() *PatchV5EnterprisesEnterpriseIssuesNumberParams
NewPatchV5EnterprisesEnterpriseIssuesNumberParams creates a new PatchV5EnterprisesEnterpriseIssuesNumberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithContext
deprecated
func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseIssuesNumberParams
NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithContext creates a new PatchV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseIssuesNumberParams.
func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient ¶
func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseIssuesNumberParams
NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient creates a new PatchV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout ¶
func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseIssuesNumberParams
NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout creates a new PatchV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a timeout on a request.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAssignee ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAssignee(assignee *string)
SetAssignee adds the assignee to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetBody ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetBody(body *string)
SetBody adds the body to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetBranch ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetBranch(branch *string)
SetBranch adds the branch to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCollaborators ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCollaborators(collaborators *string)
SetCollaborators adds the collaborators to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetContext
deprecated
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v5 enterprises enterprise issues number params.
Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseIssuesNumberParams.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCveID ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCveID(cveID *string)
SetCveID adds the cveId to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetDefaults ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetDefaults()
SetDefaults hydrates default values in the patch v5 enterprises enterprise issues number params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise(enterprise string)
SetEnterprise adds the enterprise to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetLabels ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetLabels(labels *string)
SetLabels adds the labels to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetMilestone ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetMilestone(milestone *int32)
SetMilestone adds the milestone to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetNumber ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetNumber(number string)
SetNumber adds the number to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetProgram ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetProgram(program *string)
SetProgram adds the program to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetSecurityHole ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetSecurityHole(securityHole *bool)
SetSecurityHole adds the securityHole to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetState ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetState(state *string)
SetState adds the state to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetTimeout ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetTitle ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetTitle(title *string)
SetTitle adds the title to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithAccessToken ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithAccessToken(accessToken *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithAccessToken adds the accessToken to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithAssignee ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithAssignee(assignee *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithAssignee adds the assignee to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithBody ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithBody(body *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithBody adds the body to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithBranch ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithBranch(branch *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithBranch adds the branch to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithCollaborators ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithCollaborators(collaborators *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithCollaborators adds the collaborators to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithContext
deprecated
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithContext adds the context to the patch v5 enterprises enterprise issues number params.
Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseIssuesNumberParams.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithCveID ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithCveID(cveID *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithCveID adds the cveID to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithDefaults ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithDefaults() *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithDefaults hydrates default values in the patch v5 enterprises enterprise issues number params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithEnterprise ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithEnterprise(enterprise string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithEnterprise adds the enterprise to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithHTTPClient ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithHTTPClient adds the HTTPClient to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithLabels ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithLabels(labels *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithLabels adds the labels to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithMilestone ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithMilestone(milestone *int32) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithMilestone adds the milestone to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithNumber ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithNumber(number string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithNumber adds the number to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithProgram ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithProgram(program *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithProgram adds the program to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithSecurityHole ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithSecurityHole(securityHole *bool) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithSecurityHole adds the securityHole to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithState ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithState(state *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithState adds the state to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithTimeout ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithTimeout adds the timeout to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithTitle ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WithTitle(title *string) *PatchV5EnterprisesEnterpriseIssuesNumberParams
WithTitle adds the title to the patch v5 enterprises enterprise issues number params.
func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WriteToRequest ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PatchV5EnterprisesEnterpriseIssuesNumberReader ¶
type PatchV5EnterprisesEnterpriseIssuesNumberReader struct {
// contains filtered or unexported fields
}
PatchV5EnterprisesEnterpriseIssuesNumberReader is a Reader for the PatchV5EnterprisesEnterpriseIssuesNumber structure.
func (*PatchV5EnterprisesEnterpriseIssuesNumberReader) ReadResponse ¶
func (o *PatchV5EnterprisesEnterpriseIssuesNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PatchV5ReposOwnerIssuesNumberOK ¶
PatchV5ReposOwnerIssuesNumberOK describes a response with status code 200, with default header values.
返回格式
func NewPatchV5ReposOwnerIssuesNumberOK ¶
func NewPatchV5ReposOwnerIssuesNumberOK() *PatchV5ReposOwnerIssuesNumberOK
NewPatchV5ReposOwnerIssuesNumberOK creates a PatchV5ReposOwnerIssuesNumberOK with default headers values
func (*PatchV5ReposOwnerIssuesNumberOK) Code ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) Code() int
Code gets the status code for the patch v5 repos owner issues number o k response
func (*PatchV5ReposOwnerIssuesNumberOK) Error ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) Error() string
func (*PatchV5ReposOwnerIssuesNumberOK) GetPayload ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) GetPayload() *models.Issue
func (*PatchV5ReposOwnerIssuesNumberOK) IsClientError ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) IsClientError() bool
IsClientError returns true when this patch v5 repos owner issues number o k response has a 4xx status code
func (*PatchV5ReposOwnerIssuesNumberOK) IsCode ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) IsCode(code int) bool
IsCode returns true when this patch v5 repos owner issues number o k response a status code equal to that given
func (*PatchV5ReposOwnerIssuesNumberOK) IsRedirect ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) IsRedirect() bool
IsRedirect returns true when this patch v5 repos owner issues number o k response has a 3xx status code
func (*PatchV5ReposOwnerIssuesNumberOK) IsServerError ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) IsServerError() bool
IsServerError returns true when this patch v5 repos owner issues number o k response has a 5xx status code
func (*PatchV5ReposOwnerIssuesNumberOK) IsSuccess ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) IsSuccess() bool
IsSuccess returns true when this patch v5 repos owner issues number o k response has a 2xx status code
func (*PatchV5ReposOwnerIssuesNumberOK) String ¶
func (o *PatchV5ReposOwnerIssuesNumberOK) String() string
type PatchV5ReposOwnerIssuesNumberParams ¶
type PatchV5ReposOwnerIssuesNumberParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Assignee.
Issue负责人的个人空间地址
*/
Assignee *string
/* Body.
Issue描述
*/
Body *string
/* Branch.
分支名称,传空串表示取消关联分支
*/
Branch *string
/* Collaborators.
Issue协助者的个人空间地址, 以 , 分隔
*/
Collaborators *string
/* CveID.
CVE identifier for security issues
*/
CveID *string
/* Labels.
用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance
*/
Labels *string
/* Milestone.
里程碑序号
Format: int32
*/
Milestone *int32
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Program.
项目ID
*/
Program *string
/* Repo.
仓库路径(path)
*/
Repo *string
/* SecurityHole.
是否是私有issue(默认为false)
*/
SecurityHole *bool
/* State.
Issue 状态,open(开启的)、progressing(进行中)、closed(关闭的)
*/
State *string
/* Title.
Issue标题
*/
Title *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchV5ReposOwnerIssuesNumberParams contains all the parameters to send to the API endpoint
for the patch v5 repos owner issues number operation. Typically these are written to a http.Request.
func NewPatchV5ReposOwnerIssuesNumberParams ¶
func NewPatchV5ReposOwnerIssuesNumberParams() *PatchV5ReposOwnerIssuesNumberParams
NewPatchV5ReposOwnerIssuesNumberParams creates a new PatchV5ReposOwnerIssuesNumberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchV5ReposOwnerIssuesNumberParamsWithContext
deprecated
func NewPatchV5ReposOwnerIssuesNumberParamsWithContext(ctx context.Context) *PatchV5ReposOwnerIssuesNumberParams
NewPatchV5ReposOwnerIssuesNumberParamsWithContext creates a new PatchV5ReposOwnerIssuesNumberParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerIssuesNumberParams.
func NewPatchV5ReposOwnerIssuesNumberParamsWithHTTPClient ¶
func NewPatchV5ReposOwnerIssuesNumberParamsWithHTTPClient(client *http.Client) *PatchV5ReposOwnerIssuesNumberParams
NewPatchV5ReposOwnerIssuesNumberParamsWithHTTPClient creates a new PatchV5ReposOwnerIssuesNumberParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV5ReposOwnerIssuesNumberParamsWithTimeout ¶
func NewPatchV5ReposOwnerIssuesNumberParamsWithTimeout(timeout time.Duration) *PatchV5ReposOwnerIssuesNumberParams
NewPatchV5ReposOwnerIssuesNumberParamsWithTimeout creates a new PatchV5ReposOwnerIssuesNumberParams object with the ability to set a timeout on a request.
func (*PatchV5ReposOwnerIssuesNumberParams) SetAccessToken ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetAssignee ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetAssignee(assignee *string)
SetAssignee adds the assignee to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetBody ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetBody(body *string)
SetBody adds the body to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetBranch ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetBranch(branch *string)
SetBranch adds the branch to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetCollaborators ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetCollaborators(collaborators *string)
SetCollaborators adds the collaborators to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetContext
deprecated
func (o *PatchV5ReposOwnerIssuesNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v5 repos owner issues number params.
Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerIssuesNumberParams.
func (*PatchV5ReposOwnerIssuesNumberParams) SetCveID ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetCveID(cveID *string)
SetCveID adds the cveId to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetDefaults ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetDefaults()
SetDefaults hydrates default values in the patch v5 repos owner issues number params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV5ReposOwnerIssuesNumberParams) SetHTTPClient ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetLabels ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetLabels(labels *string)
SetLabels adds the labels to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetMilestone ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetMilestone(milestone *int32)
SetMilestone adds the milestone to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetNumber ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetNumber(number string)
SetNumber adds the number to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetOwner ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetOwner(owner string)
SetOwner adds the owner to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetProgram ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetProgram(program *string)
SetProgram adds the program to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetRepo ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetRepo(repo *string)
SetRepo adds the repo to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetSecurityHole ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetSecurityHole(securityHole *bool)
SetSecurityHole adds the securityHole to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetState ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetState(state *string)
SetState adds the state to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetTimeout ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) SetTitle ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) SetTitle(title *string)
SetTitle adds the title to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithAccessToken ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithAccessToken(accessToken *string) *PatchV5ReposOwnerIssuesNumberParams
WithAccessToken adds the accessToken to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithAssignee ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithAssignee(assignee *string) *PatchV5ReposOwnerIssuesNumberParams
WithAssignee adds the assignee to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithBody ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithBody(body *string) *PatchV5ReposOwnerIssuesNumberParams
WithBody adds the body to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithBranch ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithBranch(branch *string) *PatchV5ReposOwnerIssuesNumberParams
WithBranch adds the branch to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithCollaborators ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithCollaborators(collaborators *string) *PatchV5ReposOwnerIssuesNumberParams
WithCollaborators adds the collaborators to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithContext
deprecated
func (o *PatchV5ReposOwnerIssuesNumberParams) WithContext(ctx context.Context) *PatchV5ReposOwnerIssuesNumberParams
WithContext adds the context to the patch v5 repos owner issues number params.
Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerIssuesNumberParams.
func (*PatchV5ReposOwnerIssuesNumberParams) WithCveID ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithCveID(cveID *string) *PatchV5ReposOwnerIssuesNumberParams
WithCveID adds the cveID to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithDefaults ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithDefaults() *PatchV5ReposOwnerIssuesNumberParams
WithDefaults hydrates default values in the patch v5 repos owner issues number params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV5ReposOwnerIssuesNumberParams) WithHTTPClient ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithHTTPClient(client *http.Client) *PatchV5ReposOwnerIssuesNumberParams
WithHTTPClient adds the HTTPClient to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithLabels ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithLabels(labels *string) *PatchV5ReposOwnerIssuesNumberParams
WithLabels adds the labels to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithMilestone ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithMilestone(milestone *int32) *PatchV5ReposOwnerIssuesNumberParams
WithMilestone adds the milestone to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithNumber ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithNumber(number string) *PatchV5ReposOwnerIssuesNumberParams
WithNumber adds the number to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithOwner ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithOwner(owner string) *PatchV5ReposOwnerIssuesNumberParams
WithOwner adds the owner to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithProgram ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithProgram(program *string) *PatchV5ReposOwnerIssuesNumberParams
WithProgram adds the program to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithRepo ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithRepo(repo *string) *PatchV5ReposOwnerIssuesNumberParams
WithRepo adds the repo to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithSecurityHole ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithSecurityHole(securityHole *bool) *PatchV5ReposOwnerIssuesNumberParams
WithSecurityHole adds the securityHole to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithState ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithState(state *string) *PatchV5ReposOwnerIssuesNumberParams
WithState adds the state to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithTimeout ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithTimeout(timeout time.Duration) *PatchV5ReposOwnerIssuesNumberParams
WithTimeout adds the timeout to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WithTitle ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WithTitle(title *string) *PatchV5ReposOwnerIssuesNumberParams
WithTitle adds the title to the patch v5 repos owner issues number params.
func (*PatchV5ReposOwnerIssuesNumberParams) WriteToRequest ¶
func (o *PatchV5ReposOwnerIssuesNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PatchV5ReposOwnerIssuesNumberReader ¶
type PatchV5ReposOwnerIssuesNumberReader struct {
// contains filtered or unexported fields
}
PatchV5ReposOwnerIssuesNumberReader is a Reader for the PatchV5ReposOwnerIssuesNumber structure.
func (*PatchV5ReposOwnerIssuesNumberReader) ReadResponse ¶
func (o *PatchV5ReposOwnerIssuesNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PatchV5ReposOwnerRepoIssuesCommentsIDOK ¶
PatchV5ReposOwnerRepoIssuesCommentsIDOK describes a response with status code 200, with default header values.
返回格式
func NewPatchV5ReposOwnerRepoIssuesCommentsIDOK ¶
func NewPatchV5ReposOwnerRepoIssuesCommentsIDOK() *PatchV5ReposOwnerRepoIssuesCommentsIDOK
NewPatchV5ReposOwnerRepoIssuesCommentsIDOK creates a PatchV5ReposOwnerRepoIssuesCommentsIDOK with default headers values
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) Code ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) Code() int
Code gets the status code for the patch v5 repos owner repo issues comments Id o k response
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) Error ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) Error() string
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) GetPayload ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) GetPayload() *models.Note
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError() bool
IsClientError returns true when this patch v5 repos owner repo issues comments Id o k response has a 4xx status code
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsCode ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsCode(code int) bool
IsCode returns true when this patch v5 repos owner repo issues comments Id o k response a status code equal to that given
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsRedirect ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsRedirect() bool
IsRedirect returns true when this patch v5 repos owner repo issues comments Id o k response has a 3xx status code
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError() bool
IsServerError returns true when this patch v5 repos owner repo issues comments Id o k response has a 5xx status code
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsSuccess ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsSuccess() bool
IsSuccess returns true when this patch v5 repos owner repo issues comments Id o k response has a 2xx status code
func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) String ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) String() string
type PatchV5ReposOwnerRepoIssuesCommentsIDParams ¶
type PatchV5ReposOwnerRepoIssuesCommentsIDParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Body.
The contents of the comment.
*/
Body string
/* ID.
评论的ID
Format: int32
*/
ID int32
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Repo.
仓库路径(path)
*/
Repo string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchV5ReposOwnerRepoIssuesCommentsIDParams contains all the parameters to send to the API endpoint
for the patch v5 repos owner repo issues comments Id operation. Typically these are written to a http.Request.
func NewPatchV5ReposOwnerRepoIssuesCommentsIDParams ¶
func NewPatchV5ReposOwnerRepoIssuesCommentsIDParams() *PatchV5ReposOwnerRepoIssuesCommentsIDParams
NewPatchV5ReposOwnerRepoIssuesCommentsIDParams creates a new PatchV5ReposOwnerRepoIssuesCommentsIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithContext
deprecated
func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithContext creates a new PatchV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerRepoIssuesCommentsIDParams.
func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient ¶
func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient creates a new PatchV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout ¶
func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout creates a new PatchV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a timeout on a request.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetBody ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetBody(body string)
SetBody adds the body to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetContext
deprecated
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v5 repos owner repo issues comments Id params.
Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerRepoIssuesCommentsIDParams.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults()
SetDefaults hydrates default values in the patch v5 repos owner repo issues comments Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetID ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetID(id int32)
SetID adds the id to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner(owner string)
SetOwner adds the owner to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo(repo string)
SetRepo adds the repo to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken(accessToken *string) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithAccessToken adds the accessToken to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithBody ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithBody(body string) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithBody adds the body to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithContext
deprecated
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithContext(ctx context.Context) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithContext adds the context to the patch v5 repos owner repo issues comments Id params.
Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerRepoIssuesCommentsIDParams.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults() *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithDefaults hydrates default values in the patch v5 repos owner repo issues comments Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient(client *http.Client) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithHTTPClient adds the HTTPClient to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithID ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithID(id int32) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithID adds the id to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner(owner string) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithOwner adds the owner to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo(repo string) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithRepo adds the repo to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout(timeout time.Duration) *PatchV5ReposOwnerRepoIssuesCommentsIDParams
WithTimeout adds the timeout to the patch v5 repos owner repo issues comments Id params.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PatchV5ReposOwnerRepoIssuesCommentsIDReader ¶
type PatchV5ReposOwnerRepoIssuesCommentsIDReader struct {
// contains filtered or unexported fields
}
PatchV5ReposOwnerRepoIssuesCommentsIDReader is a Reader for the PatchV5ReposOwnerRepoIssuesCommentsID structure.
func (*PatchV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse ¶
func (o *PatchV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostV5ReposOwnerIssuesCreated ¶
PostV5ReposOwnerIssuesCreated describes a response with status code 201, with default header values.
返回格式
func NewPostV5ReposOwnerIssuesCreated ¶
func NewPostV5ReposOwnerIssuesCreated() *PostV5ReposOwnerIssuesCreated
NewPostV5ReposOwnerIssuesCreated creates a PostV5ReposOwnerIssuesCreated with default headers values
func (*PostV5ReposOwnerIssuesCreated) Code ¶
func (o *PostV5ReposOwnerIssuesCreated) Code() int
Code gets the status code for the post v5 repos owner issues created response
func (*PostV5ReposOwnerIssuesCreated) Error ¶
func (o *PostV5ReposOwnerIssuesCreated) Error() string
func (*PostV5ReposOwnerIssuesCreated) GetPayload ¶
func (o *PostV5ReposOwnerIssuesCreated) GetPayload() *models.Issue
func (*PostV5ReposOwnerIssuesCreated) IsClientError ¶
func (o *PostV5ReposOwnerIssuesCreated) IsClientError() bool
IsClientError returns true when this post v5 repos owner issues created response has a 4xx status code
func (*PostV5ReposOwnerIssuesCreated) IsCode ¶
func (o *PostV5ReposOwnerIssuesCreated) IsCode(code int) bool
IsCode returns true when this post v5 repos owner issues created response a status code equal to that given
func (*PostV5ReposOwnerIssuesCreated) IsRedirect ¶
func (o *PostV5ReposOwnerIssuesCreated) IsRedirect() bool
IsRedirect returns true when this post v5 repos owner issues created response has a 3xx status code
func (*PostV5ReposOwnerIssuesCreated) IsServerError ¶
func (o *PostV5ReposOwnerIssuesCreated) IsServerError() bool
IsServerError returns true when this post v5 repos owner issues created response has a 5xx status code
func (*PostV5ReposOwnerIssuesCreated) IsSuccess ¶
func (o *PostV5ReposOwnerIssuesCreated) IsSuccess() bool
IsSuccess returns true when this post v5 repos owner issues created response has a 2xx status code
func (*PostV5ReposOwnerIssuesCreated) String ¶
func (o *PostV5ReposOwnerIssuesCreated) String() string
type PostV5ReposOwnerIssuesParams ¶
type PostV5ReposOwnerIssuesParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Assignee.
Issue负责人的个人空间地址
*/
Assignee *string
/* Body.
Issue描述
*/
Body *string
/* Branch.
分支名称,传空串表示取消关联分支
*/
Branch *string
/* Collaborators.
Issue协助者的个人空间地址, 以 , 分隔
*/
Collaborators *string
/* CveID.
CVE identifier for security issues
*/
CveID *string
/* IssueType.
企业自定义任务类型,非企业默认任务类型为“任务”
*/
IssueType *string
/* Labels.
用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance
*/
Labels *string
/* Milestone.
里程碑序号
Format: int32
*/
Milestone *int32
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Program.
项目ID
*/
Program *string
/* Repo.
仓库路径(path)
*/
Repo *string
/* SecurityHole.
是否是私有issue(默认为false)
*/
SecurityHole *bool
/* Title.
Issue标题
*/
Title string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV5ReposOwnerIssuesParams contains all the parameters to send to the API endpoint
for the post v5 repos owner issues operation. Typically these are written to a http.Request.
func NewPostV5ReposOwnerIssuesParams ¶
func NewPostV5ReposOwnerIssuesParams() *PostV5ReposOwnerIssuesParams
NewPostV5ReposOwnerIssuesParams creates a new PostV5ReposOwnerIssuesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV5ReposOwnerIssuesParamsWithContext
deprecated
func NewPostV5ReposOwnerIssuesParamsWithContext(ctx context.Context) *PostV5ReposOwnerIssuesParams
NewPostV5ReposOwnerIssuesParamsWithContext creates a new PostV5ReposOwnerIssuesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerIssuesParams.
func NewPostV5ReposOwnerIssuesParamsWithHTTPClient ¶
func NewPostV5ReposOwnerIssuesParamsWithHTTPClient(client *http.Client) *PostV5ReposOwnerIssuesParams
NewPostV5ReposOwnerIssuesParamsWithHTTPClient creates a new PostV5ReposOwnerIssuesParams object with the ability to set a custom HTTPClient for a request.
func NewPostV5ReposOwnerIssuesParamsWithTimeout ¶
func NewPostV5ReposOwnerIssuesParamsWithTimeout(timeout time.Duration) *PostV5ReposOwnerIssuesParams
NewPostV5ReposOwnerIssuesParamsWithTimeout creates a new PostV5ReposOwnerIssuesParams object with the ability to set a timeout on a request.
func (*PostV5ReposOwnerIssuesParams) SetAccessToken ¶
func (o *PostV5ReposOwnerIssuesParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetAssignee ¶
func (o *PostV5ReposOwnerIssuesParams) SetAssignee(assignee *string)
SetAssignee adds the assignee to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetBody ¶
func (o *PostV5ReposOwnerIssuesParams) SetBody(body *string)
SetBody adds the body to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetBranch ¶
func (o *PostV5ReposOwnerIssuesParams) SetBranch(branch *string)
SetBranch adds the branch to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetCollaborators ¶
func (o *PostV5ReposOwnerIssuesParams) SetCollaborators(collaborators *string)
SetCollaborators adds the collaborators to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetContext
deprecated
func (o *PostV5ReposOwnerIssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the post v5 repos owner issues params.
Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerIssuesParams.
func (*PostV5ReposOwnerIssuesParams) SetCveID ¶
func (o *PostV5ReposOwnerIssuesParams) SetCveID(cveID *string)
SetCveID adds the cveId to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetDefaults ¶
func (o *PostV5ReposOwnerIssuesParams) SetDefaults()
SetDefaults hydrates default values in the post v5 repos owner issues params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5ReposOwnerIssuesParams) SetHTTPClient ¶
func (o *PostV5ReposOwnerIssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetIssueType ¶
func (o *PostV5ReposOwnerIssuesParams) SetIssueType(issueType *string)
SetIssueType adds the issueType to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetLabels ¶
func (o *PostV5ReposOwnerIssuesParams) SetLabels(labels *string)
SetLabels adds the labels to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetMilestone ¶
func (o *PostV5ReposOwnerIssuesParams) SetMilestone(milestone *int32)
SetMilestone adds the milestone to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetOwner ¶
func (o *PostV5ReposOwnerIssuesParams) SetOwner(owner string)
SetOwner adds the owner to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetProgram ¶
func (o *PostV5ReposOwnerIssuesParams) SetProgram(program *string)
SetProgram adds the program to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetRepo ¶
func (o *PostV5ReposOwnerIssuesParams) SetRepo(repo *string)
SetRepo adds the repo to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetSecurityHole ¶
func (o *PostV5ReposOwnerIssuesParams) SetSecurityHole(securityHole *bool)
SetSecurityHole adds the securityHole to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetTimeout ¶
func (o *PostV5ReposOwnerIssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) SetTitle ¶
func (o *PostV5ReposOwnerIssuesParams) SetTitle(title string)
SetTitle adds the title to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithAccessToken ¶
func (o *PostV5ReposOwnerIssuesParams) WithAccessToken(accessToken *string) *PostV5ReposOwnerIssuesParams
WithAccessToken adds the accessToken to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithAssignee ¶
func (o *PostV5ReposOwnerIssuesParams) WithAssignee(assignee *string) *PostV5ReposOwnerIssuesParams
WithAssignee adds the assignee to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithBody ¶
func (o *PostV5ReposOwnerIssuesParams) WithBody(body *string) *PostV5ReposOwnerIssuesParams
WithBody adds the body to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithBranch ¶
func (o *PostV5ReposOwnerIssuesParams) WithBranch(branch *string) *PostV5ReposOwnerIssuesParams
WithBranch adds the branch to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithCollaborators ¶
func (o *PostV5ReposOwnerIssuesParams) WithCollaborators(collaborators *string) *PostV5ReposOwnerIssuesParams
WithCollaborators adds the collaborators to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithContext
deprecated
func (o *PostV5ReposOwnerIssuesParams) WithContext(ctx context.Context) *PostV5ReposOwnerIssuesParams
WithContext adds the context to the post v5 repos owner issues params.
Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerIssuesParams.
func (*PostV5ReposOwnerIssuesParams) WithCveID ¶
func (o *PostV5ReposOwnerIssuesParams) WithCveID(cveID *string) *PostV5ReposOwnerIssuesParams
WithCveID adds the cveID to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithDefaults ¶
func (o *PostV5ReposOwnerIssuesParams) WithDefaults() *PostV5ReposOwnerIssuesParams
WithDefaults hydrates default values in the post v5 repos owner issues params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5ReposOwnerIssuesParams) WithHTTPClient ¶
func (o *PostV5ReposOwnerIssuesParams) WithHTTPClient(client *http.Client) *PostV5ReposOwnerIssuesParams
WithHTTPClient adds the HTTPClient to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithIssueType ¶
func (o *PostV5ReposOwnerIssuesParams) WithIssueType(issueType *string) *PostV5ReposOwnerIssuesParams
WithIssueType adds the issueType to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithLabels ¶
func (o *PostV5ReposOwnerIssuesParams) WithLabels(labels *string) *PostV5ReposOwnerIssuesParams
WithLabels adds the labels to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithMilestone ¶
func (o *PostV5ReposOwnerIssuesParams) WithMilestone(milestone *int32) *PostV5ReposOwnerIssuesParams
WithMilestone adds the milestone to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithOwner ¶
func (o *PostV5ReposOwnerIssuesParams) WithOwner(owner string) *PostV5ReposOwnerIssuesParams
WithOwner adds the owner to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithProgram ¶
func (o *PostV5ReposOwnerIssuesParams) WithProgram(program *string) *PostV5ReposOwnerIssuesParams
WithProgram adds the program to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithRepo ¶
func (o *PostV5ReposOwnerIssuesParams) WithRepo(repo *string) *PostV5ReposOwnerIssuesParams
WithRepo adds the repo to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithSecurityHole ¶
func (o *PostV5ReposOwnerIssuesParams) WithSecurityHole(securityHole *bool) *PostV5ReposOwnerIssuesParams
WithSecurityHole adds the securityHole to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithTimeout ¶
func (o *PostV5ReposOwnerIssuesParams) WithTimeout(timeout time.Duration) *PostV5ReposOwnerIssuesParams
WithTimeout adds the timeout to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WithTitle ¶
func (o *PostV5ReposOwnerIssuesParams) WithTitle(title string) *PostV5ReposOwnerIssuesParams
WithTitle adds the title to the post v5 repos owner issues params.
func (*PostV5ReposOwnerIssuesParams) WriteToRequest ¶
func (o *PostV5ReposOwnerIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostV5ReposOwnerIssuesReader ¶
type PostV5ReposOwnerIssuesReader struct {
// contains filtered or unexported fields
}
PostV5ReposOwnerIssuesReader is a Reader for the PostV5ReposOwnerIssues structure.
func (*PostV5ReposOwnerIssuesReader) ReadResponse ¶
func (o *PostV5ReposOwnerIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostV5ReposOwnerRepoIssuesNumberCommentsCreated ¶
PostV5ReposOwnerRepoIssuesNumberCommentsCreated describes a response with status code 201, with default header values.
返回格式
func NewPostV5ReposOwnerRepoIssuesNumberCommentsCreated ¶
func NewPostV5ReposOwnerRepoIssuesNumberCommentsCreated() *PostV5ReposOwnerRepoIssuesNumberCommentsCreated
NewPostV5ReposOwnerRepoIssuesNumberCommentsCreated creates a PostV5ReposOwnerRepoIssuesNumberCommentsCreated with default headers values
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) Code ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) Code() int
Code gets the status code for the post v5 repos owner repo issues number comments created response
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) Error ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) Error() string
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) GetPayload ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) GetPayload() *models.Note
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsClientError ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsClientError() bool
IsClientError returns true when this post v5 repos owner repo issues number comments created response has a 4xx status code
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsCode ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsCode(code int) bool
IsCode returns true when this post v5 repos owner repo issues number comments created response a status code equal to that given
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsRedirect ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsRedirect() bool
IsRedirect returns true when this post v5 repos owner repo issues number comments created response has a 3xx status code
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsServerError ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsServerError() bool
IsServerError returns true when this post v5 repos owner repo issues number comments created response has a 5xx status code
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsSuccess ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsSuccess() bool
IsSuccess returns true when this post v5 repos owner repo issues number comments created response has a 2xx status code
func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) String ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsCreated) String() string
type PostV5ReposOwnerRepoIssuesNumberCommentsParams ¶
type PostV5ReposOwnerRepoIssuesNumberCommentsParams struct {
/* AccessToken.
用户授权码
*/
AccessToken *string
/* Body.
The contents of the comment.
*/
Body string
/* Number.
Issue 编号(区分大小写,无需添加 # 号)
*/
Number string
/* Owner.
仓库所属空间地址(企业、组织或个人的地址path)
*/
Owner string
/* Repo.
仓库路径(path)
*/
Repo string
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV5ReposOwnerRepoIssuesNumberCommentsParams contains all the parameters to send to the API endpoint
for the post v5 repos owner repo issues number comments operation. Typically these are written to a http.Request.
func NewPostV5ReposOwnerRepoIssuesNumberCommentsParams ¶
func NewPostV5ReposOwnerRepoIssuesNumberCommentsParams() *PostV5ReposOwnerRepoIssuesNumberCommentsParams
NewPostV5ReposOwnerRepoIssuesNumberCommentsParams creates a new PostV5ReposOwnerRepoIssuesNumberCommentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext
deprecated
func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext(ctx context.Context) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext creates a new PostV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerRepoIssuesNumberCommentsParams.
func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient ¶
func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient creates a new PostV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a custom HTTPClient for a request.
func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout ¶
func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout creates a new PostV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a timeout on a request.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetBody ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetBody(body string)
SetBody adds the body to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetContext
deprecated
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v5 repos owner repo issues number comments params.
Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerRepoIssuesNumberCommentsParams.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetDefaults ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetDefaults()
SetDefaults hydrates default values in the post v5 repos owner repo issues number comments params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetNumber ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetNumber(number string)
SetNumber adds the number to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetOwner ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetOwner(owner string)
SetOwner adds the owner to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetRepo ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetRepo(repo string)
SetRepo adds the repo to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetTimeout ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithAccessToken ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithAccessToken(accessToken *string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithAccessToken adds the accessToken to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithBody ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithBody(body string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithBody adds the body to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithContext
deprecated
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithContext(ctx context.Context) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithContext adds the context to the post v5 repos owner repo issues number comments params.
Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerRepoIssuesNumberCommentsParams.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithDefaults ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithDefaults() *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithDefaults hydrates default values in the post v5 repos owner repo issues number comments params (not the query body).
All values with no default are reset to their zero value.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithHTTPClient ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithHTTPClient(client *http.Client) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithHTTPClient adds the HTTPClient to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithNumber ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithNumber(number string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithNumber adds the number to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithOwner ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithOwner(owner string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithOwner adds the owner to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithRepo ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithRepo(repo string) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithRepo adds the repo to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithTimeout ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithTimeout(timeout time.Duration) *PostV5ReposOwnerRepoIssuesNumberCommentsParams
WithTimeout adds the timeout to the post v5 repos owner repo issues number comments params.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WriteToRequest ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PostV5ReposOwnerRepoIssuesNumberCommentsReader ¶
type PostV5ReposOwnerRepoIssuesNumberCommentsReader struct {
// contains filtered or unexported fields
}
PostV5ReposOwnerRepoIssuesNumberCommentsReader is a Reader for the PostV5ReposOwnerRepoIssuesNumberComments structure.
func (*PostV5ReposOwnerRepoIssuesNumberCommentsReader) ReadResponse ¶
func (o *PostV5ReposOwnerRepoIssuesNumberCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_v5_repos_owner_repo_issues_comments_id_parameters.go
- delete_v5_repos_owner_repo_issues_comments_id_responses.go
- get_v5_enterprises_enterprise_issues_number_comments_parameters.go
- get_v5_enterprises_enterprise_issues_number_comments_responses.go
- get_v5_enterprises_enterprise_issues_number_labels_parameters.go
- get_v5_enterprises_enterprise_issues_number_labels_responses.go
- get_v5_enterprises_enterprise_issues_number_parameters.go
- get_v5_enterprises_enterprise_issues_number_pull_requests_parameters.go
- get_v5_enterprises_enterprise_issues_number_pull_requests_responses.go
- get_v5_enterprises_enterprise_issues_number_responses.go
- get_v5_enterprises_enterprise_issues_parameters.go
- get_v5_enterprises_enterprise_issues_responses.go
- get_v5_issues_parameters.go
- get_v5_issues_responses.go
- get_v5_orgs_org_issues_parameters.go
- get_v5_orgs_org_issues_responses.go
- get_v5_repos_owner_issues_number_operate_logs_parameters.go
- get_v5_repos_owner_issues_number_operate_logs_responses.go
- get_v5_repos_owner_issues_number_pull_requests_parameters.go
- get_v5_repos_owner_issues_number_pull_requests_responses.go
- get_v5_repos_owner_repo_issues_comments_id_parameters.go
- get_v5_repos_owner_repo_issues_comments_id_responses.go
- get_v5_repos_owner_repo_issues_comments_parameters.go
- get_v5_repos_owner_repo_issues_comments_responses.go
- get_v5_repos_owner_repo_issues_number_comments_parameters.go
- get_v5_repos_owner_repo_issues_number_comments_responses.go
- get_v5_repos_owner_repo_issues_number_parameters.go
- get_v5_repos_owner_repo_issues_number_responses.go
- get_v5_repos_owner_repo_issues_parameters.go
- get_v5_repos_owner_repo_issues_responses.go
- get_v5_user_issues_parameters.go
- get_v5_user_issues_responses.go
- issues_client.go
- patch_v5_enterprises_enterprise_issues_number_parameters.go
- patch_v5_enterprises_enterprise_issues_number_responses.go
- patch_v5_repos_owner_issues_number_parameters.go
- patch_v5_repos_owner_issues_number_responses.go
- patch_v5_repos_owner_repo_issues_comments_id_parameters.go
- patch_v5_repos_owner_repo_issues_comments_id_responses.go
- post_v5_repos_owner_issues_parameters.go
- post_v5_repos_owner_issues_responses.go
- post_v5_repos_owner_repo_issues_number_comments_parameters.go
- post_v5_repos_owner_repo_issues_number_comments_responses.go