issue

package
v0.0.0-...-078138e Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

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

IssueCreateIssueCommentAttachment creates a comment attachment

func (*Client) IssueCreateIssueDependencies

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

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

IssueDeleteIssueAttachment deletes an issue attachment

func (*Client) IssueDeleteIssueCommentAttachment

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

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

IssueEditComment edits a comment

func (*Client) IssueEditCommentDeprecated

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

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

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

IssuePostCommentReaction adds a reaction to a comment of an issue

func (*Client) IssuePostIssueReaction

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

type IssueAddLabelForbidden struct {
	Message string
	URL     string
}

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

type IssueAddLabelOK struct {
	Payload []*models.Label
}

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

WithBody adds the body to the issue add label params

func (*IssueAddLabelParams) WithContext

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 (*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

Code gets the status code for the issue add subscription not found response

func (*IssueAddSubscriptionNotFound) Error

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

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

Code gets the status code for the issue add subscription not modified response

func (*IssueAddSubscriptionNotModified) Error

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

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

WithContext adds the context to the issue add subscription params

func (*IssueAddSubscriptionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue add subscription params

func (*IssueAddSubscriptionParams) WithIndex

WithIndex adds the index to the issue add subscription params

func (*IssueAddSubscriptionParams) WithOwner

WithOwner adds the owner to the issue add subscription params

func (*IssueAddSubscriptionParams) WithRepo

WithRepo adds the repo to the issue add subscription params

func (*IssueAddSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the issue add subscription params

func (*IssueAddSubscriptionParams) WithUser

WithUser adds the user to the issue add subscription params

func (*IssueAddSubscriptionParams) WriteToRequest

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

type IssueAddTimeBadRequest struct {
	Message string
	URL     string
}

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

type IssueAddTimeForbidden struct {
	Message string
	URL     string
}

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

WithBody adds the body to the issue add time params

func (*IssueAddTimeParams) WithContext

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

Code gets the status code for the issue check subscription not found response

func (*IssueCheckSubscriptionNotFound) Error

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

type IssueCheckSubscriptionOK

type IssueCheckSubscriptionOK struct {
	Payload *models.WatchInfo
}

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

WithContext adds the context to the issue check subscription params

func (*IssueCheckSubscriptionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue check subscription params

func (*IssueCheckSubscriptionParams) WithIndex

WithIndex adds the index to the issue check subscription params

func (*IssueCheckSubscriptionParams) WithOwner

WithOwner adds the owner to the issue check subscription params

func (*IssueCheckSubscriptionParams) WithRepo

WithRepo adds the repo to the issue check subscription params

func (*IssueCheckSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the issue check subscription params

func (*IssueCheckSubscriptionParams) WriteToRequest

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

type IssueClearLabelsForbidden struct {
	Message string
	URL     string
}

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

WithContext adds the context to the issue clear labels params

func (*IssueClearLabelsParams) WithDefaults

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

WithIndex adds the index to the issue clear labels params

func (*IssueClearLabelsParams) WithOwner

WithOwner adds the owner to the issue clear labels params

func (*IssueClearLabelsParams) WithRepo

WithRepo adds the repo to the issue clear labels params

func (*IssueClearLabelsParams) WithTimeout

WithTimeout adds the timeout to the issue clear labels params

func (*IssueClearLabelsParams) WriteToRequest

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

type IssueCreateCommentCreated struct {
	Payload *models.Comment
}

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

type IssueCreateCommentForbidden struct {
	Message string
	URL     string
}

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 (*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

type IssueCreateCommentLocked struct {
	Message string
	URL     string
}

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 (*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

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

WithBody adds the body to the issue create comment params

func (*IssueCreateCommentParams) WithContext

WithContext adds the context to the issue create comment params

func (*IssueCreateCommentParams) WithDefaults

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

WithIndex adds the index to the issue create comment params

func (*IssueCreateCommentParams) WithOwner

WithOwner adds the owner to the issue create comment params

func (*IssueCreateCommentParams) WithRepo

WithRepo adds the repo to the issue create comment params

func (*IssueCreateCommentParams) WithTimeout

WithTimeout adds the timeout to the issue create comment params

func (*IssueCreateCommentParams) WriteToRequest

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

type IssueCreateIssueAttachmentBadRequest struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue attachment bad request response

func (*IssueCreateIssueAttachmentBadRequest) Error

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

IsCode returns true when this issue create issue attachment bad request response a status code equal to that given

func (*IssueCreateIssueAttachmentBadRequest) IsRedirect

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

IsSuccess returns true when this issue create issue attachment bad request response has a 2xx status code

func (*IssueCreateIssueAttachmentBadRequest) 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

Code gets the status code for the issue create issue attachment created response

func (*IssueCreateIssueAttachmentCreated) Error

func (*IssueCreateIssueAttachmentCreated) GetPayload

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

type IssueCreateIssueAttachmentLocked

type IssueCreateIssueAttachmentLocked struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue attachment locked response

func (*IssueCreateIssueAttachmentLocked) Error

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

type IssueCreateIssueAttachmentNotFound

type IssueCreateIssueAttachmentNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue attachment not found response

func (*IssueCreateIssueAttachmentNotFound) Error

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

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

IsSuccess returns true when this issue create issue attachment not found response has a 2xx status code

func (*IssueCreateIssueAttachmentNotFound) 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

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

WithAttachment adds the attachment to the issue create issue attachment params

func (*IssueCreateIssueAttachmentParams) WithContext

WithContext adds the context to the issue create issue attachment params

func (*IssueCreateIssueAttachmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue create issue attachment params

func (*IssueCreateIssueAttachmentParams) WithIndex

WithIndex adds the index to the issue create issue attachment params

func (*IssueCreateIssueAttachmentParams) WithName

WithName adds the name to the issue create issue attachment params

func (*IssueCreateIssueAttachmentParams) WithOwner

WithOwner adds the owner to the issue create issue attachment params

func (*IssueCreateIssueAttachmentParams) WithRepo

WithRepo adds the repo to the issue create issue attachment params

func (*IssueCreateIssueAttachmentParams) WithTimeout

WithTimeout adds the timeout to the issue create issue attachment params

func (*IssueCreateIssueAttachmentParams) WriteToRequest

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

type IssueCreateIssueAttachmentUnprocessableEntity struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue attachment unprocessable entity response

func (*IssueCreateIssueAttachmentUnprocessableEntity) Error

func (*IssueCreateIssueAttachmentUnprocessableEntity) IsClientError

IsClientError returns true when this issue create issue attachment unprocessable entity response has a 4xx status code

func (*IssueCreateIssueAttachmentUnprocessableEntity) IsCode

IsCode returns true when this issue create issue attachment unprocessable entity response a status code equal to that given

func (*IssueCreateIssueAttachmentUnprocessableEntity) IsRedirect

IsRedirect returns true when this issue create issue attachment unprocessable entity response has a 3xx status code

func (*IssueCreateIssueAttachmentUnprocessableEntity) IsServerError

IsServerError returns true when this issue create issue attachment unprocessable entity response has a 5xx status code

func (*IssueCreateIssueAttachmentUnprocessableEntity) IsSuccess

IsSuccess returns true when this issue create issue attachment unprocessable entity response has a 2xx status code

func (*IssueCreateIssueAttachmentUnprocessableEntity) String

type IssueCreateIssueBlockingCreated

type IssueCreateIssueBlockingCreated struct {
	Payload *models.Issue
}

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

Code gets the status code for the issue create issue blocking created response

func (*IssueCreateIssueBlockingCreated) Error

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

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

Code gets the status code for the issue create issue blocking not found response

func (*IssueCreateIssueBlockingNotFound) Error

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

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

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

WithBody adds the body to the issue create issue blocking params

func (*IssueCreateIssueBlockingParams) WithContext

WithContext adds the context to the issue create issue blocking params

func (*IssueCreateIssueBlockingParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue create issue blocking params

func (*IssueCreateIssueBlockingParams) WithIndex

WithIndex adds the index to the issue create issue blocking params

func (*IssueCreateIssueBlockingParams) WithOwner

WithOwner adds the owner to the issue create issue blocking params

func (*IssueCreateIssueBlockingParams) WithRepo

WithRepo adds the repo to the issue create issue blocking params

func (*IssueCreateIssueBlockingParams) WithTimeout

WithTimeout adds the timeout to the issue create issue blocking params

func (*IssueCreateIssueBlockingParams) WriteToRequest

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

type IssueCreateIssueCommentAttachmentBadRequest struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue comment attachment bad request response

func (*IssueCreateIssueCommentAttachmentBadRequest) Error

func (*IssueCreateIssueCommentAttachmentBadRequest) IsClientError

IsClientError returns true when this issue create issue comment attachment bad request response has a 4xx status code

func (*IssueCreateIssueCommentAttachmentBadRequest) IsCode

IsCode returns true when this issue create issue comment attachment bad request response a status code equal to that given

func (*IssueCreateIssueCommentAttachmentBadRequest) IsRedirect

IsRedirect returns true when this issue create issue comment attachment bad request response has a 3xx status code

func (*IssueCreateIssueCommentAttachmentBadRequest) IsServerError

IsServerError returns true when this issue create issue comment attachment bad request response has a 5xx status code

func (*IssueCreateIssueCommentAttachmentBadRequest) IsSuccess

IsSuccess returns true when this issue create issue comment attachment bad request response has a 2xx status code

func (*IssueCreateIssueCommentAttachmentBadRequest) 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

Code gets the status code for the issue create issue comment attachment created response

func (*IssueCreateIssueCommentAttachmentCreated) Error

func (*IssueCreateIssueCommentAttachmentCreated) GetPayload

func (*IssueCreateIssueCommentAttachmentCreated) IsClientError

IsClientError returns true when this issue create issue comment attachment created response has a 4xx status code

func (*IssueCreateIssueCommentAttachmentCreated) IsCode

IsCode returns true when this issue create issue comment attachment created response a status code equal to that given

func (*IssueCreateIssueCommentAttachmentCreated) IsRedirect

IsRedirect returns true when this issue create issue comment attachment created response has a 3xx status code

func (*IssueCreateIssueCommentAttachmentCreated) IsServerError

IsServerError returns true when this issue create issue comment attachment created response has a 5xx status code

func (*IssueCreateIssueCommentAttachmentCreated) IsSuccess

IsSuccess returns true when this issue create issue comment attachment created response has a 2xx status code

func (*IssueCreateIssueCommentAttachmentCreated) String

type IssueCreateIssueCommentAttachmentForbidden

type IssueCreateIssueCommentAttachmentForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue comment attachment forbidden response

func (*IssueCreateIssueCommentAttachmentForbidden) Error

func (*IssueCreateIssueCommentAttachmentForbidden) IsClientError

IsClientError returns true when this issue create issue comment attachment forbidden response has a 4xx status code

func (*IssueCreateIssueCommentAttachmentForbidden) IsCode

IsCode returns true when this issue create issue comment attachment forbidden response a status code equal to that given

func (*IssueCreateIssueCommentAttachmentForbidden) IsRedirect

IsRedirect returns true when this issue create issue comment attachment forbidden response has a 3xx status code

func (*IssueCreateIssueCommentAttachmentForbidden) IsServerError

IsServerError returns true when this issue create issue comment attachment forbidden response has a 5xx status code

func (*IssueCreateIssueCommentAttachmentForbidden) IsSuccess

IsSuccess returns true when this issue create issue comment attachment forbidden response has a 2xx status code

func (*IssueCreateIssueCommentAttachmentForbidden) String

type IssueCreateIssueCommentAttachmentLocked

type IssueCreateIssueCommentAttachmentLocked struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue comment attachment locked response

func (*IssueCreateIssueCommentAttachmentLocked) Error

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

IsCode returns true when this issue create issue comment attachment locked response a status code equal to that given

func (*IssueCreateIssueCommentAttachmentLocked) IsRedirect

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

IsSuccess returns true when this issue create issue comment attachment locked response has a 2xx status code

func (*IssueCreateIssueCommentAttachmentLocked) String

type IssueCreateIssueCommentAttachmentNotFound

type IssueCreateIssueCommentAttachmentNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue comment attachment not found response

func (*IssueCreateIssueCommentAttachmentNotFound) Error

func (*IssueCreateIssueCommentAttachmentNotFound) IsClientError

IsClientError returns true when this issue create issue comment attachment not found response has a 4xx status code

func (*IssueCreateIssueCommentAttachmentNotFound) IsCode

IsCode returns true when this issue create issue comment attachment not found response a status code equal to that given

func (*IssueCreateIssueCommentAttachmentNotFound) IsRedirect

IsRedirect returns true when this issue create issue comment attachment not found response has a 3xx status code

func (*IssueCreateIssueCommentAttachmentNotFound) IsServerError

IsServerError returns true when this issue create issue comment attachment not found response has a 5xx status code

func (*IssueCreateIssueCommentAttachmentNotFound) IsSuccess

IsSuccess returns true when this issue create issue comment attachment not found response has a 2xx status code

func (*IssueCreateIssueCommentAttachmentNotFound) 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

SetAttachment adds the attachment to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) SetContext

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

SetID adds the id to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) SetName

SetName adds the name to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) SetOwner

SetOwner adds the owner to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) SetRepo

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

WithAttachment adds the attachment to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) WithContext

WithContext adds the context to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) WithID

WithID adds the id to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) WithName

WithName adds the name to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) WithOwner

WithOwner adds the owner to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) WithRepo

WithRepo adds the repo to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) WithTimeout

WithTimeout adds the timeout to the issue create issue comment attachment params

func (*IssueCreateIssueCommentAttachmentParams) WriteToRequest

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

type IssueCreateIssueCommentAttachmentUnprocessableEntity struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue comment attachment unprocessable entity response

func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) Error

func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsClientError

IsClientError returns true when this issue create issue comment attachment unprocessable entity response has a 4xx status code

func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsCode

IsCode returns true when this issue create issue comment attachment unprocessable entity response a status code equal to that given

func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsRedirect

IsRedirect returns true when this issue create issue comment attachment unprocessable entity response has a 3xx status code

func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsServerError

IsServerError returns true when this issue create issue comment attachment unprocessable entity response has a 5xx status code

func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) IsSuccess

IsSuccess returns true when this issue create issue comment attachment unprocessable entity response has a 2xx status code

func (*IssueCreateIssueCommentAttachmentUnprocessableEntity) String

type IssueCreateIssueCreated

type IssueCreateIssueCreated struct {
	Payload *models.Issue
}

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

type IssueCreateIssueDependenciesCreated struct {
	Payload *models.Issue
}

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

Code gets the status code for the issue create issue dependencies created response

func (*IssueCreateIssueDependenciesCreated) Error

func (*IssueCreateIssueDependenciesCreated) GetPayload

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

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

IsSuccess returns true when this issue create issue dependencies created response has a 2xx status code

func (*IssueCreateIssueDependenciesCreated) String

type IssueCreateIssueDependenciesLocked

type IssueCreateIssueDependenciesLocked struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue dependencies locked response

func (*IssueCreateIssueDependenciesLocked) Error

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

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

IsSuccess returns true when this issue create issue dependencies locked response has a 2xx status code

func (*IssueCreateIssueDependenciesLocked) 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

Code gets the status code for the issue create issue dependencies not found response

func (*IssueCreateIssueDependenciesNotFound) Error

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

IsCode returns true when this issue create issue dependencies not found response a status code equal to that given

func (*IssueCreateIssueDependenciesNotFound) IsRedirect

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

IsSuccess returns true when this issue create issue dependencies not found response has a 2xx status code

func (*IssueCreateIssueDependenciesNotFound) 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

SetBody adds the body to the issue create issue dependencies params

func (*IssueCreateIssueDependenciesParams) SetContext

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

WithBody adds the body to the issue create issue dependencies params

func (*IssueCreateIssueDependenciesParams) WithContext

WithContext adds the context to the issue create issue dependencies params

func (*IssueCreateIssueDependenciesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue create issue dependencies params

func (*IssueCreateIssueDependenciesParams) WithIndex

WithIndex adds the index to the issue create issue dependencies params

func (*IssueCreateIssueDependenciesParams) WithOwner

WithOwner adds the owner to the issue create issue dependencies params

func (*IssueCreateIssueDependenciesParams) WithRepo

WithRepo adds the repo to the issue create issue dependencies params

func (*IssueCreateIssueDependenciesParams) WithTimeout

WithTimeout adds the timeout to the issue create issue dependencies params

func (*IssueCreateIssueDependenciesParams) WriteToRequest

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

type IssueCreateIssueForbidden struct {
	Message string
	URL     string
}

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

type IssueCreateIssueLocked struct {
	Message string
	URL     string
}

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

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

WithBody adds the body to the issue create issue params

func (*IssueCreateIssueParams) WithContext

WithContext adds the context to the issue create issue params

func (*IssueCreateIssueParams) WithDefaults

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

WithOwner adds the owner to the issue create issue params

func (*IssueCreateIssueParams) WithRepo

WithRepo adds the repo to the issue create issue params

func (*IssueCreateIssueParams) WithTimeout

WithTimeout adds the timeout to the issue create issue params

func (*IssueCreateIssueParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type IssueCreateIssuePreconditionFailed

type IssueCreateIssuePreconditionFailed struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue precondition failed response

func (*IssueCreateIssuePreconditionFailed) Error

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

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

IsSuccess returns true when this issue create issue precondition failed response has a 2xx status code

func (*IssueCreateIssuePreconditionFailed) 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

type IssueCreateIssueUnprocessableEntity struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create issue unprocessable entity response

func (*IssueCreateIssueUnprocessableEntity) Error

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

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

IsSuccess returns true when this issue create issue unprocessable entity response has a 2xx status code

func (*IssueCreateIssueUnprocessableEntity) String

type IssueCreateLabelCreated

type IssueCreateLabelCreated struct {
	Payload *models.Label
}

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

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

WithBody adds the body to the issue create label params

func (*IssueCreateLabelParams) WithContext

WithContext adds the context to the issue create label params

func (*IssueCreateLabelParams) WithDefaults

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

WithOwner adds the owner to the issue create label params

func (*IssueCreateLabelParams) WithRepo

WithRepo adds the repo to the issue create label params

func (*IssueCreateLabelParams) WithTimeout

WithTimeout adds the timeout to the issue create label params

func (*IssueCreateLabelParams) WriteToRequest

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

type IssueCreateLabelUnprocessableEntity struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue create label unprocessable entity response

func (*IssueCreateLabelUnprocessableEntity) Error

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

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

IsSuccess returns true when this issue create label unprocessable entity response has a 2xx status code

func (*IssueCreateLabelUnprocessableEntity) String

type IssueCreateMilestoneCreated

type IssueCreateMilestoneCreated struct {
	Payload *models.Milestone
}

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 (*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

Code gets the status code for the issue create milestone not found response

func (*IssueCreateMilestoneNotFound) Error

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

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

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

WithBody adds the body to the issue create milestone params

func (*IssueCreateMilestoneParams) WithContext

WithContext adds the context to the issue create milestone params

func (*IssueCreateMilestoneParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue create milestone params

func (*IssueCreateMilestoneParams) WithOwner

WithOwner adds the owner to the issue create milestone params

func (*IssueCreateMilestoneParams) WithRepo

WithRepo adds the repo to the issue create milestone params

func (*IssueCreateMilestoneParams) WithTimeout

WithTimeout adds the timeout to the issue create milestone params

func (*IssueCreateMilestoneParams) WriteToRequest

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

type IssueDeleteCommentDeprecatedForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue delete comment deprecated forbidden response

func (*IssueDeleteCommentDeprecatedForbidden) Error

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

IsCode returns true when this issue delete comment deprecated forbidden response a status code equal to that given

func (*IssueDeleteCommentDeprecatedForbidden) IsRedirect

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

IsSuccess returns true when this issue delete comment deprecated forbidden response has a 2xx status code

func (*IssueDeleteCommentDeprecatedForbidden) 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

Code gets the status code for the issue delete comment deprecated no content response

func (*IssueDeleteCommentDeprecatedNoContent) Error

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

IsCode returns true when this issue delete comment deprecated no content response a status code equal to that given

func (*IssueDeleteCommentDeprecatedNoContent) IsRedirect

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

IsSuccess returns true when this issue delete comment deprecated no content response has a 2xx status code

func (*IssueDeleteCommentDeprecatedNoContent) 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

Code gets the status code for the issue delete comment deprecated not found response

func (*IssueDeleteCommentDeprecatedNotFound) Error

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

IsCode returns true when this issue delete comment deprecated not found response a status code equal to that given

func (*IssueDeleteCommentDeprecatedNotFound) IsRedirect

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

IsSuccess returns true when this issue delete comment deprecated not found response has a 2xx status code

func (*IssueDeleteCommentDeprecatedNotFound) 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

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

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

WithContext adds the context to the issue delete comment deprecated params

func (*IssueDeleteCommentDeprecatedParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue delete comment deprecated params

func (*IssueDeleteCommentDeprecatedParams) WithID

WithID adds the id to the issue delete comment deprecated params

func (*IssueDeleteCommentDeprecatedParams) WithIndex

WithIndex adds the index to the issue delete comment deprecated params

func (*IssueDeleteCommentDeprecatedParams) WithOwner

WithOwner adds the owner to the issue delete comment deprecated params

func (*IssueDeleteCommentDeprecatedParams) WithRepo

WithRepo adds the repo to the issue delete comment deprecated params

func (*IssueDeleteCommentDeprecatedParams) WithTimeout

WithTimeout adds the timeout to the issue delete comment deprecated params

func (*IssueDeleteCommentDeprecatedParams) WriteToRequest

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

type IssueDeleteCommentForbidden struct {
	Message string
	URL     string
}

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 (*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 (*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 (*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

WithContext adds the context to the issue delete comment params

func (*IssueDeleteCommentParams) WithDefaults

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

WithID adds the id to the issue delete comment params

func (*IssueDeleteCommentParams) WithOwner

WithOwner adds the owner to the issue delete comment params

func (*IssueDeleteCommentParams) WithRepo

WithRepo adds the repo to the issue delete comment params

func (*IssueDeleteCommentParams) WithTimeout

WithTimeout adds the timeout to the issue delete comment params

func (*IssueDeleteCommentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type IssueDeleteCommentReactionForbidden

type IssueDeleteCommentReactionForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue delete comment reaction forbidden response

func (*IssueDeleteCommentReactionForbidden) Error

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

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

IsSuccess returns true when this issue delete comment reaction forbidden response has a 2xx status code

func (*IssueDeleteCommentReactionForbidden) 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

Code gets the status code for the issue delete comment reaction not found response

func (*IssueDeleteCommentReactionNotFound) Error

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

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

IsSuccess returns true when this issue delete comment reaction not found response has a 2xx status code

func (*IssueDeleteCommentReactionNotFound) 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

Code gets the status code for the issue delete comment reaction o k response

func (*IssueDeleteCommentReactionOK) Error

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

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

SetContent adds the content to the issue delete comment reaction params

func (*IssueDeleteCommentReactionParams) SetContext

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

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

WithContent adds the content to the issue delete comment reaction params

func (*IssueDeleteCommentReactionParams) WithContext

WithContext adds the context to the issue delete comment reaction params

func (*IssueDeleteCommentReactionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue delete comment reaction params

func (*IssueDeleteCommentReactionParams) WithID

WithID adds the id to the issue delete comment reaction params

func (*IssueDeleteCommentReactionParams) WithOwner

WithOwner adds the owner to the issue delete comment reaction params

func (*IssueDeleteCommentReactionParams) WithRepo

WithRepo adds the repo to the issue delete comment reaction params

func (*IssueDeleteCommentReactionParams) WithTimeout

WithTimeout adds the timeout to the issue delete comment reaction params

func (*IssueDeleteCommentReactionParams) WriteToRequest

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

type IssueDeleteForbidden struct {
	Message string
	URL     string
}

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

type IssueDeleteIssueAttachmentLocked struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue delete issue attachment locked response

func (*IssueDeleteIssueAttachmentLocked) Error

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

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

Code gets the status code for the issue delete issue attachment no content response

func (*IssueDeleteIssueAttachmentNoContent) Error

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

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

IsSuccess returns true when this issue delete issue attachment no content response has a 2xx status code

func (*IssueDeleteIssueAttachmentNoContent) String

type IssueDeleteIssueAttachmentNotFound

type IssueDeleteIssueAttachmentNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue delete issue attachment not found response

func (*IssueDeleteIssueAttachmentNotFound) Error

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

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

IsSuccess returns true when this issue delete issue attachment not found response has a 2xx status code

func (*IssueDeleteIssueAttachmentNotFound) 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

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

WithContext adds the context to the issue delete issue attachment params

func (*IssueDeleteIssueAttachmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue delete issue attachment params

func (*IssueDeleteIssueAttachmentParams) WithIndex

WithIndex adds the index to the issue delete issue attachment params

func (*IssueDeleteIssueAttachmentParams) WithOwner

WithOwner adds the owner to the issue delete issue attachment params

func (*IssueDeleteIssueAttachmentParams) WithRepo

WithRepo adds the repo to the issue delete issue attachment params

func (*IssueDeleteIssueAttachmentParams) WithTimeout

WithTimeout adds the timeout to the issue delete issue attachment params

func (*IssueDeleteIssueAttachmentParams) WriteToRequest

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

type IssueDeleteIssueCommentAttachmentLocked struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue delete issue comment attachment locked response

func (*IssueDeleteIssueCommentAttachmentLocked) Error

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

IsCode returns true when this issue delete issue comment attachment locked response a status code equal to that given

func (*IssueDeleteIssueCommentAttachmentLocked) IsRedirect

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

IsSuccess returns true when this issue delete issue comment attachment locked response has a 2xx status code

func (*IssueDeleteIssueCommentAttachmentLocked) 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

Code gets the status code for the issue delete issue comment attachment no content response

func (*IssueDeleteIssueCommentAttachmentNoContent) Error

func (*IssueDeleteIssueCommentAttachmentNoContent) IsClientError

IsClientError returns true when this issue delete issue comment attachment no content response has a 4xx status code

func (*IssueDeleteIssueCommentAttachmentNoContent) IsCode

IsCode returns true when this issue delete issue comment attachment no content response a status code equal to that given

func (*IssueDeleteIssueCommentAttachmentNoContent) IsRedirect

IsRedirect returns true when this issue delete issue comment attachment no content response has a 3xx status code

func (*IssueDeleteIssueCommentAttachmentNoContent) IsServerError

IsServerError returns true when this issue delete issue comment attachment no content response has a 5xx status code

func (*IssueDeleteIssueCommentAttachmentNoContent) IsSuccess

IsSuccess returns true when this issue delete issue comment attachment no content response has a 2xx status code

func (*IssueDeleteIssueCommentAttachmentNoContent) String

type IssueDeleteIssueCommentAttachmentNotFound

type IssueDeleteIssueCommentAttachmentNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue delete issue comment attachment not found response

func (*IssueDeleteIssueCommentAttachmentNotFound) Error

func (*IssueDeleteIssueCommentAttachmentNotFound) IsClientError

IsClientError returns true when this issue delete issue comment attachment not found response has a 4xx status code

func (*IssueDeleteIssueCommentAttachmentNotFound) IsCode

IsCode returns true when this issue delete issue comment attachment not found response a status code equal to that given

func (*IssueDeleteIssueCommentAttachmentNotFound) IsRedirect

IsRedirect returns true when this issue delete issue comment attachment not found response has a 3xx status code

func (*IssueDeleteIssueCommentAttachmentNotFound) IsServerError

IsServerError returns true when this issue delete issue comment attachment not found response has a 5xx status code

func (*IssueDeleteIssueCommentAttachmentNotFound) IsSuccess

IsSuccess returns true when this issue delete issue comment attachment not found response has a 2xx status code

func (*IssueDeleteIssueCommentAttachmentNotFound) 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

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

SetID adds the id to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) SetOwner

SetOwner adds the owner to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) SetRepo

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

WithAttachmentID adds the attachmentID to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) WithContext

WithContext adds the context to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) WithID

WithID adds the id to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) WithOwner

WithOwner adds the owner to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) WithRepo

WithRepo adds the repo to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) WithTimeout

WithTimeout adds the timeout to the issue delete issue comment attachment params

func (*IssueDeleteIssueCommentAttachmentParams) WriteToRequest

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

type IssueDeleteIssueReactionForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue delete issue reaction forbidden response

func (*IssueDeleteIssueReactionForbidden) Error

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

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

Code gets the status code for the issue delete issue reaction not found response

func (*IssueDeleteIssueReactionNotFound) Error

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

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 (*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

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

WithContent adds the content to the issue delete issue reaction params

func (*IssueDeleteIssueReactionParams) WithContext

WithContext adds the context to the issue delete issue reaction params

func (*IssueDeleteIssueReactionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue delete issue reaction params

func (*IssueDeleteIssueReactionParams) WithIndex

WithIndex adds the index to the issue delete issue reaction params

func (*IssueDeleteIssueReactionParams) WithOwner

WithOwner adds the owner to the issue delete issue reaction params

func (*IssueDeleteIssueReactionParams) WithRepo

WithRepo adds the repo to the issue delete issue reaction params

func (*IssueDeleteIssueReactionParams) WithTimeout

WithTimeout adds the timeout to the issue delete issue reaction params

func (*IssueDeleteIssueReactionParams) WriteToRequest

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

WithContext adds the context to the issue delete label params

func (*IssueDeleteLabelParams) WithDefaults

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

WithID adds the id to the issue delete label params

func (*IssueDeleteLabelParams) WithOwner

WithOwner adds the owner to the issue delete label params

func (*IssueDeleteLabelParams) WithRepo

WithRepo adds the repo to the issue delete label params

func (*IssueDeleteLabelParams) WithTimeout

WithTimeout adds the timeout to the issue delete label params

func (*IssueDeleteLabelParams) WriteToRequest

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

Code gets the status code for the issue delete milestone no content response

func (*IssueDeleteMilestoneNoContent) Error

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

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

Code gets the status code for the issue delete milestone not found response

func (*IssueDeleteMilestoneNotFound) Error

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

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

WithContext adds the context to the issue delete milestone params

func (*IssueDeleteMilestoneParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue delete milestone params

func (*IssueDeleteMilestoneParams) WithID

WithID adds the id to the issue delete milestone params

func (*IssueDeleteMilestoneParams) WithOwner

WithOwner adds the owner to the issue delete milestone params

func (*IssueDeleteMilestoneParams) WithRepo

WithRepo adds the repo to the issue delete milestone params

func (*IssueDeleteMilestoneParams) WithTimeout

WithTimeout adds the timeout to the issue delete milestone params

func (*IssueDeleteMilestoneParams) WriteToRequest

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

Code gets the status code for the issue delete stop watch conflict response

func (*IssueDeleteStopWatchConflict) Error

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

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

Code gets the status code for the issue delete stop watch forbidden response

func (*IssueDeleteStopWatchForbidden) Error

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

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

Code gets the status code for the issue delete stop watch no content response

func (*IssueDeleteStopWatchNoContent) Error

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

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

Code gets the status code for the issue delete stop watch not found response

func (*IssueDeleteStopWatchNotFound) Error

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

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

WithContext adds the context to the issue delete stop watch params

func (*IssueDeleteStopWatchParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue delete stop watch params

func (*IssueDeleteStopWatchParams) WithIndex

WithIndex adds the index to the issue delete stop watch params

func (*IssueDeleteStopWatchParams) WithOwner

WithOwner adds the owner to the issue delete stop watch params

func (*IssueDeleteStopWatchParams) WithRepo

WithRepo adds the repo to the issue delete stop watch params

func (*IssueDeleteStopWatchParams) WithTimeout

WithTimeout adds the timeout to the issue delete stop watch params

func (*IssueDeleteStopWatchParams) WriteToRequest

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

Code gets the status code for the issue delete subscription created response

func (*IssueDeleteSubscriptionCreated) Error

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

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

Code gets the status code for the issue delete subscription not found response

func (*IssueDeleteSubscriptionNotFound) Error

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

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

Code gets the status code for the issue delete subscription not modified response

func (*IssueDeleteSubscriptionNotModified) Error

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

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

IsSuccess returns true when this issue delete subscription not modified response has a 2xx status code

func (*IssueDeleteSubscriptionNotModified) 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

WithContext adds the context to the issue delete subscription params

func (*IssueDeleteSubscriptionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue delete subscription params

func (*IssueDeleteSubscriptionParams) WithIndex

WithIndex adds the index to the issue delete subscription params

func (*IssueDeleteSubscriptionParams) WithOwner

WithOwner adds the owner to the issue delete subscription params

func (*IssueDeleteSubscriptionParams) WithRepo

WithRepo adds the repo to the issue delete subscription params

func (*IssueDeleteSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the issue delete subscription params

func (*IssueDeleteSubscriptionParams) WithUser

WithUser adds the user to the issue delete subscription params

func (*IssueDeleteSubscriptionParams) WriteToRequest

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

type IssueDeleteTimeBadRequest struct {
	Message string
	URL     string
}

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

type IssueDeleteTimeForbidden struct {
	Message string
	URL     string
}

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

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

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

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

type IssueEditCommentDeprecatedForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue edit comment deprecated forbidden response

func (*IssueEditCommentDeprecatedForbidden) Error

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

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

IsSuccess returns true when this issue edit comment deprecated forbidden response has a 2xx status code

func (*IssueEditCommentDeprecatedForbidden) 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

Code gets the status code for the issue edit comment deprecated no content response

func (*IssueEditCommentDeprecatedNoContent) Error

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

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

IsSuccess returns true when this issue edit comment deprecated no content response has a 2xx status code

func (*IssueEditCommentDeprecatedNoContent) 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

Code gets the status code for the issue edit comment deprecated not found response

func (*IssueEditCommentDeprecatedNotFound) Error

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

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

IsSuccess returns true when this issue edit comment deprecated not found response has a 2xx status code

func (*IssueEditCommentDeprecatedNotFound) String

type IssueEditCommentDeprecatedOK

type IssueEditCommentDeprecatedOK struct {
	Payload *models.Comment
}

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

Code gets the status code for the issue edit comment deprecated o k response

func (*IssueEditCommentDeprecatedOK) Error

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

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

SetBody adds the body to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) SetContext

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

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

WithBody adds the body to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) WithContext

WithContext adds the context to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) WithID

WithID adds the id to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) WithIndex

WithIndex adds the index to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) WithOwner

WithOwner adds the owner to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) WithRepo

WithRepo adds the repo to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) WithTimeout

WithTimeout adds the timeout to the issue edit comment deprecated params

func (*IssueEditCommentDeprecatedParams) WriteToRequest

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

type IssueEditCommentForbidden struct {
	Message string
	URL     string
}

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

type IssueEditCommentLocked struct {
	Message string
	URL     string
}

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

type IssueEditCommentOK struct {
	Payload *models.Comment
}

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

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

WithBody adds the body to the issue edit comment params

func (*IssueEditCommentParams) WithContext

WithContext adds the context to the issue edit comment params

func (*IssueEditCommentParams) WithDefaults

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

WithID adds the id to the issue edit comment params

func (*IssueEditCommentParams) WithOwner

WithOwner adds the owner to the issue edit comment params

func (*IssueEditCommentParams) WithRepo

WithRepo adds the repo to the issue edit comment params

func (*IssueEditCommentParams) WithTimeout

WithTimeout adds the timeout to the issue edit comment params

func (*IssueEditCommentParams) WriteToRequest

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

Code gets the status code for the issue edit issue attachment created response

func (*IssueEditIssueAttachmentCreated) Error

func (*IssueEditIssueAttachmentCreated) GetPayload

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

type IssueEditIssueAttachmentLocked

type IssueEditIssueAttachmentLocked struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue edit issue attachment locked response

func (*IssueEditIssueAttachmentLocked) Error

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

type IssueEditIssueAttachmentNotFound

type IssueEditIssueAttachmentNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue edit issue attachment not found response

func (*IssueEditIssueAttachmentNotFound) Error

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

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

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

WithBody adds the body to the issue edit issue attachment params

func (*IssueEditIssueAttachmentParams) WithContext

WithContext adds the context to the issue edit issue attachment params

func (*IssueEditIssueAttachmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue edit issue attachment params

func (*IssueEditIssueAttachmentParams) WithIndex

WithIndex adds the index to the issue edit issue attachment params

func (*IssueEditIssueAttachmentParams) WithOwner

WithOwner adds the owner to the issue edit issue attachment params

func (*IssueEditIssueAttachmentParams) WithRepo

WithRepo adds the repo to the issue edit issue attachment params

func (*IssueEditIssueAttachmentParams) WithTimeout

WithTimeout adds the timeout to the issue edit issue attachment params

func (*IssueEditIssueAttachmentParams) WriteToRequest

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

Code gets the status code for the issue edit issue comment attachment created response

func (*IssueEditIssueCommentAttachmentCreated) Error

func (*IssueEditIssueCommentAttachmentCreated) GetPayload

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

IsCode returns true when this issue edit issue comment attachment created response a status code equal to that given

func (*IssueEditIssueCommentAttachmentCreated) IsRedirect

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

IsSuccess returns true when this issue edit issue comment attachment created response has a 2xx status code

func (*IssueEditIssueCommentAttachmentCreated) String

type IssueEditIssueCommentAttachmentLocked

type IssueEditIssueCommentAttachmentLocked struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue edit issue comment attachment locked response

func (*IssueEditIssueCommentAttachmentLocked) Error

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

IsCode returns true when this issue edit issue comment attachment locked response a status code equal to that given

func (*IssueEditIssueCommentAttachmentLocked) IsRedirect

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

IsSuccess returns true when this issue edit issue comment attachment locked response has a 2xx status code

func (*IssueEditIssueCommentAttachmentLocked) String

type IssueEditIssueCommentAttachmentNotFound

type IssueEditIssueCommentAttachmentNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue edit issue comment attachment not found response

func (*IssueEditIssueCommentAttachmentNotFound) Error

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

IsCode returns true when this issue edit issue comment attachment not found response a status code equal to that given

func (*IssueEditIssueCommentAttachmentNotFound) IsRedirect

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

IsSuccess returns true when this issue edit issue comment attachment not found response has a 2xx status code

func (*IssueEditIssueCommentAttachmentNotFound) 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

SetBody adds the body to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) SetContext

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

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

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

WithAttachmentID adds the attachmentID to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) WithBody

WithBody adds the body to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) WithContext

WithContext adds the context to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) WithID

WithID adds the id to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) WithOwner

WithOwner adds the owner to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) WithRepo

WithRepo adds the repo to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) WithTimeout

WithTimeout adds the timeout to the issue edit issue comment attachment params

func (*IssueEditIssueCommentAttachmentParams) WriteToRequest

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

type IssueEditIssueCreated struct {
	Payload *models.Issue
}

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

Code gets the status code for the issue edit issue deadline created response

func (*IssueEditIssueDeadlineCreated) Error

func (*IssueEditIssueDeadlineCreated) GetPayload

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

type IssueEditIssueDeadlineForbidden

type IssueEditIssueDeadlineForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue edit issue deadline forbidden response

func (*IssueEditIssueDeadlineForbidden) Error

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

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

Code gets the status code for the issue edit issue deadline not found response

func (*IssueEditIssueDeadlineNotFound) Error

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

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

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

WithBody adds the body to the issue edit issue deadline params

func (*IssueEditIssueDeadlineParams) WithContext

WithContext adds the context to the issue edit issue deadline params

func (*IssueEditIssueDeadlineParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue edit issue deadline params

func (*IssueEditIssueDeadlineParams) WithIndex

WithIndex adds the index to the issue edit issue deadline params

func (*IssueEditIssueDeadlineParams) WithOwner

WithOwner adds the owner to the issue edit issue deadline params

func (*IssueEditIssueDeadlineParams) WithRepo

WithRepo adds the repo to the issue edit issue deadline params

func (*IssueEditIssueDeadlineParams) WithTimeout

WithTimeout adds the timeout to the issue edit issue deadline params

func (*IssueEditIssueDeadlineParams) WriteToRequest

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

type IssueEditIssueForbidden struct {
	Message string
	URL     string
}

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

WithBody adds the body to the issue edit issue params

func (*IssueEditIssueParams) WithContext

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

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

type IssueEditIssuePreconditionFailed struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue edit issue precondition failed response

func (*IssueEditIssuePreconditionFailed) Error

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

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

type IssueEditLabelOK struct {
	Payload *models.Label
}

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

WithBody adds the body to the issue edit label params

func (*IssueEditLabelParams) WithContext

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

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

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

type IssueEditLabelUnprocessableEntity struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue edit label unprocessable entity response

func (*IssueEditLabelUnprocessableEntity) Error

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

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 (*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

type IssueEditMilestoneOK struct {
	Payload *models.Milestone
}

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

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

WithBody adds the body to the issue edit milestone params

func (*IssueEditMilestoneParams) WithContext

WithContext adds the context to the issue edit milestone params

func (*IssueEditMilestoneParams) WithDefaults

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

WithID adds the id to the issue edit milestone params

func (*IssueEditMilestoneParams) WithOwner

WithOwner adds the owner to the issue edit milestone params

func (*IssueEditMilestoneParams) WithRepo

WithRepo adds the repo to the issue edit milestone params

func (*IssueEditMilestoneParams) WithTimeout

WithTimeout adds the timeout to the issue edit milestone params

func (*IssueEditMilestoneParams) WriteToRequest

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

type IssueGetCommentForbidden struct {
	Message string
	URL     string
}

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

type IssueGetCommentOK struct {
	Payload *models.Comment
}

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

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

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

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

type IssueGetCommentReactionsForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue get comment reactions forbidden response

func (*IssueGetCommentReactionsForbidden) Error

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

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

Code gets the status code for the issue get comment reactions not found response

func (*IssueGetCommentReactionsNotFound) Error

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

type IssueGetCommentReactionsOK

type IssueGetCommentReactionsOK struct {
	Payload []*models.Reaction
}

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 (*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

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

WithContext adds the context to the issue get comment reactions params

func (*IssueGetCommentReactionsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue get comment reactions params

func (*IssueGetCommentReactionsParams) WithID

WithID adds the id to the issue get comment reactions params

func (*IssueGetCommentReactionsParams) WithOwner

WithOwner adds the owner to the issue get comment reactions params

func (*IssueGetCommentReactionsParams) WithRepo

WithRepo adds the repo to the issue get comment reactions params

func (*IssueGetCommentReactionsParams) WithTimeout

WithTimeout adds the timeout to the issue get comment reactions params

func (*IssueGetCommentReactionsParams) WriteToRequest

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

Code gets the status code for the issue get comments and timeline not found response

func (*IssueGetCommentsAndTimelineNotFound) Error

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

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

IsSuccess returns true when this issue get comments and timeline not found response has a 2xx status code

func (*IssueGetCommentsAndTimelineNotFound) 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

Code gets the status code for the issue get comments and timeline o k response

func (*IssueGetCommentsAndTimelineOK) Error

func (*IssueGetCommentsAndTimelineOK) GetPayload

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

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

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

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

WithBefore adds the before to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithContext

WithContext adds the context to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithIndex

WithIndex adds the index to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithLimit

WithLimit adds the limit to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithOwner

WithOwner adds the owner to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithPage

WithPage adds the page to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithRepo

WithRepo adds the repo to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithSince

WithSince adds the since to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WithTimeout

WithTimeout adds the timeout to the issue get comments and timeline params

func (*IssueGetCommentsAndTimelineParams) WriteToRequest

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

type IssueGetCommentsOK struct {
	Payload []*models.Comment
}

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

WithBefore adds the before to the issue get comments params

func (*IssueGetCommentsParams) WithContext

WithContext adds the context to the issue get comments params

func (*IssueGetCommentsParams) WithDefaults

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

WithIndex adds the index to the issue get comments params

func (*IssueGetCommentsParams) WithOwner

WithOwner adds the owner to the issue get comments params

func (*IssueGetCommentsParams) WithRepo

WithRepo adds the repo to the issue get comments params

func (*IssueGetCommentsParams) WithSince

WithSince adds the since to the issue get comments params

func (*IssueGetCommentsParams) WithTimeout

WithTimeout adds the timeout to the issue get comments params

func (*IssueGetCommentsParams) WriteToRequest

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

type IssueGetIssueAttachmentNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue get issue attachment not found response

func (*IssueGetIssueAttachmentNotFound) Error

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

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

WithContext adds the context to the issue get issue attachment params

func (*IssueGetIssueAttachmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue get issue attachment params

func (*IssueGetIssueAttachmentParams) WithIndex

WithIndex adds the index to the issue get issue attachment params

func (*IssueGetIssueAttachmentParams) WithOwner

WithOwner adds the owner to the issue get issue attachment params

func (*IssueGetIssueAttachmentParams) WithRepo

WithRepo adds the repo to the issue get issue attachment params

func (*IssueGetIssueAttachmentParams) WithTimeout

WithTimeout adds the timeout to the issue get issue attachment params

func (*IssueGetIssueAttachmentParams) WriteToRequest

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

type IssueGetIssueCommentAttachmentNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue get issue comment attachment not found response

func (*IssueGetIssueCommentAttachmentNotFound) Error

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

IsCode returns true when this issue get issue comment attachment not found response a status code equal to that given

func (*IssueGetIssueCommentAttachmentNotFound) IsRedirect

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

IsSuccess returns true when this issue get issue comment attachment not found response has a 2xx status code

func (*IssueGetIssueCommentAttachmentNotFound) 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

Code gets the status code for the issue get issue comment attachment o k response

func (*IssueGetIssueCommentAttachmentOK) Error

func (*IssueGetIssueCommentAttachmentOK) GetPayload

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

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

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

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

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

WithAttachmentID adds the attachmentID to the issue get issue comment attachment params

func (*IssueGetIssueCommentAttachmentParams) WithContext

WithContext adds the context to the issue get issue comment attachment params

func (*IssueGetIssueCommentAttachmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue get issue comment attachment params

func (*IssueGetIssueCommentAttachmentParams) WithID

WithID adds the id to the issue get issue comment attachment params

func (*IssueGetIssueCommentAttachmentParams) WithOwner

WithOwner adds the owner to the issue get issue comment attachment params

func (*IssueGetIssueCommentAttachmentParams) WithRepo

WithRepo adds the repo to the issue get issue comment attachment params

func (*IssueGetIssueCommentAttachmentParams) WithTimeout

WithTimeout adds the timeout to the issue get issue comment attachment params

func (*IssueGetIssueCommentAttachmentParams) WriteToRequest

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

type IssueGetIssueOK struct {
	Payload *models.Issue
}

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

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

type IssueGetIssueReactionsForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue get issue reactions forbidden response

func (*IssueGetIssueReactionsForbidden) Error

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

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

Code gets the status code for the issue get issue reactions not found response

func (*IssueGetIssueReactionsNotFound) Error

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

type IssueGetIssueReactionsOK

type IssueGetIssueReactionsOK struct {
	Payload []*models.Reaction
}

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

WithContext adds the context to the issue get issue reactions params

func (*IssueGetIssueReactionsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue get issue reactions params

func (*IssueGetIssueReactionsParams) WithIndex

WithIndex adds the index to the issue get issue reactions params

func (*IssueGetIssueReactionsParams) WithLimit

WithLimit adds the limit to the issue get issue reactions params

func (*IssueGetIssueReactionsParams) WithOwner

WithOwner adds the owner to the issue get issue reactions params

func (*IssueGetIssueReactionsParams) WithPage

WithPage adds the page to the issue get issue reactions params

func (*IssueGetIssueReactionsParams) WithRepo

WithRepo adds the repo to the issue get issue reactions params

func (*IssueGetIssueReactionsParams) WithTimeout

WithTimeout adds the timeout to the issue get issue reactions params

func (*IssueGetIssueReactionsParams) WriteToRequest

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

type IssueGetLabelOK struct {
	Payload *models.Label
}

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

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

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

type IssueGetLabelsOK struct {
	Payload []*models.Label
}

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

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

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

type IssueGetMilestoneOK struct {
	Payload *models.Milestone
}

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

WithContext adds the context to the issue get milestone params

func (*IssueGetMilestoneParams) WithDefaults

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

WithID adds the id to the issue get milestone params

func (*IssueGetMilestoneParams) WithOwner

WithOwner adds the owner to the issue get milestone params

func (*IssueGetMilestoneParams) WithRepo

WithRepo adds the repo to the issue get milestone params

func (*IssueGetMilestoneParams) WithTimeout

WithTimeout adds the timeout to the issue get milestone params

func (*IssueGetMilestoneParams) WriteToRequest

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

Code gets the status code for the issue get milestones list not found response

func (*IssueGetMilestonesListNotFound) Error

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

type IssueGetMilestonesListOK

type IssueGetMilestonesListOK struct {
	Payload []*models.Milestone
}

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

WithContext adds the context to the issue get milestones list params

func (*IssueGetMilestonesListParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue get milestones list params

func (*IssueGetMilestonesListParams) WithLimit

WithLimit adds the limit to the issue get milestones list params

func (*IssueGetMilestonesListParams) WithName

WithName adds the name to the issue get milestones list params

func (*IssueGetMilestonesListParams) WithOwner

WithOwner adds the owner to the issue get milestones list params

func (*IssueGetMilestonesListParams) WithPage

WithPage adds the page to the issue get milestones list params

func (*IssueGetMilestonesListParams) WithRepo

WithRepo adds the repo to the issue get milestones list params

func (*IssueGetMilestonesListParams) WithState

WithState adds the state to the issue get milestones list params

func (*IssueGetMilestonesListParams) WithTimeout

WithTimeout adds the timeout to the issue get milestones list params

func (*IssueGetMilestonesListParams) WriteToRequest

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

Code gets the status code for the issue get repo comments not found response

func (*IssueGetRepoCommentsNotFound) Error

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

type IssueGetRepoCommentsOK

type IssueGetRepoCommentsOK struct {
	Payload []*models.Comment
}

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

WithBefore adds the before to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WithContext

WithContext adds the context to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WithLimit

WithLimit adds the limit to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WithOwner

WithOwner adds the owner to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WithPage

WithPage adds the page to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WithRepo

WithRepo adds the repo to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WithSince

WithSince adds the since to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WithTimeout

WithTimeout adds the timeout to the issue get repo comments params

func (*IssueGetRepoCommentsParams) WriteToRequest

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

type IssueListBlocksOK struct {
	Payload []*models.Issue
}

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

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

WithPage adds the page to the issue list blocks params

func (*IssueListBlocksParams) WithRepo

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

type IssueListIssueAttachmentsNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue list issue attachments not found response

func (*IssueListIssueAttachmentsNotFound) Error

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

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 (*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

WithContext adds the context to the issue list issue attachments params

func (*IssueListIssueAttachmentsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue list issue attachments params

func (*IssueListIssueAttachmentsParams) WithIndex

WithIndex adds the index to the issue list issue attachments params

func (*IssueListIssueAttachmentsParams) WithOwner

WithOwner adds the owner to the issue list issue attachments params

func (*IssueListIssueAttachmentsParams) WithRepo

WithRepo adds the repo to the issue list issue attachments params

func (*IssueListIssueAttachmentsParams) WithTimeout

WithTimeout adds the timeout to the issue list issue attachments params

func (*IssueListIssueAttachmentsParams) WriteToRequest

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

type IssueListIssueCommentAttachmentsNotFound struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue list issue comment attachments not found response

func (*IssueListIssueCommentAttachmentsNotFound) Error

func (*IssueListIssueCommentAttachmentsNotFound) IsClientError

IsClientError returns true when this issue list issue comment attachments not found response has a 4xx status code

func (*IssueListIssueCommentAttachmentsNotFound) IsCode

IsCode returns true when this issue list issue comment attachments not found response a status code equal to that given

func (*IssueListIssueCommentAttachmentsNotFound) IsRedirect

IsRedirect returns true when this issue list issue comment attachments not found response has a 3xx status code

func (*IssueListIssueCommentAttachmentsNotFound) IsServerError

IsServerError returns true when this issue list issue comment attachments not found response has a 5xx status code

func (*IssueListIssueCommentAttachmentsNotFound) IsSuccess

IsSuccess returns true when this issue list issue comment attachments not found response has a 2xx status code

func (*IssueListIssueCommentAttachmentsNotFound) 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

Code gets the status code for the issue list issue comment attachments o k response

func (*IssueListIssueCommentAttachmentsOK) Error

func (*IssueListIssueCommentAttachmentsOK) GetPayload

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

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

IsSuccess returns true when this issue list issue comment attachments o k response has a 2xx status code

func (*IssueListIssueCommentAttachmentsOK) 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

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

SetID adds the id to the issue list issue comment attachments params

func (*IssueListIssueCommentAttachmentsParams) SetOwner

SetOwner adds the owner to the issue list issue comment attachments params

func (*IssueListIssueCommentAttachmentsParams) SetRepo

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

WithContext adds the context to the issue list issue comment attachments params

func (*IssueListIssueCommentAttachmentsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue list issue comment attachments params

func (*IssueListIssueCommentAttachmentsParams) WithID

WithID adds the id to the issue list issue comment attachments params

func (*IssueListIssueCommentAttachmentsParams) WithOwner

WithOwner adds the owner to the issue list issue comment attachments params

func (*IssueListIssueCommentAttachmentsParams) WithRepo

WithRepo adds the repo to the issue list issue comment attachments params

func (*IssueListIssueCommentAttachmentsParams) WithTimeout

WithTimeout adds the timeout to the issue list issue comment attachments params

func (*IssueListIssueCommentAttachmentsParams) WriteToRequest

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

Code gets the status code for the issue list issue dependencies not found response

func (*IssueListIssueDependenciesNotFound) Error

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

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

IsSuccess returns true when this issue list issue dependencies not found response has a 2xx status code

func (*IssueListIssueDependenciesNotFound) String

type IssueListIssueDependenciesOK

type IssueListIssueDependenciesOK struct {
	Payload []*models.Issue
}

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

Code gets the status code for the issue list issue dependencies o k response

func (*IssueListIssueDependenciesOK) Error

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

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

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

WithContext adds the context to the issue list issue dependencies params

func (*IssueListIssueDependenciesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue list issue dependencies params

func (*IssueListIssueDependenciesParams) WithIndex

WithIndex adds the index to the issue list issue dependencies params

func (*IssueListIssueDependenciesParams) WithLimit

WithLimit adds the limit to the issue list issue dependencies params

func (*IssueListIssueDependenciesParams) WithOwner

WithOwner adds the owner to the issue list issue dependencies params

func (*IssueListIssueDependenciesParams) WithPage

WithPage adds the page to the issue list issue dependencies params

func (*IssueListIssueDependenciesParams) WithRepo

WithRepo adds the repo to the issue list issue dependencies params

func (*IssueListIssueDependenciesParams) WithTimeout

WithTimeout adds the timeout to the issue list issue dependencies params

func (*IssueListIssueDependenciesParams) WriteToRequest

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

type IssueListIssuesOK struct {
	Payload []*models.Issue
}

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

WithBefore adds the before to the issue list issues params

func (*IssueListIssuesParams) WithContext

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

WithPage adds the page to the issue list issues params

func (*IssueListIssuesParams) WithQ

WithQ adds the q to the issue list issues params

func (*IssueListIssuesParams) WithRepo

WithRepo adds the repo to the issue list issues params

func (*IssueListIssuesParams) WithSince

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

type IssueListLabelsOK struct {
	Payload []*models.Label
}

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

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

WithPage adds the page to the issue list labels params

func (*IssueListLabelsParams) WithRepo

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

type IssuePostCommentReactionCreated struct {
	Payload *models.Reaction
}

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

Code gets the status code for the issue post comment reaction created response

func (*IssuePostCommentReactionCreated) Error

func (*IssuePostCommentReactionCreated) GetPayload

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

type IssuePostCommentReactionForbidden

type IssuePostCommentReactionForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue post comment reaction forbidden response

func (*IssuePostCommentReactionForbidden) Error

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

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

Code gets the status code for the issue post comment reaction not found response

func (*IssuePostCommentReactionNotFound) Error

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

type IssuePostCommentReactionOK

type IssuePostCommentReactionOK struct {
	Payload *models.Reaction
}

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 (*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

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

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

WithContent adds the content to the issue post comment reaction params

func (*IssuePostCommentReactionParams) WithContext

WithContext adds the context to the issue post comment reaction params

func (*IssuePostCommentReactionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue post comment reaction params

func (*IssuePostCommentReactionParams) WithID

WithID adds the id to the issue post comment reaction params

func (*IssuePostCommentReactionParams) WithOwner

WithOwner adds the owner to the issue post comment reaction params

func (*IssuePostCommentReactionParams) WithRepo

WithRepo adds the repo to the issue post comment reaction params

func (*IssuePostCommentReactionParams) WithTimeout

WithTimeout adds the timeout to the issue post comment reaction params

func (*IssuePostCommentReactionParams) WriteToRequest

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

type IssuePostIssueReactionCreated struct {
	Payload *models.Reaction
}

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

Code gets the status code for the issue post issue reaction created response

func (*IssuePostIssueReactionCreated) Error

func (*IssuePostIssueReactionCreated) GetPayload

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

type IssuePostIssueReactionForbidden

type IssuePostIssueReactionForbidden struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue post issue reaction forbidden response

func (*IssuePostIssueReactionForbidden) Error

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

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

Code gets the status code for the issue post issue reaction not found response

func (*IssuePostIssueReactionNotFound) Error

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

type IssuePostIssueReactionOK

type IssuePostIssueReactionOK struct {
	Payload *models.Reaction
}

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

WithContent adds the content to the issue post issue reaction params

func (*IssuePostIssueReactionParams) WithContext

WithContext adds the context to the issue post issue reaction params

func (*IssuePostIssueReactionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue post issue reaction params

func (*IssuePostIssueReactionParams) WithIndex

WithIndex adds the index to the issue post issue reaction params

func (*IssuePostIssueReactionParams) WithOwner

WithOwner adds the owner to the issue post issue reaction params

func (*IssuePostIssueReactionParams) WithRepo

WithRepo adds the repo to the issue post issue reaction params

func (*IssuePostIssueReactionParams) WithTimeout

WithTimeout adds the timeout to the issue post issue reaction params

func (*IssuePostIssueReactionParams) WriteToRequest

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

Code gets the status code for the issue remove issue blocking not found response

func (*IssueRemoveIssueBlockingNotFound) Error

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

type IssueRemoveIssueBlockingOK

type IssueRemoveIssueBlockingOK struct {
	Payload *models.Issue
}

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 (*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

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

WithBody adds the body to the issue remove issue blocking params

func (*IssueRemoveIssueBlockingParams) WithContext

WithContext adds the context to the issue remove issue blocking params

func (*IssueRemoveIssueBlockingParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue remove issue blocking params

func (*IssueRemoveIssueBlockingParams) WithIndex

WithIndex adds the index to the issue remove issue blocking params

func (*IssueRemoveIssueBlockingParams) WithOwner

WithOwner adds the owner to the issue remove issue blocking params

func (*IssueRemoveIssueBlockingParams) WithRepo

WithRepo adds the repo to the issue remove issue blocking params

func (*IssueRemoveIssueBlockingParams) WithTimeout

WithTimeout adds the timeout to the issue remove issue blocking params

func (*IssueRemoveIssueBlockingParams) WriteToRequest

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

type IssueRemoveIssueDependenciesLocked struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue remove issue dependencies locked response

func (*IssueRemoveIssueDependenciesLocked) Error

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

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

IsSuccess returns true when this issue remove issue dependencies locked response has a 2xx status code

func (*IssueRemoveIssueDependenciesLocked) 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

Code gets the status code for the issue remove issue dependencies not found response

func (*IssueRemoveIssueDependenciesNotFound) Error

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

IsCode returns true when this issue remove issue dependencies not found response a status code equal to that given

func (*IssueRemoveIssueDependenciesNotFound) IsRedirect

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

IsSuccess returns true when this issue remove issue dependencies not found response has a 2xx status code

func (*IssueRemoveIssueDependenciesNotFound) String

type IssueRemoveIssueDependenciesOK

type IssueRemoveIssueDependenciesOK struct {
	Payload *models.Issue
}

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

Code gets the status code for the issue remove issue dependencies o k response

func (*IssueRemoveIssueDependenciesOK) Error

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

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

SetBody adds the body to the issue remove issue dependencies params

func (*IssueRemoveIssueDependenciesParams) SetContext

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

WithBody adds the body to the issue remove issue dependencies params

func (*IssueRemoveIssueDependenciesParams) WithContext

WithContext adds the context to the issue remove issue dependencies params

func (*IssueRemoveIssueDependenciesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the issue remove issue dependencies params

func (*IssueRemoveIssueDependenciesParams) WithIndex

WithIndex adds the index to the issue remove issue dependencies params

func (*IssueRemoveIssueDependenciesParams) WithOwner

WithOwner adds the owner to the issue remove issue dependencies params

func (*IssueRemoveIssueDependenciesParams) WithRepo

WithRepo adds the repo to the issue remove issue dependencies params

func (*IssueRemoveIssueDependenciesParams) WithTimeout

WithTimeout adds the timeout to the issue remove issue dependencies params

func (*IssueRemoveIssueDependenciesParams) WriteToRequest

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

type IssueRemoveLabelForbidden struct {
	Message string
	URL     string
}

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

WithContext adds the context to the issue remove label params

func (*IssueRemoveLabelParams) WithDefaults

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

WithID adds the id to the issue remove label params

func (*IssueRemoveLabelParams) WithIndex

WithIndex adds the index to the issue remove label params

func (*IssueRemoveLabelParams) WithOwner

WithOwner adds the owner to the issue remove label params

func (*IssueRemoveLabelParams) WithRepo

WithRepo adds the repo to the issue remove label params

func (*IssueRemoveLabelParams) WithTimeout

WithTimeout adds the timeout to the issue remove label params

func (*IssueRemoveLabelParams) WriteToRequest

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

type IssueRemoveLabelUnprocessableEntity struct {
	Message string
	URL     string
}

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

Code gets the status code for the issue remove label unprocessable entity response

func (*IssueRemoveLabelUnprocessableEntity) Error

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

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

IsSuccess returns true when this issue remove label unprocessable entity response has a 2xx status code

func (*IssueRemoveLabelUnprocessableEntity) String

type IssueReplaceLabelsForbidden

type IssueReplaceLabelsForbidden struct {
	Message string
	URL     string
}

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 (*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 (*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

type IssueReplaceLabelsOK struct {
	Payload []*models.Label
}

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

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

WithBody adds the body to the issue replace labels params

func (*IssueReplaceLabelsParams) WithContext

WithContext adds the context to the issue replace labels params

func (*IssueReplaceLabelsParams) WithDefaults

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

WithIndex adds the index to the issue replace labels params

func (*IssueReplaceLabelsParams) WithOwner

WithOwner adds the owner to the issue replace labels params

func (*IssueReplaceLabelsParams) WithRepo

WithRepo adds the repo to the issue replace labels params

func (*IssueReplaceLabelsParams) WithTimeout

WithTimeout adds the timeout to the issue replace labels params

func (*IssueReplaceLabelsParams) WriteToRequest

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

type IssueResetTimeBadRequest struct {
	Message string
	URL     string
}

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

type IssueResetTimeForbidden struct {
	Message string
	URL     string
}

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

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

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

type IssueSearchIssuesOK struct {
	Payload []*models.Issue
}

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

WithBefore adds the before to the issue search issues params

func (*IssueSearchIssuesParams) WithContext

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

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

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

WithOwner adds the owner to the issue search issues params

func (*IssueSearchIssuesParams) WithPage

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

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

WithSince adds the since to the issue search issues params

func (*IssueSearchIssuesParams) WithState

WithState adds the state to the issue search issues params

func (*IssueSearchIssuesParams) WithTeam

WithTeam adds the team to the issue search issues params

func (*IssueSearchIssuesParams) WithTimeout

WithTimeout adds the timeout to the issue search issues params

func (*IssueSearchIssuesParams) WithType

WithType adds the typeVar to the issue search issues params

func (*IssueSearchIssuesParams) WriteToRequest

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 (*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 (*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

Code gets the status code for the issue start stop watch forbidden response

func (*IssueStartStopWatchForbidden) Error

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

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 (*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

WithContext adds the context to the issue start stop watch params

func (*IssueStartStopWatchParams) WithDefaults

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

WithIndex adds the index to the issue start stop watch params

func (*IssueStartStopWatchParams) WithOwner

WithOwner adds the owner to the issue start stop watch params

func (*IssueStartStopWatchParams) WithRepo

WithRepo adds the repo to the issue start stop watch params

func (*IssueStartStopWatchParams) WithTimeout

WithTimeout adds the timeout to the issue start stop watch params

func (*IssueStartStopWatchParams) WriteToRequest

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 (*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 (*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 (*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

WithContext adds the context to the issue stop stop watch params

func (*IssueStopStopWatchParams) WithDefaults

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

WithIndex adds the index to the issue stop stop watch params

func (*IssueStopStopWatchParams) WithOwner

WithOwner adds the owner to the issue stop stop watch params

func (*IssueStopStopWatchParams) WithRepo

WithRepo adds the repo to the issue stop stop watch params

func (*IssueStopStopWatchParams) WithTimeout

WithTimeout adds the timeout to the issue stop stop watch params

func (*IssueStopStopWatchParams) WriteToRequest

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 (*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

type IssueSubscriptionsOK struct {
	Payload []*models.User
}

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

WithContext adds the context to the issue subscriptions params

func (*IssueSubscriptionsParams) WithDefaults

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

WithIndex adds the index to the issue subscriptions params

func (*IssueSubscriptionsParams) WithLimit

WithLimit adds the limit to the issue subscriptions params

func (*IssueSubscriptionsParams) WithOwner

WithOwner adds the owner to the issue subscriptions params

func (*IssueSubscriptionsParams) WithPage

WithPage adds the page to the issue subscriptions params

func (*IssueSubscriptionsParams) WithRepo

WithRepo adds the repo to the issue subscriptions params

func (*IssueSubscriptionsParams) WithTimeout

WithTimeout adds the timeout to the issue subscriptions params

func (*IssueSubscriptionsParams) WriteToRequest

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

WithBefore adds the before to the issue tracked times params

func (*IssueTrackedTimesParams) WithContext

WithContext adds the context to the issue tracked times params

func (*IssueTrackedTimesParams) WithDefaults

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

WithIndex adds the index to the issue tracked times params

func (*IssueTrackedTimesParams) WithLimit

WithLimit adds the limit to the issue tracked times params

func (*IssueTrackedTimesParams) WithOwner

WithOwner adds the owner to the issue tracked times params

func (*IssueTrackedTimesParams) WithPage

WithPage adds the page to the issue tracked times params

func (*IssueTrackedTimesParams) WithRepo

WithRepo adds the repo to the issue tracked times params

func (*IssueTrackedTimesParams) WithSince

WithSince adds the since to the issue tracked times params

func (*IssueTrackedTimesParams) WithTimeout

WithTimeout adds the timeout to the issue tracked times params

func (*IssueTrackedTimesParams) WithUser

WithUser adds the user to the issue tracked times params

func (*IssueTrackedTimesParams) WriteToRequest

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

type MoveIssuePinForbidden struct {
	Message string
	URL     string
}

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

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

type PinIssueForbidden struct {
	Message string
	URL     string
}

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

type UnpinIssueForbidden struct {
	Message string
	URL     string
}

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

Jump to

Keyboard shortcuts

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