Name | Type | Description | Notes |
---|---|---|---|
AvgMs | Pointer to int64 | Average duration in milliseconds for the queries examined that match this shape. | [optional] [readonly] |
Count | Pointer to int64 | Number of queries examined that match this shape. | [optional] [readonly] |
Id | Pointer to string | Unique 24-hexadecimal digit string that identifies this shape. This string exists only for the duration of this API request. | [optional] [readonly] |
InefficiencyScore | Pointer to int64 | Average number of documents read for every document that the query returns. | [optional] [readonly] |
Namespace | Pointer to string | Human-readable label that identifies the namespace on the specified host. The resource expresses this parameter value as `<database>.<collection>`. | [optional] [readonly] |
Operations | Pointer to []PerformanceAdvisorOperationView | List that contains specific about individual queries. | [optional] [readonly] |
func NewApiPerformanceAdvisorShapeView() *ApiPerformanceAdvisorShapeView
NewApiPerformanceAdvisorShapeView instantiates a new ApiPerformanceAdvisorShapeView 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 NewApiPerformanceAdvisorShapeViewWithDefaults() *ApiPerformanceAdvisorShapeView
NewApiPerformanceAdvisorShapeViewWithDefaults instantiates a new ApiPerformanceAdvisorShapeView object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ApiPerformanceAdvisorShapeView) GetAvgMs() int64
GetAvgMs returns the AvgMs field if non-nil, zero value otherwise.
func (o *ApiPerformanceAdvisorShapeView) GetAvgMsOk() (*int64, bool)
GetAvgMsOk returns a tuple with the AvgMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiPerformanceAdvisorShapeView) SetAvgMs(v int64)
SetAvgMs sets AvgMs field to given value.
func (o *ApiPerformanceAdvisorShapeView) HasAvgMs() bool
HasAvgMs returns a boolean if a field has been set.
func (o *ApiPerformanceAdvisorShapeView) GetCount() int64
GetCount returns the Count field if non-nil, zero value otherwise.
func (o *ApiPerformanceAdvisorShapeView) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiPerformanceAdvisorShapeView) SetCount(v int64)
SetCount sets Count field to given value.
func (o *ApiPerformanceAdvisorShapeView) HasCount() bool
HasCount returns a boolean if a field has been set.
func (o *ApiPerformanceAdvisorShapeView) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ApiPerformanceAdvisorShapeView) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiPerformanceAdvisorShapeView) SetId(v string)
SetId sets Id field to given value.
func (o *ApiPerformanceAdvisorShapeView) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ApiPerformanceAdvisorShapeView) GetInefficiencyScore() int64
GetInefficiencyScore returns the InefficiencyScore field if non-nil, zero value otherwise.
func (o *ApiPerformanceAdvisorShapeView) GetInefficiencyScoreOk() (*int64, bool)
GetInefficiencyScoreOk returns a tuple with the InefficiencyScore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiPerformanceAdvisorShapeView) SetInefficiencyScore(v int64)
SetInefficiencyScore sets InefficiencyScore field to given value.
func (o *ApiPerformanceAdvisorShapeView) HasInefficiencyScore() bool
HasInefficiencyScore returns a boolean if a field has been set.
func (o *ApiPerformanceAdvisorShapeView) GetNamespace() string
GetNamespace returns the Namespace field if non-nil, zero value otherwise.
func (o *ApiPerformanceAdvisorShapeView) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiPerformanceAdvisorShapeView) SetNamespace(v string)
SetNamespace sets Namespace field to given value.
func (o *ApiPerformanceAdvisorShapeView) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (o *ApiPerformanceAdvisorShapeView) GetOperations() []PerformanceAdvisorOperationView
GetOperations returns the Operations field if non-nil, zero value otherwise.
func (o *ApiPerformanceAdvisorShapeView) GetOperationsOk() (*[]PerformanceAdvisorOperationView, bool)
GetOperationsOk returns a tuple with the Operations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiPerformanceAdvisorShapeView) SetOperations(v []PerformanceAdvisorOperationView)
SetOperations sets Operations field to given value.
func (o *ApiPerformanceAdvisorShapeView) HasOperations() bool
HasOperations returns a boolean if a field has been set.