Skip to content

Commit

Permalink
New updates to generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot committed Nov 20, 2024
1 parent cd4e057 commit 067b92f
Show file tree
Hide file tree
Showing 11 changed files with 2,450 additions and 2,455 deletions.
4,849 changes: 2,422 additions & 2,427 deletions pkg/github/.kiota.log

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/github/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "5F144E696B6748550E4B644755F976E23201BF5A953B4D503EF8773A57604C497952C1DD200C20A75A0EC7F9D9BFDC0930D18298909AE2AD187965A10930CF0A",
"descriptionHash": "AF9F66226BDE1B901292D017EFDFB48A064218BB0A86B6DAC82EA9BF8E7F667992366D9C8C159A52481E864CE9B82E4EAFCF555E0370D88AED812ABC42F4ED96",
"descriptionLocation": "../../../../../schemas/ghec.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.19.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type ItemInsightsApiRouteStatsItemWithActor_ItemRequestBuilder struct {
type ItemInsightsApiRouteStatsItemWithActor_ItemRequestBuilderGetQueryParameters struct {
// The direction to sort the results by.
Direction *i4b43c8fa5dcce52af4216c9236088f8250aada65d317285fdac04ae2bff57e70.GetDirectionQueryParameterType `uriparametername:"direction"`
// The maximum timestamp to query for stats
// The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Max_timestamp *string `uriparametername:"max_timestamp"`
// The minimum timestamp to query for stats
// The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Min_timestamp *string `uriparametername:"min_timestamp"`
// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
Page *int32 `uriparametername:"page"`
Expand All @@ -29,7 +29,7 @@ type ItemInsightsApiRouteStatsItemWithActor_ItemRequestBuilderGetQueryParameters
// NewItemInsightsApiRouteStatsItemWithActor_ItemRequestBuilderInternal instantiates a new ItemInsightsApiRouteStatsItemWithActor_ItemRequestBuilder and sets the default values.
func NewItemInsightsApiRouteStatsItemWithActor_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInsightsApiRouteStatsItemWithActor_ItemRequestBuilder) {
m := &ItemInsightsApiRouteStatsItemWithActor_ItemRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}?max_timestamp={max_timestamp}&min_timestamp={min_timestamp}{&direction*,page*,per_page*,sort*}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}?min_timestamp={min_timestamp}{&direction*,max_timestamp*,page*,per_page*,sort*}", pathParameters),
}
return m
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type ItemInsightsApiSubjectStatsRequestBuilder struct {
type ItemInsightsApiSubjectStatsRequestBuilderGetQueryParameters struct {
// The direction to sort the results by.
Direction *i8fa9bb5dfd2b8a7a2339db11c5b176f7eff27ccbeaff093675e5ca1dd9827b74.GetDirectionQueryParameterType `uriparametername:"direction"`
// The maximum timestamp to query for stats
// The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Max_timestamp *string `uriparametername:"max_timestamp"`
// The minimum timestamp to query for stats
// The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Min_timestamp *string `uriparametername:"min_timestamp"`
// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
Page *int32 `uriparametername:"page"`
Expand All @@ -29,7 +29,7 @@ type ItemInsightsApiSubjectStatsRequestBuilderGetQueryParameters struct {
// NewItemInsightsApiSubjectStatsRequestBuilderInternal instantiates a new ItemInsightsApiSubjectStatsRequestBuilder and sets the default values.
func NewItemInsightsApiSubjectStatsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInsightsApiSubjectStatsRequestBuilder) {
m := &ItemInsightsApiSubjectStatsRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/subject-stats?max_timestamp={max_timestamp}&min_timestamp={min_timestamp}{&direction*,page*,per_page*,sort*}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/subject-stats?min_timestamp={min_timestamp}{&direction*,max_timestamp*,page*,per_page*,sort*}", pathParameters),
}
return m
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ type ItemInsightsApiSummaryStatsItemWithActor_ItemRequestBuilder struct {
}
// ItemInsightsApiSummaryStatsItemWithActor_ItemRequestBuilderGetQueryParameters get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user.
type ItemInsightsApiSummaryStatsItemWithActor_ItemRequestBuilderGetQueryParameters struct {
// The maximum timestamp to query for stats
// The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Max_timestamp *string `uriparametername:"max_timestamp"`
// The minimum timestamp to query for stats
// The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Min_timestamp *string `uriparametername:"min_timestamp"`
}
// NewItemInsightsApiSummaryStatsItemWithActor_ItemRequestBuilderInternal instantiates a new ItemInsightsApiSummaryStatsItemWithActor_ItemRequestBuilder and sets the default values.
func NewItemInsightsApiSummaryStatsItemWithActor_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInsightsApiSummaryStatsItemWithActor_ItemRequestBuilder) {
m := &ItemInsightsApiSummaryStatsItemWithActor_ItemRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}?max_timestamp={max_timestamp}&min_timestamp={min_timestamp}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}?min_timestamp={min_timestamp}{&max_timestamp*}", pathParameters),
}
return m
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ type ItemInsightsApiSummaryStatsRequestBuilder struct {
}
// ItemInsightsApiSummaryStatsRequestBuilderGetQueryParameters get overall statistics of API requests made within an organization by all users and apps within a specified time frame.
type ItemInsightsApiSummaryStatsRequestBuilderGetQueryParameters struct {
// The maximum timestamp to query for stats
// The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Max_timestamp *string `uriparametername:"max_timestamp"`
// The minimum timestamp to query for stats
// The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Min_timestamp *string `uriparametername:"min_timestamp"`
}
// ByActor_type gets an item from the github.com/octokit/go-sdk-enterprise-cloud/pkg/github.orgs.item.insights.api.summaryStats.item collection
Expand All @@ -32,7 +32,7 @@ func (m *ItemInsightsApiSummaryStatsRequestBuilder) ByActor_type(actor_type stri
// NewItemInsightsApiSummaryStatsRequestBuilderInternal instantiates a new ItemInsightsApiSummaryStatsRequestBuilder and sets the default values.
func NewItemInsightsApiSummaryStatsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInsightsApiSummaryStatsRequestBuilder) {
m := &ItemInsightsApiSummaryStatsRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/summary-stats?max_timestamp={max_timestamp}&min_timestamp={min_timestamp}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/summary-stats?min_timestamp={min_timestamp}{&max_timestamp*}", pathParameters),
}
return m
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ type ItemInsightsApiSummaryStatsUsersWithUser_ItemRequestBuilder struct {
}
// ItemInsightsApiSummaryStatsUsersWithUser_ItemRequestBuilderGetQueryParameters get overall statistics of API requests within the organization for a user.
type ItemInsightsApiSummaryStatsUsersWithUser_ItemRequestBuilderGetQueryParameters struct {
// The maximum timestamp to query for stats
// The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Max_timestamp *string `uriparametername:"max_timestamp"`
// The minimum timestamp to query for stats
// The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Min_timestamp *string `uriparametername:"min_timestamp"`
}
// NewItemInsightsApiSummaryStatsUsersWithUser_ItemRequestBuilderInternal instantiates a new ItemInsightsApiSummaryStatsUsersWithUser_ItemRequestBuilder and sets the default values.
func NewItemInsightsApiSummaryStatsUsersWithUser_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInsightsApiSummaryStatsUsersWithUser_ItemRequestBuilder) {
m := &ItemInsightsApiSummaryStatsUsersWithUser_ItemRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/summary-stats/users/{user_id}?max_timestamp={max_timestamp}&min_timestamp={min_timestamp}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/summary-stats/users/{user_id}?min_timestamp={min_timestamp}{&max_timestamp*}", pathParameters),
}
return m
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ type ItemInsightsApiTimeStatsItemWithActor_ItemRequestBuilder struct {
}
// ItemInsightsApiTimeStatsItemWithActor_ItemRequestBuilderGetQueryParameters get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.
type ItemInsightsApiTimeStatsItemWithActor_ItemRequestBuilderGetQueryParameters struct {
// The maximum timestamp to query for stats
// The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Max_timestamp *string `uriparametername:"max_timestamp"`
// The minimum timestamp to query for stats
// The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Min_timestamp *string `uriparametername:"min_timestamp"`
// The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)
Timestamp_increment *string `uriparametername:"timestamp_increment"`
}
// NewItemInsightsApiTimeStatsItemWithActor_ItemRequestBuilderInternal instantiates a new ItemInsightsApiTimeStatsItemWithActor_ItemRequestBuilder and sets the default values.
func NewItemInsightsApiTimeStatsItemWithActor_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInsightsApiTimeStatsItemWithActor_ItemRequestBuilder) {
m := &ItemInsightsApiTimeStatsItemWithActor_ItemRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}?max_timestamp={max_timestamp}&min_timestamp={min_timestamp}&timestamp_increment={timestamp_increment}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}?min_timestamp={min_timestamp}&timestamp_increment={timestamp_increment}{&max_timestamp*}", pathParameters),
}
return m
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ type ItemInsightsApiTimeStatsRequestBuilder struct {
}
// ItemInsightsApiTimeStatsRequestBuilderGetQueryParameters get the number of API requests and rate-limited requests made within an organization over a specified time period.
type ItemInsightsApiTimeStatsRequestBuilderGetQueryParameters struct {
// The maximum timestamp to query for stats
// The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Max_timestamp *string `uriparametername:"max_timestamp"`
// The minimum timestamp to query for stats
// The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Min_timestamp *string `uriparametername:"min_timestamp"`
// The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)
Timestamp_increment *string `uriparametername:"timestamp_increment"`
Expand All @@ -34,7 +34,7 @@ func (m *ItemInsightsApiTimeStatsRequestBuilder) ByActor_type(actor_type string)
// NewItemInsightsApiTimeStatsRequestBuilderInternal instantiates a new ItemInsightsApiTimeStatsRequestBuilder and sets the default values.
func NewItemInsightsApiTimeStatsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInsightsApiTimeStatsRequestBuilder) {
m := &ItemInsightsApiTimeStatsRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/time-stats?max_timestamp={max_timestamp}&min_timestamp={min_timestamp}&timestamp_increment={timestamp_increment}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/time-stats?min_timestamp={min_timestamp}&timestamp_increment={timestamp_increment}{&max_timestamp*}", pathParameters),
}
return m
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ type ItemInsightsApiTimeStatsUsersWithUser_ItemRequestBuilder struct {
}
// ItemInsightsApiTimeStatsUsersWithUser_ItemRequestBuilderGetQueryParameters get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.
type ItemInsightsApiTimeStatsUsersWithUser_ItemRequestBuilderGetQueryParameters struct {
// The maximum timestamp to query for stats
// The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Max_timestamp *string `uriparametername:"max_timestamp"`
// The minimum timestamp to query for stats
// The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
Min_timestamp *string `uriparametername:"min_timestamp"`
// The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)
Timestamp_increment *string `uriparametername:"timestamp_increment"`
}
// NewItemInsightsApiTimeStatsUsersWithUser_ItemRequestBuilderInternal instantiates a new ItemInsightsApiTimeStatsUsersWithUser_ItemRequestBuilder and sets the default values.
func NewItemInsightsApiTimeStatsUsersWithUser_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInsightsApiTimeStatsUsersWithUser_ItemRequestBuilder) {
m := &ItemInsightsApiTimeStatsUsersWithUser_ItemRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/time-stats/users/{user_id}?max_timestamp={max_timestamp}&min_timestamp={min_timestamp}&timestamp_increment={timestamp_increment}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/orgs/{org}/insights/api/time-stats/users/{user_id}?min_timestamp={min_timestamp}&timestamp_increment={timestamp_increment}{&max_timestamp*}", pathParameters),
}
return m
}
Expand Down
Loading

0 comments on commit 067b92f

Please sign in to comment.