Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiAdminAutoretrieveInitPostRequest
- type ApiAdminAutoretrieveListGetRequest
- type ApiAdminPeeringPeersDeleteRequest
- type ApiAdminPeeringPeersGetRequest
- type ApiAdminPeeringPeersPostRequest
- type ApiAdminPeeringStartPostRequest
- type ApiAdminPeeringStatusGetRequest
- type ApiAdminPeeringStopPostRequest
- type ApiAutoretrieveHeartbeatPostRequest
- type ApiCollectionsAddContentPostRequest
- type ApiCollectionsColuuidCommitPostRequest
- type ApiCollectionsColuuidDeleteRequest
- type ApiCollectionsContentGetRequest
- type ApiCollectionsCreatePostRequest
- type ApiCollectionsFsAddPostRequest
- func (r ApiCollectionsFsAddPostRequest) Coluuid(coluuid string) ApiCollectionsFsAddPostRequest
- func (r ApiCollectionsFsAddPostRequest) Content(content string) ApiCollectionsFsAddPostRequest
- func (r ApiCollectionsFsAddPostRequest) Execute() (*http.Response, error)
- func (r ApiCollectionsFsAddPostRequest) Path(path string) ApiCollectionsFsAddPostRequest
- type ApiCollectionsListGetRequest
- type ApiContentAddCarPostRequest
- func (r ApiContentAddCarPostRequest) Body(body string) ApiContentAddCarPostRequest
- func (r ApiContentAddCarPostRequest) Commp(commp string) ApiContentAddCarPostRequest
- func (r ApiContentAddCarPostRequest) Execute() (*http.Response, error)
- func (r ApiContentAddCarPostRequest) Filename(filename string) ApiContentAddCarPostRequest
- func (r ApiContentAddCarPostRequest) Size(size string) ApiContentAddCarPostRequest
- type ApiContentAddIpfsPostRequest
- type ApiContentAddPostRequest
- type ApiContentAggregatedContentGetRequest
- type ApiContentAllDealsGetRequest
- func (r ApiContentAllDealsGetRequest) All(all string) ApiContentAllDealsGetRequest
- func (r ApiContentAllDealsGetRequest) Begin(begin string) ApiContentAllDealsGetRequest
- func (r ApiContentAllDealsGetRequest) Duration(duration string) ApiContentAllDealsGetRequest
- func (r ApiContentAllDealsGetRequest) Execute() (*http.Response, error)
- type ApiContentBwUsageContentGetRequest
- type ApiContentCreatePostRequest
- type ApiContentDealsGetRequest
- type ApiContentEnsureReplicationDatacidGetRequest
- type ApiContentFailuresContentGetRequest
- type ApiContentImportdealPostRequest
- type ApiContentListGetRequest
- type ApiContentReadContGetRequest
- type ApiContentStagingZonesGetRequest
- type ApiContentStatsGetRequest
- type ApiContentStatusIdGetRequest
- type ApiDealEstimatePostRequest
- type ApiDealInfoDealidGetRequest
- type ApiDealProposalPropcidGetRequest
- type ApiDealQueryMinerGetRequest
- type ApiDealStatusByProposalPropcidGetRequest
- type ApiDealStatusMinerPropcidGetRequest
- type ApiDealTransferInProgressGetRequest
- type ApiDealTransferStatusPostRequest
- type ApiDealsFailuresGetRequest
- type ApiDealsMakeMinerPostRequest
- type ApiDealsStatusDealGetRequest
- type ApiNetAddrsGetRequest
- type ApiPinningPinsGetRequest
- type ApiPinningPinsPinidDeleteRequest
- type ApiPinningPinsPinidGetRequest
- type ApiPinningPinsPinidPostRequest
- type ApiPinningPinsPostRequest
- type ApiPublicByCidCidGetRequest
- type ApiPublicDealsFailuresGetRequest
- type ApiPublicInfoGetRequest
- type ApiPublicMetricsDealsOnChainGetRequest
- type ApiPublicMinersDealsMinerGetRequest
- type ApiPublicMinersFailuresMinerGetRequest
- type ApiPublicMinersGetRequest
- type ApiPublicMinersStatsMinerGetRequest
- type ApiPublicNetAddrsGetRequest
- type ApiPublicNetPeersGetRequest
- type ApiPublicStatsGetRequest
- type ApiUserApiKeysGetRequest
- type ApiUserApiKeysKeyDeleteRequest
- type ApiUserApiKeysPostRequest
- type ApiUserExportGetRequest
- type ApiUserStatsGetRequest
- type AutoretrieveApiService
- func (a *AutoretrieveApiService) AdminAutoretrieveInitPost(ctx context.Context) ApiAdminAutoretrieveInitPostRequest
- func (a *AutoretrieveApiService) AdminAutoretrieveInitPostExecute(r ApiAdminAutoretrieveInitPostRequest) (*http.Response, error)
- func (a *AutoretrieveApiService) AdminAutoretrieveListGet(ctx context.Context) ApiAdminAutoretrieveListGetRequest
- func (a *AutoretrieveApiService) AdminAutoretrieveListGetExecute(r ApiAdminAutoretrieveListGetRequest) (*http.Response, error)
- func (a *AutoretrieveApiService) AutoretrieveHeartbeatPost(ctx context.Context) ApiAutoretrieveHeartbeatPostRequest
- func (a *AutoretrieveApiService) AutoretrieveHeartbeatPostExecute(r ApiAutoretrieveHeartbeatPostRequest) (*http.Response, error)
- type BasicAuth
- type CollectionsApiService
- func (a *CollectionsApiService) CollectionsAddContentPost(ctx context.Context) ApiCollectionsAddContentPostRequest
- func (a *CollectionsApiService) CollectionsAddContentPostExecute(r ApiCollectionsAddContentPostRequest) (map[string]string, *http.Response, error)
- func (a *CollectionsApiService) CollectionsColuuidCommitPost(ctx context.Context, coluuid string) ApiCollectionsColuuidCommitPostRequest
- func (a *CollectionsApiService) CollectionsColuuidCommitPostExecute(r ApiCollectionsColuuidCommitPostRequest) (string, *http.Response, error)
- func (a *CollectionsApiService) CollectionsColuuidDelete(ctx context.Context, coluuid string) ApiCollectionsColuuidDeleteRequest
- func (a *CollectionsApiService) CollectionsColuuidDeleteExecute(r ApiCollectionsColuuidDeleteRequest) (*http.Response, error)
- func (a *CollectionsApiService) CollectionsContentGet(ctx context.Context) ApiCollectionsContentGetRequest
- func (a *CollectionsApiService) CollectionsContentGetExecute(r ApiCollectionsContentGetRequest) (string, *http.Response, error)
- func (a *CollectionsApiService) CollectionsCreatePost(ctx context.Context) ApiCollectionsCreatePostRequest
- func (a *CollectionsApiService) CollectionsCreatePostExecute(r ApiCollectionsCreatePostRequest) (*MainCollection, *http.Response, error)
- func (a *CollectionsApiService) CollectionsFsAddPost(ctx context.Context) ApiCollectionsFsAddPostRequest
- func (a *CollectionsApiService) CollectionsFsAddPostExecute(r ApiCollectionsFsAddPostRequest) (*http.Response, error)
- func (a *CollectionsApiService) CollectionsListGet(ctx context.Context, id int32) ApiCollectionsListGetRequest
- func (a *CollectionsApiService) CollectionsListGetExecute(r ApiCollectionsListGetRequest) ([]MainCollection, *http.Response, error)
- type Configuration
- type ContentApiService
- func (a *ContentApiService) ContentAddCarPost(ctx context.Context) ApiContentAddCarPostRequest
- func (a *ContentApiService) ContentAddCarPostExecute(r ApiContentAddCarPostRequest) (*http.Response, error)
- func (a *ContentApiService) ContentAddIpfsPost(ctx context.Context) ApiContentAddIpfsPostRequest
- func (a *ContentApiService) ContentAddIpfsPostExecute(r ApiContentAddIpfsPostRequest) (*http.Response, error)
- func (a *ContentApiService) ContentAddPost(ctx context.Context, coluuid string, dir string) ApiContentAddPostRequest
- func (a *ContentApiService) ContentAddPostExecute(r ApiContentAddPostRequest) (*http.Response, error)
- func (a *ContentApiService) ContentAggregatedContentGet(ctx context.Context, content string) ApiContentAggregatedContentGetRequest
- func (a *ContentApiService) ContentAggregatedContentGetExecute(r ApiContentAggregatedContentGetRequest) (string, *http.Response, error)
- func (a *ContentApiService) ContentAllDealsGet(ctx context.Context) ApiContentAllDealsGetRequest
- func (a *ContentApiService) ContentAllDealsGetExecute(r ApiContentAllDealsGetRequest) (*http.Response, error)
- func (a *ContentApiService) ContentBwUsageContentGet(ctx context.Context, content string) ApiContentBwUsageContentGetRequest
- func (a *ContentApiService) ContentBwUsageContentGetExecute(r ApiContentBwUsageContentGetRequest) (*http.Response, error)
- func (a *ContentApiService) ContentCreatePost(ctx context.Context) ApiContentCreatePostRequest
- func (a *ContentApiService) ContentCreatePostExecute(r ApiContentCreatePostRequest) (*http.Response, error)
- func (a *ContentApiService) ContentDealsGet(ctx context.Context) ApiContentDealsGetRequest
- func (a *ContentApiService) ContentDealsGetExecute(r ApiContentDealsGetRequest) (*http.Response, error)
- func (a *ContentApiService) ContentEnsureReplicationDatacidGet(ctx context.Context, datacid string) ApiContentEnsureReplicationDatacidGetRequest
- func (a *ContentApiService) ContentEnsureReplicationDatacidGetExecute(r ApiContentEnsureReplicationDatacidGetRequest) (*http.Response, error)
- func (a *ContentApiService) ContentFailuresContentGet(ctx context.Context, content string) ApiContentFailuresContentGetRequest
- func (a *ContentApiService) ContentFailuresContentGetExecute(r ApiContentFailuresContentGetRequest) (string, *http.Response, error)
- func (a *ContentApiService) ContentImportdealPost(ctx context.Context) ApiContentImportdealPostRequest
- func (a *ContentApiService) ContentImportdealPostExecute(r ApiContentImportdealPostRequest) (*http.Response, error)
- func (a *ContentApiService) ContentListGet(ctx context.Context) ApiContentListGetRequest
- func (a *ContentApiService) ContentListGetExecute(r ApiContentListGetRequest) ([]string, *http.Response, error)
- func (a *ContentApiService) ContentReadContGet(ctx context.Context, cont string) ApiContentReadContGetRequest
- func (a *ContentApiService) ContentReadContGetExecute(r ApiContentReadContGetRequest) (*http.Response, error)
- func (a *ContentApiService) ContentStagingZonesGet(ctx context.Context) ApiContentStagingZonesGetRequest
- func (a *ContentApiService) ContentStagingZonesGetExecute(r ApiContentStagingZonesGetRequest) (*http.Response, error)
- func (a *ContentApiService) ContentStatsGet(ctx context.Context, limit string) ApiContentStatsGetRequest
- func (a *ContentApiService) ContentStatsGetExecute(r ApiContentStatsGetRequest) (*http.Response, error)
- func (a *ContentApiService) ContentStatusIdGet(ctx context.Context, id int32) ApiContentStatusIdGetRequest
- func (a *ContentApiService) ContentStatusIdGetExecute(r ApiContentStatusIdGetRequest) (*http.Response, error)
- type DealsApiService
- func (a *DealsApiService) DealEstimatePost(ctx context.Context) ApiDealEstimatePostRequest
- func (a *DealsApiService) DealEstimatePostExecute(r ApiDealEstimatePostRequest) (*http.Response, error)
- func (a *DealsApiService) DealInfoDealidGet(ctx context.Context, dealid int32) ApiDealInfoDealidGetRequest
- func (a *DealsApiService) DealInfoDealidGetExecute(r ApiDealInfoDealidGetRequest) (*http.Response, error)
- func (a *DealsApiService) DealProposalPropcidGet(ctx context.Context, propcid string) ApiDealProposalPropcidGetRequest
- func (a *DealsApiService) DealProposalPropcidGetExecute(r ApiDealProposalPropcidGetRequest) (*http.Response, error)
- func (a *DealsApiService) DealQueryMinerGet(ctx context.Context, miner string) ApiDealQueryMinerGetRequest
- func (a *DealsApiService) DealQueryMinerGetExecute(r ApiDealQueryMinerGetRequest) (*http.Response, error)
- func (a *DealsApiService) DealStatusByProposalPropcidGet(ctx context.Context, propcid string) ApiDealStatusByProposalPropcidGetRequest
- func (a *DealsApiService) DealStatusByProposalPropcidGetExecute(r ApiDealStatusByProposalPropcidGetRequest) (*http.Response, error)
- func (a *DealsApiService) DealStatusMinerPropcidGet(ctx context.Context, miner string, propcid string) ApiDealStatusMinerPropcidGetRequest
- func (a *DealsApiService) DealStatusMinerPropcidGetExecute(r ApiDealStatusMinerPropcidGetRequest) (*http.Response, error)
- func (a *DealsApiService) DealTransferInProgressGet(ctx context.Context) ApiDealTransferInProgressGetRequest
- func (a *DealsApiService) DealTransferInProgressGetExecute(r ApiDealTransferInProgressGetRequest) (*http.Response, error)
- func (a *DealsApiService) DealTransferStatusPost(ctx context.Context) ApiDealTransferStatusPostRequest
- func (a *DealsApiService) DealTransferStatusPostExecute(r ApiDealTransferStatusPostRequest) (*http.Response, error)
- func (a *DealsApiService) DealsFailuresGet(ctx context.Context) ApiDealsFailuresGetRequest
- func (a *DealsApiService) DealsFailuresGetExecute(r ApiDealsFailuresGetRequest) (*http.Response, error)
- func (a *DealsApiService) DealsMakeMinerPost(ctx context.Context, miner string) ApiDealsMakeMinerPostRequest
- func (a *DealsApiService) DealsMakeMinerPostExecute(r ApiDealsMakeMinerPostRequest) (*http.Response, error)
- func (a *DealsApiService) DealsStatusDealGet(ctx context.Context, deal int32) ApiDealsStatusDealGetRequest
- func (a *DealsApiService) DealsStatusDealGetExecute(r ApiDealsStatusDealGetRequest) (*http.Response, error)
- func (a *DealsApiService) PublicDealsFailuresGet(ctx context.Context) ApiPublicDealsFailuresGetRequest
- func (a *DealsApiService) PublicDealsFailuresGetExecute(r ApiPublicDealsFailuresGetRequest) (*http.Response, error)
- type GenericOpenAPIError
- type MainAddContentToCollectionParams
- func (o *MainAddContentToCollectionParams) GetCids() []string
- func (o *MainAddContentToCollectionParams) GetCidsOk() ([]string, bool)
- func (o *MainAddContentToCollectionParams) GetColuuid() string
- func (o *MainAddContentToCollectionParams) GetColuuidOk() (*string, bool)
- func (o *MainAddContentToCollectionParams) GetContents() []int32
- func (o *MainAddContentToCollectionParams) GetContentsOk() ([]int32, bool)
- func (o *MainAddContentToCollectionParams) HasCids() bool
- func (o *MainAddContentToCollectionParams) HasColuuid() bool
- func (o *MainAddContentToCollectionParams) HasContents() bool
- func (o MainAddContentToCollectionParams) MarshalJSON() ([]byte, error)
- func (o *MainAddContentToCollectionParams) SetCids(v []string)
- func (o *MainAddContentToCollectionParams) SetColuuid(v string)
- func (o *MainAddContentToCollectionParams) SetContents(v []int32)
- type MainCollection
- func (o *MainCollection) GetCid() string
- func (o *MainCollection) GetCidOk() (*string, bool)
- func (o *MainCollection) GetCreatedAt() string
- func (o *MainCollection) GetCreatedAtOk() (*string, bool)
- func (o *MainCollection) GetDescription() string
- func (o *MainCollection) GetDescriptionOk() (*string, bool)
- func (o *MainCollection) GetName() string
- func (o *MainCollection) GetNameOk() (*string, bool)
- func (o *MainCollection) GetUserId() int32
- func (o *MainCollection) GetUserIdOk() (*int32, bool)
- func (o *MainCollection) GetUuid() string
- func (o *MainCollection) GetUuidOk() (*string, bool)
- func (o *MainCollection) HasCid() bool
- func (o *MainCollection) HasCreatedAt() bool
- func (o *MainCollection) HasDescription() bool
- func (o *MainCollection) HasName() bool
- func (o *MainCollection) HasUserId() bool
- func (o *MainCollection) HasUuid() bool
- func (o MainCollection) MarshalJSON() ([]byte, error)
- func (o *MainCollection) SetCid(v string)
- func (o *MainCollection) SetCreatedAt(v string)
- func (o *MainCollection) SetDescription(v string)
- func (o *MainCollection) SetName(v string)
- func (o *MainCollection) SetUserId(v int32)
- func (o *MainCollection) SetUuid(v string)
- type MainCreateCollectionBody
- func (o *MainCreateCollectionBody) GetDescription() string
- func (o *MainCreateCollectionBody) GetDescriptionOk() (*string, bool)
- func (o *MainCreateCollectionBody) GetName() string
- func (o *MainCreateCollectionBody) GetNameOk() (*string, bool)
- func (o *MainCreateCollectionBody) HasDescription() bool
- func (o *MainCreateCollectionBody) HasName() bool
- func (o MainCreateCollectionBody) MarshalJSON() ([]byte, error)
- func (o *MainCreateCollectionBody) SetDescription(v string)
- func (o *MainCreateCollectionBody) SetName(v string)
- type MainEstimateDealBody
- func (o *MainEstimateDealBody) GetDurationBlks() int32
- func (o *MainEstimateDealBody) GetDurationBlksOk() (*int32, bool)
- func (o *MainEstimateDealBody) GetReplication() int32
- func (o *MainEstimateDealBody) GetReplicationOk() (*int32, bool)
- func (o *MainEstimateDealBody) GetSize() int32
- func (o *MainEstimateDealBody) GetSizeOk() (*int32, bool)
- func (o *MainEstimateDealBody) GetVerified() bool
- func (o *MainEstimateDealBody) GetVerifiedOk() (*bool, bool)
- func (o *MainEstimateDealBody) HasDurationBlks() bool
- func (o *MainEstimateDealBody) HasReplication() bool
- func (o *MainEstimateDealBody) HasSize() bool
- func (o *MainEstimateDealBody) HasVerified() bool
- func (o MainEstimateDealBody) MarshalJSON() ([]byte, error)
- func (o *MainEstimateDealBody) SetDurationBlks(v int32)
- func (o *MainEstimateDealBody) SetReplication(v int32)
- func (o *MainEstimateDealBody) SetSize(v int32)
- func (o *MainEstimateDealBody) SetVerified(v bool)
- type MainGetApiKeysResp
- func (o *MainGetApiKeysResp) GetExpiry() string
- func (o *MainGetApiKeysResp) GetExpiryOk() (*string, bool)
- func (o *MainGetApiKeysResp) GetToken() string
- func (o *MainGetApiKeysResp) GetTokenOk() (*string, bool)
- func (o *MainGetApiKeysResp) HasExpiry() bool
- func (o *MainGetApiKeysResp) HasToken() bool
- func (o MainGetApiKeysResp) MarshalJSON() ([]byte, error)
- func (o *MainGetApiKeysResp) SetExpiry(v string)
- func (o *MainGetApiKeysResp) SetToken(v string)
- type MainImportDealBody
- func (o *MainImportDealBody) GetColuuid() string
- func (o *MainImportDealBody) GetColuuidOk() (*string, bool)
- func (o *MainImportDealBody) GetDealIDs() []int32
- func (o *MainImportDealBody) GetDealIDsOk() ([]int32, bool)
- func (o *MainImportDealBody) GetDir() string
- func (o *MainImportDealBody) GetDirOk() (*string, bool)
- func (o *MainImportDealBody) GetName() string
- func (o *MainImportDealBody) GetNameOk() (*string, bool)
- func (o *MainImportDealBody) HasColuuid() bool
- func (o *MainImportDealBody) HasDealIDs() bool
- func (o *MainImportDealBody) HasDir() bool
- func (o *MainImportDealBody) HasName() bool
- func (o MainImportDealBody) MarshalJSON() ([]byte, error)
- func (o *MainImportDealBody) SetColuuid(v string)
- func (o *MainImportDealBody) SetDealIDs(v []int32)
- func (o *MainImportDealBody) SetDir(v string)
- func (o *MainImportDealBody) SetName(v string)
- type MainUserStatsResponse
- func (o *MainUserStatsResponse) GetNumPins() int32
- func (o *MainUserStatsResponse) GetNumPinsOk() (*int32, bool)
- func (o *MainUserStatsResponse) GetTotalSize() int32
- func (o *MainUserStatsResponse) GetTotalSizeOk() (*int32, bool)
- func (o *MainUserStatsResponse) HasNumPins() bool
- func (o *MainUserStatsResponse) HasTotalSize() bool
- func (o MainUserStatsResponse) MarshalJSON() ([]byte, error)
- func (o *MainUserStatsResponse) SetNumPins(v int32)
- func (o *MainUserStatsResponse) SetTotalSize(v int32)
- type MetricsApiService
- type MinerApiService
- func (a *MinerApiService) PublicMinersDealsMinerGet(ctx context.Context, miner string) ApiPublicMinersDealsMinerGetRequest
- func (a *MinerApiService) PublicMinersDealsMinerGetExecute(r ApiPublicMinersDealsMinerGetRequest) (*http.Response, error)
- func (a *MinerApiService) PublicMinersStatsMinerGet(ctx context.Context, miner string) ApiPublicMinersStatsMinerGetRequest
- func (a *MinerApiService) PublicMinersStatsMinerGetExecute(r ApiPublicMinersStatsMinerGetRequest) (*http.Response, error)
- type NetApiService
- func (a *NetApiService) NetAddrsGet(ctx context.Context) ApiNetAddrsGetRequest
- func (a *NetApiService) NetAddrsGetExecute(r ApiNetAddrsGetRequest) ([]string, *http.Response, error)
- func (a *NetApiService) PublicMinersFailuresMinerGet(ctx context.Context) ApiPublicMinersFailuresMinerGetRequest
- func (a *NetApiService) PublicMinersFailuresMinerGetExecute(r ApiPublicMinersFailuresMinerGetRequest) (*http.Response, error)
- func (a *NetApiService) PublicMinersGet(ctx context.Context) ApiPublicMinersGetRequest
- func (a *NetApiService) PublicMinersGetExecute(r ApiPublicMinersGetRequest) (*http.Response, error)
- func (a *NetApiService) PublicNetAddrsGet(ctx context.Context) ApiPublicNetAddrsGetRequest
- func (a *NetApiService) PublicNetAddrsGetExecute(r ApiPublicNetAddrsGetRequest) ([]string, *http.Response, error)
- func (a *NetApiService) PublicNetPeersGet(ctx context.Context) ApiPublicNetPeersGetRequest
- func (a *NetApiService) PublicNetPeersGetExecute(r ApiPublicNetPeersGetRequest) ([]string, *http.Response, error)
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMainAddContentToCollectionParams
- func (v NullableMainAddContentToCollectionParams) Get() *MainAddContentToCollectionParams
- func (v NullableMainAddContentToCollectionParams) IsSet() bool
- func (v NullableMainAddContentToCollectionParams) MarshalJSON() ([]byte, error)
- func (v *NullableMainAddContentToCollectionParams) Set(val *MainAddContentToCollectionParams)
- func (v *NullableMainAddContentToCollectionParams) UnmarshalJSON(src []byte) error
- func (v *NullableMainAddContentToCollectionParams) Unset()
- type NullableMainCollection
- func (v NullableMainCollection) Get() *MainCollection
- func (v NullableMainCollection) IsSet() bool
- func (v NullableMainCollection) MarshalJSON() ([]byte, error)
- func (v *NullableMainCollection) Set(val *MainCollection)
- func (v *NullableMainCollection) UnmarshalJSON(src []byte) error
- func (v *NullableMainCollection) Unset()
- type NullableMainCreateCollectionBody
- func (v NullableMainCreateCollectionBody) Get() *MainCreateCollectionBody
- func (v NullableMainCreateCollectionBody) IsSet() bool
- func (v NullableMainCreateCollectionBody) MarshalJSON() ([]byte, error)
- func (v *NullableMainCreateCollectionBody) Set(val *MainCreateCollectionBody)
- func (v *NullableMainCreateCollectionBody) UnmarshalJSON(src []byte) error
- func (v *NullableMainCreateCollectionBody) Unset()
- type NullableMainEstimateDealBody
- func (v NullableMainEstimateDealBody) Get() *MainEstimateDealBody
- func (v NullableMainEstimateDealBody) IsSet() bool
- func (v NullableMainEstimateDealBody) MarshalJSON() ([]byte, error)
- func (v *NullableMainEstimateDealBody) Set(val *MainEstimateDealBody)
- func (v *NullableMainEstimateDealBody) UnmarshalJSON(src []byte) error
- func (v *NullableMainEstimateDealBody) Unset()
- type NullableMainGetApiKeysResp
- func (v NullableMainGetApiKeysResp) Get() *MainGetApiKeysResp
- func (v NullableMainGetApiKeysResp) IsSet() bool
- func (v NullableMainGetApiKeysResp) MarshalJSON() ([]byte, error)
- func (v *NullableMainGetApiKeysResp) Set(val *MainGetApiKeysResp)
- func (v *NullableMainGetApiKeysResp) UnmarshalJSON(src []byte) error
- func (v *NullableMainGetApiKeysResp) Unset()
- type NullableMainImportDealBody
- func (v NullableMainImportDealBody) Get() *MainImportDealBody
- func (v NullableMainImportDealBody) IsSet() bool
- func (v NullableMainImportDealBody) MarshalJSON() ([]byte, error)
- func (v *NullableMainImportDealBody) Set(val *MainImportDealBody)
- func (v *NullableMainImportDealBody) UnmarshalJSON(src []byte) error
- func (v *NullableMainImportDealBody) Unset()
- type NullableMainUserStatsResponse
- func (v NullableMainUserStatsResponse) Get() *MainUserStatsResponse
- func (v NullableMainUserStatsResponse) IsSet() bool
- func (v NullableMainUserStatsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMainUserStatsResponse) Set(val *MainUserStatsResponse)
- func (v *NullableMainUserStatsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMainUserStatsResponse) Unset()
- type NullableString
- type NullableTime
- type NullableUtilContentAddIpfsBody
- func (v NullableUtilContentAddIpfsBody) Get() *UtilContentAddIpfsBody
- func (v NullableUtilContentAddIpfsBody) IsSet() bool
- func (v NullableUtilContentAddIpfsBody) MarshalJSON() ([]byte, error)
- func (v *NullableUtilContentAddIpfsBody) Set(val *UtilContentAddIpfsBody)
- func (v *NullableUtilContentAddIpfsBody) UnmarshalJSON(src []byte) error
- func (v *NullableUtilContentAddIpfsBody) Unset()
- type NullableUtilHttpError
- func (v NullableUtilHttpError) Get() *UtilHttpError
- func (v NullableUtilHttpError) IsSet() bool
- func (v NullableUtilHttpError) MarshalJSON() ([]byte, error)
- func (v *NullableUtilHttpError) Set(val *UtilHttpError)
- func (v *NullableUtilHttpError) UnmarshalJSON(src []byte) error
- func (v *NullableUtilHttpError) Unset()
- type PeersApiService
- func (a *PeersApiService) AdminPeeringPeersDelete(ctx context.Context) ApiAdminPeeringPeersDeleteRequest
- func (a *PeersApiService) AdminPeeringPeersDeleteExecute(r ApiAdminPeeringPeersDeleteRequest) (*http.Response, error)
- func (a *PeersApiService) AdminPeeringPeersGet(ctx context.Context) ApiAdminPeeringPeersGetRequest
- func (a *PeersApiService) AdminPeeringPeersGetExecute(r ApiAdminPeeringPeersGetRequest) (*http.Response, error)
- func (a *PeersApiService) AdminPeeringPeersPost(ctx context.Context) ApiAdminPeeringPeersPostRequest
- func (a *PeersApiService) AdminPeeringPeersPostExecute(r ApiAdminPeeringPeersPostRequest) (*http.Response, error)
- func (a *PeersApiService) AdminPeeringStartPost(ctx context.Context) ApiAdminPeeringStartPostRequest
- func (a *PeersApiService) AdminPeeringStartPostExecute(r ApiAdminPeeringStartPostRequest) (*http.Response, error)
- func (a *PeersApiService) AdminPeeringStatusGet(ctx context.Context) ApiAdminPeeringStatusGetRequest
- func (a *PeersApiService) AdminPeeringStatusGetExecute(r ApiAdminPeeringStatusGetRequest) (*http.Response, error)
- func (a *PeersApiService) AdminPeeringStopPost(ctx context.Context) ApiAdminPeeringStopPostRequest
- func (a *PeersApiService) AdminPeeringStopPostExecute(r ApiAdminPeeringStopPostRequest) (*http.Response, error)
- type PinningApiService
- func (a *PinningApiService) PinningPinsGet(ctx context.Context) ApiPinningPinsGetRequest
- func (a *PinningApiService) PinningPinsGetExecute(r ApiPinningPinsGetRequest) (*http.Response, error)
- func (a *PinningApiService) PinningPinsPinidDelete(ctx context.Context, pinid string) ApiPinningPinsPinidDeleteRequest
- func (a *PinningApiService) PinningPinsPinidDeleteExecute(r ApiPinningPinsPinidDeleteRequest) (*http.Response, error)
- func (a *PinningApiService) PinningPinsPinidGet(ctx context.Context, pinid string) ApiPinningPinsPinidGetRequest
- func (a *PinningApiService) PinningPinsPinidGetExecute(r ApiPinningPinsPinidGetRequest) (*http.Response, error)
- func (a *PinningApiService) PinningPinsPinidPost(ctx context.Context, pinid string) ApiPinningPinsPinidPostRequest
- func (a *PinningApiService) PinningPinsPinidPostExecute(r ApiPinningPinsPinidPostRequest) (*http.Response, error)
- func (a *PinningApiService) PinningPinsPost(ctx context.Context, cid string, name string) ApiPinningPinsPostRequest
- func (a *PinningApiService) PinningPinsPostExecute(r ApiPinningPinsPostRequest) (*http.Response, error)
- type PublicApiService
- func (a *PublicApiService) PublicByCidCidGet(ctx context.Context, cid string) ApiPublicByCidCidGetRequest
- func (a *PublicApiService) PublicByCidCidGetExecute(r ApiPublicByCidCidGetRequest) (*http.Response, error)
- func (a *PublicApiService) PublicInfoGet(ctx context.Context) ApiPublicInfoGetRequest
- func (a *PublicApiService) PublicInfoGetExecute(r ApiPublicInfoGetRequest) (*http.Response, error)
- func (a *PublicApiService) PublicMetricsDealsOnChainGet(ctx context.Context) ApiPublicMetricsDealsOnChainGetRequest
- func (a *PublicApiService) PublicMetricsDealsOnChainGetExecute(r ApiPublicMetricsDealsOnChainGetRequest) (*http.Response, error)
- func (a *PublicApiService) PublicMinersDealsMinerGet(ctx context.Context, miner string) ApiPublicMinersDealsMinerGetRequest
- func (a *PublicApiService) PublicMinersDealsMinerGetExecute(r ApiPublicMinersDealsMinerGetRequest) (*http.Response, error)
- func (a *PublicApiService) PublicMinersFailuresMinerGet(ctx context.Context) ApiPublicMinersFailuresMinerGetRequest
- func (a *PublicApiService) PublicMinersFailuresMinerGetExecute(r ApiPublicMinersFailuresMinerGetRequest) (*http.Response, error)
- func (a *PublicApiService) PublicMinersGet(ctx context.Context) ApiPublicMinersGetRequest
- func (a *PublicApiService) PublicMinersGetExecute(r ApiPublicMinersGetRequest) (*http.Response, error)
- func (a *PublicApiService) PublicMinersStatsMinerGet(ctx context.Context, miner string) ApiPublicMinersStatsMinerGetRequest
- func (a *PublicApiService) PublicMinersStatsMinerGetExecute(r ApiPublicMinersStatsMinerGetRequest) (*http.Response, error)
- func (a *PublicApiService) PublicNetAddrsGet(ctx context.Context) ApiPublicNetAddrsGetRequest
- func (a *PublicApiService) PublicNetAddrsGetExecute(r ApiPublicNetAddrsGetRequest) ([]string, *http.Response, error)
- func (a *PublicApiService) PublicNetPeersGet(ctx context.Context) ApiPublicNetPeersGetRequest
- func (a *PublicApiService) PublicNetPeersGetExecute(r ApiPublicNetPeersGetRequest) ([]string, *http.Response, error)
- func (a *PublicApiService) PublicStatsGet(ctx context.Context) ApiPublicStatsGetRequest
- func (a *PublicApiService) PublicStatsGetExecute(r ApiPublicStatsGetRequest) (*http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type UserApiService
- func (a *UserApiService) UserApiKeysGet(ctx context.Context) ApiUserApiKeysGetRequest
- func (a *UserApiService) UserApiKeysGetExecute(r ApiUserApiKeysGetRequest) ([]MainGetApiKeysResp, *http.Response, error)
- func (a *UserApiService) UserApiKeysKeyDelete(ctx context.Context, key string) ApiUserApiKeysKeyDeleteRequest
- func (a *UserApiService) UserApiKeysKeyDeleteExecute(r ApiUserApiKeysKeyDeleteRequest) (*http.Response, error)
- func (a *UserApiService) UserApiKeysPost(ctx context.Context) ApiUserApiKeysPostRequest
- func (a *UserApiService) UserApiKeysPostExecute(r ApiUserApiKeysPostRequest) (*MainGetApiKeysResp, *http.Response, error)
- func (a *UserApiService) UserExportGet(ctx context.Context) ApiUserExportGetRequest
- func (a *UserApiService) UserExportGetExecute(r ApiUserExportGetRequest) (string, *http.Response, error)
- func (a *UserApiService) UserStatsGet(ctx context.Context) ApiUserStatsGetRequest
- func (a *UserApiService) UserStatsGetExecute(r ApiUserStatsGetRequest) (*MainUserStatsResponse, *http.Response, error)
- type UtilContentAddIpfsBody
- func (o *UtilContentAddIpfsBody) GetColuuid() string
- func (o *UtilContentAddIpfsBody) GetColuuidOk() (*string, bool)
- func (o *UtilContentAddIpfsBody) GetDir() string
- func (o *UtilContentAddIpfsBody) GetDirOk() (*string, bool)
- func (o *UtilContentAddIpfsBody) GetFilename() string
- func (o *UtilContentAddIpfsBody) GetFilenameOk() (*string, bool)
- func (o *UtilContentAddIpfsBody) GetPeers() []string
- func (o *UtilContentAddIpfsBody) GetPeersOk() ([]string, bool)
- func (o *UtilContentAddIpfsBody) GetRoot() string
- func (o *UtilContentAddIpfsBody) GetRootOk() (*string, bool)
- func (o *UtilContentAddIpfsBody) HasColuuid() bool
- func (o *UtilContentAddIpfsBody) HasDir() bool
- func (o *UtilContentAddIpfsBody) HasFilename() bool
- func (o *UtilContentAddIpfsBody) HasPeers() bool
- func (o *UtilContentAddIpfsBody) HasRoot() bool
- func (o UtilContentAddIpfsBody) MarshalJSON() ([]byte, error)
- func (o *UtilContentAddIpfsBody) SetColuuid(v string)
- func (o *UtilContentAddIpfsBody) SetDir(v string)
- func (o *UtilContentAddIpfsBody) SetFilename(v string)
- func (o *UtilContentAddIpfsBody) SetPeers(v []string)
- func (o *UtilContentAddIpfsBody) SetRoot(v string)
- type UtilHttpError
- func (o *UtilHttpError) GetCode() int32
- func (o *UtilHttpError) GetCodeOk() (*int32, bool)
- func (o *UtilHttpError) GetDetails() string
- func (o *UtilHttpError) GetDetailsOk() (*string, bool)
- func (o *UtilHttpError) GetReason() string
- func (o *UtilHttpError) GetReasonOk() (*string, bool)
- func (o *UtilHttpError) HasCode() bool
- func (o *UtilHttpError) HasDetails() bool
- func (o *UtilHttpError) HasReason() bool
- func (o UtilHttpError) MarshalJSON() ([]byte, error)
- func (o *UtilHttpError) SetCode(v int32)
- func (o *UtilHttpError) SetDetails(v string)
- func (o *UtilHttpError) SetReason(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AdminApi *AdminApiService AutoretrieveApi *AutoretrieveApiService CollectionsApi *CollectionsApiService ContentApi *ContentApiService DealsApi *DealsApiService MetricsApi *MetricsApiService MinerApi *MinerApiService NetApi *NetApiService PeeringApi *PeeringApiService PeersApi *PeersApiService PinningApi *PinningApiService PublicApi *PublicApiService UserApi *UserApiService // contains filtered or unexported fields }
APIClient manages communication with the Estuary API API v0.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiAdminAutoretrieveInitPostRequest ¶
type ApiAdminAutoretrieveInitPostRequest struct { ApiService *AutoretrieveApiService // contains filtered or unexported fields }
func (ApiAdminAutoretrieveInitPostRequest) Execute ¶
func (r ApiAdminAutoretrieveInitPostRequest) Execute() (*http.Response, error)
func (ApiAdminAutoretrieveInitPostRequest) PubKey ¶
func (r ApiAdminAutoretrieveInitPostRequest) PubKey(pubKey string) ApiAdminAutoretrieveInitPostRequest
Autoretrieve's public key
type ApiAdminAutoretrieveListGetRequest ¶
type ApiAdminAutoretrieveListGetRequest struct { ApiService *AutoretrieveApiService // contains filtered or unexported fields }
type ApiAdminPeeringPeersDeleteRequest ¶
type ApiAdminPeeringPeersDeleteRequest struct { ApiService *PeersApiService // contains filtered or unexported fields }
type ApiAdminPeeringPeersGetRequest ¶
type ApiAdminPeeringPeersGetRequest struct { ApiService *PeersApiService // contains filtered or unexported fields }
type ApiAdminPeeringPeersPostRequest ¶
type ApiAdminPeeringPeersPostRequest struct { ApiService *PeersApiService // contains filtered or unexported fields }
type ApiAdminPeeringStartPostRequest ¶
type ApiAdminPeeringStartPostRequest struct { ApiService *PeersApiService // contains filtered or unexported fields }
type ApiAdminPeeringStatusGetRequest ¶
type ApiAdminPeeringStatusGetRequest struct { ApiService *PeersApiService // contains filtered or unexported fields }
type ApiAdminPeeringStopPostRequest ¶
type ApiAdminPeeringStopPostRequest struct { ApiService *PeersApiService // contains filtered or unexported fields }
type ApiAutoretrieveHeartbeatPostRequest ¶
type ApiAutoretrieveHeartbeatPostRequest struct { ApiService *AutoretrieveApiService // contains filtered or unexported fields }
func (ApiAutoretrieveHeartbeatPostRequest) Execute ¶
func (r ApiAutoretrieveHeartbeatPostRequest) Execute() (*http.Response, error)
func (ApiAutoretrieveHeartbeatPostRequest) Token ¶
func (r ApiAutoretrieveHeartbeatPostRequest) Token(token string) ApiAutoretrieveHeartbeatPostRequest
Autoretrieve's auth token
type ApiCollectionsAddContentPostRequest ¶
type ApiCollectionsAddContentPostRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiCollectionsAddContentPostRequest) Body ¶
func (r ApiCollectionsAddContentPostRequest) Body(body MainAddContentToCollectionParams) ApiCollectionsAddContentPostRequest
Contents to add to collection
type ApiCollectionsColuuidCommitPostRequest ¶
type ApiCollectionsColuuidCommitPostRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
type ApiCollectionsColuuidDeleteRequest ¶
type ApiCollectionsColuuidDeleteRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
type ApiCollectionsContentGetRequest ¶
type ApiCollectionsContentGetRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiCollectionsContentGetRequest) Coluuid ¶
func (r ApiCollectionsContentGetRequest) Coluuid(coluuid string) ApiCollectionsContentGetRequest
Collection UUID
func (ApiCollectionsContentGetRequest) Dir ¶
func (r ApiCollectionsContentGetRequest) Dir(dir string) ApiCollectionsContentGetRequest
Directory
type ApiCollectionsCreatePostRequest ¶
type ApiCollectionsCreatePostRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiCollectionsCreatePostRequest) Body ¶
func (r ApiCollectionsCreatePostRequest) Body(body MainCreateCollectionBody) ApiCollectionsCreatePostRequest
Collection name and description
func (ApiCollectionsCreatePostRequest) Execute ¶
func (r ApiCollectionsCreatePostRequest) Execute() (*MainCollection, *http.Response, error)
type ApiCollectionsFsAddPostRequest ¶
type ApiCollectionsFsAddPostRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiCollectionsFsAddPostRequest) Coluuid ¶
func (r ApiCollectionsFsAddPostRequest) Coluuid(coluuid string) ApiCollectionsFsAddPostRequest
Collection ID
func (ApiCollectionsFsAddPostRequest) Content ¶
func (r ApiCollectionsFsAddPostRequest) Content(content string) ApiCollectionsFsAddPostRequest
Content
func (ApiCollectionsFsAddPostRequest) Execute ¶
func (r ApiCollectionsFsAddPostRequest) Execute() (*http.Response, error)
func (ApiCollectionsFsAddPostRequest) Path ¶
func (r ApiCollectionsFsAddPostRequest) Path(path string) ApiCollectionsFsAddPostRequest
Path to file
type ApiCollectionsListGetRequest ¶
type ApiCollectionsListGetRequest struct { ApiService *CollectionsApiService // contains filtered or unexported fields }
func (ApiCollectionsListGetRequest) Execute ¶
func (r ApiCollectionsListGetRequest) Execute() ([]MainCollection, *http.Response, error)
type ApiContentAddCarPostRequest ¶
type ApiContentAddCarPostRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
func (ApiContentAddCarPostRequest) Body ¶
func (r ApiContentAddCarPostRequest) Body(body string) ApiContentAddCarPostRequest
Car
func (ApiContentAddCarPostRequest) Commp ¶
func (r ApiContentAddCarPostRequest) Commp(commp string) ApiContentAddCarPostRequest
Commp
func (ApiContentAddCarPostRequest) Execute ¶
func (r ApiContentAddCarPostRequest) Execute() (*http.Response, error)
func (ApiContentAddCarPostRequest) Filename ¶
func (r ApiContentAddCarPostRequest) Filename(filename string) ApiContentAddCarPostRequest
Filename
func (ApiContentAddCarPostRequest) Size ¶
func (r ApiContentAddCarPostRequest) Size(size string) ApiContentAddCarPostRequest
Size
type ApiContentAddIpfsPostRequest ¶
type ApiContentAddIpfsPostRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
func (ApiContentAddIpfsPostRequest) Body ¶
func (r ApiContentAddIpfsPostRequest) Body(body UtilContentAddIpfsBody) ApiContentAddIpfsPostRequest
IPFS Body
type ApiContentAddPostRequest ¶
type ApiContentAddPostRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
func (ApiContentAddPostRequest) Execute ¶
func (r ApiContentAddPostRequest) Execute() (*http.Response, error)
func (ApiContentAddPostRequest) File ¶
func (r ApiContentAddPostRequest) File(file *os.File) ApiContentAddPostRequest
File to upload
type ApiContentAggregatedContentGetRequest ¶
type ApiContentAggregatedContentGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiContentAllDealsGetRequest ¶
type ApiContentAllDealsGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
func (ApiContentAllDealsGetRequest) All ¶
func (r ApiContentAllDealsGetRequest) All(all string) ApiContentAllDealsGetRequest
All
func (ApiContentAllDealsGetRequest) Begin ¶
func (r ApiContentAllDealsGetRequest) Begin(begin string) ApiContentAllDealsGetRequest
Begin
func (ApiContentAllDealsGetRequest) Duration ¶
func (r ApiContentAllDealsGetRequest) Duration(duration string) ApiContentAllDealsGetRequest
Duration
type ApiContentBwUsageContentGetRequest ¶
type ApiContentBwUsageContentGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiContentCreatePostRequest ¶
type ApiContentCreatePostRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
func (ApiContentCreatePostRequest) Body ¶
func (r ApiContentCreatePostRequest) Body(body string) ApiContentCreatePostRequest
Content
type ApiContentDealsGetRequest ¶
type ApiContentDealsGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
func (ApiContentDealsGetRequest) Execute ¶
func (r ApiContentDealsGetRequest) Execute() (*http.Response, error)
func (ApiContentDealsGetRequest) Limit ¶
func (r ApiContentDealsGetRequest) Limit(limit int32) ApiContentDealsGetRequest
Limit
func (ApiContentDealsGetRequest) Offset ¶
func (r ApiContentDealsGetRequest) Offset(offset int32) ApiContentDealsGetRequest
Offset
type ApiContentEnsureReplicationDatacidGetRequest ¶
type ApiContentEnsureReplicationDatacidGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiContentFailuresContentGetRequest ¶
type ApiContentFailuresContentGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiContentImportdealPostRequest ¶
type ApiContentImportdealPostRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
func (ApiContentImportdealPostRequest) Body ¶
func (r ApiContentImportdealPostRequest) Body(body MainImportDealBody) ApiContentImportdealPostRequest
Import a deal
type ApiContentListGetRequest ¶
type ApiContentListGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiContentReadContGetRequest ¶
type ApiContentReadContGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiContentStagingZonesGetRequest ¶
type ApiContentStagingZonesGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiContentStatsGetRequest ¶
type ApiContentStatsGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiContentStatusIdGetRequest ¶
type ApiContentStatusIdGetRequest struct { ApiService *ContentApiService // contains filtered or unexported fields }
type ApiDealEstimatePostRequest ¶
type ApiDealEstimatePostRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
func (ApiDealEstimatePostRequest) Body ¶
func (r ApiDealEstimatePostRequest) Body(body MainEstimateDealBody) ApiDealEstimatePostRequest
The size of the deal in bytes, the replication factor, and the duration of the deal in blocks
type ApiDealInfoDealidGetRequest ¶
type ApiDealInfoDealidGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiDealProposalPropcidGetRequest ¶
type ApiDealProposalPropcidGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiDealQueryMinerGetRequest ¶
type ApiDealQueryMinerGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiDealStatusByProposalPropcidGetRequest ¶
type ApiDealStatusByProposalPropcidGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiDealStatusMinerPropcidGetRequest ¶
type ApiDealStatusMinerPropcidGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiDealTransferInProgressGetRequest ¶
type ApiDealTransferInProgressGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiDealTransferStatusPostRequest ¶
type ApiDealTransferStatusPostRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiDealsFailuresGetRequest ¶
type ApiDealsFailuresGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiDealsMakeMinerPostRequest ¶
type ApiDealsMakeMinerPostRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
func (ApiDealsMakeMinerPostRequest) DealRequest ¶
func (r ApiDealsMakeMinerPostRequest) DealRequest(dealRequest string) ApiDealsMakeMinerPostRequest
Deal Request
type ApiDealsStatusDealGetRequest ¶
type ApiDealsStatusDealGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiNetAddrsGetRequest ¶
type ApiNetAddrsGetRequest struct { ApiService *NetApiService // contains filtered or unexported fields }
type ApiPinningPinsGetRequest ¶
type ApiPinningPinsGetRequest struct { ApiService *PinningApiService // contains filtered or unexported fields }
type ApiPinningPinsPinidDeleteRequest ¶
type ApiPinningPinsPinidDeleteRequest struct { ApiService *PinningApiService // contains filtered or unexported fields }
type ApiPinningPinsPinidGetRequest ¶
type ApiPinningPinsPinidGetRequest struct { ApiService *PinningApiService // contains filtered or unexported fields }
type ApiPinningPinsPinidPostRequest ¶
type ApiPinningPinsPinidPostRequest struct { ApiService *PinningApiService // contains filtered or unexported fields }
type ApiPinningPinsPostRequest ¶
type ApiPinningPinsPostRequest struct { ApiService *PinningApiService // contains filtered or unexported fields }
type ApiPublicByCidCidGetRequest ¶
type ApiPublicByCidCidGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicDealsFailuresGetRequest ¶
type ApiPublicDealsFailuresGetRequest struct { ApiService *DealsApiService // contains filtered or unexported fields }
type ApiPublicInfoGetRequest ¶
type ApiPublicInfoGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicMetricsDealsOnChainGetRequest ¶
type ApiPublicMetricsDealsOnChainGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicMinersDealsMinerGetRequest ¶
type ApiPublicMinersDealsMinerGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicMinersFailuresMinerGetRequest ¶
type ApiPublicMinersFailuresMinerGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicMinersGetRequest ¶
type ApiPublicMinersGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicMinersStatsMinerGetRequest ¶
type ApiPublicMinersStatsMinerGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicNetAddrsGetRequest ¶
type ApiPublicNetAddrsGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicNetPeersGetRequest ¶
type ApiPublicNetPeersGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiPublicStatsGetRequest ¶
type ApiPublicStatsGetRequest struct { ApiService *PublicApiService // contains filtered or unexported fields }
type ApiUserApiKeysGetRequest ¶
type ApiUserApiKeysGetRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiUserApiKeysGetRequest) Execute ¶
func (r ApiUserApiKeysGetRequest) Execute() ([]MainGetApiKeysResp, *http.Response, error)
type ApiUserApiKeysKeyDeleteRequest ¶
type ApiUserApiKeysKeyDeleteRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
type ApiUserApiKeysPostRequest ¶
type ApiUserApiKeysPostRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiUserApiKeysPostRequest) Execute ¶
func (r ApiUserApiKeysPostRequest) Execute() (*MainGetApiKeysResp, *http.Response, error)
type ApiUserExportGetRequest ¶
type ApiUserExportGetRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
type ApiUserStatsGetRequest ¶
type ApiUserStatsGetRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiUserStatsGetRequest) Execute ¶
func (r ApiUserStatsGetRequest) Execute() (*MainUserStatsResponse, *http.Response, error)
type AutoretrieveApiService ¶
type AutoretrieveApiService service
AutoretrieveApiService AutoretrieveApi service
func (*AutoretrieveApiService) AdminAutoretrieveInitPost ¶
func (a *AutoretrieveApiService) AdminAutoretrieveInitPost(ctx context.Context) ApiAdminAutoretrieveInitPostRequest
AdminAutoretrieveInitPost Register autoretrieve server
This endpoint registers a new autoretrieve server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminAutoretrieveInitPostRequest
func (*AutoretrieveApiService) AdminAutoretrieveInitPostExecute ¶
func (a *AutoretrieveApiService) AdminAutoretrieveInitPostExecute(r ApiAdminAutoretrieveInitPostRequest) (*http.Response, error)
Execute executes the request
func (*AutoretrieveApiService) AdminAutoretrieveListGet ¶
func (a *AutoretrieveApiService) AdminAutoretrieveListGet(ctx context.Context) ApiAdminAutoretrieveListGetRequest
AdminAutoretrieveListGet List autoretrieve servers
This endpoint lists all registered autoretrieve servers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminAutoretrieveListGetRequest
func (*AutoretrieveApiService) AdminAutoretrieveListGetExecute ¶
func (a *AutoretrieveApiService) AdminAutoretrieveListGetExecute(r ApiAdminAutoretrieveListGetRequest) (*http.Response, error)
Execute executes the request
func (*AutoretrieveApiService) AutoretrieveHeartbeatPost ¶
func (a *AutoretrieveApiService) AutoretrieveHeartbeatPost(ctx context.Context) ApiAutoretrieveHeartbeatPostRequest
AutoretrieveHeartbeatPost Marks autoretrieve server as up
This endpoint updates the lastConnection field for autoretrieve
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAutoretrieveHeartbeatPostRequest
func (*AutoretrieveApiService) AutoretrieveHeartbeatPostExecute ¶
func (a *AutoretrieveApiService) AutoretrieveHeartbeatPostExecute(r ApiAutoretrieveHeartbeatPostRequest) (*http.Response, error)
Execute executes the request
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CollectionsApiService ¶
type CollectionsApiService service
CollectionsApiService CollectionsApi service
func (*CollectionsApiService) CollectionsAddContentPost ¶
func (a *CollectionsApiService) CollectionsAddContentPost(ctx context.Context) ApiCollectionsAddContentPostRequest
CollectionsAddContentPost Add contents to a collection
When a collection is created, users with valid API keys can add contents to the collection. This endpoint can be used to add contents to a collection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCollectionsAddContentPostRequest
func (*CollectionsApiService) CollectionsAddContentPostExecute ¶
func (a *CollectionsApiService) CollectionsAddContentPostExecute(r ApiCollectionsAddContentPostRequest) (map[string]string, *http.Response, error)
Execute executes the request
@return map[string]string
func (*CollectionsApiService) CollectionsColuuidCommitPost ¶
func (a *CollectionsApiService) CollectionsColuuidCommitPost(ctx context.Context, coluuid string) ApiCollectionsColuuidCommitPostRequest
CollectionsColuuidCommitPost Produce a CID of the collection contents
This endpoint is used to save the contents in a collection, producing a top-level CID that references all the current CIDs in the collection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param coluuid coluuid @return ApiCollectionsColuuidCommitPostRequest
func (*CollectionsApiService) CollectionsColuuidCommitPostExecute ¶
func (a *CollectionsApiService) CollectionsColuuidCommitPostExecute(r ApiCollectionsColuuidCommitPostRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*CollectionsApiService) CollectionsColuuidDelete ¶
func (a *CollectionsApiService) CollectionsColuuidDelete(ctx context.Context, coluuid string) ApiCollectionsColuuidDeleteRequest
CollectionsColuuidDelete Deletes a collection
This endpoint is used to delete an existing collection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param coluuid Collection ID @return ApiCollectionsColuuidDeleteRequest
func (*CollectionsApiService) CollectionsColuuidDeleteExecute ¶
func (a *CollectionsApiService) CollectionsColuuidDeleteExecute(r ApiCollectionsColuuidDeleteRequest) (*http.Response, error)
Execute executes the request
func (*CollectionsApiService) CollectionsContentGet ¶
func (a *CollectionsApiService) CollectionsContentGet(ctx context.Context) ApiCollectionsContentGetRequest
CollectionsContentGet Get contents in a collection
This endpoint is used to get contents in a collection. If no colpath query param is passed
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCollectionsContentGetRequest
func (*CollectionsApiService) CollectionsContentGetExecute ¶
func (a *CollectionsApiService) CollectionsContentGetExecute(r ApiCollectionsContentGetRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*CollectionsApiService) CollectionsCreatePost ¶
func (a *CollectionsApiService) CollectionsCreatePost(ctx context.Context) ApiCollectionsCreatePostRequest
CollectionsCreatePost Create a new collection
This endpoint is used to create a new collection. A collection is a representaion of a group of objects added on the estuary. This endpoint can be used to create a new collection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCollectionsCreatePostRequest
func (*CollectionsApiService) CollectionsCreatePostExecute ¶
func (a *CollectionsApiService) CollectionsCreatePostExecute(r ApiCollectionsCreatePostRequest) (*MainCollection, *http.Response, error)
Execute executes the request
@return MainCollection
func (*CollectionsApiService) CollectionsFsAddPost ¶
func (a *CollectionsApiService) CollectionsFsAddPost(ctx context.Context) ApiCollectionsFsAddPostRequest
CollectionsFsAddPost Add a file to a collection
This endpoint adds a file to a collection
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCollectionsFsAddPostRequest
func (*CollectionsApiService) CollectionsFsAddPostExecute ¶
func (a *CollectionsApiService) CollectionsFsAddPostExecute(r ApiCollectionsFsAddPostRequest) (*http.Response, error)
Execute executes the request
func (*CollectionsApiService) CollectionsListGet ¶
func (a *CollectionsApiService) CollectionsListGet(ctx context.Context, id int32) ApiCollectionsListGetRequest
CollectionsListGet List all collections
This endpoint is used to list all collections. Whenever a user logs on estuary, it will list all collections that the user has access to. This endpoint provides a way to list all collections to the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id User ID @return ApiCollectionsListGetRequest
func (*CollectionsApiService) CollectionsListGetExecute ¶
func (a *CollectionsApiService) CollectionsListGetExecute(r ApiCollectionsListGetRequest) ([]MainCollection, *http.Response, error)
Execute executes the request
@return []MainCollection
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ContentApiService ¶
type ContentApiService service
ContentApiService ContentApi service
func (*ContentApiService) ContentAddCarPost ¶
func (a *ContentApiService) ContentAddCarPost(ctx context.Context) ApiContentAddCarPostRequest
ContentAddCarPost Add Car object
This endpoint is used to add a car object to the network. The object can be a file or a directory.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContentAddCarPostRequest
func (*ContentApiService) ContentAddCarPostExecute ¶
func (a *ContentApiService) ContentAddCarPostExecute(r ApiContentAddCarPostRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentAddIpfsPost ¶
func (a *ContentApiService) ContentAddIpfsPost(ctx context.Context) ApiContentAddIpfsPostRequest
ContentAddIpfsPost Add IPFS object
This endpoint is used to add an IPFS object to the network. The object can be a file or a directory.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContentAddIpfsPostRequest
func (*ContentApiService) ContentAddIpfsPostExecute ¶
func (a *ContentApiService) ContentAddIpfsPostExecute(r ApiContentAddIpfsPostRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentAddPost ¶
func (a *ContentApiService) ContentAddPost(ctx context.Context, coluuid string, dir string) ApiContentAddPostRequest
ContentAddPost Add new content
This endpoint is used to upload new content.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param coluuid Collection UUID @param dir Directory @return ApiContentAddPostRequest
func (*ContentApiService) ContentAddPostExecute ¶
func (a *ContentApiService) ContentAddPostExecute(r ApiContentAddPostRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentAggregatedContentGet ¶
func (a *ContentApiService) ContentAggregatedContentGet(ctx context.Context, content string) ApiContentAggregatedContentGetRequest
ContentAggregatedContentGet Get aggregated content stats
This endpoint returns aggregated content stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param content Content ID @return ApiContentAggregatedContentGetRequest
func (*ContentApiService) ContentAggregatedContentGetExecute ¶
func (a *ContentApiService) ContentAggregatedContentGetExecute(r ApiContentAggregatedContentGetRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ContentApiService) ContentAllDealsGet ¶
func (a *ContentApiService) ContentAllDealsGet(ctx context.Context) ApiContentAllDealsGetRequest
ContentAllDealsGet Get all deals for a user
This endpoint is used to get all deals for a user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContentAllDealsGetRequest
func (*ContentApiService) ContentAllDealsGetExecute ¶
func (a *ContentApiService) ContentAllDealsGetExecute(r ApiContentAllDealsGetRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentBwUsageContentGet ¶
func (a *ContentApiService) ContentBwUsageContentGet(ctx context.Context, content string) ApiContentBwUsageContentGetRequest
ContentBwUsageContentGet Get content bandwidth
This endpoint returns content bandwidth
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param content Content ID @return ApiContentBwUsageContentGetRequest
func (*ContentApiService) ContentBwUsageContentGetExecute ¶
func (a *ContentApiService) ContentBwUsageContentGetExecute(r ApiContentBwUsageContentGetRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentCreatePost ¶
func (a *ContentApiService) ContentCreatePost(ctx context.Context) ApiContentCreatePostRequest
ContentCreatePost Add a new content
This endpoint adds a new content
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContentCreatePostRequest
func (*ContentApiService) ContentCreatePostExecute ¶
func (a *ContentApiService) ContentCreatePostExecute(r ApiContentCreatePostRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentDealsGet ¶
func (a *ContentApiService) ContentDealsGet(ctx context.Context) ApiContentDealsGetRequest
ContentDealsGet Content with deals
This endpoint lists all content with deals
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContentDealsGetRequest
func (*ContentApiService) ContentDealsGetExecute ¶
func (a *ContentApiService) ContentDealsGetExecute(r ApiContentDealsGetRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentEnsureReplicationDatacidGet ¶
func (a *ContentApiService) ContentEnsureReplicationDatacidGet(ctx context.Context, datacid string) ApiContentEnsureReplicationDatacidGetRequest
ContentEnsureReplicationDatacidGet Ensure Replication
This endpoint ensures that the content is replicated to the specified number of providers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param datacid Data CID @return ApiContentEnsureReplicationDatacidGetRequest
func (*ContentApiService) ContentEnsureReplicationDatacidGetExecute ¶
func (a *ContentApiService) ContentEnsureReplicationDatacidGetExecute(r ApiContentEnsureReplicationDatacidGetRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentFailuresContentGet ¶
func (a *ContentApiService) ContentFailuresContentGet(ctx context.Context, content string) ApiContentFailuresContentGetRequest
ContentFailuresContentGet List all failures for a content
This endpoint returns all failures for a content
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param content Content ID @return ApiContentFailuresContentGetRequest
func (*ContentApiService) ContentFailuresContentGetExecute ¶
func (a *ContentApiService) ContentFailuresContentGetExecute(r ApiContentFailuresContentGetRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ContentApiService) ContentImportdealPost ¶
func (a *ContentApiService) ContentImportdealPost(ctx context.Context) ApiContentImportdealPostRequest
ContentImportdealPost Import a deal
This endpoint imports a deal into the shuttle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContentImportdealPostRequest
func (*ContentApiService) ContentImportdealPostExecute ¶
func (a *ContentApiService) ContentImportdealPostExecute(r ApiContentImportdealPostRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentListGet ¶
func (a *ContentApiService) ContentListGet(ctx context.Context) ApiContentListGetRequest
ContentListGet List all pinned content
This endpoint lists all content
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContentListGetRequest
func (*ContentApiService) ContentListGetExecute ¶
func (a *ContentApiService) ContentListGetExecute(r ApiContentListGetRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*ContentApiService) ContentReadContGet ¶
func (a *ContentApiService) ContentReadContGet(ctx context.Context, cont string) ApiContentReadContGetRequest
ContentReadContGet Read content
This endpoint reads content from the blockstore
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param cont CID @return ApiContentReadContGetRequest
func (*ContentApiService) ContentReadContGetExecute ¶
func (a *ContentApiService) ContentReadContGetExecute(r ApiContentReadContGetRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentStagingZonesGet ¶
func (a *ContentApiService) ContentStagingZonesGet(ctx context.Context) ApiContentStagingZonesGetRequest
ContentStagingZonesGet Get staging zone for user
This endpoint is used to get staging zone for user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiContentStagingZonesGetRequest
func (*ContentApiService) ContentStagingZonesGetExecute ¶
func (a *ContentApiService) ContentStagingZonesGetExecute(r ApiContentStagingZonesGetRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentStatsGet ¶
func (a *ContentApiService) ContentStatsGet(ctx context.Context, limit string) ApiContentStatsGetRequest
ContentStatsGet Get content statistics
This endpoint is used to get content statistics. Every content stored in the network (estuary) is tracked by a unique ID which can be used to get information about the content. This endpoint will allow the consumer to get the collected stats of a conten
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param limit limit @return ApiContentStatsGetRequest
func (*ContentApiService) ContentStatsGetExecute ¶
func (a *ContentApiService) ContentStatsGetExecute(r ApiContentStatsGetRequest) (*http.Response, error)
Execute executes the request
func (*ContentApiService) ContentStatusIdGet ¶
func (a *ContentApiService) ContentStatusIdGet(ctx context.Context, id int32) ApiContentStatusIdGetRequest
ContentStatusIdGet Content Status
This endpoint returns the status of a content
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Content ID @return ApiContentStatusIdGetRequest
func (*ContentApiService) ContentStatusIdGetExecute ¶
func (a *ContentApiService) ContentStatusIdGetExecute(r ApiContentStatusIdGetRequest) (*http.Response, error)
Execute executes the request
type DealsApiService ¶
type DealsApiService service
DealsApiService DealsApi service
func (*DealsApiService) DealEstimatePost ¶
func (a *DealsApiService) DealEstimatePost(ctx context.Context) ApiDealEstimatePostRequest
DealEstimatePost Estimate the cost of a deal
This endpoint estimates the cost of a deal
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDealEstimatePostRequest
func (*DealsApiService) DealEstimatePostExecute ¶
func (a *DealsApiService) DealEstimatePostExecute(r ApiDealEstimatePostRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealInfoDealidGet ¶
func (a *DealsApiService) DealInfoDealidGet(ctx context.Context, dealid int32) ApiDealInfoDealidGetRequest
DealInfoDealidGet Get Deal Info
This endpoint returns the deal info for a deal
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param dealid Deal ID @return ApiDealInfoDealidGetRequest
func (*DealsApiService) DealInfoDealidGetExecute ¶
func (a *DealsApiService) DealInfoDealidGetExecute(r ApiDealInfoDealidGetRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealProposalPropcidGet ¶
func (a *DealsApiService) DealProposalPropcidGet(ctx context.Context, propcid string) ApiDealProposalPropcidGetRequest
DealProposalPropcidGet Get Proposal
This endpoint returns the proposal for a deal
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param propcid Proposal CID @return ApiDealProposalPropcidGetRequest
func (*DealsApiService) DealProposalPropcidGetExecute ¶
func (a *DealsApiService) DealProposalPropcidGetExecute(r ApiDealProposalPropcidGetRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealQueryMinerGet ¶
func (a *DealsApiService) DealQueryMinerGet(ctx context.Context, miner string) ApiDealQueryMinerGetRequest
DealQueryMinerGet Query Ask
This endpoint returns the ask for a given CID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param miner CID @return ApiDealQueryMinerGetRequest
func (*DealsApiService) DealQueryMinerGetExecute ¶
func (a *DealsApiService) DealQueryMinerGetExecute(r ApiDealQueryMinerGetRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealStatusByProposalPropcidGet ¶
func (a *DealsApiService) DealStatusByProposalPropcidGet(ctx context.Context, propcid string) ApiDealStatusByProposalPropcidGetRequest
DealStatusByProposalPropcidGet Get Deal Status by PropCid
Get Deal Status by PropCid
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param propcid PropCid @return ApiDealStatusByProposalPropcidGetRequest
func (*DealsApiService) DealStatusByProposalPropcidGetExecute ¶
func (a *DealsApiService) DealStatusByProposalPropcidGetExecute(r ApiDealStatusByProposalPropcidGetRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealStatusMinerPropcidGet ¶
func (a *DealsApiService) DealStatusMinerPropcidGet(ctx context.Context, miner string, propcid string) ApiDealStatusMinerPropcidGetRequest
DealStatusMinerPropcidGet Deal Status
This endpoint returns the status of a deal
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param miner Miner @param propcid Proposal CID @return ApiDealStatusMinerPropcidGetRequest
func (*DealsApiService) DealStatusMinerPropcidGetExecute ¶
func (a *DealsApiService) DealStatusMinerPropcidGetExecute(r ApiDealStatusMinerPropcidGetRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealTransferInProgressGet ¶
func (a *DealsApiService) DealTransferInProgressGet(ctx context.Context) ApiDealTransferInProgressGetRequest
DealTransferInProgressGet Transfer In Progress
This endpoint returns the in-progress transfers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDealTransferInProgressGetRequest
func (*DealsApiService) DealTransferInProgressGetExecute ¶
func (a *DealsApiService) DealTransferInProgressGetExecute(r ApiDealTransferInProgressGetRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealTransferStatusPost ¶
func (a *DealsApiService) DealTransferStatusPost(ctx context.Context) ApiDealTransferStatusPostRequest
DealTransferStatusPost Transfer Status
This endpoint returns the status of a transfer
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDealTransferStatusPostRequest
func (*DealsApiService) DealTransferStatusPostExecute ¶
func (a *DealsApiService) DealTransferStatusPostExecute(r ApiDealTransferStatusPostRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealsFailuresGet ¶
func (a *DealsApiService) DealsFailuresGet(ctx context.Context) ApiDealsFailuresGetRequest
DealsFailuresGet Get storage failures for user
This endpoint returns a list of storage failures for user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDealsFailuresGetRequest
func (*DealsApiService) DealsFailuresGetExecute ¶
func (a *DealsApiService) DealsFailuresGetExecute(r ApiDealsFailuresGetRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealsMakeMinerPost ¶
func (a *DealsApiService) DealsMakeMinerPost(ctx context.Context, miner string) ApiDealsMakeMinerPostRequest
DealsMakeMinerPost Make Deal
This endpoint makes a deal for a given content and miner
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param miner Miner @return ApiDealsMakeMinerPostRequest
func (*DealsApiService) DealsMakeMinerPostExecute ¶
func (a *DealsApiService) DealsMakeMinerPostExecute(r ApiDealsMakeMinerPostRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) DealsStatusDealGet ¶
func (a *DealsApiService) DealsStatusDealGet(ctx context.Context, deal int32) ApiDealsStatusDealGetRequest
DealsStatusDealGet Get Deal Status
This endpoint returns the status of a deal
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deal Deal ID @return ApiDealsStatusDealGetRequest
func (*DealsApiService) DealsStatusDealGetExecute ¶
func (a *DealsApiService) DealsStatusDealGetExecute(r ApiDealsStatusDealGetRequest) (*http.Response, error)
Execute executes the request
func (*DealsApiService) PublicDealsFailuresGet ¶
func (a *DealsApiService) PublicDealsFailuresGet(ctx context.Context) ApiPublicDealsFailuresGetRequest
PublicDealsFailuresGet Get storage failures
This endpoint returns a list of storage failures
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicDealsFailuresGetRequest
func (*DealsApiService) PublicDealsFailuresGetExecute ¶
func (a *DealsApiService) PublicDealsFailuresGetExecute(r ApiPublicDealsFailuresGetRequest) (*http.Response, error)
Execute executes the request
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type MainAddContentToCollectionParams ¶
type MainAddContentToCollectionParams struct { Cids []string `json:"cids,omitempty"` Coluuid *string `json:"coluuid,omitempty"` Contents []int32 `json:"contents,omitempty"` }
MainAddContentToCollectionParams struct for MainAddContentToCollectionParams
func NewMainAddContentToCollectionParams ¶
func NewMainAddContentToCollectionParams() *MainAddContentToCollectionParams
NewMainAddContentToCollectionParams instantiates a new MainAddContentToCollectionParams 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 NewMainAddContentToCollectionParamsWithDefaults ¶
func NewMainAddContentToCollectionParamsWithDefaults() *MainAddContentToCollectionParams
NewMainAddContentToCollectionParamsWithDefaults instantiates a new MainAddContentToCollectionParams 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 (*MainAddContentToCollectionParams) GetCids ¶
func (o *MainAddContentToCollectionParams) GetCids() []string
GetCids returns the Cids field value if set, zero value otherwise.
func (*MainAddContentToCollectionParams) GetCidsOk ¶
func (o *MainAddContentToCollectionParams) GetCidsOk() ([]string, bool)
GetCidsOk returns a tuple with the Cids field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainAddContentToCollectionParams) GetColuuid ¶
func (o *MainAddContentToCollectionParams) GetColuuid() string
GetColuuid returns the Coluuid field value if set, zero value otherwise.
func (*MainAddContentToCollectionParams) GetColuuidOk ¶
func (o *MainAddContentToCollectionParams) GetColuuidOk() (*string, bool)
GetColuuidOk returns a tuple with the Coluuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainAddContentToCollectionParams) GetContents ¶
func (o *MainAddContentToCollectionParams) GetContents() []int32
GetContents returns the Contents field value if set, zero value otherwise.
func (*MainAddContentToCollectionParams) GetContentsOk ¶
func (o *MainAddContentToCollectionParams) GetContentsOk() ([]int32, bool)
GetContentsOk returns a tuple with the Contents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainAddContentToCollectionParams) HasCids ¶
func (o *MainAddContentToCollectionParams) HasCids() bool
HasCids returns a boolean if a field has been set.
func (*MainAddContentToCollectionParams) HasColuuid ¶
func (o *MainAddContentToCollectionParams) HasColuuid() bool
HasColuuid returns a boolean if a field has been set.
func (*MainAddContentToCollectionParams) HasContents ¶
func (o *MainAddContentToCollectionParams) HasContents() bool
HasContents returns a boolean if a field has been set.
func (MainAddContentToCollectionParams) MarshalJSON ¶
func (o MainAddContentToCollectionParams) MarshalJSON() ([]byte, error)
func (*MainAddContentToCollectionParams) SetCids ¶
func (o *MainAddContentToCollectionParams) SetCids(v []string)
SetCids gets a reference to the given []string and assigns it to the Cids field.
func (*MainAddContentToCollectionParams) SetColuuid ¶
func (o *MainAddContentToCollectionParams) SetColuuid(v string)
SetColuuid gets a reference to the given string and assigns it to the Coluuid field.
func (*MainAddContentToCollectionParams) SetContents ¶
func (o *MainAddContentToCollectionParams) SetContents(v []int32)
SetContents gets a reference to the given []int32 and assigns it to the Contents field.
type MainCollection ¶
type MainCollection struct { Cid *string `json:"cid,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` UserId *int32 `json:"userId,omitempty"` Uuid *string `json:"uuid,omitempty"` }
MainCollection struct for MainCollection
func NewMainCollection ¶
func NewMainCollection() *MainCollection
NewMainCollection instantiates a new MainCollection 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 NewMainCollectionWithDefaults ¶
func NewMainCollectionWithDefaults() *MainCollection
NewMainCollectionWithDefaults instantiates a new MainCollection 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 (*MainCollection) GetCid ¶
func (o *MainCollection) GetCid() string
GetCid returns the Cid field value if set, zero value otherwise.
func (*MainCollection) GetCidOk ¶
func (o *MainCollection) GetCidOk() (*string, bool)
GetCidOk returns a tuple with the Cid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainCollection) GetCreatedAt ¶
func (o *MainCollection) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*MainCollection) GetCreatedAtOk ¶
func (o *MainCollection) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainCollection) GetDescription ¶
func (o *MainCollection) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MainCollection) GetDescriptionOk ¶
func (o *MainCollection) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainCollection) GetName ¶
func (o *MainCollection) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MainCollection) GetNameOk ¶
func (o *MainCollection) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainCollection) GetUserId ¶
func (o *MainCollection) GetUserId() int32
GetUserId returns the UserId field value if set, zero value otherwise.
func (*MainCollection) GetUserIdOk ¶
func (o *MainCollection) GetUserIdOk() (*int32, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainCollection) GetUuid ¶
func (o *MainCollection) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise.
func (*MainCollection) GetUuidOk ¶
func (o *MainCollection) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainCollection) HasCid ¶
func (o *MainCollection) HasCid() bool
HasCid returns a boolean if a field has been set.
func (*MainCollection) HasCreatedAt ¶
func (o *MainCollection) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*MainCollection) HasDescription ¶
func (o *MainCollection) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*MainCollection) HasName ¶
func (o *MainCollection) HasName() bool
HasName returns a boolean if a field has been set.
func (*MainCollection) HasUserId ¶
func (o *MainCollection) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (*MainCollection) HasUuid ¶
func (o *MainCollection) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (MainCollection) MarshalJSON ¶
func (o MainCollection) MarshalJSON() ([]byte, error)
func (*MainCollection) SetCid ¶
func (o *MainCollection) SetCid(v string)
SetCid gets a reference to the given string and assigns it to the Cid field.
func (*MainCollection) SetCreatedAt ¶
func (o *MainCollection) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*MainCollection) SetDescription ¶
func (o *MainCollection) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MainCollection) SetName ¶
func (o *MainCollection) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*MainCollection) SetUserId ¶
func (o *MainCollection) SetUserId(v int32)
SetUserId gets a reference to the given int32 and assigns it to the UserId field.
func (*MainCollection) SetUuid ¶
func (o *MainCollection) SetUuid(v string)
SetUuid gets a reference to the given string and assigns it to the Uuid field.
type MainCreateCollectionBody ¶
type MainCreateCollectionBody struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` }
MainCreateCollectionBody struct for MainCreateCollectionBody
func NewMainCreateCollectionBody ¶
func NewMainCreateCollectionBody() *MainCreateCollectionBody
NewMainCreateCollectionBody instantiates a new MainCreateCollectionBody 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 NewMainCreateCollectionBodyWithDefaults ¶
func NewMainCreateCollectionBodyWithDefaults() *MainCreateCollectionBody
NewMainCreateCollectionBodyWithDefaults instantiates a new MainCreateCollectionBody 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 (*MainCreateCollectionBody) GetDescription ¶
func (o *MainCreateCollectionBody) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MainCreateCollectionBody) GetDescriptionOk ¶
func (o *MainCreateCollectionBody) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainCreateCollectionBody) GetName ¶
func (o *MainCreateCollectionBody) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MainCreateCollectionBody) GetNameOk ¶
func (o *MainCreateCollectionBody) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainCreateCollectionBody) HasDescription ¶
func (o *MainCreateCollectionBody) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*MainCreateCollectionBody) HasName ¶
func (o *MainCreateCollectionBody) HasName() bool
HasName returns a boolean if a field has been set.
func (MainCreateCollectionBody) MarshalJSON ¶
func (o MainCreateCollectionBody) MarshalJSON() ([]byte, error)
func (*MainCreateCollectionBody) SetDescription ¶
func (o *MainCreateCollectionBody) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MainCreateCollectionBody) SetName ¶
func (o *MainCreateCollectionBody) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type MainEstimateDealBody ¶
type MainEstimateDealBody struct { DurationBlks *int32 `json:"durationBlks,omitempty"` Replication *int32 `json:"replication,omitempty"` Size *int32 `json:"size,omitempty"` Verified *bool `json:"verified,omitempty"` }
MainEstimateDealBody struct for MainEstimateDealBody
func NewMainEstimateDealBody ¶
func NewMainEstimateDealBody() *MainEstimateDealBody
NewMainEstimateDealBody instantiates a new MainEstimateDealBody 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 NewMainEstimateDealBodyWithDefaults ¶
func NewMainEstimateDealBodyWithDefaults() *MainEstimateDealBody
NewMainEstimateDealBodyWithDefaults instantiates a new MainEstimateDealBody 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 (*MainEstimateDealBody) GetDurationBlks ¶
func (o *MainEstimateDealBody) GetDurationBlks() int32
GetDurationBlks returns the DurationBlks field value if set, zero value otherwise.
func (*MainEstimateDealBody) GetDurationBlksOk ¶
func (o *MainEstimateDealBody) GetDurationBlksOk() (*int32, bool)
GetDurationBlksOk returns a tuple with the DurationBlks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainEstimateDealBody) GetReplication ¶
func (o *MainEstimateDealBody) GetReplication() int32
GetReplication returns the Replication field value if set, zero value otherwise.
func (*MainEstimateDealBody) GetReplicationOk ¶
func (o *MainEstimateDealBody) GetReplicationOk() (*int32, bool)
GetReplicationOk returns a tuple with the Replication field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainEstimateDealBody) GetSize ¶
func (o *MainEstimateDealBody) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*MainEstimateDealBody) GetSizeOk ¶
func (o *MainEstimateDealBody) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainEstimateDealBody) GetVerified ¶
func (o *MainEstimateDealBody) GetVerified() bool
GetVerified returns the Verified field value if set, zero value otherwise.
func (*MainEstimateDealBody) GetVerifiedOk ¶
func (o *MainEstimateDealBody) GetVerifiedOk() (*bool, bool)
GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainEstimateDealBody) HasDurationBlks ¶
func (o *MainEstimateDealBody) HasDurationBlks() bool
HasDurationBlks returns a boolean if a field has been set.
func (*MainEstimateDealBody) HasReplication ¶
func (o *MainEstimateDealBody) HasReplication() bool
HasReplication returns a boolean if a field has been set.
func (*MainEstimateDealBody) HasSize ¶
func (o *MainEstimateDealBody) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*MainEstimateDealBody) HasVerified ¶
func (o *MainEstimateDealBody) HasVerified() bool
HasVerified returns a boolean if a field has been set.
func (MainEstimateDealBody) MarshalJSON ¶
func (o MainEstimateDealBody) MarshalJSON() ([]byte, error)
func (*MainEstimateDealBody) SetDurationBlks ¶
func (o *MainEstimateDealBody) SetDurationBlks(v int32)
SetDurationBlks gets a reference to the given int32 and assigns it to the DurationBlks field.
func (*MainEstimateDealBody) SetReplication ¶
func (o *MainEstimateDealBody) SetReplication(v int32)
SetReplication gets a reference to the given int32 and assigns it to the Replication field.
func (*MainEstimateDealBody) SetSize ¶
func (o *MainEstimateDealBody) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*MainEstimateDealBody) SetVerified ¶
func (o *MainEstimateDealBody) SetVerified(v bool)
SetVerified gets a reference to the given bool and assigns it to the Verified field.
type MainGetApiKeysResp ¶
type MainGetApiKeysResp struct { Expiry *string `json:"expiry,omitempty"` Token *string `json:"token,omitempty"` }
MainGetApiKeysResp struct for MainGetApiKeysResp
func NewMainGetApiKeysResp ¶
func NewMainGetApiKeysResp() *MainGetApiKeysResp
NewMainGetApiKeysResp instantiates a new MainGetApiKeysResp 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 NewMainGetApiKeysRespWithDefaults ¶
func NewMainGetApiKeysRespWithDefaults() *MainGetApiKeysResp
NewMainGetApiKeysRespWithDefaults instantiates a new MainGetApiKeysResp 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 (*MainGetApiKeysResp) GetExpiry ¶
func (o *MainGetApiKeysResp) GetExpiry() string
GetExpiry returns the Expiry field value if set, zero value otherwise.
func (*MainGetApiKeysResp) GetExpiryOk ¶
func (o *MainGetApiKeysResp) GetExpiryOk() (*string, bool)
GetExpiryOk returns a tuple with the Expiry field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetApiKeysResp) GetToken ¶
func (o *MainGetApiKeysResp) GetToken() string
GetToken returns the Token field value if set, zero value otherwise.
func (*MainGetApiKeysResp) GetTokenOk ¶
func (o *MainGetApiKeysResp) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetApiKeysResp) HasExpiry ¶
func (o *MainGetApiKeysResp) HasExpiry() bool
HasExpiry returns a boolean if a field has been set.
func (*MainGetApiKeysResp) HasToken ¶
func (o *MainGetApiKeysResp) HasToken() bool
HasToken returns a boolean if a field has been set.
func (MainGetApiKeysResp) MarshalJSON ¶
func (o MainGetApiKeysResp) MarshalJSON() ([]byte, error)
func (*MainGetApiKeysResp) SetExpiry ¶
func (o *MainGetApiKeysResp) SetExpiry(v string)
SetExpiry gets a reference to the given string and assigns it to the Expiry field.
func (*MainGetApiKeysResp) SetToken ¶
func (o *MainGetApiKeysResp) SetToken(v string)
SetToken gets a reference to the given string and assigns it to the Token field.
type MainImportDealBody ¶
type MainImportDealBody struct { Coluuid *string `json:"coluuid,omitempty"` DealIDs []int32 `json:"dealIDs,omitempty"` Dir *string `json:"dir,omitempty"` Name *string `json:"name,omitempty"` }
MainImportDealBody struct for MainImportDealBody
func NewMainImportDealBody ¶
func NewMainImportDealBody() *MainImportDealBody
NewMainImportDealBody instantiates a new MainImportDealBody 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 NewMainImportDealBodyWithDefaults ¶
func NewMainImportDealBodyWithDefaults() *MainImportDealBody
NewMainImportDealBodyWithDefaults instantiates a new MainImportDealBody 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 (*MainImportDealBody) GetColuuid ¶
func (o *MainImportDealBody) GetColuuid() string
GetColuuid returns the Coluuid field value if set, zero value otherwise.
func (*MainImportDealBody) GetColuuidOk ¶
func (o *MainImportDealBody) GetColuuidOk() (*string, bool)
GetColuuidOk returns a tuple with the Coluuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainImportDealBody) GetDealIDs ¶
func (o *MainImportDealBody) GetDealIDs() []int32
GetDealIDs returns the DealIDs field value if set, zero value otherwise.
func (*MainImportDealBody) GetDealIDsOk ¶
func (o *MainImportDealBody) GetDealIDsOk() ([]int32, bool)
GetDealIDsOk returns a tuple with the DealIDs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainImportDealBody) GetDir ¶
func (o *MainImportDealBody) GetDir() string
GetDir returns the Dir field value if set, zero value otherwise.
func (*MainImportDealBody) GetDirOk ¶
func (o *MainImportDealBody) GetDirOk() (*string, bool)
GetDirOk returns a tuple with the Dir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainImportDealBody) GetName ¶
func (o *MainImportDealBody) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MainImportDealBody) GetNameOk ¶
func (o *MainImportDealBody) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainImportDealBody) HasColuuid ¶
func (o *MainImportDealBody) HasColuuid() bool
HasColuuid returns a boolean if a field has been set.
func (*MainImportDealBody) HasDealIDs ¶
func (o *MainImportDealBody) HasDealIDs() bool
HasDealIDs returns a boolean if a field has been set.
func (*MainImportDealBody) HasDir ¶
func (o *MainImportDealBody) HasDir() bool
HasDir returns a boolean if a field has been set.
func (*MainImportDealBody) HasName ¶
func (o *MainImportDealBody) HasName() bool
HasName returns a boolean if a field has been set.
func (MainImportDealBody) MarshalJSON ¶
func (o MainImportDealBody) MarshalJSON() ([]byte, error)
func (*MainImportDealBody) SetColuuid ¶
func (o *MainImportDealBody) SetColuuid(v string)
SetColuuid gets a reference to the given string and assigns it to the Coluuid field.
func (*MainImportDealBody) SetDealIDs ¶
func (o *MainImportDealBody) SetDealIDs(v []int32)
SetDealIDs gets a reference to the given []int32 and assigns it to the DealIDs field.
func (*MainImportDealBody) SetDir ¶
func (o *MainImportDealBody) SetDir(v string)
SetDir gets a reference to the given string and assigns it to the Dir field.
func (*MainImportDealBody) SetName ¶
func (o *MainImportDealBody) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type MainUserStatsResponse ¶
type MainUserStatsResponse struct { NumPins *int32 `json:"numPins,omitempty"` TotalSize *int32 `json:"totalSize,omitempty"` }
MainUserStatsResponse struct for MainUserStatsResponse
func NewMainUserStatsResponse ¶
func NewMainUserStatsResponse() *MainUserStatsResponse
NewMainUserStatsResponse instantiates a new MainUserStatsResponse 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 NewMainUserStatsResponseWithDefaults ¶
func NewMainUserStatsResponseWithDefaults() *MainUserStatsResponse
NewMainUserStatsResponseWithDefaults instantiates a new MainUserStatsResponse 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 (*MainUserStatsResponse) GetNumPins ¶
func (o *MainUserStatsResponse) GetNumPins() int32
GetNumPins returns the NumPins field value if set, zero value otherwise.
func (*MainUserStatsResponse) GetNumPinsOk ¶
func (o *MainUserStatsResponse) GetNumPinsOk() (*int32, bool)
GetNumPinsOk returns a tuple with the NumPins field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainUserStatsResponse) GetTotalSize ¶
func (o *MainUserStatsResponse) GetTotalSize() int32
GetTotalSize returns the TotalSize field value if set, zero value otherwise.
func (*MainUserStatsResponse) GetTotalSizeOk ¶
func (o *MainUserStatsResponse) GetTotalSizeOk() (*int32, bool)
GetTotalSizeOk returns a tuple with the TotalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainUserStatsResponse) HasNumPins ¶
func (o *MainUserStatsResponse) HasNumPins() bool
HasNumPins returns a boolean if a field has been set.
func (*MainUserStatsResponse) HasTotalSize ¶
func (o *MainUserStatsResponse) HasTotalSize() bool
HasTotalSize returns a boolean if a field has been set.
func (MainUserStatsResponse) MarshalJSON ¶
func (o MainUserStatsResponse) MarshalJSON() ([]byte, error)
func (*MainUserStatsResponse) SetNumPins ¶
func (o *MainUserStatsResponse) SetNumPins(v int32)
SetNumPins gets a reference to the given int32 and assigns it to the NumPins field.
func (*MainUserStatsResponse) SetTotalSize ¶
func (o *MainUserStatsResponse) SetTotalSize(v int32)
SetTotalSize gets a reference to the given int32 and assigns it to the TotalSize field.
type MetricsApiService ¶
type MetricsApiService service
MetricsApiService MetricsApi service
func (*MetricsApiService) PublicMetricsDealsOnChainGet ¶
func (a *MetricsApiService) PublicMetricsDealsOnChainGet(ctx context.Context) ApiPublicMetricsDealsOnChainGetRequest
PublicMetricsDealsOnChainGet Get deal metrics
This endpoint is used to get deal metrics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicMetricsDealsOnChainGetRequest
func (*MetricsApiService) PublicMetricsDealsOnChainGetExecute ¶
func (a *MetricsApiService) PublicMetricsDealsOnChainGetExecute(r ApiPublicMetricsDealsOnChainGetRequest) (*http.Response, error)
Execute executes the request
type MinerApiService ¶
type MinerApiService service
MinerApiService MinerApi service
func (*MinerApiService) PublicMinersDealsMinerGet ¶
func (a *MinerApiService) PublicMinersDealsMinerGet(ctx context.Context, miner string) ApiPublicMinersDealsMinerGetRequest
PublicMinersDealsMinerGet Get all miners deals
This endpoint returns all miners deals
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param miner Filter by miner @return ApiPublicMinersDealsMinerGetRequest
func (*MinerApiService) PublicMinersDealsMinerGetExecute ¶
func (a *MinerApiService) PublicMinersDealsMinerGetExecute(r ApiPublicMinersDealsMinerGetRequest) (*http.Response, error)
Execute executes the request
func (*MinerApiService) PublicMinersStatsMinerGet ¶
func (a *MinerApiService) PublicMinersStatsMinerGet(ctx context.Context, miner string) ApiPublicMinersStatsMinerGetRequest
PublicMinersStatsMinerGet Get miner stats
This endpoint returns miner stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param miner Filter by miner @return ApiPublicMinersStatsMinerGetRequest
func (*MinerApiService) PublicMinersStatsMinerGetExecute ¶
func (a *MinerApiService) PublicMinersStatsMinerGetExecute(r ApiPublicMinersStatsMinerGetRequest) (*http.Response, error)
Execute executes the request
type NetApiService ¶
type NetApiService service
NetApiService NetApi service
func (*NetApiService) NetAddrsGet ¶
func (a *NetApiService) NetAddrsGet(ctx context.Context) ApiNetAddrsGetRequest
NetAddrsGet Net Addrs
This endpoint is used to get net addrs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiNetAddrsGetRequest
func (*NetApiService) NetAddrsGetExecute ¶
func (a *NetApiService) NetAddrsGetExecute(r ApiNetAddrsGetRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*NetApiService) PublicMinersFailuresMinerGet ¶
func (a *NetApiService) PublicMinersFailuresMinerGet(ctx context.Context) ApiPublicMinersFailuresMinerGetRequest
PublicMinersFailuresMinerGet Get all miners
This endpoint returns all miners
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicMinersFailuresMinerGetRequest
func (*NetApiService) PublicMinersFailuresMinerGetExecute ¶
func (a *NetApiService) PublicMinersFailuresMinerGetExecute(r ApiPublicMinersFailuresMinerGetRequest) (*http.Response, error)
Execute executes the request
func (*NetApiService) PublicMinersGet ¶
func (a *NetApiService) PublicMinersGet(ctx context.Context) ApiPublicMinersGetRequest
PublicMinersGet Get all miners
This endpoint returns all miners
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicMinersGetRequest
func (*NetApiService) PublicMinersGetExecute ¶
func (a *NetApiService) PublicMinersGetExecute(r ApiPublicMinersGetRequest) (*http.Response, error)
Execute executes the request
func (*NetApiService) PublicNetAddrsGet ¶
func (a *NetApiService) PublicNetAddrsGet(ctx context.Context) ApiPublicNetAddrsGetRequest
PublicNetAddrsGet Net Addrs
This endpoint is used to get net addrs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicNetAddrsGetRequest
func (*NetApiService) PublicNetAddrsGetExecute ¶
func (a *NetApiService) PublicNetAddrsGetExecute(r ApiPublicNetAddrsGetRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*NetApiService) PublicNetPeersGet ¶
func (a *NetApiService) PublicNetPeersGet(ctx context.Context) ApiPublicNetPeersGetRequest
PublicNetPeersGet Net Peers
This endpoint is used to get net peers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicNetPeersGetRequest
func (*NetApiService) PublicNetPeersGetExecute ¶
func (a *NetApiService) PublicNetPeersGetExecute(r ApiPublicNetPeersGetRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableMainAddContentToCollectionParams ¶
type NullableMainAddContentToCollectionParams struct {
// contains filtered or unexported fields
}
func NewNullableMainAddContentToCollectionParams ¶
func NewNullableMainAddContentToCollectionParams(val *MainAddContentToCollectionParams) *NullableMainAddContentToCollectionParams
func (NullableMainAddContentToCollectionParams) IsSet ¶
func (v NullableMainAddContentToCollectionParams) IsSet() bool
func (NullableMainAddContentToCollectionParams) MarshalJSON ¶
func (v NullableMainAddContentToCollectionParams) MarshalJSON() ([]byte, error)
func (*NullableMainAddContentToCollectionParams) Set ¶
func (v *NullableMainAddContentToCollectionParams) Set(val *MainAddContentToCollectionParams)
func (*NullableMainAddContentToCollectionParams) UnmarshalJSON ¶
func (v *NullableMainAddContentToCollectionParams) UnmarshalJSON(src []byte) error
func (*NullableMainAddContentToCollectionParams) Unset ¶
func (v *NullableMainAddContentToCollectionParams) Unset()
type NullableMainCollection ¶
type NullableMainCollection struct {
// contains filtered or unexported fields
}
func NewNullableMainCollection ¶
func NewNullableMainCollection(val *MainCollection) *NullableMainCollection
func (NullableMainCollection) Get ¶
func (v NullableMainCollection) Get() *MainCollection
func (NullableMainCollection) IsSet ¶
func (v NullableMainCollection) IsSet() bool
func (NullableMainCollection) MarshalJSON ¶
func (v NullableMainCollection) MarshalJSON() ([]byte, error)
func (*NullableMainCollection) Set ¶
func (v *NullableMainCollection) Set(val *MainCollection)
func (*NullableMainCollection) UnmarshalJSON ¶
func (v *NullableMainCollection) UnmarshalJSON(src []byte) error
func (*NullableMainCollection) Unset ¶
func (v *NullableMainCollection) Unset()
type NullableMainCreateCollectionBody ¶
type NullableMainCreateCollectionBody struct {
// contains filtered or unexported fields
}
func NewNullableMainCreateCollectionBody ¶
func NewNullableMainCreateCollectionBody(val *MainCreateCollectionBody) *NullableMainCreateCollectionBody
func (NullableMainCreateCollectionBody) Get ¶
func (v NullableMainCreateCollectionBody) Get() *MainCreateCollectionBody
func (NullableMainCreateCollectionBody) IsSet ¶
func (v NullableMainCreateCollectionBody) IsSet() bool
func (NullableMainCreateCollectionBody) MarshalJSON ¶
func (v NullableMainCreateCollectionBody) MarshalJSON() ([]byte, error)
func (*NullableMainCreateCollectionBody) Set ¶
func (v *NullableMainCreateCollectionBody) Set(val *MainCreateCollectionBody)
func (*NullableMainCreateCollectionBody) UnmarshalJSON ¶
func (v *NullableMainCreateCollectionBody) UnmarshalJSON(src []byte) error
func (*NullableMainCreateCollectionBody) Unset ¶
func (v *NullableMainCreateCollectionBody) Unset()
type NullableMainEstimateDealBody ¶
type NullableMainEstimateDealBody struct {
// contains filtered or unexported fields
}
func NewNullableMainEstimateDealBody ¶
func NewNullableMainEstimateDealBody(val *MainEstimateDealBody) *NullableMainEstimateDealBody
func (NullableMainEstimateDealBody) Get ¶
func (v NullableMainEstimateDealBody) Get() *MainEstimateDealBody
func (NullableMainEstimateDealBody) IsSet ¶
func (v NullableMainEstimateDealBody) IsSet() bool
func (NullableMainEstimateDealBody) MarshalJSON ¶
func (v NullableMainEstimateDealBody) MarshalJSON() ([]byte, error)
func (*NullableMainEstimateDealBody) Set ¶
func (v *NullableMainEstimateDealBody) Set(val *MainEstimateDealBody)
func (*NullableMainEstimateDealBody) UnmarshalJSON ¶
func (v *NullableMainEstimateDealBody) UnmarshalJSON(src []byte) error
func (*NullableMainEstimateDealBody) Unset ¶
func (v *NullableMainEstimateDealBody) Unset()
type NullableMainGetApiKeysResp ¶
type NullableMainGetApiKeysResp struct {
// contains filtered or unexported fields
}
func NewNullableMainGetApiKeysResp ¶
func NewNullableMainGetApiKeysResp(val *MainGetApiKeysResp) *NullableMainGetApiKeysResp
func (NullableMainGetApiKeysResp) Get ¶
func (v NullableMainGetApiKeysResp) Get() *MainGetApiKeysResp
func (NullableMainGetApiKeysResp) IsSet ¶
func (v NullableMainGetApiKeysResp) IsSet() bool
func (NullableMainGetApiKeysResp) MarshalJSON ¶
func (v NullableMainGetApiKeysResp) MarshalJSON() ([]byte, error)
func (*NullableMainGetApiKeysResp) Set ¶
func (v *NullableMainGetApiKeysResp) Set(val *MainGetApiKeysResp)
func (*NullableMainGetApiKeysResp) UnmarshalJSON ¶
func (v *NullableMainGetApiKeysResp) UnmarshalJSON(src []byte) error
func (*NullableMainGetApiKeysResp) Unset ¶
func (v *NullableMainGetApiKeysResp) Unset()
type NullableMainImportDealBody ¶
type NullableMainImportDealBody struct {
// contains filtered or unexported fields
}
func NewNullableMainImportDealBody ¶
func NewNullableMainImportDealBody(val *MainImportDealBody) *NullableMainImportDealBody
func (NullableMainImportDealBody) Get ¶
func (v NullableMainImportDealBody) Get() *MainImportDealBody
func (NullableMainImportDealBody) IsSet ¶
func (v NullableMainImportDealBody) IsSet() bool
func (NullableMainImportDealBody) MarshalJSON ¶
func (v NullableMainImportDealBody) MarshalJSON() ([]byte, error)
func (*NullableMainImportDealBody) Set ¶
func (v *NullableMainImportDealBody) Set(val *MainImportDealBody)
func (*NullableMainImportDealBody) UnmarshalJSON ¶
func (v *NullableMainImportDealBody) UnmarshalJSON(src []byte) error
func (*NullableMainImportDealBody) Unset ¶
func (v *NullableMainImportDealBody) Unset()
type NullableMainUserStatsResponse ¶
type NullableMainUserStatsResponse struct {
// contains filtered or unexported fields
}
func NewNullableMainUserStatsResponse ¶
func NewNullableMainUserStatsResponse(val *MainUserStatsResponse) *NullableMainUserStatsResponse
func (NullableMainUserStatsResponse) Get ¶
func (v NullableMainUserStatsResponse) Get() *MainUserStatsResponse
func (NullableMainUserStatsResponse) IsSet ¶
func (v NullableMainUserStatsResponse) IsSet() bool
func (NullableMainUserStatsResponse) MarshalJSON ¶
func (v NullableMainUserStatsResponse) MarshalJSON() ([]byte, error)
func (*NullableMainUserStatsResponse) Set ¶
func (v *NullableMainUserStatsResponse) Set(val *MainUserStatsResponse)
func (*NullableMainUserStatsResponse) UnmarshalJSON ¶
func (v *NullableMainUserStatsResponse) UnmarshalJSON(src []byte) error
func (*NullableMainUserStatsResponse) Unset ¶
func (v *NullableMainUserStatsResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUtilContentAddIpfsBody ¶
type NullableUtilContentAddIpfsBody struct {
// contains filtered or unexported fields
}
func NewNullableUtilContentAddIpfsBody ¶
func NewNullableUtilContentAddIpfsBody(val *UtilContentAddIpfsBody) *NullableUtilContentAddIpfsBody
func (NullableUtilContentAddIpfsBody) Get ¶
func (v NullableUtilContentAddIpfsBody) Get() *UtilContentAddIpfsBody
func (NullableUtilContentAddIpfsBody) IsSet ¶
func (v NullableUtilContentAddIpfsBody) IsSet() bool
func (NullableUtilContentAddIpfsBody) MarshalJSON ¶
func (v NullableUtilContentAddIpfsBody) MarshalJSON() ([]byte, error)
func (*NullableUtilContentAddIpfsBody) Set ¶
func (v *NullableUtilContentAddIpfsBody) Set(val *UtilContentAddIpfsBody)
func (*NullableUtilContentAddIpfsBody) UnmarshalJSON ¶
func (v *NullableUtilContentAddIpfsBody) UnmarshalJSON(src []byte) error
func (*NullableUtilContentAddIpfsBody) Unset ¶
func (v *NullableUtilContentAddIpfsBody) Unset()
type NullableUtilHttpError ¶
type NullableUtilHttpError struct {
// contains filtered or unexported fields
}
func NewNullableUtilHttpError ¶
func NewNullableUtilHttpError(val *UtilHttpError) *NullableUtilHttpError
func (NullableUtilHttpError) Get ¶
func (v NullableUtilHttpError) Get() *UtilHttpError
func (NullableUtilHttpError) IsSet ¶
func (v NullableUtilHttpError) IsSet() bool
func (NullableUtilHttpError) MarshalJSON ¶
func (v NullableUtilHttpError) MarshalJSON() ([]byte, error)
func (*NullableUtilHttpError) Set ¶
func (v *NullableUtilHttpError) Set(val *UtilHttpError)
func (*NullableUtilHttpError) UnmarshalJSON ¶
func (v *NullableUtilHttpError) UnmarshalJSON(src []byte) error
func (*NullableUtilHttpError) Unset ¶
func (v *NullableUtilHttpError) Unset()
type PeersApiService ¶
type PeersApiService service
PeersApiService PeersApi service
func (*PeersApiService) AdminPeeringPeersDelete ¶
func (a *PeersApiService) AdminPeeringPeersDelete(ctx context.Context) ApiAdminPeeringPeersDeleteRequest
AdminPeeringPeersDelete Remove peers on Peering Service
This endpoint can be used to remove a Peer from the Peering Service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminPeeringPeersDeleteRequest
func (*PeersApiService) AdminPeeringPeersDeleteExecute ¶
func (a *PeersApiService) AdminPeeringPeersDeleteExecute(r ApiAdminPeeringPeersDeleteRequest) (*http.Response, error)
Execute executes the request
func (*PeersApiService) AdminPeeringPeersGet ¶
func (a *PeersApiService) AdminPeeringPeersGet(ctx context.Context) ApiAdminPeeringPeersGetRequest
AdminPeeringPeersGet List all Peering peers
This endpoint can be used to list all peers on Peering Service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminPeeringPeersGetRequest
func (*PeersApiService) AdminPeeringPeersGetExecute ¶
func (a *PeersApiService) AdminPeeringPeersGetExecute(r ApiAdminPeeringPeersGetRequest) (*http.Response, error)
Execute executes the request
func (*PeersApiService) AdminPeeringPeersPost ¶
func (a *PeersApiService) AdminPeeringPeersPost(ctx context.Context) ApiAdminPeeringPeersPostRequest
AdminPeeringPeersPost Add peers on Peering Service
This endpoint can be used to add a Peer from the Peering Service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminPeeringPeersPostRequest
func (*PeersApiService) AdminPeeringPeersPostExecute ¶
func (a *PeersApiService) AdminPeeringPeersPostExecute(r ApiAdminPeeringPeersPostRequest) (*http.Response, error)
Execute executes the request
func (*PeersApiService) AdminPeeringStartPost ¶
func (a *PeersApiService) AdminPeeringStartPost(ctx context.Context) ApiAdminPeeringStartPostRequest
AdminPeeringStartPost Start Peering
This endpoint can be used to start the Peering Service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminPeeringStartPostRequest
func (*PeersApiService) AdminPeeringStartPostExecute ¶
func (a *PeersApiService) AdminPeeringStartPostExecute(r ApiAdminPeeringStartPostRequest) (*http.Response, error)
Execute executes the request
func (*PeersApiService) AdminPeeringStatusGet ¶
func (a *PeersApiService) AdminPeeringStatusGet(ctx context.Context) ApiAdminPeeringStatusGetRequest
AdminPeeringStatusGet Check Peering Status
This endpoint can be used to check the Peering status
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminPeeringStatusGetRequest
func (*PeersApiService) AdminPeeringStatusGetExecute ¶
func (a *PeersApiService) AdminPeeringStatusGetExecute(r ApiAdminPeeringStatusGetRequest) (*http.Response, error)
Execute executes the request
func (*PeersApiService) AdminPeeringStopPost ¶
func (a *PeersApiService) AdminPeeringStopPost(ctx context.Context) ApiAdminPeeringStopPostRequest
AdminPeeringStopPost Stop Peering
This endpoint can be used to stop the Peering Service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAdminPeeringStopPostRequest
func (*PeersApiService) AdminPeeringStopPostExecute ¶
func (a *PeersApiService) AdminPeeringStopPostExecute(r ApiAdminPeeringStopPostRequest) (*http.Response, error)
Execute executes the request
type PinningApiService ¶
type PinningApiService service
PinningApiService PinningApi service
func (*PinningApiService) PinningPinsGet ¶
func (a *PinningApiService) PinningPinsGet(ctx context.Context) ApiPinningPinsGetRequest
PinningPinsGet List all pin status objects
This endpoint lists all pin status objects
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPinningPinsGetRequest
func (*PinningApiService) PinningPinsGetExecute ¶
func (a *PinningApiService) PinningPinsGetExecute(r ApiPinningPinsGetRequest) (*http.Response, error)
Execute executes the request
func (*PinningApiService) PinningPinsPinidDelete ¶
func (a *PinningApiService) PinningPinsPinidDelete(ctx context.Context, pinid string) ApiPinningPinsPinidDeleteRequest
PinningPinsPinidDelete Delete a pinned object
This endpoint deletes a pinned object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param pinid Pin ID @return ApiPinningPinsPinidDeleteRequest
func (*PinningApiService) PinningPinsPinidDeleteExecute ¶
func (a *PinningApiService) PinningPinsPinidDeleteExecute(r ApiPinningPinsPinidDeleteRequest) (*http.Response, error)
Execute executes the request
func (*PinningApiService) PinningPinsPinidGet ¶
func (a *PinningApiService) PinningPinsPinidGet(ctx context.Context, pinid string) ApiPinningPinsPinidGetRequest
PinningPinsPinidGet Get a pin status object
This endpoint returns a pin status object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param pinid cid @return ApiPinningPinsPinidGetRequest
func (*PinningApiService) PinningPinsPinidGetExecute ¶
func (a *PinningApiService) PinningPinsPinidGetExecute(r ApiPinningPinsPinidGetRequest) (*http.Response, error)
Execute executes the request
func (*PinningApiService) PinningPinsPinidPost ¶
func (a *PinningApiService) PinningPinsPinidPost(ctx context.Context, pinid string) ApiPinningPinsPinidPostRequest
PinningPinsPinidPost Replace a pinned object
This endpoint replaces a pinned object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param pinid Pin ID @return ApiPinningPinsPinidPostRequest
func (*PinningApiService) PinningPinsPinidPostExecute ¶
func (a *PinningApiService) PinningPinsPinidPostExecute(r ApiPinningPinsPinidPostRequest) (*http.Response, error)
Execute executes the request
func (*PinningApiService) PinningPinsPost ¶
func (a *PinningApiService) PinningPinsPost(ctx context.Context, cid string, name string) ApiPinningPinsPostRequest
PinningPinsPost Add and pin object
This endpoint adds a pin to the IPFS daemon.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param cid cid @param name name @return ApiPinningPinsPostRequest
func (*PinningApiService) PinningPinsPostExecute ¶
func (a *PinningApiService) PinningPinsPostExecute(r ApiPinningPinsPostRequest) (*http.Response, error)
Execute executes the request
type PublicApiService ¶
type PublicApiService service
PublicApiService PublicApi service
func (*PublicApiService) PublicByCidCidGet ¶
func (a *PublicApiService) PublicByCidCidGet(ctx context.Context, cid string) ApiPublicByCidCidGetRequest
PublicByCidCidGet Get Content by Cid
This endpoint returns the content associated with a CID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param cid Cid @return ApiPublicByCidCidGetRequest
func (*PublicApiService) PublicByCidCidGetExecute ¶
func (a *PublicApiService) PublicByCidCidGetExecute(r ApiPublicByCidCidGetRequest) (*http.Response, error)
Execute executes the request
func (*PublicApiService) PublicInfoGet ¶
func (a *PublicApiService) PublicInfoGet(ctx context.Context) ApiPublicInfoGetRequest
PublicInfoGet Get public node info
This endpoint returns information about the node
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicInfoGetRequest
func (*PublicApiService) PublicInfoGetExecute ¶
func (a *PublicApiService) PublicInfoGetExecute(r ApiPublicInfoGetRequest) (*http.Response, error)
Execute executes the request
func (*PublicApiService) PublicMetricsDealsOnChainGet ¶
func (a *PublicApiService) PublicMetricsDealsOnChainGet(ctx context.Context) ApiPublicMetricsDealsOnChainGetRequest
PublicMetricsDealsOnChainGet Get deal metrics
This endpoint is used to get deal metrics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicMetricsDealsOnChainGetRequest
func (*PublicApiService) PublicMetricsDealsOnChainGetExecute ¶
func (a *PublicApiService) PublicMetricsDealsOnChainGetExecute(r ApiPublicMetricsDealsOnChainGetRequest) (*http.Response, error)
Execute executes the request
func (*PublicApiService) PublicMinersDealsMinerGet ¶
func (a *PublicApiService) PublicMinersDealsMinerGet(ctx context.Context, miner string) ApiPublicMinersDealsMinerGetRequest
PublicMinersDealsMinerGet Get all miners deals
This endpoint returns all miners deals
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param miner Filter by miner @return ApiPublicMinersDealsMinerGetRequest
func (*PublicApiService) PublicMinersDealsMinerGetExecute ¶
func (a *PublicApiService) PublicMinersDealsMinerGetExecute(r ApiPublicMinersDealsMinerGetRequest) (*http.Response, error)
Execute executes the request
func (*PublicApiService) PublicMinersFailuresMinerGet ¶
func (a *PublicApiService) PublicMinersFailuresMinerGet(ctx context.Context) ApiPublicMinersFailuresMinerGetRequest
PublicMinersFailuresMinerGet Get all miners
This endpoint returns all miners
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicMinersFailuresMinerGetRequest
func (*PublicApiService) PublicMinersFailuresMinerGetExecute ¶
func (a *PublicApiService) PublicMinersFailuresMinerGetExecute(r ApiPublicMinersFailuresMinerGetRequest) (*http.Response, error)
Execute executes the request
func (*PublicApiService) PublicMinersGet ¶
func (a *PublicApiService) PublicMinersGet(ctx context.Context) ApiPublicMinersGetRequest
PublicMinersGet Get all miners
This endpoint returns all miners
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicMinersGetRequest
func (*PublicApiService) PublicMinersGetExecute ¶
func (a *PublicApiService) PublicMinersGetExecute(r ApiPublicMinersGetRequest) (*http.Response, error)
Execute executes the request
func (*PublicApiService) PublicMinersStatsMinerGet ¶
func (a *PublicApiService) PublicMinersStatsMinerGet(ctx context.Context, miner string) ApiPublicMinersStatsMinerGetRequest
PublicMinersStatsMinerGet Get miner stats
This endpoint returns miner stats
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param miner Filter by miner @return ApiPublicMinersStatsMinerGetRequest
func (*PublicApiService) PublicMinersStatsMinerGetExecute ¶
func (a *PublicApiService) PublicMinersStatsMinerGetExecute(r ApiPublicMinersStatsMinerGetRequest) (*http.Response, error)
Execute executes the request
func (*PublicApiService) PublicNetAddrsGet ¶
func (a *PublicApiService) PublicNetAddrsGet(ctx context.Context) ApiPublicNetAddrsGetRequest
PublicNetAddrsGet Net Addrs
This endpoint is used to get net addrs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicNetAddrsGetRequest
func (*PublicApiService) PublicNetAddrsGetExecute ¶
func (a *PublicApiService) PublicNetAddrsGetExecute(r ApiPublicNetAddrsGetRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*PublicApiService) PublicNetPeersGet ¶
func (a *PublicApiService) PublicNetPeersGet(ctx context.Context) ApiPublicNetPeersGetRequest
PublicNetPeersGet Net Peers
This endpoint is used to get net peers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicNetPeersGetRequest
func (*PublicApiService) PublicNetPeersGetExecute ¶
func (a *PublicApiService) PublicNetPeersGetExecute(r ApiPublicNetPeersGetRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*PublicApiService) PublicStatsGet ¶
func (a *PublicApiService) PublicStatsGet(ctx context.Context) ApiPublicStatsGetRequest
PublicStatsGet Public stats
This endpoint is used to get public stats.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicStatsGetRequest
func (*PublicApiService) PublicStatsGetExecute ¶
func (a *PublicApiService) PublicStatsGetExecute(r ApiPublicStatsGetRequest) (*http.Response, error)
Execute executes the request
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type UserApiService ¶
type UserApiService service
UserApiService UserApi service
func (*UserApiService) UserApiKeysGet ¶
func (a *UserApiService) UserApiKeysGet(ctx context.Context) ApiUserApiKeysGetRequest
UserApiKeysGet Get API keys for a user
This endpoint is used to get API keys for a user. In estuary, each user can be given multiple API keys (tokens). This endpoint can be used to retrieve all available API keys for a given user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserApiKeysGetRequest
func (*UserApiService) UserApiKeysGetExecute ¶
func (a *UserApiService) UserApiKeysGetExecute(r ApiUserApiKeysGetRequest) ([]MainGetApiKeysResp, *http.Response, error)
Execute executes the request
@return []MainGetApiKeysResp
func (*UserApiService) UserApiKeysKeyDelete ¶
func (a *UserApiService) UserApiKeysKeyDelete(ctx context.Context, key string) ApiUserApiKeysKeyDeleteRequest
UserApiKeysKeyDelete Revoke a User API Key.
This endpoint is used to revoke a user API key. In estuary, every user is assigned with an API key, this API key is generated and issued for each user and is primarily use to access all estuary features. This endpoint can be used to revoke the API key thats assigned to the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param key Key @return ApiUserApiKeysKeyDeleteRequest
func (*UserApiService) UserApiKeysKeyDeleteExecute ¶
func (a *UserApiService) UserApiKeysKeyDeleteExecute(r ApiUserApiKeysKeyDeleteRequest) (*http.Response, error)
Execute executes the request
func (*UserApiService) UserApiKeysPost ¶
func (a *UserApiService) UserApiKeysPost(ctx context.Context) ApiUserApiKeysPostRequest
UserApiKeysPost Create API keys for a user
This endpoint is used to create API keys for a user. In estuary, each user is given an API key to access all features.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserApiKeysPostRequest
func (*UserApiService) UserApiKeysPostExecute ¶
func (a *UserApiService) UserApiKeysPostExecute(r ApiUserApiKeysPostRequest) (*MainGetApiKeysResp, *http.Response, error)
Execute executes the request
@return MainGetApiKeysResp
func (*UserApiService) UserExportGet ¶
func (a *UserApiService) UserExportGet(ctx context.Context) ApiUserExportGetRequest
UserExportGet Export user data
This endpoint is used to get API keys for a user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserExportGetRequest
func (*UserApiService) UserExportGetExecute ¶
func (a *UserApiService) UserExportGetExecute(r ApiUserExportGetRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*UserApiService) UserStatsGet ¶
func (a *UserApiService) UserStatsGet(ctx context.Context) ApiUserStatsGetRequest
UserStatsGet Create API keys for a user
This endpoint is used to create API keys for a user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserStatsGetRequest
func (*UserApiService) UserStatsGetExecute ¶
func (a *UserApiService) UserStatsGetExecute(r ApiUserStatsGetRequest) (*MainUserStatsResponse, *http.Response, error)
Execute executes the request
@return MainUserStatsResponse
type UtilContentAddIpfsBody ¶
type UtilContentAddIpfsBody struct { Coluuid *string `json:"coluuid,omitempty"` Dir *string `json:"dir,omitempty"` Filename *string `json:"filename,omitempty"` Peers []string `json:"peers,omitempty"` Root *string `json:"root,omitempty"` }
UtilContentAddIpfsBody struct for UtilContentAddIpfsBody
func NewUtilContentAddIpfsBody ¶
func NewUtilContentAddIpfsBody() *UtilContentAddIpfsBody
NewUtilContentAddIpfsBody instantiates a new UtilContentAddIpfsBody 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 NewUtilContentAddIpfsBodyWithDefaults ¶
func NewUtilContentAddIpfsBodyWithDefaults() *UtilContentAddIpfsBody
NewUtilContentAddIpfsBodyWithDefaults instantiates a new UtilContentAddIpfsBody 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 (*UtilContentAddIpfsBody) GetColuuid ¶
func (o *UtilContentAddIpfsBody) GetColuuid() string
GetColuuid returns the Coluuid field value if set, zero value otherwise.
func (*UtilContentAddIpfsBody) GetColuuidOk ¶
func (o *UtilContentAddIpfsBody) GetColuuidOk() (*string, bool)
GetColuuidOk returns a tuple with the Coluuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtilContentAddIpfsBody) GetDir ¶
func (o *UtilContentAddIpfsBody) GetDir() string
GetDir returns the Dir field value if set, zero value otherwise.
func (*UtilContentAddIpfsBody) GetDirOk ¶
func (o *UtilContentAddIpfsBody) GetDirOk() (*string, bool)
GetDirOk returns a tuple with the Dir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtilContentAddIpfsBody) GetFilename ¶
func (o *UtilContentAddIpfsBody) GetFilename() string
GetFilename returns the Filename field value if set, zero value otherwise.
func (*UtilContentAddIpfsBody) GetFilenameOk ¶
func (o *UtilContentAddIpfsBody) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtilContentAddIpfsBody) GetPeers ¶
func (o *UtilContentAddIpfsBody) GetPeers() []string
GetPeers returns the Peers field value if set, zero value otherwise.
func (*UtilContentAddIpfsBody) GetPeersOk ¶
func (o *UtilContentAddIpfsBody) GetPeersOk() ([]string, bool)
GetPeersOk returns a tuple with the Peers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtilContentAddIpfsBody) GetRoot ¶
func (o *UtilContentAddIpfsBody) GetRoot() string
GetRoot returns the Root field value if set, zero value otherwise.
func (*UtilContentAddIpfsBody) GetRootOk ¶
func (o *UtilContentAddIpfsBody) GetRootOk() (*string, bool)
GetRootOk returns a tuple with the Root field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtilContentAddIpfsBody) HasColuuid ¶
func (o *UtilContentAddIpfsBody) HasColuuid() bool
HasColuuid returns a boolean if a field has been set.
func (*UtilContentAddIpfsBody) HasDir ¶
func (o *UtilContentAddIpfsBody) HasDir() bool
HasDir returns a boolean if a field has been set.
func (*UtilContentAddIpfsBody) HasFilename ¶
func (o *UtilContentAddIpfsBody) HasFilename() bool
HasFilename returns a boolean if a field has been set.
func (*UtilContentAddIpfsBody) HasPeers ¶
func (o *UtilContentAddIpfsBody) HasPeers() bool
HasPeers returns a boolean if a field has been set.
func (*UtilContentAddIpfsBody) HasRoot ¶
func (o *UtilContentAddIpfsBody) HasRoot() bool
HasRoot returns a boolean if a field has been set.
func (UtilContentAddIpfsBody) MarshalJSON ¶
func (o UtilContentAddIpfsBody) MarshalJSON() ([]byte, error)
func (*UtilContentAddIpfsBody) SetColuuid ¶
func (o *UtilContentAddIpfsBody) SetColuuid(v string)
SetColuuid gets a reference to the given string and assigns it to the Coluuid field.
func (*UtilContentAddIpfsBody) SetDir ¶
func (o *UtilContentAddIpfsBody) SetDir(v string)
SetDir gets a reference to the given string and assigns it to the Dir field.
func (*UtilContentAddIpfsBody) SetFilename ¶
func (o *UtilContentAddIpfsBody) SetFilename(v string)
SetFilename gets a reference to the given string and assigns it to the Filename field.
func (*UtilContentAddIpfsBody) SetPeers ¶
func (o *UtilContentAddIpfsBody) SetPeers(v []string)
SetPeers gets a reference to the given []string and assigns it to the Peers field.
func (*UtilContentAddIpfsBody) SetRoot ¶
func (o *UtilContentAddIpfsBody) SetRoot(v string)
SetRoot gets a reference to the given string and assigns it to the Root field.
type UtilHttpError ¶
type UtilHttpError struct { Code *int32 `json:"code,omitempty"` Details *string `json:"details,omitempty"` Reason *string `json:"reason,omitempty"` }
UtilHttpError struct for UtilHttpError
func NewUtilHttpError ¶
func NewUtilHttpError() *UtilHttpError
NewUtilHttpError instantiates a new UtilHttpError 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 NewUtilHttpErrorWithDefaults ¶
func NewUtilHttpErrorWithDefaults() *UtilHttpError
NewUtilHttpErrorWithDefaults instantiates a new UtilHttpError 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 (*UtilHttpError) GetCode ¶
func (o *UtilHttpError) GetCode() int32
GetCode returns the Code field value if set, zero value otherwise.
func (*UtilHttpError) GetCodeOk ¶
func (o *UtilHttpError) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtilHttpError) GetDetails ¶
func (o *UtilHttpError) GetDetails() string
GetDetails returns the Details field value if set, zero value otherwise.
func (*UtilHttpError) GetDetailsOk ¶
func (o *UtilHttpError) GetDetailsOk() (*string, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtilHttpError) GetReason ¶
func (o *UtilHttpError) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*UtilHttpError) GetReasonOk ¶
func (o *UtilHttpError) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtilHttpError) HasCode ¶
func (o *UtilHttpError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*UtilHttpError) HasDetails ¶
func (o *UtilHttpError) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*UtilHttpError) HasReason ¶
func (o *UtilHttpError) HasReason() bool
HasReason returns a boolean if a field has been set.
func (UtilHttpError) MarshalJSON ¶
func (o UtilHttpError) MarshalJSON() ([]byte, error)
func (*UtilHttpError) SetCode ¶
func (o *UtilHttpError) SetCode(v int32)
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*UtilHttpError) SetDetails ¶
func (o *UtilHttpError) SetDetails(v string)
SetDetails gets a reference to the given string and assigns it to the Details field.
func (*UtilHttpError) SetReason ¶
func (o *UtilHttpError) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
Source Files ¶
- api_autoretrieve.go
- api_collections.go
- api_content.go
- api_deals.go
- api_metrics.go
- api_miner.go
- api_net.go
- api_peers.go
- api_pinning.go
- api_public.go
- api_user.go
- client.go
- configuration.go
- model_main_add_content_to_collection_params.go
- model_main_collection.go
- model_main_create_collection_body.go
- model_main_estimate_deal_body.go
- model_main_get_api_keys_resp.go
- model_main_import_deal_body.go
- model_main_user_stats_response.go
- model_util_content_add_ipfs_body.go
- model_util_http_error.go
- response.go
- utils.go