mirror of
https://github.com/hanzo-go/sdk.git
synced 2026-11-20 20:13:42 +00:00
650 lines
18 KiB
Go
650 lines
18 KiB
Go
/*
|
|
Hanzo Cloud API
|
|
|
|
The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
|
|
API version: v1
|
|
*/
|
|
|
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
|
|
|
package hanzoai
|
|
|
|
import (
|
|
"encoding/json"
|
|
"time"
|
|
)
|
|
|
|
// checks if the BenchmarkClaimRow type satisfies the MappedNullable interface at compile time
|
|
var _ MappedNullable = &BenchmarkClaimRow{}
|
|
|
|
// BenchmarkClaimRow struct for BenchmarkClaimRow
|
|
type BenchmarkClaimRow struct {
|
|
// At is when a stored row was recorded. Zero for a seed row.
|
|
At *time.Time `json:"at,omitempty"`
|
|
// Benchmark is the canonical test id the claim is about, from /catalog.
|
|
Benchmark *string `json:"benchmark,omitempty"`
|
|
// By is the verified user who recorded a stored row. Empty for a seed row.
|
|
By *string `json:"by,omitempty"`
|
|
// Evidence are the evidence uris the claim rests on (GET /v1/research/evidence?uri=).
|
|
Evidence []string `json:"evidence,omitempty"`
|
|
// From is the org a curator row was promoted from: the org that filed the claim before a SuperAdmin published it. Empty on every other row.
|
|
From *string `json:"from,omitempty"`
|
|
// Model is the system the score is claimed for.
|
|
Model *string `json:"model,omitempty"`
|
|
// Org is the org that made the claim. \"admin\" is the platform's own curated reading; any other org is that org's claim, not the platform's. Empty on an unattributed row.
|
|
Org *string `json:"org,omitempty"`
|
|
// Origin is \"seed\" for a compiled row, \"stored\" for one a verified caller wrote through this surface, and \"unattributed\" for a stored row no verified caller vouches for, which never reaches the leaderboard.
|
|
Origin *string `json:"origin,omitempty"`
|
|
// Protocol records HOW it was scored — provider-reported, agentic, third-party-leaderboard — so a provider card is never read as a measurement.
|
|
Protocol *string `json:"protocol,omitempty"`
|
|
// Provider is who the claim belongs to — the lab or leaderboard whose number this is.
|
|
Provider *string `json:"provider,omitempty"`
|
|
// Runs are the research run ids the claim rests on (GET /v1/research/runs?id=).
|
|
Runs []string `json:"runs,omitempty"`
|
|
// Score is the reported aggregate, as a percentage.
|
|
Score *float64 `json:"score,omitempty"`
|
|
// Source is the citation the row was read from.
|
|
Source *string `json:"source,omitempty"`
|
|
// Visibility is \"public\", readable by anyone, or \"private\", readable by Org's own members only. Only the curator's public claims reach the leaderboard.
|
|
Visibility *string `json:"visibility,omitempty"`
|
|
AdditionalProperties map[string]interface{}
|
|
}
|
|
|
|
type _BenchmarkClaimRow BenchmarkClaimRow
|
|
|
|
// NewBenchmarkClaimRow instantiates a new BenchmarkClaimRow 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
|
|
func NewBenchmarkClaimRow() *BenchmarkClaimRow {
|
|
this := BenchmarkClaimRow{}
|
|
return &this
|
|
}
|
|
|
|
// NewBenchmarkClaimRowWithDefaults instantiates a new BenchmarkClaimRow 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
|
|
func NewBenchmarkClaimRowWithDefaults() *BenchmarkClaimRow {
|
|
this := BenchmarkClaimRow{}
|
|
return &this
|
|
}
|
|
|
|
// GetAt returns the At field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetAt() time.Time {
|
|
if o == nil || IsNil(o.At) {
|
|
var ret time.Time
|
|
return ret
|
|
}
|
|
return *o.At
|
|
}
|
|
|
|
// GetAtOk returns a tuple with the At field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetAtOk() (*time.Time, bool) {
|
|
if o == nil || IsNil(o.At) {
|
|
return nil, false
|
|
}
|
|
return o.At, true
|
|
}
|
|
|
|
// HasAt returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasAt() bool {
|
|
if o != nil && !IsNil(o.At) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetAt gets a reference to the given time.Time and assigns it to the At field.
|
|
func (o *BenchmarkClaimRow) SetAt(v time.Time) {
|
|
o.At = &v
|
|
}
|
|
|
|
// GetBenchmark returns the Benchmark field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetBenchmark() string {
|
|
if o == nil || IsNil(o.Benchmark) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Benchmark
|
|
}
|
|
|
|
// GetBenchmarkOk returns a tuple with the Benchmark field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetBenchmarkOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Benchmark) {
|
|
return nil, false
|
|
}
|
|
return o.Benchmark, true
|
|
}
|
|
|
|
// HasBenchmark returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasBenchmark() bool {
|
|
if o != nil && !IsNil(o.Benchmark) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetBenchmark gets a reference to the given string and assigns it to the Benchmark field.
|
|
func (o *BenchmarkClaimRow) SetBenchmark(v string) {
|
|
o.Benchmark = &v
|
|
}
|
|
|
|
// GetBy returns the By field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetBy() string {
|
|
if o == nil || IsNil(o.By) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.By
|
|
}
|
|
|
|
// GetByOk returns a tuple with the By field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetByOk() (*string, bool) {
|
|
if o == nil || IsNil(o.By) {
|
|
return nil, false
|
|
}
|
|
return o.By, true
|
|
}
|
|
|
|
// HasBy returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasBy() bool {
|
|
if o != nil && !IsNil(o.By) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetBy gets a reference to the given string and assigns it to the By field.
|
|
func (o *BenchmarkClaimRow) SetBy(v string) {
|
|
o.By = &v
|
|
}
|
|
|
|
// GetEvidence returns the Evidence field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetEvidence() []string {
|
|
if o == nil || IsNil(o.Evidence) {
|
|
var ret []string
|
|
return ret
|
|
}
|
|
return o.Evidence
|
|
}
|
|
|
|
// GetEvidenceOk returns a tuple with the Evidence field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetEvidenceOk() ([]string, bool) {
|
|
if o == nil || IsNil(o.Evidence) {
|
|
return nil, false
|
|
}
|
|
return o.Evidence, true
|
|
}
|
|
|
|
// HasEvidence returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasEvidence() bool {
|
|
if o != nil && !IsNil(o.Evidence) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetEvidence gets a reference to the given []string and assigns it to the Evidence field.
|
|
func (o *BenchmarkClaimRow) SetEvidence(v []string) {
|
|
o.Evidence = v
|
|
}
|
|
|
|
// GetFrom returns the From field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetFrom() string {
|
|
if o == nil || IsNil(o.From) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.From
|
|
}
|
|
|
|
// GetFromOk returns a tuple with the From field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetFromOk() (*string, bool) {
|
|
if o == nil || IsNil(o.From) {
|
|
return nil, false
|
|
}
|
|
return o.From, true
|
|
}
|
|
|
|
// HasFrom returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasFrom() bool {
|
|
if o != nil && !IsNil(o.From) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetFrom gets a reference to the given string and assigns it to the From field.
|
|
func (o *BenchmarkClaimRow) SetFrom(v string) {
|
|
o.From = &v
|
|
}
|
|
|
|
// GetModel returns the Model field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetModel() string {
|
|
if o == nil || IsNil(o.Model) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Model
|
|
}
|
|
|
|
// GetModelOk returns a tuple with the Model field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetModelOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Model) {
|
|
return nil, false
|
|
}
|
|
return o.Model, true
|
|
}
|
|
|
|
// HasModel returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasModel() bool {
|
|
if o != nil && !IsNil(o.Model) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetModel gets a reference to the given string and assigns it to the Model field.
|
|
func (o *BenchmarkClaimRow) SetModel(v string) {
|
|
o.Model = &v
|
|
}
|
|
|
|
// GetOrg returns the Org field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetOrg() string {
|
|
if o == nil || IsNil(o.Org) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Org
|
|
}
|
|
|
|
// GetOrgOk returns a tuple with the Org field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetOrgOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Org) {
|
|
return nil, false
|
|
}
|
|
return o.Org, true
|
|
}
|
|
|
|
// HasOrg returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasOrg() bool {
|
|
if o != nil && !IsNil(o.Org) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetOrg gets a reference to the given string and assigns it to the Org field.
|
|
func (o *BenchmarkClaimRow) SetOrg(v string) {
|
|
o.Org = &v
|
|
}
|
|
|
|
// GetOrigin returns the Origin field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetOrigin() string {
|
|
if o == nil || IsNil(o.Origin) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Origin
|
|
}
|
|
|
|
// GetOriginOk returns a tuple with the Origin field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetOriginOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Origin) {
|
|
return nil, false
|
|
}
|
|
return o.Origin, true
|
|
}
|
|
|
|
// HasOrigin returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasOrigin() bool {
|
|
if o != nil && !IsNil(o.Origin) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetOrigin gets a reference to the given string and assigns it to the Origin field.
|
|
func (o *BenchmarkClaimRow) SetOrigin(v string) {
|
|
o.Origin = &v
|
|
}
|
|
|
|
// GetProtocol returns the Protocol field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetProtocol() string {
|
|
if o == nil || IsNil(o.Protocol) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Protocol
|
|
}
|
|
|
|
// GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetProtocolOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Protocol) {
|
|
return nil, false
|
|
}
|
|
return o.Protocol, true
|
|
}
|
|
|
|
// HasProtocol returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasProtocol() bool {
|
|
if o != nil && !IsNil(o.Protocol) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetProtocol gets a reference to the given string and assigns it to the Protocol field.
|
|
func (o *BenchmarkClaimRow) SetProtocol(v string) {
|
|
o.Protocol = &v
|
|
}
|
|
|
|
// GetProvider returns the Provider field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetProvider() string {
|
|
if o == nil || IsNil(o.Provider) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Provider
|
|
}
|
|
|
|
// GetProviderOk returns a tuple with the Provider field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetProviderOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Provider) {
|
|
return nil, false
|
|
}
|
|
return o.Provider, true
|
|
}
|
|
|
|
// HasProvider returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasProvider() bool {
|
|
if o != nil && !IsNil(o.Provider) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetProvider gets a reference to the given string and assigns it to the Provider field.
|
|
func (o *BenchmarkClaimRow) SetProvider(v string) {
|
|
o.Provider = &v
|
|
}
|
|
|
|
// GetRuns returns the Runs field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetRuns() []string {
|
|
if o == nil || IsNil(o.Runs) {
|
|
var ret []string
|
|
return ret
|
|
}
|
|
return o.Runs
|
|
}
|
|
|
|
// GetRunsOk returns a tuple with the Runs field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetRunsOk() ([]string, bool) {
|
|
if o == nil || IsNil(o.Runs) {
|
|
return nil, false
|
|
}
|
|
return o.Runs, true
|
|
}
|
|
|
|
// HasRuns returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasRuns() bool {
|
|
if o != nil && !IsNil(o.Runs) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetRuns gets a reference to the given []string and assigns it to the Runs field.
|
|
func (o *BenchmarkClaimRow) SetRuns(v []string) {
|
|
o.Runs = v
|
|
}
|
|
|
|
// GetScore returns the Score field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetScore() float64 {
|
|
if o == nil || IsNil(o.Score) {
|
|
var ret float64
|
|
return ret
|
|
}
|
|
return *o.Score
|
|
}
|
|
|
|
// GetScoreOk returns a tuple with the Score field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetScoreOk() (*float64, bool) {
|
|
if o == nil || IsNil(o.Score) {
|
|
return nil, false
|
|
}
|
|
return o.Score, true
|
|
}
|
|
|
|
// HasScore returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasScore() bool {
|
|
if o != nil && !IsNil(o.Score) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetScore gets a reference to the given float64 and assigns it to the Score field.
|
|
func (o *BenchmarkClaimRow) SetScore(v float64) {
|
|
o.Score = &v
|
|
}
|
|
|
|
// GetSource returns the Source field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetSource() string {
|
|
if o == nil || IsNil(o.Source) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Source
|
|
}
|
|
|
|
// GetSourceOk returns a tuple with the Source field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetSourceOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Source) {
|
|
return nil, false
|
|
}
|
|
return o.Source, true
|
|
}
|
|
|
|
// HasSource returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasSource() bool {
|
|
if o != nil && !IsNil(o.Source) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetSource gets a reference to the given string and assigns it to the Source field.
|
|
func (o *BenchmarkClaimRow) SetSource(v string) {
|
|
o.Source = &v
|
|
}
|
|
|
|
// GetVisibility returns the Visibility field value if set, zero value otherwise.
|
|
func (o *BenchmarkClaimRow) GetVisibility() string {
|
|
if o == nil || IsNil(o.Visibility) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Visibility
|
|
}
|
|
|
|
// GetVisibilityOk returns a tuple with the Visibility field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *BenchmarkClaimRow) GetVisibilityOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Visibility) {
|
|
return nil, false
|
|
}
|
|
return o.Visibility, true
|
|
}
|
|
|
|
// HasVisibility returns a boolean if a field has been set.
|
|
func (o *BenchmarkClaimRow) HasVisibility() bool {
|
|
if o != nil && !IsNil(o.Visibility) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetVisibility gets a reference to the given string and assigns it to the Visibility field.
|
|
func (o *BenchmarkClaimRow) SetVisibility(v string) {
|
|
o.Visibility = &v
|
|
}
|
|
|
|
func (o BenchmarkClaimRow) MarshalJSON() ([]byte, error) {
|
|
toSerialize, err := o.ToMap()
|
|
if err != nil {
|
|
return []byte{}, err
|
|
}
|
|
return json.Marshal(toSerialize)
|
|
}
|
|
|
|
func (o BenchmarkClaimRow) ToMap() (map[string]interface{}, error) {
|
|
toSerialize := map[string]interface{}{}
|
|
if !IsNil(o.At) {
|
|
toSerialize["at"] = o.At
|
|
}
|
|
if !IsNil(o.Benchmark) {
|
|
toSerialize["benchmark"] = o.Benchmark
|
|
}
|
|
if !IsNil(o.By) {
|
|
toSerialize["by"] = o.By
|
|
}
|
|
if !IsNil(o.Evidence) {
|
|
toSerialize["evidence"] = o.Evidence
|
|
}
|
|
if !IsNil(o.From) {
|
|
toSerialize["from"] = o.From
|
|
}
|
|
if !IsNil(o.Model) {
|
|
toSerialize["model"] = o.Model
|
|
}
|
|
if !IsNil(o.Org) {
|
|
toSerialize["org"] = o.Org
|
|
}
|
|
if !IsNil(o.Origin) {
|
|
toSerialize["origin"] = o.Origin
|
|
}
|
|
if !IsNil(o.Protocol) {
|
|
toSerialize["protocol"] = o.Protocol
|
|
}
|
|
if !IsNil(o.Provider) {
|
|
toSerialize["provider"] = o.Provider
|
|
}
|
|
if !IsNil(o.Runs) {
|
|
toSerialize["runs"] = o.Runs
|
|
}
|
|
if !IsNil(o.Score) {
|
|
toSerialize["score"] = o.Score
|
|
}
|
|
if !IsNil(o.Source) {
|
|
toSerialize["source"] = o.Source
|
|
}
|
|
if !IsNil(o.Visibility) {
|
|
toSerialize["visibility"] = o.Visibility
|
|
}
|
|
|
|
for key, value := range o.AdditionalProperties {
|
|
toSerialize[key] = value
|
|
}
|
|
|
|
return toSerialize, nil
|
|
}
|
|
|
|
func (o *BenchmarkClaimRow) UnmarshalJSON(data []byte) (err error) {
|
|
varBenchmarkClaimRow := _BenchmarkClaimRow{}
|
|
|
|
err = json.Unmarshal(data, &varBenchmarkClaimRow)
|
|
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
*o = BenchmarkClaimRow(varBenchmarkClaimRow)
|
|
|
|
additionalProperties := make(map[string]interface{})
|
|
|
|
if err = json.Unmarshal(data, &additionalProperties); err == nil {
|
|
delete(additionalProperties, "at")
|
|
delete(additionalProperties, "benchmark")
|
|
delete(additionalProperties, "by")
|
|
delete(additionalProperties, "evidence")
|
|
delete(additionalProperties, "from")
|
|
delete(additionalProperties, "model")
|
|
delete(additionalProperties, "org")
|
|
delete(additionalProperties, "origin")
|
|
delete(additionalProperties, "protocol")
|
|
delete(additionalProperties, "provider")
|
|
delete(additionalProperties, "runs")
|
|
delete(additionalProperties, "score")
|
|
delete(additionalProperties, "source")
|
|
delete(additionalProperties, "visibility")
|
|
o.AdditionalProperties = additionalProperties
|
|
}
|
|
|
|
return err
|
|
}
|
|
|
|
type NullableBenchmarkClaimRow struct {
|
|
value *BenchmarkClaimRow
|
|
isSet bool
|
|
}
|
|
|
|
func (v NullableBenchmarkClaimRow) Get() *BenchmarkClaimRow {
|
|
return v.value
|
|
}
|
|
|
|
func (v *NullableBenchmarkClaimRow) Set(val *BenchmarkClaimRow) {
|
|
v.value = val
|
|
v.isSet = true
|
|
}
|
|
|
|
func (v NullableBenchmarkClaimRow) IsSet() bool {
|
|
return v.isSet
|
|
}
|
|
|
|
func (v *NullableBenchmarkClaimRow) Unset() {
|
|
v.value = nil
|
|
v.isSet = false
|
|
}
|
|
|
|
func NewNullableBenchmarkClaimRow(val *BenchmarkClaimRow) *NullableBenchmarkClaimRow {
|
|
return &NullableBenchmarkClaimRow{value: val, isSet: true}
|
|
}
|
|
|
|
func (v NullableBenchmarkClaimRow) MarshalJSON() ([]byte, error) {
|
|
return json.Marshal(v.value)
|
|
}
|
|
|
|
func (v *NullableBenchmarkClaimRow) UnmarshalJSON(src []byte) error {
|
|
v.isSet = true
|
|
return json.Unmarshal(src, &v.value)
|
|
}
|