Documentation
¶
Index ¶
- func ParseGetDirectionQueryParameterType(v string) (any, error)
- func ParseGetFilterQueryParameterType(v string) (any, error)
- func ParseGetSortQueryParameterType(v string) (any, error)
- func ParseGetStateQueryParameterType(v string) (any, error)
- func SerializeGetDirectionQueryParameterType(values []GetDirectionQueryParameterType) []string
- func SerializeGetFilterQueryParameterType(values []GetFilterQueryParameterType) []string
- func SerializeGetSortQueryParameterType(values []GetSortQueryParameterType) []string
- func SerializeGetStateQueryParameterType(values []GetStateQueryParameterType) []string
- type GetDirectionQueryParameterType
- type GetFilterQueryParameterType
- type GetSortQueryParameterType
- type GetStateQueryParameterType
- type IssuesRequestBuilder
- func (m *IssuesRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Issueable, ...)
- func (m *IssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *IssuesRequestBuilder) WithUrl(rawUrl string) *IssuesRequestBuilder
- type IssuesRequestBuilderGetQueryParameters
- type IssuesRequestBuilderGetRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SerializeGetDirectionQueryParameterType ¶
func SerializeGetDirectionQueryParameterType(values []GetDirectionQueryParameterType) []string
func SerializeGetFilterQueryParameterType ¶
func SerializeGetFilterQueryParameterType(values []GetFilterQueryParameterType) []string
func SerializeGetSortQueryParameterType ¶
func SerializeGetSortQueryParameterType(values []GetSortQueryParameterType) []string
func SerializeGetStateQueryParameterType ¶
func SerializeGetStateQueryParameterType(values []GetStateQueryParameterType) []string
Types ¶
type GetDirectionQueryParameterType ¶
type GetDirectionQueryParameterType int
const ( ASC_GETDIRECTIONQUERYPARAMETERTYPE GetDirectionQueryParameterType = iota DESC_GETDIRECTIONQUERYPARAMETERTYPE )
func (GetDirectionQueryParameterType) String ¶
func (i GetDirectionQueryParameterType) String() string
type GetFilterQueryParameterType ¶
type GetFilterQueryParameterType int
const ( ASSIGNED_GETFILTERQUERYPARAMETERTYPE GetFilterQueryParameterType = iota CREATED_GETFILTERQUERYPARAMETERTYPE MENTIONED_GETFILTERQUERYPARAMETERTYPE SUBSCRIBED_GETFILTERQUERYPARAMETERTYPE REPOS_GETFILTERQUERYPARAMETERTYPE ALL_GETFILTERQUERYPARAMETERTYPE )
func (GetFilterQueryParameterType) String ¶
func (i GetFilterQueryParameterType) String() string
type GetSortQueryParameterType ¶
type GetSortQueryParameterType int
const ( CREATED_GETSORTQUERYPARAMETERTYPE GetSortQueryParameterType = iota UPDATED_GETSORTQUERYPARAMETERTYPE COMMENTS_GETSORTQUERYPARAMETERTYPE )
func (GetSortQueryParameterType) String ¶
func (i GetSortQueryParameterType) String() string
type GetStateQueryParameterType ¶
type GetStateQueryParameterType int
const ( OPEN_GETSTATEQUERYPARAMETERTYPE GetStateQueryParameterType = iota CLOSED_GETSTATEQUERYPARAMETERTYPE ALL_GETSTATEQUERYPARAMETERTYPE )
func (GetStateQueryParameterType) String ¶
func (i GetStateQueryParameterType) String() string
type IssuesRequestBuilder ¶
type IssuesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
IssuesRequestBuilder builds and executes requests for operations under \issues
func NewIssuesRequestBuilder ¶
func NewIssuesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *IssuesRequestBuilder
NewIssuesRequestBuilder instantiates a new IssuesRequestBuilder and sets the default values.
func NewIssuesRequestBuilderInternal ¶
func NewIssuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *IssuesRequestBuilder
NewIssuesRequestBuilderInternal instantiates a new IssuesRequestBuilder and sets the default values.
func (*IssuesRequestBuilder) Get ¶
func (m *IssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *IssuesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Issueable, error)
Get list issues assigned to the authenticated user across all visible repositories including owned repositories, memberrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are notnecessarily assigned to you.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. API method documentation
func (*IssuesRequestBuilder) ToGetRequestInformation ¶
func (m *IssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IssuesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list issues assigned to the authenticated user across all visible repositories including owned repositories, memberrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are notnecessarily assigned to you.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
func (*IssuesRequestBuilder) WithUrl ¶
func (m *IssuesRequestBuilder) WithUrl(rawUrl string) *IssuesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type IssuesRequestBuilderGetQueryParameters ¶
type IssuesRequestBuilderGetQueryParameters struct { // Collab *bool `uriparametername:"collab"` // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *GetDirectionQueryParameterType `uriparametername:"direction"` // Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation. // Deprecated: This property is deprecated, use filterAsGetFilterQueryParameterType instead Filter *string `uriparametername:"filter"` // Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation. FilterAsGetFilterQueryParameterType *GetFilterQueryParameterType `uriparametername:"filter"` // A list of comma separated label names. Example: `bug,ui,@high` Labels *string `uriparametername:"labels"` // Orgs *bool `uriparametername:"orgs"` // Owned *bool `uriparametername:"owned"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Pulls *bool `uriparametername:"pulls"` // Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Since *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"since"` // What to sort results by. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // What to sort results by. SortAsGetSortQueryParameterType *GetSortQueryParameterType `uriparametername:"sort"` // Indicates the state of the issues to return. // Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead State *string `uriparametername:"state"` // Indicates the state of the issues to return. StateAsGetStateQueryParameterType *GetStateQueryParameterType `uriparametername:"state"` }
IssuesRequestBuilderGetQueryParameters list issues assigned to the authenticated user across all visible repositories including owned repositories, memberrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are notnecessarily assigned to you.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
type IssuesRequestBuilderGetRequestConfiguration ¶
type IssuesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *IssuesRequestBuilderGetQueryParameters }
IssuesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.