events

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsRequestBuilder

EventsRequestBuilder builds and executes requests for operations under \events

func NewEventsRequestBuilder

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

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

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.

Jump to

Keyboard shortcuts

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