Files
sdk/docs/BenchmarkLeaderboard.md

3.4 KiB

BenchmarkLeaderboard

Properties

Name Type Description Notes
Benchmark Pointer to string Benchmark is the catalog id these rows are about. [optional]
Direction Pointer to string Direction is "higher" or "lower": which way this benchmark's score improves, and so which way Rows is ordered. [optional]
Rows Pointer to []BenchmarkLeaderRow Rows is one per model, best first in Direction: measured rows by their measurement, then claim-only rows by their published score, ties by model. [optional]

Methods

NewBenchmarkLeaderboard

func NewBenchmarkLeaderboard() *BenchmarkLeaderboard

NewBenchmarkLeaderboard instantiates a new BenchmarkLeaderboard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewBenchmarkLeaderboardWithDefaults

func NewBenchmarkLeaderboardWithDefaults() *BenchmarkLeaderboard

NewBenchmarkLeaderboardWithDefaults instantiates a new BenchmarkLeaderboard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetBenchmark

func (o *BenchmarkLeaderboard) GetBenchmark() string

GetBenchmark returns the Benchmark field if non-nil, zero value otherwise.

GetBenchmarkOk

func (o *BenchmarkLeaderboard) GetBenchmarkOk() (*string, bool)

GetBenchmarkOk returns a tuple with the Benchmark field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBenchmark

func (o *BenchmarkLeaderboard) SetBenchmark(v string)

SetBenchmark sets Benchmark field to given value.

HasBenchmark

func (o *BenchmarkLeaderboard) HasBenchmark() bool

HasBenchmark returns a boolean if a field has been set.

GetDirection

func (o *BenchmarkLeaderboard) GetDirection() string

GetDirection returns the Direction field if non-nil, zero value otherwise.

GetDirectionOk

func (o *BenchmarkLeaderboard) GetDirectionOk() (*string, bool)

GetDirectionOk returns a tuple with the Direction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDirection

func (o *BenchmarkLeaderboard) SetDirection(v string)

SetDirection sets Direction field to given value.

HasDirection

func (o *BenchmarkLeaderboard) HasDirection() bool

HasDirection returns a boolean if a field has been set.

GetRows

func (o *BenchmarkLeaderboard) GetRows() []BenchmarkLeaderRow

GetRows returns the Rows field if non-nil, zero value otherwise.

GetRowsOk

func (o *BenchmarkLeaderboard) GetRowsOk() (*[]BenchmarkLeaderRow, bool)

GetRowsOk returns a tuple with the Rows field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRows

func (o *BenchmarkLeaderboard) SetRows(v []BenchmarkLeaderRow)

SetRows sets Rows field to given value.

HasRows

func (o *BenchmarkLeaderboard) HasRows() bool

HasRows returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]