issues package - gitee.com/imjoey/ge/v5/pkg/giteeapi/issues - Go Packages

issues

package
v5.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for issues API.

func (*Client) DeleteV5ReposOwnerRepoIssuesCommentsID

func (a *Client) DeleteV5ReposOwnerRepoIssuesCommentsID(params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)

DeleteV5ReposOwnerRepoIssuesCommentsID删除s issue某条评论.

删除Issue某条评论.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.DeleteV5ReposOwnerRepoIssuesCommentsIDContext instead.

func (*Client) DeleteV5ReposOwnerRepoIssuesCommentsIDContext added in v5.14.0

func (a *Client) DeleteV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)

DeleteV5ReposOwnerRepoIssuesCommentsIDContext删除s issue某条评论.

删除Issue某条评论.

Do not use the deprecated [DeleteV5ReposOwnerRepoIssuesCommentsIDParams.Context] with this method: it would be ignored.

func (*Client) GetV5EnterprisesEnterpriseIssues

func (a *Client) GetV5EnterprisesEnterpriseIssues(params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)

GetV5EnterprisesEnterpriseIssues获取某个企业的所有s issues.

获取某个企业的所有Issues.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesContext instead.

func (*Client) GetV5EnterprisesEnterpriseIssuesContext added in v5.14.0

func (a *Client) GetV5EnterprisesEnterpriseIssuesContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)

GetV5EnterprisesEnterpriseIssuesContext获取某个企业的所有s issues.

获取某个企业的所有Issues.

Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesParams.Context] with this method: it would be ignored.

func (*Client) GetV5EnterprisesEnterpriseIssuesNumber

func (a *Client) GetV5EnterprisesEnterpriseIssuesNumber(params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)

GetV5EnterprisesEnterpriseIssuesNumber获取企业的某个s issue.

获取企业的某个Issue.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesNumberContext instead.

func (*Client) GetV5EnterprisesEnterpriseIssuesNumberComments

func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberComments(params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)

GetV5EnterprisesEnterpriseIssuesNumberComments获取企业某个s issue所有评论.

获取企业某个Issue所有评论.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesNumberCommentsContext instead.

func (*Client) GetV5EnterprisesEnterpriseIssuesNumberCommentsContext added in v5.14.0

func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberCommentsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)

GetV5EnterprisesEnterpriseIssuesNumberCommentsContext获取企业某个s issue所有评论.

获取企业某个Issue所有评论.

Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesNumberCommentsParams.Context] with this method: it would be ignored.

func (*Client) GetV5EnterprisesEnterpriseIssuesNumberContext added in v5.14.0

func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)

GetV5EnterprisesEnterpriseIssuesNumberContext获取企业的某个s issue.

获取企业的某个Issue.

Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesNumberParams.Context] with this method: it would be ignored.

func (*Client) GetV5EnterprisesEnterpriseIssuesNumberLabels

func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberLabels(params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)

GetV5EnterprisesEnterpriseIssuesNumberLabels获取企业某个s issue所有标签.

获取企业某个Issue所有标签.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesNumberLabelsContext instead.

func (*Client) GetV5EnterprisesEnterpriseIssuesNumberLabelsContext added in v5.14.0

func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberLabelsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)

GetV5EnterprisesEnterpriseIssuesNumberLabelsContext获取企业某个s issue所有标签.

获取企业某个Issue所有标签.

Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesNumberLabelsParams.Context] with this method: it would be ignored.

func (*Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequests

func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequests(params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)

GetV5EnterprisesEnterpriseIssuesNumberPullRequests获取企业s issue 关联的 pull requests.

获取企业 issue 关联的 Pull Requests.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext instead.

func (*Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext added in v5.14.0

func (a *Client) GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)

GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext获取企业s issue 关联的 pull requests.

获取企业 issue 关联的 Pull Requests.

Do not use the deprecated [GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams.Context] with this method: it would be ignored.

func (*Client) GetV5Issues

func (a *Client) GetV5Issues(params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)

GetV5Issues获取当前授权用户的所有s issues.

获取当前授权用户的所有Issues.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5IssuesContext instead.

func (*Client) GetV5IssuesContext added in v5.14.0

func (a *Client) GetV5IssuesContext(ctx context.Context, params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)

GetV5IssuesContext获取当前授权用户的所有s issues.

获取当前授权用户的所有Issues.

Do not use the deprecated [GetV5IssuesParams.Context] with this method: it would be ignored.

func (*Client) GetV5OrgsOrgIssues

func (a *Client) GetV5OrgsOrgIssues(params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)

GetV5OrgsOrgIssues获取当前用户某个组织的s issues.

获取当前用户某个组织的Issues.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5OrgsOrgIssuesContext instead.

func (*Client) GetV5OrgsOrgIssuesContext added in v5.14.0

func (a *Client) GetV5OrgsOrgIssuesContext(ctx context.Context, params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)

GetV5OrgsOrgIssuesContext获取当前用户某个组织的s issues.

获取当前用户某个组织的Issues.

Do not use the deprecated [GetV5OrgsOrgIssuesParams.Context] with this method: it would be ignored.

func (*Client) GetV5ReposOwnerIssuesNumberOperateLogs

func (a *Client) GetV5ReposOwnerIssuesNumberOperateLogs(params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)

GetV5ReposOwnerIssuesNumberOperateLogs获取某个s issue下的操作日志.

获取某个Issue下的操作日志.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5ReposOwnerIssuesNumberOperateLogsContext instead.

func (*Client) GetV5ReposOwnerIssuesNumberOperateLogsContext added in v5.14.0

func (a *Client) GetV5ReposOwnerIssuesNumberOperateLogsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)

GetV5ReposOwnerIssuesNumberOperateLogsContext获取某个s issue下的操作日志.

获取某个Issue下的操作日志.

Do not use the deprecated [GetV5ReposOwnerIssuesNumberOperateLogsParams.Context] with this method: it would be ignored.

func (*Client) GetV5ReposOwnerIssuesNumberPullRequests

func (a *Client) GetV5ReposOwnerIssuesNumberPullRequests(params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)

GetV5ReposOwnerIssuesNumberPullRequests获取s issue 关联的 pull requests.

获取 issue 关联的 Pull Requests.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5ReposOwnerIssuesNumberPullRequestsContext instead.

func (*Client) GetV5ReposOwnerIssuesNumberPullRequestsContext added in v5.14.0

func (a *Client) GetV5ReposOwnerIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)

GetV5ReposOwnerIssuesNumberPullRequestsContext获取s issue 关联的 pull requests.

获取 issue 关联的 Pull Requests.

Do not use the deprecated [GetV5ReposOwnerIssuesNumberPullRequestsParams.Context] with this method: it would be ignored.

func (*Client) GetV5ReposOwnerRepoIssues

func (a *Client) GetV5ReposOwnerRepoIssues(params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)

GetV5ReposOwnerRepoIssues仓库的所有s issues.

仓库的所有Issues.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesContext instead.

func (*Client) GetV5ReposOwnerRepoIssuesComments

func (a *Client) GetV5ReposOwnerRepoIssuesComments(params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)

GetV5ReposOwnerRepoIssuesComments获取仓库所有s issue的评论.

获取仓库所有Issue的评论.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesCommentsContext instead.

func (*Client) GetV5ReposOwnerRepoIssuesCommentsContext added in v5.14.0

func (a *Client) GetV5ReposOwnerRepoIssuesCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)

GetV5ReposOwnerRepoIssuesCommentsContext获取仓库所有s issue的评论.

获取仓库所有Issue的评论.

Do not use the deprecated [GetV5ReposOwnerRepoIssuesCommentsParams.Context] with this method: it would be ignored.

func (*Client) GetV5ReposOwnerRepoIssuesCommentsID

func (a *Client) GetV5ReposOwnerRepoIssuesCommentsID(params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)

GetV5ReposOwnerRepoIssuesCommentsID获取仓库s issue某条评论.

获取仓库Issue某条评论.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesCommentsIDContext instead.

func (*Client) GetV5ReposOwnerRepoIssuesCommentsIDContext added in v5.14.0

func (a *Client) GetV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)

GetV5ReposOwnerRepoIssuesCommentsIDContext获取仓库s issue某条评论.

获取仓库Issue某条评论.

Do not use the deprecated [GetV5ReposOwnerRepoIssuesCommentsIDParams.Context] with this method: it would be ignored.

func (*Client) GetV5ReposOwnerRepoIssuesContext added in v5.14.0

func (a *Client) GetV5ReposOwnerRepoIssuesContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)

GetV5ReposOwnerRepoIssuesContext仓库的所有s issues.

仓库的所有Issues.

Do not use the deprecated [GetV5ReposOwnerRepoIssuesParams.Context] with this method: it would be ignored.

func (*Client) GetV5ReposOwnerRepoIssuesNumber

func (a *Client) GetV5ReposOwnerRepoIssuesNumber(params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)

GetV5ReposOwnerRepoIssuesNumber仓库的某个s issue.

仓库的某个Issue.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesNumberContext instead.

func (*Client) GetV5ReposOwnerRepoIssuesNumberComments

func (a *Client) GetV5ReposOwnerRepoIssuesNumberComments(params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)

GetV5ReposOwnerRepoIssuesNumberComments获取仓库某个s issue所有的评论.

获取仓库某个Issue所有的评论.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5ReposOwnerRepoIssuesNumberCommentsContext instead.

func (*Client) GetV5ReposOwnerRepoIssuesNumberCommentsContext added in v5.14.0

func (a *Client) GetV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)

GetV5ReposOwnerRepoIssuesNumberCommentsContext获取仓库某个s issue所有的评论.

获取仓库某个Issue所有的评论.

Do not use the deprecated [GetV5ReposOwnerRepoIssuesNumberCommentsParams.Context] with this method: it would be ignored.

func (*Client) GetV5ReposOwnerRepoIssuesNumberContext added in v5.14.0

func (a *Client) GetV5ReposOwnerRepoIssuesNumberContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)

GetV5ReposOwnerRepoIssuesNumberContext仓库的某个s issue.

仓库的某个Issue.

Do not use the deprecated [GetV5ReposOwnerRepoIssuesNumberParams.Context] with this method: it would be ignored.

func (*Client) GetV5UserIssues

func (a *Client) GetV5UserIssues(params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)

GetV5UserIssues获取授权用户的所有s issues.

获取授权用户的所有Issues.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetV5UserIssuesContext instead.

func (*Client) GetV5UserIssuesContext added in v5.14.0

func (a *Client) GetV5UserIssuesContext(ctx context.Context, params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)

GetV5UserIssuesContext获取授权用户的所有s issues.

获取授权用户的所有Issues.

Do not use the deprecated [GetV5UserIssuesParams.Context] with this method: it would be ignored.

func (*Client) PatchV5EnterprisesEnterpriseIssuesNumber

func (a *Client) PatchV5EnterprisesEnterpriseIssuesNumber(params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)

PatchV5EnterprisesEnterpriseIssuesNumber更新企业的某个s issue.

更新企业的某个Issue.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.PatchV5EnterprisesEnterpriseIssuesNumberContext instead.

func (*Client) PatchV5EnterprisesEnterpriseIssuesNumberContext added in v5.14.0

func (a *Client) PatchV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)

PatchV5EnterprisesEnterpriseIssuesNumberContext更新企业的某个s issue.

更新企业的某个Issue.

Do not use the deprecated [PatchV5EnterprisesEnterpriseIssuesNumberParams.Context] with this method: it would be ignored.

func (*Client) PatchV5ReposOwnerIssuesNumber

func (a *Client) PatchV5ReposOwnerIssuesNumber(params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)

PatchV5ReposOwnerIssuesNumber更新s issue.

更新Issue.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.PatchV5ReposOwnerIssuesNumberContext instead.

func (*Client) PatchV5ReposOwnerIssuesNumberContext added in v5.14.0

func (a *Client) PatchV5ReposOwnerIssuesNumberContext(ctx context.Context, params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)

PatchV5ReposOwnerIssuesNumberContext更新s issue.

更新Issue.

Do not use the deprecated [PatchV5ReposOwnerIssuesNumberParams.Context] with this method: it would be ignored.

func (*Client) PatchV5ReposOwnerRepoIssuesCommentsID

func (a *Client) PatchV5ReposOwnerRepoIssuesCommentsID(params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)

PatchV5ReposOwnerRepoIssuesCommentsID更新s issue某条评论.

更新Issue某条评论.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.PatchV5ReposOwnerRepoIssuesCommentsIDContext instead.

func (*Client) PatchV5ReposOwnerRepoIssuesCommentsIDContext added in v5.14.0

func (a *Client) PatchV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)

PatchV5ReposOwnerRepoIssuesCommentsIDContext更新s issue某条评论.

更新Issue某条评论.

Do not use the deprecated [PatchV5ReposOwnerRepoIssuesCommentsIDParams.Context] with this method: it would be ignored.

func (*Client) PostV5ReposOwnerIssues

func (a *Client) PostV5ReposOwnerIssues(params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)

PostV5ReposOwnerIssues创建s issue.

创建Issue.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.PostV5ReposOwnerIssuesContext instead.

func (*Client) PostV5ReposOwnerIssuesContext added in v5.14.0

func (a *Client) PostV5ReposOwnerIssuesContext(ctx context.Context, params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)

PostV5ReposOwnerIssuesContext创建s issue.

创建Issue.

Do not use the deprecated [PostV5ReposOwnerIssuesParams.Context] with this method: it would be ignored.

func (*Client) PostV5ReposOwnerRepoIssuesNumberComments

func (a *Client) PostV5ReposOwnerRepoIssuesNumberComments(params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)

PostV5ReposOwnerRepoIssuesNumberComments创建某个s issue评论.

创建某个Issue评论.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.PostV5ReposOwnerRepoIssuesNumberCommentsContext instead.

func (*Client) PostV5ReposOwnerRepoIssuesNumberCommentsContext added in v5.14.0

func (a *Client) PostV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)

PostV5ReposOwnerRepoIssuesNumberCommentsContext创建某个s issue评论.

创建某个Issue评论.

Do not use the deprecated [PostV5ReposOwnerRepoIssuesNumberCommentsParams.Context] with this method: it would be ignored.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ContextualTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {

	// DeleteV5ReposOwnerRepoIssuesCommentsID 删除 issue某条评论.
	DeleteV5ReposOwnerRepoIssuesCommentsID(params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)

	// DeleteV5ReposOwnerRepoIssuesCommentsIDContext 删除 issue某条评论.
	DeleteV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *DeleteV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent, error)

	// GetV5EnterprisesEnterpriseIssues 获取某个企业的所有 issues.
	GetV5EnterprisesEnterpriseIssues(params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)

	// GetV5EnterprisesEnterpriseIssuesContext 获取某个企业的所有 issues.
	GetV5EnterprisesEnterpriseIssuesContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesOK, error)

	// GetV5EnterprisesEnterpriseIssuesNumber 获取企业的某个 issue.
	GetV5EnterprisesEnterpriseIssuesNumber(params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)

	// GetV5EnterprisesEnterpriseIssuesNumberContext 获取企业的某个 issue.
	GetV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberOK, error)

	// GetV5EnterprisesEnterpriseIssuesNumberComments 获取企业某个 issue所有评论.
	GetV5EnterprisesEnterpriseIssuesNumberComments(params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)

	// GetV5EnterprisesEnterpriseIssuesNumberCommentsContext 获取企业某个 issue所有评论.
	GetV5EnterprisesEnterpriseIssuesNumberCommentsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK, error)

	// GetV5EnterprisesEnterpriseIssuesNumberLabels 获取企业某个 issue所有标签.
	GetV5EnterprisesEnterpriseIssuesNumberLabels(params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)

	// GetV5EnterprisesEnterpriseIssuesNumberLabelsContext 获取企业某个 issue所有标签.
	GetV5EnterprisesEnterpriseIssuesNumberLabelsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK, error)

	// GetV5EnterprisesEnterpriseIssuesNumberPullRequests 获取企业 issue 关联的 pull requests.
	GetV5EnterprisesEnterpriseIssuesNumberPullRequests(params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)

	// GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext 获取企业 issue 关联的 pull requests.
	GetV5EnterprisesEnterpriseIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK, error)

	// GetV5Issues 获取当前授权用户的所有 issues.
	GetV5Issues(params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)

	// GetV5IssuesContext 获取当前授权用户的所有 issues.
	GetV5IssuesContext(ctx context.Context, params *GetV5IssuesParams, opts ...ClientOption) (*GetV5IssuesOK, error)

	// GetV5OrgsOrgIssues 获取当前用户某个组织的 issues.
	GetV5OrgsOrgIssues(params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)

	// GetV5OrgsOrgIssuesContext 获取当前用户某个组织的 issues.
	GetV5OrgsOrgIssuesContext(ctx context.Context, params *GetV5OrgsOrgIssuesParams, opts ...ClientOption) (*GetV5OrgsOrgIssuesOK, error)

	// GetV5ReposOwnerIssuesNumberOperateLogs 获取某个 issue下的操作日志.
	GetV5ReposOwnerIssuesNumberOperateLogs(params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)

	// GetV5ReposOwnerIssuesNumberOperateLogsContext 获取某个 issue下的操作日志.
	GetV5ReposOwnerIssuesNumberOperateLogsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberOperateLogsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberOperateLogsOK, error)

	// GetV5ReposOwnerIssuesNumberPullRequests 获取 issue 关联的 pull requests.
	GetV5ReposOwnerIssuesNumberPullRequests(params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)

	// GetV5ReposOwnerIssuesNumberPullRequestsContext 获取 issue 关联的 pull requests.
	GetV5ReposOwnerIssuesNumberPullRequestsContext(ctx context.Context, params *GetV5ReposOwnerIssuesNumberPullRequestsParams, opts ...ClientOption) (*GetV5ReposOwnerIssuesNumberPullRequestsOK, error)

	// GetV5ReposOwnerRepoIssues 仓库的所有 issues.
	GetV5ReposOwnerRepoIssues(params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)

	// GetV5ReposOwnerRepoIssuesContext 仓库的所有 issues.
	GetV5ReposOwnerRepoIssuesContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesOK, error)

	// GetV5ReposOwnerRepoIssuesComments 获取仓库所有 issue的评论.
	GetV5ReposOwnerRepoIssuesComments(params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)

	// GetV5ReposOwnerRepoIssuesCommentsContext 获取仓库所有 issue的评论.
	GetV5ReposOwnerRepoIssuesCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsOK, error)

	// GetV5ReposOwnerRepoIssuesCommentsID 获取仓库 issue某条评论.
	GetV5ReposOwnerRepoIssuesCommentsID(params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)

	// GetV5ReposOwnerRepoIssuesCommentsIDContext 获取仓库 issue某条评论.
	GetV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesCommentsIDOK, error)

	// GetV5ReposOwnerRepoIssuesNumber 仓库的某个 issue.
	GetV5ReposOwnerRepoIssuesNumber(params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)

	// GetV5ReposOwnerRepoIssuesNumberContext 仓库的某个 issue.
	GetV5ReposOwnerRepoIssuesNumberContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberOK, error)

	// GetV5ReposOwnerRepoIssuesNumberComments 获取仓库某个 issue所有的评论.
	GetV5ReposOwnerRepoIssuesNumberComments(params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)

	// GetV5ReposOwnerRepoIssuesNumberCommentsContext 获取仓库某个 issue所有的评论.
	GetV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *GetV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*GetV5ReposOwnerRepoIssuesNumberCommentsOK, error)

	// GetV5UserIssues 获取授权用户的所有 issues.
	GetV5UserIssues(params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)

	// GetV5UserIssuesContext 获取授权用户的所有 issues.
	GetV5UserIssuesContext(ctx context.Context, params *GetV5UserIssuesParams, opts ...ClientOption) (*GetV5UserIssuesOK, error)

	// PatchV5EnterprisesEnterpriseIssuesNumber 更新企业的某个 issue.
	PatchV5EnterprisesEnterpriseIssuesNumber(params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)

	// PatchV5EnterprisesEnterpriseIssuesNumberContext 更新企业的某个 issue.
	PatchV5EnterprisesEnterpriseIssuesNumberContext(ctx context.Context, params *PatchV5EnterprisesEnterpriseIssuesNumberParams, opts ...ClientOption) (*PatchV5EnterprisesEnterpriseIssuesNumberOK, error)

	// PatchV5ReposOwnerIssuesNumber 更新 issue.
	PatchV5ReposOwnerIssuesNumber(params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)

	// PatchV5ReposOwnerIssuesNumberContext 更新 issue.
	PatchV5ReposOwnerIssuesNumberContext(ctx context.Context, params *PatchV5ReposOwnerIssuesNumberParams, opts ...ClientOption) (*PatchV5ReposOwnerIssuesNumberOK, error)

	// PatchV5ReposOwnerRepoIssuesCommentsID 更新 issue某条评论.
	PatchV5ReposOwnerRepoIssuesCommentsID(params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)

	// PatchV5ReposOwnerRepoIssuesCommentsIDContext 更新 issue某条评论.
	PatchV5ReposOwnerRepoIssuesCommentsIDContext(ctx context.Context, params *PatchV5ReposOwnerRepoIssuesCommentsIDParams, opts ...ClientOption) (*PatchV5ReposOwnerRepoIssuesCommentsIDOK, error)

	// PostV5ReposOwnerIssues 创建 issue.
	PostV5ReposOwnerIssues(params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)

	// PostV5ReposOwnerIssuesContext 创建 issue.
	PostV5ReposOwnerIssuesContext(ctx context.Context, params *PostV5ReposOwnerIssuesParams, opts ...ClientOption) (*PostV5ReposOwnerIssuesCreated, error)

	// PostV5ReposOwnerRepoIssuesNumberComments 创建某个 issue评论.
	PostV5ReposOwnerRepoIssuesNumberComments(params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)

	// PostV5ReposOwnerRepoIssuesNumberCommentsContext 创建某个 issue评论.
	PostV5ReposOwnerRepoIssuesNumberCommentsContext(ctx context.Context, params *PostV5ReposOwnerRepoIssuesNumberCommentsParams, opts ...ClientOption) (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new issues API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new issues API client with basic auth credentials.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new issues API client with a bearer token for authentication.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent

type DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent struct {
}

DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent describes a response with status code 204, with default header values.

删除Issue某条评论

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDNoContent

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDNoContent() *DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent

NewDeleteV5ReposOwnerRepoIssuesCommentsIDNoContent creates a DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent with default headers values

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) Code

Code gets the status code for the delete v5 repos owner repo issues comments Id no content response

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) Error

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsClientError

IsClientError returns true when this delete v5 repos owner repo issues comments Id no content response has a 4xx status code

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsCode

IsCode returns true when this delete v5 repos owner repo issues comments Id no content response a status code equal to that given

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsRedirect

IsRedirect returns true when this delete v5 repos owner repo issues comments Id no content response has a 3xx status code

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsServerError

IsServerError returns true when this delete v5 repos owner repo issues comments Id no content response has a 5xx status code

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) IsSuccess

IsSuccess returns true when this delete v5 repos owner repo issues comments Id no content response has a 2xx status code

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDNoContent) String

type DeleteV5ReposOwnerRepoIssuesCommentsIDParams

type DeleteV5ReposOwnerRepoIssuesCommentsIDParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* ID.

	   评论的ID

	   Format: int32
	*/
	ID int32

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Repo.

	   仓库路径(path)
	*/
	Repo string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteV5ReposOwnerRepoIssuesCommentsIDParams contains all the parameters to send to the API endpoint

for the delete v5 repos owner repo issues comments Id operation.

Typically these are written to a http.Request.

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParams

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParams() *DeleteV5ReposOwnerRepoIssuesCommentsIDParams

NewDeleteV5ReposOwnerRepoIssuesCommentsIDParams creates a new DeleteV5ReposOwnerRepoIssuesCommentsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithContext deprecated

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams

NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithContext creates a new DeleteV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of DeleteV5ReposOwnerRepoIssuesCommentsIDParams.

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams

NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient creates a new DeleteV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout

func NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *DeleteV5ReposOwnerRepoIssuesCommentsIDParams

NewDeleteV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout creates a new DeleteV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a timeout on a request.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken

func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetContext deprecated

SetContext adds the context to the delete v5 repos owner repo issues comments Id params.

Deprecated: use the operation call with context to pass the context instead of DeleteV5ReposOwnerRepoIssuesCommentsIDParams.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults

SetDefaults hydrates default values in the delete v5 repos owner repo issues comments Id params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient

func (o *DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetID

SetID adds the id to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner

SetOwner adds the owner to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo

SetRepo adds the repo to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout

SetTimeout adds the timeout to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken

WithAccessToken adds the accessToken to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithContext deprecated

WithContext adds the context to the delete v5 repos owner repo issues comments Id params.

Deprecated: use the operation call with context to pass the context instead of DeleteV5ReposOwnerRepoIssuesCommentsIDParams.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults

WithDefaults hydrates default values in the delete v5 repos owner repo issues comments Id params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithID

WithID adds the id to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner

WithOwner adds the owner to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo

WithRepo adds the repo to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout

WithTimeout adds the timeout to the delete v5 repos owner repo issues comments Id params.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type DeleteV5ReposOwnerRepoIssuesCommentsIDReader

type DeleteV5ReposOwnerRepoIssuesCommentsIDReader struct {
	// contains filtered or unexported fields
}

DeleteV5ReposOwnerRepoIssuesCommentsIDReader is a Reader for the DeleteV5ReposOwnerRepoIssuesCommentsID structure.

func (*DeleteV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5EnterprisesEnterpriseIssuesNumberCommentsOK

type GetV5EnterprisesEnterpriseIssuesNumberCommentsOK struct {
	Payload []*models.Note
}

GetV5EnterprisesEnterpriseIssuesNumberCommentsOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsOK

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsOK() *GetV5EnterprisesEnterpriseIssuesNumberCommentsOK

NewGetV5EnterprisesEnterpriseIssuesNumberCommentsOK creates a GetV5EnterprisesEnterpriseIssuesNumberCommentsOK with default headers values

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) Code

Code gets the status code for the get v5 enterprises enterprise issues number comments o k response

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) Error

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) GetPayload

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsClientError

IsClientError returns true when this get v5 enterprises enterprise issues number comments o k response has a 4xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsCode

IsCode returns true when this get v5 enterprises enterprise issues number comments o k response a status code equal to that given

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsRedirect

IsRedirect returns true when this get v5 enterprises enterprise issues number comments o k response has a 3xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsServerError

IsServerError returns true when this get v5 enterprises enterprise issues number comments o k response has a 5xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) IsSuccess

IsSuccess returns true when this get v5 enterprises enterprise issues number comments o k response has a 2xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsOK) String

type GetV5EnterprisesEnterpriseIssuesNumberCommentsParams

type GetV5EnterprisesEnterpriseIssuesNumberCommentsParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Enterprise.

	   企业的路径(path/login)
	*/
	Enterprise string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesNumberCommentsParams contains all the parameters to send to the API endpoint

for the get v5 enterprises enterprise issues number comments operation.

Typically these are written to a http.Request.

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParams

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParams() *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams

NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParams creates a new GetV5EnterprisesEnterpriseIssuesNumberCommentsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithContext deprecated

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams

NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesNumberCommentsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberCommentsParams.

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithHTTPClient

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams

NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesNumberCommentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithTimeout

func NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams

NewGetV5EnterprisesEnterpriseIssuesNumberCommentsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesNumberCommentsParams object with the ability to set a timeout on a request.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetAccessToken

func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetContext deprecated

SetContext adds the context to the get v5 enterprises enterprise issues number comments params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberCommentsParams.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetDefaults

SetDefaults hydrates default values in the get v5 enterprises enterprise issues number comments params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetEnterprise

func (o *GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetEnterprise(enterprise string)

SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetNumber

SetNumber adds the number to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetPage

SetPage adds the page to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetPerPage

SetPerPage adds the perPage to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) SetTimeout

SetTimeout adds the timeout to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithContext deprecated

WithContext adds the context to the get v5 enterprises enterprise issues number comments params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberCommentsParams.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithDefaults

WithDefaults hydrates default values in the get v5 enterprises enterprise issues number comments params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithEnterprise

WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithNumber

WithNumber adds the number to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithPage

WithPage adds the page to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithPerPage

WithPerPage adds the perPage to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WithTimeout

WithTimeout adds the timeout to the get v5 enterprises enterprise issues number comments params.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5EnterprisesEnterpriseIssuesNumberCommentsReader

type GetV5EnterprisesEnterpriseIssuesNumberCommentsReader struct {
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesNumberCommentsReader is a Reader for the GetV5EnterprisesEnterpriseIssuesNumberComments structure.

func (*GetV5EnterprisesEnterpriseIssuesNumberCommentsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5EnterprisesEnterpriseIssuesNumberLabelsOK

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

GetV5EnterprisesEnterpriseIssuesNumberLabelsOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsOK

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsOK() *GetV5EnterprisesEnterpriseIssuesNumberLabelsOK

NewGetV5EnterprisesEnterpriseIssuesNumberLabelsOK creates a GetV5EnterprisesEnterpriseIssuesNumberLabelsOK with default headers values

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) Code

Code gets the status code for the get v5 enterprises enterprise issues number labels o k response

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) Error

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) GetPayload

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsClientError

IsClientError returns true when this get v5 enterprises enterprise issues number labels o k response has a 4xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsCode

IsCode returns true when this get v5 enterprises enterprise issues number labels o k response a status code equal to that given

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsRedirect

IsRedirect returns true when this get v5 enterprises enterprise issues number labels o k response has a 3xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsServerError

IsServerError returns true when this get v5 enterprises enterprise issues number labels o k response has a 5xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) IsSuccess

IsSuccess returns true when this get v5 enterprises enterprise issues number labels o k response has a 2xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsOK) String

type GetV5EnterprisesEnterpriseIssuesNumberLabelsParams

type GetV5EnterprisesEnterpriseIssuesNumberLabelsParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Enterprise.

	   企业的路径(path/login)
	*/
	Enterprise string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesNumberLabelsParams contains all the parameters to send to the API endpoint

for the get v5 enterprises enterprise issues number labels operation.

Typically these are written to a http.Request.

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParams

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParams() *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams

NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParams creates a new GetV5EnterprisesEnterpriseIssuesNumberLabelsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithContext deprecated

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams

NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesNumberLabelsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberLabelsParams.

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithHTTPClient

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams

NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesNumberLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithTimeout

func NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams

NewGetV5EnterprisesEnterpriseIssuesNumberLabelsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesNumberLabelsParams object with the ability to set a timeout on a request.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetAccessToken

func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetContext deprecated

SetContext adds the context to the get v5 enterprises enterprise issues number labels params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberLabelsParams.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetDefaults

SetDefaults hydrates default values in the get v5 enterprises enterprise issues number labels params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetEnterprise

func (o *GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetEnterprise(enterprise string)

SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetNumber

SetNumber adds the number to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetPage

SetPage adds the page to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetPerPage

SetPerPage adds the perPage to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) SetTimeout

SetTimeout adds the timeout to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithContext deprecated

WithContext adds the context to the get v5 enterprises enterprise issues number labels params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberLabelsParams.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithDefaults

WithDefaults hydrates default values in the get v5 enterprises enterprise issues number labels params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithEnterprise

WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithNumber

WithNumber adds the number to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithPage

WithPage adds the page to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithPerPage

WithPerPage adds the perPage to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WithTimeout

WithTimeout adds the timeout to the get v5 enterprises enterprise issues number labels params.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5EnterprisesEnterpriseIssuesNumberLabelsReader

type GetV5EnterprisesEnterpriseIssuesNumberLabelsReader struct {
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesNumberLabelsReader is a Reader for the GetV5EnterprisesEnterpriseIssuesNumberLabels structure.

func (*GetV5EnterprisesEnterpriseIssuesNumberLabelsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5EnterprisesEnterpriseIssuesNumberOK

type GetV5EnterprisesEnterpriseIssuesNumberOK struct {
	Payload *models.Issue
}

GetV5EnterprisesEnterpriseIssuesNumberOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5EnterprisesEnterpriseIssuesNumberOK

func NewGetV5EnterprisesEnterpriseIssuesNumberOK() *GetV5EnterprisesEnterpriseIssuesNumberOK

NewGetV5EnterprisesEnterpriseIssuesNumberOK creates a GetV5EnterprisesEnterpriseIssuesNumberOK with default headers values

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) Code

Code gets the status code for the get v5 enterprises enterprise issues number o k response

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) Error

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) GetPayload

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsClientError

IsClientError returns true when this get v5 enterprises enterprise issues number o k response has a 4xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsCode

IsCode returns true when this get v5 enterprises enterprise issues number o k response a status code equal to that given

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsRedirect

IsRedirect returns true when this get v5 enterprises enterprise issues number o k response has a 3xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsServerError

IsServerError returns true when this get v5 enterprises enterprise issues number o k response has a 5xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) IsSuccess

IsSuccess returns true when this get v5 enterprises enterprise issues number o k response has a 2xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberOK) String

type GetV5EnterprisesEnterpriseIssuesNumberParams

type GetV5EnterprisesEnterpriseIssuesNumberParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Enterprise.

	   企业的路径(path/login)
	*/
	Enterprise string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesNumberParams contains all the parameters to send to the API endpoint

for the get v5 enterprises enterprise issues number operation.

Typically these are written to a http.Request.

func NewGetV5EnterprisesEnterpriseIssuesNumberParams

func NewGetV5EnterprisesEnterpriseIssuesNumberParams() *GetV5EnterprisesEnterpriseIssuesNumberParams

NewGetV5EnterprisesEnterpriseIssuesNumberParams creates a new GetV5EnterprisesEnterpriseIssuesNumberParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithContext deprecated

func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberParams

NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberParams.

func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient

func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberParams

NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout

func NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberParams

NewGetV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a timeout on a request.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken

func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetContext deprecated

SetContext adds the context to the get v5 enterprises enterprise issues number params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberParams.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetDefaults

SetDefaults hydrates default values in the get v5 enterprises enterprise issues number params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise

func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise(enterprise string)

SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient

func (o *GetV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetNumber

SetNumber adds the number to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) SetTimeout

SetTimeout adds the timeout to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithContext deprecated

WithContext adds the context to the get v5 enterprises enterprise issues number params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberParams.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithDefaults

WithDefaults hydrates default values in the get v5 enterprises enterprise issues number params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithEnterprise

WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithNumber

WithNumber adds the number to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WithTimeout

WithTimeout adds the timeout to the get v5 enterprises enterprise issues number params.

func (*GetV5EnterprisesEnterpriseIssuesNumberParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK

type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK struct {
	Payload []*models.PullRequest
}

GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK() *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK

NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK creates a GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK with default headers values

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) Code

Code gets the status code for the get v5 enterprises enterprise issues number pull requests o k response

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) Error

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) GetPayload

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsClientError

IsClientError returns true when this get v5 enterprises enterprise issues number pull requests o k response has a 4xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsCode

IsCode returns true when this get v5 enterprises enterprise issues number pull requests o k response a status code equal to that given

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsRedirect

IsRedirect returns true when this get v5 enterprises enterprise issues number pull requests o k response has a 3xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsServerError

IsServerError returns true when this get v5 enterprises enterprise issues number pull requests o k response has a 5xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) IsSuccess

IsSuccess returns true when this get v5 enterprises enterprise issues number pull requests o k response has a 2xx status code

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsOK) String

type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams

type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Enterprise.

	   企业的路径(path/login)
	*/
	Enterprise string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams contains all the parameters to send to the API endpoint

for the get v5 enterprises enterprise issues number pull requests operation.

Typically these are written to a http.Request.

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams() *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams

NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams creates a new GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithContext deprecated

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams

NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams.

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithHTTPClient

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams

NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithTimeout

func NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams

NewGetV5EnterprisesEnterpriseIssuesNumberPullRequestsParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams object with the ability to set a timeout on a request.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetAccessToken

func (o *GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetContext deprecated

SetContext adds the context to the get v5 enterprises enterprise issues number pull requests params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetDefaults

SetDefaults hydrates default values in the get v5 enterprises enterprise issues number pull requests params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetEnterprise

SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetNumber

SetNumber adds the number to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) SetTimeout

SetTimeout adds the timeout to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithContext deprecated

WithContext adds the context to the get v5 enterprises enterprise issues number pull requests params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithDefaults

WithDefaults hydrates default values in the get v5 enterprises enterprise issues number pull requests params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithEnterprise

WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithNumber

WithNumber adds the number to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WithTimeout

WithTimeout adds the timeout to the get v5 enterprises enterprise issues number pull requests params.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader

type GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader struct {
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader is a Reader for the GetV5EnterprisesEnterpriseIssuesNumberPullRequests structure.

func (*GetV5EnterprisesEnterpriseIssuesNumberPullRequestsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5EnterprisesEnterpriseIssuesNumberReader

type GetV5EnterprisesEnterpriseIssuesNumberReader struct {
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesNumberReader is a Reader for the GetV5EnterprisesEnterpriseIssuesNumber structure.

func (*GetV5EnterprisesEnterpriseIssuesNumberReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5EnterprisesEnterpriseIssuesOK

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

GetV5EnterprisesEnterpriseIssuesOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5EnterprisesEnterpriseIssuesOK

func NewGetV5EnterprisesEnterpriseIssuesOK() *GetV5EnterprisesEnterpriseIssuesOK

NewGetV5EnterprisesEnterpriseIssuesOK creates a GetV5EnterprisesEnterpriseIssuesOK with default headers values

func (*GetV5EnterprisesEnterpriseIssuesOK) Code

Code gets the status code for the get v5 enterprises enterprise issues o k response

func (*GetV5EnterprisesEnterpriseIssuesOK) Error

func (*GetV5EnterprisesEnterpriseIssuesOK) GetPayload

func (o *GetV5EnterprisesEnterpriseIssuesOK) GetPayload() []*models.Issue

func (*GetV5EnterprisesEnterpriseIssuesOK) IsClientError

func (o *GetV5EnterprisesEnterpriseIssuesOK) IsClientError() bool

IsClientError returns true when this get v5 enterprises enterprise issues o k response has a 4xx status code

func (*GetV5EnterprisesEnterpriseIssuesOK) IsCode

IsCode returns true when this get v5 enterprises enterprise issues o k response a status code equal to that given

func (*GetV5EnterprisesEnterpriseIssuesOK) IsRedirect

func (o *GetV5EnterprisesEnterpriseIssuesOK) IsRedirect() bool

IsRedirect returns true when this get v5 enterprises enterprise issues o k response has a 3xx status code

func (*GetV5EnterprisesEnterpriseIssuesOK) IsServerError

func (o *GetV5EnterprisesEnterpriseIssuesOK) IsServerError() bool

IsServerError returns true when this get v5 enterprises enterprise issues o k response has a 5xx status code

func (*GetV5EnterprisesEnterpriseIssuesOK) IsSuccess

IsSuccess returns true when this get v5 enterprises enterprise issues o k response has a 2xx status code

func (*GetV5EnterprisesEnterpriseIssuesOK) String

type GetV5EnterprisesEnterpriseIssuesParams

type GetV5EnterprisesEnterpriseIssuesParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Assignee.

	   用户的username。 none为没指派者, *为所有带有指派者的
	*/
	Assignee *string

	/* CreatedAt.

	   任务创建时间,格式同上
	*/
	CreatedAt *string

	/* Creator.

	   创建Issues的用户username
	*/
	Creator *string

	/* Deadline.

	   计划截止日期,格式同上
	*/
	Deadline *string

	/* Direction.

	   排序方式: 升序(asc),降序(desc)。默认: desc

	   Default: "desc"
	*/
	Direction *string

	/* Enterprise.

	   企业的路径(path/login)
	*/
	Enterprise string

	/* FinishedAt.

	   任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
	*/
	FinishedAt *string

	/* Labels.

	   用逗号分开的标签。如: bug,performance
	*/
	Labels *string

	/* Milestone.

	   根据里程碑标题。none为没里程碑的,*为所有带里程碑的
	*/
	Milestone *string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	/* Program.

	   所属项目名称。none为没所属有项目的,*为所有带所属项目的
	*/
	Program *string

	/* Schedule.

	   计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
	*/
	Schedule *string

	/* Since.

	   起始的更新时间,要求时间格式为 ISO 8601
	*/
	Since *string

	/* Sort.

	   排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at

	   Default: "created"
	*/
	Sort *string

	/* State.

	   Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open

	   Default: "open"
	*/
	State *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesParams contains all the parameters to send to the API endpoint

for the get v5 enterprises enterprise issues operation.

Typically these are written to a http.Request.

func NewGetV5EnterprisesEnterpriseIssuesParams

func NewGetV5EnterprisesEnterpriseIssuesParams() *GetV5EnterprisesEnterpriseIssuesParams

NewGetV5EnterprisesEnterpriseIssuesParams creates a new GetV5EnterprisesEnterpriseIssuesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5EnterprisesEnterpriseIssuesParamsWithContext deprecated

func NewGetV5EnterprisesEnterpriseIssuesParamsWithContext(ctx context.Context) *GetV5EnterprisesEnterpriseIssuesParams

NewGetV5EnterprisesEnterpriseIssuesParamsWithContext creates a new GetV5EnterprisesEnterpriseIssuesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesParams.

func NewGetV5EnterprisesEnterpriseIssuesParamsWithHTTPClient

func NewGetV5EnterprisesEnterpriseIssuesParamsWithHTTPClient(client *http.Client) *GetV5EnterprisesEnterpriseIssuesParams

NewGetV5EnterprisesEnterpriseIssuesParamsWithHTTPClient creates a new GetV5EnterprisesEnterpriseIssuesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5EnterprisesEnterpriseIssuesParamsWithTimeout

func NewGetV5EnterprisesEnterpriseIssuesParamsWithTimeout(timeout time.Duration) *GetV5EnterprisesEnterpriseIssuesParams

NewGetV5EnterprisesEnterpriseIssuesParamsWithTimeout creates a new GetV5EnterprisesEnterpriseIssuesParams object with the ability to set a timeout on a request.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetAccessToken

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetAssignee

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetAssignee(assignee *string)

SetAssignee adds the assignee to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetContext deprecated

SetContext adds the context to the get v5 enterprises enterprise issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesParams.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetCreatedAt

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetCreatedAt(createdAt *string)

SetCreatedAt adds the createdAt to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetCreator

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetCreator(creator *string)

SetCreator adds the creator to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetDeadline

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDeadline(deadline *string)

SetDeadline adds the deadline to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetDefaults

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDefaults()

SetDefaults hydrates default values in the get v5 enterprises enterprise issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetDirection

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetDirection(direction *string)

SetDirection adds the direction to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetEnterprise

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetEnterprise(enterprise string)

SetEnterprise adds the enterprise to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetFinishedAt

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetFinishedAt(finishedAt *string)

SetFinishedAt adds the finishedAt to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetHTTPClient

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetLabels

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetLabels(labels *string)

SetLabels adds the labels to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetMilestone

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetMilestone(milestone *string)

SetMilestone adds the milestone to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetPage

SetPage adds the page to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetPerPage

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetProgram

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetProgram(program *string)

SetProgram adds the program to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetSchedule

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetSchedule(schedule *string)

SetSchedule adds the schedule to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetSince

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetSince(since *string)

SetSince adds the since to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetSort

SetSort adds the sort to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetState

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetState(state *string)

SetState adds the state to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) SetTimeout

func (o *GetV5EnterprisesEnterpriseIssuesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithAssignee

WithAssignee adds the assignee to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithContext deprecated

WithContext adds the context to the get v5 enterprises enterprise issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5EnterprisesEnterpriseIssuesParams.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithCreatedAt

WithCreatedAt adds the createdAt to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithCreator

WithCreator adds the creator to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithDeadline

WithDeadline adds the deadline to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithDefaults

WithDefaults hydrates default values in the get v5 enterprises enterprise issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithDirection

WithDirection adds the direction to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithEnterprise

WithEnterprise adds the enterprise to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithFinishedAt

WithFinishedAt adds the finishedAt to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithLabels

WithLabels adds the labels to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithMilestone

WithMilestone adds the milestone to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithPage

WithPage adds the page to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithPerPage

WithPerPage adds the perPage to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithProgram

WithProgram adds the program to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithSchedule

WithSchedule adds the schedule to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithSince

WithSince adds the since to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithSort

WithSort adds the sort to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithState

WithState adds the state to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WithTimeout

WithTimeout adds the timeout to the get v5 enterprises enterprise issues params.

func (*GetV5EnterprisesEnterpriseIssuesParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5EnterprisesEnterpriseIssuesReader

type GetV5EnterprisesEnterpriseIssuesReader struct {
	// contains filtered or unexported fields
}

GetV5EnterprisesEnterpriseIssuesReader is a Reader for the GetV5EnterprisesEnterpriseIssues structure.

func (*GetV5EnterprisesEnterpriseIssuesReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5IssuesOK

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

GetV5IssuesOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5IssuesOK

func NewGetV5IssuesOK() *GetV5IssuesOK

NewGetV5IssuesOK creates a GetV5IssuesOK with default headers values

func (*GetV5IssuesOK) Code

func (o *GetV5IssuesOK) Code() int

Code gets the status code for the get v5 issues o k response

func (*GetV5IssuesOK) Error

func (o *GetV5IssuesOK) Error() string

func (*GetV5IssuesOK) GetPayload

func (o *GetV5IssuesOK) GetPayload() []*models.Issue

func (*GetV5IssuesOK) IsClientError

func (o *GetV5IssuesOK) IsClientError() bool

IsClientError returns true when this get v5 issues o k response has a 4xx status code

func (*GetV5IssuesOK) IsCode

func (o *GetV5IssuesOK) IsCode(code int) bool

IsCode returns true when this get v5 issues o k response a status code equal to that given

func (*GetV5IssuesOK) IsRedirect

func (o *GetV5IssuesOK) IsRedirect() bool

IsRedirect returns true when this get v5 issues o k response has a 3xx status code

func (*GetV5IssuesOK) IsServerError

func (o *GetV5IssuesOK) IsServerError() bool

IsServerError returns true when this get v5 issues o k response has a 5xx status code

func (*GetV5IssuesOK) IsSuccess

func (o *GetV5IssuesOK) IsSuccess() bool

IsSuccess returns true when this get v5 issues o k response has a 2xx status code

func (*GetV5IssuesOK) String

func (o *GetV5IssuesOK) String() string

type GetV5IssuesParams

type GetV5IssuesParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* CreatedAt.

	   任务创建时间,格式同上
	*/
	CreatedAt *string

	/* Deadline.

	   计划截止日期,格式同上
	*/
	Deadline *string

	/* Direction.

	   排序方式: 升序(asc),降序(desc)。默认: desc

	   Default: "desc"
	*/
	Direction *string

	/* Filter.

	   筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned

	   Default: "assigned"
	*/
	Filter *string

	/* FinishedAt.

	   任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
	*/
	FinishedAt *string

	/* Labels.

	   用逗号分开的标签。如: bug,performance
	*/
	Labels *string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	/* Schedule.

	   计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
	*/
	Schedule *string

	/* Since.

	   起始的更新时间,要求时间格式为 ISO 8601
	*/
	Since *string

	/* Sort.

	   排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at

	   Default: "created"
	*/
	Sort *string

	/* State.

	   Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open

	   Default: "open"
	*/
	State *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5IssuesParams contains all the parameters to send to the API endpoint

for the get v5 issues operation.

Typically these are written to a http.Request.

func NewGetV5IssuesParams

func NewGetV5IssuesParams() *GetV5IssuesParams

NewGetV5IssuesParams creates a new GetV5IssuesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5IssuesParamsWithContext deprecated

func NewGetV5IssuesParamsWithContext(ctx context.Context) *GetV5IssuesParams

NewGetV5IssuesParamsWithContext creates a new GetV5IssuesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5IssuesParams.

func NewGetV5IssuesParamsWithHTTPClient

func NewGetV5IssuesParamsWithHTTPClient(client *http.Client) *GetV5IssuesParams

NewGetV5IssuesParamsWithHTTPClient creates a new GetV5IssuesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5IssuesParamsWithTimeout

func NewGetV5IssuesParamsWithTimeout(timeout time.Duration) *GetV5IssuesParams

NewGetV5IssuesParamsWithTimeout creates a new GetV5IssuesParams object with the ability to set a timeout on a request.

func (*GetV5IssuesParams) SetAccessToken

func (o *GetV5IssuesParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 issues params.

func (*GetV5IssuesParams) SetContext deprecated

func (o *GetV5IssuesParams) SetContext(ctx context.Context)

SetContext adds the context to the get v5 issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5IssuesParams.

func (*GetV5IssuesParams) SetCreatedAt

func (o *GetV5IssuesParams) SetCreatedAt(createdAt *string)

SetCreatedAt adds the createdAt to the get v5 issues params.

func (*GetV5IssuesParams) SetDeadline

func (o *GetV5IssuesParams) SetDeadline(deadline *string)

SetDeadline adds the deadline to the get v5 issues params.

func (*GetV5IssuesParams) SetDefaults

func (o *GetV5IssuesParams) SetDefaults()

SetDefaults hydrates default values in the get v5 issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5IssuesParams) SetDirection

func (o *GetV5IssuesParams) SetDirection(direction *string)

SetDirection adds the direction to the get v5 issues params.

func (*GetV5IssuesParams) SetFilter

func (o *GetV5IssuesParams) SetFilter(filter *string)

SetFilter adds the filter to the get v5 issues params.

func (*GetV5IssuesParams) SetFinishedAt

func (o *GetV5IssuesParams) SetFinishedAt(finishedAt *string)

SetFinishedAt adds the finishedAt to the get v5 issues params.

func (*GetV5IssuesParams) SetHTTPClient

func (o *GetV5IssuesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 issues params.

func (*GetV5IssuesParams) SetLabels

func (o *GetV5IssuesParams) SetLabels(labels *string)

SetLabels adds the labels to the get v5 issues params.

func (*GetV5IssuesParams) SetPage

func (o *GetV5IssuesParams) SetPage(page *int32)

SetPage adds the page to the get v5 issues params.

func (*GetV5IssuesParams) SetPerPage

func (o *GetV5IssuesParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v5 issues params.

func (*GetV5IssuesParams) SetSchedule

func (o *GetV5IssuesParams) SetSchedule(schedule *string)

SetSchedule adds the schedule to the get v5 issues params.

func (*GetV5IssuesParams) SetSince

func (o *GetV5IssuesParams) SetSince(since *string)

SetSince adds the since to the get v5 issues params.

func (*GetV5IssuesParams) SetSort

func (o *GetV5IssuesParams) SetSort(sort *string)

SetSort adds the sort to the get v5 issues params.

func (*GetV5IssuesParams) SetState

func (o *GetV5IssuesParams) SetState(state *string)

SetState adds the state to the get v5 issues params.

func (*GetV5IssuesParams) SetTimeout

func (o *GetV5IssuesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v5 issues params.

func (*GetV5IssuesParams) WithAccessToken

func (o *GetV5IssuesParams) WithAccessToken(accessToken *string) *GetV5IssuesParams

WithAccessToken adds the accessToken to the get v5 issues params.

func (*GetV5IssuesParams) WithContext deprecated

func (o *GetV5IssuesParams) WithContext(ctx context.Context) *GetV5IssuesParams

WithContext adds the context to the get v5 issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5IssuesParams.

func (*GetV5IssuesParams) WithCreatedAt

func (o *GetV5IssuesParams) WithCreatedAt(createdAt *string) *GetV5IssuesParams

WithCreatedAt adds the createdAt to the get v5 issues params.

func (*GetV5IssuesParams) WithDeadline

func (o *GetV5IssuesParams) WithDeadline(deadline *string) *GetV5IssuesParams

WithDeadline adds the deadline to the get v5 issues params.

func (*GetV5IssuesParams) WithDefaults

func (o *GetV5IssuesParams) WithDefaults() *GetV5IssuesParams

WithDefaults hydrates default values in the get v5 issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5IssuesParams) WithDirection

func (o *GetV5IssuesParams) WithDirection(direction *string) *GetV5IssuesParams

WithDirection adds the direction to the get v5 issues params.

func (*GetV5IssuesParams) WithFilter

func (o *GetV5IssuesParams) WithFilter(filter *string) *GetV5IssuesParams

WithFilter adds the filter to the get v5 issues params.

func (*GetV5IssuesParams) WithFinishedAt

func (o *GetV5IssuesParams) WithFinishedAt(finishedAt *string) *GetV5IssuesParams

WithFinishedAt adds the finishedAt to the get v5 issues params.

func (*GetV5IssuesParams) WithHTTPClient

func (o *GetV5IssuesParams) WithHTTPClient(client *http.Client) *GetV5IssuesParams

WithHTTPClient adds the HTTPClient to the get v5 issues params.

func (*GetV5IssuesParams) WithLabels

func (o *GetV5IssuesParams) WithLabels(labels *string) *GetV5IssuesParams

WithLabels adds the labels to the get v5 issues params.

func (*GetV5IssuesParams) WithPage

func (o *GetV5IssuesParams) WithPage(page *int32) *GetV5IssuesParams

WithPage adds the page to the get v5 issues params.

func (*GetV5IssuesParams) WithPerPage

func (o *GetV5IssuesParams) WithPerPage(perPage *int32) *GetV5IssuesParams

WithPerPage adds the perPage to the get v5 issues params.

func (*GetV5IssuesParams) WithSchedule

func (o *GetV5IssuesParams) WithSchedule(schedule *string) *GetV5IssuesParams

WithSchedule adds the schedule to the get v5 issues params.

func (*GetV5IssuesParams) WithSince

func (o *GetV5IssuesParams) WithSince(since *string) *GetV5IssuesParams

WithSince adds the since to the get v5 issues params.

func (*GetV5IssuesParams) WithSort

func (o *GetV5IssuesParams) WithSort(sort *string) *GetV5IssuesParams

WithSort adds the sort to the get v5 issues params.

func (*GetV5IssuesParams) WithState

func (o *GetV5IssuesParams) WithState(state *string) *GetV5IssuesParams

WithState adds the state to the get v5 issues params.

func (*GetV5IssuesParams) WithTimeout

func (o *GetV5IssuesParams) WithTimeout(timeout time.Duration) *GetV5IssuesParams

WithTimeout adds the timeout to the get v5 issues params.

func (*GetV5IssuesParams) WriteToRequest

func (o *GetV5IssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5IssuesReader

type GetV5IssuesReader struct {
	// contains filtered or unexported fields
}

GetV5IssuesReader is a Reader for the GetV5Issues structure.

func (*GetV5IssuesReader) ReadResponse

func (o *GetV5IssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetV5OrgsOrgIssuesOK

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

GetV5OrgsOrgIssuesOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5OrgsOrgIssuesOK

func NewGetV5OrgsOrgIssuesOK() *GetV5OrgsOrgIssuesOK

NewGetV5OrgsOrgIssuesOK creates a GetV5OrgsOrgIssuesOK with default headers values

func (*GetV5OrgsOrgIssuesOK) Code

func (o *GetV5OrgsOrgIssuesOK) Code() int

Code gets the status code for the get v5 orgs org issues o k response

func (*GetV5OrgsOrgIssuesOK) Error

func (o *GetV5OrgsOrgIssuesOK) Error() string

func (*GetV5OrgsOrgIssuesOK) GetPayload

func (o *GetV5OrgsOrgIssuesOK) GetPayload() []*models.Issue

func (*GetV5OrgsOrgIssuesOK) IsClientError

func (o *GetV5OrgsOrgIssuesOK) IsClientError() bool

IsClientError returns true when this get v5 orgs org issues o k response has a 4xx status code

func (*GetV5OrgsOrgIssuesOK) IsCode

func (o *GetV5OrgsOrgIssuesOK) IsCode(code int) bool

IsCode returns true when this get v5 orgs org issues o k response a status code equal to that given

func (*GetV5OrgsOrgIssuesOK) IsRedirect

func (o *GetV5OrgsOrgIssuesOK) IsRedirect() bool

IsRedirect returns true when this get v5 orgs org issues o k response has a 3xx status code

func (*GetV5OrgsOrgIssuesOK) IsServerError

func (o *GetV5OrgsOrgIssuesOK) IsServerError() bool

IsServerError returns true when this get v5 orgs org issues o k response has a 5xx status code

func (*GetV5OrgsOrgIssuesOK) IsSuccess

func (o *GetV5OrgsOrgIssuesOK) IsSuccess() bool

IsSuccess returns true when this get v5 orgs org issues o k response has a 2xx status code

func (*GetV5OrgsOrgIssuesOK) String

func (o *GetV5OrgsOrgIssuesOK) String() string

type GetV5OrgsOrgIssuesParams

type GetV5OrgsOrgIssuesParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* CreatedAt.

	   任务创建时间,格式同上
	*/
	CreatedAt *string

	/* Deadline.

	   计划截止日期,格式同上
	*/
	Deadline *string

	/* Direction.

	   排序方式: 升序(asc),降序(desc)。默认: desc

	   Default: "desc"
	*/
	Direction *string

	/* Filter.

	   筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned

	   Default: "assigned"
	*/
	Filter *string

	/* FinishedAt.

	   任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
	*/
	FinishedAt *string

	/* Labels.

	   用逗号分开的标签。如: bug,performance
	*/
	Labels *string

	/* Org.

	   组织的路径(path/login)
	*/
	Org string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	/* Schedule.

	   计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
	*/
	Schedule *string

	/* Since.

	   起始的更新时间,要求时间格式为 ISO 8601
	*/
	Since *string

	/* Sort.

	   排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at

	   Default: "created"
	*/
	Sort *string

	/* State.

	   Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open

	   Default: "open"
	*/
	State *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5OrgsOrgIssuesParams contains all the parameters to send to the API endpoint

for the get v5 orgs org issues operation.

Typically these are written to a http.Request.

func NewGetV5OrgsOrgIssuesParams

func NewGetV5OrgsOrgIssuesParams() *GetV5OrgsOrgIssuesParams

NewGetV5OrgsOrgIssuesParams creates a new GetV5OrgsOrgIssuesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5OrgsOrgIssuesParamsWithContext deprecated

func NewGetV5OrgsOrgIssuesParamsWithContext(ctx context.Context) *GetV5OrgsOrgIssuesParams

NewGetV5OrgsOrgIssuesParamsWithContext creates a new GetV5OrgsOrgIssuesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5OrgsOrgIssuesParams.

func NewGetV5OrgsOrgIssuesParamsWithHTTPClient

func NewGetV5OrgsOrgIssuesParamsWithHTTPClient(client *http.Client) *GetV5OrgsOrgIssuesParams

NewGetV5OrgsOrgIssuesParamsWithHTTPClient creates a new GetV5OrgsOrgIssuesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5OrgsOrgIssuesParamsWithTimeout

func NewGetV5OrgsOrgIssuesParamsWithTimeout(timeout time.Duration) *GetV5OrgsOrgIssuesParams

NewGetV5OrgsOrgIssuesParamsWithTimeout creates a new GetV5OrgsOrgIssuesParams object with the ability to set a timeout on a request.

func (*GetV5OrgsOrgIssuesParams) SetAccessToken

func (o *GetV5OrgsOrgIssuesParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetContext deprecated

func (o *GetV5OrgsOrgIssuesParams) SetContext(ctx context.Context)

SetContext adds the context to the get v5 orgs org issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5OrgsOrgIssuesParams.

func (*GetV5OrgsOrgIssuesParams) SetCreatedAt

func (o *GetV5OrgsOrgIssuesParams) SetCreatedAt(createdAt *string)

SetCreatedAt adds the createdAt to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetDeadline

func (o *GetV5OrgsOrgIssuesParams) SetDeadline(deadline *string)

SetDeadline adds the deadline to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetDefaults

func (o *GetV5OrgsOrgIssuesParams) SetDefaults()

SetDefaults hydrates default values in the get v5 orgs org issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5OrgsOrgIssuesParams) SetDirection

func (o *GetV5OrgsOrgIssuesParams) SetDirection(direction *string)

SetDirection adds the direction to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetFilter

func (o *GetV5OrgsOrgIssuesParams) SetFilter(filter *string)

SetFilter adds the filter to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetFinishedAt

func (o *GetV5OrgsOrgIssuesParams) SetFinishedAt(finishedAt *string)

SetFinishedAt adds the finishedAt to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetHTTPClient

func (o *GetV5OrgsOrgIssuesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetLabels

func (o *GetV5OrgsOrgIssuesParams) SetLabels(labels *string)

SetLabels adds the labels to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetOrg

func (o *GetV5OrgsOrgIssuesParams) SetOrg(org string)

SetOrg adds the org to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetPage

func (o *GetV5OrgsOrgIssuesParams) SetPage(page *int32)

SetPage adds the page to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetPerPage

func (o *GetV5OrgsOrgIssuesParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetSchedule

func (o *GetV5OrgsOrgIssuesParams) SetSchedule(schedule *string)

SetSchedule adds the schedule to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetSince

func (o *GetV5OrgsOrgIssuesParams) SetSince(since *string)

SetSince adds the since to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetSort

func (o *GetV5OrgsOrgIssuesParams) SetSort(sort *string)

SetSort adds the sort to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetState

func (o *GetV5OrgsOrgIssuesParams) SetState(state *string)

SetState adds the state to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) SetTimeout

func (o *GetV5OrgsOrgIssuesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithAccessToken

func (o *GetV5OrgsOrgIssuesParams) WithAccessToken(accessToken *string) *GetV5OrgsOrgIssuesParams

WithAccessToken adds the accessToken to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithContext deprecated

WithContext adds the context to the get v5 orgs org issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5OrgsOrgIssuesParams.

func (*GetV5OrgsOrgIssuesParams) WithCreatedAt

func (o *GetV5OrgsOrgIssuesParams) WithCreatedAt(createdAt *string) *GetV5OrgsOrgIssuesParams

WithCreatedAt adds the createdAt to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithDeadline

func (o *GetV5OrgsOrgIssuesParams) WithDeadline(deadline *string) *GetV5OrgsOrgIssuesParams

WithDeadline adds the deadline to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithDefaults

WithDefaults hydrates default values in the get v5 orgs org issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5OrgsOrgIssuesParams) WithDirection

func (o *GetV5OrgsOrgIssuesParams) WithDirection(direction *string) *GetV5OrgsOrgIssuesParams

WithDirection adds the direction to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithFilter

WithFilter adds the filter to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithFinishedAt

func (o *GetV5OrgsOrgIssuesParams) WithFinishedAt(finishedAt *string) *GetV5OrgsOrgIssuesParams

WithFinishedAt adds the finishedAt to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithHTTPClient

func (o *GetV5OrgsOrgIssuesParams) WithHTTPClient(client *http.Client) *GetV5OrgsOrgIssuesParams

WithHTTPClient adds the HTTPClient to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithLabels

WithLabels adds the labels to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithOrg

WithOrg adds the org to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithPage

WithPage adds the page to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithPerPage

func (o *GetV5OrgsOrgIssuesParams) WithPerPage(perPage *int32) *GetV5OrgsOrgIssuesParams

WithPerPage adds the perPage to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithSchedule

func (o *GetV5OrgsOrgIssuesParams) WithSchedule(schedule *string) *GetV5OrgsOrgIssuesParams

WithSchedule adds the schedule to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithSince

WithSince adds the since to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithSort

WithSort adds the sort to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithState

WithState adds the state to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WithTimeout

WithTimeout adds the timeout to the get v5 orgs org issues params.

func (*GetV5OrgsOrgIssuesParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5OrgsOrgIssuesReader

type GetV5OrgsOrgIssuesReader struct {
	// contains filtered or unexported fields
}

GetV5OrgsOrgIssuesReader is a Reader for the GetV5OrgsOrgIssues structure.

func (*GetV5OrgsOrgIssuesReader) ReadResponse

func (o *GetV5OrgsOrgIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetV5ReposOwnerIssuesNumberOperateLogsOK

type GetV5ReposOwnerIssuesNumberOperateLogsOK struct {
	Payload []*models.OperateLog
}

GetV5ReposOwnerIssuesNumberOperateLogsOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5ReposOwnerIssuesNumberOperateLogsOK

func NewGetV5ReposOwnerIssuesNumberOperateLogsOK() *GetV5ReposOwnerIssuesNumberOperateLogsOK

NewGetV5ReposOwnerIssuesNumberOperateLogsOK creates a GetV5ReposOwnerIssuesNumberOperateLogsOK with default headers values

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) Code

Code gets the status code for the get v5 repos owner issues number operate logs o k response

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) Error

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) GetPayload

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsClientError

IsClientError returns true when this get v5 repos owner issues number operate logs o k response has a 4xx status code

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsCode

IsCode returns true when this get v5 repos owner issues number operate logs o k response a status code equal to that given

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsRedirect

IsRedirect returns true when this get v5 repos owner issues number operate logs o k response has a 3xx status code

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsServerError

IsServerError returns true when this get v5 repos owner issues number operate logs o k response has a 5xx status code

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) IsSuccess

IsSuccess returns true when this get v5 repos owner issues number operate logs o k response has a 2xx status code

func (*GetV5ReposOwnerIssuesNumberOperateLogsOK) String

type GetV5ReposOwnerIssuesNumberOperateLogsParams

type GetV5ReposOwnerIssuesNumberOperateLogsParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Repo.

	   仓库路径(path)
	*/
	Repo *string

	/* Sort.

	   按递增(asc)或递减(desc)排序,默认:递减

	   Default: "desc"
	*/
	Sort *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5ReposOwnerIssuesNumberOperateLogsParams contains all the parameters to send to the API endpoint

for the get v5 repos owner issues number operate logs operation.

Typically these are written to a http.Request.

func NewGetV5ReposOwnerIssuesNumberOperateLogsParams

func NewGetV5ReposOwnerIssuesNumberOperateLogsParams() *GetV5ReposOwnerIssuesNumberOperateLogsParams

NewGetV5ReposOwnerIssuesNumberOperateLogsParams creates a new GetV5ReposOwnerIssuesNumberOperateLogsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithContext deprecated

func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberOperateLogsParams

NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithContext creates a new GetV5ReposOwnerIssuesNumberOperateLogsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberOperateLogsParams.

func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithHTTPClient

func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberOperateLogsParams

NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithHTTPClient creates a new GetV5ReposOwnerIssuesNumberOperateLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithTimeout

func NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberOperateLogsParams

NewGetV5ReposOwnerIssuesNumberOperateLogsParamsWithTimeout creates a new GetV5ReposOwnerIssuesNumberOperateLogsParams object with the ability to set a timeout on a request.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetAccessToken

func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetContext deprecated

SetContext adds the context to the get v5 repos owner issues number operate logs params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberOperateLogsParams.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetDefaults

SetDefaults hydrates default values in the get v5 repos owner issues number operate logs params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetHTTPClient

func (o *GetV5ReposOwnerIssuesNumberOperateLogsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetNumber

SetNumber adds the number to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetOwner

SetOwner adds the owner to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetRepo

SetRepo adds the repo to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetSort

SetSort adds the sort to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) SetTimeout

SetTimeout adds the timeout to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithContext deprecated

WithContext adds the context to the get v5 repos owner issues number operate logs params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberOperateLogsParams.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithDefaults

WithDefaults hydrates default values in the get v5 repos owner issues number operate logs params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithNumber

WithNumber adds the number to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithOwner

WithOwner adds the owner to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithRepo

WithRepo adds the repo to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithSort

WithSort adds the sort to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WithTimeout

WithTimeout adds the timeout to the get v5 repos owner issues number operate logs params.

func (*GetV5ReposOwnerIssuesNumberOperateLogsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5ReposOwnerIssuesNumberOperateLogsReader

type GetV5ReposOwnerIssuesNumberOperateLogsReader struct {
	// contains filtered or unexported fields
}

GetV5ReposOwnerIssuesNumberOperateLogsReader is a Reader for the GetV5ReposOwnerIssuesNumberOperateLogs structure.

func (*GetV5ReposOwnerIssuesNumberOperateLogsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5ReposOwnerIssuesNumberPullRequestsOK

type GetV5ReposOwnerIssuesNumberPullRequestsOK struct {
	Payload []*models.PullRequest
}

GetV5ReposOwnerIssuesNumberPullRequestsOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5ReposOwnerIssuesNumberPullRequestsOK

func NewGetV5ReposOwnerIssuesNumberPullRequestsOK() *GetV5ReposOwnerIssuesNumberPullRequestsOK

NewGetV5ReposOwnerIssuesNumberPullRequestsOK creates a GetV5ReposOwnerIssuesNumberPullRequestsOK with default headers values

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) Code

Code gets the status code for the get v5 repos owner issues number pull requests o k response

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) Error

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) GetPayload

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsClientError

IsClientError returns true when this get v5 repos owner issues number pull requests o k response has a 4xx status code

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsCode

IsCode returns true when this get v5 repos owner issues number pull requests o k response a status code equal to that given

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsRedirect

IsRedirect returns true when this get v5 repos owner issues number pull requests o k response has a 3xx status code

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsServerError

IsServerError returns true when this get v5 repos owner issues number pull requests o k response has a 5xx status code

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) IsSuccess

IsSuccess returns true when this get v5 repos owner issues number pull requests o k response has a 2xx status code

func (*GetV5ReposOwnerIssuesNumberPullRequestsOK) String

type GetV5ReposOwnerIssuesNumberPullRequestsParams

type GetV5ReposOwnerIssuesNumberPullRequestsParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Repo.

	   仓库路径(path)
	*/
	Repo *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5ReposOwnerIssuesNumberPullRequestsParams contains all the parameters to send to the API endpoint

for the get v5 repos owner issues number pull requests operation.

Typically these are written to a http.Request.

func NewGetV5ReposOwnerIssuesNumberPullRequestsParams

func NewGetV5ReposOwnerIssuesNumberPullRequestsParams() *GetV5ReposOwnerIssuesNumberPullRequestsParams

NewGetV5ReposOwnerIssuesNumberPullRequestsParams creates a new GetV5ReposOwnerIssuesNumberPullRequestsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithContext deprecated

func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithContext(ctx context.Context) *GetV5ReposOwnerIssuesNumberPullRequestsParams

NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithContext creates a new GetV5ReposOwnerIssuesNumberPullRequestsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberPullRequestsParams.

func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithHTTPClient

func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerIssuesNumberPullRequestsParams

NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithHTTPClient creates a new GetV5ReposOwnerIssuesNumberPullRequestsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithTimeout

func NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerIssuesNumberPullRequestsParams

NewGetV5ReposOwnerIssuesNumberPullRequestsParamsWithTimeout creates a new GetV5ReposOwnerIssuesNumberPullRequestsParams object with the ability to set a timeout on a request.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetAccessToken

func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetContext deprecated

SetContext adds the context to the get v5 repos owner issues number pull requests params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberPullRequestsParams.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetDefaults

SetDefaults hydrates default values in the get v5 repos owner issues number pull requests params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetHTTPClient

func (o *GetV5ReposOwnerIssuesNumberPullRequestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetNumber

SetNumber adds the number to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetOwner

SetOwner adds the owner to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetRepo

SetRepo adds the repo to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) SetTimeout

SetTimeout adds the timeout to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithContext deprecated

WithContext adds the context to the get v5 repos owner issues number pull requests params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerIssuesNumberPullRequestsParams.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithDefaults

WithDefaults hydrates default values in the get v5 repos owner issues number pull requests params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithNumber

WithNumber adds the number to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithOwner

WithOwner adds the owner to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithRepo

WithRepo adds the repo to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WithTimeout

WithTimeout adds the timeout to the get v5 repos owner issues number pull requests params.

func (*GetV5ReposOwnerIssuesNumberPullRequestsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5ReposOwnerIssuesNumberPullRequestsReader

type GetV5ReposOwnerIssuesNumberPullRequestsReader struct {
	// contains filtered or unexported fields
}

GetV5ReposOwnerIssuesNumberPullRequestsReader is a Reader for the GetV5ReposOwnerIssuesNumberPullRequests structure.

func (*GetV5ReposOwnerIssuesNumberPullRequestsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5ReposOwnerRepoIssuesCommentsIDNotFound

type GetV5ReposOwnerRepoIssuesCommentsIDNotFound struct {
}

GetV5ReposOwnerRepoIssuesCommentsIDNotFound describes a response with status code 404, with default header values.

没有相关数据

func NewGetV5ReposOwnerRepoIssuesCommentsIDNotFound

func NewGetV5ReposOwnerRepoIssuesCommentsIDNotFound() *GetV5ReposOwnerRepoIssuesCommentsIDNotFound

NewGetV5ReposOwnerRepoIssuesCommentsIDNotFound creates a GetV5ReposOwnerRepoIssuesCommentsIDNotFound with default headers values

func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) Code

Code gets the status code for the get v5 repos owner repo issues comments Id not found response

func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) Error

func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsClientError

IsClientError returns true when this get v5 repos owner repo issues comments Id not found response has a 4xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsCode

IsCode returns true when this get v5 repos owner repo issues comments Id not found response a status code equal to that given

func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsRedirect

IsRedirect returns true when this get v5 repos owner repo issues comments Id not found response has a 3xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsServerError

IsServerError returns true when this get v5 repos owner repo issues comments Id not found response has a 5xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) IsSuccess

IsSuccess returns true when this get v5 repos owner repo issues comments Id not found response has a 2xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsIDNotFound) String

type GetV5ReposOwnerRepoIssuesCommentsIDOK

type GetV5ReposOwnerRepoIssuesCommentsIDOK struct {
	Payload *models.Note
}

GetV5ReposOwnerRepoIssuesCommentsIDOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5ReposOwnerRepoIssuesCommentsIDOK

func NewGetV5ReposOwnerRepoIssuesCommentsIDOK() *GetV5ReposOwnerRepoIssuesCommentsIDOK

NewGetV5ReposOwnerRepoIssuesCommentsIDOK creates a GetV5ReposOwnerRepoIssuesCommentsIDOK with default headers values

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) Code

Code gets the status code for the get v5 repos owner repo issues comments Id o k response

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) Error

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) GetPayload

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError

func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError() bool

IsClientError returns true when this get v5 repos owner repo issues comments Id o k response has a 4xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsCode

IsCode returns true when this get v5 repos owner repo issues comments Id o k response a status code equal to that given

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsRedirect

IsRedirect returns true when this get v5 repos owner repo issues comments Id o k response has a 3xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError

func (o *GetV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError() bool

IsServerError returns true when this get v5 repos owner repo issues comments Id o k response has a 5xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) IsSuccess

IsSuccess returns true when this get v5 repos owner repo issues comments Id o k response has a 2xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsIDOK) String

type GetV5ReposOwnerRepoIssuesCommentsIDParams

type GetV5ReposOwnerRepoIssuesCommentsIDParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* ID.

	   评论的ID

	   Format: int32
	*/
	ID int32

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Repo.

	   仓库路径(path)
	*/
	Repo string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesCommentsIDParams contains all the parameters to send to the API endpoint

for the get v5 repos owner repo issues comments Id operation.

Typically these are written to a http.Request.

func NewGetV5ReposOwnerRepoIssuesCommentsIDParams

func NewGetV5ReposOwnerRepoIssuesCommentsIDParams() *GetV5ReposOwnerRepoIssuesCommentsIDParams

NewGetV5ReposOwnerRepoIssuesCommentsIDParams creates a new GetV5ReposOwnerRepoIssuesCommentsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithContext deprecated

func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsIDParams

NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithContext creates a new GetV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsIDParams.

func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient

func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsIDParams

NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout

func NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsIDParams

NewGetV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a timeout on a request.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken

func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetContext deprecated

SetContext adds the context to the get v5 repos owner repo issues comments Id params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsIDParams.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults

SetDefaults hydrates default values in the get v5 repos owner repo issues comments Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient

func (o *GetV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetID

SetID adds the id to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner

SetOwner adds the owner to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo

SetRepo adds the repo to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout

SetTimeout adds the timeout to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithContext deprecated

WithContext adds the context to the get v5 repos owner repo issues comments Id params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsIDParams.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults

WithDefaults hydrates default values in the get v5 repos owner repo issues comments Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithID

WithID adds the id to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner

WithOwner adds the owner to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo

WithRepo adds the repo to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout

WithTimeout adds the timeout to the get v5 repos owner repo issues comments Id params.

func (*GetV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5ReposOwnerRepoIssuesCommentsIDReader

type GetV5ReposOwnerRepoIssuesCommentsIDReader struct {
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesCommentsIDReader is a Reader for the GetV5ReposOwnerRepoIssuesCommentsID structure.

func (*GetV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5ReposOwnerRepoIssuesCommentsOK

type GetV5ReposOwnerRepoIssuesCommentsOK struct {
	Payload []*models.Note
}

GetV5ReposOwnerRepoIssuesCommentsOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5ReposOwnerRepoIssuesCommentsOK

func NewGetV5ReposOwnerRepoIssuesCommentsOK() *GetV5ReposOwnerRepoIssuesCommentsOK

NewGetV5ReposOwnerRepoIssuesCommentsOK creates a GetV5ReposOwnerRepoIssuesCommentsOK with default headers values

func (*GetV5ReposOwnerRepoIssuesCommentsOK) Code

Code gets the status code for the get v5 repos owner repo issues comments o k response

func (*GetV5ReposOwnerRepoIssuesCommentsOK) Error

func (*GetV5ReposOwnerRepoIssuesCommentsOK) GetPayload

func (o *GetV5ReposOwnerRepoIssuesCommentsOK) GetPayload() []*models.Note

func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsClientError

func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsClientError() bool

IsClientError returns true when this get v5 repos owner repo issues comments o k response has a 4xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsCode

IsCode returns true when this get v5 repos owner repo issues comments o k response a status code equal to that given

func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsRedirect

func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsRedirect() bool

IsRedirect returns true when this get v5 repos owner repo issues comments o k response has a 3xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsServerError

func (o *GetV5ReposOwnerRepoIssuesCommentsOK) IsServerError() bool

IsServerError returns true when this get v5 repos owner repo issues comments o k response has a 5xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsOK) IsSuccess

IsSuccess returns true when this get v5 repos owner repo issues comments o k response has a 2xx status code

func (*GetV5ReposOwnerRepoIssuesCommentsOK) String

type GetV5ReposOwnerRepoIssuesCommentsParams

type GetV5ReposOwnerRepoIssuesCommentsParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Direction.

	   Either asc or desc. Ignored without the sort parameter.

	   Default: "asc"
	*/
	Direction *string

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	/* Repo.

	   仓库路径(path)
	*/
	Repo string

	/* Since.

	   Only comments updated at or after this time are returned.
	                                            This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
	*/
	Since *string

	/* Sort.

	   Either created or updated. Default: created

	   Default: "created"
	*/
	Sort *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesCommentsParams contains all the parameters to send to the API endpoint

for the get v5 repos owner repo issues comments operation.

Typically these are written to a http.Request.

func NewGetV5ReposOwnerRepoIssuesCommentsParams

func NewGetV5ReposOwnerRepoIssuesCommentsParams() *GetV5ReposOwnerRepoIssuesCommentsParams

NewGetV5ReposOwnerRepoIssuesCommentsParams creates a new GetV5ReposOwnerRepoIssuesCommentsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithContext deprecated

func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesCommentsParams

NewGetV5ReposOwnerRepoIssuesCommentsParamsWithContext creates a new GetV5ReposOwnerRepoIssuesCommentsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsParams.

func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithHTTPClient

func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesCommentsParams

NewGetV5ReposOwnerRepoIssuesCommentsParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesCommentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithTimeout

func NewGetV5ReposOwnerRepoIssuesCommentsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesCommentsParams

NewGetV5ReposOwnerRepoIssuesCommentsParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesCommentsParams object with the ability to set a timeout on a request.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetAccessToken

func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetContext deprecated

SetContext adds the context to the get v5 repos owner repo issues comments params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsParams.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetDefaults

func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetDefaults()

SetDefaults hydrates default values in the get v5 repos owner repo issues comments params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetDirection

func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetDirection(direction *string)

SetDirection adds the direction to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetHTTPClient

func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetOwner

SetOwner adds the owner to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetPage

SetPage adds the page to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetPerPage

func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetRepo

SetRepo adds the repo to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetSince

func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetSince(since *string)

SetSince adds the since to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetSort

SetSort adds the sort to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) SetTimeout

func (o *GetV5ReposOwnerRepoIssuesCommentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithContext deprecated

WithContext adds the context to the get v5 repos owner repo issues comments params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesCommentsParams.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithDefaults

WithDefaults hydrates default values in the get v5 repos owner repo issues comments params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithDirection

WithDirection adds the direction to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithOwner

WithOwner adds the owner to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithPage

WithPage adds the page to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithPerPage

WithPerPage adds the perPage to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithRepo

WithRepo adds the repo to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithSince

WithSince adds the since to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithSort

WithSort adds the sort to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WithTimeout

WithTimeout adds the timeout to the get v5 repos owner repo issues comments params.

func (*GetV5ReposOwnerRepoIssuesCommentsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5ReposOwnerRepoIssuesCommentsReader

type GetV5ReposOwnerRepoIssuesCommentsReader struct {
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesCommentsReader is a Reader for the GetV5ReposOwnerRepoIssuesComments structure.

func (*GetV5ReposOwnerRepoIssuesCommentsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5ReposOwnerRepoIssuesNumberCommentsNotFound

type GetV5ReposOwnerRepoIssuesNumberCommentsNotFound struct {
}

GetV5ReposOwnerRepoIssuesNumberCommentsNotFound describes a response with status code 404, with default header values.

没有相关数据

func NewGetV5ReposOwnerRepoIssuesNumberCommentsNotFound

func NewGetV5ReposOwnerRepoIssuesNumberCommentsNotFound() *GetV5ReposOwnerRepoIssuesNumberCommentsNotFound

NewGetV5ReposOwnerRepoIssuesNumberCommentsNotFound creates a GetV5ReposOwnerRepoIssuesNumberCommentsNotFound with default headers values

func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) Code

Code gets the status code for the get v5 repos owner repo issues number comments not found response

func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) Error

func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsClientError

IsClientError returns true when this get v5 repos owner repo issues number comments not found response has a 4xx status code

func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsCode

IsCode returns true when this get v5 repos owner repo issues number comments not found response a status code equal to that given

func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsRedirect

IsRedirect returns true when this get v5 repos owner repo issues number comments not found response has a 3xx status code

func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsServerError

IsServerError returns true when this get v5 repos owner repo issues number comments not found response has a 5xx status code

func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) IsSuccess

IsSuccess returns true when this get v5 repos owner repo issues number comments not found response has a 2xx status code

func (*GetV5ReposOwnerRepoIssuesNumberCommentsNotFound) String

type GetV5ReposOwnerRepoIssuesNumberCommentsOK

type GetV5ReposOwnerRepoIssuesNumberCommentsOK struct {
	Payload []*models.Note
}

GetV5ReposOwnerRepoIssuesNumberCommentsOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5ReposOwnerRepoIssuesNumberCommentsOK

func NewGetV5ReposOwnerRepoIssuesNumberCommentsOK() *GetV5ReposOwnerRepoIssuesNumberCommentsOK

NewGetV5ReposOwnerRepoIssuesNumberCommentsOK creates a GetV5ReposOwnerRepoIssuesNumberCommentsOK with default headers values

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) Code

Code gets the status code for the get v5 repos owner repo issues number comments o k response

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) Error

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) GetPayload

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsClientError

IsClientError returns true when this get v5 repos owner repo issues number comments o k response has a 4xx status code

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsCode

IsCode returns true when this get v5 repos owner repo issues number comments o k response a status code equal to that given

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsRedirect

IsRedirect returns true when this get v5 repos owner repo issues number comments o k response has a 3xx status code

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsServerError

IsServerError returns true when this get v5 repos owner repo issues number comments o k response has a 5xx status code

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) IsSuccess

IsSuccess returns true when this get v5 repos owner repo issues number comments o k response has a 2xx status code

func (*GetV5ReposOwnerRepoIssuesNumberCommentsOK) String

type GetV5ReposOwnerRepoIssuesNumberCommentsParams

type GetV5ReposOwnerRepoIssuesNumberCommentsParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Order.

	   排序顺序: asc(default),desc

	   Default: "asc"
	*/
	Order *string

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	/* Repo.

	   仓库路径(path)
	*/
	Repo string

	/* Since.

	   Only comments updated at or after this time are returned.
	                                            This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
	*/
	Since *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesNumberCommentsParams contains all the parameters to send to the API endpoint

for the get v5 repos owner repo issues number comments operation.

Typically these are written to a http.Request.

func NewGetV5ReposOwnerRepoIssuesNumberCommentsParams

func NewGetV5ReposOwnerRepoIssuesNumberCommentsParams() *GetV5ReposOwnerRepoIssuesNumberCommentsParams

NewGetV5ReposOwnerRepoIssuesNumberCommentsParams creates a new GetV5ReposOwnerRepoIssuesNumberCommentsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext deprecated

func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberCommentsParams

NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext creates a new GetV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberCommentsParams.

func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient

func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberCommentsParams

NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout

func NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberCommentsParams

NewGetV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a timeout on a request.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken

func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetContext deprecated

SetContext adds the context to the get v5 repos owner repo issues number comments params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberCommentsParams.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetDefaults

SetDefaults hydrates default values in the get v5 repos owner repo issues number comments params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient

func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetNumber

SetNumber adds the number to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetOrder

SetOrder adds the order to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetOwner

SetOwner adds the owner to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPage

SetPage adds the page to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPerPage

func (o *GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetRepo

SetRepo adds the repo to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetSince

SetSince adds the since to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) SetTimeout

SetTimeout adds the timeout to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithContext deprecated

WithContext adds the context to the get v5 repos owner repo issues number comments params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberCommentsParams.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithDefaults

WithDefaults hydrates default values in the get v5 repos owner repo issues number comments params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithNumber

WithNumber adds the number to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithOrder

WithOrder adds the order to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithOwner

WithOwner adds the owner to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithPage

WithPage adds the page to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithPerPage

WithPerPage adds the perPage to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithRepo

WithRepo adds the repo to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithSince

WithSince adds the since to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WithTimeout

WithTimeout adds the timeout to the get v5 repos owner repo issues number comments params.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5ReposOwnerRepoIssuesNumberCommentsReader

type GetV5ReposOwnerRepoIssuesNumberCommentsReader struct {
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesNumberCommentsReader is a Reader for the GetV5ReposOwnerRepoIssuesNumberComments structure.

func (*GetV5ReposOwnerRepoIssuesNumberCommentsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV5ReposOwnerRepoIssuesNumberOK

type GetV5ReposOwnerRepoIssuesNumberOK struct {
	Payload *models.Issue
}

GetV5ReposOwnerRepoIssuesNumberOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5ReposOwnerRepoIssuesNumberOK

func NewGetV5ReposOwnerRepoIssuesNumberOK() *GetV5ReposOwnerRepoIssuesNumberOK

NewGetV5ReposOwnerRepoIssuesNumberOK creates a GetV5ReposOwnerRepoIssuesNumberOK with default headers values

func (*GetV5ReposOwnerRepoIssuesNumberOK) Code

Code gets the status code for the get v5 repos owner repo issues number o k response

func (*GetV5ReposOwnerRepoIssuesNumberOK) Error

func (*GetV5ReposOwnerRepoIssuesNumberOK) GetPayload

func (*GetV5ReposOwnerRepoIssuesNumberOK) IsClientError

func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsClientError() bool

IsClientError returns true when this get v5 repos owner repo issues number o k response has a 4xx status code

func (*GetV5ReposOwnerRepoIssuesNumberOK) IsCode

func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsCode(code int) bool

IsCode returns true when this get v5 repos owner repo issues number o k response a status code equal to that given

func (*GetV5ReposOwnerRepoIssuesNumberOK) IsRedirect

func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsRedirect() bool

IsRedirect returns true when this get v5 repos owner repo issues number o k response has a 3xx status code

func (*GetV5ReposOwnerRepoIssuesNumberOK) IsServerError

func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsServerError() bool

IsServerError returns true when this get v5 repos owner repo issues number o k response has a 5xx status code

func (*GetV5ReposOwnerRepoIssuesNumberOK) IsSuccess

func (o *GetV5ReposOwnerRepoIssuesNumberOK) IsSuccess() bool

IsSuccess returns true when this get v5 repos owner repo issues number o k response has a 2xx status code

func (*GetV5ReposOwnerRepoIssuesNumberOK) String

type GetV5ReposOwnerRepoIssuesNumberParams

type GetV5ReposOwnerRepoIssuesNumberParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Repo.

	   仓库路径(path)
	*/
	Repo string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesNumberParams contains all the parameters to send to the API endpoint

for the get v5 repos owner repo issues number operation.

Typically these are written to a http.Request.

func NewGetV5ReposOwnerRepoIssuesNumberParams

func NewGetV5ReposOwnerRepoIssuesNumberParams() *GetV5ReposOwnerRepoIssuesNumberParams

NewGetV5ReposOwnerRepoIssuesNumberParams creates a new GetV5ReposOwnerRepoIssuesNumberParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5ReposOwnerRepoIssuesNumberParamsWithContext deprecated

func NewGetV5ReposOwnerRepoIssuesNumberParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesNumberParams

NewGetV5ReposOwnerRepoIssuesNumberParamsWithContext creates a new GetV5ReposOwnerRepoIssuesNumberParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberParams.

func NewGetV5ReposOwnerRepoIssuesNumberParamsWithHTTPClient

func NewGetV5ReposOwnerRepoIssuesNumberParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesNumberParams

NewGetV5ReposOwnerRepoIssuesNumberParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesNumberParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5ReposOwnerRepoIssuesNumberParamsWithTimeout

func NewGetV5ReposOwnerRepoIssuesNumberParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesNumberParams

NewGetV5ReposOwnerRepoIssuesNumberParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesNumberParams object with the ability to set a timeout on a request.

func (*GetV5ReposOwnerRepoIssuesNumberParams) SetAccessToken

func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) SetContext deprecated

SetContext adds the context to the get v5 repos owner repo issues number params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberParams.

func (*GetV5ReposOwnerRepoIssuesNumberParams) SetDefaults

func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetDefaults()

SetDefaults hydrates default values in the get v5 repos owner repo issues number params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesNumberParams) SetHTTPClient

func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) SetNumber

func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetNumber(number string)

SetNumber adds the number to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) SetOwner

func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetOwner(owner string)

SetOwner adds the owner to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) SetRepo

SetRepo adds the repo to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) SetTimeout

func (o *GetV5ReposOwnerRepoIssuesNumberParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WithContext deprecated

WithContext adds the context to the get v5 repos owner repo issues number params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesNumberParams.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WithDefaults

WithDefaults hydrates default values in the get v5 repos owner repo issues number params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WithNumber

WithNumber adds the number to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WithOwner

WithOwner adds the owner to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WithRepo

WithRepo adds the repo to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WithTimeout

WithTimeout adds the timeout to the get v5 repos owner repo issues number params.

func (*GetV5ReposOwnerRepoIssuesNumberParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5ReposOwnerRepoIssuesNumberReader

type GetV5ReposOwnerRepoIssuesNumberReader struct {
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesNumberReader is a Reader for the GetV5ReposOwnerRepoIssuesNumber structure.

func (*GetV5ReposOwnerRepoIssuesNumberReader) ReadResponse

func (o *GetV5ReposOwnerRepoIssuesNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetV5ReposOwnerRepoIssuesOK

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

GetV5ReposOwnerRepoIssuesOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5ReposOwnerRepoIssuesOK

func NewGetV5ReposOwnerRepoIssuesOK() *GetV5ReposOwnerRepoIssuesOK

NewGetV5ReposOwnerRepoIssuesOK creates a GetV5ReposOwnerRepoIssuesOK with default headers values

func (*GetV5ReposOwnerRepoIssuesOK) Code

func (o *GetV5ReposOwnerRepoIssuesOK) Code() int

Code gets the status code for the get v5 repos owner repo issues o k response

func (*GetV5ReposOwnerRepoIssuesOK) Error

func (*GetV5ReposOwnerRepoIssuesOK) GetPayload

func (o *GetV5ReposOwnerRepoIssuesOK) GetPayload() []*models.Issue

func (*GetV5ReposOwnerRepoIssuesOK) IsClientError

func (o *GetV5ReposOwnerRepoIssuesOK) IsClientError() bool

IsClientError returns true when this get v5 repos owner repo issues o k response has a 4xx status code

func (*GetV5ReposOwnerRepoIssuesOK) IsCode

func (o *GetV5ReposOwnerRepoIssuesOK) IsCode(code int) bool

IsCode returns true when this get v5 repos owner repo issues o k response a status code equal to that given

func (*GetV5ReposOwnerRepoIssuesOK) IsRedirect

func (o *GetV5ReposOwnerRepoIssuesOK) IsRedirect() bool

IsRedirect returns true when this get v5 repos owner repo issues o k response has a 3xx status code

func (*GetV5ReposOwnerRepoIssuesOK) IsServerError

func (o *GetV5ReposOwnerRepoIssuesOK) IsServerError() bool

IsServerError returns true when this get v5 repos owner repo issues o k response has a 5xx status code

func (*GetV5ReposOwnerRepoIssuesOK) IsSuccess

func (o *GetV5ReposOwnerRepoIssuesOK) IsSuccess() bool

IsSuccess returns true when this get v5 repos owner repo issues o k response has a 2xx status code

func (*GetV5ReposOwnerRepoIssuesOK) String

func (o *GetV5ReposOwnerRepoIssuesOK) String() string

type GetV5ReposOwnerRepoIssuesParams

type GetV5ReposOwnerRepoIssuesParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Assignee.

	   用户的username。 none为没指派者, *为所有带有指派者的
	*/
	Assignee *string

	/* CreatedAt.

	   任务创建时间,格式同上
	*/
	CreatedAt *string

	/* Creator.

	   创建Issues的用户username
	*/
	Creator *string

	/* Deadline.

	   计划截止日期,格式同上
	*/
	Deadline *string

	/* Direction.

	   排序方式: 升序(asc),降序(desc)。默认: desc

	   Default: "desc"
	*/
	Direction *string

	/* FinishedAt.

	   任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
	*/
	FinishedAt *string

	/* Labels.

	   用逗号分开的标签。如: bug,performance
	*/
	Labels *string

	/* Milestone.

	   根据里程碑标题。none为没里程碑的,*为所有带里程碑的
	*/
	Milestone *string

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	/* Program.

	   所属项目名称。none为没有所属项目,*为所有带所属项目的
	*/
	Program *string

	/* Q.

	   搜索关键字
	*/
	Q *string

	/* Repo.

	   仓库路径(path)
	*/
	Repo string

	/* Schedule.

	   计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
	*/
	Schedule *string

	/* SecurityHole.

	   是否只看安全属性的issue
	*/
	SecurityHole *bool

	/* Since.

	   起始的更新时间,要求时间格式为 ISO 8601
	*/
	Since *string

	/* Sort.

	   排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at

	   Default: "created"
	*/
	Sort *string

	/* State.

	   Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open

	   Default: "open"
	*/
	State *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesParams contains all the parameters to send to the API endpoint

for the get v5 repos owner repo issues operation.

Typically these are written to a http.Request.

func NewGetV5ReposOwnerRepoIssuesParams

func NewGetV5ReposOwnerRepoIssuesParams() *GetV5ReposOwnerRepoIssuesParams

NewGetV5ReposOwnerRepoIssuesParams creates a new GetV5ReposOwnerRepoIssuesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5ReposOwnerRepoIssuesParamsWithContext deprecated

func NewGetV5ReposOwnerRepoIssuesParamsWithContext(ctx context.Context) *GetV5ReposOwnerRepoIssuesParams

NewGetV5ReposOwnerRepoIssuesParamsWithContext creates a new GetV5ReposOwnerRepoIssuesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesParams.

func NewGetV5ReposOwnerRepoIssuesParamsWithHTTPClient

func NewGetV5ReposOwnerRepoIssuesParamsWithHTTPClient(client *http.Client) *GetV5ReposOwnerRepoIssuesParams

NewGetV5ReposOwnerRepoIssuesParamsWithHTTPClient creates a new GetV5ReposOwnerRepoIssuesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5ReposOwnerRepoIssuesParamsWithTimeout

func NewGetV5ReposOwnerRepoIssuesParamsWithTimeout(timeout time.Duration) *GetV5ReposOwnerRepoIssuesParams

NewGetV5ReposOwnerRepoIssuesParamsWithTimeout creates a new GetV5ReposOwnerRepoIssuesParams object with the ability to set a timeout on a request.

func (*GetV5ReposOwnerRepoIssuesParams) SetAccessToken

func (o *GetV5ReposOwnerRepoIssuesParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetAssignee

func (o *GetV5ReposOwnerRepoIssuesParams) SetAssignee(assignee *string)

SetAssignee adds the assignee to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetContext deprecated

func (o *GetV5ReposOwnerRepoIssuesParams) SetContext(ctx context.Context)

SetContext adds the context to the get v5 repos owner repo issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesParams.

func (*GetV5ReposOwnerRepoIssuesParams) SetCreatedAt

func (o *GetV5ReposOwnerRepoIssuesParams) SetCreatedAt(createdAt *string)

SetCreatedAt adds the createdAt to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetCreator

func (o *GetV5ReposOwnerRepoIssuesParams) SetCreator(creator *string)

SetCreator adds the creator to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetDeadline

func (o *GetV5ReposOwnerRepoIssuesParams) SetDeadline(deadline *string)

SetDeadline adds the deadline to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetDefaults

func (o *GetV5ReposOwnerRepoIssuesParams) SetDefaults()

SetDefaults hydrates default values in the get v5 repos owner repo issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesParams) SetDirection

func (o *GetV5ReposOwnerRepoIssuesParams) SetDirection(direction *string)

SetDirection adds the direction to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetFinishedAt

func (o *GetV5ReposOwnerRepoIssuesParams) SetFinishedAt(finishedAt *string)

SetFinishedAt adds the finishedAt to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetHTTPClient

func (o *GetV5ReposOwnerRepoIssuesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetLabels

func (o *GetV5ReposOwnerRepoIssuesParams) SetLabels(labels *string)

SetLabels adds the labels to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetMilestone

func (o *GetV5ReposOwnerRepoIssuesParams) SetMilestone(milestone *string)

SetMilestone adds the milestone to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetOwner

func (o *GetV5ReposOwnerRepoIssuesParams) SetOwner(owner string)

SetOwner adds the owner to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetPage

func (o *GetV5ReposOwnerRepoIssuesParams) SetPage(page *int32)

SetPage adds the page to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetPerPage

func (o *GetV5ReposOwnerRepoIssuesParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetProgram

func (o *GetV5ReposOwnerRepoIssuesParams) SetProgram(program *string)

SetProgram adds the program to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetQ

SetQ adds the q to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetRepo

func (o *GetV5ReposOwnerRepoIssuesParams) SetRepo(repo string)

SetRepo adds the repo to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetSchedule

func (o *GetV5ReposOwnerRepoIssuesParams) SetSchedule(schedule *string)

SetSchedule adds the schedule to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetSecurityHole

func (o *GetV5ReposOwnerRepoIssuesParams) SetSecurityHole(securityHole *bool)

SetSecurityHole adds the securityHole to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetSince

func (o *GetV5ReposOwnerRepoIssuesParams) SetSince(since *string)

SetSince adds the since to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetSort

func (o *GetV5ReposOwnerRepoIssuesParams) SetSort(sort *string)

SetSort adds the sort to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetState

func (o *GetV5ReposOwnerRepoIssuesParams) SetState(state *string)

SetState adds the state to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) SetTimeout

func (o *GetV5ReposOwnerRepoIssuesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithAccessToken

WithAccessToken adds the accessToken to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithAssignee

WithAssignee adds the assignee to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithContext deprecated

WithContext adds the context to the get v5 repos owner repo issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5ReposOwnerRepoIssuesParams.

func (*GetV5ReposOwnerRepoIssuesParams) WithCreatedAt

WithCreatedAt adds the createdAt to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithCreator

WithCreator adds the creator to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithDeadline

WithDeadline adds the deadline to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithDefaults

WithDefaults hydrates default values in the get v5 repos owner repo issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5ReposOwnerRepoIssuesParams) WithDirection

WithDirection adds the direction to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithFinishedAt

WithFinishedAt adds the finishedAt to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithLabels

WithLabels adds the labels to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithMilestone

WithMilestone adds the milestone to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithOwner

WithOwner adds the owner to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithPage

WithPage adds the page to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithPerPage

WithPerPage adds the perPage to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithProgram

WithProgram adds the program to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithQ

WithQ adds the q to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithRepo

WithRepo adds the repo to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithSchedule

WithSchedule adds the schedule to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithSecurityHole

func (o *GetV5ReposOwnerRepoIssuesParams) WithSecurityHole(securityHole *bool) *GetV5ReposOwnerRepoIssuesParams

WithSecurityHole adds the securityHole to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithSince

WithSince adds the since to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithSort

WithSort adds the sort to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithState

WithState adds the state to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WithTimeout

WithTimeout adds the timeout to the get v5 repos owner repo issues params.

func (*GetV5ReposOwnerRepoIssuesParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5ReposOwnerRepoIssuesReader

type GetV5ReposOwnerRepoIssuesReader struct {
	// contains filtered or unexported fields
}

GetV5ReposOwnerRepoIssuesReader is a Reader for the GetV5ReposOwnerRepoIssues structure.

func (*GetV5ReposOwnerRepoIssuesReader) ReadResponse

func (o *GetV5ReposOwnerRepoIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetV5UserIssuesOK

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

GetV5UserIssuesOK describes a response with status code 200, with default header values.

返回格式

func NewGetV5UserIssuesOK

func NewGetV5UserIssuesOK() *GetV5UserIssuesOK

NewGetV5UserIssuesOK creates a GetV5UserIssuesOK with default headers values

func (*GetV5UserIssuesOK) Code

func (o *GetV5UserIssuesOK) Code() int

Code gets the status code for the get v5 user issues o k response

func (*GetV5UserIssuesOK) Error

func (o *GetV5UserIssuesOK) Error() string

func (*GetV5UserIssuesOK) GetPayload

func (o *GetV5UserIssuesOK) GetPayload() []*models.Issue

func (*GetV5UserIssuesOK) IsClientError

func (o *GetV5UserIssuesOK) IsClientError() bool

IsClientError returns true when this get v5 user issues o k response has a 4xx status code

func (*GetV5UserIssuesOK) IsCode

func (o *GetV5UserIssuesOK) IsCode(code int) bool

IsCode returns true when this get v5 user issues o k response a status code equal to that given

func (*GetV5UserIssuesOK) IsRedirect

func (o *GetV5UserIssuesOK) IsRedirect() bool

IsRedirect returns true when this get v5 user issues o k response has a 3xx status code

func (*GetV5UserIssuesOK) IsServerError

func (o *GetV5UserIssuesOK) IsServerError() bool

IsServerError returns true when this get v5 user issues o k response has a 5xx status code

func (*GetV5UserIssuesOK) IsSuccess

func (o *GetV5UserIssuesOK) IsSuccess() bool

IsSuccess returns true when this get v5 user issues o k response has a 2xx status code

func (*GetV5UserIssuesOK) String

func (o *GetV5UserIssuesOK) String() string

type GetV5UserIssuesParams

type GetV5UserIssuesParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* CreatedAt.

	   任务创建时间,格式同上
	*/
	CreatedAt *string

	/* Deadline.

	   计划截止日期,格式同上
	*/
	Deadline *string

	/* Direction.

	   排序方式: 升序(asc),降序(desc)。默认: desc

	   Default: "desc"
	*/
	Direction *string

	/* Filter.

	   筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned

	   Default: "assigned"
	*/
	Filter *string

	/* FinishedAt.

	   任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上
	*/
	FinishedAt *string

	/* Labels.

	   用逗号分开的标签。如: bug,performance
	*/
	Labels *string

	/* Page.

	   当前的页码

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PerPage.

	   每页的数量,最大为 100

	   Format: int32
	   Default: 20
	*/
	PerPage *int32

	/* Schedule.

	   计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80
	*/
	Schedule *string

	/* Since.

	   起始的更新时间,要求时间格式为 ISO 8601
	*/
	Since *string

	/* Sort.

	   排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at

	   Default: "created"
	*/
	Sort *string

	/* State.

	   Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open

	   Default: "open"
	*/
	State *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV5UserIssuesParams contains all the parameters to send to the API endpoint

for the get v5 user issues operation.

Typically these are written to a http.Request.

func NewGetV5UserIssuesParams

func NewGetV5UserIssuesParams() *GetV5UserIssuesParams

NewGetV5UserIssuesParams creates a new GetV5UserIssuesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetV5UserIssuesParamsWithContext deprecated

func NewGetV5UserIssuesParamsWithContext(ctx context.Context) *GetV5UserIssuesParams

NewGetV5UserIssuesParamsWithContext creates a new GetV5UserIssuesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetV5UserIssuesParams.

func NewGetV5UserIssuesParamsWithHTTPClient

func NewGetV5UserIssuesParamsWithHTTPClient(client *http.Client) *GetV5UserIssuesParams

NewGetV5UserIssuesParamsWithHTTPClient creates a new GetV5UserIssuesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV5UserIssuesParamsWithTimeout

func NewGetV5UserIssuesParamsWithTimeout(timeout time.Duration) *GetV5UserIssuesParams

NewGetV5UserIssuesParamsWithTimeout creates a new GetV5UserIssuesParams object with the ability to set a timeout on a request.

func (*GetV5UserIssuesParams) SetAccessToken

func (o *GetV5UserIssuesParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetContext deprecated

func (o *GetV5UserIssuesParams) SetContext(ctx context.Context)

SetContext adds the context to the get v5 user issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5UserIssuesParams.

func (*GetV5UserIssuesParams) SetCreatedAt

func (o *GetV5UserIssuesParams) SetCreatedAt(createdAt *string)

SetCreatedAt adds the createdAt to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetDeadline

func (o *GetV5UserIssuesParams) SetDeadline(deadline *string)

SetDeadline adds the deadline to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetDefaults

func (o *GetV5UserIssuesParams) SetDefaults()

SetDefaults hydrates default values in the get v5 user issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5UserIssuesParams) SetDirection

func (o *GetV5UserIssuesParams) SetDirection(direction *string)

SetDirection adds the direction to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetFilter

func (o *GetV5UserIssuesParams) SetFilter(filter *string)

SetFilter adds the filter to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetFinishedAt

func (o *GetV5UserIssuesParams) SetFinishedAt(finishedAt *string)

SetFinishedAt adds the finishedAt to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetHTTPClient

func (o *GetV5UserIssuesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetLabels

func (o *GetV5UserIssuesParams) SetLabels(labels *string)

SetLabels adds the labels to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetPage

func (o *GetV5UserIssuesParams) SetPage(page *int32)

SetPage adds the page to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetPerPage

func (o *GetV5UserIssuesParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetSchedule

func (o *GetV5UserIssuesParams) SetSchedule(schedule *string)

SetSchedule adds the schedule to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetSince

func (o *GetV5UserIssuesParams) SetSince(since *string)

SetSince adds the since to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetSort

func (o *GetV5UserIssuesParams) SetSort(sort *string)

SetSort adds the sort to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetState

func (o *GetV5UserIssuesParams) SetState(state *string)

SetState adds the state to the get v5 user issues params.

func (*GetV5UserIssuesParams) SetTimeout

func (o *GetV5UserIssuesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithAccessToken

func (o *GetV5UserIssuesParams) WithAccessToken(accessToken *string) *GetV5UserIssuesParams

WithAccessToken adds the accessToken to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithContext deprecated

WithContext adds the context to the get v5 user issues params.

Deprecated: use the operation call with context to pass the context instead of GetV5UserIssuesParams.

func (*GetV5UserIssuesParams) WithCreatedAt

func (o *GetV5UserIssuesParams) WithCreatedAt(createdAt *string) *GetV5UserIssuesParams

WithCreatedAt adds the createdAt to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithDeadline

func (o *GetV5UserIssuesParams) WithDeadline(deadline *string) *GetV5UserIssuesParams

WithDeadline adds the deadline to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithDefaults

func (o *GetV5UserIssuesParams) WithDefaults() *GetV5UserIssuesParams

WithDefaults hydrates default values in the get v5 user issues params (not the query body).

All values with no default are reset to their zero value.

func (*GetV5UserIssuesParams) WithDirection

func (o *GetV5UserIssuesParams) WithDirection(direction *string) *GetV5UserIssuesParams

WithDirection adds the direction to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithFilter

func (o *GetV5UserIssuesParams) WithFilter(filter *string) *GetV5UserIssuesParams

WithFilter adds the filter to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithFinishedAt

func (o *GetV5UserIssuesParams) WithFinishedAt(finishedAt *string) *GetV5UserIssuesParams

WithFinishedAt adds the finishedAt to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithHTTPClient

func (o *GetV5UserIssuesParams) WithHTTPClient(client *http.Client) *GetV5UserIssuesParams

WithHTTPClient adds the HTTPClient to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithLabels

func (o *GetV5UserIssuesParams) WithLabels(labels *string) *GetV5UserIssuesParams

WithLabels adds the labels to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithPage

WithPage adds the page to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithPerPage

func (o *GetV5UserIssuesParams) WithPerPage(perPage *int32) *GetV5UserIssuesParams

WithPerPage adds the perPage to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithSchedule

func (o *GetV5UserIssuesParams) WithSchedule(schedule *string) *GetV5UserIssuesParams

WithSchedule adds the schedule to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithSince

func (o *GetV5UserIssuesParams) WithSince(since *string) *GetV5UserIssuesParams

WithSince adds the since to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithSort

WithSort adds the sort to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithState

func (o *GetV5UserIssuesParams) WithState(state *string) *GetV5UserIssuesParams

WithState adds the state to the get v5 user issues params.

func (*GetV5UserIssuesParams) WithTimeout

func (o *GetV5UserIssuesParams) WithTimeout(timeout time.Duration) *GetV5UserIssuesParams

WithTimeout adds the timeout to the get v5 user issues params.

func (*GetV5UserIssuesParams) WriteToRequest

func (o *GetV5UserIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type GetV5UserIssuesReader

type GetV5UserIssuesReader struct {
	// contains filtered or unexported fields
}

GetV5UserIssuesReader is a Reader for the GetV5UserIssues structure.

func (*GetV5UserIssuesReader) ReadResponse

func (o *GetV5UserIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PatchV5EnterprisesEnterpriseIssuesNumberOK

type PatchV5EnterprisesEnterpriseIssuesNumberOK struct {
	Payload *models.Issue
}

PatchV5EnterprisesEnterpriseIssuesNumberOK describes a response with status code 200, with default header values.

返回格式

func NewPatchV5EnterprisesEnterpriseIssuesNumberOK

func NewPatchV5EnterprisesEnterpriseIssuesNumberOK() *PatchV5EnterprisesEnterpriseIssuesNumberOK

NewPatchV5EnterprisesEnterpriseIssuesNumberOK creates a PatchV5EnterprisesEnterpriseIssuesNumberOK with default headers values

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) Code

Code gets the status code for the patch v5 enterprises enterprise issues number o k response

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) Error

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) GetPayload

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsClientError

IsClientError returns true when this patch v5 enterprises enterprise issues number o k response has a 4xx status code

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsCode

IsCode returns true when this patch v5 enterprises enterprise issues number o k response a status code equal to that given

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsRedirect

IsRedirect returns true when this patch v5 enterprises enterprise issues number o k response has a 3xx status code

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsServerError

IsServerError returns true when this patch v5 enterprises enterprise issues number o k response has a 5xx status code

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) IsSuccess

IsSuccess returns true when this patch v5 enterprises enterprise issues number o k response has a 2xx status code

func (*PatchV5EnterprisesEnterpriseIssuesNumberOK) String

type PatchV5EnterprisesEnterpriseIssuesNumberParams

type PatchV5EnterprisesEnterpriseIssuesNumberParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Assignee.

	   Issue负责人的个人空间地址
	*/
	Assignee *string

	/* Body.

	   Issue描述
	*/
	Body *string

	/* Branch.

	   分支名称,传空串表示取消关联分支
	*/
	Branch *string

	/* Collaborators.

	   Issue协助者的个人空间地址, 以 , 分隔
	*/
	Collaborators *string

	/* CveID.

	   CVE identifier for security issues
	*/
	CveID *string

	/* Enterprise.

	   企业的路径(path/login)
	*/
	Enterprise string

	/* Labels.

	   用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance
	*/
	Labels *string

	/* Milestone.

	   里程碑序号

	   Format: int32
	*/
	Milestone *int32

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Program.

	   项目ID
	*/
	Program *string

	/* SecurityHole.

	   是否是私有issue(默认为false)
	*/
	SecurityHole *bool

	/* State.

	   Issue 状态,open(开启的)、progressing(进行中)、closed(关闭的)
	*/
	State *string

	/* Title.

	   Issue标题
	*/
	Title *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchV5EnterprisesEnterpriseIssuesNumberParams contains all the parameters to send to the API endpoint

for the patch v5 enterprises enterprise issues number operation.

Typically these are written to a http.Request.

func NewPatchV5EnterprisesEnterpriseIssuesNumberParams

func NewPatchV5EnterprisesEnterpriseIssuesNumberParams() *PatchV5EnterprisesEnterpriseIssuesNumberParams

NewPatchV5EnterprisesEnterpriseIssuesNumberParams creates a new PatchV5EnterprisesEnterpriseIssuesNumberParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithContext deprecated

func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithContext(ctx context.Context) *PatchV5EnterprisesEnterpriseIssuesNumberParams

NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithContext creates a new PatchV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseIssuesNumberParams.

func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient

func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient(client *http.Client) *PatchV5EnterprisesEnterpriseIssuesNumberParams

NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithHTTPClient creates a new PatchV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout

func NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout(timeout time.Duration) *PatchV5EnterprisesEnterpriseIssuesNumberParams

NewPatchV5EnterprisesEnterpriseIssuesNumberParamsWithTimeout creates a new PatchV5EnterprisesEnterpriseIssuesNumberParams object with the ability to set a timeout on a request.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken

func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAssignee

func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetAssignee(assignee *string)

SetAssignee adds the assignee to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetBody

SetBody adds the body to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetBranch

SetBranch adds the branch to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCollaborators

func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCollaborators(collaborators *string)

SetCollaborators adds the collaborators to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetContext deprecated

SetContext adds the context to the patch v5 enterprises enterprise issues number params.

Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseIssuesNumberParams.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetCveID

SetCveID adds the cveId to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetDefaults

SetDefaults hydrates default values in the patch v5 enterprises enterprise issues number params (not the query body).

All values with no default are reset to their zero value.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise

func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetEnterprise(enterprise string)

SetEnterprise adds the enterprise to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetLabels

SetLabels adds the labels to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetMilestone

func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetMilestone(milestone *int32)

SetMilestone adds the milestone to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetNumber

SetNumber adds the number to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetProgram

SetProgram adds the program to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetSecurityHole

func (o *PatchV5EnterprisesEnterpriseIssuesNumberParams) SetSecurityHole(securityHole *bool)

SetSecurityHole adds the securityHole to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetState

SetState adds the state to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetTimeout

SetTimeout adds the timeout to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) SetTitle

SetTitle adds the title to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithAccessToken

WithAccessToken adds the accessToken to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithAssignee

WithAssignee adds the assignee to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithBody

WithBody adds the body to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithBranch

WithBranch adds the branch to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithCollaborators

WithCollaborators adds the collaborators to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithContext deprecated

WithContext adds the context to the patch v5 enterprises enterprise issues number params.

Deprecated: use the operation call with context to pass the context instead of PatchV5EnterprisesEnterpriseIssuesNumberParams.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithCveID

WithCveID adds the cveID to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithDefaults

WithDefaults hydrates default values in the patch v5 enterprises enterprise issues number params (not the query body).

All values with no default are reset to their zero value.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithEnterprise

WithEnterprise adds the enterprise to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithLabels

WithLabels adds the labels to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithMilestone

WithMilestone adds the milestone to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithNumber

WithNumber adds the number to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithProgram

WithProgram adds the program to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithSecurityHole

WithSecurityHole adds the securityHole to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithState

WithState adds the state to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithTimeout

WithTimeout adds the timeout to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WithTitle

WithTitle adds the title to the patch v5 enterprises enterprise issues number params.

func (*PatchV5EnterprisesEnterpriseIssuesNumberParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PatchV5EnterprisesEnterpriseIssuesNumberReader

type PatchV5EnterprisesEnterpriseIssuesNumberReader struct {
	// contains filtered or unexported fields
}

PatchV5EnterprisesEnterpriseIssuesNumberReader is a Reader for the PatchV5EnterprisesEnterpriseIssuesNumber structure.

func (*PatchV5EnterprisesEnterpriseIssuesNumberReader) ReadResponse

ReadResponse reads a server response into the received o.

type PatchV5ReposOwnerIssuesNumberOK

type PatchV5ReposOwnerIssuesNumberOK struct {
	Payload *models.Issue
}

PatchV5ReposOwnerIssuesNumberOK describes a response with status code 200, with default header values.

返回格式

func NewPatchV5ReposOwnerIssuesNumberOK

func NewPatchV5ReposOwnerIssuesNumberOK() *PatchV5ReposOwnerIssuesNumberOK

NewPatchV5ReposOwnerIssuesNumberOK creates a PatchV5ReposOwnerIssuesNumberOK with default headers values

func (*PatchV5ReposOwnerIssuesNumberOK) Code

Code gets the status code for the patch v5 repos owner issues number o k response

func (*PatchV5ReposOwnerIssuesNumberOK) Error

func (*PatchV5ReposOwnerIssuesNumberOK) GetPayload

func (o *PatchV5ReposOwnerIssuesNumberOK) GetPayload() *models.Issue

func (*PatchV5ReposOwnerIssuesNumberOK) IsClientError

func (o *PatchV5ReposOwnerIssuesNumberOK) IsClientError() bool

IsClientError returns true when this patch v5 repos owner issues number o k response has a 4xx status code

func (*PatchV5ReposOwnerIssuesNumberOK) IsCode

func (o *PatchV5ReposOwnerIssuesNumberOK) IsCode(code int) bool

IsCode returns true when this patch v5 repos owner issues number o k response a status code equal to that given

func (*PatchV5ReposOwnerIssuesNumberOK) IsRedirect

func (o *PatchV5ReposOwnerIssuesNumberOK) IsRedirect() bool

IsRedirect returns true when this patch v5 repos owner issues number o k response has a 3xx status code

func (*PatchV5ReposOwnerIssuesNumberOK) IsServerError

func (o *PatchV5ReposOwnerIssuesNumberOK) IsServerError() bool

IsServerError returns true when this patch v5 repos owner issues number o k response has a 5xx status code

func (*PatchV5ReposOwnerIssuesNumberOK) IsSuccess

func (o *PatchV5ReposOwnerIssuesNumberOK) IsSuccess() bool

IsSuccess returns true when this patch v5 repos owner issues number o k response has a 2xx status code

func (*PatchV5ReposOwnerIssuesNumberOK) String

type PatchV5ReposOwnerIssuesNumberParams

type PatchV5ReposOwnerIssuesNumberParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Assignee.

	   Issue负责人的个人空间地址
	*/
	Assignee *string

	/* Body.

	   Issue描述
	*/
	Body *string

	/* Branch.

	   分支名称,传空串表示取消关联分支
	*/
	Branch *string

	/* Collaborators.

	   Issue协助者的个人空间地址, 以 , 分隔
	*/
	Collaborators *string

	/* CveID.

	   CVE identifier for security issues
	*/
	CveID *string

	/* Labels.

	   用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance
	*/
	Labels *string

	/* Milestone.

	   里程碑序号

	   Format: int32
	*/
	Milestone *int32

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Program.

	   项目ID
	*/
	Program *string

	/* Repo.

	   仓库路径(path)
	*/
	Repo *string

	/* SecurityHole.

	   是否是私有issue(默认为false)
	*/
	SecurityHole *bool

	/* State.

	   Issue 状态,open(开启的)、progressing(进行中)、closed(关闭的)
	*/
	State *string

	/* Title.

	   Issue标题
	*/
	Title *string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchV5ReposOwnerIssuesNumberParams contains all the parameters to send to the API endpoint

for the patch v5 repos owner issues number operation.

Typically these are written to a http.Request.

func NewPatchV5ReposOwnerIssuesNumberParams

func NewPatchV5ReposOwnerIssuesNumberParams() *PatchV5ReposOwnerIssuesNumberParams

NewPatchV5ReposOwnerIssuesNumberParams creates a new PatchV5ReposOwnerIssuesNumberParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchV5ReposOwnerIssuesNumberParamsWithContext deprecated

func NewPatchV5ReposOwnerIssuesNumberParamsWithContext(ctx context.Context) *PatchV5ReposOwnerIssuesNumberParams

NewPatchV5ReposOwnerIssuesNumberParamsWithContext creates a new PatchV5ReposOwnerIssuesNumberParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerIssuesNumberParams.

func NewPatchV5ReposOwnerIssuesNumberParamsWithHTTPClient

func NewPatchV5ReposOwnerIssuesNumberParamsWithHTTPClient(client *http.Client) *PatchV5ReposOwnerIssuesNumberParams

NewPatchV5ReposOwnerIssuesNumberParamsWithHTTPClient creates a new PatchV5ReposOwnerIssuesNumberParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV5ReposOwnerIssuesNumberParamsWithTimeout

func NewPatchV5ReposOwnerIssuesNumberParamsWithTimeout(timeout time.Duration) *PatchV5ReposOwnerIssuesNumberParams

NewPatchV5ReposOwnerIssuesNumberParamsWithTimeout creates a new PatchV5ReposOwnerIssuesNumberParams object with the ability to set a timeout on a request.

func (*PatchV5ReposOwnerIssuesNumberParams) SetAccessToken

func (o *PatchV5ReposOwnerIssuesNumberParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetAssignee

func (o *PatchV5ReposOwnerIssuesNumberParams) SetAssignee(assignee *string)

SetAssignee adds the assignee to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetBody

func (o *PatchV5ReposOwnerIssuesNumberParams) SetBody(body *string)

SetBody adds the body to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetBranch

func (o *PatchV5ReposOwnerIssuesNumberParams) SetBranch(branch *string)

SetBranch adds the branch to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetCollaborators

func (o *PatchV5ReposOwnerIssuesNumberParams) SetCollaborators(collaborators *string)

SetCollaborators adds the collaborators to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetContext deprecated

SetContext adds the context to the patch v5 repos owner issues number params.

Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerIssuesNumberParams.

func (*PatchV5ReposOwnerIssuesNumberParams) SetCveID

func (o *PatchV5ReposOwnerIssuesNumberParams) SetCveID(cveID *string)

SetCveID adds the cveId to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetDefaults

func (o *PatchV5ReposOwnerIssuesNumberParams) SetDefaults()

SetDefaults hydrates default values in the patch v5 repos owner issues number params (not the query body).

All values with no default are reset to their zero value.

func (*PatchV5ReposOwnerIssuesNumberParams) SetHTTPClient

func (o *PatchV5ReposOwnerIssuesNumberParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetLabels

func (o *PatchV5ReposOwnerIssuesNumberParams) SetLabels(labels *string)

SetLabels adds the labels to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetMilestone

func (o *PatchV5ReposOwnerIssuesNumberParams) SetMilestone(milestone *int32)

SetMilestone adds the milestone to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetNumber

func (o *PatchV5ReposOwnerIssuesNumberParams) SetNumber(number string)

SetNumber adds the number to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetOwner

func (o *PatchV5ReposOwnerIssuesNumberParams) SetOwner(owner string)

SetOwner adds the owner to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetProgram

func (o *PatchV5ReposOwnerIssuesNumberParams) SetProgram(program *string)

SetProgram adds the program to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetRepo

func (o *PatchV5ReposOwnerIssuesNumberParams) SetRepo(repo *string)

SetRepo adds the repo to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetSecurityHole

func (o *PatchV5ReposOwnerIssuesNumberParams) SetSecurityHole(securityHole *bool)

SetSecurityHole adds the securityHole to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetState

func (o *PatchV5ReposOwnerIssuesNumberParams) SetState(state *string)

SetState adds the state to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetTimeout

func (o *PatchV5ReposOwnerIssuesNumberParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) SetTitle

func (o *PatchV5ReposOwnerIssuesNumberParams) SetTitle(title *string)

SetTitle adds the title to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithAccessToken

WithAccessToken adds the accessToken to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithAssignee

WithAssignee adds the assignee to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithBody

WithBody adds the body to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithBranch

WithBranch adds the branch to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithCollaborators

WithCollaborators adds the collaborators to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithContext deprecated

WithContext adds the context to the patch v5 repos owner issues number params.

Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerIssuesNumberParams.

func (*PatchV5ReposOwnerIssuesNumberParams) WithCveID

WithCveID adds the cveID to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithDefaults

WithDefaults hydrates default values in the patch v5 repos owner issues number params (not the query body).

All values with no default are reset to their zero value.

func (*PatchV5ReposOwnerIssuesNumberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithLabels

WithLabels adds the labels to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithMilestone

WithMilestone adds the milestone to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithNumber

WithNumber adds the number to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithOwner

WithOwner adds the owner to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithProgram

WithProgram adds the program to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithRepo

WithRepo adds the repo to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithSecurityHole

WithSecurityHole adds the securityHole to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithState

WithState adds the state to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithTimeout

WithTimeout adds the timeout to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WithTitle

WithTitle adds the title to the patch v5 repos owner issues number params.

func (*PatchV5ReposOwnerIssuesNumberParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PatchV5ReposOwnerIssuesNumberReader

type PatchV5ReposOwnerIssuesNumberReader struct {
	// contains filtered or unexported fields
}

PatchV5ReposOwnerIssuesNumberReader is a Reader for the PatchV5ReposOwnerIssuesNumber structure.

func (*PatchV5ReposOwnerIssuesNumberReader) ReadResponse

func (o *PatchV5ReposOwnerIssuesNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PatchV5ReposOwnerRepoIssuesCommentsIDOK

type PatchV5ReposOwnerRepoIssuesCommentsIDOK struct {
	Payload *models.Note
}

PatchV5ReposOwnerRepoIssuesCommentsIDOK describes a response with status code 200, with default header values.

返回格式

func NewPatchV5ReposOwnerRepoIssuesCommentsIDOK

func NewPatchV5ReposOwnerRepoIssuesCommentsIDOK() *PatchV5ReposOwnerRepoIssuesCommentsIDOK

NewPatchV5ReposOwnerRepoIssuesCommentsIDOK creates a PatchV5ReposOwnerRepoIssuesCommentsIDOK with default headers values

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) Code

Code gets the status code for the patch v5 repos owner repo issues comments Id o k response

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) Error

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) GetPayload

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError

func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsClientError() bool

IsClientError returns true when this patch v5 repos owner repo issues comments Id o k response has a 4xx status code

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsCode

IsCode returns true when this patch v5 repos owner repo issues comments Id o k response a status code equal to that given

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsRedirect

IsRedirect returns true when this patch v5 repos owner repo issues comments Id o k response has a 3xx status code

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError

func (o *PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsServerError() bool

IsServerError returns true when this patch v5 repos owner repo issues comments Id o k response has a 5xx status code

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) IsSuccess

IsSuccess returns true when this patch v5 repos owner repo issues comments Id o k response has a 2xx status code

func (*PatchV5ReposOwnerRepoIssuesCommentsIDOK) String

type PatchV5ReposOwnerRepoIssuesCommentsIDParams

type PatchV5ReposOwnerRepoIssuesCommentsIDParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Body.

	   The contents of the comment.
	*/
	Body string

	/* ID.

	   评论的ID

	   Format: int32
	*/
	ID int32

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Repo.

	   仓库路径(path)
	*/
	Repo string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchV5ReposOwnerRepoIssuesCommentsIDParams contains all the parameters to send to the API endpoint

for the patch v5 repos owner repo issues comments Id operation.

Typically these are written to a http.Request.

func NewPatchV5ReposOwnerRepoIssuesCommentsIDParams

func NewPatchV5ReposOwnerRepoIssuesCommentsIDParams() *PatchV5ReposOwnerRepoIssuesCommentsIDParams

NewPatchV5ReposOwnerRepoIssuesCommentsIDParams creates a new PatchV5ReposOwnerRepoIssuesCommentsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithContext deprecated

func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithContext(ctx context.Context) *PatchV5ReposOwnerRepoIssuesCommentsIDParams

NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithContext creates a new PatchV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerRepoIssuesCommentsIDParams.

func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient

func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient(client *http.Client) *PatchV5ReposOwnerRepoIssuesCommentsIDParams

NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithHTTPClient creates a new PatchV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout

func NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout(timeout time.Duration) *PatchV5ReposOwnerRepoIssuesCommentsIDParams

NewPatchV5ReposOwnerRepoIssuesCommentsIDParamsWithTimeout creates a new PatchV5ReposOwnerRepoIssuesCommentsIDParams object with the ability to set a timeout on a request.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken

func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetBody

SetBody adds the body to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetContext deprecated

SetContext adds the context to the patch v5 repos owner repo issues comments Id params.

Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerRepoIssuesCommentsIDParams.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetDefaults

SetDefaults hydrates default values in the patch v5 repos owner repo issues comments Id params (not the query body).

All values with no default are reset to their zero value.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient

func (o *PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetID

SetID adds the id to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetOwner

SetOwner adds the owner to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetRepo

SetRepo adds the repo to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) SetTimeout

SetTimeout adds the timeout to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithAccessToken

WithAccessToken adds the accessToken to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithBody

WithBody adds the body to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithContext deprecated

WithContext adds the context to the patch v5 repos owner repo issues comments Id params.

Deprecated: use the operation call with context to pass the context instead of PatchV5ReposOwnerRepoIssuesCommentsIDParams.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithDefaults

WithDefaults hydrates default values in the patch v5 repos owner repo issues comments Id params (not the query body).

All values with no default are reset to their zero value.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithID

WithID adds the id to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithOwner

WithOwner adds the owner to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithRepo

WithRepo adds the repo to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WithTimeout

WithTimeout adds the timeout to the patch v5 repos owner repo issues comments Id params.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PatchV5ReposOwnerRepoIssuesCommentsIDReader

type PatchV5ReposOwnerRepoIssuesCommentsIDReader struct {
	// contains filtered or unexported fields
}

PatchV5ReposOwnerRepoIssuesCommentsIDReader is a Reader for the PatchV5ReposOwnerRepoIssuesCommentsID structure.

func (*PatchV5ReposOwnerRepoIssuesCommentsIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type PostV5ReposOwnerIssuesCreated

type PostV5ReposOwnerIssuesCreated struct {
	Payload *models.Issue
}

PostV5ReposOwnerIssuesCreated describes a response with status code 201, with default header values.

返回格式

func NewPostV5ReposOwnerIssuesCreated

func NewPostV5ReposOwnerIssuesCreated() *PostV5ReposOwnerIssuesCreated

NewPostV5ReposOwnerIssuesCreated creates a PostV5ReposOwnerIssuesCreated with default headers values

func (*PostV5ReposOwnerIssuesCreated) Code

Code gets the status code for the post v5 repos owner issues created response

func (*PostV5ReposOwnerIssuesCreated) Error

func (*PostV5ReposOwnerIssuesCreated) GetPayload

func (o *PostV5ReposOwnerIssuesCreated) GetPayload() *models.Issue

func (*PostV5ReposOwnerIssuesCreated) IsClientError

func (o *PostV5ReposOwnerIssuesCreated) IsClientError() bool

IsClientError returns true when this post v5 repos owner issues created response has a 4xx status code

func (*PostV5ReposOwnerIssuesCreated) IsCode

func (o *PostV5ReposOwnerIssuesCreated) IsCode(code int) bool

IsCode returns true when this post v5 repos owner issues created response a status code equal to that given

func (*PostV5ReposOwnerIssuesCreated) IsRedirect

func (o *PostV5ReposOwnerIssuesCreated) IsRedirect() bool

IsRedirect returns true when this post v5 repos owner issues created response has a 3xx status code

func (*PostV5ReposOwnerIssuesCreated) IsServerError

func (o *PostV5ReposOwnerIssuesCreated) IsServerError() bool

IsServerError returns true when this post v5 repos owner issues created response has a 5xx status code

func (*PostV5ReposOwnerIssuesCreated) IsSuccess

func (o *PostV5ReposOwnerIssuesCreated) IsSuccess() bool

IsSuccess returns true when this post v5 repos owner issues created response has a 2xx status code

func (*PostV5ReposOwnerIssuesCreated) String

type PostV5ReposOwnerIssuesParams

type PostV5ReposOwnerIssuesParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Assignee.

	   Issue负责人的个人空间地址
	*/
	Assignee *string

	/* Body.

	   Issue描述
	*/
	Body *string

	/* Branch.

	   分支名称,传空串表示取消关联分支
	*/
	Branch *string

	/* Collaborators.

	   Issue协助者的个人空间地址, 以 , 分隔
	*/
	Collaborators *string

	/* CveID.

	   CVE identifier for security issues
	*/
	CveID *string

	/* IssueType.

	   企业自定义任务类型,非企业默认任务类型为“任务”
	*/
	IssueType *string

	/* Labels.

	   用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance
	*/
	Labels *string

	/* Milestone.

	   里程碑序号

	   Format: int32
	*/
	Milestone *int32

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Program.

	   项目ID
	*/
	Program *string

	/* Repo.

	   仓库路径(path)
	*/
	Repo *string

	/* SecurityHole.

	   是否是私有issue(默认为false)
	*/
	SecurityHole *bool

	/* Title.

	   Issue标题
	*/
	Title string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostV5ReposOwnerIssuesParams contains all the parameters to send to the API endpoint

for the post v5 repos owner issues operation.

Typically these are written to a http.Request.

func NewPostV5ReposOwnerIssuesParams

func NewPostV5ReposOwnerIssuesParams() *PostV5ReposOwnerIssuesParams

NewPostV5ReposOwnerIssuesParams creates a new PostV5ReposOwnerIssuesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostV5ReposOwnerIssuesParamsWithContext deprecated

func NewPostV5ReposOwnerIssuesParamsWithContext(ctx context.Context) *PostV5ReposOwnerIssuesParams

NewPostV5ReposOwnerIssuesParamsWithContext creates a new PostV5ReposOwnerIssuesParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerIssuesParams.

func NewPostV5ReposOwnerIssuesParamsWithHTTPClient

func NewPostV5ReposOwnerIssuesParamsWithHTTPClient(client *http.Client) *PostV5ReposOwnerIssuesParams

NewPostV5ReposOwnerIssuesParamsWithHTTPClient creates a new PostV5ReposOwnerIssuesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV5ReposOwnerIssuesParamsWithTimeout

func NewPostV5ReposOwnerIssuesParamsWithTimeout(timeout time.Duration) *PostV5ReposOwnerIssuesParams

NewPostV5ReposOwnerIssuesParamsWithTimeout creates a new PostV5ReposOwnerIssuesParams object with the ability to set a timeout on a request.

func (*PostV5ReposOwnerIssuesParams) SetAccessToken

func (o *PostV5ReposOwnerIssuesParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetAssignee

func (o *PostV5ReposOwnerIssuesParams) SetAssignee(assignee *string)

SetAssignee adds the assignee to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetBody

func (o *PostV5ReposOwnerIssuesParams) SetBody(body *string)

SetBody adds the body to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetBranch

func (o *PostV5ReposOwnerIssuesParams) SetBranch(branch *string)

SetBranch adds the branch to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetCollaborators

func (o *PostV5ReposOwnerIssuesParams) SetCollaborators(collaborators *string)

SetCollaborators adds the collaborators to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetContext deprecated

func (o *PostV5ReposOwnerIssuesParams) SetContext(ctx context.Context)

SetContext adds the context to the post v5 repos owner issues params.

Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerIssuesParams.

func (*PostV5ReposOwnerIssuesParams) SetCveID

func (o *PostV5ReposOwnerIssuesParams) SetCveID(cveID *string)

SetCveID adds the cveId to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetDefaults

func (o *PostV5ReposOwnerIssuesParams) SetDefaults()

SetDefaults hydrates default values in the post v5 repos owner issues params (not the query body).

All values with no default are reset to their zero value.

func (*PostV5ReposOwnerIssuesParams) SetHTTPClient

func (o *PostV5ReposOwnerIssuesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetIssueType

func (o *PostV5ReposOwnerIssuesParams) SetIssueType(issueType *string)

SetIssueType adds the issueType to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetLabels

func (o *PostV5ReposOwnerIssuesParams) SetLabels(labels *string)

SetLabels adds the labels to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetMilestone

func (o *PostV5ReposOwnerIssuesParams) SetMilestone(milestone *int32)

SetMilestone adds the milestone to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetOwner

func (o *PostV5ReposOwnerIssuesParams) SetOwner(owner string)

SetOwner adds the owner to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetProgram

func (o *PostV5ReposOwnerIssuesParams) SetProgram(program *string)

SetProgram adds the program to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetRepo

func (o *PostV5ReposOwnerIssuesParams) SetRepo(repo *string)

SetRepo adds the repo to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetSecurityHole

func (o *PostV5ReposOwnerIssuesParams) SetSecurityHole(securityHole *bool)

SetSecurityHole adds the securityHole to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetTimeout

func (o *PostV5ReposOwnerIssuesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) SetTitle

func (o *PostV5ReposOwnerIssuesParams) SetTitle(title string)

SetTitle adds the title to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithAccessToken

func (o *PostV5ReposOwnerIssuesParams) WithAccessToken(accessToken *string) *PostV5ReposOwnerIssuesParams

WithAccessToken adds the accessToken to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithAssignee

WithAssignee adds the assignee to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithBody

WithBody adds the body to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithBranch

WithBranch adds the branch to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithCollaborators

func (o *PostV5ReposOwnerIssuesParams) WithCollaborators(collaborators *string) *PostV5ReposOwnerIssuesParams

WithCollaborators adds the collaborators to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithContext deprecated

WithContext adds the context to the post v5 repos owner issues params.

Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerIssuesParams.

func (*PostV5ReposOwnerIssuesParams) WithCveID

WithCveID adds the cveID to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithDefaults

WithDefaults hydrates default values in the post v5 repos owner issues params (not the query body).

All values with no default are reset to their zero value.

func (*PostV5ReposOwnerIssuesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithIssueType

WithIssueType adds the issueType to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithLabels

WithLabels adds the labels to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithMilestone

func (o *PostV5ReposOwnerIssuesParams) WithMilestone(milestone *int32) *PostV5ReposOwnerIssuesParams

WithMilestone adds the milestone to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithOwner

WithOwner adds the owner to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithProgram

WithProgram adds the program to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithRepo

WithRepo adds the repo to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithSecurityHole

func (o *PostV5ReposOwnerIssuesParams) WithSecurityHole(securityHole *bool) *PostV5ReposOwnerIssuesParams

WithSecurityHole adds the securityHole to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithTimeout

WithTimeout adds the timeout to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WithTitle

WithTitle adds the title to the post v5 repos owner issues params.

func (*PostV5ReposOwnerIssuesParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PostV5ReposOwnerIssuesReader

type PostV5ReposOwnerIssuesReader struct {
	// contains filtered or unexported fields
}

PostV5ReposOwnerIssuesReader is a Reader for the PostV5ReposOwnerIssues structure.

func (*PostV5ReposOwnerIssuesReader) ReadResponse

func (o *PostV5ReposOwnerIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostV5ReposOwnerRepoIssuesNumberCommentsCreated

type PostV5ReposOwnerRepoIssuesNumberCommentsCreated struct {
	Payload *models.Note
}

PostV5ReposOwnerRepoIssuesNumberCommentsCreated describes a response with status code 201, with default header values.

返回格式

func NewPostV5ReposOwnerRepoIssuesNumberCommentsCreated

func NewPostV5ReposOwnerRepoIssuesNumberCommentsCreated() *PostV5ReposOwnerRepoIssuesNumberCommentsCreated

NewPostV5ReposOwnerRepoIssuesNumberCommentsCreated creates a PostV5ReposOwnerRepoIssuesNumberCommentsCreated with default headers values

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) Code

Code gets the status code for the post v5 repos owner repo issues number comments created response

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) Error

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) GetPayload

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsClientError

IsClientError returns true when this post v5 repos owner repo issues number comments created response has a 4xx status code

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsCode

IsCode returns true when this post v5 repos owner repo issues number comments created response a status code equal to that given

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsRedirect

IsRedirect returns true when this post v5 repos owner repo issues number comments created response has a 3xx status code

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsServerError

IsServerError returns true when this post v5 repos owner repo issues number comments created response has a 5xx status code

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) IsSuccess

IsSuccess returns true when this post v5 repos owner repo issues number comments created response has a 2xx status code

func (*PostV5ReposOwnerRepoIssuesNumberCommentsCreated) String

type PostV5ReposOwnerRepoIssuesNumberCommentsParams

type PostV5ReposOwnerRepoIssuesNumberCommentsParams struct {

	/* AccessToken.

	   用户授权码
	*/
	AccessToken *string

	/* Body.

	   The contents of the comment.
	*/
	Body string

	/* Number.

	   Issue 编号(区分大小写,无需添加 # 号)
	*/
	Number string

	/* Owner.

	   仓库所属空间地址(企业、组织或个人的地址path)
	*/
	Owner string

	/* Repo.

	   仓库路径(path)
	*/
	Repo string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostV5ReposOwnerRepoIssuesNumberCommentsParams contains all the parameters to send to the API endpoint

for the post v5 repos owner repo issues number comments operation.

Typically these are written to a http.Request.

func NewPostV5ReposOwnerRepoIssuesNumberCommentsParams

func NewPostV5ReposOwnerRepoIssuesNumberCommentsParams() *PostV5ReposOwnerRepoIssuesNumberCommentsParams

NewPostV5ReposOwnerRepoIssuesNumberCommentsParams creates a new PostV5ReposOwnerRepoIssuesNumberCommentsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext deprecated

func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext(ctx context.Context) *PostV5ReposOwnerRepoIssuesNumberCommentsParams

NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithContext creates a new PostV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerRepoIssuesNumberCommentsParams.

func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient

func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient(client *http.Client) *PostV5ReposOwnerRepoIssuesNumberCommentsParams

NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithHTTPClient creates a new PostV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout

func NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout(timeout time.Duration) *PostV5ReposOwnerRepoIssuesNumberCommentsParams

NewPostV5ReposOwnerRepoIssuesNumberCommentsParamsWithTimeout creates a new PostV5ReposOwnerRepoIssuesNumberCommentsParams object with the ability to set a timeout on a request.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken

func (o *PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetAccessToken(accessToken *string)

SetAccessToken adds the accessToken to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetBody

SetBody adds the body to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetContext deprecated

SetContext adds the context to the post v5 repos owner repo issues number comments params.

Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerRepoIssuesNumberCommentsParams.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetDefaults

SetDefaults hydrates default values in the post v5 repos owner repo issues number comments params (not the query body).

All values with no default are reset to their zero value.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetNumber

SetNumber adds the number to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetOwner

SetOwner adds the owner to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetRepo

SetRepo adds the repo to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) SetTimeout

SetTimeout adds the timeout to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithAccessToken

WithAccessToken adds the accessToken to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithBody

WithBody adds the body to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithContext deprecated

WithContext adds the context to the post v5 repos owner repo issues number comments params.

Deprecated: use the operation call with context to pass the context instead of PostV5ReposOwnerRepoIssuesNumberCommentsParams.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithDefaults

WithDefaults hydrates default values in the post v5 repos owner repo issues number comments params (not the query body).

All values with no default are reset to their zero value.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithNumber

WithNumber adds the number to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithOwner

WithOwner adds the owner to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithRepo

WithRepo adds the repo to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WithTimeout

WithTimeout adds the timeout to the post v5 repos owner repo issues number comments params.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type PostV5ReposOwnerRepoIssuesNumberCommentsReader

type PostV5ReposOwnerRepoIssuesNumberCommentsReader struct {
	// contains filtered or unexported fields
}

PostV5ReposOwnerRepoIssuesNumberCommentsReader is a Reader for the PostV5ReposOwnerRepoIssuesNumberComments structure.

func (*PostV5ReposOwnerRepoIssuesNumberCommentsReader) ReadResponse

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