6.2 KiB
TrainArtifact
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Created | Pointer to int64 | Created is when it was registered, unix seconds. | [optional] |
| Job | Pointer to string | Job is the job that produced it; empty for an upload. | [optional] |
| Kind | Pointer to string | Kind is checkpoint, lora, capability, basis or merged, or dataset for an upload. | [optional] |
| Meta | Pointer to interface{} | [optional] | |
| Name | Pointer to string | Name labels it. | [optional] |
| Sha256 | Pointer to string | SHA256 is the hex digest of its bytes, and its name in the object store. | [optional] |
| Size | Pointer to int64 | Size is its byte count. | [optional] |
| State | Pointer to string | State is pending until its bytes are read back, then stored; deleted once the org deleted it or it outlived its retention unpublished. | [optional] |
Methods
NewTrainArtifact
func NewTrainArtifact() *TrainArtifact
NewTrainArtifact instantiates a new TrainArtifact 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
NewTrainArtifactWithDefaults
func NewTrainArtifactWithDefaults() *TrainArtifact
NewTrainArtifactWithDefaults instantiates a new TrainArtifact 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
GetCreated
func (o *TrainArtifact) GetCreated() int64
GetCreated returns the Created field if non-nil, zero value otherwise.
GetCreatedOk
func (o *TrainArtifact) GetCreatedOk() (*int64, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreated
func (o *TrainArtifact) SetCreated(v int64)
SetCreated sets Created field to given value.
HasCreated
func (o *TrainArtifact) HasCreated() bool
HasCreated returns a boolean if a field has been set.
GetJob
func (o *TrainArtifact) GetJob() string
GetJob returns the Job field if non-nil, zero value otherwise.
GetJobOk
func (o *TrainArtifact) GetJobOk() (*string, bool)
GetJobOk returns a tuple with the Job field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetJob
func (o *TrainArtifact) SetJob(v string)
SetJob sets Job field to given value.
HasJob
func (o *TrainArtifact) HasJob() bool
HasJob returns a boolean if a field has been set.
GetKind
func (o *TrainArtifact) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
GetKindOk
func (o *TrainArtifact) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetKind
func (o *TrainArtifact) SetKind(v string)
SetKind sets Kind field to given value.
HasKind
func (o *TrainArtifact) HasKind() bool
HasKind returns a boolean if a field has been set.
GetMeta
func (o *TrainArtifact) GetMeta() interface{}
GetMeta returns the Meta field if non-nil, zero value otherwise.
GetMetaOk
func (o *TrainArtifact) GetMetaOk() (*interface{}, bool)
GetMetaOk returns a tuple with the Meta field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMeta
func (o *TrainArtifact) SetMeta(v interface{})
SetMeta sets Meta field to given value.
HasMeta
func (o *TrainArtifact) HasMeta() bool
HasMeta returns a boolean if a field has been set.
SetMetaNil
func (o *TrainArtifact) SetMetaNil(b bool)
SetMetaNil sets the value for Meta to be an explicit nil
UnsetMeta
func (o *TrainArtifact) UnsetMeta()
UnsetMeta ensures that no value is present for Meta, not even an explicit nil
GetName
func (o *TrainArtifact) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *TrainArtifact) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *TrainArtifact) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *TrainArtifact) HasName() bool
HasName returns a boolean if a field has been set.
GetSha256
func (o *TrainArtifact) GetSha256() string
GetSha256 returns the Sha256 field if non-nil, zero value otherwise.
GetSha256Ok
func (o *TrainArtifact) GetSha256Ok() (*string, bool)
GetSha256Ok returns a tuple with the Sha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSha256
func (o *TrainArtifact) SetSha256(v string)
SetSha256 sets Sha256 field to given value.
HasSha256
func (o *TrainArtifact) HasSha256() bool
HasSha256 returns a boolean if a field has been set.
GetSize
func (o *TrainArtifact) GetSize() int64
GetSize returns the Size field if non-nil, zero value otherwise.
GetSizeOk
func (o *TrainArtifact) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSize
func (o *TrainArtifact) SetSize(v int64)
SetSize sets Size field to given value.
HasSize
func (o *TrainArtifact) HasSize() bool
HasSize returns a boolean if a field has been set.
GetState
func (o *TrainArtifact) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
GetStateOk
func (o *TrainArtifact) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetState
func (o *TrainArtifact) SetState(v string)
SetState sets State field to given value.
HasState
func (o *TrainArtifact) HasState() bool
HasState returns a boolean if a field has been set.