Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptTextHTML(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
- func WithContentTypeTextPlain(r *runtime.ClientOperation)
- type Client
- func (a *Client) IssueAddLabel(params *IssueAddLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueAddLabelOK, error)
- func (a *Client) IssueAddSubscription(params *IssueAddSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueAddSubscriptionOK, *IssueAddSubscriptionCreated, error)
- func (a *Client) IssueAddTime(params *IssueAddTimeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueAddTimeOK, error)
- func (a *Client) IssueCheckSubscription(params *IssueCheckSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueCheckSubscriptionOK, error)
- func (a *Client) IssueClearLabels(params *IssueClearLabelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueClearLabelsNoContent, error)
- func (a *Client) IssueCreateComment(params *IssueCreateCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueCreateCommentCreated, error)
- func (a *Client) IssueCreateIssue(params *IssueCreateIssueParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueCreateIssueCreated, error)
- func (a *Client) IssueCreateIssueAttachment(params *IssueCreateIssueAttachmentParams, ...) (*IssueCreateIssueAttachmentCreated, error)
- func (a *Client) IssueCreateIssueBlocking(params *IssueCreateIssueBlockingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueCreateIssueBlockingCreated, error)
- func (a *Client) IssueCreateIssueCommentAttachment(params *IssueCreateIssueCommentAttachmentParams, ...) (*IssueCreateIssueCommentAttachmentCreated, error)
- func (a *Client) IssueCreateIssueDependencies(params *IssueCreateIssueDependenciesParams, ...) (*IssueCreateIssueDependenciesCreated, error)
- func (a *Client) IssueCreateLabel(params *IssueCreateLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueCreateLabelCreated, error)
- func (a *Client) IssueCreateMilestone(params *IssueCreateMilestoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueCreateMilestoneCreated, error)
- func (a *Client) IssueDelete(params *IssueDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueDeleteNoContent, error)
- func (a *Client) IssueDeleteComment(params *IssueDeleteCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueDeleteCommentNoContent, error)
- func (a *Client) IssueDeleteCommentDeprecated(params *IssueDeleteCommentDeprecatedParams, ...) (*IssueDeleteCommentDeprecatedNoContent, error)
- func (a *Client) IssueDeleteCommentReaction(params *IssueDeleteCommentReactionParams, ...) (*IssueDeleteCommentReactionOK, error)
- func (a *Client) IssueDeleteIssueAttachment(params *IssueDeleteIssueAttachmentParams, ...) (*IssueDeleteIssueAttachmentNoContent, error)
- func (a *Client) IssueDeleteIssueCommentAttachment(params *IssueDeleteIssueCommentAttachmentParams, ...) (*IssueDeleteIssueCommentAttachmentNoContent, error)
- func (a *Client) IssueDeleteIssueReaction(params *IssueDeleteIssueReactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueDeleteIssueReactionOK, error)
- func (a *Client) IssueDeleteLabel(params *IssueDeleteLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueDeleteLabelNoContent, error)
- func (a *Client) IssueDeleteMilestone(params *IssueDeleteMilestoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueDeleteMilestoneNoContent, error)
- func (a *Client) IssueDeleteStopWatch(params *IssueDeleteStopWatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueDeleteStopWatchNoContent, error)
- func (a *Client) IssueDeleteSubscription(params *IssueDeleteSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueDeleteSubscriptionOK, *IssueDeleteSubscriptionCreated, error)
- func (a *Client) IssueDeleteTime(params *IssueDeleteTimeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueDeleteTimeNoContent, error)
- func (a *Client) IssueEditComment(params *IssueEditCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueEditCommentOK, *IssueEditCommentNoContent, error)
- func (a *Client) IssueEditCommentDeprecated(params *IssueEditCommentDeprecatedParams, ...) (*IssueEditCommentDeprecatedOK, *IssueEditCommentDeprecatedNoContent, error)
- func (a *Client) IssueEditIssue(params *IssueEditIssueParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueEditIssueCreated, error)
- func (a *Client) IssueEditIssueAttachment(params *IssueEditIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueEditIssueAttachmentCreated, error)
- func (a *Client) IssueEditIssueCommentAttachment(params *IssueEditIssueCommentAttachmentParams, ...) (*IssueEditIssueCommentAttachmentCreated, error)
- func (a *Client) IssueEditIssueDeadline(params *IssueEditIssueDeadlineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueEditIssueDeadlineCreated, error)
- func (a *Client) IssueEditLabel(params *IssueEditLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueEditLabelOK, error)
- func (a *Client) IssueEditMilestone(params *IssueEditMilestoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueEditMilestoneOK, error)
- func (a *Client) IssueGetComment(params *IssueGetCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetCommentOK, *IssueGetCommentNoContent, error)
- func (a *Client) IssueGetCommentReactions(params *IssueGetCommentReactionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetCommentReactionsOK, error)
- func (a *Client) IssueGetComments(params *IssueGetCommentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetCommentsOK, error)
- func (a *Client) IssueGetCommentsAndTimeline(params *IssueGetCommentsAndTimelineParams, ...) (*IssueGetCommentsAndTimelineOK, error)
- func (a *Client) IssueGetIssue(params *IssueGetIssueParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetIssueOK, error)
- func (a *Client) IssueGetIssueAttachment(params *IssueGetIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetIssueAttachmentOK, error)
- func (a *Client) IssueGetIssueCommentAttachment(params *IssueGetIssueCommentAttachmentParams, ...) (*IssueGetIssueCommentAttachmentOK, error)
- func (a *Client) IssueGetIssueReactions(params *IssueGetIssueReactionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetIssueReactionsOK, error)
- func (a *Client) IssueGetLabel(params *IssueGetLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetLabelOK, error)
- func (a *Client) IssueGetLabels(params *IssueGetLabelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetLabelsOK, error)
- func (a *Client) IssueGetMilestone(params *IssueGetMilestoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetMilestoneOK, error)
- func (a *Client) IssueGetMilestonesList(params *IssueGetMilestonesListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetMilestonesListOK, error)
- func (a *Client) IssueGetRepoComments(params *IssueGetRepoCommentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueGetRepoCommentsOK, error)
- func (a *Client) IssueListBlocks(params *IssueListBlocksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueListBlocksOK, error)
- func (a *Client) IssueListIssueAttachments(params *IssueListIssueAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueListIssueAttachmentsOK, error)
- func (a *Client) IssueListIssueCommentAttachments(params *IssueListIssueCommentAttachmentsParams, ...) (*IssueListIssueCommentAttachmentsOK, error)
- func (a *Client) IssueListIssueDependencies(params *IssueListIssueDependenciesParams, ...) (*IssueListIssueDependenciesOK, error)
- func (a *Client) IssueListIssues(params *IssueListIssuesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueListIssuesOK, error)
- func (a *Client) IssueListLabels(params *IssueListLabelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueListLabelsOK, error)
- func (a *Client) IssuePostCommentReaction(params *IssuePostCommentReactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssuePostCommentReactionOK, *IssuePostCommentReactionCreated, error)
- func (a *Client) IssuePostIssueReaction(params *IssuePostIssueReactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssuePostIssueReactionOK, *IssuePostIssueReactionCreated, error)
- func (a *Client) IssueRemoveIssueBlocking(params *IssueRemoveIssueBlockingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueRemoveIssueBlockingOK, error)
- func (a *Client) IssueRemoveIssueDependencies(params *IssueRemoveIssueDependenciesParams, ...) (*IssueRemoveIssueDependenciesOK, error)
- func (a *Client) IssueRemoveLabel(params *IssueRemoveLabelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueRemoveLabelNoContent, error)
- func (a *Client) IssueReplaceLabels(params *IssueReplaceLabelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueReplaceLabelsOK, error)
- func (a *Client) IssueResetTime(params *IssueResetTimeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueResetTimeNoContent, error)
- func (a *Client) IssueSearchIssues(params *IssueSearchIssuesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueSearchIssuesOK, error)
- func (a *Client) IssueStartStopWatch(params *IssueStartStopWatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueStartStopWatchCreated, error)
- func (a *Client) IssueStopStopWatch(params *IssueStopStopWatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueStopStopWatchCreated, error)
- func (a *Client) IssueSubscriptions(params *IssueSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueSubscriptionsOK, error)
- func (a *Client) IssueTrackedTimes(params *IssueTrackedTimesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IssueTrackedTimesOK, error)
- func (a *Client) MoveIssuePin(params *MoveIssuePinParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MoveIssuePinNoContent, error)
- func (a *Client) PinIssue(params *PinIssueParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PinIssueNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnpinIssue(params *UnpinIssueParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnpinIssueNoContent, error)
- type ClientOption
- type ClientService
- type IssueAddLabelForbidden
- func (o *IssueAddLabelForbidden) Code() int
- func (o *IssueAddLabelForbidden) Error() string
- func (o *IssueAddLabelForbidden) IsClientError() bool
- func (o *IssueAddLabelForbidden) IsCode(code int) bool
- func (o *IssueAddLabelForbidden) IsRedirect() bool
- func (o *IssueAddLabelForbidden) IsServerError() bool
- func (o *IssueAddLabelForbidden) IsSuccess() bool
- func (o *IssueAddLabelForbidden) String() string
- type IssueAddLabelNotFound
- func (o *IssueAddLabelNotFound) Code() int
- func (o *IssueAddLabelNotFound) Error() string
- func (o *IssueAddLabelNotFound) IsClientError() bool
- func (o *IssueAddLabelNotFound) IsCode(code int) bool
- func (o *IssueAddLabelNotFound) IsRedirect() bool
- func (o *IssueAddLabelNotFound) IsServerError() bool
- func (o *IssueAddLabelNotFound) IsSuccess() bool
- func (o *IssueAddLabelNotFound) String() string
- type IssueAddLabelOK
- func (o *IssueAddLabelOK) Code() int
- func (o *IssueAddLabelOK) Error() string
- func (o *IssueAddLabelOK) GetPayload() []*models.Label
- func (o *IssueAddLabelOK) IsClientError() bool
- func (o *IssueAddLabelOK) IsCode(code int) bool
- func (o *IssueAddLabelOK) IsRedirect() bool
- func (o *IssueAddLabelOK) IsServerError() bool
- func (o *IssueAddLabelOK) IsSuccess() bool
- func (o *IssueAddLabelOK) String() string
- type IssueAddLabelParams
- func (o *IssueAddLabelParams) SetBody(body *models.IssueLabelsOption)
- func (o *IssueAddLabelParams) SetContext(ctx context.Context)
- func (o *IssueAddLabelParams) SetDefaults()
- func (o *IssueAddLabelParams) SetHTTPClient(client *http.Client)
- func (o *IssueAddLabelParams) SetIndex(index int64)
- func (o *IssueAddLabelParams) SetOwner(owner string)
- func (o *IssueAddLabelParams) SetRepo(repo string)
- func (o *IssueAddLabelParams) SetTimeout(timeout time.Duration)
- func (o *IssueAddLabelParams) WithBody(body *models.IssueLabelsOption) *IssueAddLabelParams
- func (o *IssueAddLabelParams) WithContext(ctx context.Context) *IssueAddLabelParams
- func (o *IssueAddLabelParams) WithDefaults() *IssueAddLabelParams
- func (o *IssueAddLabelParams) WithHTTPClient(client *http.Client) *IssueAddLabelParams
- func (o *IssueAddLabelParams) WithIndex(index int64) *IssueAddLabelParams
- func (o *IssueAddLabelParams) WithOwner(owner string) *IssueAddLabelParams
- func (o *IssueAddLabelParams) WithRepo(repo string) *IssueAddLabelParams
- func (o *IssueAddLabelParams) WithTimeout(timeout time.Duration) *IssueAddLabelParams
- func (o *IssueAddLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueAddLabelReader
- type IssueAddSubscriptionCreated
- func (o *IssueAddSubscriptionCreated) Code() int
- func (o *IssueAddSubscriptionCreated) Error() string
- func (o *IssueAddSubscriptionCreated) IsClientError() bool
- func (o *IssueAddSubscriptionCreated) IsCode(code int) bool
- func (o *IssueAddSubscriptionCreated) IsRedirect() bool
- func (o *IssueAddSubscriptionCreated) IsServerError() bool
- func (o *IssueAddSubscriptionCreated) IsSuccess() bool
- func (o *IssueAddSubscriptionCreated) String() string
- type IssueAddSubscriptionNotFound
- func (o *IssueAddSubscriptionNotFound) Code() int
- func (o *IssueAddSubscriptionNotFound) Error() string
- func (o *IssueAddSubscriptionNotFound) IsClientError() bool
- func (o *IssueAddSubscriptionNotFound) IsCode(code int) bool
- func (o *IssueAddSubscriptionNotFound) IsRedirect() bool
- func (o *IssueAddSubscriptionNotFound) IsServerError() bool
- func (o *IssueAddSubscriptionNotFound) IsSuccess() bool
- func (o *IssueAddSubscriptionNotFound) String() string
- type IssueAddSubscriptionNotModified
- func (o *IssueAddSubscriptionNotModified) Code() int
- func (o *IssueAddSubscriptionNotModified) Error() string
- func (o *IssueAddSubscriptionNotModified) IsClientError() bool
- func (o *IssueAddSubscriptionNotModified) IsCode(code int) bool
- func (o *IssueAddSubscriptionNotModified) IsRedirect() bool
- func (o *IssueAddSubscriptionNotModified) IsServerError() bool
- func (o *IssueAddSubscriptionNotModified) IsSuccess() bool
- func (o *IssueAddSubscriptionNotModified) String() string
- type IssueAddSubscriptionOK
- func (o *IssueAddSubscriptionOK) Code() int
- func (o *IssueAddSubscriptionOK) Error() string
- func (o *IssueAddSubscriptionOK) IsClientError() bool
- func (o *IssueAddSubscriptionOK) IsCode(code int) bool
- func (o *IssueAddSubscriptionOK) IsRedirect() bool
- func (o *IssueAddSubscriptionOK) IsServerError() bool
- func (o *IssueAddSubscriptionOK) IsSuccess() bool
- func (o *IssueAddSubscriptionOK) String() string
- type IssueAddSubscriptionParams
- func NewIssueAddSubscriptionParams() *IssueAddSubscriptionParams
- func NewIssueAddSubscriptionParamsWithContext(ctx context.Context) *IssueAddSubscriptionParams
- func NewIssueAddSubscriptionParamsWithHTTPClient(client *http.Client) *IssueAddSubscriptionParams
- func NewIssueAddSubscriptionParamsWithTimeout(timeout time.Duration) *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) SetContext(ctx context.Context)
- func (o *IssueAddSubscriptionParams) SetDefaults()
- func (o *IssueAddSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *IssueAddSubscriptionParams) SetIndex(index int64)
- func (o *IssueAddSubscriptionParams) SetOwner(owner string)
- func (o *IssueAddSubscriptionParams) SetRepo(repo string)
- func (o *IssueAddSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *IssueAddSubscriptionParams) SetUser(user string)
- func (o *IssueAddSubscriptionParams) WithContext(ctx context.Context) *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) WithDefaults() *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) WithHTTPClient(client *http.Client) *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) WithIndex(index int64) *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) WithOwner(owner string) *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) WithRepo(repo string) *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) WithTimeout(timeout time.Duration) *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) WithUser(user string) *IssueAddSubscriptionParams
- func (o *IssueAddSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueAddSubscriptionReader
- type IssueAddTimeBadRequest
- func (o *IssueAddTimeBadRequest) Code() int
- func (o *IssueAddTimeBadRequest) Error() string
- func (o *IssueAddTimeBadRequest) IsClientError() bool
- func (o *IssueAddTimeBadRequest) IsCode(code int) bool
- func (o *IssueAddTimeBadRequest) IsRedirect() bool
- func (o *IssueAddTimeBadRequest) IsServerError() bool
- func (o *IssueAddTimeBadRequest) IsSuccess() bool
- func (o *IssueAddTimeBadRequest) String() string
- type IssueAddTimeForbidden
- func (o *IssueAddTimeForbidden) Code() int
- func (o *IssueAddTimeForbidden) Error() string
- func (o *IssueAddTimeForbidden) IsClientError() bool
- func (o *IssueAddTimeForbidden) IsCode(code int) bool
- func (o *IssueAddTimeForbidden) IsRedirect() bool
- func (o *IssueAddTimeForbidden) IsServerError() bool
- func (o *IssueAddTimeForbidden) IsSuccess() bool
- func (o *IssueAddTimeForbidden) String() string
- type IssueAddTimeNotFound
- func (o *IssueAddTimeNotFound) Code() int
- func (o *IssueAddTimeNotFound) Error() string
- func (o *IssueAddTimeNotFound) IsClientError() bool
- func (o *IssueAddTimeNotFound) IsCode(code int) bool
- func (o *IssueAddTimeNotFound) IsRedirect() bool
- func (o *IssueAddTimeNotFound) IsServerError() bool
- func (o *IssueAddTimeNotFound) IsSuccess() bool
- func (o *IssueAddTimeNotFound) String() string
- type IssueAddTimeOK
- func (o *IssueAddTimeOK) Code() int
- func (o *IssueAddTimeOK) Error() string
- func (o *IssueAddTimeOK) GetPayload() *models.TrackedTime
- func (o *IssueAddTimeOK) IsClientError() bool
- func (o *IssueAddTimeOK) IsCode(code int) bool
- func (o *IssueAddTimeOK) IsRedirect() bool
- func (o *IssueAddTimeOK) IsServerError() bool
- func (o *IssueAddTimeOK) IsSuccess() bool
- func (o *IssueAddTimeOK) String() string
- type IssueAddTimeParams
- func (o *IssueAddTimeParams) SetBody(body *models.AddTimeOption)
- func (o *IssueAddTimeParams) SetContext(ctx context.Context)
- func (o *IssueAddTimeParams) SetDefaults()
- func (o *IssueAddTimeParams) SetHTTPClient(client *http.Client)
- func (o *IssueAddTimeParams) SetIndex(index int64)
- func (o *IssueAddTimeParams) SetOwner(owner string)
- func (o *IssueAddTimeParams) SetRepo(repo string)
- func (o *IssueAddTimeParams) SetTimeout(timeout time.Duration)
- func (o *IssueAddTimeParams) WithBody(body *models.AddTimeOption) *IssueAddTimeParams
- func (o *IssueAddTimeParams) WithContext(ctx context.Context) *IssueAddTimeParams
- func (o *IssueAddTimeParams) WithDefaults() *IssueAddTimeParams
- func (o *IssueAddTimeParams) WithHTTPClient(client *http.Client) *IssueAddTimeParams
- func (o *IssueAddTimeParams) WithIndex(index int64) *IssueAddTimeParams
- func (o *IssueAddTimeParams) WithOwner(owner string) *IssueAddTimeParams
- func (o *IssueAddTimeParams) WithRepo(repo string) *IssueAddTimeParams
- func (o *IssueAddTimeParams) WithTimeout(timeout time.Duration) *IssueAddTimeParams
- func (o *IssueAddTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueAddTimeReader
- type IssueCheckSubscriptionNotFound
- func (o *IssueCheckSubscriptionNotFound) Code() int
- func (o *IssueCheckSubscriptionNotFound) Error() string
- func (o *IssueCheckSubscriptionNotFound) IsClientError() bool
- func (o *IssueCheckSubscriptionNotFound) IsCode(code int) bool
- func (o *IssueCheckSubscriptionNotFound) IsRedirect() bool
- func (o *IssueCheckSubscriptionNotFound) IsServerError() bool
- func (o *IssueCheckSubscriptionNotFound) IsSuccess() bool
- func (o *IssueCheckSubscriptionNotFound) String() string
- type IssueCheckSubscriptionOK
- func (o *IssueCheckSubscriptionOK) Code() int
- func (o *IssueCheckSubscriptionOK) Error() string
- func (o *IssueCheckSubscriptionOK) GetPayload() *models.WatchInfo
- func (o *IssueCheckSubscriptionOK) IsClientError() bool
- func (o *IssueCheckSubscriptionOK) IsCode(code int) bool
- func (o *IssueCheckSubscriptionOK) IsRedirect() bool
- func (o *IssueCheckSubscriptionOK) IsServerError() bool
- func (o *IssueCheckSubscriptionOK) IsSuccess() bool
- func (o *IssueCheckSubscriptionOK) String() string
- type IssueCheckSubscriptionParams
- func NewIssueCheckSubscriptionParams() *IssueCheckSubscriptionParams
- func NewIssueCheckSubscriptionParamsWithContext(ctx context.Context) *IssueCheckSubscriptionParams
- func NewIssueCheckSubscriptionParamsWithHTTPClient(client *http.Client) *IssueCheckSubscriptionParams
- func NewIssueCheckSubscriptionParamsWithTimeout(timeout time.Duration) *IssueCheckSubscriptionParams
- func (o *IssueCheckSubscriptionParams) SetContext(ctx context.Context)
- func (o *IssueCheckSubscriptionParams) SetDefaults()
- func (o *IssueCheckSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *IssueCheckSubscriptionParams) SetIndex(index int64)
- func (o *IssueCheckSubscriptionParams) SetOwner(owner string)
- func (o *IssueCheckSubscriptionParams) SetRepo(repo string)
- func (o *IssueCheckSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *IssueCheckSubscriptionParams) WithContext(ctx context.Context) *IssueCheckSubscriptionParams
- func (o *IssueCheckSubscriptionParams) WithDefaults() *IssueCheckSubscriptionParams
- func (o *IssueCheckSubscriptionParams) WithHTTPClient(client *http.Client) *IssueCheckSubscriptionParams
- func (o *IssueCheckSubscriptionParams) WithIndex(index int64) *IssueCheckSubscriptionParams
- func (o *IssueCheckSubscriptionParams) WithOwner(owner string) *IssueCheckSubscriptionParams
- func (o *IssueCheckSubscriptionParams) WithRepo(repo string) *IssueCheckSubscriptionParams
- func (o *IssueCheckSubscriptionParams) WithTimeout(timeout time.Duration) *IssueCheckSubscriptionParams
- func (o *IssueCheckSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCheckSubscriptionReader
- type IssueClearLabelsForbidden
- func (o *IssueClearLabelsForbidden) Code() int
- func (o *IssueClearLabelsForbidden) Error() string
- func (o *IssueClearLabelsForbidden) IsClientError() bool
- func (o *IssueClearLabelsForbidden) IsCode(code int) bool
- func (o *IssueClearLabelsForbidden) IsRedirect() bool
- func (o *IssueClearLabelsForbidden) IsServerError() bool
- func (o *IssueClearLabelsForbidden) IsSuccess() bool
- func (o *IssueClearLabelsForbidden) String() string
- type IssueClearLabelsNoContent
- func (o *IssueClearLabelsNoContent) Code() int
- func (o *IssueClearLabelsNoContent) Error() string
- func (o *IssueClearLabelsNoContent) IsClientError() bool
- func (o *IssueClearLabelsNoContent) IsCode(code int) bool
- func (o *IssueClearLabelsNoContent) IsRedirect() bool
- func (o *IssueClearLabelsNoContent) IsServerError() bool
- func (o *IssueClearLabelsNoContent) IsSuccess() bool
- func (o *IssueClearLabelsNoContent) String() string
- type IssueClearLabelsNotFound
- func (o *IssueClearLabelsNotFound) Code() int
- func (o *IssueClearLabelsNotFound) Error() string
- func (o *IssueClearLabelsNotFound) IsClientError() bool
- func (o *IssueClearLabelsNotFound) IsCode(code int) bool
- func (o *IssueClearLabelsNotFound) IsRedirect() bool
- func (o *IssueClearLabelsNotFound) IsServerError() bool
- func (o *IssueClearLabelsNotFound) IsSuccess() bool
- func (o *IssueClearLabelsNotFound) String() string
- type IssueClearLabelsParams
- func NewIssueClearLabelsParams() *IssueClearLabelsParams
- func NewIssueClearLabelsParamsWithContext(ctx context.Context) *IssueClearLabelsParams
- func NewIssueClearLabelsParamsWithHTTPClient(client *http.Client) *IssueClearLabelsParams
- func NewIssueClearLabelsParamsWithTimeout(timeout time.Duration) *IssueClearLabelsParams
- func (o *IssueClearLabelsParams) SetContext(ctx context.Context)
- func (o *IssueClearLabelsParams) SetDefaults()
- func (o *IssueClearLabelsParams) SetHTTPClient(client *http.Client)
- func (o *IssueClearLabelsParams) SetIndex(index int64)
- func (o *IssueClearLabelsParams) SetOwner(owner string)
- func (o *IssueClearLabelsParams) SetRepo(repo string)
- func (o *IssueClearLabelsParams) SetTimeout(timeout time.Duration)
- func (o *IssueClearLabelsParams) WithContext(ctx context.Context) *IssueClearLabelsParams
- func (o *IssueClearLabelsParams) WithDefaults() *IssueClearLabelsParams
- func (o *IssueClearLabelsParams) WithHTTPClient(client *http.Client) *IssueClearLabelsParams
- func (o *IssueClearLabelsParams) WithIndex(index int64) *IssueClearLabelsParams
- func (o *IssueClearLabelsParams) WithOwner(owner string) *IssueClearLabelsParams
- func (o *IssueClearLabelsParams) WithRepo(repo string) *IssueClearLabelsParams
- func (o *IssueClearLabelsParams) WithTimeout(timeout time.Duration) *IssueClearLabelsParams
- func (o *IssueClearLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueClearLabelsReader
- type IssueCreateCommentCreated
- func (o *IssueCreateCommentCreated) Code() int
- func (o *IssueCreateCommentCreated) Error() string
- func (o *IssueCreateCommentCreated) GetPayload() *models.Comment
- func (o *IssueCreateCommentCreated) IsClientError() bool
- func (o *IssueCreateCommentCreated) IsCode(code int) bool
- func (o *IssueCreateCommentCreated) IsRedirect() bool
- func (o *IssueCreateCommentCreated) IsServerError() bool
- func (o *IssueCreateCommentCreated) IsSuccess() bool
- func (o *IssueCreateCommentCreated) String() string
- type IssueCreateCommentForbidden
- func (o *IssueCreateCommentForbidden) Code() int
- func (o *IssueCreateCommentForbidden) Error() string
- func (o *IssueCreateCommentForbidden) IsClientError() bool
- func (o *IssueCreateCommentForbidden) IsCode(code int) bool
- func (o *IssueCreateCommentForbidden) IsRedirect() bool
- func (o *IssueCreateCommentForbidden) IsServerError() bool
- func (o *IssueCreateCommentForbidden) IsSuccess() bool
- func (o *IssueCreateCommentForbidden) String() string
- type IssueCreateCommentLocked
- func (o *IssueCreateCommentLocked) Code() int
- func (o *IssueCreateCommentLocked) Error() string
- func (o *IssueCreateCommentLocked) IsClientError() bool
- func (o *IssueCreateCommentLocked) IsCode(code int) bool
- func (o *IssueCreateCommentLocked) IsRedirect() bool
- func (o *IssueCreateCommentLocked) IsServerError() bool
- func (o *IssueCreateCommentLocked) IsSuccess() bool
- func (o *IssueCreateCommentLocked) String() string
- type IssueCreateCommentNotFound
- func (o *IssueCreateCommentNotFound) Code() int
- func (o *IssueCreateCommentNotFound) Error() string
- func (o *IssueCreateCommentNotFound) IsClientError() bool
- func (o *IssueCreateCommentNotFound) IsCode(code int) bool
- func (o *IssueCreateCommentNotFound) IsRedirect() bool
- func (o *IssueCreateCommentNotFound) IsServerError() bool
- func (o *IssueCreateCommentNotFound) IsSuccess() bool
- func (o *IssueCreateCommentNotFound) String() string
- type IssueCreateCommentParams
- func NewIssueCreateCommentParams() *IssueCreateCommentParams
- func NewIssueCreateCommentParamsWithContext(ctx context.Context) *IssueCreateCommentParams
- func NewIssueCreateCommentParamsWithHTTPClient(client *http.Client) *IssueCreateCommentParams
- func NewIssueCreateCommentParamsWithTimeout(timeout time.Duration) *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) SetBody(body *models.CreateIssueCommentOption)
- func (o *IssueCreateCommentParams) SetContext(ctx context.Context)
- func (o *IssueCreateCommentParams) SetDefaults()
- func (o *IssueCreateCommentParams) SetHTTPClient(client *http.Client)
- func (o *IssueCreateCommentParams) SetIndex(index int64)
- func (o *IssueCreateCommentParams) SetOwner(owner string)
- func (o *IssueCreateCommentParams) SetRepo(repo string)
- func (o *IssueCreateCommentParams) SetTimeout(timeout time.Duration)
- func (o *IssueCreateCommentParams) WithBody(body *models.CreateIssueCommentOption) *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) WithContext(ctx context.Context) *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) WithDefaults() *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) WithHTTPClient(client *http.Client) *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) WithIndex(index int64) *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) WithOwner(owner string) *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) WithRepo(repo string) *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) WithTimeout(timeout time.Duration) *IssueCreateCommentParams
- func (o *IssueCreateCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCreateCommentReader
- type IssueCreateIssueAttachmentBadRequest
- func (o *IssueCreateIssueAttachmentBadRequest) Code() int
- func (o *IssueCreateIssueAttachmentBadRequest) Error() string
- func (o *IssueCreateIssueAttachmentBadRequest) IsClientError() bool
- func (o *IssueCreateIssueAttachmentBadRequest) IsCode(code int) bool
- func (o *IssueCreateIssueAttachmentBadRequest) IsRedirect() bool
- func (o *IssueCreateIssueAttachmentBadRequest) IsServerError() bool
- func (o *IssueCreateIssueAttachmentBadRequest) IsSuccess() bool
- func (o *IssueCreateIssueAttachmentBadRequest) String() string
- type IssueCreateIssueAttachmentCreated
- func (o *IssueCreateIssueAttachmentCreated) Code() int
- func (o *IssueCreateIssueAttachmentCreated) Error() string
- func (o *IssueCreateIssueAttachmentCreated) GetPayload() *models.Attachment
- func (o *IssueCreateIssueAttachmentCreated) IsClientError() bool
- func (o *IssueCreateIssueAttachmentCreated) IsCode(code int) bool
- func (o *IssueCreateIssueAttachmentCreated) IsRedirect() bool
- func (o *IssueCreateIssueAttachmentCreated) IsServerError() bool
- func (o *IssueCreateIssueAttachmentCreated) IsSuccess() bool
- func (o *IssueCreateIssueAttachmentCreated) String() string
- type IssueCreateIssueAttachmentLocked
- func (o *IssueCreateIssueAttachmentLocked) Code() int
- func (o *IssueCreateIssueAttachmentLocked) Error() string
- func (o *IssueCreateIssueAttachmentLocked) IsClientError() bool
- func (o *IssueCreateIssueAttachmentLocked) IsCode(code int) bool
- func (o *IssueCreateIssueAttachmentLocked) IsRedirect() bool
- func (o *IssueCreateIssueAttachmentLocked) IsServerError() bool
- func (o *IssueCreateIssueAttachmentLocked) IsSuccess() bool
- func (o *IssueCreateIssueAttachmentLocked) String() string
- type IssueCreateIssueAttachmentNotFound
- func (o *IssueCreateIssueAttachmentNotFound) Code() int
- func (o *IssueCreateIssueAttachmentNotFound) Error() string
- func (o *IssueCreateIssueAttachmentNotFound) IsClientError() bool
- func (o *IssueCreateIssueAttachmentNotFound) IsCode(code int) bool
- func (o *IssueCreateIssueAttachmentNotFound) IsRedirect() bool
- func (o *IssueCreateIssueAttachmentNotFound) IsServerError() bool
- func (o *IssueCreateIssueAttachmentNotFound) IsSuccess() bool
- func (o *IssueCreateIssueAttachmentNotFound) String() string
- type IssueCreateIssueAttachmentParams
- func NewIssueCreateIssueAttachmentParams() *IssueCreateIssueAttachmentParams
- func NewIssueCreateIssueAttachmentParamsWithContext(ctx context.Context) *IssueCreateIssueAttachmentParams
- func NewIssueCreateIssueAttachmentParamsWithHTTPClient(client *http.Client) *IssueCreateIssueAttachmentParams
- func NewIssueCreateIssueAttachmentParamsWithTimeout(timeout time.Duration) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) SetAttachment(attachment runtime.NamedReadCloser)
- func (o *IssueCreateIssueAttachmentParams) SetContext(ctx context.Context)
- func (o *IssueCreateIssueAttachmentParams) SetDefaults()
- func (o *IssueCreateIssueAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *IssueCreateIssueAttachmentParams) SetIndex(index int64)
- func (o *IssueCreateIssueAttachmentParams) SetName(name *string)
- func (o *IssueCreateIssueAttachmentParams) SetOwner(owner string)
- func (o *IssueCreateIssueAttachmentParams) SetRepo(repo string)
- func (o *IssueCreateIssueAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *IssueCreateIssueAttachmentParams) WithAttachment(attachment runtime.NamedReadCloser) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WithContext(ctx context.Context) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WithDefaults() *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WithHTTPClient(client *http.Client) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WithIndex(index int64) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WithName(name *string) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WithOwner(owner string) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WithRepo(repo string) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WithTimeout(timeout time.Duration) *IssueCreateIssueAttachmentParams
- func (o *IssueCreateIssueAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCreateIssueAttachmentReader
- type IssueCreateIssueAttachmentUnprocessableEntity
- func (o *IssueCreateIssueAttachmentUnprocessableEntity) Code() int
- func (o *IssueCreateIssueAttachmentUnprocessableEntity) Error() string
- func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsClientError() bool
- func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsCode(code int) bool
- func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsRedirect() bool
- func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsServerError() bool
- func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsSuccess() bool
- func (o *IssueCreateIssueAttachmentUnprocessableEntity) String() string
- type IssueCreateIssueBlockingCreated
- func (o *IssueCreateIssueBlockingCreated) Code() int
- func (o *IssueCreateIssueBlockingCreated) Error() string
- func (o *IssueCreateIssueBlockingCreated) GetPayload() *models.Issue
- func (o *IssueCreateIssueBlockingCreated) IsClientError() bool
- func (o *IssueCreateIssueBlockingCreated) IsCode(code int) bool
- func (o *IssueCreateIssueBlockingCreated) IsRedirect() bool
- func (o *IssueCreateIssueBlockingCreated) IsServerError() bool
- func (o *IssueCreateIssueBlockingCreated) IsSuccess() bool
- func (o *IssueCreateIssueBlockingCreated) String() string
- type IssueCreateIssueBlockingNotFound
- func (o *IssueCreateIssueBlockingNotFound) Code() int
- func (o *IssueCreateIssueBlockingNotFound) Error() string
- func (o *IssueCreateIssueBlockingNotFound) IsClientError() bool
- func (o *IssueCreateIssueBlockingNotFound) IsCode(code int) bool
- func (o *IssueCreateIssueBlockingNotFound) IsRedirect() bool
- func (o *IssueCreateIssueBlockingNotFound) IsServerError() bool
- func (o *IssueCreateIssueBlockingNotFound) IsSuccess() bool
- func (o *IssueCreateIssueBlockingNotFound) String() string
- type IssueCreateIssueBlockingParams
- func NewIssueCreateIssueBlockingParams() *IssueCreateIssueBlockingParams
- func NewIssueCreateIssueBlockingParamsWithContext(ctx context.Context) *IssueCreateIssueBlockingParams
- func NewIssueCreateIssueBlockingParamsWithHTTPClient(client *http.Client) *IssueCreateIssueBlockingParams
- func NewIssueCreateIssueBlockingParamsWithTimeout(timeout time.Duration) *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) SetBody(body *models.IssueMeta)
- func (o *IssueCreateIssueBlockingParams) SetContext(ctx context.Context)
- func (o *IssueCreateIssueBlockingParams) SetDefaults()
- func (o *IssueCreateIssueBlockingParams) SetHTTPClient(client *http.Client)
- func (o *IssueCreateIssueBlockingParams) SetIndex(index string)
- func (o *IssueCreateIssueBlockingParams) SetOwner(owner string)
- func (o *IssueCreateIssueBlockingParams) SetRepo(repo string)
- func (o *IssueCreateIssueBlockingParams) SetTimeout(timeout time.Duration)
- func (o *IssueCreateIssueBlockingParams) WithBody(body *models.IssueMeta) *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) WithContext(ctx context.Context) *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) WithDefaults() *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) WithHTTPClient(client *http.Client) *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) WithIndex(index string) *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) WithOwner(owner string) *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) WithRepo(repo string) *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) WithTimeout(timeout time.Duration) *IssueCreateIssueBlockingParams
- func (o *IssueCreateIssueBlockingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCreateIssueBlockingReader
- type IssueCreateIssueCommentAttachmentBadRequest
- func (o *IssueCreateIssueCommentAttachmentBadRequest) Code() int
- func (o *IssueCreateIssueCommentAttachmentBadRequest) Error() string
- func (o *IssueCreateIssueCommentAttachmentBadRequest) IsClientError() bool
- func (o *IssueCreateIssueCommentAttachmentBadRequest) IsCode(code int) bool
- func (o *IssueCreateIssueCommentAttachmentBadRequest) IsRedirect() bool
- func (o *IssueCreateIssueCommentAttachmentBadRequest) IsServerError() bool
- func (o *IssueCreateIssueCommentAttachmentBadRequest) IsSuccess() bool
- func (o *IssueCreateIssueCommentAttachmentBadRequest) String() string
- type IssueCreateIssueCommentAttachmentCreated
- func (o *IssueCreateIssueCommentAttachmentCreated) Code() int
- func (o *IssueCreateIssueCommentAttachmentCreated) Error() string
- func (o *IssueCreateIssueCommentAttachmentCreated) GetPayload() *models.Attachment
- func (o *IssueCreateIssueCommentAttachmentCreated) IsClientError() bool
- func (o *IssueCreateIssueCommentAttachmentCreated) IsCode(code int) bool
- func (o *IssueCreateIssueCommentAttachmentCreated) IsRedirect() bool
- func (o *IssueCreateIssueCommentAttachmentCreated) IsServerError() bool
- func (o *IssueCreateIssueCommentAttachmentCreated) IsSuccess() bool
- func (o *IssueCreateIssueCommentAttachmentCreated) String() string
- type IssueCreateIssueCommentAttachmentForbidden
- func (o *IssueCreateIssueCommentAttachmentForbidden) Code() int
- func (o *IssueCreateIssueCommentAttachmentForbidden) Error() string
- func (o *IssueCreateIssueCommentAttachmentForbidden) IsClientError() bool
- func (o *IssueCreateIssueCommentAttachmentForbidden) IsCode(code int) bool
- func (o *IssueCreateIssueCommentAttachmentForbidden) IsRedirect() bool
- func (o *IssueCreateIssueCommentAttachmentForbidden) IsServerError() bool
- func (o *IssueCreateIssueCommentAttachmentForbidden) IsSuccess() bool
- func (o *IssueCreateIssueCommentAttachmentForbidden) String() string
- type IssueCreateIssueCommentAttachmentLocked
- func (o *IssueCreateIssueCommentAttachmentLocked) Code() int
- func (o *IssueCreateIssueCommentAttachmentLocked) Error() string
- func (o *IssueCreateIssueCommentAttachmentLocked) IsClientError() bool
- func (o *IssueCreateIssueCommentAttachmentLocked) IsCode(code int) bool
- func (o *IssueCreateIssueCommentAttachmentLocked) IsRedirect() bool
- func (o *IssueCreateIssueCommentAttachmentLocked) IsServerError() bool
- func (o *IssueCreateIssueCommentAttachmentLocked) IsSuccess() bool
- func (o *IssueCreateIssueCommentAttachmentLocked) String() string
- type IssueCreateIssueCommentAttachmentNotFound
- func (o *IssueCreateIssueCommentAttachmentNotFound) Code() int
- func (o *IssueCreateIssueCommentAttachmentNotFound) Error() string
- func (o *IssueCreateIssueCommentAttachmentNotFound) IsClientError() bool
- func (o *IssueCreateIssueCommentAttachmentNotFound) IsCode(code int) bool
- func (o *IssueCreateIssueCommentAttachmentNotFound) IsRedirect() bool
- func (o *IssueCreateIssueCommentAttachmentNotFound) IsServerError() bool
- func (o *IssueCreateIssueCommentAttachmentNotFound) IsSuccess() bool
- func (o *IssueCreateIssueCommentAttachmentNotFound) String() string
- type IssueCreateIssueCommentAttachmentParams
- func NewIssueCreateIssueCommentAttachmentParams() *IssueCreateIssueCommentAttachmentParams
- func NewIssueCreateIssueCommentAttachmentParamsWithContext(ctx context.Context) *IssueCreateIssueCommentAttachmentParams
- func NewIssueCreateIssueCommentAttachmentParamsWithHTTPClient(client *http.Client) *IssueCreateIssueCommentAttachmentParams
- func NewIssueCreateIssueCommentAttachmentParamsWithTimeout(timeout time.Duration) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) SetAttachment(attachment runtime.NamedReadCloser)
- func (o *IssueCreateIssueCommentAttachmentParams) SetContext(ctx context.Context)
- func (o *IssueCreateIssueCommentAttachmentParams) SetDefaults()
- func (o *IssueCreateIssueCommentAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *IssueCreateIssueCommentAttachmentParams) SetID(id int64)
- func (o *IssueCreateIssueCommentAttachmentParams) SetName(name *string)
- func (o *IssueCreateIssueCommentAttachmentParams) SetOwner(owner string)
- func (o *IssueCreateIssueCommentAttachmentParams) SetRepo(repo string)
- func (o *IssueCreateIssueCommentAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *IssueCreateIssueCommentAttachmentParams) WithAttachment(attachment runtime.NamedReadCloser) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WithContext(ctx context.Context) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WithDefaults() *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WithHTTPClient(client *http.Client) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WithID(id int64) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WithName(name *string) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WithOwner(owner string) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WithRepo(repo string) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WithTimeout(timeout time.Duration) *IssueCreateIssueCommentAttachmentParams
- func (o *IssueCreateIssueCommentAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCreateIssueCommentAttachmentReader
- type IssueCreateIssueCommentAttachmentUnprocessableEntity
- func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) Code() int
- func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) Error() string
- func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsClientError() bool
- func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsCode(code int) bool
- func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsRedirect() bool
- func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsServerError() bool
- func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsSuccess() bool
- func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) String() string
- type IssueCreateIssueCreated
- func (o *IssueCreateIssueCreated) Code() int
- func (o *IssueCreateIssueCreated) Error() string
- func (o *IssueCreateIssueCreated) GetPayload() *models.Issue
- func (o *IssueCreateIssueCreated) IsClientError() bool
- func (o *IssueCreateIssueCreated) IsCode(code int) bool
- func (o *IssueCreateIssueCreated) IsRedirect() bool
- func (o *IssueCreateIssueCreated) IsServerError() bool
- func (o *IssueCreateIssueCreated) IsSuccess() bool
- func (o *IssueCreateIssueCreated) String() string
- type IssueCreateIssueDependenciesCreated
- func (o *IssueCreateIssueDependenciesCreated) Code() int
- func (o *IssueCreateIssueDependenciesCreated) Error() string
- func (o *IssueCreateIssueDependenciesCreated) GetPayload() *models.Issue
- func (o *IssueCreateIssueDependenciesCreated) IsClientError() bool
- func (o *IssueCreateIssueDependenciesCreated) IsCode(code int) bool
- func (o *IssueCreateIssueDependenciesCreated) IsRedirect() bool
- func (o *IssueCreateIssueDependenciesCreated) IsServerError() bool
- func (o *IssueCreateIssueDependenciesCreated) IsSuccess() bool
- func (o *IssueCreateIssueDependenciesCreated) String() string
- type IssueCreateIssueDependenciesLocked
- func (o *IssueCreateIssueDependenciesLocked) Code() int
- func (o *IssueCreateIssueDependenciesLocked) Error() string
- func (o *IssueCreateIssueDependenciesLocked) IsClientError() bool
- func (o *IssueCreateIssueDependenciesLocked) IsCode(code int) bool
- func (o *IssueCreateIssueDependenciesLocked) IsRedirect() bool
- func (o *IssueCreateIssueDependenciesLocked) IsServerError() bool
- func (o *IssueCreateIssueDependenciesLocked) IsSuccess() bool
- func (o *IssueCreateIssueDependenciesLocked) String() string
- type IssueCreateIssueDependenciesNotFound
- func (o *IssueCreateIssueDependenciesNotFound) Code() int
- func (o *IssueCreateIssueDependenciesNotFound) Error() string
- func (o *IssueCreateIssueDependenciesNotFound) IsClientError() bool
- func (o *IssueCreateIssueDependenciesNotFound) IsCode(code int) bool
- func (o *IssueCreateIssueDependenciesNotFound) IsRedirect() bool
- func (o *IssueCreateIssueDependenciesNotFound) IsServerError() bool
- func (o *IssueCreateIssueDependenciesNotFound) IsSuccess() bool
- func (o *IssueCreateIssueDependenciesNotFound) String() string
- type IssueCreateIssueDependenciesParams
- func NewIssueCreateIssueDependenciesParams() *IssueCreateIssueDependenciesParams
- func NewIssueCreateIssueDependenciesParamsWithContext(ctx context.Context) *IssueCreateIssueDependenciesParams
- func NewIssueCreateIssueDependenciesParamsWithHTTPClient(client *http.Client) *IssueCreateIssueDependenciesParams
- func NewIssueCreateIssueDependenciesParamsWithTimeout(timeout time.Duration) *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) SetBody(body *models.IssueMeta)
- func (o *IssueCreateIssueDependenciesParams) SetContext(ctx context.Context)
- func (o *IssueCreateIssueDependenciesParams) SetDefaults()
- func (o *IssueCreateIssueDependenciesParams) SetHTTPClient(client *http.Client)
- func (o *IssueCreateIssueDependenciesParams) SetIndex(index string)
- func (o *IssueCreateIssueDependenciesParams) SetOwner(owner string)
- func (o *IssueCreateIssueDependenciesParams) SetRepo(repo string)
- func (o *IssueCreateIssueDependenciesParams) SetTimeout(timeout time.Duration)
- func (o *IssueCreateIssueDependenciesParams) WithBody(body *models.IssueMeta) *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) WithContext(ctx context.Context) *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) WithDefaults() *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) WithHTTPClient(client *http.Client) *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) WithIndex(index string) *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) WithOwner(owner string) *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) WithRepo(repo string) *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) WithTimeout(timeout time.Duration) *IssueCreateIssueDependenciesParams
- func (o *IssueCreateIssueDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCreateIssueDependenciesReader
- type IssueCreateIssueForbidden
- func (o *IssueCreateIssueForbidden) Code() int
- func (o *IssueCreateIssueForbidden) Error() string
- func (o *IssueCreateIssueForbidden) IsClientError() bool
- func (o *IssueCreateIssueForbidden) IsCode(code int) bool
- func (o *IssueCreateIssueForbidden) IsRedirect() bool
- func (o *IssueCreateIssueForbidden) IsServerError() bool
- func (o *IssueCreateIssueForbidden) IsSuccess() bool
- func (o *IssueCreateIssueForbidden) String() string
- type IssueCreateIssueLocked
- func (o *IssueCreateIssueLocked) Code() int
- func (o *IssueCreateIssueLocked) Error() string
- func (o *IssueCreateIssueLocked) IsClientError() bool
- func (o *IssueCreateIssueLocked) IsCode(code int) bool
- func (o *IssueCreateIssueLocked) IsRedirect() bool
- func (o *IssueCreateIssueLocked) IsServerError() bool
- func (o *IssueCreateIssueLocked) IsSuccess() bool
- func (o *IssueCreateIssueLocked) String() string
- type IssueCreateIssueNotFound
- func (o *IssueCreateIssueNotFound) Code() int
- func (o *IssueCreateIssueNotFound) Error() string
- func (o *IssueCreateIssueNotFound) IsClientError() bool
- func (o *IssueCreateIssueNotFound) IsCode(code int) bool
- func (o *IssueCreateIssueNotFound) IsRedirect() bool
- func (o *IssueCreateIssueNotFound) IsServerError() bool
- func (o *IssueCreateIssueNotFound) IsSuccess() bool
- func (o *IssueCreateIssueNotFound) String() string
- type IssueCreateIssueParams
- func NewIssueCreateIssueParams() *IssueCreateIssueParams
- func NewIssueCreateIssueParamsWithContext(ctx context.Context) *IssueCreateIssueParams
- func NewIssueCreateIssueParamsWithHTTPClient(client *http.Client) *IssueCreateIssueParams
- func NewIssueCreateIssueParamsWithTimeout(timeout time.Duration) *IssueCreateIssueParams
- func (o *IssueCreateIssueParams) SetBody(body *models.CreateIssueOption)
- func (o *IssueCreateIssueParams) SetContext(ctx context.Context)
- func (o *IssueCreateIssueParams) SetDefaults()
- func (o *IssueCreateIssueParams) SetHTTPClient(client *http.Client)
- func (o *IssueCreateIssueParams) SetOwner(owner string)
- func (o *IssueCreateIssueParams) SetRepo(repo string)
- func (o *IssueCreateIssueParams) SetTimeout(timeout time.Duration)
- func (o *IssueCreateIssueParams) WithBody(body *models.CreateIssueOption) *IssueCreateIssueParams
- func (o *IssueCreateIssueParams) WithContext(ctx context.Context) *IssueCreateIssueParams
- func (o *IssueCreateIssueParams) WithDefaults() *IssueCreateIssueParams
- func (o *IssueCreateIssueParams) WithHTTPClient(client *http.Client) *IssueCreateIssueParams
- func (o *IssueCreateIssueParams) WithOwner(owner string) *IssueCreateIssueParams
- func (o *IssueCreateIssueParams) WithRepo(repo string) *IssueCreateIssueParams
- func (o *IssueCreateIssueParams) WithTimeout(timeout time.Duration) *IssueCreateIssueParams
- func (o *IssueCreateIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCreateIssuePreconditionFailed
- func (o *IssueCreateIssuePreconditionFailed) Code() int
- func (o *IssueCreateIssuePreconditionFailed) Error() string
- func (o *IssueCreateIssuePreconditionFailed) IsClientError() bool
- func (o *IssueCreateIssuePreconditionFailed) IsCode(code int) bool
- func (o *IssueCreateIssuePreconditionFailed) IsRedirect() bool
- func (o *IssueCreateIssuePreconditionFailed) IsServerError() bool
- func (o *IssueCreateIssuePreconditionFailed) IsSuccess() bool
- func (o *IssueCreateIssuePreconditionFailed) String() string
- type IssueCreateIssueReader
- type IssueCreateIssueUnprocessableEntity
- func (o *IssueCreateIssueUnprocessableEntity) Code() int
- func (o *IssueCreateIssueUnprocessableEntity) Error() string
- func (o *IssueCreateIssueUnprocessableEntity) IsClientError() bool
- func (o *IssueCreateIssueUnprocessableEntity) IsCode(code int) bool
- func (o *IssueCreateIssueUnprocessableEntity) IsRedirect() bool
- func (o *IssueCreateIssueUnprocessableEntity) IsServerError() bool
- func (o *IssueCreateIssueUnprocessableEntity) IsSuccess() bool
- func (o *IssueCreateIssueUnprocessableEntity) String() string
- type IssueCreateLabelCreated
- func (o *IssueCreateLabelCreated) Code() int
- func (o *IssueCreateLabelCreated) Error() string
- func (o *IssueCreateLabelCreated) GetPayload() *models.Label
- func (o *IssueCreateLabelCreated) IsClientError() bool
- func (o *IssueCreateLabelCreated) IsCode(code int) bool
- func (o *IssueCreateLabelCreated) IsRedirect() bool
- func (o *IssueCreateLabelCreated) IsServerError() bool
- func (o *IssueCreateLabelCreated) IsSuccess() bool
- func (o *IssueCreateLabelCreated) String() string
- type IssueCreateLabelNotFound
- func (o *IssueCreateLabelNotFound) Code() int
- func (o *IssueCreateLabelNotFound) Error() string
- func (o *IssueCreateLabelNotFound) IsClientError() bool
- func (o *IssueCreateLabelNotFound) IsCode(code int) bool
- func (o *IssueCreateLabelNotFound) IsRedirect() bool
- func (o *IssueCreateLabelNotFound) IsServerError() bool
- func (o *IssueCreateLabelNotFound) IsSuccess() bool
- func (o *IssueCreateLabelNotFound) String() string
- type IssueCreateLabelParams
- func NewIssueCreateLabelParams() *IssueCreateLabelParams
- func NewIssueCreateLabelParamsWithContext(ctx context.Context) *IssueCreateLabelParams
- func NewIssueCreateLabelParamsWithHTTPClient(client *http.Client) *IssueCreateLabelParams
- func NewIssueCreateLabelParamsWithTimeout(timeout time.Duration) *IssueCreateLabelParams
- func (o *IssueCreateLabelParams) SetBody(body *models.CreateLabelOption)
- func (o *IssueCreateLabelParams) SetContext(ctx context.Context)
- func (o *IssueCreateLabelParams) SetDefaults()
- func (o *IssueCreateLabelParams) SetHTTPClient(client *http.Client)
- func (o *IssueCreateLabelParams) SetOwner(owner string)
- func (o *IssueCreateLabelParams) SetRepo(repo string)
- func (o *IssueCreateLabelParams) SetTimeout(timeout time.Duration)
- func (o *IssueCreateLabelParams) WithBody(body *models.CreateLabelOption) *IssueCreateLabelParams
- func (o *IssueCreateLabelParams) WithContext(ctx context.Context) *IssueCreateLabelParams
- func (o *IssueCreateLabelParams) WithDefaults() *IssueCreateLabelParams
- func (o *IssueCreateLabelParams) WithHTTPClient(client *http.Client) *IssueCreateLabelParams
- func (o *IssueCreateLabelParams) WithOwner(owner string) *IssueCreateLabelParams
- func (o *IssueCreateLabelParams) WithRepo(repo string) *IssueCreateLabelParams
- func (o *IssueCreateLabelParams) WithTimeout(timeout time.Duration) *IssueCreateLabelParams
- func (o *IssueCreateLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCreateLabelReader
- type IssueCreateLabelUnprocessableEntity
- func (o *IssueCreateLabelUnprocessableEntity) Code() int
- func (o *IssueCreateLabelUnprocessableEntity) Error() string
- func (o *IssueCreateLabelUnprocessableEntity) IsClientError() bool
- func (o *IssueCreateLabelUnprocessableEntity) IsCode(code int) bool
- func (o *IssueCreateLabelUnprocessableEntity) IsRedirect() bool
- func (o *IssueCreateLabelUnprocessableEntity) IsServerError() bool
- func (o *IssueCreateLabelUnprocessableEntity) IsSuccess() bool
- func (o *IssueCreateLabelUnprocessableEntity) String() string
- type IssueCreateMilestoneCreated
- func (o *IssueCreateMilestoneCreated) Code() int
- func (o *IssueCreateMilestoneCreated) Error() string
- func (o *IssueCreateMilestoneCreated) GetPayload() *models.Milestone
- func (o *IssueCreateMilestoneCreated) IsClientError() bool
- func (o *IssueCreateMilestoneCreated) IsCode(code int) bool
- func (o *IssueCreateMilestoneCreated) IsRedirect() bool
- func (o *IssueCreateMilestoneCreated) IsServerError() bool
- func (o *IssueCreateMilestoneCreated) IsSuccess() bool
- func (o *IssueCreateMilestoneCreated) String() string
- type IssueCreateMilestoneNotFound
- func (o *IssueCreateMilestoneNotFound) Code() int
- func (o *IssueCreateMilestoneNotFound) Error() string
- func (o *IssueCreateMilestoneNotFound) IsClientError() bool
- func (o *IssueCreateMilestoneNotFound) IsCode(code int) bool
- func (o *IssueCreateMilestoneNotFound) IsRedirect() bool
- func (o *IssueCreateMilestoneNotFound) IsServerError() bool
- func (o *IssueCreateMilestoneNotFound) IsSuccess() bool
- func (o *IssueCreateMilestoneNotFound) String() string
- type IssueCreateMilestoneParams
- func NewIssueCreateMilestoneParams() *IssueCreateMilestoneParams
- func NewIssueCreateMilestoneParamsWithContext(ctx context.Context) *IssueCreateMilestoneParams
- func NewIssueCreateMilestoneParamsWithHTTPClient(client *http.Client) *IssueCreateMilestoneParams
- func NewIssueCreateMilestoneParamsWithTimeout(timeout time.Duration) *IssueCreateMilestoneParams
- func (o *IssueCreateMilestoneParams) SetBody(body *models.CreateMilestoneOption)
- func (o *IssueCreateMilestoneParams) SetContext(ctx context.Context)
- func (o *IssueCreateMilestoneParams) SetDefaults()
- func (o *IssueCreateMilestoneParams) SetHTTPClient(client *http.Client)
- func (o *IssueCreateMilestoneParams) SetOwner(owner string)
- func (o *IssueCreateMilestoneParams) SetRepo(repo string)
- func (o *IssueCreateMilestoneParams) SetTimeout(timeout time.Duration)
- func (o *IssueCreateMilestoneParams) WithBody(body *models.CreateMilestoneOption) *IssueCreateMilestoneParams
- func (o *IssueCreateMilestoneParams) WithContext(ctx context.Context) *IssueCreateMilestoneParams
- func (o *IssueCreateMilestoneParams) WithDefaults() *IssueCreateMilestoneParams
- func (o *IssueCreateMilestoneParams) WithHTTPClient(client *http.Client) *IssueCreateMilestoneParams
- func (o *IssueCreateMilestoneParams) WithOwner(owner string) *IssueCreateMilestoneParams
- func (o *IssueCreateMilestoneParams) WithRepo(repo string) *IssueCreateMilestoneParams
- func (o *IssueCreateMilestoneParams) WithTimeout(timeout time.Duration) *IssueCreateMilestoneParams
- func (o *IssueCreateMilestoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueCreateMilestoneReader
- type IssueDeleteCommentDeprecatedForbidden
- func (o *IssueDeleteCommentDeprecatedForbidden) Code() int
- func (o *IssueDeleteCommentDeprecatedForbidden) Error() string
- func (o *IssueDeleteCommentDeprecatedForbidden) IsClientError() bool
- func (o *IssueDeleteCommentDeprecatedForbidden) IsCode(code int) bool
- func (o *IssueDeleteCommentDeprecatedForbidden) IsRedirect() bool
- func (o *IssueDeleteCommentDeprecatedForbidden) IsServerError() bool
- func (o *IssueDeleteCommentDeprecatedForbidden) IsSuccess() bool
- func (o *IssueDeleteCommentDeprecatedForbidden) String() string
- type IssueDeleteCommentDeprecatedNoContent
- func (o *IssueDeleteCommentDeprecatedNoContent) Code() int
- func (o *IssueDeleteCommentDeprecatedNoContent) Error() string
- func (o *IssueDeleteCommentDeprecatedNoContent) IsClientError() bool
- func (o *IssueDeleteCommentDeprecatedNoContent) IsCode(code int) bool
- func (o *IssueDeleteCommentDeprecatedNoContent) IsRedirect() bool
- func (o *IssueDeleteCommentDeprecatedNoContent) IsServerError() bool
- func (o *IssueDeleteCommentDeprecatedNoContent) IsSuccess() bool
- func (o *IssueDeleteCommentDeprecatedNoContent) String() string
- type IssueDeleteCommentDeprecatedNotFound
- func (o *IssueDeleteCommentDeprecatedNotFound) Code() int
- func (o *IssueDeleteCommentDeprecatedNotFound) Error() string
- func (o *IssueDeleteCommentDeprecatedNotFound) IsClientError() bool
- func (o *IssueDeleteCommentDeprecatedNotFound) IsCode(code int) bool
- func (o *IssueDeleteCommentDeprecatedNotFound) IsRedirect() bool
- func (o *IssueDeleteCommentDeprecatedNotFound) IsServerError() bool
- func (o *IssueDeleteCommentDeprecatedNotFound) IsSuccess() bool
- func (o *IssueDeleteCommentDeprecatedNotFound) String() string
- type IssueDeleteCommentDeprecatedParams
- func NewIssueDeleteCommentDeprecatedParams() *IssueDeleteCommentDeprecatedParams
- func NewIssueDeleteCommentDeprecatedParamsWithContext(ctx context.Context) *IssueDeleteCommentDeprecatedParams
- func NewIssueDeleteCommentDeprecatedParamsWithHTTPClient(client *http.Client) *IssueDeleteCommentDeprecatedParams
- func NewIssueDeleteCommentDeprecatedParamsWithTimeout(timeout time.Duration) *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) SetContext(ctx context.Context)
- func (o *IssueDeleteCommentDeprecatedParams) SetDefaults()
- func (o *IssueDeleteCommentDeprecatedParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteCommentDeprecatedParams) SetID(id int64)
- func (o *IssueDeleteCommentDeprecatedParams) SetIndex(index int64)
- func (o *IssueDeleteCommentDeprecatedParams) SetOwner(owner string)
- func (o *IssueDeleteCommentDeprecatedParams) SetRepo(repo string)
- func (o *IssueDeleteCommentDeprecatedParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteCommentDeprecatedParams) WithContext(ctx context.Context) *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) WithDefaults() *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) WithHTTPClient(client *http.Client) *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) WithID(id int64) *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) WithIndex(index int64) *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) WithOwner(owner string) *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) WithRepo(repo string) *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) WithTimeout(timeout time.Duration) *IssueDeleteCommentDeprecatedParams
- func (o *IssueDeleteCommentDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteCommentDeprecatedReader
- type IssueDeleteCommentForbidden
- func (o *IssueDeleteCommentForbidden) Code() int
- func (o *IssueDeleteCommentForbidden) Error() string
- func (o *IssueDeleteCommentForbidden) IsClientError() bool
- func (o *IssueDeleteCommentForbidden) IsCode(code int) bool
- func (o *IssueDeleteCommentForbidden) IsRedirect() bool
- func (o *IssueDeleteCommentForbidden) IsServerError() bool
- func (o *IssueDeleteCommentForbidden) IsSuccess() bool
- func (o *IssueDeleteCommentForbidden) String() string
- type IssueDeleteCommentNoContent
- func (o *IssueDeleteCommentNoContent) Code() int
- func (o *IssueDeleteCommentNoContent) Error() string
- func (o *IssueDeleteCommentNoContent) IsClientError() bool
- func (o *IssueDeleteCommentNoContent) IsCode(code int) bool
- func (o *IssueDeleteCommentNoContent) IsRedirect() bool
- func (o *IssueDeleteCommentNoContent) IsServerError() bool
- func (o *IssueDeleteCommentNoContent) IsSuccess() bool
- func (o *IssueDeleteCommentNoContent) String() string
- type IssueDeleteCommentNotFound
- func (o *IssueDeleteCommentNotFound) Code() int
- func (o *IssueDeleteCommentNotFound) Error() string
- func (o *IssueDeleteCommentNotFound) IsClientError() bool
- func (o *IssueDeleteCommentNotFound) IsCode(code int) bool
- func (o *IssueDeleteCommentNotFound) IsRedirect() bool
- func (o *IssueDeleteCommentNotFound) IsServerError() bool
- func (o *IssueDeleteCommentNotFound) IsSuccess() bool
- func (o *IssueDeleteCommentNotFound) String() string
- type IssueDeleteCommentParams
- func NewIssueDeleteCommentParams() *IssueDeleteCommentParams
- func NewIssueDeleteCommentParamsWithContext(ctx context.Context) *IssueDeleteCommentParams
- func NewIssueDeleteCommentParamsWithHTTPClient(client *http.Client) *IssueDeleteCommentParams
- func NewIssueDeleteCommentParamsWithTimeout(timeout time.Duration) *IssueDeleteCommentParams
- func (o *IssueDeleteCommentParams) SetContext(ctx context.Context)
- func (o *IssueDeleteCommentParams) SetDefaults()
- func (o *IssueDeleteCommentParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteCommentParams) SetID(id int64)
- func (o *IssueDeleteCommentParams) SetOwner(owner string)
- func (o *IssueDeleteCommentParams) SetRepo(repo string)
- func (o *IssueDeleteCommentParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteCommentParams) WithContext(ctx context.Context) *IssueDeleteCommentParams
- func (o *IssueDeleteCommentParams) WithDefaults() *IssueDeleteCommentParams
- func (o *IssueDeleteCommentParams) WithHTTPClient(client *http.Client) *IssueDeleteCommentParams
- func (o *IssueDeleteCommentParams) WithID(id int64) *IssueDeleteCommentParams
- func (o *IssueDeleteCommentParams) WithOwner(owner string) *IssueDeleteCommentParams
- func (o *IssueDeleteCommentParams) WithRepo(repo string) *IssueDeleteCommentParams
- func (o *IssueDeleteCommentParams) WithTimeout(timeout time.Duration) *IssueDeleteCommentParams
- func (o *IssueDeleteCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteCommentReactionForbidden
- func (o *IssueDeleteCommentReactionForbidden) Code() int
- func (o *IssueDeleteCommentReactionForbidden) Error() string
- func (o *IssueDeleteCommentReactionForbidden) IsClientError() bool
- func (o *IssueDeleteCommentReactionForbidden) IsCode(code int) bool
- func (o *IssueDeleteCommentReactionForbidden) IsRedirect() bool
- func (o *IssueDeleteCommentReactionForbidden) IsServerError() bool
- func (o *IssueDeleteCommentReactionForbidden) IsSuccess() bool
- func (o *IssueDeleteCommentReactionForbidden) String() string
- type IssueDeleteCommentReactionNotFound
- func (o *IssueDeleteCommentReactionNotFound) Code() int
- func (o *IssueDeleteCommentReactionNotFound) Error() string
- func (o *IssueDeleteCommentReactionNotFound) IsClientError() bool
- func (o *IssueDeleteCommentReactionNotFound) IsCode(code int) bool
- func (o *IssueDeleteCommentReactionNotFound) IsRedirect() bool
- func (o *IssueDeleteCommentReactionNotFound) IsServerError() bool
- func (o *IssueDeleteCommentReactionNotFound) IsSuccess() bool
- func (o *IssueDeleteCommentReactionNotFound) String() string
- type IssueDeleteCommentReactionOK
- func (o *IssueDeleteCommentReactionOK) Code() int
- func (o *IssueDeleteCommentReactionOK) Error() string
- func (o *IssueDeleteCommentReactionOK) IsClientError() bool
- func (o *IssueDeleteCommentReactionOK) IsCode(code int) bool
- func (o *IssueDeleteCommentReactionOK) IsRedirect() bool
- func (o *IssueDeleteCommentReactionOK) IsServerError() bool
- func (o *IssueDeleteCommentReactionOK) IsSuccess() bool
- func (o *IssueDeleteCommentReactionOK) String() string
- type IssueDeleteCommentReactionParams
- func NewIssueDeleteCommentReactionParams() *IssueDeleteCommentReactionParams
- func NewIssueDeleteCommentReactionParamsWithContext(ctx context.Context) *IssueDeleteCommentReactionParams
- func NewIssueDeleteCommentReactionParamsWithHTTPClient(client *http.Client) *IssueDeleteCommentReactionParams
- func NewIssueDeleteCommentReactionParamsWithTimeout(timeout time.Duration) *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) SetContent(content *models.EditReactionOption)
- func (o *IssueDeleteCommentReactionParams) SetContext(ctx context.Context)
- func (o *IssueDeleteCommentReactionParams) SetDefaults()
- func (o *IssueDeleteCommentReactionParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteCommentReactionParams) SetID(id int64)
- func (o *IssueDeleteCommentReactionParams) SetOwner(owner string)
- func (o *IssueDeleteCommentReactionParams) SetRepo(repo string)
- func (o *IssueDeleteCommentReactionParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteCommentReactionParams) WithContent(content *models.EditReactionOption) *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) WithContext(ctx context.Context) *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) WithDefaults() *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) WithHTTPClient(client *http.Client) *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) WithID(id int64) *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) WithOwner(owner string) *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) WithRepo(repo string) *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) WithTimeout(timeout time.Duration) *IssueDeleteCommentReactionParams
- func (o *IssueDeleteCommentReactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteCommentReactionReader
- type IssueDeleteCommentReader
- type IssueDeleteForbidden
- func (o *IssueDeleteForbidden) Code() int
- func (o *IssueDeleteForbidden) Error() string
- func (o *IssueDeleteForbidden) IsClientError() bool
- func (o *IssueDeleteForbidden) IsCode(code int) bool
- func (o *IssueDeleteForbidden) IsRedirect() bool
- func (o *IssueDeleteForbidden) IsServerError() bool
- func (o *IssueDeleteForbidden) IsSuccess() bool
- func (o *IssueDeleteForbidden) String() string
- type IssueDeleteIssueAttachmentLocked
- func (o *IssueDeleteIssueAttachmentLocked) Code() int
- func (o *IssueDeleteIssueAttachmentLocked) Error() string
- func (o *IssueDeleteIssueAttachmentLocked) IsClientError() bool
- func (o *IssueDeleteIssueAttachmentLocked) IsCode(code int) bool
- func (o *IssueDeleteIssueAttachmentLocked) IsRedirect() bool
- func (o *IssueDeleteIssueAttachmentLocked) IsServerError() bool
- func (o *IssueDeleteIssueAttachmentLocked) IsSuccess() bool
- func (o *IssueDeleteIssueAttachmentLocked) String() string
- type IssueDeleteIssueAttachmentNoContent
- func (o *IssueDeleteIssueAttachmentNoContent) Code() int
- func (o *IssueDeleteIssueAttachmentNoContent) Error() string
- func (o *IssueDeleteIssueAttachmentNoContent) IsClientError() bool
- func (o *IssueDeleteIssueAttachmentNoContent) IsCode(code int) bool
- func (o *IssueDeleteIssueAttachmentNoContent) IsRedirect() bool
- func (o *IssueDeleteIssueAttachmentNoContent) IsServerError() bool
- func (o *IssueDeleteIssueAttachmentNoContent) IsSuccess() bool
- func (o *IssueDeleteIssueAttachmentNoContent) String() string
- type IssueDeleteIssueAttachmentNotFound
- func (o *IssueDeleteIssueAttachmentNotFound) Code() int
- func (o *IssueDeleteIssueAttachmentNotFound) Error() string
- func (o *IssueDeleteIssueAttachmentNotFound) IsClientError() bool
- func (o *IssueDeleteIssueAttachmentNotFound) IsCode(code int) bool
- func (o *IssueDeleteIssueAttachmentNotFound) IsRedirect() bool
- func (o *IssueDeleteIssueAttachmentNotFound) IsServerError() bool
- func (o *IssueDeleteIssueAttachmentNotFound) IsSuccess() bool
- func (o *IssueDeleteIssueAttachmentNotFound) String() string
- type IssueDeleteIssueAttachmentParams
- func NewIssueDeleteIssueAttachmentParams() *IssueDeleteIssueAttachmentParams
- func NewIssueDeleteIssueAttachmentParamsWithContext(ctx context.Context) *IssueDeleteIssueAttachmentParams
- func NewIssueDeleteIssueAttachmentParamsWithHTTPClient(client *http.Client) *IssueDeleteIssueAttachmentParams
- func NewIssueDeleteIssueAttachmentParamsWithTimeout(timeout time.Duration) *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) SetAttachmentID(attachmentID int64)
- func (o *IssueDeleteIssueAttachmentParams) SetContext(ctx context.Context)
- func (o *IssueDeleteIssueAttachmentParams) SetDefaults()
- func (o *IssueDeleteIssueAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteIssueAttachmentParams) SetIndex(index int64)
- func (o *IssueDeleteIssueAttachmentParams) SetOwner(owner string)
- func (o *IssueDeleteIssueAttachmentParams) SetRepo(repo string)
- func (o *IssueDeleteIssueAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteIssueAttachmentParams) WithAttachmentID(attachmentID int64) *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) WithContext(ctx context.Context) *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) WithDefaults() *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) WithHTTPClient(client *http.Client) *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) WithIndex(index int64) *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) WithOwner(owner string) *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) WithRepo(repo string) *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) WithTimeout(timeout time.Duration) *IssueDeleteIssueAttachmentParams
- func (o *IssueDeleteIssueAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteIssueAttachmentReader
- type IssueDeleteIssueCommentAttachmentLocked
- func (o *IssueDeleteIssueCommentAttachmentLocked) Code() int
- func (o *IssueDeleteIssueCommentAttachmentLocked) Error() string
- func (o *IssueDeleteIssueCommentAttachmentLocked) IsClientError() bool
- func (o *IssueDeleteIssueCommentAttachmentLocked) IsCode(code int) bool
- func (o *IssueDeleteIssueCommentAttachmentLocked) IsRedirect() bool
- func (o *IssueDeleteIssueCommentAttachmentLocked) IsServerError() bool
- func (o *IssueDeleteIssueCommentAttachmentLocked) IsSuccess() bool
- func (o *IssueDeleteIssueCommentAttachmentLocked) String() string
- type IssueDeleteIssueCommentAttachmentNoContent
- func (o *IssueDeleteIssueCommentAttachmentNoContent) Code() int
- func (o *IssueDeleteIssueCommentAttachmentNoContent) Error() string
- func (o *IssueDeleteIssueCommentAttachmentNoContent) IsClientError() bool
- func (o *IssueDeleteIssueCommentAttachmentNoContent) IsCode(code int) bool
- func (o *IssueDeleteIssueCommentAttachmentNoContent) IsRedirect() bool
- func (o *IssueDeleteIssueCommentAttachmentNoContent) IsServerError() bool
- func (o *IssueDeleteIssueCommentAttachmentNoContent) IsSuccess() bool
- func (o *IssueDeleteIssueCommentAttachmentNoContent) String() string
- type IssueDeleteIssueCommentAttachmentNotFound
- func (o *IssueDeleteIssueCommentAttachmentNotFound) Code() int
- func (o *IssueDeleteIssueCommentAttachmentNotFound) Error() string
- func (o *IssueDeleteIssueCommentAttachmentNotFound) IsClientError() bool
- func (o *IssueDeleteIssueCommentAttachmentNotFound) IsCode(code int) bool
- func (o *IssueDeleteIssueCommentAttachmentNotFound) IsRedirect() bool
- func (o *IssueDeleteIssueCommentAttachmentNotFound) IsServerError() bool
- func (o *IssueDeleteIssueCommentAttachmentNotFound) IsSuccess() bool
- func (o *IssueDeleteIssueCommentAttachmentNotFound) String() string
- type IssueDeleteIssueCommentAttachmentParams
- func NewIssueDeleteIssueCommentAttachmentParams() *IssueDeleteIssueCommentAttachmentParams
- func NewIssueDeleteIssueCommentAttachmentParamsWithContext(ctx context.Context) *IssueDeleteIssueCommentAttachmentParams
- func NewIssueDeleteIssueCommentAttachmentParamsWithHTTPClient(client *http.Client) *IssueDeleteIssueCommentAttachmentParams
- func NewIssueDeleteIssueCommentAttachmentParamsWithTimeout(timeout time.Duration) *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) SetAttachmentID(attachmentID int64)
- func (o *IssueDeleteIssueCommentAttachmentParams) SetContext(ctx context.Context)
- func (o *IssueDeleteIssueCommentAttachmentParams) SetDefaults()
- func (o *IssueDeleteIssueCommentAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteIssueCommentAttachmentParams) SetID(id int64)
- func (o *IssueDeleteIssueCommentAttachmentParams) SetOwner(owner string)
- func (o *IssueDeleteIssueCommentAttachmentParams) SetRepo(repo string)
- func (o *IssueDeleteIssueCommentAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteIssueCommentAttachmentParams) WithAttachmentID(attachmentID int64) *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) WithContext(ctx context.Context) *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) WithDefaults() *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) WithHTTPClient(client *http.Client) *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) WithID(id int64) *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) WithOwner(owner string) *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) WithRepo(repo string) *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) WithTimeout(timeout time.Duration) *IssueDeleteIssueCommentAttachmentParams
- func (o *IssueDeleteIssueCommentAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteIssueCommentAttachmentReader
- type IssueDeleteIssueReactionForbidden
- func (o *IssueDeleteIssueReactionForbidden) Code() int
- func (o *IssueDeleteIssueReactionForbidden) Error() string
- func (o *IssueDeleteIssueReactionForbidden) IsClientError() bool
- func (o *IssueDeleteIssueReactionForbidden) IsCode(code int) bool
- func (o *IssueDeleteIssueReactionForbidden) IsRedirect() bool
- func (o *IssueDeleteIssueReactionForbidden) IsServerError() bool
- func (o *IssueDeleteIssueReactionForbidden) IsSuccess() bool
- func (o *IssueDeleteIssueReactionForbidden) String() string
- type IssueDeleteIssueReactionNotFound
- func (o *IssueDeleteIssueReactionNotFound) Code() int
- func (o *IssueDeleteIssueReactionNotFound) Error() string
- func (o *IssueDeleteIssueReactionNotFound) IsClientError() bool
- func (o *IssueDeleteIssueReactionNotFound) IsCode(code int) bool
- func (o *IssueDeleteIssueReactionNotFound) IsRedirect() bool
- func (o *IssueDeleteIssueReactionNotFound) IsServerError() bool
- func (o *IssueDeleteIssueReactionNotFound) IsSuccess() bool
- func (o *IssueDeleteIssueReactionNotFound) String() string
- type IssueDeleteIssueReactionOK
- func (o *IssueDeleteIssueReactionOK) Code() int
- func (o *IssueDeleteIssueReactionOK) Error() string
- func (o *IssueDeleteIssueReactionOK) IsClientError() bool
- func (o *IssueDeleteIssueReactionOK) IsCode(code int) bool
- func (o *IssueDeleteIssueReactionOK) IsRedirect() bool
- func (o *IssueDeleteIssueReactionOK) IsServerError() bool
- func (o *IssueDeleteIssueReactionOK) IsSuccess() bool
- func (o *IssueDeleteIssueReactionOK) String() string
- type IssueDeleteIssueReactionParams
- func NewIssueDeleteIssueReactionParams() *IssueDeleteIssueReactionParams
- func NewIssueDeleteIssueReactionParamsWithContext(ctx context.Context) *IssueDeleteIssueReactionParams
- func NewIssueDeleteIssueReactionParamsWithHTTPClient(client *http.Client) *IssueDeleteIssueReactionParams
- func NewIssueDeleteIssueReactionParamsWithTimeout(timeout time.Duration) *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) SetContent(content *models.EditReactionOption)
- func (o *IssueDeleteIssueReactionParams) SetContext(ctx context.Context)
- func (o *IssueDeleteIssueReactionParams) SetDefaults()
- func (o *IssueDeleteIssueReactionParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteIssueReactionParams) SetIndex(index int64)
- func (o *IssueDeleteIssueReactionParams) SetOwner(owner string)
- func (o *IssueDeleteIssueReactionParams) SetRepo(repo string)
- func (o *IssueDeleteIssueReactionParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteIssueReactionParams) WithContent(content *models.EditReactionOption) *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) WithContext(ctx context.Context) *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) WithDefaults() *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) WithHTTPClient(client *http.Client) *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) WithIndex(index int64) *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) WithOwner(owner string) *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) WithRepo(repo string) *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) WithTimeout(timeout time.Duration) *IssueDeleteIssueReactionParams
- func (o *IssueDeleteIssueReactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteIssueReactionReader
- type IssueDeleteLabelNoContent
- func (o *IssueDeleteLabelNoContent) Code() int
- func (o *IssueDeleteLabelNoContent) Error() string
- func (o *IssueDeleteLabelNoContent) IsClientError() bool
- func (o *IssueDeleteLabelNoContent) IsCode(code int) bool
- func (o *IssueDeleteLabelNoContent) IsRedirect() bool
- func (o *IssueDeleteLabelNoContent) IsServerError() bool
- func (o *IssueDeleteLabelNoContent) IsSuccess() bool
- func (o *IssueDeleteLabelNoContent) String() string
- type IssueDeleteLabelNotFound
- func (o *IssueDeleteLabelNotFound) Code() int
- func (o *IssueDeleteLabelNotFound) Error() string
- func (o *IssueDeleteLabelNotFound) IsClientError() bool
- func (o *IssueDeleteLabelNotFound) IsCode(code int) bool
- func (o *IssueDeleteLabelNotFound) IsRedirect() bool
- func (o *IssueDeleteLabelNotFound) IsServerError() bool
- func (o *IssueDeleteLabelNotFound) IsSuccess() bool
- func (o *IssueDeleteLabelNotFound) String() string
- type IssueDeleteLabelParams
- func NewIssueDeleteLabelParams() *IssueDeleteLabelParams
- func NewIssueDeleteLabelParamsWithContext(ctx context.Context) *IssueDeleteLabelParams
- func NewIssueDeleteLabelParamsWithHTTPClient(client *http.Client) *IssueDeleteLabelParams
- func NewIssueDeleteLabelParamsWithTimeout(timeout time.Duration) *IssueDeleteLabelParams
- func (o *IssueDeleteLabelParams) SetContext(ctx context.Context)
- func (o *IssueDeleteLabelParams) SetDefaults()
- func (o *IssueDeleteLabelParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteLabelParams) SetID(id int64)
- func (o *IssueDeleteLabelParams) SetOwner(owner string)
- func (o *IssueDeleteLabelParams) SetRepo(repo string)
- func (o *IssueDeleteLabelParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteLabelParams) WithContext(ctx context.Context) *IssueDeleteLabelParams
- func (o *IssueDeleteLabelParams) WithDefaults() *IssueDeleteLabelParams
- func (o *IssueDeleteLabelParams) WithHTTPClient(client *http.Client) *IssueDeleteLabelParams
- func (o *IssueDeleteLabelParams) WithID(id int64) *IssueDeleteLabelParams
- func (o *IssueDeleteLabelParams) WithOwner(owner string) *IssueDeleteLabelParams
- func (o *IssueDeleteLabelParams) WithRepo(repo string) *IssueDeleteLabelParams
- func (o *IssueDeleteLabelParams) WithTimeout(timeout time.Duration) *IssueDeleteLabelParams
- func (o *IssueDeleteLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteLabelReader
- type IssueDeleteMilestoneNoContent
- func (o *IssueDeleteMilestoneNoContent) Code() int
- func (o *IssueDeleteMilestoneNoContent) Error() string
- func (o *IssueDeleteMilestoneNoContent) IsClientError() bool
- func (o *IssueDeleteMilestoneNoContent) IsCode(code int) bool
- func (o *IssueDeleteMilestoneNoContent) IsRedirect() bool
- func (o *IssueDeleteMilestoneNoContent) IsServerError() bool
- func (o *IssueDeleteMilestoneNoContent) IsSuccess() bool
- func (o *IssueDeleteMilestoneNoContent) String() string
- type IssueDeleteMilestoneNotFound
- func (o *IssueDeleteMilestoneNotFound) Code() int
- func (o *IssueDeleteMilestoneNotFound) Error() string
- func (o *IssueDeleteMilestoneNotFound) IsClientError() bool
- func (o *IssueDeleteMilestoneNotFound) IsCode(code int) bool
- func (o *IssueDeleteMilestoneNotFound) IsRedirect() bool
- func (o *IssueDeleteMilestoneNotFound) IsServerError() bool
- func (o *IssueDeleteMilestoneNotFound) IsSuccess() bool
- func (o *IssueDeleteMilestoneNotFound) String() string
- type IssueDeleteMilestoneParams
- func NewIssueDeleteMilestoneParams() *IssueDeleteMilestoneParams
- func NewIssueDeleteMilestoneParamsWithContext(ctx context.Context) *IssueDeleteMilestoneParams
- func NewIssueDeleteMilestoneParamsWithHTTPClient(client *http.Client) *IssueDeleteMilestoneParams
- func NewIssueDeleteMilestoneParamsWithTimeout(timeout time.Duration) *IssueDeleteMilestoneParams
- func (o *IssueDeleteMilestoneParams) SetContext(ctx context.Context)
- func (o *IssueDeleteMilestoneParams) SetDefaults()
- func (o *IssueDeleteMilestoneParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteMilestoneParams) SetID(id string)
- func (o *IssueDeleteMilestoneParams) SetOwner(owner string)
- func (o *IssueDeleteMilestoneParams) SetRepo(repo string)
- func (o *IssueDeleteMilestoneParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteMilestoneParams) WithContext(ctx context.Context) *IssueDeleteMilestoneParams
- func (o *IssueDeleteMilestoneParams) WithDefaults() *IssueDeleteMilestoneParams
- func (o *IssueDeleteMilestoneParams) WithHTTPClient(client *http.Client) *IssueDeleteMilestoneParams
- func (o *IssueDeleteMilestoneParams) WithID(id string) *IssueDeleteMilestoneParams
- func (o *IssueDeleteMilestoneParams) WithOwner(owner string) *IssueDeleteMilestoneParams
- func (o *IssueDeleteMilestoneParams) WithRepo(repo string) *IssueDeleteMilestoneParams
- func (o *IssueDeleteMilestoneParams) WithTimeout(timeout time.Duration) *IssueDeleteMilestoneParams
- func (o *IssueDeleteMilestoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteMilestoneReader
- type IssueDeleteNoContent
- func (o *IssueDeleteNoContent) Code() int
- func (o *IssueDeleteNoContent) Error() string
- func (o *IssueDeleteNoContent) IsClientError() bool
- func (o *IssueDeleteNoContent) IsCode(code int) bool
- func (o *IssueDeleteNoContent) IsRedirect() bool
- func (o *IssueDeleteNoContent) IsServerError() bool
- func (o *IssueDeleteNoContent) IsSuccess() bool
- func (o *IssueDeleteNoContent) String() string
- type IssueDeleteNotFound
- func (o *IssueDeleteNotFound) Code() int
- func (o *IssueDeleteNotFound) Error() string
- func (o *IssueDeleteNotFound) IsClientError() bool
- func (o *IssueDeleteNotFound) IsCode(code int) bool
- func (o *IssueDeleteNotFound) IsRedirect() bool
- func (o *IssueDeleteNotFound) IsServerError() bool
- func (o *IssueDeleteNotFound) IsSuccess() bool
- func (o *IssueDeleteNotFound) String() string
- type IssueDeleteParams
- func (o *IssueDeleteParams) SetContext(ctx context.Context)
- func (o *IssueDeleteParams) SetDefaults()
- func (o *IssueDeleteParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteParams) SetIndex(index int64)
- func (o *IssueDeleteParams) SetOwner(owner string)
- func (o *IssueDeleteParams) SetRepo(repo string)
- func (o *IssueDeleteParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteParams) WithContext(ctx context.Context) *IssueDeleteParams
- func (o *IssueDeleteParams) WithDefaults() *IssueDeleteParams
- func (o *IssueDeleteParams) WithHTTPClient(client *http.Client) *IssueDeleteParams
- func (o *IssueDeleteParams) WithIndex(index int64) *IssueDeleteParams
- func (o *IssueDeleteParams) WithOwner(owner string) *IssueDeleteParams
- func (o *IssueDeleteParams) WithRepo(repo string) *IssueDeleteParams
- func (o *IssueDeleteParams) WithTimeout(timeout time.Duration) *IssueDeleteParams
- func (o *IssueDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteReader
- type IssueDeleteStopWatchConflict
- func (o *IssueDeleteStopWatchConflict) Code() int
- func (o *IssueDeleteStopWatchConflict) Error() string
- func (o *IssueDeleteStopWatchConflict) IsClientError() bool
- func (o *IssueDeleteStopWatchConflict) IsCode(code int) bool
- func (o *IssueDeleteStopWatchConflict) IsRedirect() bool
- func (o *IssueDeleteStopWatchConflict) IsServerError() bool
- func (o *IssueDeleteStopWatchConflict) IsSuccess() bool
- func (o *IssueDeleteStopWatchConflict) String() string
- type IssueDeleteStopWatchForbidden
- func (o *IssueDeleteStopWatchForbidden) Code() int
- func (o *IssueDeleteStopWatchForbidden) Error() string
- func (o *IssueDeleteStopWatchForbidden) IsClientError() bool
- func (o *IssueDeleteStopWatchForbidden) IsCode(code int) bool
- func (o *IssueDeleteStopWatchForbidden) IsRedirect() bool
- func (o *IssueDeleteStopWatchForbidden) IsServerError() bool
- func (o *IssueDeleteStopWatchForbidden) IsSuccess() bool
- func (o *IssueDeleteStopWatchForbidden) String() string
- type IssueDeleteStopWatchNoContent
- func (o *IssueDeleteStopWatchNoContent) Code() int
- func (o *IssueDeleteStopWatchNoContent) Error() string
- func (o *IssueDeleteStopWatchNoContent) IsClientError() bool
- func (o *IssueDeleteStopWatchNoContent) IsCode(code int) bool
- func (o *IssueDeleteStopWatchNoContent) IsRedirect() bool
- func (o *IssueDeleteStopWatchNoContent) IsServerError() bool
- func (o *IssueDeleteStopWatchNoContent) IsSuccess() bool
- func (o *IssueDeleteStopWatchNoContent) String() string
- type IssueDeleteStopWatchNotFound
- func (o *IssueDeleteStopWatchNotFound) Code() int
- func (o *IssueDeleteStopWatchNotFound) Error() string
- func (o *IssueDeleteStopWatchNotFound) IsClientError() bool
- func (o *IssueDeleteStopWatchNotFound) IsCode(code int) bool
- func (o *IssueDeleteStopWatchNotFound) IsRedirect() bool
- func (o *IssueDeleteStopWatchNotFound) IsServerError() bool
- func (o *IssueDeleteStopWatchNotFound) IsSuccess() bool
- func (o *IssueDeleteStopWatchNotFound) String() string
- type IssueDeleteStopWatchParams
- func NewIssueDeleteStopWatchParams() *IssueDeleteStopWatchParams
- func NewIssueDeleteStopWatchParamsWithContext(ctx context.Context) *IssueDeleteStopWatchParams
- func NewIssueDeleteStopWatchParamsWithHTTPClient(client *http.Client) *IssueDeleteStopWatchParams
- func NewIssueDeleteStopWatchParamsWithTimeout(timeout time.Duration) *IssueDeleteStopWatchParams
- func (o *IssueDeleteStopWatchParams) SetContext(ctx context.Context)
- func (o *IssueDeleteStopWatchParams) SetDefaults()
- func (o *IssueDeleteStopWatchParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteStopWatchParams) SetIndex(index int64)
- func (o *IssueDeleteStopWatchParams) SetOwner(owner string)
- func (o *IssueDeleteStopWatchParams) SetRepo(repo string)
- func (o *IssueDeleteStopWatchParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteStopWatchParams) WithContext(ctx context.Context) *IssueDeleteStopWatchParams
- func (o *IssueDeleteStopWatchParams) WithDefaults() *IssueDeleteStopWatchParams
- func (o *IssueDeleteStopWatchParams) WithHTTPClient(client *http.Client) *IssueDeleteStopWatchParams
- func (o *IssueDeleteStopWatchParams) WithIndex(index int64) *IssueDeleteStopWatchParams
- func (o *IssueDeleteStopWatchParams) WithOwner(owner string) *IssueDeleteStopWatchParams
- func (o *IssueDeleteStopWatchParams) WithRepo(repo string) *IssueDeleteStopWatchParams
- func (o *IssueDeleteStopWatchParams) WithTimeout(timeout time.Duration) *IssueDeleteStopWatchParams
- func (o *IssueDeleteStopWatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteStopWatchReader
- type IssueDeleteSubscriptionCreated
- func (o *IssueDeleteSubscriptionCreated) Code() int
- func (o *IssueDeleteSubscriptionCreated) Error() string
- func (o *IssueDeleteSubscriptionCreated) IsClientError() bool
- func (o *IssueDeleteSubscriptionCreated) IsCode(code int) bool
- func (o *IssueDeleteSubscriptionCreated) IsRedirect() bool
- func (o *IssueDeleteSubscriptionCreated) IsServerError() bool
- func (o *IssueDeleteSubscriptionCreated) IsSuccess() bool
- func (o *IssueDeleteSubscriptionCreated) String() string
- type IssueDeleteSubscriptionNotFound
- func (o *IssueDeleteSubscriptionNotFound) Code() int
- func (o *IssueDeleteSubscriptionNotFound) Error() string
- func (o *IssueDeleteSubscriptionNotFound) IsClientError() bool
- func (o *IssueDeleteSubscriptionNotFound) IsCode(code int) bool
- func (o *IssueDeleteSubscriptionNotFound) IsRedirect() bool
- func (o *IssueDeleteSubscriptionNotFound) IsServerError() bool
- func (o *IssueDeleteSubscriptionNotFound) IsSuccess() bool
- func (o *IssueDeleteSubscriptionNotFound) String() string
- type IssueDeleteSubscriptionNotModified
- func (o *IssueDeleteSubscriptionNotModified) Code() int
- func (o *IssueDeleteSubscriptionNotModified) Error() string
- func (o *IssueDeleteSubscriptionNotModified) IsClientError() bool
- func (o *IssueDeleteSubscriptionNotModified) IsCode(code int) bool
- func (o *IssueDeleteSubscriptionNotModified) IsRedirect() bool
- func (o *IssueDeleteSubscriptionNotModified) IsServerError() bool
- func (o *IssueDeleteSubscriptionNotModified) IsSuccess() bool
- func (o *IssueDeleteSubscriptionNotModified) String() string
- type IssueDeleteSubscriptionOK
- func (o *IssueDeleteSubscriptionOK) Code() int
- func (o *IssueDeleteSubscriptionOK) Error() string
- func (o *IssueDeleteSubscriptionOK) IsClientError() bool
- func (o *IssueDeleteSubscriptionOK) IsCode(code int) bool
- func (o *IssueDeleteSubscriptionOK) IsRedirect() bool
- func (o *IssueDeleteSubscriptionOK) IsServerError() bool
- func (o *IssueDeleteSubscriptionOK) IsSuccess() bool
- func (o *IssueDeleteSubscriptionOK) String() string
- type IssueDeleteSubscriptionParams
- func NewIssueDeleteSubscriptionParams() *IssueDeleteSubscriptionParams
- func NewIssueDeleteSubscriptionParamsWithContext(ctx context.Context) *IssueDeleteSubscriptionParams
- func NewIssueDeleteSubscriptionParamsWithHTTPClient(client *http.Client) *IssueDeleteSubscriptionParams
- func NewIssueDeleteSubscriptionParamsWithTimeout(timeout time.Duration) *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) SetContext(ctx context.Context)
- func (o *IssueDeleteSubscriptionParams) SetDefaults()
- func (o *IssueDeleteSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteSubscriptionParams) SetIndex(index int64)
- func (o *IssueDeleteSubscriptionParams) SetOwner(owner string)
- func (o *IssueDeleteSubscriptionParams) SetRepo(repo string)
- func (o *IssueDeleteSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteSubscriptionParams) SetUser(user string)
- func (o *IssueDeleteSubscriptionParams) WithContext(ctx context.Context) *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) WithDefaults() *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) WithHTTPClient(client *http.Client) *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) WithIndex(index int64) *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) WithOwner(owner string) *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) WithRepo(repo string) *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) WithTimeout(timeout time.Duration) *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) WithUser(user string) *IssueDeleteSubscriptionParams
- func (o *IssueDeleteSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteSubscriptionReader
- type IssueDeleteTimeBadRequest
- func (o *IssueDeleteTimeBadRequest) Code() int
- func (o *IssueDeleteTimeBadRequest) Error() string
- func (o *IssueDeleteTimeBadRequest) IsClientError() bool
- func (o *IssueDeleteTimeBadRequest) IsCode(code int) bool
- func (o *IssueDeleteTimeBadRequest) IsRedirect() bool
- func (o *IssueDeleteTimeBadRequest) IsServerError() bool
- func (o *IssueDeleteTimeBadRequest) IsSuccess() bool
- func (o *IssueDeleteTimeBadRequest) String() string
- type IssueDeleteTimeForbidden
- func (o *IssueDeleteTimeForbidden) Code() int
- func (o *IssueDeleteTimeForbidden) Error() string
- func (o *IssueDeleteTimeForbidden) IsClientError() bool
- func (o *IssueDeleteTimeForbidden) IsCode(code int) bool
- func (o *IssueDeleteTimeForbidden) IsRedirect() bool
- func (o *IssueDeleteTimeForbidden) IsServerError() bool
- func (o *IssueDeleteTimeForbidden) IsSuccess() bool
- func (o *IssueDeleteTimeForbidden) String() string
- type IssueDeleteTimeNoContent
- func (o *IssueDeleteTimeNoContent) Code() int
- func (o *IssueDeleteTimeNoContent) Error() string
- func (o *IssueDeleteTimeNoContent) IsClientError() bool
- func (o *IssueDeleteTimeNoContent) IsCode(code int) bool
- func (o *IssueDeleteTimeNoContent) IsRedirect() bool
- func (o *IssueDeleteTimeNoContent) IsServerError() bool
- func (o *IssueDeleteTimeNoContent) IsSuccess() bool
- func (o *IssueDeleteTimeNoContent) String() string
- type IssueDeleteTimeNotFound
- func (o *IssueDeleteTimeNotFound) Code() int
- func (o *IssueDeleteTimeNotFound) Error() string
- func (o *IssueDeleteTimeNotFound) IsClientError() bool
- func (o *IssueDeleteTimeNotFound) IsCode(code int) bool
- func (o *IssueDeleteTimeNotFound) IsRedirect() bool
- func (o *IssueDeleteTimeNotFound) IsServerError() bool
- func (o *IssueDeleteTimeNotFound) IsSuccess() bool
- func (o *IssueDeleteTimeNotFound) String() string
- type IssueDeleteTimeParams
- func NewIssueDeleteTimeParams() *IssueDeleteTimeParams
- func NewIssueDeleteTimeParamsWithContext(ctx context.Context) *IssueDeleteTimeParams
- func NewIssueDeleteTimeParamsWithHTTPClient(client *http.Client) *IssueDeleteTimeParams
- func NewIssueDeleteTimeParamsWithTimeout(timeout time.Duration) *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) SetContext(ctx context.Context)
- func (o *IssueDeleteTimeParams) SetDefaults()
- func (o *IssueDeleteTimeParams) SetHTTPClient(client *http.Client)
- func (o *IssueDeleteTimeParams) SetID(id int64)
- func (o *IssueDeleteTimeParams) SetIndex(index int64)
- func (o *IssueDeleteTimeParams) SetOwner(owner string)
- func (o *IssueDeleteTimeParams) SetRepo(repo string)
- func (o *IssueDeleteTimeParams) SetTimeout(timeout time.Duration)
- func (o *IssueDeleteTimeParams) WithContext(ctx context.Context) *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) WithDefaults() *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) WithHTTPClient(client *http.Client) *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) WithID(id int64) *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) WithIndex(index int64) *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) WithOwner(owner string) *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) WithRepo(repo string) *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) WithTimeout(timeout time.Duration) *IssueDeleteTimeParams
- func (o *IssueDeleteTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueDeleteTimeReader
- type IssueEditCommentDeprecatedForbidden
- func (o *IssueEditCommentDeprecatedForbidden) Code() int
- func (o *IssueEditCommentDeprecatedForbidden) Error() string
- func (o *IssueEditCommentDeprecatedForbidden) IsClientError() bool
- func (o *IssueEditCommentDeprecatedForbidden) IsCode(code int) bool
- func (o *IssueEditCommentDeprecatedForbidden) IsRedirect() bool
- func (o *IssueEditCommentDeprecatedForbidden) IsServerError() bool
- func (o *IssueEditCommentDeprecatedForbidden) IsSuccess() bool
- func (o *IssueEditCommentDeprecatedForbidden) String() string
- type IssueEditCommentDeprecatedNoContent
- func (o *IssueEditCommentDeprecatedNoContent) Code() int
- func (o *IssueEditCommentDeprecatedNoContent) Error() string
- func (o *IssueEditCommentDeprecatedNoContent) IsClientError() bool
- func (o *IssueEditCommentDeprecatedNoContent) IsCode(code int) bool
- func (o *IssueEditCommentDeprecatedNoContent) IsRedirect() bool
- func (o *IssueEditCommentDeprecatedNoContent) IsServerError() bool
- func (o *IssueEditCommentDeprecatedNoContent) IsSuccess() bool
- func (o *IssueEditCommentDeprecatedNoContent) String() string
- type IssueEditCommentDeprecatedNotFound
- func (o *IssueEditCommentDeprecatedNotFound) Code() int
- func (o *IssueEditCommentDeprecatedNotFound) Error() string
- func (o *IssueEditCommentDeprecatedNotFound) IsClientError() bool
- func (o *IssueEditCommentDeprecatedNotFound) IsCode(code int) bool
- func (o *IssueEditCommentDeprecatedNotFound) IsRedirect() bool
- func (o *IssueEditCommentDeprecatedNotFound) IsServerError() bool
- func (o *IssueEditCommentDeprecatedNotFound) IsSuccess() bool
- func (o *IssueEditCommentDeprecatedNotFound) String() string
- type IssueEditCommentDeprecatedOK
- func (o *IssueEditCommentDeprecatedOK) Code() int
- func (o *IssueEditCommentDeprecatedOK) Error() string
- func (o *IssueEditCommentDeprecatedOK) GetPayload() *models.Comment
- func (o *IssueEditCommentDeprecatedOK) IsClientError() bool
- func (o *IssueEditCommentDeprecatedOK) IsCode(code int) bool
- func (o *IssueEditCommentDeprecatedOK) IsRedirect() bool
- func (o *IssueEditCommentDeprecatedOK) IsServerError() bool
- func (o *IssueEditCommentDeprecatedOK) IsSuccess() bool
- func (o *IssueEditCommentDeprecatedOK) String() string
- type IssueEditCommentDeprecatedParams
- func NewIssueEditCommentDeprecatedParams() *IssueEditCommentDeprecatedParams
- func NewIssueEditCommentDeprecatedParamsWithContext(ctx context.Context) *IssueEditCommentDeprecatedParams
- func NewIssueEditCommentDeprecatedParamsWithHTTPClient(client *http.Client) *IssueEditCommentDeprecatedParams
- func NewIssueEditCommentDeprecatedParamsWithTimeout(timeout time.Duration) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) SetBody(body *models.EditIssueCommentOption)
- func (o *IssueEditCommentDeprecatedParams) SetContext(ctx context.Context)
- func (o *IssueEditCommentDeprecatedParams) SetDefaults()
- func (o *IssueEditCommentDeprecatedParams) SetHTTPClient(client *http.Client)
- func (o *IssueEditCommentDeprecatedParams) SetID(id int64)
- func (o *IssueEditCommentDeprecatedParams) SetIndex(index int64)
- func (o *IssueEditCommentDeprecatedParams) SetOwner(owner string)
- func (o *IssueEditCommentDeprecatedParams) SetRepo(repo string)
- func (o *IssueEditCommentDeprecatedParams) SetTimeout(timeout time.Duration)
- func (o *IssueEditCommentDeprecatedParams) WithBody(body *models.EditIssueCommentOption) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WithContext(ctx context.Context) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WithDefaults() *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WithHTTPClient(client *http.Client) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WithID(id int64) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WithIndex(index int64) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WithOwner(owner string) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WithRepo(repo string) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WithTimeout(timeout time.Duration) *IssueEditCommentDeprecatedParams
- func (o *IssueEditCommentDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueEditCommentDeprecatedReader
- type IssueEditCommentForbidden
- func (o *IssueEditCommentForbidden) Code() int
- func (o *IssueEditCommentForbidden) Error() string
- func (o *IssueEditCommentForbidden) IsClientError() bool
- func (o *IssueEditCommentForbidden) IsCode(code int) bool
- func (o *IssueEditCommentForbidden) IsRedirect() bool
- func (o *IssueEditCommentForbidden) IsServerError() bool
- func (o *IssueEditCommentForbidden) IsSuccess() bool
- func (o *IssueEditCommentForbidden) String() string
- type IssueEditCommentLocked
- func (o *IssueEditCommentLocked) Code() int
- func (o *IssueEditCommentLocked) Error() string
- func (o *IssueEditCommentLocked) IsClientError() bool
- func (o *IssueEditCommentLocked) IsCode(code int) bool
- func (o *IssueEditCommentLocked) IsRedirect() bool
- func (o *IssueEditCommentLocked) IsServerError() bool
- func (o *IssueEditCommentLocked) IsSuccess() bool
- func (o *IssueEditCommentLocked) String() string
- type IssueEditCommentNoContent
- func (o *IssueEditCommentNoContent) Code() int
- func (o *IssueEditCommentNoContent) Error() string
- func (o *IssueEditCommentNoContent) IsClientError() bool
- func (o *IssueEditCommentNoContent) IsCode(code int) bool
- func (o *IssueEditCommentNoContent) IsRedirect() bool
- func (o *IssueEditCommentNoContent) IsServerError() bool
- func (o *IssueEditCommentNoContent) IsSuccess() bool
- func (o *IssueEditCommentNoContent) String() string
- type IssueEditCommentNotFound
- func (o *IssueEditCommentNotFound) Code() int
- func (o *IssueEditCommentNotFound) Error() string
- func (o *IssueEditCommentNotFound) IsClientError() bool
- func (o *IssueEditCommentNotFound) IsCode(code int) bool
- func (o *IssueEditCommentNotFound) IsRedirect() bool
- func (o *IssueEditCommentNotFound) IsServerError() bool
- func (o *IssueEditCommentNotFound) IsSuccess() bool
- func (o *IssueEditCommentNotFound) String() string
- type IssueEditCommentOK
- func (o *IssueEditCommentOK) Code() int
- func (o *IssueEditCommentOK) Error() string
- func (o *IssueEditCommentOK) GetPayload() *models.Comment
- func (o *IssueEditCommentOK) IsClientError() bool
- func (o *IssueEditCommentOK) IsCode(code int) bool
- func (o *IssueEditCommentOK) IsRedirect() bool
- func (o *IssueEditCommentOK) IsServerError() bool
- func (o *IssueEditCommentOK) IsSuccess() bool
- func (o *IssueEditCommentOK) String() string
- type IssueEditCommentParams
- func NewIssueEditCommentParams() *IssueEditCommentParams
- func NewIssueEditCommentParamsWithContext(ctx context.Context) *IssueEditCommentParams
- func NewIssueEditCommentParamsWithHTTPClient(client *http.Client) *IssueEditCommentParams
- func NewIssueEditCommentParamsWithTimeout(timeout time.Duration) *IssueEditCommentParams
- func (o *IssueEditCommentParams) SetBody(body *models.EditIssueCommentOption)
- func (o *IssueEditCommentParams) SetContext(ctx context.Context)
- func (o *IssueEditCommentParams) SetDefaults()
- func (o *IssueEditCommentParams) SetHTTPClient(client *http.Client)
- func (o *IssueEditCommentParams) SetID(id int64)
- func (o *IssueEditCommentParams) SetOwner(owner string)
- func (o *IssueEditCommentParams) SetRepo(repo string)
- func (o *IssueEditCommentParams) SetTimeout(timeout time.Duration)
- func (o *IssueEditCommentParams) WithBody(body *models.EditIssueCommentOption) *IssueEditCommentParams
- func (o *IssueEditCommentParams) WithContext(ctx context.Context) *IssueEditCommentParams
- func (o *IssueEditCommentParams) WithDefaults() *IssueEditCommentParams
- func (o *IssueEditCommentParams) WithHTTPClient(client *http.Client) *IssueEditCommentParams
- func (o *IssueEditCommentParams) WithID(id int64) *IssueEditCommentParams
- func (o *IssueEditCommentParams) WithOwner(owner string) *IssueEditCommentParams
- func (o *IssueEditCommentParams) WithRepo(repo string) *IssueEditCommentParams
- func (o *IssueEditCommentParams) WithTimeout(timeout time.Duration) *IssueEditCommentParams
- func (o *IssueEditCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueEditCommentReader
- type IssueEditIssueAttachmentCreated
- func (o *IssueEditIssueAttachmentCreated) Code() int
- func (o *IssueEditIssueAttachmentCreated) Error() string
- func (o *IssueEditIssueAttachmentCreated) GetPayload() *models.Attachment
- func (o *IssueEditIssueAttachmentCreated) IsClientError() bool
- func (o *IssueEditIssueAttachmentCreated) IsCode(code int) bool
- func (o *IssueEditIssueAttachmentCreated) IsRedirect() bool
- func (o *IssueEditIssueAttachmentCreated) IsServerError() bool
- func (o *IssueEditIssueAttachmentCreated) IsSuccess() bool
- func (o *IssueEditIssueAttachmentCreated) String() string
- type IssueEditIssueAttachmentLocked
- func (o *IssueEditIssueAttachmentLocked) Code() int
- func (o *IssueEditIssueAttachmentLocked) Error() string
- func (o *IssueEditIssueAttachmentLocked) IsClientError() bool
- func (o *IssueEditIssueAttachmentLocked) IsCode(code int) bool
- func (o *IssueEditIssueAttachmentLocked) IsRedirect() bool
- func (o *IssueEditIssueAttachmentLocked) IsServerError() bool
- func (o *IssueEditIssueAttachmentLocked) IsSuccess() bool
- func (o *IssueEditIssueAttachmentLocked) String() string
- type IssueEditIssueAttachmentNotFound
- func (o *IssueEditIssueAttachmentNotFound) Code() int
- func (o *IssueEditIssueAttachmentNotFound) Error() string
- func (o *IssueEditIssueAttachmentNotFound) IsClientError() bool
- func (o *IssueEditIssueAttachmentNotFound) IsCode(code int) bool
- func (o *IssueEditIssueAttachmentNotFound) IsRedirect() bool
- func (o *IssueEditIssueAttachmentNotFound) IsServerError() bool
- func (o *IssueEditIssueAttachmentNotFound) IsSuccess() bool
- func (o *IssueEditIssueAttachmentNotFound) String() string
- type IssueEditIssueAttachmentParams
- func NewIssueEditIssueAttachmentParams() *IssueEditIssueAttachmentParams
- func NewIssueEditIssueAttachmentParamsWithContext(ctx context.Context) *IssueEditIssueAttachmentParams
- func NewIssueEditIssueAttachmentParamsWithHTTPClient(client *http.Client) *IssueEditIssueAttachmentParams
- func NewIssueEditIssueAttachmentParamsWithTimeout(timeout time.Duration) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) SetAttachmentID(attachmentID int64)
- func (o *IssueEditIssueAttachmentParams) SetBody(body *models.EditAttachmentOptions)
- func (o *IssueEditIssueAttachmentParams) SetContext(ctx context.Context)
- func (o *IssueEditIssueAttachmentParams) SetDefaults()
- func (o *IssueEditIssueAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *IssueEditIssueAttachmentParams) SetIndex(index int64)
- func (o *IssueEditIssueAttachmentParams) SetOwner(owner string)
- func (o *IssueEditIssueAttachmentParams) SetRepo(repo string)
- func (o *IssueEditIssueAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *IssueEditIssueAttachmentParams) WithAttachmentID(attachmentID int64) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WithBody(body *models.EditAttachmentOptions) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WithContext(ctx context.Context) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WithDefaults() *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WithHTTPClient(client *http.Client) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WithIndex(index int64) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WithOwner(owner string) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WithRepo(repo string) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WithTimeout(timeout time.Duration) *IssueEditIssueAttachmentParams
- func (o *IssueEditIssueAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueEditIssueAttachmentReader
- type IssueEditIssueCommentAttachmentCreated
- func (o *IssueEditIssueCommentAttachmentCreated) Code() int
- func (o *IssueEditIssueCommentAttachmentCreated) Error() string
- func (o *IssueEditIssueCommentAttachmentCreated) GetPayload() *models.Attachment
- func (o *IssueEditIssueCommentAttachmentCreated) IsClientError() bool
- func (o *IssueEditIssueCommentAttachmentCreated) IsCode(code int) bool
- func (o *IssueEditIssueCommentAttachmentCreated) IsRedirect() bool
- func (o *IssueEditIssueCommentAttachmentCreated) IsServerError() bool
- func (o *IssueEditIssueCommentAttachmentCreated) IsSuccess() bool
- func (o *IssueEditIssueCommentAttachmentCreated) String() string
- type IssueEditIssueCommentAttachmentLocked
- func (o *IssueEditIssueCommentAttachmentLocked) Code() int
- func (o *IssueEditIssueCommentAttachmentLocked) Error() string
- func (o *IssueEditIssueCommentAttachmentLocked) IsClientError() bool
- func (o *IssueEditIssueCommentAttachmentLocked) IsCode(code int) bool
- func (o *IssueEditIssueCommentAttachmentLocked) IsRedirect() bool
- func (o *IssueEditIssueCommentAttachmentLocked) IsServerError() bool
- func (o *IssueEditIssueCommentAttachmentLocked) IsSuccess() bool
- func (o *IssueEditIssueCommentAttachmentLocked) String() string
- type IssueEditIssueCommentAttachmentNotFound
- func (o *IssueEditIssueCommentAttachmentNotFound) Code() int
- func (o *IssueEditIssueCommentAttachmentNotFound) Error() string
- func (o *IssueEditIssueCommentAttachmentNotFound) IsClientError() bool
- func (o *IssueEditIssueCommentAttachmentNotFound) IsCode(code int) bool
- func (o *IssueEditIssueCommentAttachmentNotFound) IsRedirect() bool
- func (o *IssueEditIssueCommentAttachmentNotFound) IsServerError() bool
- func (o *IssueEditIssueCommentAttachmentNotFound) IsSuccess() bool
- func (o *IssueEditIssueCommentAttachmentNotFound) String() string
- type IssueEditIssueCommentAttachmentParams
- func NewIssueEditIssueCommentAttachmentParams() *IssueEditIssueCommentAttachmentParams
- func NewIssueEditIssueCommentAttachmentParamsWithContext(ctx context.Context) *IssueEditIssueCommentAttachmentParams
- func NewIssueEditIssueCommentAttachmentParamsWithHTTPClient(client *http.Client) *IssueEditIssueCommentAttachmentParams
- func NewIssueEditIssueCommentAttachmentParamsWithTimeout(timeout time.Duration) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) SetAttachmentID(attachmentID int64)
- func (o *IssueEditIssueCommentAttachmentParams) SetBody(body *models.EditAttachmentOptions)
- func (o *IssueEditIssueCommentAttachmentParams) SetContext(ctx context.Context)
- func (o *IssueEditIssueCommentAttachmentParams) SetDefaults()
- func (o *IssueEditIssueCommentAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *IssueEditIssueCommentAttachmentParams) SetID(id int64)
- func (o *IssueEditIssueCommentAttachmentParams) SetOwner(owner string)
- func (o *IssueEditIssueCommentAttachmentParams) SetRepo(repo string)
- func (o *IssueEditIssueCommentAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *IssueEditIssueCommentAttachmentParams) WithAttachmentID(attachmentID int64) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WithBody(body *models.EditAttachmentOptions) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WithContext(ctx context.Context) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WithDefaults() *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WithHTTPClient(client *http.Client) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WithID(id int64) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WithOwner(owner string) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WithRepo(repo string) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WithTimeout(timeout time.Duration) *IssueEditIssueCommentAttachmentParams
- func (o *IssueEditIssueCommentAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueEditIssueCommentAttachmentReader
- type IssueEditIssueCreated
- func (o *IssueEditIssueCreated) Code() int
- func (o *IssueEditIssueCreated) Error() string
- func (o *IssueEditIssueCreated) GetPayload() *models.Issue
- func (o *IssueEditIssueCreated) IsClientError() bool
- func (o *IssueEditIssueCreated) IsCode(code int) bool
- func (o *IssueEditIssueCreated) IsRedirect() bool
- func (o *IssueEditIssueCreated) IsServerError() bool
- func (o *IssueEditIssueCreated) IsSuccess() bool
- func (o *IssueEditIssueCreated) String() string
- type IssueEditIssueDeadlineCreated
- func (o *IssueEditIssueDeadlineCreated) Code() int
- func (o *IssueEditIssueDeadlineCreated) Error() string
- func (o *IssueEditIssueDeadlineCreated) GetPayload() *models.IssueDeadline
- func (o *IssueEditIssueDeadlineCreated) IsClientError() bool
- func (o *IssueEditIssueDeadlineCreated) IsCode(code int) bool
- func (o *IssueEditIssueDeadlineCreated) IsRedirect() bool
- func (o *IssueEditIssueDeadlineCreated) IsServerError() bool
- func (o *IssueEditIssueDeadlineCreated) IsSuccess() bool
- func (o *IssueEditIssueDeadlineCreated) String() string
- type IssueEditIssueDeadlineForbidden
- func (o *IssueEditIssueDeadlineForbidden) Code() int
- func (o *IssueEditIssueDeadlineForbidden) Error() string
- func (o *IssueEditIssueDeadlineForbidden) IsClientError() bool
- func (o *IssueEditIssueDeadlineForbidden) IsCode(code int) bool
- func (o *IssueEditIssueDeadlineForbidden) IsRedirect() bool
- func (o *IssueEditIssueDeadlineForbidden) IsServerError() bool
- func (o *IssueEditIssueDeadlineForbidden) IsSuccess() bool
- func (o *IssueEditIssueDeadlineForbidden) String() string
- type IssueEditIssueDeadlineNotFound
- func (o *IssueEditIssueDeadlineNotFound) Code() int
- func (o *IssueEditIssueDeadlineNotFound) Error() string
- func (o *IssueEditIssueDeadlineNotFound) IsClientError() bool
- func (o *IssueEditIssueDeadlineNotFound) IsCode(code int) bool
- func (o *IssueEditIssueDeadlineNotFound) IsRedirect() bool
- func (o *IssueEditIssueDeadlineNotFound) IsServerError() bool
- func (o *IssueEditIssueDeadlineNotFound) IsSuccess() bool
- func (o *IssueEditIssueDeadlineNotFound) String() string
- type IssueEditIssueDeadlineParams
- func NewIssueEditIssueDeadlineParams() *IssueEditIssueDeadlineParams
- func NewIssueEditIssueDeadlineParamsWithContext(ctx context.Context) *IssueEditIssueDeadlineParams
- func NewIssueEditIssueDeadlineParamsWithHTTPClient(client *http.Client) *IssueEditIssueDeadlineParams
- func NewIssueEditIssueDeadlineParamsWithTimeout(timeout time.Duration) *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) SetBody(body *models.EditDeadlineOption)
- func (o *IssueEditIssueDeadlineParams) SetContext(ctx context.Context)
- func (o *IssueEditIssueDeadlineParams) SetDefaults()
- func (o *IssueEditIssueDeadlineParams) SetHTTPClient(client *http.Client)
- func (o *IssueEditIssueDeadlineParams) SetIndex(index int64)
- func (o *IssueEditIssueDeadlineParams) SetOwner(owner string)
- func (o *IssueEditIssueDeadlineParams) SetRepo(repo string)
- func (o *IssueEditIssueDeadlineParams) SetTimeout(timeout time.Duration)
- func (o *IssueEditIssueDeadlineParams) WithBody(body *models.EditDeadlineOption) *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) WithContext(ctx context.Context) *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) WithDefaults() *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) WithHTTPClient(client *http.Client) *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) WithIndex(index int64) *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) WithOwner(owner string) *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) WithRepo(repo string) *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) WithTimeout(timeout time.Duration) *IssueEditIssueDeadlineParams
- func (o *IssueEditIssueDeadlineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueEditIssueDeadlineReader
- type IssueEditIssueForbidden
- func (o *IssueEditIssueForbidden) Code() int
- func (o *IssueEditIssueForbidden) Error() string
- func (o *IssueEditIssueForbidden) IsClientError() bool
- func (o *IssueEditIssueForbidden) IsCode(code int) bool
- func (o *IssueEditIssueForbidden) IsRedirect() bool
- func (o *IssueEditIssueForbidden) IsServerError() bool
- func (o *IssueEditIssueForbidden) IsSuccess() bool
- func (o *IssueEditIssueForbidden) String() string
- type IssueEditIssueNotFound
- func (o *IssueEditIssueNotFound) Code() int
- func (o *IssueEditIssueNotFound) Error() string
- func (o *IssueEditIssueNotFound) IsClientError() bool
- func (o *IssueEditIssueNotFound) IsCode(code int) bool
- func (o *IssueEditIssueNotFound) IsRedirect() bool
- func (o *IssueEditIssueNotFound) IsServerError() bool
- func (o *IssueEditIssueNotFound) IsSuccess() bool
- func (o *IssueEditIssueNotFound) String() string
- type IssueEditIssueParams
- func NewIssueEditIssueParams() *IssueEditIssueParams
- func NewIssueEditIssueParamsWithContext(ctx context.Context) *IssueEditIssueParams
- func NewIssueEditIssueParamsWithHTTPClient(client *http.Client) *IssueEditIssueParams
- func NewIssueEditIssueParamsWithTimeout(timeout time.Duration) *IssueEditIssueParams
- func (o *IssueEditIssueParams) SetBody(body *models.EditIssueOption)
- func (o *IssueEditIssueParams) SetContext(ctx context.Context)
- func (o *IssueEditIssueParams) SetDefaults()
- func (o *IssueEditIssueParams) SetHTTPClient(client *http.Client)
- func (o *IssueEditIssueParams) SetIndex(index int64)
- func (o *IssueEditIssueParams) SetOwner(owner string)
- func (o *IssueEditIssueParams) SetRepo(repo string)
- func (o *IssueEditIssueParams) SetTimeout(timeout time.Duration)
- func (o *IssueEditIssueParams) WithBody(body *models.EditIssueOption) *IssueEditIssueParams
- func (o *IssueEditIssueParams) WithContext(ctx context.Context) *IssueEditIssueParams
- func (o *IssueEditIssueParams) WithDefaults() *IssueEditIssueParams
- func (o *IssueEditIssueParams) WithHTTPClient(client *http.Client) *IssueEditIssueParams
- func (o *IssueEditIssueParams) WithIndex(index int64) *IssueEditIssueParams
- func (o *IssueEditIssueParams) WithOwner(owner string) *IssueEditIssueParams
- func (o *IssueEditIssueParams) WithRepo(repo string) *IssueEditIssueParams
- func (o *IssueEditIssueParams) WithTimeout(timeout time.Duration) *IssueEditIssueParams
- func (o *IssueEditIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueEditIssuePreconditionFailed
- func (o *IssueEditIssuePreconditionFailed) Code() int
- func (o *IssueEditIssuePreconditionFailed) Error() string
- func (o *IssueEditIssuePreconditionFailed) IsClientError() bool
- func (o *IssueEditIssuePreconditionFailed) IsCode(code int) bool
- func (o *IssueEditIssuePreconditionFailed) IsRedirect() bool
- func (o *IssueEditIssuePreconditionFailed) IsServerError() bool
- func (o *IssueEditIssuePreconditionFailed) IsSuccess() bool
- func (o *IssueEditIssuePreconditionFailed) String() string
- type IssueEditIssueReader
- type IssueEditLabelNotFound
- func (o *IssueEditLabelNotFound) Code() int
- func (o *IssueEditLabelNotFound) Error() string
- func (o *IssueEditLabelNotFound) IsClientError() bool
- func (o *IssueEditLabelNotFound) IsCode(code int) bool
- func (o *IssueEditLabelNotFound) IsRedirect() bool
- func (o *IssueEditLabelNotFound) IsServerError() bool
- func (o *IssueEditLabelNotFound) IsSuccess() bool
- func (o *IssueEditLabelNotFound) String() string
- type IssueEditLabelOK
- func (o *IssueEditLabelOK) Code() int
- func (o *IssueEditLabelOK) Error() string
- func (o *IssueEditLabelOK) GetPayload() *models.Label
- func (o *IssueEditLabelOK) IsClientError() bool
- func (o *IssueEditLabelOK) IsCode(code int) bool
- func (o *IssueEditLabelOK) IsRedirect() bool
- func (o *IssueEditLabelOK) IsServerError() bool
- func (o *IssueEditLabelOK) IsSuccess() bool
- func (o *IssueEditLabelOK) String() string
- type IssueEditLabelParams
- func NewIssueEditLabelParams() *IssueEditLabelParams
- func NewIssueEditLabelParamsWithContext(ctx context.Context) *IssueEditLabelParams
- func NewIssueEditLabelParamsWithHTTPClient(client *http.Client) *IssueEditLabelParams
- func NewIssueEditLabelParamsWithTimeout(timeout time.Duration) *IssueEditLabelParams
- func (o *IssueEditLabelParams) SetBody(body *models.EditLabelOption)
- func (o *IssueEditLabelParams) SetContext(ctx context.Context)
- func (o *IssueEditLabelParams) SetDefaults()
- func (o *IssueEditLabelParams) SetHTTPClient(client *http.Client)
- func (o *IssueEditLabelParams) SetID(id int64)
- func (o *IssueEditLabelParams) SetOwner(owner string)
- func (o *IssueEditLabelParams) SetRepo(repo string)
- func (o *IssueEditLabelParams) SetTimeout(timeout time.Duration)
- func (o *IssueEditLabelParams) WithBody(body *models.EditLabelOption) *IssueEditLabelParams
- func (o *IssueEditLabelParams) WithContext(ctx context.Context) *IssueEditLabelParams
- func (o *IssueEditLabelParams) WithDefaults() *IssueEditLabelParams
- func (o *IssueEditLabelParams) WithHTTPClient(client *http.Client) *IssueEditLabelParams
- func (o *IssueEditLabelParams) WithID(id int64) *IssueEditLabelParams
- func (o *IssueEditLabelParams) WithOwner(owner string) *IssueEditLabelParams
- func (o *IssueEditLabelParams) WithRepo(repo string) *IssueEditLabelParams
- func (o *IssueEditLabelParams) WithTimeout(timeout time.Duration) *IssueEditLabelParams
- func (o *IssueEditLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueEditLabelReader
- type IssueEditLabelUnprocessableEntity
- func (o *IssueEditLabelUnprocessableEntity) Code() int
- func (o *IssueEditLabelUnprocessableEntity) Error() string
- func (o *IssueEditLabelUnprocessableEntity) IsClientError() bool
- func (o *IssueEditLabelUnprocessableEntity) IsCode(code int) bool
- func (o *IssueEditLabelUnprocessableEntity) IsRedirect() bool
- func (o *IssueEditLabelUnprocessableEntity) IsServerError() bool
- func (o *IssueEditLabelUnprocessableEntity) IsSuccess() bool
- func (o *IssueEditLabelUnprocessableEntity) String() string
- type IssueEditMilestoneNotFound
- func (o *IssueEditMilestoneNotFound) Code() int
- func (o *IssueEditMilestoneNotFound) Error() string
- func (o *IssueEditMilestoneNotFound) IsClientError() bool
- func (o *IssueEditMilestoneNotFound) IsCode(code int) bool
- func (o *IssueEditMilestoneNotFound) IsRedirect() bool
- func (o *IssueEditMilestoneNotFound) IsServerError() bool
- func (o *IssueEditMilestoneNotFound) IsSuccess() bool
- func (o *IssueEditMilestoneNotFound) String() string
- type IssueEditMilestoneOK
- func (o *IssueEditMilestoneOK) Code() int
- func (o *IssueEditMilestoneOK) Error() string
- func (o *IssueEditMilestoneOK) GetPayload() *models.Milestone
- func (o *IssueEditMilestoneOK) IsClientError() bool
- func (o *IssueEditMilestoneOK) IsCode(code int) bool
- func (o *IssueEditMilestoneOK) IsRedirect() bool
- func (o *IssueEditMilestoneOK) IsServerError() bool
- func (o *IssueEditMilestoneOK) IsSuccess() bool
- func (o *IssueEditMilestoneOK) String() string
- type IssueEditMilestoneParams
- func NewIssueEditMilestoneParams() *IssueEditMilestoneParams
- func NewIssueEditMilestoneParamsWithContext(ctx context.Context) *IssueEditMilestoneParams
- func NewIssueEditMilestoneParamsWithHTTPClient(client *http.Client) *IssueEditMilestoneParams
- func NewIssueEditMilestoneParamsWithTimeout(timeout time.Duration) *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) SetBody(body *models.EditMilestoneOption)
- func (o *IssueEditMilestoneParams) SetContext(ctx context.Context)
- func (o *IssueEditMilestoneParams) SetDefaults()
- func (o *IssueEditMilestoneParams) SetHTTPClient(client *http.Client)
- func (o *IssueEditMilestoneParams) SetID(id string)
- func (o *IssueEditMilestoneParams) SetOwner(owner string)
- func (o *IssueEditMilestoneParams) SetRepo(repo string)
- func (o *IssueEditMilestoneParams) SetTimeout(timeout time.Duration)
- func (o *IssueEditMilestoneParams) WithBody(body *models.EditMilestoneOption) *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) WithContext(ctx context.Context) *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) WithDefaults() *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) WithHTTPClient(client *http.Client) *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) WithID(id string) *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) WithOwner(owner string) *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) WithRepo(repo string) *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) WithTimeout(timeout time.Duration) *IssueEditMilestoneParams
- func (o *IssueEditMilestoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueEditMilestoneReader
- type IssueGetCommentForbidden
- func (o *IssueGetCommentForbidden) Code() int
- func (o *IssueGetCommentForbidden) Error() string
- func (o *IssueGetCommentForbidden) IsClientError() bool
- func (o *IssueGetCommentForbidden) IsCode(code int) bool
- func (o *IssueGetCommentForbidden) IsRedirect() bool
- func (o *IssueGetCommentForbidden) IsServerError() bool
- func (o *IssueGetCommentForbidden) IsSuccess() bool
- func (o *IssueGetCommentForbidden) String() string
- type IssueGetCommentNoContent
- func (o *IssueGetCommentNoContent) Code() int
- func (o *IssueGetCommentNoContent) Error() string
- func (o *IssueGetCommentNoContent) IsClientError() bool
- func (o *IssueGetCommentNoContent) IsCode(code int) bool
- func (o *IssueGetCommentNoContent) IsRedirect() bool
- func (o *IssueGetCommentNoContent) IsServerError() bool
- func (o *IssueGetCommentNoContent) IsSuccess() bool
- func (o *IssueGetCommentNoContent) String() string
- type IssueGetCommentNotFound
- func (o *IssueGetCommentNotFound) Code() int
- func (o *IssueGetCommentNotFound) Error() string
- func (o *IssueGetCommentNotFound) IsClientError() bool
- func (o *IssueGetCommentNotFound) IsCode(code int) bool
- func (o *IssueGetCommentNotFound) IsRedirect() bool
- func (o *IssueGetCommentNotFound) IsServerError() bool
- func (o *IssueGetCommentNotFound) IsSuccess() bool
- func (o *IssueGetCommentNotFound) String() string
- type IssueGetCommentOK
- func (o *IssueGetCommentOK) Code() int
- func (o *IssueGetCommentOK) Error() string
- func (o *IssueGetCommentOK) GetPayload() *models.Comment
- func (o *IssueGetCommentOK) IsClientError() bool
- func (o *IssueGetCommentOK) IsCode(code int) bool
- func (o *IssueGetCommentOK) IsRedirect() bool
- func (o *IssueGetCommentOK) IsServerError() bool
- func (o *IssueGetCommentOK) IsSuccess() bool
- func (o *IssueGetCommentOK) String() string
- type IssueGetCommentParams
- func NewIssueGetCommentParams() *IssueGetCommentParams
- func NewIssueGetCommentParamsWithContext(ctx context.Context) *IssueGetCommentParams
- func NewIssueGetCommentParamsWithHTTPClient(client *http.Client) *IssueGetCommentParams
- func NewIssueGetCommentParamsWithTimeout(timeout time.Duration) *IssueGetCommentParams
- func (o *IssueGetCommentParams) SetContext(ctx context.Context)
- func (o *IssueGetCommentParams) SetDefaults()
- func (o *IssueGetCommentParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetCommentParams) SetID(id int64)
- func (o *IssueGetCommentParams) SetOwner(owner string)
- func (o *IssueGetCommentParams) SetRepo(repo string)
- func (o *IssueGetCommentParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetCommentParams) WithContext(ctx context.Context) *IssueGetCommentParams
- func (o *IssueGetCommentParams) WithDefaults() *IssueGetCommentParams
- func (o *IssueGetCommentParams) WithHTTPClient(client *http.Client) *IssueGetCommentParams
- func (o *IssueGetCommentParams) WithID(id int64) *IssueGetCommentParams
- func (o *IssueGetCommentParams) WithOwner(owner string) *IssueGetCommentParams
- func (o *IssueGetCommentParams) WithRepo(repo string) *IssueGetCommentParams
- func (o *IssueGetCommentParams) WithTimeout(timeout time.Duration) *IssueGetCommentParams
- func (o *IssueGetCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetCommentReactionsForbidden
- func (o *IssueGetCommentReactionsForbidden) Code() int
- func (o *IssueGetCommentReactionsForbidden) Error() string
- func (o *IssueGetCommentReactionsForbidden) IsClientError() bool
- func (o *IssueGetCommentReactionsForbidden) IsCode(code int) bool
- func (o *IssueGetCommentReactionsForbidden) IsRedirect() bool
- func (o *IssueGetCommentReactionsForbidden) IsServerError() bool
- func (o *IssueGetCommentReactionsForbidden) IsSuccess() bool
- func (o *IssueGetCommentReactionsForbidden) String() string
- type IssueGetCommentReactionsNotFound
- func (o *IssueGetCommentReactionsNotFound) Code() int
- func (o *IssueGetCommentReactionsNotFound) Error() string
- func (o *IssueGetCommentReactionsNotFound) IsClientError() bool
- func (o *IssueGetCommentReactionsNotFound) IsCode(code int) bool
- func (o *IssueGetCommentReactionsNotFound) IsRedirect() bool
- func (o *IssueGetCommentReactionsNotFound) IsServerError() bool
- func (o *IssueGetCommentReactionsNotFound) IsSuccess() bool
- func (o *IssueGetCommentReactionsNotFound) String() string
- type IssueGetCommentReactionsOK
- func (o *IssueGetCommentReactionsOK) Code() int
- func (o *IssueGetCommentReactionsOK) Error() string
- func (o *IssueGetCommentReactionsOK) GetPayload() []*models.Reaction
- func (o *IssueGetCommentReactionsOK) IsClientError() bool
- func (o *IssueGetCommentReactionsOK) IsCode(code int) bool
- func (o *IssueGetCommentReactionsOK) IsRedirect() bool
- func (o *IssueGetCommentReactionsOK) IsServerError() bool
- func (o *IssueGetCommentReactionsOK) IsSuccess() bool
- func (o *IssueGetCommentReactionsOK) String() string
- type IssueGetCommentReactionsParams
- func NewIssueGetCommentReactionsParams() *IssueGetCommentReactionsParams
- func NewIssueGetCommentReactionsParamsWithContext(ctx context.Context) *IssueGetCommentReactionsParams
- func NewIssueGetCommentReactionsParamsWithHTTPClient(client *http.Client) *IssueGetCommentReactionsParams
- func NewIssueGetCommentReactionsParamsWithTimeout(timeout time.Duration) *IssueGetCommentReactionsParams
- func (o *IssueGetCommentReactionsParams) SetContext(ctx context.Context)
- func (o *IssueGetCommentReactionsParams) SetDefaults()
- func (o *IssueGetCommentReactionsParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetCommentReactionsParams) SetID(id int64)
- func (o *IssueGetCommentReactionsParams) SetOwner(owner string)
- func (o *IssueGetCommentReactionsParams) SetRepo(repo string)
- func (o *IssueGetCommentReactionsParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetCommentReactionsParams) WithContext(ctx context.Context) *IssueGetCommentReactionsParams
- func (o *IssueGetCommentReactionsParams) WithDefaults() *IssueGetCommentReactionsParams
- func (o *IssueGetCommentReactionsParams) WithHTTPClient(client *http.Client) *IssueGetCommentReactionsParams
- func (o *IssueGetCommentReactionsParams) WithID(id int64) *IssueGetCommentReactionsParams
- func (o *IssueGetCommentReactionsParams) WithOwner(owner string) *IssueGetCommentReactionsParams
- func (o *IssueGetCommentReactionsParams) WithRepo(repo string) *IssueGetCommentReactionsParams
- func (o *IssueGetCommentReactionsParams) WithTimeout(timeout time.Duration) *IssueGetCommentReactionsParams
- func (o *IssueGetCommentReactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetCommentReactionsReader
- type IssueGetCommentReader
- type IssueGetCommentsAndTimelineNotFound
- func (o *IssueGetCommentsAndTimelineNotFound) Code() int
- func (o *IssueGetCommentsAndTimelineNotFound) Error() string
- func (o *IssueGetCommentsAndTimelineNotFound) IsClientError() bool
- func (o *IssueGetCommentsAndTimelineNotFound) IsCode(code int) bool
- func (o *IssueGetCommentsAndTimelineNotFound) IsRedirect() bool
- func (o *IssueGetCommentsAndTimelineNotFound) IsServerError() bool
- func (o *IssueGetCommentsAndTimelineNotFound) IsSuccess() bool
- func (o *IssueGetCommentsAndTimelineNotFound) String() string
- type IssueGetCommentsAndTimelineOK
- func (o *IssueGetCommentsAndTimelineOK) Code() int
- func (o *IssueGetCommentsAndTimelineOK) Error() string
- func (o *IssueGetCommentsAndTimelineOK) GetPayload() []*models.TimelineComment
- func (o *IssueGetCommentsAndTimelineOK) IsClientError() bool
- func (o *IssueGetCommentsAndTimelineOK) IsCode(code int) bool
- func (o *IssueGetCommentsAndTimelineOK) IsRedirect() bool
- func (o *IssueGetCommentsAndTimelineOK) IsServerError() bool
- func (o *IssueGetCommentsAndTimelineOK) IsSuccess() bool
- func (o *IssueGetCommentsAndTimelineOK) String() string
- type IssueGetCommentsAndTimelineParams
- func NewIssueGetCommentsAndTimelineParams() *IssueGetCommentsAndTimelineParams
- func NewIssueGetCommentsAndTimelineParamsWithContext(ctx context.Context) *IssueGetCommentsAndTimelineParams
- func NewIssueGetCommentsAndTimelineParamsWithHTTPClient(client *http.Client) *IssueGetCommentsAndTimelineParams
- func NewIssueGetCommentsAndTimelineParamsWithTimeout(timeout time.Duration) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) SetBefore(before *strfmt.DateTime)
- func (o *IssueGetCommentsAndTimelineParams) SetContext(ctx context.Context)
- func (o *IssueGetCommentsAndTimelineParams) SetDefaults()
- func (o *IssueGetCommentsAndTimelineParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetCommentsAndTimelineParams) SetIndex(index int64)
- func (o *IssueGetCommentsAndTimelineParams) SetLimit(limit *int64)
- func (o *IssueGetCommentsAndTimelineParams) SetOwner(owner string)
- func (o *IssueGetCommentsAndTimelineParams) SetPage(page *int64)
- func (o *IssueGetCommentsAndTimelineParams) SetRepo(repo string)
- func (o *IssueGetCommentsAndTimelineParams) SetSince(since *strfmt.DateTime)
- func (o *IssueGetCommentsAndTimelineParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetCommentsAndTimelineParams) WithBefore(before *strfmt.DateTime) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithContext(ctx context.Context) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithDefaults() *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithHTTPClient(client *http.Client) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithIndex(index int64) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithLimit(limit *int64) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithOwner(owner string) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithPage(page *int64) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithRepo(repo string) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithSince(since *strfmt.DateTime) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WithTimeout(timeout time.Duration) *IssueGetCommentsAndTimelineParams
- func (o *IssueGetCommentsAndTimelineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetCommentsAndTimelineReader
- type IssueGetCommentsNotFound
- func (o *IssueGetCommentsNotFound) Code() int
- func (o *IssueGetCommentsNotFound) Error() string
- func (o *IssueGetCommentsNotFound) IsClientError() bool
- func (o *IssueGetCommentsNotFound) IsCode(code int) bool
- func (o *IssueGetCommentsNotFound) IsRedirect() bool
- func (o *IssueGetCommentsNotFound) IsServerError() bool
- func (o *IssueGetCommentsNotFound) IsSuccess() bool
- func (o *IssueGetCommentsNotFound) String() string
- type IssueGetCommentsOK
- func (o *IssueGetCommentsOK) Code() int
- func (o *IssueGetCommentsOK) Error() string
- func (o *IssueGetCommentsOK) GetPayload() []*models.Comment
- func (o *IssueGetCommentsOK) IsClientError() bool
- func (o *IssueGetCommentsOK) IsCode(code int) bool
- func (o *IssueGetCommentsOK) IsRedirect() bool
- func (o *IssueGetCommentsOK) IsServerError() bool
- func (o *IssueGetCommentsOK) IsSuccess() bool
- func (o *IssueGetCommentsOK) String() string
- type IssueGetCommentsParams
- func NewIssueGetCommentsParams() *IssueGetCommentsParams
- func NewIssueGetCommentsParamsWithContext(ctx context.Context) *IssueGetCommentsParams
- func NewIssueGetCommentsParamsWithHTTPClient(client *http.Client) *IssueGetCommentsParams
- func NewIssueGetCommentsParamsWithTimeout(timeout time.Duration) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) SetBefore(before *strfmt.DateTime)
- func (o *IssueGetCommentsParams) SetContext(ctx context.Context)
- func (o *IssueGetCommentsParams) SetDefaults()
- func (o *IssueGetCommentsParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetCommentsParams) SetIndex(index int64)
- func (o *IssueGetCommentsParams) SetOwner(owner string)
- func (o *IssueGetCommentsParams) SetRepo(repo string)
- func (o *IssueGetCommentsParams) SetSince(since *strfmt.DateTime)
- func (o *IssueGetCommentsParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetCommentsParams) WithBefore(before *strfmt.DateTime) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WithContext(ctx context.Context) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WithDefaults() *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WithHTTPClient(client *http.Client) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WithIndex(index int64) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WithOwner(owner string) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WithRepo(repo string) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WithSince(since *strfmt.DateTime) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WithTimeout(timeout time.Duration) *IssueGetCommentsParams
- func (o *IssueGetCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetCommentsReader
- type IssueGetIssueAttachmentNotFound
- func (o *IssueGetIssueAttachmentNotFound) Code() int
- func (o *IssueGetIssueAttachmentNotFound) Error() string
- func (o *IssueGetIssueAttachmentNotFound) IsClientError() bool
- func (o *IssueGetIssueAttachmentNotFound) IsCode(code int) bool
- func (o *IssueGetIssueAttachmentNotFound) IsRedirect() bool
- func (o *IssueGetIssueAttachmentNotFound) IsServerError() bool
- func (o *IssueGetIssueAttachmentNotFound) IsSuccess() bool
- func (o *IssueGetIssueAttachmentNotFound) String() string
- type IssueGetIssueAttachmentOK
- func (o *IssueGetIssueAttachmentOK) Code() int
- func (o *IssueGetIssueAttachmentOK) Error() string
- func (o *IssueGetIssueAttachmentOK) GetPayload() *models.Attachment
- func (o *IssueGetIssueAttachmentOK) IsClientError() bool
- func (o *IssueGetIssueAttachmentOK) IsCode(code int) bool
- func (o *IssueGetIssueAttachmentOK) IsRedirect() bool
- func (o *IssueGetIssueAttachmentOK) IsServerError() bool
- func (o *IssueGetIssueAttachmentOK) IsSuccess() bool
- func (o *IssueGetIssueAttachmentOK) String() string
- type IssueGetIssueAttachmentParams
- func NewIssueGetIssueAttachmentParams() *IssueGetIssueAttachmentParams
- func NewIssueGetIssueAttachmentParamsWithContext(ctx context.Context) *IssueGetIssueAttachmentParams
- func NewIssueGetIssueAttachmentParamsWithHTTPClient(client *http.Client) *IssueGetIssueAttachmentParams
- func NewIssueGetIssueAttachmentParamsWithTimeout(timeout time.Duration) *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) SetAttachmentID(attachmentID int64)
- func (o *IssueGetIssueAttachmentParams) SetContext(ctx context.Context)
- func (o *IssueGetIssueAttachmentParams) SetDefaults()
- func (o *IssueGetIssueAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetIssueAttachmentParams) SetIndex(index int64)
- func (o *IssueGetIssueAttachmentParams) SetOwner(owner string)
- func (o *IssueGetIssueAttachmentParams) SetRepo(repo string)
- func (o *IssueGetIssueAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetIssueAttachmentParams) WithAttachmentID(attachmentID int64) *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) WithContext(ctx context.Context) *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) WithDefaults() *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) WithHTTPClient(client *http.Client) *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) WithIndex(index int64) *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) WithOwner(owner string) *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) WithRepo(repo string) *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) WithTimeout(timeout time.Duration) *IssueGetIssueAttachmentParams
- func (o *IssueGetIssueAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetIssueAttachmentReader
- type IssueGetIssueCommentAttachmentNotFound
- func (o *IssueGetIssueCommentAttachmentNotFound) Code() int
- func (o *IssueGetIssueCommentAttachmentNotFound) Error() string
- func (o *IssueGetIssueCommentAttachmentNotFound) IsClientError() bool
- func (o *IssueGetIssueCommentAttachmentNotFound) IsCode(code int) bool
- func (o *IssueGetIssueCommentAttachmentNotFound) IsRedirect() bool
- func (o *IssueGetIssueCommentAttachmentNotFound) IsServerError() bool
- func (o *IssueGetIssueCommentAttachmentNotFound) IsSuccess() bool
- func (o *IssueGetIssueCommentAttachmentNotFound) String() string
- type IssueGetIssueCommentAttachmentOK
- func (o *IssueGetIssueCommentAttachmentOK) Code() int
- func (o *IssueGetIssueCommentAttachmentOK) Error() string
- func (o *IssueGetIssueCommentAttachmentOK) GetPayload() *models.Attachment
- func (o *IssueGetIssueCommentAttachmentOK) IsClientError() bool
- func (o *IssueGetIssueCommentAttachmentOK) IsCode(code int) bool
- func (o *IssueGetIssueCommentAttachmentOK) IsRedirect() bool
- func (o *IssueGetIssueCommentAttachmentOK) IsServerError() bool
- func (o *IssueGetIssueCommentAttachmentOK) IsSuccess() bool
- func (o *IssueGetIssueCommentAttachmentOK) String() string
- type IssueGetIssueCommentAttachmentParams
- func NewIssueGetIssueCommentAttachmentParams() *IssueGetIssueCommentAttachmentParams
- func NewIssueGetIssueCommentAttachmentParamsWithContext(ctx context.Context) *IssueGetIssueCommentAttachmentParams
- func NewIssueGetIssueCommentAttachmentParamsWithHTTPClient(client *http.Client) *IssueGetIssueCommentAttachmentParams
- func NewIssueGetIssueCommentAttachmentParamsWithTimeout(timeout time.Duration) *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) SetAttachmentID(attachmentID int64)
- func (o *IssueGetIssueCommentAttachmentParams) SetContext(ctx context.Context)
- func (o *IssueGetIssueCommentAttachmentParams) SetDefaults()
- func (o *IssueGetIssueCommentAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetIssueCommentAttachmentParams) SetID(id int64)
- func (o *IssueGetIssueCommentAttachmentParams) SetOwner(owner string)
- func (o *IssueGetIssueCommentAttachmentParams) SetRepo(repo string)
- func (o *IssueGetIssueCommentAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetIssueCommentAttachmentParams) WithAttachmentID(attachmentID int64) *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) WithContext(ctx context.Context) *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) WithDefaults() *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) WithHTTPClient(client *http.Client) *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) WithID(id int64) *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) WithOwner(owner string) *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) WithRepo(repo string) *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) WithTimeout(timeout time.Duration) *IssueGetIssueCommentAttachmentParams
- func (o *IssueGetIssueCommentAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetIssueCommentAttachmentReader
- type IssueGetIssueNotFound
- func (o *IssueGetIssueNotFound) Code() int
- func (o *IssueGetIssueNotFound) Error() string
- func (o *IssueGetIssueNotFound) IsClientError() bool
- func (o *IssueGetIssueNotFound) IsCode(code int) bool
- func (o *IssueGetIssueNotFound) IsRedirect() bool
- func (o *IssueGetIssueNotFound) IsServerError() bool
- func (o *IssueGetIssueNotFound) IsSuccess() bool
- func (o *IssueGetIssueNotFound) String() string
- type IssueGetIssueOK
- func (o *IssueGetIssueOK) Code() int
- func (o *IssueGetIssueOK) Error() string
- func (o *IssueGetIssueOK) GetPayload() *models.Issue
- func (o *IssueGetIssueOK) IsClientError() bool
- func (o *IssueGetIssueOK) IsCode(code int) bool
- func (o *IssueGetIssueOK) IsRedirect() bool
- func (o *IssueGetIssueOK) IsServerError() bool
- func (o *IssueGetIssueOK) IsSuccess() bool
- func (o *IssueGetIssueOK) String() string
- type IssueGetIssueParams
- func (o *IssueGetIssueParams) SetContext(ctx context.Context)
- func (o *IssueGetIssueParams) SetDefaults()
- func (o *IssueGetIssueParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetIssueParams) SetIndex(index int64)
- func (o *IssueGetIssueParams) SetOwner(owner string)
- func (o *IssueGetIssueParams) SetRepo(repo string)
- func (o *IssueGetIssueParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetIssueParams) WithContext(ctx context.Context) *IssueGetIssueParams
- func (o *IssueGetIssueParams) WithDefaults() *IssueGetIssueParams
- func (o *IssueGetIssueParams) WithHTTPClient(client *http.Client) *IssueGetIssueParams
- func (o *IssueGetIssueParams) WithIndex(index int64) *IssueGetIssueParams
- func (o *IssueGetIssueParams) WithOwner(owner string) *IssueGetIssueParams
- func (o *IssueGetIssueParams) WithRepo(repo string) *IssueGetIssueParams
- func (o *IssueGetIssueParams) WithTimeout(timeout time.Duration) *IssueGetIssueParams
- func (o *IssueGetIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetIssueReactionsForbidden
- func (o *IssueGetIssueReactionsForbidden) Code() int
- func (o *IssueGetIssueReactionsForbidden) Error() string
- func (o *IssueGetIssueReactionsForbidden) IsClientError() bool
- func (o *IssueGetIssueReactionsForbidden) IsCode(code int) bool
- func (o *IssueGetIssueReactionsForbidden) IsRedirect() bool
- func (o *IssueGetIssueReactionsForbidden) IsServerError() bool
- func (o *IssueGetIssueReactionsForbidden) IsSuccess() bool
- func (o *IssueGetIssueReactionsForbidden) String() string
- type IssueGetIssueReactionsNotFound
- func (o *IssueGetIssueReactionsNotFound) Code() int
- func (o *IssueGetIssueReactionsNotFound) Error() string
- func (o *IssueGetIssueReactionsNotFound) IsClientError() bool
- func (o *IssueGetIssueReactionsNotFound) IsCode(code int) bool
- func (o *IssueGetIssueReactionsNotFound) IsRedirect() bool
- func (o *IssueGetIssueReactionsNotFound) IsServerError() bool
- func (o *IssueGetIssueReactionsNotFound) IsSuccess() bool
- func (o *IssueGetIssueReactionsNotFound) String() string
- type IssueGetIssueReactionsOK
- func (o *IssueGetIssueReactionsOK) Code() int
- func (o *IssueGetIssueReactionsOK) Error() string
- func (o *IssueGetIssueReactionsOK) GetPayload() []*models.Reaction
- func (o *IssueGetIssueReactionsOK) IsClientError() bool
- func (o *IssueGetIssueReactionsOK) IsCode(code int) bool
- func (o *IssueGetIssueReactionsOK) IsRedirect() bool
- func (o *IssueGetIssueReactionsOK) IsServerError() bool
- func (o *IssueGetIssueReactionsOK) IsSuccess() bool
- func (o *IssueGetIssueReactionsOK) String() string
- type IssueGetIssueReactionsParams
- func NewIssueGetIssueReactionsParams() *IssueGetIssueReactionsParams
- func NewIssueGetIssueReactionsParamsWithContext(ctx context.Context) *IssueGetIssueReactionsParams
- func NewIssueGetIssueReactionsParamsWithHTTPClient(client *http.Client) *IssueGetIssueReactionsParams
- func NewIssueGetIssueReactionsParamsWithTimeout(timeout time.Duration) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) SetContext(ctx context.Context)
- func (o *IssueGetIssueReactionsParams) SetDefaults()
- func (o *IssueGetIssueReactionsParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetIssueReactionsParams) SetIndex(index int64)
- func (o *IssueGetIssueReactionsParams) SetLimit(limit *int64)
- func (o *IssueGetIssueReactionsParams) SetOwner(owner string)
- func (o *IssueGetIssueReactionsParams) SetPage(page *int64)
- func (o *IssueGetIssueReactionsParams) SetRepo(repo string)
- func (o *IssueGetIssueReactionsParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetIssueReactionsParams) WithContext(ctx context.Context) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WithDefaults() *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WithHTTPClient(client *http.Client) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WithIndex(index int64) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WithLimit(limit *int64) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WithOwner(owner string) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WithPage(page *int64) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WithRepo(repo string) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WithTimeout(timeout time.Duration) *IssueGetIssueReactionsParams
- func (o *IssueGetIssueReactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetIssueReactionsReader
- type IssueGetIssueReader
- type IssueGetLabelNotFound
- func (o *IssueGetLabelNotFound) Code() int
- func (o *IssueGetLabelNotFound) Error() string
- func (o *IssueGetLabelNotFound) IsClientError() bool
- func (o *IssueGetLabelNotFound) IsCode(code int) bool
- func (o *IssueGetLabelNotFound) IsRedirect() bool
- func (o *IssueGetLabelNotFound) IsServerError() bool
- func (o *IssueGetLabelNotFound) IsSuccess() bool
- func (o *IssueGetLabelNotFound) String() string
- type IssueGetLabelOK
- func (o *IssueGetLabelOK) Code() int
- func (o *IssueGetLabelOK) Error() string
- func (o *IssueGetLabelOK) GetPayload() *models.Label
- func (o *IssueGetLabelOK) IsClientError() bool
- func (o *IssueGetLabelOK) IsCode(code int) bool
- func (o *IssueGetLabelOK) IsRedirect() bool
- func (o *IssueGetLabelOK) IsServerError() bool
- func (o *IssueGetLabelOK) IsSuccess() bool
- func (o *IssueGetLabelOK) String() string
- type IssueGetLabelParams
- func (o *IssueGetLabelParams) SetContext(ctx context.Context)
- func (o *IssueGetLabelParams) SetDefaults()
- func (o *IssueGetLabelParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetLabelParams) SetID(id int64)
- func (o *IssueGetLabelParams) SetOwner(owner string)
- func (o *IssueGetLabelParams) SetRepo(repo string)
- func (o *IssueGetLabelParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetLabelParams) WithContext(ctx context.Context) *IssueGetLabelParams
- func (o *IssueGetLabelParams) WithDefaults() *IssueGetLabelParams
- func (o *IssueGetLabelParams) WithHTTPClient(client *http.Client) *IssueGetLabelParams
- func (o *IssueGetLabelParams) WithID(id int64) *IssueGetLabelParams
- func (o *IssueGetLabelParams) WithOwner(owner string) *IssueGetLabelParams
- func (o *IssueGetLabelParams) WithRepo(repo string) *IssueGetLabelParams
- func (o *IssueGetLabelParams) WithTimeout(timeout time.Duration) *IssueGetLabelParams
- func (o *IssueGetLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetLabelReader
- type IssueGetLabelsNotFound
- func (o *IssueGetLabelsNotFound) Code() int
- func (o *IssueGetLabelsNotFound) Error() string
- func (o *IssueGetLabelsNotFound) IsClientError() bool
- func (o *IssueGetLabelsNotFound) IsCode(code int) bool
- func (o *IssueGetLabelsNotFound) IsRedirect() bool
- func (o *IssueGetLabelsNotFound) IsServerError() bool
- func (o *IssueGetLabelsNotFound) IsSuccess() bool
- func (o *IssueGetLabelsNotFound) String() string
- type IssueGetLabelsOK
- func (o *IssueGetLabelsOK) Code() int
- func (o *IssueGetLabelsOK) Error() string
- func (o *IssueGetLabelsOK) GetPayload() []*models.Label
- func (o *IssueGetLabelsOK) IsClientError() bool
- func (o *IssueGetLabelsOK) IsCode(code int) bool
- func (o *IssueGetLabelsOK) IsRedirect() bool
- func (o *IssueGetLabelsOK) IsServerError() bool
- func (o *IssueGetLabelsOK) IsSuccess() bool
- func (o *IssueGetLabelsOK) String() string
- type IssueGetLabelsParams
- func NewIssueGetLabelsParams() *IssueGetLabelsParams
- func NewIssueGetLabelsParamsWithContext(ctx context.Context) *IssueGetLabelsParams
- func NewIssueGetLabelsParamsWithHTTPClient(client *http.Client) *IssueGetLabelsParams
- func NewIssueGetLabelsParamsWithTimeout(timeout time.Duration) *IssueGetLabelsParams
- func (o *IssueGetLabelsParams) SetContext(ctx context.Context)
- func (o *IssueGetLabelsParams) SetDefaults()
- func (o *IssueGetLabelsParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetLabelsParams) SetIndex(index int64)
- func (o *IssueGetLabelsParams) SetOwner(owner string)
- func (o *IssueGetLabelsParams) SetRepo(repo string)
- func (o *IssueGetLabelsParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetLabelsParams) WithContext(ctx context.Context) *IssueGetLabelsParams
- func (o *IssueGetLabelsParams) WithDefaults() *IssueGetLabelsParams
- func (o *IssueGetLabelsParams) WithHTTPClient(client *http.Client) *IssueGetLabelsParams
- func (o *IssueGetLabelsParams) WithIndex(index int64) *IssueGetLabelsParams
- func (o *IssueGetLabelsParams) WithOwner(owner string) *IssueGetLabelsParams
- func (o *IssueGetLabelsParams) WithRepo(repo string) *IssueGetLabelsParams
- func (o *IssueGetLabelsParams) WithTimeout(timeout time.Duration) *IssueGetLabelsParams
- func (o *IssueGetLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetLabelsReader
- type IssueGetMilestoneNotFound
- func (o *IssueGetMilestoneNotFound) Code() int
- func (o *IssueGetMilestoneNotFound) Error() string
- func (o *IssueGetMilestoneNotFound) IsClientError() bool
- func (o *IssueGetMilestoneNotFound) IsCode(code int) bool
- func (o *IssueGetMilestoneNotFound) IsRedirect() bool
- func (o *IssueGetMilestoneNotFound) IsServerError() bool
- func (o *IssueGetMilestoneNotFound) IsSuccess() bool
- func (o *IssueGetMilestoneNotFound) String() string
- type IssueGetMilestoneOK
- func (o *IssueGetMilestoneOK) Code() int
- func (o *IssueGetMilestoneOK) Error() string
- func (o *IssueGetMilestoneOK) GetPayload() *models.Milestone
- func (o *IssueGetMilestoneOK) IsClientError() bool
- func (o *IssueGetMilestoneOK) IsCode(code int) bool
- func (o *IssueGetMilestoneOK) IsRedirect() bool
- func (o *IssueGetMilestoneOK) IsServerError() bool
- func (o *IssueGetMilestoneOK) IsSuccess() bool
- func (o *IssueGetMilestoneOK) String() string
- type IssueGetMilestoneParams
- func NewIssueGetMilestoneParams() *IssueGetMilestoneParams
- func NewIssueGetMilestoneParamsWithContext(ctx context.Context) *IssueGetMilestoneParams
- func NewIssueGetMilestoneParamsWithHTTPClient(client *http.Client) *IssueGetMilestoneParams
- func NewIssueGetMilestoneParamsWithTimeout(timeout time.Duration) *IssueGetMilestoneParams
- func (o *IssueGetMilestoneParams) SetContext(ctx context.Context)
- func (o *IssueGetMilestoneParams) SetDefaults()
- func (o *IssueGetMilestoneParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetMilestoneParams) SetID(id string)
- func (o *IssueGetMilestoneParams) SetOwner(owner string)
- func (o *IssueGetMilestoneParams) SetRepo(repo string)
- func (o *IssueGetMilestoneParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetMilestoneParams) WithContext(ctx context.Context) *IssueGetMilestoneParams
- func (o *IssueGetMilestoneParams) WithDefaults() *IssueGetMilestoneParams
- func (o *IssueGetMilestoneParams) WithHTTPClient(client *http.Client) *IssueGetMilestoneParams
- func (o *IssueGetMilestoneParams) WithID(id string) *IssueGetMilestoneParams
- func (o *IssueGetMilestoneParams) WithOwner(owner string) *IssueGetMilestoneParams
- func (o *IssueGetMilestoneParams) WithRepo(repo string) *IssueGetMilestoneParams
- func (o *IssueGetMilestoneParams) WithTimeout(timeout time.Duration) *IssueGetMilestoneParams
- func (o *IssueGetMilestoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetMilestoneReader
- type IssueGetMilestonesListNotFound
- func (o *IssueGetMilestonesListNotFound) Code() int
- func (o *IssueGetMilestonesListNotFound) Error() string
- func (o *IssueGetMilestonesListNotFound) IsClientError() bool
- func (o *IssueGetMilestonesListNotFound) IsCode(code int) bool
- func (o *IssueGetMilestonesListNotFound) IsRedirect() bool
- func (o *IssueGetMilestonesListNotFound) IsServerError() bool
- func (o *IssueGetMilestonesListNotFound) IsSuccess() bool
- func (o *IssueGetMilestonesListNotFound) String() string
- type IssueGetMilestonesListOK
- func (o *IssueGetMilestonesListOK) Code() int
- func (o *IssueGetMilestonesListOK) Error() string
- func (o *IssueGetMilestonesListOK) GetPayload() []*models.Milestone
- func (o *IssueGetMilestonesListOK) IsClientError() bool
- func (o *IssueGetMilestonesListOK) IsCode(code int) bool
- func (o *IssueGetMilestonesListOK) IsRedirect() bool
- func (o *IssueGetMilestonesListOK) IsServerError() bool
- func (o *IssueGetMilestonesListOK) IsSuccess() bool
- func (o *IssueGetMilestonesListOK) String() string
- type IssueGetMilestonesListParams
- func NewIssueGetMilestonesListParams() *IssueGetMilestonesListParams
- func NewIssueGetMilestonesListParamsWithContext(ctx context.Context) *IssueGetMilestonesListParams
- func NewIssueGetMilestonesListParamsWithHTTPClient(client *http.Client) *IssueGetMilestonesListParams
- func NewIssueGetMilestonesListParamsWithTimeout(timeout time.Duration) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) SetContext(ctx context.Context)
- func (o *IssueGetMilestonesListParams) SetDefaults()
- func (o *IssueGetMilestonesListParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetMilestonesListParams) SetLimit(limit *int64)
- func (o *IssueGetMilestonesListParams) SetName(name *string)
- func (o *IssueGetMilestonesListParams) SetOwner(owner string)
- func (o *IssueGetMilestonesListParams) SetPage(page *int64)
- func (o *IssueGetMilestonesListParams) SetRepo(repo string)
- func (o *IssueGetMilestonesListParams) SetState(state *string)
- func (o *IssueGetMilestonesListParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetMilestonesListParams) WithContext(ctx context.Context) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithDefaults() *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithHTTPClient(client *http.Client) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithLimit(limit *int64) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithName(name *string) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithOwner(owner string) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithPage(page *int64) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithRepo(repo string) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithState(state *string) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WithTimeout(timeout time.Duration) *IssueGetMilestonesListParams
- func (o *IssueGetMilestonesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetMilestonesListReader
- type IssueGetRepoCommentsNotFound
- func (o *IssueGetRepoCommentsNotFound) Code() int
- func (o *IssueGetRepoCommentsNotFound) Error() string
- func (o *IssueGetRepoCommentsNotFound) IsClientError() bool
- func (o *IssueGetRepoCommentsNotFound) IsCode(code int) bool
- func (o *IssueGetRepoCommentsNotFound) IsRedirect() bool
- func (o *IssueGetRepoCommentsNotFound) IsServerError() bool
- func (o *IssueGetRepoCommentsNotFound) IsSuccess() bool
- func (o *IssueGetRepoCommentsNotFound) String() string
- type IssueGetRepoCommentsOK
- func (o *IssueGetRepoCommentsOK) Code() int
- func (o *IssueGetRepoCommentsOK) Error() string
- func (o *IssueGetRepoCommentsOK) GetPayload() []*models.Comment
- func (o *IssueGetRepoCommentsOK) IsClientError() bool
- func (o *IssueGetRepoCommentsOK) IsCode(code int) bool
- func (o *IssueGetRepoCommentsOK) IsRedirect() bool
- func (o *IssueGetRepoCommentsOK) IsServerError() bool
- func (o *IssueGetRepoCommentsOK) IsSuccess() bool
- func (o *IssueGetRepoCommentsOK) String() string
- type IssueGetRepoCommentsParams
- func NewIssueGetRepoCommentsParams() *IssueGetRepoCommentsParams
- func NewIssueGetRepoCommentsParamsWithContext(ctx context.Context) *IssueGetRepoCommentsParams
- func NewIssueGetRepoCommentsParamsWithHTTPClient(client *http.Client) *IssueGetRepoCommentsParams
- func NewIssueGetRepoCommentsParamsWithTimeout(timeout time.Duration) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) SetBefore(before *strfmt.DateTime)
- func (o *IssueGetRepoCommentsParams) SetContext(ctx context.Context)
- func (o *IssueGetRepoCommentsParams) SetDefaults()
- func (o *IssueGetRepoCommentsParams) SetHTTPClient(client *http.Client)
- func (o *IssueGetRepoCommentsParams) SetLimit(limit *int64)
- func (o *IssueGetRepoCommentsParams) SetOwner(owner string)
- func (o *IssueGetRepoCommentsParams) SetPage(page *int64)
- func (o *IssueGetRepoCommentsParams) SetRepo(repo string)
- func (o *IssueGetRepoCommentsParams) SetSince(since *strfmt.DateTime)
- func (o *IssueGetRepoCommentsParams) SetTimeout(timeout time.Duration)
- func (o *IssueGetRepoCommentsParams) WithBefore(before *strfmt.DateTime) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithContext(ctx context.Context) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithDefaults() *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithHTTPClient(client *http.Client) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithLimit(limit *int64) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithOwner(owner string) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithPage(page *int64) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithRepo(repo string) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithSince(since *strfmt.DateTime) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WithTimeout(timeout time.Duration) *IssueGetRepoCommentsParams
- func (o *IssueGetRepoCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueGetRepoCommentsReader
- type IssueListBlocksNotFound
- func (o *IssueListBlocksNotFound) Code() int
- func (o *IssueListBlocksNotFound) Error() string
- func (o *IssueListBlocksNotFound) IsClientError() bool
- func (o *IssueListBlocksNotFound) IsCode(code int) bool
- func (o *IssueListBlocksNotFound) IsRedirect() bool
- func (o *IssueListBlocksNotFound) IsServerError() bool
- func (o *IssueListBlocksNotFound) IsSuccess() bool
- func (o *IssueListBlocksNotFound) String() string
- type IssueListBlocksOK
- func (o *IssueListBlocksOK) Code() int
- func (o *IssueListBlocksOK) Error() string
- func (o *IssueListBlocksOK) GetPayload() []*models.Issue
- func (o *IssueListBlocksOK) IsClientError() bool
- func (o *IssueListBlocksOK) IsCode(code int) bool
- func (o *IssueListBlocksOK) IsRedirect() bool
- func (o *IssueListBlocksOK) IsServerError() bool
- func (o *IssueListBlocksOK) IsSuccess() bool
- func (o *IssueListBlocksOK) String() string
- type IssueListBlocksParams
- func NewIssueListBlocksParams() *IssueListBlocksParams
- func NewIssueListBlocksParamsWithContext(ctx context.Context) *IssueListBlocksParams
- func NewIssueListBlocksParamsWithHTTPClient(client *http.Client) *IssueListBlocksParams
- func NewIssueListBlocksParamsWithTimeout(timeout time.Duration) *IssueListBlocksParams
- func (o *IssueListBlocksParams) SetContext(ctx context.Context)
- func (o *IssueListBlocksParams) SetDefaults()
- func (o *IssueListBlocksParams) SetHTTPClient(client *http.Client)
- func (o *IssueListBlocksParams) SetIndex(index string)
- func (o *IssueListBlocksParams) SetLimit(limit *int64)
- func (o *IssueListBlocksParams) SetOwner(owner string)
- func (o *IssueListBlocksParams) SetPage(page *int64)
- func (o *IssueListBlocksParams) SetRepo(repo string)
- func (o *IssueListBlocksParams) SetTimeout(timeout time.Duration)
- func (o *IssueListBlocksParams) WithContext(ctx context.Context) *IssueListBlocksParams
- func (o *IssueListBlocksParams) WithDefaults() *IssueListBlocksParams
- func (o *IssueListBlocksParams) WithHTTPClient(client *http.Client) *IssueListBlocksParams
- func (o *IssueListBlocksParams) WithIndex(index string) *IssueListBlocksParams
- func (o *IssueListBlocksParams) WithLimit(limit *int64) *IssueListBlocksParams
- func (o *IssueListBlocksParams) WithOwner(owner string) *IssueListBlocksParams
- func (o *IssueListBlocksParams) WithPage(page *int64) *IssueListBlocksParams
- func (o *IssueListBlocksParams) WithRepo(repo string) *IssueListBlocksParams
- func (o *IssueListBlocksParams) WithTimeout(timeout time.Duration) *IssueListBlocksParams
- func (o *IssueListBlocksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueListBlocksReader
- type IssueListIssueAttachmentsNotFound
- func (o *IssueListIssueAttachmentsNotFound) Code() int
- func (o *IssueListIssueAttachmentsNotFound) Error() string
- func (o *IssueListIssueAttachmentsNotFound) IsClientError() bool
- func (o *IssueListIssueAttachmentsNotFound) IsCode(code int) bool
- func (o *IssueListIssueAttachmentsNotFound) IsRedirect() bool
- func (o *IssueListIssueAttachmentsNotFound) IsServerError() bool
- func (o *IssueListIssueAttachmentsNotFound) IsSuccess() bool
- func (o *IssueListIssueAttachmentsNotFound) String() string
- type IssueListIssueAttachmentsOK
- func (o *IssueListIssueAttachmentsOK) Code() int
- func (o *IssueListIssueAttachmentsOK) Error() string
- func (o *IssueListIssueAttachmentsOK) GetPayload() []*models.Attachment
- func (o *IssueListIssueAttachmentsOK) IsClientError() bool
- func (o *IssueListIssueAttachmentsOK) IsCode(code int) bool
- func (o *IssueListIssueAttachmentsOK) IsRedirect() bool
- func (o *IssueListIssueAttachmentsOK) IsServerError() bool
- func (o *IssueListIssueAttachmentsOK) IsSuccess() bool
- func (o *IssueListIssueAttachmentsOK) String() string
- type IssueListIssueAttachmentsParams
- func NewIssueListIssueAttachmentsParams() *IssueListIssueAttachmentsParams
- func NewIssueListIssueAttachmentsParamsWithContext(ctx context.Context) *IssueListIssueAttachmentsParams
- func NewIssueListIssueAttachmentsParamsWithHTTPClient(client *http.Client) *IssueListIssueAttachmentsParams
- func NewIssueListIssueAttachmentsParamsWithTimeout(timeout time.Duration) *IssueListIssueAttachmentsParams
- func (o *IssueListIssueAttachmentsParams) SetContext(ctx context.Context)
- func (o *IssueListIssueAttachmentsParams) SetDefaults()
- func (o *IssueListIssueAttachmentsParams) SetHTTPClient(client *http.Client)
- func (o *IssueListIssueAttachmentsParams) SetIndex(index int64)
- func (o *IssueListIssueAttachmentsParams) SetOwner(owner string)
- func (o *IssueListIssueAttachmentsParams) SetRepo(repo string)
- func (o *IssueListIssueAttachmentsParams) SetTimeout(timeout time.Duration)
- func (o *IssueListIssueAttachmentsParams) WithContext(ctx context.Context) *IssueListIssueAttachmentsParams
- func (o *IssueListIssueAttachmentsParams) WithDefaults() *IssueListIssueAttachmentsParams
- func (o *IssueListIssueAttachmentsParams) WithHTTPClient(client *http.Client) *IssueListIssueAttachmentsParams
- func (o *IssueListIssueAttachmentsParams) WithIndex(index int64) *IssueListIssueAttachmentsParams
- func (o *IssueListIssueAttachmentsParams) WithOwner(owner string) *IssueListIssueAttachmentsParams
- func (o *IssueListIssueAttachmentsParams) WithRepo(repo string) *IssueListIssueAttachmentsParams
- func (o *IssueListIssueAttachmentsParams) WithTimeout(timeout time.Duration) *IssueListIssueAttachmentsParams
- func (o *IssueListIssueAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueListIssueAttachmentsReader
- type IssueListIssueCommentAttachmentsNotFound
- func (o *IssueListIssueCommentAttachmentsNotFound) Code() int
- func (o *IssueListIssueCommentAttachmentsNotFound) Error() string
- func (o *IssueListIssueCommentAttachmentsNotFound) IsClientError() bool
- func (o *IssueListIssueCommentAttachmentsNotFound) IsCode(code int) bool
- func (o *IssueListIssueCommentAttachmentsNotFound) IsRedirect() bool
- func (o *IssueListIssueCommentAttachmentsNotFound) IsServerError() bool
- func (o *IssueListIssueCommentAttachmentsNotFound) IsSuccess() bool
- func (o *IssueListIssueCommentAttachmentsNotFound) String() string
- type IssueListIssueCommentAttachmentsOK
- func (o *IssueListIssueCommentAttachmentsOK) Code() int
- func (o *IssueListIssueCommentAttachmentsOK) Error() string
- func (o *IssueListIssueCommentAttachmentsOK) GetPayload() []*models.Attachment
- func (o *IssueListIssueCommentAttachmentsOK) IsClientError() bool
- func (o *IssueListIssueCommentAttachmentsOK) IsCode(code int) bool
- func (o *IssueListIssueCommentAttachmentsOK) IsRedirect() bool
- func (o *IssueListIssueCommentAttachmentsOK) IsServerError() bool
- func (o *IssueListIssueCommentAttachmentsOK) IsSuccess() bool
- func (o *IssueListIssueCommentAttachmentsOK) String() string
- type IssueListIssueCommentAttachmentsParams
- func NewIssueListIssueCommentAttachmentsParams() *IssueListIssueCommentAttachmentsParams
- func NewIssueListIssueCommentAttachmentsParamsWithContext(ctx context.Context) *IssueListIssueCommentAttachmentsParams
- func NewIssueListIssueCommentAttachmentsParamsWithHTTPClient(client *http.Client) *IssueListIssueCommentAttachmentsParams
- func NewIssueListIssueCommentAttachmentsParamsWithTimeout(timeout time.Duration) *IssueListIssueCommentAttachmentsParams
- func (o *IssueListIssueCommentAttachmentsParams) SetContext(ctx context.Context)
- func (o *IssueListIssueCommentAttachmentsParams) SetDefaults()
- func (o *IssueListIssueCommentAttachmentsParams) SetHTTPClient(client *http.Client)
- func (o *IssueListIssueCommentAttachmentsParams) SetID(id int64)
- func (o *IssueListIssueCommentAttachmentsParams) SetOwner(owner string)
- func (o *IssueListIssueCommentAttachmentsParams) SetRepo(repo string)
- func (o *IssueListIssueCommentAttachmentsParams) SetTimeout(timeout time.Duration)
- func (o *IssueListIssueCommentAttachmentsParams) WithContext(ctx context.Context) *IssueListIssueCommentAttachmentsParams
- func (o *IssueListIssueCommentAttachmentsParams) WithDefaults() *IssueListIssueCommentAttachmentsParams
- func (o *IssueListIssueCommentAttachmentsParams) WithHTTPClient(client *http.Client) *IssueListIssueCommentAttachmentsParams
- func (o *IssueListIssueCommentAttachmentsParams) WithID(id int64) *IssueListIssueCommentAttachmentsParams
- func (o *IssueListIssueCommentAttachmentsParams) WithOwner(owner string) *IssueListIssueCommentAttachmentsParams
- func (o *IssueListIssueCommentAttachmentsParams) WithRepo(repo string) *IssueListIssueCommentAttachmentsParams
- func (o *IssueListIssueCommentAttachmentsParams) WithTimeout(timeout time.Duration) *IssueListIssueCommentAttachmentsParams
- func (o *IssueListIssueCommentAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueListIssueCommentAttachmentsReader
- type IssueListIssueDependenciesNotFound
- func (o *IssueListIssueDependenciesNotFound) Code() int
- func (o *IssueListIssueDependenciesNotFound) Error() string
- func (o *IssueListIssueDependenciesNotFound) IsClientError() bool
- func (o *IssueListIssueDependenciesNotFound) IsCode(code int) bool
- func (o *IssueListIssueDependenciesNotFound) IsRedirect() bool
- func (o *IssueListIssueDependenciesNotFound) IsServerError() bool
- func (o *IssueListIssueDependenciesNotFound) IsSuccess() bool
- func (o *IssueListIssueDependenciesNotFound) String() string
- type IssueListIssueDependenciesOK
- func (o *IssueListIssueDependenciesOK) Code() int
- func (o *IssueListIssueDependenciesOK) Error() string
- func (o *IssueListIssueDependenciesOK) GetPayload() []*models.Issue
- func (o *IssueListIssueDependenciesOK) IsClientError() bool
- func (o *IssueListIssueDependenciesOK) IsCode(code int) bool
- func (o *IssueListIssueDependenciesOK) IsRedirect() bool
- func (o *IssueListIssueDependenciesOK) IsServerError() bool
- func (o *IssueListIssueDependenciesOK) IsSuccess() bool
- func (o *IssueListIssueDependenciesOK) String() string
- type IssueListIssueDependenciesParams
- func NewIssueListIssueDependenciesParams() *IssueListIssueDependenciesParams
- func NewIssueListIssueDependenciesParamsWithContext(ctx context.Context) *IssueListIssueDependenciesParams
- func NewIssueListIssueDependenciesParamsWithHTTPClient(client *http.Client) *IssueListIssueDependenciesParams
- func NewIssueListIssueDependenciesParamsWithTimeout(timeout time.Duration) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) SetContext(ctx context.Context)
- func (o *IssueListIssueDependenciesParams) SetDefaults()
- func (o *IssueListIssueDependenciesParams) SetHTTPClient(client *http.Client)
- func (o *IssueListIssueDependenciesParams) SetIndex(index string)
- func (o *IssueListIssueDependenciesParams) SetLimit(limit *int64)
- func (o *IssueListIssueDependenciesParams) SetOwner(owner string)
- func (o *IssueListIssueDependenciesParams) SetPage(page *int64)
- func (o *IssueListIssueDependenciesParams) SetRepo(repo string)
- func (o *IssueListIssueDependenciesParams) SetTimeout(timeout time.Duration)
- func (o *IssueListIssueDependenciesParams) WithContext(ctx context.Context) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WithDefaults() *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WithHTTPClient(client *http.Client) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WithIndex(index string) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WithLimit(limit *int64) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WithOwner(owner string) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WithPage(page *int64) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WithRepo(repo string) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WithTimeout(timeout time.Duration) *IssueListIssueDependenciesParams
- func (o *IssueListIssueDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueListIssueDependenciesReader
- type IssueListIssuesNotFound
- func (o *IssueListIssuesNotFound) Code() int
- func (o *IssueListIssuesNotFound) Error() string
- func (o *IssueListIssuesNotFound) IsClientError() bool
- func (o *IssueListIssuesNotFound) IsCode(code int) bool
- func (o *IssueListIssuesNotFound) IsRedirect() bool
- func (o *IssueListIssuesNotFound) IsServerError() bool
- func (o *IssueListIssuesNotFound) IsSuccess() bool
- func (o *IssueListIssuesNotFound) String() string
- type IssueListIssuesOK
- func (o *IssueListIssuesOK) Code() int
- func (o *IssueListIssuesOK) Error() string
- func (o *IssueListIssuesOK) GetPayload() []*models.Issue
- func (o *IssueListIssuesOK) IsClientError() bool
- func (o *IssueListIssuesOK) IsCode(code int) bool
- func (o *IssueListIssuesOK) IsRedirect() bool
- func (o *IssueListIssuesOK) IsServerError() bool
- func (o *IssueListIssuesOK) IsSuccess() bool
- func (o *IssueListIssuesOK) String() string
- type IssueListIssuesParams
- func NewIssueListIssuesParams() *IssueListIssuesParams
- func NewIssueListIssuesParamsWithContext(ctx context.Context) *IssueListIssuesParams
- func NewIssueListIssuesParamsWithHTTPClient(client *http.Client) *IssueListIssuesParams
- func NewIssueListIssuesParamsWithTimeout(timeout time.Duration) *IssueListIssuesParams
- func (o *IssueListIssuesParams) SetAssignedBy(assignedBy *string)
- func (o *IssueListIssuesParams) SetBefore(before *strfmt.DateTime)
- func (o *IssueListIssuesParams) SetContext(ctx context.Context)
- func (o *IssueListIssuesParams) SetCreatedBy(createdBy *string)
- func (o *IssueListIssuesParams) SetDefaults()
- func (o *IssueListIssuesParams) SetHTTPClient(client *http.Client)
- func (o *IssueListIssuesParams) SetLabels(labels *string)
- func (o *IssueListIssuesParams) SetLimit(limit *int64)
- func (o *IssueListIssuesParams) SetMentionedBy(mentionedBy *string)
- func (o *IssueListIssuesParams) SetMilestones(milestones *string)
- func (o *IssueListIssuesParams) SetOwner(owner string)
- func (o *IssueListIssuesParams) SetPage(page *int64)
- func (o *IssueListIssuesParams) SetQ(q *string)
- func (o *IssueListIssuesParams) SetRepo(repo string)
- func (o *IssueListIssuesParams) SetSince(since *strfmt.DateTime)
- func (o *IssueListIssuesParams) SetState(state *string)
- func (o *IssueListIssuesParams) SetTimeout(timeout time.Duration)
- func (o *IssueListIssuesParams) SetType(typeVar *string)
- func (o *IssueListIssuesParams) WithAssignedBy(assignedBy *string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithBefore(before *strfmt.DateTime) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithContext(ctx context.Context) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithCreatedBy(createdBy *string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithDefaults() *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithHTTPClient(client *http.Client) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithLabels(labels *string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithLimit(limit *int64) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithMentionedBy(mentionedBy *string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithMilestones(milestones *string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithOwner(owner string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithPage(page *int64) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithQ(q *string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithRepo(repo string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithSince(since *strfmt.DateTime) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithState(state *string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithTimeout(timeout time.Duration) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WithType(typeVar *string) *IssueListIssuesParams
- func (o *IssueListIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueListIssuesReader
- type IssueListLabelsNotFound
- func (o *IssueListLabelsNotFound) Code() int
- func (o *IssueListLabelsNotFound) Error() string
- func (o *IssueListLabelsNotFound) IsClientError() bool
- func (o *IssueListLabelsNotFound) IsCode(code int) bool
- func (o *IssueListLabelsNotFound) IsRedirect() bool
- func (o *IssueListLabelsNotFound) IsServerError() bool
- func (o *IssueListLabelsNotFound) IsSuccess() bool
- func (o *IssueListLabelsNotFound) String() string
- type IssueListLabelsOK
- func (o *IssueListLabelsOK) Code() int
- func (o *IssueListLabelsOK) Error() string
- func (o *IssueListLabelsOK) GetPayload() []*models.Label
- func (o *IssueListLabelsOK) IsClientError() bool
- func (o *IssueListLabelsOK) IsCode(code int) bool
- func (o *IssueListLabelsOK) IsRedirect() bool
- func (o *IssueListLabelsOK) IsServerError() bool
- func (o *IssueListLabelsOK) IsSuccess() bool
- func (o *IssueListLabelsOK) String() string
- type IssueListLabelsParams
- func NewIssueListLabelsParams() *IssueListLabelsParams
- func NewIssueListLabelsParamsWithContext(ctx context.Context) *IssueListLabelsParams
- func NewIssueListLabelsParamsWithHTTPClient(client *http.Client) *IssueListLabelsParams
- func NewIssueListLabelsParamsWithTimeout(timeout time.Duration) *IssueListLabelsParams
- func (o *IssueListLabelsParams) SetContext(ctx context.Context)
- func (o *IssueListLabelsParams) SetDefaults()
- func (o *IssueListLabelsParams) SetHTTPClient(client *http.Client)
- func (o *IssueListLabelsParams) SetLimit(limit *int64)
- func (o *IssueListLabelsParams) SetOwner(owner string)
- func (o *IssueListLabelsParams) SetPage(page *int64)
- func (o *IssueListLabelsParams) SetRepo(repo string)
- func (o *IssueListLabelsParams) SetTimeout(timeout time.Duration)
- func (o *IssueListLabelsParams) WithContext(ctx context.Context) *IssueListLabelsParams
- func (o *IssueListLabelsParams) WithDefaults() *IssueListLabelsParams
- func (o *IssueListLabelsParams) WithHTTPClient(client *http.Client) *IssueListLabelsParams
- func (o *IssueListLabelsParams) WithLimit(limit *int64) *IssueListLabelsParams
- func (o *IssueListLabelsParams) WithOwner(owner string) *IssueListLabelsParams
- func (o *IssueListLabelsParams) WithPage(page *int64) *IssueListLabelsParams
- func (o *IssueListLabelsParams) WithRepo(repo string) *IssueListLabelsParams
- func (o *IssueListLabelsParams) WithTimeout(timeout time.Duration) *IssueListLabelsParams
- func (o *IssueListLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueListLabelsReader
- type IssuePostCommentReactionCreated
- func (o *IssuePostCommentReactionCreated) Code() int
- func (o *IssuePostCommentReactionCreated) Error() string
- func (o *IssuePostCommentReactionCreated) GetPayload() *models.Reaction
- func (o *IssuePostCommentReactionCreated) IsClientError() bool
- func (o *IssuePostCommentReactionCreated) IsCode(code int) bool
- func (o *IssuePostCommentReactionCreated) IsRedirect() bool
- func (o *IssuePostCommentReactionCreated) IsServerError() bool
- func (o *IssuePostCommentReactionCreated) IsSuccess() bool
- func (o *IssuePostCommentReactionCreated) String() string
- type IssuePostCommentReactionForbidden
- func (o *IssuePostCommentReactionForbidden) Code() int
- func (o *IssuePostCommentReactionForbidden) Error() string
- func (o *IssuePostCommentReactionForbidden) IsClientError() bool
- func (o *IssuePostCommentReactionForbidden) IsCode(code int) bool
- func (o *IssuePostCommentReactionForbidden) IsRedirect() bool
- func (o *IssuePostCommentReactionForbidden) IsServerError() bool
- func (o *IssuePostCommentReactionForbidden) IsSuccess() bool
- func (o *IssuePostCommentReactionForbidden) String() string
- type IssuePostCommentReactionNotFound
- func (o *IssuePostCommentReactionNotFound) Code() int
- func (o *IssuePostCommentReactionNotFound) Error() string
- func (o *IssuePostCommentReactionNotFound) IsClientError() bool
- func (o *IssuePostCommentReactionNotFound) IsCode(code int) bool
- func (o *IssuePostCommentReactionNotFound) IsRedirect() bool
- func (o *IssuePostCommentReactionNotFound) IsServerError() bool
- func (o *IssuePostCommentReactionNotFound) IsSuccess() bool
- func (o *IssuePostCommentReactionNotFound) String() string
- type IssuePostCommentReactionOK
- func (o *IssuePostCommentReactionOK) Code() int
- func (o *IssuePostCommentReactionOK) Error() string
- func (o *IssuePostCommentReactionOK) GetPayload() *models.Reaction
- func (o *IssuePostCommentReactionOK) IsClientError() bool
- func (o *IssuePostCommentReactionOK) IsCode(code int) bool
- func (o *IssuePostCommentReactionOK) IsRedirect() bool
- func (o *IssuePostCommentReactionOK) IsServerError() bool
- func (o *IssuePostCommentReactionOK) IsSuccess() bool
- func (o *IssuePostCommentReactionOK) String() string
- type IssuePostCommentReactionParams
- func NewIssuePostCommentReactionParams() *IssuePostCommentReactionParams
- func NewIssuePostCommentReactionParamsWithContext(ctx context.Context) *IssuePostCommentReactionParams
- func NewIssuePostCommentReactionParamsWithHTTPClient(client *http.Client) *IssuePostCommentReactionParams
- func NewIssuePostCommentReactionParamsWithTimeout(timeout time.Duration) *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) SetContent(content *models.EditReactionOption)
- func (o *IssuePostCommentReactionParams) SetContext(ctx context.Context)
- func (o *IssuePostCommentReactionParams) SetDefaults()
- func (o *IssuePostCommentReactionParams) SetHTTPClient(client *http.Client)
- func (o *IssuePostCommentReactionParams) SetID(id int64)
- func (o *IssuePostCommentReactionParams) SetOwner(owner string)
- func (o *IssuePostCommentReactionParams) SetRepo(repo string)
- func (o *IssuePostCommentReactionParams) SetTimeout(timeout time.Duration)
- func (o *IssuePostCommentReactionParams) WithContent(content *models.EditReactionOption) *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) WithContext(ctx context.Context) *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) WithDefaults() *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) WithHTTPClient(client *http.Client) *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) WithID(id int64) *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) WithOwner(owner string) *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) WithRepo(repo string) *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) WithTimeout(timeout time.Duration) *IssuePostCommentReactionParams
- func (o *IssuePostCommentReactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssuePostCommentReactionReader
- type IssuePostIssueReactionCreated
- func (o *IssuePostIssueReactionCreated) Code() int
- func (o *IssuePostIssueReactionCreated) Error() string
- func (o *IssuePostIssueReactionCreated) GetPayload() *models.Reaction
- func (o *IssuePostIssueReactionCreated) IsClientError() bool
- func (o *IssuePostIssueReactionCreated) IsCode(code int) bool
- func (o *IssuePostIssueReactionCreated) IsRedirect() bool
- func (o *IssuePostIssueReactionCreated) IsServerError() bool
- func (o *IssuePostIssueReactionCreated) IsSuccess() bool
- func (o *IssuePostIssueReactionCreated) String() string
- type IssuePostIssueReactionForbidden
- func (o *IssuePostIssueReactionForbidden) Code() int
- func (o *IssuePostIssueReactionForbidden) Error() string
- func (o *IssuePostIssueReactionForbidden) IsClientError() bool
- func (o *IssuePostIssueReactionForbidden) IsCode(code int) bool
- func (o *IssuePostIssueReactionForbidden) IsRedirect() bool
- func (o *IssuePostIssueReactionForbidden) IsServerError() bool
- func (o *IssuePostIssueReactionForbidden) IsSuccess() bool
- func (o *IssuePostIssueReactionForbidden) String() string
- type IssuePostIssueReactionNotFound
- func (o *IssuePostIssueReactionNotFound) Code() int
- func (o *IssuePostIssueReactionNotFound) Error() string
- func (o *IssuePostIssueReactionNotFound) IsClientError() bool
- func (o *IssuePostIssueReactionNotFound) IsCode(code int) bool
- func (o *IssuePostIssueReactionNotFound) IsRedirect() bool
- func (o *IssuePostIssueReactionNotFound) IsServerError() bool
- func (o *IssuePostIssueReactionNotFound) IsSuccess() bool
- func (o *IssuePostIssueReactionNotFound) String() string
- type IssuePostIssueReactionOK
- func (o *IssuePostIssueReactionOK) Code() int
- func (o *IssuePostIssueReactionOK) Error() string
- func (o *IssuePostIssueReactionOK) GetPayload() *models.Reaction
- func (o *IssuePostIssueReactionOK) IsClientError() bool
- func (o *IssuePostIssueReactionOK) IsCode(code int) bool
- func (o *IssuePostIssueReactionOK) IsRedirect() bool
- func (o *IssuePostIssueReactionOK) IsServerError() bool
- func (o *IssuePostIssueReactionOK) IsSuccess() bool
- func (o *IssuePostIssueReactionOK) String() string
- type IssuePostIssueReactionParams
- func NewIssuePostIssueReactionParams() *IssuePostIssueReactionParams
- func NewIssuePostIssueReactionParamsWithContext(ctx context.Context) *IssuePostIssueReactionParams
- func NewIssuePostIssueReactionParamsWithHTTPClient(client *http.Client) *IssuePostIssueReactionParams
- func NewIssuePostIssueReactionParamsWithTimeout(timeout time.Duration) *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) SetContent(content *models.EditReactionOption)
- func (o *IssuePostIssueReactionParams) SetContext(ctx context.Context)
- func (o *IssuePostIssueReactionParams) SetDefaults()
- func (o *IssuePostIssueReactionParams) SetHTTPClient(client *http.Client)
- func (o *IssuePostIssueReactionParams) SetIndex(index int64)
- func (o *IssuePostIssueReactionParams) SetOwner(owner string)
- func (o *IssuePostIssueReactionParams) SetRepo(repo string)
- func (o *IssuePostIssueReactionParams) SetTimeout(timeout time.Duration)
- func (o *IssuePostIssueReactionParams) WithContent(content *models.EditReactionOption) *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) WithContext(ctx context.Context) *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) WithDefaults() *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) WithHTTPClient(client *http.Client) *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) WithIndex(index int64) *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) WithOwner(owner string) *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) WithRepo(repo string) *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) WithTimeout(timeout time.Duration) *IssuePostIssueReactionParams
- func (o *IssuePostIssueReactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssuePostIssueReactionReader
- type IssueRemoveIssueBlockingNotFound
- func (o *IssueRemoveIssueBlockingNotFound) Code() int
- func (o *IssueRemoveIssueBlockingNotFound) Error() string
- func (o *IssueRemoveIssueBlockingNotFound) IsClientError() bool
- func (o *IssueRemoveIssueBlockingNotFound) IsCode(code int) bool
- func (o *IssueRemoveIssueBlockingNotFound) IsRedirect() bool
- func (o *IssueRemoveIssueBlockingNotFound) IsServerError() bool
- func (o *IssueRemoveIssueBlockingNotFound) IsSuccess() bool
- func (o *IssueRemoveIssueBlockingNotFound) String() string
- type IssueRemoveIssueBlockingOK
- func (o *IssueRemoveIssueBlockingOK) Code() int
- func (o *IssueRemoveIssueBlockingOK) Error() string
- func (o *IssueRemoveIssueBlockingOK) GetPayload() *models.Issue
- func (o *IssueRemoveIssueBlockingOK) IsClientError() bool
- func (o *IssueRemoveIssueBlockingOK) IsCode(code int) bool
- func (o *IssueRemoveIssueBlockingOK) IsRedirect() bool
- func (o *IssueRemoveIssueBlockingOK) IsServerError() bool
- func (o *IssueRemoveIssueBlockingOK) IsSuccess() bool
- func (o *IssueRemoveIssueBlockingOK) String() string
- type IssueRemoveIssueBlockingParams
- func NewIssueRemoveIssueBlockingParams() *IssueRemoveIssueBlockingParams
- func NewIssueRemoveIssueBlockingParamsWithContext(ctx context.Context) *IssueRemoveIssueBlockingParams
- func NewIssueRemoveIssueBlockingParamsWithHTTPClient(client *http.Client) *IssueRemoveIssueBlockingParams
- func NewIssueRemoveIssueBlockingParamsWithTimeout(timeout time.Duration) *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) SetBody(body *models.IssueMeta)
- func (o *IssueRemoveIssueBlockingParams) SetContext(ctx context.Context)
- func (o *IssueRemoveIssueBlockingParams) SetDefaults()
- func (o *IssueRemoveIssueBlockingParams) SetHTTPClient(client *http.Client)
- func (o *IssueRemoveIssueBlockingParams) SetIndex(index string)
- func (o *IssueRemoveIssueBlockingParams) SetOwner(owner string)
- func (o *IssueRemoveIssueBlockingParams) SetRepo(repo string)
- func (o *IssueRemoveIssueBlockingParams) SetTimeout(timeout time.Duration)
- func (o *IssueRemoveIssueBlockingParams) WithBody(body *models.IssueMeta) *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) WithContext(ctx context.Context) *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) WithDefaults() *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) WithHTTPClient(client *http.Client) *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) WithIndex(index string) *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) WithOwner(owner string) *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) WithRepo(repo string) *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) WithTimeout(timeout time.Duration) *IssueRemoveIssueBlockingParams
- func (o *IssueRemoveIssueBlockingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueRemoveIssueBlockingReader
- type IssueRemoveIssueDependenciesLocked
- func (o *IssueRemoveIssueDependenciesLocked) Code() int
- func (o *IssueRemoveIssueDependenciesLocked) Error() string
- func (o *IssueRemoveIssueDependenciesLocked) IsClientError() bool
- func (o *IssueRemoveIssueDependenciesLocked) IsCode(code int) bool
- func (o *IssueRemoveIssueDependenciesLocked) IsRedirect() bool
- func (o *IssueRemoveIssueDependenciesLocked) IsServerError() bool
- func (o *IssueRemoveIssueDependenciesLocked) IsSuccess() bool
- func (o *IssueRemoveIssueDependenciesLocked) String() string
- type IssueRemoveIssueDependenciesNotFound
- func (o *IssueRemoveIssueDependenciesNotFound) Code() int
- func (o *IssueRemoveIssueDependenciesNotFound) Error() string
- func (o *IssueRemoveIssueDependenciesNotFound) IsClientError() bool
- func (o *IssueRemoveIssueDependenciesNotFound) IsCode(code int) bool
- func (o *IssueRemoveIssueDependenciesNotFound) IsRedirect() bool
- func (o *IssueRemoveIssueDependenciesNotFound) IsServerError() bool
- func (o *IssueRemoveIssueDependenciesNotFound) IsSuccess() bool
- func (o *IssueRemoveIssueDependenciesNotFound) String() string
- type IssueRemoveIssueDependenciesOK
- func (o *IssueRemoveIssueDependenciesOK) Code() int
- func (o *IssueRemoveIssueDependenciesOK) Error() string
- func (o *IssueRemoveIssueDependenciesOK) GetPayload() *models.Issue
- func (o *IssueRemoveIssueDependenciesOK) IsClientError() bool
- func (o *IssueRemoveIssueDependenciesOK) IsCode(code int) bool
- func (o *IssueRemoveIssueDependenciesOK) IsRedirect() bool
- func (o *IssueRemoveIssueDependenciesOK) IsServerError() bool
- func (o *IssueRemoveIssueDependenciesOK) IsSuccess() bool
- func (o *IssueRemoveIssueDependenciesOK) String() string
- type IssueRemoveIssueDependenciesParams
- func NewIssueRemoveIssueDependenciesParams() *IssueRemoveIssueDependenciesParams
- func NewIssueRemoveIssueDependenciesParamsWithContext(ctx context.Context) *IssueRemoveIssueDependenciesParams
- func NewIssueRemoveIssueDependenciesParamsWithHTTPClient(client *http.Client) *IssueRemoveIssueDependenciesParams
- func NewIssueRemoveIssueDependenciesParamsWithTimeout(timeout time.Duration) *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) SetBody(body *models.IssueMeta)
- func (o *IssueRemoveIssueDependenciesParams) SetContext(ctx context.Context)
- func (o *IssueRemoveIssueDependenciesParams) SetDefaults()
- func (o *IssueRemoveIssueDependenciesParams) SetHTTPClient(client *http.Client)
- func (o *IssueRemoveIssueDependenciesParams) SetIndex(index string)
- func (o *IssueRemoveIssueDependenciesParams) SetOwner(owner string)
- func (o *IssueRemoveIssueDependenciesParams) SetRepo(repo string)
- func (o *IssueRemoveIssueDependenciesParams) SetTimeout(timeout time.Duration)
- func (o *IssueRemoveIssueDependenciesParams) WithBody(body *models.IssueMeta) *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) WithContext(ctx context.Context) *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) WithDefaults() *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) WithHTTPClient(client *http.Client) *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) WithIndex(index string) *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) WithOwner(owner string) *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) WithRepo(repo string) *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) WithTimeout(timeout time.Duration) *IssueRemoveIssueDependenciesParams
- func (o *IssueRemoveIssueDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueRemoveIssueDependenciesReader
- type IssueRemoveLabelForbidden
- func (o *IssueRemoveLabelForbidden) Code() int
- func (o *IssueRemoveLabelForbidden) Error() string
- func (o *IssueRemoveLabelForbidden) IsClientError() bool
- func (o *IssueRemoveLabelForbidden) IsCode(code int) bool
- func (o *IssueRemoveLabelForbidden) IsRedirect() bool
- func (o *IssueRemoveLabelForbidden) IsServerError() bool
- func (o *IssueRemoveLabelForbidden) IsSuccess() bool
- func (o *IssueRemoveLabelForbidden) String() string
- type IssueRemoveLabelNoContent
- func (o *IssueRemoveLabelNoContent) Code() int
- func (o *IssueRemoveLabelNoContent) Error() string
- func (o *IssueRemoveLabelNoContent) IsClientError() bool
- func (o *IssueRemoveLabelNoContent) IsCode(code int) bool
- func (o *IssueRemoveLabelNoContent) IsRedirect() bool
- func (o *IssueRemoveLabelNoContent) IsServerError() bool
- func (o *IssueRemoveLabelNoContent) IsSuccess() bool
- func (o *IssueRemoveLabelNoContent) String() string
- type IssueRemoveLabelNotFound
- func (o *IssueRemoveLabelNotFound) Code() int
- func (o *IssueRemoveLabelNotFound) Error() string
- func (o *IssueRemoveLabelNotFound) IsClientError() bool
- func (o *IssueRemoveLabelNotFound) IsCode(code int) bool
- func (o *IssueRemoveLabelNotFound) IsRedirect() bool
- func (o *IssueRemoveLabelNotFound) IsServerError() bool
- func (o *IssueRemoveLabelNotFound) IsSuccess() bool
- func (o *IssueRemoveLabelNotFound) String() string
- type IssueRemoveLabelParams
- func NewIssueRemoveLabelParams() *IssueRemoveLabelParams
- func NewIssueRemoveLabelParamsWithContext(ctx context.Context) *IssueRemoveLabelParams
- func NewIssueRemoveLabelParamsWithHTTPClient(client *http.Client) *IssueRemoveLabelParams
- func NewIssueRemoveLabelParamsWithTimeout(timeout time.Duration) *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) SetContext(ctx context.Context)
- func (o *IssueRemoveLabelParams) SetDefaults()
- func (o *IssueRemoveLabelParams) SetHTTPClient(client *http.Client)
- func (o *IssueRemoveLabelParams) SetID(id int64)
- func (o *IssueRemoveLabelParams) SetIndex(index int64)
- func (o *IssueRemoveLabelParams) SetOwner(owner string)
- func (o *IssueRemoveLabelParams) SetRepo(repo string)
- func (o *IssueRemoveLabelParams) SetTimeout(timeout time.Duration)
- func (o *IssueRemoveLabelParams) WithContext(ctx context.Context) *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) WithDefaults() *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) WithHTTPClient(client *http.Client) *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) WithID(id int64) *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) WithIndex(index int64) *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) WithOwner(owner string) *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) WithRepo(repo string) *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) WithTimeout(timeout time.Duration) *IssueRemoveLabelParams
- func (o *IssueRemoveLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueRemoveLabelReader
- type IssueRemoveLabelUnprocessableEntity
- func (o *IssueRemoveLabelUnprocessableEntity) Code() int
- func (o *IssueRemoveLabelUnprocessableEntity) Error() string
- func (o *IssueRemoveLabelUnprocessableEntity) IsClientError() bool
- func (o *IssueRemoveLabelUnprocessableEntity) IsCode(code int) bool
- func (o *IssueRemoveLabelUnprocessableEntity) IsRedirect() bool
- func (o *IssueRemoveLabelUnprocessableEntity) IsServerError() bool
- func (o *IssueRemoveLabelUnprocessableEntity) IsSuccess() bool
- func (o *IssueRemoveLabelUnprocessableEntity) String() string
- type IssueReplaceLabelsForbidden
- func (o *IssueReplaceLabelsForbidden) Code() int
- func (o *IssueReplaceLabelsForbidden) Error() string
- func (o *IssueReplaceLabelsForbidden) IsClientError() bool
- func (o *IssueReplaceLabelsForbidden) IsCode(code int) bool
- func (o *IssueReplaceLabelsForbidden) IsRedirect() bool
- func (o *IssueReplaceLabelsForbidden) IsServerError() bool
- func (o *IssueReplaceLabelsForbidden) IsSuccess() bool
- func (o *IssueReplaceLabelsForbidden) String() string
- type IssueReplaceLabelsNotFound
- func (o *IssueReplaceLabelsNotFound) Code() int
- func (o *IssueReplaceLabelsNotFound) Error() string
- func (o *IssueReplaceLabelsNotFound) IsClientError() bool
- func (o *IssueReplaceLabelsNotFound) IsCode(code int) bool
- func (o *IssueReplaceLabelsNotFound) IsRedirect() bool
- func (o *IssueReplaceLabelsNotFound) IsServerError() bool
- func (o *IssueReplaceLabelsNotFound) IsSuccess() bool
- func (o *IssueReplaceLabelsNotFound) String() string
- type IssueReplaceLabelsOK
- func (o *IssueReplaceLabelsOK) Code() int
- func (o *IssueReplaceLabelsOK) Error() string
- func (o *IssueReplaceLabelsOK) GetPayload() []*models.Label
- func (o *IssueReplaceLabelsOK) IsClientError() bool
- func (o *IssueReplaceLabelsOK) IsCode(code int) bool
- func (o *IssueReplaceLabelsOK) IsRedirect() bool
- func (o *IssueReplaceLabelsOK) IsServerError() bool
- func (o *IssueReplaceLabelsOK) IsSuccess() bool
- func (o *IssueReplaceLabelsOK) String() string
- type IssueReplaceLabelsParams
- func NewIssueReplaceLabelsParams() *IssueReplaceLabelsParams
- func NewIssueReplaceLabelsParamsWithContext(ctx context.Context) *IssueReplaceLabelsParams
- func NewIssueReplaceLabelsParamsWithHTTPClient(client *http.Client) *IssueReplaceLabelsParams
- func NewIssueReplaceLabelsParamsWithTimeout(timeout time.Duration) *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) SetBody(body *models.IssueLabelsOption)
- func (o *IssueReplaceLabelsParams) SetContext(ctx context.Context)
- func (o *IssueReplaceLabelsParams) SetDefaults()
- func (o *IssueReplaceLabelsParams) SetHTTPClient(client *http.Client)
- func (o *IssueReplaceLabelsParams) SetIndex(index int64)
- func (o *IssueReplaceLabelsParams) SetOwner(owner string)
- func (o *IssueReplaceLabelsParams) SetRepo(repo string)
- func (o *IssueReplaceLabelsParams) SetTimeout(timeout time.Duration)
- func (o *IssueReplaceLabelsParams) WithBody(body *models.IssueLabelsOption) *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) WithContext(ctx context.Context) *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) WithDefaults() *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) WithHTTPClient(client *http.Client) *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) WithIndex(index int64) *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) WithOwner(owner string) *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) WithRepo(repo string) *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) WithTimeout(timeout time.Duration) *IssueReplaceLabelsParams
- func (o *IssueReplaceLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueReplaceLabelsReader
- type IssueResetTimeBadRequest
- func (o *IssueResetTimeBadRequest) Code() int
- func (o *IssueResetTimeBadRequest) Error() string
- func (o *IssueResetTimeBadRequest) IsClientError() bool
- func (o *IssueResetTimeBadRequest) IsCode(code int) bool
- func (o *IssueResetTimeBadRequest) IsRedirect() bool
- func (o *IssueResetTimeBadRequest) IsServerError() bool
- func (o *IssueResetTimeBadRequest) IsSuccess() bool
- func (o *IssueResetTimeBadRequest) String() string
- type IssueResetTimeForbidden
- func (o *IssueResetTimeForbidden) Code() int
- func (o *IssueResetTimeForbidden) Error() string
- func (o *IssueResetTimeForbidden) IsClientError() bool
- func (o *IssueResetTimeForbidden) IsCode(code int) bool
- func (o *IssueResetTimeForbidden) IsRedirect() bool
- func (o *IssueResetTimeForbidden) IsServerError() bool
- func (o *IssueResetTimeForbidden) IsSuccess() bool
- func (o *IssueResetTimeForbidden) String() string
- type IssueResetTimeNoContent
- func (o *IssueResetTimeNoContent) Code() int
- func (o *IssueResetTimeNoContent) Error() string
- func (o *IssueResetTimeNoContent) IsClientError() bool
- func (o *IssueResetTimeNoContent) IsCode(code int) bool
- func (o *IssueResetTimeNoContent) IsRedirect() bool
- func (o *IssueResetTimeNoContent) IsServerError() bool
- func (o *IssueResetTimeNoContent) IsSuccess() bool
- func (o *IssueResetTimeNoContent) String() string
- type IssueResetTimeNotFound
- func (o *IssueResetTimeNotFound) Code() int
- func (o *IssueResetTimeNotFound) Error() string
- func (o *IssueResetTimeNotFound) IsClientError() bool
- func (o *IssueResetTimeNotFound) IsCode(code int) bool
- func (o *IssueResetTimeNotFound) IsRedirect() bool
- func (o *IssueResetTimeNotFound) IsServerError() bool
- func (o *IssueResetTimeNotFound) IsSuccess() bool
- func (o *IssueResetTimeNotFound) String() string
- type IssueResetTimeParams
- func NewIssueResetTimeParams() *IssueResetTimeParams
- func NewIssueResetTimeParamsWithContext(ctx context.Context) *IssueResetTimeParams
- func NewIssueResetTimeParamsWithHTTPClient(client *http.Client) *IssueResetTimeParams
- func NewIssueResetTimeParamsWithTimeout(timeout time.Duration) *IssueResetTimeParams
- func (o *IssueResetTimeParams) SetContext(ctx context.Context)
- func (o *IssueResetTimeParams) SetDefaults()
- func (o *IssueResetTimeParams) SetHTTPClient(client *http.Client)
- func (o *IssueResetTimeParams) SetIndex(index int64)
- func (o *IssueResetTimeParams) SetOwner(owner string)
- func (o *IssueResetTimeParams) SetRepo(repo string)
- func (o *IssueResetTimeParams) SetTimeout(timeout time.Duration)
- func (o *IssueResetTimeParams) WithContext(ctx context.Context) *IssueResetTimeParams
- func (o *IssueResetTimeParams) WithDefaults() *IssueResetTimeParams
- func (o *IssueResetTimeParams) WithHTTPClient(client *http.Client) *IssueResetTimeParams
- func (o *IssueResetTimeParams) WithIndex(index int64) *IssueResetTimeParams
- func (o *IssueResetTimeParams) WithOwner(owner string) *IssueResetTimeParams
- func (o *IssueResetTimeParams) WithRepo(repo string) *IssueResetTimeParams
- func (o *IssueResetTimeParams) WithTimeout(timeout time.Duration) *IssueResetTimeParams
- func (o *IssueResetTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueResetTimeReader
- type IssueSearchIssuesOK
- func (o *IssueSearchIssuesOK) Code() int
- func (o *IssueSearchIssuesOK) Error() string
- func (o *IssueSearchIssuesOK) GetPayload() []*models.Issue
- func (o *IssueSearchIssuesOK) IsClientError() bool
- func (o *IssueSearchIssuesOK) IsCode(code int) bool
- func (o *IssueSearchIssuesOK) IsRedirect() bool
- func (o *IssueSearchIssuesOK) IsServerError() bool
- func (o *IssueSearchIssuesOK) IsSuccess() bool
- func (o *IssueSearchIssuesOK) String() string
- type IssueSearchIssuesParams
- func NewIssueSearchIssuesParams() *IssueSearchIssuesParams
- func NewIssueSearchIssuesParamsWithContext(ctx context.Context) *IssueSearchIssuesParams
- func NewIssueSearchIssuesParamsWithHTTPClient(client *http.Client) *IssueSearchIssuesParams
- func NewIssueSearchIssuesParamsWithTimeout(timeout time.Duration) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) SetAssigned(assigned *bool)
- func (o *IssueSearchIssuesParams) SetBefore(before *strfmt.DateTime)
- func (o *IssueSearchIssuesParams) SetContext(ctx context.Context)
- func (o *IssueSearchIssuesParams) SetCreated(created *bool)
- func (o *IssueSearchIssuesParams) SetDefaults()
- func (o *IssueSearchIssuesParams) SetHTTPClient(client *http.Client)
- func (o *IssueSearchIssuesParams) SetLabels(labels *string)
- func (o *IssueSearchIssuesParams) SetLimit(limit *int64)
- func (o *IssueSearchIssuesParams) SetMentioned(mentioned *bool)
- func (o *IssueSearchIssuesParams) SetMilestones(milestones *string)
- func (o *IssueSearchIssuesParams) SetOwner(owner *string)
- func (o *IssueSearchIssuesParams) SetPage(page *int64)
- func (o *IssueSearchIssuesParams) SetPriorityRepoID(priorityRepoID *int64)
- func (o *IssueSearchIssuesParams) SetQ(q *string)
- func (o *IssueSearchIssuesParams) SetReviewRequested(reviewRequested *bool)
- func (o *IssueSearchIssuesParams) SetReviewed(reviewed *bool)
- func (o *IssueSearchIssuesParams) SetSince(since *strfmt.DateTime)
- func (o *IssueSearchIssuesParams) SetState(state *string)
- func (o *IssueSearchIssuesParams) SetTeam(team *string)
- func (o *IssueSearchIssuesParams) SetTimeout(timeout time.Duration)
- func (o *IssueSearchIssuesParams) SetType(typeVar *string)
- func (o *IssueSearchIssuesParams) WithAssigned(assigned *bool) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithBefore(before *strfmt.DateTime) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithContext(ctx context.Context) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithCreated(created *bool) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithDefaults() *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithHTTPClient(client *http.Client) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithLabels(labels *string) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithLimit(limit *int64) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithMentioned(mentioned *bool) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithMilestones(milestones *string) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithOwner(owner *string) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithPage(page *int64) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithPriorityRepoID(priorityRepoID *int64) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithQ(q *string) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithReviewRequested(reviewRequested *bool) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithReviewed(reviewed *bool) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithSince(since *strfmt.DateTime) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithState(state *string) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithTeam(team *string) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithTimeout(timeout time.Duration) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WithType(typeVar *string) *IssueSearchIssuesParams
- func (o *IssueSearchIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueSearchIssuesReader
- type IssueStartStopWatchConflict
- func (o *IssueStartStopWatchConflict) Code() int
- func (o *IssueStartStopWatchConflict) Error() string
- func (o *IssueStartStopWatchConflict) IsClientError() bool
- func (o *IssueStartStopWatchConflict) IsCode(code int) bool
- func (o *IssueStartStopWatchConflict) IsRedirect() bool
- func (o *IssueStartStopWatchConflict) IsServerError() bool
- func (o *IssueStartStopWatchConflict) IsSuccess() bool
- func (o *IssueStartStopWatchConflict) String() string
- type IssueStartStopWatchCreated
- func (o *IssueStartStopWatchCreated) Code() int
- func (o *IssueStartStopWatchCreated) Error() string
- func (o *IssueStartStopWatchCreated) IsClientError() bool
- func (o *IssueStartStopWatchCreated) IsCode(code int) bool
- func (o *IssueStartStopWatchCreated) IsRedirect() bool
- func (o *IssueStartStopWatchCreated) IsServerError() bool
- func (o *IssueStartStopWatchCreated) IsSuccess() bool
- func (o *IssueStartStopWatchCreated) String() string
- type IssueStartStopWatchForbidden
- func (o *IssueStartStopWatchForbidden) Code() int
- func (o *IssueStartStopWatchForbidden) Error() string
- func (o *IssueStartStopWatchForbidden) IsClientError() bool
- func (o *IssueStartStopWatchForbidden) IsCode(code int) bool
- func (o *IssueStartStopWatchForbidden) IsRedirect() bool
- func (o *IssueStartStopWatchForbidden) IsServerError() bool
- func (o *IssueStartStopWatchForbidden) IsSuccess() bool
- func (o *IssueStartStopWatchForbidden) String() string
- type IssueStartStopWatchNotFound
- func (o *IssueStartStopWatchNotFound) Code() int
- func (o *IssueStartStopWatchNotFound) Error() string
- func (o *IssueStartStopWatchNotFound) IsClientError() bool
- func (o *IssueStartStopWatchNotFound) IsCode(code int) bool
- func (o *IssueStartStopWatchNotFound) IsRedirect() bool
- func (o *IssueStartStopWatchNotFound) IsServerError() bool
- func (o *IssueStartStopWatchNotFound) IsSuccess() bool
- func (o *IssueStartStopWatchNotFound) String() string
- type IssueStartStopWatchParams
- func NewIssueStartStopWatchParams() *IssueStartStopWatchParams
- func NewIssueStartStopWatchParamsWithContext(ctx context.Context) *IssueStartStopWatchParams
- func NewIssueStartStopWatchParamsWithHTTPClient(client *http.Client) *IssueStartStopWatchParams
- func NewIssueStartStopWatchParamsWithTimeout(timeout time.Duration) *IssueStartStopWatchParams
- func (o *IssueStartStopWatchParams) SetContext(ctx context.Context)
- func (o *IssueStartStopWatchParams) SetDefaults()
- func (o *IssueStartStopWatchParams) SetHTTPClient(client *http.Client)
- func (o *IssueStartStopWatchParams) SetIndex(index int64)
- func (o *IssueStartStopWatchParams) SetOwner(owner string)
- func (o *IssueStartStopWatchParams) SetRepo(repo string)
- func (o *IssueStartStopWatchParams) SetTimeout(timeout time.Duration)
- func (o *IssueStartStopWatchParams) WithContext(ctx context.Context) *IssueStartStopWatchParams
- func (o *IssueStartStopWatchParams) WithDefaults() *IssueStartStopWatchParams
- func (o *IssueStartStopWatchParams) WithHTTPClient(client *http.Client) *IssueStartStopWatchParams
- func (o *IssueStartStopWatchParams) WithIndex(index int64) *IssueStartStopWatchParams
- func (o *IssueStartStopWatchParams) WithOwner(owner string) *IssueStartStopWatchParams
- func (o *IssueStartStopWatchParams) WithRepo(repo string) *IssueStartStopWatchParams
- func (o *IssueStartStopWatchParams) WithTimeout(timeout time.Duration) *IssueStartStopWatchParams
- func (o *IssueStartStopWatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueStartStopWatchReader
- type IssueStopStopWatchConflict
- func (o *IssueStopStopWatchConflict) Code() int
- func (o *IssueStopStopWatchConflict) Error() string
- func (o *IssueStopStopWatchConflict) IsClientError() bool
- func (o *IssueStopStopWatchConflict) IsCode(code int) bool
- func (o *IssueStopStopWatchConflict) IsRedirect() bool
- func (o *IssueStopStopWatchConflict) IsServerError() bool
- func (o *IssueStopStopWatchConflict) IsSuccess() bool
- func (o *IssueStopStopWatchConflict) String() string
- type IssueStopStopWatchCreated
- func (o *IssueStopStopWatchCreated) Code() int
- func (o *IssueStopStopWatchCreated) Error() string
- func (o *IssueStopStopWatchCreated) IsClientError() bool
- func (o *IssueStopStopWatchCreated) IsCode(code int) bool
- func (o *IssueStopStopWatchCreated) IsRedirect() bool
- func (o *IssueStopStopWatchCreated) IsServerError() bool
- func (o *IssueStopStopWatchCreated) IsSuccess() bool
- func (o *IssueStopStopWatchCreated) String() string
- type IssueStopStopWatchForbidden
- func (o *IssueStopStopWatchForbidden) Code() int
- func (o *IssueStopStopWatchForbidden) Error() string
- func (o *IssueStopStopWatchForbidden) IsClientError() bool
- func (o *IssueStopStopWatchForbidden) IsCode(code int) bool
- func (o *IssueStopStopWatchForbidden) IsRedirect() bool
- func (o *IssueStopStopWatchForbidden) IsServerError() bool
- func (o *IssueStopStopWatchForbidden) IsSuccess() bool
- func (o *IssueStopStopWatchForbidden) String() string
- type IssueStopStopWatchNotFound
- func (o *IssueStopStopWatchNotFound) Code() int
- func (o *IssueStopStopWatchNotFound) Error() string
- func (o *IssueStopStopWatchNotFound) IsClientError() bool
- func (o *IssueStopStopWatchNotFound) IsCode(code int) bool
- func (o *IssueStopStopWatchNotFound) IsRedirect() bool
- func (o *IssueStopStopWatchNotFound) IsServerError() bool
- func (o *IssueStopStopWatchNotFound) IsSuccess() bool
- func (o *IssueStopStopWatchNotFound) String() string
- type IssueStopStopWatchParams
- func NewIssueStopStopWatchParams() *IssueStopStopWatchParams
- func NewIssueStopStopWatchParamsWithContext(ctx context.Context) *IssueStopStopWatchParams
- func NewIssueStopStopWatchParamsWithHTTPClient(client *http.Client) *IssueStopStopWatchParams
- func NewIssueStopStopWatchParamsWithTimeout(timeout time.Duration) *IssueStopStopWatchParams
- func (o *IssueStopStopWatchParams) SetContext(ctx context.Context)
- func (o *IssueStopStopWatchParams) SetDefaults()
- func (o *IssueStopStopWatchParams) SetHTTPClient(client *http.Client)
- func (o *IssueStopStopWatchParams) SetIndex(index int64)
- func (o *IssueStopStopWatchParams) SetOwner(owner string)
- func (o *IssueStopStopWatchParams) SetRepo(repo string)
- func (o *IssueStopStopWatchParams) SetTimeout(timeout time.Duration)
- func (o *IssueStopStopWatchParams) WithContext(ctx context.Context) *IssueStopStopWatchParams
- func (o *IssueStopStopWatchParams) WithDefaults() *IssueStopStopWatchParams
- func (o *IssueStopStopWatchParams) WithHTTPClient(client *http.Client) *IssueStopStopWatchParams
- func (o *IssueStopStopWatchParams) WithIndex(index int64) *IssueStopStopWatchParams
- func (o *IssueStopStopWatchParams) WithOwner(owner string) *IssueStopStopWatchParams
- func (o *IssueStopStopWatchParams) WithRepo(repo string) *IssueStopStopWatchParams
- func (o *IssueStopStopWatchParams) WithTimeout(timeout time.Duration) *IssueStopStopWatchParams
- func (o *IssueStopStopWatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueStopStopWatchReader
- type IssueSubscriptionsNotFound
- func (o *IssueSubscriptionsNotFound) Code() int
- func (o *IssueSubscriptionsNotFound) Error() string
- func (o *IssueSubscriptionsNotFound) IsClientError() bool
- func (o *IssueSubscriptionsNotFound) IsCode(code int) bool
- func (o *IssueSubscriptionsNotFound) IsRedirect() bool
- func (o *IssueSubscriptionsNotFound) IsServerError() bool
- func (o *IssueSubscriptionsNotFound) IsSuccess() bool
- func (o *IssueSubscriptionsNotFound) String() string
- type IssueSubscriptionsOK
- func (o *IssueSubscriptionsOK) Code() int
- func (o *IssueSubscriptionsOK) Error() string
- func (o *IssueSubscriptionsOK) GetPayload() []*models.User
- func (o *IssueSubscriptionsOK) IsClientError() bool
- func (o *IssueSubscriptionsOK) IsCode(code int) bool
- func (o *IssueSubscriptionsOK) IsRedirect() bool
- func (o *IssueSubscriptionsOK) IsServerError() bool
- func (o *IssueSubscriptionsOK) IsSuccess() bool
- func (o *IssueSubscriptionsOK) String() string
- type IssueSubscriptionsParams
- func NewIssueSubscriptionsParams() *IssueSubscriptionsParams
- func NewIssueSubscriptionsParamsWithContext(ctx context.Context) *IssueSubscriptionsParams
- func NewIssueSubscriptionsParamsWithHTTPClient(client *http.Client) *IssueSubscriptionsParams
- func NewIssueSubscriptionsParamsWithTimeout(timeout time.Duration) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) SetContext(ctx context.Context)
- func (o *IssueSubscriptionsParams) SetDefaults()
- func (o *IssueSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *IssueSubscriptionsParams) SetIndex(index int64)
- func (o *IssueSubscriptionsParams) SetLimit(limit *int64)
- func (o *IssueSubscriptionsParams) SetOwner(owner string)
- func (o *IssueSubscriptionsParams) SetPage(page *int64)
- func (o *IssueSubscriptionsParams) SetRepo(repo string)
- func (o *IssueSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *IssueSubscriptionsParams) WithContext(ctx context.Context) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WithDefaults() *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WithHTTPClient(client *http.Client) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WithIndex(index int64) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WithLimit(limit *int64) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WithOwner(owner string) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WithPage(page *int64) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WithRepo(repo string) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WithTimeout(timeout time.Duration) *IssueSubscriptionsParams
- func (o *IssueSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueSubscriptionsReader
- type IssueTrackedTimesNotFound
- func (o *IssueTrackedTimesNotFound) Code() int
- func (o *IssueTrackedTimesNotFound) Error() string
- func (o *IssueTrackedTimesNotFound) IsClientError() bool
- func (o *IssueTrackedTimesNotFound) IsCode(code int) bool
- func (o *IssueTrackedTimesNotFound) IsRedirect() bool
- func (o *IssueTrackedTimesNotFound) IsServerError() bool
- func (o *IssueTrackedTimesNotFound) IsSuccess() bool
- func (o *IssueTrackedTimesNotFound) String() string
- type IssueTrackedTimesOK
- func (o *IssueTrackedTimesOK) Code() int
- func (o *IssueTrackedTimesOK) Error() string
- func (o *IssueTrackedTimesOK) GetPayload() []*models.TrackedTime
- func (o *IssueTrackedTimesOK) IsClientError() bool
- func (o *IssueTrackedTimesOK) IsCode(code int) bool
- func (o *IssueTrackedTimesOK) IsRedirect() bool
- func (o *IssueTrackedTimesOK) IsServerError() bool
- func (o *IssueTrackedTimesOK) IsSuccess() bool
- func (o *IssueTrackedTimesOK) String() string
- type IssueTrackedTimesParams
- func NewIssueTrackedTimesParams() *IssueTrackedTimesParams
- func NewIssueTrackedTimesParamsWithContext(ctx context.Context) *IssueTrackedTimesParams
- func NewIssueTrackedTimesParamsWithHTTPClient(client *http.Client) *IssueTrackedTimesParams
- func NewIssueTrackedTimesParamsWithTimeout(timeout time.Duration) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) SetBefore(before *strfmt.DateTime)
- func (o *IssueTrackedTimesParams) SetContext(ctx context.Context)
- func (o *IssueTrackedTimesParams) SetDefaults()
- func (o *IssueTrackedTimesParams) SetHTTPClient(client *http.Client)
- func (o *IssueTrackedTimesParams) SetIndex(index int64)
- func (o *IssueTrackedTimesParams) SetLimit(limit *int64)
- func (o *IssueTrackedTimesParams) SetOwner(owner string)
- func (o *IssueTrackedTimesParams) SetPage(page *int64)
- func (o *IssueTrackedTimesParams) SetRepo(repo string)
- func (o *IssueTrackedTimesParams) SetSince(since *strfmt.DateTime)
- func (o *IssueTrackedTimesParams) SetTimeout(timeout time.Duration)
- func (o *IssueTrackedTimesParams) SetUser(user *string)
- func (o *IssueTrackedTimesParams) WithBefore(before *strfmt.DateTime) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithContext(ctx context.Context) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithDefaults() *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithHTTPClient(client *http.Client) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithIndex(index int64) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithLimit(limit *int64) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithOwner(owner string) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithPage(page *int64) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithRepo(repo string) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithSince(since *strfmt.DateTime) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithTimeout(timeout time.Duration) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WithUser(user *string) *IssueTrackedTimesParams
- func (o *IssueTrackedTimesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IssueTrackedTimesReader
- type MoveIssuePinForbidden
- func (o *MoveIssuePinForbidden) Code() int
- func (o *MoveIssuePinForbidden) Error() string
- func (o *MoveIssuePinForbidden) IsClientError() bool
- func (o *MoveIssuePinForbidden) IsCode(code int) bool
- func (o *MoveIssuePinForbidden) IsRedirect() bool
- func (o *MoveIssuePinForbidden) IsServerError() bool
- func (o *MoveIssuePinForbidden) IsSuccess() bool
- func (o *MoveIssuePinForbidden) String() string
- type MoveIssuePinNoContent
- func (o *MoveIssuePinNoContent) Code() int
- func (o *MoveIssuePinNoContent) Error() string
- func (o *MoveIssuePinNoContent) IsClientError() bool
- func (o *MoveIssuePinNoContent) IsCode(code int) bool
- func (o *MoveIssuePinNoContent) IsRedirect() bool
- func (o *MoveIssuePinNoContent) IsServerError() bool
- func (o *MoveIssuePinNoContent) IsSuccess() bool
- func (o *MoveIssuePinNoContent) String() string
- type MoveIssuePinNotFound
- func (o *MoveIssuePinNotFound) Code() int
- func (o *MoveIssuePinNotFound) Error() string
- func (o *MoveIssuePinNotFound) IsClientError() bool
- func (o *MoveIssuePinNotFound) IsCode(code int) bool
- func (o *MoveIssuePinNotFound) IsRedirect() bool
- func (o *MoveIssuePinNotFound) IsServerError() bool
- func (o *MoveIssuePinNotFound) IsSuccess() bool
- func (o *MoveIssuePinNotFound) String() string
- type MoveIssuePinParams
- func (o *MoveIssuePinParams) SetContext(ctx context.Context)
- func (o *MoveIssuePinParams) SetDefaults()
- func (o *MoveIssuePinParams) SetHTTPClient(client *http.Client)
- func (o *MoveIssuePinParams) SetIndex(index int64)
- func (o *MoveIssuePinParams) SetOwner(owner string)
- func (o *MoveIssuePinParams) SetPosition(position int64)
- func (o *MoveIssuePinParams) SetRepo(repo string)
- func (o *MoveIssuePinParams) SetTimeout(timeout time.Duration)
- func (o *MoveIssuePinParams) WithContext(ctx context.Context) *MoveIssuePinParams
- func (o *MoveIssuePinParams) WithDefaults() *MoveIssuePinParams
- func (o *MoveIssuePinParams) WithHTTPClient(client *http.Client) *MoveIssuePinParams
- func (o *MoveIssuePinParams) WithIndex(index int64) *MoveIssuePinParams
- func (o *MoveIssuePinParams) WithOwner(owner string) *MoveIssuePinParams
- func (o *MoveIssuePinParams) WithPosition(position int64) *MoveIssuePinParams
- func (o *MoveIssuePinParams) WithRepo(repo string) *MoveIssuePinParams
- func (o *MoveIssuePinParams) WithTimeout(timeout time.Duration) *MoveIssuePinParams
- func (o *MoveIssuePinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MoveIssuePinReader
- type PinIssueForbidden
- func (o *PinIssueForbidden) Code() int
- func (o *PinIssueForbidden) Error() string
- func (o *PinIssueForbidden) IsClientError() bool
- func (o *PinIssueForbidden) IsCode(code int) bool
- func (o *PinIssueForbidden) IsRedirect() bool
- func (o *PinIssueForbidden) IsServerError() bool
- func (o *PinIssueForbidden) IsSuccess() bool
- func (o *PinIssueForbidden) String() string
- type PinIssueNoContent
- func (o *PinIssueNoContent) Code() int
- func (o *PinIssueNoContent) Error() string
- func (o *PinIssueNoContent) IsClientError() bool
- func (o *PinIssueNoContent) IsCode(code int) bool
- func (o *PinIssueNoContent) IsRedirect() bool
- func (o *PinIssueNoContent) IsServerError() bool
- func (o *PinIssueNoContent) IsSuccess() bool
- func (o *PinIssueNoContent) String() string
- type PinIssueNotFound
- func (o *PinIssueNotFound) Code() int
- func (o *PinIssueNotFound) Error() string
- func (o *PinIssueNotFound) IsClientError() bool
- func (o *PinIssueNotFound) IsCode(code int) bool
- func (o *PinIssueNotFound) IsRedirect() bool
- func (o *PinIssueNotFound) IsServerError() bool
- func (o *PinIssueNotFound) IsSuccess() bool
- func (o *PinIssueNotFound) String() string
- type PinIssueParams
- func (o *PinIssueParams) SetContext(ctx context.Context)
- func (o *PinIssueParams) SetDefaults()
- func (o *PinIssueParams) SetHTTPClient(client *http.Client)
- func (o *PinIssueParams) SetIndex(index int64)
- func (o *PinIssueParams) SetOwner(owner string)
- func (o *PinIssueParams) SetRepo(repo string)
- func (o *PinIssueParams) SetTimeout(timeout time.Duration)
- func (o *PinIssueParams) WithContext(ctx context.Context) *PinIssueParams
- func (o *PinIssueParams) WithDefaults() *PinIssueParams
- func (o *PinIssueParams) WithHTTPClient(client *http.Client) *PinIssueParams
- func (o *PinIssueParams) WithIndex(index int64) *PinIssueParams
- func (o *PinIssueParams) WithOwner(owner string) *PinIssueParams
- func (o *PinIssueParams) WithRepo(repo string) *PinIssueParams
- func (o *PinIssueParams) WithTimeout(timeout time.Duration) *PinIssueParams
- func (o *PinIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PinIssueReader
- type UnpinIssueForbidden
- func (o *UnpinIssueForbidden) Code() int
- func (o *UnpinIssueForbidden) Error() string
- func (o *UnpinIssueForbidden) IsClientError() bool
- func (o *UnpinIssueForbidden) IsCode(code int) bool
- func (o *UnpinIssueForbidden) IsRedirect() bool
- func (o *UnpinIssueForbidden) IsServerError() bool
- func (o *UnpinIssueForbidden) IsSuccess() bool
- func (o *UnpinIssueForbidden) String() string
- type UnpinIssueNoContent
- func (o *UnpinIssueNoContent) Code() int
- func (o *UnpinIssueNoContent) Error() string
- func (o *UnpinIssueNoContent) IsClientError() bool
- func (o *UnpinIssueNoContent) IsCode(code int) bool
- func (o *UnpinIssueNoContent) IsRedirect() bool
- func (o *UnpinIssueNoContent) IsServerError() bool
- func (o *UnpinIssueNoContent) IsSuccess() bool
- func (o *UnpinIssueNoContent) String() string
- type UnpinIssueNotFound
- func (o *UnpinIssueNotFound) Code() int
- func (o *UnpinIssueNotFound) Error() string
- func (o *UnpinIssueNotFound) IsClientError() bool
- func (o *UnpinIssueNotFound) IsCode(code int) bool
- func (o *UnpinIssueNotFound) IsRedirect() bool
- func (o *UnpinIssueNotFound) IsServerError() bool
- func (o *UnpinIssueNotFound) IsSuccess() bool
- func (o *UnpinIssueNotFound) String() string
- type UnpinIssueParams
- func (o *UnpinIssueParams) SetContext(ctx context.Context)
- func (o *UnpinIssueParams) SetDefaults()
- func (o *UnpinIssueParams) SetHTTPClient(client *http.Client)
- func (o *UnpinIssueParams) SetIndex(index int64)
- func (o *UnpinIssueParams) SetOwner(owner string)
- func (o *UnpinIssueParams) SetRepo(repo string)
- func (o *UnpinIssueParams) SetTimeout(timeout time.Duration)
- func (o *UnpinIssueParams) WithContext(ctx context.Context) *UnpinIssueParams
- func (o *UnpinIssueParams) WithDefaults() *UnpinIssueParams
- func (o *UnpinIssueParams) WithHTTPClient(client *http.Client) *UnpinIssueParams
- func (o *UnpinIssueParams) WithIndex(index int64) *UnpinIssueParams
- func (o *UnpinIssueParams) WithOwner(owner string) *UnpinIssueParams
- func (o *UnpinIssueParams) WithRepo(repo string) *UnpinIssueParams
- func (o *UnpinIssueParams) WithTimeout(timeout time.Duration) *UnpinIssueParams
- func (o *UnpinIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnpinIssueReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptTextHTML ¶
func WithAcceptTextHTML(r *runtime.ClientOperation)
WithAcceptTextHTML sets the Accept header to "text/html".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeMultipartFormData ¶
func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".
func WithContentTypeTextPlain ¶
func WithContentTypeTextPlain(r *runtime.ClientOperation)
WithContentTypeTextPlain sets the Content-Type header to "text/plain".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for issue API
func (*Client) IssueAddLabel ¶
func (a *Client) IssueAddLabel(params *IssueAddLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueAddLabelOK, error)
IssueAddLabel adds a label to an issue
func (*Client) IssueAddSubscription ¶
func (a *Client) IssueAddSubscription(params *IssueAddSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueAddSubscriptionOK, *IssueAddSubscriptionCreated, error)
IssueAddSubscription subscribes user to issue
func (*Client) IssueAddTime ¶
func (a *Client) IssueAddTime(params *IssueAddTimeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueAddTimeOK, error)
IssueAddTime adds tracked time to a issue
func (*Client) IssueCheckSubscription ¶
func (a *Client) IssueCheckSubscription(params *IssueCheckSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCheckSubscriptionOK, error)
IssueCheckSubscription checks if user is subscribed to an issue
func (*Client) IssueClearLabels ¶
func (a *Client) IssueClearLabels(params *IssueClearLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueClearLabelsNoContent, error)
IssueClearLabels removes all labels from an issue
func (*Client) IssueCreateComment ¶
func (a *Client) IssueCreateComment(params *IssueCreateCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateCommentCreated, error)
IssueCreateComment adds a comment to an issue
func (*Client) IssueCreateIssue ¶
func (a *Client) IssueCreateIssue(params *IssueCreateIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueCreated, error)
IssueCreateIssue creates an issue if using deadline only the date will be taken into account and time of day ignored
func (*Client) IssueCreateIssueAttachment ¶
func (a *Client) IssueCreateIssueAttachment(params *IssueCreateIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueAttachmentCreated, error)
IssueCreateIssueAttachment creates an issue attachment
func (*Client) IssueCreateIssueBlocking ¶
func (a *Client) IssueCreateIssueBlocking(params *IssueCreateIssueBlockingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueBlockingCreated, error)
IssueCreateIssueBlocking blocks the issue given in the body by the issue in path
func (*Client) IssueCreateIssueCommentAttachment ¶
func (a *Client) IssueCreateIssueCommentAttachment(params *IssueCreateIssueCommentAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueCommentAttachmentCreated, error)
IssueCreateIssueCommentAttachment creates a comment attachment
func (*Client) IssueCreateIssueDependencies ¶
func (a *Client) IssueCreateIssueDependencies(params *IssueCreateIssueDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueDependenciesCreated, error)
IssueCreateIssueDependencies makes the issue in the url depend on the issue in the form
func (*Client) IssueCreateLabel ¶
func (a *Client) IssueCreateLabel(params *IssueCreateLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateLabelCreated, error)
IssueCreateLabel creates a label
func (*Client) IssueCreateMilestone ¶
func (a *Client) IssueCreateMilestone(params *IssueCreateMilestoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateMilestoneCreated, error)
IssueCreateMilestone creates a milestone
func (*Client) IssueDelete ¶
func (a *Client) IssueDelete(params *IssueDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteNoContent, error)
IssueDelete deletes an issue
func (*Client) IssueDeleteComment ¶
func (a *Client) IssueDeleteComment(params *IssueDeleteCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteCommentNoContent, error)
IssueDeleteComment deletes a comment
func (*Client) IssueDeleteCommentDeprecated ¶
func (a *Client) IssueDeleteCommentDeprecated(params *IssueDeleteCommentDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteCommentDeprecatedNoContent, error)
IssueDeleteCommentDeprecated deletes a comment
func (*Client) IssueDeleteCommentReaction ¶
func (a *Client) IssueDeleteCommentReaction(params *IssueDeleteCommentReactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteCommentReactionOK, error)
IssueDeleteCommentReaction removes a reaction from a comment of an issue
func (*Client) IssueDeleteIssueAttachment ¶
func (a *Client) IssueDeleteIssueAttachment(params *IssueDeleteIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteIssueAttachmentNoContent, error)
IssueDeleteIssueAttachment deletes an issue attachment
func (*Client) IssueDeleteIssueCommentAttachment ¶
func (a *Client) IssueDeleteIssueCommentAttachment(params *IssueDeleteIssueCommentAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteIssueCommentAttachmentNoContent, error)
IssueDeleteIssueCommentAttachment deletes a comment attachment
func (*Client) IssueDeleteIssueReaction ¶
func (a *Client) IssueDeleteIssueReaction(params *IssueDeleteIssueReactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteIssueReactionOK, error)
IssueDeleteIssueReaction removes a reaction from an issue
func (*Client) IssueDeleteLabel ¶
func (a *Client) IssueDeleteLabel(params *IssueDeleteLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteLabelNoContent, error)
IssueDeleteLabel deletes a label
func (*Client) IssueDeleteMilestone ¶
func (a *Client) IssueDeleteMilestone(params *IssueDeleteMilestoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteMilestoneNoContent, error)
IssueDeleteMilestone deletes a milestone
func (*Client) IssueDeleteStopWatch ¶
func (a *Client) IssueDeleteStopWatch(params *IssueDeleteStopWatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteStopWatchNoContent, error)
IssueDeleteStopWatch deletes an issue s existing stopwatch
func (*Client) IssueDeleteSubscription ¶
func (a *Client) IssueDeleteSubscription(params *IssueDeleteSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteSubscriptionOK, *IssueDeleteSubscriptionCreated, error)
IssueDeleteSubscription unsubscribes user from issue
func (*Client) IssueDeleteTime ¶
func (a *Client) IssueDeleteTime(params *IssueDeleteTimeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteTimeNoContent, error)
IssueDeleteTime deletes specific tracked time
func (*Client) IssueEditComment ¶
func (a *Client) IssueEditComment(params *IssueEditCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditCommentOK, *IssueEditCommentNoContent, error)
IssueEditComment edits a comment
func (*Client) IssueEditCommentDeprecated ¶
func (a *Client) IssueEditCommentDeprecated(params *IssueEditCommentDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditCommentDeprecatedOK, *IssueEditCommentDeprecatedNoContent, error)
IssueEditCommentDeprecated edits a comment
func (*Client) IssueEditIssue ¶
func (a *Client) IssueEditIssue(params *IssueEditIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditIssueCreated, error)
IssueEditIssue edits an issue if using deadline only the date will be taken into account and time of day ignored
func (*Client) IssueEditIssueAttachment ¶
func (a *Client) IssueEditIssueAttachment(params *IssueEditIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditIssueAttachmentCreated, error)
IssueEditIssueAttachment edits an issue attachment
func (*Client) IssueEditIssueCommentAttachment ¶
func (a *Client) IssueEditIssueCommentAttachment(params *IssueEditIssueCommentAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditIssueCommentAttachmentCreated, error)
IssueEditIssueCommentAttachment edits a comment attachment
func (*Client) IssueEditIssueDeadline ¶
func (a *Client) IssueEditIssueDeadline(params *IssueEditIssueDeadlineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditIssueDeadlineCreated, error)
IssueEditIssueDeadline sets an issue deadline if set to null the deadline is deleted if using deadline only the date will be taken into account and time of day ignored
func (*Client) IssueEditLabel ¶
func (a *Client) IssueEditLabel(params *IssueEditLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditLabelOK, error)
IssueEditLabel updates a label
func (*Client) IssueEditMilestone ¶
func (a *Client) IssueEditMilestone(params *IssueEditMilestoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditMilestoneOK, error)
IssueEditMilestone updates a milestone
func (*Client) IssueGetComment ¶
func (a *Client) IssueGetComment(params *IssueGetCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetCommentOK, *IssueGetCommentNoContent, error)
IssueGetComment gets a comment
func (*Client) IssueGetCommentReactions ¶
func (a *Client) IssueGetCommentReactions(params *IssueGetCommentReactionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetCommentReactionsOK, error)
IssueGetCommentReactions gets a list of reactions from a comment of an issue
func (*Client) IssueGetComments ¶
func (a *Client) IssueGetComments(params *IssueGetCommentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetCommentsOK, error)
IssueGetComments lists all comments on an issue
func (*Client) IssueGetCommentsAndTimeline ¶
func (a *Client) IssueGetCommentsAndTimeline(params *IssueGetCommentsAndTimelineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetCommentsAndTimelineOK, error)
IssueGetCommentsAndTimeline lists all comments and events on an issue
func (*Client) IssueGetIssue ¶
func (a *Client) IssueGetIssue(params *IssueGetIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetIssueOK, error)
IssueGetIssue gets an issue
func (*Client) IssueGetIssueAttachment ¶
func (a *Client) IssueGetIssueAttachment(params *IssueGetIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetIssueAttachmentOK, error)
IssueGetIssueAttachment gets an issue attachment
func (*Client) IssueGetIssueCommentAttachment ¶
func (a *Client) IssueGetIssueCommentAttachment(params *IssueGetIssueCommentAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetIssueCommentAttachmentOK, error)
IssueGetIssueCommentAttachment gets a comment attachment
func (*Client) IssueGetIssueReactions ¶
func (a *Client) IssueGetIssueReactions(params *IssueGetIssueReactionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetIssueReactionsOK, error)
IssueGetIssueReactions gets a list reactions of an issue
func (*Client) IssueGetLabel ¶
func (a *Client) IssueGetLabel(params *IssueGetLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetLabelOK, error)
IssueGetLabel gets a single label
func (*Client) IssueGetLabels ¶
func (a *Client) IssueGetLabels(params *IssueGetLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetLabelsOK, error)
IssueGetLabels gets an issue s labels
func (*Client) IssueGetMilestone ¶
func (a *Client) IssueGetMilestone(params *IssueGetMilestoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetMilestoneOK, error)
IssueGetMilestone gets a milestone
func (*Client) IssueGetMilestonesList ¶
func (a *Client) IssueGetMilestonesList(params *IssueGetMilestonesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetMilestonesListOK, error)
IssueGetMilestonesList gets all of a repository s opened milestones
func (*Client) IssueGetRepoComments ¶
func (a *Client) IssueGetRepoComments(params *IssueGetRepoCommentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetRepoCommentsOK, error)
IssueGetRepoComments lists all comments in a repository
func (*Client) IssueListBlocks ¶
func (a *Client) IssueListBlocks(params *IssueListBlocksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListBlocksOK, error)
IssueListBlocks lists issues that are blocked by this issue
func (*Client) IssueListIssueAttachments ¶
func (a *Client) IssueListIssueAttachments(params *IssueListIssueAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListIssueAttachmentsOK, error)
IssueListIssueAttachments lists issue s attachments
func (*Client) IssueListIssueCommentAttachments ¶
func (a *Client) IssueListIssueCommentAttachments(params *IssueListIssueCommentAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListIssueCommentAttachmentsOK, error)
IssueListIssueCommentAttachments lists comment s attachments
func (*Client) IssueListIssueDependencies ¶
func (a *Client) IssueListIssueDependencies(params *IssueListIssueDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListIssueDependenciesOK, error)
IssueListIssueDependencies lists an issue s dependencies i e all issues that block this issue
func (*Client) IssueListIssues ¶
func (a *Client) IssueListIssues(params *IssueListIssuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListIssuesOK, error)
IssueListIssues lists a repository s issues
func (*Client) IssueListLabels ¶
func (a *Client) IssueListLabels(params *IssueListLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListLabelsOK, error)
IssueListLabels gets all of a repository s labels
func (*Client) IssuePostCommentReaction ¶
func (a *Client) IssuePostCommentReaction(params *IssuePostCommentReactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssuePostCommentReactionOK, *IssuePostCommentReactionCreated, error)
IssuePostCommentReaction adds a reaction to a comment of an issue
func (*Client) IssuePostIssueReaction ¶
func (a *Client) IssuePostIssueReaction(params *IssuePostIssueReactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssuePostIssueReactionOK, *IssuePostIssueReactionCreated, error)
IssuePostIssueReaction adds a reaction to an issue
func (*Client) IssueRemoveIssueBlocking ¶
func (a *Client) IssueRemoveIssueBlocking(params *IssueRemoveIssueBlockingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueRemoveIssueBlockingOK, error)
IssueRemoveIssueBlocking unblocks the issue given in the body by the issue in path
func (*Client) IssueRemoveIssueDependencies ¶
func (a *Client) IssueRemoveIssueDependencies(params *IssueRemoveIssueDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueRemoveIssueDependenciesOK, error)
IssueRemoveIssueDependencies removes an issue dependency
func (*Client) IssueRemoveLabel ¶
func (a *Client) IssueRemoveLabel(params *IssueRemoveLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueRemoveLabelNoContent, error)
IssueRemoveLabel removes a label from an issue
func (*Client) IssueReplaceLabels ¶
func (a *Client) IssueReplaceLabels(params *IssueReplaceLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueReplaceLabelsOK, error)
IssueReplaceLabels replaces an issue s labels
func (*Client) IssueResetTime ¶
func (a *Client) IssueResetTime(params *IssueResetTimeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueResetTimeNoContent, error)
IssueResetTime resets a tracked time of an issue
func (*Client) IssueSearchIssues ¶
func (a *Client) IssueSearchIssues(params *IssueSearchIssuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueSearchIssuesOK, error)
IssueSearchIssues searches for issues across the repositories that the user has access to
func (*Client) IssueStartStopWatch ¶
func (a *Client) IssueStartStopWatch(params *IssueStartStopWatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueStartStopWatchCreated, error)
IssueStartStopWatch starts stopwatch on an issue
func (*Client) IssueStopStopWatch ¶
func (a *Client) IssueStopStopWatch(params *IssueStopStopWatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueStopStopWatchCreated, error)
IssueStopStopWatch stops an issue s existing stopwatch
func (*Client) IssueSubscriptions ¶
func (a *Client) IssueSubscriptions(params *IssueSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueSubscriptionsOK, error)
IssueSubscriptions gets users who subscribed on an issue
func (*Client) IssueTrackedTimes ¶
func (a *Client) IssueTrackedTimes(params *IssueTrackedTimesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueTrackedTimesOK, error)
IssueTrackedTimes lists an issue s tracked times
func (*Client) MoveIssuePin ¶
func (a *Client) MoveIssuePin(params *MoveIssuePinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveIssuePinNoContent, error)
MoveIssuePin moves the pin to the given position
func (*Client) PinIssue ¶
func (a *Client) PinIssue(params *PinIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PinIssueNoContent, error)
PinIssue pins an issue
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnpinIssue ¶
func (a *Client) UnpinIssue(params *UnpinIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnpinIssueNoContent, error)
UnpinIssue unpins an issue
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
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 { IssueAddLabel(params *IssueAddLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueAddLabelOK, error) IssueAddSubscription(params *IssueAddSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueAddSubscriptionOK, *IssueAddSubscriptionCreated, error) IssueAddTime(params *IssueAddTimeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueAddTimeOK, error) IssueCheckSubscription(params *IssueCheckSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCheckSubscriptionOK, error) IssueClearLabels(params *IssueClearLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueClearLabelsNoContent, error) IssueCreateComment(params *IssueCreateCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateCommentCreated, error) IssueCreateIssue(params *IssueCreateIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueCreated, error) IssueCreateIssueAttachment(params *IssueCreateIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueAttachmentCreated, error) IssueCreateIssueBlocking(params *IssueCreateIssueBlockingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueBlockingCreated, error) IssueCreateIssueCommentAttachment(params *IssueCreateIssueCommentAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueCommentAttachmentCreated, error) IssueCreateIssueDependencies(params *IssueCreateIssueDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateIssueDependenciesCreated, error) IssueCreateLabel(params *IssueCreateLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateLabelCreated, error) IssueCreateMilestone(params *IssueCreateMilestoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueCreateMilestoneCreated, error) IssueDelete(params *IssueDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteNoContent, error) IssueDeleteComment(params *IssueDeleteCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteCommentNoContent, error) IssueDeleteCommentDeprecated(params *IssueDeleteCommentDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteCommentDeprecatedNoContent, error) IssueDeleteCommentReaction(params *IssueDeleteCommentReactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteCommentReactionOK, error) IssueDeleteIssueAttachment(params *IssueDeleteIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteIssueAttachmentNoContent, error) IssueDeleteIssueCommentAttachment(params *IssueDeleteIssueCommentAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteIssueCommentAttachmentNoContent, error) IssueDeleteIssueReaction(params *IssueDeleteIssueReactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteIssueReactionOK, error) IssueDeleteLabel(params *IssueDeleteLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteLabelNoContent, error) IssueDeleteMilestone(params *IssueDeleteMilestoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteMilestoneNoContent, error) IssueDeleteStopWatch(params *IssueDeleteStopWatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteStopWatchNoContent, error) IssueDeleteSubscription(params *IssueDeleteSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteSubscriptionOK, *IssueDeleteSubscriptionCreated, error) IssueDeleteTime(params *IssueDeleteTimeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueDeleteTimeNoContent, error) IssueEditComment(params *IssueEditCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditCommentOK, *IssueEditCommentNoContent, error) IssueEditCommentDeprecated(params *IssueEditCommentDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditCommentDeprecatedOK, *IssueEditCommentDeprecatedNoContent, error) IssueEditIssue(params *IssueEditIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditIssueCreated, error) IssueEditIssueAttachment(params *IssueEditIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditIssueAttachmentCreated, error) IssueEditIssueCommentAttachment(params *IssueEditIssueCommentAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditIssueCommentAttachmentCreated, error) IssueEditIssueDeadline(params *IssueEditIssueDeadlineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditIssueDeadlineCreated, error) IssueEditLabel(params *IssueEditLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditLabelOK, error) IssueEditMilestone(params *IssueEditMilestoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueEditMilestoneOK, error) IssueGetComment(params *IssueGetCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetCommentOK, *IssueGetCommentNoContent, error) IssueGetCommentReactions(params *IssueGetCommentReactionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetCommentReactionsOK, error) IssueGetComments(params *IssueGetCommentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetCommentsOK, error) IssueGetCommentsAndTimeline(params *IssueGetCommentsAndTimelineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetCommentsAndTimelineOK, error) IssueGetIssue(params *IssueGetIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetIssueOK, error) IssueGetIssueAttachment(params *IssueGetIssueAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetIssueAttachmentOK, error) IssueGetIssueCommentAttachment(params *IssueGetIssueCommentAttachmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetIssueCommentAttachmentOK, error) IssueGetIssueReactions(params *IssueGetIssueReactionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetIssueReactionsOK, error) IssueGetLabel(params *IssueGetLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetLabelOK, error) IssueGetLabels(params *IssueGetLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetLabelsOK, error) IssueGetMilestone(params *IssueGetMilestoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetMilestoneOK, error) IssueGetMilestonesList(params *IssueGetMilestonesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetMilestonesListOK, error) IssueGetRepoComments(params *IssueGetRepoCommentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueGetRepoCommentsOK, error) IssueListBlocks(params *IssueListBlocksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListBlocksOK, error) IssueListIssueAttachments(params *IssueListIssueAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListIssueAttachmentsOK, error) IssueListIssueCommentAttachments(params *IssueListIssueCommentAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListIssueCommentAttachmentsOK, error) IssueListIssueDependencies(params *IssueListIssueDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListIssueDependenciesOK, error) IssueListIssues(params *IssueListIssuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListIssuesOK, error) IssueListLabels(params *IssueListLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueListLabelsOK, error) IssuePostCommentReaction(params *IssuePostCommentReactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssuePostCommentReactionOK, *IssuePostCommentReactionCreated, error) IssuePostIssueReaction(params *IssuePostIssueReactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssuePostIssueReactionOK, *IssuePostIssueReactionCreated, error) IssueRemoveIssueBlocking(params *IssueRemoveIssueBlockingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueRemoveIssueBlockingOK, error) IssueRemoveIssueDependencies(params *IssueRemoveIssueDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueRemoveIssueDependenciesOK, error) IssueRemoveLabel(params *IssueRemoveLabelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueRemoveLabelNoContent, error) IssueReplaceLabels(params *IssueReplaceLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueReplaceLabelsOK, error) IssueResetTime(params *IssueResetTimeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueResetTimeNoContent, error) IssueSearchIssues(params *IssueSearchIssuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueSearchIssuesOK, error) IssueStartStopWatch(params *IssueStartStopWatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueStartStopWatchCreated, error) IssueStopStopWatch(params *IssueStopStopWatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueStopStopWatchCreated, error) IssueSubscriptions(params *IssueSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueSubscriptionsOK, error) IssueTrackedTimes(params *IssueTrackedTimesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IssueTrackedTimesOK, error) MoveIssuePin(params *MoveIssuePinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveIssuePinNoContent, error) PinIssue(params *PinIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PinIssueNoContent, error) UnpinIssue(params *UnpinIssueParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnpinIssueNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new issue API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new issue 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 issue 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 IssueAddLabelForbidden ¶
IssueAddLabelForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueAddLabelForbidden ¶
func NewIssueAddLabelForbidden() *IssueAddLabelForbidden
NewIssueAddLabelForbidden creates a IssueAddLabelForbidden with default headers values
func (*IssueAddLabelForbidden) Code ¶
func (o *IssueAddLabelForbidden) Code() int
Code gets the status code for the issue add label forbidden response
func (*IssueAddLabelForbidden) Error ¶
func (o *IssueAddLabelForbidden) Error() string
func (*IssueAddLabelForbidden) IsClientError ¶
func (o *IssueAddLabelForbidden) IsClientError() bool
IsClientError returns true when this issue add label forbidden response has a 4xx status code
func (*IssueAddLabelForbidden) IsCode ¶
func (o *IssueAddLabelForbidden) IsCode(code int) bool
IsCode returns true when this issue add label forbidden response a status code equal to that given
func (*IssueAddLabelForbidden) IsRedirect ¶
func (o *IssueAddLabelForbidden) IsRedirect() bool
IsRedirect returns true when this issue add label forbidden response has a 3xx status code
func (*IssueAddLabelForbidden) IsServerError ¶
func (o *IssueAddLabelForbidden) IsServerError() bool
IsServerError returns true when this issue add label forbidden response has a 5xx status code
func (*IssueAddLabelForbidden) IsSuccess ¶
func (o *IssueAddLabelForbidden) IsSuccess() bool
IsSuccess returns true when this issue add label forbidden response has a 2xx status code
func (*IssueAddLabelForbidden) String ¶
func (o *IssueAddLabelForbidden) String() string
type IssueAddLabelNotFound ¶
type IssueAddLabelNotFound struct { }
IssueAddLabelNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueAddLabelNotFound ¶
func NewIssueAddLabelNotFound() *IssueAddLabelNotFound
NewIssueAddLabelNotFound creates a IssueAddLabelNotFound with default headers values
func (*IssueAddLabelNotFound) Code ¶
func (o *IssueAddLabelNotFound) Code() int
Code gets the status code for the issue add label not found response
func (*IssueAddLabelNotFound) Error ¶
func (o *IssueAddLabelNotFound) Error() string
func (*IssueAddLabelNotFound) IsClientError ¶
func (o *IssueAddLabelNotFound) IsClientError() bool
IsClientError returns true when this issue add label not found response has a 4xx status code
func (*IssueAddLabelNotFound) IsCode ¶
func (o *IssueAddLabelNotFound) IsCode(code int) bool
IsCode returns true when this issue add label not found response a status code equal to that given
func (*IssueAddLabelNotFound) IsRedirect ¶
func (o *IssueAddLabelNotFound) IsRedirect() bool
IsRedirect returns true when this issue add label not found response has a 3xx status code
func (*IssueAddLabelNotFound) IsServerError ¶
func (o *IssueAddLabelNotFound) IsServerError() bool
IsServerError returns true when this issue add label not found response has a 5xx status code
func (*IssueAddLabelNotFound) IsSuccess ¶
func (o *IssueAddLabelNotFound) IsSuccess() bool
IsSuccess returns true when this issue add label not found response has a 2xx status code
func (*IssueAddLabelNotFound) String ¶
func (o *IssueAddLabelNotFound) String() string
type IssueAddLabelOK ¶
IssueAddLabelOK describes a response with status code 200, with default header values.
LabelList
func NewIssueAddLabelOK ¶
func NewIssueAddLabelOK() *IssueAddLabelOK
NewIssueAddLabelOK creates a IssueAddLabelOK with default headers values
func (*IssueAddLabelOK) Code ¶
func (o *IssueAddLabelOK) Code() int
Code gets the status code for the issue add label o k response
func (*IssueAddLabelOK) Error ¶
func (o *IssueAddLabelOK) Error() string
func (*IssueAddLabelOK) GetPayload ¶
func (o *IssueAddLabelOK) GetPayload() []*models.Label
func (*IssueAddLabelOK) IsClientError ¶
func (o *IssueAddLabelOK) IsClientError() bool
IsClientError returns true when this issue add label o k response has a 4xx status code
func (*IssueAddLabelOK) IsCode ¶
func (o *IssueAddLabelOK) IsCode(code int) bool
IsCode returns true when this issue add label o k response a status code equal to that given
func (*IssueAddLabelOK) IsRedirect ¶
func (o *IssueAddLabelOK) IsRedirect() bool
IsRedirect returns true when this issue add label o k response has a 3xx status code
func (*IssueAddLabelOK) IsServerError ¶
func (o *IssueAddLabelOK) IsServerError() bool
IsServerError returns true when this issue add label o k response has a 5xx status code
func (*IssueAddLabelOK) IsSuccess ¶
func (o *IssueAddLabelOK) IsSuccess() bool
IsSuccess returns true when this issue add label o k response has a 2xx status code
func (*IssueAddLabelOK) String ¶
func (o *IssueAddLabelOK) String() string
type IssueAddLabelParams ¶
type IssueAddLabelParams struct { // Body. Body *models.IssueLabelsOption /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueAddLabelParams contains all the parameters to send to the API endpoint
for the issue add label operation. Typically these are written to a http.Request.
func NewIssueAddLabelParams ¶
func NewIssueAddLabelParams() *IssueAddLabelParams
NewIssueAddLabelParams creates a new IssueAddLabelParams 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 NewIssueAddLabelParamsWithContext ¶
func NewIssueAddLabelParamsWithContext(ctx context.Context) *IssueAddLabelParams
NewIssueAddLabelParamsWithContext creates a new IssueAddLabelParams object with the ability to set a context for a request.
func NewIssueAddLabelParamsWithHTTPClient ¶
func NewIssueAddLabelParamsWithHTTPClient(client *http.Client) *IssueAddLabelParams
NewIssueAddLabelParamsWithHTTPClient creates a new IssueAddLabelParams object with the ability to set a custom HTTPClient for a request.
func NewIssueAddLabelParamsWithTimeout ¶
func NewIssueAddLabelParamsWithTimeout(timeout time.Duration) *IssueAddLabelParams
NewIssueAddLabelParamsWithTimeout creates a new IssueAddLabelParams object with the ability to set a timeout on a request.
func (*IssueAddLabelParams) SetBody ¶
func (o *IssueAddLabelParams) SetBody(body *models.IssueLabelsOption)
SetBody adds the body to the issue add label params
func (*IssueAddLabelParams) SetContext ¶
func (o *IssueAddLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the issue add label params
func (*IssueAddLabelParams) SetDefaults ¶
func (o *IssueAddLabelParams) SetDefaults()
SetDefaults hydrates default values in the issue add label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueAddLabelParams) SetHTTPClient ¶
func (o *IssueAddLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue add label params
func (*IssueAddLabelParams) SetIndex ¶
func (o *IssueAddLabelParams) SetIndex(index int64)
SetIndex adds the index to the issue add label params
func (*IssueAddLabelParams) SetOwner ¶
func (o *IssueAddLabelParams) SetOwner(owner string)
SetOwner adds the owner to the issue add label params
func (*IssueAddLabelParams) SetRepo ¶
func (o *IssueAddLabelParams) SetRepo(repo string)
SetRepo adds the repo to the issue add label params
func (*IssueAddLabelParams) SetTimeout ¶
func (o *IssueAddLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue add label params
func (*IssueAddLabelParams) WithBody ¶
func (o *IssueAddLabelParams) WithBody(body *models.IssueLabelsOption) *IssueAddLabelParams
WithBody adds the body to the issue add label params
func (*IssueAddLabelParams) WithContext ¶
func (o *IssueAddLabelParams) WithContext(ctx context.Context) *IssueAddLabelParams
WithContext adds the context to the issue add label params
func (*IssueAddLabelParams) WithDefaults ¶
func (o *IssueAddLabelParams) WithDefaults() *IssueAddLabelParams
WithDefaults hydrates default values in the issue add label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueAddLabelParams) WithHTTPClient ¶
func (o *IssueAddLabelParams) WithHTTPClient(client *http.Client) *IssueAddLabelParams
WithHTTPClient adds the HTTPClient to the issue add label params
func (*IssueAddLabelParams) WithIndex ¶
func (o *IssueAddLabelParams) WithIndex(index int64) *IssueAddLabelParams
WithIndex adds the index to the issue add label params
func (*IssueAddLabelParams) WithOwner ¶
func (o *IssueAddLabelParams) WithOwner(owner string) *IssueAddLabelParams
WithOwner adds the owner to the issue add label params
func (*IssueAddLabelParams) WithRepo ¶
func (o *IssueAddLabelParams) WithRepo(repo string) *IssueAddLabelParams
WithRepo adds the repo to the issue add label params
func (*IssueAddLabelParams) WithTimeout ¶
func (o *IssueAddLabelParams) WithTimeout(timeout time.Duration) *IssueAddLabelParams
WithTimeout adds the timeout to the issue add label params
func (*IssueAddLabelParams) WriteToRequest ¶
func (o *IssueAddLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueAddLabelReader ¶
type IssueAddLabelReader struct {
// contains filtered or unexported fields
}
IssueAddLabelReader is a Reader for the IssueAddLabel structure.
func (*IssueAddLabelReader) ReadResponse ¶
func (o *IssueAddLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueAddSubscriptionCreated ¶
type IssueAddSubscriptionCreated struct { }
IssueAddSubscriptionCreated describes a response with status code 201, with default header values.
Successfully Subscribed
func NewIssueAddSubscriptionCreated ¶
func NewIssueAddSubscriptionCreated() *IssueAddSubscriptionCreated
NewIssueAddSubscriptionCreated creates a IssueAddSubscriptionCreated with default headers values
func (*IssueAddSubscriptionCreated) Code ¶
func (o *IssueAddSubscriptionCreated) Code() int
Code gets the status code for the issue add subscription created response
func (*IssueAddSubscriptionCreated) Error ¶
func (o *IssueAddSubscriptionCreated) Error() string
func (*IssueAddSubscriptionCreated) IsClientError ¶
func (o *IssueAddSubscriptionCreated) IsClientError() bool
IsClientError returns true when this issue add subscription created response has a 4xx status code
func (*IssueAddSubscriptionCreated) IsCode ¶
func (o *IssueAddSubscriptionCreated) IsCode(code int) bool
IsCode returns true when this issue add subscription created response a status code equal to that given
func (*IssueAddSubscriptionCreated) IsRedirect ¶
func (o *IssueAddSubscriptionCreated) IsRedirect() bool
IsRedirect returns true when this issue add subscription created response has a 3xx status code
func (*IssueAddSubscriptionCreated) IsServerError ¶
func (o *IssueAddSubscriptionCreated) IsServerError() bool
IsServerError returns true when this issue add subscription created response has a 5xx status code
func (*IssueAddSubscriptionCreated) IsSuccess ¶
func (o *IssueAddSubscriptionCreated) IsSuccess() bool
IsSuccess returns true when this issue add subscription created response has a 2xx status code
func (*IssueAddSubscriptionCreated) String ¶
func (o *IssueAddSubscriptionCreated) String() string
type IssueAddSubscriptionNotFound ¶
type IssueAddSubscriptionNotFound struct { }
IssueAddSubscriptionNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueAddSubscriptionNotFound ¶
func NewIssueAddSubscriptionNotFound() *IssueAddSubscriptionNotFound
NewIssueAddSubscriptionNotFound creates a IssueAddSubscriptionNotFound with default headers values
func (*IssueAddSubscriptionNotFound) Code ¶
func (o *IssueAddSubscriptionNotFound) Code() int
Code gets the status code for the issue add subscription not found response
func (*IssueAddSubscriptionNotFound) Error ¶
func (o *IssueAddSubscriptionNotFound) Error() string
func (*IssueAddSubscriptionNotFound) IsClientError ¶
func (o *IssueAddSubscriptionNotFound) IsClientError() bool
IsClientError returns true when this issue add subscription not found response has a 4xx status code
func (*IssueAddSubscriptionNotFound) IsCode ¶
func (o *IssueAddSubscriptionNotFound) IsCode(code int) bool
IsCode returns true when this issue add subscription not found response a status code equal to that given
func (*IssueAddSubscriptionNotFound) IsRedirect ¶
func (o *IssueAddSubscriptionNotFound) IsRedirect() bool
IsRedirect returns true when this issue add subscription not found response has a 3xx status code
func (*IssueAddSubscriptionNotFound) IsServerError ¶
func (o *IssueAddSubscriptionNotFound) IsServerError() bool
IsServerError returns true when this issue add subscription not found response has a 5xx status code
func (*IssueAddSubscriptionNotFound) IsSuccess ¶
func (o *IssueAddSubscriptionNotFound) IsSuccess() bool
IsSuccess returns true when this issue add subscription not found response has a 2xx status code
func (*IssueAddSubscriptionNotFound) String ¶
func (o *IssueAddSubscriptionNotFound) String() string
type IssueAddSubscriptionNotModified ¶
type IssueAddSubscriptionNotModified struct { }
IssueAddSubscriptionNotModified describes a response with status code 304, with default header values.
User can only subscribe itself if he is no admin
func NewIssueAddSubscriptionNotModified ¶
func NewIssueAddSubscriptionNotModified() *IssueAddSubscriptionNotModified
NewIssueAddSubscriptionNotModified creates a IssueAddSubscriptionNotModified with default headers values
func (*IssueAddSubscriptionNotModified) Code ¶
func (o *IssueAddSubscriptionNotModified) Code() int
Code gets the status code for the issue add subscription not modified response
func (*IssueAddSubscriptionNotModified) Error ¶
func (o *IssueAddSubscriptionNotModified) Error() string
func (*IssueAddSubscriptionNotModified) IsClientError ¶
func (o *IssueAddSubscriptionNotModified) IsClientError() bool
IsClientError returns true when this issue add subscription not modified response has a 4xx status code
func (*IssueAddSubscriptionNotModified) IsCode ¶
func (o *IssueAddSubscriptionNotModified) IsCode(code int) bool
IsCode returns true when this issue add subscription not modified response a status code equal to that given
func (*IssueAddSubscriptionNotModified) IsRedirect ¶
func (o *IssueAddSubscriptionNotModified) IsRedirect() bool
IsRedirect returns true when this issue add subscription not modified response has a 3xx status code
func (*IssueAddSubscriptionNotModified) IsServerError ¶
func (o *IssueAddSubscriptionNotModified) IsServerError() bool
IsServerError returns true when this issue add subscription not modified response has a 5xx status code
func (*IssueAddSubscriptionNotModified) IsSuccess ¶
func (o *IssueAddSubscriptionNotModified) IsSuccess() bool
IsSuccess returns true when this issue add subscription not modified response has a 2xx status code
func (*IssueAddSubscriptionNotModified) String ¶
func (o *IssueAddSubscriptionNotModified) String() string
type IssueAddSubscriptionOK ¶
type IssueAddSubscriptionOK struct { }
IssueAddSubscriptionOK describes a response with status code 200, with default header values.
Already subscribed
func NewIssueAddSubscriptionOK ¶
func NewIssueAddSubscriptionOK() *IssueAddSubscriptionOK
NewIssueAddSubscriptionOK creates a IssueAddSubscriptionOK with default headers values
func (*IssueAddSubscriptionOK) Code ¶
func (o *IssueAddSubscriptionOK) Code() int
Code gets the status code for the issue add subscription o k response
func (*IssueAddSubscriptionOK) Error ¶
func (o *IssueAddSubscriptionOK) Error() string
func (*IssueAddSubscriptionOK) IsClientError ¶
func (o *IssueAddSubscriptionOK) IsClientError() bool
IsClientError returns true when this issue add subscription o k response has a 4xx status code
func (*IssueAddSubscriptionOK) IsCode ¶
func (o *IssueAddSubscriptionOK) IsCode(code int) bool
IsCode returns true when this issue add subscription o k response a status code equal to that given
func (*IssueAddSubscriptionOK) IsRedirect ¶
func (o *IssueAddSubscriptionOK) IsRedirect() bool
IsRedirect returns true when this issue add subscription o k response has a 3xx status code
func (*IssueAddSubscriptionOK) IsServerError ¶
func (o *IssueAddSubscriptionOK) IsServerError() bool
IsServerError returns true when this issue add subscription o k response has a 5xx status code
func (*IssueAddSubscriptionOK) IsSuccess ¶
func (o *IssueAddSubscriptionOK) IsSuccess() bool
IsSuccess returns true when this issue add subscription o k response has a 2xx status code
func (*IssueAddSubscriptionOK) String ¶
func (o *IssueAddSubscriptionOK) String() string
type IssueAddSubscriptionParams ¶
type IssueAddSubscriptionParams struct { /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string /* User. user to subscribe */ User string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueAddSubscriptionParams contains all the parameters to send to the API endpoint
for the issue add subscription operation. Typically these are written to a http.Request.
func NewIssueAddSubscriptionParams ¶
func NewIssueAddSubscriptionParams() *IssueAddSubscriptionParams
NewIssueAddSubscriptionParams creates a new IssueAddSubscriptionParams 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 NewIssueAddSubscriptionParamsWithContext ¶
func NewIssueAddSubscriptionParamsWithContext(ctx context.Context) *IssueAddSubscriptionParams
NewIssueAddSubscriptionParamsWithContext creates a new IssueAddSubscriptionParams object with the ability to set a context for a request.
func NewIssueAddSubscriptionParamsWithHTTPClient ¶
func NewIssueAddSubscriptionParamsWithHTTPClient(client *http.Client) *IssueAddSubscriptionParams
NewIssueAddSubscriptionParamsWithHTTPClient creates a new IssueAddSubscriptionParams object with the ability to set a custom HTTPClient for a request.
func NewIssueAddSubscriptionParamsWithTimeout ¶
func NewIssueAddSubscriptionParamsWithTimeout(timeout time.Duration) *IssueAddSubscriptionParams
NewIssueAddSubscriptionParamsWithTimeout creates a new IssueAddSubscriptionParams object with the ability to set a timeout on a request.
func (*IssueAddSubscriptionParams) SetContext ¶
func (o *IssueAddSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the issue add subscription params
func (*IssueAddSubscriptionParams) SetDefaults ¶
func (o *IssueAddSubscriptionParams) SetDefaults()
SetDefaults hydrates default values in the issue add subscription params (not the query body).
All values with no default are reset to their zero value.
func (*IssueAddSubscriptionParams) SetHTTPClient ¶
func (o *IssueAddSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue add subscription params
func (*IssueAddSubscriptionParams) SetIndex ¶
func (o *IssueAddSubscriptionParams) SetIndex(index int64)
SetIndex adds the index to the issue add subscription params
func (*IssueAddSubscriptionParams) SetOwner ¶
func (o *IssueAddSubscriptionParams) SetOwner(owner string)
SetOwner adds the owner to the issue add subscription params
func (*IssueAddSubscriptionParams) SetRepo ¶
func (o *IssueAddSubscriptionParams) SetRepo(repo string)
SetRepo adds the repo to the issue add subscription params
func (*IssueAddSubscriptionParams) SetTimeout ¶
func (o *IssueAddSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue add subscription params
func (*IssueAddSubscriptionParams) SetUser ¶
func (o *IssueAddSubscriptionParams) SetUser(user string)
SetUser adds the user to the issue add subscription params
func (*IssueAddSubscriptionParams) WithContext ¶
func (o *IssueAddSubscriptionParams) WithContext(ctx context.Context) *IssueAddSubscriptionParams
WithContext adds the context to the issue add subscription params
func (*IssueAddSubscriptionParams) WithDefaults ¶
func (o *IssueAddSubscriptionParams) WithDefaults() *IssueAddSubscriptionParams
WithDefaults hydrates default values in the issue add subscription params (not the query body).
All values with no default are reset to their zero value.
func (*IssueAddSubscriptionParams) WithHTTPClient ¶
func (o *IssueAddSubscriptionParams) WithHTTPClient(client *http.Client) *IssueAddSubscriptionParams
WithHTTPClient adds the HTTPClient to the issue add subscription params
func (*IssueAddSubscriptionParams) WithIndex ¶
func (o *IssueAddSubscriptionParams) WithIndex(index int64) *IssueAddSubscriptionParams
WithIndex adds the index to the issue add subscription params
func (*IssueAddSubscriptionParams) WithOwner ¶
func (o *IssueAddSubscriptionParams) WithOwner(owner string) *IssueAddSubscriptionParams
WithOwner adds the owner to the issue add subscription params
func (*IssueAddSubscriptionParams) WithRepo ¶
func (o *IssueAddSubscriptionParams) WithRepo(repo string) *IssueAddSubscriptionParams
WithRepo adds the repo to the issue add subscription params
func (*IssueAddSubscriptionParams) WithTimeout ¶
func (o *IssueAddSubscriptionParams) WithTimeout(timeout time.Duration) *IssueAddSubscriptionParams
WithTimeout adds the timeout to the issue add subscription params
func (*IssueAddSubscriptionParams) WithUser ¶
func (o *IssueAddSubscriptionParams) WithUser(user string) *IssueAddSubscriptionParams
WithUser adds the user to the issue add subscription params
func (*IssueAddSubscriptionParams) WriteToRequest ¶
func (o *IssueAddSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueAddSubscriptionReader ¶
type IssueAddSubscriptionReader struct {
// contains filtered or unexported fields
}
IssueAddSubscriptionReader is a Reader for the IssueAddSubscription structure.
func (*IssueAddSubscriptionReader) ReadResponse ¶
func (o *IssueAddSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueAddTimeBadRequest ¶
IssueAddTimeBadRequest describes a response with status code 400, with default header values.
APIError is error format response
func NewIssueAddTimeBadRequest ¶
func NewIssueAddTimeBadRequest() *IssueAddTimeBadRequest
NewIssueAddTimeBadRequest creates a IssueAddTimeBadRequest with default headers values
func (*IssueAddTimeBadRequest) Code ¶
func (o *IssueAddTimeBadRequest) Code() int
Code gets the status code for the issue add time bad request response
func (*IssueAddTimeBadRequest) Error ¶
func (o *IssueAddTimeBadRequest) Error() string
func (*IssueAddTimeBadRequest) IsClientError ¶
func (o *IssueAddTimeBadRequest) IsClientError() bool
IsClientError returns true when this issue add time bad request response has a 4xx status code
func (*IssueAddTimeBadRequest) IsCode ¶
func (o *IssueAddTimeBadRequest) IsCode(code int) bool
IsCode returns true when this issue add time bad request response a status code equal to that given
func (*IssueAddTimeBadRequest) IsRedirect ¶
func (o *IssueAddTimeBadRequest) IsRedirect() bool
IsRedirect returns true when this issue add time bad request response has a 3xx status code
func (*IssueAddTimeBadRequest) IsServerError ¶
func (o *IssueAddTimeBadRequest) IsServerError() bool
IsServerError returns true when this issue add time bad request response has a 5xx status code
func (*IssueAddTimeBadRequest) IsSuccess ¶
func (o *IssueAddTimeBadRequest) IsSuccess() bool
IsSuccess returns true when this issue add time bad request response has a 2xx status code
func (*IssueAddTimeBadRequest) String ¶
func (o *IssueAddTimeBadRequest) String() string
type IssueAddTimeForbidden ¶
IssueAddTimeForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueAddTimeForbidden ¶
func NewIssueAddTimeForbidden() *IssueAddTimeForbidden
NewIssueAddTimeForbidden creates a IssueAddTimeForbidden with default headers values
func (*IssueAddTimeForbidden) Code ¶
func (o *IssueAddTimeForbidden) Code() int
Code gets the status code for the issue add time forbidden response
func (*IssueAddTimeForbidden) Error ¶
func (o *IssueAddTimeForbidden) Error() string
func (*IssueAddTimeForbidden) IsClientError ¶
func (o *IssueAddTimeForbidden) IsClientError() bool
IsClientError returns true when this issue add time forbidden response has a 4xx status code
func (*IssueAddTimeForbidden) IsCode ¶
func (o *IssueAddTimeForbidden) IsCode(code int) bool
IsCode returns true when this issue add time forbidden response a status code equal to that given
func (*IssueAddTimeForbidden) IsRedirect ¶
func (o *IssueAddTimeForbidden) IsRedirect() bool
IsRedirect returns true when this issue add time forbidden response has a 3xx status code
func (*IssueAddTimeForbidden) IsServerError ¶
func (o *IssueAddTimeForbidden) IsServerError() bool
IsServerError returns true when this issue add time forbidden response has a 5xx status code
func (*IssueAddTimeForbidden) IsSuccess ¶
func (o *IssueAddTimeForbidden) IsSuccess() bool
IsSuccess returns true when this issue add time forbidden response has a 2xx status code
func (*IssueAddTimeForbidden) String ¶
func (o *IssueAddTimeForbidden) String() string
type IssueAddTimeNotFound ¶
type IssueAddTimeNotFound struct { }
IssueAddTimeNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueAddTimeNotFound ¶
func NewIssueAddTimeNotFound() *IssueAddTimeNotFound
NewIssueAddTimeNotFound creates a IssueAddTimeNotFound with default headers values
func (*IssueAddTimeNotFound) Code ¶
func (o *IssueAddTimeNotFound) Code() int
Code gets the status code for the issue add time not found response
func (*IssueAddTimeNotFound) Error ¶
func (o *IssueAddTimeNotFound) Error() string
func (*IssueAddTimeNotFound) IsClientError ¶
func (o *IssueAddTimeNotFound) IsClientError() bool
IsClientError returns true when this issue add time not found response has a 4xx status code
func (*IssueAddTimeNotFound) IsCode ¶
func (o *IssueAddTimeNotFound) IsCode(code int) bool
IsCode returns true when this issue add time not found response a status code equal to that given
func (*IssueAddTimeNotFound) IsRedirect ¶
func (o *IssueAddTimeNotFound) IsRedirect() bool
IsRedirect returns true when this issue add time not found response has a 3xx status code
func (*IssueAddTimeNotFound) IsServerError ¶
func (o *IssueAddTimeNotFound) IsServerError() bool
IsServerError returns true when this issue add time not found response has a 5xx status code
func (*IssueAddTimeNotFound) IsSuccess ¶
func (o *IssueAddTimeNotFound) IsSuccess() bool
IsSuccess returns true when this issue add time not found response has a 2xx status code
func (*IssueAddTimeNotFound) String ¶
func (o *IssueAddTimeNotFound) String() string
type IssueAddTimeOK ¶
type IssueAddTimeOK struct {
Payload *models.TrackedTime
}
IssueAddTimeOK describes a response with status code 200, with default header values.
TrackedTime
func NewIssueAddTimeOK ¶
func NewIssueAddTimeOK() *IssueAddTimeOK
NewIssueAddTimeOK creates a IssueAddTimeOK with default headers values
func (*IssueAddTimeOK) Code ¶
func (o *IssueAddTimeOK) Code() int
Code gets the status code for the issue add time o k response
func (*IssueAddTimeOK) Error ¶
func (o *IssueAddTimeOK) Error() string
func (*IssueAddTimeOK) GetPayload ¶
func (o *IssueAddTimeOK) GetPayload() *models.TrackedTime
func (*IssueAddTimeOK) IsClientError ¶
func (o *IssueAddTimeOK) IsClientError() bool
IsClientError returns true when this issue add time o k response has a 4xx status code
func (*IssueAddTimeOK) IsCode ¶
func (o *IssueAddTimeOK) IsCode(code int) bool
IsCode returns true when this issue add time o k response a status code equal to that given
func (*IssueAddTimeOK) IsRedirect ¶
func (o *IssueAddTimeOK) IsRedirect() bool
IsRedirect returns true when this issue add time o k response has a 3xx status code
func (*IssueAddTimeOK) IsServerError ¶
func (o *IssueAddTimeOK) IsServerError() bool
IsServerError returns true when this issue add time o k response has a 5xx status code
func (*IssueAddTimeOK) IsSuccess ¶
func (o *IssueAddTimeOK) IsSuccess() bool
IsSuccess returns true when this issue add time o k response has a 2xx status code
func (*IssueAddTimeOK) String ¶
func (o *IssueAddTimeOK) String() string
type IssueAddTimeParams ¶
type IssueAddTimeParams struct { // Body. Body *models.AddTimeOption /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueAddTimeParams contains all the parameters to send to the API endpoint
for the issue add time operation. Typically these are written to a http.Request.
func NewIssueAddTimeParams ¶
func NewIssueAddTimeParams() *IssueAddTimeParams
NewIssueAddTimeParams creates a new IssueAddTimeParams 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 NewIssueAddTimeParamsWithContext ¶
func NewIssueAddTimeParamsWithContext(ctx context.Context) *IssueAddTimeParams
NewIssueAddTimeParamsWithContext creates a new IssueAddTimeParams object with the ability to set a context for a request.
func NewIssueAddTimeParamsWithHTTPClient ¶
func NewIssueAddTimeParamsWithHTTPClient(client *http.Client) *IssueAddTimeParams
NewIssueAddTimeParamsWithHTTPClient creates a new IssueAddTimeParams object with the ability to set a custom HTTPClient for a request.
func NewIssueAddTimeParamsWithTimeout ¶
func NewIssueAddTimeParamsWithTimeout(timeout time.Duration) *IssueAddTimeParams
NewIssueAddTimeParamsWithTimeout creates a new IssueAddTimeParams object with the ability to set a timeout on a request.
func (*IssueAddTimeParams) SetBody ¶
func (o *IssueAddTimeParams) SetBody(body *models.AddTimeOption)
SetBody adds the body to the issue add time params
func (*IssueAddTimeParams) SetContext ¶
func (o *IssueAddTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the issue add time params
func (*IssueAddTimeParams) SetDefaults ¶
func (o *IssueAddTimeParams) SetDefaults()
SetDefaults hydrates default values in the issue add time params (not the query body).
All values with no default are reset to their zero value.
func (*IssueAddTimeParams) SetHTTPClient ¶
func (o *IssueAddTimeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue add time params
func (*IssueAddTimeParams) SetIndex ¶
func (o *IssueAddTimeParams) SetIndex(index int64)
SetIndex adds the index to the issue add time params
func (*IssueAddTimeParams) SetOwner ¶
func (o *IssueAddTimeParams) SetOwner(owner string)
SetOwner adds the owner to the issue add time params
func (*IssueAddTimeParams) SetRepo ¶
func (o *IssueAddTimeParams) SetRepo(repo string)
SetRepo adds the repo to the issue add time params
func (*IssueAddTimeParams) SetTimeout ¶
func (o *IssueAddTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue add time params
func (*IssueAddTimeParams) WithBody ¶
func (o *IssueAddTimeParams) WithBody(body *models.AddTimeOption) *IssueAddTimeParams
WithBody adds the body to the issue add time params
func (*IssueAddTimeParams) WithContext ¶
func (o *IssueAddTimeParams) WithContext(ctx context.Context) *IssueAddTimeParams
WithContext adds the context to the issue add time params
func (*IssueAddTimeParams) WithDefaults ¶
func (o *IssueAddTimeParams) WithDefaults() *IssueAddTimeParams
WithDefaults hydrates default values in the issue add time params (not the query body).
All values with no default are reset to their zero value.
func (*IssueAddTimeParams) WithHTTPClient ¶
func (o *IssueAddTimeParams) WithHTTPClient(client *http.Client) *IssueAddTimeParams
WithHTTPClient adds the HTTPClient to the issue add time params
func (*IssueAddTimeParams) WithIndex ¶
func (o *IssueAddTimeParams) WithIndex(index int64) *IssueAddTimeParams
WithIndex adds the index to the issue add time params
func (*IssueAddTimeParams) WithOwner ¶
func (o *IssueAddTimeParams) WithOwner(owner string) *IssueAddTimeParams
WithOwner adds the owner to the issue add time params
func (*IssueAddTimeParams) WithRepo ¶
func (o *IssueAddTimeParams) WithRepo(repo string) *IssueAddTimeParams
WithRepo adds the repo to the issue add time params
func (*IssueAddTimeParams) WithTimeout ¶
func (o *IssueAddTimeParams) WithTimeout(timeout time.Duration) *IssueAddTimeParams
WithTimeout adds the timeout to the issue add time params
func (*IssueAddTimeParams) WriteToRequest ¶
func (o *IssueAddTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueAddTimeReader ¶
type IssueAddTimeReader struct {
// contains filtered or unexported fields
}
IssueAddTimeReader is a Reader for the IssueAddTime structure.
func (*IssueAddTimeReader) ReadResponse ¶
func (o *IssueAddTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCheckSubscriptionNotFound ¶
type IssueCheckSubscriptionNotFound struct { }
IssueCheckSubscriptionNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueCheckSubscriptionNotFound ¶
func NewIssueCheckSubscriptionNotFound() *IssueCheckSubscriptionNotFound
NewIssueCheckSubscriptionNotFound creates a IssueCheckSubscriptionNotFound with default headers values
func (*IssueCheckSubscriptionNotFound) Code ¶
func (o *IssueCheckSubscriptionNotFound) Code() int
Code gets the status code for the issue check subscription not found response
func (*IssueCheckSubscriptionNotFound) Error ¶
func (o *IssueCheckSubscriptionNotFound) Error() string
func (*IssueCheckSubscriptionNotFound) IsClientError ¶
func (o *IssueCheckSubscriptionNotFound) IsClientError() bool
IsClientError returns true when this issue check subscription not found response has a 4xx status code
func (*IssueCheckSubscriptionNotFound) IsCode ¶
func (o *IssueCheckSubscriptionNotFound) IsCode(code int) bool
IsCode returns true when this issue check subscription not found response a status code equal to that given
func (*IssueCheckSubscriptionNotFound) IsRedirect ¶
func (o *IssueCheckSubscriptionNotFound) IsRedirect() bool
IsRedirect returns true when this issue check subscription not found response has a 3xx status code
func (*IssueCheckSubscriptionNotFound) IsServerError ¶
func (o *IssueCheckSubscriptionNotFound) IsServerError() bool
IsServerError returns true when this issue check subscription not found response has a 5xx status code
func (*IssueCheckSubscriptionNotFound) IsSuccess ¶
func (o *IssueCheckSubscriptionNotFound) IsSuccess() bool
IsSuccess returns true when this issue check subscription not found response has a 2xx status code
func (*IssueCheckSubscriptionNotFound) String ¶
func (o *IssueCheckSubscriptionNotFound) String() string
type IssueCheckSubscriptionOK ¶
IssueCheckSubscriptionOK describes a response with status code 200, with default header values.
WatchInfo
func NewIssueCheckSubscriptionOK ¶
func NewIssueCheckSubscriptionOK() *IssueCheckSubscriptionOK
NewIssueCheckSubscriptionOK creates a IssueCheckSubscriptionOK with default headers values
func (*IssueCheckSubscriptionOK) Code ¶
func (o *IssueCheckSubscriptionOK) Code() int
Code gets the status code for the issue check subscription o k response
func (*IssueCheckSubscriptionOK) Error ¶
func (o *IssueCheckSubscriptionOK) Error() string
func (*IssueCheckSubscriptionOK) GetPayload ¶
func (o *IssueCheckSubscriptionOK) GetPayload() *models.WatchInfo
func (*IssueCheckSubscriptionOK) IsClientError ¶
func (o *IssueCheckSubscriptionOK) IsClientError() bool
IsClientError returns true when this issue check subscription o k response has a 4xx status code
func (*IssueCheckSubscriptionOK) IsCode ¶
func (o *IssueCheckSubscriptionOK) IsCode(code int) bool
IsCode returns true when this issue check subscription o k response a status code equal to that given
func (*IssueCheckSubscriptionOK) IsRedirect ¶
func (o *IssueCheckSubscriptionOK) IsRedirect() bool
IsRedirect returns true when this issue check subscription o k response has a 3xx status code
func (*IssueCheckSubscriptionOK) IsServerError ¶
func (o *IssueCheckSubscriptionOK) IsServerError() bool
IsServerError returns true when this issue check subscription o k response has a 5xx status code
func (*IssueCheckSubscriptionOK) IsSuccess ¶
func (o *IssueCheckSubscriptionOK) IsSuccess() bool
IsSuccess returns true when this issue check subscription o k response has a 2xx status code
func (*IssueCheckSubscriptionOK) String ¶
func (o *IssueCheckSubscriptionOK) String() string
type IssueCheckSubscriptionParams ¶
type IssueCheckSubscriptionParams struct { /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCheckSubscriptionParams contains all the parameters to send to the API endpoint
for the issue check subscription operation. Typically these are written to a http.Request.
func NewIssueCheckSubscriptionParams ¶
func NewIssueCheckSubscriptionParams() *IssueCheckSubscriptionParams
NewIssueCheckSubscriptionParams creates a new IssueCheckSubscriptionParams 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 NewIssueCheckSubscriptionParamsWithContext ¶
func NewIssueCheckSubscriptionParamsWithContext(ctx context.Context) *IssueCheckSubscriptionParams
NewIssueCheckSubscriptionParamsWithContext creates a new IssueCheckSubscriptionParams object with the ability to set a context for a request.
func NewIssueCheckSubscriptionParamsWithHTTPClient ¶
func NewIssueCheckSubscriptionParamsWithHTTPClient(client *http.Client) *IssueCheckSubscriptionParams
NewIssueCheckSubscriptionParamsWithHTTPClient creates a new IssueCheckSubscriptionParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCheckSubscriptionParamsWithTimeout ¶
func NewIssueCheckSubscriptionParamsWithTimeout(timeout time.Duration) *IssueCheckSubscriptionParams
NewIssueCheckSubscriptionParamsWithTimeout creates a new IssueCheckSubscriptionParams object with the ability to set a timeout on a request.
func (*IssueCheckSubscriptionParams) SetContext ¶
func (o *IssueCheckSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the issue check subscription params
func (*IssueCheckSubscriptionParams) SetDefaults ¶
func (o *IssueCheckSubscriptionParams) SetDefaults()
SetDefaults hydrates default values in the issue check subscription params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCheckSubscriptionParams) SetHTTPClient ¶
func (o *IssueCheckSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue check subscription params
func (*IssueCheckSubscriptionParams) SetIndex ¶
func (o *IssueCheckSubscriptionParams) SetIndex(index int64)
SetIndex adds the index to the issue check subscription params
func (*IssueCheckSubscriptionParams) SetOwner ¶
func (o *IssueCheckSubscriptionParams) SetOwner(owner string)
SetOwner adds the owner to the issue check subscription params
func (*IssueCheckSubscriptionParams) SetRepo ¶
func (o *IssueCheckSubscriptionParams) SetRepo(repo string)
SetRepo adds the repo to the issue check subscription params
func (*IssueCheckSubscriptionParams) SetTimeout ¶
func (o *IssueCheckSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue check subscription params
func (*IssueCheckSubscriptionParams) WithContext ¶
func (o *IssueCheckSubscriptionParams) WithContext(ctx context.Context) *IssueCheckSubscriptionParams
WithContext adds the context to the issue check subscription params
func (*IssueCheckSubscriptionParams) WithDefaults ¶
func (o *IssueCheckSubscriptionParams) WithDefaults() *IssueCheckSubscriptionParams
WithDefaults hydrates default values in the issue check subscription params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCheckSubscriptionParams) WithHTTPClient ¶
func (o *IssueCheckSubscriptionParams) WithHTTPClient(client *http.Client) *IssueCheckSubscriptionParams
WithHTTPClient adds the HTTPClient to the issue check subscription params
func (*IssueCheckSubscriptionParams) WithIndex ¶
func (o *IssueCheckSubscriptionParams) WithIndex(index int64) *IssueCheckSubscriptionParams
WithIndex adds the index to the issue check subscription params
func (*IssueCheckSubscriptionParams) WithOwner ¶
func (o *IssueCheckSubscriptionParams) WithOwner(owner string) *IssueCheckSubscriptionParams
WithOwner adds the owner to the issue check subscription params
func (*IssueCheckSubscriptionParams) WithRepo ¶
func (o *IssueCheckSubscriptionParams) WithRepo(repo string) *IssueCheckSubscriptionParams
WithRepo adds the repo to the issue check subscription params
func (*IssueCheckSubscriptionParams) WithTimeout ¶
func (o *IssueCheckSubscriptionParams) WithTimeout(timeout time.Duration) *IssueCheckSubscriptionParams
WithTimeout adds the timeout to the issue check subscription params
func (*IssueCheckSubscriptionParams) WriteToRequest ¶
func (o *IssueCheckSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCheckSubscriptionReader ¶
type IssueCheckSubscriptionReader struct {
// contains filtered or unexported fields
}
IssueCheckSubscriptionReader is a Reader for the IssueCheckSubscription structure.
func (*IssueCheckSubscriptionReader) ReadResponse ¶
func (o *IssueCheckSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueClearLabelsForbidden ¶
IssueClearLabelsForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueClearLabelsForbidden ¶
func NewIssueClearLabelsForbidden() *IssueClearLabelsForbidden
NewIssueClearLabelsForbidden creates a IssueClearLabelsForbidden with default headers values
func (*IssueClearLabelsForbidden) Code ¶
func (o *IssueClearLabelsForbidden) Code() int
Code gets the status code for the issue clear labels forbidden response
func (*IssueClearLabelsForbidden) Error ¶
func (o *IssueClearLabelsForbidden) Error() string
func (*IssueClearLabelsForbidden) IsClientError ¶
func (o *IssueClearLabelsForbidden) IsClientError() bool
IsClientError returns true when this issue clear labels forbidden response has a 4xx status code
func (*IssueClearLabelsForbidden) IsCode ¶
func (o *IssueClearLabelsForbidden) IsCode(code int) bool
IsCode returns true when this issue clear labels forbidden response a status code equal to that given
func (*IssueClearLabelsForbidden) IsRedirect ¶
func (o *IssueClearLabelsForbidden) IsRedirect() bool
IsRedirect returns true when this issue clear labels forbidden response has a 3xx status code
func (*IssueClearLabelsForbidden) IsServerError ¶
func (o *IssueClearLabelsForbidden) IsServerError() bool
IsServerError returns true when this issue clear labels forbidden response has a 5xx status code
func (*IssueClearLabelsForbidden) IsSuccess ¶
func (o *IssueClearLabelsForbidden) IsSuccess() bool
IsSuccess returns true when this issue clear labels forbidden response has a 2xx status code
func (*IssueClearLabelsForbidden) String ¶
func (o *IssueClearLabelsForbidden) String() string
type IssueClearLabelsNoContent ¶
type IssueClearLabelsNoContent struct { }
IssueClearLabelsNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueClearLabelsNoContent ¶
func NewIssueClearLabelsNoContent() *IssueClearLabelsNoContent
NewIssueClearLabelsNoContent creates a IssueClearLabelsNoContent with default headers values
func (*IssueClearLabelsNoContent) Code ¶
func (o *IssueClearLabelsNoContent) Code() int
Code gets the status code for the issue clear labels no content response
func (*IssueClearLabelsNoContent) Error ¶
func (o *IssueClearLabelsNoContent) Error() string
func (*IssueClearLabelsNoContent) IsClientError ¶
func (o *IssueClearLabelsNoContent) IsClientError() bool
IsClientError returns true when this issue clear labels no content response has a 4xx status code
func (*IssueClearLabelsNoContent) IsCode ¶
func (o *IssueClearLabelsNoContent) IsCode(code int) bool
IsCode returns true when this issue clear labels no content response a status code equal to that given
func (*IssueClearLabelsNoContent) IsRedirect ¶
func (o *IssueClearLabelsNoContent) IsRedirect() bool
IsRedirect returns true when this issue clear labels no content response has a 3xx status code
func (*IssueClearLabelsNoContent) IsServerError ¶
func (o *IssueClearLabelsNoContent) IsServerError() bool
IsServerError returns true when this issue clear labels no content response has a 5xx status code
func (*IssueClearLabelsNoContent) IsSuccess ¶
func (o *IssueClearLabelsNoContent) IsSuccess() bool
IsSuccess returns true when this issue clear labels no content response has a 2xx status code
func (*IssueClearLabelsNoContent) String ¶
func (o *IssueClearLabelsNoContent) String() string
type IssueClearLabelsNotFound ¶
type IssueClearLabelsNotFound struct { }
IssueClearLabelsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueClearLabelsNotFound ¶
func NewIssueClearLabelsNotFound() *IssueClearLabelsNotFound
NewIssueClearLabelsNotFound creates a IssueClearLabelsNotFound with default headers values
func (*IssueClearLabelsNotFound) Code ¶
func (o *IssueClearLabelsNotFound) Code() int
Code gets the status code for the issue clear labels not found response
func (*IssueClearLabelsNotFound) Error ¶
func (o *IssueClearLabelsNotFound) Error() string
func (*IssueClearLabelsNotFound) IsClientError ¶
func (o *IssueClearLabelsNotFound) IsClientError() bool
IsClientError returns true when this issue clear labels not found response has a 4xx status code
func (*IssueClearLabelsNotFound) IsCode ¶
func (o *IssueClearLabelsNotFound) IsCode(code int) bool
IsCode returns true when this issue clear labels not found response a status code equal to that given
func (*IssueClearLabelsNotFound) IsRedirect ¶
func (o *IssueClearLabelsNotFound) IsRedirect() bool
IsRedirect returns true when this issue clear labels not found response has a 3xx status code
func (*IssueClearLabelsNotFound) IsServerError ¶
func (o *IssueClearLabelsNotFound) IsServerError() bool
IsServerError returns true when this issue clear labels not found response has a 5xx status code
func (*IssueClearLabelsNotFound) IsSuccess ¶
func (o *IssueClearLabelsNotFound) IsSuccess() bool
IsSuccess returns true when this issue clear labels not found response has a 2xx status code
func (*IssueClearLabelsNotFound) String ¶
func (o *IssueClearLabelsNotFound) String() string
type IssueClearLabelsParams ¶
type IssueClearLabelsParams struct { /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueClearLabelsParams contains all the parameters to send to the API endpoint
for the issue clear labels operation. Typically these are written to a http.Request.
func NewIssueClearLabelsParams ¶
func NewIssueClearLabelsParams() *IssueClearLabelsParams
NewIssueClearLabelsParams creates a new IssueClearLabelsParams 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 NewIssueClearLabelsParamsWithContext ¶
func NewIssueClearLabelsParamsWithContext(ctx context.Context) *IssueClearLabelsParams
NewIssueClearLabelsParamsWithContext creates a new IssueClearLabelsParams object with the ability to set a context for a request.
func NewIssueClearLabelsParamsWithHTTPClient ¶
func NewIssueClearLabelsParamsWithHTTPClient(client *http.Client) *IssueClearLabelsParams
NewIssueClearLabelsParamsWithHTTPClient creates a new IssueClearLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueClearLabelsParamsWithTimeout ¶
func NewIssueClearLabelsParamsWithTimeout(timeout time.Duration) *IssueClearLabelsParams
NewIssueClearLabelsParamsWithTimeout creates a new IssueClearLabelsParams object with the ability to set a timeout on a request.
func (*IssueClearLabelsParams) SetContext ¶
func (o *IssueClearLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue clear labels params
func (*IssueClearLabelsParams) SetDefaults ¶
func (o *IssueClearLabelsParams) SetDefaults()
SetDefaults hydrates default values in the issue clear labels params (not the query body).
All values with no default are reset to their zero value.
func (*IssueClearLabelsParams) SetHTTPClient ¶
func (o *IssueClearLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue clear labels params
func (*IssueClearLabelsParams) SetIndex ¶
func (o *IssueClearLabelsParams) SetIndex(index int64)
SetIndex adds the index to the issue clear labels params
func (*IssueClearLabelsParams) SetOwner ¶
func (o *IssueClearLabelsParams) SetOwner(owner string)
SetOwner adds the owner to the issue clear labels params
func (*IssueClearLabelsParams) SetRepo ¶
func (o *IssueClearLabelsParams) SetRepo(repo string)
SetRepo adds the repo to the issue clear labels params
func (*IssueClearLabelsParams) SetTimeout ¶
func (o *IssueClearLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue clear labels params
func (*IssueClearLabelsParams) WithContext ¶
func (o *IssueClearLabelsParams) WithContext(ctx context.Context) *IssueClearLabelsParams
WithContext adds the context to the issue clear labels params
func (*IssueClearLabelsParams) WithDefaults ¶
func (o *IssueClearLabelsParams) WithDefaults() *IssueClearLabelsParams
WithDefaults hydrates default values in the issue clear labels params (not the query body).
All values with no default are reset to their zero value.
func (*IssueClearLabelsParams) WithHTTPClient ¶
func (o *IssueClearLabelsParams) WithHTTPClient(client *http.Client) *IssueClearLabelsParams
WithHTTPClient adds the HTTPClient to the issue clear labels params
func (*IssueClearLabelsParams) WithIndex ¶
func (o *IssueClearLabelsParams) WithIndex(index int64) *IssueClearLabelsParams
WithIndex adds the index to the issue clear labels params
func (*IssueClearLabelsParams) WithOwner ¶
func (o *IssueClearLabelsParams) WithOwner(owner string) *IssueClearLabelsParams
WithOwner adds the owner to the issue clear labels params
func (*IssueClearLabelsParams) WithRepo ¶
func (o *IssueClearLabelsParams) WithRepo(repo string) *IssueClearLabelsParams
WithRepo adds the repo to the issue clear labels params
func (*IssueClearLabelsParams) WithTimeout ¶
func (o *IssueClearLabelsParams) WithTimeout(timeout time.Duration) *IssueClearLabelsParams
WithTimeout adds the timeout to the issue clear labels params
func (*IssueClearLabelsParams) WriteToRequest ¶
func (o *IssueClearLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueClearLabelsReader ¶
type IssueClearLabelsReader struct {
// contains filtered or unexported fields
}
IssueClearLabelsReader is a Reader for the IssueClearLabels structure.
func (*IssueClearLabelsReader) ReadResponse ¶
func (o *IssueClearLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCreateCommentCreated ¶
IssueCreateCommentCreated describes a response with status code 201, with default header values.
Comment
func NewIssueCreateCommentCreated ¶
func NewIssueCreateCommentCreated() *IssueCreateCommentCreated
NewIssueCreateCommentCreated creates a IssueCreateCommentCreated with default headers values
func (*IssueCreateCommentCreated) Code ¶
func (o *IssueCreateCommentCreated) Code() int
Code gets the status code for the issue create comment created response
func (*IssueCreateCommentCreated) Error ¶
func (o *IssueCreateCommentCreated) Error() string
func (*IssueCreateCommentCreated) GetPayload ¶
func (o *IssueCreateCommentCreated) GetPayload() *models.Comment
func (*IssueCreateCommentCreated) IsClientError ¶
func (o *IssueCreateCommentCreated) IsClientError() bool
IsClientError returns true when this issue create comment created response has a 4xx status code
func (*IssueCreateCommentCreated) IsCode ¶
func (o *IssueCreateCommentCreated) IsCode(code int) bool
IsCode returns true when this issue create comment created response a status code equal to that given
func (*IssueCreateCommentCreated) IsRedirect ¶
func (o *IssueCreateCommentCreated) IsRedirect() bool
IsRedirect returns true when this issue create comment created response has a 3xx status code
func (*IssueCreateCommentCreated) IsServerError ¶
func (o *IssueCreateCommentCreated) IsServerError() bool
IsServerError returns true when this issue create comment created response has a 5xx status code
func (*IssueCreateCommentCreated) IsSuccess ¶
func (o *IssueCreateCommentCreated) IsSuccess() bool
IsSuccess returns true when this issue create comment created response has a 2xx status code
func (*IssueCreateCommentCreated) String ¶
func (o *IssueCreateCommentCreated) String() string
type IssueCreateCommentForbidden ¶
IssueCreateCommentForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueCreateCommentForbidden ¶
func NewIssueCreateCommentForbidden() *IssueCreateCommentForbidden
NewIssueCreateCommentForbidden creates a IssueCreateCommentForbidden with default headers values
func (*IssueCreateCommentForbidden) Code ¶
func (o *IssueCreateCommentForbidden) Code() int
Code gets the status code for the issue create comment forbidden response
func (*IssueCreateCommentForbidden) Error ¶
func (o *IssueCreateCommentForbidden) Error() string
func (*IssueCreateCommentForbidden) IsClientError ¶
func (o *IssueCreateCommentForbidden) IsClientError() bool
IsClientError returns true when this issue create comment forbidden response has a 4xx status code
func (*IssueCreateCommentForbidden) IsCode ¶
func (o *IssueCreateCommentForbidden) IsCode(code int) bool
IsCode returns true when this issue create comment forbidden response a status code equal to that given
func (*IssueCreateCommentForbidden) IsRedirect ¶
func (o *IssueCreateCommentForbidden) IsRedirect() bool
IsRedirect returns true when this issue create comment forbidden response has a 3xx status code
func (*IssueCreateCommentForbidden) IsServerError ¶
func (o *IssueCreateCommentForbidden) IsServerError() bool
IsServerError returns true when this issue create comment forbidden response has a 5xx status code
func (*IssueCreateCommentForbidden) IsSuccess ¶
func (o *IssueCreateCommentForbidden) IsSuccess() bool
IsSuccess returns true when this issue create comment forbidden response has a 2xx status code
func (*IssueCreateCommentForbidden) String ¶
func (o *IssueCreateCommentForbidden) String() string
type IssueCreateCommentLocked ¶
IssueCreateCommentLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueCreateCommentLocked ¶
func NewIssueCreateCommentLocked() *IssueCreateCommentLocked
NewIssueCreateCommentLocked creates a IssueCreateCommentLocked with default headers values
func (*IssueCreateCommentLocked) Code ¶
func (o *IssueCreateCommentLocked) Code() int
Code gets the status code for the issue create comment locked response
func (*IssueCreateCommentLocked) Error ¶
func (o *IssueCreateCommentLocked) Error() string
func (*IssueCreateCommentLocked) IsClientError ¶
func (o *IssueCreateCommentLocked) IsClientError() bool
IsClientError returns true when this issue create comment locked response has a 4xx status code
func (*IssueCreateCommentLocked) IsCode ¶
func (o *IssueCreateCommentLocked) IsCode(code int) bool
IsCode returns true when this issue create comment locked response a status code equal to that given
func (*IssueCreateCommentLocked) IsRedirect ¶
func (o *IssueCreateCommentLocked) IsRedirect() bool
IsRedirect returns true when this issue create comment locked response has a 3xx status code
func (*IssueCreateCommentLocked) IsServerError ¶
func (o *IssueCreateCommentLocked) IsServerError() bool
IsServerError returns true when this issue create comment locked response has a 5xx status code
func (*IssueCreateCommentLocked) IsSuccess ¶
func (o *IssueCreateCommentLocked) IsSuccess() bool
IsSuccess returns true when this issue create comment locked response has a 2xx status code
func (*IssueCreateCommentLocked) String ¶
func (o *IssueCreateCommentLocked) String() string
type IssueCreateCommentNotFound ¶
type IssueCreateCommentNotFound struct { }
IssueCreateCommentNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueCreateCommentNotFound ¶
func NewIssueCreateCommentNotFound() *IssueCreateCommentNotFound
NewIssueCreateCommentNotFound creates a IssueCreateCommentNotFound with default headers values
func (*IssueCreateCommentNotFound) Code ¶
func (o *IssueCreateCommentNotFound) Code() int
Code gets the status code for the issue create comment not found response
func (*IssueCreateCommentNotFound) Error ¶
func (o *IssueCreateCommentNotFound) Error() string
func (*IssueCreateCommentNotFound) IsClientError ¶
func (o *IssueCreateCommentNotFound) IsClientError() bool
IsClientError returns true when this issue create comment not found response has a 4xx status code
func (*IssueCreateCommentNotFound) IsCode ¶
func (o *IssueCreateCommentNotFound) IsCode(code int) bool
IsCode returns true when this issue create comment not found response a status code equal to that given
func (*IssueCreateCommentNotFound) IsRedirect ¶
func (o *IssueCreateCommentNotFound) IsRedirect() bool
IsRedirect returns true when this issue create comment not found response has a 3xx status code
func (*IssueCreateCommentNotFound) IsServerError ¶
func (o *IssueCreateCommentNotFound) IsServerError() bool
IsServerError returns true when this issue create comment not found response has a 5xx status code
func (*IssueCreateCommentNotFound) IsSuccess ¶
func (o *IssueCreateCommentNotFound) IsSuccess() bool
IsSuccess returns true when this issue create comment not found response has a 2xx status code
func (*IssueCreateCommentNotFound) String ¶
func (o *IssueCreateCommentNotFound) String() string
type IssueCreateCommentParams ¶
type IssueCreateCommentParams struct { // Body. Body *models.CreateIssueCommentOption /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCreateCommentParams contains all the parameters to send to the API endpoint
for the issue create comment operation. Typically these are written to a http.Request.
func NewIssueCreateCommentParams ¶
func NewIssueCreateCommentParams() *IssueCreateCommentParams
NewIssueCreateCommentParams creates a new IssueCreateCommentParams 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 NewIssueCreateCommentParamsWithContext ¶
func NewIssueCreateCommentParamsWithContext(ctx context.Context) *IssueCreateCommentParams
NewIssueCreateCommentParamsWithContext creates a new IssueCreateCommentParams object with the ability to set a context for a request.
func NewIssueCreateCommentParamsWithHTTPClient ¶
func NewIssueCreateCommentParamsWithHTTPClient(client *http.Client) *IssueCreateCommentParams
NewIssueCreateCommentParamsWithHTTPClient creates a new IssueCreateCommentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCreateCommentParamsWithTimeout ¶
func NewIssueCreateCommentParamsWithTimeout(timeout time.Duration) *IssueCreateCommentParams
NewIssueCreateCommentParamsWithTimeout creates a new IssueCreateCommentParams object with the ability to set a timeout on a request.
func (*IssueCreateCommentParams) SetBody ¶
func (o *IssueCreateCommentParams) SetBody(body *models.CreateIssueCommentOption)
SetBody adds the body to the issue create comment params
func (*IssueCreateCommentParams) SetContext ¶
func (o *IssueCreateCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue create comment params
func (*IssueCreateCommentParams) SetDefaults ¶
func (o *IssueCreateCommentParams) SetDefaults()
SetDefaults hydrates default values in the issue create comment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateCommentParams) SetHTTPClient ¶
func (o *IssueCreateCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue create comment params
func (*IssueCreateCommentParams) SetIndex ¶
func (o *IssueCreateCommentParams) SetIndex(index int64)
SetIndex adds the index to the issue create comment params
func (*IssueCreateCommentParams) SetOwner ¶
func (o *IssueCreateCommentParams) SetOwner(owner string)
SetOwner adds the owner to the issue create comment params
func (*IssueCreateCommentParams) SetRepo ¶
func (o *IssueCreateCommentParams) SetRepo(repo string)
SetRepo adds the repo to the issue create comment params
func (*IssueCreateCommentParams) SetTimeout ¶
func (o *IssueCreateCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue create comment params
func (*IssueCreateCommentParams) WithBody ¶
func (o *IssueCreateCommentParams) WithBody(body *models.CreateIssueCommentOption) *IssueCreateCommentParams
WithBody adds the body to the issue create comment params
func (*IssueCreateCommentParams) WithContext ¶
func (o *IssueCreateCommentParams) WithContext(ctx context.Context) *IssueCreateCommentParams
WithContext adds the context to the issue create comment params
func (*IssueCreateCommentParams) WithDefaults ¶
func (o *IssueCreateCommentParams) WithDefaults() *IssueCreateCommentParams
WithDefaults hydrates default values in the issue create comment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateCommentParams) WithHTTPClient ¶
func (o *IssueCreateCommentParams) WithHTTPClient(client *http.Client) *IssueCreateCommentParams
WithHTTPClient adds the HTTPClient to the issue create comment params
func (*IssueCreateCommentParams) WithIndex ¶
func (o *IssueCreateCommentParams) WithIndex(index int64) *IssueCreateCommentParams
WithIndex adds the index to the issue create comment params
func (*IssueCreateCommentParams) WithOwner ¶
func (o *IssueCreateCommentParams) WithOwner(owner string) *IssueCreateCommentParams
WithOwner adds the owner to the issue create comment params
func (*IssueCreateCommentParams) WithRepo ¶
func (o *IssueCreateCommentParams) WithRepo(repo string) *IssueCreateCommentParams
WithRepo adds the repo to the issue create comment params
func (*IssueCreateCommentParams) WithTimeout ¶
func (o *IssueCreateCommentParams) WithTimeout(timeout time.Duration) *IssueCreateCommentParams
WithTimeout adds the timeout to the issue create comment params
func (*IssueCreateCommentParams) WriteToRequest ¶
func (o *IssueCreateCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCreateCommentReader ¶
type IssueCreateCommentReader struct {
// contains filtered or unexported fields
}
IssueCreateCommentReader is a Reader for the IssueCreateComment structure.
func (*IssueCreateCommentReader) ReadResponse ¶
func (o *IssueCreateCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCreateIssueAttachmentBadRequest ¶
IssueCreateIssueAttachmentBadRequest describes a response with status code 400, with default header values.
APIError is error format response
func NewIssueCreateIssueAttachmentBadRequest ¶
func NewIssueCreateIssueAttachmentBadRequest() *IssueCreateIssueAttachmentBadRequest
NewIssueCreateIssueAttachmentBadRequest creates a IssueCreateIssueAttachmentBadRequest with default headers values
func (*IssueCreateIssueAttachmentBadRequest) Code ¶
func (o *IssueCreateIssueAttachmentBadRequest) Code() int
Code gets the status code for the issue create issue attachment bad request response
func (*IssueCreateIssueAttachmentBadRequest) Error ¶
func (o *IssueCreateIssueAttachmentBadRequest) Error() string
func (*IssueCreateIssueAttachmentBadRequest) IsClientError ¶
func (o *IssueCreateIssueAttachmentBadRequest) IsClientError() bool
IsClientError returns true when this issue create issue attachment bad request response has a 4xx status code
func (*IssueCreateIssueAttachmentBadRequest) IsCode ¶
func (o *IssueCreateIssueAttachmentBadRequest) IsCode(code int) bool
IsCode returns true when this issue create issue attachment bad request response a status code equal to that given
func (*IssueCreateIssueAttachmentBadRequest) IsRedirect ¶
func (o *IssueCreateIssueAttachmentBadRequest) IsRedirect() bool
IsRedirect returns true when this issue create issue attachment bad request response has a 3xx status code
func (*IssueCreateIssueAttachmentBadRequest) IsServerError ¶
func (o *IssueCreateIssueAttachmentBadRequest) IsServerError() bool
IsServerError returns true when this issue create issue attachment bad request response has a 5xx status code
func (*IssueCreateIssueAttachmentBadRequest) IsSuccess ¶
func (o *IssueCreateIssueAttachmentBadRequest) IsSuccess() bool
IsSuccess returns true when this issue create issue attachment bad request response has a 2xx status code
func (*IssueCreateIssueAttachmentBadRequest) String ¶
func (o *IssueCreateIssueAttachmentBadRequest) String() string
type IssueCreateIssueAttachmentCreated ¶
type IssueCreateIssueAttachmentCreated struct {
Payload *models.Attachment
}
IssueCreateIssueAttachmentCreated describes a response with status code 201, with default header values.
Attachment
func NewIssueCreateIssueAttachmentCreated ¶
func NewIssueCreateIssueAttachmentCreated() *IssueCreateIssueAttachmentCreated
NewIssueCreateIssueAttachmentCreated creates a IssueCreateIssueAttachmentCreated with default headers values
func (*IssueCreateIssueAttachmentCreated) Code ¶
func (o *IssueCreateIssueAttachmentCreated) Code() int
Code gets the status code for the issue create issue attachment created response
func (*IssueCreateIssueAttachmentCreated) Error ¶
func (o *IssueCreateIssueAttachmentCreated) Error() string
func (*IssueCreateIssueAttachmentCreated) GetPayload ¶
func (o *IssueCreateIssueAttachmentCreated) GetPayload() *models.Attachment
func (*IssueCreateIssueAttachmentCreated) IsClientError ¶
func (o *IssueCreateIssueAttachmentCreated) IsClientError() bool
IsClientError returns true when this issue create issue attachment created response has a 4xx status code
func (*IssueCreateIssueAttachmentCreated) IsCode ¶
func (o *IssueCreateIssueAttachmentCreated) IsCode(code int) bool
IsCode returns true when this issue create issue attachment created response a status code equal to that given
func (*IssueCreateIssueAttachmentCreated) IsRedirect ¶
func (o *IssueCreateIssueAttachmentCreated) IsRedirect() bool
IsRedirect returns true when this issue create issue attachment created response has a 3xx status code
func (*IssueCreateIssueAttachmentCreated) IsServerError ¶
func (o *IssueCreateIssueAttachmentCreated) IsServerError() bool
IsServerError returns true when this issue create issue attachment created response has a 5xx status code
func (*IssueCreateIssueAttachmentCreated) IsSuccess ¶
func (o *IssueCreateIssueAttachmentCreated) IsSuccess() bool
IsSuccess returns true when this issue create issue attachment created response has a 2xx status code
func (*IssueCreateIssueAttachmentCreated) String ¶
func (o *IssueCreateIssueAttachmentCreated) String() string
type IssueCreateIssueAttachmentLocked ¶
IssueCreateIssueAttachmentLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueCreateIssueAttachmentLocked ¶
func NewIssueCreateIssueAttachmentLocked() *IssueCreateIssueAttachmentLocked
NewIssueCreateIssueAttachmentLocked creates a IssueCreateIssueAttachmentLocked with default headers values
func (*IssueCreateIssueAttachmentLocked) Code ¶
func (o *IssueCreateIssueAttachmentLocked) Code() int
Code gets the status code for the issue create issue attachment locked response
func (*IssueCreateIssueAttachmentLocked) Error ¶
func (o *IssueCreateIssueAttachmentLocked) Error() string
func (*IssueCreateIssueAttachmentLocked) IsClientError ¶
func (o *IssueCreateIssueAttachmentLocked) IsClientError() bool
IsClientError returns true when this issue create issue attachment locked response has a 4xx status code
func (*IssueCreateIssueAttachmentLocked) IsCode ¶
func (o *IssueCreateIssueAttachmentLocked) IsCode(code int) bool
IsCode returns true when this issue create issue attachment locked response a status code equal to that given
func (*IssueCreateIssueAttachmentLocked) IsRedirect ¶
func (o *IssueCreateIssueAttachmentLocked) IsRedirect() bool
IsRedirect returns true when this issue create issue attachment locked response has a 3xx status code
func (*IssueCreateIssueAttachmentLocked) IsServerError ¶
func (o *IssueCreateIssueAttachmentLocked) IsServerError() bool
IsServerError returns true when this issue create issue attachment locked response has a 5xx status code
func (*IssueCreateIssueAttachmentLocked) IsSuccess ¶
func (o *IssueCreateIssueAttachmentLocked) IsSuccess() bool
IsSuccess returns true when this issue create issue attachment locked response has a 2xx status code
func (*IssueCreateIssueAttachmentLocked) String ¶
func (o *IssueCreateIssueAttachmentLocked) String() string
type IssueCreateIssueAttachmentNotFound ¶
IssueCreateIssueAttachmentNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueCreateIssueAttachmentNotFound ¶
func NewIssueCreateIssueAttachmentNotFound() *IssueCreateIssueAttachmentNotFound
NewIssueCreateIssueAttachmentNotFound creates a IssueCreateIssueAttachmentNotFound with default headers values
func (*IssueCreateIssueAttachmentNotFound) Code ¶
func (o *IssueCreateIssueAttachmentNotFound) Code() int
Code gets the status code for the issue create issue attachment not found response
func (*IssueCreateIssueAttachmentNotFound) Error ¶
func (o *IssueCreateIssueAttachmentNotFound) Error() string
func (*IssueCreateIssueAttachmentNotFound) IsClientError ¶
func (o *IssueCreateIssueAttachmentNotFound) IsClientError() bool
IsClientError returns true when this issue create issue attachment not found response has a 4xx status code
func (*IssueCreateIssueAttachmentNotFound) IsCode ¶
func (o *IssueCreateIssueAttachmentNotFound) IsCode(code int) bool
IsCode returns true when this issue create issue attachment not found response a status code equal to that given
func (*IssueCreateIssueAttachmentNotFound) IsRedirect ¶
func (o *IssueCreateIssueAttachmentNotFound) IsRedirect() bool
IsRedirect returns true when this issue create issue attachment not found response has a 3xx status code
func (*IssueCreateIssueAttachmentNotFound) IsServerError ¶
func (o *IssueCreateIssueAttachmentNotFound) IsServerError() bool
IsServerError returns true when this issue create issue attachment not found response has a 5xx status code
func (*IssueCreateIssueAttachmentNotFound) IsSuccess ¶
func (o *IssueCreateIssueAttachmentNotFound) IsSuccess() bool
IsSuccess returns true when this issue create issue attachment not found response has a 2xx status code
func (*IssueCreateIssueAttachmentNotFound) String ¶
func (o *IssueCreateIssueAttachmentNotFound) String() string
type IssueCreateIssueAttachmentParams ¶
type IssueCreateIssueAttachmentParams struct { /* Attachment. attachment to upload */ Attachment runtime.NamedReadCloser /* Index. index of the issue Format: int64 */ Index int64 /* Name. name of the attachment */ Name *string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCreateIssueAttachmentParams contains all the parameters to send to the API endpoint
for the issue create issue attachment operation. Typically these are written to a http.Request.
func NewIssueCreateIssueAttachmentParams ¶
func NewIssueCreateIssueAttachmentParams() *IssueCreateIssueAttachmentParams
NewIssueCreateIssueAttachmentParams creates a new IssueCreateIssueAttachmentParams 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 NewIssueCreateIssueAttachmentParamsWithContext ¶
func NewIssueCreateIssueAttachmentParamsWithContext(ctx context.Context) *IssueCreateIssueAttachmentParams
NewIssueCreateIssueAttachmentParamsWithContext creates a new IssueCreateIssueAttachmentParams object with the ability to set a context for a request.
func NewIssueCreateIssueAttachmentParamsWithHTTPClient ¶
func NewIssueCreateIssueAttachmentParamsWithHTTPClient(client *http.Client) *IssueCreateIssueAttachmentParams
NewIssueCreateIssueAttachmentParamsWithHTTPClient creates a new IssueCreateIssueAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCreateIssueAttachmentParamsWithTimeout ¶
func NewIssueCreateIssueAttachmentParamsWithTimeout(timeout time.Duration) *IssueCreateIssueAttachmentParams
NewIssueCreateIssueAttachmentParamsWithTimeout creates a new IssueCreateIssueAttachmentParams object with the ability to set a timeout on a request.
func (*IssueCreateIssueAttachmentParams) SetAttachment ¶
func (o *IssueCreateIssueAttachmentParams) SetAttachment(attachment runtime.NamedReadCloser)
SetAttachment adds the attachment to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) SetContext ¶
func (o *IssueCreateIssueAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) SetDefaults ¶
func (o *IssueCreateIssueAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the issue create issue attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueAttachmentParams) SetHTTPClient ¶
func (o *IssueCreateIssueAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) SetIndex ¶
func (o *IssueCreateIssueAttachmentParams) SetIndex(index int64)
SetIndex adds the index to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) SetName ¶
func (o *IssueCreateIssueAttachmentParams) SetName(name *string)
SetName adds the name to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) SetOwner ¶
func (o *IssueCreateIssueAttachmentParams) SetOwner(owner string)
SetOwner adds the owner to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) SetRepo ¶
func (o *IssueCreateIssueAttachmentParams) SetRepo(repo string)
SetRepo adds the repo to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) SetTimeout ¶
func (o *IssueCreateIssueAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WithAttachment ¶
func (o *IssueCreateIssueAttachmentParams) WithAttachment(attachment runtime.NamedReadCloser) *IssueCreateIssueAttachmentParams
WithAttachment adds the attachment to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WithContext ¶
func (o *IssueCreateIssueAttachmentParams) WithContext(ctx context.Context) *IssueCreateIssueAttachmentParams
WithContext adds the context to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WithDefaults ¶
func (o *IssueCreateIssueAttachmentParams) WithDefaults() *IssueCreateIssueAttachmentParams
WithDefaults hydrates default values in the issue create issue attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueAttachmentParams) WithHTTPClient ¶
func (o *IssueCreateIssueAttachmentParams) WithHTTPClient(client *http.Client) *IssueCreateIssueAttachmentParams
WithHTTPClient adds the HTTPClient to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WithIndex ¶
func (o *IssueCreateIssueAttachmentParams) WithIndex(index int64) *IssueCreateIssueAttachmentParams
WithIndex adds the index to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WithName ¶
func (o *IssueCreateIssueAttachmentParams) WithName(name *string) *IssueCreateIssueAttachmentParams
WithName adds the name to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WithOwner ¶
func (o *IssueCreateIssueAttachmentParams) WithOwner(owner string) *IssueCreateIssueAttachmentParams
WithOwner adds the owner to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WithRepo ¶
func (o *IssueCreateIssueAttachmentParams) WithRepo(repo string) *IssueCreateIssueAttachmentParams
WithRepo adds the repo to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WithTimeout ¶
func (o *IssueCreateIssueAttachmentParams) WithTimeout(timeout time.Duration) *IssueCreateIssueAttachmentParams
WithTimeout adds the timeout to the issue create issue attachment params
func (*IssueCreateIssueAttachmentParams) WriteToRequest ¶
func (o *IssueCreateIssueAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCreateIssueAttachmentReader ¶
type IssueCreateIssueAttachmentReader struct {
// contains filtered or unexported fields
}
IssueCreateIssueAttachmentReader is a Reader for the IssueCreateIssueAttachment structure.
func (*IssueCreateIssueAttachmentReader) ReadResponse ¶
func (o *IssueCreateIssueAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCreateIssueAttachmentUnprocessableEntity ¶
IssueCreateIssueAttachmentUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewIssueCreateIssueAttachmentUnprocessableEntity ¶
func NewIssueCreateIssueAttachmentUnprocessableEntity() *IssueCreateIssueAttachmentUnprocessableEntity
NewIssueCreateIssueAttachmentUnprocessableEntity creates a IssueCreateIssueAttachmentUnprocessableEntity with default headers values
func (*IssueCreateIssueAttachmentUnprocessableEntity) Code ¶
func (o *IssueCreateIssueAttachmentUnprocessableEntity) Code() int
Code gets the status code for the issue create issue attachment unprocessable entity response
func (*IssueCreateIssueAttachmentUnprocessableEntity) Error ¶
func (o *IssueCreateIssueAttachmentUnprocessableEntity) Error() string
func (*IssueCreateIssueAttachmentUnprocessableEntity) IsClientError ¶
func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsClientError() bool
IsClientError returns true when this issue create issue attachment unprocessable entity response has a 4xx status code
func (*IssueCreateIssueAttachmentUnprocessableEntity) IsCode ¶
func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this issue create issue attachment unprocessable entity response a status code equal to that given
func (*IssueCreateIssueAttachmentUnprocessableEntity) IsRedirect ¶
func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this issue create issue attachment unprocessable entity response has a 3xx status code
func (*IssueCreateIssueAttachmentUnprocessableEntity) IsServerError ¶
func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsServerError() bool
IsServerError returns true when this issue create issue attachment unprocessable entity response has a 5xx status code
func (*IssueCreateIssueAttachmentUnprocessableEntity) IsSuccess ¶
func (o *IssueCreateIssueAttachmentUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this issue create issue attachment unprocessable entity response has a 2xx status code
func (*IssueCreateIssueAttachmentUnprocessableEntity) String ¶
func (o *IssueCreateIssueAttachmentUnprocessableEntity) String() string
type IssueCreateIssueBlockingCreated ¶
IssueCreateIssueBlockingCreated describes a response with status code 201, with default header values.
Issue
func NewIssueCreateIssueBlockingCreated ¶
func NewIssueCreateIssueBlockingCreated() *IssueCreateIssueBlockingCreated
NewIssueCreateIssueBlockingCreated creates a IssueCreateIssueBlockingCreated with default headers values
func (*IssueCreateIssueBlockingCreated) Code ¶
func (o *IssueCreateIssueBlockingCreated) Code() int
Code gets the status code for the issue create issue blocking created response
func (*IssueCreateIssueBlockingCreated) Error ¶
func (o *IssueCreateIssueBlockingCreated) Error() string
func (*IssueCreateIssueBlockingCreated) GetPayload ¶
func (o *IssueCreateIssueBlockingCreated) GetPayload() *models.Issue
func (*IssueCreateIssueBlockingCreated) IsClientError ¶
func (o *IssueCreateIssueBlockingCreated) IsClientError() bool
IsClientError returns true when this issue create issue blocking created response has a 4xx status code
func (*IssueCreateIssueBlockingCreated) IsCode ¶
func (o *IssueCreateIssueBlockingCreated) IsCode(code int) bool
IsCode returns true when this issue create issue blocking created response a status code equal to that given
func (*IssueCreateIssueBlockingCreated) IsRedirect ¶
func (o *IssueCreateIssueBlockingCreated) IsRedirect() bool
IsRedirect returns true when this issue create issue blocking created response has a 3xx status code
func (*IssueCreateIssueBlockingCreated) IsServerError ¶
func (o *IssueCreateIssueBlockingCreated) IsServerError() bool
IsServerError returns true when this issue create issue blocking created response has a 5xx status code
func (*IssueCreateIssueBlockingCreated) IsSuccess ¶
func (o *IssueCreateIssueBlockingCreated) IsSuccess() bool
IsSuccess returns true when this issue create issue blocking created response has a 2xx status code
func (*IssueCreateIssueBlockingCreated) String ¶
func (o *IssueCreateIssueBlockingCreated) String() string
type IssueCreateIssueBlockingNotFound ¶
type IssueCreateIssueBlockingNotFound struct { }
IssueCreateIssueBlockingNotFound describes a response with status code 404, with default header values.
the issue does not exist
func NewIssueCreateIssueBlockingNotFound ¶
func NewIssueCreateIssueBlockingNotFound() *IssueCreateIssueBlockingNotFound
NewIssueCreateIssueBlockingNotFound creates a IssueCreateIssueBlockingNotFound with default headers values
func (*IssueCreateIssueBlockingNotFound) Code ¶
func (o *IssueCreateIssueBlockingNotFound) Code() int
Code gets the status code for the issue create issue blocking not found response
func (*IssueCreateIssueBlockingNotFound) Error ¶
func (o *IssueCreateIssueBlockingNotFound) Error() string
func (*IssueCreateIssueBlockingNotFound) IsClientError ¶
func (o *IssueCreateIssueBlockingNotFound) IsClientError() bool
IsClientError returns true when this issue create issue blocking not found response has a 4xx status code
func (*IssueCreateIssueBlockingNotFound) IsCode ¶
func (o *IssueCreateIssueBlockingNotFound) IsCode(code int) bool
IsCode returns true when this issue create issue blocking not found response a status code equal to that given
func (*IssueCreateIssueBlockingNotFound) IsRedirect ¶
func (o *IssueCreateIssueBlockingNotFound) IsRedirect() bool
IsRedirect returns true when this issue create issue blocking not found response has a 3xx status code
func (*IssueCreateIssueBlockingNotFound) IsServerError ¶
func (o *IssueCreateIssueBlockingNotFound) IsServerError() bool
IsServerError returns true when this issue create issue blocking not found response has a 5xx status code
func (*IssueCreateIssueBlockingNotFound) IsSuccess ¶
func (o *IssueCreateIssueBlockingNotFound) IsSuccess() bool
IsSuccess returns true when this issue create issue blocking not found response has a 2xx status code
func (*IssueCreateIssueBlockingNotFound) String ¶
func (o *IssueCreateIssueBlockingNotFound) String() string
type IssueCreateIssueBlockingParams ¶
type IssueCreateIssueBlockingParams struct { // Body. Body *models.IssueMeta /* Index. index of the issue */ Index string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCreateIssueBlockingParams contains all the parameters to send to the API endpoint
for the issue create issue blocking operation. Typically these are written to a http.Request.
func NewIssueCreateIssueBlockingParams ¶
func NewIssueCreateIssueBlockingParams() *IssueCreateIssueBlockingParams
NewIssueCreateIssueBlockingParams creates a new IssueCreateIssueBlockingParams 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 NewIssueCreateIssueBlockingParamsWithContext ¶
func NewIssueCreateIssueBlockingParamsWithContext(ctx context.Context) *IssueCreateIssueBlockingParams
NewIssueCreateIssueBlockingParamsWithContext creates a new IssueCreateIssueBlockingParams object with the ability to set a context for a request.
func NewIssueCreateIssueBlockingParamsWithHTTPClient ¶
func NewIssueCreateIssueBlockingParamsWithHTTPClient(client *http.Client) *IssueCreateIssueBlockingParams
NewIssueCreateIssueBlockingParamsWithHTTPClient creates a new IssueCreateIssueBlockingParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCreateIssueBlockingParamsWithTimeout ¶
func NewIssueCreateIssueBlockingParamsWithTimeout(timeout time.Duration) *IssueCreateIssueBlockingParams
NewIssueCreateIssueBlockingParamsWithTimeout creates a new IssueCreateIssueBlockingParams object with the ability to set a timeout on a request.
func (*IssueCreateIssueBlockingParams) SetBody ¶
func (o *IssueCreateIssueBlockingParams) SetBody(body *models.IssueMeta)
SetBody adds the body to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) SetContext ¶
func (o *IssueCreateIssueBlockingParams) SetContext(ctx context.Context)
SetContext adds the context to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) SetDefaults ¶
func (o *IssueCreateIssueBlockingParams) SetDefaults()
SetDefaults hydrates default values in the issue create issue blocking params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueBlockingParams) SetHTTPClient ¶
func (o *IssueCreateIssueBlockingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) SetIndex ¶
func (o *IssueCreateIssueBlockingParams) SetIndex(index string)
SetIndex adds the index to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) SetOwner ¶
func (o *IssueCreateIssueBlockingParams) SetOwner(owner string)
SetOwner adds the owner to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) SetRepo ¶
func (o *IssueCreateIssueBlockingParams) SetRepo(repo string)
SetRepo adds the repo to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) SetTimeout ¶
func (o *IssueCreateIssueBlockingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) WithBody ¶
func (o *IssueCreateIssueBlockingParams) WithBody(body *models.IssueMeta) *IssueCreateIssueBlockingParams
WithBody adds the body to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) WithContext ¶
func (o *IssueCreateIssueBlockingParams) WithContext(ctx context.Context) *IssueCreateIssueBlockingParams
WithContext adds the context to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) WithDefaults ¶
func (o *IssueCreateIssueBlockingParams) WithDefaults() *IssueCreateIssueBlockingParams
WithDefaults hydrates default values in the issue create issue blocking params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueBlockingParams) WithHTTPClient ¶
func (o *IssueCreateIssueBlockingParams) WithHTTPClient(client *http.Client) *IssueCreateIssueBlockingParams
WithHTTPClient adds the HTTPClient to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) WithIndex ¶
func (o *IssueCreateIssueBlockingParams) WithIndex(index string) *IssueCreateIssueBlockingParams
WithIndex adds the index to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) WithOwner ¶
func (o *IssueCreateIssueBlockingParams) WithOwner(owner string) *IssueCreateIssueBlockingParams
WithOwner adds the owner to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) WithRepo ¶
func (o *IssueCreateIssueBlockingParams) WithRepo(repo string) *IssueCreateIssueBlockingParams
WithRepo adds the repo to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) WithTimeout ¶
func (o *IssueCreateIssueBlockingParams) WithTimeout(timeout time.Duration) *IssueCreateIssueBlockingParams
WithTimeout adds the timeout to the issue create issue blocking params
func (*IssueCreateIssueBlockingParams) WriteToRequest ¶
func (o *IssueCreateIssueBlockingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCreateIssueBlockingReader ¶
type IssueCreateIssueBlockingReader struct {
// contains filtered or unexported fields
}
IssueCreateIssueBlockingReader is a Reader for the IssueCreateIssueBlocking structure.
func (*IssueCreateIssueBlockingReader) ReadResponse ¶
func (o *IssueCreateIssueBlockingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCreateIssueCommentAttachmentBadRequest ¶
IssueCreateIssueCommentAttachmentBadRequest describes a response with status code 400, with default header values.
APIError is error format response
func NewIssueCreateIssueCommentAttachmentBadRequest ¶
func NewIssueCreateIssueCommentAttachmentBadRequest() *IssueCreateIssueCommentAttachmentBadRequest
NewIssueCreateIssueCommentAttachmentBadRequest creates a IssueCreateIssueCommentAttachmentBadRequest with default headers values
func (*IssueCreateIssueCommentAttachmentBadRequest) Code ¶
func (o *IssueCreateIssueCommentAttachmentBadRequest) Code() int
Code gets the status code for the issue create issue comment attachment bad request response
func (*IssueCreateIssueCommentAttachmentBadRequest) Error ¶
func (o *IssueCreateIssueCommentAttachmentBadRequest) Error() string
func (*IssueCreateIssueCommentAttachmentBadRequest) IsClientError ¶
func (o *IssueCreateIssueCommentAttachmentBadRequest) IsClientError() bool
IsClientError returns true when this issue create issue comment attachment bad request response has a 4xx status code
func (*IssueCreateIssueCommentAttachmentBadRequest) IsCode ¶
func (o *IssueCreateIssueCommentAttachmentBadRequest) IsCode(code int) bool
IsCode returns true when this issue create issue comment attachment bad request response a status code equal to that given
func (*IssueCreateIssueCommentAttachmentBadRequest) IsRedirect ¶
func (o *IssueCreateIssueCommentAttachmentBadRequest) IsRedirect() bool
IsRedirect returns true when this issue create issue comment attachment bad request response has a 3xx status code
func (*IssueCreateIssueCommentAttachmentBadRequest) IsServerError ¶
func (o *IssueCreateIssueCommentAttachmentBadRequest) IsServerError() bool
IsServerError returns true when this issue create issue comment attachment bad request response has a 5xx status code
func (*IssueCreateIssueCommentAttachmentBadRequest) IsSuccess ¶
func (o *IssueCreateIssueCommentAttachmentBadRequest) IsSuccess() bool
IsSuccess returns true when this issue create issue comment attachment bad request response has a 2xx status code
func (*IssueCreateIssueCommentAttachmentBadRequest) String ¶
func (o *IssueCreateIssueCommentAttachmentBadRequest) String() string
type IssueCreateIssueCommentAttachmentCreated ¶
type IssueCreateIssueCommentAttachmentCreated struct {
Payload *models.Attachment
}
IssueCreateIssueCommentAttachmentCreated describes a response with status code 201, with default header values.
Attachment
func NewIssueCreateIssueCommentAttachmentCreated ¶
func NewIssueCreateIssueCommentAttachmentCreated() *IssueCreateIssueCommentAttachmentCreated
NewIssueCreateIssueCommentAttachmentCreated creates a IssueCreateIssueCommentAttachmentCreated with default headers values
func (*IssueCreateIssueCommentAttachmentCreated) Code ¶
func (o *IssueCreateIssueCommentAttachmentCreated) Code() int
Code gets the status code for the issue create issue comment attachment created response
func (*IssueCreateIssueCommentAttachmentCreated) Error ¶
func (o *IssueCreateIssueCommentAttachmentCreated) Error() string
func (*IssueCreateIssueCommentAttachmentCreated) GetPayload ¶
func (o *IssueCreateIssueCommentAttachmentCreated) GetPayload() *models.Attachment
func (*IssueCreateIssueCommentAttachmentCreated) IsClientError ¶
func (o *IssueCreateIssueCommentAttachmentCreated) IsClientError() bool
IsClientError returns true when this issue create issue comment attachment created response has a 4xx status code
func (*IssueCreateIssueCommentAttachmentCreated) IsCode ¶
func (o *IssueCreateIssueCommentAttachmentCreated) IsCode(code int) bool
IsCode returns true when this issue create issue comment attachment created response a status code equal to that given
func (*IssueCreateIssueCommentAttachmentCreated) IsRedirect ¶
func (o *IssueCreateIssueCommentAttachmentCreated) IsRedirect() bool
IsRedirect returns true when this issue create issue comment attachment created response has a 3xx status code
func (*IssueCreateIssueCommentAttachmentCreated) IsServerError ¶
func (o *IssueCreateIssueCommentAttachmentCreated) IsServerError() bool
IsServerError returns true when this issue create issue comment attachment created response has a 5xx status code
func (*IssueCreateIssueCommentAttachmentCreated) IsSuccess ¶
func (o *IssueCreateIssueCommentAttachmentCreated) IsSuccess() bool
IsSuccess returns true when this issue create issue comment attachment created response has a 2xx status code
func (*IssueCreateIssueCommentAttachmentCreated) String ¶
func (o *IssueCreateIssueCommentAttachmentCreated) String() string
type IssueCreateIssueCommentAttachmentForbidden ¶
IssueCreateIssueCommentAttachmentForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueCreateIssueCommentAttachmentForbidden ¶
func NewIssueCreateIssueCommentAttachmentForbidden() *IssueCreateIssueCommentAttachmentForbidden
NewIssueCreateIssueCommentAttachmentForbidden creates a IssueCreateIssueCommentAttachmentForbidden with default headers values
func (*IssueCreateIssueCommentAttachmentForbidden) Code ¶
func (o *IssueCreateIssueCommentAttachmentForbidden) Code() int
Code gets the status code for the issue create issue comment attachment forbidden response
func (*IssueCreateIssueCommentAttachmentForbidden) Error ¶
func (o *IssueCreateIssueCommentAttachmentForbidden) Error() string
func (*IssueCreateIssueCommentAttachmentForbidden) IsClientError ¶
func (o *IssueCreateIssueCommentAttachmentForbidden) IsClientError() bool
IsClientError returns true when this issue create issue comment attachment forbidden response has a 4xx status code
func (*IssueCreateIssueCommentAttachmentForbidden) IsCode ¶
func (o *IssueCreateIssueCommentAttachmentForbidden) IsCode(code int) bool
IsCode returns true when this issue create issue comment attachment forbidden response a status code equal to that given
func (*IssueCreateIssueCommentAttachmentForbidden) IsRedirect ¶
func (o *IssueCreateIssueCommentAttachmentForbidden) IsRedirect() bool
IsRedirect returns true when this issue create issue comment attachment forbidden response has a 3xx status code
func (*IssueCreateIssueCommentAttachmentForbidden) IsServerError ¶
func (o *IssueCreateIssueCommentAttachmentForbidden) IsServerError() bool
IsServerError returns true when this issue create issue comment attachment forbidden response has a 5xx status code
func (*IssueCreateIssueCommentAttachmentForbidden) IsSuccess ¶
func (o *IssueCreateIssueCommentAttachmentForbidden) IsSuccess() bool
IsSuccess returns true when this issue create issue comment attachment forbidden response has a 2xx status code
func (*IssueCreateIssueCommentAttachmentForbidden) String ¶
func (o *IssueCreateIssueCommentAttachmentForbidden) String() string
type IssueCreateIssueCommentAttachmentLocked ¶
IssueCreateIssueCommentAttachmentLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueCreateIssueCommentAttachmentLocked ¶
func NewIssueCreateIssueCommentAttachmentLocked() *IssueCreateIssueCommentAttachmentLocked
NewIssueCreateIssueCommentAttachmentLocked creates a IssueCreateIssueCommentAttachmentLocked with default headers values
func (*IssueCreateIssueCommentAttachmentLocked) Code ¶
func (o *IssueCreateIssueCommentAttachmentLocked) Code() int
Code gets the status code for the issue create issue comment attachment locked response
func (*IssueCreateIssueCommentAttachmentLocked) Error ¶
func (o *IssueCreateIssueCommentAttachmentLocked) Error() string
func (*IssueCreateIssueCommentAttachmentLocked) IsClientError ¶
func (o *IssueCreateIssueCommentAttachmentLocked) IsClientError() bool
IsClientError returns true when this issue create issue comment attachment locked response has a 4xx status code
func (*IssueCreateIssueCommentAttachmentLocked) IsCode ¶
func (o *IssueCreateIssueCommentAttachmentLocked) IsCode(code int) bool
IsCode returns true when this issue create issue comment attachment locked response a status code equal to that given
func (*IssueCreateIssueCommentAttachmentLocked) IsRedirect ¶
func (o *IssueCreateIssueCommentAttachmentLocked) IsRedirect() bool
IsRedirect returns true when this issue create issue comment attachment locked response has a 3xx status code
func (*IssueCreateIssueCommentAttachmentLocked) IsServerError ¶
func (o *IssueCreateIssueCommentAttachmentLocked) IsServerError() bool
IsServerError returns true when this issue create issue comment attachment locked response has a 5xx status code
func (*IssueCreateIssueCommentAttachmentLocked) IsSuccess ¶
func (o *IssueCreateIssueCommentAttachmentLocked) IsSuccess() bool
IsSuccess returns true when this issue create issue comment attachment locked response has a 2xx status code
func (*IssueCreateIssueCommentAttachmentLocked) String ¶
func (o *IssueCreateIssueCommentAttachmentLocked) String() string
type IssueCreateIssueCommentAttachmentNotFound ¶
IssueCreateIssueCommentAttachmentNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueCreateIssueCommentAttachmentNotFound ¶
func NewIssueCreateIssueCommentAttachmentNotFound() *IssueCreateIssueCommentAttachmentNotFound
NewIssueCreateIssueCommentAttachmentNotFound creates a IssueCreateIssueCommentAttachmentNotFound with default headers values
func (*IssueCreateIssueCommentAttachmentNotFound) Code ¶
func (o *IssueCreateIssueCommentAttachmentNotFound) Code() int
Code gets the status code for the issue create issue comment attachment not found response
func (*IssueCreateIssueCommentAttachmentNotFound) Error ¶
func (o *IssueCreateIssueCommentAttachmentNotFound) Error() string
func (*IssueCreateIssueCommentAttachmentNotFound) IsClientError ¶
func (o *IssueCreateIssueCommentAttachmentNotFound) IsClientError() bool
IsClientError returns true when this issue create issue comment attachment not found response has a 4xx status code
func (*IssueCreateIssueCommentAttachmentNotFound) IsCode ¶
func (o *IssueCreateIssueCommentAttachmentNotFound) IsCode(code int) bool
IsCode returns true when this issue create issue comment attachment not found response a status code equal to that given
func (*IssueCreateIssueCommentAttachmentNotFound) IsRedirect ¶
func (o *IssueCreateIssueCommentAttachmentNotFound) IsRedirect() bool
IsRedirect returns true when this issue create issue comment attachment not found response has a 3xx status code
func (*IssueCreateIssueCommentAttachmentNotFound) IsServerError ¶
func (o *IssueCreateIssueCommentAttachmentNotFound) IsServerError() bool
IsServerError returns true when this issue create issue comment attachment not found response has a 5xx status code
func (*IssueCreateIssueCommentAttachmentNotFound) IsSuccess ¶
func (o *IssueCreateIssueCommentAttachmentNotFound) IsSuccess() bool
IsSuccess returns true when this issue create issue comment attachment not found response has a 2xx status code
func (*IssueCreateIssueCommentAttachmentNotFound) String ¶
func (o *IssueCreateIssueCommentAttachmentNotFound) String() string
type IssueCreateIssueCommentAttachmentParams ¶
type IssueCreateIssueCommentAttachmentParams struct { /* Attachment. attachment to upload */ Attachment runtime.NamedReadCloser /* ID. id of the comment Format: int64 */ ID int64 /* Name. name of the attachment */ Name *string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCreateIssueCommentAttachmentParams contains all the parameters to send to the API endpoint
for the issue create issue comment attachment operation. Typically these are written to a http.Request.
func NewIssueCreateIssueCommentAttachmentParams ¶
func NewIssueCreateIssueCommentAttachmentParams() *IssueCreateIssueCommentAttachmentParams
NewIssueCreateIssueCommentAttachmentParams creates a new IssueCreateIssueCommentAttachmentParams 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 NewIssueCreateIssueCommentAttachmentParamsWithContext ¶
func NewIssueCreateIssueCommentAttachmentParamsWithContext(ctx context.Context) *IssueCreateIssueCommentAttachmentParams
NewIssueCreateIssueCommentAttachmentParamsWithContext creates a new IssueCreateIssueCommentAttachmentParams object with the ability to set a context for a request.
func NewIssueCreateIssueCommentAttachmentParamsWithHTTPClient ¶
func NewIssueCreateIssueCommentAttachmentParamsWithHTTPClient(client *http.Client) *IssueCreateIssueCommentAttachmentParams
NewIssueCreateIssueCommentAttachmentParamsWithHTTPClient creates a new IssueCreateIssueCommentAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCreateIssueCommentAttachmentParamsWithTimeout ¶
func NewIssueCreateIssueCommentAttachmentParamsWithTimeout(timeout time.Duration) *IssueCreateIssueCommentAttachmentParams
NewIssueCreateIssueCommentAttachmentParamsWithTimeout creates a new IssueCreateIssueCommentAttachmentParams object with the ability to set a timeout on a request.
func (*IssueCreateIssueCommentAttachmentParams) SetAttachment ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetAttachment(attachment runtime.NamedReadCloser)
SetAttachment adds the attachment to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) SetContext ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) SetDefaults ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the issue create issue comment attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueCommentAttachmentParams) SetHTTPClient ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) SetID ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetID(id int64)
SetID adds the id to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) SetName ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetName(name *string)
SetName adds the name to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) SetOwner ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetOwner(owner string)
SetOwner adds the owner to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) SetRepo ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetRepo(repo string)
SetRepo adds the repo to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) SetTimeout ¶
func (o *IssueCreateIssueCommentAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WithAttachment ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithAttachment(attachment runtime.NamedReadCloser) *IssueCreateIssueCommentAttachmentParams
WithAttachment adds the attachment to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WithContext ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithContext(ctx context.Context) *IssueCreateIssueCommentAttachmentParams
WithContext adds the context to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WithDefaults ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithDefaults() *IssueCreateIssueCommentAttachmentParams
WithDefaults hydrates default values in the issue create issue comment attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueCommentAttachmentParams) WithHTTPClient ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithHTTPClient(client *http.Client) *IssueCreateIssueCommentAttachmentParams
WithHTTPClient adds the HTTPClient to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WithID ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithID(id int64) *IssueCreateIssueCommentAttachmentParams
WithID adds the id to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WithName ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithName(name *string) *IssueCreateIssueCommentAttachmentParams
WithName adds the name to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WithOwner ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithOwner(owner string) *IssueCreateIssueCommentAttachmentParams
WithOwner adds the owner to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WithRepo ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithRepo(repo string) *IssueCreateIssueCommentAttachmentParams
WithRepo adds the repo to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WithTimeout ¶
func (o *IssueCreateIssueCommentAttachmentParams) WithTimeout(timeout time.Duration) *IssueCreateIssueCommentAttachmentParams
WithTimeout adds the timeout to the issue create issue comment attachment params
func (*IssueCreateIssueCommentAttachmentParams) WriteToRequest ¶
func (o *IssueCreateIssueCommentAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCreateIssueCommentAttachmentReader ¶
type IssueCreateIssueCommentAttachmentReader struct {
// contains filtered or unexported fields
}
IssueCreateIssueCommentAttachmentReader is a Reader for the IssueCreateIssueCommentAttachment structure.
func (*IssueCreateIssueCommentAttachmentReader) ReadResponse ¶
func (o *IssueCreateIssueCommentAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCreateIssueCommentAttachmentUnprocessableEntity ¶
IssueCreateIssueCommentAttachmentUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewIssueCreateIssueCommentAttachmentUnprocessableEntity ¶
func NewIssueCreateIssueCommentAttachmentUnprocessableEntity() *IssueCreateIssueCommentAttachmentUnprocessableEntity
NewIssueCreateIssueCommentAttachmentUnprocessableEntity creates a IssueCreateIssueCommentAttachmentUnprocessableEntity with default headers values
func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) Code ¶
func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) Code() int
Code gets the status code for the issue create issue comment attachment unprocessable entity response
func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) Error ¶
func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) Error() string
func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsClientError ¶
func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsClientError() bool
IsClientError returns true when this issue create issue comment attachment unprocessable entity response has a 4xx status code
func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsCode ¶
func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this issue create issue comment attachment unprocessable entity response a status code equal to that given
func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsRedirect ¶
func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this issue create issue comment attachment unprocessable entity response has a 3xx status code
func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsServerError ¶
func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsServerError() bool
IsServerError returns true when this issue create issue comment attachment unprocessable entity response has a 5xx status code
func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsSuccess ¶
func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this issue create issue comment attachment unprocessable entity response has a 2xx status code
func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) String ¶
func (o *IssueCreateIssueCommentAttachmentUnprocessableEntity) String() string
type IssueCreateIssueCreated ¶
IssueCreateIssueCreated describes a response with status code 201, with default header values.
Issue
func NewIssueCreateIssueCreated ¶
func NewIssueCreateIssueCreated() *IssueCreateIssueCreated
NewIssueCreateIssueCreated creates a IssueCreateIssueCreated with default headers values
func (*IssueCreateIssueCreated) Code ¶
func (o *IssueCreateIssueCreated) Code() int
Code gets the status code for the issue create issue created response
func (*IssueCreateIssueCreated) Error ¶
func (o *IssueCreateIssueCreated) Error() string
func (*IssueCreateIssueCreated) GetPayload ¶
func (o *IssueCreateIssueCreated) GetPayload() *models.Issue
func (*IssueCreateIssueCreated) IsClientError ¶
func (o *IssueCreateIssueCreated) IsClientError() bool
IsClientError returns true when this issue create issue created response has a 4xx status code
func (*IssueCreateIssueCreated) IsCode ¶
func (o *IssueCreateIssueCreated) IsCode(code int) bool
IsCode returns true when this issue create issue created response a status code equal to that given
func (*IssueCreateIssueCreated) IsRedirect ¶
func (o *IssueCreateIssueCreated) IsRedirect() bool
IsRedirect returns true when this issue create issue created response has a 3xx status code
func (*IssueCreateIssueCreated) IsServerError ¶
func (o *IssueCreateIssueCreated) IsServerError() bool
IsServerError returns true when this issue create issue created response has a 5xx status code
func (*IssueCreateIssueCreated) IsSuccess ¶
func (o *IssueCreateIssueCreated) IsSuccess() bool
IsSuccess returns true when this issue create issue created response has a 2xx status code
func (*IssueCreateIssueCreated) String ¶
func (o *IssueCreateIssueCreated) String() string
type IssueCreateIssueDependenciesCreated ¶
IssueCreateIssueDependenciesCreated describes a response with status code 201, with default header values.
Issue
func NewIssueCreateIssueDependenciesCreated ¶
func NewIssueCreateIssueDependenciesCreated() *IssueCreateIssueDependenciesCreated
NewIssueCreateIssueDependenciesCreated creates a IssueCreateIssueDependenciesCreated with default headers values
func (*IssueCreateIssueDependenciesCreated) Code ¶
func (o *IssueCreateIssueDependenciesCreated) Code() int
Code gets the status code for the issue create issue dependencies created response
func (*IssueCreateIssueDependenciesCreated) Error ¶
func (o *IssueCreateIssueDependenciesCreated) Error() string
func (*IssueCreateIssueDependenciesCreated) GetPayload ¶
func (o *IssueCreateIssueDependenciesCreated) GetPayload() *models.Issue
func (*IssueCreateIssueDependenciesCreated) IsClientError ¶
func (o *IssueCreateIssueDependenciesCreated) IsClientError() bool
IsClientError returns true when this issue create issue dependencies created response has a 4xx status code
func (*IssueCreateIssueDependenciesCreated) IsCode ¶
func (o *IssueCreateIssueDependenciesCreated) IsCode(code int) bool
IsCode returns true when this issue create issue dependencies created response a status code equal to that given
func (*IssueCreateIssueDependenciesCreated) IsRedirect ¶
func (o *IssueCreateIssueDependenciesCreated) IsRedirect() bool
IsRedirect returns true when this issue create issue dependencies created response has a 3xx status code
func (*IssueCreateIssueDependenciesCreated) IsServerError ¶
func (o *IssueCreateIssueDependenciesCreated) IsServerError() bool
IsServerError returns true when this issue create issue dependencies created response has a 5xx status code
func (*IssueCreateIssueDependenciesCreated) IsSuccess ¶
func (o *IssueCreateIssueDependenciesCreated) IsSuccess() bool
IsSuccess returns true when this issue create issue dependencies created response has a 2xx status code
func (*IssueCreateIssueDependenciesCreated) String ¶
func (o *IssueCreateIssueDependenciesCreated) String() string
type IssueCreateIssueDependenciesLocked ¶
IssueCreateIssueDependenciesLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueCreateIssueDependenciesLocked ¶
func NewIssueCreateIssueDependenciesLocked() *IssueCreateIssueDependenciesLocked
NewIssueCreateIssueDependenciesLocked creates a IssueCreateIssueDependenciesLocked with default headers values
func (*IssueCreateIssueDependenciesLocked) Code ¶
func (o *IssueCreateIssueDependenciesLocked) Code() int
Code gets the status code for the issue create issue dependencies locked response
func (*IssueCreateIssueDependenciesLocked) Error ¶
func (o *IssueCreateIssueDependenciesLocked) Error() string
func (*IssueCreateIssueDependenciesLocked) IsClientError ¶
func (o *IssueCreateIssueDependenciesLocked) IsClientError() bool
IsClientError returns true when this issue create issue dependencies locked response has a 4xx status code
func (*IssueCreateIssueDependenciesLocked) IsCode ¶
func (o *IssueCreateIssueDependenciesLocked) IsCode(code int) bool
IsCode returns true when this issue create issue dependencies locked response a status code equal to that given
func (*IssueCreateIssueDependenciesLocked) IsRedirect ¶
func (o *IssueCreateIssueDependenciesLocked) IsRedirect() bool
IsRedirect returns true when this issue create issue dependencies locked response has a 3xx status code
func (*IssueCreateIssueDependenciesLocked) IsServerError ¶
func (o *IssueCreateIssueDependenciesLocked) IsServerError() bool
IsServerError returns true when this issue create issue dependencies locked response has a 5xx status code
func (*IssueCreateIssueDependenciesLocked) IsSuccess ¶
func (o *IssueCreateIssueDependenciesLocked) IsSuccess() bool
IsSuccess returns true when this issue create issue dependencies locked response has a 2xx status code
func (*IssueCreateIssueDependenciesLocked) String ¶
func (o *IssueCreateIssueDependenciesLocked) String() string
type IssueCreateIssueDependenciesNotFound ¶
type IssueCreateIssueDependenciesNotFound struct { }
IssueCreateIssueDependenciesNotFound describes a response with status code 404, with default header values.
the issue does not exist
func NewIssueCreateIssueDependenciesNotFound ¶
func NewIssueCreateIssueDependenciesNotFound() *IssueCreateIssueDependenciesNotFound
NewIssueCreateIssueDependenciesNotFound creates a IssueCreateIssueDependenciesNotFound with default headers values
func (*IssueCreateIssueDependenciesNotFound) Code ¶
func (o *IssueCreateIssueDependenciesNotFound) Code() int
Code gets the status code for the issue create issue dependencies not found response
func (*IssueCreateIssueDependenciesNotFound) Error ¶
func (o *IssueCreateIssueDependenciesNotFound) Error() string
func (*IssueCreateIssueDependenciesNotFound) IsClientError ¶
func (o *IssueCreateIssueDependenciesNotFound) IsClientError() bool
IsClientError returns true when this issue create issue dependencies not found response has a 4xx status code
func (*IssueCreateIssueDependenciesNotFound) IsCode ¶
func (o *IssueCreateIssueDependenciesNotFound) IsCode(code int) bool
IsCode returns true when this issue create issue dependencies not found response a status code equal to that given
func (*IssueCreateIssueDependenciesNotFound) IsRedirect ¶
func (o *IssueCreateIssueDependenciesNotFound) IsRedirect() bool
IsRedirect returns true when this issue create issue dependencies not found response has a 3xx status code
func (*IssueCreateIssueDependenciesNotFound) IsServerError ¶
func (o *IssueCreateIssueDependenciesNotFound) IsServerError() bool
IsServerError returns true when this issue create issue dependencies not found response has a 5xx status code
func (*IssueCreateIssueDependenciesNotFound) IsSuccess ¶
func (o *IssueCreateIssueDependenciesNotFound) IsSuccess() bool
IsSuccess returns true when this issue create issue dependencies not found response has a 2xx status code
func (*IssueCreateIssueDependenciesNotFound) String ¶
func (o *IssueCreateIssueDependenciesNotFound) String() string
type IssueCreateIssueDependenciesParams ¶
type IssueCreateIssueDependenciesParams struct { // Body. Body *models.IssueMeta /* Index. index of the issue */ Index string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCreateIssueDependenciesParams contains all the parameters to send to the API endpoint
for the issue create issue dependencies operation. Typically these are written to a http.Request.
func NewIssueCreateIssueDependenciesParams ¶
func NewIssueCreateIssueDependenciesParams() *IssueCreateIssueDependenciesParams
NewIssueCreateIssueDependenciesParams creates a new IssueCreateIssueDependenciesParams 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 NewIssueCreateIssueDependenciesParamsWithContext ¶
func NewIssueCreateIssueDependenciesParamsWithContext(ctx context.Context) *IssueCreateIssueDependenciesParams
NewIssueCreateIssueDependenciesParamsWithContext creates a new IssueCreateIssueDependenciesParams object with the ability to set a context for a request.
func NewIssueCreateIssueDependenciesParamsWithHTTPClient ¶
func NewIssueCreateIssueDependenciesParamsWithHTTPClient(client *http.Client) *IssueCreateIssueDependenciesParams
NewIssueCreateIssueDependenciesParamsWithHTTPClient creates a new IssueCreateIssueDependenciesParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCreateIssueDependenciesParamsWithTimeout ¶
func NewIssueCreateIssueDependenciesParamsWithTimeout(timeout time.Duration) *IssueCreateIssueDependenciesParams
NewIssueCreateIssueDependenciesParamsWithTimeout creates a new IssueCreateIssueDependenciesParams object with the ability to set a timeout on a request.
func (*IssueCreateIssueDependenciesParams) SetBody ¶
func (o *IssueCreateIssueDependenciesParams) SetBody(body *models.IssueMeta)
SetBody adds the body to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) SetContext ¶
func (o *IssueCreateIssueDependenciesParams) SetContext(ctx context.Context)
SetContext adds the context to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) SetDefaults ¶
func (o *IssueCreateIssueDependenciesParams) SetDefaults()
SetDefaults hydrates default values in the issue create issue dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueDependenciesParams) SetHTTPClient ¶
func (o *IssueCreateIssueDependenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) SetIndex ¶
func (o *IssueCreateIssueDependenciesParams) SetIndex(index string)
SetIndex adds the index to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) SetOwner ¶
func (o *IssueCreateIssueDependenciesParams) SetOwner(owner string)
SetOwner adds the owner to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) SetRepo ¶
func (o *IssueCreateIssueDependenciesParams) SetRepo(repo string)
SetRepo adds the repo to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) SetTimeout ¶
func (o *IssueCreateIssueDependenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) WithBody ¶
func (o *IssueCreateIssueDependenciesParams) WithBody(body *models.IssueMeta) *IssueCreateIssueDependenciesParams
WithBody adds the body to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) WithContext ¶
func (o *IssueCreateIssueDependenciesParams) WithContext(ctx context.Context) *IssueCreateIssueDependenciesParams
WithContext adds the context to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) WithDefaults ¶
func (o *IssueCreateIssueDependenciesParams) WithDefaults() *IssueCreateIssueDependenciesParams
WithDefaults hydrates default values in the issue create issue dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueDependenciesParams) WithHTTPClient ¶
func (o *IssueCreateIssueDependenciesParams) WithHTTPClient(client *http.Client) *IssueCreateIssueDependenciesParams
WithHTTPClient adds the HTTPClient to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) WithIndex ¶
func (o *IssueCreateIssueDependenciesParams) WithIndex(index string) *IssueCreateIssueDependenciesParams
WithIndex adds the index to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) WithOwner ¶
func (o *IssueCreateIssueDependenciesParams) WithOwner(owner string) *IssueCreateIssueDependenciesParams
WithOwner adds the owner to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) WithRepo ¶
func (o *IssueCreateIssueDependenciesParams) WithRepo(repo string) *IssueCreateIssueDependenciesParams
WithRepo adds the repo to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) WithTimeout ¶
func (o *IssueCreateIssueDependenciesParams) WithTimeout(timeout time.Duration) *IssueCreateIssueDependenciesParams
WithTimeout adds the timeout to the issue create issue dependencies params
func (*IssueCreateIssueDependenciesParams) WriteToRequest ¶
func (o *IssueCreateIssueDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCreateIssueDependenciesReader ¶
type IssueCreateIssueDependenciesReader struct {
// contains filtered or unexported fields
}
IssueCreateIssueDependenciesReader is a Reader for the IssueCreateIssueDependencies structure.
func (*IssueCreateIssueDependenciesReader) ReadResponse ¶
func (o *IssueCreateIssueDependenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCreateIssueForbidden ¶
IssueCreateIssueForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueCreateIssueForbidden ¶
func NewIssueCreateIssueForbidden() *IssueCreateIssueForbidden
NewIssueCreateIssueForbidden creates a IssueCreateIssueForbidden with default headers values
func (*IssueCreateIssueForbidden) Code ¶
func (o *IssueCreateIssueForbidden) Code() int
Code gets the status code for the issue create issue forbidden response
func (*IssueCreateIssueForbidden) Error ¶
func (o *IssueCreateIssueForbidden) Error() string
func (*IssueCreateIssueForbidden) IsClientError ¶
func (o *IssueCreateIssueForbidden) IsClientError() bool
IsClientError returns true when this issue create issue forbidden response has a 4xx status code
func (*IssueCreateIssueForbidden) IsCode ¶
func (o *IssueCreateIssueForbidden) IsCode(code int) bool
IsCode returns true when this issue create issue forbidden response a status code equal to that given
func (*IssueCreateIssueForbidden) IsRedirect ¶
func (o *IssueCreateIssueForbidden) IsRedirect() bool
IsRedirect returns true when this issue create issue forbidden response has a 3xx status code
func (*IssueCreateIssueForbidden) IsServerError ¶
func (o *IssueCreateIssueForbidden) IsServerError() bool
IsServerError returns true when this issue create issue forbidden response has a 5xx status code
func (*IssueCreateIssueForbidden) IsSuccess ¶
func (o *IssueCreateIssueForbidden) IsSuccess() bool
IsSuccess returns true when this issue create issue forbidden response has a 2xx status code
func (*IssueCreateIssueForbidden) String ¶
func (o *IssueCreateIssueForbidden) String() string
type IssueCreateIssueLocked ¶
IssueCreateIssueLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueCreateIssueLocked ¶
func NewIssueCreateIssueLocked() *IssueCreateIssueLocked
NewIssueCreateIssueLocked creates a IssueCreateIssueLocked with default headers values
func (*IssueCreateIssueLocked) Code ¶
func (o *IssueCreateIssueLocked) Code() int
Code gets the status code for the issue create issue locked response
func (*IssueCreateIssueLocked) Error ¶
func (o *IssueCreateIssueLocked) Error() string
func (*IssueCreateIssueLocked) IsClientError ¶
func (o *IssueCreateIssueLocked) IsClientError() bool
IsClientError returns true when this issue create issue locked response has a 4xx status code
func (*IssueCreateIssueLocked) IsCode ¶
func (o *IssueCreateIssueLocked) IsCode(code int) bool
IsCode returns true when this issue create issue locked response a status code equal to that given
func (*IssueCreateIssueLocked) IsRedirect ¶
func (o *IssueCreateIssueLocked) IsRedirect() bool
IsRedirect returns true when this issue create issue locked response has a 3xx status code
func (*IssueCreateIssueLocked) IsServerError ¶
func (o *IssueCreateIssueLocked) IsServerError() bool
IsServerError returns true when this issue create issue locked response has a 5xx status code
func (*IssueCreateIssueLocked) IsSuccess ¶
func (o *IssueCreateIssueLocked) IsSuccess() bool
IsSuccess returns true when this issue create issue locked response has a 2xx status code
func (*IssueCreateIssueLocked) String ¶
func (o *IssueCreateIssueLocked) String() string
type IssueCreateIssueNotFound ¶
type IssueCreateIssueNotFound struct { }
IssueCreateIssueNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueCreateIssueNotFound ¶
func NewIssueCreateIssueNotFound() *IssueCreateIssueNotFound
NewIssueCreateIssueNotFound creates a IssueCreateIssueNotFound with default headers values
func (*IssueCreateIssueNotFound) Code ¶
func (o *IssueCreateIssueNotFound) Code() int
Code gets the status code for the issue create issue not found response
func (*IssueCreateIssueNotFound) Error ¶
func (o *IssueCreateIssueNotFound) Error() string
func (*IssueCreateIssueNotFound) IsClientError ¶
func (o *IssueCreateIssueNotFound) IsClientError() bool
IsClientError returns true when this issue create issue not found response has a 4xx status code
func (*IssueCreateIssueNotFound) IsCode ¶
func (o *IssueCreateIssueNotFound) IsCode(code int) bool
IsCode returns true when this issue create issue not found response a status code equal to that given
func (*IssueCreateIssueNotFound) IsRedirect ¶
func (o *IssueCreateIssueNotFound) IsRedirect() bool
IsRedirect returns true when this issue create issue not found response has a 3xx status code
func (*IssueCreateIssueNotFound) IsServerError ¶
func (o *IssueCreateIssueNotFound) IsServerError() bool
IsServerError returns true when this issue create issue not found response has a 5xx status code
func (*IssueCreateIssueNotFound) IsSuccess ¶
func (o *IssueCreateIssueNotFound) IsSuccess() bool
IsSuccess returns true when this issue create issue not found response has a 2xx status code
func (*IssueCreateIssueNotFound) String ¶
func (o *IssueCreateIssueNotFound) String() string
type IssueCreateIssueParams ¶
type IssueCreateIssueParams struct { // Body. Body *models.CreateIssueOption /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCreateIssueParams contains all the parameters to send to the API endpoint
for the issue create issue operation. Typically these are written to a http.Request.
func NewIssueCreateIssueParams ¶
func NewIssueCreateIssueParams() *IssueCreateIssueParams
NewIssueCreateIssueParams creates a new IssueCreateIssueParams 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 NewIssueCreateIssueParamsWithContext ¶
func NewIssueCreateIssueParamsWithContext(ctx context.Context) *IssueCreateIssueParams
NewIssueCreateIssueParamsWithContext creates a new IssueCreateIssueParams object with the ability to set a context for a request.
func NewIssueCreateIssueParamsWithHTTPClient ¶
func NewIssueCreateIssueParamsWithHTTPClient(client *http.Client) *IssueCreateIssueParams
NewIssueCreateIssueParamsWithHTTPClient creates a new IssueCreateIssueParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCreateIssueParamsWithTimeout ¶
func NewIssueCreateIssueParamsWithTimeout(timeout time.Duration) *IssueCreateIssueParams
NewIssueCreateIssueParamsWithTimeout creates a new IssueCreateIssueParams object with the ability to set a timeout on a request.
func (*IssueCreateIssueParams) SetBody ¶
func (o *IssueCreateIssueParams) SetBody(body *models.CreateIssueOption)
SetBody adds the body to the issue create issue params
func (*IssueCreateIssueParams) SetContext ¶
func (o *IssueCreateIssueParams) SetContext(ctx context.Context)
SetContext adds the context to the issue create issue params
func (*IssueCreateIssueParams) SetDefaults ¶
func (o *IssueCreateIssueParams) SetDefaults()
SetDefaults hydrates default values in the issue create issue params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueParams) SetHTTPClient ¶
func (o *IssueCreateIssueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue create issue params
func (*IssueCreateIssueParams) SetOwner ¶
func (o *IssueCreateIssueParams) SetOwner(owner string)
SetOwner adds the owner to the issue create issue params
func (*IssueCreateIssueParams) SetRepo ¶
func (o *IssueCreateIssueParams) SetRepo(repo string)
SetRepo adds the repo to the issue create issue params
func (*IssueCreateIssueParams) SetTimeout ¶
func (o *IssueCreateIssueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue create issue params
func (*IssueCreateIssueParams) WithBody ¶
func (o *IssueCreateIssueParams) WithBody(body *models.CreateIssueOption) *IssueCreateIssueParams
WithBody adds the body to the issue create issue params
func (*IssueCreateIssueParams) WithContext ¶
func (o *IssueCreateIssueParams) WithContext(ctx context.Context) *IssueCreateIssueParams
WithContext adds the context to the issue create issue params
func (*IssueCreateIssueParams) WithDefaults ¶
func (o *IssueCreateIssueParams) WithDefaults() *IssueCreateIssueParams
WithDefaults hydrates default values in the issue create issue params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateIssueParams) WithHTTPClient ¶
func (o *IssueCreateIssueParams) WithHTTPClient(client *http.Client) *IssueCreateIssueParams
WithHTTPClient adds the HTTPClient to the issue create issue params
func (*IssueCreateIssueParams) WithOwner ¶
func (o *IssueCreateIssueParams) WithOwner(owner string) *IssueCreateIssueParams
WithOwner adds the owner to the issue create issue params
func (*IssueCreateIssueParams) WithRepo ¶
func (o *IssueCreateIssueParams) WithRepo(repo string) *IssueCreateIssueParams
WithRepo adds the repo to the issue create issue params
func (*IssueCreateIssueParams) WithTimeout ¶
func (o *IssueCreateIssueParams) WithTimeout(timeout time.Duration) *IssueCreateIssueParams
WithTimeout adds the timeout to the issue create issue params
func (*IssueCreateIssueParams) WriteToRequest ¶
func (o *IssueCreateIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCreateIssuePreconditionFailed ¶
IssueCreateIssuePreconditionFailed describes a response with status code 412, with default header values.
APIError is error format response
func NewIssueCreateIssuePreconditionFailed ¶
func NewIssueCreateIssuePreconditionFailed() *IssueCreateIssuePreconditionFailed
NewIssueCreateIssuePreconditionFailed creates a IssueCreateIssuePreconditionFailed with default headers values
func (*IssueCreateIssuePreconditionFailed) Code ¶
func (o *IssueCreateIssuePreconditionFailed) Code() int
Code gets the status code for the issue create issue precondition failed response
func (*IssueCreateIssuePreconditionFailed) Error ¶
func (o *IssueCreateIssuePreconditionFailed) Error() string
func (*IssueCreateIssuePreconditionFailed) IsClientError ¶
func (o *IssueCreateIssuePreconditionFailed) IsClientError() bool
IsClientError returns true when this issue create issue precondition failed response has a 4xx status code
func (*IssueCreateIssuePreconditionFailed) IsCode ¶
func (o *IssueCreateIssuePreconditionFailed) IsCode(code int) bool
IsCode returns true when this issue create issue precondition failed response a status code equal to that given
func (*IssueCreateIssuePreconditionFailed) IsRedirect ¶
func (o *IssueCreateIssuePreconditionFailed) IsRedirect() bool
IsRedirect returns true when this issue create issue precondition failed response has a 3xx status code
func (*IssueCreateIssuePreconditionFailed) IsServerError ¶
func (o *IssueCreateIssuePreconditionFailed) IsServerError() bool
IsServerError returns true when this issue create issue precondition failed response has a 5xx status code
func (*IssueCreateIssuePreconditionFailed) IsSuccess ¶
func (o *IssueCreateIssuePreconditionFailed) IsSuccess() bool
IsSuccess returns true when this issue create issue precondition failed response has a 2xx status code
func (*IssueCreateIssuePreconditionFailed) String ¶
func (o *IssueCreateIssuePreconditionFailed) String() string
type IssueCreateIssueReader ¶
type IssueCreateIssueReader struct {
// contains filtered or unexported fields
}
IssueCreateIssueReader is a Reader for the IssueCreateIssue structure.
func (*IssueCreateIssueReader) ReadResponse ¶
func (o *IssueCreateIssueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCreateIssueUnprocessableEntity ¶
IssueCreateIssueUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewIssueCreateIssueUnprocessableEntity ¶
func NewIssueCreateIssueUnprocessableEntity() *IssueCreateIssueUnprocessableEntity
NewIssueCreateIssueUnprocessableEntity creates a IssueCreateIssueUnprocessableEntity with default headers values
func (*IssueCreateIssueUnprocessableEntity) Code ¶
func (o *IssueCreateIssueUnprocessableEntity) Code() int
Code gets the status code for the issue create issue unprocessable entity response
func (*IssueCreateIssueUnprocessableEntity) Error ¶
func (o *IssueCreateIssueUnprocessableEntity) Error() string
func (*IssueCreateIssueUnprocessableEntity) IsClientError ¶
func (o *IssueCreateIssueUnprocessableEntity) IsClientError() bool
IsClientError returns true when this issue create issue unprocessable entity response has a 4xx status code
func (*IssueCreateIssueUnprocessableEntity) IsCode ¶
func (o *IssueCreateIssueUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this issue create issue unprocessable entity response a status code equal to that given
func (*IssueCreateIssueUnprocessableEntity) IsRedirect ¶
func (o *IssueCreateIssueUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this issue create issue unprocessable entity response has a 3xx status code
func (*IssueCreateIssueUnprocessableEntity) IsServerError ¶
func (o *IssueCreateIssueUnprocessableEntity) IsServerError() bool
IsServerError returns true when this issue create issue unprocessable entity response has a 5xx status code
func (*IssueCreateIssueUnprocessableEntity) IsSuccess ¶
func (o *IssueCreateIssueUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this issue create issue unprocessable entity response has a 2xx status code
func (*IssueCreateIssueUnprocessableEntity) String ¶
func (o *IssueCreateIssueUnprocessableEntity) String() string
type IssueCreateLabelCreated ¶
IssueCreateLabelCreated describes a response with status code 201, with default header values.
Label
func NewIssueCreateLabelCreated ¶
func NewIssueCreateLabelCreated() *IssueCreateLabelCreated
NewIssueCreateLabelCreated creates a IssueCreateLabelCreated with default headers values
func (*IssueCreateLabelCreated) Code ¶
func (o *IssueCreateLabelCreated) Code() int
Code gets the status code for the issue create label created response
func (*IssueCreateLabelCreated) Error ¶
func (o *IssueCreateLabelCreated) Error() string
func (*IssueCreateLabelCreated) GetPayload ¶
func (o *IssueCreateLabelCreated) GetPayload() *models.Label
func (*IssueCreateLabelCreated) IsClientError ¶
func (o *IssueCreateLabelCreated) IsClientError() bool
IsClientError returns true when this issue create label created response has a 4xx status code
func (*IssueCreateLabelCreated) IsCode ¶
func (o *IssueCreateLabelCreated) IsCode(code int) bool
IsCode returns true when this issue create label created response a status code equal to that given
func (*IssueCreateLabelCreated) IsRedirect ¶
func (o *IssueCreateLabelCreated) IsRedirect() bool
IsRedirect returns true when this issue create label created response has a 3xx status code
func (*IssueCreateLabelCreated) IsServerError ¶
func (o *IssueCreateLabelCreated) IsServerError() bool
IsServerError returns true when this issue create label created response has a 5xx status code
func (*IssueCreateLabelCreated) IsSuccess ¶
func (o *IssueCreateLabelCreated) IsSuccess() bool
IsSuccess returns true when this issue create label created response has a 2xx status code
func (*IssueCreateLabelCreated) String ¶
func (o *IssueCreateLabelCreated) String() string
type IssueCreateLabelNotFound ¶
type IssueCreateLabelNotFound struct { }
IssueCreateLabelNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueCreateLabelNotFound ¶
func NewIssueCreateLabelNotFound() *IssueCreateLabelNotFound
NewIssueCreateLabelNotFound creates a IssueCreateLabelNotFound with default headers values
func (*IssueCreateLabelNotFound) Code ¶
func (o *IssueCreateLabelNotFound) Code() int
Code gets the status code for the issue create label not found response
func (*IssueCreateLabelNotFound) Error ¶
func (o *IssueCreateLabelNotFound) Error() string
func (*IssueCreateLabelNotFound) IsClientError ¶
func (o *IssueCreateLabelNotFound) IsClientError() bool
IsClientError returns true when this issue create label not found response has a 4xx status code
func (*IssueCreateLabelNotFound) IsCode ¶
func (o *IssueCreateLabelNotFound) IsCode(code int) bool
IsCode returns true when this issue create label not found response a status code equal to that given
func (*IssueCreateLabelNotFound) IsRedirect ¶
func (o *IssueCreateLabelNotFound) IsRedirect() bool
IsRedirect returns true when this issue create label not found response has a 3xx status code
func (*IssueCreateLabelNotFound) IsServerError ¶
func (o *IssueCreateLabelNotFound) IsServerError() bool
IsServerError returns true when this issue create label not found response has a 5xx status code
func (*IssueCreateLabelNotFound) IsSuccess ¶
func (o *IssueCreateLabelNotFound) IsSuccess() bool
IsSuccess returns true when this issue create label not found response has a 2xx status code
func (*IssueCreateLabelNotFound) String ¶
func (o *IssueCreateLabelNotFound) String() string
type IssueCreateLabelParams ¶
type IssueCreateLabelParams struct { // Body. Body *models.CreateLabelOption /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCreateLabelParams contains all the parameters to send to the API endpoint
for the issue create label operation. Typically these are written to a http.Request.
func NewIssueCreateLabelParams ¶
func NewIssueCreateLabelParams() *IssueCreateLabelParams
NewIssueCreateLabelParams creates a new IssueCreateLabelParams 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 NewIssueCreateLabelParamsWithContext ¶
func NewIssueCreateLabelParamsWithContext(ctx context.Context) *IssueCreateLabelParams
NewIssueCreateLabelParamsWithContext creates a new IssueCreateLabelParams object with the ability to set a context for a request.
func NewIssueCreateLabelParamsWithHTTPClient ¶
func NewIssueCreateLabelParamsWithHTTPClient(client *http.Client) *IssueCreateLabelParams
NewIssueCreateLabelParamsWithHTTPClient creates a new IssueCreateLabelParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCreateLabelParamsWithTimeout ¶
func NewIssueCreateLabelParamsWithTimeout(timeout time.Duration) *IssueCreateLabelParams
NewIssueCreateLabelParamsWithTimeout creates a new IssueCreateLabelParams object with the ability to set a timeout on a request.
func (*IssueCreateLabelParams) SetBody ¶
func (o *IssueCreateLabelParams) SetBody(body *models.CreateLabelOption)
SetBody adds the body to the issue create label params
func (*IssueCreateLabelParams) SetContext ¶
func (o *IssueCreateLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the issue create label params
func (*IssueCreateLabelParams) SetDefaults ¶
func (o *IssueCreateLabelParams) SetDefaults()
SetDefaults hydrates default values in the issue create label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateLabelParams) SetHTTPClient ¶
func (o *IssueCreateLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue create label params
func (*IssueCreateLabelParams) SetOwner ¶
func (o *IssueCreateLabelParams) SetOwner(owner string)
SetOwner adds the owner to the issue create label params
func (*IssueCreateLabelParams) SetRepo ¶
func (o *IssueCreateLabelParams) SetRepo(repo string)
SetRepo adds the repo to the issue create label params
func (*IssueCreateLabelParams) SetTimeout ¶
func (o *IssueCreateLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue create label params
func (*IssueCreateLabelParams) WithBody ¶
func (o *IssueCreateLabelParams) WithBody(body *models.CreateLabelOption) *IssueCreateLabelParams
WithBody adds the body to the issue create label params
func (*IssueCreateLabelParams) WithContext ¶
func (o *IssueCreateLabelParams) WithContext(ctx context.Context) *IssueCreateLabelParams
WithContext adds the context to the issue create label params
func (*IssueCreateLabelParams) WithDefaults ¶
func (o *IssueCreateLabelParams) WithDefaults() *IssueCreateLabelParams
WithDefaults hydrates default values in the issue create label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateLabelParams) WithHTTPClient ¶
func (o *IssueCreateLabelParams) WithHTTPClient(client *http.Client) *IssueCreateLabelParams
WithHTTPClient adds the HTTPClient to the issue create label params
func (*IssueCreateLabelParams) WithOwner ¶
func (o *IssueCreateLabelParams) WithOwner(owner string) *IssueCreateLabelParams
WithOwner adds the owner to the issue create label params
func (*IssueCreateLabelParams) WithRepo ¶
func (o *IssueCreateLabelParams) WithRepo(repo string) *IssueCreateLabelParams
WithRepo adds the repo to the issue create label params
func (*IssueCreateLabelParams) WithTimeout ¶
func (o *IssueCreateLabelParams) WithTimeout(timeout time.Duration) *IssueCreateLabelParams
WithTimeout adds the timeout to the issue create label params
func (*IssueCreateLabelParams) WriteToRequest ¶
func (o *IssueCreateLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCreateLabelReader ¶
type IssueCreateLabelReader struct {
// contains filtered or unexported fields
}
IssueCreateLabelReader is a Reader for the IssueCreateLabel structure.
func (*IssueCreateLabelReader) ReadResponse ¶
func (o *IssueCreateLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueCreateLabelUnprocessableEntity ¶
IssueCreateLabelUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewIssueCreateLabelUnprocessableEntity ¶
func NewIssueCreateLabelUnprocessableEntity() *IssueCreateLabelUnprocessableEntity
NewIssueCreateLabelUnprocessableEntity creates a IssueCreateLabelUnprocessableEntity with default headers values
func (*IssueCreateLabelUnprocessableEntity) Code ¶
func (o *IssueCreateLabelUnprocessableEntity) Code() int
Code gets the status code for the issue create label unprocessable entity response
func (*IssueCreateLabelUnprocessableEntity) Error ¶
func (o *IssueCreateLabelUnprocessableEntity) Error() string
func (*IssueCreateLabelUnprocessableEntity) IsClientError ¶
func (o *IssueCreateLabelUnprocessableEntity) IsClientError() bool
IsClientError returns true when this issue create label unprocessable entity response has a 4xx status code
func (*IssueCreateLabelUnprocessableEntity) IsCode ¶
func (o *IssueCreateLabelUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this issue create label unprocessable entity response a status code equal to that given
func (*IssueCreateLabelUnprocessableEntity) IsRedirect ¶
func (o *IssueCreateLabelUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this issue create label unprocessable entity response has a 3xx status code
func (*IssueCreateLabelUnprocessableEntity) IsServerError ¶
func (o *IssueCreateLabelUnprocessableEntity) IsServerError() bool
IsServerError returns true when this issue create label unprocessable entity response has a 5xx status code
func (*IssueCreateLabelUnprocessableEntity) IsSuccess ¶
func (o *IssueCreateLabelUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this issue create label unprocessable entity response has a 2xx status code
func (*IssueCreateLabelUnprocessableEntity) String ¶
func (o *IssueCreateLabelUnprocessableEntity) String() string
type IssueCreateMilestoneCreated ¶
IssueCreateMilestoneCreated describes a response with status code 201, with default header values.
Milestone
func NewIssueCreateMilestoneCreated ¶
func NewIssueCreateMilestoneCreated() *IssueCreateMilestoneCreated
NewIssueCreateMilestoneCreated creates a IssueCreateMilestoneCreated with default headers values
func (*IssueCreateMilestoneCreated) Code ¶
func (o *IssueCreateMilestoneCreated) Code() int
Code gets the status code for the issue create milestone created response
func (*IssueCreateMilestoneCreated) Error ¶
func (o *IssueCreateMilestoneCreated) Error() string
func (*IssueCreateMilestoneCreated) GetPayload ¶
func (o *IssueCreateMilestoneCreated) GetPayload() *models.Milestone
func (*IssueCreateMilestoneCreated) IsClientError ¶
func (o *IssueCreateMilestoneCreated) IsClientError() bool
IsClientError returns true when this issue create milestone created response has a 4xx status code
func (*IssueCreateMilestoneCreated) IsCode ¶
func (o *IssueCreateMilestoneCreated) IsCode(code int) bool
IsCode returns true when this issue create milestone created response a status code equal to that given
func (*IssueCreateMilestoneCreated) IsRedirect ¶
func (o *IssueCreateMilestoneCreated) IsRedirect() bool
IsRedirect returns true when this issue create milestone created response has a 3xx status code
func (*IssueCreateMilestoneCreated) IsServerError ¶
func (o *IssueCreateMilestoneCreated) IsServerError() bool
IsServerError returns true when this issue create milestone created response has a 5xx status code
func (*IssueCreateMilestoneCreated) IsSuccess ¶
func (o *IssueCreateMilestoneCreated) IsSuccess() bool
IsSuccess returns true when this issue create milestone created response has a 2xx status code
func (*IssueCreateMilestoneCreated) String ¶
func (o *IssueCreateMilestoneCreated) String() string
type IssueCreateMilestoneNotFound ¶
type IssueCreateMilestoneNotFound struct { }
IssueCreateMilestoneNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueCreateMilestoneNotFound ¶
func NewIssueCreateMilestoneNotFound() *IssueCreateMilestoneNotFound
NewIssueCreateMilestoneNotFound creates a IssueCreateMilestoneNotFound with default headers values
func (*IssueCreateMilestoneNotFound) Code ¶
func (o *IssueCreateMilestoneNotFound) Code() int
Code gets the status code for the issue create milestone not found response
func (*IssueCreateMilestoneNotFound) Error ¶
func (o *IssueCreateMilestoneNotFound) Error() string
func (*IssueCreateMilestoneNotFound) IsClientError ¶
func (o *IssueCreateMilestoneNotFound) IsClientError() bool
IsClientError returns true when this issue create milestone not found response has a 4xx status code
func (*IssueCreateMilestoneNotFound) IsCode ¶
func (o *IssueCreateMilestoneNotFound) IsCode(code int) bool
IsCode returns true when this issue create milestone not found response a status code equal to that given
func (*IssueCreateMilestoneNotFound) IsRedirect ¶
func (o *IssueCreateMilestoneNotFound) IsRedirect() bool
IsRedirect returns true when this issue create milestone not found response has a 3xx status code
func (*IssueCreateMilestoneNotFound) IsServerError ¶
func (o *IssueCreateMilestoneNotFound) IsServerError() bool
IsServerError returns true when this issue create milestone not found response has a 5xx status code
func (*IssueCreateMilestoneNotFound) IsSuccess ¶
func (o *IssueCreateMilestoneNotFound) IsSuccess() bool
IsSuccess returns true when this issue create milestone not found response has a 2xx status code
func (*IssueCreateMilestoneNotFound) String ¶
func (o *IssueCreateMilestoneNotFound) String() string
type IssueCreateMilestoneParams ¶
type IssueCreateMilestoneParams struct { // Body. Body *models.CreateMilestoneOption /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueCreateMilestoneParams contains all the parameters to send to the API endpoint
for the issue create milestone operation. Typically these are written to a http.Request.
func NewIssueCreateMilestoneParams ¶
func NewIssueCreateMilestoneParams() *IssueCreateMilestoneParams
NewIssueCreateMilestoneParams creates a new IssueCreateMilestoneParams 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 NewIssueCreateMilestoneParamsWithContext ¶
func NewIssueCreateMilestoneParamsWithContext(ctx context.Context) *IssueCreateMilestoneParams
NewIssueCreateMilestoneParamsWithContext creates a new IssueCreateMilestoneParams object with the ability to set a context for a request.
func NewIssueCreateMilestoneParamsWithHTTPClient ¶
func NewIssueCreateMilestoneParamsWithHTTPClient(client *http.Client) *IssueCreateMilestoneParams
NewIssueCreateMilestoneParamsWithHTTPClient creates a new IssueCreateMilestoneParams object with the ability to set a custom HTTPClient for a request.
func NewIssueCreateMilestoneParamsWithTimeout ¶
func NewIssueCreateMilestoneParamsWithTimeout(timeout time.Duration) *IssueCreateMilestoneParams
NewIssueCreateMilestoneParamsWithTimeout creates a new IssueCreateMilestoneParams object with the ability to set a timeout on a request.
func (*IssueCreateMilestoneParams) SetBody ¶
func (o *IssueCreateMilestoneParams) SetBody(body *models.CreateMilestoneOption)
SetBody adds the body to the issue create milestone params
func (*IssueCreateMilestoneParams) SetContext ¶
func (o *IssueCreateMilestoneParams) SetContext(ctx context.Context)
SetContext adds the context to the issue create milestone params
func (*IssueCreateMilestoneParams) SetDefaults ¶
func (o *IssueCreateMilestoneParams) SetDefaults()
SetDefaults hydrates default values in the issue create milestone params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateMilestoneParams) SetHTTPClient ¶
func (o *IssueCreateMilestoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue create milestone params
func (*IssueCreateMilestoneParams) SetOwner ¶
func (o *IssueCreateMilestoneParams) SetOwner(owner string)
SetOwner adds the owner to the issue create milestone params
func (*IssueCreateMilestoneParams) SetRepo ¶
func (o *IssueCreateMilestoneParams) SetRepo(repo string)
SetRepo adds the repo to the issue create milestone params
func (*IssueCreateMilestoneParams) SetTimeout ¶
func (o *IssueCreateMilestoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue create milestone params
func (*IssueCreateMilestoneParams) WithBody ¶
func (o *IssueCreateMilestoneParams) WithBody(body *models.CreateMilestoneOption) *IssueCreateMilestoneParams
WithBody adds the body to the issue create milestone params
func (*IssueCreateMilestoneParams) WithContext ¶
func (o *IssueCreateMilestoneParams) WithContext(ctx context.Context) *IssueCreateMilestoneParams
WithContext adds the context to the issue create milestone params
func (*IssueCreateMilestoneParams) WithDefaults ¶
func (o *IssueCreateMilestoneParams) WithDefaults() *IssueCreateMilestoneParams
WithDefaults hydrates default values in the issue create milestone params (not the query body).
All values with no default are reset to their zero value.
func (*IssueCreateMilestoneParams) WithHTTPClient ¶
func (o *IssueCreateMilestoneParams) WithHTTPClient(client *http.Client) *IssueCreateMilestoneParams
WithHTTPClient adds the HTTPClient to the issue create milestone params
func (*IssueCreateMilestoneParams) WithOwner ¶
func (o *IssueCreateMilestoneParams) WithOwner(owner string) *IssueCreateMilestoneParams
WithOwner adds the owner to the issue create milestone params
func (*IssueCreateMilestoneParams) WithRepo ¶
func (o *IssueCreateMilestoneParams) WithRepo(repo string) *IssueCreateMilestoneParams
WithRepo adds the repo to the issue create milestone params
func (*IssueCreateMilestoneParams) WithTimeout ¶
func (o *IssueCreateMilestoneParams) WithTimeout(timeout time.Duration) *IssueCreateMilestoneParams
WithTimeout adds the timeout to the issue create milestone params
func (*IssueCreateMilestoneParams) WriteToRequest ¶
func (o *IssueCreateMilestoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueCreateMilestoneReader ¶
type IssueCreateMilestoneReader struct {
// contains filtered or unexported fields
}
IssueCreateMilestoneReader is a Reader for the IssueCreateMilestone structure.
func (*IssueCreateMilestoneReader) ReadResponse ¶
func (o *IssueCreateMilestoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteCommentDeprecatedForbidden ¶
IssueDeleteCommentDeprecatedForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueDeleteCommentDeprecatedForbidden ¶
func NewIssueDeleteCommentDeprecatedForbidden() *IssueDeleteCommentDeprecatedForbidden
NewIssueDeleteCommentDeprecatedForbidden creates a IssueDeleteCommentDeprecatedForbidden with default headers values
func (*IssueDeleteCommentDeprecatedForbidden) Code ¶
func (o *IssueDeleteCommentDeprecatedForbidden) Code() int
Code gets the status code for the issue delete comment deprecated forbidden response
func (*IssueDeleteCommentDeprecatedForbidden) Error ¶
func (o *IssueDeleteCommentDeprecatedForbidden) Error() string
func (*IssueDeleteCommentDeprecatedForbidden) IsClientError ¶
func (o *IssueDeleteCommentDeprecatedForbidden) IsClientError() bool
IsClientError returns true when this issue delete comment deprecated forbidden response has a 4xx status code
func (*IssueDeleteCommentDeprecatedForbidden) IsCode ¶
func (o *IssueDeleteCommentDeprecatedForbidden) IsCode(code int) bool
IsCode returns true when this issue delete comment deprecated forbidden response a status code equal to that given
func (*IssueDeleteCommentDeprecatedForbidden) IsRedirect ¶
func (o *IssueDeleteCommentDeprecatedForbidden) IsRedirect() bool
IsRedirect returns true when this issue delete comment deprecated forbidden response has a 3xx status code
func (*IssueDeleteCommentDeprecatedForbidden) IsServerError ¶
func (o *IssueDeleteCommentDeprecatedForbidden) IsServerError() bool
IsServerError returns true when this issue delete comment deprecated forbidden response has a 5xx status code
func (*IssueDeleteCommentDeprecatedForbidden) IsSuccess ¶
func (o *IssueDeleteCommentDeprecatedForbidden) IsSuccess() bool
IsSuccess returns true when this issue delete comment deprecated forbidden response has a 2xx status code
func (*IssueDeleteCommentDeprecatedForbidden) String ¶
func (o *IssueDeleteCommentDeprecatedForbidden) String() string
type IssueDeleteCommentDeprecatedNoContent ¶
type IssueDeleteCommentDeprecatedNoContent struct { }
IssueDeleteCommentDeprecatedNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteCommentDeprecatedNoContent ¶
func NewIssueDeleteCommentDeprecatedNoContent() *IssueDeleteCommentDeprecatedNoContent
NewIssueDeleteCommentDeprecatedNoContent creates a IssueDeleteCommentDeprecatedNoContent with default headers values
func (*IssueDeleteCommentDeprecatedNoContent) Code ¶
func (o *IssueDeleteCommentDeprecatedNoContent) Code() int
Code gets the status code for the issue delete comment deprecated no content response
func (*IssueDeleteCommentDeprecatedNoContent) Error ¶
func (o *IssueDeleteCommentDeprecatedNoContent) Error() string
func (*IssueDeleteCommentDeprecatedNoContent) IsClientError ¶
func (o *IssueDeleteCommentDeprecatedNoContent) IsClientError() bool
IsClientError returns true when this issue delete comment deprecated no content response has a 4xx status code
func (*IssueDeleteCommentDeprecatedNoContent) IsCode ¶
func (o *IssueDeleteCommentDeprecatedNoContent) IsCode(code int) bool
IsCode returns true when this issue delete comment deprecated no content response a status code equal to that given
func (*IssueDeleteCommentDeprecatedNoContent) IsRedirect ¶
func (o *IssueDeleteCommentDeprecatedNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete comment deprecated no content response has a 3xx status code
func (*IssueDeleteCommentDeprecatedNoContent) IsServerError ¶
func (o *IssueDeleteCommentDeprecatedNoContent) IsServerError() bool
IsServerError returns true when this issue delete comment deprecated no content response has a 5xx status code
func (*IssueDeleteCommentDeprecatedNoContent) IsSuccess ¶
func (o *IssueDeleteCommentDeprecatedNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete comment deprecated no content response has a 2xx status code
func (*IssueDeleteCommentDeprecatedNoContent) String ¶
func (o *IssueDeleteCommentDeprecatedNoContent) String() string
type IssueDeleteCommentDeprecatedNotFound ¶
type IssueDeleteCommentDeprecatedNotFound struct { }
IssueDeleteCommentDeprecatedNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteCommentDeprecatedNotFound ¶
func NewIssueDeleteCommentDeprecatedNotFound() *IssueDeleteCommentDeprecatedNotFound
NewIssueDeleteCommentDeprecatedNotFound creates a IssueDeleteCommentDeprecatedNotFound with default headers values
func (*IssueDeleteCommentDeprecatedNotFound) Code ¶
func (o *IssueDeleteCommentDeprecatedNotFound) Code() int
Code gets the status code for the issue delete comment deprecated not found response
func (*IssueDeleteCommentDeprecatedNotFound) Error ¶
func (o *IssueDeleteCommentDeprecatedNotFound) Error() string
func (*IssueDeleteCommentDeprecatedNotFound) IsClientError ¶
func (o *IssueDeleteCommentDeprecatedNotFound) IsClientError() bool
IsClientError returns true when this issue delete comment deprecated not found response has a 4xx status code
func (*IssueDeleteCommentDeprecatedNotFound) IsCode ¶
func (o *IssueDeleteCommentDeprecatedNotFound) IsCode(code int) bool
IsCode returns true when this issue delete comment deprecated not found response a status code equal to that given
func (*IssueDeleteCommentDeprecatedNotFound) IsRedirect ¶
func (o *IssueDeleteCommentDeprecatedNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete comment deprecated not found response has a 3xx status code
func (*IssueDeleteCommentDeprecatedNotFound) IsServerError ¶
func (o *IssueDeleteCommentDeprecatedNotFound) IsServerError() bool
IsServerError returns true when this issue delete comment deprecated not found response has a 5xx status code
func (*IssueDeleteCommentDeprecatedNotFound) IsSuccess ¶
func (o *IssueDeleteCommentDeprecatedNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete comment deprecated not found response has a 2xx status code
func (*IssueDeleteCommentDeprecatedNotFound) String ¶
func (o *IssueDeleteCommentDeprecatedNotFound) String() string
type IssueDeleteCommentDeprecatedParams ¶
type IssueDeleteCommentDeprecatedParams struct { /* ID. id of comment to delete Format: int64 */ ID int64 /* Index. this parameter is ignored */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteCommentDeprecatedParams contains all the parameters to send to the API endpoint
for the issue delete comment deprecated operation. Typically these are written to a http.Request.
func NewIssueDeleteCommentDeprecatedParams ¶
func NewIssueDeleteCommentDeprecatedParams() *IssueDeleteCommentDeprecatedParams
NewIssueDeleteCommentDeprecatedParams creates a new IssueDeleteCommentDeprecatedParams 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 NewIssueDeleteCommentDeprecatedParamsWithContext ¶
func NewIssueDeleteCommentDeprecatedParamsWithContext(ctx context.Context) *IssueDeleteCommentDeprecatedParams
NewIssueDeleteCommentDeprecatedParamsWithContext creates a new IssueDeleteCommentDeprecatedParams object with the ability to set a context for a request.
func NewIssueDeleteCommentDeprecatedParamsWithHTTPClient ¶
func NewIssueDeleteCommentDeprecatedParamsWithHTTPClient(client *http.Client) *IssueDeleteCommentDeprecatedParams
NewIssueDeleteCommentDeprecatedParamsWithHTTPClient creates a new IssueDeleteCommentDeprecatedParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteCommentDeprecatedParamsWithTimeout ¶
func NewIssueDeleteCommentDeprecatedParamsWithTimeout(timeout time.Duration) *IssueDeleteCommentDeprecatedParams
NewIssueDeleteCommentDeprecatedParamsWithTimeout creates a new IssueDeleteCommentDeprecatedParams object with the ability to set a timeout on a request.
func (*IssueDeleteCommentDeprecatedParams) SetContext ¶
func (o *IssueDeleteCommentDeprecatedParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) SetDefaults ¶
func (o *IssueDeleteCommentDeprecatedParams) SetDefaults()
SetDefaults hydrates default values in the issue delete comment deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteCommentDeprecatedParams) SetHTTPClient ¶
func (o *IssueDeleteCommentDeprecatedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) SetID ¶
func (o *IssueDeleteCommentDeprecatedParams) SetID(id int64)
SetID adds the id to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) SetIndex ¶
func (o *IssueDeleteCommentDeprecatedParams) SetIndex(index int64)
SetIndex adds the index to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) SetOwner ¶
func (o *IssueDeleteCommentDeprecatedParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) SetRepo ¶
func (o *IssueDeleteCommentDeprecatedParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) SetTimeout ¶
func (o *IssueDeleteCommentDeprecatedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) WithContext ¶
func (o *IssueDeleteCommentDeprecatedParams) WithContext(ctx context.Context) *IssueDeleteCommentDeprecatedParams
WithContext adds the context to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) WithDefaults ¶
func (o *IssueDeleteCommentDeprecatedParams) WithDefaults() *IssueDeleteCommentDeprecatedParams
WithDefaults hydrates default values in the issue delete comment deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteCommentDeprecatedParams) WithHTTPClient ¶
func (o *IssueDeleteCommentDeprecatedParams) WithHTTPClient(client *http.Client) *IssueDeleteCommentDeprecatedParams
WithHTTPClient adds the HTTPClient to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) WithID ¶
func (o *IssueDeleteCommentDeprecatedParams) WithID(id int64) *IssueDeleteCommentDeprecatedParams
WithID adds the id to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) WithIndex ¶
func (o *IssueDeleteCommentDeprecatedParams) WithIndex(index int64) *IssueDeleteCommentDeprecatedParams
WithIndex adds the index to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) WithOwner ¶
func (o *IssueDeleteCommentDeprecatedParams) WithOwner(owner string) *IssueDeleteCommentDeprecatedParams
WithOwner adds the owner to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) WithRepo ¶
func (o *IssueDeleteCommentDeprecatedParams) WithRepo(repo string) *IssueDeleteCommentDeprecatedParams
WithRepo adds the repo to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) WithTimeout ¶
func (o *IssueDeleteCommentDeprecatedParams) WithTimeout(timeout time.Duration) *IssueDeleteCommentDeprecatedParams
WithTimeout adds the timeout to the issue delete comment deprecated params
func (*IssueDeleteCommentDeprecatedParams) WriteToRequest ¶
func (o *IssueDeleteCommentDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteCommentDeprecatedReader ¶
type IssueDeleteCommentDeprecatedReader struct {
// contains filtered or unexported fields
}
IssueDeleteCommentDeprecatedReader is a Reader for the IssueDeleteCommentDeprecated structure.
func (*IssueDeleteCommentDeprecatedReader) ReadResponse ¶
func (o *IssueDeleteCommentDeprecatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteCommentForbidden ¶
IssueDeleteCommentForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueDeleteCommentForbidden ¶
func NewIssueDeleteCommentForbidden() *IssueDeleteCommentForbidden
NewIssueDeleteCommentForbidden creates a IssueDeleteCommentForbidden with default headers values
func (*IssueDeleteCommentForbidden) Code ¶
func (o *IssueDeleteCommentForbidden) Code() int
Code gets the status code for the issue delete comment forbidden response
func (*IssueDeleteCommentForbidden) Error ¶
func (o *IssueDeleteCommentForbidden) Error() string
func (*IssueDeleteCommentForbidden) IsClientError ¶
func (o *IssueDeleteCommentForbidden) IsClientError() bool
IsClientError returns true when this issue delete comment forbidden response has a 4xx status code
func (*IssueDeleteCommentForbidden) IsCode ¶
func (o *IssueDeleteCommentForbidden) IsCode(code int) bool
IsCode returns true when this issue delete comment forbidden response a status code equal to that given
func (*IssueDeleteCommentForbidden) IsRedirect ¶
func (o *IssueDeleteCommentForbidden) IsRedirect() bool
IsRedirect returns true when this issue delete comment forbidden response has a 3xx status code
func (*IssueDeleteCommentForbidden) IsServerError ¶
func (o *IssueDeleteCommentForbidden) IsServerError() bool
IsServerError returns true when this issue delete comment forbidden response has a 5xx status code
func (*IssueDeleteCommentForbidden) IsSuccess ¶
func (o *IssueDeleteCommentForbidden) IsSuccess() bool
IsSuccess returns true when this issue delete comment forbidden response has a 2xx status code
func (*IssueDeleteCommentForbidden) String ¶
func (o *IssueDeleteCommentForbidden) String() string
type IssueDeleteCommentNoContent ¶
type IssueDeleteCommentNoContent struct { }
IssueDeleteCommentNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteCommentNoContent ¶
func NewIssueDeleteCommentNoContent() *IssueDeleteCommentNoContent
NewIssueDeleteCommentNoContent creates a IssueDeleteCommentNoContent with default headers values
func (*IssueDeleteCommentNoContent) Code ¶
func (o *IssueDeleteCommentNoContent) Code() int
Code gets the status code for the issue delete comment no content response
func (*IssueDeleteCommentNoContent) Error ¶
func (o *IssueDeleteCommentNoContent) Error() string
func (*IssueDeleteCommentNoContent) IsClientError ¶
func (o *IssueDeleteCommentNoContent) IsClientError() bool
IsClientError returns true when this issue delete comment no content response has a 4xx status code
func (*IssueDeleteCommentNoContent) IsCode ¶
func (o *IssueDeleteCommentNoContent) IsCode(code int) bool
IsCode returns true when this issue delete comment no content response a status code equal to that given
func (*IssueDeleteCommentNoContent) IsRedirect ¶
func (o *IssueDeleteCommentNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete comment no content response has a 3xx status code
func (*IssueDeleteCommentNoContent) IsServerError ¶
func (o *IssueDeleteCommentNoContent) IsServerError() bool
IsServerError returns true when this issue delete comment no content response has a 5xx status code
func (*IssueDeleteCommentNoContent) IsSuccess ¶
func (o *IssueDeleteCommentNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete comment no content response has a 2xx status code
func (*IssueDeleteCommentNoContent) String ¶
func (o *IssueDeleteCommentNoContent) String() string
type IssueDeleteCommentNotFound ¶
type IssueDeleteCommentNotFound struct { }
IssueDeleteCommentNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteCommentNotFound ¶
func NewIssueDeleteCommentNotFound() *IssueDeleteCommentNotFound
NewIssueDeleteCommentNotFound creates a IssueDeleteCommentNotFound with default headers values
func (*IssueDeleteCommentNotFound) Code ¶
func (o *IssueDeleteCommentNotFound) Code() int
Code gets the status code for the issue delete comment not found response
func (*IssueDeleteCommentNotFound) Error ¶
func (o *IssueDeleteCommentNotFound) Error() string
func (*IssueDeleteCommentNotFound) IsClientError ¶
func (o *IssueDeleteCommentNotFound) IsClientError() bool
IsClientError returns true when this issue delete comment not found response has a 4xx status code
func (*IssueDeleteCommentNotFound) IsCode ¶
func (o *IssueDeleteCommentNotFound) IsCode(code int) bool
IsCode returns true when this issue delete comment not found response a status code equal to that given
func (*IssueDeleteCommentNotFound) IsRedirect ¶
func (o *IssueDeleteCommentNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete comment not found response has a 3xx status code
func (*IssueDeleteCommentNotFound) IsServerError ¶
func (o *IssueDeleteCommentNotFound) IsServerError() bool
IsServerError returns true when this issue delete comment not found response has a 5xx status code
func (*IssueDeleteCommentNotFound) IsSuccess ¶
func (o *IssueDeleteCommentNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete comment not found response has a 2xx status code
func (*IssueDeleteCommentNotFound) String ¶
func (o *IssueDeleteCommentNotFound) String() string
type IssueDeleteCommentParams ¶
type IssueDeleteCommentParams struct { /* ID. id of comment to delete Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteCommentParams contains all the parameters to send to the API endpoint
for the issue delete comment operation. Typically these are written to a http.Request.
func NewIssueDeleteCommentParams ¶
func NewIssueDeleteCommentParams() *IssueDeleteCommentParams
NewIssueDeleteCommentParams creates a new IssueDeleteCommentParams 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 NewIssueDeleteCommentParamsWithContext ¶
func NewIssueDeleteCommentParamsWithContext(ctx context.Context) *IssueDeleteCommentParams
NewIssueDeleteCommentParamsWithContext creates a new IssueDeleteCommentParams object with the ability to set a context for a request.
func NewIssueDeleteCommentParamsWithHTTPClient ¶
func NewIssueDeleteCommentParamsWithHTTPClient(client *http.Client) *IssueDeleteCommentParams
NewIssueDeleteCommentParamsWithHTTPClient creates a new IssueDeleteCommentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteCommentParamsWithTimeout ¶
func NewIssueDeleteCommentParamsWithTimeout(timeout time.Duration) *IssueDeleteCommentParams
NewIssueDeleteCommentParamsWithTimeout creates a new IssueDeleteCommentParams object with the ability to set a timeout on a request.
func (*IssueDeleteCommentParams) SetContext ¶
func (o *IssueDeleteCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete comment params
func (*IssueDeleteCommentParams) SetDefaults ¶
func (o *IssueDeleteCommentParams) SetDefaults()
SetDefaults hydrates default values in the issue delete comment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteCommentParams) SetHTTPClient ¶
func (o *IssueDeleteCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete comment params
func (*IssueDeleteCommentParams) SetID ¶
func (o *IssueDeleteCommentParams) SetID(id int64)
SetID adds the id to the issue delete comment params
func (*IssueDeleteCommentParams) SetOwner ¶
func (o *IssueDeleteCommentParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete comment params
func (*IssueDeleteCommentParams) SetRepo ¶
func (o *IssueDeleteCommentParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete comment params
func (*IssueDeleteCommentParams) SetTimeout ¶
func (o *IssueDeleteCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete comment params
func (*IssueDeleteCommentParams) WithContext ¶
func (o *IssueDeleteCommentParams) WithContext(ctx context.Context) *IssueDeleteCommentParams
WithContext adds the context to the issue delete comment params
func (*IssueDeleteCommentParams) WithDefaults ¶
func (o *IssueDeleteCommentParams) WithDefaults() *IssueDeleteCommentParams
WithDefaults hydrates default values in the issue delete comment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteCommentParams) WithHTTPClient ¶
func (o *IssueDeleteCommentParams) WithHTTPClient(client *http.Client) *IssueDeleteCommentParams
WithHTTPClient adds the HTTPClient to the issue delete comment params
func (*IssueDeleteCommentParams) WithID ¶
func (o *IssueDeleteCommentParams) WithID(id int64) *IssueDeleteCommentParams
WithID adds the id to the issue delete comment params
func (*IssueDeleteCommentParams) WithOwner ¶
func (o *IssueDeleteCommentParams) WithOwner(owner string) *IssueDeleteCommentParams
WithOwner adds the owner to the issue delete comment params
func (*IssueDeleteCommentParams) WithRepo ¶
func (o *IssueDeleteCommentParams) WithRepo(repo string) *IssueDeleteCommentParams
WithRepo adds the repo to the issue delete comment params
func (*IssueDeleteCommentParams) WithTimeout ¶
func (o *IssueDeleteCommentParams) WithTimeout(timeout time.Duration) *IssueDeleteCommentParams
WithTimeout adds the timeout to the issue delete comment params
func (*IssueDeleteCommentParams) WriteToRequest ¶
func (o *IssueDeleteCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteCommentReactionForbidden ¶
IssueDeleteCommentReactionForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueDeleteCommentReactionForbidden ¶
func NewIssueDeleteCommentReactionForbidden() *IssueDeleteCommentReactionForbidden
NewIssueDeleteCommentReactionForbidden creates a IssueDeleteCommentReactionForbidden with default headers values
func (*IssueDeleteCommentReactionForbidden) Code ¶
func (o *IssueDeleteCommentReactionForbidden) Code() int
Code gets the status code for the issue delete comment reaction forbidden response
func (*IssueDeleteCommentReactionForbidden) Error ¶
func (o *IssueDeleteCommentReactionForbidden) Error() string
func (*IssueDeleteCommentReactionForbidden) IsClientError ¶
func (o *IssueDeleteCommentReactionForbidden) IsClientError() bool
IsClientError returns true when this issue delete comment reaction forbidden response has a 4xx status code
func (*IssueDeleteCommentReactionForbidden) IsCode ¶
func (o *IssueDeleteCommentReactionForbidden) IsCode(code int) bool
IsCode returns true when this issue delete comment reaction forbidden response a status code equal to that given
func (*IssueDeleteCommentReactionForbidden) IsRedirect ¶
func (o *IssueDeleteCommentReactionForbidden) IsRedirect() bool
IsRedirect returns true when this issue delete comment reaction forbidden response has a 3xx status code
func (*IssueDeleteCommentReactionForbidden) IsServerError ¶
func (o *IssueDeleteCommentReactionForbidden) IsServerError() bool
IsServerError returns true when this issue delete comment reaction forbidden response has a 5xx status code
func (*IssueDeleteCommentReactionForbidden) IsSuccess ¶
func (o *IssueDeleteCommentReactionForbidden) IsSuccess() bool
IsSuccess returns true when this issue delete comment reaction forbidden response has a 2xx status code
func (*IssueDeleteCommentReactionForbidden) String ¶
func (o *IssueDeleteCommentReactionForbidden) String() string
type IssueDeleteCommentReactionNotFound ¶
type IssueDeleteCommentReactionNotFound struct { }
IssueDeleteCommentReactionNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteCommentReactionNotFound ¶
func NewIssueDeleteCommentReactionNotFound() *IssueDeleteCommentReactionNotFound
NewIssueDeleteCommentReactionNotFound creates a IssueDeleteCommentReactionNotFound with default headers values
func (*IssueDeleteCommentReactionNotFound) Code ¶
func (o *IssueDeleteCommentReactionNotFound) Code() int
Code gets the status code for the issue delete comment reaction not found response
func (*IssueDeleteCommentReactionNotFound) Error ¶
func (o *IssueDeleteCommentReactionNotFound) Error() string
func (*IssueDeleteCommentReactionNotFound) IsClientError ¶
func (o *IssueDeleteCommentReactionNotFound) IsClientError() bool
IsClientError returns true when this issue delete comment reaction not found response has a 4xx status code
func (*IssueDeleteCommentReactionNotFound) IsCode ¶
func (o *IssueDeleteCommentReactionNotFound) IsCode(code int) bool
IsCode returns true when this issue delete comment reaction not found response a status code equal to that given
func (*IssueDeleteCommentReactionNotFound) IsRedirect ¶
func (o *IssueDeleteCommentReactionNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete comment reaction not found response has a 3xx status code
func (*IssueDeleteCommentReactionNotFound) IsServerError ¶
func (o *IssueDeleteCommentReactionNotFound) IsServerError() bool
IsServerError returns true when this issue delete comment reaction not found response has a 5xx status code
func (*IssueDeleteCommentReactionNotFound) IsSuccess ¶
func (o *IssueDeleteCommentReactionNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete comment reaction not found response has a 2xx status code
func (*IssueDeleteCommentReactionNotFound) String ¶
func (o *IssueDeleteCommentReactionNotFound) String() string
type IssueDeleteCommentReactionOK ¶
type IssueDeleteCommentReactionOK struct { }
IssueDeleteCommentReactionOK describes a response with status code 200, with default header values.
APIEmpty is an empty response
func NewIssueDeleteCommentReactionOK ¶
func NewIssueDeleteCommentReactionOK() *IssueDeleteCommentReactionOK
NewIssueDeleteCommentReactionOK creates a IssueDeleteCommentReactionOK with default headers values
func (*IssueDeleteCommentReactionOK) Code ¶
func (o *IssueDeleteCommentReactionOK) Code() int
Code gets the status code for the issue delete comment reaction o k response
func (*IssueDeleteCommentReactionOK) Error ¶
func (o *IssueDeleteCommentReactionOK) Error() string
func (*IssueDeleteCommentReactionOK) IsClientError ¶
func (o *IssueDeleteCommentReactionOK) IsClientError() bool
IsClientError returns true when this issue delete comment reaction o k response has a 4xx status code
func (*IssueDeleteCommentReactionOK) IsCode ¶
func (o *IssueDeleteCommentReactionOK) IsCode(code int) bool
IsCode returns true when this issue delete comment reaction o k response a status code equal to that given
func (*IssueDeleteCommentReactionOK) IsRedirect ¶
func (o *IssueDeleteCommentReactionOK) IsRedirect() bool
IsRedirect returns true when this issue delete comment reaction o k response has a 3xx status code
func (*IssueDeleteCommentReactionOK) IsServerError ¶
func (o *IssueDeleteCommentReactionOK) IsServerError() bool
IsServerError returns true when this issue delete comment reaction o k response has a 5xx status code
func (*IssueDeleteCommentReactionOK) IsSuccess ¶
func (o *IssueDeleteCommentReactionOK) IsSuccess() bool
IsSuccess returns true when this issue delete comment reaction o k response has a 2xx status code
func (*IssueDeleteCommentReactionOK) String ¶
func (o *IssueDeleteCommentReactionOK) String() string
type IssueDeleteCommentReactionParams ¶
type IssueDeleteCommentReactionParams struct { // Content. Content *models.EditReactionOption /* ID. id of the comment to edit Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteCommentReactionParams contains all the parameters to send to the API endpoint
for the issue delete comment reaction operation. Typically these are written to a http.Request.
func NewIssueDeleteCommentReactionParams ¶
func NewIssueDeleteCommentReactionParams() *IssueDeleteCommentReactionParams
NewIssueDeleteCommentReactionParams creates a new IssueDeleteCommentReactionParams 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 NewIssueDeleteCommentReactionParamsWithContext ¶
func NewIssueDeleteCommentReactionParamsWithContext(ctx context.Context) *IssueDeleteCommentReactionParams
NewIssueDeleteCommentReactionParamsWithContext creates a new IssueDeleteCommentReactionParams object with the ability to set a context for a request.
func NewIssueDeleteCommentReactionParamsWithHTTPClient ¶
func NewIssueDeleteCommentReactionParamsWithHTTPClient(client *http.Client) *IssueDeleteCommentReactionParams
NewIssueDeleteCommentReactionParamsWithHTTPClient creates a new IssueDeleteCommentReactionParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteCommentReactionParamsWithTimeout ¶
func NewIssueDeleteCommentReactionParamsWithTimeout(timeout time.Duration) *IssueDeleteCommentReactionParams
NewIssueDeleteCommentReactionParamsWithTimeout creates a new IssueDeleteCommentReactionParams object with the ability to set a timeout on a request.
func (*IssueDeleteCommentReactionParams) SetContent ¶
func (o *IssueDeleteCommentReactionParams) SetContent(content *models.EditReactionOption)
SetContent adds the content to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) SetContext ¶
func (o *IssueDeleteCommentReactionParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) SetDefaults ¶
func (o *IssueDeleteCommentReactionParams) SetDefaults()
SetDefaults hydrates default values in the issue delete comment reaction params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteCommentReactionParams) SetHTTPClient ¶
func (o *IssueDeleteCommentReactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) SetID ¶
func (o *IssueDeleteCommentReactionParams) SetID(id int64)
SetID adds the id to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) SetOwner ¶
func (o *IssueDeleteCommentReactionParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) SetRepo ¶
func (o *IssueDeleteCommentReactionParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) SetTimeout ¶
func (o *IssueDeleteCommentReactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) WithContent ¶
func (o *IssueDeleteCommentReactionParams) WithContent(content *models.EditReactionOption) *IssueDeleteCommentReactionParams
WithContent adds the content to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) WithContext ¶
func (o *IssueDeleteCommentReactionParams) WithContext(ctx context.Context) *IssueDeleteCommentReactionParams
WithContext adds the context to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) WithDefaults ¶
func (o *IssueDeleteCommentReactionParams) WithDefaults() *IssueDeleteCommentReactionParams
WithDefaults hydrates default values in the issue delete comment reaction params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteCommentReactionParams) WithHTTPClient ¶
func (o *IssueDeleteCommentReactionParams) WithHTTPClient(client *http.Client) *IssueDeleteCommentReactionParams
WithHTTPClient adds the HTTPClient to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) WithID ¶
func (o *IssueDeleteCommentReactionParams) WithID(id int64) *IssueDeleteCommentReactionParams
WithID adds the id to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) WithOwner ¶
func (o *IssueDeleteCommentReactionParams) WithOwner(owner string) *IssueDeleteCommentReactionParams
WithOwner adds the owner to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) WithRepo ¶
func (o *IssueDeleteCommentReactionParams) WithRepo(repo string) *IssueDeleteCommentReactionParams
WithRepo adds the repo to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) WithTimeout ¶
func (o *IssueDeleteCommentReactionParams) WithTimeout(timeout time.Duration) *IssueDeleteCommentReactionParams
WithTimeout adds the timeout to the issue delete comment reaction params
func (*IssueDeleteCommentReactionParams) WriteToRequest ¶
func (o *IssueDeleteCommentReactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteCommentReactionReader ¶
type IssueDeleteCommentReactionReader struct {
// contains filtered or unexported fields
}
IssueDeleteCommentReactionReader is a Reader for the IssueDeleteCommentReaction structure.
func (*IssueDeleteCommentReactionReader) ReadResponse ¶
func (o *IssueDeleteCommentReactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteCommentReader ¶
type IssueDeleteCommentReader struct {
// contains filtered or unexported fields
}
IssueDeleteCommentReader is a Reader for the IssueDeleteComment structure.
func (*IssueDeleteCommentReader) ReadResponse ¶
func (o *IssueDeleteCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteForbidden ¶
IssueDeleteForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueDeleteForbidden ¶
func NewIssueDeleteForbidden() *IssueDeleteForbidden
NewIssueDeleteForbidden creates a IssueDeleteForbidden with default headers values
func (*IssueDeleteForbidden) Code ¶
func (o *IssueDeleteForbidden) Code() int
Code gets the status code for the issue delete forbidden response
func (*IssueDeleteForbidden) Error ¶
func (o *IssueDeleteForbidden) Error() string
func (*IssueDeleteForbidden) IsClientError ¶
func (o *IssueDeleteForbidden) IsClientError() bool
IsClientError returns true when this issue delete forbidden response has a 4xx status code
func (*IssueDeleteForbidden) IsCode ¶
func (o *IssueDeleteForbidden) IsCode(code int) bool
IsCode returns true when this issue delete forbidden response a status code equal to that given
func (*IssueDeleteForbidden) IsRedirect ¶
func (o *IssueDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this issue delete forbidden response has a 3xx status code
func (*IssueDeleteForbidden) IsServerError ¶
func (o *IssueDeleteForbidden) IsServerError() bool
IsServerError returns true when this issue delete forbidden response has a 5xx status code
func (*IssueDeleteForbidden) IsSuccess ¶
func (o *IssueDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this issue delete forbidden response has a 2xx status code
func (*IssueDeleteForbidden) String ¶
func (o *IssueDeleteForbidden) String() string
type IssueDeleteIssueAttachmentLocked ¶
IssueDeleteIssueAttachmentLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueDeleteIssueAttachmentLocked ¶
func NewIssueDeleteIssueAttachmentLocked() *IssueDeleteIssueAttachmentLocked
NewIssueDeleteIssueAttachmentLocked creates a IssueDeleteIssueAttachmentLocked with default headers values
func (*IssueDeleteIssueAttachmentLocked) Code ¶
func (o *IssueDeleteIssueAttachmentLocked) Code() int
Code gets the status code for the issue delete issue attachment locked response
func (*IssueDeleteIssueAttachmentLocked) Error ¶
func (o *IssueDeleteIssueAttachmentLocked) Error() string
func (*IssueDeleteIssueAttachmentLocked) IsClientError ¶
func (o *IssueDeleteIssueAttachmentLocked) IsClientError() bool
IsClientError returns true when this issue delete issue attachment locked response has a 4xx status code
func (*IssueDeleteIssueAttachmentLocked) IsCode ¶
func (o *IssueDeleteIssueAttachmentLocked) IsCode(code int) bool
IsCode returns true when this issue delete issue attachment locked response a status code equal to that given
func (*IssueDeleteIssueAttachmentLocked) IsRedirect ¶
func (o *IssueDeleteIssueAttachmentLocked) IsRedirect() bool
IsRedirect returns true when this issue delete issue attachment locked response has a 3xx status code
func (*IssueDeleteIssueAttachmentLocked) IsServerError ¶
func (o *IssueDeleteIssueAttachmentLocked) IsServerError() bool
IsServerError returns true when this issue delete issue attachment locked response has a 5xx status code
func (*IssueDeleteIssueAttachmentLocked) IsSuccess ¶
func (o *IssueDeleteIssueAttachmentLocked) IsSuccess() bool
IsSuccess returns true when this issue delete issue attachment locked response has a 2xx status code
func (*IssueDeleteIssueAttachmentLocked) String ¶
func (o *IssueDeleteIssueAttachmentLocked) String() string
type IssueDeleteIssueAttachmentNoContent ¶
type IssueDeleteIssueAttachmentNoContent struct { }
IssueDeleteIssueAttachmentNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteIssueAttachmentNoContent ¶
func NewIssueDeleteIssueAttachmentNoContent() *IssueDeleteIssueAttachmentNoContent
NewIssueDeleteIssueAttachmentNoContent creates a IssueDeleteIssueAttachmentNoContent with default headers values
func (*IssueDeleteIssueAttachmentNoContent) Code ¶
func (o *IssueDeleteIssueAttachmentNoContent) Code() int
Code gets the status code for the issue delete issue attachment no content response
func (*IssueDeleteIssueAttachmentNoContent) Error ¶
func (o *IssueDeleteIssueAttachmentNoContent) Error() string
func (*IssueDeleteIssueAttachmentNoContent) IsClientError ¶
func (o *IssueDeleteIssueAttachmentNoContent) IsClientError() bool
IsClientError returns true when this issue delete issue attachment no content response has a 4xx status code
func (*IssueDeleteIssueAttachmentNoContent) IsCode ¶
func (o *IssueDeleteIssueAttachmentNoContent) IsCode(code int) bool
IsCode returns true when this issue delete issue attachment no content response a status code equal to that given
func (*IssueDeleteIssueAttachmentNoContent) IsRedirect ¶
func (o *IssueDeleteIssueAttachmentNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete issue attachment no content response has a 3xx status code
func (*IssueDeleteIssueAttachmentNoContent) IsServerError ¶
func (o *IssueDeleteIssueAttachmentNoContent) IsServerError() bool
IsServerError returns true when this issue delete issue attachment no content response has a 5xx status code
func (*IssueDeleteIssueAttachmentNoContent) IsSuccess ¶
func (o *IssueDeleteIssueAttachmentNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete issue attachment no content response has a 2xx status code
func (*IssueDeleteIssueAttachmentNoContent) String ¶
func (o *IssueDeleteIssueAttachmentNoContent) String() string
type IssueDeleteIssueAttachmentNotFound ¶
IssueDeleteIssueAttachmentNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueDeleteIssueAttachmentNotFound ¶
func NewIssueDeleteIssueAttachmentNotFound() *IssueDeleteIssueAttachmentNotFound
NewIssueDeleteIssueAttachmentNotFound creates a IssueDeleteIssueAttachmentNotFound with default headers values
func (*IssueDeleteIssueAttachmentNotFound) Code ¶
func (o *IssueDeleteIssueAttachmentNotFound) Code() int
Code gets the status code for the issue delete issue attachment not found response
func (*IssueDeleteIssueAttachmentNotFound) Error ¶
func (o *IssueDeleteIssueAttachmentNotFound) Error() string
func (*IssueDeleteIssueAttachmentNotFound) IsClientError ¶
func (o *IssueDeleteIssueAttachmentNotFound) IsClientError() bool
IsClientError returns true when this issue delete issue attachment not found response has a 4xx status code
func (*IssueDeleteIssueAttachmentNotFound) IsCode ¶
func (o *IssueDeleteIssueAttachmentNotFound) IsCode(code int) bool
IsCode returns true when this issue delete issue attachment not found response a status code equal to that given
func (*IssueDeleteIssueAttachmentNotFound) IsRedirect ¶
func (o *IssueDeleteIssueAttachmentNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete issue attachment not found response has a 3xx status code
func (*IssueDeleteIssueAttachmentNotFound) IsServerError ¶
func (o *IssueDeleteIssueAttachmentNotFound) IsServerError() bool
IsServerError returns true when this issue delete issue attachment not found response has a 5xx status code
func (*IssueDeleteIssueAttachmentNotFound) IsSuccess ¶
func (o *IssueDeleteIssueAttachmentNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete issue attachment not found response has a 2xx status code
func (*IssueDeleteIssueAttachmentNotFound) String ¶
func (o *IssueDeleteIssueAttachmentNotFound) String() string
type IssueDeleteIssueAttachmentParams ¶
type IssueDeleteIssueAttachmentParams struct { /* AttachmentID. id of the attachment to delete Format: int64 */ AttachmentID int64 /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteIssueAttachmentParams contains all the parameters to send to the API endpoint
for the issue delete issue attachment operation. Typically these are written to a http.Request.
func NewIssueDeleteIssueAttachmentParams ¶
func NewIssueDeleteIssueAttachmentParams() *IssueDeleteIssueAttachmentParams
NewIssueDeleteIssueAttachmentParams creates a new IssueDeleteIssueAttachmentParams 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 NewIssueDeleteIssueAttachmentParamsWithContext ¶
func NewIssueDeleteIssueAttachmentParamsWithContext(ctx context.Context) *IssueDeleteIssueAttachmentParams
NewIssueDeleteIssueAttachmentParamsWithContext creates a new IssueDeleteIssueAttachmentParams object with the ability to set a context for a request.
func NewIssueDeleteIssueAttachmentParamsWithHTTPClient ¶
func NewIssueDeleteIssueAttachmentParamsWithHTTPClient(client *http.Client) *IssueDeleteIssueAttachmentParams
NewIssueDeleteIssueAttachmentParamsWithHTTPClient creates a new IssueDeleteIssueAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteIssueAttachmentParamsWithTimeout ¶
func NewIssueDeleteIssueAttachmentParamsWithTimeout(timeout time.Duration) *IssueDeleteIssueAttachmentParams
NewIssueDeleteIssueAttachmentParamsWithTimeout creates a new IssueDeleteIssueAttachmentParams object with the ability to set a timeout on a request.
func (*IssueDeleteIssueAttachmentParams) SetAttachmentID ¶
func (o *IssueDeleteIssueAttachmentParams) SetAttachmentID(attachmentID int64)
SetAttachmentID adds the attachmentId to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) SetContext ¶
func (o *IssueDeleteIssueAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) SetDefaults ¶
func (o *IssueDeleteIssueAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the issue delete issue attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteIssueAttachmentParams) SetHTTPClient ¶
func (o *IssueDeleteIssueAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) SetIndex ¶
func (o *IssueDeleteIssueAttachmentParams) SetIndex(index int64)
SetIndex adds the index to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) SetOwner ¶
func (o *IssueDeleteIssueAttachmentParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) SetRepo ¶
func (o *IssueDeleteIssueAttachmentParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) SetTimeout ¶
func (o *IssueDeleteIssueAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) WithAttachmentID ¶
func (o *IssueDeleteIssueAttachmentParams) WithAttachmentID(attachmentID int64) *IssueDeleteIssueAttachmentParams
WithAttachmentID adds the attachmentID to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) WithContext ¶
func (o *IssueDeleteIssueAttachmentParams) WithContext(ctx context.Context) *IssueDeleteIssueAttachmentParams
WithContext adds the context to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) WithDefaults ¶
func (o *IssueDeleteIssueAttachmentParams) WithDefaults() *IssueDeleteIssueAttachmentParams
WithDefaults hydrates default values in the issue delete issue attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteIssueAttachmentParams) WithHTTPClient ¶
func (o *IssueDeleteIssueAttachmentParams) WithHTTPClient(client *http.Client) *IssueDeleteIssueAttachmentParams
WithHTTPClient adds the HTTPClient to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) WithIndex ¶
func (o *IssueDeleteIssueAttachmentParams) WithIndex(index int64) *IssueDeleteIssueAttachmentParams
WithIndex adds the index to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) WithOwner ¶
func (o *IssueDeleteIssueAttachmentParams) WithOwner(owner string) *IssueDeleteIssueAttachmentParams
WithOwner adds the owner to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) WithRepo ¶
func (o *IssueDeleteIssueAttachmentParams) WithRepo(repo string) *IssueDeleteIssueAttachmentParams
WithRepo adds the repo to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) WithTimeout ¶
func (o *IssueDeleteIssueAttachmentParams) WithTimeout(timeout time.Duration) *IssueDeleteIssueAttachmentParams
WithTimeout adds the timeout to the issue delete issue attachment params
func (*IssueDeleteIssueAttachmentParams) WriteToRequest ¶
func (o *IssueDeleteIssueAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteIssueAttachmentReader ¶
type IssueDeleteIssueAttachmentReader struct {
// contains filtered or unexported fields
}
IssueDeleteIssueAttachmentReader is a Reader for the IssueDeleteIssueAttachment structure.
func (*IssueDeleteIssueAttachmentReader) ReadResponse ¶
func (o *IssueDeleteIssueAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteIssueCommentAttachmentLocked ¶
IssueDeleteIssueCommentAttachmentLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueDeleteIssueCommentAttachmentLocked ¶
func NewIssueDeleteIssueCommentAttachmentLocked() *IssueDeleteIssueCommentAttachmentLocked
NewIssueDeleteIssueCommentAttachmentLocked creates a IssueDeleteIssueCommentAttachmentLocked with default headers values
func (*IssueDeleteIssueCommentAttachmentLocked) Code ¶
func (o *IssueDeleteIssueCommentAttachmentLocked) Code() int
Code gets the status code for the issue delete issue comment attachment locked response
func (*IssueDeleteIssueCommentAttachmentLocked) Error ¶
func (o *IssueDeleteIssueCommentAttachmentLocked) Error() string
func (*IssueDeleteIssueCommentAttachmentLocked) IsClientError ¶
func (o *IssueDeleteIssueCommentAttachmentLocked) IsClientError() bool
IsClientError returns true when this issue delete issue comment attachment locked response has a 4xx status code
func (*IssueDeleteIssueCommentAttachmentLocked) IsCode ¶
func (o *IssueDeleteIssueCommentAttachmentLocked) IsCode(code int) bool
IsCode returns true when this issue delete issue comment attachment locked response a status code equal to that given
func (*IssueDeleteIssueCommentAttachmentLocked) IsRedirect ¶
func (o *IssueDeleteIssueCommentAttachmentLocked) IsRedirect() bool
IsRedirect returns true when this issue delete issue comment attachment locked response has a 3xx status code
func (*IssueDeleteIssueCommentAttachmentLocked) IsServerError ¶
func (o *IssueDeleteIssueCommentAttachmentLocked) IsServerError() bool
IsServerError returns true when this issue delete issue comment attachment locked response has a 5xx status code
func (*IssueDeleteIssueCommentAttachmentLocked) IsSuccess ¶
func (o *IssueDeleteIssueCommentAttachmentLocked) IsSuccess() bool
IsSuccess returns true when this issue delete issue comment attachment locked response has a 2xx status code
func (*IssueDeleteIssueCommentAttachmentLocked) String ¶
func (o *IssueDeleteIssueCommentAttachmentLocked) String() string
type IssueDeleteIssueCommentAttachmentNoContent ¶
type IssueDeleteIssueCommentAttachmentNoContent struct { }
IssueDeleteIssueCommentAttachmentNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteIssueCommentAttachmentNoContent ¶
func NewIssueDeleteIssueCommentAttachmentNoContent() *IssueDeleteIssueCommentAttachmentNoContent
NewIssueDeleteIssueCommentAttachmentNoContent creates a IssueDeleteIssueCommentAttachmentNoContent with default headers values
func (*IssueDeleteIssueCommentAttachmentNoContent) Code ¶
func (o *IssueDeleteIssueCommentAttachmentNoContent) Code() int
Code gets the status code for the issue delete issue comment attachment no content response
func (*IssueDeleteIssueCommentAttachmentNoContent) Error ¶
func (o *IssueDeleteIssueCommentAttachmentNoContent) Error() string
func (*IssueDeleteIssueCommentAttachmentNoContent) IsClientError ¶
func (o *IssueDeleteIssueCommentAttachmentNoContent) IsClientError() bool
IsClientError returns true when this issue delete issue comment attachment no content response has a 4xx status code
func (*IssueDeleteIssueCommentAttachmentNoContent) IsCode ¶
func (o *IssueDeleteIssueCommentAttachmentNoContent) IsCode(code int) bool
IsCode returns true when this issue delete issue comment attachment no content response a status code equal to that given
func (*IssueDeleteIssueCommentAttachmentNoContent) IsRedirect ¶
func (o *IssueDeleteIssueCommentAttachmentNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete issue comment attachment no content response has a 3xx status code
func (*IssueDeleteIssueCommentAttachmentNoContent) IsServerError ¶
func (o *IssueDeleteIssueCommentAttachmentNoContent) IsServerError() bool
IsServerError returns true when this issue delete issue comment attachment no content response has a 5xx status code
func (*IssueDeleteIssueCommentAttachmentNoContent) IsSuccess ¶
func (o *IssueDeleteIssueCommentAttachmentNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete issue comment attachment no content response has a 2xx status code
func (*IssueDeleteIssueCommentAttachmentNoContent) String ¶
func (o *IssueDeleteIssueCommentAttachmentNoContent) String() string
type IssueDeleteIssueCommentAttachmentNotFound ¶
IssueDeleteIssueCommentAttachmentNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueDeleteIssueCommentAttachmentNotFound ¶
func NewIssueDeleteIssueCommentAttachmentNotFound() *IssueDeleteIssueCommentAttachmentNotFound
NewIssueDeleteIssueCommentAttachmentNotFound creates a IssueDeleteIssueCommentAttachmentNotFound with default headers values
func (*IssueDeleteIssueCommentAttachmentNotFound) Code ¶
func (o *IssueDeleteIssueCommentAttachmentNotFound) Code() int
Code gets the status code for the issue delete issue comment attachment not found response
func (*IssueDeleteIssueCommentAttachmentNotFound) Error ¶
func (o *IssueDeleteIssueCommentAttachmentNotFound) Error() string
func (*IssueDeleteIssueCommentAttachmentNotFound) IsClientError ¶
func (o *IssueDeleteIssueCommentAttachmentNotFound) IsClientError() bool
IsClientError returns true when this issue delete issue comment attachment not found response has a 4xx status code
func (*IssueDeleteIssueCommentAttachmentNotFound) IsCode ¶
func (o *IssueDeleteIssueCommentAttachmentNotFound) IsCode(code int) bool
IsCode returns true when this issue delete issue comment attachment not found response a status code equal to that given
func (*IssueDeleteIssueCommentAttachmentNotFound) IsRedirect ¶
func (o *IssueDeleteIssueCommentAttachmentNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete issue comment attachment not found response has a 3xx status code
func (*IssueDeleteIssueCommentAttachmentNotFound) IsServerError ¶
func (o *IssueDeleteIssueCommentAttachmentNotFound) IsServerError() bool
IsServerError returns true when this issue delete issue comment attachment not found response has a 5xx status code
func (*IssueDeleteIssueCommentAttachmentNotFound) IsSuccess ¶
func (o *IssueDeleteIssueCommentAttachmentNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete issue comment attachment not found response has a 2xx status code
func (*IssueDeleteIssueCommentAttachmentNotFound) String ¶
func (o *IssueDeleteIssueCommentAttachmentNotFound) String() string
type IssueDeleteIssueCommentAttachmentParams ¶
type IssueDeleteIssueCommentAttachmentParams struct { /* AttachmentID. id of the attachment to delete Format: int64 */ AttachmentID int64 /* ID. id of the comment Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteIssueCommentAttachmentParams contains all the parameters to send to the API endpoint
for the issue delete issue comment attachment operation. Typically these are written to a http.Request.
func NewIssueDeleteIssueCommentAttachmentParams ¶
func NewIssueDeleteIssueCommentAttachmentParams() *IssueDeleteIssueCommentAttachmentParams
NewIssueDeleteIssueCommentAttachmentParams creates a new IssueDeleteIssueCommentAttachmentParams 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 NewIssueDeleteIssueCommentAttachmentParamsWithContext ¶
func NewIssueDeleteIssueCommentAttachmentParamsWithContext(ctx context.Context) *IssueDeleteIssueCommentAttachmentParams
NewIssueDeleteIssueCommentAttachmentParamsWithContext creates a new IssueDeleteIssueCommentAttachmentParams object with the ability to set a context for a request.
func NewIssueDeleteIssueCommentAttachmentParamsWithHTTPClient ¶
func NewIssueDeleteIssueCommentAttachmentParamsWithHTTPClient(client *http.Client) *IssueDeleteIssueCommentAttachmentParams
NewIssueDeleteIssueCommentAttachmentParamsWithHTTPClient creates a new IssueDeleteIssueCommentAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteIssueCommentAttachmentParamsWithTimeout ¶
func NewIssueDeleteIssueCommentAttachmentParamsWithTimeout(timeout time.Duration) *IssueDeleteIssueCommentAttachmentParams
NewIssueDeleteIssueCommentAttachmentParamsWithTimeout creates a new IssueDeleteIssueCommentAttachmentParams object with the ability to set a timeout on a request.
func (*IssueDeleteIssueCommentAttachmentParams) SetAttachmentID ¶
func (o *IssueDeleteIssueCommentAttachmentParams) SetAttachmentID(attachmentID int64)
SetAttachmentID adds the attachmentId to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) SetContext ¶
func (o *IssueDeleteIssueCommentAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) SetDefaults ¶
func (o *IssueDeleteIssueCommentAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the issue delete issue comment attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteIssueCommentAttachmentParams) SetHTTPClient ¶
func (o *IssueDeleteIssueCommentAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) SetID ¶
func (o *IssueDeleteIssueCommentAttachmentParams) SetID(id int64)
SetID adds the id to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) SetOwner ¶
func (o *IssueDeleteIssueCommentAttachmentParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) SetRepo ¶
func (o *IssueDeleteIssueCommentAttachmentParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) SetTimeout ¶
func (o *IssueDeleteIssueCommentAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) WithAttachmentID ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WithAttachmentID(attachmentID int64) *IssueDeleteIssueCommentAttachmentParams
WithAttachmentID adds the attachmentID to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) WithContext ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WithContext(ctx context.Context) *IssueDeleteIssueCommentAttachmentParams
WithContext adds the context to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) WithDefaults ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WithDefaults() *IssueDeleteIssueCommentAttachmentParams
WithDefaults hydrates default values in the issue delete issue comment attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteIssueCommentAttachmentParams) WithHTTPClient ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WithHTTPClient(client *http.Client) *IssueDeleteIssueCommentAttachmentParams
WithHTTPClient adds the HTTPClient to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) WithID ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WithID(id int64) *IssueDeleteIssueCommentAttachmentParams
WithID adds the id to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) WithOwner ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WithOwner(owner string) *IssueDeleteIssueCommentAttachmentParams
WithOwner adds the owner to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) WithRepo ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WithRepo(repo string) *IssueDeleteIssueCommentAttachmentParams
WithRepo adds the repo to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) WithTimeout ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WithTimeout(timeout time.Duration) *IssueDeleteIssueCommentAttachmentParams
WithTimeout adds the timeout to the issue delete issue comment attachment params
func (*IssueDeleteIssueCommentAttachmentParams) WriteToRequest ¶
func (o *IssueDeleteIssueCommentAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteIssueCommentAttachmentReader ¶
type IssueDeleteIssueCommentAttachmentReader struct {
// contains filtered or unexported fields
}
IssueDeleteIssueCommentAttachmentReader is a Reader for the IssueDeleteIssueCommentAttachment structure.
func (*IssueDeleteIssueCommentAttachmentReader) ReadResponse ¶
func (o *IssueDeleteIssueCommentAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteIssueReactionForbidden ¶
IssueDeleteIssueReactionForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueDeleteIssueReactionForbidden ¶
func NewIssueDeleteIssueReactionForbidden() *IssueDeleteIssueReactionForbidden
NewIssueDeleteIssueReactionForbidden creates a IssueDeleteIssueReactionForbidden with default headers values
func (*IssueDeleteIssueReactionForbidden) Code ¶
func (o *IssueDeleteIssueReactionForbidden) Code() int
Code gets the status code for the issue delete issue reaction forbidden response
func (*IssueDeleteIssueReactionForbidden) Error ¶
func (o *IssueDeleteIssueReactionForbidden) Error() string
func (*IssueDeleteIssueReactionForbidden) IsClientError ¶
func (o *IssueDeleteIssueReactionForbidden) IsClientError() bool
IsClientError returns true when this issue delete issue reaction forbidden response has a 4xx status code
func (*IssueDeleteIssueReactionForbidden) IsCode ¶
func (o *IssueDeleteIssueReactionForbidden) IsCode(code int) bool
IsCode returns true when this issue delete issue reaction forbidden response a status code equal to that given
func (*IssueDeleteIssueReactionForbidden) IsRedirect ¶
func (o *IssueDeleteIssueReactionForbidden) IsRedirect() bool
IsRedirect returns true when this issue delete issue reaction forbidden response has a 3xx status code
func (*IssueDeleteIssueReactionForbidden) IsServerError ¶
func (o *IssueDeleteIssueReactionForbidden) IsServerError() bool
IsServerError returns true when this issue delete issue reaction forbidden response has a 5xx status code
func (*IssueDeleteIssueReactionForbidden) IsSuccess ¶
func (o *IssueDeleteIssueReactionForbidden) IsSuccess() bool
IsSuccess returns true when this issue delete issue reaction forbidden response has a 2xx status code
func (*IssueDeleteIssueReactionForbidden) String ¶
func (o *IssueDeleteIssueReactionForbidden) String() string
type IssueDeleteIssueReactionNotFound ¶
type IssueDeleteIssueReactionNotFound struct { }
IssueDeleteIssueReactionNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteIssueReactionNotFound ¶
func NewIssueDeleteIssueReactionNotFound() *IssueDeleteIssueReactionNotFound
NewIssueDeleteIssueReactionNotFound creates a IssueDeleteIssueReactionNotFound with default headers values
func (*IssueDeleteIssueReactionNotFound) Code ¶
func (o *IssueDeleteIssueReactionNotFound) Code() int
Code gets the status code for the issue delete issue reaction not found response
func (*IssueDeleteIssueReactionNotFound) Error ¶
func (o *IssueDeleteIssueReactionNotFound) Error() string
func (*IssueDeleteIssueReactionNotFound) IsClientError ¶
func (o *IssueDeleteIssueReactionNotFound) IsClientError() bool
IsClientError returns true when this issue delete issue reaction not found response has a 4xx status code
func (*IssueDeleteIssueReactionNotFound) IsCode ¶
func (o *IssueDeleteIssueReactionNotFound) IsCode(code int) bool
IsCode returns true when this issue delete issue reaction not found response a status code equal to that given
func (*IssueDeleteIssueReactionNotFound) IsRedirect ¶
func (o *IssueDeleteIssueReactionNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete issue reaction not found response has a 3xx status code
func (*IssueDeleteIssueReactionNotFound) IsServerError ¶
func (o *IssueDeleteIssueReactionNotFound) IsServerError() bool
IsServerError returns true when this issue delete issue reaction not found response has a 5xx status code
func (*IssueDeleteIssueReactionNotFound) IsSuccess ¶
func (o *IssueDeleteIssueReactionNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete issue reaction not found response has a 2xx status code
func (*IssueDeleteIssueReactionNotFound) String ¶
func (o *IssueDeleteIssueReactionNotFound) String() string
type IssueDeleteIssueReactionOK ¶
type IssueDeleteIssueReactionOK struct { }
IssueDeleteIssueReactionOK describes a response with status code 200, with default header values.
APIEmpty is an empty response
func NewIssueDeleteIssueReactionOK ¶
func NewIssueDeleteIssueReactionOK() *IssueDeleteIssueReactionOK
NewIssueDeleteIssueReactionOK creates a IssueDeleteIssueReactionOK with default headers values
func (*IssueDeleteIssueReactionOK) Code ¶
func (o *IssueDeleteIssueReactionOK) Code() int
Code gets the status code for the issue delete issue reaction o k response
func (*IssueDeleteIssueReactionOK) Error ¶
func (o *IssueDeleteIssueReactionOK) Error() string
func (*IssueDeleteIssueReactionOK) IsClientError ¶
func (o *IssueDeleteIssueReactionOK) IsClientError() bool
IsClientError returns true when this issue delete issue reaction o k response has a 4xx status code
func (*IssueDeleteIssueReactionOK) IsCode ¶
func (o *IssueDeleteIssueReactionOK) IsCode(code int) bool
IsCode returns true when this issue delete issue reaction o k response a status code equal to that given
func (*IssueDeleteIssueReactionOK) IsRedirect ¶
func (o *IssueDeleteIssueReactionOK) IsRedirect() bool
IsRedirect returns true when this issue delete issue reaction o k response has a 3xx status code
func (*IssueDeleteIssueReactionOK) IsServerError ¶
func (o *IssueDeleteIssueReactionOK) IsServerError() bool
IsServerError returns true when this issue delete issue reaction o k response has a 5xx status code
func (*IssueDeleteIssueReactionOK) IsSuccess ¶
func (o *IssueDeleteIssueReactionOK) IsSuccess() bool
IsSuccess returns true when this issue delete issue reaction o k response has a 2xx status code
func (*IssueDeleteIssueReactionOK) String ¶
func (o *IssueDeleteIssueReactionOK) String() string
type IssueDeleteIssueReactionParams ¶
type IssueDeleteIssueReactionParams struct { // Content. Content *models.EditReactionOption /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteIssueReactionParams contains all the parameters to send to the API endpoint
for the issue delete issue reaction operation. Typically these are written to a http.Request.
func NewIssueDeleteIssueReactionParams ¶
func NewIssueDeleteIssueReactionParams() *IssueDeleteIssueReactionParams
NewIssueDeleteIssueReactionParams creates a new IssueDeleteIssueReactionParams 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 NewIssueDeleteIssueReactionParamsWithContext ¶
func NewIssueDeleteIssueReactionParamsWithContext(ctx context.Context) *IssueDeleteIssueReactionParams
NewIssueDeleteIssueReactionParamsWithContext creates a new IssueDeleteIssueReactionParams object with the ability to set a context for a request.
func NewIssueDeleteIssueReactionParamsWithHTTPClient ¶
func NewIssueDeleteIssueReactionParamsWithHTTPClient(client *http.Client) *IssueDeleteIssueReactionParams
NewIssueDeleteIssueReactionParamsWithHTTPClient creates a new IssueDeleteIssueReactionParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteIssueReactionParamsWithTimeout ¶
func NewIssueDeleteIssueReactionParamsWithTimeout(timeout time.Duration) *IssueDeleteIssueReactionParams
NewIssueDeleteIssueReactionParamsWithTimeout creates a new IssueDeleteIssueReactionParams object with the ability to set a timeout on a request.
func (*IssueDeleteIssueReactionParams) SetContent ¶
func (o *IssueDeleteIssueReactionParams) SetContent(content *models.EditReactionOption)
SetContent adds the content to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) SetContext ¶
func (o *IssueDeleteIssueReactionParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) SetDefaults ¶
func (o *IssueDeleteIssueReactionParams) SetDefaults()
SetDefaults hydrates default values in the issue delete issue reaction params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteIssueReactionParams) SetHTTPClient ¶
func (o *IssueDeleteIssueReactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) SetIndex ¶
func (o *IssueDeleteIssueReactionParams) SetIndex(index int64)
SetIndex adds the index to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) SetOwner ¶
func (o *IssueDeleteIssueReactionParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) SetRepo ¶
func (o *IssueDeleteIssueReactionParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) SetTimeout ¶
func (o *IssueDeleteIssueReactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) WithContent ¶
func (o *IssueDeleteIssueReactionParams) WithContent(content *models.EditReactionOption) *IssueDeleteIssueReactionParams
WithContent adds the content to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) WithContext ¶
func (o *IssueDeleteIssueReactionParams) WithContext(ctx context.Context) *IssueDeleteIssueReactionParams
WithContext adds the context to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) WithDefaults ¶
func (o *IssueDeleteIssueReactionParams) WithDefaults() *IssueDeleteIssueReactionParams
WithDefaults hydrates default values in the issue delete issue reaction params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteIssueReactionParams) WithHTTPClient ¶
func (o *IssueDeleteIssueReactionParams) WithHTTPClient(client *http.Client) *IssueDeleteIssueReactionParams
WithHTTPClient adds the HTTPClient to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) WithIndex ¶
func (o *IssueDeleteIssueReactionParams) WithIndex(index int64) *IssueDeleteIssueReactionParams
WithIndex adds the index to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) WithOwner ¶
func (o *IssueDeleteIssueReactionParams) WithOwner(owner string) *IssueDeleteIssueReactionParams
WithOwner adds the owner to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) WithRepo ¶
func (o *IssueDeleteIssueReactionParams) WithRepo(repo string) *IssueDeleteIssueReactionParams
WithRepo adds the repo to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) WithTimeout ¶
func (o *IssueDeleteIssueReactionParams) WithTimeout(timeout time.Duration) *IssueDeleteIssueReactionParams
WithTimeout adds the timeout to the issue delete issue reaction params
func (*IssueDeleteIssueReactionParams) WriteToRequest ¶
func (o *IssueDeleteIssueReactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteIssueReactionReader ¶
type IssueDeleteIssueReactionReader struct {
// contains filtered or unexported fields
}
IssueDeleteIssueReactionReader is a Reader for the IssueDeleteIssueReaction structure.
func (*IssueDeleteIssueReactionReader) ReadResponse ¶
func (o *IssueDeleteIssueReactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteLabelNoContent ¶
type IssueDeleteLabelNoContent struct { }
IssueDeleteLabelNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteLabelNoContent ¶
func NewIssueDeleteLabelNoContent() *IssueDeleteLabelNoContent
NewIssueDeleteLabelNoContent creates a IssueDeleteLabelNoContent with default headers values
func (*IssueDeleteLabelNoContent) Code ¶
func (o *IssueDeleteLabelNoContent) Code() int
Code gets the status code for the issue delete label no content response
func (*IssueDeleteLabelNoContent) Error ¶
func (o *IssueDeleteLabelNoContent) Error() string
func (*IssueDeleteLabelNoContent) IsClientError ¶
func (o *IssueDeleteLabelNoContent) IsClientError() bool
IsClientError returns true when this issue delete label no content response has a 4xx status code
func (*IssueDeleteLabelNoContent) IsCode ¶
func (o *IssueDeleteLabelNoContent) IsCode(code int) bool
IsCode returns true when this issue delete label no content response a status code equal to that given
func (*IssueDeleteLabelNoContent) IsRedirect ¶
func (o *IssueDeleteLabelNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete label no content response has a 3xx status code
func (*IssueDeleteLabelNoContent) IsServerError ¶
func (o *IssueDeleteLabelNoContent) IsServerError() bool
IsServerError returns true when this issue delete label no content response has a 5xx status code
func (*IssueDeleteLabelNoContent) IsSuccess ¶
func (o *IssueDeleteLabelNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete label no content response has a 2xx status code
func (*IssueDeleteLabelNoContent) String ¶
func (o *IssueDeleteLabelNoContent) String() string
type IssueDeleteLabelNotFound ¶
type IssueDeleteLabelNotFound struct { }
IssueDeleteLabelNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteLabelNotFound ¶
func NewIssueDeleteLabelNotFound() *IssueDeleteLabelNotFound
NewIssueDeleteLabelNotFound creates a IssueDeleteLabelNotFound with default headers values
func (*IssueDeleteLabelNotFound) Code ¶
func (o *IssueDeleteLabelNotFound) Code() int
Code gets the status code for the issue delete label not found response
func (*IssueDeleteLabelNotFound) Error ¶
func (o *IssueDeleteLabelNotFound) Error() string
func (*IssueDeleteLabelNotFound) IsClientError ¶
func (o *IssueDeleteLabelNotFound) IsClientError() bool
IsClientError returns true when this issue delete label not found response has a 4xx status code
func (*IssueDeleteLabelNotFound) IsCode ¶
func (o *IssueDeleteLabelNotFound) IsCode(code int) bool
IsCode returns true when this issue delete label not found response a status code equal to that given
func (*IssueDeleteLabelNotFound) IsRedirect ¶
func (o *IssueDeleteLabelNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete label not found response has a 3xx status code
func (*IssueDeleteLabelNotFound) IsServerError ¶
func (o *IssueDeleteLabelNotFound) IsServerError() bool
IsServerError returns true when this issue delete label not found response has a 5xx status code
func (*IssueDeleteLabelNotFound) IsSuccess ¶
func (o *IssueDeleteLabelNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete label not found response has a 2xx status code
func (*IssueDeleteLabelNotFound) String ¶
func (o *IssueDeleteLabelNotFound) String() string
type IssueDeleteLabelParams ¶
type IssueDeleteLabelParams struct { /* ID. id of the label to delete Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteLabelParams contains all the parameters to send to the API endpoint
for the issue delete label operation. Typically these are written to a http.Request.
func NewIssueDeleteLabelParams ¶
func NewIssueDeleteLabelParams() *IssueDeleteLabelParams
NewIssueDeleteLabelParams creates a new IssueDeleteLabelParams 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 NewIssueDeleteLabelParamsWithContext ¶
func NewIssueDeleteLabelParamsWithContext(ctx context.Context) *IssueDeleteLabelParams
NewIssueDeleteLabelParamsWithContext creates a new IssueDeleteLabelParams object with the ability to set a context for a request.
func NewIssueDeleteLabelParamsWithHTTPClient ¶
func NewIssueDeleteLabelParamsWithHTTPClient(client *http.Client) *IssueDeleteLabelParams
NewIssueDeleteLabelParamsWithHTTPClient creates a new IssueDeleteLabelParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteLabelParamsWithTimeout ¶
func NewIssueDeleteLabelParamsWithTimeout(timeout time.Duration) *IssueDeleteLabelParams
NewIssueDeleteLabelParamsWithTimeout creates a new IssueDeleteLabelParams object with the ability to set a timeout on a request.
func (*IssueDeleteLabelParams) SetContext ¶
func (o *IssueDeleteLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete label params
func (*IssueDeleteLabelParams) SetDefaults ¶
func (o *IssueDeleteLabelParams) SetDefaults()
SetDefaults hydrates default values in the issue delete label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteLabelParams) SetHTTPClient ¶
func (o *IssueDeleteLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete label params
func (*IssueDeleteLabelParams) SetID ¶
func (o *IssueDeleteLabelParams) SetID(id int64)
SetID adds the id to the issue delete label params
func (*IssueDeleteLabelParams) SetOwner ¶
func (o *IssueDeleteLabelParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete label params
func (*IssueDeleteLabelParams) SetRepo ¶
func (o *IssueDeleteLabelParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete label params
func (*IssueDeleteLabelParams) SetTimeout ¶
func (o *IssueDeleteLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete label params
func (*IssueDeleteLabelParams) WithContext ¶
func (o *IssueDeleteLabelParams) WithContext(ctx context.Context) *IssueDeleteLabelParams
WithContext adds the context to the issue delete label params
func (*IssueDeleteLabelParams) WithDefaults ¶
func (o *IssueDeleteLabelParams) WithDefaults() *IssueDeleteLabelParams
WithDefaults hydrates default values in the issue delete label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteLabelParams) WithHTTPClient ¶
func (o *IssueDeleteLabelParams) WithHTTPClient(client *http.Client) *IssueDeleteLabelParams
WithHTTPClient adds the HTTPClient to the issue delete label params
func (*IssueDeleteLabelParams) WithID ¶
func (o *IssueDeleteLabelParams) WithID(id int64) *IssueDeleteLabelParams
WithID adds the id to the issue delete label params
func (*IssueDeleteLabelParams) WithOwner ¶
func (o *IssueDeleteLabelParams) WithOwner(owner string) *IssueDeleteLabelParams
WithOwner adds the owner to the issue delete label params
func (*IssueDeleteLabelParams) WithRepo ¶
func (o *IssueDeleteLabelParams) WithRepo(repo string) *IssueDeleteLabelParams
WithRepo adds the repo to the issue delete label params
func (*IssueDeleteLabelParams) WithTimeout ¶
func (o *IssueDeleteLabelParams) WithTimeout(timeout time.Duration) *IssueDeleteLabelParams
WithTimeout adds the timeout to the issue delete label params
func (*IssueDeleteLabelParams) WriteToRequest ¶
func (o *IssueDeleteLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteLabelReader ¶
type IssueDeleteLabelReader struct {
// contains filtered or unexported fields
}
IssueDeleteLabelReader is a Reader for the IssueDeleteLabel structure.
func (*IssueDeleteLabelReader) ReadResponse ¶
func (o *IssueDeleteLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteMilestoneNoContent ¶
type IssueDeleteMilestoneNoContent struct { }
IssueDeleteMilestoneNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteMilestoneNoContent ¶
func NewIssueDeleteMilestoneNoContent() *IssueDeleteMilestoneNoContent
NewIssueDeleteMilestoneNoContent creates a IssueDeleteMilestoneNoContent with default headers values
func (*IssueDeleteMilestoneNoContent) Code ¶
func (o *IssueDeleteMilestoneNoContent) Code() int
Code gets the status code for the issue delete milestone no content response
func (*IssueDeleteMilestoneNoContent) Error ¶
func (o *IssueDeleteMilestoneNoContent) Error() string
func (*IssueDeleteMilestoneNoContent) IsClientError ¶
func (o *IssueDeleteMilestoneNoContent) IsClientError() bool
IsClientError returns true when this issue delete milestone no content response has a 4xx status code
func (*IssueDeleteMilestoneNoContent) IsCode ¶
func (o *IssueDeleteMilestoneNoContent) IsCode(code int) bool
IsCode returns true when this issue delete milestone no content response a status code equal to that given
func (*IssueDeleteMilestoneNoContent) IsRedirect ¶
func (o *IssueDeleteMilestoneNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete milestone no content response has a 3xx status code
func (*IssueDeleteMilestoneNoContent) IsServerError ¶
func (o *IssueDeleteMilestoneNoContent) IsServerError() bool
IsServerError returns true when this issue delete milestone no content response has a 5xx status code
func (*IssueDeleteMilestoneNoContent) IsSuccess ¶
func (o *IssueDeleteMilestoneNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete milestone no content response has a 2xx status code
func (*IssueDeleteMilestoneNoContent) String ¶
func (o *IssueDeleteMilestoneNoContent) String() string
type IssueDeleteMilestoneNotFound ¶
type IssueDeleteMilestoneNotFound struct { }
IssueDeleteMilestoneNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteMilestoneNotFound ¶
func NewIssueDeleteMilestoneNotFound() *IssueDeleteMilestoneNotFound
NewIssueDeleteMilestoneNotFound creates a IssueDeleteMilestoneNotFound with default headers values
func (*IssueDeleteMilestoneNotFound) Code ¶
func (o *IssueDeleteMilestoneNotFound) Code() int
Code gets the status code for the issue delete milestone not found response
func (*IssueDeleteMilestoneNotFound) Error ¶
func (o *IssueDeleteMilestoneNotFound) Error() string
func (*IssueDeleteMilestoneNotFound) IsClientError ¶
func (o *IssueDeleteMilestoneNotFound) IsClientError() bool
IsClientError returns true when this issue delete milestone not found response has a 4xx status code
func (*IssueDeleteMilestoneNotFound) IsCode ¶
func (o *IssueDeleteMilestoneNotFound) IsCode(code int) bool
IsCode returns true when this issue delete milestone not found response a status code equal to that given
func (*IssueDeleteMilestoneNotFound) IsRedirect ¶
func (o *IssueDeleteMilestoneNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete milestone not found response has a 3xx status code
func (*IssueDeleteMilestoneNotFound) IsServerError ¶
func (o *IssueDeleteMilestoneNotFound) IsServerError() bool
IsServerError returns true when this issue delete milestone not found response has a 5xx status code
func (*IssueDeleteMilestoneNotFound) IsSuccess ¶
func (o *IssueDeleteMilestoneNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete milestone not found response has a 2xx status code
func (*IssueDeleteMilestoneNotFound) String ¶
func (o *IssueDeleteMilestoneNotFound) String() string
type IssueDeleteMilestoneParams ¶
type IssueDeleteMilestoneParams struct { /* ID. the milestone to delete, identified by ID and if not available by name */ ID string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteMilestoneParams contains all the parameters to send to the API endpoint
for the issue delete milestone operation. Typically these are written to a http.Request.
func NewIssueDeleteMilestoneParams ¶
func NewIssueDeleteMilestoneParams() *IssueDeleteMilestoneParams
NewIssueDeleteMilestoneParams creates a new IssueDeleteMilestoneParams 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 NewIssueDeleteMilestoneParamsWithContext ¶
func NewIssueDeleteMilestoneParamsWithContext(ctx context.Context) *IssueDeleteMilestoneParams
NewIssueDeleteMilestoneParamsWithContext creates a new IssueDeleteMilestoneParams object with the ability to set a context for a request.
func NewIssueDeleteMilestoneParamsWithHTTPClient ¶
func NewIssueDeleteMilestoneParamsWithHTTPClient(client *http.Client) *IssueDeleteMilestoneParams
NewIssueDeleteMilestoneParamsWithHTTPClient creates a new IssueDeleteMilestoneParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteMilestoneParamsWithTimeout ¶
func NewIssueDeleteMilestoneParamsWithTimeout(timeout time.Duration) *IssueDeleteMilestoneParams
NewIssueDeleteMilestoneParamsWithTimeout creates a new IssueDeleteMilestoneParams object with the ability to set a timeout on a request.
func (*IssueDeleteMilestoneParams) SetContext ¶
func (o *IssueDeleteMilestoneParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete milestone params
func (*IssueDeleteMilestoneParams) SetDefaults ¶
func (o *IssueDeleteMilestoneParams) SetDefaults()
SetDefaults hydrates default values in the issue delete milestone params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteMilestoneParams) SetHTTPClient ¶
func (o *IssueDeleteMilestoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete milestone params
func (*IssueDeleteMilestoneParams) SetID ¶
func (o *IssueDeleteMilestoneParams) SetID(id string)
SetID adds the id to the issue delete milestone params
func (*IssueDeleteMilestoneParams) SetOwner ¶
func (o *IssueDeleteMilestoneParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete milestone params
func (*IssueDeleteMilestoneParams) SetRepo ¶
func (o *IssueDeleteMilestoneParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete milestone params
func (*IssueDeleteMilestoneParams) SetTimeout ¶
func (o *IssueDeleteMilestoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete milestone params
func (*IssueDeleteMilestoneParams) WithContext ¶
func (o *IssueDeleteMilestoneParams) WithContext(ctx context.Context) *IssueDeleteMilestoneParams
WithContext adds the context to the issue delete milestone params
func (*IssueDeleteMilestoneParams) WithDefaults ¶
func (o *IssueDeleteMilestoneParams) WithDefaults() *IssueDeleteMilestoneParams
WithDefaults hydrates default values in the issue delete milestone params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteMilestoneParams) WithHTTPClient ¶
func (o *IssueDeleteMilestoneParams) WithHTTPClient(client *http.Client) *IssueDeleteMilestoneParams
WithHTTPClient adds the HTTPClient to the issue delete milestone params
func (*IssueDeleteMilestoneParams) WithID ¶
func (o *IssueDeleteMilestoneParams) WithID(id string) *IssueDeleteMilestoneParams
WithID adds the id to the issue delete milestone params
func (*IssueDeleteMilestoneParams) WithOwner ¶
func (o *IssueDeleteMilestoneParams) WithOwner(owner string) *IssueDeleteMilestoneParams
WithOwner adds the owner to the issue delete milestone params
func (*IssueDeleteMilestoneParams) WithRepo ¶
func (o *IssueDeleteMilestoneParams) WithRepo(repo string) *IssueDeleteMilestoneParams
WithRepo adds the repo to the issue delete milestone params
func (*IssueDeleteMilestoneParams) WithTimeout ¶
func (o *IssueDeleteMilestoneParams) WithTimeout(timeout time.Duration) *IssueDeleteMilestoneParams
WithTimeout adds the timeout to the issue delete milestone params
func (*IssueDeleteMilestoneParams) WriteToRequest ¶
func (o *IssueDeleteMilestoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteMilestoneReader ¶
type IssueDeleteMilestoneReader struct {
// contains filtered or unexported fields
}
IssueDeleteMilestoneReader is a Reader for the IssueDeleteMilestone structure.
func (*IssueDeleteMilestoneReader) ReadResponse ¶
func (o *IssueDeleteMilestoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteNoContent ¶
type IssueDeleteNoContent struct { }
IssueDeleteNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteNoContent ¶
func NewIssueDeleteNoContent() *IssueDeleteNoContent
NewIssueDeleteNoContent creates a IssueDeleteNoContent with default headers values
func (*IssueDeleteNoContent) Code ¶
func (o *IssueDeleteNoContent) Code() int
Code gets the status code for the issue delete no content response
func (*IssueDeleteNoContent) Error ¶
func (o *IssueDeleteNoContent) Error() string
func (*IssueDeleteNoContent) IsClientError ¶
func (o *IssueDeleteNoContent) IsClientError() bool
IsClientError returns true when this issue delete no content response has a 4xx status code
func (*IssueDeleteNoContent) IsCode ¶
func (o *IssueDeleteNoContent) IsCode(code int) bool
IsCode returns true when this issue delete no content response a status code equal to that given
func (*IssueDeleteNoContent) IsRedirect ¶
func (o *IssueDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete no content response has a 3xx status code
func (*IssueDeleteNoContent) IsServerError ¶
func (o *IssueDeleteNoContent) IsServerError() bool
IsServerError returns true when this issue delete no content response has a 5xx status code
func (*IssueDeleteNoContent) IsSuccess ¶
func (o *IssueDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete no content response has a 2xx status code
func (*IssueDeleteNoContent) String ¶
func (o *IssueDeleteNoContent) String() string
type IssueDeleteNotFound ¶
type IssueDeleteNotFound struct { }
IssueDeleteNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteNotFound ¶
func NewIssueDeleteNotFound() *IssueDeleteNotFound
NewIssueDeleteNotFound creates a IssueDeleteNotFound with default headers values
func (*IssueDeleteNotFound) Code ¶
func (o *IssueDeleteNotFound) Code() int
Code gets the status code for the issue delete not found response
func (*IssueDeleteNotFound) Error ¶
func (o *IssueDeleteNotFound) Error() string
func (*IssueDeleteNotFound) IsClientError ¶
func (o *IssueDeleteNotFound) IsClientError() bool
IsClientError returns true when this issue delete not found response has a 4xx status code
func (*IssueDeleteNotFound) IsCode ¶
func (o *IssueDeleteNotFound) IsCode(code int) bool
IsCode returns true when this issue delete not found response a status code equal to that given
func (*IssueDeleteNotFound) IsRedirect ¶
func (o *IssueDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete not found response has a 3xx status code
func (*IssueDeleteNotFound) IsServerError ¶
func (o *IssueDeleteNotFound) IsServerError() bool
IsServerError returns true when this issue delete not found response has a 5xx status code
func (*IssueDeleteNotFound) IsSuccess ¶
func (o *IssueDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete not found response has a 2xx status code
func (*IssueDeleteNotFound) String ¶
func (o *IssueDeleteNotFound) String() string
type IssueDeleteParams ¶
type IssueDeleteParams struct { /* Index. index of issue to delete Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteParams contains all the parameters to send to the API endpoint
for the issue delete operation. Typically these are written to a http.Request.
func NewIssueDeleteParams ¶
func NewIssueDeleteParams() *IssueDeleteParams
NewIssueDeleteParams creates a new IssueDeleteParams 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 NewIssueDeleteParamsWithContext ¶
func NewIssueDeleteParamsWithContext(ctx context.Context) *IssueDeleteParams
NewIssueDeleteParamsWithContext creates a new IssueDeleteParams object with the ability to set a context for a request.
func NewIssueDeleteParamsWithHTTPClient ¶
func NewIssueDeleteParamsWithHTTPClient(client *http.Client) *IssueDeleteParams
NewIssueDeleteParamsWithHTTPClient creates a new IssueDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteParamsWithTimeout ¶
func NewIssueDeleteParamsWithTimeout(timeout time.Duration) *IssueDeleteParams
NewIssueDeleteParamsWithTimeout creates a new IssueDeleteParams object with the ability to set a timeout on a request.
func (*IssueDeleteParams) SetContext ¶
func (o *IssueDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete params
func (*IssueDeleteParams) SetDefaults ¶
func (o *IssueDeleteParams) SetDefaults()
SetDefaults hydrates default values in the issue delete params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteParams) SetHTTPClient ¶
func (o *IssueDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete params
func (*IssueDeleteParams) SetIndex ¶
func (o *IssueDeleteParams) SetIndex(index int64)
SetIndex adds the index to the issue delete params
func (*IssueDeleteParams) SetOwner ¶
func (o *IssueDeleteParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete params
func (*IssueDeleteParams) SetRepo ¶
func (o *IssueDeleteParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete params
func (*IssueDeleteParams) SetTimeout ¶
func (o *IssueDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete params
func (*IssueDeleteParams) WithContext ¶
func (o *IssueDeleteParams) WithContext(ctx context.Context) *IssueDeleteParams
WithContext adds the context to the issue delete params
func (*IssueDeleteParams) WithDefaults ¶
func (o *IssueDeleteParams) WithDefaults() *IssueDeleteParams
WithDefaults hydrates default values in the issue delete params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteParams) WithHTTPClient ¶
func (o *IssueDeleteParams) WithHTTPClient(client *http.Client) *IssueDeleteParams
WithHTTPClient adds the HTTPClient to the issue delete params
func (*IssueDeleteParams) WithIndex ¶
func (o *IssueDeleteParams) WithIndex(index int64) *IssueDeleteParams
WithIndex adds the index to the issue delete params
func (*IssueDeleteParams) WithOwner ¶
func (o *IssueDeleteParams) WithOwner(owner string) *IssueDeleteParams
WithOwner adds the owner to the issue delete params
func (*IssueDeleteParams) WithRepo ¶
func (o *IssueDeleteParams) WithRepo(repo string) *IssueDeleteParams
WithRepo adds the repo to the issue delete params
func (*IssueDeleteParams) WithTimeout ¶
func (o *IssueDeleteParams) WithTimeout(timeout time.Duration) *IssueDeleteParams
WithTimeout adds the timeout to the issue delete params
func (*IssueDeleteParams) WriteToRequest ¶
func (o *IssueDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteReader ¶
type IssueDeleteReader struct {
// contains filtered or unexported fields
}
IssueDeleteReader is a Reader for the IssueDelete structure.
func (*IssueDeleteReader) ReadResponse ¶
func (o *IssueDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteStopWatchConflict ¶
type IssueDeleteStopWatchConflict struct { }
IssueDeleteStopWatchConflict describes a response with status code 409, with default header values.
Cannot cancel a non existent stopwatch
func NewIssueDeleteStopWatchConflict ¶
func NewIssueDeleteStopWatchConflict() *IssueDeleteStopWatchConflict
NewIssueDeleteStopWatchConflict creates a IssueDeleteStopWatchConflict with default headers values
func (*IssueDeleteStopWatchConflict) Code ¶
func (o *IssueDeleteStopWatchConflict) Code() int
Code gets the status code for the issue delete stop watch conflict response
func (*IssueDeleteStopWatchConflict) Error ¶
func (o *IssueDeleteStopWatchConflict) Error() string
func (*IssueDeleteStopWatchConflict) IsClientError ¶
func (o *IssueDeleteStopWatchConflict) IsClientError() bool
IsClientError returns true when this issue delete stop watch conflict response has a 4xx status code
func (*IssueDeleteStopWatchConflict) IsCode ¶
func (o *IssueDeleteStopWatchConflict) IsCode(code int) bool
IsCode returns true when this issue delete stop watch conflict response a status code equal to that given
func (*IssueDeleteStopWatchConflict) IsRedirect ¶
func (o *IssueDeleteStopWatchConflict) IsRedirect() bool
IsRedirect returns true when this issue delete stop watch conflict response has a 3xx status code
func (*IssueDeleteStopWatchConflict) IsServerError ¶
func (o *IssueDeleteStopWatchConflict) IsServerError() bool
IsServerError returns true when this issue delete stop watch conflict response has a 5xx status code
func (*IssueDeleteStopWatchConflict) IsSuccess ¶
func (o *IssueDeleteStopWatchConflict) IsSuccess() bool
IsSuccess returns true when this issue delete stop watch conflict response has a 2xx status code
func (*IssueDeleteStopWatchConflict) String ¶
func (o *IssueDeleteStopWatchConflict) String() string
type IssueDeleteStopWatchForbidden ¶
type IssueDeleteStopWatchForbidden struct { }
IssueDeleteStopWatchForbidden describes a response with status code 403, with default header values.
Not repo writer, user does not have rights to toggle stopwatch
func NewIssueDeleteStopWatchForbidden ¶
func NewIssueDeleteStopWatchForbidden() *IssueDeleteStopWatchForbidden
NewIssueDeleteStopWatchForbidden creates a IssueDeleteStopWatchForbidden with default headers values
func (*IssueDeleteStopWatchForbidden) Code ¶
func (o *IssueDeleteStopWatchForbidden) Code() int
Code gets the status code for the issue delete stop watch forbidden response
func (*IssueDeleteStopWatchForbidden) Error ¶
func (o *IssueDeleteStopWatchForbidden) Error() string
func (*IssueDeleteStopWatchForbidden) IsClientError ¶
func (o *IssueDeleteStopWatchForbidden) IsClientError() bool
IsClientError returns true when this issue delete stop watch forbidden response has a 4xx status code
func (*IssueDeleteStopWatchForbidden) IsCode ¶
func (o *IssueDeleteStopWatchForbidden) IsCode(code int) bool
IsCode returns true when this issue delete stop watch forbidden response a status code equal to that given
func (*IssueDeleteStopWatchForbidden) IsRedirect ¶
func (o *IssueDeleteStopWatchForbidden) IsRedirect() bool
IsRedirect returns true when this issue delete stop watch forbidden response has a 3xx status code
func (*IssueDeleteStopWatchForbidden) IsServerError ¶
func (o *IssueDeleteStopWatchForbidden) IsServerError() bool
IsServerError returns true when this issue delete stop watch forbidden response has a 5xx status code
func (*IssueDeleteStopWatchForbidden) IsSuccess ¶
func (o *IssueDeleteStopWatchForbidden) IsSuccess() bool
IsSuccess returns true when this issue delete stop watch forbidden response has a 2xx status code
func (*IssueDeleteStopWatchForbidden) String ¶
func (o *IssueDeleteStopWatchForbidden) String() string
type IssueDeleteStopWatchNoContent ¶
type IssueDeleteStopWatchNoContent struct { }
IssueDeleteStopWatchNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteStopWatchNoContent ¶
func NewIssueDeleteStopWatchNoContent() *IssueDeleteStopWatchNoContent
NewIssueDeleteStopWatchNoContent creates a IssueDeleteStopWatchNoContent with default headers values
func (*IssueDeleteStopWatchNoContent) Code ¶
func (o *IssueDeleteStopWatchNoContent) Code() int
Code gets the status code for the issue delete stop watch no content response
func (*IssueDeleteStopWatchNoContent) Error ¶
func (o *IssueDeleteStopWatchNoContent) Error() string
func (*IssueDeleteStopWatchNoContent) IsClientError ¶
func (o *IssueDeleteStopWatchNoContent) IsClientError() bool
IsClientError returns true when this issue delete stop watch no content response has a 4xx status code
func (*IssueDeleteStopWatchNoContent) IsCode ¶
func (o *IssueDeleteStopWatchNoContent) IsCode(code int) bool
IsCode returns true when this issue delete stop watch no content response a status code equal to that given
func (*IssueDeleteStopWatchNoContent) IsRedirect ¶
func (o *IssueDeleteStopWatchNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete stop watch no content response has a 3xx status code
func (*IssueDeleteStopWatchNoContent) IsServerError ¶
func (o *IssueDeleteStopWatchNoContent) IsServerError() bool
IsServerError returns true when this issue delete stop watch no content response has a 5xx status code
func (*IssueDeleteStopWatchNoContent) IsSuccess ¶
func (o *IssueDeleteStopWatchNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete stop watch no content response has a 2xx status code
func (*IssueDeleteStopWatchNoContent) String ¶
func (o *IssueDeleteStopWatchNoContent) String() string
type IssueDeleteStopWatchNotFound ¶
type IssueDeleteStopWatchNotFound struct { }
IssueDeleteStopWatchNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteStopWatchNotFound ¶
func NewIssueDeleteStopWatchNotFound() *IssueDeleteStopWatchNotFound
NewIssueDeleteStopWatchNotFound creates a IssueDeleteStopWatchNotFound with default headers values
func (*IssueDeleteStopWatchNotFound) Code ¶
func (o *IssueDeleteStopWatchNotFound) Code() int
Code gets the status code for the issue delete stop watch not found response
func (*IssueDeleteStopWatchNotFound) Error ¶
func (o *IssueDeleteStopWatchNotFound) Error() string
func (*IssueDeleteStopWatchNotFound) IsClientError ¶
func (o *IssueDeleteStopWatchNotFound) IsClientError() bool
IsClientError returns true when this issue delete stop watch not found response has a 4xx status code
func (*IssueDeleteStopWatchNotFound) IsCode ¶
func (o *IssueDeleteStopWatchNotFound) IsCode(code int) bool
IsCode returns true when this issue delete stop watch not found response a status code equal to that given
func (*IssueDeleteStopWatchNotFound) IsRedirect ¶
func (o *IssueDeleteStopWatchNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete stop watch not found response has a 3xx status code
func (*IssueDeleteStopWatchNotFound) IsServerError ¶
func (o *IssueDeleteStopWatchNotFound) IsServerError() bool
IsServerError returns true when this issue delete stop watch not found response has a 5xx status code
func (*IssueDeleteStopWatchNotFound) IsSuccess ¶
func (o *IssueDeleteStopWatchNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete stop watch not found response has a 2xx status code
func (*IssueDeleteStopWatchNotFound) String ¶
func (o *IssueDeleteStopWatchNotFound) String() string
type IssueDeleteStopWatchParams ¶
type IssueDeleteStopWatchParams struct { /* Index. index of the issue to stop the stopwatch on Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteStopWatchParams contains all the parameters to send to the API endpoint
for the issue delete stop watch operation. Typically these are written to a http.Request.
func NewIssueDeleteStopWatchParams ¶
func NewIssueDeleteStopWatchParams() *IssueDeleteStopWatchParams
NewIssueDeleteStopWatchParams creates a new IssueDeleteStopWatchParams 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 NewIssueDeleteStopWatchParamsWithContext ¶
func NewIssueDeleteStopWatchParamsWithContext(ctx context.Context) *IssueDeleteStopWatchParams
NewIssueDeleteStopWatchParamsWithContext creates a new IssueDeleteStopWatchParams object with the ability to set a context for a request.
func NewIssueDeleteStopWatchParamsWithHTTPClient ¶
func NewIssueDeleteStopWatchParamsWithHTTPClient(client *http.Client) *IssueDeleteStopWatchParams
NewIssueDeleteStopWatchParamsWithHTTPClient creates a new IssueDeleteStopWatchParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteStopWatchParamsWithTimeout ¶
func NewIssueDeleteStopWatchParamsWithTimeout(timeout time.Duration) *IssueDeleteStopWatchParams
NewIssueDeleteStopWatchParamsWithTimeout creates a new IssueDeleteStopWatchParams object with the ability to set a timeout on a request.
func (*IssueDeleteStopWatchParams) SetContext ¶
func (o *IssueDeleteStopWatchParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) SetDefaults ¶
func (o *IssueDeleteStopWatchParams) SetDefaults()
SetDefaults hydrates default values in the issue delete stop watch params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteStopWatchParams) SetHTTPClient ¶
func (o *IssueDeleteStopWatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) SetIndex ¶
func (o *IssueDeleteStopWatchParams) SetIndex(index int64)
SetIndex adds the index to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) SetOwner ¶
func (o *IssueDeleteStopWatchParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) SetRepo ¶
func (o *IssueDeleteStopWatchParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) SetTimeout ¶
func (o *IssueDeleteStopWatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) WithContext ¶
func (o *IssueDeleteStopWatchParams) WithContext(ctx context.Context) *IssueDeleteStopWatchParams
WithContext adds the context to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) WithDefaults ¶
func (o *IssueDeleteStopWatchParams) WithDefaults() *IssueDeleteStopWatchParams
WithDefaults hydrates default values in the issue delete stop watch params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteStopWatchParams) WithHTTPClient ¶
func (o *IssueDeleteStopWatchParams) WithHTTPClient(client *http.Client) *IssueDeleteStopWatchParams
WithHTTPClient adds the HTTPClient to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) WithIndex ¶
func (o *IssueDeleteStopWatchParams) WithIndex(index int64) *IssueDeleteStopWatchParams
WithIndex adds the index to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) WithOwner ¶
func (o *IssueDeleteStopWatchParams) WithOwner(owner string) *IssueDeleteStopWatchParams
WithOwner adds the owner to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) WithRepo ¶
func (o *IssueDeleteStopWatchParams) WithRepo(repo string) *IssueDeleteStopWatchParams
WithRepo adds the repo to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) WithTimeout ¶
func (o *IssueDeleteStopWatchParams) WithTimeout(timeout time.Duration) *IssueDeleteStopWatchParams
WithTimeout adds the timeout to the issue delete stop watch params
func (*IssueDeleteStopWatchParams) WriteToRequest ¶
func (o *IssueDeleteStopWatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteStopWatchReader ¶
type IssueDeleteStopWatchReader struct {
// contains filtered or unexported fields
}
IssueDeleteStopWatchReader is a Reader for the IssueDeleteStopWatch structure.
func (*IssueDeleteStopWatchReader) ReadResponse ¶
func (o *IssueDeleteStopWatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteSubscriptionCreated ¶
type IssueDeleteSubscriptionCreated struct { }
IssueDeleteSubscriptionCreated describes a response with status code 201, with default header values.
Successfully Unsubscribed
func NewIssueDeleteSubscriptionCreated ¶
func NewIssueDeleteSubscriptionCreated() *IssueDeleteSubscriptionCreated
NewIssueDeleteSubscriptionCreated creates a IssueDeleteSubscriptionCreated with default headers values
func (*IssueDeleteSubscriptionCreated) Code ¶
func (o *IssueDeleteSubscriptionCreated) Code() int
Code gets the status code for the issue delete subscription created response
func (*IssueDeleteSubscriptionCreated) Error ¶
func (o *IssueDeleteSubscriptionCreated) Error() string
func (*IssueDeleteSubscriptionCreated) IsClientError ¶
func (o *IssueDeleteSubscriptionCreated) IsClientError() bool
IsClientError returns true when this issue delete subscription created response has a 4xx status code
func (*IssueDeleteSubscriptionCreated) IsCode ¶
func (o *IssueDeleteSubscriptionCreated) IsCode(code int) bool
IsCode returns true when this issue delete subscription created response a status code equal to that given
func (*IssueDeleteSubscriptionCreated) IsRedirect ¶
func (o *IssueDeleteSubscriptionCreated) IsRedirect() bool
IsRedirect returns true when this issue delete subscription created response has a 3xx status code
func (*IssueDeleteSubscriptionCreated) IsServerError ¶
func (o *IssueDeleteSubscriptionCreated) IsServerError() bool
IsServerError returns true when this issue delete subscription created response has a 5xx status code
func (*IssueDeleteSubscriptionCreated) IsSuccess ¶
func (o *IssueDeleteSubscriptionCreated) IsSuccess() bool
IsSuccess returns true when this issue delete subscription created response has a 2xx status code
func (*IssueDeleteSubscriptionCreated) String ¶
func (o *IssueDeleteSubscriptionCreated) String() string
type IssueDeleteSubscriptionNotFound ¶
type IssueDeleteSubscriptionNotFound struct { }
IssueDeleteSubscriptionNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteSubscriptionNotFound ¶
func NewIssueDeleteSubscriptionNotFound() *IssueDeleteSubscriptionNotFound
NewIssueDeleteSubscriptionNotFound creates a IssueDeleteSubscriptionNotFound with default headers values
func (*IssueDeleteSubscriptionNotFound) Code ¶
func (o *IssueDeleteSubscriptionNotFound) Code() int
Code gets the status code for the issue delete subscription not found response
func (*IssueDeleteSubscriptionNotFound) Error ¶
func (o *IssueDeleteSubscriptionNotFound) Error() string
func (*IssueDeleteSubscriptionNotFound) IsClientError ¶
func (o *IssueDeleteSubscriptionNotFound) IsClientError() bool
IsClientError returns true when this issue delete subscription not found response has a 4xx status code
func (*IssueDeleteSubscriptionNotFound) IsCode ¶
func (o *IssueDeleteSubscriptionNotFound) IsCode(code int) bool
IsCode returns true when this issue delete subscription not found response a status code equal to that given
func (*IssueDeleteSubscriptionNotFound) IsRedirect ¶
func (o *IssueDeleteSubscriptionNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete subscription not found response has a 3xx status code
func (*IssueDeleteSubscriptionNotFound) IsServerError ¶
func (o *IssueDeleteSubscriptionNotFound) IsServerError() bool
IsServerError returns true when this issue delete subscription not found response has a 5xx status code
func (*IssueDeleteSubscriptionNotFound) IsSuccess ¶
func (o *IssueDeleteSubscriptionNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete subscription not found response has a 2xx status code
func (*IssueDeleteSubscriptionNotFound) String ¶
func (o *IssueDeleteSubscriptionNotFound) String() string
type IssueDeleteSubscriptionNotModified ¶
type IssueDeleteSubscriptionNotModified struct { }
IssueDeleteSubscriptionNotModified describes a response with status code 304, with default header values.
User can only subscribe itself if he is no admin
func NewIssueDeleteSubscriptionNotModified ¶
func NewIssueDeleteSubscriptionNotModified() *IssueDeleteSubscriptionNotModified
NewIssueDeleteSubscriptionNotModified creates a IssueDeleteSubscriptionNotModified with default headers values
func (*IssueDeleteSubscriptionNotModified) Code ¶
func (o *IssueDeleteSubscriptionNotModified) Code() int
Code gets the status code for the issue delete subscription not modified response
func (*IssueDeleteSubscriptionNotModified) Error ¶
func (o *IssueDeleteSubscriptionNotModified) Error() string
func (*IssueDeleteSubscriptionNotModified) IsClientError ¶
func (o *IssueDeleteSubscriptionNotModified) IsClientError() bool
IsClientError returns true when this issue delete subscription not modified response has a 4xx status code
func (*IssueDeleteSubscriptionNotModified) IsCode ¶
func (o *IssueDeleteSubscriptionNotModified) IsCode(code int) bool
IsCode returns true when this issue delete subscription not modified response a status code equal to that given
func (*IssueDeleteSubscriptionNotModified) IsRedirect ¶
func (o *IssueDeleteSubscriptionNotModified) IsRedirect() bool
IsRedirect returns true when this issue delete subscription not modified response has a 3xx status code
func (*IssueDeleteSubscriptionNotModified) IsServerError ¶
func (o *IssueDeleteSubscriptionNotModified) IsServerError() bool
IsServerError returns true when this issue delete subscription not modified response has a 5xx status code
func (*IssueDeleteSubscriptionNotModified) IsSuccess ¶
func (o *IssueDeleteSubscriptionNotModified) IsSuccess() bool
IsSuccess returns true when this issue delete subscription not modified response has a 2xx status code
func (*IssueDeleteSubscriptionNotModified) String ¶
func (o *IssueDeleteSubscriptionNotModified) String() string
type IssueDeleteSubscriptionOK ¶
type IssueDeleteSubscriptionOK struct { }
IssueDeleteSubscriptionOK describes a response with status code 200, with default header values.
Already unsubscribed
func NewIssueDeleteSubscriptionOK ¶
func NewIssueDeleteSubscriptionOK() *IssueDeleteSubscriptionOK
NewIssueDeleteSubscriptionOK creates a IssueDeleteSubscriptionOK with default headers values
func (*IssueDeleteSubscriptionOK) Code ¶
func (o *IssueDeleteSubscriptionOK) Code() int
Code gets the status code for the issue delete subscription o k response
func (*IssueDeleteSubscriptionOK) Error ¶
func (o *IssueDeleteSubscriptionOK) Error() string
func (*IssueDeleteSubscriptionOK) IsClientError ¶
func (o *IssueDeleteSubscriptionOK) IsClientError() bool
IsClientError returns true when this issue delete subscription o k response has a 4xx status code
func (*IssueDeleteSubscriptionOK) IsCode ¶
func (o *IssueDeleteSubscriptionOK) IsCode(code int) bool
IsCode returns true when this issue delete subscription o k response a status code equal to that given
func (*IssueDeleteSubscriptionOK) IsRedirect ¶
func (o *IssueDeleteSubscriptionOK) IsRedirect() bool
IsRedirect returns true when this issue delete subscription o k response has a 3xx status code
func (*IssueDeleteSubscriptionOK) IsServerError ¶
func (o *IssueDeleteSubscriptionOK) IsServerError() bool
IsServerError returns true when this issue delete subscription o k response has a 5xx status code
func (*IssueDeleteSubscriptionOK) IsSuccess ¶
func (o *IssueDeleteSubscriptionOK) IsSuccess() bool
IsSuccess returns true when this issue delete subscription o k response has a 2xx status code
func (*IssueDeleteSubscriptionOK) String ¶
func (o *IssueDeleteSubscriptionOK) String() string
type IssueDeleteSubscriptionParams ¶
type IssueDeleteSubscriptionParams struct { /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string /* User. user witch unsubscribe */ User string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteSubscriptionParams contains all the parameters to send to the API endpoint
for the issue delete subscription operation. Typically these are written to a http.Request.
func NewIssueDeleteSubscriptionParams ¶
func NewIssueDeleteSubscriptionParams() *IssueDeleteSubscriptionParams
NewIssueDeleteSubscriptionParams creates a new IssueDeleteSubscriptionParams 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 NewIssueDeleteSubscriptionParamsWithContext ¶
func NewIssueDeleteSubscriptionParamsWithContext(ctx context.Context) *IssueDeleteSubscriptionParams
NewIssueDeleteSubscriptionParamsWithContext creates a new IssueDeleteSubscriptionParams object with the ability to set a context for a request.
func NewIssueDeleteSubscriptionParamsWithHTTPClient ¶
func NewIssueDeleteSubscriptionParamsWithHTTPClient(client *http.Client) *IssueDeleteSubscriptionParams
NewIssueDeleteSubscriptionParamsWithHTTPClient creates a new IssueDeleteSubscriptionParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteSubscriptionParamsWithTimeout ¶
func NewIssueDeleteSubscriptionParamsWithTimeout(timeout time.Duration) *IssueDeleteSubscriptionParams
NewIssueDeleteSubscriptionParamsWithTimeout creates a new IssueDeleteSubscriptionParams object with the ability to set a timeout on a request.
func (*IssueDeleteSubscriptionParams) SetContext ¶
func (o *IssueDeleteSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) SetDefaults ¶
func (o *IssueDeleteSubscriptionParams) SetDefaults()
SetDefaults hydrates default values in the issue delete subscription params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteSubscriptionParams) SetHTTPClient ¶
func (o *IssueDeleteSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) SetIndex ¶
func (o *IssueDeleteSubscriptionParams) SetIndex(index int64)
SetIndex adds the index to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) SetOwner ¶
func (o *IssueDeleteSubscriptionParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) SetRepo ¶
func (o *IssueDeleteSubscriptionParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) SetTimeout ¶
func (o *IssueDeleteSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) SetUser ¶
func (o *IssueDeleteSubscriptionParams) SetUser(user string)
SetUser adds the user to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) WithContext ¶
func (o *IssueDeleteSubscriptionParams) WithContext(ctx context.Context) *IssueDeleteSubscriptionParams
WithContext adds the context to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) WithDefaults ¶
func (o *IssueDeleteSubscriptionParams) WithDefaults() *IssueDeleteSubscriptionParams
WithDefaults hydrates default values in the issue delete subscription params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteSubscriptionParams) WithHTTPClient ¶
func (o *IssueDeleteSubscriptionParams) WithHTTPClient(client *http.Client) *IssueDeleteSubscriptionParams
WithHTTPClient adds the HTTPClient to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) WithIndex ¶
func (o *IssueDeleteSubscriptionParams) WithIndex(index int64) *IssueDeleteSubscriptionParams
WithIndex adds the index to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) WithOwner ¶
func (o *IssueDeleteSubscriptionParams) WithOwner(owner string) *IssueDeleteSubscriptionParams
WithOwner adds the owner to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) WithRepo ¶
func (o *IssueDeleteSubscriptionParams) WithRepo(repo string) *IssueDeleteSubscriptionParams
WithRepo adds the repo to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) WithTimeout ¶
func (o *IssueDeleteSubscriptionParams) WithTimeout(timeout time.Duration) *IssueDeleteSubscriptionParams
WithTimeout adds the timeout to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) WithUser ¶
func (o *IssueDeleteSubscriptionParams) WithUser(user string) *IssueDeleteSubscriptionParams
WithUser adds the user to the issue delete subscription params
func (*IssueDeleteSubscriptionParams) WriteToRequest ¶
func (o *IssueDeleteSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteSubscriptionReader ¶
type IssueDeleteSubscriptionReader struct {
// contains filtered or unexported fields
}
IssueDeleteSubscriptionReader is a Reader for the IssueDeleteSubscription structure.
func (*IssueDeleteSubscriptionReader) ReadResponse ¶
func (o *IssueDeleteSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueDeleteTimeBadRequest ¶
IssueDeleteTimeBadRequest describes a response with status code 400, with default header values.
APIError is error format response
func NewIssueDeleteTimeBadRequest ¶
func NewIssueDeleteTimeBadRequest() *IssueDeleteTimeBadRequest
NewIssueDeleteTimeBadRequest creates a IssueDeleteTimeBadRequest with default headers values
func (*IssueDeleteTimeBadRequest) Code ¶
func (o *IssueDeleteTimeBadRequest) Code() int
Code gets the status code for the issue delete time bad request response
func (*IssueDeleteTimeBadRequest) Error ¶
func (o *IssueDeleteTimeBadRequest) Error() string
func (*IssueDeleteTimeBadRequest) IsClientError ¶
func (o *IssueDeleteTimeBadRequest) IsClientError() bool
IsClientError returns true when this issue delete time bad request response has a 4xx status code
func (*IssueDeleteTimeBadRequest) IsCode ¶
func (o *IssueDeleteTimeBadRequest) IsCode(code int) bool
IsCode returns true when this issue delete time bad request response a status code equal to that given
func (*IssueDeleteTimeBadRequest) IsRedirect ¶
func (o *IssueDeleteTimeBadRequest) IsRedirect() bool
IsRedirect returns true when this issue delete time bad request response has a 3xx status code
func (*IssueDeleteTimeBadRequest) IsServerError ¶
func (o *IssueDeleteTimeBadRequest) IsServerError() bool
IsServerError returns true when this issue delete time bad request response has a 5xx status code
func (*IssueDeleteTimeBadRequest) IsSuccess ¶
func (o *IssueDeleteTimeBadRequest) IsSuccess() bool
IsSuccess returns true when this issue delete time bad request response has a 2xx status code
func (*IssueDeleteTimeBadRequest) String ¶
func (o *IssueDeleteTimeBadRequest) String() string
type IssueDeleteTimeForbidden ¶
IssueDeleteTimeForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueDeleteTimeForbidden ¶
func NewIssueDeleteTimeForbidden() *IssueDeleteTimeForbidden
NewIssueDeleteTimeForbidden creates a IssueDeleteTimeForbidden with default headers values
func (*IssueDeleteTimeForbidden) Code ¶
func (o *IssueDeleteTimeForbidden) Code() int
Code gets the status code for the issue delete time forbidden response
func (*IssueDeleteTimeForbidden) Error ¶
func (o *IssueDeleteTimeForbidden) Error() string
func (*IssueDeleteTimeForbidden) IsClientError ¶
func (o *IssueDeleteTimeForbidden) IsClientError() bool
IsClientError returns true when this issue delete time forbidden response has a 4xx status code
func (*IssueDeleteTimeForbidden) IsCode ¶
func (o *IssueDeleteTimeForbidden) IsCode(code int) bool
IsCode returns true when this issue delete time forbidden response a status code equal to that given
func (*IssueDeleteTimeForbidden) IsRedirect ¶
func (o *IssueDeleteTimeForbidden) IsRedirect() bool
IsRedirect returns true when this issue delete time forbidden response has a 3xx status code
func (*IssueDeleteTimeForbidden) IsServerError ¶
func (o *IssueDeleteTimeForbidden) IsServerError() bool
IsServerError returns true when this issue delete time forbidden response has a 5xx status code
func (*IssueDeleteTimeForbidden) IsSuccess ¶
func (o *IssueDeleteTimeForbidden) IsSuccess() bool
IsSuccess returns true when this issue delete time forbidden response has a 2xx status code
func (*IssueDeleteTimeForbidden) String ¶
func (o *IssueDeleteTimeForbidden) String() string
type IssueDeleteTimeNoContent ¶
type IssueDeleteTimeNoContent struct { }
IssueDeleteTimeNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueDeleteTimeNoContent ¶
func NewIssueDeleteTimeNoContent() *IssueDeleteTimeNoContent
NewIssueDeleteTimeNoContent creates a IssueDeleteTimeNoContent with default headers values
func (*IssueDeleteTimeNoContent) Code ¶
func (o *IssueDeleteTimeNoContent) Code() int
Code gets the status code for the issue delete time no content response
func (*IssueDeleteTimeNoContent) Error ¶
func (o *IssueDeleteTimeNoContent) Error() string
func (*IssueDeleteTimeNoContent) IsClientError ¶
func (o *IssueDeleteTimeNoContent) IsClientError() bool
IsClientError returns true when this issue delete time no content response has a 4xx status code
func (*IssueDeleteTimeNoContent) IsCode ¶
func (o *IssueDeleteTimeNoContent) IsCode(code int) bool
IsCode returns true when this issue delete time no content response a status code equal to that given
func (*IssueDeleteTimeNoContent) IsRedirect ¶
func (o *IssueDeleteTimeNoContent) IsRedirect() bool
IsRedirect returns true when this issue delete time no content response has a 3xx status code
func (*IssueDeleteTimeNoContent) IsServerError ¶
func (o *IssueDeleteTimeNoContent) IsServerError() bool
IsServerError returns true when this issue delete time no content response has a 5xx status code
func (*IssueDeleteTimeNoContent) IsSuccess ¶
func (o *IssueDeleteTimeNoContent) IsSuccess() bool
IsSuccess returns true when this issue delete time no content response has a 2xx status code
func (*IssueDeleteTimeNoContent) String ¶
func (o *IssueDeleteTimeNoContent) String() string
type IssueDeleteTimeNotFound ¶
type IssueDeleteTimeNotFound struct { }
IssueDeleteTimeNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueDeleteTimeNotFound ¶
func NewIssueDeleteTimeNotFound() *IssueDeleteTimeNotFound
NewIssueDeleteTimeNotFound creates a IssueDeleteTimeNotFound with default headers values
func (*IssueDeleteTimeNotFound) Code ¶
func (o *IssueDeleteTimeNotFound) Code() int
Code gets the status code for the issue delete time not found response
func (*IssueDeleteTimeNotFound) Error ¶
func (o *IssueDeleteTimeNotFound) Error() string
func (*IssueDeleteTimeNotFound) IsClientError ¶
func (o *IssueDeleteTimeNotFound) IsClientError() bool
IsClientError returns true when this issue delete time not found response has a 4xx status code
func (*IssueDeleteTimeNotFound) IsCode ¶
func (o *IssueDeleteTimeNotFound) IsCode(code int) bool
IsCode returns true when this issue delete time not found response a status code equal to that given
func (*IssueDeleteTimeNotFound) IsRedirect ¶
func (o *IssueDeleteTimeNotFound) IsRedirect() bool
IsRedirect returns true when this issue delete time not found response has a 3xx status code
func (*IssueDeleteTimeNotFound) IsServerError ¶
func (o *IssueDeleteTimeNotFound) IsServerError() bool
IsServerError returns true when this issue delete time not found response has a 5xx status code
func (*IssueDeleteTimeNotFound) IsSuccess ¶
func (o *IssueDeleteTimeNotFound) IsSuccess() bool
IsSuccess returns true when this issue delete time not found response has a 2xx status code
func (*IssueDeleteTimeNotFound) String ¶
func (o *IssueDeleteTimeNotFound) String() string
type IssueDeleteTimeParams ¶
type IssueDeleteTimeParams struct { /* ID. id of time to delete Format: int64 */ ID int64 /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueDeleteTimeParams contains all the parameters to send to the API endpoint
for the issue delete time operation. Typically these are written to a http.Request.
func NewIssueDeleteTimeParams ¶
func NewIssueDeleteTimeParams() *IssueDeleteTimeParams
NewIssueDeleteTimeParams creates a new IssueDeleteTimeParams 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 NewIssueDeleteTimeParamsWithContext ¶
func NewIssueDeleteTimeParamsWithContext(ctx context.Context) *IssueDeleteTimeParams
NewIssueDeleteTimeParamsWithContext creates a new IssueDeleteTimeParams object with the ability to set a context for a request.
func NewIssueDeleteTimeParamsWithHTTPClient ¶
func NewIssueDeleteTimeParamsWithHTTPClient(client *http.Client) *IssueDeleteTimeParams
NewIssueDeleteTimeParamsWithHTTPClient creates a new IssueDeleteTimeParams object with the ability to set a custom HTTPClient for a request.
func NewIssueDeleteTimeParamsWithTimeout ¶
func NewIssueDeleteTimeParamsWithTimeout(timeout time.Duration) *IssueDeleteTimeParams
NewIssueDeleteTimeParamsWithTimeout creates a new IssueDeleteTimeParams object with the ability to set a timeout on a request.
func (*IssueDeleteTimeParams) SetContext ¶
func (o *IssueDeleteTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the issue delete time params
func (*IssueDeleteTimeParams) SetDefaults ¶
func (o *IssueDeleteTimeParams) SetDefaults()
SetDefaults hydrates default values in the issue delete time params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteTimeParams) SetHTTPClient ¶
func (o *IssueDeleteTimeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue delete time params
func (*IssueDeleteTimeParams) SetID ¶
func (o *IssueDeleteTimeParams) SetID(id int64)
SetID adds the id to the issue delete time params
func (*IssueDeleteTimeParams) SetIndex ¶
func (o *IssueDeleteTimeParams) SetIndex(index int64)
SetIndex adds the index to the issue delete time params
func (*IssueDeleteTimeParams) SetOwner ¶
func (o *IssueDeleteTimeParams) SetOwner(owner string)
SetOwner adds the owner to the issue delete time params
func (*IssueDeleteTimeParams) SetRepo ¶
func (o *IssueDeleteTimeParams) SetRepo(repo string)
SetRepo adds the repo to the issue delete time params
func (*IssueDeleteTimeParams) SetTimeout ¶
func (o *IssueDeleteTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue delete time params
func (*IssueDeleteTimeParams) WithContext ¶
func (o *IssueDeleteTimeParams) WithContext(ctx context.Context) *IssueDeleteTimeParams
WithContext adds the context to the issue delete time params
func (*IssueDeleteTimeParams) WithDefaults ¶
func (o *IssueDeleteTimeParams) WithDefaults() *IssueDeleteTimeParams
WithDefaults hydrates default values in the issue delete time params (not the query body).
All values with no default are reset to their zero value.
func (*IssueDeleteTimeParams) WithHTTPClient ¶
func (o *IssueDeleteTimeParams) WithHTTPClient(client *http.Client) *IssueDeleteTimeParams
WithHTTPClient adds the HTTPClient to the issue delete time params
func (*IssueDeleteTimeParams) WithID ¶
func (o *IssueDeleteTimeParams) WithID(id int64) *IssueDeleteTimeParams
WithID adds the id to the issue delete time params
func (*IssueDeleteTimeParams) WithIndex ¶
func (o *IssueDeleteTimeParams) WithIndex(index int64) *IssueDeleteTimeParams
WithIndex adds the index to the issue delete time params
func (*IssueDeleteTimeParams) WithOwner ¶
func (o *IssueDeleteTimeParams) WithOwner(owner string) *IssueDeleteTimeParams
WithOwner adds the owner to the issue delete time params
func (*IssueDeleteTimeParams) WithRepo ¶
func (o *IssueDeleteTimeParams) WithRepo(repo string) *IssueDeleteTimeParams
WithRepo adds the repo to the issue delete time params
func (*IssueDeleteTimeParams) WithTimeout ¶
func (o *IssueDeleteTimeParams) WithTimeout(timeout time.Duration) *IssueDeleteTimeParams
WithTimeout adds the timeout to the issue delete time params
func (*IssueDeleteTimeParams) WriteToRequest ¶
func (o *IssueDeleteTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueDeleteTimeReader ¶
type IssueDeleteTimeReader struct {
// contains filtered or unexported fields
}
IssueDeleteTimeReader is a Reader for the IssueDeleteTime structure.
func (*IssueDeleteTimeReader) ReadResponse ¶
func (o *IssueDeleteTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueEditCommentDeprecatedForbidden ¶
IssueEditCommentDeprecatedForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueEditCommentDeprecatedForbidden ¶
func NewIssueEditCommentDeprecatedForbidden() *IssueEditCommentDeprecatedForbidden
NewIssueEditCommentDeprecatedForbidden creates a IssueEditCommentDeprecatedForbidden with default headers values
func (*IssueEditCommentDeprecatedForbidden) Code ¶
func (o *IssueEditCommentDeprecatedForbidden) Code() int
Code gets the status code for the issue edit comment deprecated forbidden response
func (*IssueEditCommentDeprecatedForbidden) Error ¶
func (o *IssueEditCommentDeprecatedForbidden) Error() string
func (*IssueEditCommentDeprecatedForbidden) IsClientError ¶
func (o *IssueEditCommentDeprecatedForbidden) IsClientError() bool
IsClientError returns true when this issue edit comment deprecated forbidden response has a 4xx status code
func (*IssueEditCommentDeprecatedForbidden) IsCode ¶
func (o *IssueEditCommentDeprecatedForbidden) IsCode(code int) bool
IsCode returns true when this issue edit comment deprecated forbidden response a status code equal to that given
func (*IssueEditCommentDeprecatedForbidden) IsRedirect ¶
func (o *IssueEditCommentDeprecatedForbidden) IsRedirect() bool
IsRedirect returns true when this issue edit comment deprecated forbidden response has a 3xx status code
func (*IssueEditCommentDeprecatedForbidden) IsServerError ¶
func (o *IssueEditCommentDeprecatedForbidden) IsServerError() bool
IsServerError returns true when this issue edit comment deprecated forbidden response has a 5xx status code
func (*IssueEditCommentDeprecatedForbidden) IsSuccess ¶
func (o *IssueEditCommentDeprecatedForbidden) IsSuccess() bool
IsSuccess returns true when this issue edit comment deprecated forbidden response has a 2xx status code
func (*IssueEditCommentDeprecatedForbidden) String ¶
func (o *IssueEditCommentDeprecatedForbidden) String() string
type IssueEditCommentDeprecatedNoContent ¶
type IssueEditCommentDeprecatedNoContent struct { }
IssueEditCommentDeprecatedNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueEditCommentDeprecatedNoContent ¶
func NewIssueEditCommentDeprecatedNoContent() *IssueEditCommentDeprecatedNoContent
NewIssueEditCommentDeprecatedNoContent creates a IssueEditCommentDeprecatedNoContent with default headers values
func (*IssueEditCommentDeprecatedNoContent) Code ¶
func (o *IssueEditCommentDeprecatedNoContent) Code() int
Code gets the status code for the issue edit comment deprecated no content response
func (*IssueEditCommentDeprecatedNoContent) Error ¶
func (o *IssueEditCommentDeprecatedNoContent) Error() string
func (*IssueEditCommentDeprecatedNoContent) IsClientError ¶
func (o *IssueEditCommentDeprecatedNoContent) IsClientError() bool
IsClientError returns true when this issue edit comment deprecated no content response has a 4xx status code
func (*IssueEditCommentDeprecatedNoContent) IsCode ¶
func (o *IssueEditCommentDeprecatedNoContent) IsCode(code int) bool
IsCode returns true when this issue edit comment deprecated no content response a status code equal to that given
func (*IssueEditCommentDeprecatedNoContent) IsRedirect ¶
func (o *IssueEditCommentDeprecatedNoContent) IsRedirect() bool
IsRedirect returns true when this issue edit comment deprecated no content response has a 3xx status code
func (*IssueEditCommentDeprecatedNoContent) IsServerError ¶
func (o *IssueEditCommentDeprecatedNoContent) IsServerError() bool
IsServerError returns true when this issue edit comment deprecated no content response has a 5xx status code
func (*IssueEditCommentDeprecatedNoContent) IsSuccess ¶
func (o *IssueEditCommentDeprecatedNoContent) IsSuccess() bool
IsSuccess returns true when this issue edit comment deprecated no content response has a 2xx status code
func (*IssueEditCommentDeprecatedNoContent) String ¶
func (o *IssueEditCommentDeprecatedNoContent) String() string
type IssueEditCommentDeprecatedNotFound ¶
type IssueEditCommentDeprecatedNotFound struct { }
IssueEditCommentDeprecatedNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueEditCommentDeprecatedNotFound ¶
func NewIssueEditCommentDeprecatedNotFound() *IssueEditCommentDeprecatedNotFound
NewIssueEditCommentDeprecatedNotFound creates a IssueEditCommentDeprecatedNotFound with default headers values
func (*IssueEditCommentDeprecatedNotFound) Code ¶
func (o *IssueEditCommentDeprecatedNotFound) Code() int
Code gets the status code for the issue edit comment deprecated not found response
func (*IssueEditCommentDeprecatedNotFound) Error ¶
func (o *IssueEditCommentDeprecatedNotFound) Error() string
func (*IssueEditCommentDeprecatedNotFound) IsClientError ¶
func (o *IssueEditCommentDeprecatedNotFound) IsClientError() bool
IsClientError returns true when this issue edit comment deprecated not found response has a 4xx status code
func (*IssueEditCommentDeprecatedNotFound) IsCode ¶
func (o *IssueEditCommentDeprecatedNotFound) IsCode(code int) bool
IsCode returns true when this issue edit comment deprecated not found response a status code equal to that given
func (*IssueEditCommentDeprecatedNotFound) IsRedirect ¶
func (o *IssueEditCommentDeprecatedNotFound) IsRedirect() bool
IsRedirect returns true when this issue edit comment deprecated not found response has a 3xx status code
func (*IssueEditCommentDeprecatedNotFound) IsServerError ¶
func (o *IssueEditCommentDeprecatedNotFound) IsServerError() bool
IsServerError returns true when this issue edit comment deprecated not found response has a 5xx status code
func (*IssueEditCommentDeprecatedNotFound) IsSuccess ¶
func (o *IssueEditCommentDeprecatedNotFound) IsSuccess() bool
IsSuccess returns true when this issue edit comment deprecated not found response has a 2xx status code
func (*IssueEditCommentDeprecatedNotFound) String ¶
func (o *IssueEditCommentDeprecatedNotFound) String() string
type IssueEditCommentDeprecatedOK ¶
IssueEditCommentDeprecatedOK describes a response with status code 200, with default header values.
Comment
func NewIssueEditCommentDeprecatedOK ¶
func NewIssueEditCommentDeprecatedOK() *IssueEditCommentDeprecatedOK
NewIssueEditCommentDeprecatedOK creates a IssueEditCommentDeprecatedOK with default headers values
func (*IssueEditCommentDeprecatedOK) Code ¶
func (o *IssueEditCommentDeprecatedOK) Code() int
Code gets the status code for the issue edit comment deprecated o k response
func (*IssueEditCommentDeprecatedOK) Error ¶
func (o *IssueEditCommentDeprecatedOK) Error() string
func (*IssueEditCommentDeprecatedOK) GetPayload ¶
func (o *IssueEditCommentDeprecatedOK) GetPayload() *models.Comment
func (*IssueEditCommentDeprecatedOK) IsClientError ¶
func (o *IssueEditCommentDeprecatedOK) IsClientError() bool
IsClientError returns true when this issue edit comment deprecated o k response has a 4xx status code
func (*IssueEditCommentDeprecatedOK) IsCode ¶
func (o *IssueEditCommentDeprecatedOK) IsCode(code int) bool
IsCode returns true when this issue edit comment deprecated o k response a status code equal to that given
func (*IssueEditCommentDeprecatedOK) IsRedirect ¶
func (o *IssueEditCommentDeprecatedOK) IsRedirect() bool
IsRedirect returns true when this issue edit comment deprecated o k response has a 3xx status code
func (*IssueEditCommentDeprecatedOK) IsServerError ¶
func (o *IssueEditCommentDeprecatedOK) IsServerError() bool
IsServerError returns true when this issue edit comment deprecated o k response has a 5xx status code
func (*IssueEditCommentDeprecatedOK) IsSuccess ¶
func (o *IssueEditCommentDeprecatedOK) IsSuccess() bool
IsSuccess returns true when this issue edit comment deprecated o k response has a 2xx status code
func (*IssueEditCommentDeprecatedOK) String ¶
func (o *IssueEditCommentDeprecatedOK) String() string
type IssueEditCommentDeprecatedParams ¶
type IssueEditCommentDeprecatedParams struct { // Body. Body *models.EditIssueCommentOption /* ID. id of the comment to edit Format: int64 */ ID int64 /* Index. this parameter is ignored */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueEditCommentDeprecatedParams contains all the parameters to send to the API endpoint
for the issue edit comment deprecated operation. Typically these are written to a http.Request.
func NewIssueEditCommentDeprecatedParams ¶
func NewIssueEditCommentDeprecatedParams() *IssueEditCommentDeprecatedParams
NewIssueEditCommentDeprecatedParams creates a new IssueEditCommentDeprecatedParams 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 NewIssueEditCommentDeprecatedParamsWithContext ¶
func NewIssueEditCommentDeprecatedParamsWithContext(ctx context.Context) *IssueEditCommentDeprecatedParams
NewIssueEditCommentDeprecatedParamsWithContext creates a new IssueEditCommentDeprecatedParams object with the ability to set a context for a request.
func NewIssueEditCommentDeprecatedParamsWithHTTPClient ¶
func NewIssueEditCommentDeprecatedParamsWithHTTPClient(client *http.Client) *IssueEditCommentDeprecatedParams
NewIssueEditCommentDeprecatedParamsWithHTTPClient creates a new IssueEditCommentDeprecatedParams object with the ability to set a custom HTTPClient for a request.
func NewIssueEditCommentDeprecatedParamsWithTimeout ¶
func NewIssueEditCommentDeprecatedParamsWithTimeout(timeout time.Duration) *IssueEditCommentDeprecatedParams
NewIssueEditCommentDeprecatedParamsWithTimeout creates a new IssueEditCommentDeprecatedParams object with the ability to set a timeout on a request.
func (*IssueEditCommentDeprecatedParams) SetBody ¶
func (o *IssueEditCommentDeprecatedParams) SetBody(body *models.EditIssueCommentOption)
SetBody adds the body to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) SetContext ¶
func (o *IssueEditCommentDeprecatedParams) SetContext(ctx context.Context)
SetContext adds the context to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) SetDefaults ¶
func (o *IssueEditCommentDeprecatedParams) SetDefaults()
SetDefaults hydrates default values in the issue edit comment deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditCommentDeprecatedParams) SetHTTPClient ¶
func (o *IssueEditCommentDeprecatedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) SetID ¶
func (o *IssueEditCommentDeprecatedParams) SetID(id int64)
SetID adds the id to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) SetIndex ¶
func (o *IssueEditCommentDeprecatedParams) SetIndex(index int64)
SetIndex adds the index to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) SetOwner ¶
func (o *IssueEditCommentDeprecatedParams) SetOwner(owner string)
SetOwner adds the owner to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) SetRepo ¶
func (o *IssueEditCommentDeprecatedParams) SetRepo(repo string)
SetRepo adds the repo to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) SetTimeout ¶
func (o *IssueEditCommentDeprecatedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WithBody ¶
func (o *IssueEditCommentDeprecatedParams) WithBody(body *models.EditIssueCommentOption) *IssueEditCommentDeprecatedParams
WithBody adds the body to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WithContext ¶
func (o *IssueEditCommentDeprecatedParams) WithContext(ctx context.Context) *IssueEditCommentDeprecatedParams
WithContext adds the context to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WithDefaults ¶
func (o *IssueEditCommentDeprecatedParams) WithDefaults() *IssueEditCommentDeprecatedParams
WithDefaults hydrates default values in the issue edit comment deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditCommentDeprecatedParams) WithHTTPClient ¶
func (o *IssueEditCommentDeprecatedParams) WithHTTPClient(client *http.Client) *IssueEditCommentDeprecatedParams
WithHTTPClient adds the HTTPClient to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WithID ¶
func (o *IssueEditCommentDeprecatedParams) WithID(id int64) *IssueEditCommentDeprecatedParams
WithID adds the id to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WithIndex ¶
func (o *IssueEditCommentDeprecatedParams) WithIndex(index int64) *IssueEditCommentDeprecatedParams
WithIndex adds the index to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WithOwner ¶
func (o *IssueEditCommentDeprecatedParams) WithOwner(owner string) *IssueEditCommentDeprecatedParams
WithOwner adds the owner to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WithRepo ¶
func (o *IssueEditCommentDeprecatedParams) WithRepo(repo string) *IssueEditCommentDeprecatedParams
WithRepo adds the repo to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WithTimeout ¶
func (o *IssueEditCommentDeprecatedParams) WithTimeout(timeout time.Duration) *IssueEditCommentDeprecatedParams
WithTimeout adds the timeout to the issue edit comment deprecated params
func (*IssueEditCommentDeprecatedParams) WriteToRequest ¶
func (o *IssueEditCommentDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueEditCommentDeprecatedReader ¶
type IssueEditCommentDeprecatedReader struct {
// contains filtered or unexported fields
}
IssueEditCommentDeprecatedReader is a Reader for the IssueEditCommentDeprecated structure.
func (*IssueEditCommentDeprecatedReader) ReadResponse ¶
func (o *IssueEditCommentDeprecatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueEditCommentForbidden ¶
IssueEditCommentForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueEditCommentForbidden ¶
func NewIssueEditCommentForbidden() *IssueEditCommentForbidden
NewIssueEditCommentForbidden creates a IssueEditCommentForbidden with default headers values
func (*IssueEditCommentForbidden) Code ¶
func (o *IssueEditCommentForbidden) Code() int
Code gets the status code for the issue edit comment forbidden response
func (*IssueEditCommentForbidden) Error ¶
func (o *IssueEditCommentForbidden) Error() string
func (*IssueEditCommentForbidden) IsClientError ¶
func (o *IssueEditCommentForbidden) IsClientError() bool
IsClientError returns true when this issue edit comment forbidden response has a 4xx status code
func (*IssueEditCommentForbidden) IsCode ¶
func (o *IssueEditCommentForbidden) IsCode(code int) bool
IsCode returns true when this issue edit comment forbidden response a status code equal to that given
func (*IssueEditCommentForbidden) IsRedirect ¶
func (o *IssueEditCommentForbidden) IsRedirect() bool
IsRedirect returns true when this issue edit comment forbidden response has a 3xx status code
func (*IssueEditCommentForbidden) IsServerError ¶
func (o *IssueEditCommentForbidden) IsServerError() bool
IsServerError returns true when this issue edit comment forbidden response has a 5xx status code
func (*IssueEditCommentForbidden) IsSuccess ¶
func (o *IssueEditCommentForbidden) IsSuccess() bool
IsSuccess returns true when this issue edit comment forbidden response has a 2xx status code
func (*IssueEditCommentForbidden) String ¶
func (o *IssueEditCommentForbidden) String() string
type IssueEditCommentLocked ¶
IssueEditCommentLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueEditCommentLocked ¶
func NewIssueEditCommentLocked() *IssueEditCommentLocked
NewIssueEditCommentLocked creates a IssueEditCommentLocked with default headers values
func (*IssueEditCommentLocked) Code ¶
func (o *IssueEditCommentLocked) Code() int
Code gets the status code for the issue edit comment locked response
func (*IssueEditCommentLocked) Error ¶
func (o *IssueEditCommentLocked) Error() string
func (*IssueEditCommentLocked) IsClientError ¶
func (o *IssueEditCommentLocked) IsClientError() bool
IsClientError returns true when this issue edit comment locked response has a 4xx status code
func (*IssueEditCommentLocked) IsCode ¶
func (o *IssueEditCommentLocked) IsCode(code int) bool
IsCode returns true when this issue edit comment locked response a status code equal to that given
func (*IssueEditCommentLocked) IsRedirect ¶
func (o *IssueEditCommentLocked) IsRedirect() bool
IsRedirect returns true when this issue edit comment locked response has a 3xx status code
func (*IssueEditCommentLocked) IsServerError ¶
func (o *IssueEditCommentLocked) IsServerError() bool
IsServerError returns true when this issue edit comment locked response has a 5xx status code
func (*IssueEditCommentLocked) IsSuccess ¶
func (o *IssueEditCommentLocked) IsSuccess() bool
IsSuccess returns true when this issue edit comment locked response has a 2xx status code
func (*IssueEditCommentLocked) String ¶
func (o *IssueEditCommentLocked) String() string
type IssueEditCommentNoContent ¶
type IssueEditCommentNoContent struct { }
IssueEditCommentNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueEditCommentNoContent ¶
func NewIssueEditCommentNoContent() *IssueEditCommentNoContent
NewIssueEditCommentNoContent creates a IssueEditCommentNoContent with default headers values
func (*IssueEditCommentNoContent) Code ¶
func (o *IssueEditCommentNoContent) Code() int
Code gets the status code for the issue edit comment no content response
func (*IssueEditCommentNoContent) Error ¶
func (o *IssueEditCommentNoContent) Error() string
func (*IssueEditCommentNoContent) IsClientError ¶
func (o *IssueEditCommentNoContent) IsClientError() bool
IsClientError returns true when this issue edit comment no content response has a 4xx status code
func (*IssueEditCommentNoContent) IsCode ¶
func (o *IssueEditCommentNoContent) IsCode(code int) bool
IsCode returns true when this issue edit comment no content response a status code equal to that given
func (*IssueEditCommentNoContent) IsRedirect ¶
func (o *IssueEditCommentNoContent) IsRedirect() bool
IsRedirect returns true when this issue edit comment no content response has a 3xx status code
func (*IssueEditCommentNoContent) IsServerError ¶
func (o *IssueEditCommentNoContent) IsServerError() bool
IsServerError returns true when this issue edit comment no content response has a 5xx status code
func (*IssueEditCommentNoContent) IsSuccess ¶
func (o *IssueEditCommentNoContent) IsSuccess() bool
IsSuccess returns true when this issue edit comment no content response has a 2xx status code
func (*IssueEditCommentNoContent) String ¶
func (o *IssueEditCommentNoContent) String() string
type IssueEditCommentNotFound ¶
type IssueEditCommentNotFound struct { }
IssueEditCommentNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueEditCommentNotFound ¶
func NewIssueEditCommentNotFound() *IssueEditCommentNotFound
NewIssueEditCommentNotFound creates a IssueEditCommentNotFound with default headers values
func (*IssueEditCommentNotFound) Code ¶
func (o *IssueEditCommentNotFound) Code() int
Code gets the status code for the issue edit comment not found response
func (*IssueEditCommentNotFound) Error ¶
func (o *IssueEditCommentNotFound) Error() string
func (*IssueEditCommentNotFound) IsClientError ¶
func (o *IssueEditCommentNotFound) IsClientError() bool
IsClientError returns true when this issue edit comment not found response has a 4xx status code
func (*IssueEditCommentNotFound) IsCode ¶
func (o *IssueEditCommentNotFound) IsCode(code int) bool
IsCode returns true when this issue edit comment not found response a status code equal to that given
func (*IssueEditCommentNotFound) IsRedirect ¶
func (o *IssueEditCommentNotFound) IsRedirect() bool
IsRedirect returns true when this issue edit comment not found response has a 3xx status code
func (*IssueEditCommentNotFound) IsServerError ¶
func (o *IssueEditCommentNotFound) IsServerError() bool
IsServerError returns true when this issue edit comment not found response has a 5xx status code
func (*IssueEditCommentNotFound) IsSuccess ¶
func (o *IssueEditCommentNotFound) IsSuccess() bool
IsSuccess returns true when this issue edit comment not found response has a 2xx status code
func (*IssueEditCommentNotFound) String ¶
func (o *IssueEditCommentNotFound) String() string
type IssueEditCommentOK ¶
IssueEditCommentOK describes a response with status code 200, with default header values.
Comment
func NewIssueEditCommentOK ¶
func NewIssueEditCommentOK() *IssueEditCommentOK
NewIssueEditCommentOK creates a IssueEditCommentOK with default headers values
func (*IssueEditCommentOK) Code ¶
func (o *IssueEditCommentOK) Code() int
Code gets the status code for the issue edit comment o k response
func (*IssueEditCommentOK) Error ¶
func (o *IssueEditCommentOK) Error() string
func (*IssueEditCommentOK) GetPayload ¶
func (o *IssueEditCommentOK) GetPayload() *models.Comment
func (*IssueEditCommentOK) IsClientError ¶
func (o *IssueEditCommentOK) IsClientError() bool
IsClientError returns true when this issue edit comment o k response has a 4xx status code
func (*IssueEditCommentOK) IsCode ¶
func (o *IssueEditCommentOK) IsCode(code int) bool
IsCode returns true when this issue edit comment o k response a status code equal to that given
func (*IssueEditCommentOK) IsRedirect ¶
func (o *IssueEditCommentOK) IsRedirect() bool
IsRedirect returns true when this issue edit comment o k response has a 3xx status code
func (*IssueEditCommentOK) IsServerError ¶
func (o *IssueEditCommentOK) IsServerError() bool
IsServerError returns true when this issue edit comment o k response has a 5xx status code
func (*IssueEditCommentOK) IsSuccess ¶
func (o *IssueEditCommentOK) IsSuccess() bool
IsSuccess returns true when this issue edit comment o k response has a 2xx status code
func (*IssueEditCommentOK) String ¶
func (o *IssueEditCommentOK) String() string
type IssueEditCommentParams ¶
type IssueEditCommentParams struct { // Body. Body *models.EditIssueCommentOption /* ID. id of the comment to edit Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueEditCommentParams contains all the parameters to send to the API endpoint
for the issue edit comment operation. Typically these are written to a http.Request.
func NewIssueEditCommentParams ¶
func NewIssueEditCommentParams() *IssueEditCommentParams
NewIssueEditCommentParams creates a new IssueEditCommentParams 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 NewIssueEditCommentParamsWithContext ¶
func NewIssueEditCommentParamsWithContext(ctx context.Context) *IssueEditCommentParams
NewIssueEditCommentParamsWithContext creates a new IssueEditCommentParams object with the ability to set a context for a request.
func NewIssueEditCommentParamsWithHTTPClient ¶
func NewIssueEditCommentParamsWithHTTPClient(client *http.Client) *IssueEditCommentParams
NewIssueEditCommentParamsWithHTTPClient creates a new IssueEditCommentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueEditCommentParamsWithTimeout ¶
func NewIssueEditCommentParamsWithTimeout(timeout time.Duration) *IssueEditCommentParams
NewIssueEditCommentParamsWithTimeout creates a new IssueEditCommentParams object with the ability to set a timeout on a request.
func (*IssueEditCommentParams) SetBody ¶
func (o *IssueEditCommentParams) SetBody(body *models.EditIssueCommentOption)
SetBody adds the body to the issue edit comment params
func (*IssueEditCommentParams) SetContext ¶
func (o *IssueEditCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue edit comment params
func (*IssueEditCommentParams) SetDefaults ¶
func (o *IssueEditCommentParams) SetDefaults()
SetDefaults hydrates default values in the issue edit comment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditCommentParams) SetHTTPClient ¶
func (o *IssueEditCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue edit comment params
func (*IssueEditCommentParams) SetID ¶
func (o *IssueEditCommentParams) SetID(id int64)
SetID adds the id to the issue edit comment params
func (*IssueEditCommentParams) SetOwner ¶
func (o *IssueEditCommentParams) SetOwner(owner string)
SetOwner adds the owner to the issue edit comment params
func (*IssueEditCommentParams) SetRepo ¶
func (o *IssueEditCommentParams) SetRepo(repo string)
SetRepo adds the repo to the issue edit comment params
func (*IssueEditCommentParams) SetTimeout ¶
func (o *IssueEditCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue edit comment params
func (*IssueEditCommentParams) WithBody ¶
func (o *IssueEditCommentParams) WithBody(body *models.EditIssueCommentOption) *IssueEditCommentParams
WithBody adds the body to the issue edit comment params
func (*IssueEditCommentParams) WithContext ¶
func (o *IssueEditCommentParams) WithContext(ctx context.Context) *IssueEditCommentParams
WithContext adds the context to the issue edit comment params
func (*IssueEditCommentParams) WithDefaults ¶
func (o *IssueEditCommentParams) WithDefaults() *IssueEditCommentParams
WithDefaults hydrates default values in the issue edit comment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditCommentParams) WithHTTPClient ¶
func (o *IssueEditCommentParams) WithHTTPClient(client *http.Client) *IssueEditCommentParams
WithHTTPClient adds the HTTPClient to the issue edit comment params
func (*IssueEditCommentParams) WithID ¶
func (o *IssueEditCommentParams) WithID(id int64) *IssueEditCommentParams
WithID adds the id to the issue edit comment params
func (*IssueEditCommentParams) WithOwner ¶
func (o *IssueEditCommentParams) WithOwner(owner string) *IssueEditCommentParams
WithOwner adds the owner to the issue edit comment params
func (*IssueEditCommentParams) WithRepo ¶
func (o *IssueEditCommentParams) WithRepo(repo string) *IssueEditCommentParams
WithRepo adds the repo to the issue edit comment params
func (*IssueEditCommentParams) WithTimeout ¶
func (o *IssueEditCommentParams) WithTimeout(timeout time.Duration) *IssueEditCommentParams
WithTimeout adds the timeout to the issue edit comment params
func (*IssueEditCommentParams) WriteToRequest ¶
func (o *IssueEditCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueEditCommentReader ¶
type IssueEditCommentReader struct {
// contains filtered or unexported fields
}
IssueEditCommentReader is a Reader for the IssueEditComment structure.
func (*IssueEditCommentReader) ReadResponse ¶
func (o *IssueEditCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueEditIssueAttachmentCreated ¶
type IssueEditIssueAttachmentCreated struct {
Payload *models.Attachment
}
IssueEditIssueAttachmentCreated describes a response with status code 201, with default header values.
Attachment
func NewIssueEditIssueAttachmentCreated ¶
func NewIssueEditIssueAttachmentCreated() *IssueEditIssueAttachmentCreated
NewIssueEditIssueAttachmentCreated creates a IssueEditIssueAttachmentCreated with default headers values
func (*IssueEditIssueAttachmentCreated) Code ¶
func (o *IssueEditIssueAttachmentCreated) Code() int
Code gets the status code for the issue edit issue attachment created response
func (*IssueEditIssueAttachmentCreated) Error ¶
func (o *IssueEditIssueAttachmentCreated) Error() string
func (*IssueEditIssueAttachmentCreated) GetPayload ¶
func (o *IssueEditIssueAttachmentCreated) GetPayload() *models.Attachment
func (*IssueEditIssueAttachmentCreated) IsClientError ¶
func (o *IssueEditIssueAttachmentCreated) IsClientError() bool
IsClientError returns true when this issue edit issue attachment created response has a 4xx status code
func (*IssueEditIssueAttachmentCreated) IsCode ¶
func (o *IssueEditIssueAttachmentCreated) IsCode(code int) bool
IsCode returns true when this issue edit issue attachment created response a status code equal to that given
func (*IssueEditIssueAttachmentCreated) IsRedirect ¶
func (o *IssueEditIssueAttachmentCreated) IsRedirect() bool
IsRedirect returns true when this issue edit issue attachment created response has a 3xx status code
func (*IssueEditIssueAttachmentCreated) IsServerError ¶
func (o *IssueEditIssueAttachmentCreated) IsServerError() bool
IsServerError returns true when this issue edit issue attachment created response has a 5xx status code
func (*IssueEditIssueAttachmentCreated) IsSuccess ¶
func (o *IssueEditIssueAttachmentCreated) IsSuccess() bool
IsSuccess returns true when this issue edit issue attachment created response has a 2xx status code
func (*IssueEditIssueAttachmentCreated) String ¶
func (o *IssueEditIssueAttachmentCreated) String() string
type IssueEditIssueAttachmentLocked ¶
IssueEditIssueAttachmentLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueEditIssueAttachmentLocked ¶
func NewIssueEditIssueAttachmentLocked() *IssueEditIssueAttachmentLocked
NewIssueEditIssueAttachmentLocked creates a IssueEditIssueAttachmentLocked with default headers values
func (*IssueEditIssueAttachmentLocked) Code ¶
func (o *IssueEditIssueAttachmentLocked) Code() int
Code gets the status code for the issue edit issue attachment locked response
func (*IssueEditIssueAttachmentLocked) Error ¶
func (o *IssueEditIssueAttachmentLocked) Error() string
func (*IssueEditIssueAttachmentLocked) IsClientError ¶
func (o *IssueEditIssueAttachmentLocked) IsClientError() bool
IsClientError returns true when this issue edit issue attachment locked response has a 4xx status code
func (*IssueEditIssueAttachmentLocked) IsCode ¶
func (o *IssueEditIssueAttachmentLocked) IsCode(code int) bool
IsCode returns true when this issue edit issue attachment locked response a status code equal to that given
func (*IssueEditIssueAttachmentLocked) IsRedirect ¶
func (o *IssueEditIssueAttachmentLocked) IsRedirect() bool
IsRedirect returns true when this issue edit issue attachment locked response has a 3xx status code
func (*IssueEditIssueAttachmentLocked) IsServerError ¶
func (o *IssueEditIssueAttachmentLocked) IsServerError() bool
IsServerError returns true when this issue edit issue attachment locked response has a 5xx status code
func (*IssueEditIssueAttachmentLocked) IsSuccess ¶
func (o *IssueEditIssueAttachmentLocked) IsSuccess() bool
IsSuccess returns true when this issue edit issue attachment locked response has a 2xx status code
func (*IssueEditIssueAttachmentLocked) String ¶
func (o *IssueEditIssueAttachmentLocked) String() string
type IssueEditIssueAttachmentNotFound ¶
IssueEditIssueAttachmentNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueEditIssueAttachmentNotFound ¶
func NewIssueEditIssueAttachmentNotFound() *IssueEditIssueAttachmentNotFound
NewIssueEditIssueAttachmentNotFound creates a IssueEditIssueAttachmentNotFound with default headers values
func (*IssueEditIssueAttachmentNotFound) Code ¶
func (o *IssueEditIssueAttachmentNotFound) Code() int
Code gets the status code for the issue edit issue attachment not found response
func (*IssueEditIssueAttachmentNotFound) Error ¶
func (o *IssueEditIssueAttachmentNotFound) Error() string
func (*IssueEditIssueAttachmentNotFound) IsClientError ¶
func (o *IssueEditIssueAttachmentNotFound) IsClientError() bool
IsClientError returns true when this issue edit issue attachment not found response has a 4xx status code
func (*IssueEditIssueAttachmentNotFound) IsCode ¶
func (o *IssueEditIssueAttachmentNotFound) IsCode(code int) bool
IsCode returns true when this issue edit issue attachment not found response a status code equal to that given
func (*IssueEditIssueAttachmentNotFound) IsRedirect ¶
func (o *IssueEditIssueAttachmentNotFound) IsRedirect() bool
IsRedirect returns true when this issue edit issue attachment not found response has a 3xx status code
func (*IssueEditIssueAttachmentNotFound) IsServerError ¶
func (o *IssueEditIssueAttachmentNotFound) IsServerError() bool
IsServerError returns true when this issue edit issue attachment not found response has a 5xx status code
func (*IssueEditIssueAttachmentNotFound) IsSuccess ¶
func (o *IssueEditIssueAttachmentNotFound) IsSuccess() bool
IsSuccess returns true when this issue edit issue attachment not found response has a 2xx status code
func (*IssueEditIssueAttachmentNotFound) String ¶
func (o *IssueEditIssueAttachmentNotFound) String() string
type IssueEditIssueAttachmentParams ¶
type IssueEditIssueAttachmentParams struct { /* AttachmentID. id of the attachment to edit Format: int64 */ AttachmentID int64 // Body. Body *models.EditAttachmentOptions /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueEditIssueAttachmentParams contains all the parameters to send to the API endpoint
for the issue edit issue attachment operation. Typically these are written to a http.Request.
func NewIssueEditIssueAttachmentParams ¶
func NewIssueEditIssueAttachmentParams() *IssueEditIssueAttachmentParams
NewIssueEditIssueAttachmentParams creates a new IssueEditIssueAttachmentParams 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 NewIssueEditIssueAttachmentParamsWithContext ¶
func NewIssueEditIssueAttachmentParamsWithContext(ctx context.Context) *IssueEditIssueAttachmentParams
NewIssueEditIssueAttachmentParamsWithContext creates a new IssueEditIssueAttachmentParams object with the ability to set a context for a request.
func NewIssueEditIssueAttachmentParamsWithHTTPClient ¶
func NewIssueEditIssueAttachmentParamsWithHTTPClient(client *http.Client) *IssueEditIssueAttachmentParams
NewIssueEditIssueAttachmentParamsWithHTTPClient creates a new IssueEditIssueAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueEditIssueAttachmentParamsWithTimeout ¶
func NewIssueEditIssueAttachmentParamsWithTimeout(timeout time.Duration) *IssueEditIssueAttachmentParams
NewIssueEditIssueAttachmentParamsWithTimeout creates a new IssueEditIssueAttachmentParams object with the ability to set a timeout on a request.
func (*IssueEditIssueAttachmentParams) SetAttachmentID ¶
func (o *IssueEditIssueAttachmentParams) SetAttachmentID(attachmentID int64)
SetAttachmentID adds the attachmentId to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) SetBody ¶
func (o *IssueEditIssueAttachmentParams) SetBody(body *models.EditAttachmentOptions)
SetBody adds the body to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) SetContext ¶
func (o *IssueEditIssueAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) SetDefaults ¶
func (o *IssueEditIssueAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the issue edit issue attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditIssueAttachmentParams) SetHTTPClient ¶
func (o *IssueEditIssueAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) SetIndex ¶
func (o *IssueEditIssueAttachmentParams) SetIndex(index int64)
SetIndex adds the index to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) SetOwner ¶
func (o *IssueEditIssueAttachmentParams) SetOwner(owner string)
SetOwner adds the owner to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) SetRepo ¶
func (o *IssueEditIssueAttachmentParams) SetRepo(repo string)
SetRepo adds the repo to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) SetTimeout ¶
func (o *IssueEditIssueAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WithAttachmentID ¶
func (o *IssueEditIssueAttachmentParams) WithAttachmentID(attachmentID int64) *IssueEditIssueAttachmentParams
WithAttachmentID adds the attachmentID to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WithBody ¶
func (o *IssueEditIssueAttachmentParams) WithBody(body *models.EditAttachmentOptions) *IssueEditIssueAttachmentParams
WithBody adds the body to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WithContext ¶
func (o *IssueEditIssueAttachmentParams) WithContext(ctx context.Context) *IssueEditIssueAttachmentParams
WithContext adds the context to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WithDefaults ¶
func (o *IssueEditIssueAttachmentParams) WithDefaults() *IssueEditIssueAttachmentParams
WithDefaults hydrates default values in the issue edit issue attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditIssueAttachmentParams) WithHTTPClient ¶
func (o *IssueEditIssueAttachmentParams) WithHTTPClient(client *http.Client) *IssueEditIssueAttachmentParams
WithHTTPClient adds the HTTPClient to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WithIndex ¶
func (o *IssueEditIssueAttachmentParams) WithIndex(index int64) *IssueEditIssueAttachmentParams
WithIndex adds the index to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WithOwner ¶
func (o *IssueEditIssueAttachmentParams) WithOwner(owner string) *IssueEditIssueAttachmentParams
WithOwner adds the owner to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WithRepo ¶
func (o *IssueEditIssueAttachmentParams) WithRepo(repo string) *IssueEditIssueAttachmentParams
WithRepo adds the repo to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WithTimeout ¶
func (o *IssueEditIssueAttachmentParams) WithTimeout(timeout time.Duration) *IssueEditIssueAttachmentParams
WithTimeout adds the timeout to the issue edit issue attachment params
func (*IssueEditIssueAttachmentParams) WriteToRequest ¶
func (o *IssueEditIssueAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueEditIssueAttachmentReader ¶
type IssueEditIssueAttachmentReader struct {
// contains filtered or unexported fields
}
IssueEditIssueAttachmentReader is a Reader for the IssueEditIssueAttachment structure.
func (*IssueEditIssueAttachmentReader) ReadResponse ¶
func (o *IssueEditIssueAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueEditIssueCommentAttachmentCreated ¶
type IssueEditIssueCommentAttachmentCreated struct {
Payload *models.Attachment
}
IssueEditIssueCommentAttachmentCreated describes a response with status code 201, with default header values.
Attachment
func NewIssueEditIssueCommentAttachmentCreated ¶
func NewIssueEditIssueCommentAttachmentCreated() *IssueEditIssueCommentAttachmentCreated
NewIssueEditIssueCommentAttachmentCreated creates a IssueEditIssueCommentAttachmentCreated with default headers values
func (*IssueEditIssueCommentAttachmentCreated) Code ¶
func (o *IssueEditIssueCommentAttachmentCreated) Code() int
Code gets the status code for the issue edit issue comment attachment created response
func (*IssueEditIssueCommentAttachmentCreated) Error ¶
func (o *IssueEditIssueCommentAttachmentCreated) Error() string
func (*IssueEditIssueCommentAttachmentCreated) GetPayload ¶
func (o *IssueEditIssueCommentAttachmentCreated) GetPayload() *models.Attachment
func (*IssueEditIssueCommentAttachmentCreated) IsClientError ¶
func (o *IssueEditIssueCommentAttachmentCreated) IsClientError() bool
IsClientError returns true when this issue edit issue comment attachment created response has a 4xx status code
func (*IssueEditIssueCommentAttachmentCreated) IsCode ¶
func (o *IssueEditIssueCommentAttachmentCreated) IsCode(code int) bool
IsCode returns true when this issue edit issue comment attachment created response a status code equal to that given
func (*IssueEditIssueCommentAttachmentCreated) IsRedirect ¶
func (o *IssueEditIssueCommentAttachmentCreated) IsRedirect() bool
IsRedirect returns true when this issue edit issue comment attachment created response has a 3xx status code
func (*IssueEditIssueCommentAttachmentCreated) IsServerError ¶
func (o *IssueEditIssueCommentAttachmentCreated) IsServerError() bool
IsServerError returns true when this issue edit issue comment attachment created response has a 5xx status code
func (*IssueEditIssueCommentAttachmentCreated) IsSuccess ¶
func (o *IssueEditIssueCommentAttachmentCreated) IsSuccess() bool
IsSuccess returns true when this issue edit issue comment attachment created response has a 2xx status code
func (*IssueEditIssueCommentAttachmentCreated) String ¶
func (o *IssueEditIssueCommentAttachmentCreated) String() string
type IssueEditIssueCommentAttachmentLocked ¶
IssueEditIssueCommentAttachmentLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueEditIssueCommentAttachmentLocked ¶
func NewIssueEditIssueCommentAttachmentLocked() *IssueEditIssueCommentAttachmentLocked
NewIssueEditIssueCommentAttachmentLocked creates a IssueEditIssueCommentAttachmentLocked with default headers values
func (*IssueEditIssueCommentAttachmentLocked) Code ¶
func (o *IssueEditIssueCommentAttachmentLocked) Code() int
Code gets the status code for the issue edit issue comment attachment locked response
func (*IssueEditIssueCommentAttachmentLocked) Error ¶
func (o *IssueEditIssueCommentAttachmentLocked) Error() string
func (*IssueEditIssueCommentAttachmentLocked) IsClientError ¶
func (o *IssueEditIssueCommentAttachmentLocked) IsClientError() bool
IsClientError returns true when this issue edit issue comment attachment locked response has a 4xx status code
func (*IssueEditIssueCommentAttachmentLocked) IsCode ¶
func (o *IssueEditIssueCommentAttachmentLocked) IsCode(code int) bool
IsCode returns true when this issue edit issue comment attachment locked response a status code equal to that given
func (*IssueEditIssueCommentAttachmentLocked) IsRedirect ¶
func (o *IssueEditIssueCommentAttachmentLocked) IsRedirect() bool
IsRedirect returns true when this issue edit issue comment attachment locked response has a 3xx status code
func (*IssueEditIssueCommentAttachmentLocked) IsServerError ¶
func (o *IssueEditIssueCommentAttachmentLocked) IsServerError() bool
IsServerError returns true when this issue edit issue comment attachment locked response has a 5xx status code
func (*IssueEditIssueCommentAttachmentLocked) IsSuccess ¶
func (o *IssueEditIssueCommentAttachmentLocked) IsSuccess() bool
IsSuccess returns true when this issue edit issue comment attachment locked response has a 2xx status code
func (*IssueEditIssueCommentAttachmentLocked) String ¶
func (o *IssueEditIssueCommentAttachmentLocked) String() string
type IssueEditIssueCommentAttachmentNotFound ¶
IssueEditIssueCommentAttachmentNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueEditIssueCommentAttachmentNotFound ¶
func NewIssueEditIssueCommentAttachmentNotFound() *IssueEditIssueCommentAttachmentNotFound
NewIssueEditIssueCommentAttachmentNotFound creates a IssueEditIssueCommentAttachmentNotFound with default headers values
func (*IssueEditIssueCommentAttachmentNotFound) Code ¶
func (o *IssueEditIssueCommentAttachmentNotFound) Code() int
Code gets the status code for the issue edit issue comment attachment not found response
func (*IssueEditIssueCommentAttachmentNotFound) Error ¶
func (o *IssueEditIssueCommentAttachmentNotFound) Error() string
func (*IssueEditIssueCommentAttachmentNotFound) IsClientError ¶
func (o *IssueEditIssueCommentAttachmentNotFound) IsClientError() bool
IsClientError returns true when this issue edit issue comment attachment not found response has a 4xx status code
func (*IssueEditIssueCommentAttachmentNotFound) IsCode ¶
func (o *IssueEditIssueCommentAttachmentNotFound) IsCode(code int) bool
IsCode returns true when this issue edit issue comment attachment not found response a status code equal to that given
func (*IssueEditIssueCommentAttachmentNotFound) IsRedirect ¶
func (o *IssueEditIssueCommentAttachmentNotFound) IsRedirect() bool
IsRedirect returns true when this issue edit issue comment attachment not found response has a 3xx status code
func (*IssueEditIssueCommentAttachmentNotFound) IsServerError ¶
func (o *IssueEditIssueCommentAttachmentNotFound) IsServerError() bool
IsServerError returns true when this issue edit issue comment attachment not found response has a 5xx status code
func (*IssueEditIssueCommentAttachmentNotFound) IsSuccess ¶
func (o *IssueEditIssueCommentAttachmentNotFound) IsSuccess() bool
IsSuccess returns true when this issue edit issue comment attachment not found response has a 2xx status code
func (*IssueEditIssueCommentAttachmentNotFound) String ¶
func (o *IssueEditIssueCommentAttachmentNotFound) String() string
type IssueEditIssueCommentAttachmentParams ¶
type IssueEditIssueCommentAttachmentParams struct { /* AttachmentID. id of the attachment to edit Format: int64 */ AttachmentID int64 // Body. Body *models.EditAttachmentOptions /* ID. id of the comment Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueEditIssueCommentAttachmentParams contains all the parameters to send to the API endpoint
for the issue edit issue comment attachment operation. Typically these are written to a http.Request.
func NewIssueEditIssueCommentAttachmentParams ¶
func NewIssueEditIssueCommentAttachmentParams() *IssueEditIssueCommentAttachmentParams
NewIssueEditIssueCommentAttachmentParams creates a new IssueEditIssueCommentAttachmentParams 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 NewIssueEditIssueCommentAttachmentParamsWithContext ¶
func NewIssueEditIssueCommentAttachmentParamsWithContext(ctx context.Context) *IssueEditIssueCommentAttachmentParams
NewIssueEditIssueCommentAttachmentParamsWithContext creates a new IssueEditIssueCommentAttachmentParams object with the ability to set a context for a request.
func NewIssueEditIssueCommentAttachmentParamsWithHTTPClient ¶
func NewIssueEditIssueCommentAttachmentParamsWithHTTPClient(client *http.Client) *IssueEditIssueCommentAttachmentParams
NewIssueEditIssueCommentAttachmentParamsWithHTTPClient creates a new IssueEditIssueCommentAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueEditIssueCommentAttachmentParamsWithTimeout ¶
func NewIssueEditIssueCommentAttachmentParamsWithTimeout(timeout time.Duration) *IssueEditIssueCommentAttachmentParams
NewIssueEditIssueCommentAttachmentParamsWithTimeout creates a new IssueEditIssueCommentAttachmentParams object with the ability to set a timeout on a request.
func (*IssueEditIssueCommentAttachmentParams) SetAttachmentID ¶
func (o *IssueEditIssueCommentAttachmentParams) SetAttachmentID(attachmentID int64)
SetAttachmentID adds the attachmentId to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) SetBody ¶
func (o *IssueEditIssueCommentAttachmentParams) SetBody(body *models.EditAttachmentOptions)
SetBody adds the body to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) SetContext ¶
func (o *IssueEditIssueCommentAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) SetDefaults ¶
func (o *IssueEditIssueCommentAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the issue edit issue comment attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditIssueCommentAttachmentParams) SetHTTPClient ¶
func (o *IssueEditIssueCommentAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) SetID ¶
func (o *IssueEditIssueCommentAttachmentParams) SetID(id int64)
SetID adds the id to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) SetOwner ¶
func (o *IssueEditIssueCommentAttachmentParams) SetOwner(owner string)
SetOwner adds the owner to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) SetRepo ¶
func (o *IssueEditIssueCommentAttachmentParams) SetRepo(repo string)
SetRepo adds the repo to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) SetTimeout ¶
func (o *IssueEditIssueCommentAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WithAttachmentID ¶
func (o *IssueEditIssueCommentAttachmentParams) WithAttachmentID(attachmentID int64) *IssueEditIssueCommentAttachmentParams
WithAttachmentID adds the attachmentID to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WithBody ¶
func (o *IssueEditIssueCommentAttachmentParams) WithBody(body *models.EditAttachmentOptions) *IssueEditIssueCommentAttachmentParams
WithBody adds the body to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WithContext ¶
func (o *IssueEditIssueCommentAttachmentParams) WithContext(ctx context.Context) *IssueEditIssueCommentAttachmentParams
WithContext adds the context to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WithDefaults ¶
func (o *IssueEditIssueCommentAttachmentParams) WithDefaults() *IssueEditIssueCommentAttachmentParams
WithDefaults hydrates default values in the issue edit issue comment attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditIssueCommentAttachmentParams) WithHTTPClient ¶
func (o *IssueEditIssueCommentAttachmentParams) WithHTTPClient(client *http.Client) *IssueEditIssueCommentAttachmentParams
WithHTTPClient adds the HTTPClient to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WithID ¶
func (o *IssueEditIssueCommentAttachmentParams) WithID(id int64) *IssueEditIssueCommentAttachmentParams
WithID adds the id to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WithOwner ¶
func (o *IssueEditIssueCommentAttachmentParams) WithOwner(owner string) *IssueEditIssueCommentAttachmentParams
WithOwner adds the owner to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WithRepo ¶
func (o *IssueEditIssueCommentAttachmentParams) WithRepo(repo string) *IssueEditIssueCommentAttachmentParams
WithRepo adds the repo to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WithTimeout ¶
func (o *IssueEditIssueCommentAttachmentParams) WithTimeout(timeout time.Duration) *IssueEditIssueCommentAttachmentParams
WithTimeout adds the timeout to the issue edit issue comment attachment params
func (*IssueEditIssueCommentAttachmentParams) WriteToRequest ¶
func (o *IssueEditIssueCommentAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueEditIssueCommentAttachmentReader ¶
type IssueEditIssueCommentAttachmentReader struct {
// contains filtered or unexported fields
}
IssueEditIssueCommentAttachmentReader is a Reader for the IssueEditIssueCommentAttachment structure.
func (*IssueEditIssueCommentAttachmentReader) ReadResponse ¶
func (o *IssueEditIssueCommentAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueEditIssueCreated ¶
IssueEditIssueCreated describes a response with status code 201, with default header values.
Issue
func NewIssueEditIssueCreated ¶
func NewIssueEditIssueCreated() *IssueEditIssueCreated
NewIssueEditIssueCreated creates a IssueEditIssueCreated with default headers values
func (*IssueEditIssueCreated) Code ¶
func (o *IssueEditIssueCreated) Code() int
Code gets the status code for the issue edit issue created response
func (*IssueEditIssueCreated) Error ¶
func (o *IssueEditIssueCreated) Error() string
func (*IssueEditIssueCreated) GetPayload ¶
func (o *IssueEditIssueCreated) GetPayload() *models.Issue
func (*IssueEditIssueCreated) IsClientError ¶
func (o *IssueEditIssueCreated) IsClientError() bool
IsClientError returns true when this issue edit issue created response has a 4xx status code
func (*IssueEditIssueCreated) IsCode ¶
func (o *IssueEditIssueCreated) IsCode(code int) bool
IsCode returns true when this issue edit issue created response a status code equal to that given
func (*IssueEditIssueCreated) IsRedirect ¶
func (o *IssueEditIssueCreated) IsRedirect() bool
IsRedirect returns true when this issue edit issue created response has a 3xx status code
func (*IssueEditIssueCreated) IsServerError ¶
func (o *IssueEditIssueCreated) IsServerError() bool
IsServerError returns true when this issue edit issue created response has a 5xx status code
func (*IssueEditIssueCreated) IsSuccess ¶
func (o *IssueEditIssueCreated) IsSuccess() bool
IsSuccess returns true when this issue edit issue created response has a 2xx status code
func (*IssueEditIssueCreated) String ¶
func (o *IssueEditIssueCreated) String() string
type IssueEditIssueDeadlineCreated ¶
type IssueEditIssueDeadlineCreated struct {
Payload *models.IssueDeadline
}
IssueEditIssueDeadlineCreated describes a response with status code 201, with default header values.
IssueDeadline
func NewIssueEditIssueDeadlineCreated ¶
func NewIssueEditIssueDeadlineCreated() *IssueEditIssueDeadlineCreated
NewIssueEditIssueDeadlineCreated creates a IssueEditIssueDeadlineCreated with default headers values
func (*IssueEditIssueDeadlineCreated) Code ¶
func (o *IssueEditIssueDeadlineCreated) Code() int
Code gets the status code for the issue edit issue deadline created response
func (*IssueEditIssueDeadlineCreated) Error ¶
func (o *IssueEditIssueDeadlineCreated) Error() string
func (*IssueEditIssueDeadlineCreated) GetPayload ¶
func (o *IssueEditIssueDeadlineCreated) GetPayload() *models.IssueDeadline
func (*IssueEditIssueDeadlineCreated) IsClientError ¶
func (o *IssueEditIssueDeadlineCreated) IsClientError() bool
IsClientError returns true when this issue edit issue deadline created response has a 4xx status code
func (*IssueEditIssueDeadlineCreated) IsCode ¶
func (o *IssueEditIssueDeadlineCreated) IsCode(code int) bool
IsCode returns true when this issue edit issue deadline created response a status code equal to that given
func (*IssueEditIssueDeadlineCreated) IsRedirect ¶
func (o *IssueEditIssueDeadlineCreated) IsRedirect() bool
IsRedirect returns true when this issue edit issue deadline created response has a 3xx status code
func (*IssueEditIssueDeadlineCreated) IsServerError ¶
func (o *IssueEditIssueDeadlineCreated) IsServerError() bool
IsServerError returns true when this issue edit issue deadline created response has a 5xx status code
func (*IssueEditIssueDeadlineCreated) IsSuccess ¶
func (o *IssueEditIssueDeadlineCreated) IsSuccess() bool
IsSuccess returns true when this issue edit issue deadline created response has a 2xx status code
func (*IssueEditIssueDeadlineCreated) String ¶
func (o *IssueEditIssueDeadlineCreated) String() string
type IssueEditIssueDeadlineForbidden ¶
IssueEditIssueDeadlineForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueEditIssueDeadlineForbidden ¶
func NewIssueEditIssueDeadlineForbidden() *IssueEditIssueDeadlineForbidden
NewIssueEditIssueDeadlineForbidden creates a IssueEditIssueDeadlineForbidden with default headers values
func (*IssueEditIssueDeadlineForbidden) Code ¶
func (o *IssueEditIssueDeadlineForbidden) Code() int
Code gets the status code for the issue edit issue deadline forbidden response
func (*IssueEditIssueDeadlineForbidden) Error ¶
func (o *IssueEditIssueDeadlineForbidden) Error() string
func (*IssueEditIssueDeadlineForbidden) IsClientError ¶
func (o *IssueEditIssueDeadlineForbidden) IsClientError() bool
IsClientError returns true when this issue edit issue deadline forbidden response has a 4xx status code
func (*IssueEditIssueDeadlineForbidden) IsCode ¶
func (o *IssueEditIssueDeadlineForbidden) IsCode(code int) bool
IsCode returns true when this issue edit issue deadline forbidden response a status code equal to that given
func (*IssueEditIssueDeadlineForbidden) IsRedirect ¶
func (o *IssueEditIssueDeadlineForbidden) IsRedirect() bool
IsRedirect returns true when this issue edit issue deadline forbidden response has a 3xx status code
func (*IssueEditIssueDeadlineForbidden) IsServerError ¶
func (o *IssueEditIssueDeadlineForbidden) IsServerError() bool
IsServerError returns true when this issue edit issue deadline forbidden response has a 5xx status code
func (*IssueEditIssueDeadlineForbidden) IsSuccess ¶
func (o *IssueEditIssueDeadlineForbidden) IsSuccess() bool
IsSuccess returns true when this issue edit issue deadline forbidden response has a 2xx status code
func (*IssueEditIssueDeadlineForbidden) String ¶
func (o *IssueEditIssueDeadlineForbidden) String() string
type IssueEditIssueDeadlineNotFound ¶
type IssueEditIssueDeadlineNotFound struct { }
IssueEditIssueDeadlineNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueEditIssueDeadlineNotFound ¶
func NewIssueEditIssueDeadlineNotFound() *IssueEditIssueDeadlineNotFound
NewIssueEditIssueDeadlineNotFound creates a IssueEditIssueDeadlineNotFound with default headers values
func (*IssueEditIssueDeadlineNotFound) Code ¶
func (o *IssueEditIssueDeadlineNotFound) Code() int
Code gets the status code for the issue edit issue deadline not found response
func (*IssueEditIssueDeadlineNotFound) Error ¶
func (o *IssueEditIssueDeadlineNotFound) Error() string
func (*IssueEditIssueDeadlineNotFound) IsClientError ¶
func (o *IssueEditIssueDeadlineNotFound) IsClientError() bool
IsClientError returns true when this issue edit issue deadline not found response has a 4xx status code
func (*IssueEditIssueDeadlineNotFound) IsCode ¶
func (o *IssueEditIssueDeadlineNotFound) IsCode(code int) bool
IsCode returns true when this issue edit issue deadline not found response a status code equal to that given
func (*IssueEditIssueDeadlineNotFound) IsRedirect ¶
func (o *IssueEditIssueDeadlineNotFound) IsRedirect() bool
IsRedirect returns true when this issue edit issue deadline not found response has a 3xx status code
func (*IssueEditIssueDeadlineNotFound) IsServerError ¶
func (o *IssueEditIssueDeadlineNotFound) IsServerError() bool
IsServerError returns true when this issue edit issue deadline not found response has a 5xx status code
func (*IssueEditIssueDeadlineNotFound) IsSuccess ¶
func (o *IssueEditIssueDeadlineNotFound) IsSuccess() bool
IsSuccess returns true when this issue edit issue deadline not found response has a 2xx status code
func (*IssueEditIssueDeadlineNotFound) String ¶
func (o *IssueEditIssueDeadlineNotFound) String() string
type IssueEditIssueDeadlineParams ¶
type IssueEditIssueDeadlineParams struct { // Body. Body *models.EditDeadlineOption /* Index. index of the issue to create or update a deadline on Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueEditIssueDeadlineParams contains all the parameters to send to the API endpoint
for the issue edit issue deadline operation. Typically these are written to a http.Request.
func NewIssueEditIssueDeadlineParams ¶
func NewIssueEditIssueDeadlineParams() *IssueEditIssueDeadlineParams
NewIssueEditIssueDeadlineParams creates a new IssueEditIssueDeadlineParams 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 NewIssueEditIssueDeadlineParamsWithContext ¶
func NewIssueEditIssueDeadlineParamsWithContext(ctx context.Context) *IssueEditIssueDeadlineParams
NewIssueEditIssueDeadlineParamsWithContext creates a new IssueEditIssueDeadlineParams object with the ability to set a context for a request.
func NewIssueEditIssueDeadlineParamsWithHTTPClient ¶
func NewIssueEditIssueDeadlineParamsWithHTTPClient(client *http.Client) *IssueEditIssueDeadlineParams
NewIssueEditIssueDeadlineParamsWithHTTPClient creates a new IssueEditIssueDeadlineParams object with the ability to set a custom HTTPClient for a request.
func NewIssueEditIssueDeadlineParamsWithTimeout ¶
func NewIssueEditIssueDeadlineParamsWithTimeout(timeout time.Duration) *IssueEditIssueDeadlineParams
NewIssueEditIssueDeadlineParamsWithTimeout creates a new IssueEditIssueDeadlineParams object with the ability to set a timeout on a request.
func (*IssueEditIssueDeadlineParams) SetBody ¶
func (o *IssueEditIssueDeadlineParams) SetBody(body *models.EditDeadlineOption)
SetBody adds the body to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) SetContext ¶
func (o *IssueEditIssueDeadlineParams) SetContext(ctx context.Context)
SetContext adds the context to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) SetDefaults ¶
func (o *IssueEditIssueDeadlineParams) SetDefaults()
SetDefaults hydrates default values in the issue edit issue deadline params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditIssueDeadlineParams) SetHTTPClient ¶
func (o *IssueEditIssueDeadlineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) SetIndex ¶
func (o *IssueEditIssueDeadlineParams) SetIndex(index int64)
SetIndex adds the index to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) SetOwner ¶
func (o *IssueEditIssueDeadlineParams) SetOwner(owner string)
SetOwner adds the owner to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) SetRepo ¶
func (o *IssueEditIssueDeadlineParams) SetRepo(repo string)
SetRepo adds the repo to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) SetTimeout ¶
func (o *IssueEditIssueDeadlineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) WithBody ¶
func (o *IssueEditIssueDeadlineParams) WithBody(body *models.EditDeadlineOption) *IssueEditIssueDeadlineParams
WithBody adds the body to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) WithContext ¶
func (o *IssueEditIssueDeadlineParams) WithContext(ctx context.Context) *IssueEditIssueDeadlineParams
WithContext adds the context to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) WithDefaults ¶
func (o *IssueEditIssueDeadlineParams) WithDefaults() *IssueEditIssueDeadlineParams
WithDefaults hydrates default values in the issue edit issue deadline params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditIssueDeadlineParams) WithHTTPClient ¶
func (o *IssueEditIssueDeadlineParams) WithHTTPClient(client *http.Client) *IssueEditIssueDeadlineParams
WithHTTPClient adds the HTTPClient to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) WithIndex ¶
func (o *IssueEditIssueDeadlineParams) WithIndex(index int64) *IssueEditIssueDeadlineParams
WithIndex adds the index to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) WithOwner ¶
func (o *IssueEditIssueDeadlineParams) WithOwner(owner string) *IssueEditIssueDeadlineParams
WithOwner adds the owner to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) WithRepo ¶
func (o *IssueEditIssueDeadlineParams) WithRepo(repo string) *IssueEditIssueDeadlineParams
WithRepo adds the repo to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) WithTimeout ¶
func (o *IssueEditIssueDeadlineParams) WithTimeout(timeout time.Duration) *IssueEditIssueDeadlineParams
WithTimeout adds the timeout to the issue edit issue deadline params
func (*IssueEditIssueDeadlineParams) WriteToRequest ¶
func (o *IssueEditIssueDeadlineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueEditIssueDeadlineReader ¶
type IssueEditIssueDeadlineReader struct {
// contains filtered or unexported fields
}
IssueEditIssueDeadlineReader is a Reader for the IssueEditIssueDeadline structure.
func (*IssueEditIssueDeadlineReader) ReadResponse ¶
func (o *IssueEditIssueDeadlineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueEditIssueForbidden ¶
IssueEditIssueForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueEditIssueForbidden ¶
func NewIssueEditIssueForbidden() *IssueEditIssueForbidden
NewIssueEditIssueForbidden creates a IssueEditIssueForbidden with default headers values
func (*IssueEditIssueForbidden) Code ¶
func (o *IssueEditIssueForbidden) Code() int
Code gets the status code for the issue edit issue forbidden response
func (*IssueEditIssueForbidden) Error ¶
func (o *IssueEditIssueForbidden) Error() string
func (*IssueEditIssueForbidden) IsClientError ¶
func (o *IssueEditIssueForbidden) IsClientError() bool
IsClientError returns true when this issue edit issue forbidden response has a 4xx status code
func (*IssueEditIssueForbidden) IsCode ¶
func (o *IssueEditIssueForbidden) IsCode(code int) bool
IsCode returns true when this issue edit issue forbidden response a status code equal to that given
func (*IssueEditIssueForbidden) IsRedirect ¶
func (o *IssueEditIssueForbidden) IsRedirect() bool
IsRedirect returns true when this issue edit issue forbidden response has a 3xx status code
func (*IssueEditIssueForbidden) IsServerError ¶
func (o *IssueEditIssueForbidden) IsServerError() bool
IsServerError returns true when this issue edit issue forbidden response has a 5xx status code
func (*IssueEditIssueForbidden) IsSuccess ¶
func (o *IssueEditIssueForbidden) IsSuccess() bool
IsSuccess returns true when this issue edit issue forbidden response has a 2xx status code
func (*IssueEditIssueForbidden) String ¶
func (o *IssueEditIssueForbidden) String() string
type IssueEditIssueNotFound ¶
type IssueEditIssueNotFound struct { }
IssueEditIssueNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueEditIssueNotFound ¶
func NewIssueEditIssueNotFound() *IssueEditIssueNotFound
NewIssueEditIssueNotFound creates a IssueEditIssueNotFound with default headers values
func (*IssueEditIssueNotFound) Code ¶
func (o *IssueEditIssueNotFound) Code() int
Code gets the status code for the issue edit issue not found response
func (*IssueEditIssueNotFound) Error ¶
func (o *IssueEditIssueNotFound) Error() string
func (*IssueEditIssueNotFound) IsClientError ¶
func (o *IssueEditIssueNotFound) IsClientError() bool
IsClientError returns true when this issue edit issue not found response has a 4xx status code
func (*IssueEditIssueNotFound) IsCode ¶
func (o *IssueEditIssueNotFound) IsCode(code int) bool
IsCode returns true when this issue edit issue not found response a status code equal to that given
func (*IssueEditIssueNotFound) IsRedirect ¶
func (o *IssueEditIssueNotFound) IsRedirect() bool
IsRedirect returns true when this issue edit issue not found response has a 3xx status code
func (*IssueEditIssueNotFound) IsServerError ¶
func (o *IssueEditIssueNotFound) IsServerError() bool
IsServerError returns true when this issue edit issue not found response has a 5xx status code
func (*IssueEditIssueNotFound) IsSuccess ¶
func (o *IssueEditIssueNotFound) IsSuccess() bool
IsSuccess returns true when this issue edit issue not found response has a 2xx status code
func (*IssueEditIssueNotFound) String ¶
func (o *IssueEditIssueNotFound) String() string
type IssueEditIssueParams ¶
type IssueEditIssueParams struct { // Body. Body *models.EditIssueOption /* Index. index of the issue to edit Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueEditIssueParams contains all the parameters to send to the API endpoint
for the issue edit issue operation. Typically these are written to a http.Request.
func NewIssueEditIssueParams ¶
func NewIssueEditIssueParams() *IssueEditIssueParams
NewIssueEditIssueParams creates a new IssueEditIssueParams 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 NewIssueEditIssueParamsWithContext ¶
func NewIssueEditIssueParamsWithContext(ctx context.Context) *IssueEditIssueParams
NewIssueEditIssueParamsWithContext creates a new IssueEditIssueParams object with the ability to set a context for a request.
func NewIssueEditIssueParamsWithHTTPClient ¶
func NewIssueEditIssueParamsWithHTTPClient(client *http.Client) *IssueEditIssueParams
NewIssueEditIssueParamsWithHTTPClient creates a new IssueEditIssueParams object with the ability to set a custom HTTPClient for a request.
func NewIssueEditIssueParamsWithTimeout ¶
func NewIssueEditIssueParamsWithTimeout(timeout time.Duration) *IssueEditIssueParams
NewIssueEditIssueParamsWithTimeout creates a new IssueEditIssueParams object with the ability to set a timeout on a request.
func (*IssueEditIssueParams) SetBody ¶
func (o *IssueEditIssueParams) SetBody(body *models.EditIssueOption)
SetBody adds the body to the issue edit issue params
func (*IssueEditIssueParams) SetContext ¶
func (o *IssueEditIssueParams) SetContext(ctx context.Context)
SetContext adds the context to the issue edit issue params
func (*IssueEditIssueParams) SetDefaults ¶
func (o *IssueEditIssueParams) SetDefaults()
SetDefaults hydrates default values in the issue edit issue params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditIssueParams) SetHTTPClient ¶
func (o *IssueEditIssueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue edit issue params
func (*IssueEditIssueParams) SetIndex ¶
func (o *IssueEditIssueParams) SetIndex(index int64)
SetIndex adds the index to the issue edit issue params
func (*IssueEditIssueParams) SetOwner ¶
func (o *IssueEditIssueParams) SetOwner(owner string)
SetOwner adds the owner to the issue edit issue params
func (*IssueEditIssueParams) SetRepo ¶
func (o *IssueEditIssueParams) SetRepo(repo string)
SetRepo adds the repo to the issue edit issue params
func (*IssueEditIssueParams) SetTimeout ¶
func (o *IssueEditIssueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue edit issue params
func (*IssueEditIssueParams) WithBody ¶
func (o *IssueEditIssueParams) WithBody(body *models.EditIssueOption) *IssueEditIssueParams
WithBody adds the body to the issue edit issue params
func (*IssueEditIssueParams) WithContext ¶
func (o *IssueEditIssueParams) WithContext(ctx context.Context) *IssueEditIssueParams
WithContext adds the context to the issue edit issue params
func (*IssueEditIssueParams) WithDefaults ¶
func (o *IssueEditIssueParams) WithDefaults() *IssueEditIssueParams
WithDefaults hydrates default values in the issue edit issue params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditIssueParams) WithHTTPClient ¶
func (o *IssueEditIssueParams) WithHTTPClient(client *http.Client) *IssueEditIssueParams
WithHTTPClient adds the HTTPClient to the issue edit issue params
func (*IssueEditIssueParams) WithIndex ¶
func (o *IssueEditIssueParams) WithIndex(index int64) *IssueEditIssueParams
WithIndex adds the index to the issue edit issue params
func (*IssueEditIssueParams) WithOwner ¶
func (o *IssueEditIssueParams) WithOwner(owner string) *IssueEditIssueParams
WithOwner adds the owner to the issue edit issue params
func (*IssueEditIssueParams) WithRepo ¶
func (o *IssueEditIssueParams) WithRepo(repo string) *IssueEditIssueParams
WithRepo adds the repo to the issue edit issue params
func (*IssueEditIssueParams) WithTimeout ¶
func (o *IssueEditIssueParams) WithTimeout(timeout time.Duration) *IssueEditIssueParams
WithTimeout adds the timeout to the issue edit issue params
func (*IssueEditIssueParams) WriteToRequest ¶
func (o *IssueEditIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueEditIssuePreconditionFailed ¶
IssueEditIssuePreconditionFailed describes a response with status code 412, with default header values.
APIError is error format response
func NewIssueEditIssuePreconditionFailed ¶
func NewIssueEditIssuePreconditionFailed() *IssueEditIssuePreconditionFailed
NewIssueEditIssuePreconditionFailed creates a IssueEditIssuePreconditionFailed with default headers values
func (*IssueEditIssuePreconditionFailed) Code ¶
func (o *IssueEditIssuePreconditionFailed) Code() int
Code gets the status code for the issue edit issue precondition failed response
func (*IssueEditIssuePreconditionFailed) Error ¶
func (o *IssueEditIssuePreconditionFailed) Error() string
func (*IssueEditIssuePreconditionFailed) IsClientError ¶
func (o *IssueEditIssuePreconditionFailed) IsClientError() bool
IsClientError returns true when this issue edit issue precondition failed response has a 4xx status code
func (*IssueEditIssuePreconditionFailed) IsCode ¶
func (o *IssueEditIssuePreconditionFailed) IsCode(code int) bool
IsCode returns true when this issue edit issue precondition failed response a status code equal to that given
func (*IssueEditIssuePreconditionFailed) IsRedirect ¶
func (o *IssueEditIssuePreconditionFailed) IsRedirect() bool
IsRedirect returns true when this issue edit issue precondition failed response has a 3xx status code
func (*IssueEditIssuePreconditionFailed) IsServerError ¶
func (o *IssueEditIssuePreconditionFailed) IsServerError() bool
IsServerError returns true when this issue edit issue precondition failed response has a 5xx status code
func (*IssueEditIssuePreconditionFailed) IsSuccess ¶
func (o *IssueEditIssuePreconditionFailed) IsSuccess() bool
IsSuccess returns true when this issue edit issue precondition failed response has a 2xx status code
func (*IssueEditIssuePreconditionFailed) String ¶
func (o *IssueEditIssuePreconditionFailed) String() string
type IssueEditIssueReader ¶
type IssueEditIssueReader struct {
// contains filtered or unexported fields
}
IssueEditIssueReader is a Reader for the IssueEditIssue structure.
func (*IssueEditIssueReader) ReadResponse ¶
func (o *IssueEditIssueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueEditLabelNotFound ¶
type IssueEditLabelNotFound struct { }
IssueEditLabelNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueEditLabelNotFound ¶
func NewIssueEditLabelNotFound() *IssueEditLabelNotFound
NewIssueEditLabelNotFound creates a IssueEditLabelNotFound with default headers values
func (*IssueEditLabelNotFound) Code ¶
func (o *IssueEditLabelNotFound) Code() int
Code gets the status code for the issue edit label not found response
func (*IssueEditLabelNotFound) Error ¶
func (o *IssueEditLabelNotFound) Error() string
func (*IssueEditLabelNotFound) IsClientError ¶
func (o *IssueEditLabelNotFound) IsClientError() bool
IsClientError returns true when this issue edit label not found response has a 4xx status code
func (*IssueEditLabelNotFound) IsCode ¶
func (o *IssueEditLabelNotFound) IsCode(code int) bool
IsCode returns true when this issue edit label not found response a status code equal to that given
func (*IssueEditLabelNotFound) IsRedirect ¶
func (o *IssueEditLabelNotFound) IsRedirect() bool
IsRedirect returns true when this issue edit label not found response has a 3xx status code
func (*IssueEditLabelNotFound) IsServerError ¶
func (o *IssueEditLabelNotFound) IsServerError() bool
IsServerError returns true when this issue edit label not found response has a 5xx status code
func (*IssueEditLabelNotFound) IsSuccess ¶
func (o *IssueEditLabelNotFound) IsSuccess() bool
IsSuccess returns true when this issue edit label not found response has a 2xx status code
func (*IssueEditLabelNotFound) String ¶
func (o *IssueEditLabelNotFound) String() string
type IssueEditLabelOK ¶
IssueEditLabelOK describes a response with status code 200, with default header values.
Label
func NewIssueEditLabelOK ¶
func NewIssueEditLabelOK() *IssueEditLabelOK
NewIssueEditLabelOK creates a IssueEditLabelOK with default headers values
func (*IssueEditLabelOK) Code ¶
func (o *IssueEditLabelOK) Code() int
Code gets the status code for the issue edit label o k response
func (*IssueEditLabelOK) Error ¶
func (o *IssueEditLabelOK) Error() string
func (*IssueEditLabelOK) GetPayload ¶
func (o *IssueEditLabelOK) GetPayload() *models.Label
func (*IssueEditLabelOK) IsClientError ¶
func (o *IssueEditLabelOK) IsClientError() bool
IsClientError returns true when this issue edit label o k response has a 4xx status code
func (*IssueEditLabelOK) IsCode ¶
func (o *IssueEditLabelOK) IsCode(code int) bool
IsCode returns true when this issue edit label o k response a status code equal to that given
func (*IssueEditLabelOK) IsRedirect ¶
func (o *IssueEditLabelOK) IsRedirect() bool
IsRedirect returns true when this issue edit label o k response has a 3xx status code
func (*IssueEditLabelOK) IsServerError ¶
func (o *IssueEditLabelOK) IsServerError() bool
IsServerError returns true when this issue edit label o k response has a 5xx status code
func (*IssueEditLabelOK) IsSuccess ¶
func (o *IssueEditLabelOK) IsSuccess() bool
IsSuccess returns true when this issue edit label o k response has a 2xx status code
func (*IssueEditLabelOK) String ¶
func (o *IssueEditLabelOK) String() string
type IssueEditLabelParams ¶
type IssueEditLabelParams struct { // Body. Body *models.EditLabelOption /* ID. id of the label to edit Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueEditLabelParams contains all the parameters to send to the API endpoint
for the issue edit label operation. Typically these are written to a http.Request.
func NewIssueEditLabelParams ¶
func NewIssueEditLabelParams() *IssueEditLabelParams
NewIssueEditLabelParams creates a new IssueEditLabelParams 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 NewIssueEditLabelParamsWithContext ¶
func NewIssueEditLabelParamsWithContext(ctx context.Context) *IssueEditLabelParams
NewIssueEditLabelParamsWithContext creates a new IssueEditLabelParams object with the ability to set a context for a request.
func NewIssueEditLabelParamsWithHTTPClient ¶
func NewIssueEditLabelParamsWithHTTPClient(client *http.Client) *IssueEditLabelParams
NewIssueEditLabelParamsWithHTTPClient creates a new IssueEditLabelParams object with the ability to set a custom HTTPClient for a request.
func NewIssueEditLabelParamsWithTimeout ¶
func NewIssueEditLabelParamsWithTimeout(timeout time.Duration) *IssueEditLabelParams
NewIssueEditLabelParamsWithTimeout creates a new IssueEditLabelParams object with the ability to set a timeout on a request.
func (*IssueEditLabelParams) SetBody ¶
func (o *IssueEditLabelParams) SetBody(body *models.EditLabelOption)
SetBody adds the body to the issue edit label params
func (*IssueEditLabelParams) SetContext ¶
func (o *IssueEditLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the issue edit label params
func (*IssueEditLabelParams) SetDefaults ¶
func (o *IssueEditLabelParams) SetDefaults()
SetDefaults hydrates default values in the issue edit label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditLabelParams) SetHTTPClient ¶
func (o *IssueEditLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue edit label params
func (*IssueEditLabelParams) SetID ¶
func (o *IssueEditLabelParams) SetID(id int64)
SetID adds the id to the issue edit label params
func (*IssueEditLabelParams) SetOwner ¶
func (o *IssueEditLabelParams) SetOwner(owner string)
SetOwner adds the owner to the issue edit label params
func (*IssueEditLabelParams) SetRepo ¶
func (o *IssueEditLabelParams) SetRepo(repo string)
SetRepo adds the repo to the issue edit label params
func (*IssueEditLabelParams) SetTimeout ¶
func (o *IssueEditLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue edit label params
func (*IssueEditLabelParams) WithBody ¶
func (o *IssueEditLabelParams) WithBody(body *models.EditLabelOption) *IssueEditLabelParams
WithBody adds the body to the issue edit label params
func (*IssueEditLabelParams) WithContext ¶
func (o *IssueEditLabelParams) WithContext(ctx context.Context) *IssueEditLabelParams
WithContext adds the context to the issue edit label params
func (*IssueEditLabelParams) WithDefaults ¶
func (o *IssueEditLabelParams) WithDefaults() *IssueEditLabelParams
WithDefaults hydrates default values in the issue edit label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditLabelParams) WithHTTPClient ¶
func (o *IssueEditLabelParams) WithHTTPClient(client *http.Client) *IssueEditLabelParams
WithHTTPClient adds the HTTPClient to the issue edit label params
func (*IssueEditLabelParams) WithID ¶
func (o *IssueEditLabelParams) WithID(id int64) *IssueEditLabelParams
WithID adds the id to the issue edit label params
func (*IssueEditLabelParams) WithOwner ¶
func (o *IssueEditLabelParams) WithOwner(owner string) *IssueEditLabelParams
WithOwner adds the owner to the issue edit label params
func (*IssueEditLabelParams) WithRepo ¶
func (o *IssueEditLabelParams) WithRepo(repo string) *IssueEditLabelParams
WithRepo adds the repo to the issue edit label params
func (*IssueEditLabelParams) WithTimeout ¶
func (o *IssueEditLabelParams) WithTimeout(timeout time.Duration) *IssueEditLabelParams
WithTimeout adds the timeout to the issue edit label params
func (*IssueEditLabelParams) WriteToRequest ¶
func (o *IssueEditLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueEditLabelReader ¶
type IssueEditLabelReader struct {
// contains filtered or unexported fields
}
IssueEditLabelReader is a Reader for the IssueEditLabel structure.
func (*IssueEditLabelReader) ReadResponse ¶
func (o *IssueEditLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueEditLabelUnprocessableEntity ¶
IssueEditLabelUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewIssueEditLabelUnprocessableEntity ¶
func NewIssueEditLabelUnprocessableEntity() *IssueEditLabelUnprocessableEntity
NewIssueEditLabelUnprocessableEntity creates a IssueEditLabelUnprocessableEntity with default headers values
func (*IssueEditLabelUnprocessableEntity) Code ¶
func (o *IssueEditLabelUnprocessableEntity) Code() int
Code gets the status code for the issue edit label unprocessable entity response
func (*IssueEditLabelUnprocessableEntity) Error ¶
func (o *IssueEditLabelUnprocessableEntity) Error() string
func (*IssueEditLabelUnprocessableEntity) IsClientError ¶
func (o *IssueEditLabelUnprocessableEntity) IsClientError() bool
IsClientError returns true when this issue edit label unprocessable entity response has a 4xx status code
func (*IssueEditLabelUnprocessableEntity) IsCode ¶
func (o *IssueEditLabelUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this issue edit label unprocessable entity response a status code equal to that given
func (*IssueEditLabelUnprocessableEntity) IsRedirect ¶
func (o *IssueEditLabelUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this issue edit label unprocessable entity response has a 3xx status code
func (*IssueEditLabelUnprocessableEntity) IsServerError ¶
func (o *IssueEditLabelUnprocessableEntity) IsServerError() bool
IsServerError returns true when this issue edit label unprocessable entity response has a 5xx status code
func (*IssueEditLabelUnprocessableEntity) IsSuccess ¶
func (o *IssueEditLabelUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this issue edit label unprocessable entity response has a 2xx status code
func (*IssueEditLabelUnprocessableEntity) String ¶
func (o *IssueEditLabelUnprocessableEntity) String() string
type IssueEditMilestoneNotFound ¶
type IssueEditMilestoneNotFound struct { }
IssueEditMilestoneNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueEditMilestoneNotFound ¶
func NewIssueEditMilestoneNotFound() *IssueEditMilestoneNotFound
NewIssueEditMilestoneNotFound creates a IssueEditMilestoneNotFound with default headers values
func (*IssueEditMilestoneNotFound) Code ¶
func (o *IssueEditMilestoneNotFound) Code() int
Code gets the status code for the issue edit milestone not found response
func (*IssueEditMilestoneNotFound) Error ¶
func (o *IssueEditMilestoneNotFound) Error() string
func (*IssueEditMilestoneNotFound) IsClientError ¶
func (o *IssueEditMilestoneNotFound) IsClientError() bool
IsClientError returns true when this issue edit milestone not found response has a 4xx status code
func (*IssueEditMilestoneNotFound) IsCode ¶
func (o *IssueEditMilestoneNotFound) IsCode(code int) bool
IsCode returns true when this issue edit milestone not found response a status code equal to that given
func (*IssueEditMilestoneNotFound) IsRedirect ¶
func (o *IssueEditMilestoneNotFound) IsRedirect() bool
IsRedirect returns true when this issue edit milestone not found response has a 3xx status code
func (*IssueEditMilestoneNotFound) IsServerError ¶
func (o *IssueEditMilestoneNotFound) IsServerError() bool
IsServerError returns true when this issue edit milestone not found response has a 5xx status code
func (*IssueEditMilestoneNotFound) IsSuccess ¶
func (o *IssueEditMilestoneNotFound) IsSuccess() bool
IsSuccess returns true when this issue edit milestone not found response has a 2xx status code
func (*IssueEditMilestoneNotFound) String ¶
func (o *IssueEditMilestoneNotFound) String() string
type IssueEditMilestoneOK ¶
IssueEditMilestoneOK describes a response with status code 200, with default header values.
Milestone
func NewIssueEditMilestoneOK ¶
func NewIssueEditMilestoneOK() *IssueEditMilestoneOK
NewIssueEditMilestoneOK creates a IssueEditMilestoneOK with default headers values
func (*IssueEditMilestoneOK) Code ¶
func (o *IssueEditMilestoneOK) Code() int
Code gets the status code for the issue edit milestone o k response
func (*IssueEditMilestoneOK) Error ¶
func (o *IssueEditMilestoneOK) Error() string
func (*IssueEditMilestoneOK) GetPayload ¶
func (o *IssueEditMilestoneOK) GetPayload() *models.Milestone
func (*IssueEditMilestoneOK) IsClientError ¶
func (o *IssueEditMilestoneOK) IsClientError() bool
IsClientError returns true when this issue edit milestone o k response has a 4xx status code
func (*IssueEditMilestoneOK) IsCode ¶
func (o *IssueEditMilestoneOK) IsCode(code int) bool
IsCode returns true when this issue edit milestone o k response a status code equal to that given
func (*IssueEditMilestoneOK) IsRedirect ¶
func (o *IssueEditMilestoneOK) IsRedirect() bool
IsRedirect returns true when this issue edit milestone o k response has a 3xx status code
func (*IssueEditMilestoneOK) IsServerError ¶
func (o *IssueEditMilestoneOK) IsServerError() bool
IsServerError returns true when this issue edit milestone o k response has a 5xx status code
func (*IssueEditMilestoneOK) IsSuccess ¶
func (o *IssueEditMilestoneOK) IsSuccess() bool
IsSuccess returns true when this issue edit milestone o k response has a 2xx status code
func (*IssueEditMilestoneOK) String ¶
func (o *IssueEditMilestoneOK) String() string
type IssueEditMilestoneParams ¶
type IssueEditMilestoneParams struct { // Body. Body *models.EditMilestoneOption /* ID. the milestone to edit, identified by ID and if not available by name */ ID string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueEditMilestoneParams contains all the parameters to send to the API endpoint
for the issue edit milestone operation. Typically these are written to a http.Request.
func NewIssueEditMilestoneParams ¶
func NewIssueEditMilestoneParams() *IssueEditMilestoneParams
NewIssueEditMilestoneParams creates a new IssueEditMilestoneParams 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 NewIssueEditMilestoneParamsWithContext ¶
func NewIssueEditMilestoneParamsWithContext(ctx context.Context) *IssueEditMilestoneParams
NewIssueEditMilestoneParamsWithContext creates a new IssueEditMilestoneParams object with the ability to set a context for a request.
func NewIssueEditMilestoneParamsWithHTTPClient ¶
func NewIssueEditMilestoneParamsWithHTTPClient(client *http.Client) *IssueEditMilestoneParams
NewIssueEditMilestoneParamsWithHTTPClient creates a new IssueEditMilestoneParams object with the ability to set a custom HTTPClient for a request.
func NewIssueEditMilestoneParamsWithTimeout ¶
func NewIssueEditMilestoneParamsWithTimeout(timeout time.Duration) *IssueEditMilestoneParams
NewIssueEditMilestoneParamsWithTimeout creates a new IssueEditMilestoneParams object with the ability to set a timeout on a request.
func (*IssueEditMilestoneParams) SetBody ¶
func (o *IssueEditMilestoneParams) SetBody(body *models.EditMilestoneOption)
SetBody adds the body to the issue edit milestone params
func (*IssueEditMilestoneParams) SetContext ¶
func (o *IssueEditMilestoneParams) SetContext(ctx context.Context)
SetContext adds the context to the issue edit milestone params
func (*IssueEditMilestoneParams) SetDefaults ¶
func (o *IssueEditMilestoneParams) SetDefaults()
SetDefaults hydrates default values in the issue edit milestone params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditMilestoneParams) SetHTTPClient ¶
func (o *IssueEditMilestoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue edit milestone params
func (*IssueEditMilestoneParams) SetID ¶
func (o *IssueEditMilestoneParams) SetID(id string)
SetID adds the id to the issue edit milestone params
func (*IssueEditMilestoneParams) SetOwner ¶
func (o *IssueEditMilestoneParams) SetOwner(owner string)
SetOwner adds the owner to the issue edit milestone params
func (*IssueEditMilestoneParams) SetRepo ¶
func (o *IssueEditMilestoneParams) SetRepo(repo string)
SetRepo adds the repo to the issue edit milestone params
func (*IssueEditMilestoneParams) SetTimeout ¶
func (o *IssueEditMilestoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue edit milestone params
func (*IssueEditMilestoneParams) WithBody ¶
func (o *IssueEditMilestoneParams) WithBody(body *models.EditMilestoneOption) *IssueEditMilestoneParams
WithBody adds the body to the issue edit milestone params
func (*IssueEditMilestoneParams) WithContext ¶
func (o *IssueEditMilestoneParams) WithContext(ctx context.Context) *IssueEditMilestoneParams
WithContext adds the context to the issue edit milestone params
func (*IssueEditMilestoneParams) WithDefaults ¶
func (o *IssueEditMilestoneParams) WithDefaults() *IssueEditMilestoneParams
WithDefaults hydrates default values in the issue edit milestone params (not the query body).
All values with no default are reset to their zero value.
func (*IssueEditMilestoneParams) WithHTTPClient ¶
func (o *IssueEditMilestoneParams) WithHTTPClient(client *http.Client) *IssueEditMilestoneParams
WithHTTPClient adds the HTTPClient to the issue edit milestone params
func (*IssueEditMilestoneParams) WithID ¶
func (o *IssueEditMilestoneParams) WithID(id string) *IssueEditMilestoneParams
WithID adds the id to the issue edit milestone params
func (*IssueEditMilestoneParams) WithOwner ¶
func (o *IssueEditMilestoneParams) WithOwner(owner string) *IssueEditMilestoneParams
WithOwner adds the owner to the issue edit milestone params
func (*IssueEditMilestoneParams) WithRepo ¶
func (o *IssueEditMilestoneParams) WithRepo(repo string) *IssueEditMilestoneParams
WithRepo adds the repo to the issue edit milestone params
func (*IssueEditMilestoneParams) WithTimeout ¶
func (o *IssueEditMilestoneParams) WithTimeout(timeout time.Duration) *IssueEditMilestoneParams
WithTimeout adds the timeout to the issue edit milestone params
func (*IssueEditMilestoneParams) WriteToRequest ¶
func (o *IssueEditMilestoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueEditMilestoneReader ¶
type IssueEditMilestoneReader struct {
// contains filtered or unexported fields
}
IssueEditMilestoneReader is a Reader for the IssueEditMilestone structure.
func (*IssueEditMilestoneReader) ReadResponse ¶
func (o *IssueEditMilestoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetCommentForbidden ¶
IssueGetCommentForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueGetCommentForbidden ¶
func NewIssueGetCommentForbidden() *IssueGetCommentForbidden
NewIssueGetCommentForbidden creates a IssueGetCommentForbidden with default headers values
func (*IssueGetCommentForbidden) Code ¶
func (o *IssueGetCommentForbidden) Code() int
Code gets the status code for the issue get comment forbidden response
func (*IssueGetCommentForbidden) Error ¶
func (o *IssueGetCommentForbidden) Error() string
func (*IssueGetCommentForbidden) IsClientError ¶
func (o *IssueGetCommentForbidden) IsClientError() bool
IsClientError returns true when this issue get comment forbidden response has a 4xx status code
func (*IssueGetCommentForbidden) IsCode ¶
func (o *IssueGetCommentForbidden) IsCode(code int) bool
IsCode returns true when this issue get comment forbidden response a status code equal to that given
func (*IssueGetCommentForbidden) IsRedirect ¶
func (o *IssueGetCommentForbidden) IsRedirect() bool
IsRedirect returns true when this issue get comment forbidden response has a 3xx status code
func (*IssueGetCommentForbidden) IsServerError ¶
func (o *IssueGetCommentForbidden) IsServerError() bool
IsServerError returns true when this issue get comment forbidden response has a 5xx status code
func (*IssueGetCommentForbidden) IsSuccess ¶
func (o *IssueGetCommentForbidden) IsSuccess() bool
IsSuccess returns true when this issue get comment forbidden response has a 2xx status code
func (*IssueGetCommentForbidden) String ¶
func (o *IssueGetCommentForbidden) String() string
type IssueGetCommentNoContent ¶
type IssueGetCommentNoContent struct { }
IssueGetCommentNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueGetCommentNoContent ¶
func NewIssueGetCommentNoContent() *IssueGetCommentNoContent
NewIssueGetCommentNoContent creates a IssueGetCommentNoContent with default headers values
func (*IssueGetCommentNoContent) Code ¶
func (o *IssueGetCommentNoContent) Code() int
Code gets the status code for the issue get comment no content response
func (*IssueGetCommentNoContent) Error ¶
func (o *IssueGetCommentNoContent) Error() string
func (*IssueGetCommentNoContent) IsClientError ¶
func (o *IssueGetCommentNoContent) IsClientError() bool
IsClientError returns true when this issue get comment no content response has a 4xx status code
func (*IssueGetCommentNoContent) IsCode ¶
func (o *IssueGetCommentNoContent) IsCode(code int) bool
IsCode returns true when this issue get comment no content response a status code equal to that given
func (*IssueGetCommentNoContent) IsRedirect ¶
func (o *IssueGetCommentNoContent) IsRedirect() bool
IsRedirect returns true when this issue get comment no content response has a 3xx status code
func (*IssueGetCommentNoContent) IsServerError ¶
func (o *IssueGetCommentNoContent) IsServerError() bool
IsServerError returns true when this issue get comment no content response has a 5xx status code
func (*IssueGetCommentNoContent) IsSuccess ¶
func (o *IssueGetCommentNoContent) IsSuccess() bool
IsSuccess returns true when this issue get comment no content response has a 2xx status code
func (*IssueGetCommentNoContent) String ¶
func (o *IssueGetCommentNoContent) String() string
type IssueGetCommentNotFound ¶
type IssueGetCommentNotFound struct { }
IssueGetCommentNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetCommentNotFound ¶
func NewIssueGetCommentNotFound() *IssueGetCommentNotFound
NewIssueGetCommentNotFound creates a IssueGetCommentNotFound with default headers values
func (*IssueGetCommentNotFound) Code ¶
func (o *IssueGetCommentNotFound) Code() int
Code gets the status code for the issue get comment not found response
func (*IssueGetCommentNotFound) Error ¶
func (o *IssueGetCommentNotFound) Error() string
func (*IssueGetCommentNotFound) IsClientError ¶
func (o *IssueGetCommentNotFound) IsClientError() bool
IsClientError returns true when this issue get comment not found response has a 4xx status code
func (*IssueGetCommentNotFound) IsCode ¶
func (o *IssueGetCommentNotFound) IsCode(code int) bool
IsCode returns true when this issue get comment not found response a status code equal to that given
func (*IssueGetCommentNotFound) IsRedirect ¶
func (o *IssueGetCommentNotFound) IsRedirect() bool
IsRedirect returns true when this issue get comment not found response has a 3xx status code
func (*IssueGetCommentNotFound) IsServerError ¶
func (o *IssueGetCommentNotFound) IsServerError() bool
IsServerError returns true when this issue get comment not found response has a 5xx status code
func (*IssueGetCommentNotFound) IsSuccess ¶
func (o *IssueGetCommentNotFound) IsSuccess() bool
IsSuccess returns true when this issue get comment not found response has a 2xx status code
func (*IssueGetCommentNotFound) String ¶
func (o *IssueGetCommentNotFound) String() string
type IssueGetCommentOK ¶
IssueGetCommentOK describes a response with status code 200, with default header values.
Comment
func NewIssueGetCommentOK ¶
func NewIssueGetCommentOK() *IssueGetCommentOK
NewIssueGetCommentOK creates a IssueGetCommentOK with default headers values
func (*IssueGetCommentOK) Code ¶
func (o *IssueGetCommentOK) Code() int
Code gets the status code for the issue get comment o k response
func (*IssueGetCommentOK) Error ¶
func (o *IssueGetCommentOK) Error() string
func (*IssueGetCommentOK) GetPayload ¶
func (o *IssueGetCommentOK) GetPayload() *models.Comment
func (*IssueGetCommentOK) IsClientError ¶
func (o *IssueGetCommentOK) IsClientError() bool
IsClientError returns true when this issue get comment o k response has a 4xx status code
func (*IssueGetCommentOK) IsCode ¶
func (o *IssueGetCommentOK) IsCode(code int) bool
IsCode returns true when this issue get comment o k response a status code equal to that given
func (*IssueGetCommentOK) IsRedirect ¶
func (o *IssueGetCommentOK) IsRedirect() bool
IsRedirect returns true when this issue get comment o k response has a 3xx status code
func (*IssueGetCommentOK) IsServerError ¶
func (o *IssueGetCommentOK) IsServerError() bool
IsServerError returns true when this issue get comment o k response has a 5xx status code
func (*IssueGetCommentOK) IsSuccess ¶
func (o *IssueGetCommentOK) IsSuccess() bool
IsSuccess returns true when this issue get comment o k response has a 2xx status code
func (*IssueGetCommentOK) String ¶
func (o *IssueGetCommentOK) String() string
type IssueGetCommentParams ¶
type IssueGetCommentParams struct { /* ID. id of the comment Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetCommentParams contains all the parameters to send to the API endpoint
for the issue get comment operation. Typically these are written to a http.Request.
func NewIssueGetCommentParams ¶
func NewIssueGetCommentParams() *IssueGetCommentParams
NewIssueGetCommentParams creates a new IssueGetCommentParams 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 NewIssueGetCommentParamsWithContext ¶
func NewIssueGetCommentParamsWithContext(ctx context.Context) *IssueGetCommentParams
NewIssueGetCommentParamsWithContext creates a new IssueGetCommentParams object with the ability to set a context for a request.
func NewIssueGetCommentParamsWithHTTPClient ¶
func NewIssueGetCommentParamsWithHTTPClient(client *http.Client) *IssueGetCommentParams
NewIssueGetCommentParamsWithHTTPClient creates a new IssueGetCommentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetCommentParamsWithTimeout ¶
func NewIssueGetCommentParamsWithTimeout(timeout time.Duration) *IssueGetCommentParams
NewIssueGetCommentParamsWithTimeout creates a new IssueGetCommentParams object with the ability to set a timeout on a request.
func (*IssueGetCommentParams) SetContext ¶
func (o *IssueGetCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get comment params
func (*IssueGetCommentParams) SetDefaults ¶
func (o *IssueGetCommentParams) SetDefaults()
SetDefaults hydrates default values in the issue get comment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetCommentParams) SetHTTPClient ¶
func (o *IssueGetCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get comment params
func (*IssueGetCommentParams) SetID ¶
func (o *IssueGetCommentParams) SetID(id int64)
SetID adds the id to the issue get comment params
func (*IssueGetCommentParams) SetOwner ¶
func (o *IssueGetCommentParams) SetOwner(owner string)
SetOwner adds the owner to the issue get comment params
func (*IssueGetCommentParams) SetRepo ¶
func (o *IssueGetCommentParams) SetRepo(repo string)
SetRepo adds the repo to the issue get comment params
func (*IssueGetCommentParams) SetTimeout ¶
func (o *IssueGetCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get comment params
func (*IssueGetCommentParams) WithContext ¶
func (o *IssueGetCommentParams) WithContext(ctx context.Context) *IssueGetCommentParams
WithContext adds the context to the issue get comment params
func (*IssueGetCommentParams) WithDefaults ¶
func (o *IssueGetCommentParams) WithDefaults() *IssueGetCommentParams
WithDefaults hydrates default values in the issue get comment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetCommentParams) WithHTTPClient ¶
func (o *IssueGetCommentParams) WithHTTPClient(client *http.Client) *IssueGetCommentParams
WithHTTPClient adds the HTTPClient to the issue get comment params
func (*IssueGetCommentParams) WithID ¶
func (o *IssueGetCommentParams) WithID(id int64) *IssueGetCommentParams
WithID adds the id to the issue get comment params
func (*IssueGetCommentParams) WithOwner ¶
func (o *IssueGetCommentParams) WithOwner(owner string) *IssueGetCommentParams
WithOwner adds the owner to the issue get comment params
func (*IssueGetCommentParams) WithRepo ¶
func (o *IssueGetCommentParams) WithRepo(repo string) *IssueGetCommentParams
WithRepo adds the repo to the issue get comment params
func (*IssueGetCommentParams) WithTimeout ¶
func (o *IssueGetCommentParams) WithTimeout(timeout time.Duration) *IssueGetCommentParams
WithTimeout adds the timeout to the issue get comment params
func (*IssueGetCommentParams) WriteToRequest ¶
func (o *IssueGetCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetCommentReactionsForbidden ¶
IssueGetCommentReactionsForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueGetCommentReactionsForbidden ¶
func NewIssueGetCommentReactionsForbidden() *IssueGetCommentReactionsForbidden
NewIssueGetCommentReactionsForbidden creates a IssueGetCommentReactionsForbidden with default headers values
func (*IssueGetCommentReactionsForbidden) Code ¶
func (o *IssueGetCommentReactionsForbidden) Code() int
Code gets the status code for the issue get comment reactions forbidden response
func (*IssueGetCommentReactionsForbidden) Error ¶
func (o *IssueGetCommentReactionsForbidden) Error() string
func (*IssueGetCommentReactionsForbidden) IsClientError ¶
func (o *IssueGetCommentReactionsForbidden) IsClientError() bool
IsClientError returns true when this issue get comment reactions forbidden response has a 4xx status code
func (*IssueGetCommentReactionsForbidden) IsCode ¶
func (o *IssueGetCommentReactionsForbidden) IsCode(code int) bool
IsCode returns true when this issue get comment reactions forbidden response a status code equal to that given
func (*IssueGetCommentReactionsForbidden) IsRedirect ¶
func (o *IssueGetCommentReactionsForbidden) IsRedirect() bool
IsRedirect returns true when this issue get comment reactions forbidden response has a 3xx status code
func (*IssueGetCommentReactionsForbidden) IsServerError ¶
func (o *IssueGetCommentReactionsForbidden) IsServerError() bool
IsServerError returns true when this issue get comment reactions forbidden response has a 5xx status code
func (*IssueGetCommentReactionsForbidden) IsSuccess ¶
func (o *IssueGetCommentReactionsForbidden) IsSuccess() bool
IsSuccess returns true when this issue get comment reactions forbidden response has a 2xx status code
func (*IssueGetCommentReactionsForbidden) String ¶
func (o *IssueGetCommentReactionsForbidden) String() string
type IssueGetCommentReactionsNotFound ¶
type IssueGetCommentReactionsNotFound struct { }
IssueGetCommentReactionsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetCommentReactionsNotFound ¶
func NewIssueGetCommentReactionsNotFound() *IssueGetCommentReactionsNotFound
NewIssueGetCommentReactionsNotFound creates a IssueGetCommentReactionsNotFound with default headers values
func (*IssueGetCommentReactionsNotFound) Code ¶
func (o *IssueGetCommentReactionsNotFound) Code() int
Code gets the status code for the issue get comment reactions not found response
func (*IssueGetCommentReactionsNotFound) Error ¶
func (o *IssueGetCommentReactionsNotFound) Error() string
func (*IssueGetCommentReactionsNotFound) IsClientError ¶
func (o *IssueGetCommentReactionsNotFound) IsClientError() bool
IsClientError returns true when this issue get comment reactions not found response has a 4xx status code
func (*IssueGetCommentReactionsNotFound) IsCode ¶
func (o *IssueGetCommentReactionsNotFound) IsCode(code int) bool
IsCode returns true when this issue get comment reactions not found response a status code equal to that given
func (*IssueGetCommentReactionsNotFound) IsRedirect ¶
func (o *IssueGetCommentReactionsNotFound) IsRedirect() bool
IsRedirect returns true when this issue get comment reactions not found response has a 3xx status code
func (*IssueGetCommentReactionsNotFound) IsServerError ¶
func (o *IssueGetCommentReactionsNotFound) IsServerError() bool
IsServerError returns true when this issue get comment reactions not found response has a 5xx status code
func (*IssueGetCommentReactionsNotFound) IsSuccess ¶
func (o *IssueGetCommentReactionsNotFound) IsSuccess() bool
IsSuccess returns true when this issue get comment reactions not found response has a 2xx status code
func (*IssueGetCommentReactionsNotFound) String ¶
func (o *IssueGetCommentReactionsNotFound) String() string
type IssueGetCommentReactionsOK ¶
IssueGetCommentReactionsOK describes a response with status code 200, with default header values.
ReactionList
func NewIssueGetCommentReactionsOK ¶
func NewIssueGetCommentReactionsOK() *IssueGetCommentReactionsOK
NewIssueGetCommentReactionsOK creates a IssueGetCommentReactionsOK with default headers values
func (*IssueGetCommentReactionsOK) Code ¶
func (o *IssueGetCommentReactionsOK) Code() int
Code gets the status code for the issue get comment reactions o k response
func (*IssueGetCommentReactionsOK) Error ¶
func (o *IssueGetCommentReactionsOK) Error() string
func (*IssueGetCommentReactionsOK) GetPayload ¶
func (o *IssueGetCommentReactionsOK) GetPayload() []*models.Reaction
func (*IssueGetCommentReactionsOK) IsClientError ¶
func (o *IssueGetCommentReactionsOK) IsClientError() bool
IsClientError returns true when this issue get comment reactions o k response has a 4xx status code
func (*IssueGetCommentReactionsOK) IsCode ¶
func (o *IssueGetCommentReactionsOK) IsCode(code int) bool
IsCode returns true when this issue get comment reactions o k response a status code equal to that given
func (*IssueGetCommentReactionsOK) IsRedirect ¶
func (o *IssueGetCommentReactionsOK) IsRedirect() bool
IsRedirect returns true when this issue get comment reactions o k response has a 3xx status code
func (*IssueGetCommentReactionsOK) IsServerError ¶
func (o *IssueGetCommentReactionsOK) IsServerError() bool
IsServerError returns true when this issue get comment reactions o k response has a 5xx status code
func (*IssueGetCommentReactionsOK) IsSuccess ¶
func (o *IssueGetCommentReactionsOK) IsSuccess() bool
IsSuccess returns true when this issue get comment reactions o k response has a 2xx status code
func (*IssueGetCommentReactionsOK) String ¶
func (o *IssueGetCommentReactionsOK) String() string
type IssueGetCommentReactionsParams ¶
type IssueGetCommentReactionsParams struct { /* ID. id of the comment to edit Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetCommentReactionsParams contains all the parameters to send to the API endpoint
for the issue get comment reactions operation. Typically these are written to a http.Request.
func NewIssueGetCommentReactionsParams ¶
func NewIssueGetCommentReactionsParams() *IssueGetCommentReactionsParams
NewIssueGetCommentReactionsParams creates a new IssueGetCommentReactionsParams 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 NewIssueGetCommentReactionsParamsWithContext ¶
func NewIssueGetCommentReactionsParamsWithContext(ctx context.Context) *IssueGetCommentReactionsParams
NewIssueGetCommentReactionsParamsWithContext creates a new IssueGetCommentReactionsParams object with the ability to set a context for a request.
func NewIssueGetCommentReactionsParamsWithHTTPClient ¶
func NewIssueGetCommentReactionsParamsWithHTTPClient(client *http.Client) *IssueGetCommentReactionsParams
NewIssueGetCommentReactionsParamsWithHTTPClient creates a new IssueGetCommentReactionsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetCommentReactionsParamsWithTimeout ¶
func NewIssueGetCommentReactionsParamsWithTimeout(timeout time.Duration) *IssueGetCommentReactionsParams
NewIssueGetCommentReactionsParamsWithTimeout creates a new IssueGetCommentReactionsParams object with the ability to set a timeout on a request.
func (*IssueGetCommentReactionsParams) SetContext ¶
func (o *IssueGetCommentReactionsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) SetDefaults ¶
func (o *IssueGetCommentReactionsParams) SetDefaults()
SetDefaults hydrates default values in the issue get comment reactions params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetCommentReactionsParams) SetHTTPClient ¶
func (o *IssueGetCommentReactionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) SetID ¶
func (o *IssueGetCommentReactionsParams) SetID(id int64)
SetID adds the id to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) SetOwner ¶
func (o *IssueGetCommentReactionsParams) SetOwner(owner string)
SetOwner adds the owner to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) SetRepo ¶
func (o *IssueGetCommentReactionsParams) SetRepo(repo string)
SetRepo adds the repo to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) SetTimeout ¶
func (o *IssueGetCommentReactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) WithContext ¶
func (o *IssueGetCommentReactionsParams) WithContext(ctx context.Context) *IssueGetCommentReactionsParams
WithContext adds the context to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) WithDefaults ¶
func (o *IssueGetCommentReactionsParams) WithDefaults() *IssueGetCommentReactionsParams
WithDefaults hydrates default values in the issue get comment reactions params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetCommentReactionsParams) WithHTTPClient ¶
func (o *IssueGetCommentReactionsParams) WithHTTPClient(client *http.Client) *IssueGetCommentReactionsParams
WithHTTPClient adds the HTTPClient to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) WithID ¶
func (o *IssueGetCommentReactionsParams) WithID(id int64) *IssueGetCommentReactionsParams
WithID adds the id to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) WithOwner ¶
func (o *IssueGetCommentReactionsParams) WithOwner(owner string) *IssueGetCommentReactionsParams
WithOwner adds the owner to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) WithRepo ¶
func (o *IssueGetCommentReactionsParams) WithRepo(repo string) *IssueGetCommentReactionsParams
WithRepo adds the repo to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) WithTimeout ¶
func (o *IssueGetCommentReactionsParams) WithTimeout(timeout time.Duration) *IssueGetCommentReactionsParams
WithTimeout adds the timeout to the issue get comment reactions params
func (*IssueGetCommentReactionsParams) WriteToRequest ¶
func (o *IssueGetCommentReactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetCommentReactionsReader ¶
type IssueGetCommentReactionsReader struct {
// contains filtered or unexported fields
}
IssueGetCommentReactionsReader is a Reader for the IssueGetCommentReactions structure.
func (*IssueGetCommentReactionsReader) ReadResponse ¶
func (o *IssueGetCommentReactionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetCommentReader ¶
type IssueGetCommentReader struct {
// contains filtered or unexported fields
}
IssueGetCommentReader is a Reader for the IssueGetComment structure.
func (*IssueGetCommentReader) ReadResponse ¶
func (o *IssueGetCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetCommentsAndTimelineNotFound ¶
type IssueGetCommentsAndTimelineNotFound struct { }
IssueGetCommentsAndTimelineNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetCommentsAndTimelineNotFound ¶
func NewIssueGetCommentsAndTimelineNotFound() *IssueGetCommentsAndTimelineNotFound
NewIssueGetCommentsAndTimelineNotFound creates a IssueGetCommentsAndTimelineNotFound with default headers values
func (*IssueGetCommentsAndTimelineNotFound) Code ¶
func (o *IssueGetCommentsAndTimelineNotFound) Code() int
Code gets the status code for the issue get comments and timeline not found response
func (*IssueGetCommentsAndTimelineNotFound) Error ¶
func (o *IssueGetCommentsAndTimelineNotFound) Error() string
func (*IssueGetCommentsAndTimelineNotFound) IsClientError ¶
func (o *IssueGetCommentsAndTimelineNotFound) IsClientError() bool
IsClientError returns true when this issue get comments and timeline not found response has a 4xx status code
func (*IssueGetCommentsAndTimelineNotFound) IsCode ¶
func (o *IssueGetCommentsAndTimelineNotFound) IsCode(code int) bool
IsCode returns true when this issue get comments and timeline not found response a status code equal to that given
func (*IssueGetCommentsAndTimelineNotFound) IsRedirect ¶
func (o *IssueGetCommentsAndTimelineNotFound) IsRedirect() bool
IsRedirect returns true when this issue get comments and timeline not found response has a 3xx status code
func (*IssueGetCommentsAndTimelineNotFound) IsServerError ¶
func (o *IssueGetCommentsAndTimelineNotFound) IsServerError() bool
IsServerError returns true when this issue get comments and timeline not found response has a 5xx status code
func (*IssueGetCommentsAndTimelineNotFound) IsSuccess ¶
func (o *IssueGetCommentsAndTimelineNotFound) IsSuccess() bool
IsSuccess returns true when this issue get comments and timeline not found response has a 2xx status code
func (*IssueGetCommentsAndTimelineNotFound) String ¶
func (o *IssueGetCommentsAndTimelineNotFound) String() string
type IssueGetCommentsAndTimelineOK ¶
type IssueGetCommentsAndTimelineOK struct {
Payload []*models.TimelineComment
}
IssueGetCommentsAndTimelineOK describes a response with status code 200, with default header values.
TimelineList
func NewIssueGetCommentsAndTimelineOK ¶
func NewIssueGetCommentsAndTimelineOK() *IssueGetCommentsAndTimelineOK
NewIssueGetCommentsAndTimelineOK creates a IssueGetCommentsAndTimelineOK with default headers values
func (*IssueGetCommentsAndTimelineOK) Code ¶
func (o *IssueGetCommentsAndTimelineOK) Code() int
Code gets the status code for the issue get comments and timeline o k response
func (*IssueGetCommentsAndTimelineOK) Error ¶
func (o *IssueGetCommentsAndTimelineOK) Error() string
func (*IssueGetCommentsAndTimelineOK) GetPayload ¶
func (o *IssueGetCommentsAndTimelineOK) GetPayload() []*models.TimelineComment
func (*IssueGetCommentsAndTimelineOK) IsClientError ¶
func (o *IssueGetCommentsAndTimelineOK) IsClientError() bool
IsClientError returns true when this issue get comments and timeline o k response has a 4xx status code
func (*IssueGetCommentsAndTimelineOK) IsCode ¶
func (o *IssueGetCommentsAndTimelineOK) IsCode(code int) bool
IsCode returns true when this issue get comments and timeline o k response a status code equal to that given
func (*IssueGetCommentsAndTimelineOK) IsRedirect ¶
func (o *IssueGetCommentsAndTimelineOK) IsRedirect() bool
IsRedirect returns true when this issue get comments and timeline o k response has a 3xx status code
func (*IssueGetCommentsAndTimelineOK) IsServerError ¶
func (o *IssueGetCommentsAndTimelineOK) IsServerError() bool
IsServerError returns true when this issue get comments and timeline o k response has a 5xx status code
func (*IssueGetCommentsAndTimelineOK) IsSuccess ¶
func (o *IssueGetCommentsAndTimelineOK) IsSuccess() bool
IsSuccess returns true when this issue get comments and timeline o k response has a 2xx status code
func (*IssueGetCommentsAndTimelineOK) String ¶
func (o *IssueGetCommentsAndTimelineOK) String() string
type IssueGetCommentsAndTimelineParams ¶
type IssueGetCommentsAndTimelineParams struct { /* Before. if provided, only comments updated before the provided time are returned. Format: date-time */ Before *strfmt.DateTime /* Index. index of the issue Format: int64 */ Index int64 /* Limit. page size of results */ Limit *int64 /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string /* Since. if provided, only comments updated since the specified time are returned. Format: date-time */ Since *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetCommentsAndTimelineParams contains all the parameters to send to the API endpoint
for the issue get comments and timeline operation. Typically these are written to a http.Request.
func NewIssueGetCommentsAndTimelineParams ¶
func NewIssueGetCommentsAndTimelineParams() *IssueGetCommentsAndTimelineParams
NewIssueGetCommentsAndTimelineParams creates a new IssueGetCommentsAndTimelineParams 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 NewIssueGetCommentsAndTimelineParamsWithContext ¶
func NewIssueGetCommentsAndTimelineParamsWithContext(ctx context.Context) *IssueGetCommentsAndTimelineParams
NewIssueGetCommentsAndTimelineParamsWithContext creates a new IssueGetCommentsAndTimelineParams object with the ability to set a context for a request.
func NewIssueGetCommentsAndTimelineParamsWithHTTPClient ¶
func NewIssueGetCommentsAndTimelineParamsWithHTTPClient(client *http.Client) *IssueGetCommentsAndTimelineParams
NewIssueGetCommentsAndTimelineParamsWithHTTPClient creates a new IssueGetCommentsAndTimelineParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetCommentsAndTimelineParamsWithTimeout ¶
func NewIssueGetCommentsAndTimelineParamsWithTimeout(timeout time.Duration) *IssueGetCommentsAndTimelineParams
NewIssueGetCommentsAndTimelineParamsWithTimeout creates a new IssueGetCommentsAndTimelineParams object with the ability to set a timeout on a request.
func (*IssueGetCommentsAndTimelineParams) SetBefore ¶
func (o *IssueGetCommentsAndTimelineParams) SetBefore(before *strfmt.DateTime)
SetBefore adds the before to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetContext ¶
func (o *IssueGetCommentsAndTimelineParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetDefaults ¶
func (o *IssueGetCommentsAndTimelineParams) SetDefaults()
SetDefaults hydrates default values in the issue get comments and timeline params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetCommentsAndTimelineParams) SetHTTPClient ¶
func (o *IssueGetCommentsAndTimelineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetIndex ¶
func (o *IssueGetCommentsAndTimelineParams) SetIndex(index int64)
SetIndex adds the index to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetLimit ¶
func (o *IssueGetCommentsAndTimelineParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetOwner ¶
func (o *IssueGetCommentsAndTimelineParams) SetOwner(owner string)
SetOwner adds the owner to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetPage ¶
func (o *IssueGetCommentsAndTimelineParams) SetPage(page *int64)
SetPage adds the page to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetRepo ¶
func (o *IssueGetCommentsAndTimelineParams) SetRepo(repo string)
SetRepo adds the repo to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetSince ¶
func (o *IssueGetCommentsAndTimelineParams) SetSince(since *strfmt.DateTime)
SetSince adds the since to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) SetTimeout ¶
func (o *IssueGetCommentsAndTimelineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithBefore ¶
func (o *IssueGetCommentsAndTimelineParams) WithBefore(before *strfmt.DateTime) *IssueGetCommentsAndTimelineParams
WithBefore adds the before to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithContext ¶
func (o *IssueGetCommentsAndTimelineParams) WithContext(ctx context.Context) *IssueGetCommentsAndTimelineParams
WithContext adds the context to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithDefaults ¶
func (o *IssueGetCommentsAndTimelineParams) WithDefaults() *IssueGetCommentsAndTimelineParams
WithDefaults hydrates default values in the issue get comments and timeline params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetCommentsAndTimelineParams) WithHTTPClient ¶
func (o *IssueGetCommentsAndTimelineParams) WithHTTPClient(client *http.Client) *IssueGetCommentsAndTimelineParams
WithHTTPClient adds the HTTPClient to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithIndex ¶
func (o *IssueGetCommentsAndTimelineParams) WithIndex(index int64) *IssueGetCommentsAndTimelineParams
WithIndex adds the index to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithLimit ¶
func (o *IssueGetCommentsAndTimelineParams) WithLimit(limit *int64) *IssueGetCommentsAndTimelineParams
WithLimit adds the limit to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithOwner ¶
func (o *IssueGetCommentsAndTimelineParams) WithOwner(owner string) *IssueGetCommentsAndTimelineParams
WithOwner adds the owner to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithPage ¶
func (o *IssueGetCommentsAndTimelineParams) WithPage(page *int64) *IssueGetCommentsAndTimelineParams
WithPage adds the page to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithRepo ¶
func (o *IssueGetCommentsAndTimelineParams) WithRepo(repo string) *IssueGetCommentsAndTimelineParams
WithRepo adds the repo to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithSince ¶
func (o *IssueGetCommentsAndTimelineParams) WithSince(since *strfmt.DateTime) *IssueGetCommentsAndTimelineParams
WithSince adds the since to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WithTimeout ¶
func (o *IssueGetCommentsAndTimelineParams) WithTimeout(timeout time.Duration) *IssueGetCommentsAndTimelineParams
WithTimeout adds the timeout to the issue get comments and timeline params
func (*IssueGetCommentsAndTimelineParams) WriteToRequest ¶
func (o *IssueGetCommentsAndTimelineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetCommentsAndTimelineReader ¶
type IssueGetCommentsAndTimelineReader struct {
// contains filtered or unexported fields
}
IssueGetCommentsAndTimelineReader is a Reader for the IssueGetCommentsAndTimeline structure.
func (*IssueGetCommentsAndTimelineReader) ReadResponse ¶
func (o *IssueGetCommentsAndTimelineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetCommentsNotFound ¶
type IssueGetCommentsNotFound struct { }
IssueGetCommentsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetCommentsNotFound ¶
func NewIssueGetCommentsNotFound() *IssueGetCommentsNotFound
NewIssueGetCommentsNotFound creates a IssueGetCommentsNotFound with default headers values
func (*IssueGetCommentsNotFound) Code ¶
func (o *IssueGetCommentsNotFound) Code() int
Code gets the status code for the issue get comments not found response
func (*IssueGetCommentsNotFound) Error ¶
func (o *IssueGetCommentsNotFound) Error() string
func (*IssueGetCommentsNotFound) IsClientError ¶
func (o *IssueGetCommentsNotFound) IsClientError() bool
IsClientError returns true when this issue get comments not found response has a 4xx status code
func (*IssueGetCommentsNotFound) IsCode ¶
func (o *IssueGetCommentsNotFound) IsCode(code int) bool
IsCode returns true when this issue get comments not found response a status code equal to that given
func (*IssueGetCommentsNotFound) IsRedirect ¶
func (o *IssueGetCommentsNotFound) IsRedirect() bool
IsRedirect returns true when this issue get comments not found response has a 3xx status code
func (*IssueGetCommentsNotFound) IsServerError ¶
func (o *IssueGetCommentsNotFound) IsServerError() bool
IsServerError returns true when this issue get comments not found response has a 5xx status code
func (*IssueGetCommentsNotFound) IsSuccess ¶
func (o *IssueGetCommentsNotFound) IsSuccess() bool
IsSuccess returns true when this issue get comments not found response has a 2xx status code
func (*IssueGetCommentsNotFound) String ¶
func (o *IssueGetCommentsNotFound) String() string
type IssueGetCommentsOK ¶
IssueGetCommentsOK describes a response with status code 200, with default header values.
CommentList
func NewIssueGetCommentsOK ¶
func NewIssueGetCommentsOK() *IssueGetCommentsOK
NewIssueGetCommentsOK creates a IssueGetCommentsOK with default headers values
func (*IssueGetCommentsOK) Code ¶
func (o *IssueGetCommentsOK) Code() int
Code gets the status code for the issue get comments o k response
func (*IssueGetCommentsOK) Error ¶
func (o *IssueGetCommentsOK) Error() string
func (*IssueGetCommentsOK) GetPayload ¶
func (o *IssueGetCommentsOK) GetPayload() []*models.Comment
func (*IssueGetCommentsOK) IsClientError ¶
func (o *IssueGetCommentsOK) IsClientError() bool
IsClientError returns true when this issue get comments o k response has a 4xx status code
func (*IssueGetCommentsOK) IsCode ¶
func (o *IssueGetCommentsOK) IsCode(code int) bool
IsCode returns true when this issue get comments o k response a status code equal to that given
func (*IssueGetCommentsOK) IsRedirect ¶
func (o *IssueGetCommentsOK) IsRedirect() bool
IsRedirect returns true when this issue get comments o k response has a 3xx status code
func (*IssueGetCommentsOK) IsServerError ¶
func (o *IssueGetCommentsOK) IsServerError() bool
IsServerError returns true when this issue get comments o k response has a 5xx status code
func (*IssueGetCommentsOK) IsSuccess ¶
func (o *IssueGetCommentsOK) IsSuccess() bool
IsSuccess returns true when this issue get comments o k response has a 2xx status code
func (*IssueGetCommentsOK) String ¶
func (o *IssueGetCommentsOK) String() string
type IssueGetCommentsParams ¶
type IssueGetCommentsParams struct { /* Before. if provided, only comments updated before the provided time are returned. Format: date-time */ Before *strfmt.DateTime /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string /* Since. if provided, only comments updated since the specified time are returned. Format: date-time */ Since *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetCommentsParams contains all the parameters to send to the API endpoint
for the issue get comments operation. Typically these are written to a http.Request.
func NewIssueGetCommentsParams ¶
func NewIssueGetCommentsParams() *IssueGetCommentsParams
NewIssueGetCommentsParams creates a new IssueGetCommentsParams 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 NewIssueGetCommentsParamsWithContext ¶
func NewIssueGetCommentsParamsWithContext(ctx context.Context) *IssueGetCommentsParams
NewIssueGetCommentsParamsWithContext creates a new IssueGetCommentsParams object with the ability to set a context for a request.
func NewIssueGetCommentsParamsWithHTTPClient ¶
func NewIssueGetCommentsParamsWithHTTPClient(client *http.Client) *IssueGetCommentsParams
NewIssueGetCommentsParamsWithHTTPClient creates a new IssueGetCommentsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetCommentsParamsWithTimeout ¶
func NewIssueGetCommentsParamsWithTimeout(timeout time.Duration) *IssueGetCommentsParams
NewIssueGetCommentsParamsWithTimeout creates a new IssueGetCommentsParams object with the ability to set a timeout on a request.
func (*IssueGetCommentsParams) SetBefore ¶
func (o *IssueGetCommentsParams) SetBefore(before *strfmt.DateTime)
SetBefore adds the before to the issue get comments params
func (*IssueGetCommentsParams) SetContext ¶
func (o *IssueGetCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get comments params
func (*IssueGetCommentsParams) SetDefaults ¶
func (o *IssueGetCommentsParams) SetDefaults()
SetDefaults hydrates default values in the issue get comments params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetCommentsParams) SetHTTPClient ¶
func (o *IssueGetCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get comments params
func (*IssueGetCommentsParams) SetIndex ¶
func (o *IssueGetCommentsParams) SetIndex(index int64)
SetIndex adds the index to the issue get comments params
func (*IssueGetCommentsParams) SetOwner ¶
func (o *IssueGetCommentsParams) SetOwner(owner string)
SetOwner adds the owner to the issue get comments params
func (*IssueGetCommentsParams) SetRepo ¶
func (o *IssueGetCommentsParams) SetRepo(repo string)
SetRepo adds the repo to the issue get comments params
func (*IssueGetCommentsParams) SetSince ¶
func (o *IssueGetCommentsParams) SetSince(since *strfmt.DateTime)
SetSince adds the since to the issue get comments params
func (*IssueGetCommentsParams) SetTimeout ¶
func (o *IssueGetCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get comments params
func (*IssueGetCommentsParams) WithBefore ¶
func (o *IssueGetCommentsParams) WithBefore(before *strfmt.DateTime) *IssueGetCommentsParams
WithBefore adds the before to the issue get comments params
func (*IssueGetCommentsParams) WithContext ¶
func (o *IssueGetCommentsParams) WithContext(ctx context.Context) *IssueGetCommentsParams
WithContext adds the context to the issue get comments params
func (*IssueGetCommentsParams) WithDefaults ¶
func (o *IssueGetCommentsParams) WithDefaults() *IssueGetCommentsParams
WithDefaults hydrates default values in the issue get comments params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetCommentsParams) WithHTTPClient ¶
func (o *IssueGetCommentsParams) WithHTTPClient(client *http.Client) *IssueGetCommentsParams
WithHTTPClient adds the HTTPClient to the issue get comments params
func (*IssueGetCommentsParams) WithIndex ¶
func (o *IssueGetCommentsParams) WithIndex(index int64) *IssueGetCommentsParams
WithIndex adds the index to the issue get comments params
func (*IssueGetCommentsParams) WithOwner ¶
func (o *IssueGetCommentsParams) WithOwner(owner string) *IssueGetCommentsParams
WithOwner adds the owner to the issue get comments params
func (*IssueGetCommentsParams) WithRepo ¶
func (o *IssueGetCommentsParams) WithRepo(repo string) *IssueGetCommentsParams
WithRepo adds the repo to the issue get comments params
func (*IssueGetCommentsParams) WithSince ¶
func (o *IssueGetCommentsParams) WithSince(since *strfmt.DateTime) *IssueGetCommentsParams
WithSince adds the since to the issue get comments params
func (*IssueGetCommentsParams) WithTimeout ¶
func (o *IssueGetCommentsParams) WithTimeout(timeout time.Duration) *IssueGetCommentsParams
WithTimeout adds the timeout to the issue get comments params
func (*IssueGetCommentsParams) WriteToRequest ¶
func (o *IssueGetCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetCommentsReader ¶
type IssueGetCommentsReader struct {
// contains filtered or unexported fields
}
IssueGetCommentsReader is a Reader for the IssueGetComments structure.
func (*IssueGetCommentsReader) ReadResponse ¶
func (o *IssueGetCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetIssueAttachmentNotFound ¶
IssueGetIssueAttachmentNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueGetIssueAttachmentNotFound ¶
func NewIssueGetIssueAttachmentNotFound() *IssueGetIssueAttachmentNotFound
NewIssueGetIssueAttachmentNotFound creates a IssueGetIssueAttachmentNotFound with default headers values
func (*IssueGetIssueAttachmentNotFound) Code ¶
func (o *IssueGetIssueAttachmentNotFound) Code() int
Code gets the status code for the issue get issue attachment not found response
func (*IssueGetIssueAttachmentNotFound) Error ¶
func (o *IssueGetIssueAttachmentNotFound) Error() string
func (*IssueGetIssueAttachmentNotFound) IsClientError ¶
func (o *IssueGetIssueAttachmentNotFound) IsClientError() bool
IsClientError returns true when this issue get issue attachment not found response has a 4xx status code
func (*IssueGetIssueAttachmentNotFound) IsCode ¶
func (o *IssueGetIssueAttachmentNotFound) IsCode(code int) bool
IsCode returns true when this issue get issue attachment not found response a status code equal to that given
func (*IssueGetIssueAttachmentNotFound) IsRedirect ¶
func (o *IssueGetIssueAttachmentNotFound) IsRedirect() bool
IsRedirect returns true when this issue get issue attachment not found response has a 3xx status code
func (*IssueGetIssueAttachmentNotFound) IsServerError ¶
func (o *IssueGetIssueAttachmentNotFound) IsServerError() bool
IsServerError returns true when this issue get issue attachment not found response has a 5xx status code
func (*IssueGetIssueAttachmentNotFound) IsSuccess ¶
func (o *IssueGetIssueAttachmentNotFound) IsSuccess() bool
IsSuccess returns true when this issue get issue attachment not found response has a 2xx status code
func (*IssueGetIssueAttachmentNotFound) String ¶
func (o *IssueGetIssueAttachmentNotFound) String() string
type IssueGetIssueAttachmentOK ¶
type IssueGetIssueAttachmentOK struct {
Payload *models.Attachment
}
IssueGetIssueAttachmentOK describes a response with status code 200, with default header values.
Attachment
func NewIssueGetIssueAttachmentOK ¶
func NewIssueGetIssueAttachmentOK() *IssueGetIssueAttachmentOK
NewIssueGetIssueAttachmentOK creates a IssueGetIssueAttachmentOK with default headers values
func (*IssueGetIssueAttachmentOK) Code ¶
func (o *IssueGetIssueAttachmentOK) Code() int
Code gets the status code for the issue get issue attachment o k response
func (*IssueGetIssueAttachmentOK) Error ¶
func (o *IssueGetIssueAttachmentOK) Error() string
func (*IssueGetIssueAttachmentOK) GetPayload ¶
func (o *IssueGetIssueAttachmentOK) GetPayload() *models.Attachment
func (*IssueGetIssueAttachmentOK) IsClientError ¶
func (o *IssueGetIssueAttachmentOK) IsClientError() bool
IsClientError returns true when this issue get issue attachment o k response has a 4xx status code
func (*IssueGetIssueAttachmentOK) IsCode ¶
func (o *IssueGetIssueAttachmentOK) IsCode(code int) bool
IsCode returns true when this issue get issue attachment o k response a status code equal to that given
func (*IssueGetIssueAttachmentOK) IsRedirect ¶
func (o *IssueGetIssueAttachmentOK) IsRedirect() bool
IsRedirect returns true when this issue get issue attachment o k response has a 3xx status code
func (*IssueGetIssueAttachmentOK) IsServerError ¶
func (o *IssueGetIssueAttachmentOK) IsServerError() bool
IsServerError returns true when this issue get issue attachment o k response has a 5xx status code
func (*IssueGetIssueAttachmentOK) IsSuccess ¶
func (o *IssueGetIssueAttachmentOK) IsSuccess() bool
IsSuccess returns true when this issue get issue attachment o k response has a 2xx status code
func (*IssueGetIssueAttachmentOK) String ¶
func (o *IssueGetIssueAttachmentOK) String() string
type IssueGetIssueAttachmentParams ¶
type IssueGetIssueAttachmentParams struct { /* AttachmentID. id of the attachment to get Format: int64 */ AttachmentID int64 /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetIssueAttachmentParams contains all the parameters to send to the API endpoint
for the issue get issue attachment operation. Typically these are written to a http.Request.
func NewIssueGetIssueAttachmentParams ¶
func NewIssueGetIssueAttachmentParams() *IssueGetIssueAttachmentParams
NewIssueGetIssueAttachmentParams creates a new IssueGetIssueAttachmentParams 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 NewIssueGetIssueAttachmentParamsWithContext ¶
func NewIssueGetIssueAttachmentParamsWithContext(ctx context.Context) *IssueGetIssueAttachmentParams
NewIssueGetIssueAttachmentParamsWithContext creates a new IssueGetIssueAttachmentParams object with the ability to set a context for a request.
func NewIssueGetIssueAttachmentParamsWithHTTPClient ¶
func NewIssueGetIssueAttachmentParamsWithHTTPClient(client *http.Client) *IssueGetIssueAttachmentParams
NewIssueGetIssueAttachmentParamsWithHTTPClient creates a new IssueGetIssueAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetIssueAttachmentParamsWithTimeout ¶
func NewIssueGetIssueAttachmentParamsWithTimeout(timeout time.Duration) *IssueGetIssueAttachmentParams
NewIssueGetIssueAttachmentParamsWithTimeout creates a new IssueGetIssueAttachmentParams object with the ability to set a timeout on a request.
func (*IssueGetIssueAttachmentParams) SetAttachmentID ¶
func (o *IssueGetIssueAttachmentParams) SetAttachmentID(attachmentID int64)
SetAttachmentID adds the attachmentId to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) SetContext ¶
func (o *IssueGetIssueAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) SetDefaults ¶
func (o *IssueGetIssueAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the issue get issue attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetIssueAttachmentParams) SetHTTPClient ¶
func (o *IssueGetIssueAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) SetIndex ¶
func (o *IssueGetIssueAttachmentParams) SetIndex(index int64)
SetIndex adds the index to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) SetOwner ¶
func (o *IssueGetIssueAttachmentParams) SetOwner(owner string)
SetOwner adds the owner to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) SetRepo ¶
func (o *IssueGetIssueAttachmentParams) SetRepo(repo string)
SetRepo adds the repo to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) SetTimeout ¶
func (o *IssueGetIssueAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) WithAttachmentID ¶
func (o *IssueGetIssueAttachmentParams) WithAttachmentID(attachmentID int64) *IssueGetIssueAttachmentParams
WithAttachmentID adds the attachmentID to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) WithContext ¶
func (o *IssueGetIssueAttachmentParams) WithContext(ctx context.Context) *IssueGetIssueAttachmentParams
WithContext adds the context to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) WithDefaults ¶
func (o *IssueGetIssueAttachmentParams) WithDefaults() *IssueGetIssueAttachmentParams
WithDefaults hydrates default values in the issue get issue attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetIssueAttachmentParams) WithHTTPClient ¶
func (o *IssueGetIssueAttachmentParams) WithHTTPClient(client *http.Client) *IssueGetIssueAttachmentParams
WithHTTPClient adds the HTTPClient to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) WithIndex ¶
func (o *IssueGetIssueAttachmentParams) WithIndex(index int64) *IssueGetIssueAttachmentParams
WithIndex adds the index to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) WithOwner ¶
func (o *IssueGetIssueAttachmentParams) WithOwner(owner string) *IssueGetIssueAttachmentParams
WithOwner adds the owner to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) WithRepo ¶
func (o *IssueGetIssueAttachmentParams) WithRepo(repo string) *IssueGetIssueAttachmentParams
WithRepo adds the repo to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) WithTimeout ¶
func (o *IssueGetIssueAttachmentParams) WithTimeout(timeout time.Duration) *IssueGetIssueAttachmentParams
WithTimeout adds the timeout to the issue get issue attachment params
func (*IssueGetIssueAttachmentParams) WriteToRequest ¶
func (o *IssueGetIssueAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetIssueAttachmentReader ¶
type IssueGetIssueAttachmentReader struct {
// contains filtered or unexported fields
}
IssueGetIssueAttachmentReader is a Reader for the IssueGetIssueAttachment structure.
func (*IssueGetIssueAttachmentReader) ReadResponse ¶
func (o *IssueGetIssueAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetIssueCommentAttachmentNotFound ¶
IssueGetIssueCommentAttachmentNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueGetIssueCommentAttachmentNotFound ¶
func NewIssueGetIssueCommentAttachmentNotFound() *IssueGetIssueCommentAttachmentNotFound
NewIssueGetIssueCommentAttachmentNotFound creates a IssueGetIssueCommentAttachmentNotFound with default headers values
func (*IssueGetIssueCommentAttachmentNotFound) Code ¶
func (o *IssueGetIssueCommentAttachmentNotFound) Code() int
Code gets the status code for the issue get issue comment attachment not found response
func (*IssueGetIssueCommentAttachmentNotFound) Error ¶
func (o *IssueGetIssueCommentAttachmentNotFound) Error() string
func (*IssueGetIssueCommentAttachmentNotFound) IsClientError ¶
func (o *IssueGetIssueCommentAttachmentNotFound) IsClientError() bool
IsClientError returns true when this issue get issue comment attachment not found response has a 4xx status code
func (*IssueGetIssueCommentAttachmentNotFound) IsCode ¶
func (o *IssueGetIssueCommentAttachmentNotFound) IsCode(code int) bool
IsCode returns true when this issue get issue comment attachment not found response a status code equal to that given
func (*IssueGetIssueCommentAttachmentNotFound) IsRedirect ¶
func (o *IssueGetIssueCommentAttachmentNotFound) IsRedirect() bool
IsRedirect returns true when this issue get issue comment attachment not found response has a 3xx status code
func (*IssueGetIssueCommentAttachmentNotFound) IsServerError ¶
func (o *IssueGetIssueCommentAttachmentNotFound) IsServerError() bool
IsServerError returns true when this issue get issue comment attachment not found response has a 5xx status code
func (*IssueGetIssueCommentAttachmentNotFound) IsSuccess ¶
func (o *IssueGetIssueCommentAttachmentNotFound) IsSuccess() bool
IsSuccess returns true when this issue get issue comment attachment not found response has a 2xx status code
func (*IssueGetIssueCommentAttachmentNotFound) String ¶
func (o *IssueGetIssueCommentAttachmentNotFound) String() string
type IssueGetIssueCommentAttachmentOK ¶
type IssueGetIssueCommentAttachmentOK struct {
Payload *models.Attachment
}
IssueGetIssueCommentAttachmentOK describes a response with status code 200, with default header values.
Attachment
func NewIssueGetIssueCommentAttachmentOK ¶
func NewIssueGetIssueCommentAttachmentOK() *IssueGetIssueCommentAttachmentOK
NewIssueGetIssueCommentAttachmentOK creates a IssueGetIssueCommentAttachmentOK with default headers values
func (*IssueGetIssueCommentAttachmentOK) Code ¶
func (o *IssueGetIssueCommentAttachmentOK) Code() int
Code gets the status code for the issue get issue comment attachment o k response
func (*IssueGetIssueCommentAttachmentOK) Error ¶
func (o *IssueGetIssueCommentAttachmentOK) Error() string
func (*IssueGetIssueCommentAttachmentOK) GetPayload ¶
func (o *IssueGetIssueCommentAttachmentOK) GetPayload() *models.Attachment
func (*IssueGetIssueCommentAttachmentOK) IsClientError ¶
func (o *IssueGetIssueCommentAttachmentOK) IsClientError() bool
IsClientError returns true when this issue get issue comment attachment o k response has a 4xx status code
func (*IssueGetIssueCommentAttachmentOK) IsCode ¶
func (o *IssueGetIssueCommentAttachmentOK) IsCode(code int) bool
IsCode returns true when this issue get issue comment attachment o k response a status code equal to that given
func (*IssueGetIssueCommentAttachmentOK) IsRedirect ¶
func (o *IssueGetIssueCommentAttachmentOK) IsRedirect() bool
IsRedirect returns true when this issue get issue comment attachment o k response has a 3xx status code
func (*IssueGetIssueCommentAttachmentOK) IsServerError ¶
func (o *IssueGetIssueCommentAttachmentOK) IsServerError() bool
IsServerError returns true when this issue get issue comment attachment o k response has a 5xx status code
func (*IssueGetIssueCommentAttachmentOK) IsSuccess ¶
func (o *IssueGetIssueCommentAttachmentOK) IsSuccess() bool
IsSuccess returns true when this issue get issue comment attachment o k response has a 2xx status code
func (*IssueGetIssueCommentAttachmentOK) String ¶
func (o *IssueGetIssueCommentAttachmentOK) String() string
type IssueGetIssueCommentAttachmentParams ¶
type IssueGetIssueCommentAttachmentParams struct { /* AttachmentID. id of the attachment to get Format: int64 */ AttachmentID int64 /* ID. id of the comment Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetIssueCommentAttachmentParams contains all the parameters to send to the API endpoint
for the issue get issue comment attachment operation. Typically these are written to a http.Request.
func NewIssueGetIssueCommentAttachmentParams ¶
func NewIssueGetIssueCommentAttachmentParams() *IssueGetIssueCommentAttachmentParams
NewIssueGetIssueCommentAttachmentParams creates a new IssueGetIssueCommentAttachmentParams 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 NewIssueGetIssueCommentAttachmentParamsWithContext ¶
func NewIssueGetIssueCommentAttachmentParamsWithContext(ctx context.Context) *IssueGetIssueCommentAttachmentParams
NewIssueGetIssueCommentAttachmentParamsWithContext creates a new IssueGetIssueCommentAttachmentParams object with the ability to set a context for a request.
func NewIssueGetIssueCommentAttachmentParamsWithHTTPClient ¶
func NewIssueGetIssueCommentAttachmentParamsWithHTTPClient(client *http.Client) *IssueGetIssueCommentAttachmentParams
NewIssueGetIssueCommentAttachmentParamsWithHTTPClient creates a new IssueGetIssueCommentAttachmentParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetIssueCommentAttachmentParamsWithTimeout ¶
func NewIssueGetIssueCommentAttachmentParamsWithTimeout(timeout time.Duration) *IssueGetIssueCommentAttachmentParams
NewIssueGetIssueCommentAttachmentParamsWithTimeout creates a new IssueGetIssueCommentAttachmentParams object with the ability to set a timeout on a request.
func (*IssueGetIssueCommentAttachmentParams) SetAttachmentID ¶
func (o *IssueGetIssueCommentAttachmentParams) SetAttachmentID(attachmentID int64)
SetAttachmentID adds the attachmentId to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) SetContext ¶
func (o *IssueGetIssueCommentAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) SetDefaults ¶
func (o *IssueGetIssueCommentAttachmentParams) SetDefaults()
SetDefaults hydrates default values in the issue get issue comment attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetIssueCommentAttachmentParams) SetHTTPClient ¶
func (o *IssueGetIssueCommentAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) SetID ¶
func (o *IssueGetIssueCommentAttachmentParams) SetID(id int64)
SetID adds the id to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) SetOwner ¶
func (o *IssueGetIssueCommentAttachmentParams) SetOwner(owner string)
SetOwner adds the owner to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) SetRepo ¶
func (o *IssueGetIssueCommentAttachmentParams) SetRepo(repo string)
SetRepo adds the repo to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) SetTimeout ¶
func (o *IssueGetIssueCommentAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) WithAttachmentID ¶
func (o *IssueGetIssueCommentAttachmentParams) WithAttachmentID(attachmentID int64) *IssueGetIssueCommentAttachmentParams
WithAttachmentID adds the attachmentID to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) WithContext ¶
func (o *IssueGetIssueCommentAttachmentParams) WithContext(ctx context.Context) *IssueGetIssueCommentAttachmentParams
WithContext adds the context to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) WithDefaults ¶
func (o *IssueGetIssueCommentAttachmentParams) WithDefaults() *IssueGetIssueCommentAttachmentParams
WithDefaults hydrates default values in the issue get issue comment attachment params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetIssueCommentAttachmentParams) WithHTTPClient ¶
func (o *IssueGetIssueCommentAttachmentParams) WithHTTPClient(client *http.Client) *IssueGetIssueCommentAttachmentParams
WithHTTPClient adds the HTTPClient to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) WithID ¶
func (o *IssueGetIssueCommentAttachmentParams) WithID(id int64) *IssueGetIssueCommentAttachmentParams
WithID adds the id to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) WithOwner ¶
func (o *IssueGetIssueCommentAttachmentParams) WithOwner(owner string) *IssueGetIssueCommentAttachmentParams
WithOwner adds the owner to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) WithRepo ¶
func (o *IssueGetIssueCommentAttachmentParams) WithRepo(repo string) *IssueGetIssueCommentAttachmentParams
WithRepo adds the repo to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) WithTimeout ¶
func (o *IssueGetIssueCommentAttachmentParams) WithTimeout(timeout time.Duration) *IssueGetIssueCommentAttachmentParams
WithTimeout adds the timeout to the issue get issue comment attachment params
func (*IssueGetIssueCommentAttachmentParams) WriteToRequest ¶
func (o *IssueGetIssueCommentAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetIssueCommentAttachmentReader ¶
type IssueGetIssueCommentAttachmentReader struct {
// contains filtered or unexported fields
}
IssueGetIssueCommentAttachmentReader is a Reader for the IssueGetIssueCommentAttachment structure.
func (*IssueGetIssueCommentAttachmentReader) ReadResponse ¶
func (o *IssueGetIssueCommentAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetIssueNotFound ¶
type IssueGetIssueNotFound struct { }
IssueGetIssueNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetIssueNotFound ¶
func NewIssueGetIssueNotFound() *IssueGetIssueNotFound
NewIssueGetIssueNotFound creates a IssueGetIssueNotFound with default headers values
func (*IssueGetIssueNotFound) Code ¶
func (o *IssueGetIssueNotFound) Code() int
Code gets the status code for the issue get issue not found response
func (*IssueGetIssueNotFound) Error ¶
func (o *IssueGetIssueNotFound) Error() string
func (*IssueGetIssueNotFound) IsClientError ¶
func (o *IssueGetIssueNotFound) IsClientError() bool
IsClientError returns true when this issue get issue not found response has a 4xx status code
func (*IssueGetIssueNotFound) IsCode ¶
func (o *IssueGetIssueNotFound) IsCode(code int) bool
IsCode returns true when this issue get issue not found response a status code equal to that given
func (*IssueGetIssueNotFound) IsRedirect ¶
func (o *IssueGetIssueNotFound) IsRedirect() bool
IsRedirect returns true when this issue get issue not found response has a 3xx status code
func (*IssueGetIssueNotFound) IsServerError ¶
func (o *IssueGetIssueNotFound) IsServerError() bool
IsServerError returns true when this issue get issue not found response has a 5xx status code
func (*IssueGetIssueNotFound) IsSuccess ¶
func (o *IssueGetIssueNotFound) IsSuccess() bool
IsSuccess returns true when this issue get issue not found response has a 2xx status code
func (*IssueGetIssueNotFound) String ¶
func (o *IssueGetIssueNotFound) String() string
type IssueGetIssueOK ¶
IssueGetIssueOK describes a response with status code 200, with default header values.
Issue
func NewIssueGetIssueOK ¶
func NewIssueGetIssueOK() *IssueGetIssueOK
NewIssueGetIssueOK creates a IssueGetIssueOK with default headers values
func (*IssueGetIssueOK) Code ¶
func (o *IssueGetIssueOK) Code() int
Code gets the status code for the issue get issue o k response
func (*IssueGetIssueOK) Error ¶
func (o *IssueGetIssueOK) Error() string
func (*IssueGetIssueOK) GetPayload ¶
func (o *IssueGetIssueOK) GetPayload() *models.Issue
func (*IssueGetIssueOK) IsClientError ¶
func (o *IssueGetIssueOK) IsClientError() bool
IsClientError returns true when this issue get issue o k response has a 4xx status code
func (*IssueGetIssueOK) IsCode ¶
func (o *IssueGetIssueOK) IsCode(code int) bool
IsCode returns true when this issue get issue o k response a status code equal to that given
func (*IssueGetIssueOK) IsRedirect ¶
func (o *IssueGetIssueOK) IsRedirect() bool
IsRedirect returns true when this issue get issue o k response has a 3xx status code
func (*IssueGetIssueOK) IsServerError ¶
func (o *IssueGetIssueOK) IsServerError() bool
IsServerError returns true when this issue get issue o k response has a 5xx status code
func (*IssueGetIssueOK) IsSuccess ¶
func (o *IssueGetIssueOK) IsSuccess() bool
IsSuccess returns true when this issue get issue o k response has a 2xx status code
func (*IssueGetIssueOK) String ¶
func (o *IssueGetIssueOK) String() string
type IssueGetIssueParams ¶
type IssueGetIssueParams struct { /* Index. index of the issue to get Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetIssueParams contains all the parameters to send to the API endpoint
for the issue get issue operation. Typically these are written to a http.Request.
func NewIssueGetIssueParams ¶
func NewIssueGetIssueParams() *IssueGetIssueParams
NewIssueGetIssueParams creates a new IssueGetIssueParams 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 NewIssueGetIssueParamsWithContext ¶
func NewIssueGetIssueParamsWithContext(ctx context.Context) *IssueGetIssueParams
NewIssueGetIssueParamsWithContext creates a new IssueGetIssueParams object with the ability to set a context for a request.
func NewIssueGetIssueParamsWithHTTPClient ¶
func NewIssueGetIssueParamsWithHTTPClient(client *http.Client) *IssueGetIssueParams
NewIssueGetIssueParamsWithHTTPClient creates a new IssueGetIssueParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetIssueParamsWithTimeout ¶
func NewIssueGetIssueParamsWithTimeout(timeout time.Duration) *IssueGetIssueParams
NewIssueGetIssueParamsWithTimeout creates a new IssueGetIssueParams object with the ability to set a timeout on a request.
func (*IssueGetIssueParams) SetContext ¶
func (o *IssueGetIssueParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get issue params
func (*IssueGetIssueParams) SetDefaults ¶
func (o *IssueGetIssueParams) SetDefaults()
SetDefaults hydrates default values in the issue get issue params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetIssueParams) SetHTTPClient ¶
func (o *IssueGetIssueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get issue params
func (*IssueGetIssueParams) SetIndex ¶
func (o *IssueGetIssueParams) SetIndex(index int64)
SetIndex adds the index to the issue get issue params
func (*IssueGetIssueParams) SetOwner ¶
func (o *IssueGetIssueParams) SetOwner(owner string)
SetOwner adds the owner to the issue get issue params
func (*IssueGetIssueParams) SetRepo ¶
func (o *IssueGetIssueParams) SetRepo(repo string)
SetRepo adds the repo to the issue get issue params
func (*IssueGetIssueParams) SetTimeout ¶
func (o *IssueGetIssueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get issue params
func (*IssueGetIssueParams) WithContext ¶
func (o *IssueGetIssueParams) WithContext(ctx context.Context) *IssueGetIssueParams
WithContext adds the context to the issue get issue params
func (*IssueGetIssueParams) WithDefaults ¶
func (o *IssueGetIssueParams) WithDefaults() *IssueGetIssueParams
WithDefaults hydrates default values in the issue get issue params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetIssueParams) WithHTTPClient ¶
func (o *IssueGetIssueParams) WithHTTPClient(client *http.Client) *IssueGetIssueParams
WithHTTPClient adds the HTTPClient to the issue get issue params
func (*IssueGetIssueParams) WithIndex ¶
func (o *IssueGetIssueParams) WithIndex(index int64) *IssueGetIssueParams
WithIndex adds the index to the issue get issue params
func (*IssueGetIssueParams) WithOwner ¶
func (o *IssueGetIssueParams) WithOwner(owner string) *IssueGetIssueParams
WithOwner adds the owner to the issue get issue params
func (*IssueGetIssueParams) WithRepo ¶
func (o *IssueGetIssueParams) WithRepo(repo string) *IssueGetIssueParams
WithRepo adds the repo to the issue get issue params
func (*IssueGetIssueParams) WithTimeout ¶
func (o *IssueGetIssueParams) WithTimeout(timeout time.Duration) *IssueGetIssueParams
WithTimeout adds the timeout to the issue get issue params
func (*IssueGetIssueParams) WriteToRequest ¶
func (o *IssueGetIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetIssueReactionsForbidden ¶
IssueGetIssueReactionsForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueGetIssueReactionsForbidden ¶
func NewIssueGetIssueReactionsForbidden() *IssueGetIssueReactionsForbidden
NewIssueGetIssueReactionsForbidden creates a IssueGetIssueReactionsForbidden with default headers values
func (*IssueGetIssueReactionsForbidden) Code ¶
func (o *IssueGetIssueReactionsForbidden) Code() int
Code gets the status code for the issue get issue reactions forbidden response
func (*IssueGetIssueReactionsForbidden) Error ¶
func (o *IssueGetIssueReactionsForbidden) Error() string
func (*IssueGetIssueReactionsForbidden) IsClientError ¶
func (o *IssueGetIssueReactionsForbidden) IsClientError() bool
IsClientError returns true when this issue get issue reactions forbidden response has a 4xx status code
func (*IssueGetIssueReactionsForbidden) IsCode ¶
func (o *IssueGetIssueReactionsForbidden) IsCode(code int) bool
IsCode returns true when this issue get issue reactions forbidden response a status code equal to that given
func (*IssueGetIssueReactionsForbidden) IsRedirect ¶
func (o *IssueGetIssueReactionsForbidden) IsRedirect() bool
IsRedirect returns true when this issue get issue reactions forbidden response has a 3xx status code
func (*IssueGetIssueReactionsForbidden) IsServerError ¶
func (o *IssueGetIssueReactionsForbidden) IsServerError() bool
IsServerError returns true when this issue get issue reactions forbidden response has a 5xx status code
func (*IssueGetIssueReactionsForbidden) IsSuccess ¶
func (o *IssueGetIssueReactionsForbidden) IsSuccess() bool
IsSuccess returns true when this issue get issue reactions forbidden response has a 2xx status code
func (*IssueGetIssueReactionsForbidden) String ¶
func (o *IssueGetIssueReactionsForbidden) String() string
type IssueGetIssueReactionsNotFound ¶
type IssueGetIssueReactionsNotFound struct { }
IssueGetIssueReactionsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetIssueReactionsNotFound ¶
func NewIssueGetIssueReactionsNotFound() *IssueGetIssueReactionsNotFound
NewIssueGetIssueReactionsNotFound creates a IssueGetIssueReactionsNotFound with default headers values
func (*IssueGetIssueReactionsNotFound) Code ¶
func (o *IssueGetIssueReactionsNotFound) Code() int
Code gets the status code for the issue get issue reactions not found response
func (*IssueGetIssueReactionsNotFound) Error ¶
func (o *IssueGetIssueReactionsNotFound) Error() string
func (*IssueGetIssueReactionsNotFound) IsClientError ¶
func (o *IssueGetIssueReactionsNotFound) IsClientError() bool
IsClientError returns true when this issue get issue reactions not found response has a 4xx status code
func (*IssueGetIssueReactionsNotFound) IsCode ¶
func (o *IssueGetIssueReactionsNotFound) IsCode(code int) bool
IsCode returns true when this issue get issue reactions not found response a status code equal to that given
func (*IssueGetIssueReactionsNotFound) IsRedirect ¶
func (o *IssueGetIssueReactionsNotFound) IsRedirect() bool
IsRedirect returns true when this issue get issue reactions not found response has a 3xx status code
func (*IssueGetIssueReactionsNotFound) IsServerError ¶
func (o *IssueGetIssueReactionsNotFound) IsServerError() bool
IsServerError returns true when this issue get issue reactions not found response has a 5xx status code
func (*IssueGetIssueReactionsNotFound) IsSuccess ¶
func (o *IssueGetIssueReactionsNotFound) IsSuccess() bool
IsSuccess returns true when this issue get issue reactions not found response has a 2xx status code
func (*IssueGetIssueReactionsNotFound) String ¶
func (o *IssueGetIssueReactionsNotFound) String() string
type IssueGetIssueReactionsOK ¶
IssueGetIssueReactionsOK describes a response with status code 200, with default header values.
ReactionList
func NewIssueGetIssueReactionsOK ¶
func NewIssueGetIssueReactionsOK() *IssueGetIssueReactionsOK
NewIssueGetIssueReactionsOK creates a IssueGetIssueReactionsOK with default headers values
func (*IssueGetIssueReactionsOK) Code ¶
func (o *IssueGetIssueReactionsOK) Code() int
Code gets the status code for the issue get issue reactions o k response
func (*IssueGetIssueReactionsOK) Error ¶
func (o *IssueGetIssueReactionsOK) Error() string
func (*IssueGetIssueReactionsOK) GetPayload ¶
func (o *IssueGetIssueReactionsOK) GetPayload() []*models.Reaction
func (*IssueGetIssueReactionsOK) IsClientError ¶
func (o *IssueGetIssueReactionsOK) IsClientError() bool
IsClientError returns true when this issue get issue reactions o k response has a 4xx status code
func (*IssueGetIssueReactionsOK) IsCode ¶
func (o *IssueGetIssueReactionsOK) IsCode(code int) bool
IsCode returns true when this issue get issue reactions o k response a status code equal to that given
func (*IssueGetIssueReactionsOK) IsRedirect ¶
func (o *IssueGetIssueReactionsOK) IsRedirect() bool
IsRedirect returns true when this issue get issue reactions o k response has a 3xx status code
func (*IssueGetIssueReactionsOK) IsServerError ¶
func (o *IssueGetIssueReactionsOK) IsServerError() bool
IsServerError returns true when this issue get issue reactions o k response has a 5xx status code
func (*IssueGetIssueReactionsOK) IsSuccess ¶
func (o *IssueGetIssueReactionsOK) IsSuccess() bool
IsSuccess returns true when this issue get issue reactions o k response has a 2xx status code
func (*IssueGetIssueReactionsOK) String ¶
func (o *IssueGetIssueReactionsOK) String() string
type IssueGetIssueReactionsParams ¶
type IssueGetIssueReactionsParams struct { /* Index. index of the issue Format: int64 */ Index int64 /* Limit. page size of results */ Limit *int64 /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetIssueReactionsParams contains all the parameters to send to the API endpoint
for the issue get issue reactions operation. Typically these are written to a http.Request.
func NewIssueGetIssueReactionsParams ¶
func NewIssueGetIssueReactionsParams() *IssueGetIssueReactionsParams
NewIssueGetIssueReactionsParams creates a new IssueGetIssueReactionsParams 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 NewIssueGetIssueReactionsParamsWithContext ¶
func NewIssueGetIssueReactionsParamsWithContext(ctx context.Context) *IssueGetIssueReactionsParams
NewIssueGetIssueReactionsParamsWithContext creates a new IssueGetIssueReactionsParams object with the ability to set a context for a request.
func NewIssueGetIssueReactionsParamsWithHTTPClient ¶
func NewIssueGetIssueReactionsParamsWithHTTPClient(client *http.Client) *IssueGetIssueReactionsParams
NewIssueGetIssueReactionsParamsWithHTTPClient creates a new IssueGetIssueReactionsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetIssueReactionsParamsWithTimeout ¶
func NewIssueGetIssueReactionsParamsWithTimeout(timeout time.Duration) *IssueGetIssueReactionsParams
NewIssueGetIssueReactionsParamsWithTimeout creates a new IssueGetIssueReactionsParams object with the ability to set a timeout on a request.
func (*IssueGetIssueReactionsParams) SetContext ¶
func (o *IssueGetIssueReactionsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) SetDefaults ¶
func (o *IssueGetIssueReactionsParams) SetDefaults()
SetDefaults hydrates default values in the issue get issue reactions params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetIssueReactionsParams) SetHTTPClient ¶
func (o *IssueGetIssueReactionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) SetIndex ¶
func (o *IssueGetIssueReactionsParams) SetIndex(index int64)
SetIndex adds the index to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) SetLimit ¶
func (o *IssueGetIssueReactionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) SetOwner ¶
func (o *IssueGetIssueReactionsParams) SetOwner(owner string)
SetOwner adds the owner to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) SetPage ¶
func (o *IssueGetIssueReactionsParams) SetPage(page *int64)
SetPage adds the page to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) SetRepo ¶
func (o *IssueGetIssueReactionsParams) SetRepo(repo string)
SetRepo adds the repo to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) SetTimeout ¶
func (o *IssueGetIssueReactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WithContext ¶
func (o *IssueGetIssueReactionsParams) WithContext(ctx context.Context) *IssueGetIssueReactionsParams
WithContext adds the context to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WithDefaults ¶
func (o *IssueGetIssueReactionsParams) WithDefaults() *IssueGetIssueReactionsParams
WithDefaults hydrates default values in the issue get issue reactions params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetIssueReactionsParams) WithHTTPClient ¶
func (o *IssueGetIssueReactionsParams) WithHTTPClient(client *http.Client) *IssueGetIssueReactionsParams
WithHTTPClient adds the HTTPClient to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WithIndex ¶
func (o *IssueGetIssueReactionsParams) WithIndex(index int64) *IssueGetIssueReactionsParams
WithIndex adds the index to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WithLimit ¶
func (o *IssueGetIssueReactionsParams) WithLimit(limit *int64) *IssueGetIssueReactionsParams
WithLimit adds the limit to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WithOwner ¶
func (o *IssueGetIssueReactionsParams) WithOwner(owner string) *IssueGetIssueReactionsParams
WithOwner adds the owner to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WithPage ¶
func (o *IssueGetIssueReactionsParams) WithPage(page *int64) *IssueGetIssueReactionsParams
WithPage adds the page to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WithRepo ¶
func (o *IssueGetIssueReactionsParams) WithRepo(repo string) *IssueGetIssueReactionsParams
WithRepo adds the repo to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WithTimeout ¶
func (o *IssueGetIssueReactionsParams) WithTimeout(timeout time.Duration) *IssueGetIssueReactionsParams
WithTimeout adds the timeout to the issue get issue reactions params
func (*IssueGetIssueReactionsParams) WriteToRequest ¶
func (o *IssueGetIssueReactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetIssueReactionsReader ¶
type IssueGetIssueReactionsReader struct {
// contains filtered or unexported fields
}
IssueGetIssueReactionsReader is a Reader for the IssueGetIssueReactions structure.
func (*IssueGetIssueReactionsReader) ReadResponse ¶
func (o *IssueGetIssueReactionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetIssueReader ¶
type IssueGetIssueReader struct {
// contains filtered or unexported fields
}
IssueGetIssueReader is a Reader for the IssueGetIssue structure.
func (*IssueGetIssueReader) ReadResponse ¶
func (o *IssueGetIssueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetLabelNotFound ¶
type IssueGetLabelNotFound struct { }
IssueGetLabelNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetLabelNotFound ¶
func NewIssueGetLabelNotFound() *IssueGetLabelNotFound
NewIssueGetLabelNotFound creates a IssueGetLabelNotFound with default headers values
func (*IssueGetLabelNotFound) Code ¶
func (o *IssueGetLabelNotFound) Code() int
Code gets the status code for the issue get label not found response
func (*IssueGetLabelNotFound) Error ¶
func (o *IssueGetLabelNotFound) Error() string
func (*IssueGetLabelNotFound) IsClientError ¶
func (o *IssueGetLabelNotFound) IsClientError() bool
IsClientError returns true when this issue get label not found response has a 4xx status code
func (*IssueGetLabelNotFound) IsCode ¶
func (o *IssueGetLabelNotFound) IsCode(code int) bool
IsCode returns true when this issue get label not found response a status code equal to that given
func (*IssueGetLabelNotFound) IsRedirect ¶
func (o *IssueGetLabelNotFound) IsRedirect() bool
IsRedirect returns true when this issue get label not found response has a 3xx status code
func (*IssueGetLabelNotFound) IsServerError ¶
func (o *IssueGetLabelNotFound) IsServerError() bool
IsServerError returns true when this issue get label not found response has a 5xx status code
func (*IssueGetLabelNotFound) IsSuccess ¶
func (o *IssueGetLabelNotFound) IsSuccess() bool
IsSuccess returns true when this issue get label not found response has a 2xx status code
func (*IssueGetLabelNotFound) String ¶
func (o *IssueGetLabelNotFound) String() string
type IssueGetLabelOK ¶
IssueGetLabelOK describes a response with status code 200, with default header values.
Label
func NewIssueGetLabelOK ¶
func NewIssueGetLabelOK() *IssueGetLabelOK
NewIssueGetLabelOK creates a IssueGetLabelOK with default headers values
func (*IssueGetLabelOK) Code ¶
func (o *IssueGetLabelOK) Code() int
Code gets the status code for the issue get label o k response
func (*IssueGetLabelOK) Error ¶
func (o *IssueGetLabelOK) Error() string
func (*IssueGetLabelOK) GetPayload ¶
func (o *IssueGetLabelOK) GetPayload() *models.Label
func (*IssueGetLabelOK) IsClientError ¶
func (o *IssueGetLabelOK) IsClientError() bool
IsClientError returns true when this issue get label o k response has a 4xx status code
func (*IssueGetLabelOK) IsCode ¶
func (o *IssueGetLabelOK) IsCode(code int) bool
IsCode returns true when this issue get label o k response a status code equal to that given
func (*IssueGetLabelOK) IsRedirect ¶
func (o *IssueGetLabelOK) IsRedirect() bool
IsRedirect returns true when this issue get label o k response has a 3xx status code
func (*IssueGetLabelOK) IsServerError ¶
func (o *IssueGetLabelOK) IsServerError() bool
IsServerError returns true when this issue get label o k response has a 5xx status code
func (*IssueGetLabelOK) IsSuccess ¶
func (o *IssueGetLabelOK) IsSuccess() bool
IsSuccess returns true when this issue get label o k response has a 2xx status code
func (*IssueGetLabelOK) String ¶
func (o *IssueGetLabelOK) String() string
type IssueGetLabelParams ¶
type IssueGetLabelParams struct { /* ID. id of the label to get Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetLabelParams contains all the parameters to send to the API endpoint
for the issue get label operation. Typically these are written to a http.Request.
func NewIssueGetLabelParams ¶
func NewIssueGetLabelParams() *IssueGetLabelParams
NewIssueGetLabelParams creates a new IssueGetLabelParams 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 NewIssueGetLabelParamsWithContext ¶
func NewIssueGetLabelParamsWithContext(ctx context.Context) *IssueGetLabelParams
NewIssueGetLabelParamsWithContext creates a new IssueGetLabelParams object with the ability to set a context for a request.
func NewIssueGetLabelParamsWithHTTPClient ¶
func NewIssueGetLabelParamsWithHTTPClient(client *http.Client) *IssueGetLabelParams
NewIssueGetLabelParamsWithHTTPClient creates a new IssueGetLabelParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetLabelParamsWithTimeout ¶
func NewIssueGetLabelParamsWithTimeout(timeout time.Duration) *IssueGetLabelParams
NewIssueGetLabelParamsWithTimeout creates a new IssueGetLabelParams object with the ability to set a timeout on a request.
func (*IssueGetLabelParams) SetContext ¶
func (o *IssueGetLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get label params
func (*IssueGetLabelParams) SetDefaults ¶
func (o *IssueGetLabelParams) SetDefaults()
SetDefaults hydrates default values in the issue get label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetLabelParams) SetHTTPClient ¶
func (o *IssueGetLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get label params
func (*IssueGetLabelParams) SetID ¶
func (o *IssueGetLabelParams) SetID(id int64)
SetID adds the id to the issue get label params
func (*IssueGetLabelParams) SetOwner ¶
func (o *IssueGetLabelParams) SetOwner(owner string)
SetOwner adds the owner to the issue get label params
func (*IssueGetLabelParams) SetRepo ¶
func (o *IssueGetLabelParams) SetRepo(repo string)
SetRepo adds the repo to the issue get label params
func (*IssueGetLabelParams) SetTimeout ¶
func (o *IssueGetLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get label params
func (*IssueGetLabelParams) WithContext ¶
func (o *IssueGetLabelParams) WithContext(ctx context.Context) *IssueGetLabelParams
WithContext adds the context to the issue get label params
func (*IssueGetLabelParams) WithDefaults ¶
func (o *IssueGetLabelParams) WithDefaults() *IssueGetLabelParams
WithDefaults hydrates default values in the issue get label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetLabelParams) WithHTTPClient ¶
func (o *IssueGetLabelParams) WithHTTPClient(client *http.Client) *IssueGetLabelParams
WithHTTPClient adds the HTTPClient to the issue get label params
func (*IssueGetLabelParams) WithID ¶
func (o *IssueGetLabelParams) WithID(id int64) *IssueGetLabelParams
WithID adds the id to the issue get label params
func (*IssueGetLabelParams) WithOwner ¶
func (o *IssueGetLabelParams) WithOwner(owner string) *IssueGetLabelParams
WithOwner adds the owner to the issue get label params
func (*IssueGetLabelParams) WithRepo ¶
func (o *IssueGetLabelParams) WithRepo(repo string) *IssueGetLabelParams
WithRepo adds the repo to the issue get label params
func (*IssueGetLabelParams) WithTimeout ¶
func (o *IssueGetLabelParams) WithTimeout(timeout time.Duration) *IssueGetLabelParams
WithTimeout adds the timeout to the issue get label params
func (*IssueGetLabelParams) WriteToRequest ¶
func (o *IssueGetLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetLabelReader ¶
type IssueGetLabelReader struct {
// contains filtered or unexported fields
}
IssueGetLabelReader is a Reader for the IssueGetLabel structure.
func (*IssueGetLabelReader) ReadResponse ¶
func (o *IssueGetLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetLabelsNotFound ¶
type IssueGetLabelsNotFound struct { }
IssueGetLabelsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetLabelsNotFound ¶
func NewIssueGetLabelsNotFound() *IssueGetLabelsNotFound
NewIssueGetLabelsNotFound creates a IssueGetLabelsNotFound with default headers values
func (*IssueGetLabelsNotFound) Code ¶
func (o *IssueGetLabelsNotFound) Code() int
Code gets the status code for the issue get labels not found response
func (*IssueGetLabelsNotFound) Error ¶
func (o *IssueGetLabelsNotFound) Error() string
func (*IssueGetLabelsNotFound) IsClientError ¶
func (o *IssueGetLabelsNotFound) IsClientError() bool
IsClientError returns true when this issue get labels not found response has a 4xx status code
func (*IssueGetLabelsNotFound) IsCode ¶
func (o *IssueGetLabelsNotFound) IsCode(code int) bool
IsCode returns true when this issue get labels not found response a status code equal to that given
func (*IssueGetLabelsNotFound) IsRedirect ¶
func (o *IssueGetLabelsNotFound) IsRedirect() bool
IsRedirect returns true when this issue get labels not found response has a 3xx status code
func (*IssueGetLabelsNotFound) IsServerError ¶
func (o *IssueGetLabelsNotFound) IsServerError() bool
IsServerError returns true when this issue get labels not found response has a 5xx status code
func (*IssueGetLabelsNotFound) IsSuccess ¶
func (o *IssueGetLabelsNotFound) IsSuccess() bool
IsSuccess returns true when this issue get labels not found response has a 2xx status code
func (*IssueGetLabelsNotFound) String ¶
func (o *IssueGetLabelsNotFound) String() string
type IssueGetLabelsOK ¶
IssueGetLabelsOK describes a response with status code 200, with default header values.
LabelList
func NewIssueGetLabelsOK ¶
func NewIssueGetLabelsOK() *IssueGetLabelsOK
NewIssueGetLabelsOK creates a IssueGetLabelsOK with default headers values
func (*IssueGetLabelsOK) Code ¶
func (o *IssueGetLabelsOK) Code() int
Code gets the status code for the issue get labels o k response
func (*IssueGetLabelsOK) Error ¶
func (o *IssueGetLabelsOK) Error() string
func (*IssueGetLabelsOK) GetPayload ¶
func (o *IssueGetLabelsOK) GetPayload() []*models.Label
func (*IssueGetLabelsOK) IsClientError ¶
func (o *IssueGetLabelsOK) IsClientError() bool
IsClientError returns true when this issue get labels o k response has a 4xx status code
func (*IssueGetLabelsOK) IsCode ¶
func (o *IssueGetLabelsOK) IsCode(code int) bool
IsCode returns true when this issue get labels o k response a status code equal to that given
func (*IssueGetLabelsOK) IsRedirect ¶
func (o *IssueGetLabelsOK) IsRedirect() bool
IsRedirect returns true when this issue get labels o k response has a 3xx status code
func (*IssueGetLabelsOK) IsServerError ¶
func (o *IssueGetLabelsOK) IsServerError() bool
IsServerError returns true when this issue get labels o k response has a 5xx status code
func (*IssueGetLabelsOK) IsSuccess ¶
func (o *IssueGetLabelsOK) IsSuccess() bool
IsSuccess returns true when this issue get labels o k response has a 2xx status code
func (*IssueGetLabelsOK) String ¶
func (o *IssueGetLabelsOK) String() string
type IssueGetLabelsParams ¶
type IssueGetLabelsParams struct { /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetLabelsParams contains all the parameters to send to the API endpoint
for the issue get labels operation. Typically these are written to a http.Request.
func NewIssueGetLabelsParams ¶
func NewIssueGetLabelsParams() *IssueGetLabelsParams
NewIssueGetLabelsParams creates a new IssueGetLabelsParams 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 NewIssueGetLabelsParamsWithContext ¶
func NewIssueGetLabelsParamsWithContext(ctx context.Context) *IssueGetLabelsParams
NewIssueGetLabelsParamsWithContext creates a new IssueGetLabelsParams object with the ability to set a context for a request.
func NewIssueGetLabelsParamsWithHTTPClient ¶
func NewIssueGetLabelsParamsWithHTTPClient(client *http.Client) *IssueGetLabelsParams
NewIssueGetLabelsParamsWithHTTPClient creates a new IssueGetLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetLabelsParamsWithTimeout ¶
func NewIssueGetLabelsParamsWithTimeout(timeout time.Duration) *IssueGetLabelsParams
NewIssueGetLabelsParamsWithTimeout creates a new IssueGetLabelsParams object with the ability to set a timeout on a request.
func (*IssueGetLabelsParams) SetContext ¶
func (o *IssueGetLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get labels params
func (*IssueGetLabelsParams) SetDefaults ¶
func (o *IssueGetLabelsParams) SetDefaults()
SetDefaults hydrates default values in the issue get labels params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetLabelsParams) SetHTTPClient ¶
func (o *IssueGetLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get labels params
func (*IssueGetLabelsParams) SetIndex ¶
func (o *IssueGetLabelsParams) SetIndex(index int64)
SetIndex adds the index to the issue get labels params
func (*IssueGetLabelsParams) SetOwner ¶
func (o *IssueGetLabelsParams) SetOwner(owner string)
SetOwner adds the owner to the issue get labels params
func (*IssueGetLabelsParams) SetRepo ¶
func (o *IssueGetLabelsParams) SetRepo(repo string)
SetRepo adds the repo to the issue get labels params
func (*IssueGetLabelsParams) SetTimeout ¶
func (o *IssueGetLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get labels params
func (*IssueGetLabelsParams) WithContext ¶
func (o *IssueGetLabelsParams) WithContext(ctx context.Context) *IssueGetLabelsParams
WithContext adds the context to the issue get labels params
func (*IssueGetLabelsParams) WithDefaults ¶
func (o *IssueGetLabelsParams) WithDefaults() *IssueGetLabelsParams
WithDefaults hydrates default values in the issue get labels params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetLabelsParams) WithHTTPClient ¶
func (o *IssueGetLabelsParams) WithHTTPClient(client *http.Client) *IssueGetLabelsParams
WithHTTPClient adds the HTTPClient to the issue get labels params
func (*IssueGetLabelsParams) WithIndex ¶
func (o *IssueGetLabelsParams) WithIndex(index int64) *IssueGetLabelsParams
WithIndex adds the index to the issue get labels params
func (*IssueGetLabelsParams) WithOwner ¶
func (o *IssueGetLabelsParams) WithOwner(owner string) *IssueGetLabelsParams
WithOwner adds the owner to the issue get labels params
func (*IssueGetLabelsParams) WithRepo ¶
func (o *IssueGetLabelsParams) WithRepo(repo string) *IssueGetLabelsParams
WithRepo adds the repo to the issue get labels params
func (*IssueGetLabelsParams) WithTimeout ¶
func (o *IssueGetLabelsParams) WithTimeout(timeout time.Duration) *IssueGetLabelsParams
WithTimeout adds the timeout to the issue get labels params
func (*IssueGetLabelsParams) WriteToRequest ¶
func (o *IssueGetLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetLabelsReader ¶
type IssueGetLabelsReader struct {
// contains filtered or unexported fields
}
IssueGetLabelsReader is a Reader for the IssueGetLabels structure.
func (*IssueGetLabelsReader) ReadResponse ¶
func (o *IssueGetLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetMilestoneNotFound ¶
type IssueGetMilestoneNotFound struct { }
IssueGetMilestoneNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetMilestoneNotFound ¶
func NewIssueGetMilestoneNotFound() *IssueGetMilestoneNotFound
NewIssueGetMilestoneNotFound creates a IssueGetMilestoneNotFound with default headers values
func (*IssueGetMilestoneNotFound) Code ¶
func (o *IssueGetMilestoneNotFound) Code() int
Code gets the status code for the issue get milestone not found response
func (*IssueGetMilestoneNotFound) Error ¶
func (o *IssueGetMilestoneNotFound) Error() string
func (*IssueGetMilestoneNotFound) IsClientError ¶
func (o *IssueGetMilestoneNotFound) IsClientError() bool
IsClientError returns true when this issue get milestone not found response has a 4xx status code
func (*IssueGetMilestoneNotFound) IsCode ¶
func (o *IssueGetMilestoneNotFound) IsCode(code int) bool
IsCode returns true when this issue get milestone not found response a status code equal to that given
func (*IssueGetMilestoneNotFound) IsRedirect ¶
func (o *IssueGetMilestoneNotFound) IsRedirect() bool
IsRedirect returns true when this issue get milestone not found response has a 3xx status code
func (*IssueGetMilestoneNotFound) IsServerError ¶
func (o *IssueGetMilestoneNotFound) IsServerError() bool
IsServerError returns true when this issue get milestone not found response has a 5xx status code
func (*IssueGetMilestoneNotFound) IsSuccess ¶
func (o *IssueGetMilestoneNotFound) IsSuccess() bool
IsSuccess returns true when this issue get milestone not found response has a 2xx status code
func (*IssueGetMilestoneNotFound) String ¶
func (o *IssueGetMilestoneNotFound) String() string
type IssueGetMilestoneOK ¶
IssueGetMilestoneOK describes a response with status code 200, with default header values.
Milestone
func NewIssueGetMilestoneOK ¶
func NewIssueGetMilestoneOK() *IssueGetMilestoneOK
NewIssueGetMilestoneOK creates a IssueGetMilestoneOK with default headers values
func (*IssueGetMilestoneOK) Code ¶
func (o *IssueGetMilestoneOK) Code() int
Code gets the status code for the issue get milestone o k response
func (*IssueGetMilestoneOK) Error ¶
func (o *IssueGetMilestoneOK) Error() string
func (*IssueGetMilestoneOK) GetPayload ¶
func (o *IssueGetMilestoneOK) GetPayload() *models.Milestone
func (*IssueGetMilestoneOK) IsClientError ¶
func (o *IssueGetMilestoneOK) IsClientError() bool
IsClientError returns true when this issue get milestone o k response has a 4xx status code
func (*IssueGetMilestoneOK) IsCode ¶
func (o *IssueGetMilestoneOK) IsCode(code int) bool
IsCode returns true when this issue get milestone o k response a status code equal to that given
func (*IssueGetMilestoneOK) IsRedirect ¶
func (o *IssueGetMilestoneOK) IsRedirect() bool
IsRedirect returns true when this issue get milestone o k response has a 3xx status code
func (*IssueGetMilestoneOK) IsServerError ¶
func (o *IssueGetMilestoneOK) IsServerError() bool
IsServerError returns true when this issue get milestone o k response has a 5xx status code
func (*IssueGetMilestoneOK) IsSuccess ¶
func (o *IssueGetMilestoneOK) IsSuccess() bool
IsSuccess returns true when this issue get milestone o k response has a 2xx status code
func (*IssueGetMilestoneOK) String ¶
func (o *IssueGetMilestoneOK) String() string
type IssueGetMilestoneParams ¶
type IssueGetMilestoneParams struct { /* ID. the milestone to get, identified by ID and if not available by name */ ID string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetMilestoneParams contains all the parameters to send to the API endpoint
for the issue get milestone operation. Typically these are written to a http.Request.
func NewIssueGetMilestoneParams ¶
func NewIssueGetMilestoneParams() *IssueGetMilestoneParams
NewIssueGetMilestoneParams creates a new IssueGetMilestoneParams 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 NewIssueGetMilestoneParamsWithContext ¶
func NewIssueGetMilestoneParamsWithContext(ctx context.Context) *IssueGetMilestoneParams
NewIssueGetMilestoneParamsWithContext creates a new IssueGetMilestoneParams object with the ability to set a context for a request.
func NewIssueGetMilestoneParamsWithHTTPClient ¶
func NewIssueGetMilestoneParamsWithHTTPClient(client *http.Client) *IssueGetMilestoneParams
NewIssueGetMilestoneParamsWithHTTPClient creates a new IssueGetMilestoneParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetMilestoneParamsWithTimeout ¶
func NewIssueGetMilestoneParamsWithTimeout(timeout time.Duration) *IssueGetMilestoneParams
NewIssueGetMilestoneParamsWithTimeout creates a new IssueGetMilestoneParams object with the ability to set a timeout on a request.
func (*IssueGetMilestoneParams) SetContext ¶
func (o *IssueGetMilestoneParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get milestone params
func (*IssueGetMilestoneParams) SetDefaults ¶
func (o *IssueGetMilestoneParams) SetDefaults()
SetDefaults hydrates default values in the issue get milestone params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetMilestoneParams) SetHTTPClient ¶
func (o *IssueGetMilestoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get milestone params
func (*IssueGetMilestoneParams) SetID ¶
func (o *IssueGetMilestoneParams) SetID(id string)
SetID adds the id to the issue get milestone params
func (*IssueGetMilestoneParams) SetOwner ¶
func (o *IssueGetMilestoneParams) SetOwner(owner string)
SetOwner adds the owner to the issue get milestone params
func (*IssueGetMilestoneParams) SetRepo ¶
func (o *IssueGetMilestoneParams) SetRepo(repo string)
SetRepo adds the repo to the issue get milestone params
func (*IssueGetMilestoneParams) SetTimeout ¶
func (o *IssueGetMilestoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get milestone params
func (*IssueGetMilestoneParams) WithContext ¶
func (o *IssueGetMilestoneParams) WithContext(ctx context.Context) *IssueGetMilestoneParams
WithContext adds the context to the issue get milestone params
func (*IssueGetMilestoneParams) WithDefaults ¶
func (o *IssueGetMilestoneParams) WithDefaults() *IssueGetMilestoneParams
WithDefaults hydrates default values in the issue get milestone params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetMilestoneParams) WithHTTPClient ¶
func (o *IssueGetMilestoneParams) WithHTTPClient(client *http.Client) *IssueGetMilestoneParams
WithHTTPClient adds the HTTPClient to the issue get milestone params
func (*IssueGetMilestoneParams) WithID ¶
func (o *IssueGetMilestoneParams) WithID(id string) *IssueGetMilestoneParams
WithID adds the id to the issue get milestone params
func (*IssueGetMilestoneParams) WithOwner ¶
func (o *IssueGetMilestoneParams) WithOwner(owner string) *IssueGetMilestoneParams
WithOwner adds the owner to the issue get milestone params
func (*IssueGetMilestoneParams) WithRepo ¶
func (o *IssueGetMilestoneParams) WithRepo(repo string) *IssueGetMilestoneParams
WithRepo adds the repo to the issue get milestone params
func (*IssueGetMilestoneParams) WithTimeout ¶
func (o *IssueGetMilestoneParams) WithTimeout(timeout time.Duration) *IssueGetMilestoneParams
WithTimeout adds the timeout to the issue get milestone params
func (*IssueGetMilestoneParams) WriteToRequest ¶
func (o *IssueGetMilestoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetMilestoneReader ¶
type IssueGetMilestoneReader struct {
// contains filtered or unexported fields
}
IssueGetMilestoneReader is a Reader for the IssueGetMilestone structure.
func (*IssueGetMilestoneReader) ReadResponse ¶
func (o *IssueGetMilestoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetMilestonesListNotFound ¶
type IssueGetMilestonesListNotFound struct { }
IssueGetMilestonesListNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetMilestonesListNotFound ¶
func NewIssueGetMilestonesListNotFound() *IssueGetMilestonesListNotFound
NewIssueGetMilestonesListNotFound creates a IssueGetMilestonesListNotFound with default headers values
func (*IssueGetMilestonesListNotFound) Code ¶
func (o *IssueGetMilestonesListNotFound) Code() int
Code gets the status code for the issue get milestones list not found response
func (*IssueGetMilestonesListNotFound) Error ¶
func (o *IssueGetMilestonesListNotFound) Error() string
func (*IssueGetMilestonesListNotFound) IsClientError ¶
func (o *IssueGetMilestonesListNotFound) IsClientError() bool
IsClientError returns true when this issue get milestones list not found response has a 4xx status code
func (*IssueGetMilestonesListNotFound) IsCode ¶
func (o *IssueGetMilestonesListNotFound) IsCode(code int) bool
IsCode returns true when this issue get milestones list not found response a status code equal to that given
func (*IssueGetMilestonesListNotFound) IsRedirect ¶
func (o *IssueGetMilestonesListNotFound) IsRedirect() bool
IsRedirect returns true when this issue get milestones list not found response has a 3xx status code
func (*IssueGetMilestonesListNotFound) IsServerError ¶
func (o *IssueGetMilestonesListNotFound) IsServerError() bool
IsServerError returns true when this issue get milestones list not found response has a 5xx status code
func (*IssueGetMilestonesListNotFound) IsSuccess ¶
func (o *IssueGetMilestonesListNotFound) IsSuccess() bool
IsSuccess returns true when this issue get milestones list not found response has a 2xx status code
func (*IssueGetMilestonesListNotFound) String ¶
func (o *IssueGetMilestonesListNotFound) String() string
type IssueGetMilestonesListOK ¶
IssueGetMilestonesListOK describes a response with status code 200, with default header values.
MilestoneList
func NewIssueGetMilestonesListOK ¶
func NewIssueGetMilestonesListOK() *IssueGetMilestonesListOK
NewIssueGetMilestonesListOK creates a IssueGetMilestonesListOK with default headers values
func (*IssueGetMilestonesListOK) Code ¶
func (o *IssueGetMilestonesListOK) Code() int
Code gets the status code for the issue get milestones list o k response
func (*IssueGetMilestonesListOK) Error ¶
func (o *IssueGetMilestonesListOK) Error() string
func (*IssueGetMilestonesListOK) GetPayload ¶
func (o *IssueGetMilestonesListOK) GetPayload() []*models.Milestone
func (*IssueGetMilestonesListOK) IsClientError ¶
func (o *IssueGetMilestonesListOK) IsClientError() bool
IsClientError returns true when this issue get milestones list o k response has a 4xx status code
func (*IssueGetMilestonesListOK) IsCode ¶
func (o *IssueGetMilestonesListOK) IsCode(code int) bool
IsCode returns true when this issue get milestones list o k response a status code equal to that given
func (*IssueGetMilestonesListOK) IsRedirect ¶
func (o *IssueGetMilestonesListOK) IsRedirect() bool
IsRedirect returns true when this issue get milestones list o k response has a 3xx status code
func (*IssueGetMilestonesListOK) IsServerError ¶
func (o *IssueGetMilestonesListOK) IsServerError() bool
IsServerError returns true when this issue get milestones list o k response has a 5xx status code
func (*IssueGetMilestonesListOK) IsSuccess ¶
func (o *IssueGetMilestonesListOK) IsSuccess() bool
IsSuccess returns true when this issue get milestones list o k response has a 2xx status code
func (*IssueGetMilestonesListOK) String ¶
func (o *IssueGetMilestonesListOK) String() string
type IssueGetMilestonesListParams ¶
type IssueGetMilestonesListParams struct { /* Limit. page size of results */ Limit *int64 /* Name. filter by milestone name */ Name *string /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string /* State. Milestone state, Recognized values are open, closed and all. Defaults to "open" */ State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetMilestonesListParams contains all the parameters to send to the API endpoint
for the issue get milestones list operation. Typically these are written to a http.Request.
func NewIssueGetMilestonesListParams ¶
func NewIssueGetMilestonesListParams() *IssueGetMilestonesListParams
NewIssueGetMilestonesListParams creates a new IssueGetMilestonesListParams 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 NewIssueGetMilestonesListParamsWithContext ¶
func NewIssueGetMilestonesListParamsWithContext(ctx context.Context) *IssueGetMilestonesListParams
NewIssueGetMilestonesListParamsWithContext creates a new IssueGetMilestonesListParams object with the ability to set a context for a request.
func NewIssueGetMilestonesListParamsWithHTTPClient ¶
func NewIssueGetMilestonesListParamsWithHTTPClient(client *http.Client) *IssueGetMilestonesListParams
NewIssueGetMilestonesListParamsWithHTTPClient creates a new IssueGetMilestonesListParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetMilestonesListParamsWithTimeout ¶
func NewIssueGetMilestonesListParamsWithTimeout(timeout time.Duration) *IssueGetMilestonesListParams
NewIssueGetMilestonesListParamsWithTimeout creates a new IssueGetMilestonesListParams object with the ability to set a timeout on a request.
func (*IssueGetMilestonesListParams) SetContext ¶
func (o *IssueGetMilestonesListParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get milestones list params
func (*IssueGetMilestonesListParams) SetDefaults ¶
func (o *IssueGetMilestonesListParams) SetDefaults()
SetDefaults hydrates default values in the issue get milestones list params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetMilestonesListParams) SetHTTPClient ¶
func (o *IssueGetMilestonesListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get milestones list params
func (*IssueGetMilestonesListParams) SetLimit ¶
func (o *IssueGetMilestonesListParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue get milestones list params
func (*IssueGetMilestonesListParams) SetName ¶
func (o *IssueGetMilestonesListParams) SetName(name *string)
SetName adds the name to the issue get milestones list params
func (*IssueGetMilestonesListParams) SetOwner ¶
func (o *IssueGetMilestonesListParams) SetOwner(owner string)
SetOwner adds the owner to the issue get milestones list params
func (*IssueGetMilestonesListParams) SetPage ¶
func (o *IssueGetMilestonesListParams) SetPage(page *int64)
SetPage adds the page to the issue get milestones list params
func (*IssueGetMilestonesListParams) SetRepo ¶
func (o *IssueGetMilestonesListParams) SetRepo(repo string)
SetRepo adds the repo to the issue get milestones list params
func (*IssueGetMilestonesListParams) SetState ¶
func (o *IssueGetMilestonesListParams) SetState(state *string)
SetState adds the state to the issue get milestones list params
func (*IssueGetMilestonesListParams) SetTimeout ¶
func (o *IssueGetMilestonesListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithContext ¶
func (o *IssueGetMilestonesListParams) WithContext(ctx context.Context) *IssueGetMilestonesListParams
WithContext adds the context to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithDefaults ¶
func (o *IssueGetMilestonesListParams) WithDefaults() *IssueGetMilestonesListParams
WithDefaults hydrates default values in the issue get milestones list params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetMilestonesListParams) WithHTTPClient ¶
func (o *IssueGetMilestonesListParams) WithHTTPClient(client *http.Client) *IssueGetMilestonesListParams
WithHTTPClient adds the HTTPClient to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithLimit ¶
func (o *IssueGetMilestonesListParams) WithLimit(limit *int64) *IssueGetMilestonesListParams
WithLimit adds the limit to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithName ¶
func (o *IssueGetMilestonesListParams) WithName(name *string) *IssueGetMilestonesListParams
WithName adds the name to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithOwner ¶
func (o *IssueGetMilestonesListParams) WithOwner(owner string) *IssueGetMilestonesListParams
WithOwner adds the owner to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithPage ¶
func (o *IssueGetMilestonesListParams) WithPage(page *int64) *IssueGetMilestonesListParams
WithPage adds the page to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithRepo ¶
func (o *IssueGetMilestonesListParams) WithRepo(repo string) *IssueGetMilestonesListParams
WithRepo adds the repo to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithState ¶
func (o *IssueGetMilestonesListParams) WithState(state *string) *IssueGetMilestonesListParams
WithState adds the state to the issue get milestones list params
func (*IssueGetMilestonesListParams) WithTimeout ¶
func (o *IssueGetMilestonesListParams) WithTimeout(timeout time.Duration) *IssueGetMilestonesListParams
WithTimeout adds the timeout to the issue get milestones list params
func (*IssueGetMilestonesListParams) WriteToRequest ¶
func (o *IssueGetMilestonesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetMilestonesListReader ¶
type IssueGetMilestonesListReader struct {
// contains filtered or unexported fields
}
IssueGetMilestonesListReader is a Reader for the IssueGetMilestonesList structure.
func (*IssueGetMilestonesListReader) ReadResponse ¶
func (o *IssueGetMilestonesListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueGetRepoCommentsNotFound ¶
type IssueGetRepoCommentsNotFound struct { }
IssueGetRepoCommentsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueGetRepoCommentsNotFound ¶
func NewIssueGetRepoCommentsNotFound() *IssueGetRepoCommentsNotFound
NewIssueGetRepoCommentsNotFound creates a IssueGetRepoCommentsNotFound with default headers values
func (*IssueGetRepoCommentsNotFound) Code ¶
func (o *IssueGetRepoCommentsNotFound) Code() int
Code gets the status code for the issue get repo comments not found response
func (*IssueGetRepoCommentsNotFound) Error ¶
func (o *IssueGetRepoCommentsNotFound) Error() string
func (*IssueGetRepoCommentsNotFound) IsClientError ¶
func (o *IssueGetRepoCommentsNotFound) IsClientError() bool
IsClientError returns true when this issue get repo comments not found response has a 4xx status code
func (*IssueGetRepoCommentsNotFound) IsCode ¶
func (o *IssueGetRepoCommentsNotFound) IsCode(code int) bool
IsCode returns true when this issue get repo comments not found response a status code equal to that given
func (*IssueGetRepoCommentsNotFound) IsRedirect ¶
func (o *IssueGetRepoCommentsNotFound) IsRedirect() bool
IsRedirect returns true when this issue get repo comments not found response has a 3xx status code
func (*IssueGetRepoCommentsNotFound) IsServerError ¶
func (o *IssueGetRepoCommentsNotFound) IsServerError() bool
IsServerError returns true when this issue get repo comments not found response has a 5xx status code
func (*IssueGetRepoCommentsNotFound) IsSuccess ¶
func (o *IssueGetRepoCommentsNotFound) IsSuccess() bool
IsSuccess returns true when this issue get repo comments not found response has a 2xx status code
func (*IssueGetRepoCommentsNotFound) String ¶
func (o *IssueGetRepoCommentsNotFound) String() string
type IssueGetRepoCommentsOK ¶
IssueGetRepoCommentsOK describes a response with status code 200, with default header values.
CommentList
func NewIssueGetRepoCommentsOK ¶
func NewIssueGetRepoCommentsOK() *IssueGetRepoCommentsOK
NewIssueGetRepoCommentsOK creates a IssueGetRepoCommentsOK with default headers values
func (*IssueGetRepoCommentsOK) Code ¶
func (o *IssueGetRepoCommentsOK) Code() int
Code gets the status code for the issue get repo comments o k response
func (*IssueGetRepoCommentsOK) Error ¶
func (o *IssueGetRepoCommentsOK) Error() string
func (*IssueGetRepoCommentsOK) GetPayload ¶
func (o *IssueGetRepoCommentsOK) GetPayload() []*models.Comment
func (*IssueGetRepoCommentsOK) IsClientError ¶
func (o *IssueGetRepoCommentsOK) IsClientError() bool
IsClientError returns true when this issue get repo comments o k response has a 4xx status code
func (*IssueGetRepoCommentsOK) IsCode ¶
func (o *IssueGetRepoCommentsOK) IsCode(code int) bool
IsCode returns true when this issue get repo comments o k response a status code equal to that given
func (*IssueGetRepoCommentsOK) IsRedirect ¶
func (o *IssueGetRepoCommentsOK) IsRedirect() bool
IsRedirect returns true when this issue get repo comments o k response has a 3xx status code
func (*IssueGetRepoCommentsOK) IsServerError ¶
func (o *IssueGetRepoCommentsOK) IsServerError() bool
IsServerError returns true when this issue get repo comments o k response has a 5xx status code
func (*IssueGetRepoCommentsOK) IsSuccess ¶
func (o *IssueGetRepoCommentsOK) IsSuccess() bool
IsSuccess returns true when this issue get repo comments o k response has a 2xx status code
func (*IssueGetRepoCommentsOK) String ¶
func (o *IssueGetRepoCommentsOK) String() string
type IssueGetRepoCommentsParams ¶
type IssueGetRepoCommentsParams struct { /* Before. if provided, only comments updated before the provided time are returned. Format: date-time */ Before *strfmt.DateTime /* Limit. page size of results */ Limit *int64 /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string /* Since. if provided, only comments updated since the provided time are returned. Format: date-time */ Since *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueGetRepoCommentsParams contains all the parameters to send to the API endpoint
for the issue get repo comments operation. Typically these are written to a http.Request.
func NewIssueGetRepoCommentsParams ¶
func NewIssueGetRepoCommentsParams() *IssueGetRepoCommentsParams
NewIssueGetRepoCommentsParams creates a new IssueGetRepoCommentsParams 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 NewIssueGetRepoCommentsParamsWithContext ¶
func NewIssueGetRepoCommentsParamsWithContext(ctx context.Context) *IssueGetRepoCommentsParams
NewIssueGetRepoCommentsParamsWithContext creates a new IssueGetRepoCommentsParams object with the ability to set a context for a request.
func NewIssueGetRepoCommentsParamsWithHTTPClient ¶
func NewIssueGetRepoCommentsParamsWithHTTPClient(client *http.Client) *IssueGetRepoCommentsParams
NewIssueGetRepoCommentsParamsWithHTTPClient creates a new IssueGetRepoCommentsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueGetRepoCommentsParamsWithTimeout ¶
func NewIssueGetRepoCommentsParamsWithTimeout(timeout time.Duration) *IssueGetRepoCommentsParams
NewIssueGetRepoCommentsParamsWithTimeout creates a new IssueGetRepoCommentsParams object with the ability to set a timeout on a request.
func (*IssueGetRepoCommentsParams) SetBefore ¶
func (o *IssueGetRepoCommentsParams) SetBefore(before *strfmt.DateTime)
SetBefore adds the before to the issue get repo comments params
func (*IssueGetRepoCommentsParams) SetContext ¶
func (o *IssueGetRepoCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue get repo comments params
func (*IssueGetRepoCommentsParams) SetDefaults ¶
func (o *IssueGetRepoCommentsParams) SetDefaults()
SetDefaults hydrates default values in the issue get repo comments params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetRepoCommentsParams) SetHTTPClient ¶
func (o *IssueGetRepoCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue get repo comments params
func (*IssueGetRepoCommentsParams) SetLimit ¶
func (o *IssueGetRepoCommentsParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue get repo comments params
func (*IssueGetRepoCommentsParams) SetOwner ¶
func (o *IssueGetRepoCommentsParams) SetOwner(owner string)
SetOwner adds the owner to the issue get repo comments params
func (*IssueGetRepoCommentsParams) SetPage ¶
func (o *IssueGetRepoCommentsParams) SetPage(page *int64)
SetPage adds the page to the issue get repo comments params
func (*IssueGetRepoCommentsParams) SetRepo ¶
func (o *IssueGetRepoCommentsParams) SetRepo(repo string)
SetRepo adds the repo to the issue get repo comments params
func (*IssueGetRepoCommentsParams) SetSince ¶
func (o *IssueGetRepoCommentsParams) SetSince(since *strfmt.DateTime)
SetSince adds the since to the issue get repo comments params
func (*IssueGetRepoCommentsParams) SetTimeout ¶
func (o *IssueGetRepoCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithBefore ¶
func (o *IssueGetRepoCommentsParams) WithBefore(before *strfmt.DateTime) *IssueGetRepoCommentsParams
WithBefore adds the before to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithContext ¶
func (o *IssueGetRepoCommentsParams) WithContext(ctx context.Context) *IssueGetRepoCommentsParams
WithContext adds the context to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithDefaults ¶
func (o *IssueGetRepoCommentsParams) WithDefaults() *IssueGetRepoCommentsParams
WithDefaults hydrates default values in the issue get repo comments params (not the query body).
All values with no default are reset to their zero value.
func (*IssueGetRepoCommentsParams) WithHTTPClient ¶
func (o *IssueGetRepoCommentsParams) WithHTTPClient(client *http.Client) *IssueGetRepoCommentsParams
WithHTTPClient adds the HTTPClient to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithLimit ¶
func (o *IssueGetRepoCommentsParams) WithLimit(limit *int64) *IssueGetRepoCommentsParams
WithLimit adds the limit to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithOwner ¶
func (o *IssueGetRepoCommentsParams) WithOwner(owner string) *IssueGetRepoCommentsParams
WithOwner adds the owner to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithPage ¶
func (o *IssueGetRepoCommentsParams) WithPage(page *int64) *IssueGetRepoCommentsParams
WithPage adds the page to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithRepo ¶
func (o *IssueGetRepoCommentsParams) WithRepo(repo string) *IssueGetRepoCommentsParams
WithRepo adds the repo to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithSince ¶
func (o *IssueGetRepoCommentsParams) WithSince(since *strfmt.DateTime) *IssueGetRepoCommentsParams
WithSince adds the since to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WithTimeout ¶
func (o *IssueGetRepoCommentsParams) WithTimeout(timeout time.Duration) *IssueGetRepoCommentsParams
WithTimeout adds the timeout to the issue get repo comments params
func (*IssueGetRepoCommentsParams) WriteToRequest ¶
func (o *IssueGetRepoCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueGetRepoCommentsReader ¶
type IssueGetRepoCommentsReader struct {
// contains filtered or unexported fields
}
IssueGetRepoCommentsReader is a Reader for the IssueGetRepoComments structure.
func (*IssueGetRepoCommentsReader) ReadResponse ¶
func (o *IssueGetRepoCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueListBlocksNotFound ¶
type IssueListBlocksNotFound struct { }
IssueListBlocksNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueListBlocksNotFound ¶
func NewIssueListBlocksNotFound() *IssueListBlocksNotFound
NewIssueListBlocksNotFound creates a IssueListBlocksNotFound with default headers values
func (*IssueListBlocksNotFound) Code ¶
func (o *IssueListBlocksNotFound) Code() int
Code gets the status code for the issue list blocks not found response
func (*IssueListBlocksNotFound) Error ¶
func (o *IssueListBlocksNotFound) Error() string
func (*IssueListBlocksNotFound) IsClientError ¶
func (o *IssueListBlocksNotFound) IsClientError() bool
IsClientError returns true when this issue list blocks not found response has a 4xx status code
func (*IssueListBlocksNotFound) IsCode ¶
func (o *IssueListBlocksNotFound) IsCode(code int) bool
IsCode returns true when this issue list blocks not found response a status code equal to that given
func (*IssueListBlocksNotFound) IsRedirect ¶
func (o *IssueListBlocksNotFound) IsRedirect() bool
IsRedirect returns true when this issue list blocks not found response has a 3xx status code
func (*IssueListBlocksNotFound) IsServerError ¶
func (o *IssueListBlocksNotFound) IsServerError() bool
IsServerError returns true when this issue list blocks not found response has a 5xx status code
func (*IssueListBlocksNotFound) IsSuccess ¶
func (o *IssueListBlocksNotFound) IsSuccess() bool
IsSuccess returns true when this issue list blocks not found response has a 2xx status code
func (*IssueListBlocksNotFound) String ¶
func (o *IssueListBlocksNotFound) String() string
type IssueListBlocksOK ¶
IssueListBlocksOK describes a response with status code 200, with default header values.
IssueList
func NewIssueListBlocksOK ¶
func NewIssueListBlocksOK() *IssueListBlocksOK
NewIssueListBlocksOK creates a IssueListBlocksOK with default headers values
func (*IssueListBlocksOK) Code ¶
func (o *IssueListBlocksOK) Code() int
Code gets the status code for the issue list blocks o k response
func (*IssueListBlocksOK) Error ¶
func (o *IssueListBlocksOK) Error() string
func (*IssueListBlocksOK) GetPayload ¶
func (o *IssueListBlocksOK) GetPayload() []*models.Issue
func (*IssueListBlocksOK) IsClientError ¶
func (o *IssueListBlocksOK) IsClientError() bool
IsClientError returns true when this issue list blocks o k response has a 4xx status code
func (*IssueListBlocksOK) IsCode ¶
func (o *IssueListBlocksOK) IsCode(code int) bool
IsCode returns true when this issue list blocks o k response a status code equal to that given
func (*IssueListBlocksOK) IsRedirect ¶
func (o *IssueListBlocksOK) IsRedirect() bool
IsRedirect returns true when this issue list blocks o k response has a 3xx status code
func (*IssueListBlocksOK) IsServerError ¶
func (o *IssueListBlocksOK) IsServerError() bool
IsServerError returns true when this issue list blocks o k response has a 5xx status code
func (*IssueListBlocksOK) IsSuccess ¶
func (o *IssueListBlocksOK) IsSuccess() bool
IsSuccess returns true when this issue list blocks o k response has a 2xx status code
func (*IssueListBlocksOK) String ¶
func (o *IssueListBlocksOK) String() string
type IssueListBlocksParams ¶
type IssueListBlocksParams struct { /* Index. index of the issue */ Index string /* Limit. page size of results */ Limit *int64 /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueListBlocksParams contains all the parameters to send to the API endpoint
for the issue list blocks operation. Typically these are written to a http.Request.
func NewIssueListBlocksParams ¶
func NewIssueListBlocksParams() *IssueListBlocksParams
NewIssueListBlocksParams creates a new IssueListBlocksParams 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 NewIssueListBlocksParamsWithContext ¶
func NewIssueListBlocksParamsWithContext(ctx context.Context) *IssueListBlocksParams
NewIssueListBlocksParamsWithContext creates a new IssueListBlocksParams object with the ability to set a context for a request.
func NewIssueListBlocksParamsWithHTTPClient ¶
func NewIssueListBlocksParamsWithHTTPClient(client *http.Client) *IssueListBlocksParams
NewIssueListBlocksParamsWithHTTPClient creates a new IssueListBlocksParams object with the ability to set a custom HTTPClient for a request.
func NewIssueListBlocksParamsWithTimeout ¶
func NewIssueListBlocksParamsWithTimeout(timeout time.Duration) *IssueListBlocksParams
NewIssueListBlocksParamsWithTimeout creates a new IssueListBlocksParams object with the ability to set a timeout on a request.
func (*IssueListBlocksParams) SetContext ¶
func (o *IssueListBlocksParams) SetContext(ctx context.Context)
SetContext adds the context to the issue list blocks params
func (*IssueListBlocksParams) SetDefaults ¶
func (o *IssueListBlocksParams) SetDefaults()
SetDefaults hydrates default values in the issue list blocks params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListBlocksParams) SetHTTPClient ¶
func (o *IssueListBlocksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue list blocks params
func (*IssueListBlocksParams) SetIndex ¶
func (o *IssueListBlocksParams) SetIndex(index string)
SetIndex adds the index to the issue list blocks params
func (*IssueListBlocksParams) SetLimit ¶
func (o *IssueListBlocksParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue list blocks params
func (*IssueListBlocksParams) SetOwner ¶
func (o *IssueListBlocksParams) SetOwner(owner string)
SetOwner adds the owner to the issue list blocks params
func (*IssueListBlocksParams) SetPage ¶
func (o *IssueListBlocksParams) SetPage(page *int64)
SetPage adds the page to the issue list blocks params
func (*IssueListBlocksParams) SetRepo ¶
func (o *IssueListBlocksParams) SetRepo(repo string)
SetRepo adds the repo to the issue list blocks params
func (*IssueListBlocksParams) SetTimeout ¶
func (o *IssueListBlocksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue list blocks params
func (*IssueListBlocksParams) WithContext ¶
func (o *IssueListBlocksParams) WithContext(ctx context.Context) *IssueListBlocksParams
WithContext adds the context to the issue list blocks params
func (*IssueListBlocksParams) WithDefaults ¶
func (o *IssueListBlocksParams) WithDefaults() *IssueListBlocksParams
WithDefaults hydrates default values in the issue list blocks params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListBlocksParams) WithHTTPClient ¶
func (o *IssueListBlocksParams) WithHTTPClient(client *http.Client) *IssueListBlocksParams
WithHTTPClient adds the HTTPClient to the issue list blocks params
func (*IssueListBlocksParams) WithIndex ¶
func (o *IssueListBlocksParams) WithIndex(index string) *IssueListBlocksParams
WithIndex adds the index to the issue list blocks params
func (*IssueListBlocksParams) WithLimit ¶
func (o *IssueListBlocksParams) WithLimit(limit *int64) *IssueListBlocksParams
WithLimit adds the limit to the issue list blocks params
func (*IssueListBlocksParams) WithOwner ¶
func (o *IssueListBlocksParams) WithOwner(owner string) *IssueListBlocksParams
WithOwner adds the owner to the issue list blocks params
func (*IssueListBlocksParams) WithPage ¶
func (o *IssueListBlocksParams) WithPage(page *int64) *IssueListBlocksParams
WithPage adds the page to the issue list blocks params
func (*IssueListBlocksParams) WithRepo ¶
func (o *IssueListBlocksParams) WithRepo(repo string) *IssueListBlocksParams
WithRepo adds the repo to the issue list blocks params
func (*IssueListBlocksParams) WithTimeout ¶
func (o *IssueListBlocksParams) WithTimeout(timeout time.Duration) *IssueListBlocksParams
WithTimeout adds the timeout to the issue list blocks params
func (*IssueListBlocksParams) WriteToRequest ¶
func (o *IssueListBlocksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueListBlocksReader ¶
type IssueListBlocksReader struct {
// contains filtered or unexported fields
}
IssueListBlocksReader is a Reader for the IssueListBlocks structure.
func (*IssueListBlocksReader) ReadResponse ¶
func (o *IssueListBlocksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueListIssueAttachmentsNotFound ¶
IssueListIssueAttachmentsNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueListIssueAttachmentsNotFound ¶
func NewIssueListIssueAttachmentsNotFound() *IssueListIssueAttachmentsNotFound
NewIssueListIssueAttachmentsNotFound creates a IssueListIssueAttachmentsNotFound with default headers values
func (*IssueListIssueAttachmentsNotFound) Code ¶
func (o *IssueListIssueAttachmentsNotFound) Code() int
Code gets the status code for the issue list issue attachments not found response
func (*IssueListIssueAttachmentsNotFound) Error ¶
func (o *IssueListIssueAttachmentsNotFound) Error() string
func (*IssueListIssueAttachmentsNotFound) IsClientError ¶
func (o *IssueListIssueAttachmentsNotFound) IsClientError() bool
IsClientError returns true when this issue list issue attachments not found response has a 4xx status code
func (*IssueListIssueAttachmentsNotFound) IsCode ¶
func (o *IssueListIssueAttachmentsNotFound) IsCode(code int) bool
IsCode returns true when this issue list issue attachments not found response a status code equal to that given
func (*IssueListIssueAttachmentsNotFound) IsRedirect ¶
func (o *IssueListIssueAttachmentsNotFound) IsRedirect() bool
IsRedirect returns true when this issue list issue attachments not found response has a 3xx status code
func (*IssueListIssueAttachmentsNotFound) IsServerError ¶
func (o *IssueListIssueAttachmentsNotFound) IsServerError() bool
IsServerError returns true when this issue list issue attachments not found response has a 5xx status code
func (*IssueListIssueAttachmentsNotFound) IsSuccess ¶
func (o *IssueListIssueAttachmentsNotFound) IsSuccess() bool
IsSuccess returns true when this issue list issue attachments not found response has a 2xx status code
func (*IssueListIssueAttachmentsNotFound) String ¶
func (o *IssueListIssueAttachmentsNotFound) String() string
type IssueListIssueAttachmentsOK ¶
type IssueListIssueAttachmentsOK struct {
Payload []*models.Attachment
}
IssueListIssueAttachmentsOK describes a response with status code 200, with default header values.
AttachmentList
func NewIssueListIssueAttachmentsOK ¶
func NewIssueListIssueAttachmentsOK() *IssueListIssueAttachmentsOK
NewIssueListIssueAttachmentsOK creates a IssueListIssueAttachmentsOK with default headers values
func (*IssueListIssueAttachmentsOK) Code ¶
func (o *IssueListIssueAttachmentsOK) Code() int
Code gets the status code for the issue list issue attachments o k response
func (*IssueListIssueAttachmentsOK) Error ¶
func (o *IssueListIssueAttachmentsOK) Error() string
func (*IssueListIssueAttachmentsOK) GetPayload ¶
func (o *IssueListIssueAttachmentsOK) GetPayload() []*models.Attachment
func (*IssueListIssueAttachmentsOK) IsClientError ¶
func (o *IssueListIssueAttachmentsOK) IsClientError() bool
IsClientError returns true when this issue list issue attachments o k response has a 4xx status code
func (*IssueListIssueAttachmentsOK) IsCode ¶
func (o *IssueListIssueAttachmentsOK) IsCode(code int) bool
IsCode returns true when this issue list issue attachments o k response a status code equal to that given
func (*IssueListIssueAttachmentsOK) IsRedirect ¶
func (o *IssueListIssueAttachmentsOK) IsRedirect() bool
IsRedirect returns true when this issue list issue attachments o k response has a 3xx status code
func (*IssueListIssueAttachmentsOK) IsServerError ¶
func (o *IssueListIssueAttachmentsOK) IsServerError() bool
IsServerError returns true when this issue list issue attachments o k response has a 5xx status code
func (*IssueListIssueAttachmentsOK) IsSuccess ¶
func (o *IssueListIssueAttachmentsOK) IsSuccess() bool
IsSuccess returns true when this issue list issue attachments o k response has a 2xx status code
func (*IssueListIssueAttachmentsOK) String ¶
func (o *IssueListIssueAttachmentsOK) String() string
type IssueListIssueAttachmentsParams ¶
type IssueListIssueAttachmentsParams struct { /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueListIssueAttachmentsParams contains all the parameters to send to the API endpoint
for the issue list issue attachments operation. Typically these are written to a http.Request.
func NewIssueListIssueAttachmentsParams ¶
func NewIssueListIssueAttachmentsParams() *IssueListIssueAttachmentsParams
NewIssueListIssueAttachmentsParams creates a new IssueListIssueAttachmentsParams 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 NewIssueListIssueAttachmentsParamsWithContext ¶
func NewIssueListIssueAttachmentsParamsWithContext(ctx context.Context) *IssueListIssueAttachmentsParams
NewIssueListIssueAttachmentsParamsWithContext creates a new IssueListIssueAttachmentsParams object with the ability to set a context for a request.
func NewIssueListIssueAttachmentsParamsWithHTTPClient ¶
func NewIssueListIssueAttachmentsParamsWithHTTPClient(client *http.Client) *IssueListIssueAttachmentsParams
NewIssueListIssueAttachmentsParamsWithHTTPClient creates a new IssueListIssueAttachmentsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueListIssueAttachmentsParamsWithTimeout ¶
func NewIssueListIssueAttachmentsParamsWithTimeout(timeout time.Duration) *IssueListIssueAttachmentsParams
NewIssueListIssueAttachmentsParamsWithTimeout creates a new IssueListIssueAttachmentsParams object with the ability to set a timeout on a request.
func (*IssueListIssueAttachmentsParams) SetContext ¶
func (o *IssueListIssueAttachmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) SetDefaults ¶
func (o *IssueListIssueAttachmentsParams) SetDefaults()
SetDefaults hydrates default values in the issue list issue attachments params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListIssueAttachmentsParams) SetHTTPClient ¶
func (o *IssueListIssueAttachmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) SetIndex ¶
func (o *IssueListIssueAttachmentsParams) SetIndex(index int64)
SetIndex adds the index to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) SetOwner ¶
func (o *IssueListIssueAttachmentsParams) SetOwner(owner string)
SetOwner adds the owner to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) SetRepo ¶
func (o *IssueListIssueAttachmentsParams) SetRepo(repo string)
SetRepo adds the repo to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) SetTimeout ¶
func (o *IssueListIssueAttachmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) WithContext ¶
func (o *IssueListIssueAttachmentsParams) WithContext(ctx context.Context) *IssueListIssueAttachmentsParams
WithContext adds the context to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) WithDefaults ¶
func (o *IssueListIssueAttachmentsParams) WithDefaults() *IssueListIssueAttachmentsParams
WithDefaults hydrates default values in the issue list issue attachments params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListIssueAttachmentsParams) WithHTTPClient ¶
func (o *IssueListIssueAttachmentsParams) WithHTTPClient(client *http.Client) *IssueListIssueAttachmentsParams
WithHTTPClient adds the HTTPClient to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) WithIndex ¶
func (o *IssueListIssueAttachmentsParams) WithIndex(index int64) *IssueListIssueAttachmentsParams
WithIndex adds the index to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) WithOwner ¶
func (o *IssueListIssueAttachmentsParams) WithOwner(owner string) *IssueListIssueAttachmentsParams
WithOwner adds the owner to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) WithRepo ¶
func (o *IssueListIssueAttachmentsParams) WithRepo(repo string) *IssueListIssueAttachmentsParams
WithRepo adds the repo to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) WithTimeout ¶
func (o *IssueListIssueAttachmentsParams) WithTimeout(timeout time.Duration) *IssueListIssueAttachmentsParams
WithTimeout adds the timeout to the issue list issue attachments params
func (*IssueListIssueAttachmentsParams) WriteToRequest ¶
func (o *IssueListIssueAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueListIssueAttachmentsReader ¶
type IssueListIssueAttachmentsReader struct {
// contains filtered or unexported fields
}
IssueListIssueAttachmentsReader is a Reader for the IssueListIssueAttachments structure.
func (*IssueListIssueAttachmentsReader) ReadResponse ¶
func (o *IssueListIssueAttachmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueListIssueCommentAttachmentsNotFound ¶
IssueListIssueCommentAttachmentsNotFound describes a response with status code 404, with default header values.
APIError is error format response
func NewIssueListIssueCommentAttachmentsNotFound ¶
func NewIssueListIssueCommentAttachmentsNotFound() *IssueListIssueCommentAttachmentsNotFound
NewIssueListIssueCommentAttachmentsNotFound creates a IssueListIssueCommentAttachmentsNotFound with default headers values
func (*IssueListIssueCommentAttachmentsNotFound) Code ¶
func (o *IssueListIssueCommentAttachmentsNotFound) Code() int
Code gets the status code for the issue list issue comment attachments not found response
func (*IssueListIssueCommentAttachmentsNotFound) Error ¶
func (o *IssueListIssueCommentAttachmentsNotFound) Error() string
func (*IssueListIssueCommentAttachmentsNotFound) IsClientError ¶
func (o *IssueListIssueCommentAttachmentsNotFound) IsClientError() bool
IsClientError returns true when this issue list issue comment attachments not found response has a 4xx status code
func (*IssueListIssueCommentAttachmentsNotFound) IsCode ¶
func (o *IssueListIssueCommentAttachmentsNotFound) IsCode(code int) bool
IsCode returns true when this issue list issue comment attachments not found response a status code equal to that given
func (*IssueListIssueCommentAttachmentsNotFound) IsRedirect ¶
func (o *IssueListIssueCommentAttachmentsNotFound) IsRedirect() bool
IsRedirect returns true when this issue list issue comment attachments not found response has a 3xx status code
func (*IssueListIssueCommentAttachmentsNotFound) IsServerError ¶
func (o *IssueListIssueCommentAttachmentsNotFound) IsServerError() bool
IsServerError returns true when this issue list issue comment attachments not found response has a 5xx status code
func (*IssueListIssueCommentAttachmentsNotFound) IsSuccess ¶
func (o *IssueListIssueCommentAttachmentsNotFound) IsSuccess() bool
IsSuccess returns true when this issue list issue comment attachments not found response has a 2xx status code
func (*IssueListIssueCommentAttachmentsNotFound) String ¶
func (o *IssueListIssueCommentAttachmentsNotFound) String() string
type IssueListIssueCommentAttachmentsOK ¶
type IssueListIssueCommentAttachmentsOK struct {
Payload []*models.Attachment
}
IssueListIssueCommentAttachmentsOK describes a response with status code 200, with default header values.
AttachmentList
func NewIssueListIssueCommentAttachmentsOK ¶
func NewIssueListIssueCommentAttachmentsOK() *IssueListIssueCommentAttachmentsOK
NewIssueListIssueCommentAttachmentsOK creates a IssueListIssueCommentAttachmentsOK with default headers values
func (*IssueListIssueCommentAttachmentsOK) Code ¶
func (o *IssueListIssueCommentAttachmentsOK) Code() int
Code gets the status code for the issue list issue comment attachments o k response
func (*IssueListIssueCommentAttachmentsOK) Error ¶
func (o *IssueListIssueCommentAttachmentsOK) Error() string
func (*IssueListIssueCommentAttachmentsOK) GetPayload ¶
func (o *IssueListIssueCommentAttachmentsOK) GetPayload() []*models.Attachment
func (*IssueListIssueCommentAttachmentsOK) IsClientError ¶
func (o *IssueListIssueCommentAttachmentsOK) IsClientError() bool
IsClientError returns true when this issue list issue comment attachments o k response has a 4xx status code
func (*IssueListIssueCommentAttachmentsOK) IsCode ¶
func (o *IssueListIssueCommentAttachmentsOK) IsCode(code int) bool
IsCode returns true when this issue list issue comment attachments o k response a status code equal to that given
func (*IssueListIssueCommentAttachmentsOK) IsRedirect ¶
func (o *IssueListIssueCommentAttachmentsOK) IsRedirect() bool
IsRedirect returns true when this issue list issue comment attachments o k response has a 3xx status code
func (*IssueListIssueCommentAttachmentsOK) IsServerError ¶
func (o *IssueListIssueCommentAttachmentsOK) IsServerError() bool
IsServerError returns true when this issue list issue comment attachments o k response has a 5xx status code
func (*IssueListIssueCommentAttachmentsOK) IsSuccess ¶
func (o *IssueListIssueCommentAttachmentsOK) IsSuccess() bool
IsSuccess returns true when this issue list issue comment attachments o k response has a 2xx status code
func (*IssueListIssueCommentAttachmentsOK) String ¶
func (o *IssueListIssueCommentAttachmentsOK) String() string
type IssueListIssueCommentAttachmentsParams ¶
type IssueListIssueCommentAttachmentsParams struct { /* ID. id of the comment Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueListIssueCommentAttachmentsParams contains all the parameters to send to the API endpoint
for the issue list issue comment attachments operation. Typically these are written to a http.Request.
func NewIssueListIssueCommentAttachmentsParams ¶
func NewIssueListIssueCommentAttachmentsParams() *IssueListIssueCommentAttachmentsParams
NewIssueListIssueCommentAttachmentsParams creates a new IssueListIssueCommentAttachmentsParams 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 NewIssueListIssueCommentAttachmentsParamsWithContext ¶
func NewIssueListIssueCommentAttachmentsParamsWithContext(ctx context.Context) *IssueListIssueCommentAttachmentsParams
NewIssueListIssueCommentAttachmentsParamsWithContext creates a new IssueListIssueCommentAttachmentsParams object with the ability to set a context for a request.
func NewIssueListIssueCommentAttachmentsParamsWithHTTPClient ¶
func NewIssueListIssueCommentAttachmentsParamsWithHTTPClient(client *http.Client) *IssueListIssueCommentAttachmentsParams
NewIssueListIssueCommentAttachmentsParamsWithHTTPClient creates a new IssueListIssueCommentAttachmentsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueListIssueCommentAttachmentsParamsWithTimeout ¶
func NewIssueListIssueCommentAttachmentsParamsWithTimeout(timeout time.Duration) *IssueListIssueCommentAttachmentsParams
NewIssueListIssueCommentAttachmentsParamsWithTimeout creates a new IssueListIssueCommentAttachmentsParams object with the ability to set a timeout on a request.
func (*IssueListIssueCommentAttachmentsParams) SetContext ¶
func (o *IssueListIssueCommentAttachmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) SetDefaults ¶
func (o *IssueListIssueCommentAttachmentsParams) SetDefaults()
SetDefaults hydrates default values in the issue list issue comment attachments params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListIssueCommentAttachmentsParams) SetHTTPClient ¶
func (o *IssueListIssueCommentAttachmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) SetID ¶
func (o *IssueListIssueCommentAttachmentsParams) SetID(id int64)
SetID adds the id to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) SetOwner ¶
func (o *IssueListIssueCommentAttachmentsParams) SetOwner(owner string)
SetOwner adds the owner to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) SetRepo ¶
func (o *IssueListIssueCommentAttachmentsParams) SetRepo(repo string)
SetRepo adds the repo to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) SetTimeout ¶
func (o *IssueListIssueCommentAttachmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) WithContext ¶
func (o *IssueListIssueCommentAttachmentsParams) WithContext(ctx context.Context) *IssueListIssueCommentAttachmentsParams
WithContext adds the context to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) WithDefaults ¶
func (o *IssueListIssueCommentAttachmentsParams) WithDefaults() *IssueListIssueCommentAttachmentsParams
WithDefaults hydrates default values in the issue list issue comment attachments params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListIssueCommentAttachmentsParams) WithHTTPClient ¶
func (o *IssueListIssueCommentAttachmentsParams) WithHTTPClient(client *http.Client) *IssueListIssueCommentAttachmentsParams
WithHTTPClient adds the HTTPClient to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) WithID ¶
func (o *IssueListIssueCommentAttachmentsParams) WithID(id int64) *IssueListIssueCommentAttachmentsParams
WithID adds the id to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) WithOwner ¶
func (o *IssueListIssueCommentAttachmentsParams) WithOwner(owner string) *IssueListIssueCommentAttachmentsParams
WithOwner adds the owner to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) WithRepo ¶
func (o *IssueListIssueCommentAttachmentsParams) WithRepo(repo string) *IssueListIssueCommentAttachmentsParams
WithRepo adds the repo to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) WithTimeout ¶
func (o *IssueListIssueCommentAttachmentsParams) WithTimeout(timeout time.Duration) *IssueListIssueCommentAttachmentsParams
WithTimeout adds the timeout to the issue list issue comment attachments params
func (*IssueListIssueCommentAttachmentsParams) WriteToRequest ¶
func (o *IssueListIssueCommentAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueListIssueCommentAttachmentsReader ¶
type IssueListIssueCommentAttachmentsReader struct {
// contains filtered or unexported fields
}
IssueListIssueCommentAttachmentsReader is a Reader for the IssueListIssueCommentAttachments structure.
func (*IssueListIssueCommentAttachmentsReader) ReadResponse ¶
func (o *IssueListIssueCommentAttachmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueListIssueDependenciesNotFound ¶
type IssueListIssueDependenciesNotFound struct { }
IssueListIssueDependenciesNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueListIssueDependenciesNotFound ¶
func NewIssueListIssueDependenciesNotFound() *IssueListIssueDependenciesNotFound
NewIssueListIssueDependenciesNotFound creates a IssueListIssueDependenciesNotFound with default headers values
func (*IssueListIssueDependenciesNotFound) Code ¶
func (o *IssueListIssueDependenciesNotFound) Code() int
Code gets the status code for the issue list issue dependencies not found response
func (*IssueListIssueDependenciesNotFound) Error ¶
func (o *IssueListIssueDependenciesNotFound) Error() string
func (*IssueListIssueDependenciesNotFound) IsClientError ¶
func (o *IssueListIssueDependenciesNotFound) IsClientError() bool
IsClientError returns true when this issue list issue dependencies not found response has a 4xx status code
func (*IssueListIssueDependenciesNotFound) IsCode ¶
func (o *IssueListIssueDependenciesNotFound) IsCode(code int) bool
IsCode returns true when this issue list issue dependencies not found response a status code equal to that given
func (*IssueListIssueDependenciesNotFound) IsRedirect ¶
func (o *IssueListIssueDependenciesNotFound) IsRedirect() bool
IsRedirect returns true when this issue list issue dependencies not found response has a 3xx status code
func (*IssueListIssueDependenciesNotFound) IsServerError ¶
func (o *IssueListIssueDependenciesNotFound) IsServerError() bool
IsServerError returns true when this issue list issue dependencies not found response has a 5xx status code
func (*IssueListIssueDependenciesNotFound) IsSuccess ¶
func (o *IssueListIssueDependenciesNotFound) IsSuccess() bool
IsSuccess returns true when this issue list issue dependencies not found response has a 2xx status code
func (*IssueListIssueDependenciesNotFound) String ¶
func (o *IssueListIssueDependenciesNotFound) String() string
type IssueListIssueDependenciesOK ¶
IssueListIssueDependenciesOK describes a response with status code 200, with default header values.
IssueList
func NewIssueListIssueDependenciesOK ¶
func NewIssueListIssueDependenciesOK() *IssueListIssueDependenciesOK
NewIssueListIssueDependenciesOK creates a IssueListIssueDependenciesOK with default headers values
func (*IssueListIssueDependenciesOK) Code ¶
func (o *IssueListIssueDependenciesOK) Code() int
Code gets the status code for the issue list issue dependencies o k response
func (*IssueListIssueDependenciesOK) Error ¶
func (o *IssueListIssueDependenciesOK) Error() string
func (*IssueListIssueDependenciesOK) GetPayload ¶
func (o *IssueListIssueDependenciesOK) GetPayload() []*models.Issue
func (*IssueListIssueDependenciesOK) IsClientError ¶
func (o *IssueListIssueDependenciesOK) IsClientError() bool
IsClientError returns true when this issue list issue dependencies o k response has a 4xx status code
func (*IssueListIssueDependenciesOK) IsCode ¶
func (o *IssueListIssueDependenciesOK) IsCode(code int) bool
IsCode returns true when this issue list issue dependencies o k response a status code equal to that given
func (*IssueListIssueDependenciesOK) IsRedirect ¶
func (o *IssueListIssueDependenciesOK) IsRedirect() bool
IsRedirect returns true when this issue list issue dependencies o k response has a 3xx status code
func (*IssueListIssueDependenciesOK) IsServerError ¶
func (o *IssueListIssueDependenciesOK) IsServerError() bool
IsServerError returns true when this issue list issue dependencies o k response has a 5xx status code
func (*IssueListIssueDependenciesOK) IsSuccess ¶
func (o *IssueListIssueDependenciesOK) IsSuccess() bool
IsSuccess returns true when this issue list issue dependencies o k response has a 2xx status code
func (*IssueListIssueDependenciesOK) String ¶
func (o *IssueListIssueDependenciesOK) String() string
type IssueListIssueDependenciesParams ¶
type IssueListIssueDependenciesParams struct { /* Index. index of the issue */ Index string /* Limit. page size of results */ Limit *int64 /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueListIssueDependenciesParams contains all the parameters to send to the API endpoint
for the issue list issue dependencies operation. Typically these are written to a http.Request.
func NewIssueListIssueDependenciesParams ¶
func NewIssueListIssueDependenciesParams() *IssueListIssueDependenciesParams
NewIssueListIssueDependenciesParams creates a new IssueListIssueDependenciesParams 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 NewIssueListIssueDependenciesParamsWithContext ¶
func NewIssueListIssueDependenciesParamsWithContext(ctx context.Context) *IssueListIssueDependenciesParams
NewIssueListIssueDependenciesParamsWithContext creates a new IssueListIssueDependenciesParams object with the ability to set a context for a request.
func NewIssueListIssueDependenciesParamsWithHTTPClient ¶
func NewIssueListIssueDependenciesParamsWithHTTPClient(client *http.Client) *IssueListIssueDependenciesParams
NewIssueListIssueDependenciesParamsWithHTTPClient creates a new IssueListIssueDependenciesParams object with the ability to set a custom HTTPClient for a request.
func NewIssueListIssueDependenciesParamsWithTimeout ¶
func NewIssueListIssueDependenciesParamsWithTimeout(timeout time.Duration) *IssueListIssueDependenciesParams
NewIssueListIssueDependenciesParamsWithTimeout creates a new IssueListIssueDependenciesParams object with the ability to set a timeout on a request.
func (*IssueListIssueDependenciesParams) SetContext ¶
func (o *IssueListIssueDependenciesParams) SetContext(ctx context.Context)
SetContext adds the context to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) SetDefaults ¶
func (o *IssueListIssueDependenciesParams) SetDefaults()
SetDefaults hydrates default values in the issue list issue dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListIssueDependenciesParams) SetHTTPClient ¶
func (o *IssueListIssueDependenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) SetIndex ¶
func (o *IssueListIssueDependenciesParams) SetIndex(index string)
SetIndex adds the index to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) SetLimit ¶
func (o *IssueListIssueDependenciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) SetOwner ¶
func (o *IssueListIssueDependenciesParams) SetOwner(owner string)
SetOwner adds the owner to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) SetPage ¶
func (o *IssueListIssueDependenciesParams) SetPage(page *int64)
SetPage adds the page to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) SetRepo ¶
func (o *IssueListIssueDependenciesParams) SetRepo(repo string)
SetRepo adds the repo to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) SetTimeout ¶
func (o *IssueListIssueDependenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WithContext ¶
func (o *IssueListIssueDependenciesParams) WithContext(ctx context.Context) *IssueListIssueDependenciesParams
WithContext adds the context to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WithDefaults ¶
func (o *IssueListIssueDependenciesParams) WithDefaults() *IssueListIssueDependenciesParams
WithDefaults hydrates default values in the issue list issue dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListIssueDependenciesParams) WithHTTPClient ¶
func (o *IssueListIssueDependenciesParams) WithHTTPClient(client *http.Client) *IssueListIssueDependenciesParams
WithHTTPClient adds the HTTPClient to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WithIndex ¶
func (o *IssueListIssueDependenciesParams) WithIndex(index string) *IssueListIssueDependenciesParams
WithIndex adds the index to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WithLimit ¶
func (o *IssueListIssueDependenciesParams) WithLimit(limit *int64) *IssueListIssueDependenciesParams
WithLimit adds the limit to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WithOwner ¶
func (o *IssueListIssueDependenciesParams) WithOwner(owner string) *IssueListIssueDependenciesParams
WithOwner adds the owner to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WithPage ¶
func (o *IssueListIssueDependenciesParams) WithPage(page *int64) *IssueListIssueDependenciesParams
WithPage adds the page to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WithRepo ¶
func (o *IssueListIssueDependenciesParams) WithRepo(repo string) *IssueListIssueDependenciesParams
WithRepo adds the repo to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WithTimeout ¶
func (o *IssueListIssueDependenciesParams) WithTimeout(timeout time.Duration) *IssueListIssueDependenciesParams
WithTimeout adds the timeout to the issue list issue dependencies params
func (*IssueListIssueDependenciesParams) WriteToRequest ¶
func (o *IssueListIssueDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueListIssueDependenciesReader ¶
type IssueListIssueDependenciesReader struct {
// contains filtered or unexported fields
}
IssueListIssueDependenciesReader is a Reader for the IssueListIssueDependencies structure.
func (*IssueListIssueDependenciesReader) ReadResponse ¶
func (o *IssueListIssueDependenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueListIssuesNotFound ¶
type IssueListIssuesNotFound struct { }
IssueListIssuesNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueListIssuesNotFound ¶
func NewIssueListIssuesNotFound() *IssueListIssuesNotFound
NewIssueListIssuesNotFound creates a IssueListIssuesNotFound with default headers values
func (*IssueListIssuesNotFound) Code ¶
func (o *IssueListIssuesNotFound) Code() int
Code gets the status code for the issue list issues not found response
func (*IssueListIssuesNotFound) Error ¶
func (o *IssueListIssuesNotFound) Error() string
func (*IssueListIssuesNotFound) IsClientError ¶
func (o *IssueListIssuesNotFound) IsClientError() bool
IsClientError returns true when this issue list issues not found response has a 4xx status code
func (*IssueListIssuesNotFound) IsCode ¶
func (o *IssueListIssuesNotFound) IsCode(code int) bool
IsCode returns true when this issue list issues not found response a status code equal to that given
func (*IssueListIssuesNotFound) IsRedirect ¶
func (o *IssueListIssuesNotFound) IsRedirect() bool
IsRedirect returns true when this issue list issues not found response has a 3xx status code
func (*IssueListIssuesNotFound) IsServerError ¶
func (o *IssueListIssuesNotFound) IsServerError() bool
IsServerError returns true when this issue list issues not found response has a 5xx status code
func (*IssueListIssuesNotFound) IsSuccess ¶
func (o *IssueListIssuesNotFound) IsSuccess() bool
IsSuccess returns true when this issue list issues not found response has a 2xx status code
func (*IssueListIssuesNotFound) String ¶
func (o *IssueListIssuesNotFound) String() string
type IssueListIssuesOK ¶
IssueListIssuesOK describes a response with status code 200, with default header values.
IssueList
func NewIssueListIssuesOK ¶
func NewIssueListIssuesOK() *IssueListIssuesOK
NewIssueListIssuesOK creates a IssueListIssuesOK with default headers values
func (*IssueListIssuesOK) Code ¶
func (o *IssueListIssuesOK) Code() int
Code gets the status code for the issue list issues o k response
func (*IssueListIssuesOK) Error ¶
func (o *IssueListIssuesOK) Error() string
func (*IssueListIssuesOK) GetPayload ¶
func (o *IssueListIssuesOK) GetPayload() []*models.Issue
func (*IssueListIssuesOK) IsClientError ¶
func (o *IssueListIssuesOK) IsClientError() bool
IsClientError returns true when this issue list issues o k response has a 4xx status code
func (*IssueListIssuesOK) IsCode ¶
func (o *IssueListIssuesOK) IsCode(code int) bool
IsCode returns true when this issue list issues o k response a status code equal to that given
func (*IssueListIssuesOK) IsRedirect ¶
func (o *IssueListIssuesOK) IsRedirect() bool
IsRedirect returns true when this issue list issues o k response has a 3xx status code
func (*IssueListIssuesOK) IsServerError ¶
func (o *IssueListIssuesOK) IsServerError() bool
IsServerError returns true when this issue list issues o k response has a 5xx status code
func (*IssueListIssuesOK) IsSuccess ¶
func (o *IssueListIssuesOK) IsSuccess() bool
IsSuccess returns true when this issue list issues o k response has a 2xx status code
func (*IssueListIssuesOK) String ¶
func (o *IssueListIssuesOK) String() string
type IssueListIssuesParams ¶
type IssueListIssuesParams struct { /* AssignedBy. Only show items for which the given user is assigned */ AssignedBy *string /* Before. Only show items updated before the given time. This is a timestamp in RFC 3339 format Format: date-time */ Before *strfmt.DateTime /* CreatedBy. Only show items which were created by the given user */ CreatedBy *string /* Labels. comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded */ Labels *string /* Limit. page size of results */ Limit *int64 /* MentionedBy. Only show items in which the given user was mentioned */ MentionedBy *string /* Milestones. comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded */ Milestones *string /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Q. search string */ Q *string /* Repo. name of the repo */ Repo string /* Since. Only show items updated after the given time. This is a timestamp in RFC 3339 format Format: date-time */ Since *strfmt.DateTime /* State. whether issue is open or closed */ State *string /* Type. filter by type (issues / pulls) if set */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueListIssuesParams contains all the parameters to send to the API endpoint
for the issue list issues operation. Typically these are written to a http.Request.
func NewIssueListIssuesParams ¶
func NewIssueListIssuesParams() *IssueListIssuesParams
NewIssueListIssuesParams creates a new IssueListIssuesParams 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 NewIssueListIssuesParamsWithContext ¶
func NewIssueListIssuesParamsWithContext(ctx context.Context) *IssueListIssuesParams
NewIssueListIssuesParamsWithContext creates a new IssueListIssuesParams object with the ability to set a context for a request.
func NewIssueListIssuesParamsWithHTTPClient ¶
func NewIssueListIssuesParamsWithHTTPClient(client *http.Client) *IssueListIssuesParams
NewIssueListIssuesParamsWithHTTPClient creates a new IssueListIssuesParams object with the ability to set a custom HTTPClient for a request.
func NewIssueListIssuesParamsWithTimeout ¶
func NewIssueListIssuesParamsWithTimeout(timeout time.Duration) *IssueListIssuesParams
NewIssueListIssuesParamsWithTimeout creates a new IssueListIssuesParams object with the ability to set a timeout on a request.
func (*IssueListIssuesParams) SetAssignedBy ¶
func (o *IssueListIssuesParams) SetAssignedBy(assignedBy *string)
SetAssignedBy adds the assignedBy to the issue list issues params
func (*IssueListIssuesParams) SetBefore ¶
func (o *IssueListIssuesParams) SetBefore(before *strfmt.DateTime)
SetBefore adds the before to the issue list issues params
func (*IssueListIssuesParams) SetContext ¶
func (o *IssueListIssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the issue list issues params
func (*IssueListIssuesParams) SetCreatedBy ¶
func (o *IssueListIssuesParams) SetCreatedBy(createdBy *string)
SetCreatedBy adds the createdBy to the issue list issues params
func (*IssueListIssuesParams) SetDefaults ¶
func (o *IssueListIssuesParams) SetDefaults()
SetDefaults hydrates default values in the issue list issues params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListIssuesParams) SetHTTPClient ¶
func (o *IssueListIssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue list issues params
func (*IssueListIssuesParams) SetLabels ¶
func (o *IssueListIssuesParams) SetLabels(labels *string)
SetLabels adds the labels to the issue list issues params
func (*IssueListIssuesParams) SetLimit ¶
func (o *IssueListIssuesParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue list issues params
func (*IssueListIssuesParams) SetMentionedBy ¶
func (o *IssueListIssuesParams) SetMentionedBy(mentionedBy *string)
SetMentionedBy adds the mentionedBy to the issue list issues params
func (*IssueListIssuesParams) SetMilestones ¶
func (o *IssueListIssuesParams) SetMilestones(milestones *string)
SetMilestones adds the milestones to the issue list issues params
func (*IssueListIssuesParams) SetOwner ¶
func (o *IssueListIssuesParams) SetOwner(owner string)
SetOwner adds the owner to the issue list issues params
func (*IssueListIssuesParams) SetPage ¶
func (o *IssueListIssuesParams) SetPage(page *int64)
SetPage adds the page to the issue list issues params
func (*IssueListIssuesParams) SetQ ¶
func (o *IssueListIssuesParams) SetQ(q *string)
SetQ adds the q to the issue list issues params
func (*IssueListIssuesParams) SetRepo ¶
func (o *IssueListIssuesParams) SetRepo(repo string)
SetRepo adds the repo to the issue list issues params
func (*IssueListIssuesParams) SetSince ¶
func (o *IssueListIssuesParams) SetSince(since *strfmt.DateTime)
SetSince adds the since to the issue list issues params
func (*IssueListIssuesParams) SetState ¶
func (o *IssueListIssuesParams) SetState(state *string)
SetState adds the state to the issue list issues params
func (*IssueListIssuesParams) SetTimeout ¶
func (o *IssueListIssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue list issues params
func (*IssueListIssuesParams) SetType ¶
func (o *IssueListIssuesParams) SetType(typeVar *string)
SetType adds the type to the issue list issues params
func (*IssueListIssuesParams) WithAssignedBy ¶
func (o *IssueListIssuesParams) WithAssignedBy(assignedBy *string) *IssueListIssuesParams
WithAssignedBy adds the assignedBy to the issue list issues params
func (*IssueListIssuesParams) WithBefore ¶
func (o *IssueListIssuesParams) WithBefore(before *strfmt.DateTime) *IssueListIssuesParams
WithBefore adds the before to the issue list issues params
func (*IssueListIssuesParams) WithContext ¶
func (o *IssueListIssuesParams) WithContext(ctx context.Context) *IssueListIssuesParams
WithContext adds the context to the issue list issues params
func (*IssueListIssuesParams) WithCreatedBy ¶
func (o *IssueListIssuesParams) WithCreatedBy(createdBy *string) *IssueListIssuesParams
WithCreatedBy adds the createdBy to the issue list issues params
func (*IssueListIssuesParams) WithDefaults ¶
func (o *IssueListIssuesParams) WithDefaults() *IssueListIssuesParams
WithDefaults hydrates default values in the issue list issues params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListIssuesParams) WithHTTPClient ¶
func (o *IssueListIssuesParams) WithHTTPClient(client *http.Client) *IssueListIssuesParams
WithHTTPClient adds the HTTPClient to the issue list issues params
func (*IssueListIssuesParams) WithLabels ¶
func (o *IssueListIssuesParams) WithLabels(labels *string) *IssueListIssuesParams
WithLabels adds the labels to the issue list issues params
func (*IssueListIssuesParams) WithLimit ¶
func (o *IssueListIssuesParams) WithLimit(limit *int64) *IssueListIssuesParams
WithLimit adds the limit to the issue list issues params
func (*IssueListIssuesParams) WithMentionedBy ¶
func (o *IssueListIssuesParams) WithMentionedBy(mentionedBy *string) *IssueListIssuesParams
WithMentionedBy adds the mentionedBy to the issue list issues params
func (*IssueListIssuesParams) WithMilestones ¶
func (o *IssueListIssuesParams) WithMilestones(milestones *string) *IssueListIssuesParams
WithMilestones adds the milestones to the issue list issues params
func (*IssueListIssuesParams) WithOwner ¶
func (o *IssueListIssuesParams) WithOwner(owner string) *IssueListIssuesParams
WithOwner adds the owner to the issue list issues params
func (*IssueListIssuesParams) WithPage ¶
func (o *IssueListIssuesParams) WithPage(page *int64) *IssueListIssuesParams
WithPage adds the page to the issue list issues params
func (*IssueListIssuesParams) WithQ ¶
func (o *IssueListIssuesParams) WithQ(q *string) *IssueListIssuesParams
WithQ adds the q to the issue list issues params
func (*IssueListIssuesParams) WithRepo ¶
func (o *IssueListIssuesParams) WithRepo(repo string) *IssueListIssuesParams
WithRepo adds the repo to the issue list issues params
func (*IssueListIssuesParams) WithSince ¶
func (o *IssueListIssuesParams) WithSince(since *strfmt.DateTime) *IssueListIssuesParams
WithSince adds the since to the issue list issues params
func (*IssueListIssuesParams) WithState ¶
func (o *IssueListIssuesParams) WithState(state *string) *IssueListIssuesParams
WithState adds the state to the issue list issues params
func (*IssueListIssuesParams) WithTimeout ¶
func (o *IssueListIssuesParams) WithTimeout(timeout time.Duration) *IssueListIssuesParams
WithTimeout adds the timeout to the issue list issues params
func (*IssueListIssuesParams) WithType ¶
func (o *IssueListIssuesParams) WithType(typeVar *string) *IssueListIssuesParams
WithType adds the typeVar to the issue list issues params
func (*IssueListIssuesParams) WriteToRequest ¶
func (o *IssueListIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueListIssuesReader ¶
type IssueListIssuesReader struct {
// contains filtered or unexported fields
}
IssueListIssuesReader is a Reader for the IssueListIssues structure.
func (*IssueListIssuesReader) ReadResponse ¶
func (o *IssueListIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueListLabelsNotFound ¶
type IssueListLabelsNotFound struct { }
IssueListLabelsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueListLabelsNotFound ¶
func NewIssueListLabelsNotFound() *IssueListLabelsNotFound
NewIssueListLabelsNotFound creates a IssueListLabelsNotFound with default headers values
func (*IssueListLabelsNotFound) Code ¶
func (o *IssueListLabelsNotFound) Code() int
Code gets the status code for the issue list labels not found response
func (*IssueListLabelsNotFound) Error ¶
func (o *IssueListLabelsNotFound) Error() string
func (*IssueListLabelsNotFound) IsClientError ¶
func (o *IssueListLabelsNotFound) IsClientError() bool
IsClientError returns true when this issue list labels not found response has a 4xx status code
func (*IssueListLabelsNotFound) IsCode ¶
func (o *IssueListLabelsNotFound) IsCode(code int) bool
IsCode returns true when this issue list labels not found response a status code equal to that given
func (*IssueListLabelsNotFound) IsRedirect ¶
func (o *IssueListLabelsNotFound) IsRedirect() bool
IsRedirect returns true when this issue list labels not found response has a 3xx status code
func (*IssueListLabelsNotFound) IsServerError ¶
func (o *IssueListLabelsNotFound) IsServerError() bool
IsServerError returns true when this issue list labels not found response has a 5xx status code
func (*IssueListLabelsNotFound) IsSuccess ¶
func (o *IssueListLabelsNotFound) IsSuccess() bool
IsSuccess returns true when this issue list labels not found response has a 2xx status code
func (*IssueListLabelsNotFound) String ¶
func (o *IssueListLabelsNotFound) String() string
type IssueListLabelsOK ¶
IssueListLabelsOK describes a response with status code 200, with default header values.
LabelList
func NewIssueListLabelsOK ¶
func NewIssueListLabelsOK() *IssueListLabelsOK
NewIssueListLabelsOK creates a IssueListLabelsOK with default headers values
func (*IssueListLabelsOK) Code ¶
func (o *IssueListLabelsOK) Code() int
Code gets the status code for the issue list labels o k response
func (*IssueListLabelsOK) Error ¶
func (o *IssueListLabelsOK) Error() string
func (*IssueListLabelsOK) GetPayload ¶
func (o *IssueListLabelsOK) GetPayload() []*models.Label
func (*IssueListLabelsOK) IsClientError ¶
func (o *IssueListLabelsOK) IsClientError() bool
IsClientError returns true when this issue list labels o k response has a 4xx status code
func (*IssueListLabelsOK) IsCode ¶
func (o *IssueListLabelsOK) IsCode(code int) bool
IsCode returns true when this issue list labels o k response a status code equal to that given
func (*IssueListLabelsOK) IsRedirect ¶
func (o *IssueListLabelsOK) IsRedirect() bool
IsRedirect returns true when this issue list labels o k response has a 3xx status code
func (*IssueListLabelsOK) IsServerError ¶
func (o *IssueListLabelsOK) IsServerError() bool
IsServerError returns true when this issue list labels o k response has a 5xx status code
func (*IssueListLabelsOK) IsSuccess ¶
func (o *IssueListLabelsOK) IsSuccess() bool
IsSuccess returns true when this issue list labels o k response has a 2xx status code
func (*IssueListLabelsOK) String ¶
func (o *IssueListLabelsOK) String() string
type IssueListLabelsParams ¶
type IssueListLabelsParams struct { /* Limit. page size of results */ Limit *int64 /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueListLabelsParams contains all the parameters to send to the API endpoint
for the issue list labels operation. Typically these are written to a http.Request.
func NewIssueListLabelsParams ¶
func NewIssueListLabelsParams() *IssueListLabelsParams
NewIssueListLabelsParams creates a new IssueListLabelsParams 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 NewIssueListLabelsParamsWithContext ¶
func NewIssueListLabelsParamsWithContext(ctx context.Context) *IssueListLabelsParams
NewIssueListLabelsParamsWithContext creates a new IssueListLabelsParams object with the ability to set a context for a request.
func NewIssueListLabelsParamsWithHTTPClient ¶
func NewIssueListLabelsParamsWithHTTPClient(client *http.Client) *IssueListLabelsParams
NewIssueListLabelsParamsWithHTTPClient creates a new IssueListLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueListLabelsParamsWithTimeout ¶
func NewIssueListLabelsParamsWithTimeout(timeout time.Duration) *IssueListLabelsParams
NewIssueListLabelsParamsWithTimeout creates a new IssueListLabelsParams object with the ability to set a timeout on a request.
func (*IssueListLabelsParams) SetContext ¶
func (o *IssueListLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue list labels params
func (*IssueListLabelsParams) SetDefaults ¶
func (o *IssueListLabelsParams) SetDefaults()
SetDefaults hydrates default values in the issue list labels params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListLabelsParams) SetHTTPClient ¶
func (o *IssueListLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue list labels params
func (*IssueListLabelsParams) SetLimit ¶
func (o *IssueListLabelsParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue list labels params
func (*IssueListLabelsParams) SetOwner ¶
func (o *IssueListLabelsParams) SetOwner(owner string)
SetOwner adds the owner to the issue list labels params
func (*IssueListLabelsParams) SetPage ¶
func (o *IssueListLabelsParams) SetPage(page *int64)
SetPage adds the page to the issue list labels params
func (*IssueListLabelsParams) SetRepo ¶
func (o *IssueListLabelsParams) SetRepo(repo string)
SetRepo adds the repo to the issue list labels params
func (*IssueListLabelsParams) SetTimeout ¶
func (o *IssueListLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue list labels params
func (*IssueListLabelsParams) WithContext ¶
func (o *IssueListLabelsParams) WithContext(ctx context.Context) *IssueListLabelsParams
WithContext adds the context to the issue list labels params
func (*IssueListLabelsParams) WithDefaults ¶
func (o *IssueListLabelsParams) WithDefaults() *IssueListLabelsParams
WithDefaults hydrates default values in the issue list labels params (not the query body).
All values with no default are reset to their zero value.
func (*IssueListLabelsParams) WithHTTPClient ¶
func (o *IssueListLabelsParams) WithHTTPClient(client *http.Client) *IssueListLabelsParams
WithHTTPClient adds the HTTPClient to the issue list labels params
func (*IssueListLabelsParams) WithLimit ¶
func (o *IssueListLabelsParams) WithLimit(limit *int64) *IssueListLabelsParams
WithLimit adds the limit to the issue list labels params
func (*IssueListLabelsParams) WithOwner ¶
func (o *IssueListLabelsParams) WithOwner(owner string) *IssueListLabelsParams
WithOwner adds the owner to the issue list labels params
func (*IssueListLabelsParams) WithPage ¶
func (o *IssueListLabelsParams) WithPage(page *int64) *IssueListLabelsParams
WithPage adds the page to the issue list labels params
func (*IssueListLabelsParams) WithRepo ¶
func (o *IssueListLabelsParams) WithRepo(repo string) *IssueListLabelsParams
WithRepo adds the repo to the issue list labels params
func (*IssueListLabelsParams) WithTimeout ¶
func (o *IssueListLabelsParams) WithTimeout(timeout time.Duration) *IssueListLabelsParams
WithTimeout adds the timeout to the issue list labels params
func (*IssueListLabelsParams) WriteToRequest ¶
func (o *IssueListLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueListLabelsReader ¶
type IssueListLabelsReader struct {
// contains filtered or unexported fields
}
IssueListLabelsReader is a Reader for the IssueListLabels structure.
func (*IssueListLabelsReader) ReadResponse ¶
func (o *IssueListLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssuePostCommentReactionCreated ¶
IssuePostCommentReactionCreated describes a response with status code 201, with default header values.
Reaction
func NewIssuePostCommentReactionCreated ¶
func NewIssuePostCommentReactionCreated() *IssuePostCommentReactionCreated
NewIssuePostCommentReactionCreated creates a IssuePostCommentReactionCreated with default headers values
func (*IssuePostCommentReactionCreated) Code ¶
func (o *IssuePostCommentReactionCreated) Code() int
Code gets the status code for the issue post comment reaction created response
func (*IssuePostCommentReactionCreated) Error ¶
func (o *IssuePostCommentReactionCreated) Error() string
func (*IssuePostCommentReactionCreated) GetPayload ¶
func (o *IssuePostCommentReactionCreated) GetPayload() *models.Reaction
func (*IssuePostCommentReactionCreated) IsClientError ¶
func (o *IssuePostCommentReactionCreated) IsClientError() bool
IsClientError returns true when this issue post comment reaction created response has a 4xx status code
func (*IssuePostCommentReactionCreated) IsCode ¶
func (o *IssuePostCommentReactionCreated) IsCode(code int) bool
IsCode returns true when this issue post comment reaction created response a status code equal to that given
func (*IssuePostCommentReactionCreated) IsRedirect ¶
func (o *IssuePostCommentReactionCreated) IsRedirect() bool
IsRedirect returns true when this issue post comment reaction created response has a 3xx status code
func (*IssuePostCommentReactionCreated) IsServerError ¶
func (o *IssuePostCommentReactionCreated) IsServerError() bool
IsServerError returns true when this issue post comment reaction created response has a 5xx status code
func (*IssuePostCommentReactionCreated) IsSuccess ¶
func (o *IssuePostCommentReactionCreated) IsSuccess() bool
IsSuccess returns true when this issue post comment reaction created response has a 2xx status code
func (*IssuePostCommentReactionCreated) String ¶
func (o *IssuePostCommentReactionCreated) String() string
type IssuePostCommentReactionForbidden ¶
IssuePostCommentReactionForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssuePostCommentReactionForbidden ¶
func NewIssuePostCommentReactionForbidden() *IssuePostCommentReactionForbidden
NewIssuePostCommentReactionForbidden creates a IssuePostCommentReactionForbidden with default headers values
func (*IssuePostCommentReactionForbidden) Code ¶
func (o *IssuePostCommentReactionForbidden) Code() int
Code gets the status code for the issue post comment reaction forbidden response
func (*IssuePostCommentReactionForbidden) Error ¶
func (o *IssuePostCommentReactionForbidden) Error() string
func (*IssuePostCommentReactionForbidden) IsClientError ¶
func (o *IssuePostCommentReactionForbidden) IsClientError() bool
IsClientError returns true when this issue post comment reaction forbidden response has a 4xx status code
func (*IssuePostCommentReactionForbidden) IsCode ¶
func (o *IssuePostCommentReactionForbidden) IsCode(code int) bool
IsCode returns true when this issue post comment reaction forbidden response a status code equal to that given
func (*IssuePostCommentReactionForbidden) IsRedirect ¶
func (o *IssuePostCommentReactionForbidden) IsRedirect() bool
IsRedirect returns true when this issue post comment reaction forbidden response has a 3xx status code
func (*IssuePostCommentReactionForbidden) IsServerError ¶
func (o *IssuePostCommentReactionForbidden) IsServerError() bool
IsServerError returns true when this issue post comment reaction forbidden response has a 5xx status code
func (*IssuePostCommentReactionForbidden) IsSuccess ¶
func (o *IssuePostCommentReactionForbidden) IsSuccess() bool
IsSuccess returns true when this issue post comment reaction forbidden response has a 2xx status code
func (*IssuePostCommentReactionForbidden) String ¶
func (o *IssuePostCommentReactionForbidden) String() string
type IssuePostCommentReactionNotFound ¶
type IssuePostCommentReactionNotFound struct { }
IssuePostCommentReactionNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssuePostCommentReactionNotFound ¶
func NewIssuePostCommentReactionNotFound() *IssuePostCommentReactionNotFound
NewIssuePostCommentReactionNotFound creates a IssuePostCommentReactionNotFound with default headers values
func (*IssuePostCommentReactionNotFound) Code ¶
func (o *IssuePostCommentReactionNotFound) Code() int
Code gets the status code for the issue post comment reaction not found response
func (*IssuePostCommentReactionNotFound) Error ¶
func (o *IssuePostCommentReactionNotFound) Error() string
func (*IssuePostCommentReactionNotFound) IsClientError ¶
func (o *IssuePostCommentReactionNotFound) IsClientError() bool
IsClientError returns true when this issue post comment reaction not found response has a 4xx status code
func (*IssuePostCommentReactionNotFound) IsCode ¶
func (o *IssuePostCommentReactionNotFound) IsCode(code int) bool
IsCode returns true when this issue post comment reaction not found response a status code equal to that given
func (*IssuePostCommentReactionNotFound) IsRedirect ¶
func (o *IssuePostCommentReactionNotFound) IsRedirect() bool
IsRedirect returns true when this issue post comment reaction not found response has a 3xx status code
func (*IssuePostCommentReactionNotFound) IsServerError ¶
func (o *IssuePostCommentReactionNotFound) IsServerError() bool
IsServerError returns true when this issue post comment reaction not found response has a 5xx status code
func (*IssuePostCommentReactionNotFound) IsSuccess ¶
func (o *IssuePostCommentReactionNotFound) IsSuccess() bool
IsSuccess returns true when this issue post comment reaction not found response has a 2xx status code
func (*IssuePostCommentReactionNotFound) String ¶
func (o *IssuePostCommentReactionNotFound) String() string
type IssuePostCommentReactionOK ¶
IssuePostCommentReactionOK describes a response with status code 200, with default header values.
Reaction
func NewIssuePostCommentReactionOK ¶
func NewIssuePostCommentReactionOK() *IssuePostCommentReactionOK
NewIssuePostCommentReactionOK creates a IssuePostCommentReactionOK with default headers values
func (*IssuePostCommentReactionOK) Code ¶
func (o *IssuePostCommentReactionOK) Code() int
Code gets the status code for the issue post comment reaction o k response
func (*IssuePostCommentReactionOK) Error ¶
func (o *IssuePostCommentReactionOK) Error() string
func (*IssuePostCommentReactionOK) GetPayload ¶
func (o *IssuePostCommentReactionOK) GetPayload() *models.Reaction
func (*IssuePostCommentReactionOK) IsClientError ¶
func (o *IssuePostCommentReactionOK) IsClientError() bool
IsClientError returns true when this issue post comment reaction o k response has a 4xx status code
func (*IssuePostCommentReactionOK) IsCode ¶
func (o *IssuePostCommentReactionOK) IsCode(code int) bool
IsCode returns true when this issue post comment reaction o k response a status code equal to that given
func (*IssuePostCommentReactionOK) IsRedirect ¶
func (o *IssuePostCommentReactionOK) IsRedirect() bool
IsRedirect returns true when this issue post comment reaction o k response has a 3xx status code
func (*IssuePostCommentReactionOK) IsServerError ¶
func (o *IssuePostCommentReactionOK) IsServerError() bool
IsServerError returns true when this issue post comment reaction o k response has a 5xx status code
func (*IssuePostCommentReactionOK) IsSuccess ¶
func (o *IssuePostCommentReactionOK) IsSuccess() bool
IsSuccess returns true when this issue post comment reaction o k response has a 2xx status code
func (*IssuePostCommentReactionOK) String ¶
func (o *IssuePostCommentReactionOK) String() string
type IssuePostCommentReactionParams ¶
type IssuePostCommentReactionParams struct { // Content. Content *models.EditReactionOption /* ID. id of the comment to edit Format: int64 */ ID int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssuePostCommentReactionParams contains all the parameters to send to the API endpoint
for the issue post comment reaction operation. Typically these are written to a http.Request.
func NewIssuePostCommentReactionParams ¶
func NewIssuePostCommentReactionParams() *IssuePostCommentReactionParams
NewIssuePostCommentReactionParams creates a new IssuePostCommentReactionParams 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 NewIssuePostCommentReactionParamsWithContext ¶
func NewIssuePostCommentReactionParamsWithContext(ctx context.Context) *IssuePostCommentReactionParams
NewIssuePostCommentReactionParamsWithContext creates a new IssuePostCommentReactionParams object with the ability to set a context for a request.
func NewIssuePostCommentReactionParamsWithHTTPClient ¶
func NewIssuePostCommentReactionParamsWithHTTPClient(client *http.Client) *IssuePostCommentReactionParams
NewIssuePostCommentReactionParamsWithHTTPClient creates a new IssuePostCommentReactionParams object with the ability to set a custom HTTPClient for a request.
func NewIssuePostCommentReactionParamsWithTimeout ¶
func NewIssuePostCommentReactionParamsWithTimeout(timeout time.Duration) *IssuePostCommentReactionParams
NewIssuePostCommentReactionParamsWithTimeout creates a new IssuePostCommentReactionParams object with the ability to set a timeout on a request.
func (*IssuePostCommentReactionParams) SetContent ¶
func (o *IssuePostCommentReactionParams) SetContent(content *models.EditReactionOption)
SetContent adds the content to the issue post comment reaction params
func (*IssuePostCommentReactionParams) SetContext ¶
func (o *IssuePostCommentReactionParams) SetContext(ctx context.Context)
SetContext adds the context to the issue post comment reaction params
func (*IssuePostCommentReactionParams) SetDefaults ¶
func (o *IssuePostCommentReactionParams) SetDefaults()
SetDefaults hydrates default values in the issue post comment reaction params (not the query body).
All values with no default are reset to their zero value.
func (*IssuePostCommentReactionParams) SetHTTPClient ¶
func (o *IssuePostCommentReactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue post comment reaction params
func (*IssuePostCommentReactionParams) SetID ¶
func (o *IssuePostCommentReactionParams) SetID(id int64)
SetID adds the id to the issue post comment reaction params
func (*IssuePostCommentReactionParams) SetOwner ¶
func (o *IssuePostCommentReactionParams) SetOwner(owner string)
SetOwner adds the owner to the issue post comment reaction params
func (*IssuePostCommentReactionParams) SetRepo ¶
func (o *IssuePostCommentReactionParams) SetRepo(repo string)
SetRepo adds the repo to the issue post comment reaction params
func (*IssuePostCommentReactionParams) SetTimeout ¶
func (o *IssuePostCommentReactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue post comment reaction params
func (*IssuePostCommentReactionParams) WithContent ¶
func (o *IssuePostCommentReactionParams) WithContent(content *models.EditReactionOption) *IssuePostCommentReactionParams
WithContent adds the content to the issue post comment reaction params
func (*IssuePostCommentReactionParams) WithContext ¶
func (o *IssuePostCommentReactionParams) WithContext(ctx context.Context) *IssuePostCommentReactionParams
WithContext adds the context to the issue post comment reaction params
func (*IssuePostCommentReactionParams) WithDefaults ¶
func (o *IssuePostCommentReactionParams) WithDefaults() *IssuePostCommentReactionParams
WithDefaults hydrates default values in the issue post comment reaction params (not the query body).
All values with no default are reset to their zero value.
func (*IssuePostCommentReactionParams) WithHTTPClient ¶
func (o *IssuePostCommentReactionParams) WithHTTPClient(client *http.Client) *IssuePostCommentReactionParams
WithHTTPClient adds the HTTPClient to the issue post comment reaction params
func (*IssuePostCommentReactionParams) WithID ¶
func (o *IssuePostCommentReactionParams) WithID(id int64) *IssuePostCommentReactionParams
WithID adds the id to the issue post comment reaction params
func (*IssuePostCommentReactionParams) WithOwner ¶
func (o *IssuePostCommentReactionParams) WithOwner(owner string) *IssuePostCommentReactionParams
WithOwner adds the owner to the issue post comment reaction params
func (*IssuePostCommentReactionParams) WithRepo ¶
func (o *IssuePostCommentReactionParams) WithRepo(repo string) *IssuePostCommentReactionParams
WithRepo adds the repo to the issue post comment reaction params
func (*IssuePostCommentReactionParams) WithTimeout ¶
func (o *IssuePostCommentReactionParams) WithTimeout(timeout time.Duration) *IssuePostCommentReactionParams
WithTimeout adds the timeout to the issue post comment reaction params
func (*IssuePostCommentReactionParams) WriteToRequest ¶
func (o *IssuePostCommentReactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssuePostCommentReactionReader ¶
type IssuePostCommentReactionReader struct {
// contains filtered or unexported fields
}
IssuePostCommentReactionReader is a Reader for the IssuePostCommentReaction structure.
func (*IssuePostCommentReactionReader) ReadResponse ¶
func (o *IssuePostCommentReactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssuePostIssueReactionCreated ¶
IssuePostIssueReactionCreated describes a response with status code 201, with default header values.
Reaction
func NewIssuePostIssueReactionCreated ¶
func NewIssuePostIssueReactionCreated() *IssuePostIssueReactionCreated
NewIssuePostIssueReactionCreated creates a IssuePostIssueReactionCreated with default headers values
func (*IssuePostIssueReactionCreated) Code ¶
func (o *IssuePostIssueReactionCreated) Code() int
Code gets the status code for the issue post issue reaction created response
func (*IssuePostIssueReactionCreated) Error ¶
func (o *IssuePostIssueReactionCreated) Error() string
func (*IssuePostIssueReactionCreated) GetPayload ¶
func (o *IssuePostIssueReactionCreated) GetPayload() *models.Reaction
func (*IssuePostIssueReactionCreated) IsClientError ¶
func (o *IssuePostIssueReactionCreated) IsClientError() bool
IsClientError returns true when this issue post issue reaction created response has a 4xx status code
func (*IssuePostIssueReactionCreated) IsCode ¶
func (o *IssuePostIssueReactionCreated) IsCode(code int) bool
IsCode returns true when this issue post issue reaction created response a status code equal to that given
func (*IssuePostIssueReactionCreated) IsRedirect ¶
func (o *IssuePostIssueReactionCreated) IsRedirect() bool
IsRedirect returns true when this issue post issue reaction created response has a 3xx status code
func (*IssuePostIssueReactionCreated) IsServerError ¶
func (o *IssuePostIssueReactionCreated) IsServerError() bool
IsServerError returns true when this issue post issue reaction created response has a 5xx status code
func (*IssuePostIssueReactionCreated) IsSuccess ¶
func (o *IssuePostIssueReactionCreated) IsSuccess() bool
IsSuccess returns true when this issue post issue reaction created response has a 2xx status code
func (*IssuePostIssueReactionCreated) String ¶
func (o *IssuePostIssueReactionCreated) String() string
type IssuePostIssueReactionForbidden ¶
IssuePostIssueReactionForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssuePostIssueReactionForbidden ¶
func NewIssuePostIssueReactionForbidden() *IssuePostIssueReactionForbidden
NewIssuePostIssueReactionForbidden creates a IssuePostIssueReactionForbidden with default headers values
func (*IssuePostIssueReactionForbidden) Code ¶
func (o *IssuePostIssueReactionForbidden) Code() int
Code gets the status code for the issue post issue reaction forbidden response
func (*IssuePostIssueReactionForbidden) Error ¶
func (o *IssuePostIssueReactionForbidden) Error() string
func (*IssuePostIssueReactionForbidden) IsClientError ¶
func (o *IssuePostIssueReactionForbidden) IsClientError() bool
IsClientError returns true when this issue post issue reaction forbidden response has a 4xx status code
func (*IssuePostIssueReactionForbidden) IsCode ¶
func (o *IssuePostIssueReactionForbidden) IsCode(code int) bool
IsCode returns true when this issue post issue reaction forbidden response a status code equal to that given
func (*IssuePostIssueReactionForbidden) IsRedirect ¶
func (o *IssuePostIssueReactionForbidden) IsRedirect() bool
IsRedirect returns true when this issue post issue reaction forbidden response has a 3xx status code
func (*IssuePostIssueReactionForbidden) IsServerError ¶
func (o *IssuePostIssueReactionForbidden) IsServerError() bool
IsServerError returns true when this issue post issue reaction forbidden response has a 5xx status code
func (*IssuePostIssueReactionForbidden) IsSuccess ¶
func (o *IssuePostIssueReactionForbidden) IsSuccess() bool
IsSuccess returns true when this issue post issue reaction forbidden response has a 2xx status code
func (*IssuePostIssueReactionForbidden) String ¶
func (o *IssuePostIssueReactionForbidden) String() string
type IssuePostIssueReactionNotFound ¶
type IssuePostIssueReactionNotFound struct { }
IssuePostIssueReactionNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssuePostIssueReactionNotFound ¶
func NewIssuePostIssueReactionNotFound() *IssuePostIssueReactionNotFound
NewIssuePostIssueReactionNotFound creates a IssuePostIssueReactionNotFound with default headers values
func (*IssuePostIssueReactionNotFound) Code ¶
func (o *IssuePostIssueReactionNotFound) Code() int
Code gets the status code for the issue post issue reaction not found response
func (*IssuePostIssueReactionNotFound) Error ¶
func (o *IssuePostIssueReactionNotFound) Error() string
func (*IssuePostIssueReactionNotFound) IsClientError ¶
func (o *IssuePostIssueReactionNotFound) IsClientError() bool
IsClientError returns true when this issue post issue reaction not found response has a 4xx status code
func (*IssuePostIssueReactionNotFound) IsCode ¶
func (o *IssuePostIssueReactionNotFound) IsCode(code int) bool
IsCode returns true when this issue post issue reaction not found response a status code equal to that given
func (*IssuePostIssueReactionNotFound) IsRedirect ¶
func (o *IssuePostIssueReactionNotFound) IsRedirect() bool
IsRedirect returns true when this issue post issue reaction not found response has a 3xx status code
func (*IssuePostIssueReactionNotFound) IsServerError ¶
func (o *IssuePostIssueReactionNotFound) IsServerError() bool
IsServerError returns true when this issue post issue reaction not found response has a 5xx status code
func (*IssuePostIssueReactionNotFound) IsSuccess ¶
func (o *IssuePostIssueReactionNotFound) IsSuccess() bool
IsSuccess returns true when this issue post issue reaction not found response has a 2xx status code
func (*IssuePostIssueReactionNotFound) String ¶
func (o *IssuePostIssueReactionNotFound) String() string
type IssuePostIssueReactionOK ¶
IssuePostIssueReactionOK describes a response with status code 200, with default header values.
Reaction
func NewIssuePostIssueReactionOK ¶
func NewIssuePostIssueReactionOK() *IssuePostIssueReactionOK
NewIssuePostIssueReactionOK creates a IssuePostIssueReactionOK with default headers values
func (*IssuePostIssueReactionOK) Code ¶
func (o *IssuePostIssueReactionOK) Code() int
Code gets the status code for the issue post issue reaction o k response
func (*IssuePostIssueReactionOK) Error ¶
func (o *IssuePostIssueReactionOK) Error() string
func (*IssuePostIssueReactionOK) GetPayload ¶
func (o *IssuePostIssueReactionOK) GetPayload() *models.Reaction
func (*IssuePostIssueReactionOK) IsClientError ¶
func (o *IssuePostIssueReactionOK) IsClientError() bool
IsClientError returns true when this issue post issue reaction o k response has a 4xx status code
func (*IssuePostIssueReactionOK) IsCode ¶
func (o *IssuePostIssueReactionOK) IsCode(code int) bool
IsCode returns true when this issue post issue reaction o k response a status code equal to that given
func (*IssuePostIssueReactionOK) IsRedirect ¶
func (o *IssuePostIssueReactionOK) IsRedirect() bool
IsRedirect returns true when this issue post issue reaction o k response has a 3xx status code
func (*IssuePostIssueReactionOK) IsServerError ¶
func (o *IssuePostIssueReactionOK) IsServerError() bool
IsServerError returns true when this issue post issue reaction o k response has a 5xx status code
func (*IssuePostIssueReactionOK) IsSuccess ¶
func (o *IssuePostIssueReactionOK) IsSuccess() bool
IsSuccess returns true when this issue post issue reaction o k response has a 2xx status code
func (*IssuePostIssueReactionOK) String ¶
func (o *IssuePostIssueReactionOK) String() string
type IssuePostIssueReactionParams ¶
type IssuePostIssueReactionParams struct { // Content. Content *models.EditReactionOption /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssuePostIssueReactionParams contains all the parameters to send to the API endpoint
for the issue post issue reaction operation. Typically these are written to a http.Request.
func NewIssuePostIssueReactionParams ¶
func NewIssuePostIssueReactionParams() *IssuePostIssueReactionParams
NewIssuePostIssueReactionParams creates a new IssuePostIssueReactionParams 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 NewIssuePostIssueReactionParamsWithContext ¶
func NewIssuePostIssueReactionParamsWithContext(ctx context.Context) *IssuePostIssueReactionParams
NewIssuePostIssueReactionParamsWithContext creates a new IssuePostIssueReactionParams object with the ability to set a context for a request.
func NewIssuePostIssueReactionParamsWithHTTPClient ¶
func NewIssuePostIssueReactionParamsWithHTTPClient(client *http.Client) *IssuePostIssueReactionParams
NewIssuePostIssueReactionParamsWithHTTPClient creates a new IssuePostIssueReactionParams object with the ability to set a custom HTTPClient for a request.
func NewIssuePostIssueReactionParamsWithTimeout ¶
func NewIssuePostIssueReactionParamsWithTimeout(timeout time.Duration) *IssuePostIssueReactionParams
NewIssuePostIssueReactionParamsWithTimeout creates a new IssuePostIssueReactionParams object with the ability to set a timeout on a request.
func (*IssuePostIssueReactionParams) SetContent ¶
func (o *IssuePostIssueReactionParams) SetContent(content *models.EditReactionOption)
SetContent adds the content to the issue post issue reaction params
func (*IssuePostIssueReactionParams) SetContext ¶
func (o *IssuePostIssueReactionParams) SetContext(ctx context.Context)
SetContext adds the context to the issue post issue reaction params
func (*IssuePostIssueReactionParams) SetDefaults ¶
func (o *IssuePostIssueReactionParams) SetDefaults()
SetDefaults hydrates default values in the issue post issue reaction params (not the query body).
All values with no default are reset to their zero value.
func (*IssuePostIssueReactionParams) SetHTTPClient ¶
func (o *IssuePostIssueReactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue post issue reaction params
func (*IssuePostIssueReactionParams) SetIndex ¶
func (o *IssuePostIssueReactionParams) SetIndex(index int64)
SetIndex adds the index to the issue post issue reaction params
func (*IssuePostIssueReactionParams) SetOwner ¶
func (o *IssuePostIssueReactionParams) SetOwner(owner string)
SetOwner adds the owner to the issue post issue reaction params
func (*IssuePostIssueReactionParams) SetRepo ¶
func (o *IssuePostIssueReactionParams) SetRepo(repo string)
SetRepo adds the repo to the issue post issue reaction params
func (*IssuePostIssueReactionParams) SetTimeout ¶
func (o *IssuePostIssueReactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue post issue reaction params
func (*IssuePostIssueReactionParams) WithContent ¶
func (o *IssuePostIssueReactionParams) WithContent(content *models.EditReactionOption) *IssuePostIssueReactionParams
WithContent adds the content to the issue post issue reaction params
func (*IssuePostIssueReactionParams) WithContext ¶
func (o *IssuePostIssueReactionParams) WithContext(ctx context.Context) *IssuePostIssueReactionParams
WithContext adds the context to the issue post issue reaction params
func (*IssuePostIssueReactionParams) WithDefaults ¶
func (o *IssuePostIssueReactionParams) WithDefaults() *IssuePostIssueReactionParams
WithDefaults hydrates default values in the issue post issue reaction params (not the query body).
All values with no default are reset to their zero value.
func (*IssuePostIssueReactionParams) WithHTTPClient ¶
func (o *IssuePostIssueReactionParams) WithHTTPClient(client *http.Client) *IssuePostIssueReactionParams
WithHTTPClient adds the HTTPClient to the issue post issue reaction params
func (*IssuePostIssueReactionParams) WithIndex ¶
func (o *IssuePostIssueReactionParams) WithIndex(index int64) *IssuePostIssueReactionParams
WithIndex adds the index to the issue post issue reaction params
func (*IssuePostIssueReactionParams) WithOwner ¶
func (o *IssuePostIssueReactionParams) WithOwner(owner string) *IssuePostIssueReactionParams
WithOwner adds the owner to the issue post issue reaction params
func (*IssuePostIssueReactionParams) WithRepo ¶
func (o *IssuePostIssueReactionParams) WithRepo(repo string) *IssuePostIssueReactionParams
WithRepo adds the repo to the issue post issue reaction params
func (*IssuePostIssueReactionParams) WithTimeout ¶
func (o *IssuePostIssueReactionParams) WithTimeout(timeout time.Duration) *IssuePostIssueReactionParams
WithTimeout adds the timeout to the issue post issue reaction params
func (*IssuePostIssueReactionParams) WriteToRequest ¶
func (o *IssuePostIssueReactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssuePostIssueReactionReader ¶
type IssuePostIssueReactionReader struct {
// contains filtered or unexported fields
}
IssuePostIssueReactionReader is a Reader for the IssuePostIssueReaction structure.
func (*IssuePostIssueReactionReader) ReadResponse ¶
func (o *IssuePostIssueReactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueRemoveIssueBlockingNotFound ¶
type IssueRemoveIssueBlockingNotFound struct { }
IssueRemoveIssueBlockingNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueRemoveIssueBlockingNotFound ¶
func NewIssueRemoveIssueBlockingNotFound() *IssueRemoveIssueBlockingNotFound
NewIssueRemoveIssueBlockingNotFound creates a IssueRemoveIssueBlockingNotFound with default headers values
func (*IssueRemoveIssueBlockingNotFound) Code ¶
func (o *IssueRemoveIssueBlockingNotFound) Code() int
Code gets the status code for the issue remove issue blocking not found response
func (*IssueRemoveIssueBlockingNotFound) Error ¶
func (o *IssueRemoveIssueBlockingNotFound) Error() string
func (*IssueRemoveIssueBlockingNotFound) IsClientError ¶
func (o *IssueRemoveIssueBlockingNotFound) IsClientError() bool
IsClientError returns true when this issue remove issue blocking not found response has a 4xx status code
func (*IssueRemoveIssueBlockingNotFound) IsCode ¶
func (o *IssueRemoveIssueBlockingNotFound) IsCode(code int) bool
IsCode returns true when this issue remove issue blocking not found response a status code equal to that given
func (*IssueRemoveIssueBlockingNotFound) IsRedirect ¶
func (o *IssueRemoveIssueBlockingNotFound) IsRedirect() bool
IsRedirect returns true when this issue remove issue blocking not found response has a 3xx status code
func (*IssueRemoveIssueBlockingNotFound) IsServerError ¶
func (o *IssueRemoveIssueBlockingNotFound) IsServerError() bool
IsServerError returns true when this issue remove issue blocking not found response has a 5xx status code
func (*IssueRemoveIssueBlockingNotFound) IsSuccess ¶
func (o *IssueRemoveIssueBlockingNotFound) IsSuccess() bool
IsSuccess returns true when this issue remove issue blocking not found response has a 2xx status code
func (*IssueRemoveIssueBlockingNotFound) String ¶
func (o *IssueRemoveIssueBlockingNotFound) String() string
type IssueRemoveIssueBlockingOK ¶
IssueRemoveIssueBlockingOK describes a response with status code 200, with default header values.
Issue
func NewIssueRemoveIssueBlockingOK ¶
func NewIssueRemoveIssueBlockingOK() *IssueRemoveIssueBlockingOK
NewIssueRemoveIssueBlockingOK creates a IssueRemoveIssueBlockingOK with default headers values
func (*IssueRemoveIssueBlockingOK) Code ¶
func (o *IssueRemoveIssueBlockingOK) Code() int
Code gets the status code for the issue remove issue blocking o k response
func (*IssueRemoveIssueBlockingOK) Error ¶
func (o *IssueRemoveIssueBlockingOK) Error() string
func (*IssueRemoveIssueBlockingOK) GetPayload ¶
func (o *IssueRemoveIssueBlockingOK) GetPayload() *models.Issue
func (*IssueRemoveIssueBlockingOK) IsClientError ¶
func (o *IssueRemoveIssueBlockingOK) IsClientError() bool
IsClientError returns true when this issue remove issue blocking o k response has a 4xx status code
func (*IssueRemoveIssueBlockingOK) IsCode ¶
func (o *IssueRemoveIssueBlockingOK) IsCode(code int) bool
IsCode returns true when this issue remove issue blocking o k response a status code equal to that given
func (*IssueRemoveIssueBlockingOK) IsRedirect ¶
func (o *IssueRemoveIssueBlockingOK) IsRedirect() bool
IsRedirect returns true when this issue remove issue blocking o k response has a 3xx status code
func (*IssueRemoveIssueBlockingOK) IsServerError ¶
func (o *IssueRemoveIssueBlockingOK) IsServerError() bool
IsServerError returns true when this issue remove issue blocking o k response has a 5xx status code
func (*IssueRemoveIssueBlockingOK) IsSuccess ¶
func (o *IssueRemoveIssueBlockingOK) IsSuccess() bool
IsSuccess returns true when this issue remove issue blocking o k response has a 2xx status code
func (*IssueRemoveIssueBlockingOK) String ¶
func (o *IssueRemoveIssueBlockingOK) String() string
type IssueRemoveIssueBlockingParams ¶
type IssueRemoveIssueBlockingParams struct { // Body. Body *models.IssueMeta /* Index. index of the issue */ Index string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueRemoveIssueBlockingParams contains all the parameters to send to the API endpoint
for the issue remove issue blocking operation. Typically these are written to a http.Request.
func NewIssueRemoveIssueBlockingParams ¶
func NewIssueRemoveIssueBlockingParams() *IssueRemoveIssueBlockingParams
NewIssueRemoveIssueBlockingParams creates a new IssueRemoveIssueBlockingParams 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 NewIssueRemoveIssueBlockingParamsWithContext ¶
func NewIssueRemoveIssueBlockingParamsWithContext(ctx context.Context) *IssueRemoveIssueBlockingParams
NewIssueRemoveIssueBlockingParamsWithContext creates a new IssueRemoveIssueBlockingParams object with the ability to set a context for a request.
func NewIssueRemoveIssueBlockingParamsWithHTTPClient ¶
func NewIssueRemoveIssueBlockingParamsWithHTTPClient(client *http.Client) *IssueRemoveIssueBlockingParams
NewIssueRemoveIssueBlockingParamsWithHTTPClient creates a new IssueRemoveIssueBlockingParams object with the ability to set a custom HTTPClient for a request.
func NewIssueRemoveIssueBlockingParamsWithTimeout ¶
func NewIssueRemoveIssueBlockingParamsWithTimeout(timeout time.Duration) *IssueRemoveIssueBlockingParams
NewIssueRemoveIssueBlockingParamsWithTimeout creates a new IssueRemoveIssueBlockingParams object with the ability to set a timeout on a request.
func (*IssueRemoveIssueBlockingParams) SetBody ¶
func (o *IssueRemoveIssueBlockingParams) SetBody(body *models.IssueMeta)
SetBody adds the body to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) SetContext ¶
func (o *IssueRemoveIssueBlockingParams) SetContext(ctx context.Context)
SetContext adds the context to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) SetDefaults ¶
func (o *IssueRemoveIssueBlockingParams) SetDefaults()
SetDefaults hydrates default values in the issue remove issue blocking params (not the query body).
All values with no default are reset to their zero value.
func (*IssueRemoveIssueBlockingParams) SetHTTPClient ¶
func (o *IssueRemoveIssueBlockingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) SetIndex ¶
func (o *IssueRemoveIssueBlockingParams) SetIndex(index string)
SetIndex adds the index to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) SetOwner ¶
func (o *IssueRemoveIssueBlockingParams) SetOwner(owner string)
SetOwner adds the owner to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) SetRepo ¶
func (o *IssueRemoveIssueBlockingParams) SetRepo(repo string)
SetRepo adds the repo to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) SetTimeout ¶
func (o *IssueRemoveIssueBlockingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) WithBody ¶
func (o *IssueRemoveIssueBlockingParams) WithBody(body *models.IssueMeta) *IssueRemoveIssueBlockingParams
WithBody adds the body to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) WithContext ¶
func (o *IssueRemoveIssueBlockingParams) WithContext(ctx context.Context) *IssueRemoveIssueBlockingParams
WithContext adds the context to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) WithDefaults ¶
func (o *IssueRemoveIssueBlockingParams) WithDefaults() *IssueRemoveIssueBlockingParams
WithDefaults hydrates default values in the issue remove issue blocking params (not the query body).
All values with no default are reset to their zero value.
func (*IssueRemoveIssueBlockingParams) WithHTTPClient ¶
func (o *IssueRemoveIssueBlockingParams) WithHTTPClient(client *http.Client) *IssueRemoveIssueBlockingParams
WithHTTPClient adds the HTTPClient to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) WithIndex ¶
func (o *IssueRemoveIssueBlockingParams) WithIndex(index string) *IssueRemoveIssueBlockingParams
WithIndex adds the index to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) WithOwner ¶
func (o *IssueRemoveIssueBlockingParams) WithOwner(owner string) *IssueRemoveIssueBlockingParams
WithOwner adds the owner to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) WithRepo ¶
func (o *IssueRemoveIssueBlockingParams) WithRepo(repo string) *IssueRemoveIssueBlockingParams
WithRepo adds the repo to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) WithTimeout ¶
func (o *IssueRemoveIssueBlockingParams) WithTimeout(timeout time.Duration) *IssueRemoveIssueBlockingParams
WithTimeout adds the timeout to the issue remove issue blocking params
func (*IssueRemoveIssueBlockingParams) WriteToRequest ¶
func (o *IssueRemoveIssueBlockingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueRemoveIssueBlockingReader ¶
type IssueRemoveIssueBlockingReader struct {
// contains filtered or unexported fields
}
IssueRemoveIssueBlockingReader is a Reader for the IssueRemoveIssueBlocking structure.
func (*IssueRemoveIssueBlockingReader) ReadResponse ¶
func (o *IssueRemoveIssueBlockingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueRemoveIssueDependenciesLocked ¶
IssueRemoveIssueDependenciesLocked describes a response with status code 423, with default header values.
APIRepoArchivedError is an error that is raised when an archived repo should be modified
func NewIssueRemoveIssueDependenciesLocked ¶
func NewIssueRemoveIssueDependenciesLocked() *IssueRemoveIssueDependenciesLocked
NewIssueRemoveIssueDependenciesLocked creates a IssueRemoveIssueDependenciesLocked with default headers values
func (*IssueRemoveIssueDependenciesLocked) Code ¶
func (o *IssueRemoveIssueDependenciesLocked) Code() int
Code gets the status code for the issue remove issue dependencies locked response
func (*IssueRemoveIssueDependenciesLocked) Error ¶
func (o *IssueRemoveIssueDependenciesLocked) Error() string
func (*IssueRemoveIssueDependenciesLocked) IsClientError ¶
func (o *IssueRemoveIssueDependenciesLocked) IsClientError() bool
IsClientError returns true when this issue remove issue dependencies locked response has a 4xx status code
func (*IssueRemoveIssueDependenciesLocked) IsCode ¶
func (o *IssueRemoveIssueDependenciesLocked) IsCode(code int) bool
IsCode returns true when this issue remove issue dependencies locked response a status code equal to that given
func (*IssueRemoveIssueDependenciesLocked) IsRedirect ¶
func (o *IssueRemoveIssueDependenciesLocked) IsRedirect() bool
IsRedirect returns true when this issue remove issue dependencies locked response has a 3xx status code
func (*IssueRemoveIssueDependenciesLocked) IsServerError ¶
func (o *IssueRemoveIssueDependenciesLocked) IsServerError() bool
IsServerError returns true when this issue remove issue dependencies locked response has a 5xx status code
func (*IssueRemoveIssueDependenciesLocked) IsSuccess ¶
func (o *IssueRemoveIssueDependenciesLocked) IsSuccess() bool
IsSuccess returns true when this issue remove issue dependencies locked response has a 2xx status code
func (*IssueRemoveIssueDependenciesLocked) String ¶
func (o *IssueRemoveIssueDependenciesLocked) String() string
type IssueRemoveIssueDependenciesNotFound ¶
type IssueRemoveIssueDependenciesNotFound struct { }
IssueRemoveIssueDependenciesNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueRemoveIssueDependenciesNotFound ¶
func NewIssueRemoveIssueDependenciesNotFound() *IssueRemoveIssueDependenciesNotFound
NewIssueRemoveIssueDependenciesNotFound creates a IssueRemoveIssueDependenciesNotFound with default headers values
func (*IssueRemoveIssueDependenciesNotFound) Code ¶
func (o *IssueRemoveIssueDependenciesNotFound) Code() int
Code gets the status code for the issue remove issue dependencies not found response
func (*IssueRemoveIssueDependenciesNotFound) Error ¶
func (o *IssueRemoveIssueDependenciesNotFound) Error() string
func (*IssueRemoveIssueDependenciesNotFound) IsClientError ¶
func (o *IssueRemoveIssueDependenciesNotFound) IsClientError() bool
IsClientError returns true when this issue remove issue dependencies not found response has a 4xx status code
func (*IssueRemoveIssueDependenciesNotFound) IsCode ¶
func (o *IssueRemoveIssueDependenciesNotFound) IsCode(code int) bool
IsCode returns true when this issue remove issue dependencies not found response a status code equal to that given
func (*IssueRemoveIssueDependenciesNotFound) IsRedirect ¶
func (o *IssueRemoveIssueDependenciesNotFound) IsRedirect() bool
IsRedirect returns true when this issue remove issue dependencies not found response has a 3xx status code
func (*IssueRemoveIssueDependenciesNotFound) IsServerError ¶
func (o *IssueRemoveIssueDependenciesNotFound) IsServerError() bool
IsServerError returns true when this issue remove issue dependencies not found response has a 5xx status code
func (*IssueRemoveIssueDependenciesNotFound) IsSuccess ¶
func (o *IssueRemoveIssueDependenciesNotFound) IsSuccess() bool
IsSuccess returns true when this issue remove issue dependencies not found response has a 2xx status code
func (*IssueRemoveIssueDependenciesNotFound) String ¶
func (o *IssueRemoveIssueDependenciesNotFound) String() string
type IssueRemoveIssueDependenciesOK ¶
IssueRemoveIssueDependenciesOK describes a response with status code 200, with default header values.
Issue
func NewIssueRemoveIssueDependenciesOK ¶
func NewIssueRemoveIssueDependenciesOK() *IssueRemoveIssueDependenciesOK
NewIssueRemoveIssueDependenciesOK creates a IssueRemoveIssueDependenciesOK with default headers values
func (*IssueRemoveIssueDependenciesOK) Code ¶
func (o *IssueRemoveIssueDependenciesOK) Code() int
Code gets the status code for the issue remove issue dependencies o k response
func (*IssueRemoveIssueDependenciesOK) Error ¶
func (o *IssueRemoveIssueDependenciesOK) Error() string
func (*IssueRemoveIssueDependenciesOK) GetPayload ¶
func (o *IssueRemoveIssueDependenciesOK) GetPayload() *models.Issue
func (*IssueRemoveIssueDependenciesOK) IsClientError ¶
func (o *IssueRemoveIssueDependenciesOK) IsClientError() bool
IsClientError returns true when this issue remove issue dependencies o k response has a 4xx status code
func (*IssueRemoveIssueDependenciesOK) IsCode ¶
func (o *IssueRemoveIssueDependenciesOK) IsCode(code int) bool
IsCode returns true when this issue remove issue dependencies o k response a status code equal to that given
func (*IssueRemoveIssueDependenciesOK) IsRedirect ¶
func (o *IssueRemoveIssueDependenciesOK) IsRedirect() bool
IsRedirect returns true when this issue remove issue dependencies o k response has a 3xx status code
func (*IssueRemoveIssueDependenciesOK) IsServerError ¶
func (o *IssueRemoveIssueDependenciesOK) IsServerError() bool
IsServerError returns true when this issue remove issue dependencies o k response has a 5xx status code
func (*IssueRemoveIssueDependenciesOK) IsSuccess ¶
func (o *IssueRemoveIssueDependenciesOK) IsSuccess() bool
IsSuccess returns true when this issue remove issue dependencies o k response has a 2xx status code
func (*IssueRemoveIssueDependenciesOK) String ¶
func (o *IssueRemoveIssueDependenciesOK) String() string
type IssueRemoveIssueDependenciesParams ¶
type IssueRemoveIssueDependenciesParams struct { // Body. Body *models.IssueMeta /* Index. index of the issue */ Index string /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueRemoveIssueDependenciesParams contains all the parameters to send to the API endpoint
for the issue remove issue dependencies operation. Typically these are written to a http.Request.
func NewIssueRemoveIssueDependenciesParams ¶
func NewIssueRemoveIssueDependenciesParams() *IssueRemoveIssueDependenciesParams
NewIssueRemoveIssueDependenciesParams creates a new IssueRemoveIssueDependenciesParams 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 NewIssueRemoveIssueDependenciesParamsWithContext ¶
func NewIssueRemoveIssueDependenciesParamsWithContext(ctx context.Context) *IssueRemoveIssueDependenciesParams
NewIssueRemoveIssueDependenciesParamsWithContext creates a new IssueRemoveIssueDependenciesParams object with the ability to set a context for a request.
func NewIssueRemoveIssueDependenciesParamsWithHTTPClient ¶
func NewIssueRemoveIssueDependenciesParamsWithHTTPClient(client *http.Client) *IssueRemoveIssueDependenciesParams
NewIssueRemoveIssueDependenciesParamsWithHTTPClient creates a new IssueRemoveIssueDependenciesParams object with the ability to set a custom HTTPClient for a request.
func NewIssueRemoveIssueDependenciesParamsWithTimeout ¶
func NewIssueRemoveIssueDependenciesParamsWithTimeout(timeout time.Duration) *IssueRemoveIssueDependenciesParams
NewIssueRemoveIssueDependenciesParamsWithTimeout creates a new IssueRemoveIssueDependenciesParams object with the ability to set a timeout on a request.
func (*IssueRemoveIssueDependenciesParams) SetBody ¶
func (o *IssueRemoveIssueDependenciesParams) SetBody(body *models.IssueMeta)
SetBody adds the body to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) SetContext ¶
func (o *IssueRemoveIssueDependenciesParams) SetContext(ctx context.Context)
SetContext adds the context to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) SetDefaults ¶
func (o *IssueRemoveIssueDependenciesParams) SetDefaults()
SetDefaults hydrates default values in the issue remove issue dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*IssueRemoveIssueDependenciesParams) SetHTTPClient ¶
func (o *IssueRemoveIssueDependenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) SetIndex ¶
func (o *IssueRemoveIssueDependenciesParams) SetIndex(index string)
SetIndex adds the index to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) SetOwner ¶
func (o *IssueRemoveIssueDependenciesParams) SetOwner(owner string)
SetOwner adds the owner to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) SetRepo ¶
func (o *IssueRemoveIssueDependenciesParams) SetRepo(repo string)
SetRepo adds the repo to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) SetTimeout ¶
func (o *IssueRemoveIssueDependenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) WithBody ¶
func (o *IssueRemoveIssueDependenciesParams) WithBody(body *models.IssueMeta) *IssueRemoveIssueDependenciesParams
WithBody adds the body to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) WithContext ¶
func (o *IssueRemoveIssueDependenciesParams) WithContext(ctx context.Context) *IssueRemoveIssueDependenciesParams
WithContext adds the context to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) WithDefaults ¶
func (o *IssueRemoveIssueDependenciesParams) WithDefaults() *IssueRemoveIssueDependenciesParams
WithDefaults hydrates default values in the issue remove issue dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*IssueRemoveIssueDependenciesParams) WithHTTPClient ¶
func (o *IssueRemoveIssueDependenciesParams) WithHTTPClient(client *http.Client) *IssueRemoveIssueDependenciesParams
WithHTTPClient adds the HTTPClient to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) WithIndex ¶
func (o *IssueRemoveIssueDependenciesParams) WithIndex(index string) *IssueRemoveIssueDependenciesParams
WithIndex adds the index to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) WithOwner ¶
func (o *IssueRemoveIssueDependenciesParams) WithOwner(owner string) *IssueRemoveIssueDependenciesParams
WithOwner adds the owner to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) WithRepo ¶
func (o *IssueRemoveIssueDependenciesParams) WithRepo(repo string) *IssueRemoveIssueDependenciesParams
WithRepo adds the repo to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) WithTimeout ¶
func (o *IssueRemoveIssueDependenciesParams) WithTimeout(timeout time.Duration) *IssueRemoveIssueDependenciesParams
WithTimeout adds the timeout to the issue remove issue dependencies params
func (*IssueRemoveIssueDependenciesParams) WriteToRequest ¶
func (o *IssueRemoveIssueDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueRemoveIssueDependenciesReader ¶
type IssueRemoveIssueDependenciesReader struct {
// contains filtered or unexported fields
}
IssueRemoveIssueDependenciesReader is a Reader for the IssueRemoveIssueDependencies structure.
func (*IssueRemoveIssueDependenciesReader) ReadResponse ¶
func (o *IssueRemoveIssueDependenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueRemoveLabelForbidden ¶
IssueRemoveLabelForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueRemoveLabelForbidden ¶
func NewIssueRemoveLabelForbidden() *IssueRemoveLabelForbidden
NewIssueRemoveLabelForbidden creates a IssueRemoveLabelForbidden with default headers values
func (*IssueRemoveLabelForbidden) Code ¶
func (o *IssueRemoveLabelForbidden) Code() int
Code gets the status code for the issue remove label forbidden response
func (*IssueRemoveLabelForbidden) Error ¶
func (o *IssueRemoveLabelForbidden) Error() string
func (*IssueRemoveLabelForbidden) IsClientError ¶
func (o *IssueRemoveLabelForbidden) IsClientError() bool
IsClientError returns true when this issue remove label forbidden response has a 4xx status code
func (*IssueRemoveLabelForbidden) IsCode ¶
func (o *IssueRemoveLabelForbidden) IsCode(code int) bool
IsCode returns true when this issue remove label forbidden response a status code equal to that given
func (*IssueRemoveLabelForbidden) IsRedirect ¶
func (o *IssueRemoveLabelForbidden) IsRedirect() bool
IsRedirect returns true when this issue remove label forbidden response has a 3xx status code
func (*IssueRemoveLabelForbidden) IsServerError ¶
func (o *IssueRemoveLabelForbidden) IsServerError() bool
IsServerError returns true when this issue remove label forbidden response has a 5xx status code
func (*IssueRemoveLabelForbidden) IsSuccess ¶
func (o *IssueRemoveLabelForbidden) IsSuccess() bool
IsSuccess returns true when this issue remove label forbidden response has a 2xx status code
func (*IssueRemoveLabelForbidden) String ¶
func (o *IssueRemoveLabelForbidden) String() string
type IssueRemoveLabelNoContent ¶
type IssueRemoveLabelNoContent struct { }
IssueRemoveLabelNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueRemoveLabelNoContent ¶
func NewIssueRemoveLabelNoContent() *IssueRemoveLabelNoContent
NewIssueRemoveLabelNoContent creates a IssueRemoveLabelNoContent with default headers values
func (*IssueRemoveLabelNoContent) Code ¶
func (o *IssueRemoveLabelNoContent) Code() int
Code gets the status code for the issue remove label no content response
func (*IssueRemoveLabelNoContent) Error ¶
func (o *IssueRemoveLabelNoContent) Error() string
func (*IssueRemoveLabelNoContent) IsClientError ¶
func (o *IssueRemoveLabelNoContent) IsClientError() bool
IsClientError returns true when this issue remove label no content response has a 4xx status code
func (*IssueRemoveLabelNoContent) IsCode ¶
func (o *IssueRemoveLabelNoContent) IsCode(code int) bool
IsCode returns true when this issue remove label no content response a status code equal to that given
func (*IssueRemoveLabelNoContent) IsRedirect ¶
func (o *IssueRemoveLabelNoContent) IsRedirect() bool
IsRedirect returns true when this issue remove label no content response has a 3xx status code
func (*IssueRemoveLabelNoContent) IsServerError ¶
func (o *IssueRemoveLabelNoContent) IsServerError() bool
IsServerError returns true when this issue remove label no content response has a 5xx status code
func (*IssueRemoveLabelNoContent) IsSuccess ¶
func (o *IssueRemoveLabelNoContent) IsSuccess() bool
IsSuccess returns true when this issue remove label no content response has a 2xx status code
func (*IssueRemoveLabelNoContent) String ¶
func (o *IssueRemoveLabelNoContent) String() string
type IssueRemoveLabelNotFound ¶
type IssueRemoveLabelNotFound struct { }
IssueRemoveLabelNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueRemoveLabelNotFound ¶
func NewIssueRemoveLabelNotFound() *IssueRemoveLabelNotFound
NewIssueRemoveLabelNotFound creates a IssueRemoveLabelNotFound with default headers values
func (*IssueRemoveLabelNotFound) Code ¶
func (o *IssueRemoveLabelNotFound) Code() int
Code gets the status code for the issue remove label not found response
func (*IssueRemoveLabelNotFound) Error ¶
func (o *IssueRemoveLabelNotFound) Error() string
func (*IssueRemoveLabelNotFound) IsClientError ¶
func (o *IssueRemoveLabelNotFound) IsClientError() bool
IsClientError returns true when this issue remove label not found response has a 4xx status code
func (*IssueRemoveLabelNotFound) IsCode ¶
func (o *IssueRemoveLabelNotFound) IsCode(code int) bool
IsCode returns true when this issue remove label not found response a status code equal to that given
func (*IssueRemoveLabelNotFound) IsRedirect ¶
func (o *IssueRemoveLabelNotFound) IsRedirect() bool
IsRedirect returns true when this issue remove label not found response has a 3xx status code
func (*IssueRemoveLabelNotFound) IsServerError ¶
func (o *IssueRemoveLabelNotFound) IsServerError() bool
IsServerError returns true when this issue remove label not found response has a 5xx status code
func (*IssueRemoveLabelNotFound) IsSuccess ¶
func (o *IssueRemoveLabelNotFound) IsSuccess() bool
IsSuccess returns true when this issue remove label not found response has a 2xx status code
func (*IssueRemoveLabelNotFound) String ¶
func (o *IssueRemoveLabelNotFound) String() string
type IssueRemoveLabelParams ¶
type IssueRemoveLabelParams struct { /* ID. id of the label to remove Format: int64 */ ID int64 /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueRemoveLabelParams contains all the parameters to send to the API endpoint
for the issue remove label operation. Typically these are written to a http.Request.
func NewIssueRemoveLabelParams ¶
func NewIssueRemoveLabelParams() *IssueRemoveLabelParams
NewIssueRemoveLabelParams creates a new IssueRemoveLabelParams 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 NewIssueRemoveLabelParamsWithContext ¶
func NewIssueRemoveLabelParamsWithContext(ctx context.Context) *IssueRemoveLabelParams
NewIssueRemoveLabelParamsWithContext creates a new IssueRemoveLabelParams object with the ability to set a context for a request.
func NewIssueRemoveLabelParamsWithHTTPClient ¶
func NewIssueRemoveLabelParamsWithHTTPClient(client *http.Client) *IssueRemoveLabelParams
NewIssueRemoveLabelParamsWithHTTPClient creates a new IssueRemoveLabelParams object with the ability to set a custom HTTPClient for a request.
func NewIssueRemoveLabelParamsWithTimeout ¶
func NewIssueRemoveLabelParamsWithTimeout(timeout time.Duration) *IssueRemoveLabelParams
NewIssueRemoveLabelParamsWithTimeout creates a new IssueRemoveLabelParams object with the ability to set a timeout on a request.
func (*IssueRemoveLabelParams) SetContext ¶
func (o *IssueRemoveLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the issue remove label params
func (*IssueRemoveLabelParams) SetDefaults ¶
func (o *IssueRemoveLabelParams) SetDefaults()
SetDefaults hydrates default values in the issue remove label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueRemoveLabelParams) SetHTTPClient ¶
func (o *IssueRemoveLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue remove label params
func (*IssueRemoveLabelParams) SetID ¶
func (o *IssueRemoveLabelParams) SetID(id int64)
SetID adds the id to the issue remove label params
func (*IssueRemoveLabelParams) SetIndex ¶
func (o *IssueRemoveLabelParams) SetIndex(index int64)
SetIndex adds the index to the issue remove label params
func (*IssueRemoveLabelParams) SetOwner ¶
func (o *IssueRemoveLabelParams) SetOwner(owner string)
SetOwner adds the owner to the issue remove label params
func (*IssueRemoveLabelParams) SetRepo ¶
func (o *IssueRemoveLabelParams) SetRepo(repo string)
SetRepo adds the repo to the issue remove label params
func (*IssueRemoveLabelParams) SetTimeout ¶
func (o *IssueRemoveLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue remove label params
func (*IssueRemoveLabelParams) WithContext ¶
func (o *IssueRemoveLabelParams) WithContext(ctx context.Context) *IssueRemoveLabelParams
WithContext adds the context to the issue remove label params
func (*IssueRemoveLabelParams) WithDefaults ¶
func (o *IssueRemoveLabelParams) WithDefaults() *IssueRemoveLabelParams
WithDefaults hydrates default values in the issue remove label params (not the query body).
All values with no default are reset to their zero value.
func (*IssueRemoveLabelParams) WithHTTPClient ¶
func (o *IssueRemoveLabelParams) WithHTTPClient(client *http.Client) *IssueRemoveLabelParams
WithHTTPClient adds the HTTPClient to the issue remove label params
func (*IssueRemoveLabelParams) WithID ¶
func (o *IssueRemoveLabelParams) WithID(id int64) *IssueRemoveLabelParams
WithID adds the id to the issue remove label params
func (*IssueRemoveLabelParams) WithIndex ¶
func (o *IssueRemoveLabelParams) WithIndex(index int64) *IssueRemoveLabelParams
WithIndex adds the index to the issue remove label params
func (*IssueRemoveLabelParams) WithOwner ¶
func (o *IssueRemoveLabelParams) WithOwner(owner string) *IssueRemoveLabelParams
WithOwner adds the owner to the issue remove label params
func (*IssueRemoveLabelParams) WithRepo ¶
func (o *IssueRemoveLabelParams) WithRepo(repo string) *IssueRemoveLabelParams
WithRepo adds the repo to the issue remove label params
func (*IssueRemoveLabelParams) WithTimeout ¶
func (o *IssueRemoveLabelParams) WithTimeout(timeout time.Duration) *IssueRemoveLabelParams
WithTimeout adds the timeout to the issue remove label params
func (*IssueRemoveLabelParams) WriteToRequest ¶
func (o *IssueRemoveLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueRemoveLabelReader ¶
type IssueRemoveLabelReader struct {
// contains filtered or unexported fields
}
IssueRemoveLabelReader is a Reader for the IssueRemoveLabel structure.
func (*IssueRemoveLabelReader) ReadResponse ¶
func (o *IssueRemoveLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueRemoveLabelUnprocessableEntity ¶
IssueRemoveLabelUnprocessableEntity describes a response with status code 422, with default header values.
APIValidationError is error format response related to input validation
func NewIssueRemoveLabelUnprocessableEntity ¶
func NewIssueRemoveLabelUnprocessableEntity() *IssueRemoveLabelUnprocessableEntity
NewIssueRemoveLabelUnprocessableEntity creates a IssueRemoveLabelUnprocessableEntity with default headers values
func (*IssueRemoveLabelUnprocessableEntity) Code ¶
func (o *IssueRemoveLabelUnprocessableEntity) Code() int
Code gets the status code for the issue remove label unprocessable entity response
func (*IssueRemoveLabelUnprocessableEntity) Error ¶
func (o *IssueRemoveLabelUnprocessableEntity) Error() string
func (*IssueRemoveLabelUnprocessableEntity) IsClientError ¶
func (o *IssueRemoveLabelUnprocessableEntity) IsClientError() bool
IsClientError returns true when this issue remove label unprocessable entity response has a 4xx status code
func (*IssueRemoveLabelUnprocessableEntity) IsCode ¶
func (o *IssueRemoveLabelUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this issue remove label unprocessable entity response a status code equal to that given
func (*IssueRemoveLabelUnprocessableEntity) IsRedirect ¶
func (o *IssueRemoveLabelUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this issue remove label unprocessable entity response has a 3xx status code
func (*IssueRemoveLabelUnprocessableEntity) IsServerError ¶
func (o *IssueRemoveLabelUnprocessableEntity) IsServerError() bool
IsServerError returns true when this issue remove label unprocessable entity response has a 5xx status code
func (*IssueRemoveLabelUnprocessableEntity) IsSuccess ¶
func (o *IssueRemoveLabelUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this issue remove label unprocessable entity response has a 2xx status code
func (*IssueRemoveLabelUnprocessableEntity) String ¶
func (o *IssueRemoveLabelUnprocessableEntity) String() string
type IssueReplaceLabelsForbidden ¶
IssueReplaceLabelsForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueReplaceLabelsForbidden ¶
func NewIssueReplaceLabelsForbidden() *IssueReplaceLabelsForbidden
NewIssueReplaceLabelsForbidden creates a IssueReplaceLabelsForbidden with default headers values
func (*IssueReplaceLabelsForbidden) Code ¶
func (o *IssueReplaceLabelsForbidden) Code() int
Code gets the status code for the issue replace labels forbidden response
func (*IssueReplaceLabelsForbidden) Error ¶
func (o *IssueReplaceLabelsForbidden) Error() string
func (*IssueReplaceLabelsForbidden) IsClientError ¶
func (o *IssueReplaceLabelsForbidden) IsClientError() bool
IsClientError returns true when this issue replace labels forbidden response has a 4xx status code
func (*IssueReplaceLabelsForbidden) IsCode ¶
func (o *IssueReplaceLabelsForbidden) IsCode(code int) bool
IsCode returns true when this issue replace labels forbidden response a status code equal to that given
func (*IssueReplaceLabelsForbidden) IsRedirect ¶
func (o *IssueReplaceLabelsForbidden) IsRedirect() bool
IsRedirect returns true when this issue replace labels forbidden response has a 3xx status code
func (*IssueReplaceLabelsForbidden) IsServerError ¶
func (o *IssueReplaceLabelsForbidden) IsServerError() bool
IsServerError returns true when this issue replace labels forbidden response has a 5xx status code
func (*IssueReplaceLabelsForbidden) IsSuccess ¶
func (o *IssueReplaceLabelsForbidden) IsSuccess() bool
IsSuccess returns true when this issue replace labels forbidden response has a 2xx status code
func (*IssueReplaceLabelsForbidden) String ¶
func (o *IssueReplaceLabelsForbidden) String() string
type IssueReplaceLabelsNotFound ¶
type IssueReplaceLabelsNotFound struct { }
IssueReplaceLabelsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueReplaceLabelsNotFound ¶
func NewIssueReplaceLabelsNotFound() *IssueReplaceLabelsNotFound
NewIssueReplaceLabelsNotFound creates a IssueReplaceLabelsNotFound with default headers values
func (*IssueReplaceLabelsNotFound) Code ¶
func (o *IssueReplaceLabelsNotFound) Code() int
Code gets the status code for the issue replace labels not found response
func (*IssueReplaceLabelsNotFound) Error ¶
func (o *IssueReplaceLabelsNotFound) Error() string
func (*IssueReplaceLabelsNotFound) IsClientError ¶
func (o *IssueReplaceLabelsNotFound) IsClientError() bool
IsClientError returns true when this issue replace labels not found response has a 4xx status code
func (*IssueReplaceLabelsNotFound) IsCode ¶
func (o *IssueReplaceLabelsNotFound) IsCode(code int) bool
IsCode returns true when this issue replace labels not found response a status code equal to that given
func (*IssueReplaceLabelsNotFound) IsRedirect ¶
func (o *IssueReplaceLabelsNotFound) IsRedirect() bool
IsRedirect returns true when this issue replace labels not found response has a 3xx status code
func (*IssueReplaceLabelsNotFound) IsServerError ¶
func (o *IssueReplaceLabelsNotFound) IsServerError() bool
IsServerError returns true when this issue replace labels not found response has a 5xx status code
func (*IssueReplaceLabelsNotFound) IsSuccess ¶
func (o *IssueReplaceLabelsNotFound) IsSuccess() bool
IsSuccess returns true when this issue replace labels not found response has a 2xx status code
func (*IssueReplaceLabelsNotFound) String ¶
func (o *IssueReplaceLabelsNotFound) String() string
type IssueReplaceLabelsOK ¶
IssueReplaceLabelsOK describes a response with status code 200, with default header values.
LabelList
func NewIssueReplaceLabelsOK ¶
func NewIssueReplaceLabelsOK() *IssueReplaceLabelsOK
NewIssueReplaceLabelsOK creates a IssueReplaceLabelsOK with default headers values
func (*IssueReplaceLabelsOK) Code ¶
func (o *IssueReplaceLabelsOK) Code() int
Code gets the status code for the issue replace labels o k response
func (*IssueReplaceLabelsOK) Error ¶
func (o *IssueReplaceLabelsOK) Error() string
func (*IssueReplaceLabelsOK) GetPayload ¶
func (o *IssueReplaceLabelsOK) GetPayload() []*models.Label
func (*IssueReplaceLabelsOK) IsClientError ¶
func (o *IssueReplaceLabelsOK) IsClientError() bool
IsClientError returns true when this issue replace labels o k response has a 4xx status code
func (*IssueReplaceLabelsOK) IsCode ¶
func (o *IssueReplaceLabelsOK) IsCode(code int) bool
IsCode returns true when this issue replace labels o k response a status code equal to that given
func (*IssueReplaceLabelsOK) IsRedirect ¶
func (o *IssueReplaceLabelsOK) IsRedirect() bool
IsRedirect returns true when this issue replace labels o k response has a 3xx status code
func (*IssueReplaceLabelsOK) IsServerError ¶
func (o *IssueReplaceLabelsOK) IsServerError() bool
IsServerError returns true when this issue replace labels o k response has a 5xx status code
func (*IssueReplaceLabelsOK) IsSuccess ¶
func (o *IssueReplaceLabelsOK) IsSuccess() bool
IsSuccess returns true when this issue replace labels o k response has a 2xx status code
func (*IssueReplaceLabelsOK) String ¶
func (o *IssueReplaceLabelsOK) String() string
type IssueReplaceLabelsParams ¶
type IssueReplaceLabelsParams struct { // Body. Body *models.IssueLabelsOption /* Index. index of the issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueReplaceLabelsParams contains all the parameters to send to the API endpoint
for the issue replace labels operation. Typically these are written to a http.Request.
func NewIssueReplaceLabelsParams ¶
func NewIssueReplaceLabelsParams() *IssueReplaceLabelsParams
NewIssueReplaceLabelsParams creates a new IssueReplaceLabelsParams 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 NewIssueReplaceLabelsParamsWithContext ¶
func NewIssueReplaceLabelsParamsWithContext(ctx context.Context) *IssueReplaceLabelsParams
NewIssueReplaceLabelsParamsWithContext creates a new IssueReplaceLabelsParams object with the ability to set a context for a request.
func NewIssueReplaceLabelsParamsWithHTTPClient ¶
func NewIssueReplaceLabelsParamsWithHTTPClient(client *http.Client) *IssueReplaceLabelsParams
NewIssueReplaceLabelsParamsWithHTTPClient creates a new IssueReplaceLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueReplaceLabelsParamsWithTimeout ¶
func NewIssueReplaceLabelsParamsWithTimeout(timeout time.Duration) *IssueReplaceLabelsParams
NewIssueReplaceLabelsParamsWithTimeout creates a new IssueReplaceLabelsParams object with the ability to set a timeout on a request.
func (*IssueReplaceLabelsParams) SetBody ¶
func (o *IssueReplaceLabelsParams) SetBody(body *models.IssueLabelsOption)
SetBody adds the body to the issue replace labels params
func (*IssueReplaceLabelsParams) SetContext ¶
func (o *IssueReplaceLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue replace labels params
func (*IssueReplaceLabelsParams) SetDefaults ¶
func (o *IssueReplaceLabelsParams) SetDefaults()
SetDefaults hydrates default values in the issue replace labels params (not the query body).
All values with no default are reset to their zero value.
func (*IssueReplaceLabelsParams) SetHTTPClient ¶
func (o *IssueReplaceLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue replace labels params
func (*IssueReplaceLabelsParams) SetIndex ¶
func (o *IssueReplaceLabelsParams) SetIndex(index int64)
SetIndex adds the index to the issue replace labels params
func (*IssueReplaceLabelsParams) SetOwner ¶
func (o *IssueReplaceLabelsParams) SetOwner(owner string)
SetOwner adds the owner to the issue replace labels params
func (*IssueReplaceLabelsParams) SetRepo ¶
func (o *IssueReplaceLabelsParams) SetRepo(repo string)
SetRepo adds the repo to the issue replace labels params
func (*IssueReplaceLabelsParams) SetTimeout ¶
func (o *IssueReplaceLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue replace labels params
func (*IssueReplaceLabelsParams) WithBody ¶
func (o *IssueReplaceLabelsParams) WithBody(body *models.IssueLabelsOption) *IssueReplaceLabelsParams
WithBody adds the body to the issue replace labels params
func (*IssueReplaceLabelsParams) WithContext ¶
func (o *IssueReplaceLabelsParams) WithContext(ctx context.Context) *IssueReplaceLabelsParams
WithContext adds the context to the issue replace labels params
func (*IssueReplaceLabelsParams) WithDefaults ¶
func (o *IssueReplaceLabelsParams) WithDefaults() *IssueReplaceLabelsParams
WithDefaults hydrates default values in the issue replace labels params (not the query body).
All values with no default are reset to their zero value.
func (*IssueReplaceLabelsParams) WithHTTPClient ¶
func (o *IssueReplaceLabelsParams) WithHTTPClient(client *http.Client) *IssueReplaceLabelsParams
WithHTTPClient adds the HTTPClient to the issue replace labels params
func (*IssueReplaceLabelsParams) WithIndex ¶
func (o *IssueReplaceLabelsParams) WithIndex(index int64) *IssueReplaceLabelsParams
WithIndex adds the index to the issue replace labels params
func (*IssueReplaceLabelsParams) WithOwner ¶
func (o *IssueReplaceLabelsParams) WithOwner(owner string) *IssueReplaceLabelsParams
WithOwner adds the owner to the issue replace labels params
func (*IssueReplaceLabelsParams) WithRepo ¶
func (o *IssueReplaceLabelsParams) WithRepo(repo string) *IssueReplaceLabelsParams
WithRepo adds the repo to the issue replace labels params
func (*IssueReplaceLabelsParams) WithTimeout ¶
func (o *IssueReplaceLabelsParams) WithTimeout(timeout time.Duration) *IssueReplaceLabelsParams
WithTimeout adds the timeout to the issue replace labels params
func (*IssueReplaceLabelsParams) WriteToRequest ¶
func (o *IssueReplaceLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueReplaceLabelsReader ¶
type IssueReplaceLabelsReader struct {
// contains filtered or unexported fields
}
IssueReplaceLabelsReader is a Reader for the IssueReplaceLabels structure.
func (*IssueReplaceLabelsReader) ReadResponse ¶
func (o *IssueReplaceLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueResetTimeBadRequest ¶
IssueResetTimeBadRequest describes a response with status code 400, with default header values.
APIError is error format response
func NewIssueResetTimeBadRequest ¶
func NewIssueResetTimeBadRequest() *IssueResetTimeBadRequest
NewIssueResetTimeBadRequest creates a IssueResetTimeBadRequest with default headers values
func (*IssueResetTimeBadRequest) Code ¶
func (o *IssueResetTimeBadRequest) Code() int
Code gets the status code for the issue reset time bad request response
func (*IssueResetTimeBadRequest) Error ¶
func (o *IssueResetTimeBadRequest) Error() string
func (*IssueResetTimeBadRequest) IsClientError ¶
func (o *IssueResetTimeBadRequest) IsClientError() bool
IsClientError returns true when this issue reset time bad request response has a 4xx status code
func (*IssueResetTimeBadRequest) IsCode ¶
func (o *IssueResetTimeBadRequest) IsCode(code int) bool
IsCode returns true when this issue reset time bad request response a status code equal to that given
func (*IssueResetTimeBadRequest) IsRedirect ¶
func (o *IssueResetTimeBadRequest) IsRedirect() bool
IsRedirect returns true when this issue reset time bad request response has a 3xx status code
func (*IssueResetTimeBadRequest) IsServerError ¶
func (o *IssueResetTimeBadRequest) IsServerError() bool
IsServerError returns true when this issue reset time bad request response has a 5xx status code
func (*IssueResetTimeBadRequest) IsSuccess ¶
func (o *IssueResetTimeBadRequest) IsSuccess() bool
IsSuccess returns true when this issue reset time bad request response has a 2xx status code
func (*IssueResetTimeBadRequest) String ¶
func (o *IssueResetTimeBadRequest) String() string
type IssueResetTimeForbidden ¶
IssueResetTimeForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewIssueResetTimeForbidden ¶
func NewIssueResetTimeForbidden() *IssueResetTimeForbidden
NewIssueResetTimeForbidden creates a IssueResetTimeForbidden with default headers values
func (*IssueResetTimeForbidden) Code ¶
func (o *IssueResetTimeForbidden) Code() int
Code gets the status code for the issue reset time forbidden response
func (*IssueResetTimeForbidden) Error ¶
func (o *IssueResetTimeForbidden) Error() string
func (*IssueResetTimeForbidden) IsClientError ¶
func (o *IssueResetTimeForbidden) IsClientError() bool
IsClientError returns true when this issue reset time forbidden response has a 4xx status code
func (*IssueResetTimeForbidden) IsCode ¶
func (o *IssueResetTimeForbidden) IsCode(code int) bool
IsCode returns true when this issue reset time forbidden response a status code equal to that given
func (*IssueResetTimeForbidden) IsRedirect ¶
func (o *IssueResetTimeForbidden) IsRedirect() bool
IsRedirect returns true when this issue reset time forbidden response has a 3xx status code
func (*IssueResetTimeForbidden) IsServerError ¶
func (o *IssueResetTimeForbidden) IsServerError() bool
IsServerError returns true when this issue reset time forbidden response has a 5xx status code
func (*IssueResetTimeForbidden) IsSuccess ¶
func (o *IssueResetTimeForbidden) IsSuccess() bool
IsSuccess returns true when this issue reset time forbidden response has a 2xx status code
func (*IssueResetTimeForbidden) String ¶
func (o *IssueResetTimeForbidden) String() string
type IssueResetTimeNoContent ¶
type IssueResetTimeNoContent struct { }
IssueResetTimeNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewIssueResetTimeNoContent ¶
func NewIssueResetTimeNoContent() *IssueResetTimeNoContent
NewIssueResetTimeNoContent creates a IssueResetTimeNoContent with default headers values
func (*IssueResetTimeNoContent) Code ¶
func (o *IssueResetTimeNoContent) Code() int
Code gets the status code for the issue reset time no content response
func (*IssueResetTimeNoContent) Error ¶
func (o *IssueResetTimeNoContent) Error() string
func (*IssueResetTimeNoContent) IsClientError ¶
func (o *IssueResetTimeNoContent) IsClientError() bool
IsClientError returns true when this issue reset time no content response has a 4xx status code
func (*IssueResetTimeNoContent) IsCode ¶
func (o *IssueResetTimeNoContent) IsCode(code int) bool
IsCode returns true when this issue reset time no content response a status code equal to that given
func (*IssueResetTimeNoContent) IsRedirect ¶
func (o *IssueResetTimeNoContent) IsRedirect() bool
IsRedirect returns true when this issue reset time no content response has a 3xx status code
func (*IssueResetTimeNoContent) IsServerError ¶
func (o *IssueResetTimeNoContent) IsServerError() bool
IsServerError returns true when this issue reset time no content response has a 5xx status code
func (*IssueResetTimeNoContent) IsSuccess ¶
func (o *IssueResetTimeNoContent) IsSuccess() bool
IsSuccess returns true when this issue reset time no content response has a 2xx status code
func (*IssueResetTimeNoContent) String ¶
func (o *IssueResetTimeNoContent) String() string
type IssueResetTimeNotFound ¶
type IssueResetTimeNotFound struct { }
IssueResetTimeNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueResetTimeNotFound ¶
func NewIssueResetTimeNotFound() *IssueResetTimeNotFound
NewIssueResetTimeNotFound creates a IssueResetTimeNotFound with default headers values
func (*IssueResetTimeNotFound) Code ¶
func (o *IssueResetTimeNotFound) Code() int
Code gets the status code for the issue reset time not found response
func (*IssueResetTimeNotFound) Error ¶
func (o *IssueResetTimeNotFound) Error() string
func (*IssueResetTimeNotFound) IsClientError ¶
func (o *IssueResetTimeNotFound) IsClientError() bool
IsClientError returns true when this issue reset time not found response has a 4xx status code
func (*IssueResetTimeNotFound) IsCode ¶
func (o *IssueResetTimeNotFound) IsCode(code int) bool
IsCode returns true when this issue reset time not found response a status code equal to that given
func (*IssueResetTimeNotFound) IsRedirect ¶
func (o *IssueResetTimeNotFound) IsRedirect() bool
IsRedirect returns true when this issue reset time not found response has a 3xx status code
func (*IssueResetTimeNotFound) IsServerError ¶
func (o *IssueResetTimeNotFound) IsServerError() bool
IsServerError returns true when this issue reset time not found response has a 5xx status code
func (*IssueResetTimeNotFound) IsSuccess ¶
func (o *IssueResetTimeNotFound) IsSuccess() bool
IsSuccess returns true when this issue reset time not found response has a 2xx status code
func (*IssueResetTimeNotFound) String ¶
func (o *IssueResetTimeNotFound) String() string
type IssueResetTimeParams ¶
type IssueResetTimeParams struct { /* Index. index of the issue to add tracked time to Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueResetTimeParams contains all the parameters to send to the API endpoint
for the issue reset time operation. Typically these are written to a http.Request.
func NewIssueResetTimeParams ¶
func NewIssueResetTimeParams() *IssueResetTimeParams
NewIssueResetTimeParams creates a new IssueResetTimeParams 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 NewIssueResetTimeParamsWithContext ¶
func NewIssueResetTimeParamsWithContext(ctx context.Context) *IssueResetTimeParams
NewIssueResetTimeParamsWithContext creates a new IssueResetTimeParams object with the ability to set a context for a request.
func NewIssueResetTimeParamsWithHTTPClient ¶
func NewIssueResetTimeParamsWithHTTPClient(client *http.Client) *IssueResetTimeParams
NewIssueResetTimeParamsWithHTTPClient creates a new IssueResetTimeParams object with the ability to set a custom HTTPClient for a request.
func NewIssueResetTimeParamsWithTimeout ¶
func NewIssueResetTimeParamsWithTimeout(timeout time.Duration) *IssueResetTimeParams
NewIssueResetTimeParamsWithTimeout creates a new IssueResetTimeParams object with the ability to set a timeout on a request.
func (*IssueResetTimeParams) SetContext ¶
func (o *IssueResetTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the issue reset time params
func (*IssueResetTimeParams) SetDefaults ¶
func (o *IssueResetTimeParams) SetDefaults()
SetDefaults hydrates default values in the issue reset time params (not the query body).
All values with no default are reset to their zero value.
func (*IssueResetTimeParams) SetHTTPClient ¶
func (o *IssueResetTimeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue reset time params
func (*IssueResetTimeParams) SetIndex ¶
func (o *IssueResetTimeParams) SetIndex(index int64)
SetIndex adds the index to the issue reset time params
func (*IssueResetTimeParams) SetOwner ¶
func (o *IssueResetTimeParams) SetOwner(owner string)
SetOwner adds the owner to the issue reset time params
func (*IssueResetTimeParams) SetRepo ¶
func (o *IssueResetTimeParams) SetRepo(repo string)
SetRepo adds the repo to the issue reset time params
func (*IssueResetTimeParams) SetTimeout ¶
func (o *IssueResetTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue reset time params
func (*IssueResetTimeParams) WithContext ¶
func (o *IssueResetTimeParams) WithContext(ctx context.Context) *IssueResetTimeParams
WithContext adds the context to the issue reset time params
func (*IssueResetTimeParams) WithDefaults ¶
func (o *IssueResetTimeParams) WithDefaults() *IssueResetTimeParams
WithDefaults hydrates default values in the issue reset time params (not the query body).
All values with no default are reset to their zero value.
func (*IssueResetTimeParams) WithHTTPClient ¶
func (o *IssueResetTimeParams) WithHTTPClient(client *http.Client) *IssueResetTimeParams
WithHTTPClient adds the HTTPClient to the issue reset time params
func (*IssueResetTimeParams) WithIndex ¶
func (o *IssueResetTimeParams) WithIndex(index int64) *IssueResetTimeParams
WithIndex adds the index to the issue reset time params
func (*IssueResetTimeParams) WithOwner ¶
func (o *IssueResetTimeParams) WithOwner(owner string) *IssueResetTimeParams
WithOwner adds the owner to the issue reset time params
func (*IssueResetTimeParams) WithRepo ¶
func (o *IssueResetTimeParams) WithRepo(repo string) *IssueResetTimeParams
WithRepo adds the repo to the issue reset time params
func (*IssueResetTimeParams) WithTimeout ¶
func (o *IssueResetTimeParams) WithTimeout(timeout time.Duration) *IssueResetTimeParams
WithTimeout adds the timeout to the issue reset time params
func (*IssueResetTimeParams) WriteToRequest ¶
func (o *IssueResetTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueResetTimeReader ¶
type IssueResetTimeReader struct {
// contains filtered or unexported fields
}
IssueResetTimeReader is a Reader for the IssueResetTime structure.
func (*IssueResetTimeReader) ReadResponse ¶
func (o *IssueResetTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueSearchIssuesOK ¶
IssueSearchIssuesOK describes a response with status code 200, with default header values.
IssueList
func NewIssueSearchIssuesOK ¶
func NewIssueSearchIssuesOK() *IssueSearchIssuesOK
NewIssueSearchIssuesOK creates a IssueSearchIssuesOK with default headers values
func (*IssueSearchIssuesOK) Code ¶
func (o *IssueSearchIssuesOK) Code() int
Code gets the status code for the issue search issues o k response
func (*IssueSearchIssuesOK) Error ¶
func (o *IssueSearchIssuesOK) Error() string
func (*IssueSearchIssuesOK) GetPayload ¶
func (o *IssueSearchIssuesOK) GetPayload() []*models.Issue
func (*IssueSearchIssuesOK) IsClientError ¶
func (o *IssueSearchIssuesOK) IsClientError() bool
IsClientError returns true when this issue search issues o k response has a 4xx status code
func (*IssueSearchIssuesOK) IsCode ¶
func (o *IssueSearchIssuesOK) IsCode(code int) bool
IsCode returns true when this issue search issues o k response a status code equal to that given
func (*IssueSearchIssuesOK) IsRedirect ¶
func (o *IssueSearchIssuesOK) IsRedirect() bool
IsRedirect returns true when this issue search issues o k response has a 3xx status code
func (*IssueSearchIssuesOK) IsServerError ¶
func (o *IssueSearchIssuesOK) IsServerError() bool
IsServerError returns true when this issue search issues o k response has a 5xx status code
func (*IssueSearchIssuesOK) IsSuccess ¶
func (o *IssueSearchIssuesOK) IsSuccess() bool
IsSuccess returns true when this issue search issues o k response has a 2xx status code
func (*IssueSearchIssuesOK) String ¶
func (o *IssueSearchIssuesOK) String() string
type IssueSearchIssuesParams ¶
type IssueSearchIssuesParams struct { /* Assigned. filter (issues / pulls) assigned to you, default is false */ Assigned *bool /* Before. Only show notifications updated before the given time. This is a timestamp in RFC 3339 format Format: date-time */ Before *strfmt.DateTime /* Created. filter (issues / pulls) created by you, default is false */ Created *bool /* Labels. comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded */ Labels *string /* Limit. page size of results */ Limit *int64 /* Mentioned. filter (issues / pulls) mentioning you, default is false */ Mentioned *bool /* Milestones. comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded */ Milestones *string /* Owner. filter by owner */ Owner *string /* Page. page number of results to return (1-based) */ Page *int64 /* PriorityRepoID. repository to prioritize in the results Format: int64 */ PriorityRepoID *int64 /* Q. search string */ Q *string /* ReviewRequested. filter pulls requesting your review, default is false */ ReviewRequested *bool /* Reviewed. filter pulls reviewed by you, default is false */ Reviewed *bool /* Since. Only show notifications updated after the given time. This is a timestamp in RFC 3339 format Format: date-time */ Since *strfmt.DateTime /* State. whether issue is open or closed */ State *string /* Team. filter by team (requires organization owner parameter to be provided) */ Team *string /* Type. filter by type (issues / pulls) if set */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueSearchIssuesParams contains all the parameters to send to the API endpoint
for the issue search issues operation. Typically these are written to a http.Request.
func NewIssueSearchIssuesParams ¶
func NewIssueSearchIssuesParams() *IssueSearchIssuesParams
NewIssueSearchIssuesParams creates a new IssueSearchIssuesParams 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 NewIssueSearchIssuesParamsWithContext ¶
func NewIssueSearchIssuesParamsWithContext(ctx context.Context) *IssueSearchIssuesParams
NewIssueSearchIssuesParamsWithContext creates a new IssueSearchIssuesParams object with the ability to set a context for a request.
func NewIssueSearchIssuesParamsWithHTTPClient ¶
func NewIssueSearchIssuesParamsWithHTTPClient(client *http.Client) *IssueSearchIssuesParams
NewIssueSearchIssuesParamsWithHTTPClient creates a new IssueSearchIssuesParams object with the ability to set a custom HTTPClient for a request.
func NewIssueSearchIssuesParamsWithTimeout ¶
func NewIssueSearchIssuesParamsWithTimeout(timeout time.Duration) *IssueSearchIssuesParams
NewIssueSearchIssuesParamsWithTimeout creates a new IssueSearchIssuesParams object with the ability to set a timeout on a request.
func (*IssueSearchIssuesParams) SetAssigned ¶
func (o *IssueSearchIssuesParams) SetAssigned(assigned *bool)
SetAssigned adds the assigned to the issue search issues params
func (*IssueSearchIssuesParams) SetBefore ¶
func (o *IssueSearchIssuesParams) SetBefore(before *strfmt.DateTime)
SetBefore adds the before to the issue search issues params
func (*IssueSearchIssuesParams) SetContext ¶
func (o *IssueSearchIssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the issue search issues params
func (*IssueSearchIssuesParams) SetCreated ¶
func (o *IssueSearchIssuesParams) SetCreated(created *bool)
SetCreated adds the created to the issue search issues params
func (*IssueSearchIssuesParams) SetDefaults ¶
func (o *IssueSearchIssuesParams) SetDefaults()
SetDefaults hydrates default values in the issue search issues params (not the query body).
All values with no default are reset to their zero value.
func (*IssueSearchIssuesParams) SetHTTPClient ¶
func (o *IssueSearchIssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue search issues params
func (*IssueSearchIssuesParams) SetLabels ¶
func (o *IssueSearchIssuesParams) SetLabels(labels *string)
SetLabels adds the labels to the issue search issues params
func (*IssueSearchIssuesParams) SetLimit ¶
func (o *IssueSearchIssuesParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue search issues params
func (*IssueSearchIssuesParams) SetMentioned ¶
func (o *IssueSearchIssuesParams) SetMentioned(mentioned *bool)
SetMentioned adds the mentioned to the issue search issues params
func (*IssueSearchIssuesParams) SetMilestones ¶
func (o *IssueSearchIssuesParams) SetMilestones(milestones *string)
SetMilestones adds the milestones to the issue search issues params
func (*IssueSearchIssuesParams) SetOwner ¶
func (o *IssueSearchIssuesParams) SetOwner(owner *string)
SetOwner adds the owner to the issue search issues params
func (*IssueSearchIssuesParams) SetPage ¶
func (o *IssueSearchIssuesParams) SetPage(page *int64)
SetPage adds the page to the issue search issues params
func (*IssueSearchIssuesParams) SetPriorityRepoID ¶
func (o *IssueSearchIssuesParams) SetPriorityRepoID(priorityRepoID *int64)
SetPriorityRepoID adds the priorityRepoId to the issue search issues params
func (*IssueSearchIssuesParams) SetQ ¶
func (o *IssueSearchIssuesParams) SetQ(q *string)
SetQ adds the q to the issue search issues params
func (*IssueSearchIssuesParams) SetReviewRequested ¶
func (o *IssueSearchIssuesParams) SetReviewRequested(reviewRequested *bool)
SetReviewRequested adds the reviewRequested to the issue search issues params
func (*IssueSearchIssuesParams) SetReviewed ¶
func (o *IssueSearchIssuesParams) SetReviewed(reviewed *bool)
SetReviewed adds the reviewed to the issue search issues params
func (*IssueSearchIssuesParams) SetSince ¶
func (o *IssueSearchIssuesParams) SetSince(since *strfmt.DateTime)
SetSince adds the since to the issue search issues params
func (*IssueSearchIssuesParams) SetState ¶
func (o *IssueSearchIssuesParams) SetState(state *string)
SetState adds the state to the issue search issues params
func (*IssueSearchIssuesParams) SetTeam ¶
func (o *IssueSearchIssuesParams) SetTeam(team *string)
SetTeam adds the team to the issue search issues params
func (*IssueSearchIssuesParams) SetTimeout ¶
func (o *IssueSearchIssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue search issues params
func (*IssueSearchIssuesParams) SetType ¶
func (o *IssueSearchIssuesParams) SetType(typeVar *string)
SetType adds the type to the issue search issues params
func (*IssueSearchIssuesParams) WithAssigned ¶
func (o *IssueSearchIssuesParams) WithAssigned(assigned *bool) *IssueSearchIssuesParams
WithAssigned adds the assigned to the issue search issues params
func (*IssueSearchIssuesParams) WithBefore ¶
func (o *IssueSearchIssuesParams) WithBefore(before *strfmt.DateTime) *IssueSearchIssuesParams
WithBefore adds the before to the issue search issues params
func (*IssueSearchIssuesParams) WithContext ¶
func (o *IssueSearchIssuesParams) WithContext(ctx context.Context) *IssueSearchIssuesParams
WithContext adds the context to the issue search issues params
func (*IssueSearchIssuesParams) WithCreated ¶
func (o *IssueSearchIssuesParams) WithCreated(created *bool) *IssueSearchIssuesParams
WithCreated adds the created to the issue search issues params
func (*IssueSearchIssuesParams) WithDefaults ¶
func (o *IssueSearchIssuesParams) WithDefaults() *IssueSearchIssuesParams
WithDefaults hydrates default values in the issue search issues params (not the query body).
All values with no default are reset to their zero value.
func (*IssueSearchIssuesParams) WithHTTPClient ¶
func (o *IssueSearchIssuesParams) WithHTTPClient(client *http.Client) *IssueSearchIssuesParams
WithHTTPClient adds the HTTPClient to the issue search issues params
func (*IssueSearchIssuesParams) WithLabels ¶
func (o *IssueSearchIssuesParams) WithLabels(labels *string) *IssueSearchIssuesParams
WithLabels adds the labels to the issue search issues params
func (*IssueSearchIssuesParams) WithLimit ¶
func (o *IssueSearchIssuesParams) WithLimit(limit *int64) *IssueSearchIssuesParams
WithLimit adds the limit to the issue search issues params
func (*IssueSearchIssuesParams) WithMentioned ¶
func (o *IssueSearchIssuesParams) WithMentioned(mentioned *bool) *IssueSearchIssuesParams
WithMentioned adds the mentioned to the issue search issues params
func (*IssueSearchIssuesParams) WithMilestones ¶
func (o *IssueSearchIssuesParams) WithMilestones(milestones *string) *IssueSearchIssuesParams
WithMilestones adds the milestones to the issue search issues params
func (*IssueSearchIssuesParams) WithOwner ¶
func (o *IssueSearchIssuesParams) WithOwner(owner *string) *IssueSearchIssuesParams
WithOwner adds the owner to the issue search issues params
func (*IssueSearchIssuesParams) WithPage ¶
func (o *IssueSearchIssuesParams) WithPage(page *int64) *IssueSearchIssuesParams
WithPage adds the page to the issue search issues params
func (*IssueSearchIssuesParams) WithPriorityRepoID ¶
func (o *IssueSearchIssuesParams) WithPriorityRepoID(priorityRepoID *int64) *IssueSearchIssuesParams
WithPriorityRepoID adds the priorityRepoID to the issue search issues params
func (*IssueSearchIssuesParams) WithQ ¶
func (o *IssueSearchIssuesParams) WithQ(q *string) *IssueSearchIssuesParams
WithQ adds the q to the issue search issues params
func (*IssueSearchIssuesParams) WithReviewRequested ¶
func (o *IssueSearchIssuesParams) WithReviewRequested(reviewRequested *bool) *IssueSearchIssuesParams
WithReviewRequested adds the reviewRequested to the issue search issues params
func (*IssueSearchIssuesParams) WithReviewed ¶
func (o *IssueSearchIssuesParams) WithReviewed(reviewed *bool) *IssueSearchIssuesParams
WithReviewed adds the reviewed to the issue search issues params
func (*IssueSearchIssuesParams) WithSince ¶
func (o *IssueSearchIssuesParams) WithSince(since *strfmt.DateTime) *IssueSearchIssuesParams
WithSince adds the since to the issue search issues params
func (*IssueSearchIssuesParams) WithState ¶
func (o *IssueSearchIssuesParams) WithState(state *string) *IssueSearchIssuesParams
WithState adds the state to the issue search issues params
func (*IssueSearchIssuesParams) WithTeam ¶
func (o *IssueSearchIssuesParams) WithTeam(team *string) *IssueSearchIssuesParams
WithTeam adds the team to the issue search issues params
func (*IssueSearchIssuesParams) WithTimeout ¶
func (o *IssueSearchIssuesParams) WithTimeout(timeout time.Duration) *IssueSearchIssuesParams
WithTimeout adds the timeout to the issue search issues params
func (*IssueSearchIssuesParams) WithType ¶
func (o *IssueSearchIssuesParams) WithType(typeVar *string) *IssueSearchIssuesParams
WithType adds the typeVar to the issue search issues params
func (*IssueSearchIssuesParams) WriteToRequest ¶
func (o *IssueSearchIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueSearchIssuesReader ¶
type IssueSearchIssuesReader struct {
// contains filtered or unexported fields
}
IssueSearchIssuesReader is a Reader for the IssueSearchIssues structure.
func (*IssueSearchIssuesReader) ReadResponse ¶
func (o *IssueSearchIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueStartStopWatchConflict ¶
type IssueStartStopWatchConflict struct { }
IssueStartStopWatchConflict describes a response with status code 409, with default header values.
Cannot start a stopwatch again if it already exists
func NewIssueStartStopWatchConflict ¶
func NewIssueStartStopWatchConflict() *IssueStartStopWatchConflict
NewIssueStartStopWatchConflict creates a IssueStartStopWatchConflict with default headers values
func (*IssueStartStopWatchConflict) Code ¶
func (o *IssueStartStopWatchConflict) Code() int
Code gets the status code for the issue start stop watch conflict response
func (*IssueStartStopWatchConflict) Error ¶
func (o *IssueStartStopWatchConflict) Error() string
func (*IssueStartStopWatchConflict) IsClientError ¶
func (o *IssueStartStopWatchConflict) IsClientError() bool
IsClientError returns true when this issue start stop watch conflict response has a 4xx status code
func (*IssueStartStopWatchConflict) IsCode ¶
func (o *IssueStartStopWatchConflict) IsCode(code int) bool
IsCode returns true when this issue start stop watch conflict response a status code equal to that given
func (*IssueStartStopWatchConflict) IsRedirect ¶
func (o *IssueStartStopWatchConflict) IsRedirect() bool
IsRedirect returns true when this issue start stop watch conflict response has a 3xx status code
func (*IssueStartStopWatchConflict) IsServerError ¶
func (o *IssueStartStopWatchConflict) IsServerError() bool
IsServerError returns true when this issue start stop watch conflict response has a 5xx status code
func (*IssueStartStopWatchConflict) IsSuccess ¶
func (o *IssueStartStopWatchConflict) IsSuccess() bool
IsSuccess returns true when this issue start stop watch conflict response has a 2xx status code
func (*IssueStartStopWatchConflict) String ¶
func (o *IssueStartStopWatchConflict) String() string
type IssueStartStopWatchCreated ¶
type IssueStartStopWatchCreated struct { }
IssueStartStopWatchCreated describes a response with status code 201, with default header values.
APIEmpty is an empty response
func NewIssueStartStopWatchCreated ¶
func NewIssueStartStopWatchCreated() *IssueStartStopWatchCreated
NewIssueStartStopWatchCreated creates a IssueStartStopWatchCreated with default headers values
func (*IssueStartStopWatchCreated) Code ¶
func (o *IssueStartStopWatchCreated) Code() int
Code gets the status code for the issue start stop watch created response
func (*IssueStartStopWatchCreated) Error ¶
func (o *IssueStartStopWatchCreated) Error() string
func (*IssueStartStopWatchCreated) IsClientError ¶
func (o *IssueStartStopWatchCreated) IsClientError() bool
IsClientError returns true when this issue start stop watch created response has a 4xx status code
func (*IssueStartStopWatchCreated) IsCode ¶
func (o *IssueStartStopWatchCreated) IsCode(code int) bool
IsCode returns true when this issue start stop watch created response a status code equal to that given
func (*IssueStartStopWatchCreated) IsRedirect ¶
func (o *IssueStartStopWatchCreated) IsRedirect() bool
IsRedirect returns true when this issue start stop watch created response has a 3xx status code
func (*IssueStartStopWatchCreated) IsServerError ¶
func (o *IssueStartStopWatchCreated) IsServerError() bool
IsServerError returns true when this issue start stop watch created response has a 5xx status code
func (*IssueStartStopWatchCreated) IsSuccess ¶
func (o *IssueStartStopWatchCreated) IsSuccess() bool
IsSuccess returns true when this issue start stop watch created response has a 2xx status code
func (*IssueStartStopWatchCreated) String ¶
func (o *IssueStartStopWatchCreated) String() string
type IssueStartStopWatchForbidden ¶
type IssueStartStopWatchForbidden struct { }
IssueStartStopWatchForbidden describes a response with status code 403, with default header values.
Not repo writer, user does not have rights to toggle stopwatch
func NewIssueStartStopWatchForbidden ¶
func NewIssueStartStopWatchForbidden() *IssueStartStopWatchForbidden
NewIssueStartStopWatchForbidden creates a IssueStartStopWatchForbidden with default headers values
func (*IssueStartStopWatchForbidden) Code ¶
func (o *IssueStartStopWatchForbidden) Code() int
Code gets the status code for the issue start stop watch forbidden response
func (*IssueStartStopWatchForbidden) Error ¶
func (o *IssueStartStopWatchForbidden) Error() string
func (*IssueStartStopWatchForbidden) IsClientError ¶
func (o *IssueStartStopWatchForbidden) IsClientError() bool
IsClientError returns true when this issue start stop watch forbidden response has a 4xx status code
func (*IssueStartStopWatchForbidden) IsCode ¶
func (o *IssueStartStopWatchForbidden) IsCode(code int) bool
IsCode returns true when this issue start stop watch forbidden response a status code equal to that given
func (*IssueStartStopWatchForbidden) IsRedirect ¶
func (o *IssueStartStopWatchForbidden) IsRedirect() bool
IsRedirect returns true when this issue start stop watch forbidden response has a 3xx status code
func (*IssueStartStopWatchForbidden) IsServerError ¶
func (o *IssueStartStopWatchForbidden) IsServerError() bool
IsServerError returns true when this issue start stop watch forbidden response has a 5xx status code
func (*IssueStartStopWatchForbidden) IsSuccess ¶
func (o *IssueStartStopWatchForbidden) IsSuccess() bool
IsSuccess returns true when this issue start stop watch forbidden response has a 2xx status code
func (*IssueStartStopWatchForbidden) String ¶
func (o *IssueStartStopWatchForbidden) String() string
type IssueStartStopWatchNotFound ¶
type IssueStartStopWatchNotFound struct { }
IssueStartStopWatchNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueStartStopWatchNotFound ¶
func NewIssueStartStopWatchNotFound() *IssueStartStopWatchNotFound
NewIssueStartStopWatchNotFound creates a IssueStartStopWatchNotFound with default headers values
func (*IssueStartStopWatchNotFound) Code ¶
func (o *IssueStartStopWatchNotFound) Code() int
Code gets the status code for the issue start stop watch not found response
func (*IssueStartStopWatchNotFound) Error ¶
func (o *IssueStartStopWatchNotFound) Error() string
func (*IssueStartStopWatchNotFound) IsClientError ¶
func (o *IssueStartStopWatchNotFound) IsClientError() bool
IsClientError returns true when this issue start stop watch not found response has a 4xx status code
func (*IssueStartStopWatchNotFound) IsCode ¶
func (o *IssueStartStopWatchNotFound) IsCode(code int) bool
IsCode returns true when this issue start stop watch not found response a status code equal to that given
func (*IssueStartStopWatchNotFound) IsRedirect ¶
func (o *IssueStartStopWatchNotFound) IsRedirect() bool
IsRedirect returns true when this issue start stop watch not found response has a 3xx status code
func (*IssueStartStopWatchNotFound) IsServerError ¶
func (o *IssueStartStopWatchNotFound) IsServerError() bool
IsServerError returns true when this issue start stop watch not found response has a 5xx status code
func (*IssueStartStopWatchNotFound) IsSuccess ¶
func (o *IssueStartStopWatchNotFound) IsSuccess() bool
IsSuccess returns true when this issue start stop watch not found response has a 2xx status code
func (*IssueStartStopWatchNotFound) String ¶
func (o *IssueStartStopWatchNotFound) String() string
type IssueStartStopWatchParams ¶
type IssueStartStopWatchParams struct { /* Index. index of the issue to create the stopwatch on Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueStartStopWatchParams contains all the parameters to send to the API endpoint
for the issue start stop watch operation. Typically these are written to a http.Request.
func NewIssueStartStopWatchParams ¶
func NewIssueStartStopWatchParams() *IssueStartStopWatchParams
NewIssueStartStopWatchParams creates a new IssueStartStopWatchParams 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 NewIssueStartStopWatchParamsWithContext ¶
func NewIssueStartStopWatchParamsWithContext(ctx context.Context) *IssueStartStopWatchParams
NewIssueStartStopWatchParamsWithContext creates a new IssueStartStopWatchParams object with the ability to set a context for a request.
func NewIssueStartStopWatchParamsWithHTTPClient ¶
func NewIssueStartStopWatchParamsWithHTTPClient(client *http.Client) *IssueStartStopWatchParams
NewIssueStartStopWatchParamsWithHTTPClient creates a new IssueStartStopWatchParams object with the ability to set a custom HTTPClient for a request.
func NewIssueStartStopWatchParamsWithTimeout ¶
func NewIssueStartStopWatchParamsWithTimeout(timeout time.Duration) *IssueStartStopWatchParams
NewIssueStartStopWatchParamsWithTimeout creates a new IssueStartStopWatchParams object with the ability to set a timeout on a request.
func (*IssueStartStopWatchParams) SetContext ¶
func (o *IssueStartStopWatchParams) SetContext(ctx context.Context)
SetContext adds the context to the issue start stop watch params
func (*IssueStartStopWatchParams) SetDefaults ¶
func (o *IssueStartStopWatchParams) SetDefaults()
SetDefaults hydrates default values in the issue start stop watch params (not the query body).
All values with no default are reset to their zero value.
func (*IssueStartStopWatchParams) SetHTTPClient ¶
func (o *IssueStartStopWatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue start stop watch params
func (*IssueStartStopWatchParams) SetIndex ¶
func (o *IssueStartStopWatchParams) SetIndex(index int64)
SetIndex adds the index to the issue start stop watch params
func (*IssueStartStopWatchParams) SetOwner ¶
func (o *IssueStartStopWatchParams) SetOwner(owner string)
SetOwner adds the owner to the issue start stop watch params
func (*IssueStartStopWatchParams) SetRepo ¶
func (o *IssueStartStopWatchParams) SetRepo(repo string)
SetRepo adds the repo to the issue start stop watch params
func (*IssueStartStopWatchParams) SetTimeout ¶
func (o *IssueStartStopWatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue start stop watch params
func (*IssueStartStopWatchParams) WithContext ¶
func (o *IssueStartStopWatchParams) WithContext(ctx context.Context) *IssueStartStopWatchParams
WithContext adds the context to the issue start stop watch params
func (*IssueStartStopWatchParams) WithDefaults ¶
func (o *IssueStartStopWatchParams) WithDefaults() *IssueStartStopWatchParams
WithDefaults hydrates default values in the issue start stop watch params (not the query body).
All values with no default are reset to their zero value.
func (*IssueStartStopWatchParams) WithHTTPClient ¶
func (o *IssueStartStopWatchParams) WithHTTPClient(client *http.Client) *IssueStartStopWatchParams
WithHTTPClient adds the HTTPClient to the issue start stop watch params
func (*IssueStartStopWatchParams) WithIndex ¶
func (o *IssueStartStopWatchParams) WithIndex(index int64) *IssueStartStopWatchParams
WithIndex adds the index to the issue start stop watch params
func (*IssueStartStopWatchParams) WithOwner ¶
func (o *IssueStartStopWatchParams) WithOwner(owner string) *IssueStartStopWatchParams
WithOwner adds the owner to the issue start stop watch params
func (*IssueStartStopWatchParams) WithRepo ¶
func (o *IssueStartStopWatchParams) WithRepo(repo string) *IssueStartStopWatchParams
WithRepo adds the repo to the issue start stop watch params
func (*IssueStartStopWatchParams) WithTimeout ¶
func (o *IssueStartStopWatchParams) WithTimeout(timeout time.Duration) *IssueStartStopWatchParams
WithTimeout adds the timeout to the issue start stop watch params
func (*IssueStartStopWatchParams) WriteToRequest ¶
func (o *IssueStartStopWatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueStartStopWatchReader ¶
type IssueStartStopWatchReader struct {
// contains filtered or unexported fields
}
IssueStartStopWatchReader is a Reader for the IssueStartStopWatch structure.
func (*IssueStartStopWatchReader) ReadResponse ¶
func (o *IssueStartStopWatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueStopStopWatchConflict ¶
type IssueStopStopWatchConflict struct { }
IssueStopStopWatchConflict describes a response with status code 409, with default header values.
Cannot stop a non existent stopwatch
func NewIssueStopStopWatchConflict ¶
func NewIssueStopStopWatchConflict() *IssueStopStopWatchConflict
NewIssueStopStopWatchConflict creates a IssueStopStopWatchConflict with default headers values
func (*IssueStopStopWatchConflict) Code ¶
func (o *IssueStopStopWatchConflict) Code() int
Code gets the status code for the issue stop stop watch conflict response
func (*IssueStopStopWatchConflict) Error ¶
func (o *IssueStopStopWatchConflict) Error() string
func (*IssueStopStopWatchConflict) IsClientError ¶
func (o *IssueStopStopWatchConflict) IsClientError() bool
IsClientError returns true when this issue stop stop watch conflict response has a 4xx status code
func (*IssueStopStopWatchConflict) IsCode ¶
func (o *IssueStopStopWatchConflict) IsCode(code int) bool
IsCode returns true when this issue stop stop watch conflict response a status code equal to that given
func (*IssueStopStopWatchConflict) IsRedirect ¶
func (o *IssueStopStopWatchConflict) IsRedirect() bool
IsRedirect returns true when this issue stop stop watch conflict response has a 3xx status code
func (*IssueStopStopWatchConflict) IsServerError ¶
func (o *IssueStopStopWatchConflict) IsServerError() bool
IsServerError returns true when this issue stop stop watch conflict response has a 5xx status code
func (*IssueStopStopWatchConflict) IsSuccess ¶
func (o *IssueStopStopWatchConflict) IsSuccess() bool
IsSuccess returns true when this issue stop stop watch conflict response has a 2xx status code
func (*IssueStopStopWatchConflict) String ¶
func (o *IssueStopStopWatchConflict) String() string
type IssueStopStopWatchCreated ¶
type IssueStopStopWatchCreated struct { }
IssueStopStopWatchCreated describes a response with status code 201, with default header values.
APIEmpty is an empty response
func NewIssueStopStopWatchCreated ¶
func NewIssueStopStopWatchCreated() *IssueStopStopWatchCreated
NewIssueStopStopWatchCreated creates a IssueStopStopWatchCreated with default headers values
func (*IssueStopStopWatchCreated) Code ¶
func (o *IssueStopStopWatchCreated) Code() int
Code gets the status code for the issue stop stop watch created response
func (*IssueStopStopWatchCreated) Error ¶
func (o *IssueStopStopWatchCreated) Error() string
func (*IssueStopStopWatchCreated) IsClientError ¶
func (o *IssueStopStopWatchCreated) IsClientError() bool
IsClientError returns true when this issue stop stop watch created response has a 4xx status code
func (*IssueStopStopWatchCreated) IsCode ¶
func (o *IssueStopStopWatchCreated) IsCode(code int) bool
IsCode returns true when this issue stop stop watch created response a status code equal to that given
func (*IssueStopStopWatchCreated) IsRedirect ¶
func (o *IssueStopStopWatchCreated) IsRedirect() bool
IsRedirect returns true when this issue stop stop watch created response has a 3xx status code
func (*IssueStopStopWatchCreated) IsServerError ¶
func (o *IssueStopStopWatchCreated) IsServerError() bool
IsServerError returns true when this issue stop stop watch created response has a 5xx status code
func (*IssueStopStopWatchCreated) IsSuccess ¶
func (o *IssueStopStopWatchCreated) IsSuccess() bool
IsSuccess returns true when this issue stop stop watch created response has a 2xx status code
func (*IssueStopStopWatchCreated) String ¶
func (o *IssueStopStopWatchCreated) String() string
type IssueStopStopWatchForbidden ¶
type IssueStopStopWatchForbidden struct { }
IssueStopStopWatchForbidden describes a response with status code 403, with default header values.
Not repo writer, user does not have rights to toggle stopwatch
func NewIssueStopStopWatchForbidden ¶
func NewIssueStopStopWatchForbidden() *IssueStopStopWatchForbidden
NewIssueStopStopWatchForbidden creates a IssueStopStopWatchForbidden with default headers values
func (*IssueStopStopWatchForbidden) Code ¶
func (o *IssueStopStopWatchForbidden) Code() int
Code gets the status code for the issue stop stop watch forbidden response
func (*IssueStopStopWatchForbidden) Error ¶
func (o *IssueStopStopWatchForbidden) Error() string
func (*IssueStopStopWatchForbidden) IsClientError ¶
func (o *IssueStopStopWatchForbidden) IsClientError() bool
IsClientError returns true when this issue stop stop watch forbidden response has a 4xx status code
func (*IssueStopStopWatchForbidden) IsCode ¶
func (o *IssueStopStopWatchForbidden) IsCode(code int) bool
IsCode returns true when this issue stop stop watch forbidden response a status code equal to that given
func (*IssueStopStopWatchForbidden) IsRedirect ¶
func (o *IssueStopStopWatchForbidden) IsRedirect() bool
IsRedirect returns true when this issue stop stop watch forbidden response has a 3xx status code
func (*IssueStopStopWatchForbidden) IsServerError ¶
func (o *IssueStopStopWatchForbidden) IsServerError() bool
IsServerError returns true when this issue stop stop watch forbidden response has a 5xx status code
func (*IssueStopStopWatchForbidden) IsSuccess ¶
func (o *IssueStopStopWatchForbidden) IsSuccess() bool
IsSuccess returns true when this issue stop stop watch forbidden response has a 2xx status code
func (*IssueStopStopWatchForbidden) String ¶
func (o *IssueStopStopWatchForbidden) String() string
type IssueStopStopWatchNotFound ¶
type IssueStopStopWatchNotFound struct { }
IssueStopStopWatchNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueStopStopWatchNotFound ¶
func NewIssueStopStopWatchNotFound() *IssueStopStopWatchNotFound
NewIssueStopStopWatchNotFound creates a IssueStopStopWatchNotFound with default headers values
func (*IssueStopStopWatchNotFound) Code ¶
func (o *IssueStopStopWatchNotFound) Code() int
Code gets the status code for the issue stop stop watch not found response
func (*IssueStopStopWatchNotFound) Error ¶
func (o *IssueStopStopWatchNotFound) Error() string
func (*IssueStopStopWatchNotFound) IsClientError ¶
func (o *IssueStopStopWatchNotFound) IsClientError() bool
IsClientError returns true when this issue stop stop watch not found response has a 4xx status code
func (*IssueStopStopWatchNotFound) IsCode ¶
func (o *IssueStopStopWatchNotFound) IsCode(code int) bool
IsCode returns true when this issue stop stop watch not found response a status code equal to that given
func (*IssueStopStopWatchNotFound) IsRedirect ¶
func (o *IssueStopStopWatchNotFound) IsRedirect() bool
IsRedirect returns true when this issue stop stop watch not found response has a 3xx status code
func (*IssueStopStopWatchNotFound) IsServerError ¶
func (o *IssueStopStopWatchNotFound) IsServerError() bool
IsServerError returns true when this issue stop stop watch not found response has a 5xx status code
func (*IssueStopStopWatchNotFound) IsSuccess ¶
func (o *IssueStopStopWatchNotFound) IsSuccess() bool
IsSuccess returns true when this issue stop stop watch not found response has a 2xx status code
func (*IssueStopStopWatchNotFound) String ¶
func (o *IssueStopStopWatchNotFound) String() string
type IssueStopStopWatchParams ¶
type IssueStopStopWatchParams struct { /* Index. index of the issue to stop the stopwatch on Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueStopStopWatchParams contains all the parameters to send to the API endpoint
for the issue stop stop watch operation. Typically these are written to a http.Request.
func NewIssueStopStopWatchParams ¶
func NewIssueStopStopWatchParams() *IssueStopStopWatchParams
NewIssueStopStopWatchParams creates a new IssueStopStopWatchParams 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 NewIssueStopStopWatchParamsWithContext ¶
func NewIssueStopStopWatchParamsWithContext(ctx context.Context) *IssueStopStopWatchParams
NewIssueStopStopWatchParamsWithContext creates a new IssueStopStopWatchParams object with the ability to set a context for a request.
func NewIssueStopStopWatchParamsWithHTTPClient ¶
func NewIssueStopStopWatchParamsWithHTTPClient(client *http.Client) *IssueStopStopWatchParams
NewIssueStopStopWatchParamsWithHTTPClient creates a new IssueStopStopWatchParams object with the ability to set a custom HTTPClient for a request.
func NewIssueStopStopWatchParamsWithTimeout ¶
func NewIssueStopStopWatchParamsWithTimeout(timeout time.Duration) *IssueStopStopWatchParams
NewIssueStopStopWatchParamsWithTimeout creates a new IssueStopStopWatchParams object with the ability to set a timeout on a request.
func (*IssueStopStopWatchParams) SetContext ¶
func (o *IssueStopStopWatchParams) SetContext(ctx context.Context)
SetContext adds the context to the issue stop stop watch params
func (*IssueStopStopWatchParams) SetDefaults ¶
func (o *IssueStopStopWatchParams) SetDefaults()
SetDefaults hydrates default values in the issue stop stop watch params (not the query body).
All values with no default are reset to their zero value.
func (*IssueStopStopWatchParams) SetHTTPClient ¶
func (o *IssueStopStopWatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue stop stop watch params
func (*IssueStopStopWatchParams) SetIndex ¶
func (o *IssueStopStopWatchParams) SetIndex(index int64)
SetIndex adds the index to the issue stop stop watch params
func (*IssueStopStopWatchParams) SetOwner ¶
func (o *IssueStopStopWatchParams) SetOwner(owner string)
SetOwner adds the owner to the issue stop stop watch params
func (*IssueStopStopWatchParams) SetRepo ¶
func (o *IssueStopStopWatchParams) SetRepo(repo string)
SetRepo adds the repo to the issue stop stop watch params
func (*IssueStopStopWatchParams) SetTimeout ¶
func (o *IssueStopStopWatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue stop stop watch params
func (*IssueStopStopWatchParams) WithContext ¶
func (o *IssueStopStopWatchParams) WithContext(ctx context.Context) *IssueStopStopWatchParams
WithContext adds the context to the issue stop stop watch params
func (*IssueStopStopWatchParams) WithDefaults ¶
func (o *IssueStopStopWatchParams) WithDefaults() *IssueStopStopWatchParams
WithDefaults hydrates default values in the issue stop stop watch params (not the query body).
All values with no default are reset to their zero value.
func (*IssueStopStopWatchParams) WithHTTPClient ¶
func (o *IssueStopStopWatchParams) WithHTTPClient(client *http.Client) *IssueStopStopWatchParams
WithHTTPClient adds the HTTPClient to the issue stop stop watch params
func (*IssueStopStopWatchParams) WithIndex ¶
func (o *IssueStopStopWatchParams) WithIndex(index int64) *IssueStopStopWatchParams
WithIndex adds the index to the issue stop stop watch params
func (*IssueStopStopWatchParams) WithOwner ¶
func (o *IssueStopStopWatchParams) WithOwner(owner string) *IssueStopStopWatchParams
WithOwner adds the owner to the issue stop stop watch params
func (*IssueStopStopWatchParams) WithRepo ¶
func (o *IssueStopStopWatchParams) WithRepo(repo string) *IssueStopStopWatchParams
WithRepo adds the repo to the issue stop stop watch params
func (*IssueStopStopWatchParams) WithTimeout ¶
func (o *IssueStopStopWatchParams) WithTimeout(timeout time.Duration) *IssueStopStopWatchParams
WithTimeout adds the timeout to the issue stop stop watch params
func (*IssueStopStopWatchParams) WriteToRequest ¶
func (o *IssueStopStopWatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueStopStopWatchReader ¶
type IssueStopStopWatchReader struct {
// contains filtered or unexported fields
}
IssueStopStopWatchReader is a Reader for the IssueStopStopWatch structure.
func (*IssueStopStopWatchReader) ReadResponse ¶
func (o *IssueStopStopWatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueSubscriptionsNotFound ¶
type IssueSubscriptionsNotFound struct { }
IssueSubscriptionsNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueSubscriptionsNotFound ¶
func NewIssueSubscriptionsNotFound() *IssueSubscriptionsNotFound
NewIssueSubscriptionsNotFound creates a IssueSubscriptionsNotFound with default headers values
func (*IssueSubscriptionsNotFound) Code ¶
func (o *IssueSubscriptionsNotFound) Code() int
Code gets the status code for the issue subscriptions not found response
func (*IssueSubscriptionsNotFound) Error ¶
func (o *IssueSubscriptionsNotFound) Error() string
func (*IssueSubscriptionsNotFound) IsClientError ¶
func (o *IssueSubscriptionsNotFound) IsClientError() bool
IsClientError returns true when this issue subscriptions not found response has a 4xx status code
func (*IssueSubscriptionsNotFound) IsCode ¶
func (o *IssueSubscriptionsNotFound) IsCode(code int) bool
IsCode returns true when this issue subscriptions not found response a status code equal to that given
func (*IssueSubscriptionsNotFound) IsRedirect ¶
func (o *IssueSubscriptionsNotFound) IsRedirect() bool
IsRedirect returns true when this issue subscriptions not found response has a 3xx status code
func (*IssueSubscriptionsNotFound) IsServerError ¶
func (o *IssueSubscriptionsNotFound) IsServerError() bool
IsServerError returns true when this issue subscriptions not found response has a 5xx status code
func (*IssueSubscriptionsNotFound) IsSuccess ¶
func (o *IssueSubscriptionsNotFound) IsSuccess() bool
IsSuccess returns true when this issue subscriptions not found response has a 2xx status code
func (*IssueSubscriptionsNotFound) String ¶
func (o *IssueSubscriptionsNotFound) String() string
type IssueSubscriptionsOK ¶
IssueSubscriptionsOK describes a response with status code 200, with default header values.
UserList
func NewIssueSubscriptionsOK ¶
func NewIssueSubscriptionsOK() *IssueSubscriptionsOK
NewIssueSubscriptionsOK creates a IssueSubscriptionsOK with default headers values
func (*IssueSubscriptionsOK) Code ¶
func (o *IssueSubscriptionsOK) Code() int
Code gets the status code for the issue subscriptions o k response
func (*IssueSubscriptionsOK) Error ¶
func (o *IssueSubscriptionsOK) Error() string
func (*IssueSubscriptionsOK) GetPayload ¶
func (o *IssueSubscriptionsOK) GetPayload() []*models.User
func (*IssueSubscriptionsOK) IsClientError ¶
func (o *IssueSubscriptionsOK) IsClientError() bool
IsClientError returns true when this issue subscriptions o k response has a 4xx status code
func (*IssueSubscriptionsOK) IsCode ¶
func (o *IssueSubscriptionsOK) IsCode(code int) bool
IsCode returns true when this issue subscriptions o k response a status code equal to that given
func (*IssueSubscriptionsOK) IsRedirect ¶
func (o *IssueSubscriptionsOK) IsRedirect() bool
IsRedirect returns true when this issue subscriptions o k response has a 3xx status code
func (*IssueSubscriptionsOK) IsServerError ¶
func (o *IssueSubscriptionsOK) IsServerError() bool
IsServerError returns true when this issue subscriptions o k response has a 5xx status code
func (*IssueSubscriptionsOK) IsSuccess ¶
func (o *IssueSubscriptionsOK) IsSuccess() bool
IsSuccess returns true when this issue subscriptions o k response has a 2xx status code
func (*IssueSubscriptionsOK) String ¶
func (o *IssueSubscriptionsOK) String() string
type IssueSubscriptionsParams ¶
type IssueSubscriptionsParams struct { /* Index. index of the issue Format: int64 */ Index int64 /* Limit. page size of results */ Limit *int64 /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueSubscriptionsParams contains all the parameters to send to the API endpoint
for the issue subscriptions operation. Typically these are written to a http.Request.
func NewIssueSubscriptionsParams ¶
func NewIssueSubscriptionsParams() *IssueSubscriptionsParams
NewIssueSubscriptionsParams creates a new IssueSubscriptionsParams 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 NewIssueSubscriptionsParamsWithContext ¶
func NewIssueSubscriptionsParamsWithContext(ctx context.Context) *IssueSubscriptionsParams
NewIssueSubscriptionsParamsWithContext creates a new IssueSubscriptionsParams object with the ability to set a context for a request.
func NewIssueSubscriptionsParamsWithHTTPClient ¶
func NewIssueSubscriptionsParamsWithHTTPClient(client *http.Client) *IssueSubscriptionsParams
NewIssueSubscriptionsParamsWithHTTPClient creates a new IssueSubscriptionsParams object with the ability to set a custom HTTPClient for a request.
func NewIssueSubscriptionsParamsWithTimeout ¶
func NewIssueSubscriptionsParamsWithTimeout(timeout time.Duration) *IssueSubscriptionsParams
NewIssueSubscriptionsParamsWithTimeout creates a new IssueSubscriptionsParams object with the ability to set a timeout on a request.
func (*IssueSubscriptionsParams) SetContext ¶
func (o *IssueSubscriptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the issue subscriptions params
func (*IssueSubscriptionsParams) SetDefaults ¶
func (o *IssueSubscriptionsParams) SetDefaults()
SetDefaults hydrates default values in the issue subscriptions params (not the query body).
All values with no default are reset to their zero value.
func (*IssueSubscriptionsParams) SetHTTPClient ¶
func (o *IssueSubscriptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue subscriptions params
func (*IssueSubscriptionsParams) SetIndex ¶
func (o *IssueSubscriptionsParams) SetIndex(index int64)
SetIndex adds the index to the issue subscriptions params
func (*IssueSubscriptionsParams) SetLimit ¶
func (o *IssueSubscriptionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue subscriptions params
func (*IssueSubscriptionsParams) SetOwner ¶
func (o *IssueSubscriptionsParams) SetOwner(owner string)
SetOwner adds the owner to the issue subscriptions params
func (*IssueSubscriptionsParams) SetPage ¶
func (o *IssueSubscriptionsParams) SetPage(page *int64)
SetPage adds the page to the issue subscriptions params
func (*IssueSubscriptionsParams) SetRepo ¶
func (o *IssueSubscriptionsParams) SetRepo(repo string)
SetRepo adds the repo to the issue subscriptions params
func (*IssueSubscriptionsParams) SetTimeout ¶
func (o *IssueSubscriptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue subscriptions params
func (*IssueSubscriptionsParams) WithContext ¶
func (o *IssueSubscriptionsParams) WithContext(ctx context.Context) *IssueSubscriptionsParams
WithContext adds the context to the issue subscriptions params
func (*IssueSubscriptionsParams) WithDefaults ¶
func (o *IssueSubscriptionsParams) WithDefaults() *IssueSubscriptionsParams
WithDefaults hydrates default values in the issue subscriptions params (not the query body).
All values with no default are reset to their zero value.
func (*IssueSubscriptionsParams) WithHTTPClient ¶
func (o *IssueSubscriptionsParams) WithHTTPClient(client *http.Client) *IssueSubscriptionsParams
WithHTTPClient adds the HTTPClient to the issue subscriptions params
func (*IssueSubscriptionsParams) WithIndex ¶
func (o *IssueSubscriptionsParams) WithIndex(index int64) *IssueSubscriptionsParams
WithIndex adds the index to the issue subscriptions params
func (*IssueSubscriptionsParams) WithLimit ¶
func (o *IssueSubscriptionsParams) WithLimit(limit *int64) *IssueSubscriptionsParams
WithLimit adds the limit to the issue subscriptions params
func (*IssueSubscriptionsParams) WithOwner ¶
func (o *IssueSubscriptionsParams) WithOwner(owner string) *IssueSubscriptionsParams
WithOwner adds the owner to the issue subscriptions params
func (*IssueSubscriptionsParams) WithPage ¶
func (o *IssueSubscriptionsParams) WithPage(page *int64) *IssueSubscriptionsParams
WithPage adds the page to the issue subscriptions params
func (*IssueSubscriptionsParams) WithRepo ¶
func (o *IssueSubscriptionsParams) WithRepo(repo string) *IssueSubscriptionsParams
WithRepo adds the repo to the issue subscriptions params
func (*IssueSubscriptionsParams) WithTimeout ¶
func (o *IssueSubscriptionsParams) WithTimeout(timeout time.Duration) *IssueSubscriptionsParams
WithTimeout adds the timeout to the issue subscriptions params
func (*IssueSubscriptionsParams) WriteToRequest ¶
func (o *IssueSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueSubscriptionsReader ¶
type IssueSubscriptionsReader struct {
// contains filtered or unexported fields
}
IssueSubscriptionsReader is a Reader for the IssueSubscriptions structure.
func (*IssueSubscriptionsReader) ReadResponse ¶
func (o *IssueSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IssueTrackedTimesNotFound ¶
type IssueTrackedTimesNotFound struct { }
IssueTrackedTimesNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewIssueTrackedTimesNotFound ¶
func NewIssueTrackedTimesNotFound() *IssueTrackedTimesNotFound
NewIssueTrackedTimesNotFound creates a IssueTrackedTimesNotFound with default headers values
func (*IssueTrackedTimesNotFound) Code ¶
func (o *IssueTrackedTimesNotFound) Code() int
Code gets the status code for the issue tracked times not found response
func (*IssueTrackedTimesNotFound) Error ¶
func (o *IssueTrackedTimesNotFound) Error() string
func (*IssueTrackedTimesNotFound) IsClientError ¶
func (o *IssueTrackedTimesNotFound) IsClientError() bool
IsClientError returns true when this issue tracked times not found response has a 4xx status code
func (*IssueTrackedTimesNotFound) IsCode ¶
func (o *IssueTrackedTimesNotFound) IsCode(code int) bool
IsCode returns true when this issue tracked times not found response a status code equal to that given
func (*IssueTrackedTimesNotFound) IsRedirect ¶
func (o *IssueTrackedTimesNotFound) IsRedirect() bool
IsRedirect returns true when this issue tracked times not found response has a 3xx status code
func (*IssueTrackedTimesNotFound) IsServerError ¶
func (o *IssueTrackedTimesNotFound) IsServerError() bool
IsServerError returns true when this issue tracked times not found response has a 5xx status code
func (*IssueTrackedTimesNotFound) IsSuccess ¶
func (o *IssueTrackedTimesNotFound) IsSuccess() bool
IsSuccess returns true when this issue tracked times not found response has a 2xx status code
func (*IssueTrackedTimesNotFound) String ¶
func (o *IssueTrackedTimesNotFound) String() string
type IssueTrackedTimesOK ¶
type IssueTrackedTimesOK struct {
Payload []*models.TrackedTime
}
IssueTrackedTimesOK describes a response with status code 200, with default header values.
TrackedTimeList
func NewIssueTrackedTimesOK ¶
func NewIssueTrackedTimesOK() *IssueTrackedTimesOK
NewIssueTrackedTimesOK creates a IssueTrackedTimesOK with default headers values
func (*IssueTrackedTimesOK) Code ¶
func (o *IssueTrackedTimesOK) Code() int
Code gets the status code for the issue tracked times o k response
func (*IssueTrackedTimesOK) Error ¶
func (o *IssueTrackedTimesOK) Error() string
func (*IssueTrackedTimesOK) GetPayload ¶
func (o *IssueTrackedTimesOK) GetPayload() []*models.TrackedTime
func (*IssueTrackedTimesOK) IsClientError ¶
func (o *IssueTrackedTimesOK) IsClientError() bool
IsClientError returns true when this issue tracked times o k response has a 4xx status code
func (*IssueTrackedTimesOK) IsCode ¶
func (o *IssueTrackedTimesOK) IsCode(code int) bool
IsCode returns true when this issue tracked times o k response a status code equal to that given
func (*IssueTrackedTimesOK) IsRedirect ¶
func (o *IssueTrackedTimesOK) IsRedirect() bool
IsRedirect returns true when this issue tracked times o k response has a 3xx status code
func (*IssueTrackedTimesOK) IsServerError ¶
func (o *IssueTrackedTimesOK) IsServerError() bool
IsServerError returns true when this issue tracked times o k response has a 5xx status code
func (*IssueTrackedTimesOK) IsSuccess ¶
func (o *IssueTrackedTimesOK) IsSuccess() bool
IsSuccess returns true when this issue tracked times o k response has a 2xx status code
func (*IssueTrackedTimesOK) String ¶
func (o *IssueTrackedTimesOK) String() string
type IssueTrackedTimesParams ¶
type IssueTrackedTimesParams struct { /* Before. Only show times updated before the given time. This is a timestamp in RFC 3339 format Format: date-time */ Before *strfmt.DateTime /* Index. index of the issue Format: int64 */ Index int64 /* Limit. page size of results */ Limit *int64 /* Owner. owner of the repo */ Owner string /* Page. page number of results to return (1-based) */ Page *int64 /* Repo. name of the repo */ Repo string /* Since. Only show times updated after the given time. This is a timestamp in RFC 3339 format Format: date-time */ Since *strfmt.DateTime /* User. optional filter by user (available for issue managers) */ User *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IssueTrackedTimesParams contains all the parameters to send to the API endpoint
for the issue tracked times operation. Typically these are written to a http.Request.
func NewIssueTrackedTimesParams ¶
func NewIssueTrackedTimesParams() *IssueTrackedTimesParams
NewIssueTrackedTimesParams creates a new IssueTrackedTimesParams 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 NewIssueTrackedTimesParamsWithContext ¶
func NewIssueTrackedTimesParamsWithContext(ctx context.Context) *IssueTrackedTimesParams
NewIssueTrackedTimesParamsWithContext creates a new IssueTrackedTimesParams object with the ability to set a context for a request.
func NewIssueTrackedTimesParamsWithHTTPClient ¶
func NewIssueTrackedTimesParamsWithHTTPClient(client *http.Client) *IssueTrackedTimesParams
NewIssueTrackedTimesParamsWithHTTPClient creates a new IssueTrackedTimesParams object with the ability to set a custom HTTPClient for a request.
func NewIssueTrackedTimesParamsWithTimeout ¶
func NewIssueTrackedTimesParamsWithTimeout(timeout time.Duration) *IssueTrackedTimesParams
NewIssueTrackedTimesParamsWithTimeout creates a new IssueTrackedTimesParams object with the ability to set a timeout on a request.
func (*IssueTrackedTimesParams) SetBefore ¶
func (o *IssueTrackedTimesParams) SetBefore(before *strfmt.DateTime)
SetBefore adds the before to the issue tracked times params
func (*IssueTrackedTimesParams) SetContext ¶
func (o *IssueTrackedTimesParams) SetContext(ctx context.Context)
SetContext adds the context to the issue tracked times params
func (*IssueTrackedTimesParams) SetDefaults ¶
func (o *IssueTrackedTimesParams) SetDefaults()
SetDefaults hydrates default values in the issue tracked times params (not the query body).
All values with no default are reset to their zero value.
func (*IssueTrackedTimesParams) SetHTTPClient ¶
func (o *IssueTrackedTimesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the issue tracked times params
func (*IssueTrackedTimesParams) SetIndex ¶
func (o *IssueTrackedTimesParams) SetIndex(index int64)
SetIndex adds the index to the issue tracked times params
func (*IssueTrackedTimesParams) SetLimit ¶
func (o *IssueTrackedTimesParams) SetLimit(limit *int64)
SetLimit adds the limit to the issue tracked times params
func (*IssueTrackedTimesParams) SetOwner ¶
func (o *IssueTrackedTimesParams) SetOwner(owner string)
SetOwner adds the owner to the issue tracked times params
func (*IssueTrackedTimesParams) SetPage ¶
func (o *IssueTrackedTimesParams) SetPage(page *int64)
SetPage adds the page to the issue tracked times params
func (*IssueTrackedTimesParams) SetRepo ¶
func (o *IssueTrackedTimesParams) SetRepo(repo string)
SetRepo adds the repo to the issue tracked times params
func (*IssueTrackedTimesParams) SetSince ¶
func (o *IssueTrackedTimesParams) SetSince(since *strfmt.DateTime)
SetSince adds the since to the issue tracked times params
func (*IssueTrackedTimesParams) SetTimeout ¶
func (o *IssueTrackedTimesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the issue tracked times params
func (*IssueTrackedTimesParams) SetUser ¶
func (o *IssueTrackedTimesParams) SetUser(user *string)
SetUser adds the user to the issue tracked times params
func (*IssueTrackedTimesParams) WithBefore ¶
func (o *IssueTrackedTimesParams) WithBefore(before *strfmt.DateTime) *IssueTrackedTimesParams
WithBefore adds the before to the issue tracked times params
func (*IssueTrackedTimesParams) WithContext ¶
func (o *IssueTrackedTimesParams) WithContext(ctx context.Context) *IssueTrackedTimesParams
WithContext adds the context to the issue tracked times params
func (*IssueTrackedTimesParams) WithDefaults ¶
func (o *IssueTrackedTimesParams) WithDefaults() *IssueTrackedTimesParams
WithDefaults hydrates default values in the issue tracked times params (not the query body).
All values with no default are reset to their zero value.
func (*IssueTrackedTimesParams) WithHTTPClient ¶
func (o *IssueTrackedTimesParams) WithHTTPClient(client *http.Client) *IssueTrackedTimesParams
WithHTTPClient adds the HTTPClient to the issue tracked times params
func (*IssueTrackedTimesParams) WithIndex ¶
func (o *IssueTrackedTimesParams) WithIndex(index int64) *IssueTrackedTimesParams
WithIndex adds the index to the issue tracked times params
func (*IssueTrackedTimesParams) WithLimit ¶
func (o *IssueTrackedTimesParams) WithLimit(limit *int64) *IssueTrackedTimesParams
WithLimit adds the limit to the issue tracked times params
func (*IssueTrackedTimesParams) WithOwner ¶
func (o *IssueTrackedTimesParams) WithOwner(owner string) *IssueTrackedTimesParams
WithOwner adds the owner to the issue tracked times params
func (*IssueTrackedTimesParams) WithPage ¶
func (o *IssueTrackedTimesParams) WithPage(page *int64) *IssueTrackedTimesParams
WithPage adds the page to the issue tracked times params
func (*IssueTrackedTimesParams) WithRepo ¶
func (o *IssueTrackedTimesParams) WithRepo(repo string) *IssueTrackedTimesParams
WithRepo adds the repo to the issue tracked times params
func (*IssueTrackedTimesParams) WithSince ¶
func (o *IssueTrackedTimesParams) WithSince(since *strfmt.DateTime) *IssueTrackedTimesParams
WithSince adds the since to the issue tracked times params
func (*IssueTrackedTimesParams) WithTimeout ¶
func (o *IssueTrackedTimesParams) WithTimeout(timeout time.Duration) *IssueTrackedTimesParams
WithTimeout adds the timeout to the issue tracked times params
func (*IssueTrackedTimesParams) WithUser ¶
func (o *IssueTrackedTimesParams) WithUser(user *string) *IssueTrackedTimesParams
WithUser adds the user to the issue tracked times params
func (*IssueTrackedTimesParams) WriteToRequest ¶
func (o *IssueTrackedTimesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IssueTrackedTimesReader ¶
type IssueTrackedTimesReader struct {
// contains filtered or unexported fields
}
IssueTrackedTimesReader is a Reader for the IssueTrackedTimes structure.
func (*IssueTrackedTimesReader) ReadResponse ¶
func (o *IssueTrackedTimesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MoveIssuePinForbidden ¶
MoveIssuePinForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewMoveIssuePinForbidden ¶
func NewMoveIssuePinForbidden() *MoveIssuePinForbidden
NewMoveIssuePinForbidden creates a MoveIssuePinForbidden with default headers values
func (*MoveIssuePinForbidden) Code ¶
func (o *MoveIssuePinForbidden) Code() int
Code gets the status code for the move issue pin forbidden response
func (*MoveIssuePinForbidden) Error ¶
func (o *MoveIssuePinForbidden) Error() string
func (*MoveIssuePinForbidden) IsClientError ¶
func (o *MoveIssuePinForbidden) IsClientError() bool
IsClientError returns true when this move issue pin forbidden response has a 4xx status code
func (*MoveIssuePinForbidden) IsCode ¶
func (o *MoveIssuePinForbidden) IsCode(code int) bool
IsCode returns true when this move issue pin forbidden response a status code equal to that given
func (*MoveIssuePinForbidden) IsRedirect ¶
func (o *MoveIssuePinForbidden) IsRedirect() bool
IsRedirect returns true when this move issue pin forbidden response has a 3xx status code
func (*MoveIssuePinForbidden) IsServerError ¶
func (o *MoveIssuePinForbidden) IsServerError() bool
IsServerError returns true when this move issue pin forbidden response has a 5xx status code
func (*MoveIssuePinForbidden) IsSuccess ¶
func (o *MoveIssuePinForbidden) IsSuccess() bool
IsSuccess returns true when this move issue pin forbidden response has a 2xx status code
func (*MoveIssuePinForbidden) String ¶
func (o *MoveIssuePinForbidden) String() string
type MoveIssuePinNoContent ¶
type MoveIssuePinNoContent struct { }
MoveIssuePinNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewMoveIssuePinNoContent ¶
func NewMoveIssuePinNoContent() *MoveIssuePinNoContent
NewMoveIssuePinNoContent creates a MoveIssuePinNoContent with default headers values
func (*MoveIssuePinNoContent) Code ¶
func (o *MoveIssuePinNoContent) Code() int
Code gets the status code for the move issue pin no content response
func (*MoveIssuePinNoContent) Error ¶
func (o *MoveIssuePinNoContent) Error() string
func (*MoveIssuePinNoContent) IsClientError ¶
func (o *MoveIssuePinNoContent) IsClientError() bool
IsClientError returns true when this move issue pin no content response has a 4xx status code
func (*MoveIssuePinNoContent) IsCode ¶
func (o *MoveIssuePinNoContent) IsCode(code int) bool
IsCode returns true when this move issue pin no content response a status code equal to that given
func (*MoveIssuePinNoContent) IsRedirect ¶
func (o *MoveIssuePinNoContent) IsRedirect() bool
IsRedirect returns true when this move issue pin no content response has a 3xx status code
func (*MoveIssuePinNoContent) IsServerError ¶
func (o *MoveIssuePinNoContent) IsServerError() bool
IsServerError returns true when this move issue pin no content response has a 5xx status code
func (*MoveIssuePinNoContent) IsSuccess ¶
func (o *MoveIssuePinNoContent) IsSuccess() bool
IsSuccess returns true when this move issue pin no content response has a 2xx status code
func (*MoveIssuePinNoContent) String ¶
func (o *MoveIssuePinNoContent) String() string
type MoveIssuePinNotFound ¶
type MoveIssuePinNotFound struct { }
MoveIssuePinNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewMoveIssuePinNotFound ¶
func NewMoveIssuePinNotFound() *MoveIssuePinNotFound
NewMoveIssuePinNotFound creates a MoveIssuePinNotFound with default headers values
func (*MoveIssuePinNotFound) Code ¶
func (o *MoveIssuePinNotFound) Code() int
Code gets the status code for the move issue pin not found response
func (*MoveIssuePinNotFound) Error ¶
func (o *MoveIssuePinNotFound) Error() string
func (*MoveIssuePinNotFound) IsClientError ¶
func (o *MoveIssuePinNotFound) IsClientError() bool
IsClientError returns true when this move issue pin not found response has a 4xx status code
func (*MoveIssuePinNotFound) IsCode ¶
func (o *MoveIssuePinNotFound) IsCode(code int) bool
IsCode returns true when this move issue pin not found response a status code equal to that given
func (*MoveIssuePinNotFound) IsRedirect ¶
func (o *MoveIssuePinNotFound) IsRedirect() bool
IsRedirect returns true when this move issue pin not found response has a 3xx status code
func (*MoveIssuePinNotFound) IsServerError ¶
func (o *MoveIssuePinNotFound) IsServerError() bool
IsServerError returns true when this move issue pin not found response has a 5xx status code
func (*MoveIssuePinNotFound) IsSuccess ¶
func (o *MoveIssuePinNotFound) IsSuccess() bool
IsSuccess returns true when this move issue pin not found response has a 2xx status code
func (*MoveIssuePinNotFound) String ¶
func (o *MoveIssuePinNotFound) String() string
type MoveIssuePinParams ¶
type MoveIssuePinParams struct { /* Index. index of issue Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Position. the new position Format: int64 */ Position int64 /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MoveIssuePinParams contains all the parameters to send to the API endpoint
for the move issue pin operation. Typically these are written to a http.Request.
func NewMoveIssuePinParams ¶
func NewMoveIssuePinParams() *MoveIssuePinParams
NewMoveIssuePinParams creates a new MoveIssuePinParams 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 NewMoveIssuePinParamsWithContext ¶
func NewMoveIssuePinParamsWithContext(ctx context.Context) *MoveIssuePinParams
NewMoveIssuePinParamsWithContext creates a new MoveIssuePinParams object with the ability to set a context for a request.
func NewMoveIssuePinParamsWithHTTPClient ¶
func NewMoveIssuePinParamsWithHTTPClient(client *http.Client) *MoveIssuePinParams
NewMoveIssuePinParamsWithHTTPClient creates a new MoveIssuePinParams object with the ability to set a custom HTTPClient for a request.
func NewMoveIssuePinParamsWithTimeout ¶
func NewMoveIssuePinParamsWithTimeout(timeout time.Duration) *MoveIssuePinParams
NewMoveIssuePinParamsWithTimeout creates a new MoveIssuePinParams object with the ability to set a timeout on a request.
func (*MoveIssuePinParams) SetContext ¶
func (o *MoveIssuePinParams) SetContext(ctx context.Context)
SetContext adds the context to the move issue pin params
func (*MoveIssuePinParams) SetDefaults ¶
func (o *MoveIssuePinParams) SetDefaults()
SetDefaults hydrates default values in the move issue pin params (not the query body).
All values with no default are reset to their zero value.
func (*MoveIssuePinParams) SetHTTPClient ¶
func (o *MoveIssuePinParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the move issue pin params
func (*MoveIssuePinParams) SetIndex ¶
func (o *MoveIssuePinParams) SetIndex(index int64)
SetIndex adds the index to the move issue pin params
func (*MoveIssuePinParams) SetOwner ¶
func (o *MoveIssuePinParams) SetOwner(owner string)
SetOwner adds the owner to the move issue pin params
func (*MoveIssuePinParams) SetPosition ¶
func (o *MoveIssuePinParams) SetPosition(position int64)
SetPosition adds the position to the move issue pin params
func (*MoveIssuePinParams) SetRepo ¶
func (o *MoveIssuePinParams) SetRepo(repo string)
SetRepo adds the repo to the move issue pin params
func (*MoveIssuePinParams) SetTimeout ¶
func (o *MoveIssuePinParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the move issue pin params
func (*MoveIssuePinParams) WithContext ¶
func (o *MoveIssuePinParams) WithContext(ctx context.Context) *MoveIssuePinParams
WithContext adds the context to the move issue pin params
func (*MoveIssuePinParams) WithDefaults ¶
func (o *MoveIssuePinParams) WithDefaults() *MoveIssuePinParams
WithDefaults hydrates default values in the move issue pin params (not the query body).
All values with no default are reset to their zero value.
func (*MoveIssuePinParams) WithHTTPClient ¶
func (o *MoveIssuePinParams) WithHTTPClient(client *http.Client) *MoveIssuePinParams
WithHTTPClient adds the HTTPClient to the move issue pin params
func (*MoveIssuePinParams) WithIndex ¶
func (o *MoveIssuePinParams) WithIndex(index int64) *MoveIssuePinParams
WithIndex adds the index to the move issue pin params
func (*MoveIssuePinParams) WithOwner ¶
func (o *MoveIssuePinParams) WithOwner(owner string) *MoveIssuePinParams
WithOwner adds the owner to the move issue pin params
func (*MoveIssuePinParams) WithPosition ¶
func (o *MoveIssuePinParams) WithPosition(position int64) *MoveIssuePinParams
WithPosition adds the position to the move issue pin params
func (*MoveIssuePinParams) WithRepo ¶
func (o *MoveIssuePinParams) WithRepo(repo string) *MoveIssuePinParams
WithRepo adds the repo to the move issue pin params
func (*MoveIssuePinParams) WithTimeout ¶
func (o *MoveIssuePinParams) WithTimeout(timeout time.Duration) *MoveIssuePinParams
WithTimeout adds the timeout to the move issue pin params
func (*MoveIssuePinParams) WriteToRequest ¶
func (o *MoveIssuePinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MoveIssuePinReader ¶
type MoveIssuePinReader struct {
// contains filtered or unexported fields
}
MoveIssuePinReader is a Reader for the MoveIssuePin structure.
func (*MoveIssuePinReader) ReadResponse ¶
func (o *MoveIssuePinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PinIssueForbidden ¶
PinIssueForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewPinIssueForbidden ¶
func NewPinIssueForbidden() *PinIssueForbidden
NewPinIssueForbidden creates a PinIssueForbidden with default headers values
func (*PinIssueForbidden) Code ¶
func (o *PinIssueForbidden) Code() int
Code gets the status code for the pin issue forbidden response
func (*PinIssueForbidden) Error ¶
func (o *PinIssueForbidden) Error() string
func (*PinIssueForbidden) IsClientError ¶
func (o *PinIssueForbidden) IsClientError() bool
IsClientError returns true when this pin issue forbidden response has a 4xx status code
func (*PinIssueForbidden) IsCode ¶
func (o *PinIssueForbidden) IsCode(code int) bool
IsCode returns true when this pin issue forbidden response a status code equal to that given
func (*PinIssueForbidden) IsRedirect ¶
func (o *PinIssueForbidden) IsRedirect() bool
IsRedirect returns true when this pin issue forbidden response has a 3xx status code
func (*PinIssueForbidden) IsServerError ¶
func (o *PinIssueForbidden) IsServerError() bool
IsServerError returns true when this pin issue forbidden response has a 5xx status code
func (*PinIssueForbidden) IsSuccess ¶
func (o *PinIssueForbidden) IsSuccess() bool
IsSuccess returns true when this pin issue forbidden response has a 2xx status code
func (*PinIssueForbidden) String ¶
func (o *PinIssueForbidden) String() string
type PinIssueNoContent ¶
type PinIssueNoContent struct { }
PinIssueNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewPinIssueNoContent ¶
func NewPinIssueNoContent() *PinIssueNoContent
NewPinIssueNoContent creates a PinIssueNoContent with default headers values
func (*PinIssueNoContent) Code ¶
func (o *PinIssueNoContent) Code() int
Code gets the status code for the pin issue no content response
func (*PinIssueNoContent) Error ¶
func (o *PinIssueNoContent) Error() string
func (*PinIssueNoContent) IsClientError ¶
func (o *PinIssueNoContent) IsClientError() bool
IsClientError returns true when this pin issue no content response has a 4xx status code
func (*PinIssueNoContent) IsCode ¶
func (o *PinIssueNoContent) IsCode(code int) bool
IsCode returns true when this pin issue no content response a status code equal to that given
func (*PinIssueNoContent) IsRedirect ¶
func (o *PinIssueNoContent) IsRedirect() bool
IsRedirect returns true when this pin issue no content response has a 3xx status code
func (*PinIssueNoContent) IsServerError ¶
func (o *PinIssueNoContent) IsServerError() bool
IsServerError returns true when this pin issue no content response has a 5xx status code
func (*PinIssueNoContent) IsSuccess ¶
func (o *PinIssueNoContent) IsSuccess() bool
IsSuccess returns true when this pin issue no content response has a 2xx status code
func (*PinIssueNoContent) String ¶
func (o *PinIssueNoContent) String() string
type PinIssueNotFound ¶
type PinIssueNotFound struct { }
PinIssueNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewPinIssueNotFound ¶
func NewPinIssueNotFound() *PinIssueNotFound
NewPinIssueNotFound creates a PinIssueNotFound with default headers values
func (*PinIssueNotFound) Code ¶
func (o *PinIssueNotFound) Code() int
Code gets the status code for the pin issue not found response
func (*PinIssueNotFound) Error ¶
func (o *PinIssueNotFound) Error() string
func (*PinIssueNotFound) IsClientError ¶
func (o *PinIssueNotFound) IsClientError() bool
IsClientError returns true when this pin issue not found response has a 4xx status code
func (*PinIssueNotFound) IsCode ¶
func (o *PinIssueNotFound) IsCode(code int) bool
IsCode returns true when this pin issue not found response a status code equal to that given
func (*PinIssueNotFound) IsRedirect ¶
func (o *PinIssueNotFound) IsRedirect() bool
IsRedirect returns true when this pin issue not found response has a 3xx status code
func (*PinIssueNotFound) IsServerError ¶
func (o *PinIssueNotFound) IsServerError() bool
IsServerError returns true when this pin issue not found response has a 5xx status code
func (*PinIssueNotFound) IsSuccess ¶
func (o *PinIssueNotFound) IsSuccess() bool
IsSuccess returns true when this pin issue not found response has a 2xx status code
func (*PinIssueNotFound) String ¶
func (o *PinIssueNotFound) String() string
type PinIssueParams ¶
type PinIssueParams struct { /* Index. index of issue to pin Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PinIssueParams contains all the parameters to send to the API endpoint
for the pin issue operation. Typically these are written to a http.Request.
func NewPinIssueParams ¶
func NewPinIssueParams() *PinIssueParams
NewPinIssueParams creates a new PinIssueParams 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 NewPinIssueParamsWithContext ¶
func NewPinIssueParamsWithContext(ctx context.Context) *PinIssueParams
NewPinIssueParamsWithContext creates a new PinIssueParams object with the ability to set a context for a request.
func NewPinIssueParamsWithHTTPClient ¶
func NewPinIssueParamsWithHTTPClient(client *http.Client) *PinIssueParams
NewPinIssueParamsWithHTTPClient creates a new PinIssueParams object with the ability to set a custom HTTPClient for a request.
func NewPinIssueParamsWithTimeout ¶
func NewPinIssueParamsWithTimeout(timeout time.Duration) *PinIssueParams
NewPinIssueParamsWithTimeout creates a new PinIssueParams object with the ability to set a timeout on a request.
func (*PinIssueParams) SetContext ¶
func (o *PinIssueParams) SetContext(ctx context.Context)
SetContext adds the context to the pin issue params
func (*PinIssueParams) SetDefaults ¶
func (o *PinIssueParams) SetDefaults()
SetDefaults hydrates default values in the pin issue params (not the query body).
All values with no default are reset to their zero value.
func (*PinIssueParams) SetHTTPClient ¶
func (o *PinIssueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pin issue params
func (*PinIssueParams) SetIndex ¶
func (o *PinIssueParams) SetIndex(index int64)
SetIndex adds the index to the pin issue params
func (*PinIssueParams) SetOwner ¶
func (o *PinIssueParams) SetOwner(owner string)
SetOwner adds the owner to the pin issue params
func (*PinIssueParams) SetRepo ¶
func (o *PinIssueParams) SetRepo(repo string)
SetRepo adds the repo to the pin issue params
func (*PinIssueParams) SetTimeout ¶
func (o *PinIssueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pin issue params
func (*PinIssueParams) WithContext ¶
func (o *PinIssueParams) WithContext(ctx context.Context) *PinIssueParams
WithContext adds the context to the pin issue params
func (*PinIssueParams) WithDefaults ¶
func (o *PinIssueParams) WithDefaults() *PinIssueParams
WithDefaults hydrates default values in the pin issue params (not the query body).
All values with no default are reset to their zero value.
func (*PinIssueParams) WithHTTPClient ¶
func (o *PinIssueParams) WithHTTPClient(client *http.Client) *PinIssueParams
WithHTTPClient adds the HTTPClient to the pin issue params
func (*PinIssueParams) WithIndex ¶
func (o *PinIssueParams) WithIndex(index int64) *PinIssueParams
WithIndex adds the index to the pin issue params
func (*PinIssueParams) WithOwner ¶
func (o *PinIssueParams) WithOwner(owner string) *PinIssueParams
WithOwner adds the owner to the pin issue params
func (*PinIssueParams) WithRepo ¶
func (o *PinIssueParams) WithRepo(repo string) *PinIssueParams
WithRepo adds the repo to the pin issue params
func (*PinIssueParams) WithTimeout ¶
func (o *PinIssueParams) WithTimeout(timeout time.Duration) *PinIssueParams
WithTimeout adds the timeout to the pin issue params
func (*PinIssueParams) WriteToRequest ¶
func (o *PinIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PinIssueReader ¶
type PinIssueReader struct {
// contains filtered or unexported fields
}
PinIssueReader is a Reader for the PinIssue structure.
func (*PinIssueReader) ReadResponse ¶
func (o *PinIssueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnpinIssueForbidden ¶
UnpinIssueForbidden describes a response with status code 403, with default header values.
APIForbiddenError is a forbidden error response
func NewUnpinIssueForbidden ¶
func NewUnpinIssueForbidden() *UnpinIssueForbidden
NewUnpinIssueForbidden creates a UnpinIssueForbidden with default headers values
func (*UnpinIssueForbidden) Code ¶
func (o *UnpinIssueForbidden) Code() int
Code gets the status code for the unpin issue forbidden response
func (*UnpinIssueForbidden) Error ¶
func (o *UnpinIssueForbidden) Error() string
func (*UnpinIssueForbidden) IsClientError ¶
func (o *UnpinIssueForbidden) IsClientError() bool
IsClientError returns true when this unpin issue forbidden response has a 4xx status code
func (*UnpinIssueForbidden) IsCode ¶
func (o *UnpinIssueForbidden) IsCode(code int) bool
IsCode returns true when this unpin issue forbidden response a status code equal to that given
func (*UnpinIssueForbidden) IsRedirect ¶
func (o *UnpinIssueForbidden) IsRedirect() bool
IsRedirect returns true when this unpin issue forbidden response has a 3xx status code
func (*UnpinIssueForbidden) IsServerError ¶
func (o *UnpinIssueForbidden) IsServerError() bool
IsServerError returns true when this unpin issue forbidden response has a 5xx status code
func (*UnpinIssueForbidden) IsSuccess ¶
func (o *UnpinIssueForbidden) IsSuccess() bool
IsSuccess returns true when this unpin issue forbidden response has a 2xx status code
func (*UnpinIssueForbidden) String ¶
func (o *UnpinIssueForbidden) String() string
type UnpinIssueNoContent ¶
type UnpinIssueNoContent struct { }
UnpinIssueNoContent describes a response with status code 204, with default header values.
APIEmpty is an empty response
func NewUnpinIssueNoContent ¶
func NewUnpinIssueNoContent() *UnpinIssueNoContent
NewUnpinIssueNoContent creates a UnpinIssueNoContent with default headers values
func (*UnpinIssueNoContent) Code ¶
func (o *UnpinIssueNoContent) Code() int
Code gets the status code for the unpin issue no content response
func (*UnpinIssueNoContent) Error ¶
func (o *UnpinIssueNoContent) Error() string
func (*UnpinIssueNoContent) IsClientError ¶
func (o *UnpinIssueNoContent) IsClientError() bool
IsClientError returns true when this unpin issue no content response has a 4xx status code
func (*UnpinIssueNoContent) IsCode ¶
func (o *UnpinIssueNoContent) IsCode(code int) bool
IsCode returns true when this unpin issue no content response a status code equal to that given
func (*UnpinIssueNoContent) IsRedirect ¶
func (o *UnpinIssueNoContent) IsRedirect() bool
IsRedirect returns true when this unpin issue no content response has a 3xx status code
func (*UnpinIssueNoContent) IsServerError ¶
func (o *UnpinIssueNoContent) IsServerError() bool
IsServerError returns true when this unpin issue no content response has a 5xx status code
func (*UnpinIssueNoContent) IsSuccess ¶
func (o *UnpinIssueNoContent) IsSuccess() bool
IsSuccess returns true when this unpin issue no content response has a 2xx status code
func (*UnpinIssueNoContent) String ¶
func (o *UnpinIssueNoContent) String() string
type UnpinIssueNotFound ¶
type UnpinIssueNotFound struct { }
UnpinIssueNotFound describes a response with status code 404, with default header values.
APINotFound is a not found empty response
func NewUnpinIssueNotFound ¶
func NewUnpinIssueNotFound() *UnpinIssueNotFound
NewUnpinIssueNotFound creates a UnpinIssueNotFound with default headers values
func (*UnpinIssueNotFound) Code ¶
func (o *UnpinIssueNotFound) Code() int
Code gets the status code for the unpin issue not found response
func (*UnpinIssueNotFound) Error ¶
func (o *UnpinIssueNotFound) Error() string
func (*UnpinIssueNotFound) IsClientError ¶
func (o *UnpinIssueNotFound) IsClientError() bool
IsClientError returns true when this unpin issue not found response has a 4xx status code
func (*UnpinIssueNotFound) IsCode ¶
func (o *UnpinIssueNotFound) IsCode(code int) bool
IsCode returns true when this unpin issue not found response a status code equal to that given
func (*UnpinIssueNotFound) IsRedirect ¶
func (o *UnpinIssueNotFound) IsRedirect() bool
IsRedirect returns true when this unpin issue not found response has a 3xx status code
func (*UnpinIssueNotFound) IsServerError ¶
func (o *UnpinIssueNotFound) IsServerError() bool
IsServerError returns true when this unpin issue not found response has a 5xx status code
func (*UnpinIssueNotFound) IsSuccess ¶
func (o *UnpinIssueNotFound) IsSuccess() bool
IsSuccess returns true when this unpin issue not found response has a 2xx status code
func (*UnpinIssueNotFound) String ¶
func (o *UnpinIssueNotFound) String() string
type UnpinIssueParams ¶
type UnpinIssueParams struct { /* Index. index of issue to unpin Format: int64 */ Index int64 /* Owner. owner of the repo */ Owner string /* Repo. name of the repo */ Repo string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnpinIssueParams contains all the parameters to send to the API endpoint
for the unpin issue operation. Typically these are written to a http.Request.
func NewUnpinIssueParams ¶
func NewUnpinIssueParams() *UnpinIssueParams
NewUnpinIssueParams creates a new UnpinIssueParams 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 NewUnpinIssueParamsWithContext ¶
func NewUnpinIssueParamsWithContext(ctx context.Context) *UnpinIssueParams
NewUnpinIssueParamsWithContext creates a new UnpinIssueParams object with the ability to set a context for a request.
func NewUnpinIssueParamsWithHTTPClient ¶
func NewUnpinIssueParamsWithHTTPClient(client *http.Client) *UnpinIssueParams
NewUnpinIssueParamsWithHTTPClient creates a new UnpinIssueParams object with the ability to set a custom HTTPClient for a request.
func NewUnpinIssueParamsWithTimeout ¶
func NewUnpinIssueParamsWithTimeout(timeout time.Duration) *UnpinIssueParams
NewUnpinIssueParamsWithTimeout creates a new UnpinIssueParams object with the ability to set a timeout on a request.
func (*UnpinIssueParams) SetContext ¶
func (o *UnpinIssueParams) SetContext(ctx context.Context)
SetContext adds the context to the unpin issue params
func (*UnpinIssueParams) SetDefaults ¶
func (o *UnpinIssueParams) SetDefaults()
SetDefaults hydrates default values in the unpin issue params (not the query body).
All values with no default are reset to their zero value.
func (*UnpinIssueParams) SetHTTPClient ¶
func (o *UnpinIssueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unpin issue params
func (*UnpinIssueParams) SetIndex ¶
func (o *UnpinIssueParams) SetIndex(index int64)
SetIndex adds the index to the unpin issue params
func (*UnpinIssueParams) SetOwner ¶
func (o *UnpinIssueParams) SetOwner(owner string)
SetOwner adds the owner to the unpin issue params
func (*UnpinIssueParams) SetRepo ¶
func (o *UnpinIssueParams) SetRepo(repo string)
SetRepo adds the repo to the unpin issue params
func (*UnpinIssueParams) SetTimeout ¶
func (o *UnpinIssueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unpin issue params
func (*UnpinIssueParams) WithContext ¶
func (o *UnpinIssueParams) WithContext(ctx context.Context) *UnpinIssueParams
WithContext adds the context to the unpin issue params
func (*UnpinIssueParams) WithDefaults ¶
func (o *UnpinIssueParams) WithDefaults() *UnpinIssueParams
WithDefaults hydrates default values in the unpin issue params (not the query body).
All values with no default are reset to their zero value.
func (*UnpinIssueParams) WithHTTPClient ¶
func (o *UnpinIssueParams) WithHTTPClient(client *http.Client) *UnpinIssueParams
WithHTTPClient adds the HTTPClient to the unpin issue params
func (*UnpinIssueParams) WithIndex ¶
func (o *UnpinIssueParams) WithIndex(index int64) *UnpinIssueParams
WithIndex adds the index to the unpin issue params
func (*UnpinIssueParams) WithOwner ¶
func (o *UnpinIssueParams) WithOwner(owner string) *UnpinIssueParams
WithOwner adds the owner to the unpin issue params
func (*UnpinIssueParams) WithRepo ¶
func (o *UnpinIssueParams) WithRepo(repo string) *UnpinIssueParams
WithRepo adds the repo to the unpin issue params
func (*UnpinIssueParams) WithTimeout ¶
func (o *UnpinIssueParams) WithTimeout(timeout time.Duration) *UnpinIssueParams
WithTimeout adds the timeout to the unpin issue params
func (*UnpinIssueParams) WriteToRequest ¶
func (o *UnpinIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnpinIssueReader ¶
type UnpinIssueReader struct {
// contains filtered or unexported fields
}
UnpinIssueReader is a Reader for the UnpinIssue structure.
func (*UnpinIssueReader) ReadResponse ¶
func (o *UnpinIssueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- issue_add_label_parameters.go
- issue_add_label_responses.go
- issue_add_subscription_parameters.go
- issue_add_subscription_responses.go
- issue_add_time_parameters.go
- issue_add_time_responses.go
- issue_check_subscription_parameters.go
- issue_check_subscription_responses.go
- issue_clear_labels_parameters.go
- issue_clear_labels_responses.go
- issue_client.go
- issue_create_comment_parameters.go
- issue_create_comment_responses.go
- issue_create_issue_attachment_parameters.go
- issue_create_issue_attachment_responses.go
- issue_create_issue_blocking_parameters.go
- issue_create_issue_blocking_responses.go
- issue_create_issue_comment_attachment_parameters.go
- issue_create_issue_comment_attachment_responses.go
- issue_create_issue_dependencies_parameters.go
- issue_create_issue_dependencies_responses.go
- issue_create_issue_parameters.go
- issue_create_issue_responses.go
- issue_create_label_parameters.go
- issue_create_label_responses.go
- issue_create_milestone_parameters.go
- issue_create_milestone_responses.go
- issue_delete_comment_deprecated_parameters.go
- issue_delete_comment_deprecated_responses.go
- issue_delete_comment_parameters.go
- issue_delete_comment_reaction_parameters.go
- issue_delete_comment_reaction_responses.go
- issue_delete_comment_responses.go
- issue_delete_issue_attachment_parameters.go
- issue_delete_issue_attachment_responses.go
- issue_delete_issue_comment_attachment_parameters.go
- issue_delete_issue_comment_attachment_responses.go
- issue_delete_issue_reaction_parameters.go
- issue_delete_issue_reaction_responses.go
- issue_delete_label_parameters.go
- issue_delete_label_responses.go
- issue_delete_milestone_parameters.go
- issue_delete_milestone_responses.go
- issue_delete_parameters.go
- issue_delete_responses.go
- issue_delete_stop_watch_parameters.go
- issue_delete_stop_watch_responses.go
- issue_delete_subscription_parameters.go
- issue_delete_subscription_responses.go
- issue_delete_time_parameters.go
- issue_delete_time_responses.go
- issue_edit_comment_deprecated_parameters.go
- issue_edit_comment_deprecated_responses.go
- issue_edit_comment_parameters.go
- issue_edit_comment_responses.go
- issue_edit_issue_attachment_parameters.go
- issue_edit_issue_attachment_responses.go
- issue_edit_issue_comment_attachment_parameters.go
- issue_edit_issue_comment_attachment_responses.go
- issue_edit_issue_deadline_parameters.go
- issue_edit_issue_deadline_responses.go
- issue_edit_issue_parameters.go
- issue_edit_issue_responses.go
- issue_edit_label_parameters.go
- issue_edit_label_responses.go
- issue_edit_milestone_parameters.go
- issue_edit_milestone_responses.go
- issue_get_comment_parameters.go
- issue_get_comment_reactions_parameters.go
- issue_get_comment_reactions_responses.go
- issue_get_comment_responses.go
- issue_get_comments_and_timeline_parameters.go
- issue_get_comments_and_timeline_responses.go
- issue_get_comments_parameters.go
- issue_get_comments_responses.go
- issue_get_issue_attachment_parameters.go
- issue_get_issue_attachment_responses.go
- issue_get_issue_comment_attachment_parameters.go
- issue_get_issue_comment_attachment_responses.go
- issue_get_issue_parameters.go
- issue_get_issue_reactions_parameters.go
- issue_get_issue_reactions_responses.go
- issue_get_issue_responses.go
- issue_get_label_parameters.go
- issue_get_label_responses.go
- issue_get_labels_parameters.go
- issue_get_labels_responses.go
- issue_get_milestone_parameters.go
- issue_get_milestone_responses.go
- issue_get_milestones_list_parameters.go
- issue_get_milestones_list_responses.go
- issue_get_repo_comments_parameters.go
- issue_get_repo_comments_responses.go
- issue_list_blocks_parameters.go
- issue_list_blocks_responses.go
- issue_list_issue_attachments_parameters.go
- issue_list_issue_attachments_responses.go
- issue_list_issue_comment_attachments_parameters.go
- issue_list_issue_comment_attachments_responses.go
- issue_list_issue_dependencies_parameters.go
- issue_list_issue_dependencies_responses.go
- issue_list_issues_parameters.go
- issue_list_issues_responses.go
- issue_list_labels_parameters.go
- issue_list_labels_responses.go
- issue_post_comment_reaction_parameters.go
- issue_post_comment_reaction_responses.go
- issue_post_issue_reaction_parameters.go
- issue_post_issue_reaction_responses.go
- issue_remove_issue_blocking_parameters.go
- issue_remove_issue_blocking_responses.go
- issue_remove_issue_dependencies_parameters.go
- issue_remove_issue_dependencies_responses.go
- issue_remove_label_parameters.go
- issue_remove_label_responses.go
- issue_replace_labels_parameters.go
- issue_replace_labels_responses.go
- issue_reset_time_parameters.go
- issue_reset_time_responses.go
- issue_search_issues_parameters.go
- issue_search_issues_responses.go
- issue_start_stop_watch_parameters.go
- issue_start_stop_watch_responses.go
- issue_stop_stop_watch_parameters.go
- issue_stop_stop_watch_responses.go
- issue_subscriptions_parameters.go
- issue_subscriptions_responses.go
- issue_tracked_times_parameters.go
- issue_tracked_times_responses.go
- move_issue_pin_parameters.go
- move_issue_pin_responses.go
- pin_issue_parameters.go
- pin_issue_responses.go
- unpin_issue_parameters.go
- unpin_issue_responses.go