Documentation
¶
Index ¶
- type EventsRequestBuilder
- func (m *EventsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, ...)
- func (m *EventsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *EventsRequestBuilder) WithUrl(rawUrl string) *EventsRequestBuilder
- type EventsRequestBuilderGetQueryParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventsRequestBuilder ¶
type EventsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
EventsRequestBuilder builds and executes requests for operations under \events
func NewEventsRequestBuilder ¶
func NewEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EventsRequestBuilder
NewEventsRequestBuilder instantiates a new EventsRequestBuilder and sets the default values.
func NewEventsRequestBuilderInternal ¶
func NewEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EventsRequestBuilder
NewEventsRequestBuilderInternal instantiates a new EventsRequestBuilder and sets the default values.
func (*EventsRequestBuilder) Get ¶
func (m *EventsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[EventsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, error)
Get we delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. returns a []Eventable when successful returns a BasicError error when the service returns a 403 status code returns a Events503Error error when the service returns a 503 status code API method documentation
func (*EventsRequestBuilder) ToGetRequestInformation ¶
func (m *EventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[EventsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation we delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. returns a *RequestInformation when successful
func (*EventsRequestBuilder) WithUrl ¶
func (m *EventsRequestBuilder) WithUrl(rawUrl string) *EventsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *EventsRequestBuilder when successful
type EventsRequestBuilderGetQueryParameters ¶
type EventsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
EventsRequestBuilderGetQueryParameters we delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.