package stats
Import Path
github.com/nutanix-core/ntnx-api-golang-sdk-external/files-go-client/v4/models/files/v4/stats (on go.dev)
Dependency Relation
imports 5 packages, and imported by one package
Involved Source Files
Module for stats APIs for file server
Package-Level Type Names (total 8, all are exported)
*
REST response for all response codes in api path /files/v4.0.a2/stats/file-server/anti-virus-servers/{antivirusServerExtId} Get operation
Data *OneOfAntivirusServerStatsApiResponseData
*
Metadata *import2.ApiResponseMetadata
ObjectType_ *string
Reserved_ map[string]interface{}
UnknownFields_ map[string]interface{}
(*T) GetData() interface{}
(*T) SetData(v interface{}) error
func NewAntivirusServerStatsApiResponse() *AntivirusServerStatsApiResponse
func github.com/nutanix-core/ntnx-api-golang-sdk-external/files-go-client/v4/api.(*AnalyticsApi).GetAntivirusServerStats(antivirusServerExtId *string, metrics *string, startTimeInUsecs *int64, endTimeInUsecs *int64, args ...map[string]interface{}) (*AntivirusServerStatsApiResponse, error)
*
REST response for all response codes in api path /files/v4.0.a2/stats/file-server Get operation
Data *OneOfFileServerStatsApiResponseData
*
Metadata *import2.ApiResponseMetadata
ObjectType_ *string
Reserved_ map[string]interface{}
UnknownFields_ map[string]interface{}
(*T) GetData() interface{}
(*T) SetData(v interface{}) error
func NewFileServerStatsApiResponse() *FileServerStatsApiResponse
func github.com/nutanix-core/ntnx-api-golang-sdk-external/files-go-client/v4/api.(*AnalyticsApi).GetFileServerStats(metrics *string, startTimeInUsecs *int64, endTimeInUsecs *int64, args ...map[string]interface{}) (*FileServerStatsApiResponse, error)
*
REST response for all response codes in api path /files/v4.0.a2/stats/file-server/mount-targets/{mountTargetExtId} Get operation
Data *OneOfMountTargetStatsApiResponseData
*
Metadata *import2.ApiResponseMetadata
ObjectType_ *string
Reserved_ map[string]interface{}
UnknownFields_ map[string]interface{}
(*T) GetData() interface{}
(*T) SetData(v interface{}) error
func NewMountTargetStatsApiResponse() *MountTargetStatsApiResponse
func github.com/nutanix-core/ntnx-api-golang-sdk-external/files-go-client/v4/api.(*AnalyticsApi).GetMountTargetStats(mountTargetExtId *string, metrics *string, startTimeInUsecs *int64, endTimeInUsecs *int64, args ...map[string]interface{}) (*MountTargetStatsApiResponse, error)
Discriminator *string
ObjectType_ *string
oneOfType0 []Stats
oneOfType400 *import1.ErrorResponse
(*T) GetValue() interface{}
(*T) MarshalJSON() ([]byte, error)
(*T) SetValue(v interface{}) error
(*T) UnmarshalJSON(b []byte) error
*T : encoding/json.Marshaler
*T : encoding/json.Unmarshaler
func NewOneOfAntivirusServerStatsApiResponseData() *OneOfAntivirusServerStatsApiResponseData
Discriminator *string
ObjectType_ *string
oneOfType0 []Stats
oneOfType400 *import1.ErrorResponse
(*T) GetValue() interface{}
(*T) MarshalJSON() ([]byte, error)
(*T) SetValue(v interface{}) error
(*T) UnmarshalJSON(b []byte) error
*T : encoding/json.Marshaler
*T : encoding/json.Unmarshaler
func NewOneOfFileServerStatsApiResponseData() *OneOfFileServerStatsApiResponseData
Discriminator *string
ObjectType_ *string
oneOfType0 []Stats
oneOfType400 *import1.ErrorResponse
(*T) GetValue() interface{}
(*T) MarshalJSON() ([]byte, error)
(*T) SetValue(v interface{}) error
(*T) UnmarshalJSON(b []byte) error
*T : encoding/json.Marshaler
*T : encoding/json.Unmarshaler
func NewOneOfMountTargetStatsApiResponseData() *OneOfMountTargetStatsApiResponseData
*
Stats model
*
Count of available data points. This is a read-only field.
*
Sampling interval of stats
*
Message
*
Metric to received. For example - scanned_file_count, threat_count, cleaned_file_count,quarantined_file_count, latency_ms, throughput_bytes, disconnect_count.
ObjectType_ *string
Reserved_ map[string]interface{}
*
Start time in microseconds to retrieve all the stats generated after this timestamp. For example: 1622705280584000
*
Success status
UnknownFields_ map[string]interface{}
*
List of timestamp based data points objects.
func NewStats() *Stats
ObjectType_ *string
Reserved_ map[string]interface{}
Time *int64
UnknownFields_ map[string]interface{}
Value *int64
func NewValueMap() *ValueMap
Package-Level Functions (total 8, all are exported)
func NewValueMap() *ValueMap