This commit is contained in:
filifa 2025-04-06 22:14:30 -04:00
parent b3cbb2789b
commit 0147bef26f
68 changed files with 2991 additions and 3026 deletions

View File

@ -19,16 +19,15 @@ import (
"strings" "strings"
) )
// AnalyticsAPIService AnalyticsAPI service // AnalyticsAPIService AnalyticsAPI service
type AnalyticsAPIService service type AnalyticsAPIService service
type ApiContextMetricsRequest struct { type ApiContextMetricsRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
gamePk interface{} gamePk interface{}
guid interface{} guid interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -46,26 +45,26 @@ ContextMetrics Get context metrics for a specific gamePk.
Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed. Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param guid Unique identifier for a play within a game @param guid Unique identifier for a play within a game
@return ApiContextMetricsRequest @return ApiContextMetricsRequest
*/ */
func (a *AnalyticsAPIService) ContextMetrics(ctx context.Context, gamePk interface{}, guid interface{}) ApiContextMetricsRequest { func (a *AnalyticsAPIService) ContextMetrics(ctx context.Context, gamePk interface{}, guid interface{}) ApiContextMetricsRequest {
return ApiContextMetricsRequest{ return ApiContextMetricsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
guid: guid, guid: guid,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) ContextMetricsExecute(r ApiContextMetricsRequest) (*http.Response, error) { func (a *AnalyticsAPIService) ContextMetricsExecute(r ApiContextMetricsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.ContextMetrics") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.ContextMetrics")
@ -130,11 +129,11 @@ func (a *AnalyticsAPIService) ContextMetricsExecute(r ApiContextMetricsRequest)
} }
type ApiContextMetricsWithAveragesRequest struct { type ApiContextMetricsWithAveragesRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
gamePk interface{} gamePk interface{}
guid interface{} guid interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -152,26 +151,26 @@ ContextMetricsWithAverages Get a json file containing raw coordinate data and re
Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed. Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param guid Unique identifier for a play within a game @param guid Unique identifier for a play within a game
@return ApiContextMetricsWithAveragesRequest @return ApiContextMetricsWithAveragesRequest
*/ */
func (a *AnalyticsAPIService) ContextMetricsWithAverages(ctx context.Context, gamePk interface{}, guid interface{}) ApiContextMetricsWithAveragesRequest { func (a *AnalyticsAPIService) ContextMetricsWithAverages(ctx context.Context, gamePk interface{}, guid interface{}) ApiContextMetricsWithAveragesRequest {
return ApiContextMetricsWithAveragesRequest{ return ApiContextMetricsWithAveragesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
guid: guid, guid: guid,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) ContextMetricsWithAveragesExecute(r ApiContextMetricsWithAveragesRequest) (*http.Response, error) { func (a *AnalyticsAPIService) ContextMetricsWithAveragesExecute(r ApiContextMetricsWithAveragesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.ContextMetricsWithAverages") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.ContextMetricsWithAverages")
@ -236,11 +235,11 @@ func (a *AnalyticsAPIService) ContextMetricsWithAveragesExecute(r ApiContextMetr
} }
type ApiContextMetricsWithAveragesPostRequest struct { type ApiContextMetricsWithAveragesPostRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
gamePk interface{} gamePk interface{}
guid interface{} guid interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -258,26 +257,26 @@ ContextMetricsWithAveragesPost Get a json file containing raw coordinate data an
Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed. Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param guid Unique identifier for a play within a game @param guid Unique identifier for a play within a game
@return ApiContextMetricsWithAveragesPostRequest @return ApiContextMetricsWithAveragesPostRequest
*/ */
func (a *AnalyticsAPIService) ContextMetricsWithAveragesPost(ctx context.Context, gamePk interface{}, guid interface{}) ApiContextMetricsWithAveragesPostRequest { func (a *AnalyticsAPIService) ContextMetricsWithAveragesPost(ctx context.Context, gamePk interface{}, guid interface{}) ApiContextMetricsWithAveragesPostRequest {
return ApiContextMetricsWithAveragesPostRequest{ return ApiContextMetricsWithAveragesPostRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
guid: guid, guid: guid,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) ContextMetricsWithAveragesPostExecute(r ApiContextMetricsWithAveragesPostRequest) (*http.Response, error) { func (a *AnalyticsAPIService) ContextMetricsWithAveragesPostExecute(r ApiContextMetricsWithAveragesPostRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodPost localVarHTTPMethod = http.MethodPost
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.ContextMetricsWithAveragesPost") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.ContextMetricsWithAveragesPost")
@ -342,22 +341,22 @@ func (a *AnalyticsAPIService) ContextMetricsWithAveragesPostExecute(r ApiContext
} }
type ApiGameGuidsRequest struct { type ApiGameGuidsRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
gameModeId *interface{} gameModeId *interface{}
isPitch *interface{} isPitch *interface{}
isHit *interface{} isHit *interface{}
isPickoff *interface{} isPickoff *interface{}
hasUpdates *interface{} hasUpdates *interface{}
since *interface{} since *interface{}
updatedSince *interface{} updatedSince *interface{}
lastPlayTime *interface{} lastPlayTime *interface{}
lastUpdatedTime *interface{} lastUpdatedTime *interface{}
lastMetricsUpdatedTime *interface{} lastMetricsUpdatedTime *interface{}
lastAuditUpdatedTime *interface{} lastAuditUpdatedTime *interface{}
lastVideoUpdatedTime *interface{} lastVideoUpdatedTime *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -443,26 +442,26 @@ func (r ApiGameGuidsRequest) Execute() (*http.Response, error) {
} }
/* /*
GameGuids Get the GUIDs (plays) for a specific game. GameGuids Get the GUIDs (plays) for a specific game.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiGameGuidsRequest @return ApiGameGuidsRequest
*/ */
func (a *AnalyticsAPIService) GameGuids(ctx context.Context, gamePk interface{}) ApiGameGuidsRequest { func (a *AnalyticsAPIService) GameGuids(ctx context.Context, gamePk interface{}) ApiGameGuidsRequest {
return ApiGameGuidsRequest{ return ApiGameGuidsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) GameGuidsExecute(r ApiGameGuidsRequest) (*http.Response, error) { func (a *AnalyticsAPIService) GameGuidsExecute(r ApiGameGuidsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.GameGuids") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.GameGuids")
@ -562,29 +561,29 @@ func (a *AnalyticsAPIService) GameGuidsExecute(r ApiGameGuidsRequest) (*http.Res
} }
type ApiGameGuidsFromPostgresRangeRequest struct { type ApiGameGuidsFromPostgresRangeRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
fields *interface{} fields *interface{}
gameModeId *interface{} gameModeId *interface{}
isPitch *interface{} isPitch *interface{}
isHit *interface{} isHit *interface{}
isPickoff *interface{} isPickoff *interface{}
isNonStatcast *interface{} isNonStatcast *interface{}
gamedayType *interface{} gamedayType *interface{}
hasUpdates *interface{} hasUpdates *interface{}
lastPlayTime *interface{} lastPlayTime *interface{}
lastUpdatedTime *interface{} lastUpdatedTime *interface{}
lastMetricsUpdatedTime *interface{} lastMetricsUpdatedTime *interface{}
lastAuditUpdatedTime *interface{} lastAuditUpdatedTime *interface{}
lastVideoUpdatedTime *interface{} lastVideoUpdatedTime *interface{}
gameDate *interface{} gameDate *interface{}
sportId *interface{} sportId *interface{}
gameType *interface{} gameType *interface{}
trackingSystemOwner *interface{} trackingSystemOwner *interface{}
season *interface{} season *interface{}
sortBy *interface{} sortBy *interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -718,24 +717,24 @@ func (r ApiGameGuidsFromPostgresRangeRequest) Execute() (*http.Response, error)
} }
/* /*
GameGuidsFromPostgresRange Get the GUIDs (plays) for a specific game. GameGuidsFromPostgresRange Get the GUIDs (plays) for a specific game.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGameGuidsFromPostgresRangeRequest @return ApiGameGuidsFromPostgresRangeRequest
*/ */
func (a *AnalyticsAPIService) GameGuidsFromPostgresRange(ctx context.Context) ApiGameGuidsFromPostgresRangeRequest { func (a *AnalyticsAPIService) GameGuidsFromPostgresRange(ctx context.Context) ApiGameGuidsFromPostgresRangeRequest {
return ApiGameGuidsFromPostgresRangeRequest{ return ApiGameGuidsFromPostgresRangeRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) GameGuidsFromPostgresRangeExecute(r ApiGameGuidsFromPostgresRangeRequest) (*http.Response, error) { func (a *AnalyticsAPIService) GameGuidsFromPostgresRangeExecute(r ApiGameGuidsFromPostgresRangeRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.GameGuidsFromPostgresRange") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.GameGuidsFromPostgresRange")
@ -858,30 +857,30 @@ func (a *AnalyticsAPIService) GameGuidsFromPostgresRangeExecute(r ApiGameGuidsFr
} }
type ApiGameGuidsFromPostgresRangeByGameRequest struct { type ApiGameGuidsFromPostgresRangeByGameRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
fields *interface{} fields *interface{}
gameModeId *interface{} gameModeId *interface{}
isPitch *interface{} isPitch *interface{}
isHit *interface{} isHit *interface{}
isPickoff *interface{} isPickoff *interface{}
isNonStatcast *interface{} isNonStatcast *interface{}
gamedayType *interface{} gamedayType *interface{}
hasUpdates *interface{} hasUpdates *interface{}
lastPlayTime *interface{} lastPlayTime *interface{}
lastVideoUpdatedTime *interface{} lastVideoUpdatedTime *interface{}
lastUpdatedTime *interface{} lastUpdatedTime *interface{}
lastMetricsUpdatedTime *interface{} lastMetricsUpdatedTime *interface{}
lastAuditUpdatedTime *interface{} lastAuditUpdatedTime *interface{}
gameDate *interface{} gameDate *interface{}
sportId *interface{} sportId *interface{}
gameType *interface{} gameType *interface{}
season *interface{} season *interface{}
trackingSystemOwner *interface{} trackingSystemOwner *interface{}
sortBy *interface{} sortBy *interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
scheduleEventTypes *interface{} scheduleEventTypes *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -1023,22 +1022,22 @@ func (r ApiGameGuidsFromPostgresRangeByGameRequest) Execute() (*http.Response, e
/* /*
GameGuidsFromPostgresRangeByGame Get all games by updated date. GameGuidsFromPostgresRangeByGame Get all games by updated date.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGameGuidsFromPostgresRangeByGameRequest @return ApiGameGuidsFromPostgresRangeByGameRequest
*/ */
func (a *AnalyticsAPIService) GameGuidsFromPostgresRangeByGame(ctx context.Context) ApiGameGuidsFromPostgresRangeByGameRequest { func (a *AnalyticsAPIService) GameGuidsFromPostgresRangeByGame(ctx context.Context) ApiGameGuidsFromPostgresRangeByGameRequest {
return ApiGameGuidsFromPostgresRangeByGameRequest{ return ApiGameGuidsFromPostgresRangeByGameRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) GameGuidsFromPostgresRangeByGameExecute(r ApiGameGuidsFromPostgresRangeByGameRequest) (*http.Response, error) { func (a *AnalyticsAPIService) GameGuidsFromPostgresRangeByGameExecute(r ApiGameGuidsFromPostgresRangeByGameRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.GameGuidsFromPostgresRangeByGame") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.GameGuidsFromPostgresRangeByGame")
@ -1164,10 +1163,10 @@ func (a *AnalyticsAPIService) GameGuidsFromPostgresRangeByGameExecute(r ApiGameG
} }
type ApiGameLastPitchRequest struct { type ApiGameLastPitchRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
gamePks *interface{} gamePks *interface{}
fields *interface{} fields *interface{}
} }
// Unique Primary Key Representing a Game // Unique Primary Key Representing a Game
@ -1189,22 +1188,22 @@ func (r ApiGameLastPitchRequest) Execute() (*http.Response, error) {
/* /*
GameLastPitch Get the last pitch for a list of games GameLastPitch Get the last pitch for a list of games
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGameLastPitchRequest @return ApiGameLastPitchRequest
*/ */
func (a *AnalyticsAPIService) GameLastPitch(ctx context.Context) ApiGameLastPitchRequest { func (a *AnalyticsAPIService) GameLastPitch(ctx context.Context) ApiGameLastPitchRequest {
return ApiGameLastPitchRequest{ return ApiGameLastPitchRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) GameLastPitchExecute(r ApiGameLastPitchRequest) (*http.Response, error) { func (a *AnalyticsAPIService) GameLastPitchExecute(r ApiGameLastPitchRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.GameLastPitch") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.GameLastPitch")
@ -1271,12 +1270,12 @@ func (a *AnalyticsAPIService) GameLastPitchExecute(r ApiGameLastPitchRequest) (*
} }
type ApiHomeRunBallparksRequest struct { type ApiHomeRunBallparksRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
gamePk interface{} gamePk interface{}
guid interface{} guid interface{}
isHomeRunParks *interface{} isHomeRunParks *interface{}
fields *interface{} fields *interface{}
} }
func (r ApiHomeRunBallparksRequest) IsHomeRunParks(isHomeRunParks interface{}) ApiHomeRunBallparksRequest { func (r ApiHomeRunBallparksRequest) IsHomeRunParks(isHomeRunParks interface{}) ApiHomeRunBallparksRequest {
@ -1299,26 +1298,26 @@ HomeRunBallparks Get if the play is a home run is each park for a specific play.
Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed. Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param guid Unique identifier for a play within a game @param guid Unique identifier for a play within a game
@return ApiHomeRunBallparksRequest @return ApiHomeRunBallparksRequest
*/ */
func (a *AnalyticsAPIService) HomeRunBallparks(ctx context.Context, gamePk interface{}, guid interface{}) ApiHomeRunBallparksRequest { func (a *AnalyticsAPIService) HomeRunBallparks(ctx context.Context, gamePk interface{}, guid interface{}) ApiHomeRunBallparksRequest {
return ApiHomeRunBallparksRequest{ return ApiHomeRunBallparksRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
guid: guid, guid: guid,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) HomeRunBallparksExecute(r ApiHomeRunBallparksRequest) (*http.Response, error) { func (a *AnalyticsAPIService) HomeRunBallparksExecute(r ApiHomeRunBallparksRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.HomeRunBallparks") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.HomeRunBallparks")
@ -1387,11 +1386,11 @@ func (a *AnalyticsAPIService) HomeRunBallparksExecute(r ApiHomeRunBallparksReque
} }
type ApiParsedJsonFormattedAnalyticsRequest struct { type ApiParsedJsonFormattedAnalyticsRequest struct {
ctx context.Context ctx context.Context
ApiService *AnalyticsAPIService ApiService *AnalyticsAPIService
gamePk interface{} gamePk interface{}
guid interface{} guid interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -1409,26 +1408,26 @@ ParsedJsonFormattedAnalytics Get Statcast data for a specific play.
Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed. Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param guid Unique identifier for a play within a game @param guid Unique identifier for a play within a game
@return ApiParsedJsonFormattedAnalyticsRequest @return ApiParsedJsonFormattedAnalyticsRequest
*/ */
func (a *AnalyticsAPIService) ParsedJsonFormattedAnalytics(ctx context.Context, gamePk interface{}, guid interface{}) ApiParsedJsonFormattedAnalyticsRequest { func (a *AnalyticsAPIService) ParsedJsonFormattedAnalytics(ctx context.Context, gamePk interface{}, guid interface{}) ApiParsedJsonFormattedAnalyticsRequest {
return ApiParsedJsonFormattedAnalyticsRequest{ return ApiParsedJsonFormattedAnalyticsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
guid: guid, guid: guid,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AnalyticsAPIService) ParsedJsonFormattedAnalyticsExecute(r ApiParsedJsonFormattedAnalyticsRequest) (*http.Response, error) { func (a *AnalyticsAPIService) ParsedJsonFormattedAnalyticsExecute(r ApiParsedJsonFormattedAnalyticsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.ParsedJsonFormattedAnalytics") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AnalyticsAPIService.ParsedJsonFormattedAnalytics")

View File

@ -18,22 +18,21 @@ import (
"net/url" "net/url"
) )
// AttendanceAPIService AttendanceAPI service // AttendanceAPIService AttendanceAPI service
type AttendanceAPIService service type AttendanceAPIService service
type ApiGetTeamAttendanceRequest struct { type ApiGetTeamAttendanceRequest struct {
ctx context.Context ctx context.Context
ApiService *AttendanceAPIService ApiService *AttendanceAPIService
teamId *interface{} teamId *interface{}
leagueId *interface{} leagueId *interface{}
season *interface{} season *interface{}
leagueListId *interface{} leagueListId *interface{}
gameType *interface{} gameType *interface{}
date *interface{} date *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
fields *interface{} fields *interface{}
} }
// Unique Team Identifier. Format: 141, 147, etc // Unique Team Identifier. Format: 141, 147, etc
@ -97,22 +96,22 @@ func (r ApiGetTeamAttendanceRequest) Execute() (*http.Response, error) {
/* /*
GetTeamAttendance Get team attendance GetTeamAttendance Get team attendance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTeamAttendanceRequest @return ApiGetTeamAttendanceRequest
*/ */
func (a *AttendanceAPIService) GetTeamAttendance(ctx context.Context) ApiGetTeamAttendanceRequest { func (a *AttendanceAPIService) GetTeamAttendance(ctx context.Context) ApiGetTeamAttendanceRequest {
return ApiGetTeamAttendanceRequest{ return ApiGetTeamAttendanceRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AttendanceAPIService) GetTeamAttendanceExecute(r ApiGetTeamAttendanceRequest) (*http.Response, error) { func (a *AttendanceAPIService) GetTeamAttendanceExecute(r ApiGetTeamAttendanceRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AttendanceAPIService.GetTeamAttendance") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AttendanceAPIService.GetTeamAttendance")

View File

@ -19,18 +19,17 @@ import (
"strings" "strings"
) )
// AwardsAPIService AwardsAPI service // AwardsAPIService AwardsAPI service
type AwardsAPIService service type AwardsAPIService service
type ApiAwardRecipientsRequest struct { type ApiAwardRecipientsRequest struct {
ctx context.Context ctx context.Context
ApiService *AwardsAPIService ApiService *AwardsAPIService
awardId interface{} awardId interface{}
season *interface{} season *interface{}
sportId *interface{} sportId *interface{}
leagueId *interface{} leagueId *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -63,24 +62,24 @@ func (r ApiAwardRecipientsRequest) Execute() (*http.Response, error) {
/* /*
AwardRecipients View recipients of an award AwardRecipients View recipients of an award
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param awardId Unique Award Identifier. Available awards in /api/v1/awards @param awardId Unique Award Identifier. Available awards in /api/v1/awards
@return ApiAwardRecipientsRequest @return ApiAwardRecipientsRequest
*/ */
func (a *AwardsAPIService) AwardRecipients(ctx context.Context, awardId interface{}) ApiAwardRecipientsRequest { func (a *AwardsAPIService) AwardRecipients(ctx context.Context, awardId interface{}) ApiAwardRecipientsRequest {
return ApiAwardRecipientsRequest{ return ApiAwardRecipientsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
awardId: awardId, awardId: awardId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AwardsAPIService) AwardRecipientsExecute(r ApiAwardRecipientsRequest) (*http.Response, error) { func (a *AwardsAPIService) AwardRecipientsExecute(r ApiAwardRecipientsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AwardsAPIService.AwardRecipients") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AwardsAPIService.AwardRecipients")
@ -153,11 +152,11 @@ func (a *AwardsAPIService) AwardRecipientsExecute(r ApiAwardRecipientsRequest) (
} }
type ApiAwardsRequest struct { type ApiAwardsRequest struct {
ctx context.Context ctx context.Context
ApiService *AwardsAPIService ApiService *AwardsAPIService
awardId interface{} awardId interface{}
orgId *interface{} orgId *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of top level organizations of a sport // Comma delimited list of top level organizations of a sport
@ -179,24 +178,24 @@ func (r ApiAwardsRequest) Execute() (*http.Response, error) {
/* /*
Awards View awards info Awards View awards info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param awardId Unique Award Identifier. Available awards in /api/v1/awards @param awardId Unique Award Identifier. Available awards in /api/v1/awards
@return ApiAwardsRequest @return ApiAwardsRequest
*/ */
func (a *AwardsAPIService) Awards(ctx context.Context, awardId interface{}) ApiAwardsRequest { func (a *AwardsAPIService) Awards(ctx context.Context, awardId interface{}) ApiAwardsRequest {
return ApiAwardsRequest{ return ApiAwardsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
awardId: awardId, awardId: awardId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AwardsAPIService) AwardsExecute(r ApiAwardsRequest) (*http.Response, error) { func (a *AwardsAPIService) AwardsExecute(r ApiAwardsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AwardsAPIService.Awards") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AwardsAPIService.Awards")
@ -263,11 +262,11 @@ func (a *AwardsAPIService) AwardsExecute(r ApiAwardsRequest) (*http.Response, er
} }
type ApiAwards1Request struct { type ApiAwards1Request struct {
ctx context.Context ctx context.Context
ApiService *AwardsAPIService ApiService *AwardsAPIService
awardId interface{} awardId interface{}
orgId *interface{} orgId *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of top level organizations of a sport // Comma delimited list of top level organizations of a sport
@ -289,24 +288,24 @@ func (r ApiAwards1Request) Execute() (*http.Response, error) {
/* /*
Awards1 View awards info Awards1 View awards info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param awardId Unique Award Identifier. Available awards in /api/v1/awards @param awardId Unique Award Identifier. Available awards in /api/v1/awards
@return ApiAwards1Request @return ApiAwards1Request
*/ */
func (a *AwardsAPIService) Awards1(ctx context.Context, awardId interface{}) ApiAwards1Request { func (a *AwardsAPIService) Awards1(ctx context.Context, awardId interface{}) ApiAwards1Request {
return ApiAwards1Request{ return ApiAwards1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
awardId: awardId, awardId: awardId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *AwardsAPIService) Awards1Execute(r ApiAwards1Request) (*http.Response, error) { func (a *AwardsAPIService) Awards1Execute(r ApiAwards1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AwardsAPIService.Awards1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AwardsAPIService.Awards1")

View File

@ -19,16 +19,15 @@ import (
"strings" "strings"
) )
// BatTrackingAPIService BatTrackingAPI service // BatTrackingAPIService BatTrackingAPI service
type BatTrackingAPIService service type BatTrackingAPIService service
type ApiBatTrackingRequest struct { type ApiBatTrackingRequest struct {
ctx context.Context ctx context.Context
ApiService *BatTrackingAPIService ApiService *BatTrackingAPIService
gamePk interface{} gamePk interface{}
playId interface{} playId interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -46,26 +45,26 @@ BatTracking View Bat Tracking Data by playId and gameId
This endpoint allows you to pull bat tracking data by gameId and playId This endpoint allows you to pull bat tracking data by gameId and playId
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param playId Unique play identifier @param playId Unique play identifier
@return ApiBatTrackingRequest @return ApiBatTrackingRequest
*/ */
func (a *BatTrackingAPIService) BatTracking(ctx context.Context, gamePk interface{}, playId interface{}) ApiBatTrackingRequest { func (a *BatTrackingAPIService) BatTracking(ctx context.Context, gamePk interface{}, playId interface{}) ApiBatTrackingRequest {
return ApiBatTrackingRequest{ return ApiBatTrackingRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
playId: playId, playId: playId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *BatTrackingAPIService) BatTrackingExecute(r ApiBatTrackingRequest) (*http.Response, error) { func (a *BatTrackingAPIService) BatTrackingExecute(r ApiBatTrackingRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BatTrackingAPIService.BatTracking") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BatTrackingAPIService.BatTracking")

View File

@ -19,17 +19,16 @@ import (
"strings" "strings"
) )
// BiomechanicsAPIService BiomechanicsAPI service // BiomechanicsAPIService BiomechanicsAPI service
type BiomechanicsAPIService service type BiomechanicsAPIService service
type ApiBiomechanicalRequest struct { type ApiBiomechanicalRequest struct {
ctx context.Context ctx context.Context
ApiService *BiomechanicsAPIService ApiService *BiomechanicsAPIService
gamePk interface{} gamePk interface{}
playId interface{} playId interface{}
positionId interface{} positionId interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -47,18 +46,18 @@ Biomechanical View Biomechanical data by playId and gameId filtered by player po
This endpoint allows you to pull biomechanical tracking data by gameId and playId filtered by player positionId This endpoint allows you to pull biomechanical tracking data by gameId and playId filtered by player positionId
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param playId Unique play identifier @param playId Unique play identifier
@param positionId Position number. Format: 1, 2, 3, etc @param positionId Position number. Format: 1, 2, 3, etc
@return ApiBiomechanicalRequest @return ApiBiomechanicalRequest
*/ */
func (a *BiomechanicsAPIService) Biomechanical(ctx context.Context, gamePk interface{}, playId interface{}, positionId interface{}) ApiBiomechanicalRequest { func (a *BiomechanicsAPIService) Biomechanical(ctx context.Context, gamePk interface{}, playId interface{}, positionId interface{}) ApiBiomechanicalRequest {
return ApiBiomechanicalRequest{ return ApiBiomechanicalRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
playId: playId, playId: playId,
positionId: positionId, positionId: positionId,
} }
} }
@ -66,9 +65,9 @@ func (a *BiomechanicsAPIService) Biomechanical(ctx context.Context, gamePk inter
// Execute executes the request // Execute executes the request
func (a *BiomechanicsAPIService) BiomechanicalExecute(r ApiBiomechanicalRequest) (*http.Response, error) { func (a *BiomechanicsAPIService) BiomechanicalExecute(r ApiBiomechanicalRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BiomechanicsAPIService.Biomechanical") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BiomechanicsAPIService.Biomechanical")

View File

@ -18,15 +18,14 @@ import (
"net/url" "net/url"
) )
// BroadcastAPIService BroadcastAPI service // BroadcastAPIService BroadcastAPI service
type BroadcastAPIService service type BroadcastAPIService service
type ApiGetAllBroadcastersRequest struct { type ApiGetAllBroadcastersRequest struct {
ctx context.Context ctx context.Context
ApiService *BroadcastAPIService ApiService *BroadcastAPIService
activeStatus *interface{} activeStatus *interface{}
fields *interface{} fields *interface{}
} }
// Current status of the broadcaster. Format: Active &#x3D; y, inactive &#x3D; n, both &#x3D; b // Current status of the broadcaster. Format: Active &#x3D; y, inactive &#x3D; n, both &#x3D; b
@ -48,22 +47,22 @@ func (r ApiGetAllBroadcastersRequest) Execute() (*http.Response, error) {
/* /*
GetAllBroadcasters Get All Active Broadcasters GetAllBroadcasters Get All Active Broadcasters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllBroadcastersRequest @return ApiGetAllBroadcastersRequest
*/ */
func (a *BroadcastAPIService) GetAllBroadcasters(ctx context.Context) ApiGetAllBroadcastersRequest { func (a *BroadcastAPIService) GetAllBroadcasters(ctx context.Context) ApiGetAllBroadcastersRequest {
return ApiGetAllBroadcastersRequest{ return ApiGetAllBroadcastersRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *BroadcastAPIService) GetAllBroadcastersExecute(r ApiGetAllBroadcastersRequest) (*http.Response, error) { func (a *BroadcastAPIService) GetAllBroadcastersExecute(r ApiGetAllBroadcastersRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BroadcastAPIService.GetAllBroadcasters") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BroadcastAPIService.GetAllBroadcasters")
@ -129,10 +128,10 @@ func (a *BroadcastAPIService) GetAllBroadcastersExecute(r ApiGetAllBroadcastersR
} }
type ApiGetBroadcastsRequest struct { type ApiGetBroadcastsRequest struct {
ctx context.Context ctx context.Context
ApiService *BroadcastAPIService ApiService *BroadcastAPIService
broadcasterIds *interface{} broadcasterIds *interface{}
fields *interface{} fields *interface{}
} }
// All of the broadcast details // All of the broadcast details
@ -154,22 +153,22 @@ func (r ApiGetBroadcastsRequest) Execute() (*http.Response, error) {
/* /*
GetBroadcasts Get Broadcasters GetBroadcasts Get Broadcasters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetBroadcastsRequest @return ApiGetBroadcastsRequest
*/ */
func (a *BroadcastAPIService) GetBroadcasts(ctx context.Context) ApiGetBroadcastsRequest { func (a *BroadcastAPIService) GetBroadcasts(ctx context.Context) ApiGetBroadcastsRequest {
return ApiGetBroadcastsRequest{ return ApiGetBroadcastsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *BroadcastAPIService) GetBroadcastsExecute(r ApiGetBroadcastsRequest) (*http.Response, error) { func (a *BroadcastAPIService) GetBroadcastsExecute(r ApiGetBroadcastsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BroadcastAPIService.GetBroadcasts") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BroadcastAPIService.GetBroadcasts")

View File

@ -19,17 +19,16 @@ import (
"strings" "strings"
) )
// ConferenceAPIService ConferenceAPI service // ConferenceAPIService ConferenceAPI service
type ConferenceAPIService service type ConferenceAPIService service
type ApiConferencesRequest struct { type ApiConferencesRequest struct {
ctx context.Context ctx context.Context
ApiService *ConferenceAPIService ApiService *ConferenceAPIService
conferenceId interface{} conferenceId interface{}
season *interface{} season *interface{}
includeInactive *interface{} includeInactive *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -56,14 +55,14 @@ func (r ApiConferencesRequest) Execute() (*http.Response, error) {
/* /*
Conferences View conference info Conferences View conference info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conferenceId @param conferenceId
@return ApiConferencesRequest @return ApiConferencesRequest
*/ */
func (a *ConferenceAPIService) Conferences(ctx context.Context, conferenceId interface{}) ApiConferencesRequest { func (a *ConferenceAPIService) Conferences(ctx context.Context, conferenceId interface{}) ApiConferencesRequest {
return ApiConferencesRequest{ return ApiConferencesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
conferenceId: conferenceId, conferenceId: conferenceId,
} }
} }
@ -71,9 +70,9 @@ func (a *ConferenceAPIService) Conferences(ctx context.Context, conferenceId int
// Execute executes the request // Execute executes the request
func (a *ConferenceAPIService) ConferencesExecute(r ApiConferencesRequest) (*http.Response, error) { func (a *ConferenceAPIService) ConferencesExecute(r ApiConferencesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConferenceAPIService.Conferences") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConferenceAPIService.Conferences")
@ -143,12 +142,12 @@ func (a *ConferenceAPIService) ConferencesExecute(r ApiConferencesRequest) (*htt
} }
type ApiConferences1Request struct { type ApiConferences1Request struct {
ctx context.Context ctx context.Context
ApiService *ConferenceAPIService ApiService *ConferenceAPIService
conferenceId interface{} conferenceId interface{}
season *interface{} season *interface{}
includeInactive *interface{} includeInactive *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -175,14 +174,14 @@ func (r ApiConferences1Request) Execute() (*http.Response, error) {
/* /*
Conferences1 View conference info Conferences1 View conference info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conferenceId @param conferenceId
@return ApiConferences1Request @return ApiConferences1Request
*/ */
func (a *ConferenceAPIService) Conferences1(ctx context.Context, conferenceId interface{}) ApiConferences1Request { func (a *ConferenceAPIService) Conferences1(ctx context.Context, conferenceId interface{}) ApiConferences1Request {
return ApiConferences1Request{ return ApiConferences1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
conferenceId: conferenceId, conferenceId: conferenceId,
} }
} }
@ -190,9 +189,9 @@ func (a *ConferenceAPIService) Conferences1(ctx context.Context, conferenceId in
// Execute executes the request // Execute executes the request
func (a *ConferenceAPIService) Conferences1Execute(r ApiConferences1Request) (*http.Response, error) { func (a *ConferenceAPIService) Conferences1Execute(r ApiConferences1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConferenceAPIService.Conferences1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConferenceAPIService.Conferences1")

View File

@ -19,19 +19,18 @@ import (
"strings" "strings"
) )
// DivisionAPIService DivisionAPI service // DivisionAPIService DivisionAPI service
type DivisionAPIService service type DivisionAPIService service
type ApiDivisionsRequest struct { type ApiDivisionsRequest struct {
ctx context.Context ctx context.Context
ApiService *DivisionAPIService ApiService *DivisionAPIService
divisionId interface{} divisionId interface{}
includeInactive *interface{} includeInactive *interface{}
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Whether or not to include inactive // Whether or not to include inactive
@ -73,14 +72,14 @@ Divisions Get division information
This endpoint allows you to pull divisions This endpoint allows you to pull divisions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param divisionId Unique Division Identifier @param divisionId Unique Division Identifier
@return ApiDivisionsRequest @return ApiDivisionsRequest
*/ */
func (a *DivisionAPIService) Divisions(ctx context.Context, divisionId interface{}) ApiDivisionsRequest { func (a *DivisionAPIService) Divisions(ctx context.Context, divisionId interface{}) ApiDivisionsRequest {
return ApiDivisionsRequest{ return ApiDivisionsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
divisionId: divisionId, divisionId: divisionId,
} }
} }
@ -88,9 +87,9 @@ func (a *DivisionAPIService) Divisions(ctx context.Context, divisionId interface
// Execute executes the request // Execute executes the request
func (a *DivisionAPIService) DivisionsExecute(r ApiDivisionsRequest) (*http.Response, error) { func (a *DivisionAPIService) DivisionsExecute(r ApiDivisionsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DivisionAPIService.Divisions") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DivisionAPIService.Divisions")
@ -166,14 +165,14 @@ func (a *DivisionAPIService) DivisionsExecute(r ApiDivisionsRequest) (*http.Resp
} }
type ApiDivisions1Request struct { type ApiDivisions1Request struct {
ctx context.Context ctx context.Context
ApiService *DivisionAPIService ApiService *DivisionAPIService
divisionId interface{} divisionId interface{}
includeInactive *interface{} includeInactive *interface{}
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Whether or not to include inactive // Whether or not to include inactive
@ -215,14 +214,14 @@ Divisions1 Get division information
This endpoint allows you to pull divisions This endpoint allows you to pull divisions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param divisionId Unique Division Identifier @param divisionId Unique Division Identifier
@return ApiDivisions1Request @return ApiDivisions1Request
*/ */
func (a *DivisionAPIService) Divisions1(ctx context.Context, divisionId interface{}) ApiDivisions1Request { func (a *DivisionAPIService) Divisions1(ctx context.Context, divisionId interface{}) ApiDivisions1Request {
return ApiDivisions1Request{ return ApiDivisions1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
divisionId: divisionId, divisionId: divisionId,
} }
} }
@ -230,9 +229,9 @@ func (a *DivisionAPIService) Divisions1(ctx context.Context, divisionId interfac
// Execute executes the request // Execute executes the request
func (a *DivisionAPIService) Divisions1Execute(r ApiDivisions1Request) (*http.Response, error) { func (a *DivisionAPIService) Divisions1Execute(r ApiDivisions1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DivisionAPIService.Divisions1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DivisionAPIService.Divisions1")

View File

@ -19,29 +19,28 @@ import (
"strings" "strings"
) )
// DraftAPIService DraftAPI service // DraftAPIService DraftAPI service
type DraftAPIService service type DraftAPIService service
type ApiDraftPicksRequest struct { type ApiDraftPicksRequest struct {
ctx context.Context ctx context.Context
ApiService *DraftAPIService ApiService *DraftAPIService
year interface{} year interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
fields *interface{} fields *interface{}
order *interface{} order *interface{}
sortBy *interface{} sortBy *interface{}
drafted *interface{} drafted *interface{}
round *interface{} round *interface{}
name *interface{} name *interface{}
school *interface{} school *interface{}
position *interface{} position *interface{}
team *interface{} team *interface{}
teamId *interface{} teamId *interface{}
state *interface{} state *interface{}
country *interface{} country *interface{}
playerId *interface{} playerId *interface{}
bisPlayerId *interface{} bisPlayerId *interface{}
} }
@ -148,24 +147,24 @@ func (r ApiDraftPicksRequest) Execute() (*http.Response, error) {
/* /*
DraftPicks View MLB Drafted Players DraftPicks View MLB Drafted Players
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param year Year the player was drafted. Format: 2000 @param year Year the player was drafted. Format: 2000
@return ApiDraftPicksRequest @return ApiDraftPicksRequest
*/ */
func (a *DraftAPIService) DraftPicks(ctx context.Context, year interface{}) ApiDraftPicksRequest { func (a *DraftAPIService) DraftPicks(ctx context.Context, year interface{}) ApiDraftPicksRequest {
return ApiDraftPicksRequest{ return ApiDraftPicksRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
year: year, year: year,
} }
} }
// Execute executes the request // Execute executes the request
func (a *DraftAPIService) DraftPicksExecute(r ApiDraftPicksRequest) (*http.Response, error) { func (a *DraftAPIService) DraftPicksExecute(r ApiDraftPicksRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.DraftPicks") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.DraftPicks")
@ -274,24 +273,24 @@ func (a *DraftAPIService) DraftPicksExecute(r ApiDraftPicksRequest) (*http.Respo
} }
type ApiDraftPicks1Request struct { type ApiDraftPicks1Request struct {
ctx context.Context ctx context.Context
ApiService *DraftAPIService ApiService *DraftAPIService
year interface{} year interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
fields *interface{} fields *interface{}
order *interface{} order *interface{}
sortBy *interface{} sortBy *interface{}
drafted *interface{} drafted *interface{}
round *interface{} round *interface{}
name *interface{} name *interface{}
school *interface{} school *interface{}
position *interface{} position *interface{}
team *interface{} team *interface{}
teamId *interface{} teamId *interface{}
state *interface{} state *interface{}
country *interface{} country *interface{}
playerId *interface{} playerId *interface{}
bisPlayerId *interface{} bisPlayerId *interface{}
} }
@ -398,24 +397,24 @@ func (r ApiDraftPicks1Request) Execute() (*http.Response, error) {
/* /*
DraftPicks1 View MLB Drafted Players DraftPicks1 View MLB Drafted Players
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param year Year the player was drafted. Format: 2000 @param year Year the player was drafted. Format: 2000
@return ApiDraftPicks1Request @return ApiDraftPicks1Request
*/ */
func (a *DraftAPIService) DraftPicks1(ctx context.Context, year interface{}) ApiDraftPicks1Request { func (a *DraftAPIService) DraftPicks1(ctx context.Context, year interface{}) ApiDraftPicks1Request {
return ApiDraftPicks1Request{ return ApiDraftPicks1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
year: year, year: year,
} }
} }
// Execute executes the request // Execute executes the request
func (a *DraftAPIService) DraftPicks1Execute(r ApiDraftPicks1Request) (*http.Response, error) { func (a *DraftAPIService) DraftPicks1Execute(r ApiDraftPicks1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.DraftPicks1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.DraftPicks1")
@ -524,24 +523,24 @@ func (a *DraftAPIService) DraftPicks1Execute(r ApiDraftPicks1Request) (*http.Res
} }
type ApiDraftProspectsRequest struct { type ApiDraftProspectsRequest struct {
ctx context.Context ctx context.Context
ApiService *DraftAPIService ApiService *DraftAPIService
year interface{} year interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
fields *interface{} fields *interface{}
order *interface{} order *interface{}
sortBy *interface{} sortBy *interface{}
drafted *interface{} drafted *interface{}
round *interface{} round *interface{}
name *interface{} name *interface{}
school *interface{} school *interface{}
position *interface{} position *interface{}
team *interface{} team *interface{}
teamId *interface{} teamId *interface{}
state *interface{} state *interface{}
country *interface{} country *interface{}
playerId *interface{} playerId *interface{}
bisPlayerId *interface{} bisPlayerId *interface{}
} }
@ -648,24 +647,24 @@ func (r ApiDraftProspectsRequest) Execute() (*http.Response, error) {
/* /*
DraftProspects View MLB Draft Prospects DraftProspects View MLB Draft Prospects
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param year Year the player was drafted. Format: 2000 @param year Year the player was drafted. Format: 2000
@return ApiDraftProspectsRequest @return ApiDraftProspectsRequest
*/ */
func (a *DraftAPIService) DraftProspects(ctx context.Context, year interface{}) ApiDraftProspectsRequest { func (a *DraftAPIService) DraftProspects(ctx context.Context, year interface{}) ApiDraftProspectsRequest {
return ApiDraftProspectsRequest{ return ApiDraftProspectsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
year: year, year: year,
} }
} }
// Execute executes the request // Execute executes the request
func (a *DraftAPIService) DraftProspectsExecute(r ApiDraftProspectsRequest) (*http.Response, error) { func (a *DraftAPIService) DraftProspectsExecute(r ApiDraftProspectsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.DraftProspects") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.DraftProspects")
@ -774,24 +773,24 @@ func (a *DraftAPIService) DraftProspectsExecute(r ApiDraftProspectsRequest) (*ht
} }
type ApiDraftProspects1Request struct { type ApiDraftProspects1Request struct {
ctx context.Context ctx context.Context
ApiService *DraftAPIService ApiService *DraftAPIService
year interface{} year interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
fields *interface{} fields *interface{}
order *interface{} order *interface{}
sortBy *interface{} sortBy *interface{}
drafted *interface{} drafted *interface{}
round *interface{} round *interface{}
name *interface{} name *interface{}
school *interface{} school *interface{}
position *interface{} position *interface{}
team *interface{} team *interface{}
teamId *interface{} teamId *interface{}
state *interface{} state *interface{}
country *interface{} country *interface{}
playerId *interface{} playerId *interface{}
bisPlayerId *interface{} bisPlayerId *interface{}
} }
@ -898,24 +897,24 @@ func (r ApiDraftProspects1Request) Execute() (*http.Response, error) {
/* /*
DraftProspects1 View MLB Draft Prospects DraftProspects1 View MLB Draft Prospects
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param year Year the player was drafted. Format: 2000 @param year Year the player was drafted. Format: 2000
@return ApiDraftProspects1Request @return ApiDraftProspects1Request
*/ */
func (a *DraftAPIService) DraftProspects1(ctx context.Context, year interface{}) ApiDraftProspects1Request { func (a *DraftAPIService) DraftProspects1(ctx context.Context, year interface{}) ApiDraftProspects1Request {
return ApiDraftProspects1Request{ return ApiDraftProspects1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
year: year, year: year,
} }
} }
// Execute executes the request // Execute executes the request
func (a *DraftAPIService) DraftProspects1Execute(r ApiDraftProspects1Request) (*http.Response, error) { func (a *DraftAPIService) DraftProspects1Execute(r ApiDraftProspects1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.DraftProspects1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.DraftProspects1")
@ -1024,10 +1023,10 @@ func (a *DraftAPIService) DraftProspects1Execute(r ApiDraftProspects1Request) (*
} }
type ApiLatestDraftPicksRequest struct { type ApiLatestDraftPicksRequest struct {
ctx context.Context ctx context.Context
ApiService *DraftAPIService ApiService *DraftAPIService
year interface{} year interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -1043,24 +1042,24 @@ func (r ApiLatestDraftPicksRequest) Execute() (*http.Response, error) {
/* /*
LatestDraftPicks Get the last drafted player and the next 5 teams up to pick LatestDraftPicks Get the last drafted player and the next 5 teams up to pick
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param year Year the player was drafted. Format: 2000 @param year Year the player was drafted. Format: 2000
@return ApiLatestDraftPicksRequest @return ApiLatestDraftPicksRequest
*/ */
func (a *DraftAPIService) LatestDraftPicks(ctx context.Context, year interface{}) ApiLatestDraftPicksRequest { func (a *DraftAPIService) LatestDraftPicks(ctx context.Context, year interface{}) ApiLatestDraftPicksRequest {
return ApiLatestDraftPicksRequest{ return ApiLatestDraftPicksRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
year: year, year: year,
} }
} }
// Execute executes the request // Execute executes the request
func (a *DraftAPIService) LatestDraftPicksExecute(r ApiLatestDraftPicksRequest) (*http.Response, error) { func (a *DraftAPIService) LatestDraftPicksExecute(r ApiLatestDraftPicksRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.LatestDraftPicks") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DraftAPIService.LatestDraftPicks")

View File

@ -19,20 +19,19 @@ import (
"strings" "strings"
) )
// GameAPIService GameAPI service // GameAPIService GameAPI service
type GameAPIService service type GameAPIService service
type ApiBoxscoreRequest struct { type ApiBoxscoreRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
inclusiveTimecode *interface{} inclusiveTimecode *interface{}
numPlayers *interface{} numPlayers *interface{}
noTies *interface{} noTies *interface{}
accent *interface{} accent *interface{}
} }
// Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS // Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS
@ -80,24 +79,24 @@ Boxscore Get game boxscore.
This endpoint allows you to pull a boxscore This endpoint allows you to pull a boxscore
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiBoxscoreRequest @return ApiBoxscoreRequest
*/ */
func (a *GameAPIService) Boxscore(ctx context.Context, gamePk interface{}) ApiBoxscoreRequest { func (a *GameAPIService) Boxscore(ctx context.Context, gamePk interface{}) ApiBoxscoreRequest {
return ApiBoxscoreRequest{ return ApiBoxscoreRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) BoxscoreExecute(r ApiBoxscoreRequest) (*http.Response, error) { func (a *GameAPIService) BoxscoreExecute(r ApiBoxscoreRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.Boxscore") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.Boxscore")
@ -176,11 +175,11 @@ func (a *GameAPIService) BoxscoreExecute(r ApiBoxscoreRequest) (*http.Response,
} }
type ApiColorFeedRequest struct { type ApiColorFeedRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
} }
// Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS // Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS
@ -204,24 +203,24 @@ ColorFeed Get game color feed.
This API can return very large payloads. It is STRONGLY recommended that clients ask for diffs and use "Accept-Encoding: gzip" header. This API can return very large payloads. It is STRONGLY recommended that clients ask for diffs and use "Accept-Encoding: gzip" header.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiColorFeedRequest @return ApiColorFeedRequest
*/ */
func (a *GameAPIService) ColorFeed(ctx context.Context, gamePk interface{}) ApiColorFeedRequest { func (a *GameAPIService) ColorFeed(ctx context.Context, gamePk interface{}) ApiColorFeedRequest {
return ApiColorFeedRequest{ return ApiColorFeedRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) ColorFeedExecute(r ApiColorFeedRequest) (*http.Response, error) { func (a *GameAPIService) ColorFeedExecute(r ApiColorFeedRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.ColorFeed") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.ColorFeed")
@ -288,9 +287,9 @@ func (a *GameAPIService) ColorFeedExecute(r ApiColorFeedRequest) (*http.Response
} }
type ApiColorTimestampsRequest struct { type ApiColorTimestampsRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
} }
func (r ApiColorTimestampsRequest) Execute() (*http.Response, error) { func (r ApiColorTimestampsRequest) Execute() (*http.Response, error) {
@ -302,24 +301,24 @@ ColorTimestamps Retrieve all of the color timestamps for a game.
This can be used for replaying games. Endpoint returns all of the timecodes that can be used with diffs for /v1/game/{game_pk}/feed/color This can be used for replaying games. Endpoint returns all of the timecodes that can be used with diffs for /v1/game/{game_pk}/feed/color
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiColorTimestampsRequest @return ApiColorTimestampsRequest
*/ */
func (a *GameAPIService) ColorTimestamps(ctx context.Context, gamePk interface{}) ApiColorTimestampsRequest { func (a *GameAPIService) ColorTimestamps(ctx context.Context, gamePk interface{}) ApiColorTimestampsRequest {
return ApiColorTimestampsRequest{ return ApiColorTimestampsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) ColorTimestampsExecute(r ApiColorTimestampsRequest) (*http.Response, error) { func (a *GameAPIService) ColorTimestampsExecute(r ApiColorTimestampsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.ColorTimestamps") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.ColorTimestamps")
@ -380,9 +379,9 @@ func (a *GameAPIService) ColorTimestampsExecute(r ApiColorTimestampsRequest) (*h
} }
type ApiContentRequest struct { type ApiContentRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
highlightLimit *interface{} highlightLimit *interface{}
} }
@ -399,24 +398,24 @@ func (r ApiContentRequest) Execute() (*http.Response, error) {
/* /*
Content Retrieve all content for a game. Content Retrieve all content for a game.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk @param gamePk
@return ApiContentRequest @return ApiContentRequest
*/ */
func (a *GameAPIService) Content(ctx context.Context, gamePk interface{}) ApiContentRequest { func (a *GameAPIService) Content(ctx context.Context, gamePk interface{}) ApiContentRequest {
return ApiContentRequest{ return ApiContentRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) ContentExecute(r ApiContentRequest) (*http.Response, error) { func (a *GameAPIService) ContentExecute(r ApiContentRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.Content") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.Content")
@ -480,18 +479,18 @@ func (a *GameAPIService) ContentExecute(r ApiContentRequest) (*http.Response, er
} }
type ApiCurrentGameStats1Request struct { type ApiCurrentGameStats1Request struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
updatedSince *interface{} updatedSince *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
gameType *interface{} gameType *interface{}
gameTypes *interface{} gameTypes *interface{}
season *interface{} season *interface{}
gamePks *interface{} gamePks *interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
fields *interface{} fields *interface{}
} }
// Format: YYYY-MM-DDTHH:MM:SSZ // Format: YYYY-MM-DDTHH:MM:SSZ
@ -561,22 +560,22 @@ func (r ApiCurrentGameStats1Request) Execute() (*http.Response, error) {
/* /*
CurrentGameStats1 View a game change log CurrentGameStats1 View a game change log
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCurrentGameStats1Request @return ApiCurrentGameStats1Request
*/ */
func (a *GameAPIService) CurrentGameStats1(ctx context.Context) ApiCurrentGameStats1Request { func (a *GameAPIService) CurrentGameStats1(ctx context.Context) ApiCurrentGameStats1Request {
return ApiCurrentGameStats1Request{ return ApiCurrentGameStats1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) CurrentGameStats1Execute(r ApiCurrentGameStats1Request) (*http.Response, error) { func (a *GameAPIService) CurrentGameStats1Execute(r ApiCurrentGameStats1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.CurrentGameStats1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.CurrentGameStats1")
@ -666,11 +665,11 @@ func (a *GameAPIService) CurrentGameStats1Execute(r ApiCurrentGameStats1Request)
} }
type ApiGetGameContextMetricsRequest struct { type ApiGetGameContextMetricsRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
} }
// Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS // Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS
@ -692,24 +691,24 @@ func (r ApiGetGameContextMetricsRequest) Execute() (*http.Response, error) {
/* /*
GetGameContextMetrics Get the context metrics for this game based on its current state GetGameContextMetrics Get the context metrics for this game based on its current state
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiGetGameContextMetricsRequest @return ApiGetGameContextMetricsRequest
*/ */
func (a *GameAPIService) GetGameContextMetrics(ctx context.Context, gamePk interface{}) ApiGetGameContextMetricsRequest { func (a *GameAPIService) GetGameContextMetrics(ctx context.Context, gamePk interface{}) ApiGetGameContextMetricsRequest {
return ApiGetGameContextMetricsRequest{ return ApiGetGameContextMetricsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) GetGameContextMetricsExecute(r ApiGetGameContextMetricsRequest) (*http.Response, error) { func (a *GameAPIService) GetGameContextMetricsExecute(r ApiGetGameContextMetricsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.GetGameContextMetrics") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.GetGameContextMetrics")
@ -776,13 +775,13 @@ func (a *GameAPIService) GetGameContextMetricsExecute(r ApiGetGameContextMetrics
} }
type ApiGetGameWithMetricsRequest struct { type ApiGetGameWithMetricsRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
timecode *interface{} timecode *interface{}
inclusiveTimecode *interface{} inclusiveTimecode *interface{}
fields *interface{} fields *interface{}
accent *interface{} accent *interface{}
} }
// Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS // Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS
@ -816,24 +815,24 @@ func (r ApiGetGameWithMetricsRequest) Execute() (*http.Response, error) {
/* /*
GetGameWithMetrics Get game info with metrics GetGameWithMetrics Get game info with metrics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiGetGameWithMetricsRequest @return ApiGetGameWithMetricsRequest
*/ */
func (a *GameAPIService) GetGameWithMetrics(ctx context.Context, gamePk interface{}) ApiGetGameWithMetricsRequest { func (a *GameAPIService) GetGameWithMetrics(ctx context.Context, gamePk interface{}) ApiGetGameWithMetricsRequest {
return ApiGetGameWithMetricsRequest{ return ApiGetGameWithMetricsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) GetGameWithMetricsExecute(r ApiGetGameWithMetricsRequest) (*http.Response, error) { func (a *GameAPIService) GetGameWithMetricsExecute(r ApiGetGameWithMetricsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.GetGameWithMetrics") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.GetGameWithMetrics")
@ -906,13 +905,13 @@ func (a *GameAPIService) GetGameWithMetricsExecute(r ApiGetGameWithMetricsReques
} }
type ApiGetWinProbabilityRequest struct { type ApiGetWinProbabilityRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
inclusiveTimecode *interface{} inclusiveTimecode *interface{}
accent *interface{} accent *interface{}
} }
// Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS // Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS
@ -946,24 +945,24 @@ func (r ApiGetWinProbabilityRequest) Execute() (*http.Response, error) {
/* /*
GetWinProbability Get the win probability for this game GetWinProbability Get the win probability for this game
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiGetWinProbabilityRequest @return ApiGetWinProbabilityRequest
*/ */
func (a *GameAPIService) GetWinProbability(ctx context.Context, gamePk interface{}) ApiGetWinProbabilityRequest { func (a *GameAPIService) GetWinProbability(ctx context.Context, gamePk interface{}) ApiGetWinProbabilityRequest {
return ApiGetWinProbabilityRequest{ return ApiGetWinProbabilityRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) GetWinProbabilityExecute(r ApiGetWinProbabilityRequest) (*http.Response, error) { func (a *GameAPIService) GetWinProbabilityExecute(r ApiGetWinProbabilityRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.GetWinProbability") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.GetWinProbability")
@ -1036,11 +1035,11 @@ func (a *GameAPIService) GetWinProbabilityExecute(r ApiGetWinProbabilityRequest)
} }
type ApiLinescoreRequest struct { type ApiLinescoreRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
inclusiveTimecode *interface{} inclusiveTimecode *interface{}
} }
@ -1071,24 +1070,24 @@ Linescore Get game linescore
This endpoint allows you to pull the linescore for a game This endpoint allows you to pull the linescore for a game
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiLinescoreRequest @return ApiLinescoreRequest
*/ */
func (a *GameAPIService) Linescore(ctx context.Context, gamePk interface{}) ApiLinescoreRequest { func (a *GameAPIService) Linescore(ctx context.Context, gamePk interface{}) ApiLinescoreRequest {
return ApiLinescoreRequest{ return ApiLinescoreRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) LinescoreExecute(r ApiLinescoreRequest) (*http.Response, error) { func (a *GameAPIService) LinescoreExecute(r ApiLinescoreRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.Linescore") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.Linescore")
@ -1158,12 +1157,12 @@ func (a *GameAPIService) LinescoreExecute(r ApiLinescoreRequest) (*http.Response
} }
type ApiLiveGameDiffPatchV1Request struct { type ApiLiveGameDiffPatchV1Request struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
startTimecode *interface{} startTimecode *interface{}
endTimecode *interface{} endTimecode *interface{}
accent *interface{} accent *interface{}
} }
// Start time code will give you everything since that time. Format: MMDDYYYY_HHMMSS // Start time code will give you everything since that time. Format: MMDDYYYY_HHMMSS
@ -1193,24 +1192,24 @@ LiveGameDiffPatchV1 Get live game status diffPatch.
This endpoint allows comparison of game files and shows any differences/discrepancies between the two<br/><br/><b>Diff/Patch System:</b> startTimecode and endTimecode can be used for getting diffs.<br/>Expected usage: <br/> 1) Request full payload by not passing startTimecode or endTimecode. This will return the most recent game state.<br/> 2) Find the latest timecode in this response. <br/> 3) Wait X seconds<br/> 4) Use the timecode from 2 as the startTimecode. This will give you a diff of everything that has happened since startTimecode. <br/> 5) If no data is returned, wait X seconds and do the same request. <br/> 6) If data is returned, get a new timeStamp from the response, and use that for the next call as startTimecode. This endpoint allows comparison of game files and shows any differences/discrepancies between the two<br/><br/><b>Diff/Patch System:</b> startTimecode and endTimecode can be used for getting diffs.<br/>Expected usage: <br/> 1) Request full payload by not passing startTimecode or endTimecode. This will return the most recent game state.<br/> 2) Find the latest timecode in this response. <br/> 3) Wait X seconds<br/> 4) Use the timecode from 2 as the startTimecode. This will give you a diff of everything that has happened since startTimecode. <br/> 5) If no data is returned, wait X seconds and do the same request. <br/> 6) If data is returned, get a new timeStamp from the response, and use that for the next call as startTimecode.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiLiveGameDiffPatchV1Request @return ApiLiveGameDiffPatchV1Request
*/ */
func (a *GameAPIService) LiveGameDiffPatchV1(ctx context.Context, gamePk interface{}) ApiLiveGameDiffPatchV1Request { func (a *GameAPIService) LiveGameDiffPatchV1(ctx context.Context, gamePk interface{}) ApiLiveGameDiffPatchV1Request {
return ApiLiveGameDiffPatchV1Request{ return ApiLiveGameDiffPatchV1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) LiveGameDiffPatchV1Execute(r ApiLiveGameDiffPatchV1Request) (*http.Response, error) { func (a *GameAPIService) LiveGameDiffPatchV1Execute(r ApiLiveGameDiffPatchV1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.LiveGameDiffPatchV1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.LiveGameDiffPatchV1")
@ -1280,13 +1279,13 @@ func (a *GameAPIService) LiveGameDiffPatchV1Execute(r ApiLiveGameDiffPatchV1Requ
} }
type ApiLiveGameV1Request struct { type ApiLiveGameV1Request struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
inclusiveTimecode *interface{} inclusiveTimecode *interface{}
accent *interface{} accent *interface{}
} }
// Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS // Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS
@ -1322,24 +1321,24 @@ LiveGameV1 Get live game status.
This API can return very large payloads. It is STRONGLY recommended that clients ask for diffs and use "Accept-Encoding: gzip" header. This API can return very large payloads. It is STRONGLY recommended that clients ask for diffs and use "Accept-Encoding: gzip" header.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiLiveGameV1Request @return ApiLiveGameV1Request
*/ */
func (a *GameAPIService) LiveGameV1(ctx context.Context, gamePk interface{}) ApiLiveGameV1Request { func (a *GameAPIService) LiveGameV1(ctx context.Context, gamePk interface{}) ApiLiveGameV1Request {
return ApiLiveGameV1Request{ return ApiLiveGameV1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) LiveGameV1Execute(r ApiLiveGameV1Request) (*http.Response, error) { func (a *GameAPIService) LiveGameV1Execute(r ApiLiveGameV1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.LiveGameV1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.LiveGameV1")
@ -1412,9 +1411,9 @@ func (a *GameAPIService) LiveGameV1Execute(r ApiLiveGameV1Request) (*http.Respon
} }
type ApiLiveTimestampv11Request struct { type ApiLiveTimestampv11Request struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
} }
func (r ApiLiveTimestampv11Request) Execute() (*http.Response, error) { func (r ApiLiveTimestampv11Request) Execute() (*http.Response, error) {
@ -1426,24 +1425,24 @@ LiveTimestampv11 Retrieve all of the play timestamps for a game.
This can be used for replaying games. Endpoint returns all of the timecodes that can be used with diffs for /v1/game/{game_pk}/feed/live This can be used for replaying games. Endpoint returns all of the timecodes that can be used with diffs for /v1/game/{game_pk}/feed/live
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiLiveTimestampv11Request @return ApiLiveTimestampv11Request
*/ */
func (a *GameAPIService) LiveTimestampv11(ctx context.Context, gamePk interface{}) ApiLiveTimestampv11Request { func (a *GameAPIService) LiveTimestampv11(ctx context.Context, gamePk interface{}) ApiLiveTimestampv11Request {
return ApiLiveTimestampv11Request{ return ApiLiveTimestampv11Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) LiveTimestampv11Execute(r ApiLiveTimestampv11Request) (*http.Response, error) { func (a *GameAPIService) LiveTimestampv11Execute(r ApiLiveTimestampv11Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.LiveTimestampv11") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.LiveTimestampv11")
@ -1504,13 +1503,13 @@ func (a *GameAPIService) LiveTimestampv11Execute(r ApiLiveTimestampv11Request) (
} }
type ApiPlayByPlayRequest struct { type ApiPlayByPlayRequest struct {
ctx context.Context ctx context.Context
ApiService *GameAPIService ApiService *GameAPIService
gamePk interface{} gamePk interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
inclusiveTimecode *interface{} inclusiveTimecode *interface{}
accent *interface{} accent *interface{}
} }
// Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS // Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS
@ -1546,24 +1545,24 @@ PlayByPlay Get game play By Play
This endpoint allows you to pull the play by play of a game This endpoint allows you to pull the play by play of a game
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiPlayByPlayRequest @return ApiPlayByPlayRequest
*/ */
func (a *GameAPIService) PlayByPlay(ctx context.Context, gamePk interface{}) ApiPlayByPlayRequest { func (a *GameAPIService) PlayByPlay(ctx context.Context, gamePk interface{}) ApiPlayByPlayRequest {
return ApiPlayByPlayRequest{ return ApiPlayByPlayRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GameAPIService) PlayByPlayExecute(r ApiPlayByPlayRequest) (*http.Response, error) { func (a *GameAPIService) PlayByPlayExecute(r ApiPlayByPlayRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.PlayByPlay") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GameAPIService.PlayByPlay")

View File

@ -18,30 +18,29 @@ import (
"net/url" "net/url"
) )
// GamePaceAPIService GamePaceAPI service // GamePaceAPIService GamePaceAPI service
type GamePaceAPIService service type GamePaceAPIService service
type ApiGamePaceRequest struct { type ApiGamePaceRequest struct {
ctx context.Context ctx context.Context
ApiService *GamePaceAPIService ApiService *GamePaceAPIService
season *interface{} season *interface{}
teamId *interface{} teamId *interface{}
teamIds *interface{} teamIds *interface{}
leagueId *interface{} leagueId *interface{}
leagueIds *interface{} leagueIds *interface{}
leagueListId *interface{} leagueListId *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
gameType *interface{} gameType *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
venueIds *interface{} venueIds *interface{}
excludeVenueIds *interface{} excludeVenueIds *interface{}
excludeGamePks *interface{} excludeGamePks *interface{}
orgType *interface{} orgType *interface{}
includeChildren *interface{} includeChildren *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -153,22 +152,22 @@ func (r ApiGamePaceRequest) Execute() (*http.Response, error) {
/* /*
GamePace View time of game info GamePace View time of game info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGamePaceRequest @return ApiGamePaceRequest
*/ */
func (a *GamePaceAPIService) GamePace(ctx context.Context) ApiGamePaceRequest { func (a *GamePaceAPIService) GamePace(ctx context.Context) ApiGamePaceRequest {
return ApiGamePaceRequest{ return ApiGamePaceRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *GamePaceAPIService) GamePaceExecute(r ApiGamePaceRequest) (*http.Response, error) { func (a *GamePaceAPIService) GamePaceExecute(r ApiGamePaceRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GamePaceAPIService.GamePace") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GamePaceAPIService.GamePace")

View File

@ -19,24 +19,23 @@ import (
"strings" "strings"
) )
// HighLowAPIService HighLowAPI service // HighLowAPIService HighLowAPI service
type HighLowAPIService service type HighLowAPIService service
type ApiHighLowRequest struct { type ApiHighLowRequest struct {
ctx context.Context ctx context.Context
ApiService *HighLowAPIService ApiService *HighLowAPIService
highLowType interface{} highLowType interface{}
statGroup *interface{} statGroup *interface{}
sortStat *interface{} sortStat *interface{}
season *interface{} season *interface{}
gameType *interface{} gameType *interface{}
teamId *interface{} teamId *interface{}
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
offset *interface{} offset *interface{}
limit *interface{} limit *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of categories of statistic to return. Available types in /api/v1/statGroups // Comma delimited list of categories of statistic to return. Available types in /api/v1/statGroups
@ -106,14 +105,14 @@ func (r ApiHighLowRequest) Execute() (*http.Response, error) {
/* /*
HighLow View high/low stats by player or team HighLow View high/low stats by player or team
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param highLowType Type of high/low stats ('player', 'team', 'game') @param highLowType Type of high/low stats ('player', 'team', 'game')
@return ApiHighLowRequest @return ApiHighLowRequest
*/ */
func (a *HighLowAPIService) HighLow(ctx context.Context, highLowType interface{}) ApiHighLowRequest { func (a *HighLowAPIService) HighLow(ctx context.Context, highLowType interface{}) ApiHighLowRequest {
return ApiHighLowRequest{ return ApiHighLowRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
highLowType: highLowType, highLowType: highLowType,
} }
} }
@ -121,9 +120,9 @@ func (a *HighLowAPIService) HighLow(ctx context.Context, highLowType interface{}
// Execute executes the request // Execute executes the request
func (a *HighLowAPIService) HighLowExecute(r ApiHighLowRequest) (*http.Response, error) { func (a *HighLowAPIService) HighLowExecute(r ApiHighLowRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HighLowAPIService.HighLow") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HighLowAPIService.HighLow")
@ -214,7 +213,7 @@ func (a *HighLowAPIService) HighLowExecute(r ApiHighLowRequest) (*http.Response,
} }
type ApiHighLowStatsRequest struct { type ApiHighLowStatsRequest struct {
ctx context.Context ctx context.Context
ApiService *HighLowAPIService ApiService *HighLowAPIService
} }
@ -225,22 +224,22 @@ func (r ApiHighLowStatsRequest) Execute() (*http.Response, error) {
/* /*
HighLowStats View high/low stat types HighLowStats View high/low stat types
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiHighLowStatsRequest @return ApiHighLowStatsRequest
*/ */
func (a *HighLowAPIService) HighLowStats(ctx context.Context) ApiHighLowStatsRequest { func (a *HighLowAPIService) HighLowStats(ctx context.Context) ApiHighLowStatsRequest {
return ApiHighLowStatsRequest{ return ApiHighLowStatsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HighLowAPIService) HighLowStatsExecute(r ApiHighLowStatsRequest) (*http.Response, error) { func (a *HighLowAPIService) HighLowStatsExecute(r ApiHighLowStatsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HighLowAPIService.HighLowStats") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HighLowAPIService.HighLowStats")

View File

@ -19,15 +19,14 @@ import (
"strings" "strings"
) )
// HomerunDerbyAPIService HomerunDerbyAPI service // HomerunDerbyAPIService HomerunDerbyAPI service
type HomerunDerbyAPIService service type HomerunDerbyAPIService service
type ApiHomeRunDerbyBracketRequest struct { type ApiHomeRunDerbyBracketRequest struct {
ctx context.Context ctx context.Context
ApiService *HomerunDerbyAPIService ApiService *HomerunDerbyAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -45,24 +44,24 @@ HomeRunDerbyBracket View a home run derby object
This endpoint allows you to pull home run derby information This endpoint allows you to pull home run derby information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiHomeRunDerbyBracketRequest @return ApiHomeRunDerbyBracketRequest
*/ */
func (a *HomerunDerbyAPIService) HomeRunDerbyBracket(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyBracketRequest { func (a *HomerunDerbyAPIService) HomeRunDerbyBracket(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyBracketRequest {
return ApiHomeRunDerbyBracketRequest{ return ApiHomeRunDerbyBracketRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HomerunDerbyAPIService) HomeRunDerbyBracketExecute(r ApiHomeRunDerbyBracketRequest) (*http.Response, error) { func (a *HomerunDerbyAPIService) HomeRunDerbyBracketExecute(r ApiHomeRunDerbyBracketRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyBracket") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyBracket")
@ -126,10 +125,10 @@ func (a *HomerunDerbyAPIService) HomeRunDerbyBracketExecute(r ApiHomeRunDerbyBra
} }
type ApiHomeRunDerbyBracket1Request struct { type ApiHomeRunDerbyBracket1Request struct {
ctx context.Context ctx context.Context
ApiService *HomerunDerbyAPIService ApiService *HomerunDerbyAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -147,24 +146,24 @@ HomeRunDerbyBracket1 View a home run derby object
This endpoint allows you to pull home run derby information This endpoint allows you to pull home run derby information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiHomeRunDerbyBracket1Request @return ApiHomeRunDerbyBracket1Request
*/ */
func (a *HomerunDerbyAPIService) HomeRunDerbyBracket1(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyBracket1Request { func (a *HomerunDerbyAPIService) HomeRunDerbyBracket1(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyBracket1Request {
return ApiHomeRunDerbyBracket1Request{ return ApiHomeRunDerbyBracket1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HomerunDerbyAPIService) HomeRunDerbyBracket1Execute(r ApiHomeRunDerbyBracket1Request) (*http.Response, error) { func (a *HomerunDerbyAPIService) HomeRunDerbyBracket1Execute(r ApiHomeRunDerbyBracket1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyBracket1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyBracket1")
@ -228,10 +227,10 @@ func (a *HomerunDerbyAPIService) HomeRunDerbyBracket1Execute(r ApiHomeRunDerbyBr
} }
type ApiHomeRunDerbyBracket2Request struct { type ApiHomeRunDerbyBracket2Request struct {
ctx context.Context ctx context.Context
ApiService *HomerunDerbyAPIService ApiService *HomerunDerbyAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -249,24 +248,24 @@ HomeRunDerbyBracket2 View a home run derby object
This endpoint allows you to pull home run derby information This endpoint allows you to pull home run derby information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiHomeRunDerbyBracket2Request @return ApiHomeRunDerbyBracket2Request
*/ */
func (a *HomerunDerbyAPIService) HomeRunDerbyBracket2(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyBracket2Request { func (a *HomerunDerbyAPIService) HomeRunDerbyBracket2(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyBracket2Request {
return ApiHomeRunDerbyBracket2Request{ return ApiHomeRunDerbyBracket2Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HomerunDerbyAPIService) HomeRunDerbyBracket2Execute(r ApiHomeRunDerbyBracket2Request) (*http.Response, error) { func (a *HomerunDerbyAPIService) HomeRunDerbyBracket2Execute(r ApiHomeRunDerbyBracket2Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyBracket2") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyBracket2")
@ -330,10 +329,10 @@ func (a *HomerunDerbyAPIService) HomeRunDerbyBracket2Execute(r ApiHomeRunDerbyBr
} }
type ApiHomeRunDerbyBracket3Request struct { type ApiHomeRunDerbyBracket3Request struct {
ctx context.Context ctx context.Context
ApiService *HomerunDerbyAPIService ApiService *HomerunDerbyAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -351,24 +350,24 @@ HomeRunDerbyBracket3 View a home run derby object
This endpoint allows you to pull home run derby information This endpoint allows you to pull home run derby information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiHomeRunDerbyBracket3Request @return ApiHomeRunDerbyBracket3Request
*/ */
func (a *HomerunDerbyAPIService) HomeRunDerbyBracket3(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyBracket3Request { func (a *HomerunDerbyAPIService) HomeRunDerbyBracket3(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyBracket3Request {
return ApiHomeRunDerbyBracket3Request{ return ApiHomeRunDerbyBracket3Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HomerunDerbyAPIService) HomeRunDerbyBracket3Execute(r ApiHomeRunDerbyBracket3Request) (*http.Response, error) { func (a *HomerunDerbyAPIService) HomeRunDerbyBracket3Execute(r ApiHomeRunDerbyBracket3Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyBracket3") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyBracket3")
@ -432,10 +431,10 @@ func (a *HomerunDerbyAPIService) HomeRunDerbyBracket3Execute(r ApiHomeRunDerbyBr
} }
type ApiHomeRunDerbyMixedModeRequest struct { type ApiHomeRunDerbyMixedModeRequest struct {
ctx context.Context ctx context.Context
ApiService *HomerunDerbyAPIService ApiService *HomerunDerbyAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -453,24 +452,24 @@ HomeRunDerbyMixedMode View home run derby mixed mode (Bracket/Pool combo)
This endpoint allows you to pull home run derby information This endpoint allows you to pull home run derby information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiHomeRunDerbyMixedModeRequest @return ApiHomeRunDerbyMixedModeRequest
*/ */
func (a *HomerunDerbyAPIService) HomeRunDerbyMixedMode(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyMixedModeRequest { func (a *HomerunDerbyAPIService) HomeRunDerbyMixedMode(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyMixedModeRequest {
return ApiHomeRunDerbyMixedModeRequest{ return ApiHomeRunDerbyMixedModeRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HomerunDerbyAPIService) HomeRunDerbyMixedModeExecute(r ApiHomeRunDerbyMixedModeRequest) (*http.Response, error) { func (a *HomerunDerbyAPIService) HomeRunDerbyMixedModeExecute(r ApiHomeRunDerbyMixedModeRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyMixedMode") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyMixedMode")
@ -534,10 +533,10 @@ func (a *HomerunDerbyAPIService) HomeRunDerbyMixedModeExecute(r ApiHomeRunDerbyM
} }
type ApiHomeRunDerbyMixedMode1Request struct { type ApiHomeRunDerbyMixedMode1Request struct {
ctx context.Context ctx context.Context
ApiService *HomerunDerbyAPIService ApiService *HomerunDerbyAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -555,24 +554,24 @@ HomeRunDerbyMixedMode1 View home run derby mixed mode (Bracket/Pool combo)
This endpoint allows you to pull home run derby information This endpoint allows you to pull home run derby information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiHomeRunDerbyMixedMode1Request @return ApiHomeRunDerbyMixedMode1Request
*/ */
func (a *HomerunDerbyAPIService) HomeRunDerbyMixedMode1(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyMixedMode1Request { func (a *HomerunDerbyAPIService) HomeRunDerbyMixedMode1(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyMixedMode1Request {
return ApiHomeRunDerbyMixedMode1Request{ return ApiHomeRunDerbyMixedMode1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HomerunDerbyAPIService) HomeRunDerbyMixedMode1Execute(r ApiHomeRunDerbyMixedMode1Request) (*http.Response, error) { func (a *HomerunDerbyAPIService) HomeRunDerbyMixedMode1Execute(r ApiHomeRunDerbyMixedMode1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyMixedMode1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyMixedMode1")
@ -636,10 +635,10 @@ func (a *HomerunDerbyAPIService) HomeRunDerbyMixedMode1Execute(r ApiHomeRunDerby
} }
type ApiHomeRunDerbyPoolRequest struct { type ApiHomeRunDerbyPoolRequest struct {
ctx context.Context ctx context.Context
ApiService *HomerunDerbyAPIService ApiService *HomerunDerbyAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -657,24 +656,24 @@ HomeRunDerbyPool View home run derby pool
This endpoint allows you to pull home run derby information This endpoint allows you to pull home run derby information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiHomeRunDerbyPoolRequest @return ApiHomeRunDerbyPoolRequest
*/ */
func (a *HomerunDerbyAPIService) HomeRunDerbyPool(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyPoolRequest { func (a *HomerunDerbyAPIService) HomeRunDerbyPool(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyPoolRequest {
return ApiHomeRunDerbyPoolRequest{ return ApiHomeRunDerbyPoolRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HomerunDerbyAPIService) HomeRunDerbyPoolExecute(r ApiHomeRunDerbyPoolRequest) (*http.Response, error) { func (a *HomerunDerbyAPIService) HomeRunDerbyPoolExecute(r ApiHomeRunDerbyPoolRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyPool") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyPool")
@ -738,10 +737,10 @@ func (a *HomerunDerbyAPIService) HomeRunDerbyPoolExecute(r ApiHomeRunDerbyPoolRe
} }
type ApiHomeRunDerbyPool1Request struct { type ApiHomeRunDerbyPool1Request struct {
ctx context.Context ctx context.Context
ApiService *HomerunDerbyAPIService ApiService *HomerunDerbyAPIService
gamePk interface{} gamePk interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -759,24 +758,24 @@ HomeRunDerbyPool1 View home run derby pool
This endpoint allows you to pull home run derby information This endpoint allows you to pull home run derby information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiHomeRunDerbyPool1Request @return ApiHomeRunDerbyPool1Request
*/ */
func (a *HomerunDerbyAPIService) HomeRunDerbyPool1(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyPool1Request { func (a *HomerunDerbyAPIService) HomeRunDerbyPool1(ctx context.Context, gamePk interface{}) ApiHomeRunDerbyPool1Request {
return ApiHomeRunDerbyPool1Request{ return ApiHomeRunDerbyPool1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *HomerunDerbyAPIService) HomeRunDerbyPool1Execute(r ApiHomeRunDerbyPool1Request) (*http.Response, error) { func (a *HomerunDerbyAPIService) HomeRunDerbyPool1Execute(r ApiHomeRunDerbyPool1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyPool1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HomerunDerbyAPIService.HomeRunDerbyPool1")

View File

@ -19,16 +19,15 @@ import (
"strings" "strings"
) )
// JobAPIService JobAPI service // JobAPIService JobAPI service
type JobAPIService service type JobAPIService service
type ApiDatacastersRequest struct { type ApiDatacastersRequest struct {
ctx context.Context ctx context.Context
ApiService *JobAPIService ApiService *JobAPIService
sportId *interface{} sportId *interface{}
date *interface{} date *interface{}
fields *interface{} fields *interface{}
} }
// Top level organization of a sport // Top level organization of a sport
@ -58,22 +57,22 @@ Datacasters Get datacaster jobs
Get datacaster jobs Get datacaster jobs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDatacastersRequest @return ApiDatacastersRequest
*/ */
func (a *JobAPIService) Datacasters(ctx context.Context) ApiDatacastersRequest { func (a *JobAPIService) Datacasters(ctx context.Context) ApiDatacastersRequest {
return ApiDatacastersRequest{ return ApiDatacastersRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *JobAPIService) DatacastersExecute(r ApiDatacastersRequest) (*http.Response, error) { func (a *JobAPIService) DatacastersExecute(r ApiDatacastersRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.Datacasters") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.Datacasters")
@ -142,12 +141,12 @@ func (a *JobAPIService) DatacastersExecute(r ApiDatacastersRequest) (*http.Respo
} }
type ApiGetJobsByTypeRequest struct { type ApiGetJobsByTypeRequest struct {
ctx context.Context ctx context.Context
ApiService *JobAPIService ApiService *JobAPIService
jobType *interface{} jobType *interface{}
sportId *interface{} sportId *interface{}
date *interface{} date *interface{}
fields *interface{} fields *interface{}
} }
// Job Type Identifier (ie. UMPR, etc..) // Job Type Identifier (ie. UMPR, etc..)
@ -183,22 +182,22 @@ GetJobsByType Get jobs by type
This endpoint allows you to pull teams This endpoint allows you to pull teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetJobsByTypeRequest @return ApiGetJobsByTypeRequest
*/ */
func (a *JobAPIService) GetJobsByType(ctx context.Context) ApiGetJobsByTypeRequest { func (a *JobAPIService) GetJobsByType(ctx context.Context) ApiGetJobsByTypeRequest {
return ApiGetJobsByTypeRequest{ return ApiGetJobsByTypeRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *JobAPIService) GetJobsByTypeExecute(r ApiGetJobsByTypeRequest) (*http.Response, error) { func (a *JobAPIService) GetJobsByTypeExecute(r ApiGetJobsByTypeRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.GetJobsByType") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.GetJobsByType")
@ -271,11 +270,11 @@ func (a *JobAPIService) GetJobsByTypeExecute(r ApiGetJobsByTypeRequest) (*http.R
} }
type ApiOfficialScorersRequest struct { type ApiOfficialScorersRequest struct {
ctx context.Context ctx context.Context
ApiService *JobAPIService ApiService *JobAPIService
sportId *interface{} sportId *interface{}
date *interface{} date *interface{}
fields *interface{} fields *interface{}
} }
// Top level organization of a sport // Top level organization of a sport
@ -305,22 +304,22 @@ OfficialScorers Get official scorers
This endpoint allows you to pull teams This endpoint allows you to pull teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiOfficialScorersRequest @return ApiOfficialScorersRequest
*/ */
func (a *JobAPIService) OfficialScorers(ctx context.Context) ApiOfficialScorersRequest { func (a *JobAPIService) OfficialScorers(ctx context.Context) ApiOfficialScorersRequest {
return ApiOfficialScorersRequest{ return ApiOfficialScorersRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *JobAPIService) OfficialScorersExecute(r ApiOfficialScorersRequest) (*http.Response, error) { func (a *JobAPIService) OfficialScorersExecute(r ApiOfficialScorersRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.OfficialScorers") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.OfficialScorers")
@ -389,11 +388,11 @@ func (a *JobAPIService) OfficialScorersExecute(r ApiOfficialScorersRequest) (*ht
} }
type ApiUmpireScheduleRequest struct { type ApiUmpireScheduleRequest struct {
ctx context.Context ctx context.Context
ApiService *JobAPIService ApiService *JobAPIService
umpireId interface{} umpireId interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -417,24 +416,24 @@ UmpireSchedule Get umpires and associated game for umpireId
This endpoint allows you to pull teams This endpoint allows you to pull teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param umpireId A unique identifier for an umpire @param umpireId A unique identifier for an umpire
@return ApiUmpireScheduleRequest @return ApiUmpireScheduleRequest
*/ */
func (a *JobAPIService) UmpireSchedule(ctx context.Context, umpireId interface{}) ApiUmpireScheduleRequest { func (a *JobAPIService) UmpireSchedule(ctx context.Context, umpireId interface{}) ApiUmpireScheduleRequest {
return ApiUmpireScheduleRequest{ return ApiUmpireScheduleRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
umpireId: umpireId, umpireId: umpireId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *JobAPIService) UmpireScheduleExecute(r ApiUmpireScheduleRequest) (*http.Response, error) { func (a *JobAPIService) UmpireScheduleExecute(r ApiUmpireScheduleRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.UmpireSchedule") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.UmpireSchedule")
@ -502,12 +501,12 @@ func (a *JobAPIService) UmpireScheduleExecute(r ApiUmpireScheduleRequest) (*http
} }
type ApiUmpiresRequest struct { type ApiUmpiresRequest struct {
ctx context.Context ctx context.Context
ApiService *JobAPIService ApiService *JobAPIService
sportId *interface{} sportId *interface{}
date *interface{} date *interface{}
fields *interface{} fields *interface{}
season *interface{} season *interface{}
} }
// Top level organization of a sport // Top level organization of a sport
@ -543,22 +542,22 @@ Umpires Get umpires
This endpoint allows you to pull teams This endpoint allows you to pull teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUmpiresRequest @return ApiUmpiresRequest
*/ */
func (a *JobAPIService) Umpires(ctx context.Context) ApiUmpiresRequest { func (a *JobAPIService) Umpires(ctx context.Context) ApiUmpiresRequest {
return ApiUmpiresRequest{ return ApiUmpiresRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *JobAPIService) UmpiresExecute(r ApiUmpiresRequest) (*http.Response, error) { func (a *JobAPIService) UmpiresExecute(r ApiUmpiresRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.Umpires") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JobAPIService.Umpires")

View File

@ -19,17 +19,16 @@ import (
"strings" "strings"
) )
// LeagueAPIService LeagueAPI service // LeagueAPIService LeagueAPI service
type LeagueAPIService service type LeagueAPIService service
type ApiAllStarBallotRequest struct { type ApiAllStarBallotRequest struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of Unique league identifiers // Comma delimited list of Unique league identifiers
@ -57,24 +56,24 @@ func (r ApiAllStarBallotRequest) Execute() (*http.Response, error) {
/* /*
AllStarBallot View al star ballot info AllStarBallot View al star ballot info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiAllStarBallotRequest @return ApiAllStarBallotRequest
*/ */
func (a *LeagueAPIService) AllStarBallot(ctx context.Context, leagueId interface{}) ApiAllStarBallotRequest { func (a *LeagueAPIService) AllStarBallot(ctx context.Context, leagueId interface{}) ApiAllStarBallotRequest {
return ApiAllStarBallotRequest{ return ApiAllStarBallotRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) AllStarBallotExecute(r ApiAllStarBallotRequest) (*http.Response, error) { func (a *LeagueAPIService) AllStarBallotExecute(r ApiAllStarBallotRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarBallot") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarBallot")
@ -144,12 +143,12 @@ func (a *LeagueAPIService) AllStarBallotExecute(r ApiAllStarBallotRequest) (*htt
} }
type ApiAllStarBallot1Request struct { type ApiAllStarBallot1Request struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of Unique league identifiers // Comma delimited list of Unique league identifiers
@ -177,24 +176,24 @@ func (r ApiAllStarBallot1Request) Execute() (*http.Response, error) {
/* /*
AllStarBallot1 View al star ballot info AllStarBallot1 View al star ballot info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiAllStarBallot1Request @return ApiAllStarBallot1Request
*/ */
func (a *LeagueAPIService) AllStarBallot1(ctx context.Context, leagueId interface{}) ApiAllStarBallot1Request { func (a *LeagueAPIService) AllStarBallot1(ctx context.Context, leagueId interface{}) ApiAllStarBallot1Request {
return ApiAllStarBallot1Request{ return ApiAllStarBallot1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) AllStarBallot1Execute(r ApiAllStarBallot1Request) (*http.Response, error) { func (a *LeagueAPIService) AllStarBallot1Execute(r ApiAllStarBallot1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarBallot1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarBallot1")
@ -264,12 +263,12 @@ func (a *LeagueAPIService) AllStarBallot1Execute(r ApiAllStarBallot1Request) (*h
} }
type ApiAllStarBallot2Request struct { type ApiAllStarBallot2Request struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of Unique league identifiers // Comma delimited list of Unique league identifiers
@ -297,24 +296,24 @@ func (r ApiAllStarBallot2Request) Execute() (*http.Response, error) {
/* /*
AllStarBallot2 View al star ballot info AllStarBallot2 View al star ballot info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiAllStarBallot2Request @return ApiAllStarBallot2Request
*/ */
func (a *LeagueAPIService) AllStarBallot2(ctx context.Context, leagueId interface{}) ApiAllStarBallot2Request { func (a *LeagueAPIService) AllStarBallot2(ctx context.Context, leagueId interface{}) ApiAllStarBallot2Request {
return ApiAllStarBallot2Request{ return ApiAllStarBallot2Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) AllStarBallot2Execute(r ApiAllStarBallot2Request) (*http.Response, error) { func (a *LeagueAPIService) AllStarBallot2Execute(r ApiAllStarBallot2Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarBallot2") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarBallot2")
@ -384,12 +383,12 @@ func (a *LeagueAPIService) AllStarBallot2Execute(r ApiAllStarBallot2Request) (*h
} }
type ApiAllStarBallot3Request struct { type ApiAllStarBallot3Request struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of Unique league identifiers // Comma delimited list of Unique league identifiers
@ -417,24 +416,24 @@ func (r ApiAllStarBallot3Request) Execute() (*http.Response, error) {
/* /*
AllStarBallot3 View al star ballot info AllStarBallot3 View al star ballot info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiAllStarBallot3Request @return ApiAllStarBallot3Request
*/ */
func (a *LeagueAPIService) AllStarBallot3(ctx context.Context, leagueId interface{}) ApiAllStarBallot3Request { func (a *LeagueAPIService) AllStarBallot3(ctx context.Context, leagueId interface{}) ApiAllStarBallot3Request {
return ApiAllStarBallot3Request{ return ApiAllStarBallot3Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) AllStarBallot3Execute(r ApiAllStarBallot3Request) (*http.Response, error) { func (a *LeagueAPIService) AllStarBallot3Execute(r ApiAllStarBallot3Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarBallot3") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarBallot3")
@ -504,11 +503,11 @@ func (a *LeagueAPIService) AllStarBallot3Execute(r ApiAllStarBallot3Request) (*h
} }
type ApiAllStarFinalVoteRequest struct { type ApiAllStarFinalVoteRequest struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -530,24 +529,24 @@ func (r ApiAllStarFinalVoteRequest) Execute() (*http.Response, error) {
/* /*
AllStarFinalVote View all star final vote info AllStarFinalVote View all star final vote info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiAllStarFinalVoteRequest @return ApiAllStarFinalVoteRequest
*/ */
func (a *LeagueAPIService) AllStarFinalVote(ctx context.Context, leagueId interface{}) ApiAllStarFinalVoteRequest { func (a *LeagueAPIService) AllStarFinalVote(ctx context.Context, leagueId interface{}) ApiAllStarFinalVoteRequest {
return ApiAllStarFinalVoteRequest{ return ApiAllStarFinalVoteRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) AllStarFinalVoteExecute(r ApiAllStarFinalVoteRequest) (*http.Response, error) { func (a *LeagueAPIService) AllStarFinalVoteExecute(r ApiAllStarFinalVoteRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarFinalVote") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarFinalVote")
@ -614,11 +613,11 @@ func (a *LeagueAPIService) AllStarFinalVoteExecute(r ApiAllStarFinalVoteRequest)
} }
type ApiAllStarFinalVote1Request struct { type ApiAllStarFinalVote1Request struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -640,24 +639,24 @@ func (r ApiAllStarFinalVote1Request) Execute() (*http.Response, error) {
/* /*
AllStarFinalVote1 View all star final vote info AllStarFinalVote1 View all star final vote info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiAllStarFinalVote1Request @return ApiAllStarFinalVote1Request
*/ */
func (a *LeagueAPIService) AllStarFinalVote1(ctx context.Context, leagueId interface{}) ApiAllStarFinalVote1Request { func (a *LeagueAPIService) AllStarFinalVote1(ctx context.Context, leagueId interface{}) ApiAllStarFinalVote1Request {
return ApiAllStarFinalVote1Request{ return ApiAllStarFinalVote1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) AllStarFinalVote1Execute(r ApiAllStarFinalVote1Request) (*http.Response, error) { func (a *LeagueAPIService) AllStarFinalVote1Execute(r ApiAllStarFinalVote1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarFinalVote1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarFinalVote1")
@ -724,11 +723,11 @@ func (a *LeagueAPIService) AllStarFinalVote1Execute(r ApiAllStarFinalVote1Reques
} }
type ApiAllStarWriteInsRequest struct { type ApiAllStarWriteInsRequest struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -750,24 +749,24 @@ func (r ApiAllStarWriteInsRequest) Execute() (*http.Response, error) {
/* /*
AllStarWriteIns View all star write ins info AllStarWriteIns View all star write ins info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiAllStarWriteInsRequest @return ApiAllStarWriteInsRequest
*/ */
func (a *LeagueAPIService) AllStarWriteIns(ctx context.Context, leagueId interface{}) ApiAllStarWriteInsRequest { func (a *LeagueAPIService) AllStarWriteIns(ctx context.Context, leagueId interface{}) ApiAllStarWriteInsRequest {
return ApiAllStarWriteInsRequest{ return ApiAllStarWriteInsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) AllStarWriteInsExecute(r ApiAllStarWriteInsRequest) (*http.Response, error) { func (a *LeagueAPIService) AllStarWriteInsExecute(r ApiAllStarWriteInsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarWriteIns") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarWriteIns")
@ -834,11 +833,11 @@ func (a *LeagueAPIService) AllStarWriteInsExecute(r ApiAllStarWriteInsRequest) (
} }
type ApiAllStarWriteIns1Request struct { type ApiAllStarWriteIns1Request struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -860,24 +859,24 @@ func (r ApiAllStarWriteIns1Request) Execute() (*http.Response, error) {
/* /*
AllStarWriteIns1 View all star write ins info AllStarWriteIns1 View all star write ins info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiAllStarWriteIns1Request @return ApiAllStarWriteIns1Request
*/ */
func (a *LeagueAPIService) AllStarWriteIns1(ctx context.Context, leagueId interface{}) ApiAllStarWriteIns1Request { func (a *LeagueAPIService) AllStarWriteIns1(ctx context.Context, leagueId interface{}) ApiAllStarWriteIns1Request {
return ApiAllStarWriteIns1Request{ return ApiAllStarWriteIns1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) AllStarWriteIns1Execute(r ApiAllStarWriteIns1Request) (*http.Response, error) { func (a *LeagueAPIService) AllStarWriteIns1Execute(r ApiAllStarWriteIns1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarWriteIns1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.AllStarWriteIns1")
@ -944,14 +943,14 @@ func (a *LeagueAPIService) AllStarWriteIns1Execute(r ApiAllStarWriteIns1Request)
} }
type ApiLeagueRequest struct { type ApiLeagueRequest struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
fields *interface{} fields *interface{}
sportId *interface{} sportId *interface{}
activeStatus *interface{} activeStatus *interface{}
} }
@ -998,24 +997,24 @@ func (r ApiLeagueRequest) Execute() (*http.Response, error) {
/* /*
League View league info League View league info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiLeagueRequest @return ApiLeagueRequest
*/ */
func (a *LeagueAPIService) League(ctx context.Context, leagueId interface{}) ApiLeagueRequest { func (a *LeagueAPIService) League(ctx context.Context, leagueId interface{}) ApiLeagueRequest {
return ApiLeagueRequest{ return ApiLeagueRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) LeagueExecute(r ApiLeagueRequest) (*http.Response, error) { func (a *LeagueAPIService) LeagueExecute(r ApiLeagueRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.League") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.League")
@ -1094,14 +1093,14 @@ func (a *LeagueAPIService) LeagueExecute(r ApiLeagueRequest) (*http.Response, er
} }
type ApiLeague1Request struct { type ApiLeague1Request struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
fields *interface{} fields *interface{}
sportId *interface{} sportId *interface{}
activeStatus *interface{} activeStatus *interface{}
} }
@ -1148,24 +1147,24 @@ func (r ApiLeague1Request) Execute() (*http.Response, error) {
/* /*
League1 View league info League1 View league info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiLeague1Request @return ApiLeague1Request
*/ */
func (a *LeagueAPIService) League1(ctx context.Context, leagueId interface{}) ApiLeague1Request { func (a *LeagueAPIService) League1(ctx context.Context, leagueId interface{}) ApiLeague1Request {
return ApiLeague1Request{ return ApiLeague1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) League1Execute(r ApiLeague1Request) (*http.Response, error) { func (a *LeagueAPIService) League1Execute(r ApiLeague1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.League1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.League1")
@ -1244,14 +1243,14 @@ func (a *LeagueAPIService) League1Execute(r ApiLeague1Request) (*http.Response,
} }
type ApiLeague2Request struct { type ApiLeague2Request struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
fields *interface{} fields *interface{}
sportId *interface{} sportId *interface{}
activeStatus *interface{} activeStatus *interface{}
} }
@ -1298,24 +1297,24 @@ func (r ApiLeague2Request) Execute() (*http.Response, error) {
/* /*
League2 View league info League2 View league info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiLeague2Request @return ApiLeague2Request
*/ */
func (a *LeagueAPIService) League2(ctx context.Context, leagueId interface{}) ApiLeague2Request { func (a *LeagueAPIService) League2(ctx context.Context, leagueId interface{}) ApiLeague2Request {
return ApiLeague2Request{ return ApiLeague2Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) League2Execute(r ApiLeague2Request) (*http.Response, error) { func (a *LeagueAPIService) League2Execute(r ApiLeague2Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.League2") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.League2")
@ -1394,14 +1393,14 @@ func (a *LeagueAPIService) League2Execute(r ApiLeague2Request) (*http.Response,
} }
type ApiLeague3Request struct { type ApiLeague3Request struct {
ctx context.Context ctx context.Context
ApiService *LeagueAPIService ApiService *LeagueAPIService
leagueId interface{} leagueId interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
fields *interface{} fields *interface{}
sportId *interface{} sportId *interface{}
activeStatus *interface{} activeStatus *interface{}
} }
@ -1448,24 +1447,24 @@ func (r ApiLeague3Request) Execute() (*http.Response, error) {
/* /*
League3 View league info League3 View league info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param leagueId Unique League Identifier @param leagueId Unique League Identifier
@return ApiLeague3Request @return ApiLeague3Request
*/ */
func (a *LeagueAPIService) League3(ctx context.Context, leagueId interface{}) ApiLeague3Request { func (a *LeagueAPIService) League3(ctx context.Context, leagueId interface{}) ApiLeague3Request {
return ApiLeague3Request{ return ApiLeague3Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
leagueId: leagueId, leagueId: leagueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *LeagueAPIService) League3Execute(r ApiLeague3Request) (*http.Response, error) { func (a *LeagueAPIService) League3Execute(r ApiLeague3Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.League3") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LeagueAPIService.League3")

View File

@ -18,12 +18,11 @@ import (
"net/url" "net/url"
) )
// MilestonesAPIService MilestonesAPI service // MilestonesAPIService MilestonesAPI service
type MilestonesAPIService service type MilestonesAPIService service
type ApiAchievementStatusesRequest struct { type ApiAchievementStatusesRequest struct {
ctx context.Context ctx context.Context
ApiService *MilestonesAPIService ApiService *MilestonesAPIService
} }
@ -34,22 +33,22 @@ func (r ApiAchievementStatusesRequest) Execute() (*http.Response, error) {
/* /*
AchievementStatuses View available achievementStatus options AchievementStatuses View available achievementStatus options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAchievementStatusesRequest @return ApiAchievementStatusesRequest
*/ */
func (a *MilestonesAPIService) AchievementStatuses(ctx context.Context) ApiAchievementStatusesRequest { func (a *MilestonesAPIService) AchievementStatuses(ctx context.Context) ApiAchievementStatusesRequest {
return ApiAchievementStatusesRequest{ return ApiAchievementStatusesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *MilestonesAPIService) AchievementStatusesExecute(r ApiAchievementStatusesRequest) (*http.Response, error) { func (a *MilestonesAPIService) AchievementStatusesExecute(r ApiAchievementStatusesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.AchievementStatuses") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.AchievementStatuses")
@ -109,7 +108,7 @@ func (a *MilestonesAPIService) AchievementStatusesExecute(r ApiAchievementStatus
} }
type ApiMilestoneDurationsRequest struct { type ApiMilestoneDurationsRequest struct {
ctx context.Context ctx context.Context
ApiService *MilestonesAPIService ApiService *MilestonesAPIService
} }
@ -120,22 +119,22 @@ func (r ApiMilestoneDurationsRequest) Execute() (*http.Response, error) {
/* /*
MilestoneDurations View available milestoneDurations options MilestoneDurations View available milestoneDurations options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMilestoneDurationsRequest @return ApiMilestoneDurationsRequest
*/ */
func (a *MilestonesAPIService) MilestoneDurations(ctx context.Context) ApiMilestoneDurationsRequest { func (a *MilestonesAPIService) MilestoneDurations(ctx context.Context) ApiMilestoneDurationsRequest {
return ApiMilestoneDurationsRequest{ return ApiMilestoneDurationsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *MilestonesAPIService) MilestoneDurationsExecute(r ApiMilestoneDurationsRequest) (*http.Response, error) { func (a *MilestonesAPIService) MilestoneDurationsExecute(r ApiMilestoneDurationsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.MilestoneDurations") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.MilestoneDurations")
@ -195,7 +194,7 @@ func (a *MilestonesAPIService) MilestoneDurationsExecute(r ApiMilestoneDurations
} }
type ApiMilestoneLookupsRequest struct { type ApiMilestoneLookupsRequest struct {
ctx context.Context ctx context.Context
ApiService *MilestonesAPIService ApiService *MilestonesAPIService
} }
@ -206,22 +205,22 @@ func (r ApiMilestoneLookupsRequest) Execute() (*http.Response, error) {
/* /*
MilestoneLookups View available milestoneLookup options MilestoneLookups View available milestoneLookup options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMilestoneLookupsRequest @return ApiMilestoneLookupsRequest
*/ */
func (a *MilestonesAPIService) MilestoneLookups(ctx context.Context) ApiMilestoneLookupsRequest { func (a *MilestonesAPIService) MilestoneLookups(ctx context.Context) ApiMilestoneLookupsRequest {
return ApiMilestoneLookupsRequest{ return ApiMilestoneLookupsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *MilestonesAPIService) MilestoneLookupsExecute(r ApiMilestoneLookupsRequest) (*http.Response, error) { func (a *MilestonesAPIService) MilestoneLookupsExecute(r ApiMilestoneLookupsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.MilestoneLookups") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.MilestoneLookups")
@ -281,7 +280,7 @@ func (a *MilestonesAPIService) MilestoneLookupsExecute(r ApiMilestoneLookupsRequ
} }
type ApiMilestoneStatisticsRequest struct { type ApiMilestoneStatisticsRequest struct {
ctx context.Context ctx context.Context
ApiService *MilestonesAPIService ApiService *MilestonesAPIService
} }
@ -292,22 +291,22 @@ func (r ApiMilestoneStatisticsRequest) Execute() (*http.Response, error) {
/* /*
MilestoneStatistics View available milestone statistics options MilestoneStatistics View available milestone statistics options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMilestoneStatisticsRequest @return ApiMilestoneStatisticsRequest
*/ */
func (a *MilestonesAPIService) MilestoneStatistics(ctx context.Context) ApiMilestoneStatisticsRequest { func (a *MilestonesAPIService) MilestoneStatistics(ctx context.Context) ApiMilestoneStatisticsRequest {
return ApiMilestoneStatisticsRequest{ return ApiMilestoneStatisticsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *MilestonesAPIService) MilestoneStatisticsExecute(r ApiMilestoneStatisticsRequest) (*http.Response, error) { func (a *MilestonesAPIService) MilestoneStatisticsExecute(r ApiMilestoneStatisticsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.MilestoneStatistics") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.MilestoneStatistics")
@ -367,7 +366,7 @@ func (a *MilestonesAPIService) MilestoneStatisticsExecute(r ApiMilestoneStatisti
} }
type ApiMilestoneTypesRequest struct { type ApiMilestoneTypesRequest struct {
ctx context.Context ctx context.Context
ApiService *MilestonesAPIService ApiService *MilestonesAPIService
} }
@ -378,22 +377,22 @@ func (r ApiMilestoneTypesRequest) Execute() (*http.Response, error) {
/* /*
MilestoneTypes View available milestoneType options MilestoneTypes View available milestoneType options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMilestoneTypesRequest @return ApiMilestoneTypesRequest
*/ */
func (a *MilestonesAPIService) MilestoneTypes(ctx context.Context) ApiMilestoneTypesRequest { func (a *MilestonesAPIService) MilestoneTypes(ctx context.Context) ApiMilestoneTypesRequest {
return ApiMilestoneTypesRequest{ return ApiMilestoneTypesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *MilestonesAPIService) MilestoneTypesExecute(r ApiMilestoneTypesRequest) (*http.Response, error) { func (a *MilestonesAPIService) MilestoneTypesExecute(r ApiMilestoneTypesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.MilestoneTypes") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.MilestoneTypes")
@ -453,25 +452,25 @@ func (a *MilestonesAPIService) MilestoneTypesExecute(r ApiMilestoneTypesRequest)
} }
type ApiMilestonesRequest struct { type ApiMilestonesRequest struct {
ctx context.Context ctx context.Context
ApiService *MilestonesAPIService ApiService *MilestonesAPIService
orgType *interface{} orgType *interface{}
achievementStatuses *interface{} achievementStatuses *interface{}
milestoneTypes *interface{} milestoneTypes *interface{}
isLastAchievement *interface{} isLastAchievement *interface{}
milestoneStatistics *interface{} milestoneStatistics *interface{}
milestoneValues *interface{} milestoneValues *interface{}
playerIds *interface{} playerIds *interface{}
teamIds *interface{} teamIds *interface{}
leagueIds *interface{} leagueIds *interface{}
statGroup *interface{} statGroup *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
venueIds *interface{} venueIds *interface{}
gamePks *interface{} gamePks *interface{}
limit *interface{} limit *interface{}
fields *interface{} fields *interface{}
showFirsts *interface{} showFirsts *interface{}
} }
// Organization level. Format: T(Team), L(League), S(Sport) // Organization level. Format: T(Team), L(League), S(Sport)
@ -583,22 +582,22 @@ func (r ApiMilestonesRequest) Execute() (*http.Response, error) {
/* /*
Milestones View pending and achieved milestones. Milestones View pending and achieved milestones.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMilestonesRequest @return ApiMilestonesRequest
*/ */
func (a *MilestonesAPIService) Milestones(ctx context.Context) ApiMilestonesRequest { func (a *MilestonesAPIService) Milestones(ctx context.Context) ApiMilestonesRequest {
return ApiMilestonesRequest{ return ApiMilestonesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *MilestonesAPIService) MilestonesExecute(r ApiMilestonesRequest) (*http.Response, error) { func (a *MilestonesAPIService) MilestonesExecute(r ApiMilestonesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.Milestones") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MilestonesAPIService.Milestones")

File diff suppressed because it is too large Load Diff

View File

@ -19,15 +19,14 @@ import (
"strings" "strings"
) )
// PersonAPIService PersonAPI service // PersonAPIService PersonAPI service
type PersonAPIService service type PersonAPIService service
type ApiAwardRequest struct { type ApiAwardRequest struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
personId interface{} personId interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -43,24 +42,24 @@ func (r ApiAwardRequest) Execute() (*http.Response, error) {
/* /*
Award View a player's awards Award View a player's awards
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param personId Unique Player Identifier. Format: 434538, 429665, etc @param personId Unique Player Identifier. Format: 434538, 429665, etc
@return ApiAwardRequest @return ApiAwardRequest
*/ */
func (a *PersonAPIService) Award(ctx context.Context, personId interface{}) ApiAwardRequest { func (a *PersonAPIService) Award(ctx context.Context, personId interface{}) ApiAwardRequest {
return ApiAwardRequest{ return ApiAwardRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
personId: personId, personId: personId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) AwardExecute(r ApiAwardRequest) (*http.Response, error) { func (a *PersonAPIService) AwardExecute(r ApiAwardRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Award") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Award")
@ -124,13 +123,13 @@ func (a *PersonAPIService) AwardExecute(r ApiAwardRequest) (*http.Response, erro
} }
type ApiCurrentGameStatsRequest struct { type ApiCurrentGameStatsRequest struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
updatedSince *interface{} updatedSince *interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
accent *interface{} accent *interface{}
fields *interface{} fields *interface{}
} }
// Format: YYYY-MM-DDTHH:MM:SSZ // Format: YYYY-MM-DDTHH:MM:SSZ
@ -170,22 +169,22 @@ func (r ApiCurrentGameStatsRequest) Execute() (*http.Response, error) {
/* /*
CurrentGameStats View a player's change log CurrentGameStats View a player's change log
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCurrentGameStatsRequest @return ApiCurrentGameStatsRequest
*/ */
func (a *PersonAPIService) CurrentGameStats(ctx context.Context) ApiCurrentGameStatsRequest { func (a *PersonAPIService) CurrentGameStats(ctx context.Context) ApiCurrentGameStatsRequest {
return ApiCurrentGameStatsRequest{ return ApiCurrentGameStatsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) CurrentGameStatsExecute(r ApiCurrentGameStatsRequest) (*http.Response, error) { func (a *PersonAPIService) CurrentGameStatsExecute(r ApiCurrentGameStatsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.CurrentGameStats") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.CurrentGameStats")
@ -261,12 +260,12 @@ func (a *PersonAPIService) CurrentGameStatsExecute(r ApiCurrentGameStatsRequest)
} }
type ApiFreeAgentsRequest struct { type ApiFreeAgentsRequest struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
season *interface{} season *interface{}
order *interface{} order *interface{}
accent *interface{} accent *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -299,22 +298,22 @@ func (r ApiFreeAgentsRequest) Execute() (*http.Response, error) {
/* /*
FreeAgents Get free agents FreeAgents Get free agents
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFreeAgentsRequest @return ApiFreeAgentsRequest
*/ */
func (a *PersonAPIService) FreeAgents(ctx context.Context) ApiFreeAgentsRequest { func (a *PersonAPIService) FreeAgents(ctx context.Context) ApiFreeAgentsRequest {
return ApiFreeAgentsRequest{ return ApiFreeAgentsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) FreeAgentsExecute(r ApiFreeAgentsRequest) (*http.Response, error) { func (a *PersonAPIService) FreeAgentsExecute(r ApiFreeAgentsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.FreeAgents") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.FreeAgents")
@ -387,14 +386,14 @@ func (a *PersonAPIService) FreeAgentsExecute(r ApiFreeAgentsRequest) (*http.Resp
} }
type ApiPersonRequest struct { type ApiPersonRequest struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
personId interface{} personId interface{}
personIds *interface{} personIds *interface{}
accent *interface{} accent *interface{}
season *interface{} season *interface{}
group *interface{} group *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of person ID. Format: 1234, 2345 // Comma delimited list of person ID. Format: 1234, 2345
@ -436,24 +435,24 @@ Person View a player
This endpoint allows you to pull the information of players This endpoint allows you to pull the information of players
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param personId Unique Player Identifier. Format: 434538, 429665, etc @param personId Unique Player Identifier. Format: 434538, 429665, etc
@return ApiPersonRequest @return ApiPersonRequest
*/ */
func (a *PersonAPIService) Person(ctx context.Context, personId interface{}) ApiPersonRequest { func (a *PersonAPIService) Person(ctx context.Context, personId interface{}) ApiPersonRequest {
return ApiPersonRequest{ return ApiPersonRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
personId: personId, personId: personId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) PersonExecute(r ApiPersonRequest) (*http.Response, error) { func (a *PersonAPIService) PersonExecute(r ApiPersonRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Person") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Person")
@ -529,14 +528,14 @@ func (a *PersonAPIService) PersonExecute(r ApiPersonRequest) (*http.Response, er
} }
type ApiPerson1Request struct { type ApiPerson1Request struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
personId interface{} personId interface{}
personIds *interface{} personIds *interface{}
accent *interface{} accent *interface{}
season *interface{} season *interface{}
group *interface{} group *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of person ID. Format: 1234, 2345 // Comma delimited list of person ID. Format: 1234, 2345
@ -578,24 +577,24 @@ Person1 View a player
This endpoint allows you to pull the information of players This endpoint allows you to pull the information of players
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param personId Unique Player Identifier. Format: 434538, 429665, etc @param personId Unique Player Identifier. Format: 434538, 429665, etc
@return ApiPerson1Request @return ApiPerson1Request
*/ */
func (a *PersonAPIService) Person1(ctx context.Context, personId interface{}) ApiPerson1Request { func (a *PersonAPIService) Person1(ctx context.Context, personId interface{}) ApiPerson1Request {
return ApiPerson1Request{ return ApiPerson1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
personId: personId, personId: personId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) Person1Execute(r ApiPerson1Request) (*http.Response, error) { func (a *PersonAPIService) Person1Execute(r ApiPerson1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Person1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Person1")
@ -671,12 +670,12 @@ func (a *PersonAPIService) Person1Execute(r ApiPerson1Request) (*http.Response,
} }
type ApiPlayerGameStatsRequest struct { type ApiPlayerGameStatsRequest struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
personId interface{} personId interface{}
gamePk interface{} gamePk interface{}
group *interface{} group *interface{}
fields *interface{} fields *interface{}
} }
// Category of statistic to return. Available types in /api/v1/statGroups // Category of statistic to return. Available types in /api/v1/statGroups
@ -698,26 +697,26 @@ func (r ApiPlayerGameStatsRequest) Execute() (*http.Response, error) {
/* /*
PlayerGameStats View a player's game stats PlayerGameStats View a player's game stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param personId Unique Player Identifier. Format: 434538, 429665, etc @param personId Unique Player Identifier. Format: 434538, 429665, etc
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@return ApiPlayerGameStatsRequest @return ApiPlayerGameStatsRequest
*/ */
func (a *PersonAPIService) PlayerGameStats(ctx context.Context, personId interface{}, gamePk interface{}) ApiPlayerGameStatsRequest { func (a *PersonAPIService) PlayerGameStats(ctx context.Context, personId interface{}, gamePk interface{}) ApiPlayerGameStatsRequest {
return ApiPlayerGameStatsRequest{ return ApiPlayerGameStatsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
personId: personId, personId: personId,
gamePk: gamePk, gamePk: gamePk,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) PlayerGameStatsExecute(r ApiPlayerGameStatsRequest) (*http.Response, error) { func (a *PersonAPIService) PlayerGameStatsExecute(r ApiPlayerGameStatsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.PlayerGameStats") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.PlayerGameStats")
@ -785,21 +784,21 @@ func (a *PersonAPIService) PlayerGameStatsExecute(r ApiPlayerGameStatsRequest) (
} }
type ApiSearchRequest struct { type ApiSearchRequest struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
names *interface{} names *interface{}
personIds *interface{} personIds *interface{}
sportIds *interface{} sportIds *interface{}
leagueIds *interface{} leagueIds *interface{}
teamIds *interface{} teamIds *interface{}
leagueListId *interface{} leagueListId *interface{}
active *interface{} active *interface{}
verified *interface{} verified *interface{}
rookie *interface{} rookie *interface{}
seasons *interface{} seasons *interface{}
fields *interface{} fields *interface{}
accent *interface{} accent *interface{}
limit *interface{} limit *interface{}
} }
// Name a player uses // Name a player uses
@ -887,22 +886,22 @@ func (r ApiSearchRequest) Execute() (*http.Response, error) {
/* /*
Search Search for a player by name Search Search for a player by name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSearchRequest @return ApiSearchRequest
*/ */
func (a *PersonAPIService) Search(ctx context.Context) ApiSearchRequest { func (a *PersonAPIService) Search(ctx context.Context) ApiSearchRequest {
return ApiSearchRequest{ return ApiSearchRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) SearchExecute(r ApiSearchRequest) (*http.Response, error) { func (a *PersonAPIService) SearchExecute(r ApiSearchRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Search") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Search")
@ -1001,34 +1000,34 @@ func (a *PersonAPIService) SearchExecute(r ApiSearchRequest) (*http.Response, er
} }
type ApiStats3Request struct { type ApiStats3Request struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
personId interface{} personId interface{}
stats *interface{} stats *interface{}
group *interface{} group *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
sportId *interface{} sportId *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
opposingPlayerId *interface{} opposingPlayerId *interface{}
metrics *interface{} metrics *interface{}
leagueId *interface{} leagueId *interface{}
leagueListId *interface{} leagueListId *interface{}
sitCodes *interface{} sitCodes *interface{}
combineSits *interface{} combineSits *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
daysBack *interface{} daysBack *interface{}
gamesBack *interface{} gamesBack *interface{}
limit *interface{} limit *interface{}
eventType *interface{} eventType *interface{}
pitchType *interface{} pitchType *interface{}
hitTrajectory *interface{} hitTrajectory *interface{}
batSide *interface{} batSide *interface{}
gameType *interface{} gameType *interface{}
groupBy *interface{} groupBy *interface{}
accent *interface{} accent *interface{}
fields *interface{} fields *interface{}
} }
// Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes // Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes
@ -1188,24 +1187,24 @@ func (r ApiStats3Request) Execute() (*http.Response, error) {
/* /*
Stats3 View a players stats Stats3 View a players stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param personId Unique Player Identifier. Format: 434538, 429665, etc @param personId Unique Player Identifier. Format: 434538, 429665, etc
@return ApiStats3Request @return ApiStats3Request
*/ */
func (a *PersonAPIService) Stats3(ctx context.Context, personId interface{}) ApiStats3Request { func (a *PersonAPIService) Stats3(ctx context.Context, personId interface{}) ApiStats3Request {
return ApiStats3Request{ return ApiStats3Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
personId: personId, personId: personId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) Stats3Execute(r ApiStats3Request) (*http.Response, error) { func (a *PersonAPIService) Stats3Execute(r ApiStats3Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Stats3") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.Stats3")
@ -1342,34 +1341,34 @@ func (a *PersonAPIService) Stats3Execute(r ApiStats3Request) (*http.Response, er
} }
type ApiStatsMetricsRequest struct { type ApiStatsMetricsRequest struct {
ctx context.Context ctx context.Context
ApiService *PersonAPIService ApiService *PersonAPIService
personId interface{} personId interface{}
stats *interface{} stats *interface{}
group *interface{} group *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
sportId *interface{} sportId *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
opposingPlayerId *interface{} opposingPlayerId *interface{}
metrics *interface{} metrics *interface{}
leagueId *interface{} leagueId *interface{}
leagueListId *interface{} leagueListId *interface{}
sitCodes *interface{} sitCodes *interface{}
combineSits *interface{} combineSits *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
daysBack *interface{} daysBack *interface{}
gamesBack *interface{} gamesBack *interface{}
limit *interface{} limit *interface{}
eventType *interface{} eventType *interface{}
pitchType *interface{} pitchType *interface{}
hitTrajectory *interface{} hitTrajectory *interface{}
batSide *interface{} batSide *interface{}
gameType *interface{} gameType *interface{}
groupBy *interface{} groupBy *interface{}
accent *interface{} accent *interface{}
fields *interface{} fields *interface{}
} }
// Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes // Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes
@ -1529,24 +1528,24 @@ func (r ApiStatsMetricsRequest) Execute() (*http.Response, error) {
/* /*
StatsMetrics View a player's stat metrics StatsMetrics View a player's stat metrics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param personId Unique Player Identifier. Format: 434538, 429665, etc @param personId Unique Player Identifier. Format: 434538, 429665, etc
@return ApiStatsMetricsRequest @return ApiStatsMetricsRequest
*/ */
func (a *PersonAPIService) StatsMetrics(ctx context.Context, personId interface{}) ApiStatsMetricsRequest { func (a *PersonAPIService) StatsMetrics(ctx context.Context, personId interface{}) ApiStatsMetricsRequest {
return ApiStatsMetricsRequest{ return ApiStatsMetricsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
personId: personId, personId: personId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PersonAPIService) StatsMetricsExecute(r ApiStatsMetricsRequest) (*http.Response, error) { func (a *PersonAPIService) StatsMetricsExecute(r ApiStatsMetricsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.StatsMetrics") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonAPIService.StatsMetrics")

View File

@ -18,19 +18,18 @@ import (
"net/url" "net/url"
) )
// PredictionsAPIService PredictionsAPI service // PredictionsAPIService PredictionsAPI service
type PredictionsAPIService service type PredictionsAPIService service
type ApiGetPropsRequest struct { type ApiGetPropsRequest struct {
ctx context.Context ctx context.Context
ApiService *PredictionsAPIService ApiService *PredictionsAPIService
batterId *interface{} batterId *interface{}
pitcherId *interface{} pitcherId *interface{}
venueId *interface{} venueId *interface{}
batSide *interface{} batSide *interface{}
pitchHand *interface{} pitchHand *interface{}
batterPosition *interface{} batterPosition *interface{}
pitcherPosition *interface{} pitcherPosition *interface{}
} }
@ -85,22 +84,22 @@ GetProps Get play-level predictions based on input scenarios
This endpoint allows you to get play-level predictions based on input scenarios This endpoint allows you to get play-level predictions based on input scenarios
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPropsRequest @return ApiGetPropsRequest
*/ */
func (a *PredictionsAPIService) GetProps(ctx context.Context) ApiGetPropsRequest { func (a *PredictionsAPIService) GetProps(ctx context.Context) ApiGetPropsRequest {
return ApiGetPropsRequest{ return ApiGetPropsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PredictionsAPIService) GetPropsExecute(r ApiGetPropsRequest) (*http.Response, error) { func (a *PredictionsAPIService) GetPropsExecute(r ApiGetPropsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PredictionsAPIService.GetProps") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PredictionsAPIService.GetProps")
@ -181,9 +180,9 @@ func (a *PredictionsAPIService) GetPropsExecute(r ApiGetPropsRequest) (*http.Res
} }
type ApiGetPropsAdjustRequest struct { type ApiGetPropsAdjustRequest struct {
ctx context.Context ctx context.Context
ApiService *PredictionsAPIService ApiService *PredictionsAPIService
gamePk *interface{} gamePk *interface{}
} }
// Unique Primary Key Representing a Game // Unique Primary Key Representing a Game
@ -201,22 +200,22 @@ GetPropsAdjust Get play-level predictions based on input scenarios
This endpoint allows you to get play-level predictions based on input scenarios This endpoint allows you to get play-level predictions based on input scenarios
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPropsAdjustRequest @return ApiGetPropsAdjustRequest
*/ */
func (a *PredictionsAPIService) GetPropsAdjust(ctx context.Context) ApiGetPropsAdjustRequest { func (a *PredictionsAPIService) GetPropsAdjust(ctx context.Context) ApiGetPropsAdjustRequest {
return ApiGetPropsAdjustRequest{ return ApiGetPropsAdjustRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *PredictionsAPIService) GetPropsAdjustExecute(r ApiGetPropsAdjustRequest) (*http.Response, error) { func (a *PredictionsAPIService) GetPropsAdjustExecute(r ApiGetPropsAdjustRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PredictionsAPIService.GetPropsAdjust") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PredictionsAPIService.GetPropsAdjust")

View File

@ -18,17 +18,16 @@ import (
"net/url" "net/url"
) )
// ReviewsAPIService ReviewsAPI service // ReviewsAPIService ReviewsAPI service
type ReviewsAPIService service type ReviewsAPIService service
type ApiGetReviewInfoRequest struct { type ApiGetReviewInfoRequest struct {
ctx context.Context ctx context.Context
ApiService *ReviewsAPIService ApiService *ReviewsAPIService
sportId *interface{} sportId *interface{}
season *interface{} season *interface{}
gameType *interface{} gameType *interface{}
fields *interface{} fields *interface{}
} }
// Unique Team Identifier. Format: 141, 147, etc // Unique Team Identifier. Format: 141, 147, etc
@ -62,22 +61,22 @@ func (r ApiGetReviewInfoRequest) Execute() (*http.Response, error) {
/* /*
GetReviewInfo Get review info GetReviewInfo Get review info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetReviewInfoRequest @return ApiGetReviewInfoRequest
*/ */
func (a *ReviewsAPIService) GetReviewInfo(ctx context.Context) ApiGetReviewInfoRequest { func (a *ReviewsAPIService) GetReviewInfo(ctx context.Context) ApiGetReviewInfoRequest {
return ApiGetReviewInfoRequest{ return ApiGetReviewInfoRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *ReviewsAPIService) GetReviewInfoExecute(r ApiGetReviewInfoRequest) (*http.Response, error) { func (a *ReviewsAPIService) GetReviewInfoExecute(r ApiGetReviewInfoRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReviewsAPIService.GetReviewInfo") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReviewsAPIService.GetReviewInfo")

View File

@ -18,22 +18,21 @@ import (
"net/url" "net/url"
) )
// ScheduleAPIService ScheduleAPI service // ScheduleAPIService ScheduleAPI service
type ScheduleAPIService service type ScheduleAPIService service
type ApiPostseasonScheduleRequest struct { type ApiPostseasonScheduleRequest struct {
ctx context.Context ctx context.Context
ApiService *ScheduleAPIService ApiService *ScheduleAPIService
gameTypes *interface{} gameTypes *interface{}
seriesNumber *interface{} seriesNumber *interface{}
teamId *interface{} teamId *interface{}
sportId *interface{} sportId *interface{}
useLatestGames *interface{} useLatestGames *interface{}
useFeaturedGame *interface{} useFeaturedGame *interface{}
season *interface{} season *interface{}
publicFacing *interface{} publicFacing *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of type of Game. Available types in /api/v1/gameTypes // Comma delimited list of type of Game. Available types in /api/v1/gameTypes
@ -95,22 +94,22 @@ PostseasonSchedule Get postseason schedule
This endpoint allows you to pull postseason schedules This endpoint allows you to pull postseason schedules
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostseasonScheduleRequest @return ApiPostseasonScheduleRequest
*/ */
func (a *ScheduleAPIService) PostseasonSchedule(ctx context.Context) ApiPostseasonScheduleRequest { func (a *ScheduleAPIService) PostseasonSchedule(ctx context.Context) ApiPostseasonScheduleRequest {
return ApiPostseasonScheduleRequest{ return ApiPostseasonScheduleRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *ScheduleAPIService) PostseasonScheduleExecute(r ApiPostseasonScheduleRequest) (*http.Response, error) { func (a *ScheduleAPIService) PostseasonScheduleExecute(r ApiPostseasonScheduleRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.PostseasonSchedule") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.PostseasonSchedule")
@ -197,19 +196,19 @@ func (a *ScheduleAPIService) PostseasonScheduleExecute(r ApiPostseasonScheduleRe
} }
type ApiPostseasonScheduleSeriesRequest struct { type ApiPostseasonScheduleSeriesRequest struct {
ctx context.Context ctx context.Context
ApiService *ScheduleAPIService ApiService *ScheduleAPIService
gameTypes *interface{} gameTypes *interface{}
seriesNumber *interface{} seriesNumber *interface{}
teamId *interface{} teamId *interface{}
sportId *interface{} sportId *interface{}
date *interface{} date *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
useLatestGames *interface{} useLatestGames *interface{}
useFeaturedGame *interface{} useFeaturedGame *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of type of Game. Available types in /api/v1/gameTypes // Comma delimited list of type of Game. Available types in /api/v1/gameTypes
@ -283,22 +282,22 @@ PostseasonScheduleSeries Get postseason series schedules
This endpoint allows you to pull postseason schedules This endpoint allows you to pull postseason schedules
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostseasonScheduleSeriesRequest @return ApiPostseasonScheduleSeriesRequest
*/ */
func (a *ScheduleAPIService) PostseasonScheduleSeries(ctx context.Context) ApiPostseasonScheduleSeriesRequest { func (a *ScheduleAPIService) PostseasonScheduleSeries(ctx context.Context) ApiPostseasonScheduleSeriesRequest {
return ApiPostseasonScheduleSeriesRequest{ return ApiPostseasonScheduleSeriesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *ScheduleAPIService) PostseasonScheduleSeriesExecute(r ApiPostseasonScheduleSeriesRequest) (*http.Response, error) { func (a *ScheduleAPIService) PostseasonScheduleSeriesExecute(r ApiPostseasonScheduleSeriesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.PostseasonScheduleSeries") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.PostseasonScheduleSeries")
@ -391,32 +390,32 @@ func (a *ScheduleAPIService) PostseasonScheduleSeriesExecute(r ApiPostseasonSche
} }
type ApiScheduleRequest struct { type ApiScheduleRequest struct {
ctx context.Context ctx context.Context
ApiService *ScheduleAPIService ApiService *ScheduleAPIService
usingPrivateEndpoint *interface{} usingPrivateEndpoint *interface{}
calendarTypes *interface{} calendarTypes *interface{}
eventTypes *interface{} eventTypes *interface{}
scheduleEventTypes *interface{} scheduleEventTypes *interface{}
teamId *interface{} teamId *interface{}
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
gamePk *interface{} gamePk *interface{}
gamePks *interface{} gamePks *interface{}
eventIds *interface{} eventIds *interface{}
venueIds *interface{} venueIds *interface{}
performerIds *interface{} performerIds *interface{}
gameTypes *interface{} gameTypes *interface{}
gameType *interface{} gameType *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
date *interface{} date *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
timecode *interface{} timecode *interface{}
useLatestGames *interface{} useLatestGames *interface{}
opponentId *interface{} opponentId *interface{}
publicFacing *interface{} publicFacing *interface{}
fields *interface{} fields *interface{}
} }
func (r ApiScheduleRequest) UsingPrivateEndpoint(usingPrivateEndpoint interface{}) ApiScheduleRequest { func (r ApiScheduleRequest) UsingPrivateEndpoint(usingPrivateEndpoint interface{}) ApiScheduleRequest {
@ -570,22 +569,22 @@ Schedule View schedule info based on scheduleType.
View schedule info. This endpoint allows you to pull schedules View schedule info. This endpoint allows you to pull schedules
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiScheduleRequest @return ApiScheduleRequest
*/ */
func (a *ScheduleAPIService) Schedule(ctx context.Context) ApiScheduleRequest { func (a *ScheduleAPIService) Schedule(ctx context.Context) ApiScheduleRequest {
return ApiScheduleRequest{ return ApiScheduleRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *ScheduleAPIService) ScheduleExecute(r ApiScheduleRequest) (*http.Response, error) { func (a *ScheduleAPIService) ScheduleExecute(r ApiScheduleRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.Schedule") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.Schedule")
@ -718,32 +717,32 @@ func (a *ScheduleAPIService) ScheduleExecute(r ApiScheduleRequest) (*http.Respon
} }
type ApiSchedule1Request struct { type ApiSchedule1Request struct {
ctx context.Context ctx context.Context
ApiService *ScheduleAPIService ApiService *ScheduleAPIService
usingPrivateEndpoint *interface{} usingPrivateEndpoint *interface{}
calendarTypes *interface{} calendarTypes *interface{}
eventTypes *interface{} eventTypes *interface{}
scheduleEventTypes *interface{} scheduleEventTypes *interface{}
teamId *interface{} teamId *interface{}
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
gamePk *interface{} gamePk *interface{}
gamePks *interface{} gamePks *interface{}
eventIds *interface{} eventIds *interface{}
venueIds *interface{} venueIds *interface{}
performerIds *interface{} performerIds *interface{}
gameTypes *interface{} gameTypes *interface{}
gameType *interface{} gameType *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
date *interface{} date *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
timecode *interface{} timecode *interface{}
useLatestGames *interface{} useLatestGames *interface{}
opponentId *interface{} opponentId *interface{}
publicFacing *interface{} publicFacing *interface{}
fields *interface{} fields *interface{}
} }
func (r ApiSchedule1Request) UsingPrivateEndpoint(usingPrivateEndpoint interface{}) ApiSchedule1Request { func (r ApiSchedule1Request) UsingPrivateEndpoint(usingPrivateEndpoint interface{}) ApiSchedule1Request {
@ -897,22 +896,22 @@ Schedule1 View schedule info based on scheduleType.
View schedule info. This endpoint allows you to pull schedules View schedule info. This endpoint allows you to pull schedules
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSchedule1Request @return ApiSchedule1Request
*/ */
func (a *ScheduleAPIService) Schedule1(ctx context.Context) ApiSchedule1Request { func (a *ScheduleAPIService) Schedule1(ctx context.Context) ApiSchedule1Request {
return ApiSchedule1Request{ return ApiSchedule1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *ScheduleAPIService) Schedule1Execute(r ApiSchedule1Request) (*http.Response, error) { func (a *ScheduleAPIService) Schedule1Execute(r ApiSchedule1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.Schedule1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.Schedule1")
@ -1045,12 +1044,12 @@ func (a *ScheduleAPIService) Schedule1Execute(r ApiSchedule1Request) (*http.Resp
} }
type ApiTieGamesRequest struct { type ApiTieGamesRequest struct {
ctx context.Context ctx context.Context
ApiService *ScheduleAPIService ApiService *ScheduleAPIService
season *interface{} season *interface{}
sportId *interface{} sportId *interface{}
gameTypes *interface{} gameTypes *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -1086,22 +1085,22 @@ TieGames Get tied game schedules
This endpoint allows you to pull tie game schedules for the given season This endpoint allows you to pull tie game schedules for the given season
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTieGamesRequest @return ApiTieGamesRequest
*/ */
func (a *ScheduleAPIService) TieGames(ctx context.Context) ApiTieGamesRequest { func (a *ScheduleAPIService) TieGames(ctx context.Context) ApiTieGamesRequest {
return ApiTieGamesRequest{ return ApiTieGamesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *ScheduleAPIService) TieGamesExecute(r ApiTieGamesRequest) (*http.Response, error) { func (a *ScheduleAPIService) TieGamesExecute(r ApiTieGamesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.TieGames") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.TieGames")
@ -1174,30 +1173,30 @@ func (a *ScheduleAPIService) TieGamesExecute(r ApiTieGamesRequest) (*http.Respon
} }
type ApiTrackingEventsScheduleRequest struct { type ApiTrackingEventsScheduleRequest struct {
ctx context.Context ctx context.Context
ApiService *ScheduleAPIService ApiService *ScheduleAPIService
calendarTypes *interface{} calendarTypes *interface{}
eventTypes *interface{} eventTypes *interface{}
teamId *interface{} teamId *interface{}
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
gamePk *interface{} gamePk *interface{}
gamePks *interface{} gamePks *interface{}
eventIds *interface{} eventIds *interface{}
venueIds *interface{} venueIds *interface{}
performerIds *interface{} performerIds *interface{}
gameTypes *interface{} gameTypes *interface{}
gameType *interface{} gameType *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
date *interface{} date *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
timecode *interface{} timecode *interface{}
useLatestGames *interface{} useLatestGames *interface{}
opponentId *interface{} opponentId *interface{}
publicFacing *interface{} publicFacing *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of type of calendar types // Comma delimited list of type of calendar types
@ -1340,22 +1339,22 @@ TrackingEventsSchedule Get tracking event schedules
This endpoint allows you to pull schedules for tracking events This endpoint allows you to pull schedules for tracking events
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTrackingEventsScheduleRequest @return ApiTrackingEventsScheduleRequest
*/ */
func (a *ScheduleAPIService) TrackingEventsSchedule(ctx context.Context) ApiTrackingEventsScheduleRequest { func (a *ScheduleAPIService) TrackingEventsSchedule(ctx context.Context) ApiTrackingEventsScheduleRequest {
return ApiTrackingEventsScheduleRequest{ return ApiTrackingEventsScheduleRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *ScheduleAPIService) TrackingEventsScheduleExecute(r ApiTrackingEventsScheduleRequest) (*http.Response, error) { func (a *ScheduleAPIService) TrackingEventsScheduleExecute(r ApiTrackingEventsScheduleRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.TrackingEventsSchedule") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.TrackingEventsSchedule")
@ -1481,12 +1480,12 @@ func (a *ScheduleAPIService) TrackingEventsScheduleExecute(r ApiTrackingEventsSc
} }
type ApiTuneInRequest struct { type ApiTuneInRequest struct {
ctx context.Context ctx context.Context
ApiService *ScheduleAPIService ApiService *ScheduleAPIService
teamId *interface{} teamId *interface{}
sportId *interface{} sportId *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// Unique Team Identifier. Format: 141, 147, etc // Unique Team Identifier. Format: 141, 147, etc
@ -1522,22 +1521,22 @@ TuneIn Get postseason TuneIn schedules
This endpoint allows you to pull postseason schedules This endpoint allows you to pull postseason schedules
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTuneInRequest @return ApiTuneInRequest
*/ */
func (a *ScheduleAPIService) TuneIn(ctx context.Context) ApiTuneInRequest { func (a *ScheduleAPIService) TuneIn(ctx context.Context) ApiTuneInRequest {
return ApiTuneInRequest{ return ApiTuneInRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *ScheduleAPIService) TuneInExecute(r ApiTuneInRequest) (*http.Response, error) { func (a *ScheduleAPIService) TuneInExecute(r ApiTuneInRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.TuneIn") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScheduleAPIService.TuneIn")

View File

@ -19,18 +19,17 @@ import (
"strings" "strings"
) )
// SeasonAPIService SeasonAPI service // SeasonAPIService SeasonAPI service
type SeasonAPIService service type SeasonAPIService service
type ApiAllSeasonsRequest struct { type ApiAllSeasonsRequest struct {
ctx context.Context ctx context.Context
ApiService *SeasonAPIService ApiService *SeasonAPIService
divisionId *interface{} divisionId *interface{}
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
withGameTypeDates *interface{} withGameTypeDates *interface{}
fields *interface{} fields *interface{}
} }
// Unique Division Identifier // Unique Division Identifier
@ -72,22 +71,22 @@ AllSeasons View all seasons
This endpoint allows you to view all seasons for a given Division, League or Sport This endpoint allows you to view all seasons for a given Division, League or Sport
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAllSeasonsRequest @return ApiAllSeasonsRequest
*/ */
func (a *SeasonAPIService) AllSeasons(ctx context.Context) ApiAllSeasonsRequest { func (a *SeasonAPIService) AllSeasons(ctx context.Context) ApiAllSeasonsRequest {
return ApiAllSeasonsRequest{ return ApiAllSeasonsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SeasonAPIService) AllSeasonsExecute(r ApiAllSeasonsRequest) (*http.Response, error) { func (a *SeasonAPIService) AllSeasonsExecute(r ApiAllSeasonsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeasonAPIService.AllSeasons") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeasonAPIService.AllSeasons")
@ -162,13 +161,13 @@ func (a *SeasonAPIService) AllSeasonsExecute(r ApiAllSeasonsRequest) (*http.Resp
} }
type ApiSeasonsRequest struct { type ApiSeasonsRequest struct {
ctx context.Context ctx context.Context
ApiService *SeasonAPIService ApiService *SeasonAPIService
seasonId interface{} seasonId interface{}
season *interface{} season *interface{}
sportId *interface{} sportId *interface{}
withGameTypeDates *interface{} withGameTypeDates *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -204,24 +203,24 @@ Seasons View season info
This endpoint allows you to pull seasons This endpoint allows you to pull seasons
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param seasonId Season of play @param seasonId Season of play
@return ApiSeasonsRequest @return ApiSeasonsRequest
*/ */
func (a *SeasonAPIService) Seasons(ctx context.Context, seasonId interface{}) ApiSeasonsRequest { func (a *SeasonAPIService) Seasons(ctx context.Context, seasonId interface{}) ApiSeasonsRequest {
return ApiSeasonsRequest{ return ApiSeasonsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
seasonId: seasonId, seasonId: seasonId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SeasonAPIService) SeasonsExecute(r ApiSeasonsRequest) (*http.Response, error) { func (a *SeasonAPIService) SeasonsExecute(r ApiSeasonsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeasonAPIService.Seasons") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeasonAPIService.Seasons")
@ -294,13 +293,13 @@ func (a *SeasonAPIService) SeasonsExecute(r ApiSeasonsRequest) (*http.Response,
} }
type ApiSeasons1Request struct { type ApiSeasons1Request struct {
ctx context.Context ctx context.Context
ApiService *SeasonAPIService ApiService *SeasonAPIService
seasonId interface{} seasonId interface{}
season *interface{} season *interface{}
sportId *interface{} sportId *interface{}
withGameTypeDates *interface{} withGameTypeDates *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -336,24 +335,24 @@ Seasons1 View season info
This endpoint allows you to pull seasons This endpoint allows you to pull seasons
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param seasonId Season of play @param seasonId Season of play
@return ApiSeasons1Request @return ApiSeasons1Request
*/ */
func (a *SeasonAPIService) Seasons1(ctx context.Context, seasonId interface{}) ApiSeasons1Request { func (a *SeasonAPIService) Seasons1(ctx context.Context, seasonId interface{}) ApiSeasons1Request {
return ApiSeasons1Request{ return ApiSeasons1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
seasonId: seasonId, seasonId: seasonId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SeasonAPIService) Seasons1Execute(r ApiSeasons1Request) (*http.Response, error) { func (a *SeasonAPIService) Seasons1Execute(r ApiSeasons1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeasonAPIService.Seasons1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SeasonAPIService.Seasons1")

View File

@ -19,17 +19,16 @@ import (
"strings" "strings"
) )
// SkeletalAPIService SkeletalAPI service // SkeletalAPIService SkeletalAPI service
type SkeletalAPIService service type SkeletalAPIService service
type ApiSkeletalChunkedRequest struct { type ApiSkeletalChunkedRequest struct {
ctx context.Context ctx context.Context
ApiService *SkeletalAPIService ApiService *SkeletalAPIService
gamePk interface{} gamePk interface{}
playId interface{} playId interface{}
fileName *interface{} fileName *interface{}
fields *interface{} fields *interface{}
} }
// Skeletal chunked file name // Skeletal chunked file name
@ -53,26 +52,26 @@ SkeletalChunked View Skeletal Data by playId and gameId chunked
This endpoint allows you to pull chunked skeletal tracking data by gameId and playId This endpoint allows you to pull chunked skeletal tracking data by gameId and playId
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param playId Unique play identifier @param playId Unique play identifier
@return ApiSkeletalChunkedRequest @return ApiSkeletalChunkedRequest
*/ */
func (a *SkeletalAPIService) SkeletalChunked(ctx context.Context, gamePk interface{}, playId interface{}) ApiSkeletalChunkedRequest { func (a *SkeletalAPIService) SkeletalChunked(ctx context.Context, gamePk interface{}, playId interface{}) ApiSkeletalChunkedRequest {
return ApiSkeletalChunkedRequest{ return ApiSkeletalChunkedRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
playId: playId, playId: playId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SkeletalAPIService) SkeletalChunkedExecute(r ApiSkeletalChunkedRequest) (*http.Response, error) { func (a *SkeletalAPIService) SkeletalChunkedExecute(r ApiSkeletalChunkedRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SkeletalAPIService.SkeletalChunked") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SkeletalAPIService.SkeletalChunked")
@ -141,11 +140,11 @@ func (a *SkeletalAPIService) SkeletalChunkedExecute(r ApiSkeletalChunkedRequest)
} }
type ApiSkeletalDataFileNamesRequest struct { type ApiSkeletalDataFileNamesRequest struct {
ctx context.Context ctx context.Context
ApiService *SkeletalAPIService ApiService *SkeletalAPIService
gamePk interface{} gamePk interface{}
playId interface{} playId interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -163,26 +162,26 @@ SkeletalDataFileNames View Skeletal Data by playId and gameId files
This endpoint allows you to pull chunked skeletal tracking data by gameId and playId This endpoint allows you to pull chunked skeletal tracking data by gameId and playId
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param playId Unique play identifier @param playId Unique play identifier
@return ApiSkeletalDataFileNamesRequest @return ApiSkeletalDataFileNamesRequest
*/ */
func (a *SkeletalAPIService) SkeletalDataFileNames(ctx context.Context, gamePk interface{}, playId interface{}) ApiSkeletalDataFileNamesRequest { func (a *SkeletalAPIService) SkeletalDataFileNames(ctx context.Context, gamePk interface{}, playId interface{}) ApiSkeletalDataFileNamesRequest {
return ApiSkeletalDataFileNamesRequest{ return ApiSkeletalDataFileNamesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
playId: playId, playId: playId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SkeletalAPIService) SkeletalDataFileNamesExecute(r ApiSkeletalDataFileNamesRequest) (*http.Response, error) { func (a *SkeletalAPIService) SkeletalDataFileNamesExecute(r ApiSkeletalDataFileNamesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SkeletalAPIService.SkeletalDataFileNames") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SkeletalAPIService.SkeletalDataFileNames")

View File

@ -19,16 +19,15 @@ import (
"strings" "strings"
) )
// SportsAPIService SportsAPI service // SportsAPIService SportsAPI service
type SportsAPIService service type SportsAPIService service
type ApiAllSportBallotRequest struct { type ApiAllSportBallotRequest struct {
ctx context.Context ctx context.Context
ApiService *SportsAPIService ApiService *SportsAPIService
sportId interface{} sportId interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
// season // season
@ -51,24 +50,24 @@ AllSportBallot Get ALL MLB ballot for sport
This endpoint allows you to get all players for MLB ballot This endpoint allows you to get all players for MLB ballot
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sportId Top level organization of a sport @param sportId Top level organization of a sport
@return ApiAllSportBallotRequest @return ApiAllSportBallotRequest
*/ */
func (a *SportsAPIService) AllSportBallot(ctx context.Context, sportId interface{}) ApiAllSportBallotRequest { func (a *SportsAPIService) AllSportBallot(ctx context.Context, sportId interface{}) ApiAllSportBallotRequest {
return ApiAllSportBallotRequest{ return ApiAllSportBallotRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
sportId: sportId, sportId: sportId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SportsAPIService) AllSportBallotExecute(r ApiAllSportBallotRequest) (*http.Response, error) { func (a *SportsAPIService) AllSportBallotExecute(r ApiAllSportBallotRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SportsAPIService.AllSportBallot") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SportsAPIService.AllSportBallot")
@ -136,14 +135,14 @@ func (a *SportsAPIService) AllSportBallotExecute(r ApiAllSportBallotRequest) (*h
} }
type ApiSportPlayersRequest struct { type ApiSportPlayersRequest struct {
ctx context.Context ctx context.Context
ApiService *SportsAPIService ApiService *SportsAPIService
sportId interface{} sportId interface{}
season *interface{} season *interface{}
gameType *interface{} gameType *interface{}
hasStats *interface{} hasStats *interface{}
accent *interface{} accent *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -185,24 +184,24 @@ SportPlayers Get all players for a sport level
This endpoint allows you to pull all players for a given sport This endpoint allows you to pull all players for a given sport
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sportId Top level organization of a sport @param sportId Top level organization of a sport
@return ApiSportPlayersRequest @return ApiSportPlayersRequest
*/ */
func (a *SportsAPIService) SportPlayers(ctx context.Context, sportId interface{}) ApiSportPlayersRequest { func (a *SportsAPIService) SportPlayers(ctx context.Context, sportId interface{}) ApiSportPlayersRequest {
return ApiSportPlayersRequest{ return ApiSportPlayersRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
sportId: sportId, sportId: sportId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SportsAPIService) SportPlayersExecute(r ApiSportPlayersRequest) (*http.Response, error) { func (a *SportsAPIService) SportPlayersExecute(r ApiSportPlayersRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SportsAPIService.SportPlayers") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SportsAPIService.SportPlayers")
@ -278,12 +277,12 @@ func (a *SportsAPIService) SportPlayersExecute(r ApiSportPlayersRequest) (*http.
} }
type ApiSportsRequest struct { type ApiSportsRequest struct {
ctx context.Context ctx context.Context
ApiService *SportsAPIService ApiService *SportsAPIService
sportId interface{} sportId interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
hasStats *interface{} hasStats *interface{}
activeStatus *interface{} activeStatus *interface{}
} }
@ -320,24 +319,24 @@ Sports Get sports information
This endpoint allows you to pull sports This endpoint allows you to pull sports
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sportId Top level organization of a sport @param sportId Top level organization of a sport
@return ApiSportsRequest @return ApiSportsRequest
*/ */
func (a *SportsAPIService) Sports(ctx context.Context, sportId interface{}) ApiSportsRequest { func (a *SportsAPIService) Sports(ctx context.Context, sportId interface{}) ApiSportsRequest {
return ApiSportsRequest{ return ApiSportsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
sportId: sportId, sportId: sportId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SportsAPIService) SportsExecute(r ApiSportsRequest) (*http.Response, error) { func (a *SportsAPIService) SportsExecute(r ApiSportsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SportsAPIService.Sports") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SportsAPIService.Sports")
@ -410,12 +409,12 @@ func (a *SportsAPIService) SportsExecute(r ApiSportsRequest) (*http.Response, er
} }
type ApiSports1Request struct { type ApiSports1Request struct {
ctx context.Context ctx context.Context
ApiService *SportsAPIService ApiService *SportsAPIService
sportId interface{} sportId interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
hasStats *interface{} hasStats *interface{}
activeStatus *interface{} activeStatus *interface{}
} }
@ -452,24 +451,24 @@ Sports1 Get sports information
This endpoint allows you to pull sports This endpoint allows you to pull sports
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sportId Top level organization of a sport @param sportId Top level organization of a sport
@return ApiSports1Request @return ApiSports1Request
*/ */
func (a *SportsAPIService) Sports1(ctx context.Context, sportId interface{}) ApiSports1Request { func (a *SportsAPIService) Sports1(ctx context.Context, sportId interface{}) ApiSports1Request {
return ApiSports1Request{ return ApiSports1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
sportId: sportId, sportId: sportId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *SportsAPIService) Sports1Execute(r ApiSports1Request) (*http.Response, error) { func (a *SportsAPIService) Sports1Execute(r ApiSports1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SportsAPIService.Sports1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SportsAPIService.Sports1")

View File

@ -19,21 +19,20 @@ import (
"strings" "strings"
) )
// StandingsAPIService StandingsAPI service // StandingsAPIService StandingsAPI service
type StandingsAPIService service type StandingsAPIService service
type ApiStandingsRequest struct { type ApiStandingsRequest struct {
ctx context.Context ctx context.Context
ApiService *StandingsAPIService ApiService *StandingsAPIService
standingsType interface{} standingsType interface{}
leagueId *interface{} leagueId *interface{}
season *interface{} season *interface{}
standingsTypes *interface{} standingsTypes *interface{}
date *interface{} date *interface{}
teamId *interface{} teamId *interface{}
includeMLB *interface{} includeMLB *interface{}
fields *interface{} fields *interface{}
} }
// Unique League Identifier // Unique League Identifier
@ -87,14 +86,14 @@ Standings View standings for a league
This endpoint allows you to pull standings This endpoint allows you to pull standings
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param standingsType Type of season. Available types in /api/v1/standingsTypes @param standingsType Type of season. Available types in /api/v1/standingsTypes
@return ApiStandingsRequest @return ApiStandingsRequest
*/ */
func (a *StandingsAPIService) Standings(ctx context.Context, standingsType interface{}) ApiStandingsRequest { func (a *StandingsAPIService) Standings(ctx context.Context, standingsType interface{}) ApiStandingsRequest {
return ApiStandingsRequest{ return ApiStandingsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
standingsType: standingsType, standingsType: standingsType,
} }
} }
@ -102,9 +101,9 @@ func (a *StandingsAPIService) Standings(ctx context.Context, standingsType inter
// Execute executes the request // Execute executes the request
func (a *StandingsAPIService) StandingsExecute(r ApiStandingsRequest) (*http.Response, error) { func (a *StandingsAPIService) StandingsExecute(r ApiStandingsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StandingsAPIService.Standings") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StandingsAPIService.Standings")
@ -186,16 +185,16 @@ func (a *StandingsAPIService) StandingsExecute(r ApiStandingsRequest) (*http.Res
} }
type ApiStandings1Request struct { type ApiStandings1Request struct {
ctx context.Context ctx context.Context
ApiService *StandingsAPIService ApiService *StandingsAPIService
standingsType interface{} standingsType interface{}
leagueId *interface{} leagueId *interface{}
season *interface{} season *interface{}
standingsTypes *interface{} standingsTypes *interface{}
date *interface{} date *interface{}
teamId *interface{} teamId *interface{}
includeMLB *interface{} includeMLB *interface{}
fields *interface{} fields *interface{}
} }
// Unique League Identifier // Unique League Identifier
@ -249,14 +248,14 @@ Standings1 View standings for a league
This endpoint allows you to pull standings This endpoint allows you to pull standings
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param standingsType Type of season. Available types in /api/v1/standingsTypes @param standingsType Type of season. Available types in /api/v1/standingsTypes
@return ApiStandings1Request @return ApiStandings1Request
*/ */
func (a *StandingsAPIService) Standings1(ctx context.Context, standingsType interface{}) ApiStandings1Request { func (a *StandingsAPIService) Standings1(ctx context.Context, standingsType interface{}) ApiStandings1Request {
return ApiStandings1Request{ return ApiStandings1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
standingsType: standingsType, standingsType: standingsType,
} }
} }
@ -264,9 +263,9 @@ func (a *StandingsAPIService) Standings1(ctx context.Context, standingsType inte
// Execute executes the request // Execute executes the request
func (a *StandingsAPIService) Standings1Execute(r ApiStandings1Request) (*http.Response, error) { func (a *StandingsAPIService) Standings1Execute(r ApiStandings1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StandingsAPIService.Standings1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StandingsAPIService.Standings1")

View File

@ -18,111 +18,110 @@ import (
"net/url" "net/url"
) )
// StatsAPIService StatsAPI service // StatsAPIService StatsAPI service
type StatsAPIService service type StatsAPIService service
type ApiBeastStatsRequest struct { type ApiBeastStatsRequest struct {
ctx context.Context ctx context.Context
ApiService *StatsAPIService ApiService *StatsAPIService
group *interface{} group *interface{}
gamePks *interface{} gamePks *interface{}
playIds *interface{} playIds *interface{}
seasons *interface{} seasons *interface{}
gameTypes *interface{} gameTypes *interface{}
date *interface{} date *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
teamIds *interface{} teamIds *interface{}
pitcherTeamIds *interface{} pitcherTeamIds *interface{}
batterTeamIds *interface{} batterTeamIds *interface{}
sportIds *interface{} sportIds *interface{}
pitcherSportIds *interface{} pitcherSportIds *interface{}
batterSportIds *interface{} batterSportIds *interface{}
leagueIds *interface{} leagueIds *interface{}
pitcherLeagueIds *interface{} pitcherLeagueIds *interface{}
batterLeagueIds *interface{} batterLeagueIds *interface{}
divisionIds *interface{} divisionIds *interface{}
pitcherDivisionIds *interface{} pitcherDivisionIds *interface{}
batterDivisionIds *interface{} batterDivisionIds *interface{}
pitchersOnTeamIds *interface{} pitchersOnTeamIds *interface{}
battersOnTeamIds *interface{} battersOnTeamIds *interface{}
playerIds *interface{} playerIds *interface{}
playerPool *interface{} playerPool *interface{}
pitcherIds *interface{} pitcherIds *interface{}
batterIds *interface{} batterIds *interface{}
catcherIds *interface{} catcherIds *interface{}
firstBasemanIds *interface{} firstBasemanIds *interface{}
secondBasemanIds *interface{} secondBasemanIds *interface{}
thirdBasemanIds *interface{} thirdBasemanIds *interface{}
shortstopIds *interface{} shortstopIds *interface{}
leftFielderIds *interface{} leftFielderIds *interface{}
centerFielderIds *interface{} centerFielderIds *interface{}
rightFielderIds *interface{} rightFielderIds *interface{}
runnerFirstIds *interface{} runnerFirstIds *interface{}
runnerSecondIds *interface{} runnerSecondIds *interface{}
runnerThirdIds *interface{} runnerThirdIds *interface{}
venueIds *interface{} venueIds *interface{}
pitchHand *interface{} pitchHand *interface{}
batSide *interface{} batSide *interface{}
pitchTypes *interface{} pitchTypes *interface{}
pitchCodes *interface{} pitchCodes *interface{}
eventTypes *interface{} eventTypes *interface{}
positions *interface{} positions *interface{}
primaryPositions *interface{} primaryPositions *interface{}
minPitchSpeed *interface{} minPitchSpeed *interface{}
maxPitchSpeed *interface{} maxPitchSpeed *interface{}
minSpinRate *interface{} minSpinRate *interface{}
maxSpinRate *interface{} maxSpinRate *interface{}
minExtension *interface{} minExtension *interface{}
maxExtension *interface{} maxExtension *interface{}
minExitVelocityAgainst *interface{} minExitVelocityAgainst *interface{}
maxExitVelocityAgainst *interface{} maxExitVelocityAgainst *interface{}
minLaunchAngleAgainst *interface{} minLaunchAngleAgainst *interface{}
maxLaunchAngleAgainst *interface{} maxLaunchAngleAgainst *interface{}
minExitVelocity *interface{} minExitVelocity *interface{}
maxExitVelocity *interface{} maxExitVelocity *interface{}
minLaunchAngle *interface{} minLaunchAngle *interface{}
maxLaunchAngle *interface{} maxLaunchAngle *interface{}
minHomeRunDistance *interface{} minHomeRunDistance *interface{}
maxHomeRunDistance *interface{} maxHomeRunDistance *interface{}
minHitDistance *interface{} minHitDistance *interface{}
maxHitDistance *interface{} maxHitDistance *interface{}
minHangTime *interface{} minHangTime *interface{}
maxHangTime *interface{} maxHangTime *interface{}
minHitProbability *interface{} minHitProbability *interface{}
maxHitProbability *interface{} maxHitProbability *interface{}
minCatchProbability *interface{} minCatchProbability *interface{}
maxCatchProbability *interface{} maxCatchProbability *interface{}
minAttackAngle *interface{} minAttackAngle *interface{}
maxAttackAngle *interface{} maxAttackAngle *interface{}
minBatSpeed *interface{} minBatSpeed *interface{}
maxBatSpeed *interface{} maxBatSpeed *interface{}
minHomeRunXBallparks *interface{} minHomeRunXBallparks *interface{}
maxHomeRunXBallparks *interface{} maxHomeRunXBallparks *interface{}
isBarrel *interface{} isBarrel *interface{}
hitTrajectories *interface{} hitTrajectories *interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
groupBy *interface{} groupBy *interface{}
compareOver *interface{} compareOver *interface{}
sortStat *interface{} sortStat *interface{}
sortModifier *interface{} sortModifier *interface{}
sortOrder *interface{} sortOrder *interface{}
percentile *interface{} percentile *interface{}
minOccurrences *interface{} minOccurrences *interface{}
minPlateAppearances *interface{} minPlateAppearances *interface{}
minInnings *interface{} minInnings *interface{}
qualifierRate *interface{} qualifierRate *interface{}
sitCodes *interface{} sitCodes *interface{}
showTotals *interface{} showTotals *interface{}
includeNullMetrics *interface{} includeNullMetrics *interface{}
statFields *interface{} statFields *interface{}
atBatNumbers *interface{} atBatNumbers *interface{}
pitchNumbers *interface{} pitchNumbers *interface{}
fields *interface{} fields *interface{}
debug *interface{} debug *interface{}
activeStatus *interface{} activeStatus *interface{}
} }
// Category of statistic to return. Available types in /api/v1/statGroups // Category of statistic to return. Available types in /api/v1/statGroups
@ -719,22 +718,22 @@ func (r ApiBeastStatsRequest) Execute() (*http.Response, error) {
/* /*
BeastStats View stats from search BeastStats View stats from search
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBeastStatsRequest @return ApiBeastStatsRequest
*/ */
func (a *StatsAPIService) BeastStats(ctx context.Context) ApiBeastStatsRequest { func (a *StatsAPIService) BeastStats(ctx context.Context) ApiBeastStatsRequest {
return ApiBeastStatsRequest{ return ApiBeastStatsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StatsAPIService) BeastStatsExecute(r ApiBeastStatsRequest) (*http.Response, error) { func (a *StatsAPIService) BeastStatsExecute(r ApiBeastStatsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.BeastStats") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.BeastStats")
@ -1089,11 +1088,11 @@ func (a *StatsAPIService) BeastStatsExecute(r ApiBeastStatsRequest) (*http.Respo
} }
type ApiGetOutsAboveAverageRequest struct { type ApiGetOutsAboveAverageRequest struct {
ctx context.Context ctx context.Context
ApiService *StatsAPIService ApiService *StatsAPIService
gamePk *interface{} gamePk *interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
} }
func (r ApiGetOutsAboveAverageRequest) GamePk(gamePk interface{}) ApiGetOutsAboveAverageRequest { func (r ApiGetOutsAboveAverageRequest) GamePk(gamePk interface{}) ApiGetOutsAboveAverageRequest {
@ -1119,22 +1118,22 @@ func (r ApiGetOutsAboveAverageRequest) Execute() (*http.Response, error) {
/* /*
GetOutsAboveAverage Get outs above average for the current batter GetOutsAboveAverage Get outs above average for the current batter
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOutsAboveAverageRequest @return ApiGetOutsAboveAverageRequest
*/ */
func (a *StatsAPIService) GetOutsAboveAverage(ctx context.Context) ApiGetOutsAboveAverageRequest { func (a *StatsAPIService) GetOutsAboveAverage(ctx context.Context) ApiGetOutsAboveAverageRequest {
return ApiGetOutsAboveAverageRequest{ return ApiGetOutsAboveAverageRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StatsAPIService) GetOutsAboveAverageExecute(r ApiGetOutsAboveAverageRequest) (*http.Response, error) { func (a *StatsAPIService) GetOutsAboveAverageExecute(r ApiGetOutsAboveAverageRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.GetOutsAboveAverage") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.GetOutsAboveAverage")
@ -1204,11 +1203,11 @@ func (a *StatsAPIService) GetOutsAboveAverageExecute(r ApiGetOutsAboveAverageReq
} }
type ApiGetSprayChartRequest struct { type ApiGetSprayChartRequest struct {
ctx context.Context ctx context.Context
ApiService *StatsAPIService ApiService *StatsAPIService
gamePk *interface{} gamePk *interface{}
timecode *interface{} timecode *interface{}
fields *interface{} fields *interface{}
} }
func (r ApiGetSprayChartRequest) GamePk(gamePk interface{}) ApiGetSprayChartRequest { func (r ApiGetSprayChartRequest) GamePk(gamePk interface{}) ApiGetSprayChartRequest {
@ -1234,22 +1233,22 @@ func (r ApiGetSprayChartRequest) Execute() (*http.Response, error) {
/* /*
GetSprayChart Get the spray chart info for the current batter GetSprayChart Get the spray chart info for the current batter
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSprayChartRequest @return ApiGetSprayChartRequest
*/ */
func (a *StatsAPIService) GetSprayChart(ctx context.Context) ApiGetSprayChartRequest { func (a *StatsAPIService) GetSprayChart(ctx context.Context) ApiGetSprayChartRequest {
return ApiGetSprayChartRequest{ return ApiGetSprayChartRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StatsAPIService) GetSprayChartExecute(r ApiGetSprayChartRequest) (*http.Response, error) { func (a *StatsAPIService) GetSprayChartExecute(r ApiGetSprayChartRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.GetSprayChart") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.GetSprayChart")
@ -1319,10 +1318,10 @@ func (a *StatsAPIService) GetSprayChartExecute(r ApiGetSprayChartRequest) (*http
} }
type ApiGetStolenBaseProbabilityRequest struct { type ApiGetStolenBaseProbabilityRequest struct {
ctx context.Context ctx context.Context
ApiService *StatsAPIService ApiService *StatsAPIService
gamePk *interface{} gamePk *interface{}
timecode *interface{} timecode *interface{}
} }
func (r ApiGetStolenBaseProbabilityRequest) GamePk(gamePk interface{}) ApiGetStolenBaseProbabilityRequest { func (r ApiGetStolenBaseProbabilityRequest) GamePk(gamePk interface{}) ApiGetStolenBaseProbabilityRequest {
@ -1342,22 +1341,22 @@ func (r ApiGetStolenBaseProbabilityRequest) Execute() (*http.Response, error) {
/* /*
GetStolenBaseProbability Get the probability of a hit for the given hit data GetStolenBaseProbability Get the probability of a hit for the given hit data
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetStolenBaseProbabilityRequest @return ApiGetStolenBaseProbabilityRequest
*/ */
func (a *StatsAPIService) GetStolenBaseProbability(ctx context.Context) ApiGetStolenBaseProbabilityRequest { func (a *StatsAPIService) GetStolenBaseProbability(ctx context.Context) ApiGetStolenBaseProbabilityRequest {
return ApiGetStolenBaseProbabilityRequest{ return ApiGetStolenBaseProbabilityRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StatsAPIService) GetStolenBaseProbabilityExecute(r ApiGetStolenBaseProbabilityRequest) (*http.Response, error) { func (a *StatsAPIService) GetStolenBaseProbabilityExecute(r ApiGetStolenBaseProbabilityRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.GetStolenBaseProbability") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.GetStolenBaseProbability")
@ -1424,44 +1423,44 @@ func (a *StatsAPIService) GetStolenBaseProbabilityExecute(r ApiGetStolenBaseProb
} }
type ApiGroupedStatsRequest struct { type ApiGroupedStatsRequest struct {
ctx context.Context ctx context.Context
ApiService *StatsAPIService ApiService *StatsAPIService
stats *interface{} stats *interface{}
group *interface{} group *interface{}
personId *interface{} personId *interface{}
teamId *interface{} teamId *interface{}
teamIds *interface{} teamIds *interface{}
gameType *interface{} gameType *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
leagueId *interface{} leagueId *interface{}
leagueIds *interface{} leagueIds *interface{}
leagueListId *interface{} leagueListId *interface{}
metrics *interface{} metrics *interface{}
gamePk *interface{} gamePk *interface{}
batterTeamId *interface{} batterTeamId *interface{}
pitcherTeamId *interface{} pitcherTeamId *interface{}
batterId *interface{} batterId *interface{}
pitcherId *interface{} pitcherId *interface{}
sitCodes *interface{} sitCodes *interface{}
combineSits *interface{} combineSits *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
fields *interface{} fields *interface{}
sortStat *interface{} sortStat *interface{}
order *interface{} order *interface{}
playerPool *interface{} playerPool *interface{}
position *interface{} position *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
daysBack *interface{} daysBack *interface{}
gamesBack *interface{} gamesBack *interface{}
excludeTradedPlayers *interface{} excludeTradedPlayers *interface{}
offset *interface{} offset *interface{}
limit *interface{} limit *interface{}
statFields *interface{} statFields *interface{}
sortField *interface{} sortField *interface{}
} }
// Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes // Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes
@ -1687,22 +1686,22 @@ func (r ApiGroupedStatsRequest) Execute() (*http.Response, error) {
/* /*
GroupedStats View grouped stats GroupedStats View grouped stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGroupedStatsRequest @return ApiGroupedStatsRequest
*/ */
func (a *StatsAPIService) GroupedStats(ctx context.Context) ApiGroupedStatsRequest { func (a *StatsAPIService) GroupedStats(ctx context.Context) ApiGroupedStatsRequest {
return ApiGroupedStatsRequest{ return ApiGroupedStatsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StatsAPIService) GroupedStatsExecute(r ApiGroupedStatsRequest) (*http.Response, error) { func (a *StatsAPIService) GroupedStatsExecute(r ApiGroupedStatsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.GroupedStats") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.GroupedStats")
@ -1872,35 +1871,35 @@ func (a *StatsAPIService) GroupedStatsExecute(r ApiGroupedStatsRequest) (*http.R
} }
type ApiLeaders2Request struct { type ApiLeaders2Request struct {
ctx context.Context ctx context.Context
ApiService *StatsAPIService ApiService *StatsAPIService
leaderCategories *interface{} leaderCategories *interface{}
leaderGameTypes *interface{} leaderGameTypes *interface{}
statGroup *interface{} statGroup *interface{}
season *interface{} season *interface{}
expand *interface{} expand *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
stats *interface{} stats *interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
teamId *interface{} teamId *interface{}
teamIds *interface{} teamIds *interface{}
leagueId *interface{} leagueId *interface{}
leagueIds *interface{} leagueIds *interface{}
leagueListId *interface{} leagueListId *interface{}
playerPool *interface{} playerPool *interface{}
statType *interface{} statType *interface{}
playerActive *interface{} playerActive *interface{}
position *interface{} position *interface{}
sitCodes *interface{} sitCodes *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
daysBack *interface{} daysBack *interface{}
gamesBack *interface{} gamesBack *interface{}
groupBy *interface{} groupBy *interface{}
fields *interface{} fields *interface{}
} }
func (r ApiLeaders2Request) LeaderCategories(leaderCategories interface{}) ApiLeaders2Request { func (r ApiLeaders2Request) LeaderCategories(leaderCategories interface{}) ApiLeaders2Request {
@ -2045,22 +2044,22 @@ func (r ApiLeaders2Request) Execute() (*http.Response, error) {
/* /*
Leaders2 Get leaders for a statistic Leaders2 Get leaders for a statistic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLeaders2Request @return ApiLeaders2Request
*/ */
func (a *StatsAPIService) Leaders2(ctx context.Context) ApiLeaders2Request { func (a *StatsAPIService) Leaders2(ctx context.Context) ApiLeaders2Request {
return ApiLeaders2Request{ return ApiLeaders2Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StatsAPIService) Leaders2Execute(r ApiLeaders2Request) (*http.Response, error) { func (a *StatsAPIService) Leaders2Execute(r ApiLeaders2Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.Leaders2") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.Leaders2")
@ -2201,44 +2200,44 @@ func (a *StatsAPIService) Leaders2Execute(r ApiLeaders2Request) (*http.Response,
} }
type ApiMetricStatsRequest struct { type ApiMetricStatsRequest struct {
ctx context.Context ctx context.Context
ApiService *StatsAPIService ApiService *StatsAPIService
stats *interface{} stats *interface{}
metrics *interface{} metrics *interface{}
personId *interface{} personId *interface{}
personIds *interface{} personIds *interface{}
batterId *interface{} batterId *interface{}
pitcherId *interface{} pitcherId *interface{}
teamId *interface{} teamId *interface{}
group *interface{} group *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
sportId *interface{} sportId *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
opposingPlayerId *interface{} opposingPlayerId *interface{}
position *interface{} position *interface{}
eventType *interface{} eventType *interface{}
pitchType *interface{} pitchType *interface{}
hitTrajectory *interface{} hitTrajectory *interface{}
batSide *interface{} batSide *interface{}
pitchHand *interface{} pitchHand *interface{}
venueId *interface{} venueId *interface{}
gamePk *interface{} gamePk *interface{}
minValue *interface{} minValue *interface{}
maxValue *interface{} maxValue *interface{}
percentile *interface{} percentile *interface{}
minOccurrences *interface{} minOccurrences *interface{}
offset *interface{} offset *interface{}
limit *interface{} limit *interface{}
order *interface{} order *interface{}
date *interface{} date *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
gameType *interface{} gameType *interface{}
batterTeamId *interface{} batterTeamId *interface{}
pitcherTeamId *interface{} pitcherTeamId *interface{}
fields *interface{} fields *interface{}
debug *interface{} debug *interface{}
} }
// Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes // Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes
@ -2463,22 +2462,22 @@ func (r ApiMetricStatsRequest) Execute() (*http.Response, error) {
/* /*
MetricStats View metric stats MetricStats View metric stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiMetricStatsRequest @return ApiMetricStatsRequest
*/ */
func (a *StatsAPIService) MetricStats(ctx context.Context) ApiMetricStatsRequest { func (a *StatsAPIService) MetricStats(ctx context.Context) ApiMetricStatsRequest {
return ApiMetricStatsRequest{ return ApiMetricStatsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StatsAPIService) MetricStatsExecute(r ApiMetricStatsRequest) (*http.Response, error) { func (a *StatsAPIService) MetricStatsExecute(r ApiMetricStatsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.MetricStats") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.MetricStats")
@ -2648,42 +2647,42 @@ func (a *StatsAPIService) MetricStatsExecute(r ApiMetricStatsRequest) (*http.Res
} }
type ApiStats2Request struct { type ApiStats2Request struct {
ctx context.Context ctx context.Context
ApiService *StatsAPIService ApiService *StatsAPIService
stats *interface{} stats *interface{}
group *interface{} group *interface{}
personId *interface{} personId *interface{}
teamId *interface{} teamId *interface{}
teamIds *interface{} teamIds *interface{}
gameType *interface{} gameType *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
leagueId *interface{} leagueId *interface{}
leagueIds *interface{} leagueIds *interface{}
leagueListId *interface{} leagueListId *interface{}
metrics *interface{} metrics *interface{}
gamePk *interface{} gamePk *interface{}
batterTeamId *interface{} batterTeamId *interface{}
pitcherTeamId *interface{} pitcherTeamId *interface{}
batterId *interface{} batterId *interface{}
pitcherId *interface{} pitcherId *interface{}
sitCodes *interface{} sitCodes *interface{}
combineSits *interface{} combineSits *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
fields *interface{} fields *interface{}
sortStat *interface{} sortStat *interface{}
order *interface{} order *interface{}
playerPool *interface{} playerPool *interface{}
position *interface{} position *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
daysBack *interface{} daysBack *interface{}
gamesBack *interface{} gamesBack *interface{}
excludeTradedPlayers *interface{} excludeTradedPlayers *interface{}
offset *interface{} offset *interface{}
limit *interface{} limit *interface{}
} }
// Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes // Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes
@ -2896,22 +2895,22 @@ func (r ApiStats2Request) Execute() (*http.Response, error) {
/* /*
Stats2 View stats Stats2 View stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiStats2Request @return ApiStats2Request
*/ */
func (a *StatsAPIService) Stats2(ctx context.Context) ApiStats2Request { func (a *StatsAPIService) Stats2(ctx context.Context) ApiStats2Request {
return ApiStats2Request{ return ApiStats2Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StatsAPIService) Stats2Execute(r ApiStats2Request) (*http.Response, error) { func (a *StatsAPIService) Stats2Execute(r ApiStats2Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.Stats2") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatsAPIService.Stats2")

View File

@ -18,30 +18,29 @@ import (
"net/url" "net/url"
) )
// StreaksAPIService StreaksAPI service // StreaksAPIService StreaksAPI service
type StreaksAPIService service type StreaksAPIService service
type ApiGetStreaksRequest struct { type ApiGetStreaksRequest struct {
ctx context.Context ctx context.Context
ApiService *StreaksAPIService ApiService *StreaksAPIService
streakOrg *interface{} streakOrg *interface{}
streakStat *interface{} streakStat *interface{}
streakSpan *interface{} streakSpan *interface{}
streakLevel *interface{} streakLevel *interface{}
streakThreshold *interface{} streakThreshold *interface{}
inverse *interface{} inverse *interface{}
startersOnly *interface{} startersOnly *interface{}
statGroup *interface{} statGroup *interface{}
gameType *interface{} gameType *interface{}
season *interface{} season *interface{}
teamId *interface{} teamId *interface{}
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
activeStreak *interface{} activeStreak *interface{}
limit *interface{} limit *interface{}
fields *interface{} fields *interface{}
playerId *interface{} playerId *interface{}
} }
func (r ApiGetStreaksRequest) StreakOrg(streakOrg interface{}) ApiGetStreaksRequest { func (r ApiGetStreaksRequest) StreakOrg(streakOrg interface{}) ApiGetStreaksRequest {
@ -146,22 +145,22 @@ func (r ApiGetStreaksRequest) Execute() (*http.Response, error) {
/* /*
GetStreaks View streaks GetStreaks View streaks
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetStreaksRequest @return ApiGetStreaksRequest
*/ */
func (a *StreaksAPIService) GetStreaks(ctx context.Context) ApiGetStreaksRequest { func (a *StreaksAPIService) GetStreaks(ctx context.Context) ApiGetStreaksRequest {
return ApiGetStreaksRequest{ return ApiGetStreaksRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StreaksAPIService) GetStreaksExecute(r ApiGetStreaksRequest) (*http.Response, error) { func (a *StreaksAPIService) GetStreaksExecute(r ApiGetStreaksRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StreaksAPIService.GetStreaks") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StreaksAPIService.GetStreaks")
@ -272,7 +271,7 @@ func (a *StreaksAPIService) GetStreaksExecute(r ApiGetStreaksRequest) (*http.Res
} }
type ApiStreakTypesRequest struct { type ApiStreakTypesRequest struct {
ctx context.Context ctx context.Context
ApiService *StreaksAPIService ApiService *StreaksAPIService
} }
@ -283,22 +282,22 @@ func (r ApiStreakTypesRequest) Execute() (*http.Response, error) {
/* /*
StreakTypes View streaks parameter options StreakTypes View streaks parameter options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiStreakTypesRequest @return ApiStreakTypesRequest
*/ */
func (a *StreaksAPIService) StreakTypes(ctx context.Context) ApiStreakTypesRequest { func (a *StreaksAPIService) StreakTypes(ctx context.Context) ApiStreakTypesRequest {
return ApiStreakTypesRequest{ return ApiStreakTypesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *StreaksAPIService) StreakTypesExecute(r ApiStreakTypesRequest) (*http.Response, error) { func (a *StreaksAPIService) StreakTypesExecute(r ApiStreakTypesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StreaksAPIService.StreakTypes") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StreaksAPIService.StreakTypes")

View File

@ -19,19 +19,18 @@ import (
"strings" "strings"
) )
// TeamsAPIService TeamsAPI service // TeamsAPIService TeamsAPI service
type TeamsAPIService service type TeamsAPIService service
type ApiAffiliatesRequest struct { type ApiAffiliatesRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
teamIds *interface{} teamIds *interface{}
sportId *interface{} sportId *interface{}
season *interface{} season *interface{}
gameType *interface{} gameType *interface{}
fields *interface{} fields *interface{}
} }
// Unique Team Identifier. Format: 141, 147, etc // Unique Team Identifier. Format: 141, 147, etc
@ -71,24 +70,24 @@ func (r ApiAffiliatesRequest) Execute() (*http.Response, error) {
/* /*
Affiliates View team and affiliate teams Affiliates View team and affiliate teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiAffiliatesRequest @return ApiAffiliatesRequest
*/ */
func (a *TeamsAPIService) Affiliates(ctx context.Context, teamId interface{}) ApiAffiliatesRequest { func (a *TeamsAPIService) Affiliates(ctx context.Context, teamId interface{}) ApiAffiliatesRequest {
return ApiAffiliatesRequest{ return ApiAffiliatesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) AffiliatesExecute(r ApiAffiliatesRequest) (*http.Response, error) { func (a *TeamsAPIService) AffiliatesExecute(r ApiAffiliatesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Affiliates") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Affiliates")
@ -164,14 +163,14 @@ func (a *TeamsAPIService) AffiliatesExecute(r ApiAffiliatesRequest) (*http.Respo
} }
type ApiAffiliates1Request struct { type ApiAffiliates1Request struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
teamIds *interface{} teamIds *interface{}
sportId *interface{} sportId *interface{}
season *interface{} season *interface{}
gameType *interface{} gameType *interface{}
fields *interface{} fields *interface{}
} }
// Unique Team Identifier. Format: 141, 147, etc // Unique Team Identifier. Format: 141, 147, etc
@ -211,24 +210,24 @@ func (r ApiAffiliates1Request) Execute() (*http.Response, error) {
/* /*
Affiliates1 View team and affiliate teams Affiliates1 View team and affiliate teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiAffiliates1Request @return ApiAffiliates1Request
*/ */
func (a *TeamsAPIService) Affiliates1(ctx context.Context, teamId interface{}) ApiAffiliates1Request { func (a *TeamsAPIService) Affiliates1(ctx context.Context, teamId interface{}) ApiAffiliates1Request {
return ApiAffiliates1Request{ return ApiAffiliates1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) Affiliates1Execute(r ApiAffiliates1Request) (*http.Response, error) { func (a *TeamsAPIService) Affiliates1Execute(r ApiAffiliates1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Affiliates1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Affiliates1")
@ -304,13 +303,13 @@ func (a *TeamsAPIService) Affiliates1Execute(r ApiAffiliates1Request) (*http.Res
} }
type ApiAllTeamsRequest struct { type ApiAllTeamsRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
teamIds *interface{} teamIds *interface{}
startSeason *interface{} startSeason *interface{}
endSeason *interface{} endSeason *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of Unique Team identifiers // Comma delimited list of Unique Team identifiers
@ -343,24 +342,24 @@ func (r ApiAllTeamsRequest) Execute() (*http.Response, error) {
/* /*
AllTeams View historical records for a list of teams AllTeams View historical records for a list of teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiAllTeamsRequest @return ApiAllTeamsRequest
*/ */
func (a *TeamsAPIService) AllTeams(ctx context.Context, teamId interface{}) ApiAllTeamsRequest { func (a *TeamsAPIService) AllTeams(ctx context.Context, teamId interface{}) ApiAllTeamsRequest {
return ApiAllTeamsRequest{ return ApiAllTeamsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) AllTeamsExecute(r ApiAllTeamsRequest) (*http.Response, error) { func (a *TeamsAPIService) AllTeamsExecute(r ApiAllTeamsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.AllTeams") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.AllTeams")
@ -433,13 +432,13 @@ func (a *TeamsAPIService) AllTeamsExecute(r ApiAllTeamsRequest) (*http.Response,
} }
type ApiAllTeams1Request struct { type ApiAllTeams1Request struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
teamIds *interface{} teamIds *interface{}
startSeason *interface{} startSeason *interface{}
endSeason *interface{} endSeason *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of Unique Team identifiers // Comma delimited list of Unique Team identifiers
@ -472,24 +471,24 @@ func (r ApiAllTeams1Request) Execute() (*http.Response, error) {
/* /*
AllTeams1 View historical records for a list of teams AllTeams1 View historical records for a list of teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiAllTeams1Request @return ApiAllTeams1Request
*/ */
func (a *TeamsAPIService) AllTeams1(ctx context.Context, teamId interface{}) ApiAllTeams1Request { func (a *TeamsAPIService) AllTeams1(ctx context.Context, teamId interface{}) ApiAllTeams1Request {
return ApiAllTeams1Request{ return ApiAllTeams1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) AllTeams1Execute(r ApiAllTeams1Request) (*http.Response, error) { func (a *TeamsAPIService) AllTeams1Execute(r ApiAllTeams1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.AllTeams1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.AllTeams1")
@ -562,12 +561,12 @@ func (a *TeamsAPIService) AllTeams1Execute(r ApiAllTeams1Request) (*http.Respons
} }
type ApiAlumniRequest struct { type ApiAlumniRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
season *interface{} season *interface{}
group *interface{} group *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -594,24 +593,24 @@ func (r ApiAlumniRequest) Execute() (*http.Response, error) {
/* /*
Alumni View all team alumni Alumni View all team alumni
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiAlumniRequest @return ApiAlumniRequest
*/ */
func (a *TeamsAPIService) Alumni(ctx context.Context, teamId interface{}) ApiAlumniRequest { func (a *TeamsAPIService) Alumni(ctx context.Context, teamId interface{}) ApiAlumniRequest {
return ApiAlumniRequest{ return ApiAlumniRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) AlumniExecute(r ApiAlumniRequest) (*http.Response, error) { func (a *TeamsAPIService) AlumniExecute(r ApiAlumniRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Alumni") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Alumni")
@ -682,12 +681,12 @@ func (a *TeamsAPIService) AlumniExecute(r ApiAlumniRequest) (*http.Response, err
} }
type ApiCoachesRequest struct { type ApiCoachesRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
season *interface{} season *interface{}
date *interface{} date *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -714,24 +713,24 @@ func (r ApiCoachesRequest) Execute() (*http.Response, error) {
/* /*
Coaches View all coaches for a team Coaches View all coaches for a team
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiCoachesRequest @return ApiCoachesRequest
*/ */
func (a *TeamsAPIService) Coaches(ctx context.Context, teamId interface{}) ApiCoachesRequest { func (a *TeamsAPIService) Coaches(ctx context.Context, teamId interface{}) ApiCoachesRequest {
return ApiCoachesRequest{ return ApiCoachesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) CoachesExecute(r ApiCoachesRequest) (*http.Response, error) { func (a *TeamsAPIService) CoachesExecute(r ApiCoachesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Coaches") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Coaches")
@ -801,17 +800,17 @@ func (a *TeamsAPIService) CoachesExecute(r ApiCoachesRequest) (*http.Response, e
} }
type ApiLeadersRequest struct { type ApiLeadersRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
leaderCategories *interface{} leaderCategories *interface{}
season *interface{} season *interface{}
leaderGameTypes *interface{} leaderGameTypes *interface{}
expand *interface{} expand *interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
playerPool *interface{} playerPool *interface{}
fields *interface{} fields *interface{}
} }
func (r ApiLeadersRequest) LeaderCategories(leaderCategories interface{}) ApiLeadersRequest { func (r ApiLeadersRequest) LeaderCategories(leaderCategories interface{}) ApiLeadersRequest {
@ -861,24 +860,24 @@ func (r ApiLeadersRequest) Execute() (*http.Response, error) {
/* /*
Leaders View team stat leaders Leaders View team stat leaders
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId @param teamId
@return ApiLeadersRequest @return ApiLeadersRequest
*/ */
func (a *TeamsAPIService) Leaders(ctx context.Context, teamId interface{}) ApiLeadersRequest { func (a *TeamsAPIService) Leaders(ctx context.Context, teamId interface{}) ApiLeadersRequest {
return ApiLeadersRequest{ return ApiLeadersRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) LeadersExecute(r ApiLeadersRequest) (*http.Response, error) { func (a *TeamsAPIService) LeadersExecute(r ApiLeadersRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Leaders") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Leaders")
@ -963,27 +962,27 @@ func (a *TeamsAPIService) LeadersExecute(r ApiLeadersRequest) (*http.Response, e
} }
type ApiLeaders1Request struct { type ApiLeaders1Request struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
leaderCategories *interface{} leaderCategories *interface{}
gameTypes *interface{} gameTypes *interface{}
stats *interface{} stats *interface{}
statType *interface{} statType *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
leagueId *interface{} leagueId *interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
statGroup *interface{} statGroup *interface{}
group *interface{} group *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
daysBack *interface{} daysBack *interface{}
sitCodes *interface{} sitCodes *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
limit *interface{} limit *interface{}
offset *interface{} offset *interface{}
fields *interface{} fields *interface{}
} }
// TBD // TBD
@ -1105,22 +1104,22 @@ func (r ApiLeaders1Request) Execute() (*http.Response, error) {
/* /*
Leaders1 View leaders for team stats Leaders1 View leaders for team stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLeaders1Request @return ApiLeaders1Request
*/ */
func (a *TeamsAPIService) Leaders1(ctx context.Context) ApiLeaders1Request { func (a *TeamsAPIService) Leaders1(ctx context.Context) ApiLeaders1Request {
return ApiLeaders1Request{ return ApiLeaders1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) Leaders1Execute(r ApiLeaders1Request) (*http.Response, error) { func (a *TeamsAPIService) Leaders1Execute(r ApiLeaders1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Leaders1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Leaders1")
@ -1237,12 +1236,12 @@ func (a *TeamsAPIService) Leaders1Execute(r ApiLeaders1Request) (*http.Response,
} }
type ApiPersonnelRequest struct { type ApiPersonnelRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
season *interface{} season *interface{}
date *interface{} date *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -1269,24 +1268,24 @@ func (r ApiPersonnelRequest) Execute() (*http.Response, error) {
/* /*
Personnel View all coaches for a team Personnel View all coaches for a team
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiPersonnelRequest @return ApiPersonnelRequest
*/ */
func (a *TeamsAPIService) Personnel(ctx context.Context, teamId interface{}) ApiPersonnelRequest { func (a *TeamsAPIService) Personnel(ctx context.Context, teamId interface{}) ApiPersonnelRequest {
return ApiPersonnelRequest{ return ApiPersonnelRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) PersonnelExecute(r ApiPersonnelRequest) (*http.Response, error) { func (a *TeamsAPIService) PersonnelExecute(r ApiPersonnelRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Personnel") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Personnel")
@ -1356,14 +1355,14 @@ func (a *TeamsAPIService) PersonnelExecute(r ApiPersonnelRequest) (*http.Respons
} }
type ApiRosterRequest struct { type ApiRosterRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
rosterType interface{} rosterType interface{}
season *interface{} season *interface{}
date *interface{} date *interface{}
gameType *interface{} gameType *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -1399,16 +1398,16 @@ Roster View a teams roster
This endpoint allows you to pull teams This endpoint allows you to pull teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@param rosterType Type of roster. Available types in /api/v1/rosterTypes @param rosterType Type of roster. Available types in /api/v1/rosterTypes
@return ApiRosterRequest @return ApiRosterRequest
*/ */
func (a *TeamsAPIService) Roster(ctx context.Context, teamId interface{}, rosterType interface{}) ApiRosterRequest { func (a *TeamsAPIService) Roster(ctx context.Context, teamId interface{}, rosterType interface{}) ApiRosterRequest {
return ApiRosterRequest{ return ApiRosterRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
rosterType: rosterType, rosterType: rosterType,
} }
} }
@ -1416,9 +1415,9 @@ func (a *TeamsAPIService) Roster(ctx context.Context, teamId interface{}, roster
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) RosterExecute(r ApiRosterRequest) (*http.Response, error) { func (a *TeamsAPIService) RosterExecute(r ApiRosterRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Roster") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Roster")
@ -1492,14 +1491,14 @@ func (a *TeamsAPIService) RosterExecute(r ApiRosterRequest) (*http.Response, err
} }
type ApiRoster1Request struct { type ApiRoster1Request struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
rosterType interface{} rosterType interface{}
season *interface{} season *interface{}
date *interface{} date *interface{}
gameType *interface{} gameType *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -1535,16 +1534,16 @@ Roster1 View a teams roster
This endpoint allows you to pull teams This endpoint allows you to pull teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@param rosterType Type of roster. Available types in /api/v1/rosterTypes @param rosterType Type of roster. Available types in /api/v1/rosterTypes
@return ApiRoster1Request @return ApiRoster1Request
*/ */
func (a *TeamsAPIService) Roster1(ctx context.Context, teamId interface{}, rosterType interface{}) ApiRoster1Request { func (a *TeamsAPIService) Roster1(ctx context.Context, teamId interface{}, rosterType interface{}) ApiRoster1Request {
return ApiRoster1Request{ return ApiRoster1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
rosterType: rosterType, rosterType: rosterType,
} }
} }
@ -1552,9 +1551,9 @@ func (a *TeamsAPIService) Roster1(ctx context.Context, teamId interface{}, roste
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) Roster1Execute(r ApiRoster1Request) (*http.Response, error) { func (a *TeamsAPIService) Roster1Execute(r ApiRoster1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Roster1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Roster1")
@ -1628,23 +1627,23 @@ func (a *TeamsAPIService) Roster1Execute(r ApiRoster1Request) (*http.Response, e
} }
type ApiStatsRequest struct { type ApiStatsRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
group *interface{} group *interface{}
sportId *interface{} sportId *interface{}
season *interface{} season *interface{}
gameType *interface{} gameType *interface{}
stats *interface{} stats *interface{}
sortStat *interface{} sortStat *interface{}
order *interface{} order *interface{}
groupBy *interface{} groupBy *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
opposingPlayerId *interface{} opposingPlayerId *interface{}
sitCodes *interface{} sitCodes *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
fields *interface{} fields *interface{}
} }
// Category of statistic to return. Available types in /api/v1/statGroups // Category of statistic to return. Available types in /api/v1/statGroups
@ -1738,24 +1737,24 @@ func (r ApiStatsRequest) Execute() (*http.Response, error) {
/* /*
Stats View a teams stats Stats View a teams stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiStatsRequest @return ApiStatsRequest
*/ */
func (a *TeamsAPIService) Stats(ctx context.Context, teamId interface{}) ApiStatsRequest { func (a *TeamsAPIService) Stats(ctx context.Context, teamId interface{}) ApiStatsRequest {
return ApiStatsRequest{ return ApiStatsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) StatsExecute(r ApiStatsRequest) (*http.Response, error) { func (a *TeamsAPIService) StatsExecute(r ApiStatsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Stats") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Stats")
@ -1859,26 +1858,26 @@ func (a *TeamsAPIService) StatsExecute(r ApiStatsRequest) (*http.Response, error
} }
type ApiStats1Request struct { type ApiStats1Request struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
group *interface{} group *interface{}
gameType *interface{} gameType *interface{}
stats *interface{} stats *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
leagueIds *interface{} leagueIds *interface{}
season *interface{} season *interface{}
sortStat *interface{} sortStat *interface{}
order *interface{} order *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
daysBack *interface{} daysBack *interface{}
sitCodes *interface{} sitCodes *interface{}
combineSits *interface{} combineSits *interface{}
opposingTeamId *interface{} opposingTeamId *interface{}
offset *interface{} offset *interface{}
limit *interface{} limit *interface{}
fields *interface{} fields *interface{}
} }
// Category of statistic to return. Available types in /api/v1/statGroups // Category of statistic to return. Available types in /api/v1/statGroups
@ -1995,22 +1994,22 @@ func (r ApiStats1Request) Execute() (*http.Response, error) {
/* /*
Stats1 View a teams stats Stats1 View a teams stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiStats1Request @return ApiStats1Request
*/ */
func (a *TeamsAPIService) Stats1(ctx context.Context) ApiStats1Request { func (a *TeamsAPIService) Stats1(ctx context.Context) ApiStats1Request {
return ApiStats1Request{ return ApiStats1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) Stats1Execute(r ApiStats1Request) (*http.Response, error) { func (a *TeamsAPIService) Stats1Execute(r ApiStats1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Stats1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Stats1")
@ -2125,19 +2124,19 @@ func (a *TeamsAPIService) Stats1Execute(r ApiStats1Request) (*http.Response, err
} }
type ApiTeamsRequest struct { type ApiTeamsRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
season *interface{} season *interface{}
sportId *interface{} sportId *interface{}
divisionId *interface{} divisionId *interface{}
gameType *interface{} gameType *interface{}
leagueIds *interface{} leagueIds *interface{}
sportIds *interface{} sportIds *interface{}
activeStatus *interface{} activeStatus *interface{}
leagueListId *interface{} leagueListId *interface{}
allStarStatuses *interface{} allStarStatuses *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -2208,24 +2207,24 @@ Teams View info for all teams
This endpoint allows you to pull teams This endpoint allows you to pull teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiTeamsRequest @return ApiTeamsRequest
*/ */
func (a *TeamsAPIService) Teams(ctx context.Context, teamId interface{}) ApiTeamsRequest { func (a *TeamsAPIService) Teams(ctx context.Context, teamId interface{}) ApiTeamsRequest {
return ApiTeamsRequest{ return ApiTeamsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) TeamsExecute(r ApiTeamsRequest) (*http.Response, error) { func (a *TeamsAPIService) TeamsExecute(r ApiTeamsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Teams") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Teams")
@ -2316,19 +2315,19 @@ func (a *TeamsAPIService) TeamsExecute(r ApiTeamsRequest) (*http.Response, error
} }
type ApiTeams1Request struct { type ApiTeams1Request struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
season *interface{} season *interface{}
sportId *interface{} sportId *interface{}
divisionId *interface{} divisionId *interface{}
gameType *interface{} gameType *interface{}
leagueIds *interface{} leagueIds *interface{}
sportIds *interface{} sportIds *interface{}
activeStatus *interface{} activeStatus *interface{}
leagueListId *interface{} leagueListId *interface{}
allStarStatuses *interface{} allStarStatuses *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -2399,24 +2398,24 @@ Teams1 View info for all teams
This endpoint allows you to pull teams This endpoint allows you to pull teams
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiTeams1Request @return ApiTeams1Request
*/ */
func (a *TeamsAPIService) Teams1(ctx context.Context, teamId interface{}) ApiTeams1Request { func (a *TeamsAPIService) Teams1(ctx context.Context, teamId interface{}) ApiTeams1Request {
return ApiTeams1Request{ return ApiTeams1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) Teams1Execute(r ApiTeams1Request) (*http.Response, error) { func (a *TeamsAPIService) Teams1Execute(r ApiTeams1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Teams1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.Teams1")
@ -2507,12 +2506,12 @@ func (a *TeamsAPIService) Teams1Execute(r ApiTeams1Request) (*http.Response, err
} }
type ApiUpdateAlumniRequest struct { type ApiUpdateAlumniRequest struct {
ctx context.Context ctx context.Context
ApiService *TeamsAPIService ApiService *TeamsAPIService
teamId interface{} teamId interface{}
season *interface{} season *interface{}
group *interface{} group *interface{}
fields *interface{} fields *interface{}
} }
// Season of play // Season of play
@ -2539,24 +2538,24 @@ func (r ApiUpdateAlumniRequest) Execute() (*http.Response, error) {
/* /*
UpdateAlumni Method for UpdateAlumni UpdateAlumni Method for UpdateAlumni
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId Unique Team Identifier. Format: 141, 147, etc @param teamId Unique Team Identifier. Format: 141, 147, etc
@return ApiUpdateAlumniRequest @return ApiUpdateAlumniRequest
*/ */
func (a *TeamsAPIService) UpdateAlumni(ctx context.Context, teamId interface{}) ApiUpdateAlumniRequest { func (a *TeamsAPIService) UpdateAlumni(ctx context.Context, teamId interface{}) ApiUpdateAlumniRequest {
return ApiUpdateAlumniRequest{ return ApiUpdateAlumniRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
teamId: teamId, teamId: teamId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TeamsAPIService) UpdateAlumniExecute(r ApiUpdateAlumniRequest) (*http.Response, error) { func (a *TeamsAPIService) UpdateAlumniExecute(r ApiUpdateAlumniRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodPost localVarHTTPMethod = http.MethodPost
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.UpdateAlumni") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TeamsAPIService.UpdateAlumni")

View File

@ -18,26 +18,25 @@ import (
"net/url" "net/url"
) )
// TransactionsAPIService TransactionsAPI service // TransactionsAPIService TransactionsAPI service
type TransactionsAPIService service type TransactionsAPIService service
type ApiTransactionsRequest struct { type ApiTransactionsRequest struct {
ctx context.Context ctx context.Context
ApiService *TransactionsAPIService ApiService *TransactionsAPIService
leagueId *interface{} leagueId *interface{}
sportId *interface{} sportId *interface{}
teamId *interface{} teamId *interface{}
playerId *interface{} playerId *interface{}
date *interface{} date *interface{}
startDate *interface{} startDate *interface{}
endDate *interface{} endDate *interface{}
transactionIds *interface{} transactionIds *interface{}
transactionTypes *interface{} transactionTypes *interface{}
divisionIds *interface{} divisionIds *interface{}
order *interface{} order *interface{}
limit *interface{} limit *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of Unique league identifiers // Comma delimited list of Unique league identifiers
@ -122,22 +121,22 @@ Transactions View transaction info
This endpoint allows you to pull transactions. This endpoint allows you to pull transactions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTransactionsRequest @return ApiTransactionsRequest
*/ */
func (a *TransactionsAPIService) Transactions(ctx context.Context) ApiTransactionsRequest { func (a *TransactionsAPIService) Transactions(ctx context.Context) ApiTransactionsRequest {
return ApiTransactionsRequest{ return ApiTransactionsRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *TransactionsAPIService) TransactionsExecute(r ApiTransactionsRequest) (*http.Response, error) { func (a *TransactionsAPIService) TransactionsExecute(r ApiTransactionsRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TransactionsAPIService.Transactions") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TransactionsAPIService.Transactions")

View File

@ -18,15 +18,14 @@ import (
"net/url" "net/url"
) )
// UniformsAPIService UniformsAPI service // UniformsAPIService UniformsAPI service
type UniformsAPIService service type UniformsAPIService service
type ApiUniformsByGameRequest struct { type ApiUniformsByGameRequest struct {
ctx context.Context ctx context.Context
ApiService *UniformsAPIService ApiService *UniformsAPIService
gamePks *interface{} gamePks *interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of unique primary keys // Comma delimited list of unique primary keys
@ -50,22 +49,22 @@ UniformsByGame View Game Uniform info
This endpoint allows you to pull team uniform data for a game This endpoint allows you to pull team uniform data for a game
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUniformsByGameRequest @return ApiUniformsByGameRequest
*/ */
func (a *UniformsAPIService) UniformsByGame(ctx context.Context) ApiUniformsByGameRequest { func (a *UniformsAPIService) UniformsByGame(ctx context.Context) ApiUniformsByGameRequest {
return ApiUniformsByGameRequest{ return ApiUniformsByGameRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *UniformsAPIService) UniformsByGameExecute(r ApiUniformsByGameRequest) (*http.Response, error) { func (a *UniformsAPIService) UniformsByGameExecute(r ApiUniformsByGameRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UniformsAPIService.UniformsByGame") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UniformsAPIService.UniformsByGame")
@ -132,11 +131,11 @@ func (a *UniformsAPIService) UniformsByGameExecute(r ApiUniformsByGameRequest) (
} }
type ApiUniformsByTeamRequest struct { type ApiUniformsByTeamRequest struct {
ctx context.Context ctx context.Context
ApiService *UniformsAPIService ApiService *UniformsAPIService
teamIds *interface{} teamIds *interface{}
season *interface{} season *interface{}
fields *interface{} fields *interface{}
} }
func (r ApiUniformsByTeamRequest) TeamIds(teamIds interface{}) ApiUniformsByTeamRequest { func (r ApiUniformsByTeamRequest) TeamIds(teamIds interface{}) ApiUniformsByTeamRequest {
@ -165,22 +164,22 @@ UniformsByTeam View Team Uniform info
This endpoint allows you to pull team uniform data for a season This endpoint allows you to pull team uniform data for a season
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUniformsByTeamRequest @return ApiUniformsByTeamRequest
*/ */
func (a *UniformsAPIService) UniformsByTeam(ctx context.Context) ApiUniformsByTeamRequest { func (a *UniformsAPIService) UniformsByTeam(ctx context.Context) ApiUniformsByTeamRequest {
return ApiUniformsByTeamRequest{ return ApiUniformsByTeamRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
} }
} }
// Execute executes the request // Execute executes the request
func (a *UniformsAPIService) UniformsByTeamExecute(r ApiUniformsByTeamRequest) (*http.Response, error) { func (a *UniformsAPIService) UniformsByTeamExecute(r ApiUniformsByTeamRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UniformsAPIService.UniformsByTeam") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UniformsAPIService.UniformsByTeam")

View File

@ -19,26 +19,25 @@ import (
"strings" "strings"
) )
// VenuesAPIService VenuesAPI service // VenuesAPIService VenuesAPI service
type VenuesAPIService service type VenuesAPIService service
type ApiVenuesRequest struct { type ApiVenuesRequest struct {
ctx context.Context ctx context.Context
ApiService *VenuesAPIService ApiService *VenuesAPIService
venueId interface{} venueId interface{}
venueIds *interface{} venueIds *interface{}
leagueId *interface{} leagueId *interface{}
leagueIds *interface{} leagueIds *interface{}
gameType *interface{} gameType *interface{}
gameTypes *interface{} gameTypes *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
fields *interface{} fields *interface{}
active *interface{} active *interface{}
includeEvents *interface{} includeEvents *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
} }
// Comma delimited list of Unique venue identifiers // Comma delimited list of Unique venue identifiers
@ -121,24 +120,24 @@ Venues View venue info
This endpoint allows you to pull venues This endpoint allows you to pull venues
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param venueId Unique Venue Identifier @param venueId Unique Venue Identifier
@return ApiVenuesRequest @return ApiVenuesRequest
*/ */
func (a *VenuesAPIService) Venues(ctx context.Context, venueId interface{}) ApiVenuesRequest { func (a *VenuesAPIService) Venues(ctx context.Context, venueId interface{}) ApiVenuesRequest {
return ApiVenuesRequest{ return ApiVenuesRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
venueId: venueId, venueId: venueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *VenuesAPIService) VenuesExecute(r ApiVenuesRequest) (*http.Response, error) { func (a *VenuesAPIService) VenuesExecute(r ApiVenuesRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VenuesAPIService.Venues") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VenuesAPIService.Venues")
@ -235,21 +234,21 @@ func (a *VenuesAPIService) VenuesExecute(r ApiVenuesRequest) (*http.Response, er
} }
type ApiVenues1Request struct { type ApiVenues1Request struct {
ctx context.Context ctx context.Context
ApiService *VenuesAPIService ApiService *VenuesAPIService
venueId interface{} venueId interface{}
venueIds *interface{} venueIds *interface{}
leagueId *interface{} leagueId *interface{}
leagueIds *interface{} leagueIds *interface{}
gameType *interface{} gameType *interface{}
gameTypes *interface{} gameTypes *interface{}
season *interface{} season *interface{}
seasons *interface{} seasons *interface{}
fields *interface{} fields *interface{}
active *interface{} active *interface{}
includeEvents *interface{} includeEvents *interface{}
sportId *interface{} sportId *interface{}
sportIds *interface{} sportIds *interface{}
} }
// Comma delimited list of Unique venue identifiers // Comma delimited list of Unique venue identifiers
@ -332,24 +331,24 @@ Venues1 View venue info
This endpoint allows you to pull venues This endpoint allows you to pull venues
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param venueId Unique Venue Identifier @param venueId Unique Venue Identifier
@return ApiVenues1Request @return ApiVenues1Request
*/ */
func (a *VenuesAPIService) Venues1(ctx context.Context, venueId interface{}) ApiVenues1Request { func (a *VenuesAPIService) Venues1(ctx context.Context, venueId interface{}) ApiVenues1Request {
return ApiVenues1Request{ return ApiVenues1Request{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
venueId: venueId, venueId: venueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *VenuesAPIService) Venues1Execute(r ApiVenues1Request) (*http.Response, error) { func (a *VenuesAPIService) Venues1Execute(r ApiVenues1Request) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VenuesAPIService.Venues1") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VenuesAPIService.Venues1")

View File

@ -19,15 +19,14 @@ import (
"strings" "strings"
) )
// WeatherAPIService WeatherAPI service // WeatherAPIService WeatherAPI service
type WeatherAPIService service type WeatherAPIService service
type ApiWeatherBasicRequest struct { type ApiWeatherBasicRequest struct {
ctx context.Context ctx context.Context
ApiService *WeatherAPIService ApiService *WeatherAPIService
venueId interface{} venueId interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -45,24 +44,24 @@ WeatherBasic Get basic weather for a venue.
Returns a json file containing basic weather for a specific venue. Returns a json file containing basic weather for a specific venue.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param venueId Unique Venue Identifier @param venueId Unique Venue Identifier
@return ApiWeatherBasicRequest @return ApiWeatherBasicRequest
*/ */
func (a *WeatherAPIService) WeatherBasic(ctx context.Context, venueId interface{}) ApiWeatherBasicRequest { func (a *WeatherAPIService) WeatherBasic(ctx context.Context, venueId interface{}) ApiWeatherBasicRequest {
return ApiWeatherBasicRequest{ return ApiWeatherBasicRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
venueId: venueId, venueId: venueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *WeatherAPIService) WeatherBasicExecute(r ApiWeatherBasicRequest) (*http.Response, error) { func (a *WeatherAPIService) WeatherBasicExecute(r ApiWeatherBasicRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WeatherAPIService.WeatherBasic") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WeatherAPIService.WeatherBasic")
@ -126,11 +125,11 @@ func (a *WeatherAPIService) WeatherBasicExecute(r ApiWeatherBasicRequest) (*http
} }
type ApiWeatherDataBasedOnPlayRequest struct { type ApiWeatherDataBasedOnPlayRequest struct {
ctx context.Context ctx context.Context
ApiService *WeatherAPIService ApiService *WeatherAPIService
gamePk interface{} gamePk interface{}
playId interface{} playId interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -148,26 +147,26 @@ WeatherDataBasedOnPlay Get the raw field weather data.
Returns a json file containing weather for the current play. Returns a json file containing weather for the current play.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param playId Unique identifier for a play within a game @param playId Unique identifier for a play within a game
@return ApiWeatherDataBasedOnPlayRequest @return ApiWeatherDataBasedOnPlayRequest
*/ */
func (a *WeatherAPIService) WeatherDataBasedOnPlay(ctx context.Context, gamePk interface{}, playId interface{}) ApiWeatherDataBasedOnPlayRequest { func (a *WeatherAPIService) WeatherDataBasedOnPlay(ctx context.Context, gamePk interface{}, playId interface{}) ApiWeatherDataBasedOnPlayRequest {
return ApiWeatherDataBasedOnPlayRequest{ return ApiWeatherDataBasedOnPlayRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
playId: playId, playId: playId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *WeatherAPIService) WeatherDataBasedOnPlayExecute(r ApiWeatherDataBasedOnPlayRequest) (*http.Response, error) { func (a *WeatherAPIService) WeatherDataBasedOnPlayExecute(r ApiWeatherDataBasedOnPlayRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WeatherAPIService.WeatherDataBasedOnPlay") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WeatherAPIService.WeatherDataBasedOnPlay")
@ -232,11 +231,11 @@ func (a *WeatherAPIService) WeatherDataBasedOnPlayExecute(r ApiWeatherDataBasedO
} }
type ApiWeatherForecastRequest struct { type ApiWeatherForecastRequest struct {
ctx context.Context ctx context.Context
ApiService *WeatherAPIService ApiService *WeatherAPIService
gamePk interface{} gamePk interface{}
roofType interface{} roofType interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -254,26 +253,26 @@ WeatherForecast Get the weather forecast for a game.
Returns a json file containing the weather forecast for a specific game. Returns a json file containing the weather forecast for a specific game.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gamePk Unique Primary Key Representing a Game @param gamePk Unique Primary Key Representing a Game
@param roofType Venue roof type @param roofType Venue roof type
@return ApiWeatherForecastRequest @return ApiWeatherForecastRequest
*/ */
func (a *WeatherAPIService) WeatherForecast(ctx context.Context, gamePk interface{}, roofType interface{}) ApiWeatherForecastRequest { func (a *WeatherAPIService) WeatherForecast(ctx context.Context, gamePk interface{}, roofType interface{}) ApiWeatherForecastRequest {
return ApiWeatherForecastRequest{ return ApiWeatherForecastRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
gamePk: gamePk, gamePk: gamePk,
roofType: roofType, roofType: roofType,
} }
} }
// Execute executes the request // Execute executes the request
func (a *WeatherAPIService) WeatherForecastExecute(r ApiWeatherForecastRequest) (*http.Response, error) { func (a *WeatherAPIService) WeatherForecastExecute(r ApiWeatherForecastRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WeatherAPIService.WeatherForecast") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WeatherAPIService.WeatherForecast")
@ -338,10 +337,10 @@ func (a *WeatherAPIService) WeatherForecastExecute(r ApiWeatherForecastRequest)
} }
type ApiWeatherFullRequest struct { type ApiWeatherFullRequest struct {
ctx context.Context ctx context.Context
ApiService *WeatherAPIService ApiService *WeatherAPIService
venueId interface{} venueId interface{}
fields *interface{} fields *interface{}
} }
// Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute // Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
@ -359,24 +358,24 @@ WeatherFull Get full weather for a venue.
Returns a json file containing full weather for a specific venue. Returns a json file containing full weather for a specific venue.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param venueId Unique Venue Identifier @param venueId Unique Venue Identifier
@return ApiWeatherFullRequest @return ApiWeatherFullRequest
*/ */
func (a *WeatherAPIService) WeatherFull(ctx context.Context, venueId interface{}) ApiWeatherFullRequest { func (a *WeatherAPIService) WeatherFull(ctx context.Context, venueId interface{}) ApiWeatherFullRequest {
return ApiWeatherFullRequest{ return ApiWeatherFullRequest{
ApiService: a, ApiService: a,
ctx: ctx, ctx: ctx,
venueId: venueId, venueId: venueId,
} }
} }
// Execute executes the request // Execute executes the request
func (a *WeatherAPIService) WeatherFullExecute(r ApiWeatherFullRequest) (*http.Response, error) { func (a *WeatherAPIService) WeatherFullExecute(r ApiWeatherFullRequest) (*http.Response, error) {
var ( var (
localVarHTTPMethod = http.MethodGet localVarHTTPMethod = http.MethodGet
localVarPostBody interface{} localVarPostBody interface{}
formFiles []formFile formFiles []formFile
) )
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WeatherAPIService.WeatherFull") localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WeatherAPIService.WeatherFull")

View File

@ -31,14 +31,13 @@ import (
"strings" "strings"
"time" "time"
"unicode/utf8" "unicode/utf8"
) )
var ( var (
JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`)
queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]")
) )
// APIClient manages communication with the Stats API Documentation API v2.0.0 // APIClient manages communication with the Stats API Documentation API v2.0.0
@ -218,7 +217,7 @@ func typeCheckParameter(obj interface{}, expected string, name string) error {
return nil return nil
} }
func parameterValueToString( obj interface{}, key string ) string { func parameterValueToString(obj interface{}, key string) string {
if reflect.TypeOf(obj).Kind() != reflect.Ptr { if reflect.TypeOf(obj).Kind() != reflect.Ptr {
if actualObj, ok := obj.(interface{ GetActualInstanceValue() interface{} }); ok { if actualObj, ok := obj.(interface{ GetActualInstanceValue() interface{} }); ok {
return fmt.Sprintf("%v", actualObj.GetActualInstanceValue()) return fmt.Sprintf("%v", actualObj.GetActualInstanceValue())
@ -226,11 +225,11 @@ func parameterValueToString( obj interface{}, key string ) string {
return fmt.Sprintf("%v", obj) return fmt.Sprintf("%v", obj)
} }
var param,ok = obj.(MappedNullable) var param, ok = obj.(MappedNullable)
if !ok { if !ok {
return "" return ""
} }
dataMap,err := param.ToMap() dataMap, err := param.ToMap()
if err != nil { if err != nil {
return "" return ""
} }
@ -246,85 +245,85 @@ func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix stri
value = "null" value = "null"
} else { } else {
switch v.Kind() { switch v.Kind() {
case reflect.Invalid: case reflect.Invalid:
value = "invalid" value = "invalid"
case reflect.Struct: case reflect.Struct:
if t,ok := obj.(MappedNullable); ok { if t, ok := obj.(MappedNullable); ok {
dataMap,err := t.ToMap() dataMap, err := t.ToMap()
if err != nil { if err != nil {
return
}
parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, style, collectionType)
return return
} }
if t, ok := obj.(time.Time); ok { parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, style, collectionType)
parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339Nano), style, collectionType)
return
}
value = v.Type().String() + " value"
case reflect.Slice:
var indValue = reflect.ValueOf(obj)
if indValue == reflect.ValueOf(nil) {
return
}
var lenIndValue = indValue.Len()
for i:=0;i<lenIndValue;i++ {
var arrayValue = indValue.Index(i)
var keyPrefixForCollectionType = keyPrefix
if style == "deepObject" {
keyPrefixForCollectionType = keyPrefix + "[" + strconv.Itoa(i) + "]"
}
parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefixForCollectionType, arrayValue.Interface(), style, collectionType)
}
return return
}
case reflect.Map: if t, ok := obj.(time.Time); ok {
var indValue = reflect.ValueOf(obj) parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339Nano), style, collectionType)
if indValue == reflect.ValueOf(nil) {
return
}
iter := indValue.MapRange()
for iter.Next() {
k,v := iter.Key(), iter.Value()
parameterAddToHeaderOrQuery(headerOrQueryParams, fmt.Sprintf("%s[%s]", keyPrefix, k.String()), v.Interface(), style, collectionType)
}
return return
}
case reflect.Interface: value = v.Type().String() + " value"
fallthrough case reflect.Slice:
case reflect.Ptr: var indValue = reflect.ValueOf(obj)
parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, v.Elem().Interface(), style, collectionType) if indValue == reflect.ValueOf(nil) {
return return
}
var lenIndValue = indValue.Len()
for i := 0; i < lenIndValue; i++ {
var arrayValue = indValue.Index(i)
var keyPrefixForCollectionType = keyPrefix
if style == "deepObject" {
keyPrefixForCollectionType = keyPrefix + "[" + strconv.Itoa(i) + "]"
}
parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefixForCollectionType, arrayValue.Interface(), style, collectionType)
}
return
case reflect.Int, reflect.Int8, reflect.Int16, case reflect.Map:
reflect.Int32, reflect.Int64: var indValue = reflect.ValueOf(obj)
value = strconv.FormatInt(v.Int(), 10) if indValue == reflect.ValueOf(nil) {
case reflect.Uint, reflect.Uint8, reflect.Uint16, return
reflect.Uint32, reflect.Uint64, reflect.Uintptr: }
value = strconv.FormatUint(v.Uint(), 10) iter := indValue.MapRange()
case reflect.Float32, reflect.Float64: for iter.Next() {
value = strconv.FormatFloat(v.Float(), 'g', -1, 32) k, v := iter.Key(), iter.Value()
case reflect.Bool: parameterAddToHeaderOrQuery(headerOrQueryParams, fmt.Sprintf("%s[%s]", keyPrefix, k.String()), v.Interface(), style, collectionType)
value = strconv.FormatBool(v.Bool()) }
case reflect.String: return
value = v.String()
default: case reflect.Interface:
value = v.Type().String() + " value" fallthrough
case reflect.Ptr:
parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, v.Elem().Interface(), style, collectionType)
return
case reflect.Int, reflect.Int8, reflect.Int16,
reflect.Int32, reflect.Int64:
value = strconv.FormatInt(v.Int(), 10)
case reflect.Uint, reflect.Uint8, reflect.Uint16,
reflect.Uint32, reflect.Uint64, reflect.Uintptr:
value = strconv.FormatUint(v.Uint(), 10)
case reflect.Float32, reflect.Float64:
value = strconv.FormatFloat(v.Float(), 'g', -1, 32)
case reflect.Bool:
value = strconv.FormatBool(v.Bool())
case reflect.String:
value = v.String()
default:
value = v.Type().String() + " value"
} }
} }
switch valuesMap := headerOrQueryParams.(type) { switch valuesMap := headerOrQueryParams.(type) {
case url.Values: case url.Values:
if collectionType == "csv" && valuesMap.Get(keyPrefix) != "" { if collectionType == "csv" && valuesMap.Get(keyPrefix) != "" {
valuesMap.Set(keyPrefix, valuesMap.Get(keyPrefix) + "," + value) valuesMap.Set(keyPrefix, valuesMap.Get(keyPrefix)+","+value)
} else { } else {
valuesMap.Add(keyPrefix, value) valuesMap.Add(keyPrefix, value)
} }
break break
case map[string]string: case map[string]string:
valuesMap[keyPrefix] = value valuesMap[keyPrefix] = value
break break
} }
} }
@ -369,9 +368,9 @@ func (c *APIClient) GetConfig() *Configuration {
} }
type formFile struct { type formFile struct {
fileBytes []byte fileBytes []byte
fileName string fileName string
formFileName string formFileName string
} }
// prepareRequest build the request // prepareRequest build the request
@ -425,11 +424,11 @@ func (c *APIClient) prepareRequest(
w.Boundary() w.Boundary()
part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName))
if err != nil { if err != nil {
return nil, err return nil, err
} }
_, err = part.Write(formFile.fileBytes) _, err = part.Write(formFile.fileBytes)
if err != nil { if err != nil {
return nil, err return nil, err
} }
} }
} }

View File

@ -62,9 +62,9 @@ type ServerVariable struct {
// ServerConfiguration stores the information about a server // ServerConfiguration stores the information about a server
type ServerConfiguration struct { type ServerConfiguration struct {
URL string URL string
Description string Description string
Variables map[string]ServerVariable Variables map[string]ServerVariable
} }
// ServerConfigurations stores multiple ServerConfiguration items // ServerConfigurations stores multiple ServerConfiguration items
@ -85,17 +85,16 @@ type Configuration struct {
// NewConfiguration returns a new Configuration object // NewConfiguration returns a new Configuration object
func NewConfiguration() *Configuration { func NewConfiguration() *Configuration {
cfg := &Configuration{ cfg := &Configuration{
DefaultHeader: make(map[string]string), DefaultHeader: make(map[string]string),
UserAgent: "OpenAPI-Generator/1.0.0/go", UserAgent: "OpenAPI-Generator/1.0.0/go",
Debug: false, Debug: false,
Servers: ServerConfigurations{ Servers: ServerConfigurations{
{ {
URL: "", URL: "",
Description: "No description provided", Description: "No description provided",
}, },
}, },
OperationServers: map[string]ServerConfigurations{ OperationServers: map[string]ServerConfigurations{},
},
} }
return cfg return cfg
} }

View File

@ -10,11 +10,11 @@ Testing AnalyticsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_AnalyticsAPIService(t *testing.T) { func Test_api_AnalyticsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService ContextMetrics", func(t *testing.T) { t.Run("Test AnalyticsAPIService ContextMetrics", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var guid interface{} var guid interface{}
@ -38,7 +38,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService ContextMetricsWithAverages", func(t *testing.T) { t.Run("Test AnalyticsAPIService ContextMetricsWithAverages", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var guid interface{} var guid interface{}
@ -52,7 +52,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService ContextMetricsWithAveragesPost", func(t *testing.T) { t.Run("Test AnalyticsAPIService ContextMetricsWithAveragesPost", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var guid interface{} var guid interface{}
@ -66,7 +66,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService GameGuids", func(t *testing.T) { t.Run("Test AnalyticsAPIService GameGuids", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -79,7 +79,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService GameGuidsFromPostgresRange", func(t *testing.T) { t.Run("Test AnalyticsAPIService GameGuidsFromPostgresRange", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.AnalyticsAPI.GameGuidsFromPostgresRange(context.Background()).Execute() httpRes, err := apiClient.AnalyticsAPI.GameGuidsFromPostgresRange(context.Background()).Execute()
@ -90,7 +90,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService GameGuidsFromPostgresRangeByGame", func(t *testing.T) { t.Run("Test AnalyticsAPIService GameGuidsFromPostgresRangeByGame", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.AnalyticsAPI.GameGuidsFromPostgresRangeByGame(context.Background()).Execute() httpRes, err := apiClient.AnalyticsAPI.GameGuidsFromPostgresRangeByGame(context.Background()).Execute()
@ -101,7 +101,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService GameLastPitch", func(t *testing.T) { t.Run("Test AnalyticsAPIService GameLastPitch", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.AnalyticsAPI.GameLastPitch(context.Background()).Execute() httpRes, err := apiClient.AnalyticsAPI.GameLastPitch(context.Background()).Execute()
@ -112,7 +112,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService HomeRunBallparks", func(t *testing.T) { t.Run("Test AnalyticsAPIService HomeRunBallparks", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var guid interface{} var guid interface{}
@ -126,7 +126,7 @@ func Test_api_AnalyticsAPIService(t *testing.T) {
t.Run("Test AnalyticsAPIService ParsedJsonFormattedAnalytics", func(t *testing.T) { t.Run("Test AnalyticsAPIService ParsedJsonFormattedAnalytics", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var guid interface{} var guid interface{}

View File

@ -10,11 +10,11 @@ Testing AttendanceAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_AttendanceAPIService(t *testing.T) { func Test_api_AttendanceAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_AttendanceAPIService(t *testing.T) {
t.Run("Test AttendanceAPIService GetTeamAttendance", func(t *testing.T) { t.Run("Test AttendanceAPIService GetTeamAttendance", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.AttendanceAPI.GetTeamAttendance(context.Background()).Execute() httpRes, err := apiClient.AttendanceAPI.GetTeamAttendance(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing AwardsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_AwardsAPIService(t *testing.T) { func Test_api_AwardsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_AwardsAPIService(t *testing.T) {
t.Run("Test AwardsAPIService AwardRecipients", func(t *testing.T) { t.Run("Test AwardsAPIService AwardRecipients", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var awardId interface{} var awardId interface{}
@ -37,7 +37,7 @@ func Test_api_AwardsAPIService(t *testing.T) {
t.Run("Test AwardsAPIService Awards", func(t *testing.T) { t.Run("Test AwardsAPIService Awards", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var awardId interface{} var awardId interface{}
@ -50,7 +50,7 @@ func Test_api_AwardsAPIService(t *testing.T) {
t.Run("Test AwardsAPIService Awards1", func(t *testing.T) { t.Run("Test AwardsAPIService Awards1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var awardId interface{} var awardId interface{}

View File

@ -10,11 +10,11 @@ Testing BatTrackingAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_BatTrackingAPIService(t *testing.T) { func Test_api_BatTrackingAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_BatTrackingAPIService(t *testing.T) {
t.Run("Test BatTrackingAPIService BatTracking", func(t *testing.T) { t.Run("Test BatTrackingAPIService BatTracking", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var playId interface{} var playId interface{}

View File

@ -10,11 +10,11 @@ Testing BiomechanicsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_BiomechanicsAPIService(t *testing.T) { func Test_api_BiomechanicsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_BiomechanicsAPIService(t *testing.T) {
t.Run("Test BiomechanicsAPIService Biomechanical", func(t *testing.T) { t.Run("Test BiomechanicsAPIService Biomechanical", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var playId interface{} var playId interface{}

View File

@ -10,11 +10,11 @@ Testing BroadcastAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_BroadcastAPIService(t *testing.T) { func Test_api_BroadcastAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_BroadcastAPIService(t *testing.T) {
t.Run("Test BroadcastAPIService GetAllBroadcasters", func(t *testing.T) { t.Run("Test BroadcastAPIService GetAllBroadcasters", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.BroadcastAPI.GetAllBroadcasters(context.Background()).Execute() httpRes, err := apiClient.BroadcastAPI.GetAllBroadcasters(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_BroadcastAPIService(t *testing.T) {
t.Run("Test BroadcastAPIService GetBroadcasts", func(t *testing.T) { t.Run("Test BroadcastAPIService GetBroadcasts", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.BroadcastAPI.GetBroadcasts(context.Background()).Execute() httpRes, err := apiClient.BroadcastAPI.GetBroadcasts(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing ConferenceAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_ConferenceAPIService(t *testing.T) { func Test_api_ConferenceAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_ConferenceAPIService(t *testing.T) {
t.Run("Test ConferenceAPIService Conferences", func(t *testing.T) { t.Run("Test ConferenceAPIService Conferences", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var conferenceId interface{} var conferenceId interface{}
@ -37,7 +37,7 @@ func Test_api_ConferenceAPIService(t *testing.T) {
t.Run("Test ConferenceAPIService Conferences1", func(t *testing.T) { t.Run("Test ConferenceAPIService Conferences1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var conferenceId interface{} var conferenceId interface{}

View File

@ -10,11 +10,11 @@ Testing DivisionAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_DivisionAPIService(t *testing.T) { func Test_api_DivisionAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_DivisionAPIService(t *testing.T) {
t.Run("Test DivisionAPIService Divisions", func(t *testing.T) { t.Run("Test DivisionAPIService Divisions", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var divisionId interface{} var divisionId interface{}
@ -37,7 +37,7 @@ func Test_api_DivisionAPIService(t *testing.T) {
t.Run("Test DivisionAPIService Divisions1", func(t *testing.T) { t.Run("Test DivisionAPIService Divisions1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var divisionId interface{} var divisionId interface{}

View File

@ -10,11 +10,11 @@ Testing DraftAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_DraftAPIService(t *testing.T) { func Test_api_DraftAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_DraftAPIService(t *testing.T) {
t.Run("Test DraftAPIService DraftPicks", func(t *testing.T) { t.Run("Test DraftAPIService DraftPicks", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var year interface{} var year interface{}
@ -37,7 +37,7 @@ func Test_api_DraftAPIService(t *testing.T) {
t.Run("Test DraftAPIService DraftPicks1", func(t *testing.T) { t.Run("Test DraftAPIService DraftPicks1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var year interface{} var year interface{}
@ -50,7 +50,7 @@ func Test_api_DraftAPIService(t *testing.T) {
t.Run("Test DraftAPIService DraftProspects", func(t *testing.T) { t.Run("Test DraftAPIService DraftProspects", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var year interface{} var year interface{}
@ -63,7 +63,7 @@ func Test_api_DraftAPIService(t *testing.T) {
t.Run("Test DraftAPIService DraftProspects1", func(t *testing.T) { t.Run("Test DraftAPIService DraftProspects1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var year interface{} var year interface{}
@ -76,7 +76,7 @@ func Test_api_DraftAPIService(t *testing.T) {
t.Run("Test DraftAPIService LatestDraftPicks", func(t *testing.T) { t.Run("Test DraftAPIService LatestDraftPicks", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var year interface{} var year interface{}

View File

@ -10,11 +10,11 @@ Testing GamePaceAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_GamePaceAPIService(t *testing.T) { func Test_api_GamePaceAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_GamePaceAPIService(t *testing.T) {
t.Run("Test GamePaceAPIService GamePace", func(t *testing.T) { t.Run("Test GamePaceAPIService GamePace", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.GamePaceAPI.GamePace(context.Background()).Execute() httpRes, err := apiClient.GamePaceAPI.GamePace(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing GameAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_GameAPIService(t *testing.T) { func Test_api_GameAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService Boxscore", func(t *testing.T) { t.Run("Test GameAPIService Boxscore", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -37,7 +37,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService ColorFeed", func(t *testing.T) { t.Run("Test GameAPIService ColorFeed", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -50,7 +50,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService ColorTimestamps", func(t *testing.T) { t.Run("Test GameAPIService ColorTimestamps", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -63,7 +63,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService Content", func(t *testing.T) { t.Run("Test GameAPIService Content", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -76,7 +76,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService CurrentGameStats1", func(t *testing.T) { t.Run("Test GameAPIService CurrentGameStats1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.GameAPI.CurrentGameStats1(context.Background()).Execute() httpRes, err := apiClient.GameAPI.CurrentGameStats1(context.Background()).Execute()
@ -87,7 +87,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService GetGameContextMetrics", func(t *testing.T) { t.Run("Test GameAPIService GetGameContextMetrics", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -100,7 +100,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService GetGameWithMetrics", func(t *testing.T) { t.Run("Test GameAPIService GetGameWithMetrics", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -113,7 +113,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService GetWinProbability", func(t *testing.T) { t.Run("Test GameAPIService GetWinProbability", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -126,7 +126,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService Linescore", func(t *testing.T) { t.Run("Test GameAPIService Linescore", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -139,7 +139,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService LiveGameDiffPatchV1", func(t *testing.T) { t.Run("Test GameAPIService LiveGameDiffPatchV1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -152,7 +152,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService LiveGameV1", func(t *testing.T) { t.Run("Test GameAPIService LiveGameV1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -165,7 +165,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService LiveTimestampv11", func(t *testing.T) { t.Run("Test GameAPIService LiveTimestampv11", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -178,7 +178,7 @@ func Test_api_GameAPIService(t *testing.T) {
t.Run("Test GameAPIService PlayByPlay", func(t *testing.T) { t.Run("Test GameAPIService PlayByPlay", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}

View File

@ -10,11 +10,11 @@ Testing HighLowAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_HighLowAPIService(t *testing.T) { func Test_api_HighLowAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_HighLowAPIService(t *testing.T) {
t.Run("Test HighLowAPIService HighLow", func(t *testing.T) { t.Run("Test HighLowAPIService HighLow", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var highLowType interface{} var highLowType interface{}
@ -37,7 +37,7 @@ func Test_api_HighLowAPIService(t *testing.T) {
t.Run("Test HighLowAPIService HighLowStats", func(t *testing.T) { t.Run("Test HighLowAPIService HighLowStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.HighLowAPI.HighLowStats(context.Background()).Execute() httpRes, err := apiClient.HighLowAPI.HighLowStats(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing HomerunDerbyAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_HomerunDerbyAPIService(t *testing.T) { func Test_api_HomerunDerbyAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_HomerunDerbyAPIService(t *testing.T) {
t.Run("Test HomerunDerbyAPIService HomeRunDerbyBracket", func(t *testing.T) { t.Run("Test HomerunDerbyAPIService HomeRunDerbyBracket", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -37,7 +37,7 @@ func Test_api_HomerunDerbyAPIService(t *testing.T) {
t.Run("Test HomerunDerbyAPIService HomeRunDerbyBracket1", func(t *testing.T) { t.Run("Test HomerunDerbyAPIService HomeRunDerbyBracket1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -50,7 +50,7 @@ func Test_api_HomerunDerbyAPIService(t *testing.T) {
t.Run("Test HomerunDerbyAPIService HomeRunDerbyBracket2", func(t *testing.T) { t.Run("Test HomerunDerbyAPIService HomeRunDerbyBracket2", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -63,7 +63,7 @@ func Test_api_HomerunDerbyAPIService(t *testing.T) {
t.Run("Test HomerunDerbyAPIService HomeRunDerbyBracket3", func(t *testing.T) { t.Run("Test HomerunDerbyAPIService HomeRunDerbyBracket3", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -76,7 +76,7 @@ func Test_api_HomerunDerbyAPIService(t *testing.T) {
t.Run("Test HomerunDerbyAPIService HomeRunDerbyMixedMode", func(t *testing.T) { t.Run("Test HomerunDerbyAPIService HomeRunDerbyMixedMode", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -89,7 +89,7 @@ func Test_api_HomerunDerbyAPIService(t *testing.T) {
t.Run("Test HomerunDerbyAPIService HomeRunDerbyMixedMode1", func(t *testing.T) { t.Run("Test HomerunDerbyAPIService HomeRunDerbyMixedMode1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -102,7 +102,7 @@ func Test_api_HomerunDerbyAPIService(t *testing.T) {
t.Run("Test HomerunDerbyAPIService HomeRunDerbyPool", func(t *testing.T) { t.Run("Test HomerunDerbyAPIService HomeRunDerbyPool", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
@ -115,7 +115,7 @@ func Test_api_HomerunDerbyAPIService(t *testing.T) {
t.Run("Test HomerunDerbyAPIService HomeRunDerbyPool1", func(t *testing.T) { t.Run("Test HomerunDerbyAPIService HomeRunDerbyPool1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}

View File

@ -10,11 +10,11 @@ Testing JobAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_JobAPIService(t *testing.T) { func Test_api_JobAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_JobAPIService(t *testing.T) {
t.Run("Test JobAPIService Datacasters", func(t *testing.T) { t.Run("Test JobAPIService Datacasters", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.JobAPI.Datacasters(context.Background()).Execute() httpRes, err := apiClient.JobAPI.Datacasters(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_JobAPIService(t *testing.T) {
t.Run("Test JobAPIService GetJobsByType", func(t *testing.T) { t.Run("Test JobAPIService GetJobsByType", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.JobAPI.GetJobsByType(context.Background()).Execute() httpRes, err := apiClient.JobAPI.GetJobsByType(context.Background()).Execute()
@ -46,7 +46,7 @@ func Test_api_JobAPIService(t *testing.T) {
t.Run("Test JobAPIService OfficialScorers", func(t *testing.T) { t.Run("Test JobAPIService OfficialScorers", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.JobAPI.OfficialScorers(context.Background()).Execute() httpRes, err := apiClient.JobAPI.OfficialScorers(context.Background()).Execute()
@ -57,7 +57,7 @@ func Test_api_JobAPIService(t *testing.T) {
t.Run("Test JobAPIService UmpireSchedule", func(t *testing.T) { t.Run("Test JobAPIService UmpireSchedule", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var umpireId interface{} var umpireId interface{}
@ -70,7 +70,7 @@ func Test_api_JobAPIService(t *testing.T) {
t.Run("Test JobAPIService Umpires", func(t *testing.T) { t.Run("Test JobAPIService Umpires", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.JobAPI.Umpires(context.Background()).Execute() httpRes, err := apiClient.JobAPI.Umpires(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing LeagueAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_LeagueAPIService(t *testing.T) { func Test_api_LeagueAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService AllStarBallot", func(t *testing.T) { t.Run("Test LeagueAPIService AllStarBallot", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -37,7 +37,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService AllStarBallot1", func(t *testing.T) { t.Run("Test LeagueAPIService AllStarBallot1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -50,7 +50,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService AllStarBallot2", func(t *testing.T) { t.Run("Test LeagueAPIService AllStarBallot2", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -63,7 +63,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService AllStarBallot3", func(t *testing.T) { t.Run("Test LeagueAPIService AllStarBallot3", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -76,7 +76,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService AllStarFinalVote", func(t *testing.T) { t.Run("Test LeagueAPIService AllStarFinalVote", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -89,7 +89,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService AllStarFinalVote1", func(t *testing.T) { t.Run("Test LeagueAPIService AllStarFinalVote1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -102,7 +102,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService AllStarWriteIns", func(t *testing.T) { t.Run("Test LeagueAPIService AllStarWriteIns", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -115,7 +115,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService AllStarWriteIns1", func(t *testing.T) { t.Run("Test LeagueAPIService AllStarWriteIns1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -128,7 +128,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService League", func(t *testing.T) { t.Run("Test LeagueAPIService League", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -141,7 +141,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService League1", func(t *testing.T) { t.Run("Test LeagueAPIService League1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -154,7 +154,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService League2", func(t *testing.T) { t.Run("Test LeagueAPIService League2", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}
@ -167,7 +167,7 @@ func Test_api_LeagueAPIService(t *testing.T) {
t.Run("Test LeagueAPIService League3", func(t *testing.T) { t.Run("Test LeagueAPIService League3", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var leagueId interface{} var leagueId interface{}

View File

@ -10,11 +10,11 @@ Testing MilestonesAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_MilestonesAPIService(t *testing.T) { func Test_api_MilestonesAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_MilestonesAPIService(t *testing.T) {
t.Run("Test MilestonesAPIService AchievementStatuses", func(t *testing.T) { t.Run("Test MilestonesAPIService AchievementStatuses", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MilestonesAPI.AchievementStatuses(context.Background()).Execute() httpRes, err := apiClient.MilestonesAPI.AchievementStatuses(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_MilestonesAPIService(t *testing.T) {
t.Run("Test MilestonesAPIService MilestoneDurations", func(t *testing.T) { t.Run("Test MilestonesAPIService MilestoneDurations", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MilestonesAPI.MilestoneDurations(context.Background()).Execute() httpRes, err := apiClient.MilestonesAPI.MilestoneDurations(context.Background()).Execute()
@ -46,7 +46,7 @@ func Test_api_MilestonesAPIService(t *testing.T) {
t.Run("Test MilestonesAPIService MilestoneLookups", func(t *testing.T) { t.Run("Test MilestonesAPIService MilestoneLookups", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MilestonesAPI.MilestoneLookups(context.Background()).Execute() httpRes, err := apiClient.MilestonesAPI.MilestoneLookups(context.Background()).Execute()
@ -57,7 +57,7 @@ func Test_api_MilestonesAPIService(t *testing.T) {
t.Run("Test MilestonesAPIService MilestoneStatistics", func(t *testing.T) { t.Run("Test MilestonesAPIService MilestoneStatistics", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MilestonesAPI.MilestoneStatistics(context.Background()).Execute() httpRes, err := apiClient.MilestonesAPI.MilestoneStatistics(context.Background()).Execute()
@ -68,7 +68,7 @@ func Test_api_MilestonesAPIService(t *testing.T) {
t.Run("Test MilestonesAPIService MilestoneTypes", func(t *testing.T) { t.Run("Test MilestonesAPIService MilestoneTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MilestonesAPI.MilestoneTypes(context.Background()).Execute() httpRes, err := apiClient.MilestonesAPI.MilestoneTypes(context.Background()).Execute()
@ -79,7 +79,7 @@ func Test_api_MilestonesAPIService(t *testing.T) {
t.Run("Test MilestonesAPIService Milestones", func(t *testing.T) { t.Run("Test MilestonesAPIService Milestones", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MilestonesAPI.Milestones(context.Background()).Execute() httpRes, err := apiClient.MilestonesAPI.Milestones(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing MiscAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_MiscAPIService(t *testing.T) { func Test_api_MiscAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService AggregateSortEnum", func(t *testing.T) { t.Run("Test MiscAPIService AggregateSortEnum", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.AggregateSortEnum(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.AggregateSortEnum(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService BaseballStats", func(t *testing.T) { t.Run("Test MiscAPIService BaseballStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.BaseballStats(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.BaseballStats(context.Background()).Execute()
@ -46,7 +46,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService BroadcastAvailabilityTypes", func(t *testing.T) { t.Run("Test MiscAPIService BroadcastAvailabilityTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.BroadcastAvailabilityTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.BroadcastAvailabilityTypes(context.Background()).Execute()
@ -57,7 +57,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService CoachingVideoTypes", func(t *testing.T) { t.Run("Test MiscAPIService CoachingVideoTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.CoachingVideoTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.CoachingVideoTypes(context.Background()).Execute()
@ -68,7 +68,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService EventStatus", func(t *testing.T) { t.Run("Test MiscAPIService EventStatus", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.EventStatus(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.EventStatus(context.Background()).Execute()
@ -79,7 +79,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService EventTypes", func(t *testing.T) { t.Run("Test MiscAPIService EventTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.EventTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.EventTypes(context.Background()).Execute()
@ -90,7 +90,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService FielderDetailTypes", func(t *testing.T) { t.Run("Test MiscAPIService FielderDetailTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.FielderDetailTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.FielderDetailTypes(context.Background()).Execute()
@ -101,7 +101,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService FreeGameTypes", func(t *testing.T) { t.Run("Test MiscAPIService FreeGameTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.FreeGameTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.FreeGameTypes(context.Background()).Execute()
@ -112,7 +112,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService GameStatus", func(t *testing.T) { t.Run("Test MiscAPIService GameStatus", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.GameStatus(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.GameStatus(context.Background()).Execute()
@ -123,7 +123,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService GameTypes", func(t *testing.T) { t.Run("Test MiscAPIService GameTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.GameTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.GameTypes(context.Background()).Execute()
@ -134,7 +134,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService GamedayTypes", func(t *testing.T) { t.Run("Test MiscAPIService GamedayTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.GamedayTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.GamedayTypes(context.Background()).Execute()
@ -145,7 +145,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService GetLookupValues", func(t *testing.T) { t.Run("Test MiscAPIService GetLookupValues", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.GetLookupValues(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.GetLookupValues(context.Background()).Execute()
@ -156,7 +156,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService GroupByTypes", func(t *testing.T) { t.Run("Test MiscAPIService GroupByTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.GroupByTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.GroupByTypes(context.Background()).Execute()
@ -167,7 +167,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService HitTrajectories", func(t *testing.T) { t.Run("Test MiscAPIService HitTrajectories", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.HitTrajectories(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.HitTrajectories(context.Background()).Execute()
@ -178,7 +178,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService JobTypes", func(t *testing.T) { t.Run("Test MiscAPIService JobTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.JobTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.JobTypes(context.Background()).Execute()
@ -189,7 +189,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService Languages", func(t *testing.T) { t.Run("Test MiscAPIService Languages", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.Languages(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.Languages(context.Background()).Execute()
@ -200,7 +200,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService LeagueLeaderTypes", func(t *testing.T) { t.Run("Test MiscAPIService LeagueLeaderTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.LeagueLeaderTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.LeagueLeaderTypes(context.Background()).Execute()
@ -211,7 +211,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService LogicalEvents", func(t *testing.T) { t.Run("Test MiscAPIService LogicalEvents", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.LogicalEvents(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.LogicalEvents(context.Background()).Execute()
@ -222,7 +222,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService MediaStateTypes", func(t *testing.T) { t.Run("Test MiscAPIService MediaStateTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.MediaStateTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.MediaStateTypes(context.Background()).Execute()
@ -233,7 +233,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService Metrics", func(t *testing.T) { t.Run("Test MiscAPIService Metrics", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.Metrics(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.Metrics(context.Background()).Execute()
@ -244,7 +244,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService MoundVisitTypes", func(t *testing.T) { t.Run("Test MiscAPIService MoundVisitTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.MoundVisitTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.MoundVisitTypes(context.Background()).Execute()
@ -255,7 +255,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService PerformerTypes", func(t *testing.T) { t.Run("Test MiscAPIService PerformerTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.PerformerTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.PerformerTypes(context.Background()).Execute()
@ -266,7 +266,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService PitchCodes", func(t *testing.T) { t.Run("Test MiscAPIService PitchCodes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.PitchCodes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.PitchCodes(context.Background()).Execute()
@ -277,7 +277,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService PitchTypes", func(t *testing.T) { t.Run("Test MiscAPIService PitchTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.PitchTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.PitchTypes(context.Background()).Execute()
@ -288,7 +288,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService Platforms", func(t *testing.T) { t.Run("Test MiscAPIService Platforms", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.Platforms(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.Platforms(context.Background()).Execute()
@ -299,7 +299,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService PlayerStatusCodes", func(t *testing.T) { t.Run("Test MiscAPIService PlayerStatusCodes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.PlayerStatusCodes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.PlayerStatusCodes(context.Background()).Execute()
@ -310,7 +310,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService Positions", func(t *testing.T) { t.Run("Test MiscAPIService Positions", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.Positions(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.Positions(context.Background()).Execute()
@ -321,7 +321,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService ReviewReasons", func(t *testing.T) { t.Run("Test MiscAPIService ReviewReasons", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.ReviewReasons(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.ReviewReasons(context.Background()).Execute()
@ -332,7 +332,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService RoofTypes", func(t *testing.T) { t.Run("Test MiscAPIService RoofTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.RoofTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.RoofTypes(context.Background()).Execute()
@ -343,7 +343,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService RosterTypes", func(t *testing.T) { t.Run("Test MiscAPIService RosterTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.RosterTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.RosterTypes(context.Background()).Execute()
@ -354,7 +354,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService RuleSettings", func(t *testing.T) { t.Run("Test MiscAPIService RuleSettings", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.RuleSettings(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.RuleSettings(context.Background()).Execute()
@ -365,7 +365,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService RunnerDetailTypes", func(t *testing.T) { t.Run("Test MiscAPIService RunnerDetailTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.RunnerDetailTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.RunnerDetailTypes(context.Background()).Execute()
@ -376,7 +376,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService ScheduleEventTypes", func(t *testing.T) { t.Run("Test MiscAPIService ScheduleEventTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.ScheduleEventTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.ScheduleEventTypes(context.Background()).Execute()
@ -387,7 +387,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService ScheduleTypes", func(t *testing.T) { t.Run("Test MiscAPIService ScheduleTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.ScheduleTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.ScheduleTypes(context.Background()).Execute()
@ -398,7 +398,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService SitCodes", func(t *testing.T) { t.Run("Test MiscAPIService SitCodes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.SitCodes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.SitCodes(context.Background()).Execute()
@ -409,7 +409,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService Sky", func(t *testing.T) { t.Run("Test MiscAPIService Sky", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.Sky(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.Sky(context.Background()).Execute()
@ -420,7 +420,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StandingsTypes", func(t *testing.T) { t.Run("Test MiscAPIService StandingsTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StandingsTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StandingsTypes(context.Background()).Execute()
@ -431,7 +431,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StatFields", func(t *testing.T) { t.Run("Test MiscAPIService StatFields", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StatFields(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StatFields(context.Background()).Execute()
@ -442,7 +442,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StatGroups", func(t *testing.T) { t.Run("Test MiscAPIService StatGroups", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StatGroups(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StatGroups(context.Background()).Execute()
@ -453,7 +453,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StatSearchConfig", func(t *testing.T) { t.Run("Test MiscAPIService StatSearchConfig", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StatSearchConfig(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StatSearchConfig(context.Background()).Execute()
@ -464,7 +464,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StatSearchGroupByTypes", func(t *testing.T) { t.Run("Test MiscAPIService StatSearchGroupByTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StatSearchGroupByTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StatSearchGroupByTypes(context.Background()).Execute()
@ -475,7 +475,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StatSearchParams", func(t *testing.T) { t.Run("Test MiscAPIService StatSearchParams", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StatSearchParams(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StatSearchParams(context.Background()).Execute()
@ -486,7 +486,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StatSearchStats", func(t *testing.T) { t.Run("Test MiscAPIService StatSearchStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StatSearchStats(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StatSearchStats(context.Background()).Execute()
@ -497,7 +497,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StatTypes", func(t *testing.T) { t.Run("Test MiscAPIService StatTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StatTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StatTypes(context.Background()).Execute()
@ -508,7 +508,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService StatcastPositionTypes", func(t *testing.T) { t.Run("Test MiscAPIService StatcastPositionTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.StatcastPositionTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.StatcastPositionTypes(context.Background()).Execute()
@ -519,7 +519,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService TrackingSoftwareVersions", func(t *testing.T) { t.Run("Test MiscAPIService TrackingSoftwareVersions", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.TrackingSoftwareVersions(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.TrackingSoftwareVersions(context.Background()).Execute()
@ -530,7 +530,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService TrackingSystemOwners", func(t *testing.T) { t.Run("Test MiscAPIService TrackingSystemOwners", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.TrackingSystemOwners(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.TrackingSystemOwners(context.Background()).Execute()
@ -541,7 +541,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService TrackingVendors", func(t *testing.T) { t.Run("Test MiscAPIService TrackingVendors", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.TrackingVendors(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.TrackingVendors(context.Background()).Execute()
@ -552,7 +552,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService TrackingVersions", func(t *testing.T) { t.Run("Test MiscAPIService TrackingVersions", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.TrackingVersions(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.TrackingVersions(context.Background()).Execute()
@ -563,7 +563,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService TransactionTypes", func(t *testing.T) { t.Run("Test MiscAPIService TransactionTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.TransactionTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.TransactionTypes(context.Background()).Execute()
@ -574,7 +574,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService UpdateGameStatuses", func(t *testing.T) { t.Run("Test MiscAPIService UpdateGameStatuses", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.UpdateGameStatuses(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.UpdateGameStatuses(context.Background()).Execute()
@ -585,7 +585,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService UpdateJobTypes", func(t *testing.T) { t.Run("Test MiscAPIService UpdateJobTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.UpdateJobTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.UpdateJobTypes(context.Background()).Execute()
@ -596,7 +596,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService VideoResolutionTypes", func(t *testing.T) { t.Run("Test MiscAPIService VideoResolutionTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.VideoResolutionTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.VideoResolutionTypes(context.Background()).Execute()
@ -607,7 +607,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService ViolationTypes", func(t *testing.T) { t.Run("Test MiscAPIService ViolationTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.ViolationTypes(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.ViolationTypes(context.Background()).Execute()
@ -618,7 +618,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService WeatherTrajectoryConfidences", func(t *testing.T) { t.Run("Test MiscAPIService WeatherTrajectoryConfidences", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.WeatherTrajectoryConfidences(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.WeatherTrajectoryConfidences(context.Background()).Execute()
@ -629,7 +629,7 @@ func Test_api_MiscAPIService(t *testing.T) {
t.Run("Test MiscAPIService WindDirection", func(t *testing.T) { t.Run("Test MiscAPIService WindDirection", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.MiscAPI.WindDirection(context.Background()).Execute() httpRes, err := apiClient.MiscAPI.WindDirection(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing PersonAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_PersonAPIService(t *testing.T) { func Test_api_PersonAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService Award", func(t *testing.T) { t.Run("Test PersonAPIService Award", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var personId interface{} var personId interface{}
@ -37,7 +37,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService CurrentGameStats", func(t *testing.T) { t.Run("Test PersonAPIService CurrentGameStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.PersonAPI.CurrentGameStats(context.Background()).Execute() httpRes, err := apiClient.PersonAPI.CurrentGameStats(context.Background()).Execute()
@ -48,7 +48,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService FreeAgents", func(t *testing.T) { t.Run("Test PersonAPIService FreeAgents", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.PersonAPI.FreeAgents(context.Background()).Execute() httpRes, err := apiClient.PersonAPI.FreeAgents(context.Background()).Execute()
@ -59,7 +59,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService Person", func(t *testing.T) { t.Run("Test PersonAPIService Person", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var personId interface{} var personId interface{}
@ -72,7 +72,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService Person1", func(t *testing.T) { t.Run("Test PersonAPIService Person1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var personId interface{} var personId interface{}
@ -85,7 +85,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService PlayerGameStats", func(t *testing.T) { t.Run("Test PersonAPIService PlayerGameStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var personId interface{} var personId interface{}
var gamePk interface{} var gamePk interface{}
@ -99,7 +99,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService Search", func(t *testing.T) { t.Run("Test PersonAPIService Search", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.PersonAPI.Search(context.Background()).Execute() httpRes, err := apiClient.PersonAPI.Search(context.Background()).Execute()
@ -110,7 +110,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService Stats3", func(t *testing.T) { t.Run("Test PersonAPIService Stats3", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var personId interface{} var personId interface{}
@ -123,7 +123,7 @@ func Test_api_PersonAPIService(t *testing.T) {
t.Run("Test PersonAPIService StatsMetrics", func(t *testing.T) { t.Run("Test PersonAPIService StatsMetrics", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var personId interface{} var personId interface{}

View File

@ -10,11 +10,11 @@ Testing PredictionsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_PredictionsAPIService(t *testing.T) { func Test_api_PredictionsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_PredictionsAPIService(t *testing.T) {
t.Run("Test PredictionsAPIService GetProps", func(t *testing.T) { t.Run("Test PredictionsAPIService GetProps", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.PredictionsAPI.GetProps(context.Background()).Execute() httpRes, err := apiClient.PredictionsAPI.GetProps(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_PredictionsAPIService(t *testing.T) {
t.Run("Test PredictionsAPIService GetPropsAdjust", func(t *testing.T) { t.Run("Test PredictionsAPIService GetPropsAdjust", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.PredictionsAPI.GetPropsAdjust(context.Background()).Execute() httpRes, err := apiClient.PredictionsAPI.GetPropsAdjust(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing ReviewsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_ReviewsAPIService(t *testing.T) { func Test_api_ReviewsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_ReviewsAPIService(t *testing.T) {
t.Run("Test ReviewsAPIService GetReviewInfo", func(t *testing.T) { t.Run("Test ReviewsAPIService GetReviewInfo", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.ReviewsAPI.GetReviewInfo(context.Background()).Execute() httpRes, err := apiClient.ReviewsAPI.GetReviewInfo(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing ScheduleAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_ScheduleAPIService(t *testing.T) { func Test_api_ScheduleAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_ScheduleAPIService(t *testing.T) {
t.Run("Test ScheduleAPIService PostseasonSchedule", func(t *testing.T) { t.Run("Test ScheduleAPIService PostseasonSchedule", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.ScheduleAPI.PostseasonSchedule(context.Background()).Execute() httpRes, err := apiClient.ScheduleAPI.PostseasonSchedule(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_ScheduleAPIService(t *testing.T) {
t.Run("Test ScheduleAPIService PostseasonScheduleSeries", func(t *testing.T) { t.Run("Test ScheduleAPIService PostseasonScheduleSeries", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.ScheduleAPI.PostseasonScheduleSeries(context.Background()).Execute() httpRes, err := apiClient.ScheduleAPI.PostseasonScheduleSeries(context.Background()).Execute()
@ -46,7 +46,7 @@ func Test_api_ScheduleAPIService(t *testing.T) {
t.Run("Test ScheduleAPIService Schedule", func(t *testing.T) { t.Run("Test ScheduleAPIService Schedule", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.ScheduleAPI.Schedule(context.Background()).Execute() httpRes, err := apiClient.ScheduleAPI.Schedule(context.Background()).Execute()
@ -57,7 +57,7 @@ func Test_api_ScheduleAPIService(t *testing.T) {
t.Run("Test ScheduleAPIService Schedule1", func(t *testing.T) { t.Run("Test ScheduleAPIService Schedule1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.ScheduleAPI.Schedule1(context.Background()).Execute() httpRes, err := apiClient.ScheduleAPI.Schedule1(context.Background()).Execute()
@ -68,7 +68,7 @@ func Test_api_ScheduleAPIService(t *testing.T) {
t.Run("Test ScheduleAPIService TieGames", func(t *testing.T) { t.Run("Test ScheduleAPIService TieGames", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.ScheduleAPI.TieGames(context.Background()).Execute() httpRes, err := apiClient.ScheduleAPI.TieGames(context.Background()).Execute()
@ -79,7 +79,7 @@ func Test_api_ScheduleAPIService(t *testing.T) {
t.Run("Test ScheduleAPIService TrackingEventsSchedule", func(t *testing.T) { t.Run("Test ScheduleAPIService TrackingEventsSchedule", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.ScheduleAPI.TrackingEventsSchedule(context.Background()).Execute() httpRes, err := apiClient.ScheduleAPI.TrackingEventsSchedule(context.Background()).Execute()
@ -90,7 +90,7 @@ func Test_api_ScheduleAPIService(t *testing.T) {
t.Run("Test ScheduleAPIService TuneIn", func(t *testing.T) { t.Run("Test ScheduleAPIService TuneIn", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.ScheduleAPI.TuneIn(context.Background()).Execute() httpRes, err := apiClient.ScheduleAPI.TuneIn(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing SeasonAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_SeasonAPIService(t *testing.T) { func Test_api_SeasonAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_SeasonAPIService(t *testing.T) {
t.Run("Test SeasonAPIService AllSeasons", func(t *testing.T) { t.Run("Test SeasonAPIService AllSeasons", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.SeasonAPI.AllSeasons(context.Background()).Execute() httpRes, err := apiClient.SeasonAPI.AllSeasons(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_SeasonAPIService(t *testing.T) {
t.Run("Test SeasonAPIService Seasons", func(t *testing.T) { t.Run("Test SeasonAPIService Seasons", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var seasonId interface{} var seasonId interface{}
@ -48,7 +48,7 @@ func Test_api_SeasonAPIService(t *testing.T) {
t.Run("Test SeasonAPIService Seasons1", func(t *testing.T) { t.Run("Test SeasonAPIService Seasons1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var seasonId interface{} var seasonId interface{}

View File

@ -10,11 +10,11 @@ Testing SkeletalAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_SkeletalAPIService(t *testing.T) { func Test_api_SkeletalAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_SkeletalAPIService(t *testing.T) {
t.Run("Test SkeletalAPIService SkeletalChunked", func(t *testing.T) { t.Run("Test SkeletalAPIService SkeletalChunked", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var playId interface{} var playId interface{}
@ -38,7 +38,7 @@ func Test_api_SkeletalAPIService(t *testing.T) {
t.Run("Test SkeletalAPIService SkeletalDataFileNames", func(t *testing.T) { t.Run("Test SkeletalAPIService SkeletalDataFileNames", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var playId interface{} var playId interface{}

View File

@ -10,11 +10,11 @@ Testing SportsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_SportsAPIService(t *testing.T) { func Test_api_SportsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_SportsAPIService(t *testing.T) {
t.Run("Test SportsAPIService AllSportBallot", func(t *testing.T) { t.Run("Test SportsAPIService AllSportBallot", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var sportId interface{} var sportId interface{}
@ -37,7 +37,7 @@ func Test_api_SportsAPIService(t *testing.T) {
t.Run("Test SportsAPIService SportPlayers", func(t *testing.T) { t.Run("Test SportsAPIService SportPlayers", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var sportId interface{} var sportId interface{}
@ -50,7 +50,7 @@ func Test_api_SportsAPIService(t *testing.T) {
t.Run("Test SportsAPIService Sports", func(t *testing.T) { t.Run("Test SportsAPIService Sports", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var sportId interface{} var sportId interface{}
@ -63,7 +63,7 @@ func Test_api_SportsAPIService(t *testing.T) {
t.Run("Test SportsAPIService Sports1", func(t *testing.T) { t.Run("Test SportsAPIService Sports1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var sportId interface{} var sportId interface{}

View File

@ -10,11 +10,11 @@ Testing StandingsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_StandingsAPIService(t *testing.T) { func Test_api_StandingsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_StandingsAPIService(t *testing.T) {
t.Run("Test StandingsAPIService Standings", func(t *testing.T) { t.Run("Test StandingsAPIService Standings", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var standingsType interface{} var standingsType interface{}
@ -37,7 +37,7 @@ func Test_api_StandingsAPIService(t *testing.T) {
t.Run("Test StandingsAPIService Standings1", func(t *testing.T) { t.Run("Test StandingsAPIService Standings1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var standingsType interface{} var standingsType interface{}

View File

@ -10,11 +10,11 @@ Testing StatsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_StatsAPIService(t *testing.T) { func Test_api_StatsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_StatsAPIService(t *testing.T) {
t.Run("Test StatsAPIService BeastStats", func(t *testing.T) { t.Run("Test StatsAPIService BeastStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StatsAPI.BeastStats(context.Background()).Execute() httpRes, err := apiClient.StatsAPI.BeastStats(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_StatsAPIService(t *testing.T) {
t.Run("Test StatsAPIService GetOutsAboveAverage", func(t *testing.T) { t.Run("Test StatsAPIService GetOutsAboveAverage", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StatsAPI.GetOutsAboveAverage(context.Background()).Execute() httpRes, err := apiClient.StatsAPI.GetOutsAboveAverage(context.Background()).Execute()
@ -46,7 +46,7 @@ func Test_api_StatsAPIService(t *testing.T) {
t.Run("Test StatsAPIService GetSprayChart", func(t *testing.T) { t.Run("Test StatsAPIService GetSprayChart", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StatsAPI.GetSprayChart(context.Background()).Execute() httpRes, err := apiClient.StatsAPI.GetSprayChart(context.Background()).Execute()
@ -57,7 +57,7 @@ func Test_api_StatsAPIService(t *testing.T) {
t.Run("Test StatsAPIService GetStolenBaseProbability", func(t *testing.T) { t.Run("Test StatsAPIService GetStolenBaseProbability", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StatsAPI.GetStolenBaseProbability(context.Background()).Execute() httpRes, err := apiClient.StatsAPI.GetStolenBaseProbability(context.Background()).Execute()
@ -68,7 +68,7 @@ func Test_api_StatsAPIService(t *testing.T) {
t.Run("Test StatsAPIService GroupedStats", func(t *testing.T) { t.Run("Test StatsAPIService GroupedStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StatsAPI.GroupedStats(context.Background()).Execute() httpRes, err := apiClient.StatsAPI.GroupedStats(context.Background()).Execute()
@ -79,7 +79,7 @@ func Test_api_StatsAPIService(t *testing.T) {
t.Run("Test StatsAPIService Leaders2", func(t *testing.T) { t.Run("Test StatsAPIService Leaders2", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StatsAPI.Leaders2(context.Background()).Execute() httpRes, err := apiClient.StatsAPI.Leaders2(context.Background()).Execute()
@ -90,7 +90,7 @@ func Test_api_StatsAPIService(t *testing.T) {
t.Run("Test StatsAPIService MetricStats", func(t *testing.T) { t.Run("Test StatsAPIService MetricStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StatsAPI.MetricStats(context.Background()).Execute() httpRes, err := apiClient.StatsAPI.MetricStats(context.Background()).Execute()
@ -101,7 +101,7 @@ func Test_api_StatsAPIService(t *testing.T) {
t.Run("Test StatsAPIService Stats2", func(t *testing.T) { t.Run("Test StatsAPIService Stats2", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StatsAPI.Stats2(context.Background()).Execute() httpRes, err := apiClient.StatsAPI.Stats2(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing StreaksAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_StreaksAPIService(t *testing.T) { func Test_api_StreaksAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_StreaksAPIService(t *testing.T) {
t.Run("Test StreaksAPIService GetStreaks", func(t *testing.T) { t.Run("Test StreaksAPIService GetStreaks", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StreaksAPI.GetStreaks(context.Background()).Execute() httpRes, err := apiClient.StreaksAPI.GetStreaks(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_StreaksAPIService(t *testing.T) {
t.Run("Test StreaksAPIService StreakTypes", func(t *testing.T) { t.Run("Test StreaksAPIService StreakTypes", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.StreaksAPI.StreakTypes(context.Background()).Execute() httpRes, err := apiClient.StreaksAPI.StreakTypes(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing TeamsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_TeamsAPIService(t *testing.T) { func Test_api_TeamsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Affiliates", func(t *testing.T) { t.Run("Test TeamsAPIService Affiliates", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -37,7 +37,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Affiliates1", func(t *testing.T) { t.Run("Test TeamsAPIService Affiliates1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -50,7 +50,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService AllTeams", func(t *testing.T) { t.Run("Test TeamsAPIService AllTeams", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -63,7 +63,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService AllTeams1", func(t *testing.T) { t.Run("Test TeamsAPIService AllTeams1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -76,7 +76,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Alumni", func(t *testing.T) { t.Run("Test TeamsAPIService Alumni", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -89,7 +89,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Coaches", func(t *testing.T) { t.Run("Test TeamsAPIService Coaches", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -102,7 +102,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Leaders", func(t *testing.T) { t.Run("Test TeamsAPIService Leaders", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -115,7 +115,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Leaders1", func(t *testing.T) { t.Run("Test TeamsAPIService Leaders1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.TeamsAPI.Leaders1(context.Background()).Execute() httpRes, err := apiClient.TeamsAPI.Leaders1(context.Background()).Execute()
@ -126,7 +126,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Personnel", func(t *testing.T) { t.Run("Test TeamsAPIService Personnel", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -139,7 +139,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Roster", func(t *testing.T) { t.Run("Test TeamsAPIService Roster", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
var rosterType interface{} var rosterType interface{}
@ -153,7 +153,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Roster1", func(t *testing.T) { t.Run("Test TeamsAPIService Roster1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
var rosterType interface{} var rosterType interface{}
@ -167,7 +167,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Stats", func(t *testing.T) { t.Run("Test TeamsAPIService Stats", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -180,7 +180,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Stats1", func(t *testing.T) { t.Run("Test TeamsAPIService Stats1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.TeamsAPI.Stats1(context.Background()).Execute() httpRes, err := apiClient.TeamsAPI.Stats1(context.Background()).Execute()
@ -191,7 +191,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Teams", func(t *testing.T) { t.Run("Test TeamsAPIService Teams", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -204,7 +204,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService Teams1", func(t *testing.T) { t.Run("Test TeamsAPIService Teams1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}
@ -217,7 +217,7 @@ func Test_api_TeamsAPIService(t *testing.T) {
t.Run("Test TeamsAPIService UpdateAlumni", func(t *testing.T) { t.Run("Test TeamsAPIService UpdateAlumni", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var teamId interface{} var teamId interface{}

View File

@ -10,11 +10,11 @@ Testing TransactionsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_TransactionsAPIService(t *testing.T) { func Test_api_TransactionsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_TransactionsAPIService(t *testing.T) {
t.Run("Test TransactionsAPIService Transactions", func(t *testing.T) { t.Run("Test TransactionsAPIService Transactions", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.TransactionsAPI.Transactions(context.Background()).Execute() httpRes, err := apiClient.TransactionsAPI.Transactions(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing UniformsAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_UniformsAPIService(t *testing.T) { func Test_api_UniformsAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_UniformsAPIService(t *testing.T) {
t.Run("Test UniformsAPIService UniformsByGame", func(t *testing.T) { t.Run("Test UniformsAPIService UniformsByGame", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.UniformsAPI.UniformsByGame(context.Background()).Execute() httpRes, err := apiClient.UniformsAPI.UniformsByGame(context.Background()).Execute()
@ -35,7 +35,7 @@ func Test_api_UniformsAPIService(t *testing.T) {
t.Run("Test UniformsAPIService UniformsByTeam", func(t *testing.T) { t.Run("Test UniformsAPIService UniformsByTeam", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
httpRes, err := apiClient.UniformsAPI.UniformsByTeam(context.Background()).Execute() httpRes, err := apiClient.UniformsAPI.UniformsByTeam(context.Background()).Execute()

View File

@ -10,11 +10,11 @@ Testing VenuesAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_VenuesAPIService(t *testing.T) { func Test_api_VenuesAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_VenuesAPIService(t *testing.T) {
t.Run("Test VenuesAPIService Venues", func(t *testing.T) { t.Run("Test VenuesAPIService Venues", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var venueId interface{} var venueId interface{}
@ -37,7 +37,7 @@ func Test_api_VenuesAPIService(t *testing.T) {
t.Run("Test VenuesAPIService Venues1", func(t *testing.T) { t.Run("Test VenuesAPIService Venues1", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var venueId interface{} var venueId interface{}

View File

@ -10,11 +10,11 @@ Testing WeatherAPIService
package api package api
import ( import (
openapiclient "//"
"context" "context"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"
openapiclient "//"
) )
func Test_api_WeatherAPIService(t *testing.T) { func Test_api_WeatherAPIService(t *testing.T) {
@ -24,7 +24,7 @@ func Test_api_WeatherAPIService(t *testing.T) {
t.Run("Test WeatherAPIService WeatherBasic", func(t *testing.T) { t.Run("Test WeatherAPIService WeatherBasic", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var venueId interface{} var venueId interface{}
@ -37,7 +37,7 @@ func Test_api_WeatherAPIService(t *testing.T) {
t.Run("Test WeatherAPIService WeatherDataBasedOnPlay", func(t *testing.T) { t.Run("Test WeatherAPIService WeatherDataBasedOnPlay", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var playId interface{} var playId interface{}
@ -51,7 +51,7 @@ func Test_api_WeatherAPIService(t *testing.T) {
t.Run("Test WeatherAPIService WeatherForecast", func(t *testing.T) { t.Run("Test WeatherAPIService WeatherForecast", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var gamePk interface{} var gamePk interface{}
var roofType interface{} var roofType interface{}
@ -65,7 +65,7 @@ func Test_api_WeatherAPIService(t *testing.T) {
t.Run("Test WeatherAPIService WeatherFull", func(t *testing.T) { t.Run("Test WeatherAPIService WeatherFull", func(t *testing.T) {
t.Skip("skip test") // remove to run test t.Skip("skip test") // remove to run test
var venueId interface{} var venueId interface{}

View File

@ -358,4 +358,4 @@ func newStrictDecoder(data []byte) *json.Decoder {
// Prevent trying to import "fmt" // Prevent trying to import "fmt"
func reportError(format string, a ...interface{}) error { func reportError(format string, a ...interface{}) error {
return fmt.Errorf(format, a...) return fmt.Errorf(format, a...)
} }

View File

@ -24,19 +24,18 @@ import (
) )
var statsAPIConfiguration = &api.Configuration{ var statsAPIConfiguration = &api.Configuration{
Host: "statsapi.mlb.com", Host: "statsapi.mlb.com",
Scheme: "https", Scheme: "https",
DefaultHeader: make(map[string]string), DefaultHeader: make(map[string]string),
UserAgent: "OpenAPI-Generator/1.0.0/go", UserAgent: "OpenAPI-Generator/1.0.0/go",
Debug: false, Debug: false,
Servers: api.ServerConfigurations{ Servers: api.ServerConfigurations{
{ {
URL: "", URL: "",
Description: "No description provided", Description: "No description provided",
}, },
}, },
OperationServers: map[string]api.ServerConfigurations{ OperationServers: map[string]api.ServerConfigurations{},
},
} }
var statsAPIClient = api.NewAPIClient(statsAPIConfiguration) var statsAPIClient = api.NewAPIClient(statsAPIConfiguration)