events

package
v0.0.5-GHES.3.12 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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 > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. 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 > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. 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/enterprise-server@3.12/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/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

EventsRequestBuilderGetQueryParameters > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.

Jump to

Keyboard shortcuts

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