Name | Type | Description | Notes |
---|---|---|---|
ClassId | string | The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. | [default to "forecast.Instance"] |
ObjectType | string | The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. | [default to "forecast.Instance"] |
Action | Pointer to string | Action to be triggered on forecast instance. Default value is None. * `None` - The Enum value None represents that no action is triggered on the forecast Instance managed object. * `Evaluate` - The Enum value Evaluate represents that a re-evaluation of the forecast needs to be triggered. | [optional] [default to "None"] |
AltModel | Pointer to []float32 | [optional] | |
DataInterval | Pointer to int64 | The time interval (in days) for the data to be used for computing forecast model. | [optional] [default to 180] |
DataStartDate | Pointer to time.Time | The start date from when the data should be used for computing forecast model. | [optional] |
DeviceId | Pointer to string | The Moid of the Intersight managed device instance for which regression model is derived. | [optional] [readonly] |
FullCapDays | Pointer to int64 | The number of days remaining before the device reaches its full functional capacity. | [optional] [readonly] |
LastModelUpdateTime | Pointer to time.Time | The time when the forecast model was last updated. | [optional] [readonly] |
MetricName | Pointer to string | The name of the metric for which regression model is generated. | [optional] [readonly] |
MinDaysForForecast | Pointer to int64 | The minimum number of days the HyperFlex cluster should be up for computing forecast. | [optional] [readonly] |
Model | Pointer to NullableForecastModel | [optional] | |
ThresholdDays | Pointer to int64 | The number of days remaining before the device reaches the specified threshold for the metric as defined in definition. | [optional] [readonly] [default to 2147483647] |
ForecastDef | Pointer to NullableForecastDefinitionRelationship | [optional] | |
RegisteredDevice | Pointer to NullableAssetDeviceRegistrationRelationship | [optional] |
func NewForecastInstance(classId string, objectType string, ) *ForecastInstance
NewForecastInstance instantiates a new ForecastInstance 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 NewForecastInstanceWithDefaults() *ForecastInstance
NewForecastInstanceWithDefaults instantiates a new ForecastInstance 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 *ForecastInstance) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetClassIdOk() (*string, bool)
GetClassIdOk returns a tuple with the ClassId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *ForecastInstance) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *ForecastInstance) GetAction() string
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetAction(v string)
SetAction sets Action field to given value.
func (o *ForecastInstance) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *ForecastInstance) GetAltModel() []float32
GetAltModel returns the AltModel field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetAltModelOk() (*[]float32, bool)
GetAltModelOk returns a tuple with the AltModel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetAltModel(v []float32)
SetAltModel sets AltModel field to given value.
func (o *ForecastInstance) HasAltModel() bool
HasAltModel returns a boolean if a field has been set.
func (o *ForecastInstance) SetAltModelNil(b bool)
SetAltModelNil sets the value for AltModel to be an explicit nil
func (o *ForecastInstance) UnsetAltModel()
UnsetAltModel ensures that no value is present for AltModel, not even an explicit nil
func (o *ForecastInstance) GetDataInterval() int64
GetDataInterval returns the DataInterval field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetDataIntervalOk() (*int64, bool)
GetDataIntervalOk returns a tuple with the DataInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetDataInterval(v int64)
SetDataInterval sets DataInterval field to given value.
func (o *ForecastInstance) HasDataInterval() bool
HasDataInterval returns a boolean if a field has been set.
func (o *ForecastInstance) GetDataStartDate() time.Time
GetDataStartDate returns the DataStartDate field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetDataStartDateOk() (*time.Time, bool)
GetDataStartDateOk returns a tuple with the DataStartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetDataStartDate(v time.Time)
SetDataStartDate sets DataStartDate field to given value.
func (o *ForecastInstance) HasDataStartDate() bool
HasDataStartDate returns a boolean if a field has been set.
func (o *ForecastInstance) GetDeviceId() string
GetDeviceId returns the DeviceId field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetDeviceIdOk() (*string, bool)
GetDeviceIdOk returns a tuple with the DeviceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetDeviceId(v string)
SetDeviceId sets DeviceId field to given value.
func (o *ForecastInstance) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (o *ForecastInstance) GetFullCapDays() int64
GetFullCapDays returns the FullCapDays field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetFullCapDaysOk() (*int64, bool)
GetFullCapDaysOk returns a tuple with the FullCapDays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetFullCapDays(v int64)
SetFullCapDays sets FullCapDays field to given value.
func (o *ForecastInstance) HasFullCapDays() bool
HasFullCapDays returns a boolean if a field has been set.
func (o *ForecastInstance) GetLastModelUpdateTime() time.Time
GetLastModelUpdateTime returns the LastModelUpdateTime field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetLastModelUpdateTimeOk() (*time.Time, bool)
GetLastModelUpdateTimeOk returns a tuple with the LastModelUpdateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetLastModelUpdateTime(v time.Time)
SetLastModelUpdateTime sets LastModelUpdateTime field to given value.
func (o *ForecastInstance) HasLastModelUpdateTime() bool
HasLastModelUpdateTime returns a boolean if a field has been set.
func (o *ForecastInstance) GetMetricName() string
GetMetricName returns the MetricName field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetMetricNameOk() (*string, bool)
GetMetricNameOk returns a tuple with the MetricName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetMetricName(v string)
SetMetricName sets MetricName field to given value.
func (o *ForecastInstance) HasMetricName() bool
HasMetricName returns a boolean if a field has been set.
func (o *ForecastInstance) GetMinDaysForForecast() int64
GetMinDaysForForecast returns the MinDaysForForecast field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetMinDaysForForecastOk() (*int64, bool)
GetMinDaysForForecastOk returns a tuple with the MinDaysForForecast field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetMinDaysForForecast(v int64)
SetMinDaysForForecast sets MinDaysForForecast field to given value.
func (o *ForecastInstance) HasMinDaysForForecast() bool
HasMinDaysForForecast returns a boolean if a field has been set.
func (o *ForecastInstance) GetModel() ForecastModel
GetModel returns the Model field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetModelOk() (*ForecastModel, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetModel(v ForecastModel)
SetModel sets Model field to given value.
func (o *ForecastInstance) HasModel() bool
HasModel returns a boolean if a field has been set.
func (o *ForecastInstance) SetModelNil(b bool)
SetModelNil sets the value for Model to be an explicit nil
func (o *ForecastInstance) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
func (o *ForecastInstance) GetThresholdDays() int64
GetThresholdDays returns the ThresholdDays field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetThresholdDaysOk() (*int64, bool)
GetThresholdDaysOk returns a tuple with the ThresholdDays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetThresholdDays(v int64)
SetThresholdDays sets ThresholdDays field to given value.
func (o *ForecastInstance) HasThresholdDays() bool
HasThresholdDays returns a boolean if a field has been set.
func (o *ForecastInstance) GetForecastDef() ForecastDefinitionRelationship
GetForecastDef returns the ForecastDef field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetForecastDefOk() (*ForecastDefinitionRelationship, bool)
GetForecastDefOk returns a tuple with the ForecastDef field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetForecastDef(v ForecastDefinitionRelationship)
SetForecastDef sets ForecastDef field to given value.
func (o *ForecastInstance) HasForecastDef() bool
HasForecastDef returns a boolean if a field has been set.
func (o *ForecastInstance) SetForecastDefNil(b bool)
SetForecastDefNil sets the value for ForecastDef to be an explicit nil
func (o *ForecastInstance) UnsetForecastDef()
UnsetForecastDef ensures that no value is present for ForecastDef, not even an explicit nil
func (o *ForecastInstance) GetRegisteredDevice() AssetDeviceRegistrationRelationship
GetRegisteredDevice returns the RegisteredDevice field if non-nil, zero value otherwise.
func (o *ForecastInstance) GetRegisteredDeviceOk() (*AssetDeviceRegistrationRelationship, bool)
GetRegisteredDeviceOk returns a tuple with the RegisteredDevice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ForecastInstance) SetRegisteredDevice(v AssetDeviceRegistrationRelationship)
SetRegisteredDevice sets RegisteredDevice field to given value.
func (o *ForecastInstance) HasRegisteredDevice() bool
HasRegisteredDevice returns a boolean if a field has been set.
func (o *ForecastInstance) SetRegisteredDeviceNil(b bool)
SetRegisteredDeviceNil sets the value for RegisteredDevice to be an explicit nil
func (o *ForecastInstance) UnsetRegisteredDevice()
UnsetRegisteredDevice ensures that no value is present for RegisteredDevice, not even an explicit nil