Skip to content

Latest commit

 

History

History
450 lines (245 loc) · 14.1 KB

ForecastInstance.md

File metadata and controls

450 lines (245 loc) · 14.1 KB

ForecastInstance

Properties

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]

Methods

NewForecastInstance

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

NewForecastInstanceWithDefaults

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

GetClassId

func (o *ForecastInstance) GetClassId() string

GetClassId returns the ClassId field if non-nil, zero value otherwise.

GetClassIdOk

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.

SetClassId

func (o *ForecastInstance) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *ForecastInstance) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

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.

SetObjectType

func (o *ForecastInstance) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetAction

func (o *ForecastInstance) GetAction() string

GetAction returns the Action field if non-nil, zero value otherwise.

GetActionOk

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.

SetAction

func (o *ForecastInstance) SetAction(v string)

SetAction sets Action field to given value.

HasAction

func (o *ForecastInstance) HasAction() bool

HasAction returns a boolean if a field has been set.

GetAltModel

func (o *ForecastInstance) GetAltModel() []float32

GetAltModel returns the AltModel field if non-nil, zero value otherwise.

GetAltModelOk

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.

SetAltModel

func (o *ForecastInstance) SetAltModel(v []float32)

SetAltModel sets AltModel field to given value.

HasAltModel

func (o *ForecastInstance) HasAltModel() bool

HasAltModel returns a boolean if a field has been set.

SetAltModelNil

func (o *ForecastInstance) SetAltModelNil(b bool)

SetAltModelNil sets the value for AltModel to be an explicit nil

UnsetAltModel

func (o *ForecastInstance) UnsetAltModel()

UnsetAltModel ensures that no value is present for AltModel, not even an explicit nil

GetDataInterval

func (o *ForecastInstance) GetDataInterval() int64

GetDataInterval returns the DataInterval field if non-nil, zero value otherwise.

GetDataIntervalOk

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.

SetDataInterval

func (o *ForecastInstance) SetDataInterval(v int64)

SetDataInterval sets DataInterval field to given value.

HasDataInterval

func (o *ForecastInstance) HasDataInterval() bool

HasDataInterval returns a boolean if a field has been set.

GetDataStartDate

func (o *ForecastInstance) GetDataStartDate() time.Time

GetDataStartDate returns the DataStartDate field if non-nil, zero value otherwise.

GetDataStartDateOk

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.

SetDataStartDate

func (o *ForecastInstance) SetDataStartDate(v time.Time)

SetDataStartDate sets DataStartDate field to given value.

HasDataStartDate

func (o *ForecastInstance) HasDataStartDate() bool

HasDataStartDate returns a boolean if a field has been set.

GetDeviceId

func (o *ForecastInstance) GetDeviceId() string

GetDeviceId returns the DeviceId field if non-nil, zero value otherwise.

GetDeviceIdOk

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.

SetDeviceId

func (o *ForecastInstance) SetDeviceId(v string)

SetDeviceId sets DeviceId field to given value.

HasDeviceId

func (o *ForecastInstance) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

GetFullCapDays

func (o *ForecastInstance) GetFullCapDays() int64

GetFullCapDays returns the FullCapDays field if non-nil, zero value otherwise.

GetFullCapDaysOk

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.

SetFullCapDays

func (o *ForecastInstance) SetFullCapDays(v int64)

SetFullCapDays sets FullCapDays field to given value.

HasFullCapDays

func (o *ForecastInstance) HasFullCapDays() bool

HasFullCapDays returns a boolean if a field has been set.

GetLastModelUpdateTime

func (o *ForecastInstance) GetLastModelUpdateTime() time.Time

GetLastModelUpdateTime returns the LastModelUpdateTime field if non-nil, zero value otherwise.

GetLastModelUpdateTimeOk

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.

SetLastModelUpdateTime

func (o *ForecastInstance) SetLastModelUpdateTime(v time.Time)

SetLastModelUpdateTime sets LastModelUpdateTime field to given value.

HasLastModelUpdateTime

func (o *ForecastInstance) HasLastModelUpdateTime() bool

HasLastModelUpdateTime returns a boolean if a field has been set.

GetMetricName

func (o *ForecastInstance) GetMetricName() string

GetMetricName returns the MetricName field if non-nil, zero value otherwise.

GetMetricNameOk

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.

SetMetricName

func (o *ForecastInstance) SetMetricName(v string)

SetMetricName sets MetricName field to given value.

HasMetricName

func (o *ForecastInstance) HasMetricName() bool

HasMetricName returns a boolean if a field has been set.

GetMinDaysForForecast

func (o *ForecastInstance) GetMinDaysForForecast() int64

GetMinDaysForForecast returns the MinDaysForForecast field if non-nil, zero value otherwise.

GetMinDaysForForecastOk

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.

SetMinDaysForForecast

func (o *ForecastInstance) SetMinDaysForForecast(v int64)

SetMinDaysForForecast sets MinDaysForForecast field to given value.

HasMinDaysForForecast

func (o *ForecastInstance) HasMinDaysForForecast() bool

HasMinDaysForForecast returns a boolean if a field has been set.

GetModel

func (o *ForecastInstance) GetModel() ForecastModel

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

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.

SetModel

func (o *ForecastInstance) SetModel(v ForecastModel)

SetModel sets Model field to given value.

HasModel

func (o *ForecastInstance) HasModel() bool

HasModel returns a boolean if a field has been set.

SetModelNil

func (o *ForecastInstance) SetModelNil(b bool)

SetModelNil sets the value for Model to be an explicit nil

UnsetModel

func (o *ForecastInstance) UnsetModel()

UnsetModel ensures that no value is present for Model, not even an explicit nil

GetThresholdDays

func (o *ForecastInstance) GetThresholdDays() int64

GetThresholdDays returns the ThresholdDays field if non-nil, zero value otherwise.

GetThresholdDaysOk

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.

SetThresholdDays

func (o *ForecastInstance) SetThresholdDays(v int64)

SetThresholdDays sets ThresholdDays field to given value.

HasThresholdDays

func (o *ForecastInstance) HasThresholdDays() bool

HasThresholdDays returns a boolean if a field has been set.

GetForecastDef

func (o *ForecastInstance) GetForecastDef() ForecastDefinitionRelationship

GetForecastDef returns the ForecastDef field if non-nil, zero value otherwise.

GetForecastDefOk

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.

SetForecastDef

func (o *ForecastInstance) SetForecastDef(v ForecastDefinitionRelationship)

SetForecastDef sets ForecastDef field to given value.

HasForecastDef

func (o *ForecastInstance) HasForecastDef() bool

HasForecastDef returns a boolean if a field has been set.

SetForecastDefNil

func (o *ForecastInstance) SetForecastDefNil(b bool)

SetForecastDefNil sets the value for ForecastDef to be an explicit nil

UnsetForecastDef

func (o *ForecastInstance) UnsetForecastDef()

UnsetForecastDef ensures that no value is present for ForecastDef, not even an explicit nil

GetRegisteredDevice

func (o *ForecastInstance) GetRegisteredDevice() AssetDeviceRegistrationRelationship

GetRegisteredDevice returns the RegisteredDevice field if non-nil, zero value otherwise.

GetRegisteredDeviceOk

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.

SetRegisteredDevice

func (o *ForecastInstance) SetRegisteredDevice(v AssetDeviceRegistrationRelationship)

SetRegisteredDevice sets RegisteredDevice field to given value.

HasRegisteredDevice

func (o *ForecastInstance) HasRegisteredDevice() bool

HasRegisteredDevice returns a boolean if a field has been set.

SetRegisteredDeviceNil

func (o *ForecastInstance) SetRegisteredDeviceNil(b bool)

SetRegisteredDeviceNil sets the value for RegisteredDevice to be an explicit nil

UnsetRegisteredDevice

func (o *ForecastInstance) UnsetRegisteredDevice()

UnsetRegisteredDevice ensures that no value is present for RegisteredDevice, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]