ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.314.2

This commit is contained in:
speakeasybot
2024-06-22 00:19:59 +00:00
parent acc9cf3c62
commit e0b73fab9a
25 changed files with 1565 additions and 58 deletions

View File

@@ -8,6 +8,55 @@ import (
"net/http"
)
// Filter - Filters content by field and direction/equality
// (Unknown if viewedAt is the only supported column)
type Filter struct {
}
type GetSessionHistoryRequest struct {
// Sorts the results by the specified field followed by the direction (asc, desc)
//
Sort *string `queryParam:"style=form,explode=true,name=sort"`
// Filter results by those that are related to a specific users id
//
AccountID *int64 `queryParam:"style=form,explode=true,name=accountId"`
// Filters content by field and direction/equality
// (Unknown if viewedAt is the only supported column)
//
Filter *Filter `queryParam:"style=form,explode=true,name=filter"`
// Filters the results based on the id of a valid library section
//
LibrarySectionID *int64 `queryParam:"style=form,explode=true,name=librarySectionID"`
}
func (o *GetSessionHistoryRequest) GetSort() *string {
if o == nil {
return nil
}
return o.Sort
}
func (o *GetSessionHistoryRequest) GetAccountID() *int64 {
if o == nil {
return nil
}
return o.AccountID
}
func (o *GetSessionHistoryRequest) GetFilter() *Filter {
if o == nil {
return nil
}
return o.Filter
}
func (o *GetSessionHistoryRequest) GetLibrarySectionID() *int64 {
if o == nil {
return nil
}
return o.LibrarySectionID
}
type GetSessionHistoryErrors struct {
Code *float64 `json:"code,omitempty"`
Message *string `json:"message,omitempty"`