-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: added/updated UsageRequestBuilder, CopilotRequestBuilder, Reque…
…stInformation, CopilotUsageMetrics_breakdown, TeamRequestBuilder (#65) * New updates to generated code * New updates to generated code --------- Co-authored-by: Octokit Bot <octokitbot@martynus.net>
- Loading branch information
1 parent
be9cd72
commit 71ac413
Showing
21 changed files
with
994 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package enterprises | ||
|
||
import ( | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" | ||
) | ||
|
||
// ItemCopilotRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\copilot | ||
type ItemCopilotRequestBuilder struct { | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder | ||
} | ||
// NewItemCopilotRequestBuilderInternal instantiates a new ItemCopilotRequestBuilder and sets the default values. | ||
func NewItemCopilotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCopilotRequestBuilder) { | ||
m := &ItemCopilotRequestBuilder{ | ||
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/enterprises/{enterprise}/copilot", pathParameters), | ||
} | ||
return m | ||
} | ||
// NewItemCopilotRequestBuilder instantiates a new ItemCopilotRequestBuilder and sets the default values. | ||
func NewItemCopilotRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCopilotRequestBuilder) { | ||
urlParams := make(map[string]string) | ||
urlParams["request-raw-url"] = rawUrl | ||
return NewItemCopilotRequestBuilderInternal(urlParams, requestAdapter) | ||
} | ||
// Usage the usage property | ||
// returns a *ItemCopilotUsageRequestBuilder when successful | ||
func (m *ItemCopilotRequestBuilder) Usage()(*ItemCopilotUsageRequestBuilder) { | ||
return NewItemCopilotUsageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) | ||
} |
Oops, something went wrong.