Name | Type | Description | Notes |
---|---|---|---|
BatchRootCid | Pointer to string | [optional] | |
LastChange | string | This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. | |
Miner | Pointer to string | Miner ID | [optional] |
Network | Pointer to string | Filecoin network for this Deal | [optional] |
PieceCid | Pointer to string | Piece CID string | [optional] |
Status | string | Deal status | |
StatusText | Pointer to string | Deal status description. | [optional] |
ChainDealID | Pointer to float32 | Identifier for the deal stored on chain. | [optional] |
DealActivation | Pointer to string | This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. | [optional] |
DealExpiration | Pointer to string | This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. | [optional] |
func NewDeal(lastChange string, status string, ) *Deal
NewDeal instantiates a new Deal 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 NewDealWithDefaults() *Deal
NewDealWithDefaults instantiates a new Deal 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 (o *Deal) GetBatchRootCid() string
GetBatchRootCid returns the BatchRootCid field if non-nil, zero value otherwise.
func (o *Deal) GetBatchRootCidOk() (*string, bool)
GetBatchRootCidOk returns a tuple with the BatchRootCid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetBatchRootCid(v string)
SetBatchRootCid sets BatchRootCid field to given value.
func (o *Deal) HasBatchRootCid() bool
HasBatchRootCid returns a boolean if a field has been set.
func (o *Deal) GetLastChange() string
GetLastChange returns the LastChange field if non-nil, zero value otherwise.
func (o *Deal) GetLastChangeOk() (*string, bool)
GetLastChangeOk returns a tuple with the LastChange field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetLastChange(v string)
SetLastChange sets LastChange field to given value.
func (o *Deal) GetMiner() string
GetMiner returns the Miner field if non-nil, zero value otherwise.
func (o *Deal) GetMinerOk() (*string, bool)
GetMinerOk returns a tuple with the Miner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetMiner(v string)
SetMiner sets Miner field to given value.
func (o *Deal) HasMiner() bool
HasMiner returns a boolean if a field has been set.
func (o *Deal) GetNetwork() string
GetNetwork returns the Network field if non-nil, zero value otherwise.
func (o *Deal) GetNetworkOk() (*string, bool)
GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetNetwork(v string)
SetNetwork sets Network field to given value.
func (o *Deal) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (o *Deal) GetPieceCid() string
GetPieceCid returns the PieceCid field if non-nil, zero value otherwise.
func (o *Deal) GetPieceCidOk() (*string, bool)
GetPieceCidOk returns a tuple with the PieceCid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetPieceCid(v string)
SetPieceCid sets PieceCid field to given value.
func (o *Deal) HasPieceCid() bool
HasPieceCid returns a boolean if a field has been set.
func (o *Deal) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Deal) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *Deal) GetStatusText() string
GetStatusText returns the StatusText field if non-nil, zero value otherwise.
func (o *Deal) GetStatusTextOk() (*string, bool)
GetStatusTextOk returns a tuple with the StatusText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetStatusText(v string)
SetStatusText sets StatusText field to given value.
func (o *Deal) HasStatusText() bool
HasStatusText returns a boolean if a field has been set.
func (o *Deal) GetChainDealID() float32
GetChainDealID returns the ChainDealID field if non-nil, zero value otherwise.
func (o *Deal) GetChainDealIDOk() (*float32, bool)
GetChainDealIDOk returns a tuple with the ChainDealID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetChainDealID(v float32)
SetChainDealID sets ChainDealID field to given value.
func (o *Deal) HasChainDealID() bool
HasChainDealID returns a boolean if a field has been set.
func (o *Deal) GetDealActivation() string
GetDealActivation returns the DealActivation field if non-nil, zero value otherwise.
func (o *Deal) GetDealActivationOk() (*string, bool)
GetDealActivationOk returns a tuple with the DealActivation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetDealActivation(v string)
SetDealActivation sets DealActivation field to given value.
func (o *Deal) HasDealActivation() bool
HasDealActivation returns a boolean if a field has been set.
func (o *Deal) GetDealExpiration() string
GetDealExpiration returns the DealExpiration field if non-nil, zero value otherwise.
func (o *Deal) GetDealExpirationOk() (*string, bool)
GetDealExpirationOk returns a tuple with the DealExpiration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Deal) SetDealExpiration(v string)
SetDealExpiration sets DealExpiration field to given value.
func (o *Deal) HasDealExpiration() bool
HasDealExpiration returns a boolean if a field has been set.