Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- 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 Agent
- func (o *Agent) GetAssetId() int32
- func (o *Agent) GetAssetIdOk() (*int32, bool)
- func (o *Agent) GetClass() AgentClass
- func (o *Agent) GetClassOk() (*AgentClass, bool)
- func (o *Agent) GetConfig() map[string]interface{}
- func (o *Agent) GetConfigOk() (map[string]interface{}, bool)
- func (o *Agent) GetDescription() string
- func (o *Agent) GetDescriptionOk() (*string, bool)
- func (o *Agent) GetEnable() bool
- func (o *Agent) GetEnableOk() (*bool, bool)
- func (o *Agent) GetId() int32
- func (o *Agent) GetIdOk() (*int32, bool)
- func (o *Agent) GetNodeId() string
- func (o *Agent) GetNodeIdOk() (*string, bool)
- func (o *Agent) HasAssetId() bool
- func (o *Agent) HasClass() bool
- func (o *Agent) HasConfig() bool
- func (o *Agent) HasDescription() bool
- func (o *Agent) HasEnable() bool
- func (o *Agent) HasId() bool
- func (o *Agent) HasNodeId() bool
- func (o Agent) MarshalJSON() ([]byte, error)
- func (o *Agent) SetAssetId(v int32)
- func (o *Agent) SetAssetIdNil()
- func (o *Agent) SetClass(v AgentClass)
- func (o *Agent) SetClassNil()
- func (o *Agent) SetConfig(v map[string]interface{})
- func (o *Agent) SetDescription(v string)
- func (o *Agent) SetDescriptionNil()
- func (o *Agent) SetEnable(v bool)
- func (o *Agent) SetId(v int32)
- func (o *Agent) SetIdNil()
- func (o *Agent) SetNodeId(v string)
- func (o *Agent) SetNodeIdNil()
- func (o Agent) ToMap() (map[string]interface{}, error)
- func (o *Agent) UnsetAssetId()
- func (o *Agent) UnsetClass()
- func (o *Agent) UnsetDescription()
- func (o *Agent) UnsetId()
- func (o *Agent) UnsetNodeId()
- type AgentClass
- type AgentDevice
- type AgentDeviceGeneral
- func (o *AgentDeviceGeneral) GetAgentId() int32
- func (o *AgentDeviceGeneral) GetAgentIdOk() (*int32, bool)
- func (o *AgentDeviceGeneral) GetClass() AgentClass
- func (o *AgentDeviceGeneral) GetClassOk() (*AgentClass, bool)
- func (o *AgentDeviceGeneral) GetEnable() bool
- func (o *AgentDeviceGeneral) GetEnableOk() (*bool, bool)
- func (o *AgentDeviceGeneral) GetId() int32
- func (o *AgentDeviceGeneral) GetIdOk() (*int32, bool)
- func (o *AgentDeviceGeneral) HasAgentId() bool
- func (o *AgentDeviceGeneral) HasClass() bool
- func (o *AgentDeviceGeneral) HasEnable() bool
- func (o *AgentDeviceGeneral) HasId() bool
- func (o AgentDeviceGeneral) MarshalJSON() ([]byte, error)
- func (o *AgentDeviceGeneral) SetAgentId(v int32)
- func (o *AgentDeviceGeneral) SetAgentIdNil()
- func (o *AgentDeviceGeneral) SetClass(v AgentClass)
- func (o *AgentDeviceGeneral) SetClassNil()
- func (o *AgentDeviceGeneral) SetEnable(v bool)
- func (o *AgentDeviceGeneral) SetId(v int32)
- func (o *AgentDeviceGeneral) SetIdNil()
- func (o AgentDeviceGeneral) ToMap() (map[string]interface{}, error)
- func (o *AgentDeviceGeneral) UnsetAgentId()
- func (o *AgentDeviceGeneral) UnsetClass()
- func (o *AgentDeviceGeneral) UnsetId()
- type AgentDeviceMapping
- type AgentDeviceMappingGeneral
- func (o *AgentDeviceMappingGeneral) GetAssetId() int32
- func (o *AgentDeviceMappingGeneral) GetAssetIdOk() (*int32, bool)
- func (o *AgentDeviceMappingGeneral) GetAttribute() string
- func (o *AgentDeviceMappingGeneral) GetAttributeOk() (*string, bool)
- func (o *AgentDeviceMappingGeneral) GetClass() AgentClass
- func (o *AgentDeviceMappingGeneral) GetClassOk() (*AgentClass, bool)
- func (o *AgentDeviceMappingGeneral) GetDeviceId() int32
- func (o *AgentDeviceMappingGeneral) GetDeviceIdOk() (*int32, bool)
- func (o *AgentDeviceMappingGeneral) GetEnable() bool
- func (o *AgentDeviceMappingGeneral) GetEnableOk() (*bool, bool)
- func (o *AgentDeviceMappingGeneral) GetId() int32
- func (o *AgentDeviceMappingGeneral) GetIdOk() (*int32, bool)
- func (o *AgentDeviceMappingGeneral) GetSubtype() DataSubtype
- func (o *AgentDeviceMappingGeneral) GetSubtypeOk() (*DataSubtype, bool)
- func (o *AgentDeviceMappingGeneral) HasAssetId() bool
- func (o *AgentDeviceMappingGeneral) HasClass() bool
- func (o *AgentDeviceMappingGeneral) HasDeviceId() bool
- func (o *AgentDeviceMappingGeneral) HasEnable() bool
- func (o *AgentDeviceMappingGeneral) HasId() bool
- func (o AgentDeviceMappingGeneral) MarshalJSON() ([]byte, error)
- func (o *AgentDeviceMappingGeneral) SetAssetId(v int32)
- func (o *AgentDeviceMappingGeneral) SetAssetIdNil()
- func (o *AgentDeviceMappingGeneral) SetAttribute(v string)
- func (o *AgentDeviceMappingGeneral) SetClass(v AgentClass)
- func (o *AgentDeviceMappingGeneral) SetClassNil()
- func (o *AgentDeviceMappingGeneral) SetDeviceId(v int32)
- func (o *AgentDeviceMappingGeneral) SetDeviceIdNil()
- func (o *AgentDeviceMappingGeneral) SetEnable(v bool)
- func (o *AgentDeviceMappingGeneral) SetId(v int32)
- func (o *AgentDeviceMappingGeneral) SetIdNil()
- func (o *AgentDeviceMappingGeneral) SetSubtype(v DataSubtype)
- func (o AgentDeviceMappingGeneral) ToMap() (map[string]interface{}, error)
- func (o *AgentDeviceMappingGeneral) UnmarshalJSON(data []byte) (err error)
- func (o *AgentDeviceMappingGeneral) UnsetAssetId()
- func (o *AgentDeviceMappingGeneral) UnsetClass()
- func (o *AgentDeviceMappingGeneral) UnsetDeviceId()
- func (o *AgentDeviceMappingGeneral) UnsetId()
- type AgentsAPIService
- func (a *AgentsAPIService) GetAgentByClassAndId(ctx context.Context, agentId int32, agentClass string) ApiGetAgentByClassAndIdRequest
- func (a *AgentsAPIService) GetAgentByClassAndIdExecute(r ApiGetAgentByClassAndIdRequest) (*Agent, *http.Response, error)
- func (a *AgentsAPIService) GetAgentDeviceById(ctx context.Context, agentClass string, agentDeviceId int32) ApiGetAgentDeviceByIdRequest
- func (a *AgentsAPIService) GetAgentDeviceByIdExecute(r ApiGetAgentDeviceByIdRequest) ([]AgentDevice, *http.Response, error)
- func (a *AgentsAPIService) GetAgentDeviceMappingById(ctx context.Context, agentClass string, agentDeviceMappingId int32) ApiGetAgentDeviceMappingByIdRequest
- func (a *AgentsAPIService) GetAgentDeviceMappingByIdExecute(r ApiGetAgentDeviceMappingByIdRequest) ([]AgentDeviceMapping, *http.Response, error)
- func (a *AgentsAPIService) GetAgentDeviceMappingsByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiGetAgentDeviceMappingsByDeviceIdRequest
- func (a *AgentsAPIService) GetAgentDeviceMappingsByDeviceIdExecute(r ApiGetAgentDeviceMappingsByDeviceIdRequest) ([]AgentDeviceMapping, *http.Response, error)
- func (a *AgentsAPIService) GetAgentDevicesByAgentId(ctx context.Context, agentClass string, agentId int32) ApiGetAgentDevicesByAgentIdRequest
- func (a *AgentsAPIService) GetAgentDevicesByAgentIdExecute(r ApiGetAgentDevicesByAgentIdRequest) ([]AgentDevice, *http.Response, error)
- func (a *AgentsAPIService) GetAgents(ctx context.Context) ApiGetAgentsRequest
- func (a *AgentsAPIService) GetAgentsByClass(ctx context.Context, agentClass string) ApiGetAgentsByClassRequest
- func (a *AgentsAPIService) GetAgentsByClassExecute(r ApiGetAgentsByClassRequest) ([]Agent, *http.Response, error)
- func (a *AgentsAPIService) GetAgentsExecute(r ApiGetAgentsRequest) ([]Agent, *http.Response, error)
- func (a *AgentsAPIService) PostAgentByClass(ctx context.Context, agentClass string) ApiPostAgentByClassRequest
- func (a *AgentsAPIService) PostAgentByClassExecute(r ApiPostAgentByClassRequest) (*Agent, *http.Response, error)
- func (a *AgentsAPIService) PostAgentDeviceByAgentId(ctx context.Context, agentClass string, agentId int32) ApiPostAgentDeviceByAgentIdRequest
- func (a *AgentsAPIService) PostAgentDeviceByAgentIdExecute(r ApiPostAgentDeviceByAgentIdRequest) (*AgentDevice, *http.Response, error)
- func (a *AgentsAPIService) PostAgentDeviceMappingByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiPostAgentDeviceMappingByDeviceIdRequest
- func (a *AgentsAPIService) PostAgentDeviceMappingByDeviceIdExecute(r ApiPostAgentDeviceMappingByDeviceIdRequest) (*AgentDeviceMapping, *http.Response, error)
- func (a *AgentsAPIService) PutAgentByClass(ctx context.Context, agentClass string) ApiPutAgentByClassRequest
- func (a *AgentsAPIService) PutAgentByClassAndId(ctx context.Context, agentId int32, agentClass string) ApiPutAgentByClassAndIdRequest
- func (a *AgentsAPIService) PutAgentByClassAndIdExecute(r ApiPutAgentByClassAndIdRequest) (*Agent, *http.Response, error)
- func (a *AgentsAPIService) PutAgentByClassExecute(r ApiPutAgentByClassRequest) (*Agent, *http.Response, error)
- func (a *AgentsAPIService) PutAgentDeviceByAgentId(ctx context.Context, agentClass string, agentId int32) ApiPutAgentDeviceByAgentIdRequest
- func (a *AgentsAPIService) PutAgentDeviceByAgentIdExecute(r ApiPutAgentDeviceByAgentIdRequest) (*AgentDevice, *http.Response, error)
- func (a *AgentsAPIService) PutAgentDeviceById(ctx context.Context, agentClass string, agentDeviceId int32) ApiPutAgentDeviceByIdRequest
- func (a *AgentsAPIService) PutAgentDeviceByIdExecute(r ApiPutAgentDeviceByIdRequest) (*AgentDevice, *http.Response, error)
- func (a *AgentsAPIService) PutAgentDeviceMappingByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiPutAgentDeviceMappingByDeviceIdRequest
- func (a *AgentsAPIService) PutAgentDeviceMappingByDeviceIdExecute(r ApiPutAgentDeviceMappingByDeviceIdRequest) (*AgentDeviceMapping, *http.Response, error)
- func (a *AgentsAPIService) PutAgentDeviceMappingById(ctx context.Context, agentClass string, agentDeviceMappingId int32) ApiPutAgentDeviceMappingByIdRequest
- func (a *AgentsAPIService) PutAgentDeviceMappingByIdExecute(r ApiPutAgentDeviceMappingByIdRequest) (*AgentDeviceMapping, *http.Response, error)
- type Aggregation
- func (o *Aggregation) GetAssetId() int32
- func (o *Aggregation) GetAssetIdOk() (*int32, bool)
- func (o *Aggregation) GetAttribute() string
- func (o *Aggregation) GetAttributeOk() (*string, bool)
- func (o *Aggregation) GetId() int32
- func (o *Aggregation) GetIdOk() (*int32, bool)
- func (o *Aggregation) GetMode() string
- func (o *Aggregation) GetModeOk() (*string, bool)
- func (o *Aggregation) GetRaster() string
- func (o *Aggregation) GetRasterOk() (*string, bool)
- func (o *Aggregation) GetSubtype() DataSubtype
- func (o *Aggregation) GetSubtypeOk() (*DataSubtype, bool)
- func (o *Aggregation) HasAttribute() bool
- func (o *Aggregation) HasId() bool
- func (o *Aggregation) HasRaster() bool
- func (o Aggregation) MarshalJSON() ([]byte, error)
- func (o *Aggregation) SetAssetId(v int32)
- func (o *Aggregation) SetAttribute(v string)
- func (o *Aggregation) SetId(v int32)
- func (o *Aggregation) SetIdNil()
- func (o *Aggregation) SetMode(v string)
- func (o *Aggregation) SetRaster(v string)
- func (o *Aggregation) SetRasterNil()
- func (o *Aggregation) SetSubtype(v DataSubtype)
- func (o Aggregation) ToMap() (map[string]interface{}, error)
- func (o *Aggregation) UnmarshalJSON(data []byte) (err error)
- func (o *Aggregation) UnsetId()
- func (o *Aggregation) UnsetRaster()
- type AggregationsAPIService
- func (a *AggregationsAPIService) DeleteAggregationById(ctx context.Context, aggregationId int32) ApiDeleteAggregationByIdRequest
- func (a *AggregationsAPIService) DeleteAggregationByIdExecute(r ApiDeleteAggregationByIdRequest) (*http.Response, error)
- func (a *AggregationsAPIService) GetAggregationById(ctx context.Context, aggregationId int32) ApiGetAggregationByIdRequest
- func (a *AggregationsAPIService) GetAggregationByIdExecute(r ApiGetAggregationByIdRequest) (*Aggregation, *http.Response, error)
- func (a *AggregationsAPIService) GetAggregations(ctx context.Context) ApiGetAggregationsRequest
- func (a *AggregationsAPIService) GetAggregationsExecute(r ApiGetAggregationsRequest) ([]Aggregation, *http.Response, error)
- func (a *AggregationsAPIService) PostAggregation(ctx context.Context) ApiPostAggregationRequest
- func (a *AggregationsAPIService) PostAggregationExecute(r ApiPostAggregationRequest) (*Aggregation, *http.Response, error)
- func (a *AggregationsAPIService) PutAggregation(ctx context.Context) ApiPutAggregationRequest
- func (a *AggregationsAPIService) PutAggregationById(ctx context.Context, aggregationId int32) ApiPutAggregationByIdRequest
- func (a *AggregationsAPIService) PutAggregationByIdExecute(r ApiPutAggregationByIdRequest) (*Aggregation, *http.Response, error)
- func (a *AggregationsAPIService) PutAggregationExecute(r ApiPutAggregationRequest) (*Aggregation, *http.Response, error)
- type Alarm
- func (o *Alarm) GetAcknowledgeText() string
- func (o *Alarm) GetAcknowledgeTextOk() (*string, bool)
- func (o *Alarm) GetAcknowledgeTimestamp() time.Time
- func (o *Alarm) GetAcknowledgeTimestampOk() (*time.Time, bool)
- func (o *Alarm) GetAcknowledgeUserId() string
- func (o *Alarm) GetAcknowledgeUserIdOk() (*string, bool)
- func (o *Alarm) GetAssetId() int32
- func (o *Alarm) GetAssetIdOk() (*int32, bool)
- func (o *Alarm) GetAssetInfo() Asset
- func (o *Alarm) GetAssetInfoOk() (*Asset, bool)
- func (o *Alarm) GetAttribute() string
- func (o *Alarm) GetAttributeOk() (*string, bool)
- func (o *Alarm) GetGoneTimestamp() time.Time
- func (o *Alarm) GetGoneTimestampOk() (*time.Time, bool)
- func (o *Alarm) GetMessage() map[string]interface{}
- func (o *Alarm) GetMessageOk() (map[string]interface{}, bool)
- func (o *Alarm) GetOccurrences() int32
- func (o *Alarm) GetOccurrencesOk() (*int32, bool)
- func (o *Alarm) GetPriority() int32
- func (o *Alarm) GetPriorityOk() (*int32, bool)
- func (o *Alarm) GetRequiresAcknowledge() bool
- func (o *Alarm) GetRequiresAcknowledgeOk() (*bool, bool)
- func (o *Alarm) GetRuleId() int32
- func (o *Alarm) GetRuleIdOk() (*int32, bool)
- func (o *Alarm) GetRuleInfo() AlarmRule
- func (o *Alarm) GetRuleInfoOk() (*AlarmRule, bool)
- func (o *Alarm) GetSubtype() string
- func (o *Alarm) GetSubtypeOk() (*string, bool)
- func (o *Alarm) GetTimestamp() time.Time
- func (o *Alarm) GetTimestampOk() (*time.Time, bool)
- func (o *Alarm) GetValue() float64
- func (o *Alarm) GetValueOk() (*float64, bool)
- func (o *Alarm) HasAcknowledgeText() bool
- func (o *Alarm) HasAcknowledgeTimestamp() bool
- func (o *Alarm) HasAcknowledgeUserId() bool
- func (o *Alarm) HasAssetId() bool
- func (o *Alarm) HasAssetInfo() bool
- func (o *Alarm) HasAttribute() bool
- func (o *Alarm) HasGoneTimestamp() bool
- func (o *Alarm) HasOccurrences() bool
- func (o *Alarm) HasPriority() bool
- func (o *Alarm) HasRequiresAcknowledge() bool
- func (o *Alarm) HasRuleInfo() bool
- func (o *Alarm) HasSubtype() bool
- func (o *Alarm) HasTimestamp() bool
- func (o *Alarm) HasValue() bool
- func (o Alarm) MarshalJSON() ([]byte, error)
- func (o *Alarm) SetAcknowledgeText(v string)
- func (o *Alarm) SetAcknowledgeTextNil()
- func (o *Alarm) SetAcknowledgeTimestamp(v time.Time)
- func (o *Alarm) SetAcknowledgeTimestampNil()
- func (o *Alarm) SetAcknowledgeUserId(v string)
- func (o *Alarm) SetAcknowledgeUserIdNil()
- func (o *Alarm) SetAssetId(v int32)
- func (o *Alarm) SetAssetIdNil()
- func (o *Alarm) SetAssetInfo(v Asset)
- func (o *Alarm) SetAssetInfoNil()
- func (o *Alarm) SetAttribute(v string)
- func (o *Alarm) SetAttributeNil()
- func (o *Alarm) SetGoneTimestamp(v time.Time)
- func (o *Alarm) SetGoneTimestampNil()
- func (o *Alarm) SetMessage(v map[string]interface{})
- func (o *Alarm) SetOccurrences(v int32)
- func (o *Alarm) SetOccurrencesNil()
- func (o *Alarm) SetPriority(v int32)
- func (o *Alarm) SetPriorityNil()
- func (o *Alarm) SetRequiresAcknowledge(v bool)
- func (o *Alarm) SetRequiresAcknowledgeNil()
- func (o *Alarm) SetRuleId(v int32)
- func (o *Alarm) SetRuleInfo(v AlarmRule)
- func (o *Alarm) SetRuleInfoNil()
- func (o *Alarm) SetSubtype(v string)
- func (o *Alarm) SetSubtypeNil()
- func (o *Alarm) SetTimestamp(v time.Time)
- func (o *Alarm) SetTimestampNil()
- func (o *Alarm) SetValue(v float64)
- func (o *Alarm) SetValueNil()
- func (o Alarm) ToMap() (map[string]interface{}, error)
- func (o *Alarm) UnmarshalJSON(data []byte) (err error)
- func (o *Alarm) UnsetAcknowledgeText()
- func (o *Alarm) UnsetAcknowledgeTimestamp()
- func (o *Alarm) UnsetAcknowledgeUserId()
- func (o *Alarm) UnsetAssetId()
- func (o *Alarm) UnsetAssetInfo()
- func (o *Alarm) UnsetAttribute()
- func (o *Alarm) UnsetGoneTimestamp()
- func (o *Alarm) UnsetOccurrences()
- func (o *Alarm) UnsetPriority()
- func (o *Alarm) UnsetRequiresAcknowledge()
- func (o *Alarm) UnsetRuleInfo()
- func (o *Alarm) UnsetSubtype()
- func (o *Alarm) UnsetTimestamp()
- func (o *Alarm) UnsetValue()
- type AlarmListen
- func (o *AlarmListen) GetAcknowledgeText() string
- func (o *AlarmListen) GetAcknowledgeTextOk() (*string, bool)
- func (o *AlarmListen) GetAcknowledgeTimestamp() time.Time
- func (o *AlarmListen) GetAcknowledgeTimestampOk() (*time.Time, bool)
- func (o *AlarmListen) GetAcknowledgeUserId() string
- func (o *AlarmListen) GetAcknowledgeUserIdOk() (*string, bool)
- func (o *AlarmListen) GetAssetId() int32
- func (o *AlarmListen) GetAssetIdOk() (*int32, bool)
- func (o *AlarmListen) GetAssetInfo() Asset
- func (o *AlarmListen) GetAssetInfoOk() (*Asset, bool)
- func (o *AlarmListen) GetAttribute() string
- func (o *AlarmListen) GetAttributeOk() (*string, bool)
- func (o *AlarmListen) GetGoneTimestamp() time.Time
- func (o *AlarmListen) GetGoneTimestampOk() (*time.Time, bool)
- func (o *AlarmListen) GetMessage() map[string]interface{}
- func (o *AlarmListen) GetMessageOk() (map[string]interface{}, bool)
- func (o *AlarmListen) GetOccurrences() int32
- func (o *AlarmListen) GetOccurrencesOk() (*int32, bool)
- func (o *AlarmListen) GetPriority() int32
- func (o *AlarmListen) GetPriorityOk() (*int32, bool)
- func (o *AlarmListen) GetRequiresAcknowledge() bool
- func (o *AlarmListen) GetRequiresAcknowledgeOk() (*bool, bool)
- func (o *AlarmListen) GetRuleId() int32
- func (o *AlarmListen) GetRuleIdOk() (*int32, bool)
- func (o *AlarmListen) GetRuleInfo() AlarmRule
- func (o *AlarmListen) GetRuleInfoOk() (*AlarmRule, bool)
- func (o *AlarmListen) GetStatusCode() int32
- func (o *AlarmListen) GetStatusCodeOk() (*int32, bool)
- func (o *AlarmListen) GetSubtype() string
- func (o *AlarmListen) GetSubtypeOk() (*string, bool)
- func (o *AlarmListen) GetTimestamp() time.Time
- func (o *AlarmListen) GetTimestampOk() (*time.Time, bool)
- func (o *AlarmListen) GetValue() float64
- func (o *AlarmListen) GetValueOk() (*float64, bool)
- func (o *AlarmListen) HasAcknowledgeText() bool
- func (o *AlarmListen) HasAcknowledgeTimestamp() bool
- func (o *AlarmListen) HasAcknowledgeUserId() bool
- func (o *AlarmListen) HasAssetId() bool
- func (o *AlarmListen) HasAssetInfo() bool
- func (o *AlarmListen) HasAttribute() bool
- func (o *AlarmListen) HasGoneTimestamp() bool
- func (o *AlarmListen) HasOccurrences() bool
- func (o *AlarmListen) HasPriority() bool
- func (o *AlarmListen) HasRequiresAcknowledge() bool
- func (o *AlarmListen) HasRuleInfo() bool
- func (o *AlarmListen) HasStatusCode() bool
- func (o *AlarmListen) HasSubtype() bool
- func (o *AlarmListen) HasTimestamp() bool
- func (o *AlarmListen) HasValue() bool
- func (o AlarmListen) MarshalJSON() ([]byte, error)
- func (o *AlarmListen) SetAcknowledgeText(v string)
- func (o *AlarmListen) SetAcknowledgeTextNil()
- func (o *AlarmListen) SetAcknowledgeTimestamp(v time.Time)
- func (o *AlarmListen) SetAcknowledgeTimestampNil()
- func (o *AlarmListen) SetAcknowledgeUserId(v string)
- func (o *AlarmListen) SetAcknowledgeUserIdNil()
- func (o *AlarmListen) SetAssetId(v int32)
- func (o *AlarmListen) SetAssetIdNil()
- func (o *AlarmListen) SetAssetInfo(v Asset)
- func (o *AlarmListen) SetAssetInfoNil()
- func (o *AlarmListen) SetAttribute(v string)
- func (o *AlarmListen) SetAttributeNil()
- func (o *AlarmListen) SetGoneTimestamp(v time.Time)
- func (o *AlarmListen) SetGoneTimestampNil()
- func (o *AlarmListen) SetMessage(v map[string]interface{})
- func (o *AlarmListen) SetOccurrences(v int32)
- func (o *AlarmListen) SetOccurrencesNil()
- func (o *AlarmListen) SetPriority(v int32)
- func (o *AlarmListen) SetPriorityNil()
- func (o *AlarmListen) SetRequiresAcknowledge(v bool)
- func (o *AlarmListen) SetRequiresAcknowledgeNil()
- func (o *AlarmListen) SetRuleId(v int32)
- func (o *AlarmListen) SetRuleInfo(v AlarmRule)
- func (o *AlarmListen) SetRuleInfoNil()
- func (o *AlarmListen) SetStatusCode(v int32)
- func (o *AlarmListen) SetSubtype(v string)
- func (o *AlarmListen) SetSubtypeNil()
- func (o *AlarmListen) SetTimestamp(v time.Time)
- func (o *AlarmListen) SetTimestampNil()
- func (o *AlarmListen) SetValue(v float64)
- func (o *AlarmListen) SetValueNil()
- func (o AlarmListen) ToMap() (map[string]interface{}, error)
- func (o *AlarmListen) UnmarshalJSON(data []byte) (err error)
- func (o *AlarmListen) UnsetAcknowledgeText()
- func (o *AlarmListen) UnsetAcknowledgeTimestamp()
- func (o *AlarmListen) UnsetAcknowledgeUserId()
- func (o *AlarmListen) UnsetAssetId()
- func (o *AlarmListen) UnsetAssetInfo()
- func (o *AlarmListen) UnsetAttribute()
- func (o *AlarmListen) UnsetGoneTimestamp()
- func (o *AlarmListen) UnsetOccurrences()
- func (o *AlarmListen) UnsetPriority()
- func (o *AlarmListen) UnsetRequiresAcknowledge()
- func (o *AlarmListen) UnsetRuleInfo()
- func (o *AlarmListen) UnsetSubtype()
- func (o *AlarmListen) UnsetTimestamp()
- func (o *AlarmListen) UnsetValue()
- type AlarmPriority
- type AlarmRule
- func (o *AlarmRule) GetAssetId() int32
- func (o *AlarmRule) GetAssetIdOk() (*int32, bool)
- func (o *AlarmRule) GetAssetInfo() Asset
- func (o *AlarmRule) GetAssetInfoOk() (*Asset, bool)
- func (o *AlarmRule) GetAttribute() string
- func (o *AlarmRule) GetAttributeOk() (*string, bool)
- func (o *AlarmRule) GetCheckType() string
- func (o *AlarmRule) GetCheckTypeOk() (*string, bool)
- func (o *AlarmRule) GetDontMask() bool
- func (o *AlarmRule) GetDontMaskOk() (*bool, bool)
- func (o *AlarmRule) GetEnable() bool
- func (o *AlarmRule) GetEnableOk() (*bool, bool)
- func (o *AlarmRule) GetEqual() float64
- func (o *AlarmRule) GetEqualOk() (*float64, bool)
- func (o *AlarmRule) GetHigh() float64
- func (o *AlarmRule) GetHighOk() (*float64, bool)
- func (o *AlarmRule) GetId() int32
- func (o *AlarmRule) GetIdOk() (*int32, bool)
- func (o *AlarmRule) GetLow() float64
- func (o *AlarmRule) GetLowOk() (*float64, bool)
- func (o *AlarmRule) GetMessage() map[string]interface{}
- func (o *AlarmRule) GetMessageOk() (map[string]interface{}, bool)
- func (o *AlarmRule) GetNotifyOn() string
- func (o *AlarmRule) GetNotifyOnOk() (*string, bool)
- func (o *AlarmRule) GetPriority() AlarmPriority
- func (o *AlarmRule) GetPriorityOk() (*AlarmPriority, bool)
- func (o *AlarmRule) GetRequiresAcknowledge() bool
- func (o *AlarmRule) GetRequiresAcknowledgeOk() (*bool, bool)
- func (o *AlarmRule) GetSubject() string
- func (o *AlarmRule) GetSubjectOk() (*string, bool)
- func (o *AlarmRule) GetSubtype() DataSubtype
- func (o *AlarmRule) GetSubtypeOk() (*DataSubtype, bool)
- func (o *AlarmRule) GetTags() []string
- func (o *AlarmRule) GetTagsOk() ([]string, bool)
- func (o *AlarmRule) GetUrldoc() string
- func (o *AlarmRule) GetUrldocOk() (*string, bool)
- func (o *AlarmRule) HasAssetInfo() bool
- func (o *AlarmRule) HasCheckType() bool
- func (o *AlarmRule) HasDontMask() bool
- func (o *AlarmRule) HasEnable() bool
- func (o *AlarmRule) HasEqual() bool
- func (o *AlarmRule) HasHigh() bool
- func (o *AlarmRule) HasId() bool
- func (o *AlarmRule) HasLow() bool
- func (o *AlarmRule) HasMessage() bool
- func (o *AlarmRule) HasNotifyOn() bool
- func (o *AlarmRule) HasRequiresAcknowledge() bool
- func (o *AlarmRule) HasSubject() bool
- func (o *AlarmRule) HasTags() bool
- func (o *AlarmRule) HasUrldoc() bool
- func (o AlarmRule) MarshalJSON() ([]byte, error)
- func (o *AlarmRule) SetAssetId(v int32)
- func (o *AlarmRule) SetAssetInfo(v Asset)
- func (o *AlarmRule) SetAssetInfoNil()
- func (o *AlarmRule) SetAttribute(v string)
- func (o *AlarmRule) SetCheckType(v string)
- func (o *AlarmRule) SetCheckTypeNil()
- func (o *AlarmRule) SetDontMask(v bool)
- func (o *AlarmRule) SetDontMaskNil()
- func (o *AlarmRule) SetEnable(v bool)
- func (o *AlarmRule) SetEqual(v float64)
- func (o *AlarmRule) SetEqualNil()
- func (o *AlarmRule) SetHigh(v float64)
- func (o *AlarmRule) SetHighNil()
- func (o *AlarmRule) SetId(v int32)
- func (o *AlarmRule) SetIdNil()
- func (o *AlarmRule) SetLow(v float64)
- func (o *AlarmRule) SetLowNil()
- func (o *AlarmRule) SetMessage(v map[string]interface{})
- func (o *AlarmRule) SetNotifyOn(v string)
- func (o *AlarmRule) SetNotifyOnNil()
- func (o *AlarmRule) SetPriority(v AlarmPriority)
- func (o *AlarmRule) SetRequiresAcknowledge(v bool)
- func (o *AlarmRule) SetSubject(v string)
- func (o *AlarmRule) SetSubjectNil()
- func (o *AlarmRule) SetSubtype(v DataSubtype)
- func (o *AlarmRule) SetTags(v []string)
- func (o *AlarmRule) SetUrldoc(v string)
- func (o *AlarmRule) SetUrldocNil()
- func (o AlarmRule) ToMap() (map[string]interface{}, error)
- func (o *AlarmRule) UnmarshalJSON(data []byte) (err error)
- func (o *AlarmRule) UnsetAssetInfo()
- func (o *AlarmRule) UnsetCheckType()
- func (o *AlarmRule) UnsetDontMask()
- func (o *AlarmRule) UnsetEqual()
- func (o *AlarmRule) UnsetHigh()
- func (o *AlarmRule) UnsetId()
- func (o *AlarmRule) UnsetLow()
- func (o *AlarmRule) UnsetNotifyOn()
- func (o *AlarmRule) UnsetSubject()
- func (o *AlarmRule) UnsetUrldoc()
- type AlarmRulesAPIService
- func (a *AlarmRulesAPIService) DeleteAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiDeleteAlarmRuleByIdRequest
- func (a *AlarmRulesAPIService) DeleteAlarmRuleByIdExecute(r ApiDeleteAlarmRuleByIdRequest) (*http.Response, error)
- func (a *AlarmRulesAPIService) GetAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiGetAlarmRuleByIdRequest
- func (a *AlarmRulesAPIService) GetAlarmRuleByIdExecute(r ApiGetAlarmRuleByIdRequest) (*AlarmRule, *http.Response, error)
- func (a *AlarmRulesAPIService) GetAlarmRules(ctx context.Context) ApiGetAlarmRulesRequest
- func (a *AlarmRulesAPIService) GetAlarmRulesExecute(r ApiGetAlarmRulesRequest) ([]AlarmRule, *http.Response, error)
- func (a *AlarmRulesAPIService) PostAlarmRule(ctx context.Context) ApiPostAlarmRuleRequest
- func (a *AlarmRulesAPIService) PostAlarmRuleExecute(r ApiPostAlarmRuleRequest) (*AlarmRule, *http.Response, error)
- func (a *AlarmRulesAPIService) PutAlarmRule(ctx context.Context) ApiPutAlarmRuleRequest
- func (a *AlarmRulesAPIService) PutAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiPutAlarmRuleByIdRequest
- func (a *AlarmRulesAPIService) PutAlarmRuleByIdExecute(r ApiPutAlarmRuleByIdRequest) (*AlarmRule, *http.Response, error)
- func (a *AlarmRulesAPIService) PutAlarmRuleExecute(r ApiPutAlarmRuleRequest) (*AlarmRule, *http.Response, error)
- type AlarmsAPIService
- func (a *AlarmsAPIService) DeleteAlarmById(ctx context.Context, alarmRuleId int32) ApiDeleteAlarmByIdRequest
- func (a *AlarmsAPIService) DeleteAlarmByIdExecute(r ApiDeleteAlarmByIdRequest) (*http.Response, error)
- func (a *AlarmsAPIService) GetAlarmById(ctx context.Context, alarmRuleId int32) ApiGetAlarmByIdRequest
- func (a *AlarmsAPIService) GetAlarmByIdExecute(r ApiGetAlarmByIdRequest) (*Alarm, *http.Response, error)
- func (a *AlarmsAPIService) GetAlarmHistoryById(ctx context.Context, alarmRuleId int32) ApiGetAlarmHistoryByIdRequest
- func (a *AlarmsAPIService) GetAlarmHistoryByIdExecute(r ApiGetAlarmHistoryByIdRequest) ([]Alarm, *http.Response, error)
- func (a *AlarmsAPIService) GetAlarms(ctx context.Context) ApiGetAlarmsRequest
- func (a *AlarmsAPIService) GetAlarmsExecute(r ApiGetAlarmsRequest) ([]Alarm, *http.Response, error)
- func (a *AlarmsAPIService) GetAlarmsHistory(ctx context.Context) ApiGetAlarmsHistoryRequest
- func (a *AlarmsAPIService) GetAlarmsHistoryExecute(r ApiGetAlarmsHistoryRequest) ([]Alarm, *http.Response, error)
- func (a *AlarmsAPIService) GetHighestAlarms(ctx context.Context) ApiGetHighestAlarmsRequest
- func (a *AlarmsAPIService) GetHighestAlarmsExecute(r ApiGetHighestAlarmsRequest) ([]Alarm, *http.Response, error)
- func (a *AlarmsAPIService) ListenAlarm(ctx context.Context) ApiListenAlarmRequest
- func (a *AlarmsAPIService) ListenAlarmExecute(r ApiListenAlarmRequest) (*AlarmListen, *http.Response, error)
- func (a *AlarmsAPIService) PatchAlarmById(ctx context.Context, alarmRuleId int32) ApiPatchAlarmByIdRequest
- func (a *AlarmsAPIService) PatchAlarmByIdExecute(r ApiPatchAlarmByIdRequest) (*http.Response, error)
- func (a *AlarmsAPIService) PutAlarm(ctx context.Context) ApiPutAlarmRequest
- func (a *AlarmsAPIService) PutAlarmExecute(r ApiPutAlarmRequest) (*Alarm, *http.Response, error)
- type ApiDeleteAggregationByIdRequest
- type ApiDeleteAlarmByIdRequest
- type ApiDeleteAlarmRuleByIdRequest
- type ApiDeleteAssetByIdRequest
- type ApiDeleteAssetTypeByNameRequest
- type ApiDeleteBulkAssetsRequest
- func (r ApiDeleteBulkAssetsRequest) Execute() (*http.Response, error)
- func (r ApiDeleteBulkAssetsRequest) Expansions(expansions []string) ApiDeleteBulkAssetsRequest
- func (r ApiDeleteBulkAssetsRequest) IdentifyBy(identifyBy string) ApiDeleteBulkAssetsRequest
- func (r ApiDeleteBulkAssetsRequest) RequestBody(requestBody []string) ApiDeleteBulkAssetsRequest
- type ApiDeleteCalculationRuleByIdRequest
- type ApiDeleteWidgetTypeByNameRequest
- type ApiDryRunDeleteBulkAssetsRequest
- func (r ApiDryRunDeleteBulkAssetsRequest) Execute() ([]AssetDryRun, *http.Response, error)
- func (r ApiDryRunDeleteBulkAssetsRequest) Expansions(expansions []string) ApiDryRunDeleteBulkAssetsRequest
- func (r ApiDryRunDeleteBulkAssetsRequest) IdentifyBy(identifyBy string) ApiDryRunDeleteBulkAssetsRequest
- func (r ApiDryRunDeleteBulkAssetsRequest) RequestBody(requestBody []string) ApiDryRunDeleteBulkAssetsRequest
- type ApiDryRunPostBulkAssetsRequest
- func (r ApiDryRunPostBulkAssetsRequest) Asset(asset []Asset) ApiDryRunPostBulkAssetsRequest
- func (r ApiDryRunPostBulkAssetsRequest) Execute() ([]AssetDryRun, *http.Response, error)
- func (r ApiDryRunPostBulkAssetsRequest) Expansions(expansions []string) ApiDryRunPostBulkAssetsRequest
- func (r ApiDryRunPostBulkAssetsRequest) IdentifyBy(identifyBy string) ApiDryRunPostBulkAssetsRequest
- type ApiDryRunPutBulkAssetsRequest
- func (r ApiDryRunPutBulkAssetsRequest) Asset(asset []Asset) ApiDryRunPutBulkAssetsRequest
- func (r ApiDryRunPutBulkAssetsRequest) Execute() ([]AssetDryRun, *http.Response, error)
- func (r ApiDryRunPutBulkAssetsRequest) Expansions(expansions []string) ApiDryRunPutBulkAssetsRequest
- func (r ApiDryRunPutBulkAssetsRequest) IdentifyBy(identifyBy string) ApiDryRunPutBulkAssetsRequest
- type ApiGetAgentByClassAndIdRequest
- type ApiGetAgentDeviceByIdRequest
- type ApiGetAgentDeviceMappingByIdRequest
- type ApiGetAgentDeviceMappingsByDeviceIdRequest
- type ApiGetAgentDevicesByAgentIdRequest
- type ApiGetAgentsByClassRequest
- type ApiGetAgentsRequest
- type ApiGetAggregationByIdRequest
- type ApiGetAggregationsRequest
- type ApiGetAlarmByIdRequest
- type ApiGetAlarmHistoryByIdRequest
- type ApiGetAlarmRuleByIdRequest
- type ApiGetAlarmRulesRequest
- func (r ApiGetAlarmRulesRequest) AlarmRuleIds(alarmRuleIds []int32) ApiGetAlarmRulesRequest
- func (r ApiGetAlarmRulesRequest) AssetId(assetId int32) ApiGetAlarmRulesRequest
- func (r ApiGetAlarmRulesRequest) Execute() ([]AlarmRule, *http.Response, error)
- func (r ApiGetAlarmRulesRequest) Expansions(expansions []string) ApiGetAlarmRulesRequest
- type ApiGetAlarmsHistoryRequest
- type ApiGetAlarmsRequest
- type ApiGetAppByNameRequest
- type ApiGetAssetByIdRequest
- type ApiGetAssetTypeByNameRequest
- type ApiGetAssetTypesRequest
- type ApiGetAssetsRequest
- func (r ApiGetAssetsRequest) AssetTypeName(assetTypeName string) ApiGetAssetsRequest
- func (r ApiGetAssetsRequest) Execute() ([]Asset, *http.Response, error)
- func (r ApiGetAssetsRequest) Expansions(expansions []string) ApiGetAssetsRequest
- func (r ApiGetAssetsRequest) ProjectId(projectId string) ApiGetAssetsRequest
- type ApiGetAttributeDisplayRequest
- type ApiGetCalculationRuleByIdRequest
- type ApiGetCalculationRulesRequest
- type ApiGetDashboardByIdRequest
- type ApiGetDashboardWidgetsRequest
- type ApiGetDashboardsRequest
- type ApiGetDataAggregatedRequest
- func (r ApiGetDataAggregatedRequest) AggregationId(aggregationId int32) ApiGetDataAggregatedRequest
- func (r ApiGetDataAggregatedRequest) AggregationRaster(aggregationRaster string) ApiGetDataAggregatedRequest
- func (r ApiGetDataAggregatedRequest) AssetId(assetId int32) ApiGetDataAggregatedRequest
- func (r ApiGetDataAggregatedRequest) AssetTypeName(assetTypeName string) ApiGetDataAggregatedRequest
- func (r ApiGetDataAggregatedRequest) DataSubtype(dataSubtype string) ApiGetDataAggregatedRequest
- func (r ApiGetDataAggregatedRequest) Execute() ([]DataAggregated, *http.Response, error)
- func (r ApiGetDataAggregatedRequest) FromDate(fromDate string) ApiGetDataAggregatedRequest
- func (r ApiGetDataAggregatedRequest) ToDate(toDate string) ApiGetDataAggregatedRequest
- type ApiGetDataRequest
- func (r ApiGetDataRequest) AssetId(assetId int32) ApiGetDataRequest
- func (r ApiGetDataRequest) AssetTypeName(assetTypeName string) ApiGetDataRequest
- func (r ApiGetDataRequest) DataSubtype(dataSubtype string) ApiGetDataRequest
- func (r ApiGetDataRequest) Execute() ([]Data, *http.Response, error)
- func (r ApiGetDataRequest) ParentAssetId(parentAssetId int32) ApiGetDataRequest
- type ApiGetDataTrendsRequest
- func (r ApiGetDataTrendsRequest) AssetId(assetId int32) ApiGetDataTrendsRequest
- func (r ApiGetDataTrendsRequest) AssetTypeName(assetTypeName string) ApiGetDataTrendsRequest
- func (r ApiGetDataTrendsRequest) DataSubtype(dataSubtype string) ApiGetDataTrendsRequest
- func (r ApiGetDataTrendsRequest) Execute() ([]Data, *http.Response, error)
- func (r ApiGetDataTrendsRequest) FromDate(fromDate string) ApiGetDataTrendsRequest
- func (r ApiGetDataTrendsRequest) ToDate(toDate string) ApiGetDataTrendsRequest
- type ApiGetHighestAlarmsRequest
- type ApiGetMessageReceiptByIdRequest
- type ApiGetNodeByIdentRequest
- type ApiGetNodesRequest
- type ApiGetOpenAPIRequest
- type ApiGetPatchByNameRequest
- type ApiGetProjectByIdRequest
- type ApiGetProjectsRequest
- type ApiGetQrCodeByAssetIdRequest
- type ApiGetTagByNameRequest
- type ApiGetTagsRequest
- type ApiGetUserByIdRequest
- type ApiGetUsersRequest
- type ApiGetVersionRequest
- type ApiGetWidgetTypeByNameRequest
- type ApiGetWidgetTypesRequest
- type ApiListenAlarmRequest
- type ApiListenAssetRequest
- type ApiListenDataRequest
- type ApiPatchAlarmByIdRequest
- type ApiPatchAppByNameRequest
- type ApiPatchPatchByNameRequest
- type ApiPostAgentByClassRequest
- type ApiPostAgentDeviceByAgentIdRequest
- type ApiPostAgentDeviceMappingByDeviceIdRequest
- type ApiPostAggregationRequest
- type ApiPostAlarmRuleRequest
- type ApiPostAssetRequest
- type ApiPostAssetTypeAttributeRequest
- type ApiPostAssetTypeRequest
- type ApiPostBulkAssetsRequest
- func (r ApiPostBulkAssetsRequest) Asset(asset []Asset) ApiPostBulkAssetsRequest
- func (r ApiPostBulkAssetsRequest) Execute() ([]Asset, *http.Response, error)
- func (r ApiPostBulkAssetsRequest) Expansions(expansions []string) ApiPostBulkAssetsRequest
- func (r ApiPostBulkAssetsRequest) IdentifyBy(identifyBy string) ApiPostBulkAssetsRequest
- type ApiPostDashboardRequest
- type ApiPostDashboardWidgetRequest
- type ApiPostMailRequest
- type ApiPostNodeRequest
- type ApiPostNotificationRequest
- type ApiPostWidgetTypeRequest
- type ApiPutAgentByClassAndIdRequest
- type ApiPutAgentByClassRequest
- type ApiPutAgentDeviceByAgentIdRequest
- type ApiPutAgentDeviceByIdRequest
- type ApiPutAgentDeviceMappingByDeviceIdRequest
- type ApiPutAgentDeviceMappingByIdRequest
- type ApiPutAggregationByIdRequest
- type ApiPutAggregationRequest
- type ApiPutAlarmRequest
- type ApiPutAlarmRuleByIdRequest
- type ApiPutAlarmRuleRequest
- type ApiPutAssetByIdRequest
- type ApiPutAssetRequest
- type ApiPutAssetTypeAttributeRequest
- type ApiPutAssetTypeByNameRequest
- type ApiPutAssetTypeRequest
- type ApiPutAttributeDisplayRequest
- type ApiPutBulkAssetsRequest
- func (r ApiPutBulkAssetsRequest) Asset(asset []Asset) ApiPutBulkAssetsRequest
- func (r ApiPutBulkAssetsRequest) Execute() ([]Asset, *http.Response, error)
- func (r ApiPutBulkAssetsRequest) Expansions(expansions []string) ApiPutBulkAssetsRequest
- func (r ApiPutBulkAssetsRequest) IdentifyBy(identifyBy string) ApiPutBulkAssetsRequest
- type ApiPutBulkDataRequest
- type ApiPutCalculationRuleByIdRequest
- type ApiPutCalculationRuleRequest
- type ApiPutDataRequest
- type ApiPutNodeByIdentRequest
- type ApiPutNodeRequest
- type ApiPutProjectRequest
- type ApiPutTagRequest
- type ApiPutUserRequest
- type ApiPutWidgetTypeByNameRequest
- type ApiPutWidgetTypeRequest
- type App
- func (o *App) GetActive() bool
- func (o *App) GetActiveOk() (*bool, bool)
- func (o *App) GetMetadata() map[string]interface{}
- func (o *App) GetMetadataOk() (map[string]interface{}, bool)
- func (o *App) GetName() string
- func (o *App) GetNameOk() (*string, bool)
- func (o *App) GetRegistered() bool
- func (o *App) GetRegisteredOk() (*bool, bool)
- func (o *App) GetVersion() string
- func (o *App) GetVersionOk() (*string, bool)
- func (o *App) HasActive() bool
- func (o *App) HasMetadata() bool
- func (o *App) HasRegistered() bool
- func (o *App) HasVersion() bool
- func (o App) MarshalJSON() ([]byte, error)
- func (o *App) SetActive(v bool)
- func (o *App) SetActiveNil()
- func (o *App) SetMetadata(v map[string]interface{})
- func (o *App) SetName(v string)
- func (o *App) SetRegistered(v bool)
- func (o *App) SetRegisteredNil()
- func (o *App) SetVersion(v string)
- func (o *App) SetVersionNil()
- func (o App) ToMap() (map[string]interface{}, error)
- func (o *App) UnmarshalJSON(data []byte) (err error)
- func (o *App) UnsetActive()
- func (o *App) UnsetRegistered()
- func (o *App) UnsetVersion()
- type AppsAPIService
- func (a *AppsAPIService) GetAppByName(ctx context.Context, appName string) ApiGetAppByNameRequest
- func (a *AppsAPIService) GetAppByNameExecute(r ApiGetAppByNameRequest) (*App, *http.Response, error)
- func (a *AppsAPIService) GetPatchByName(ctx context.Context, appName string, patchName string) ApiGetPatchByNameRequest
- func (a *AppsAPIService) GetPatchByNameExecute(r ApiGetPatchByNameRequest) (*Patch, *http.Response, error)
- func (a *AppsAPIService) PatchAppByName(ctx context.Context, appName string) ApiPatchAppByNameRequest
- func (a *AppsAPIService) PatchAppByNameExecute(r ApiPatchAppByNameRequest) (*http.Response, error)
- func (a *AppsAPIService) PatchPatchByName(ctx context.Context, appName string, patchName string) ApiPatchPatchByNameRequest
- func (a *AppsAPIService) PatchPatchByNameExecute(r ApiPatchPatchByNameRequest) (*http.Response, error)
- type Asset
- func (o *Asset) GetAssetType() string
- func (o *Asset) GetAssetTypeOk() (*string, bool)
- func (o *Asset) GetAttachments() []Attachment
- func (o *Asset) GetAttachmentsOk() ([]Attachment, bool)
- func (o *Asset) GetChildrenInfo() []Asset
- func (o *Asset) GetChildrenInfoOk() ([]Asset, bool)
- func (o *Asset) GetDescription() string
- func (o *Asset) GetDescriptionOk() (*string, bool)
- func (o *Asset) GetDeviceIds() []string
- func (o *Asset) GetDeviceIdsOk() ([]string, bool)
- func (o *Asset) GetFunctionalAssetIdPath() []int32
- func (o *Asset) GetFunctionalAssetIdPathOk() ([]int32, bool)
- func (o *Asset) GetGlobalAssetIdentifier() string
- func (o *Asset) GetGlobalAssetIdentifierOk() (*string, bool)
- func (o *Asset) GetId() int32
- func (o *Asset) GetIdOk() (*int32, bool)
- func (o *Asset) GetIsTracker() bool
- func (o *Asset) GetIsTrackerOk() (*bool, bool)
- func (o *Asset) GetLatitude() float64
- func (o *Asset) GetLatitudeOk() (*float64, bool)
- func (o *Asset) GetLocationalAssetIdPath() []int32
- func (o *Asset) GetLocationalAssetIdPathOk() ([]int32, bool)
- func (o *Asset) GetLongitude() float64
- func (o *Asset) GetLongitudeOk() (*float64, bool)
- func (o *Asset) GetName() string
- func (o *Asset) GetNameOk() (*string, bool)
- func (o *Asset) GetParentFunctionalAssetId() int32
- func (o *Asset) GetParentFunctionalAssetIdOk() (*int32, bool)
- func (o *Asset) GetParentFunctionalIdentifier() string
- func (o *Asset) GetParentFunctionalIdentifierOk() (*string, bool)
- func (o *Asset) GetParentLocationalAssetId() int32
- func (o *Asset) GetParentLocationalAssetIdOk() (*int32, bool)
- func (o *Asset) GetParentLocationalIdentifier() string
- func (o *Asset) GetParentLocationalIdentifierOk() (*string, bool)
- func (o *Asset) GetProjectId() string
- func (o *Asset) GetProjectIdOk() (*string, bool)
- func (o *Asset) GetResourceId() string
- func (o *Asset) GetResourceIdOk() (*string, bool)
- func (o *Asset) GetTags() []string
- func (o *Asset) GetTagsOk() ([]string, bool)
- func (o *Asset) GetTrackerId() int32
- func (o *Asset) GetTrackerIdOk() (*int32, bool)
- func (o *Asset) HasAttachments() bool
- func (o *Asset) HasChildrenInfo() bool
- func (o *Asset) HasDescription() bool
- func (o *Asset) HasDeviceIds() bool
- func (o *Asset) HasFunctionalAssetIdPath() bool
- func (o *Asset) HasId() bool
- func (o *Asset) HasIsTracker() bool
- func (o *Asset) HasLatitude() bool
- func (o *Asset) HasLocationalAssetIdPath() bool
- func (o *Asset) HasLongitude() bool
- func (o *Asset) HasName() bool
- func (o *Asset) HasParentFunctionalAssetId() bool
- func (o *Asset) HasParentFunctionalIdentifier() bool
- func (o *Asset) HasParentLocationalAssetId() bool
- func (o *Asset) HasParentLocationalIdentifier() bool
- func (o *Asset) HasResourceId() bool
- func (o *Asset) HasTags() bool
- func (o *Asset) HasTrackerId() bool
- func (o Asset) MarshalJSON() ([]byte, error)
- func (o *Asset) SetAssetType(v string)
- func (o *Asset) SetAttachments(v []Attachment)
- func (o *Asset) SetChildrenInfo(v []Asset)
- func (o *Asset) SetDescription(v string)
- func (o *Asset) SetDescriptionNil()
- func (o *Asset) SetDeviceIds(v []string)
- func (o *Asset) SetFunctionalAssetIdPath(v []int32)
- func (o *Asset) SetGlobalAssetIdentifier(v string)
- func (o *Asset) SetId(v int32)
- func (o *Asset) SetIdNil()
- func (o *Asset) SetIsTracker(v bool)
- func (o *Asset) SetIsTrackerNil()
- func (o *Asset) SetLatitude(v float64)
- func (o *Asset) SetLatitudeNil()
- func (o *Asset) SetLocationalAssetIdPath(v []int32)
- func (o *Asset) SetLongitude(v float64)
- func (o *Asset) SetLongitudeNil()
- func (o *Asset) SetName(v string)
- func (o *Asset) SetNameNil()
- func (o *Asset) SetParentFunctionalAssetId(v int32)
- func (o *Asset) SetParentFunctionalAssetIdNil()
- func (o *Asset) SetParentFunctionalIdentifier(v string)
- func (o *Asset) SetParentFunctionalIdentifierNil()
- func (o *Asset) SetParentLocationalAssetId(v int32)
- func (o *Asset) SetParentLocationalAssetIdNil()
- func (o *Asset) SetParentLocationalIdentifier(v string)
- func (o *Asset) SetParentLocationalIdentifierNil()
- func (o *Asset) SetProjectId(v string)
- func (o *Asset) SetResourceId(v string)
- func (o *Asset) SetResourceIdNil()
- func (o *Asset) SetTags(v []string)
- func (o *Asset) SetTrackerId(v int32)
- func (o *Asset) SetTrackerIdNil()
- func (o Asset) ToMap() (map[string]interface{}, error)
- func (o *Asset) UnmarshalJSON(data []byte) (err error)
- func (o *Asset) UnsetDescription()
- func (o *Asset) UnsetId()
- func (o *Asset) UnsetIsTracker()
- func (o *Asset) UnsetLatitude()
- func (o *Asset) UnsetLongitude()
- func (o *Asset) UnsetName()
- func (o *Asset) UnsetParentFunctionalAssetId()
- func (o *Asset) UnsetParentFunctionalIdentifier()
- func (o *Asset) UnsetParentLocationalAssetId()
- func (o *Asset) UnsetParentLocationalIdentifier()
- func (o *Asset) UnsetResourceId()
- func (o *Asset) UnsetTrackerId()
- type AssetDryRun
- func (o *AssetDryRun) GetAfter() Asset
- func (o *AssetDryRun) GetAfterOk() (*Asset, bool)
- func (o *AssetDryRun) GetBefore() Asset
- func (o *AssetDryRun) GetBeforeOk() (*Asset, bool)
- func (o *AssetDryRun) GetErrorMessage() string
- func (o *AssetDryRun) GetErrorMessageOk() (*string, bool)
- func (o *AssetDryRun) GetIdentifiedBy() AssetIdentifyBy
- func (o *AssetDryRun) GetIdentifiedByOk() (*AssetIdentifyBy, bool)
- func (o *AssetDryRun) GetIdentifier() string
- func (o *AssetDryRun) GetIdentifierOk() (*string, bool)
- func (o *AssetDryRun) GetStatusCode() int32
- func (o *AssetDryRun) GetStatusCodeOk() (*int32, bool)
- func (o *AssetDryRun) HasAfter() bool
- func (o *AssetDryRun) HasBefore() bool
- func (o *AssetDryRun) HasErrorMessage() bool
- func (o *AssetDryRun) HasIdentifiedBy() bool
- func (o *AssetDryRun) HasIdentifier() bool
- func (o *AssetDryRun) HasStatusCode() bool
- func (o AssetDryRun) MarshalJSON() ([]byte, error)
- func (o *AssetDryRun) SetAfter(v Asset)
- func (o *AssetDryRun) SetAfterNil()
- func (o *AssetDryRun) SetBefore(v Asset)
- func (o *AssetDryRun) SetBeforeNil()
- func (o *AssetDryRun) SetErrorMessage(v string)
- func (o *AssetDryRun) SetErrorMessageNil()
- func (o *AssetDryRun) SetIdentifiedBy(v AssetIdentifyBy)
- func (o *AssetDryRun) SetIdentifier(v string)
- func (o *AssetDryRun) SetStatusCode(v int32)
- func (o AssetDryRun) ToMap() (map[string]interface{}, error)
- func (o *AssetDryRun) UnsetAfter()
- func (o *AssetDryRun) UnsetBefore()
- func (o *AssetDryRun) UnsetErrorMessage()
- type AssetIdentifyBy
- type AssetListen
- func (o *AssetListen) GetAssetType() string
- func (o *AssetListen) GetAssetTypeOk() (*string, bool)
- func (o *AssetListen) GetAttachments() []Attachment
- func (o *AssetListen) GetAttachmentsOk() ([]Attachment, bool)
- func (o *AssetListen) GetChildrenInfo() []Asset
- func (o *AssetListen) GetChildrenInfoOk() ([]Asset, bool)
- func (o *AssetListen) GetDescription() string
- func (o *AssetListen) GetDescriptionOk() (*string, bool)
- func (o *AssetListen) GetDeviceIds() []string
- func (o *AssetListen) GetDeviceIdsOk() ([]string, bool)
- func (o *AssetListen) GetFunctionalAssetIdPath() []int32
- func (o *AssetListen) GetFunctionalAssetIdPathOk() ([]int32, bool)
- func (o *AssetListen) GetGlobalAssetIdentifier() string
- func (o *AssetListen) GetGlobalAssetIdentifierOk() (*string, bool)
- func (o *AssetListen) GetId() int32
- func (o *AssetListen) GetIdOk() (*int32, bool)
- func (o *AssetListen) GetIsTracker() bool
- func (o *AssetListen) GetIsTrackerOk() (*bool, bool)
- func (o *AssetListen) GetLatitude() float64
- func (o *AssetListen) GetLatitudeOk() (*float64, bool)
- func (o *AssetListen) GetLocationalAssetIdPath() []int32
- func (o *AssetListen) GetLocationalAssetIdPathOk() ([]int32, bool)
- func (o *AssetListen) GetLongitude() float64
- func (o *AssetListen) GetLongitudeOk() (*float64, bool)
- func (o *AssetListen) GetName() string
- func (o *AssetListen) GetNameOk() (*string, bool)
- func (o *AssetListen) GetParentFunctionalAssetId() int32
- func (o *AssetListen) GetParentFunctionalAssetIdOk() (*int32, bool)
- func (o *AssetListen) GetParentFunctionalIdentifier() string
- func (o *AssetListen) GetParentFunctionalIdentifierOk() (*string, bool)
- func (o *AssetListen) GetParentLocationalAssetId() int32
- func (o *AssetListen) GetParentLocationalAssetIdOk() (*int32, bool)
- func (o *AssetListen) GetParentLocationalIdentifier() string
- func (o *AssetListen) GetParentLocationalIdentifierOk() (*string, bool)
- func (o *AssetListen) GetProjectId() string
- func (o *AssetListen) GetProjectIdOk() (*string, bool)
- func (o *AssetListen) GetResourceId() string
- func (o *AssetListen) GetResourceIdOk() (*string, bool)
- func (o *AssetListen) GetStatusCode() int32
- func (o *AssetListen) GetStatusCodeOk() (*int32, bool)
- func (o *AssetListen) GetTags() []string
- func (o *AssetListen) GetTagsOk() ([]string, bool)
- func (o *AssetListen) GetTrackerId() int32
- func (o *AssetListen) GetTrackerIdOk() (*int32, bool)
- func (o *AssetListen) HasAttachments() bool
- func (o *AssetListen) HasChildrenInfo() bool
- func (o *AssetListen) HasDescription() bool
- func (o *AssetListen) HasDeviceIds() bool
- func (o *AssetListen) HasFunctionalAssetIdPath() bool
- func (o *AssetListen) HasId() bool
- func (o *AssetListen) HasIsTracker() bool
- func (o *AssetListen) HasLatitude() bool
- func (o *AssetListen) HasLocationalAssetIdPath() bool
- func (o *AssetListen) HasLongitude() bool
- func (o *AssetListen) HasName() bool
- func (o *AssetListen) HasParentFunctionalAssetId() bool
- func (o *AssetListen) HasParentFunctionalIdentifier() bool
- func (o *AssetListen) HasParentLocationalAssetId() bool
- func (o *AssetListen) HasParentLocationalIdentifier() bool
- func (o *AssetListen) HasResourceId() bool
- func (o *AssetListen) HasStatusCode() bool
- func (o *AssetListen) HasTags() bool
- func (o *AssetListen) HasTrackerId() bool
- func (o AssetListen) MarshalJSON() ([]byte, error)
- func (o *AssetListen) SetAssetType(v string)
- func (o *AssetListen) SetAttachments(v []Attachment)
- func (o *AssetListen) SetChildrenInfo(v []Asset)
- func (o *AssetListen) SetDescription(v string)
- func (o *AssetListen) SetDescriptionNil()
- func (o *AssetListen) SetDeviceIds(v []string)
- func (o *AssetListen) SetFunctionalAssetIdPath(v []int32)
- func (o *AssetListen) SetGlobalAssetIdentifier(v string)
- func (o *AssetListen) SetId(v int32)
- func (o *AssetListen) SetIdNil()
- func (o *AssetListen) SetIsTracker(v bool)
- func (o *AssetListen) SetIsTrackerNil()
- func (o *AssetListen) SetLatitude(v float64)
- func (o *AssetListen) SetLatitudeNil()
- func (o *AssetListen) SetLocationalAssetIdPath(v []int32)
- func (o *AssetListen) SetLongitude(v float64)
- func (o *AssetListen) SetLongitudeNil()
- func (o *AssetListen) SetName(v string)
- func (o *AssetListen) SetNameNil()
- func (o *AssetListen) SetParentFunctionalAssetId(v int32)
- func (o *AssetListen) SetParentFunctionalAssetIdNil()
- func (o *AssetListen) SetParentFunctionalIdentifier(v string)
- func (o *AssetListen) SetParentFunctionalIdentifierNil()
- func (o *AssetListen) SetParentLocationalAssetId(v int32)
- func (o *AssetListen) SetParentLocationalAssetIdNil()
- func (o *AssetListen) SetParentLocationalIdentifier(v string)
- func (o *AssetListen) SetParentLocationalIdentifierNil()
- func (o *AssetListen) SetProjectId(v string)
- func (o *AssetListen) SetResourceId(v string)
- func (o *AssetListen) SetResourceIdNil()
- func (o *AssetListen) SetStatusCode(v int32)
- func (o *AssetListen) SetTags(v []string)
- func (o *AssetListen) SetTrackerId(v int32)
- func (o *AssetListen) SetTrackerIdNil()
- func (o AssetListen) ToMap() (map[string]interface{}, error)
- func (o *AssetListen) UnmarshalJSON(data []byte) (err error)
- func (o *AssetListen) UnsetDescription()
- func (o *AssetListen) UnsetId()
- func (o *AssetListen) UnsetIsTracker()
- func (o *AssetListen) UnsetLatitude()
- func (o *AssetListen) UnsetLongitude()
- func (o *AssetListen) UnsetName()
- func (o *AssetListen) UnsetParentFunctionalAssetId()
- func (o *AssetListen) UnsetParentFunctionalIdentifier()
- func (o *AssetListen) UnsetParentLocationalAssetId()
- func (o *AssetListen) UnsetParentLocationalIdentifier()
- func (o *AssetListen) UnsetResourceId()
- func (o *AssetListen) UnsetTrackerId()
- type AssetType
- func (o *AssetType) GetAllowedInactivity() string
- func (o *AssetType) GetAllowedInactivityOk() (*string, bool)
- func (o *AssetType) GetAttributes() []AssetTypeAttribute
- func (o *AssetType) GetAttributesOk() ([]AssetTypeAttribute, bool)
- func (o *AssetType) GetCustom() bool
- func (o *AssetType) GetCustomOk() (*bool, bool)
- func (o *AssetType) GetIcon() string
- func (o *AssetType) GetIconOk() (*string, bool)
- func (o *AssetType) GetIsTracker() bool
- func (o *AssetType) GetIsTrackerOk() (*bool, bool)
- func (o *AssetType) GetModel() string
- func (o *AssetType) GetModelOk() (*string, bool)
- func (o *AssetType) GetName() string
- func (o *AssetType) GetNameOk() (*string, bool)
- func (o *AssetType) GetPayloadFunction() string
- func (o *AssetType) GetPayloadFunctionOk() (*string, bool)
- func (o *AssetType) GetTranslation() Translation
- func (o *AssetType) GetTranslationOk() (*Translation, bool)
- func (o *AssetType) GetUrldoc() string
- func (o *AssetType) GetUrldocOk() (*string, bool)
- func (o *AssetType) GetVendor() string
- func (o *AssetType) GetVendorOk() (*string, bool)
- func (o *AssetType) HasAllowedInactivity() bool
- func (o *AssetType) HasAttributes() bool
- func (o *AssetType) HasCustom() bool
- func (o *AssetType) HasIcon() bool
- func (o *AssetType) HasIsTracker() bool
- func (o *AssetType) HasModel() bool
- func (o *AssetType) HasPayloadFunction() bool
- func (o *AssetType) HasTranslation() bool
- func (o *AssetType) HasUrldoc() bool
- func (o *AssetType) HasVendor() bool
- func (o AssetType) MarshalJSON() ([]byte, error)
- func (o *AssetType) SetAllowedInactivity(v string)
- func (o *AssetType) SetAllowedInactivityNil()
- func (o *AssetType) SetAttributes(v []AssetTypeAttribute)
- func (o *AssetType) SetCustom(v bool)
- func (o *AssetType) SetIcon(v string)
- func (o *AssetType) SetIconNil()
- func (o *AssetType) SetIsTracker(v bool)
- func (o *AssetType) SetIsTrackerNil()
- func (o *AssetType) SetModel(v string)
- func (o *AssetType) SetModelNil()
- func (o *AssetType) SetName(v string)
- func (o *AssetType) SetPayloadFunction(v string)
- func (o *AssetType) SetPayloadFunctionNil()
- func (o *AssetType) SetTranslation(v Translation)
- func (o *AssetType) SetTranslationNil()
- func (o *AssetType) SetUrldoc(v string)
- func (o *AssetType) SetUrldocNil()
- func (o *AssetType) SetVendor(v string)
- func (o *AssetType) SetVendorNil()
- func (o AssetType) ToMap() (map[string]interface{}, error)
- func (o *AssetType) UnmarshalJSON(data []byte) (err error)
- func (o *AssetType) UnsetAllowedInactivity()
- func (o *AssetType) UnsetIcon()
- func (o *AssetType) UnsetIsTracker()
- func (o *AssetType) UnsetModel()
- func (o *AssetType) UnsetPayloadFunction()
- func (o *AssetType) UnsetTranslation()
- func (o *AssetType) UnsetUrldoc()
- func (o *AssetType) UnsetVendor()
- type AssetTypeAttribute
- func (o *AssetTypeAttribute) GetAggregationMode() string
- func (o *AssetTypeAttribute) GetAggregationModeOk() (*string, bool)
- func (o *AssetTypeAttribute) GetAggregationRasters() []string
- func (o *AssetTypeAttribute) GetAggregationRastersOk() ([]string, bool)
- func (o *AssetTypeAttribute) GetAr() bool
- func (o *AssetTypeAttribute) GetArOk() (*bool, bool)
- func (o *AssetTypeAttribute) GetAssetTypeName() string
- func (o *AssetTypeAttribute) GetAssetTypeNameOk() (*string, bool)
- func (o *AssetTypeAttribute) GetEnable() bool
- func (o *AssetTypeAttribute) GetEnableOk() (*bool, bool)
- func (o *AssetTypeAttribute) GetFormula() string
- func (o *AssetTypeAttribute) GetFormulaOk() (*string, bool)
- func (o *AssetTypeAttribute) GetIsDigital() bool
- func (o *AssetTypeAttribute) GetIsDigitalOk() (*bool, bool)
- func (o *AssetTypeAttribute) GetMap() []map[string]interface{}
- func (o *AssetTypeAttribute) GetMapOk() ([]map[string]interface{}, bool)
- func (o *AssetTypeAttribute) GetMax() float64
- func (o *AssetTypeAttribute) GetMaxOk() (*float64, bool)
- func (o *AssetTypeAttribute) GetMin() float64
- func (o *AssetTypeAttribute) GetMinOk() (*float64, bool)
- func (o *AssetTypeAttribute) GetName() string
- func (o *AssetTypeAttribute) GetNameOk() (*string, bool)
- func (o *AssetTypeAttribute) GetPrecision() int64
- func (o *AssetTypeAttribute) GetPrecisionOk() (*int64, bool)
- func (o *AssetTypeAttribute) GetScale() float32
- func (o *AssetTypeAttribute) GetScaleOk() (*float32, bool)
- func (o *AssetTypeAttribute) GetSequence() int64
- func (o *AssetTypeAttribute) GetSequenceOk() (*int64, bool)
- func (o *AssetTypeAttribute) GetSourcePath() []string
- func (o *AssetTypeAttribute) GetSourcePathOk() ([]string, bool)
- func (o *AssetTypeAttribute) GetSubtype() DataSubtype
- func (o *AssetTypeAttribute) GetSubtypeOk() (*DataSubtype, bool)
- func (o *AssetTypeAttribute) GetTranslation() Translation
- func (o *AssetTypeAttribute) GetTranslationOk() (*Translation, bool)
- func (o *AssetTypeAttribute) GetType() string
- func (o *AssetTypeAttribute) GetTypeOk() (*string, bool)
- func (o *AssetTypeAttribute) GetUnit() string
- func (o *AssetTypeAttribute) GetUnitOk() (*string, bool)
- func (o *AssetTypeAttribute) GetViewer() bool
- func (o *AssetTypeAttribute) GetViewerOk() (*bool, bool)
- func (o *AssetTypeAttribute) GetVirtual() bool
- func (o *AssetTypeAttribute) GetVirtualOk() (*bool, bool)
- func (o *AssetTypeAttribute) GetZero() float32
- func (o *AssetTypeAttribute) GetZeroOk() (*float32, bool)
- func (o *AssetTypeAttribute) HasAggregationMode() bool
- func (o *AssetTypeAttribute) HasAggregationRasters() bool
- func (o *AssetTypeAttribute) HasAr() bool
- func (o *AssetTypeAttribute) HasAssetTypeName() bool
- func (o *AssetTypeAttribute) HasEnable() bool
- func (o *AssetTypeAttribute) HasFormula() bool
- func (o *AssetTypeAttribute) HasIsDigital() bool
- func (o *AssetTypeAttribute) HasMap() bool
- func (o *AssetTypeAttribute) HasMax() bool
- func (o *AssetTypeAttribute) HasMin() bool
- func (o *AssetTypeAttribute) HasPrecision() bool
- func (o *AssetTypeAttribute) HasScale() bool
- func (o *AssetTypeAttribute) HasSequence() bool
- func (o *AssetTypeAttribute) HasSourcePath() bool
- func (o *AssetTypeAttribute) HasTranslation() bool
- func (o *AssetTypeAttribute) HasType() bool
- func (o *AssetTypeAttribute) HasUnit() bool
- func (o *AssetTypeAttribute) HasViewer() bool
- func (o *AssetTypeAttribute) HasVirtual() bool
- func (o *AssetTypeAttribute) HasZero() bool
- func (o AssetTypeAttribute) MarshalJSON() ([]byte, error)
- func (o *AssetTypeAttribute) SetAggregationMode(v string)
- func (o *AssetTypeAttribute) SetAggregationModeNil()
- func (o *AssetTypeAttribute) SetAggregationRasters(v []string)
- func (o *AssetTypeAttribute) SetAr(v bool)
- func (o *AssetTypeAttribute) SetArNil()
- func (o *AssetTypeAttribute) SetAssetTypeName(v string)
- func (o *AssetTypeAttribute) SetAssetTypeNameNil()
- func (o *AssetTypeAttribute) SetEnable(v bool)
- func (o *AssetTypeAttribute) SetFormula(v string)
- func (o *AssetTypeAttribute) SetFormulaNil()
- func (o *AssetTypeAttribute) SetIsDigital(v bool)
- func (o *AssetTypeAttribute) SetIsDigitalNil()
- func (o *AssetTypeAttribute) SetMap(v []map[string]interface{})
- func (o *AssetTypeAttribute) SetMax(v float64)
- func (o *AssetTypeAttribute) SetMaxNil()
- func (o *AssetTypeAttribute) SetMin(v float64)
- func (o *AssetTypeAttribute) SetMinNil()
- func (o *AssetTypeAttribute) SetName(v string)
- func (o *AssetTypeAttribute) SetPrecision(v int64)
- func (o *AssetTypeAttribute) SetPrecisionNil()
- func (o *AssetTypeAttribute) SetScale(v float32)
- func (o *AssetTypeAttribute) SetScaleNil()
- func (o *AssetTypeAttribute) SetSequence(v int64)
- func (o *AssetTypeAttribute) SetSequenceNil()
- func (o *AssetTypeAttribute) SetSourcePath(v []string)
- func (o *AssetTypeAttribute) SetSubtype(v DataSubtype)
- func (o *AssetTypeAttribute) SetTranslation(v Translation)
- func (o *AssetTypeAttribute) SetTranslationNil()
- func (o *AssetTypeAttribute) SetType(v string)
- func (o *AssetTypeAttribute) SetTypeNil()
- func (o *AssetTypeAttribute) SetUnit(v string)
- func (o *AssetTypeAttribute) SetUnitNil()
- func (o *AssetTypeAttribute) SetViewer(v bool)
- func (o *AssetTypeAttribute) SetViewerNil()
- func (o *AssetTypeAttribute) SetVirtual(v bool)
- func (o *AssetTypeAttribute) SetVirtualNil()
- func (o *AssetTypeAttribute) SetZero(v float32)
- func (o *AssetTypeAttribute) SetZeroNil()
- func (o AssetTypeAttribute) ToMap() (map[string]interface{}, error)
- func (o *AssetTypeAttribute) UnmarshalJSON(data []byte) (err error)
- func (o *AssetTypeAttribute) UnsetAggregationMode()
- func (o *AssetTypeAttribute) UnsetAr()
- func (o *AssetTypeAttribute) UnsetAssetTypeName()
- func (o *AssetTypeAttribute) UnsetFormula()
- func (o *AssetTypeAttribute) UnsetIsDigital()
- func (o *AssetTypeAttribute) UnsetMax()
- func (o *AssetTypeAttribute) UnsetMin()
- func (o *AssetTypeAttribute) UnsetPrecision()
- func (o *AssetTypeAttribute) UnsetScale()
- func (o *AssetTypeAttribute) UnsetSequence()
- func (o *AssetTypeAttribute) UnsetTranslation()
- func (o *AssetTypeAttribute) UnsetType()
- func (o *AssetTypeAttribute) UnsetUnit()
- func (o *AssetTypeAttribute) UnsetViewer()
- func (o *AssetTypeAttribute) UnsetVirtual()
- func (o *AssetTypeAttribute) UnsetZero()
- type AssetTypesAPIService
- func (a *AssetTypesAPIService) DeleteAssetTypeByName(ctx context.Context, assetTypeName string) ApiDeleteAssetTypeByNameRequest
- func (a *AssetTypesAPIService) DeleteAssetTypeByNameExecute(r ApiDeleteAssetTypeByNameRequest) (*http.Response, error)
- func (a *AssetTypesAPIService) GetAssetTypeByName(ctx context.Context, assetTypeName string) ApiGetAssetTypeByNameRequest
- func (a *AssetTypesAPIService) GetAssetTypeByNameExecute(r ApiGetAssetTypeByNameRequest) (*AssetType, *http.Response, error)
- func (a *AssetTypesAPIService) GetAssetTypes(ctx context.Context) ApiGetAssetTypesRequest
- func (a *AssetTypesAPIService) GetAssetTypesExecute(r ApiGetAssetTypesRequest) ([]AssetType, *http.Response, error)
- func (a *AssetTypesAPIService) PostAssetType(ctx context.Context) ApiPostAssetTypeRequest
- func (a *AssetTypesAPIService) PostAssetTypeAttribute(ctx context.Context, assetTypeName string) ApiPostAssetTypeAttributeRequest
- func (a *AssetTypesAPIService) PostAssetTypeAttributeExecute(r ApiPostAssetTypeAttributeRequest) (*AssetTypeAttribute, *http.Response, error)
- func (a *AssetTypesAPIService) PostAssetTypeExecute(r ApiPostAssetTypeRequest) (*AssetType, *http.Response, error)
- func (a *AssetTypesAPIService) PutAssetType(ctx context.Context) ApiPutAssetTypeRequest
- func (a *AssetTypesAPIService) PutAssetTypeAttribute(ctx context.Context, assetTypeName string) ApiPutAssetTypeAttributeRequest
- func (a *AssetTypesAPIService) PutAssetTypeAttributeExecute(r ApiPutAssetTypeAttributeRequest) (*AssetTypeAttribute, *http.Response, error)
- func (a *AssetTypesAPIService) PutAssetTypeByName(ctx context.Context, assetTypeName string) ApiPutAssetTypeByNameRequest
- func (a *AssetTypesAPIService) PutAssetTypeByNameExecute(r ApiPutAssetTypeByNameRequest) (*AssetType, *http.Response, error)
- func (a *AssetTypesAPIService) PutAssetTypeExecute(r ApiPutAssetTypeRequest) (*AssetType, *http.Response, error)
- type AssetsAPIService
- func (a *AssetsAPIService) DeleteAssetById(ctx context.Context, assetId int32) ApiDeleteAssetByIdRequest
- func (a *AssetsAPIService) DeleteAssetByIdExecute(r ApiDeleteAssetByIdRequest) (*http.Response, error)
- func (a *AssetsAPIService) DeleteBulkAssets(ctx context.Context) ApiDeleteBulkAssetsRequest
- func (a *AssetsAPIService) DeleteBulkAssetsExecute(r ApiDeleteBulkAssetsRequest) (*http.Response, error)
- func (a *AssetsAPIService) DryRunDeleteBulkAssets(ctx context.Context) ApiDryRunDeleteBulkAssetsRequest
- func (a *AssetsAPIService) DryRunDeleteBulkAssetsExecute(r ApiDryRunDeleteBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)
- func (a *AssetsAPIService) DryRunPostBulkAssets(ctx context.Context) ApiDryRunPostBulkAssetsRequest
- func (a *AssetsAPIService) DryRunPostBulkAssetsExecute(r ApiDryRunPostBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)
- func (a *AssetsAPIService) DryRunPutBulkAssets(ctx context.Context) ApiDryRunPutBulkAssetsRequest
- func (a *AssetsAPIService) DryRunPutBulkAssetsExecute(r ApiDryRunPutBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)
- func (a *AssetsAPIService) GetAssetById(ctx context.Context, assetId int32) ApiGetAssetByIdRequest
- func (a *AssetsAPIService) GetAssetByIdExecute(r ApiGetAssetByIdRequest) (*Asset, *http.Response, error)
- func (a *AssetsAPIService) GetAssets(ctx context.Context) ApiGetAssetsRequest
- func (a *AssetsAPIService) GetAssetsExecute(r ApiGetAssetsRequest) ([]Asset, *http.Response, error)
- func (a *AssetsAPIService) GetAttributeDisplay(ctx context.Context) ApiGetAttributeDisplayRequest
- func (a *AssetsAPIService) GetAttributeDisplayExecute(r ApiGetAttributeDisplayRequest) (*AttributeDisplay, *http.Response, error)
- func (a *AssetsAPIService) ListenAsset(ctx context.Context) ApiListenAssetRequest
- func (a *AssetsAPIService) ListenAssetExecute(r ApiListenAssetRequest) (*AssetListen, *http.Response, error)
- func (a *AssetsAPIService) PostAsset(ctx context.Context) ApiPostAssetRequest
- func (a *AssetsAPIService) PostAssetExecute(r ApiPostAssetRequest) (*Asset, *http.Response, error)
- func (a *AssetsAPIService) PostBulkAssets(ctx context.Context) ApiPostBulkAssetsRequest
- func (a *AssetsAPIService) PostBulkAssetsExecute(r ApiPostBulkAssetsRequest) ([]Asset, *http.Response, error)
- func (a *AssetsAPIService) PutAsset(ctx context.Context) ApiPutAssetRequest
- func (a *AssetsAPIService) PutAssetById(ctx context.Context, assetId int32) ApiPutAssetByIdRequestdeprecated
- func (a *AssetsAPIService) PutAssetByIdExecute(r ApiPutAssetByIdRequest) (*Asset, *http.Response, error)
- func (a *AssetsAPIService) PutAssetExecute(r ApiPutAssetRequest) (*Asset, *http.Response, error)
- func (a *AssetsAPIService) PutAttributeDisplay(ctx context.Context) ApiPutAttributeDisplayRequest
- func (a *AssetsAPIService) PutAttributeDisplayExecute(r ApiPutAttributeDisplayRequest) (*AttributeDisplay, *http.Response, error)
- func (a *AssetsAPIService) PutBulkAssets(ctx context.Context) ApiPutBulkAssetsRequest
- func (a *AssetsAPIService) PutBulkAssetsExecute(r ApiPutBulkAssetsRequest) ([]Asset, *http.Response, error)
- type Attachment
- func (o *Attachment) GetContent() string
- func (o *Attachment) GetContentOk() (*string, bool)
- func (o *Attachment) GetContentType() string
- func (o *Attachment) GetContentTypeOk() (*string, bool)
- func (o *Attachment) GetEncoding() string
- func (o *Attachment) GetEncodingOk() (*string, bool)
- func (o *Attachment) GetName() string
- func (o *Attachment) GetNameOk() (*string, bool)
- func (o *Attachment) HasContent() bool
- func (o *Attachment) HasContentType() bool
- func (o *Attachment) HasEncoding() bool
- func (o Attachment) MarshalJSON() ([]byte, error)
- func (o *Attachment) SetContent(v string)
- func (o *Attachment) SetContentType(v string)
- func (o *Attachment) SetContentTypeNil()
- func (o *Attachment) SetEncoding(v string)
- func (o *Attachment) SetEncodingNil()
- func (o *Attachment) SetName(v string)
- func (o Attachment) ToMap() (map[string]interface{}, error)
- func (o *Attachment) UnmarshalJSON(data []byte) (err error)
- func (o *Attachment) UnsetContentType()
- func (o *Attachment) UnsetEncoding()
- type AttributeDisplay
- func (o *AttributeDisplay) GetAr() bool
- func (o *AttributeDisplay) GetArOk() (*bool, bool)
- func (o *AttributeDisplay) GetAssetId() int32
- func (o *AttributeDisplay) GetAssetIdOk() (*int32, bool)
- func (o *AttributeDisplay) GetAttribute() string
- func (o *AttributeDisplay) GetAttributeOk() (*string, bool)
- func (o *AttributeDisplay) GetMap() []map[string]interface{}
- func (o *AttributeDisplay) GetMapOk() ([]map[string]interface{}, bool)
- func (o *AttributeDisplay) GetMax() float64
- func (o *AttributeDisplay) GetMaxOk() (*float64, bool)
- func (o *AttributeDisplay) GetMin() float64
- func (o *AttributeDisplay) GetMinOk() (*float64, bool)
- func (o *AttributeDisplay) GetPrecision() int64
- func (o *AttributeDisplay) GetPrecisionOk() (*int64, bool)
- func (o *AttributeDisplay) GetSequence() int64
- func (o *AttributeDisplay) GetSequenceOk() (*int64, bool)
- func (o *AttributeDisplay) GetSubtype() DataSubtype
- func (o *AttributeDisplay) GetSubtypeOk() (*DataSubtype, bool)
- func (o *AttributeDisplay) GetUnit() string
- func (o *AttributeDisplay) GetUnitOk() (*string, bool)
- func (o *AttributeDisplay) GetViewer() bool
- func (o *AttributeDisplay) GetViewerOk() (*bool, bool)
- func (o *AttributeDisplay) HasAr() bool
- func (o *AttributeDisplay) HasMap() bool
- func (o *AttributeDisplay) HasMax() bool
- func (o *AttributeDisplay) HasMin() bool
- func (o *AttributeDisplay) HasPrecision() bool
- func (o *AttributeDisplay) HasSequence() bool
- func (o *AttributeDisplay) HasUnit() bool
- func (o *AttributeDisplay) HasViewer() bool
- func (o AttributeDisplay) MarshalJSON() ([]byte, error)
- func (o *AttributeDisplay) SetAr(v bool)
- func (o *AttributeDisplay) SetArNil()
- func (o *AttributeDisplay) SetAssetId(v int32)
- func (o *AttributeDisplay) SetAttribute(v string)
- func (o *AttributeDisplay) SetMap(v []map[string]interface{})
- func (o *AttributeDisplay) SetMax(v float64)
- func (o *AttributeDisplay) SetMaxNil()
- func (o *AttributeDisplay) SetMin(v float64)
- func (o *AttributeDisplay) SetMinNil()
- func (o *AttributeDisplay) SetPrecision(v int64)
- func (o *AttributeDisplay) SetPrecisionNil()
- func (o *AttributeDisplay) SetSequence(v int64)
- func (o *AttributeDisplay) SetSequenceNil()
- func (o *AttributeDisplay) SetSubtype(v DataSubtype)
- func (o *AttributeDisplay) SetUnit(v string)
- func (o *AttributeDisplay) SetUnitNil()
- func (o *AttributeDisplay) SetViewer(v bool)
- func (o *AttributeDisplay) SetViewerNil()
- func (o AttributeDisplay) ToMap() (map[string]interface{}, error)
- func (o *AttributeDisplay) UnmarshalJSON(data []byte) (err error)
- func (o *AttributeDisplay) UnsetAr()
- func (o *AttributeDisplay) UnsetMax()
- func (o *AttributeDisplay) UnsetMin()
- func (o *AttributeDisplay) UnsetPrecision()
- func (o *AttributeDisplay) UnsetSequence()
- func (o *AttributeDisplay) UnsetUnit()
- func (o *AttributeDisplay) UnsetViewer()
- type BasicAuth
- type CalculationRule
- func (o *CalculationRule) GetAssetId() int32
- func (o *CalculationRule) GetAssetIdOk() (*int32, bool)
- func (o *CalculationRule) GetAttribute() string
- func (o *CalculationRule) GetAttributeOk() (*string, bool)
- func (o *CalculationRule) GetFilter() map[string]interface{}
- func (o *CalculationRule) GetFilterOk() (map[string]interface{}, bool)
- func (o *CalculationRule) GetFormula() string
- func (o *CalculationRule) GetFormulaOk() (*string, bool)
- func (o *CalculationRule) GetId() int32
- func (o *CalculationRule) GetIdOk() (*int32, bool)
- func (o *CalculationRule) GetSubtype() DataSubtype
- func (o *CalculationRule) GetSubtypeOk() (*DataSubtype, bool)
- func (o *CalculationRule) GetUnit() string
- func (o *CalculationRule) GetUnitOk() (*string, bool)
- func (o *CalculationRule) GetVirtual() bool
- func (o *CalculationRule) GetVirtualOk() (*bool, bool)
- func (o *CalculationRule) HasFilter() bool
- func (o *CalculationRule) HasFormula() bool
- func (o *CalculationRule) HasId() bool
- func (o *CalculationRule) HasUnit() bool
- func (o *CalculationRule) HasVirtual() bool
- func (o CalculationRule) MarshalJSON() ([]byte, error)
- func (o *CalculationRule) SetAssetId(v int32)
- func (o *CalculationRule) SetAttribute(v string)
- func (o *CalculationRule) SetFilter(v map[string]interface{})
- func (o *CalculationRule) SetFormula(v string)
- func (o *CalculationRule) SetFormulaNil()
- func (o *CalculationRule) SetId(v int32)
- func (o *CalculationRule) SetIdNil()
- func (o *CalculationRule) SetSubtype(v DataSubtype)
- func (o *CalculationRule) SetUnit(v string)
- func (o *CalculationRule) SetUnitNil()
- func (o *CalculationRule) SetVirtual(v bool)
- func (o *CalculationRule) SetVirtualNil()
- func (o CalculationRule) ToMap() (map[string]interface{}, error)
- func (o *CalculationRule) UnmarshalJSON(data []byte) (err error)
- func (o *CalculationRule) UnsetFormula()
- func (o *CalculationRule) UnsetId()
- func (o *CalculationRule) UnsetUnit()
- func (o *CalculationRule) UnsetVirtual()
- type CalculationRulesAPIService
- func (a *CalculationRulesAPIService) DeleteCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiDeleteCalculationRuleByIdRequest
- func (a *CalculationRulesAPIService) DeleteCalculationRuleByIdExecute(r ApiDeleteCalculationRuleByIdRequest) (*http.Response, error)
- func (a *CalculationRulesAPIService) GetCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiGetCalculationRuleByIdRequest
- func (a *CalculationRulesAPIService) GetCalculationRuleByIdExecute(r ApiGetCalculationRuleByIdRequest) (*CalculationRule, *http.Response, error)
- func (a *CalculationRulesAPIService) GetCalculationRules(ctx context.Context) ApiGetCalculationRulesRequest
- func (a *CalculationRulesAPIService) GetCalculationRulesExecute(r ApiGetCalculationRulesRequest) ([]CalculationRule, *http.Response, error)
- func (a *CalculationRulesAPIService) PutCalculationRule(ctx context.Context) ApiPutCalculationRuleRequest
- func (a *CalculationRulesAPIService) PutCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiPutCalculationRuleByIdRequest
- func (a *CalculationRulesAPIService) PutCalculationRuleByIdExecute(r ApiPutCalculationRuleByIdRequest) (*CalculationRule, *http.Response, error)
- func (a *CalculationRulesAPIService) PutCalculationRuleExecute(r ApiPutCalculationRuleRequest) (*CalculationRule, *http.Response, error)
- type CommunicationAPIService
- func (a *CommunicationAPIService) GetMessageReceiptById(ctx context.Context, messageId string) ApiGetMessageReceiptByIdRequest
- func (a *CommunicationAPIService) GetMessageReceiptByIdExecute(r ApiGetMessageReceiptByIdRequest) (*MessageReceipt, *http.Response, error)
- func (a *CommunicationAPIService) PostMail(ctx context.Context) ApiPostMailRequest
- func (a *CommunicationAPIService) PostMailExecute(r ApiPostMailRequest) (*MessageReceipt, *http.Response, error)
- func (a *CommunicationAPIService) PostNotification(ctx context.Context) ApiPostNotificationRequest
- func (a *CommunicationAPIService) PostNotificationExecute(r ApiPostNotificationRequest) (*MessageReceipt, *http.Response, error)
- type Configuration
- type Dashboard
- func (o *Dashboard) GetId() int32
- func (o *Dashboard) GetIdOk() (*int32, bool)
- func (o *Dashboard) GetName() string
- func (o *Dashboard) GetNameOk() (*string, bool)
- func (o *Dashboard) GetProjectId() string
- func (o *Dashboard) GetProjectIdOk() (*string, bool)
- func (o *Dashboard) GetPublic() bool
- func (o *Dashboard) GetPublicOk() (*bool, bool)
- func (o *Dashboard) GetSequence() int32
- func (o *Dashboard) GetSequenceOk() (*int32, bool)
- func (o *Dashboard) GetUserId() string
- func (o *Dashboard) GetUserIdOk() (*string, bool)
- func (o *Dashboard) GetWidgets() []Widget
- func (o *Dashboard) GetWidgetsOk() ([]Widget, bool)
- func (o *Dashboard) HasId() bool
- func (o *Dashboard) HasPublic() bool
- func (o *Dashboard) HasSequence() bool
- func (o *Dashboard) HasWidgets() bool
- func (o Dashboard) MarshalJSON() ([]byte, error)
- func (o *Dashboard) SetId(v int32)
- func (o *Dashboard) SetIdNil()
- func (o *Dashboard) SetName(v string)
- func (o *Dashboard) SetProjectId(v string)
- func (o *Dashboard) SetPublic(v bool)
- func (o *Dashboard) SetPublicNil()
- func (o *Dashboard) SetSequence(v int32)
- func (o *Dashboard) SetSequenceNil()
- func (o *Dashboard) SetUserId(v string)
- func (o *Dashboard) SetWidgets(v []Widget)
- func (o Dashboard) ToMap() (map[string]interface{}, error)
- func (o *Dashboard) UnmarshalJSON(data []byte) (err error)
- func (o *Dashboard) UnsetId()
- func (o *Dashboard) UnsetPublic()
- func (o *Dashboard) UnsetSequence()
- type DashboardsAPIService
- func (a *DashboardsAPIService) GetDashboardById(ctx context.Context, dashboardId int32) ApiGetDashboardByIdRequest
- func (a *DashboardsAPIService) GetDashboardByIdExecute(r ApiGetDashboardByIdRequest) (*Dashboard, *http.Response, error)
- func (a *DashboardsAPIService) GetDashboards(ctx context.Context) ApiGetDashboardsRequest
- func (a *DashboardsAPIService) GetDashboardsExecute(r ApiGetDashboardsRequest) ([]Dashboard, *http.Response, error)
- func (a *DashboardsAPIService) PostDashboard(ctx context.Context) ApiPostDashboardRequest
- func (a *DashboardsAPIService) PostDashboardExecute(r ApiPostDashboardRequest) (*Dashboard, *http.Response, error)
- type Data
- func (o *Data) GetAssetId() int32
- func (o *Data) GetAssetIdOk() (*int32, bool)
- func (o *Data) GetAssetTypeName() string
- func (o *Data) GetAssetTypeNameOk() (*string, bool)
- func (o *Data) GetClientReference() string
- func (o *Data) GetClientReferenceOk() (*string, bool)
- func (o *Data) GetData() map[string]interface{}
- func (o *Data) GetDataOk() (map[string]interface{}, bool)
- func (o *Data) GetSubtype() DataSubtype
- func (o *Data) GetSubtypeOk() (*DataSubtype, bool)
- func (o *Data) GetTimestamp() time.Time
- func (o *Data) GetTimestampOk() (*time.Time, bool)
- func (o *Data) HasAssetTypeName() bool
- func (o *Data) HasClientReference() bool
- func (o *Data) HasTimestamp() bool
- func (o Data) MarshalJSON() ([]byte, error)
- func (o *Data) SetAssetId(v int32)
- func (o *Data) SetAssetTypeName(v string)
- func (o *Data) SetAssetTypeNameNil()
- func (o *Data) SetClientReference(v string)
- func (o *Data) SetClientReferenceNil()
- func (o *Data) SetData(v map[string]interface{})
- func (o *Data) SetSubtype(v DataSubtype)
- func (o *Data) SetTimestamp(v time.Time)
- func (o *Data) SetTimestampNil()
- func (o Data) ToMap() (map[string]interface{}, error)
- func (o *Data) UnmarshalJSON(data []byte) (err error)
- func (o *Data) UnsetAssetTypeName()
- func (o *Data) UnsetClientReference()
- func (o *Data) UnsetTimestamp()
- type DataAPIService
- func (a *DataAPIService) GetData(ctx context.Context) ApiGetDataRequest
- func (a *DataAPIService) GetDataAggregated(ctx context.Context) ApiGetDataAggregatedRequest
- func (a *DataAPIService) GetDataAggregatedExecute(r ApiGetDataAggregatedRequest) ([]DataAggregated, *http.Response, error)
- func (a *DataAPIService) GetDataExecute(r ApiGetDataRequest) ([]Data, *http.Response, error)
- func (a *DataAPIService) GetDataTrends(ctx context.Context) ApiGetDataTrendsRequest
- func (a *DataAPIService) GetDataTrendsExecute(r ApiGetDataTrendsRequest) ([]Data, *http.Response, error)
- func (a *DataAPIService) ListenData(ctx context.Context) ApiListenDataRequest
- func (a *DataAPIService) ListenDataExecute(r ApiListenDataRequest) (*DataListen, *http.Response, error)
- func (a *DataAPIService) PutBulkData(ctx context.Context) ApiPutBulkDataRequest
- func (a *DataAPIService) PutBulkDataExecute(r ApiPutBulkDataRequest) (*http.Response, error)
- func (a *DataAPIService) PutData(ctx context.Context) ApiPutDataRequest
- func (a *DataAPIService) PutDataExecute(r ApiPutDataRequest) (*http.Response, error)
- type DataAggregated
- func (o *DataAggregated) GetAggregationId() int32
- func (o *DataAggregated) GetAggregationIdOk() (*int32, bool)
- func (o *DataAggregated) GetAssetId() int32
- func (o *DataAggregated) GetAssetIdOk() (*int32, bool)
- func (o *DataAggregated) GetAssetTypeName() string
- func (o *DataAggregated) GetAssetTypeNameOk() (*string, bool)
- func (o *DataAggregated) GetAttribute() string
- func (o *DataAggregated) GetAttributeOk() (*string, bool)
- func (o *DataAggregated) GetAverage() float64
- func (o *DataAggregated) GetAverageOk() (*float64, bool)
- func (o *DataAggregated) GetCount() float64
- func (o *DataAggregated) GetCountOk() (*float64, bool)
- func (o *DataAggregated) GetFirst() float64
- func (o *DataAggregated) GetFirstOk() (*float64, bool)
- func (o *DataAggregated) GetLast() float64
- func (o *DataAggregated) GetLastOk() (*float64, bool)
- func (o *DataAggregated) GetLastTimestamp() time.Time
- func (o *DataAggregated) GetLastTimestampOk() (*time.Time, bool)
- func (o *DataAggregated) GetMax() float64
- func (o *DataAggregated) GetMaxOk() (*float64, bool)
- func (o *DataAggregated) GetMin() float64
- func (o *DataAggregated) GetMinOk() (*float64, bool)
- func (o *DataAggregated) GetRaster() string
- func (o *DataAggregated) GetRasterOk() (*string, bool)
- func (o *DataAggregated) GetSubtype() DataSubtype
- func (o *DataAggregated) GetSubtypeOk() (*DataSubtype, bool)
- func (o *DataAggregated) GetSum() float64
- func (o *DataAggregated) GetSumOk() (*float64, bool)
- func (o *DataAggregated) GetTimestamp() time.Time
- func (o *DataAggregated) GetTimestampOk() (*time.Time, bool)
- func (o *DataAggregated) HasAggregationId() bool
- func (o *DataAggregated) HasAssetTypeName() bool
- func (o *DataAggregated) HasAttribute() bool
- func (o *DataAggregated) HasAverage() bool
- func (o *DataAggregated) HasCount() bool
- func (o *DataAggregated) HasFirst() bool
- func (o *DataAggregated) HasLast() bool
- func (o *DataAggregated) HasLastTimestamp() bool
- func (o *DataAggregated) HasMax() bool
- func (o *DataAggregated) HasMin() bool
- func (o *DataAggregated) HasSum() bool
- func (o *DataAggregated) HasTimestamp() bool
- func (o DataAggregated) MarshalJSON() ([]byte, error)
- func (o *DataAggregated) SetAggregationId(v int32)
- func (o *DataAggregated) SetAssetId(v int32)
- func (o *DataAggregated) SetAssetTypeName(v string)
- func (o *DataAggregated) SetAssetTypeNameNil()
- func (o *DataAggregated) SetAttribute(v string)
- func (o *DataAggregated) SetAverage(v float64)
- func (o *DataAggregated) SetAverageNil()
- func (o *DataAggregated) SetCount(v float64)
- func (o *DataAggregated) SetCountNil()
- func (o *DataAggregated) SetFirst(v float64)
- func (o *DataAggregated) SetFirstNil()
- func (o *DataAggregated) SetLast(v float64)
- func (o *DataAggregated) SetLastNil()
- func (o *DataAggregated) SetLastTimestamp(v time.Time)
- func (o *DataAggregated) SetLastTimestampNil()
- func (o *DataAggregated) SetMax(v float64)
- func (o *DataAggregated) SetMaxNil()
- func (o *DataAggregated) SetMin(v float64)
- func (o *DataAggregated) SetMinNil()
- func (o *DataAggregated) SetRaster(v string)
- func (o *DataAggregated) SetSubtype(v DataSubtype)
- func (o *DataAggregated) SetSum(v float64)
- func (o *DataAggregated) SetSumNil()
- func (o *DataAggregated) SetTimestamp(v time.Time)
- func (o *DataAggregated) SetTimestampNil()
- func (o DataAggregated) ToMap() (map[string]interface{}, error)
- func (o *DataAggregated) UnmarshalJSON(data []byte) (err error)
- func (o *DataAggregated) UnsetAssetTypeName()
- func (o *DataAggregated) UnsetAverage()
- func (o *DataAggregated) UnsetCount()
- func (o *DataAggregated) UnsetFirst()
- func (o *DataAggregated) UnsetLast()
- func (o *DataAggregated) UnsetLastTimestamp()
- func (o *DataAggregated) UnsetMax()
- func (o *DataAggregated) UnsetMin()
- func (o *DataAggregated) UnsetSum()
- func (o *DataAggregated) UnsetTimestamp()
- type DataListen
- func (o *DataListen) GetAssetId() int32
- func (o *DataListen) GetAssetIdOk() (*int32, bool)
- func (o *DataListen) GetAssetTypeName() string
- func (o *DataListen) GetAssetTypeNameOk() (*string, bool)
- func (o *DataListen) GetClientReference() string
- func (o *DataListen) GetClientReferenceOk() (*string, bool)
- func (o *DataListen) GetData() map[string]interface{}
- func (o *DataListen) GetDataOk() (map[string]interface{}, bool)
- func (o *DataListen) GetStatusCode() int32
- func (o *DataListen) GetStatusCodeOk() (*int32, bool)
- func (o *DataListen) GetSubtype() DataSubtype
- func (o *DataListen) GetSubtypeOk() (*DataSubtype, bool)
- func (o *DataListen) GetTimestamp() time.Time
- func (o *DataListen) GetTimestampOk() (*time.Time, bool)
- func (o *DataListen) HasAssetTypeName() bool
- func (o *DataListen) HasClientReference() bool
- func (o *DataListen) HasStatusCode() bool
- func (o *DataListen) HasTimestamp() bool
- func (o DataListen) MarshalJSON() ([]byte, error)
- func (o *DataListen) SetAssetId(v int32)
- func (o *DataListen) SetAssetTypeName(v string)
- func (o *DataListen) SetAssetTypeNameNil()
- func (o *DataListen) SetClientReference(v string)
- func (o *DataListen) SetClientReferenceNil()
- func (o *DataListen) SetData(v map[string]interface{})
- func (o *DataListen) SetStatusCode(v int32)
- func (o *DataListen) SetSubtype(v DataSubtype)
- func (o *DataListen) SetTimestamp(v time.Time)
- func (o *DataListen) SetTimestampNil()
- func (o DataListen) ToMap() (map[string]interface{}, error)
- func (o *DataListen) UnmarshalJSON(data []byte) (err error)
- func (o *DataListen) UnsetAssetTypeName()
- func (o *DataListen) UnsetClientReference()
- func (o *DataListen) UnsetTimestamp()
- type DataSubtype
- type DryRunGeneral
- func (o *DryRunGeneral) GetErrorMessage() string
- func (o *DryRunGeneral) GetErrorMessageOk() (*string, bool)
- func (o *DryRunGeneral) GetIdentifier() string
- func (o *DryRunGeneral) GetIdentifierOk() (*string, bool)
- func (o *DryRunGeneral) GetStatusCode() int32
- func (o *DryRunGeneral) GetStatusCodeOk() (*int32, bool)
- func (o *DryRunGeneral) HasErrorMessage() bool
- func (o *DryRunGeneral) HasIdentifier() bool
- func (o *DryRunGeneral) HasStatusCode() bool
- func (o DryRunGeneral) MarshalJSON() ([]byte, error)
- func (o *DryRunGeneral) SetErrorMessage(v string)
- func (o *DryRunGeneral) SetErrorMessageNil()
- func (o *DryRunGeneral) SetIdentifier(v string)
- func (o *DryRunGeneral) SetStatusCode(v int32)
- func (o DryRunGeneral) ToMap() (map[string]interface{}, error)
- func (o *DryRunGeneral) UnsetErrorMessage()
- type GenericOpenAPIError
- type IosysAgentDevice
- func (o *IosysAgentDevice) GetAgentId() int32
- func (o *IosysAgentDevice) GetAgentIdOk() (*int32, bool)
- func (o *IosysAgentDevice) GetCertificate() string
- func (o *IosysAgentDevice) GetCertificateOk() (*string, bool)
- func (o *IosysAgentDevice) GetClass() AgentClass
- func (o *IosysAgentDevice) GetClassOk() (*AgentClass, bool)
- func (o *IosysAgentDevice) GetEnable() bool
- func (o *IosysAgentDevice) GetEnableOk() (*bool, bool)
- func (o *IosysAgentDevice) GetId() int32
- func (o *IosysAgentDevice) GetIdOk() (*int32, bool)
- func (o *IosysAgentDevice) GetKey() string
- func (o *IosysAgentDevice) GetKeyOk() (*string, bool)
- func (o *IosysAgentDevice) GetPort() int32
- func (o *IosysAgentDevice) GetPortOk() (*int32, bool)
- func (o *IosysAgentDevice) GetReconnect() int32
- func (o *IosysAgentDevice) GetReconnectOk() (*int32, bool)
- func (o *IosysAgentDevice) GetTimeout() int32
- func (o *IosysAgentDevice) GetTimeoutOk() (*int32, bool)
- func (o *IosysAgentDevice) HasAgentId() bool
- func (o *IosysAgentDevice) HasCertificate() bool
- func (o *IosysAgentDevice) HasClass() bool
- func (o *IosysAgentDevice) HasEnable() bool
- func (o *IosysAgentDevice) HasId() bool
- func (o *IosysAgentDevice) HasKey() bool
- func (o *IosysAgentDevice) HasPort() bool
- func (o *IosysAgentDevice) HasReconnect() bool
- func (o *IosysAgentDevice) HasTimeout() bool
- func (o IosysAgentDevice) MarshalJSON() ([]byte, error)
- func (o *IosysAgentDevice) SetAgentId(v int32)
- func (o *IosysAgentDevice) SetAgentIdNil()
- func (o *IosysAgentDevice) SetCertificate(v string)
- func (o *IosysAgentDevice) SetCertificateNil()
- func (o *IosysAgentDevice) SetClass(v AgentClass)
- func (o *IosysAgentDevice) SetClassNil()
- func (o *IosysAgentDevice) SetEnable(v bool)
- func (o *IosysAgentDevice) SetId(v int32)
- func (o *IosysAgentDevice) SetIdNil()
- func (o *IosysAgentDevice) SetKey(v string)
- func (o *IosysAgentDevice) SetKeyNil()
- func (o *IosysAgentDevice) SetPort(v int32)
- func (o *IosysAgentDevice) SetPortNil()
- func (o *IosysAgentDevice) SetReconnect(v int32)
- func (o *IosysAgentDevice) SetReconnectNil()
- func (o *IosysAgentDevice) SetTimeout(v int32)
- func (o *IosysAgentDevice) SetTimeoutNil()
- func (o IosysAgentDevice) ToMap() (map[string]interface{}, error)
- func (o *IosysAgentDevice) UnsetAgentId()
- func (o *IosysAgentDevice) UnsetCertificate()
- func (o *IosysAgentDevice) UnsetClass()
- func (o *IosysAgentDevice) UnsetId()
- func (o *IosysAgentDevice) UnsetKey()
- func (o *IosysAgentDevice) UnsetPort()
- func (o *IosysAgentDevice) UnsetReconnect()
- func (o *IosysAgentDevice) UnsetTimeout()
- type IosysAgentDeviceMapping
- func (o *IosysAgentDeviceMapping) GetAssetId() int32
- func (o *IosysAgentDeviceMapping) GetAssetIdOk() (*int32, bool)
- func (o *IosysAgentDeviceMapping) GetAttribute() string
- func (o *IosysAgentDeviceMapping) GetAttributeOk() (*string, bool)
- func (o *IosysAgentDeviceMapping) GetClass() AgentClass
- func (o *IosysAgentDeviceMapping) GetClassOk() (*AgentClass, bool)
- func (o *IosysAgentDeviceMapping) GetDeadBand() float64
- func (o *IosysAgentDeviceMapping) GetDeadBandOk() (*float64, bool)
- func (o *IosysAgentDeviceMapping) GetDeadTime() int32
- func (o *IosysAgentDeviceMapping) GetDeadTimeOk() (*int32, bool)
- func (o *IosysAgentDeviceMapping) GetDeviceId() int32
- func (o *IosysAgentDeviceMapping) GetDeviceIdOk() (*int32, bool)
- func (o *IosysAgentDeviceMapping) GetDown() bool
- func (o *IosysAgentDeviceMapping) GetDownOk() (*bool, bool)
- func (o *IosysAgentDeviceMapping) GetEnable() bool
- func (o *IosysAgentDeviceMapping) GetEnableOk() (*bool, bool)
- func (o *IosysAgentDeviceMapping) GetFilter() string
- func (o *IosysAgentDeviceMapping) GetFilterOk() (*string, bool)
- func (o *IosysAgentDeviceMapping) GetId() int32
- func (o *IosysAgentDeviceMapping) GetIdOk() (*int32, bool)
- func (o *IosysAgentDeviceMapping) GetIosType() string
- func (o *IosysAgentDeviceMapping) GetIosTypeOk() (*string, bool)
- func (o *IosysAgentDeviceMapping) GetIosVar() string
- func (o *IosysAgentDeviceMapping) GetIosVarOk() (*string, bool)
- func (o *IosysAgentDeviceMapping) GetMask() []int64
- func (o *IosysAgentDeviceMapping) GetMaskAttributes() []string
- func (o *IosysAgentDeviceMapping) GetMaskAttributesOk() ([]string, bool)
- func (o *IosysAgentDeviceMapping) GetMaskOk() ([]int64, bool)
- func (o *IosysAgentDeviceMapping) GetScale() float64
- func (o *IosysAgentDeviceMapping) GetScaleOk() (*float64, bool)
- func (o *IosysAgentDeviceMapping) GetSubtype() DataSubtype
- func (o *IosysAgentDeviceMapping) GetSubtypeOk() (*DataSubtype, bool)
- func (o *IosysAgentDeviceMapping) GetTau() float64
- func (o *IosysAgentDeviceMapping) GetTauOk() (*float64, bool)
- func (o *IosysAgentDeviceMapping) GetZero() float64
- func (o *IosysAgentDeviceMapping) GetZeroOk() (*float64, bool)
- func (o *IosysAgentDeviceMapping) HasAssetId() bool
- func (o *IosysAgentDeviceMapping) HasClass() bool
- func (o *IosysAgentDeviceMapping) HasDeadBand() bool
- func (o *IosysAgentDeviceMapping) HasDeadTime() bool
- func (o *IosysAgentDeviceMapping) HasDeviceId() bool
- func (o *IosysAgentDeviceMapping) HasDown() bool
- func (o *IosysAgentDeviceMapping) HasEnable() bool
- func (o *IosysAgentDeviceMapping) HasFilter() bool
- func (o *IosysAgentDeviceMapping) HasId() bool
- func (o *IosysAgentDeviceMapping) HasIosType() bool
- func (o *IosysAgentDeviceMapping) HasIosVar() bool
- func (o *IosysAgentDeviceMapping) HasMask() bool
- func (o *IosysAgentDeviceMapping) HasMaskAttributes() bool
- func (o *IosysAgentDeviceMapping) HasScale() bool
- func (o *IosysAgentDeviceMapping) HasTau() bool
- func (o *IosysAgentDeviceMapping) HasZero() bool
- func (o IosysAgentDeviceMapping) MarshalJSON() ([]byte, error)
- func (o *IosysAgentDeviceMapping) SetAssetId(v int32)
- func (o *IosysAgentDeviceMapping) SetAssetIdNil()
- func (o *IosysAgentDeviceMapping) SetAttribute(v string)
- func (o *IosysAgentDeviceMapping) SetClass(v AgentClass)
- func (o *IosysAgentDeviceMapping) SetClassNil()
- func (o *IosysAgentDeviceMapping) SetDeadBand(v float64)
- func (o *IosysAgentDeviceMapping) SetDeadBandNil()
- func (o *IosysAgentDeviceMapping) SetDeadTime(v int32)
- func (o *IosysAgentDeviceMapping) SetDeadTimeNil()
- func (o *IosysAgentDeviceMapping) SetDeviceId(v int32)
- func (o *IosysAgentDeviceMapping) SetDeviceIdNil()
- func (o *IosysAgentDeviceMapping) SetDown(v bool)
- func (o *IosysAgentDeviceMapping) SetDownNil()
- func (o *IosysAgentDeviceMapping) SetEnable(v bool)
- func (o *IosysAgentDeviceMapping) SetFilter(v string)
- func (o *IosysAgentDeviceMapping) SetFilterNil()
- func (o *IosysAgentDeviceMapping) SetId(v int32)
- func (o *IosysAgentDeviceMapping) SetIdNil()
- func (o *IosysAgentDeviceMapping) SetIosType(v string)
- func (o *IosysAgentDeviceMapping) SetIosTypeNil()
- func (o *IosysAgentDeviceMapping) SetIosVar(v string)
- func (o *IosysAgentDeviceMapping) SetIosVarNil()
- func (o *IosysAgentDeviceMapping) SetMask(v []int64)
- func (o *IosysAgentDeviceMapping) SetMaskAttributes(v []string)
- func (o *IosysAgentDeviceMapping) SetScale(v float64)
- func (o *IosysAgentDeviceMapping) SetScaleNil()
- func (o *IosysAgentDeviceMapping) SetSubtype(v DataSubtype)
- func (o *IosysAgentDeviceMapping) SetTau(v float64)
- func (o *IosysAgentDeviceMapping) SetTauNil()
- func (o *IosysAgentDeviceMapping) SetZero(v float64)
- func (o *IosysAgentDeviceMapping) SetZeroNil()
- func (o IosysAgentDeviceMapping) ToMap() (map[string]interface{}, error)
- func (o *IosysAgentDeviceMapping) UnmarshalJSON(data []byte) (err error)
- func (o *IosysAgentDeviceMapping) UnsetAssetId()
- func (o *IosysAgentDeviceMapping) UnsetClass()
- func (o *IosysAgentDeviceMapping) UnsetDeadBand()
- func (o *IosysAgentDeviceMapping) UnsetDeadTime()
- func (o *IosysAgentDeviceMapping) UnsetDeviceId()
- func (o *IosysAgentDeviceMapping) UnsetDown()
- func (o *IosysAgentDeviceMapping) UnsetFilter()
- func (o *IosysAgentDeviceMapping) UnsetId()
- func (o *IosysAgentDeviceMapping) UnsetIosType()
- func (o *IosysAgentDeviceMapping) UnsetIosVar()
- func (o *IosysAgentDeviceMapping) UnsetScale()
- func (o *IosysAgentDeviceMapping) UnsetTau()
- func (o *IosysAgentDeviceMapping) UnsetZero()
- type MappedNullable
- type MbusAgentDevice
- func (o *MbusAgentDevice) GetAddress() int32
- func (o *MbusAgentDevice) GetAddressOk() (*int32, bool)
- func (o *MbusAgentDevice) GetAgentId() int32
- func (o *MbusAgentDevice) GetAgentIdOk() (*int32, bool)
- func (o *MbusAgentDevice) GetAppResetSubcode() int32
- func (o *MbusAgentDevice) GetAppResetSubcodeOk() (*int32, bool)
- func (o *MbusAgentDevice) GetClass() AgentClass
- func (o *MbusAgentDevice) GetClassOk() (*AgentClass, bool)
- func (o *MbusAgentDevice) GetEnable() bool
- func (o *MbusAgentDevice) GetEnableOk() (*bool, bool)
- func (o *MbusAgentDevice) GetId() int32
- func (o *MbusAgentDevice) GetIdOk() (*int32, bool)
- func (o *MbusAgentDevice) GetManufacturer() string
- func (o *MbusAgentDevice) GetManufacturerOk() (*string, bool)
- func (o *MbusAgentDevice) GetMaxFail() int32
- func (o *MbusAgentDevice) GetMaxFailOk() (*int32, bool)
- func (o *MbusAgentDevice) GetMaxRetry() int32
- func (o *MbusAgentDevice) GetMaxRetryOk() (*int32, bool)
- func (o *MbusAgentDevice) GetModel() string
- func (o *MbusAgentDevice) GetModelOk() (*string, bool)
- func (o *MbusAgentDevice) GetMultiFrames() int32
- func (o *MbusAgentDevice) GetMultiFramesOk() (*int32, bool)
- func (o *MbusAgentDevice) GetRaster() string
- func (o *MbusAgentDevice) GetRasterOk() (*string, bool)
- func (o *MbusAgentDevice) GetSecAddress() string
- func (o *MbusAgentDevice) GetSecAddressOk() (*string, bool)
- func (o *MbusAgentDevice) GetSendNke() bool
- func (o *MbusAgentDevice) GetSendNkeOk() (*bool, bool)
- func (o *MbusAgentDevice) HasAddress() bool
- func (o *MbusAgentDevice) HasAgentId() bool
- func (o *MbusAgentDevice) HasAppResetSubcode() bool
- func (o *MbusAgentDevice) HasClass() bool
- func (o *MbusAgentDevice) HasEnable() bool
- func (o *MbusAgentDevice) HasId() bool
- func (o *MbusAgentDevice) HasManufacturer() bool
- func (o *MbusAgentDevice) HasMaxFail() bool
- func (o *MbusAgentDevice) HasMaxRetry() bool
- func (o *MbusAgentDevice) HasModel() bool
- func (o *MbusAgentDevice) HasMultiFrames() bool
- func (o *MbusAgentDevice) HasRaster() bool
- func (o *MbusAgentDevice) HasSecAddress() bool
- func (o *MbusAgentDevice) HasSendNke() bool
- func (o MbusAgentDevice) MarshalJSON() ([]byte, error)
- func (o *MbusAgentDevice) SetAddress(v int32)
- func (o *MbusAgentDevice) SetAddressNil()
- func (o *MbusAgentDevice) SetAgentId(v int32)
- func (o *MbusAgentDevice) SetAgentIdNil()
- func (o *MbusAgentDevice) SetAppResetSubcode(v int32)
- func (o *MbusAgentDevice) SetAppResetSubcodeNil()
- func (o *MbusAgentDevice) SetClass(v AgentClass)
- func (o *MbusAgentDevice) SetClassNil()
- func (o *MbusAgentDevice) SetEnable(v bool)
- func (o *MbusAgentDevice) SetId(v int32)
- func (o *MbusAgentDevice) SetIdNil()
- func (o *MbusAgentDevice) SetManufacturer(v string)
- func (o *MbusAgentDevice) SetManufacturerNil()
- func (o *MbusAgentDevice) SetMaxFail(v int32)
- func (o *MbusAgentDevice) SetMaxFailNil()
- func (o *MbusAgentDevice) SetMaxRetry(v int32)
- func (o *MbusAgentDevice) SetMaxRetryNil()
- func (o *MbusAgentDevice) SetModel(v string)
- func (o *MbusAgentDevice) SetModelNil()
- func (o *MbusAgentDevice) SetMultiFrames(v int32)
- func (o *MbusAgentDevice) SetMultiFramesNil()
- func (o *MbusAgentDevice) SetRaster(v string)
- func (o *MbusAgentDevice) SetRasterNil()
- func (o *MbusAgentDevice) SetSecAddress(v string)
- func (o *MbusAgentDevice) SetSecAddressNil()
- func (o *MbusAgentDevice) SetSendNke(v bool)
- func (o *MbusAgentDevice) SetSendNkeNil()
- func (o MbusAgentDevice) ToMap() (map[string]interface{}, error)
- func (o *MbusAgentDevice) UnsetAddress()
- func (o *MbusAgentDevice) UnsetAgentId()
- func (o *MbusAgentDevice) UnsetAppResetSubcode()
- func (o *MbusAgentDevice) UnsetClass()
- func (o *MbusAgentDevice) UnsetId()
- func (o *MbusAgentDevice) UnsetManufacturer()
- func (o *MbusAgentDevice) UnsetMaxFail()
- func (o *MbusAgentDevice) UnsetMaxRetry()
- func (o *MbusAgentDevice) UnsetModel()
- func (o *MbusAgentDevice) UnsetMultiFrames()
- func (o *MbusAgentDevice) UnsetRaster()
- func (o *MbusAgentDevice) UnsetSecAddress()
- func (o *MbusAgentDevice) UnsetSendNke()
- type MbusAgentDeviceMapping
- func (o *MbusAgentDeviceMapping) GetAssetId() int32
- func (o *MbusAgentDeviceMapping) GetAssetIdOk() (*int32, bool)
- func (o *MbusAgentDeviceMapping) GetAttribute() string
- func (o *MbusAgentDeviceMapping) GetAttributeOk() (*string, bool)
- func (o *MbusAgentDeviceMapping) GetClass() AgentClass
- func (o *MbusAgentDeviceMapping) GetClassOk() (*AgentClass, bool)
- func (o *MbusAgentDeviceMapping) GetDeviceId() int32
- func (o *MbusAgentDeviceMapping) GetDeviceIdOk() (*int32, bool)
- func (o *MbusAgentDeviceMapping) GetEnable() bool
- func (o *MbusAgentDeviceMapping) GetEnableOk() (*bool, bool)
- func (o *MbusAgentDeviceMapping) GetField() int32
- func (o *MbusAgentDeviceMapping) GetFieldOk() (*int32, bool)
- func (o *MbusAgentDeviceMapping) GetId() int32
- func (o *MbusAgentDeviceMapping) GetIdOk() (*int32, bool)
- func (o *MbusAgentDeviceMapping) GetScale() float64
- func (o *MbusAgentDeviceMapping) GetScaleOk() (*float64, bool)
- func (o *MbusAgentDeviceMapping) GetSubtype() DataSubtype
- func (o *MbusAgentDeviceMapping) GetSubtypeOk() (*DataSubtype, bool)
- func (o *MbusAgentDeviceMapping) GetZero() float64
- func (o *MbusAgentDeviceMapping) GetZeroOk() (*float64, bool)
- func (o *MbusAgentDeviceMapping) HasAssetId() bool
- func (o *MbusAgentDeviceMapping) HasClass() bool
- func (o *MbusAgentDeviceMapping) HasDeviceId() bool
- func (o *MbusAgentDeviceMapping) HasEnable() bool
- func (o *MbusAgentDeviceMapping) HasField() bool
- func (o *MbusAgentDeviceMapping) HasId() bool
- func (o *MbusAgentDeviceMapping) HasScale() bool
- func (o *MbusAgentDeviceMapping) HasZero() bool
- func (o MbusAgentDeviceMapping) MarshalJSON() ([]byte, error)
- func (o *MbusAgentDeviceMapping) SetAssetId(v int32)
- func (o *MbusAgentDeviceMapping) SetAssetIdNil()
- func (o *MbusAgentDeviceMapping) SetAttribute(v string)
- func (o *MbusAgentDeviceMapping) SetClass(v AgentClass)
- func (o *MbusAgentDeviceMapping) SetClassNil()
- func (o *MbusAgentDeviceMapping) SetDeviceId(v int32)
- func (o *MbusAgentDeviceMapping) SetDeviceIdNil()
- func (o *MbusAgentDeviceMapping) SetEnable(v bool)
- func (o *MbusAgentDeviceMapping) SetField(v int32)
- func (o *MbusAgentDeviceMapping) SetFieldNil()
- func (o *MbusAgentDeviceMapping) SetId(v int32)
- func (o *MbusAgentDeviceMapping) SetIdNil()
- func (o *MbusAgentDeviceMapping) SetScale(v float64)
- func (o *MbusAgentDeviceMapping) SetScaleNil()
- func (o *MbusAgentDeviceMapping) SetSubtype(v DataSubtype)
- func (o *MbusAgentDeviceMapping) SetZero(v float64)
- func (o *MbusAgentDeviceMapping) SetZeroNil()
- func (o MbusAgentDeviceMapping) ToMap() (map[string]interface{}, error)
- func (o *MbusAgentDeviceMapping) UnmarshalJSON(data []byte) (err error)
- func (o *MbusAgentDeviceMapping) UnsetAssetId()
- func (o *MbusAgentDeviceMapping) UnsetClass()
- func (o *MbusAgentDeviceMapping) UnsetDeviceId()
- func (o *MbusAgentDeviceMapping) UnsetField()
- func (o *MbusAgentDeviceMapping) UnsetId()
- func (o *MbusAgentDeviceMapping) UnsetScale()
- func (o *MbusAgentDeviceMapping) UnsetZero()
- type Message
- func (o *Message) GetAttachments() []Attachment
- func (o *Message) GetAttachmentsOk() ([]Attachment, bool)
- func (o *Message) GetBlindCopyRecipients() []string
- func (o *Message) GetBlindCopyRecipientsOk() ([]string, bool)
- func (o *Message) GetContent() string
- func (o *Message) GetContentOk() (*string, bool)
- func (o *Message) GetCopyRecipients() []string
- func (o *Message) GetCopyRecipientsOk() ([]string, bool)
- func (o *Message) GetRecipients() []string
- func (o *Message) GetRecipientsOk() ([]string, bool)
- func (o *Message) GetSender() string
- func (o *Message) GetSenderOk() (*string, bool)
- func (o *Message) GetSubject() string
- func (o *Message) GetSubjectOk() (*string, bool)
- func (o *Message) HasAttachments() bool
- func (o *Message) HasBlindCopyRecipients() bool
- func (o *Message) HasCopyRecipients() bool
- func (o *Message) HasSender() bool
- func (o *Message) HasSubject() bool
- func (o Message) MarshalJSON() ([]byte, error)
- func (o *Message) SetAttachments(v []Attachment)
- func (o *Message) SetBlindCopyRecipients(v []string)
- func (o *Message) SetContent(v string)
- func (o *Message) SetCopyRecipients(v []string)
- func (o *Message) SetRecipients(v []string)
- func (o *Message) SetSender(v string)
- func (o *Message) SetSenderNil()
- func (o *Message) SetSubject(v string)
- func (o Message) ToMap() (map[string]interface{}, error)
- func (o *Message) UnmarshalJSON(data []byte) (err error)
- func (o *Message) UnsetSender()
- type MessageReceipt
- func (o *MessageReceipt) GetId() string
- func (o *MessageReceipt) GetIdOk() (*string, bool)
- func (o *MessageReceipt) GetScheduledAt() time.Time
- func (o *MessageReceipt) GetScheduledAtOk() (*time.Time, bool)
- func (o *MessageReceipt) GetStatus() string
- func (o *MessageReceipt) GetStatusOk() (*string, bool)
- func (o *MessageReceipt) HasScheduledAt() bool
- func (o *MessageReceipt) HasStatus() bool
- func (o MessageReceipt) MarshalJSON() ([]byte, error)
- func (o *MessageReceipt) SetId(v string)
- func (o *MessageReceipt) SetScheduledAt(v time.Time)
- func (o *MessageReceipt) SetScheduledAtNil()
- func (o *MessageReceipt) SetStatus(v string)
- func (o MessageReceipt) ToMap() (map[string]interface{}, error)
- func (o *MessageReceipt) UnmarshalJSON(data []byte) (err error)
- func (o *MessageReceipt) UnsetScheduledAt()
- type Node
- func (o *Node) GetAssetId() int32
- func (o *Node) GetAssetIdOk() (*int32, bool)
- func (o *Node) GetDescription() string
- func (o *Node) GetDescriptionOk() (*string, bool)
- func (o *Node) GetEnable() bool
- func (o *Node) GetEnableOk() (*bool, bool)
- func (o *Node) GetId() string
- func (o *Node) GetIdOk() (*string, bool)
- func (o *Node) GetIdent() string
- func (o *Node) GetIdentOk() (*string, bool)
- func (o *Node) GetModel() string
- func (o *Node) GetModelOk() (*string, bool)
- func (o *Node) GetPassword() string
- func (o *Node) GetPasswordOk() (*string, bool)
- func (o *Node) GetVendor() string
- func (o *Node) GetVendorOk() (*string, bool)
- func (o *Node) HasAssetId() bool
- func (o *Node) HasDescription() bool
- func (o *Node) HasEnable() bool
- func (o *Node) HasId() bool
- func (o *Node) HasIdent() bool
- func (o *Node) HasModel() bool
- func (o *Node) HasPassword() bool
- func (o *Node) HasVendor() bool
- func (o Node) MarshalJSON() ([]byte, error)
- func (o *Node) SetAssetId(v int32)
- func (o *Node) SetAssetIdNil()
- func (o *Node) SetDescription(v string)
- func (o *Node) SetDescriptionNil()
- func (o *Node) SetEnable(v bool)
- func (o *Node) SetId(v string)
- func (o *Node) SetIdNil()
- func (o *Node) SetIdent(v string)
- func (o *Node) SetIdentNil()
- func (o *Node) SetModel(v string)
- func (o *Node) SetModelNil()
- func (o *Node) SetPassword(v string)
- func (o *Node) SetPasswordNil()
- func (o *Node) SetVendor(v string)
- func (o *Node) SetVendorNil()
- func (o Node) ToMap() (map[string]interface{}, error)
- func (o *Node) UnsetAssetId()
- func (o *Node) UnsetDescription()
- func (o *Node) UnsetId()
- func (o *Node) UnsetIdent()
- func (o *Node) UnsetModel()
- func (o *Node) UnsetPassword()
- func (o *Node) UnsetVendor()
- type NodesAPIService
- func (a *NodesAPIService) GetNodeByIdent(ctx context.Context, nodeIdent string) ApiGetNodeByIdentRequest
- func (a *NodesAPIService) GetNodeByIdentExecute(r ApiGetNodeByIdentRequest) (*Node, *http.Response, error)
- func (a *NodesAPIService) GetNodes(ctx context.Context) ApiGetNodesRequest
- func (a *NodesAPIService) GetNodesExecute(r ApiGetNodesRequest) ([]Node, *http.Response, error)
- func (a *NodesAPIService) PostNode(ctx context.Context) ApiPostNodeRequest
- func (a *NodesAPIService) PostNodeExecute(r ApiPostNodeRequest) (*Node, *http.Response, error)
- func (a *NodesAPIService) PutNode(ctx context.Context) ApiPutNodeRequest
- func (a *NodesAPIService) PutNodeByIdent(ctx context.Context, nodeIdent string) ApiPutNodeByIdentRequest
- func (a *NodesAPIService) PutNodeByIdentExecute(r ApiPutNodeByIdentRequest) (*Node, *http.Response, error)
- func (a *NodesAPIService) PutNodeExecute(r ApiPutNodeRequest) (*Node, *http.Response, error)
- type Notification
- func (o *Notification) GetMessage() Translation
- func (o *Notification) GetMessageOk() (*Translation, bool)
- func (o *Notification) GetProjectId() string
- func (o *Notification) GetProjectIdOk() (*string, bool)
- func (o *Notification) GetUser() string
- func (o *Notification) GetUserOk() (*string, bool)
- func (o *Notification) HasProjectId() bool
- func (o Notification) MarshalJSON() ([]byte, error)
- func (o *Notification) SetMessage(v Translation)
- func (o *Notification) SetProjectId(v string)
- func (o *Notification) SetProjectIdNil()
- func (o *Notification) SetUser(v string)
- func (o Notification) ToMap() (map[string]interface{}, error)
- func (o *Notification) UnmarshalJSON(data []byte) (err error)
- func (o *Notification) UnsetProjectId()
- type NullableAgent
- type NullableAgentClass
- type NullableAgentDevice
- func (v NullableAgentDevice) Get() *AgentDevice
- func (v NullableAgentDevice) IsSet() bool
- func (v NullableAgentDevice) MarshalJSON() ([]byte, error)
- func (v *NullableAgentDevice) Set(val *AgentDevice)
- func (v *NullableAgentDevice) UnmarshalJSON(src []byte) error
- func (v *NullableAgentDevice) Unset()
- type NullableAgentDeviceGeneral
- func (v NullableAgentDeviceGeneral) Get() *AgentDeviceGeneral
- func (v NullableAgentDeviceGeneral) IsSet() bool
- func (v NullableAgentDeviceGeneral) MarshalJSON() ([]byte, error)
- func (v *NullableAgentDeviceGeneral) Set(val *AgentDeviceGeneral)
- func (v *NullableAgentDeviceGeneral) UnmarshalJSON(src []byte) error
- func (v *NullableAgentDeviceGeneral) Unset()
- type NullableAgentDeviceMapping
- func (v NullableAgentDeviceMapping) Get() *AgentDeviceMapping
- func (v NullableAgentDeviceMapping) IsSet() bool
- func (v NullableAgentDeviceMapping) MarshalJSON() ([]byte, error)
- func (v *NullableAgentDeviceMapping) Set(val *AgentDeviceMapping)
- func (v *NullableAgentDeviceMapping) UnmarshalJSON(src []byte) error
- func (v *NullableAgentDeviceMapping) Unset()
- type NullableAgentDeviceMappingGeneral
- func (v NullableAgentDeviceMappingGeneral) Get() *AgentDeviceMappingGeneral
- func (v NullableAgentDeviceMappingGeneral) IsSet() bool
- func (v NullableAgentDeviceMappingGeneral) MarshalJSON() ([]byte, error)
- func (v *NullableAgentDeviceMappingGeneral) Set(val *AgentDeviceMappingGeneral)
- func (v *NullableAgentDeviceMappingGeneral) UnmarshalJSON(src []byte) error
- func (v *NullableAgentDeviceMappingGeneral) Unset()
- type NullableAggregation
- func (v NullableAggregation) Get() *Aggregation
- func (v NullableAggregation) IsSet() bool
- func (v NullableAggregation) MarshalJSON() ([]byte, error)
- func (v *NullableAggregation) Set(val *Aggregation)
- func (v *NullableAggregation) UnmarshalJSON(src []byte) error
- func (v *NullableAggregation) Unset()
- type NullableAlarm
- type NullableAlarmListen
- func (v NullableAlarmListen) Get() *AlarmListen
- func (v NullableAlarmListen) IsSet() bool
- func (v NullableAlarmListen) MarshalJSON() ([]byte, error)
- func (v *NullableAlarmListen) Set(val *AlarmListen)
- func (v *NullableAlarmListen) UnmarshalJSON(src []byte) error
- func (v *NullableAlarmListen) Unset()
- type NullableAlarmPriority
- func (v NullableAlarmPriority) Get() *AlarmPriority
- func (v NullableAlarmPriority) IsSet() bool
- func (v NullableAlarmPriority) MarshalJSON() ([]byte, error)
- func (v *NullableAlarmPriority) Set(val *AlarmPriority)
- func (v *NullableAlarmPriority) UnmarshalJSON(src []byte) error
- func (v *NullableAlarmPriority) Unset()
- type NullableAlarmRule
- type NullableApp
- type NullableAsset
- type NullableAssetDryRun
- func (v NullableAssetDryRun) Get() *AssetDryRun
- func (v NullableAssetDryRun) IsSet() bool
- func (v NullableAssetDryRun) MarshalJSON() ([]byte, error)
- func (v *NullableAssetDryRun) Set(val *AssetDryRun)
- func (v *NullableAssetDryRun) UnmarshalJSON(src []byte) error
- func (v *NullableAssetDryRun) Unset()
- type NullableAssetIdentifyBy
- func (v NullableAssetIdentifyBy) Get() *AssetIdentifyBy
- func (v NullableAssetIdentifyBy) IsSet() bool
- func (v NullableAssetIdentifyBy) MarshalJSON() ([]byte, error)
- func (v *NullableAssetIdentifyBy) Set(val *AssetIdentifyBy)
- func (v *NullableAssetIdentifyBy) UnmarshalJSON(src []byte) error
- func (v *NullableAssetIdentifyBy) Unset()
- type NullableAssetListen
- func (v NullableAssetListen) Get() *AssetListen
- func (v NullableAssetListen) IsSet() bool
- func (v NullableAssetListen) MarshalJSON() ([]byte, error)
- func (v *NullableAssetListen) Set(val *AssetListen)
- func (v *NullableAssetListen) UnmarshalJSON(src []byte) error
- func (v *NullableAssetListen) Unset()
- type NullableAssetType
- type NullableAssetTypeAttribute
- func (v NullableAssetTypeAttribute) Get() *AssetTypeAttribute
- func (v NullableAssetTypeAttribute) IsSet() bool
- func (v NullableAssetTypeAttribute) MarshalJSON() ([]byte, error)
- func (v *NullableAssetTypeAttribute) Set(val *AssetTypeAttribute)
- func (v *NullableAssetTypeAttribute) UnmarshalJSON(src []byte) error
- func (v *NullableAssetTypeAttribute) Unset()
- type NullableAttachment
- type NullableAttributeDisplay
- func (v NullableAttributeDisplay) Get() *AttributeDisplay
- func (v NullableAttributeDisplay) IsSet() bool
- func (v NullableAttributeDisplay) MarshalJSON() ([]byte, error)
- func (v *NullableAttributeDisplay) Set(val *AttributeDisplay)
- func (v *NullableAttributeDisplay) UnmarshalJSON(src []byte) error
- func (v *NullableAttributeDisplay) Unset()
- type NullableBool
- type NullableCalculationRule
- func (v NullableCalculationRule) Get() *CalculationRule
- func (v NullableCalculationRule) IsSet() bool
- func (v NullableCalculationRule) MarshalJSON() ([]byte, error)
- func (v *NullableCalculationRule) Set(val *CalculationRule)
- func (v *NullableCalculationRule) UnmarshalJSON(src []byte) error
- func (v *NullableCalculationRule) Unset()
- type NullableDashboard
- type NullableData
- type NullableDataAggregated
- func (v NullableDataAggregated) Get() *DataAggregated
- func (v NullableDataAggregated) IsSet() bool
- func (v NullableDataAggregated) MarshalJSON() ([]byte, error)
- func (v *NullableDataAggregated) Set(val *DataAggregated)
- func (v *NullableDataAggregated) UnmarshalJSON(src []byte) error
- func (v *NullableDataAggregated) Unset()
- type NullableDataListen
- type NullableDataSubtype
- func (v NullableDataSubtype) Get() *DataSubtype
- func (v NullableDataSubtype) IsSet() bool
- func (v NullableDataSubtype) MarshalJSON() ([]byte, error)
- func (v *NullableDataSubtype) Set(val *DataSubtype)
- func (v *NullableDataSubtype) UnmarshalJSON(src []byte) error
- func (v *NullableDataSubtype) Unset()
- type NullableDryRunGeneral
- func (v NullableDryRunGeneral) Get() *DryRunGeneral
- func (v NullableDryRunGeneral) IsSet() bool
- func (v NullableDryRunGeneral) MarshalJSON() ([]byte, error)
- func (v *NullableDryRunGeneral) Set(val *DryRunGeneral)
- func (v *NullableDryRunGeneral) UnmarshalJSON(src []byte) error
- func (v *NullableDryRunGeneral) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIosysAgentDevice
- func (v NullableIosysAgentDevice) Get() *IosysAgentDevice
- func (v NullableIosysAgentDevice) IsSet() bool
- func (v NullableIosysAgentDevice) MarshalJSON() ([]byte, error)
- func (v *NullableIosysAgentDevice) Set(val *IosysAgentDevice)
- func (v *NullableIosysAgentDevice) UnmarshalJSON(src []byte) error
- func (v *NullableIosysAgentDevice) Unset()
- type NullableIosysAgentDeviceMapping
- func (v NullableIosysAgentDeviceMapping) Get() *IosysAgentDeviceMapping
- func (v NullableIosysAgentDeviceMapping) IsSet() bool
- func (v NullableIosysAgentDeviceMapping) MarshalJSON() ([]byte, error)
- func (v *NullableIosysAgentDeviceMapping) Set(val *IosysAgentDeviceMapping)
- func (v *NullableIosysAgentDeviceMapping) UnmarshalJSON(src []byte) error
- func (v *NullableIosysAgentDeviceMapping) Unset()
- type NullableMbusAgentDevice
- func (v NullableMbusAgentDevice) Get() *MbusAgentDevice
- func (v NullableMbusAgentDevice) IsSet() bool
- func (v NullableMbusAgentDevice) MarshalJSON() ([]byte, error)
- func (v *NullableMbusAgentDevice) Set(val *MbusAgentDevice)
- func (v *NullableMbusAgentDevice) UnmarshalJSON(src []byte) error
- func (v *NullableMbusAgentDevice) Unset()
- type NullableMbusAgentDeviceMapping
- func (v NullableMbusAgentDeviceMapping) Get() *MbusAgentDeviceMapping
- func (v NullableMbusAgentDeviceMapping) IsSet() bool
- func (v NullableMbusAgentDeviceMapping) MarshalJSON() ([]byte, error)
- func (v *NullableMbusAgentDeviceMapping) Set(val *MbusAgentDeviceMapping)
- func (v *NullableMbusAgentDeviceMapping) UnmarshalJSON(src []byte) error
- func (v *NullableMbusAgentDeviceMapping) Unset()
- type NullableMessage
- type NullableMessageReceipt
- func (v NullableMessageReceipt) Get() *MessageReceipt
- func (v NullableMessageReceipt) IsSet() bool
- func (v NullableMessageReceipt) MarshalJSON() ([]byte, error)
- func (v *NullableMessageReceipt) Set(val *MessageReceipt)
- func (v *NullableMessageReceipt) UnmarshalJSON(src []byte) error
- func (v *NullableMessageReceipt) Unset()
- type NullableNode
- type NullableNotification
- func (v NullableNotification) Get() *Notification
- func (v NullableNotification) IsSet() bool
- func (v NullableNotification) MarshalJSON() ([]byte, error)
- func (v *NullableNotification) Set(val *Notification)
- func (v *NullableNotification) UnmarshalJSON(src []byte) error
- func (v *NullableNotification) Unset()
- type NullablePatch
- type NullableProject
- type NullableString
- type NullableTag
- type NullableTime
- type NullableTranslation
- func (v NullableTranslation) Get() *Translation
- func (v NullableTranslation) IsSet() bool
- func (v NullableTranslation) MarshalJSON() ([]byte, error)
- func (v *NullableTranslation) Set(val *Translation)
- func (v *NullableTranslation) UnmarshalJSON(src []byte) error
- func (v *NullableTranslation) Unset()
- type NullableUser
- type NullableWidget
- type NullableWidgetData
- type NullableWidgetType
- type NullableWidgetTypeElement
- func (v NullableWidgetTypeElement) Get() *WidgetTypeElement
- func (v NullableWidgetTypeElement) IsSet() bool
- func (v NullableWidgetTypeElement) MarshalJSON() ([]byte, error)
- func (v *NullableWidgetTypeElement) Set(val *WidgetTypeElement)
- func (v *NullableWidgetTypeElement) UnmarshalJSON(src []byte) error
- func (v *NullableWidgetTypeElement) Unset()
- type Patch
- func (o *Patch) GetActive() bool
- func (o *Patch) GetActiveOk() (*bool, bool)
- func (o *Patch) GetAppName() string
- func (o *Patch) GetAppNameOk() (*string, bool)
- func (o *Patch) GetApplied() bool
- func (o *Patch) GetAppliedOk() (*bool, bool)
- func (o *Patch) GetName() string
- func (o *Patch) GetNameOk() (*string, bool)
- func (o *Patch) HasActive() bool
- func (o *Patch) HasApplied() bool
- func (o Patch) MarshalJSON() ([]byte, error)
- func (o *Patch) SetActive(v bool)
- func (o *Patch) SetActiveNil()
- func (o *Patch) SetAppName(v string)
- func (o *Patch) SetApplied(v bool)
- func (o *Patch) SetAppliedNil()
- func (o *Patch) SetName(v string)
- func (o Patch) ToMap() (map[string]interface{}, error)
- func (o *Patch) UnmarshalJSON(data []byte) (err error)
- func (o *Patch) UnsetActive()
- func (o *Patch) UnsetApplied()
- type Project
- func (o *Project) GetId() string
- func (o *Project) GetIdOk() (*string, bool)
- func (o *Project) GetTitle() string
- func (o *Project) GetTitleOk() (*string, bool)
- func (o *Project) HasId() bool
- func (o *Project) HasTitle() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetId(v string)
- func (o *Project) SetIdNil()
- func (o *Project) SetTitle(v string)
- func (o *Project) SetTitleNil()
- func (o Project) ToMap() (map[string]interface{}, error)
- func (o *Project) UnsetId()
- func (o *Project) UnsetTitle()
- type ProjectsAPIService
- func (a *ProjectsAPIService) GetProjectById(ctx context.Context, projectId string) ApiGetProjectByIdRequest
- func (a *ProjectsAPIService) GetProjectByIdExecute(r ApiGetProjectByIdRequest) (*Project, *http.Response, error)
- func (a *ProjectsAPIService) GetProjects(ctx context.Context) ApiGetProjectsRequest
- func (a *ProjectsAPIService) GetProjectsExecute(r ApiGetProjectsRequest) ([]Project, *http.Response, error)
- func (a *ProjectsAPIService) PutProject(ctx context.Context) ApiPutProjectRequest
- func (a *ProjectsAPIService) PutProjectExecute(r ApiPutProjectRequest) (*Project, *http.Response, error)
- type QRCodesAPIService
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Tag
- func (o *Tag) GetColorId() int32
- func (o *Tag) GetColorIdOk() (*int32, bool)
- func (o *Tag) GetCustom() bool
- func (o *Tag) GetCustomOk() (*bool, bool)
- func (o *Tag) GetName() string
- func (o *Tag) GetNameOk() (*string, bool)
- func (o *Tag) HasColorId() bool
- func (o *Tag) HasCustom() bool
- func (o Tag) MarshalJSON() ([]byte, error)
- func (o *Tag) SetColorId(v int32)
- func (o *Tag) SetColorIdNil()
- func (o *Tag) SetCustom(v bool)
- func (o *Tag) SetCustomNil()
- func (o *Tag) SetName(v string)
- func (o Tag) ToMap() (map[string]interface{}, error)
- func (o *Tag) UnmarshalJSON(data []byte) (err error)
- func (o *Tag) UnsetColorId()
- func (o *Tag) UnsetCustom()
- type TagsAPIService
- func (a *TagsAPIService) GetTagByName(ctx context.Context, tagName string) ApiGetTagByNameRequest
- func (a *TagsAPIService) GetTagByNameExecute(r ApiGetTagByNameRequest) (*Tag, *http.Response, error)
- func (a *TagsAPIService) GetTags(ctx context.Context) ApiGetTagsRequest
- func (a *TagsAPIService) GetTagsExecute(r ApiGetTagsRequest) ([]Tag, *http.Response, error)
- func (a *TagsAPIService) PutTag(ctx context.Context) ApiPutTagRequest
- func (a *TagsAPIService) PutTagExecute(r ApiPutTagRequest) (*Tag, *http.Response, error)
- type Translation
- func (o *Translation) GetDe() string
- func (o *Translation) GetDeOk() (*string, bool)
- func (o *Translation) GetEn() string
- func (o *Translation) GetEnOk() (*string, bool)
- func (o *Translation) GetFr() string
- func (o *Translation) GetFrOk() (*string, bool)
- func (o *Translation) GetIt() string
- func (o *Translation) GetItOk() (*string, bool)
- func (o *Translation) HasDe() bool
- func (o *Translation) HasEn() bool
- func (o *Translation) HasFr() bool
- func (o *Translation) HasIt() bool
- func (o Translation) MarshalJSON() ([]byte, error)
- func (o *Translation) SetDe(v string)
- func (o *Translation) SetEn(v string)
- func (o *Translation) SetFr(v string)
- func (o *Translation) SetIt(v string)
- func (o Translation) ToMap() (map[string]interface{}, error)
- type User
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetFirstname() string
- func (o *User) GetFirstnameOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetLastname() string
- func (o *User) GetLastnameOk() (*string, bool)
- func (o *User) HasFirstname() bool
- func (o *User) HasId() bool
- func (o *User) HasLastname() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetEmail(v string)
- func (o *User) SetFirstname(v string)
- func (o *User) SetFirstnameNil()
- func (o *User) SetId(v string)
- func (o *User) SetIdNil()
- func (o *User) SetLastname(v string)
- func (o *User) SetLastnameNil()
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnmarshalJSON(data []byte) (err error)
- func (o *User) UnsetFirstname()
- func (o *User) UnsetId()
- func (o *User) UnsetLastname()
- type UsersAPIService
- func (a *UsersAPIService) GetUserById(ctx context.Context, userId string) ApiGetUserByIdRequest
- func (a *UsersAPIService) GetUserByIdExecute(r ApiGetUserByIdRequest) (*User, *http.Response, error)
- func (a *UsersAPIService) GetUsers(ctx context.Context) ApiGetUsersRequest
- func (a *UsersAPIService) GetUsersExecute(r ApiGetUsersRequest) ([]User, *http.Response, error)
- func (a *UsersAPIService) PutUser(ctx context.Context) ApiPutUserRequest
- func (a *UsersAPIService) PutUserExecute(r ApiPutUserRequest) (*User, *http.Response, error)
- type VersionAPIService
- func (a *VersionAPIService) GetOpenAPI(ctx context.Context) ApiGetOpenAPIRequest
- func (a *VersionAPIService) GetOpenAPIExecute(r ApiGetOpenAPIRequest) (*http.Response, error)
- func (a *VersionAPIService) GetVersion(ctx context.Context) ApiGetVersionRequest
- func (a *VersionAPIService) GetVersionExecute(r ApiGetVersionRequest) (map[string]interface{}, *http.Response, error)
- type Widget
- func (o *Widget) GetAssetId() int32
- func (o *Widget) GetAssetIdOk() (*int32, bool)
- func (o *Widget) GetData() []WidgetData
- func (o *Widget) GetDataOk() ([]WidgetData, bool)
- func (o *Widget) GetDetails() map[string]interface{}
- func (o *Widget) GetDetailsOk() (map[string]interface{}, bool)
- func (o *Widget) GetId() int32
- func (o *Widget) GetIdOk() (*int32, bool)
- func (o *Widget) GetSequence() int32
- func (o *Widget) GetSequenceOk() (*int32, bool)
- func (o *Widget) GetWidgetTypeName() string
- func (o *Widget) GetWidgetTypeNameOk() (*string, bool)
- func (o *Widget) HasAssetId() bool
- func (o *Widget) HasData() bool
- func (o *Widget) HasDetails() bool
- func (o *Widget) HasId() bool
- func (o *Widget) HasSequence() bool
- func (o Widget) MarshalJSON() ([]byte, error)
- func (o *Widget) SetAssetId(v int32)
- func (o *Widget) SetAssetIdNil()
- func (o *Widget) SetData(v []WidgetData)
- func (o *Widget) SetDetails(v map[string]interface{})
- func (o *Widget) SetId(v int32)
- func (o *Widget) SetIdNil()
- func (o *Widget) SetSequence(v int32)
- func (o *Widget) SetSequenceNil()
- func (o *Widget) SetWidgetTypeName(v string)
- func (o Widget) ToMap() (map[string]interface{}, error)
- func (o *Widget) UnmarshalJSON(data []byte) (err error)
- func (o *Widget) UnsetAssetId()
- func (o *Widget) UnsetId()
- func (o *Widget) UnsetSequence()
- type WidgetData
- func (o *WidgetData) GetAssetId() int32
- func (o *WidgetData) GetAssetIdOk() (*int32, bool)
- func (o *WidgetData) GetData() map[string]interface{}
- func (o *WidgetData) GetDataOk() (map[string]interface{}, bool)
- func (o *WidgetData) GetElementSequence() int32
- func (o *WidgetData) GetElementSequenceOk() (*int32, bool)
- func (o *WidgetData) GetId() int32
- func (o *WidgetData) GetIdOk() (*int32, bool)
- func (o *WidgetData) HasAssetId() bool
- func (o *WidgetData) HasData() bool
- func (o *WidgetData) HasElementSequence() bool
- func (o *WidgetData) HasId() bool
- func (o WidgetData) MarshalJSON() ([]byte, error)
- func (o *WidgetData) SetAssetId(v int32)
- func (o *WidgetData) SetAssetIdNil()
- func (o *WidgetData) SetData(v map[string]interface{})
- func (o *WidgetData) SetElementSequence(v int32)
- func (o *WidgetData) SetElementSequenceNil()
- func (o *WidgetData) SetId(v int32)
- func (o *WidgetData) SetIdNil()
- func (o WidgetData) ToMap() (map[string]interface{}, error)
- func (o *WidgetData) UnsetAssetId()
- func (o *WidgetData) UnsetElementSequence()
- func (o *WidgetData) UnsetId()
- type WidgetType
- func (o *WidgetType) GetCustom() bool
- func (o *WidgetType) GetCustomOk() (*bool, bool)
- func (o *WidgetType) GetElements() []WidgetTypeElement
- func (o *WidgetType) GetElementsOk() ([]WidgetTypeElement, bool)
- func (o *WidgetType) GetIcon() string
- func (o *WidgetType) GetIconOk() (*string, bool)
- func (o *WidgetType) GetId() int32
- func (o *WidgetType) GetIdOk() (*int32, bool)
- func (o *WidgetType) GetName() string
- func (o *WidgetType) GetNameOk() (*string, bool)
- func (o *WidgetType) GetTranslation() Translation
- func (o *WidgetType) GetTranslationOk() (*Translation, bool)
- func (o *WidgetType) GetWithAlarm() bool
- func (o *WidgetType) GetWithAlarmOk() (*bool, bool)
- func (o *WidgetType) GetWithTimespan() bool
- func (o *WidgetType) GetWithTimespanOk() (*bool, bool)
- func (o *WidgetType) HasCustom() bool
- func (o *WidgetType) HasIcon() bool
- func (o *WidgetType) HasId() bool
- func (o *WidgetType) HasWithAlarm() bool
- func (o *WidgetType) HasWithTimespan() bool
- func (o WidgetType) MarshalJSON() ([]byte, error)
- func (o *WidgetType) SetCustom(v bool)
- func (o *WidgetType) SetElements(v []WidgetTypeElement)
- func (o *WidgetType) SetIcon(v string)
- func (o *WidgetType) SetIconNil()
- func (o *WidgetType) SetId(v int32)
- func (o *WidgetType) SetIdNil()
- func (o *WidgetType) SetName(v string)
- func (o *WidgetType) SetTranslation(v Translation)
- func (o *WidgetType) SetWithAlarm(v bool)
- func (o *WidgetType) SetWithAlarmNil()
- func (o *WidgetType) SetWithTimespan(v bool)
- func (o *WidgetType) SetWithTimespanNil()
- func (o WidgetType) ToMap() (map[string]interface{}, error)
- func (o *WidgetType) UnmarshalJSON(data []byte) (err error)
- func (o *WidgetType) UnsetIcon()
- func (o *WidgetType) UnsetId()
- func (o *WidgetType) UnsetWithAlarm()
- func (o *WidgetType) UnsetWithTimespan()
- type WidgetTypeElement
- func (o *WidgetTypeElement) GetCategory() string
- func (o *WidgetTypeElement) GetCategoryOk() (*string, bool)
- func (o *WidgetTypeElement) GetConfig() map[string]interface{}
- func (o *WidgetTypeElement) GetConfigOk() (map[string]interface{}, bool)
- func (o *WidgetTypeElement) GetId() int32
- func (o *WidgetTypeElement) GetIdOk() (*int32, bool)
- func (o *WidgetTypeElement) GetSequence() int32
- func (o *WidgetTypeElement) GetSequenceOk() (*int32, bool)
- func (o *WidgetTypeElement) HasConfig() bool
- func (o *WidgetTypeElement) HasId() bool
- func (o *WidgetTypeElement) HasSequence() bool
- func (o WidgetTypeElement) MarshalJSON() ([]byte, error)
- func (o *WidgetTypeElement) SetCategory(v string)
- func (o *WidgetTypeElement) SetConfig(v map[string]interface{})
- func (o *WidgetTypeElement) SetId(v int32)
- func (o *WidgetTypeElement) SetIdNil()
- func (o *WidgetTypeElement) SetSequence(v int32)
- func (o *WidgetTypeElement) SetSequenceNil()
- func (o WidgetTypeElement) ToMap() (map[string]interface{}, error)
- func (o *WidgetTypeElement) UnmarshalJSON(data []byte) (err error)
- func (o *WidgetTypeElement) UnsetId()
- func (o *WidgetTypeElement) UnsetSequence()
- type WidgetsAPIService
- func (a *WidgetsAPIService) GetDashboardWidgets(ctx context.Context, dashboardId int32) ApiGetDashboardWidgetsRequest
- func (a *WidgetsAPIService) GetDashboardWidgetsExecute(r ApiGetDashboardWidgetsRequest) (*Widget, *http.Response, error)
- func (a *WidgetsAPIService) PostDashboardWidget(ctx context.Context, dashboardId int32) ApiPostDashboardWidgetRequest
- func (a *WidgetsAPIService) PostDashboardWidgetExecute(r ApiPostDashboardWidgetRequest) (*http.Response, error)
- type WidgetsTypesAPIService
- func (a *WidgetsTypesAPIService) DeleteWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiDeleteWidgetTypeByNameRequest
- func (a *WidgetsTypesAPIService) DeleteWidgetTypeByNameExecute(r ApiDeleteWidgetTypeByNameRequest) (*http.Response, error)
- func (a *WidgetsTypesAPIService) GetWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiGetWidgetTypeByNameRequest
- func (a *WidgetsTypesAPIService) GetWidgetTypeByNameExecute(r ApiGetWidgetTypeByNameRequest) (*WidgetType, *http.Response, error)
- func (a *WidgetsTypesAPIService) GetWidgetTypes(ctx context.Context) ApiGetWidgetTypesRequest
- func (a *WidgetsTypesAPIService) GetWidgetTypesExecute(r ApiGetWidgetTypesRequest) ([]WidgetType, *http.Response, error)
- func (a *WidgetsTypesAPIService) PostWidgetType(ctx context.Context) ApiPostWidgetTypeRequest
- func (a *WidgetsTypesAPIService) PostWidgetTypeExecute(r ApiPostWidgetTypeRequest) (*WidgetType, *http.Response, error)
- func (a *WidgetsTypesAPIService) PutWidgetType(ctx context.Context) ApiPutWidgetTypeRequest
- func (a *WidgetsTypesAPIService) PutWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiPutWidgetTypeByNameRequest
- func (a *WidgetsTypesAPIService) PutWidgetTypeByNameExecute(r ApiPutWidgetTypeByNameRequest) (*WidgetType, *http.Response, error)
- func (a *WidgetsTypesAPIService) PutWidgetTypeExecute(r ApiPutWidgetTypeRequest) (*WidgetType, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // 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") // 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") )
var AllowedAgentClassEnumValues = []AgentClass{
"iosys",
"mbus",
}
All allowed values of AgentClass enum
var AllowedAlarmPriorityEnumValues = []AlarmPriority{
1,
2,
3,
10,
}
All allowed values of AlarmPriority enum
var AllowedAssetIdentifyByEnumValues = []AssetIdentifyBy{
"resourceId",
"deviceId",
"id",
"gai-projId",
}
All allowed values of AssetIdentifyBy enum
var AllowedDataSubtypeEnumValues = []DataSubtype{
"input",
"info",
"status",
"output",
"property",
}
All allowed values of DataSubtype enum
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 { AgentsAPI *AgentsAPIService AggregationsAPI *AggregationsAPIService AlarmRulesAPI *AlarmRulesAPIService AlarmsAPI *AlarmsAPIService AppsAPI *AppsAPIService AssetTypesAPI *AssetTypesAPIService AssetsAPI *AssetsAPIService CalculationRulesAPI *CalculationRulesAPIService CommunicationAPI *CommunicationAPIService DashboardsAPI *DashboardsAPIService DataAPI *DataAPIService NodesAPI *NodesAPIService ProjectsAPI *ProjectsAPIService QRCodesAPI *QRCodesAPIService TagsAPI *TagsAPIService UsersAPI *UsersAPIService VersionAPI *VersionAPIService WidgetsAPI *WidgetsAPIService WidgetsTypesAPI *WidgetsTypesAPIService // contains filtered or unexported fields }
APIClient manages communication with the Eliona REST API API v2.7.3 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 Agent ¶
type Agent struct { // Unique id for the agent Id NullableInt32 `json:"id,omitempty"` // Id of the node where the agent is installed NodeId NullableString `json:"nodeId,omitempty"` // ID of the corresponding asset AssetId NullableInt32 `json:"assetId,omitempty"` Class NullableAgentClass `json:"class,omitempty"` // Descriptive text for the agent Description NullableString `json:"description,omitempty"` // Is the agent enabled or not Enable *bool `json:"enable,omitempty"` // Individual configuration depending on agent class Config map[string]interface{} `json:"config,omitempty"` }
Agent An agent installed on an edge node
func NewAgent ¶
func NewAgent() *Agent
NewAgent instantiates a new Agent 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 NewAgentWithDefaults ¶
func NewAgentWithDefaults() *Agent
NewAgentWithDefaults instantiates a new Agent 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 (*Agent) GetAssetId ¶
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Agent) GetClass ¶
func (o *Agent) GetClass() AgentClass
GetClass returns the Class field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetClassOk ¶
func (o *Agent) GetClassOk() (*AgentClass, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Agent) GetConfig ¶
GetConfig returns the Config field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetConfigOk ¶
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Agent) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Agent) GetEnableOk ¶
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Agent) GetId ¶
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Agent) GetNodeId ¶
GetNodeId returns the NodeId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetNodeIdOk ¶
GetNodeIdOk returns a tuple with the NodeId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Agent) HasAssetId ¶
HasAssetId returns a boolean if a field has been set.
func (*Agent) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Agent) MarshalJSON ¶
func (*Agent) SetAssetId ¶
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*Agent) SetAssetIdNil ¶
func (o *Agent) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*Agent) SetClass ¶
func (o *Agent) SetClass(v AgentClass)
SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.
func (*Agent) SetClassNil ¶
func (o *Agent) SetClassNil()
SetClassNil sets the value for Class to be an explicit nil
func (*Agent) SetConfig ¶
SetConfig gets a reference to the given map[string]interface{} and assigns it to the Config field.
func (*Agent) SetDescription ¶
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*Agent) SetDescriptionNil ¶
func (o *Agent) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*Agent) SetEnable ¶
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*Agent) SetId ¶
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*Agent) SetIdNil ¶
func (o *Agent) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*Agent) SetNodeId ¶
SetNodeId gets a reference to the given NullableString and assigns it to the NodeId field.
func (*Agent) SetNodeIdNil ¶
func (o *Agent) SetNodeIdNil()
SetNodeIdNil sets the value for NodeId to be an explicit nil
func (*Agent) UnsetAssetId ¶
func (o *Agent) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*Agent) UnsetClass ¶
func (o *Agent) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (*Agent) UnsetDescription ¶
func (o *Agent) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*Agent) UnsetId ¶
func (o *Agent) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*Agent) UnsetNodeId ¶
func (o *Agent) UnsetNodeId()
UnsetNodeId ensures that no value is present for NodeId, not even an explicit nil
type AgentClass ¶
type AgentClass string
AgentClass The class of an agent
const ( AGENT_CLASS_IOSYS AgentClass = "iosys" AGENT_CLASS_MBUS AgentClass = "mbus" )
List of AgentClass
func NewAgentClassFromValue ¶
func NewAgentClassFromValue(v string) (*AgentClass, error)
NewAgentClassFromValue returns a pointer to a valid AgentClass for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AgentClass) IsValid ¶
func (v AgentClass) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AgentClass) Ptr ¶
func (v AgentClass) Ptr() *AgentClass
Ptr returns reference to AgentClass value
func (*AgentClass) UnmarshalJSON ¶
func (v *AgentClass) UnmarshalJSON(src []byte) error
type AgentDevice ¶
type AgentDevice struct { IosysAgentDevice *IosysAgentDevice MbusAgentDevice *MbusAgentDevice }
AgentDevice struct for AgentDevice
func (*AgentDevice) MarshalJSON ¶
func (src *AgentDevice) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*AgentDevice) UnmarshalJSON ¶
func (dst *AgentDevice) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type AgentDeviceGeneral ¶
type AgentDeviceGeneral struct { Class NullableAgentClass `json:"class,omitempty"` // Unique id for the device Id NullableInt32 `json:"id,omitempty"` // The id of the agent the device belongs to AgentId NullableInt32 `json:"agentId,omitempty"` // Is the device enabled or not Enable *bool `json:"enable,omitempty"` }
AgentDeviceGeneral A general device for an agent
func NewAgentDeviceGeneral ¶
func NewAgentDeviceGeneral() *AgentDeviceGeneral
NewAgentDeviceGeneral instantiates a new AgentDeviceGeneral 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 NewAgentDeviceGeneralWithDefaults ¶
func NewAgentDeviceGeneralWithDefaults() *AgentDeviceGeneral
NewAgentDeviceGeneralWithDefaults instantiates a new AgentDeviceGeneral 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 (*AgentDeviceGeneral) GetAgentId ¶
func (o *AgentDeviceGeneral) GetAgentId() int32
GetAgentId returns the AgentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentDeviceGeneral) GetAgentIdOk ¶
func (o *AgentDeviceGeneral) GetAgentIdOk() (*int32, bool)
GetAgentIdOk returns a tuple with the AgentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AgentDeviceGeneral) GetClass ¶
func (o *AgentDeviceGeneral) GetClass() AgentClass
GetClass returns the Class field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentDeviceGeneral) GetClassOk ¶
func (o *AgentDeviceGeneral) GetClassOk() (*AgentClass, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AgentDeviceGeneral) GetEnable ¶
func (o *AgentDeviceGeneral) GetEnable() bool
GetEnable returns the Enable field value if set, zero value otherwise.
func (*AgentDeviceGeneral) GetEnableOk ¶
func (o *AgentDeviceGeneral) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentDeviceGeneral) GetId ¶
func (o *AgentDeviceGeneral) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentDeviceGeneral) GetIdOk ¶
func (o *AgentDeviceGeneral) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AgentDeviceGeneral) HasAgentId ¶
func (o *AgentDeviceGeneral) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*AgentDeviceGeneral) HasClass ¶
func (o *AgentDeviceGeneral) HasClass() bool
HasClass returns a boolean if a field has been set.
func (*AgentDeviceGeneral) HasEnable ¶
func (o *AgentDeviceGeneral) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (*AgentDeviceGeneral) HasId ¶
func (o *AgentDeviceGeneral) HasId() bool
HasId returns a boolean if a field has been set.
func (AgentDeviceGeneral) MarshalJSON ¶
func (o AgentDeviceGeneral) MarshalJSON() ([]byte, error)
func (*AgentDeviceGeneral) SetAgentId ¶
func (o *AgentDeviceGeneral) SetAgentId(v int32)
SetAgentId gets a reference to the given NullableInt32 and assigns it to the AgentId field.
func (*AgentDeviceGeneral) SetAgentIdNil ¶
func (o *AgentDeviceGeneral) SetAgentIdNil()
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (*AgentDeviceGeneral) SetClass ¶
func (o *AgentDeviceGeneral) SetClass(v AgentClass)
SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.
func (*AgentDeviceGeneral) SetClassNil ¶
func (o *AgentDeviceGeneral) SetClassNil()
SetClassNil sets the value for Class to be an explicit nil
func (*AgentDeviceGeneral) SetEnable ¶
func (o *AgentDeviceGeneral) SetEnable(v bool)
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*AgentDeviceGeneral) SetId ¶
func (o *AgentDeviceGeneral) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*AgentDeviceGeneral) SetIdNil ¶
func (o *AgentDeviceGeneral) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (AgentDeviceGeneral) ToMap ¶ added in v2.4.8
func (o AgentDeviceGeneral) ToMap() (map[string]interface{}, error)
func (*AgentDeviceGeneral) UnsetAgentId ¶
func (o *AgentDeviceGeneral) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (*AgentDeviceGeneral) UnsetClass ¶
func (o *AgentDeviceGeneral) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (*AgentDeviceGeneral) UnsetId ¶
func (o *AgentDeviceGeneral) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
type AgentDeviceMapping ¶
type AgentDeviceMapping struct { IosysAgentDeviceMapping *IosysAgentDeviceMapping MbusAgentDeviceMapping *MbusAgentDeviceMapping }
AgentDeviceMapping struct for AgentDeviceMapping
func (*AgentDeviceMapping) MarshalJSON ¶
func (src *AgentDeviceMapping) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*AgentDeviceMapping) UnmarshalJSON ¶
func (dst *AgentDeviceMapping) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type AgentDeviceMappingGeneral ¶
type AgentDeviceMappingGeneral struct { Class NullableAgentClass `json:"class,omitempty"` // Unique id for the mapping Id NullableInt32 `json:"id,omitempty"` // The id of the device the mapping belongs to DeviceId NullableInt32 `json:"deviceId,omitempty"` // Is the mapping enabled or not Enable *bool `json:"enable,omitempty"` // ID of the corresponding asset AssetId NullableInt32 `json:"assetId,omitempty"` Subtype DataSubtype `json:"subtype"` // Name of the attribute to map Attribute string `json:"attribute"` }
AgentDeviceMappingGeneral A general mapping of attributes for an agent
func NewAgentDeviceMappingGeneral ¶
func NewAgentDeviceMappingGeneral(subtype DataSubtype, attribute string) *AgentDeviceMappingGeneral
NewAgentDeviceMappingGeneral instantiates a new AgentDeviceMappingGeneral 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 NewAgentDeviceMappingGeneralWithDefaults ¶
func NewAgentDeviceMappingGeneralWithDefaults() *AgentDeviceMappingGeneral
NewAgentDeviceMappingGeneralWithDefaults instantiates a new AgentDeviceMappingGeneral 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 (*AgentDeviceMappingGeneral) GetAssetId ¶
func (o *AgentDeviceMappingGeneral) GetAssetId() int32
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentDeviceMappingGeneral) GetAssetIdOk ¶
func (o *AgentDeviceMappingGeneral) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AgentDeviceMappingGeneral) GetAttribute ¶
func (o *AgentDeviceMappingGeneral) GetAttribute() string
GetAttribute returns the Attribute field value
func (*AgentDeviceMappingGeneral) GetAttributeOk ¶
func (o *AgentDeviceMappingGeneral) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.
func (*AgentDeviceMappingGeneral) GetClass ¶
func (o *AgentDeviceMappingGeneral) GetClass() AgentClass
GetClass returns the Class field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentDeviceMappingGeneral) GetClassOk ¶
func (o *AgentDeviceMappingGeneral) GetClassOk() (*AgentClass, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AgentDeviceMappingGeneral) GetDeviceId ¶
func (o *AgentDeviceMappingGeneral) GetDeviceId() int32
GetDeviceId returns the DeviceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentDeviceMappingGeneral) GetDeviceIdOk ¶
func (o *AgentDeviceMappingGeneral) GetDeviceIdOk() (*int32, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AgentDeviceMappingGeneral) GetEnable ¶
func (o *AgentDeviceMappingGeneral) GetEnable() bool
GetEnable returns the Enable field value if set, zero value otherwise.
func (*AgentDeviceMappingGeneral) GetEnableOk ¶
func (o *AgentDeviceMappingGeneral) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentDeviceMappingGeneral) GetId ¶
func (o *AgentDeviceMappingGeneral) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentDeviceMappingGeneral) GetIdOk ¶
func (o *AgentDeviceMappingGeneral) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AgentDeviceMappingGeneral) GetSubtype ¶
func (o *AgentDeviceMappingGeneral) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*AgentDeviceMappingGeneral) GetSubtypeOk ¶
func (o *AgentDeviceMappingGeneral) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*AgentDeviceMappingGeneral) HasAssetId ¶
func (o *AgentDeviceMappingGeneral) HasAssetId() bool
HasAssetId returns a boolean if a field has been set.
func (*AgentDeviceMappingGeneral) HasClass ¶
func (o *AgentDeviceMappingGeneral) HasClass() bool
HasClass returns a boolean if a field has been set.
func (*AgentDeviceMappingGeneral) HasDeviceId ¶
func (o *AgentDeviceMappingGeneral) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*AgentDeviceMappingGeneral) HasEnable ¶
func (o *AgentDeviceMappingGeneral) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (*AgentDeviceMappingGeneral) HasId ¶
func (o *AgentDeviceMappingGeneral) HasId() bool
HasId returns a boolean if a field has been set.
func (AgentDeviceMappingGeneral) MarshalJSON ¶
func (o AgentDeviceMappingGeneral) MarshalJSON() ([]byte, error)
func (*AgentDeviceMappingGeneral) SetAssetId ¶
func (o *AgentDeviceMappingGeneral) SetAssetId(v int32)
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*AgentDeviceMappingGeneral) SetAssetIdNil ¶
func (o *AgentDeviceMappingGeneral) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*AgentDeviceMappingGeneral) SetAttribute ¶
func (o *AgentDeviceMappingGeneral) SetAttribute(v string)
SetAttribute sets field value
func (*AgentDeviceMappingGeneral) SetClass ¶
func (o *AgentDeviceMappingGeneral) SetClass(v AgentClass)
SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.
func (*AgentDeviceMappingGeneral) SetClassNil ¶
func (o *AgentDeviceMappingGeneral) SetClassNil()
SetClassNil sets the value for Class to be an explicit nil
func (*AgentDeviceMappingGeneral) SetDeviceId ¶
func (o *AgentDeviceMappingGeneral) SetDeviceId(v int32)
SetDeviceId gets a reference to the given NullableInt32 and assigns it to the DeviceId field.
func (*AgentDeviceMappingGeneral) SetDeviceIdNil ¶
func (o *AgentDeviceMappingGeneral) SetDeviceIdNil()
SetDeviceIdNil sets the value for DeviceId to be an explicit nil
func (*AgentDeviceMappingGeneral) SetEnable ¶
func (o *AgentDeviceMappingGeneral) SetEnable(v bool)
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*AgentDeviceMappingGeneral) SetId ¶
func (o *AgentDeviceMappingGeneral) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*AgentDeviceMappingGeneral) SetIdNil ¶
func (o *AgentDeviceMappingGeneral) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*AgentDeviceMappingGeneral) SetSubtype ¶
func (o *AgentDeviceMappingGeneral) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (AgentDeviceMappingGeneral) ToMap ¶ added in v2.4.8
func (o AgentDeviceMappingGeneral) ToMap() (map[string]interface{}, error)
func (*AgentDeviceMappingGeneral) UnmarshalJSON ¶ added in v2.5.9
func (o *AgentDeviceMappingGeneral) UnmarshalJSON(data []byte) (err error)
func (*AgentDeviceMappingGeneral) UnsetAssetId ¶
func (o *AgentDeviceMappingGeneral) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*AgentDeviceMappingGeneral) UnsetClass ¶
func (o *AgentDeviceMappingGeneral) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (*AgentDeviceMappingGeneral) UnsetDeviceId ¶
func (o *AgentDeviceMappingGeneral) UnsetDeviceId()
UnsetDeviceId ensures that no value is present for DeviceId, not even an explicit nil
func (*AgentDeviceMappingGeneral) UnsetId ¶
func (o *AgentDeviceMappingGeneral) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
type AgentsAPIService ¶ added in v2.5.3
type AgentsAPIService service
AgentsAPIService AgentsAPI service
func (*AgentsAPIService) GetAgentByClassAndId ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentByClassAndId(ctx context.Context, agentId int32, agentClass string) ApiGetAgentByClassAndIdRequest
GetAgentByClassAndId Information about an agent
Gets information about an agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId The id of the agent @param agentClass The class of an agent @return ApiGetAgentByClassAndIdRequest
func (*AgentsAPIService) GetAgentByClassAndIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentByClassAndIdExecute(r ApiGetAgentByClassAndIdRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*AgentsAPIService) GetAgentDeviceById ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentDeviceById(ctx context.Context, agentClass string, agentDeviceId int32) ApiGetAgentDeviceByIdRequest
GetAgentDeviceById Information about agent device
Gets information about agent device.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentDeviceId The id of the device @return ApiGetAgentDeviceByIdRequest
func (*AgentsAPIService) GetAgentDeviceByIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentDeviceByIdExecute(r ApiGetAgentDeviceByIdRequest) ([]AgentDevice, *http.Response, error)
Execute executes the request
@return []AgentDevice
func (*AgentsAPIService) GetAgentDeviceMappingById ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentDeviceMappingById(ctx context.Context, agentClass string, agentDeviceMappingId int32) ApiGetAgentDeviceMappingByIdRequest
GetAgentDeviceMappingById Information about agent device mapping
Gets information about agent device mapping.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentDeviceMappingId The id of the device mapping @return ApiGetAgentDeviceMappingByIdRequest
func (*AgentsAPIService) GetAgentDeviceMappingByIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentDeviceMappingByIdExecute(r ApiGetAgentDeviceMappingByIdRequest) ([]AgentDeviceMapping, *http.Response, error)
Execute executes the request
@return []AgentDeviceMapping
func (*AgentsAPIService) GetAgentDeviceMappingsByDeviceId ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentDeviceMappingsByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiGetAgentDeviceMappingsByDeviceIdRequest
GetAgentDeviceMappingsByDeviceId Information about agent device mappings
Gets information about mappings between agent and eliona.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentDeviceId The id of the device @return ApiGetAgentDeviceMappingsByDeviceIdRequest
func (*AgentsAPIService) GetAgentDeviceMappingsByDeviceIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentDeviceMappingsByDeviceIdExecute(r ApiGetAgentDeviceMappingsByDeviceIdRequest) ([]AgentDeviceMapping, *http.Response, error)
Execute executes the request
@return []AgentDeviceMapping
func (*AgentsAPIService) GetAgentDevicesByAgentId ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentDevicesByAgentId(ctx context.Context, agentClass string, agentId int32) ApiGetAgentDevicesByAgentIdRequest
GetAgentDevicesByAgentId Information about agent devices
Gets information about agent devices.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentId The id of the agent @return ApiGetAgentDevicesByAgentIdRequest
func (*AgentsAPIService) GetAgentDevicesByAgentIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentDevicesByAgentIdExecute(r ApiGetAgentDevicesByAgentIdRequest) ([]AgentDevice, *http.Response, error)
Execute executes the request
@return []AgentDevice
func (*AgentsAPIService) GetAgents ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgents(ctx context.Context) ApiGetAgentsRequest
GetAgents Information about agents
Gets information about agents.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAgentsRequest
func (*AgentsAPIService) GetAgentsByClass ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentsByClass(ctx context.Context, agentClass string) ApiGetAgentsByClassRequest
GetAgentsByClass Information about agents for a specific class
Gets information about agents.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @return ApiGetAgentsByClassRequest
func (*AgentsAPIService) GetAgentsByClassExecute ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentsByClassExecute(r ApiGetAgentsByClassRequest) ([]Agent, *http.Response, error)
Execute executes the request
@return []Agent
func (*AgentsAPIService) GetAgentsExecute ¶ added in v2.5.3
func (a *AgentsAPIService) GetAgentsExecute(r ApiGetAgentsRequest) ([]Agent, *http.Response, error)
Execute executes the request
@return []Agent
func (*AgentsAPIService) PostAgentByClass ¶ added in v2.5.3
func (a *AgentsAPIService) PostAgentByClass(ctx context.Context, agentClass string) ApiPostAgentByClassRequest
PostAgentByClass Create an agent
Create a new agent for a specific class
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @return ApiPostAgentByClassRequest
func (*AgentsAPIService) PostAgentByClassExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PostAgentByClassExecute(r ApiPostAgentByClassRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*AgentsAPIService) PostAgentDeviceByAgentId ¶ added in v2.5.3
func (a *AgentsAPIService) PostAgentDeviceByAgentId(ctx context.Context, agentClass string, agentId int32) ApiPostAgentDeviceByAgentIdRequest
PostAgentDeviceByAgentId Create an agent device
Create a new agent device.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentId The id of the agent @return ApiPostAgentDeviceByAgentIdRequest
func (*AgentsAPIService) PostAgentDeviceByAgentIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PostAgentDeviceByAgentIdExecute(r ApiPostAgentDeviceByAgentIdRequest) (*AgentDevice, *http.Response, error)
Execute executes the request
@return AgentDevice
func (*AgentsAPIService) PostAgentDeviceMappingByDeviceId ¶ added in v2.5.3
func (a *AgentsAPIService) PostAgentDeviceMappingByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiPostAgentDeviceMappingByDeviceIdRequest
PostAgentDeviceMappingByDeviceId Create an agent device mapping
Create a new agent device mapping.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentDeviceId The id of the device @return ApiPostAgentDeviceMappingByDeviceIdRequest
func (*AgentsAPIService) PostAgentDeviceMappingByDeviceIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PostAgentDeviceMappingByDeviceIdExecute(r ApiPostAgentDeviceMappingByDeviceIdRequest) (*AgentDeviceMapping, *http.Response, error)
Execute executes the request
@return AgentDeviceMapping
func (*AgentsAPIService) PutAgentByClass ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentByClass(ctx context.Context, agentClass string) ApiPutAgentByClassRequest
PutAgentByClass Create or update an agent
Deprecated - use POST /agents/{agent-class} for creating and PUT /agents/{agent-class}/{agent-id} for updating
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @return ApiPutAgentByClassRequest
Deprecated
func (*AgentsAPIService) PutAgentByClassAndId ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentByClassAndId(ctx context.Context, agentId int32, agentClass string) ApiPutAgentByClassAndIdRequest
PutAgentByClassAndId Update an agent
Update an agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId The id of the agent @param agentClass The class of an agent @return ApiPutAgentByClassAndIdRequest
func (*AgentsAPIService) PutAgentByClassAndIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentByClassAndIdExecute(r ApiPutAgentByClassAndIdRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*AgentsAPIService) PutAgentByClassExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentByClassExecute(r ApiPutAgentByClassRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
Deprecated
func (*AgentsAPIService) PutAgentDeviceByAgentId ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentDeviceByAgentId(ctx context.Context, agentClass string, agentId int32) ApiPutAgentDeviceByAgentIdRequest
PutAgentDeviceByAgentId Create or update an agent device
Deprecated - use POST /agents/{agent-class}/{agent-id}/devices for creating and PUT /agent-devices/{agent-class}/{agent-device-id} for updating
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentId The id of the agent @return ApiPutAgentDeviceByAgentIdRequest
Deprecated
func (*AgentsAPIService) PutAgentDeviceByAgentIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentDeviceByAgentIdExecute(r ApiPutAgentDeviceByAgentIdRequest) (*AgentDevice, *http.Response, error)
Execute executes the request
@return AgentDevice
Deprecated
func (*AgentsAPIService) PutAgentDeviceById ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentDeviceById(ctx context.Context, agentClass string, agentDeviceId int32) ApiPutAgentDeviceByIdRequest
PutAgentDeviceById Update an agent device
Update a new agent device.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentDeviceId The id of the device @return ApiPutAgentDeviceByIdRequest
func (*AgentsAPIService) PutAgentDeviceByIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentDeviceByIdExecute(r ApiPutAgentDeviceByIdRequest) (*AgentDevice, *http.Response, error)
Execute executes the request
@return AgentDevice
func (*AgentsAPIService) PutAgentDeviceMappingByDeviceId ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentDeviceMappingByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiPutAgentDeviceMappingByDeviceIdRequest
PutAgentDeviceMappingByDeviceId Create or update an agent device mapping
Deprecated - Use POST /agent-devices/{agent-class}/{agent-device-id}/mappings for creating and /agent-device-mappings/{agent-class}/{agent-device-mapping-id} for updating
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentDeviceId The id of the device @return ApiPutAgentDeviceMappingByDeviceIdRequest
Deprecated
func (*AgentsAPIService) PutAgentDeviceMappingByDeviceIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentDeviceMappingByDeviceIdExecute(r ApiPutAgentDeviceMappingByDeviceIdRequest) (*AgentDeviceMapping, *http.Response, error)
Execute executes the request
@return AgentDeviceMapping
Deprecated
func (*AgentsAPIService) PutAgentDeviceMappingById ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentDeviceMappingById(ctx context.Context, agentClass string, agentDeviceMappingId int32) ApiPutAgentDeviceMappingByIdRequest
PutAgentDeviceMappingById Update an agent device mapping
Update a new agent device mapping.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentClass The class of an agent @param agentDeviceMappingId The id of the device mapping @return ApiPutAgentDeviceMappingByIdRequest
func (*AgentsAPIService) PutAgentDeviceMappingByIdExecute ¶ added in v2.5.3
func (a *AgentsAPIService) PutAgentDeviceMappingByIdExecute(r ApiPutAgentDeviceMappingByIdRequest) (*AgentDeviceMapping, *http.Response, error)
Execute executes the request
@return AgentDeviceMapping
type Aggregation ¶
type Aggregation struct { // ID of the aggregation Id NullableInt32 `json:"id,omitempty"` // ID of the corresponding asset AssetId int32 `json:"assetId"` Subtype DataSubtype `json:"subtype"` // Name of the attribute which holds the data points Attribute *string `json:"attribute,omitempty"` // Calculation mode Mode string `json:"mode"` // calculation interval Raster NullableString `json:"raster,omitempty"` }
Aggregation Defines the aggregation of data points
func NewAggregation ¶
func NewAggregation(assetId int32, subtype DataSubtype, mode string) *Aggregation
NewAggregation instantiates a new Aggregation 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 NewAggregationWithDefaults ¶
func NewAggregationWithDefaults() *Aggregation
NewAggregationWithDefaults instantiates a new Aggregation 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 (*Aggregation) GetAssetId ¶
func (o *Aggregation) GetAssetId() int32
GetAssetId returns the AssetId field value
func (*Aggregation) GetAssetIdOk ¶
func (o *Aggregation) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*Aggregation) GetAttribute ¶
func (o *Aggregation) GetAttribute() string
GetAttribute returns the Attribute field value if set, zero value otherwise.
func (*Aggregation) GetAttributeOk ¶
func (o *Aggregation) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Aggregation) GetId ¶
func (o *Aggregation) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Aggregation) GetIdOk ¶
func (o *Aggregation) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Aggregation) GetMode ¶
func (o *Aggregation) GetMode() string
GetMode returns the Mode field value
func (*Aggregation) GetModeOk ¶
func (o *Aggregation) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.
func (*Aggregation) GetRaster ¶
func (o *Aggregation) GetRaster() string
GetRaster returns the Raster field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Aggregation) GetRasterOk ¶
func (o *Aggregation) GetRasterOk() (*string, bool)
GetRasterOk returns a tuple with the Raster field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Aggregation) GetSubtype ¶
func (o *Aggregation) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*Aggregation) GetSubtypeOk ¶
func (o *Aggregation) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*Aggregation) HasAttribute ¶
func (o *Aggregation) HasAttribute() bool
HasAttribute returns a boolean if a field has been set.
func (*Aggregation) HasId ¶
func (o *Aggregation) HasId() bool
HasId returns a boolean if a field has been set.
func (*Aggregation) HasRaster ¶
func (o *Aggregation) HasRaster() bool
HasRaster returns a boolean if a field has been set.
func (Aggregation) MarshalJSON ¶
func (o Aggregation) MarshalJSON() ([]byte, error)
func (*Aggregation) SetAssetId ¶
func (o *Aggregation) SetAssetId(v int32)
SetAssetId sets field value
func (*Aggregation) SetAttribute ¶
func (o *Aggregation) SetAttribute(v string)
SetAttribute gets a reference to the given string and assigns it to the Attribute field.
func (*Aggregation) SetId ¶
func (o *Aggregation) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*Aggregation) SetIdNil ¶
func (o *Aggregation) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*Aggregation) SetRaster ¶
func (o *Aggregation) SetRaster(v string)
SetRaster gets a reference to the given NullableString and assigns it to the Raster field.
func (*Aggregation) SetRasterNil ¶
func (o *Aggregation) SetRasterNil()
SetRasterNil sets the value for Raster to be an explicit nil
func (*Aggregation) SetSubtype ¶
func (o *Aggregation) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (Aggregation) ToMap ¶ added in v2.4.8
func (o Aggregation) ToMap() (map[string]interface{}, error)
func (*Aggregation) UnmarshalJSON ¶ added in v2.5.9
func (o *Aggregation) UnmarshalJSON(data []byte) (err error)
func (*Aggregation) UnsetId ¶
func (o *Aggregation) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*Aggregation) UnsetRaster ¶
func (o *Aggregation) UnsetRaster()
UnsetRaster ensures that no value is present for Raster, not even an explicit nil
type AggregationsAPIService ¶ added in v2.5.3
type AggregationsAPIService service
AggregationsAPIService AggregationsAPI service
func (*AggregationsAPIService) DeleteAggregationById ¶ added in v2.5.3
func (a *AggregationsAPIService) DeleteAggregationById(ctx context.Context, aggregationId int32) ApiDeleteAggregationByIdRequest
DeleteAggregationById Delete an aggregation
Deletes an aggregation by the given id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param aggregationId The id of the aggregation @return ApiDeleteAggregationByIdRequest
func (*AggregationsAPIService) DeleteAggregationByIdExecute ¶ added in v2.5.3
func (a *AggregationsAPIService) DeleteAggregationByIdExecute(r ApiDeleteAggregationByIdRequest) (*http.Response, error)
Execute executes the request
func (*AggregationsAPIService) GetAggregationById ¶ added in v2.5.3
func (a *AggregationsAPIService) GetAggregationById(ctx context.Context, aggregationId int32) ApiGetAggregationByIdRequest
GetAggregationById Information about an aggregation
Gets information about an aggregation by the given id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param aggregationId The id of the aggregation @return ApiGetAggregationByIdRequest
func (*AggregationsAPIService) GetAggregationByIdExecute ¶ added in v2.5.3
func (a *AggregationsAPIService) GetAggregationByIdExecute(r ApiGetAggregationByIdRequest) (*Aggregation, *http.Response, error)
Execute executes the request
@return Aggregation
func (*AggregationsAPIService) GetAggregations ¶ added in v2.5.3
func (a *AggregationsAPIService) GetAggregations(ctx context.Context) ApiGetAggregationsRequest
GetAggregations Information about aggregations
Gets a list of aggregations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAggregationsRequest
func (*AggregationsAPIService) GetAggregationsExecute ¶ added in v2.5.3
func (a *AggregationsAPIService) GetAggregationsExecute(r ApiGetAggregationsRequest) ([]Aggregation, *http.Response, error)
Execute executes the request
@return []Aggregation
func (*AggregationsAPIService) PostAggregation ¶ added in v2.5.3
func (a *AggregationsAPIService) PostAggregation(ctx context.Context) ApiPostAggregationRequest
PostAggregation Creates an aggregation
Creates a new aggregation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostAggregationRequest
func (*AggregationsAPIService) PostAggregationExecute ¶ added in v2.5.3
func (a *AggregationsAPIService) PostAggregationExecute(r ApiPostAggregationRequest) (*Aggregation, *http.Response, error)
Execute executes the request
@return Aggregation
func (*AggregationsAPIService) PutAggregation ¶ added in v2.5.3
func (a *AggregationsAPIService) PutAggregation(ctx context.Context) ApiPutAggregationRequest
PutAggregation Creates or updates an aggregation
Creates an aggregation or updates if already exists. Uses the unique combination of asset id, subtype, attribute and raster for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutAggregationRequest
func (*AggregationsAPIService) PutAggregationById ¶ added in v2.5.3
func (a *AggregationsAPIService) PutAggregationById(ctx context.Context, aggregationId int32) ApiPutAggregationByIdRequest
PutAggregationById Updates an aggregation
Updates an aggregation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param aggregationId The id of the aggregation @return ApiPutAggregationByIdRequest
func (*AggregationsAPIService) PutAggregationByIdExecute ¶ added in v2.5.3
func (a *AggregationsAPIService) PutAggregationByIdExecute(r ApiPutAggregationByIdRequest) (*Aggregation, *http.Response, error)
Execute executes the request
@return Aggregation
func (*AggregationsAPIService) PutAggregationExecute ¶ added in v2.5.3
func (a *AggregationsAPIService) PutAggregationExecute(r ApiPutAggregationRequest) (*Aggregation, *http.Response, error)
Execute executes the request
@return Aggregation
type Alarm ¶
type Alarm struct { // The id of the corresponding rule RuleId int32 `json:"ruleId"` // ID of the corresponding asset AssetId NullableInt32 `json:"assetId,omitempty"` // Type of asset data Subtype NullableString `json:"subtype,omitempty"` // Name of the attribute of the asset type Attribute NullableString `json:"attribute,omitempty"` // The priority of the alarm. The lower this value the higher the priority. Priority NullableInt32 `json:"priority,omitempty"` // Requires the alarm an acknowledgment RequiresAcknowledge NullableBool `json:"requiresAcknowledge,omitempty"` // The value which triggers the alarm Value NullableFloat64 `json:"value,omitempty"` // Timestamp of the latest data change Timestamp NullableTime `json:"timestamp,omitempty"` // Timestamp of the latest data change GoneTimestamp NullableTime `json:"goneTimestamp,omitempty"` // Timestamp of the latest data change AcknowledgeTimestamp NullableTime `json:"acknowledgeTimestamp,omitempty"` // How often this alarm is triggered Occurrences NullableInt32 `json:"occurrences,omitempty"` // Text of acknowledgement AcknowledgeText NullableString `json:"acknowledgeText,omitempty"` // User who acknowledged the alarm AcknowledgeUserId NullableString `json:"acknowledgeUserId,omitempty"` // Message.yaml texts for alarm Message map[string]interface{} `json:"message"` AssetInfo NullableAsset `json:"assetInfo,omitempty"` RuleInfo NullableAlarmRule `json:"ruleInfo,omitempty"` }
Alarm An alarm
func NewAlarm ¶
NewAlarm instantiates a new Alarm 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 NewAlarmWithDefaults ¶
func NewAlarmWithDefaults() *Alarm
NewAlarmWithDefaults instantiates a new Alarm 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 (*Alarm) GetAcknowledgeText ¶
GetAcknowledgeText returns the AcknowledgeText field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetAcknowledgeTextOk ¶
GetAcknowledgeTextOk returns a tuple with the AcknowledgeText field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetAcknowledgeTimestamp ¶
GetAcknowledgeTimestamp returns the AcknowledgeTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetAcknowledgeTimestampOk ¶
GetAcknowledgeTimestampOk returns a tuple with the AcknowledgeTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetAcknowledgeUserId ¶
GetAcknowledgeUserId returns the AcknowledgeUserId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetAcknowledgeUserIdOk ¶
GetAcknowledgeUserIdOk returns a tuple with the AcknowledgeUserId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetAssetId ¶
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetAssetInfo ¶
GetAssetInfo returns the AssetInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetAssetInfoOk ¶
GetAssetInfoOk returns a tuple with the AssetInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetAttribute ¶
GetAttribute returns the Attribute field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetAttributeOk ¶
GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetGoneTimestamp ¶
GetGoneTimestamp returns the GoneTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetGoneTimestampOk ¶
GetGoneTimestampOk returns a tuple with the GoneTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetMessage ¶
GetMessage returns the Message field value
func (*Alarm) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Alarm) GetOccurrences ¶
GetOccurrences returns the Occurrences field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetOccurrencesOk ¶
GetOccurrencesOk returns a tuple with the Occurrences field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetPriority ¶
GetPriority returns the Priority field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetPriorityOk ¶
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetRequiresAcknowledge ¶
GetRequiresAcknowledge returns the RequiresAcknowledge field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetRequiresAcknowledgeOk ¶
GetRequiresAcknowledgeOk returns a tuple with the RequiresAcknowledge field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetRuleIdOk ¶
GetRuleIdOk returns a tuple with the RuleId field value and a boolean to check if the value has been set.
func (*Alarm) GetRuleInfo ¶
GetRuleInfo returns the RuleInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetRuleInfoOk ¶
GetRuleInfoOk returns a tuple with the RuleInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetSubtype ¶
GetSubtype returns the Subtype field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetSubtypeOk ¶
GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetTimestamp ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) GetValue ¶
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Alarm) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Alarm) HasAcknowledgeText ¶
HasAcknowledgeText returns a boolean if a field has been set.
func (*Alarm) HasAcknowledgeTimestamp ¶
HasAcknowledgeTimestamp returns a boolean if a field has been set.
func (*Alarm) HasAcknowledgeUserId ¶
HasAcknowledgeUserId returns a boolean if a field has been set.
func (*Alarm) HasAssetId ¶ added in v2.7.2
HasAssetId returns a boolean if a field has been set.
func (*Alarm) HasAssetInfo ¶
HasAssetInfo returns a boolean if a field has been set.
func (*Alarm) HasAttribute ¶
HasAttribute returns a boolean if a field has been set.
func (*Alarm) HasGoneTimestamp ¶
HasGoneTimestamp returns a boolean if a field has been set.
func (*Alarm) HasOccurrences ¶ added in v2.7.2
HasOccurrences returns a boolean if a field has been set.
func (*Alarm) HasPriority ¶ added in v2.7.2
HasPriority returns a boolean if a field has been set.
func (*Alarm) HasRequiresAcknowledge ¶
HasRequiresAcknowledge returns a boolean if a field has been set.
func (*Alarm) HasRuleInfo ¶
HasRuleInfo returns a boolean if a field has been set.
func (*Alarm) HasSubtype ¶ added in v2.7.2
HasSubtype returns a boolean if a field has been set.
func (*Alarm) HasTimestamp ¶ added in v2.7.2
HasTimestamp returns a boolean if a field has been set.
func (Alarm) MarshalJSON ¶
func (*Alarm) SetAcknowledgeText ¶
SetAcknowledgeText gets a reference to the given NullableString and assigns it to the AcknowledgeText field.
func (*Alarm) SetAcknowledgeTextNil ¶
func (o *Alarm) SetAcknowledgeTextNil()
SetAcknowledgeTextNil sets the value for AcknowledgeText to be an explicit nil
func (*Alarm) SetAcknowledgeTimestamp ¶
SetAcknowledgeTimestamp gets a reference to the given NullableTime and assigns it to the AcknowledgeTimestamp field.
func (*Alarm) SetAcknowledgeTimestampNil ¶
func (o *Alarm) SetAcknowledgeTimestampNil()
SetAcknowledgeTimestampNil sets the value for AcknowledgeTimestamp to be an explicit nil
func (*Alarm) SetAcknowledgeUserId ¶
SetAcknowledgeUserId gets a reference to the given NullableString and assigns it to the AcknowledgeUserId field.
func (*Alarm) SetAcknowledgeUserIdNil ¶
func (o *Alarm) SetAcknowledgeUserIdNil()
SetAcknowledgeUserIdNil sets the value for AcknowledgeUserId to be an explicit nil
func (*Alarm) SetAssetId ¶
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*Alarm) SetAssetIdNil ¶ added in v2.7.2
func (o *Alarm) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*Alarm) SetAssetInfo ¶
SetAssetInfo gets a reference to the given NullableAsset and assigns it to the AssetInfo field.
func (*Alarm) SetAssetInfoNil ¶
func (o *Alarm) SetAssetInfoNil()
SetAssetInfoNil sets the value for AssetInfo to be an explicit nil
func (*Alarm) SetAttribute ¶
SetAttribute gets a reference to the given NullableString and assigns it to the Attribute field.
func (*Alarm) SetAttributeNil ¶
func (o *Alarm) SetAttributeNil()
SetAttributeNil sets the value for Attribute to be an explicit nil
func (*Alarm) SetGoneTimestamp ¶
SetGoneTimestamp gets a reference to the given NullableTime and assigns it to the GoneTimestamp field.
func (*Alarm) SetGoneTimestampNil ¶
func (o *Alarm) SetGoneTimestampNil()
SetGoneTimestampNil sets the value for GoneTimestamp to be an explicit nil
func (*Alarm) SetMessage ¶
SetMessage sets field value
func (*Alarm) SetOccurrences ¶
SetOccurrences gets a reference to the given NullableInt32 and assigns it to the Occurrences field.
func (*Alarm) SetOccurrencesNil ¶ added in v2.7.2
func (o *Alarm) SetOccurrencesNil()
SetOccurrencesNil sets the value for Occurrences to be an explicit nil
func (*Alarm) SetPriority ¶
SetPriority gets a reference to the given NullableInt32 and assigns it to the Priority field.
func (*Alarm) SetPriorityNil ¶ added in v2.7.2
func (o *Alarm) SetPriorityNil()
SetPriorityNil sets the value for Priority to be an explicit nil
func (*Alarm) SetRequiresAcknowledge ¶
SetRequiresAcknowledge gets a reference to the given NullableBool and assigns it to the RequiresAcknowledge field.
func (*Alarm) SetRequiresAcknowledgeNil ¶ added in v2.7.2
func (o *Alarm) SetRequiresAcknowledgeNil()
SetRequiresAcknowledgeNil sets the value for RequiresAcknowledge to be an explicit nil
func (*Alarm) SetRuleInfo ¶
SetRuleInfo gets a reference to the given NullableAlarmRule and assigns it to the RuleInfo field.
func (*Alarm) SetRuleInfoNil ¶
func (o *Alarm) SetRuleInfoNil()
SetRuleInfoNil sets the value for RuleInfo to be an explicit nil
func (*Alarm) SetSubtype ¶
SetSubtype gets a reference to the given NullableString and assigns it to the Subtype field.
func (*Alarm) SetSubtypeNil ¶ added in v2.7.2
func (o *Alarm) SetSubtypeNil()
SetSubtypeNil sets the value for Subtype to be an explicit nil
func (*Alarm) SetTimestamp ¶
SetTimestamp gets a reference to the given NullableTime and assigns it to the Timestamp field.
func (*Alarm) SetTimestampNil ¶ added in v2.7.2
func (o *Alarm) SetTimestampNil()
SetTimestampNil sets the value for Timestamp to be an explicit nil
func (*Alarm) SetValue ¶
SetValue gets a reference to the given NullableFloat64 and assigns it to the Value field.
func (*Alarm) SetValueNil ¶
func (o *Alarm) SetValueNil()
SetValueNil sets the value for Value to be an explicit nil
func (*Alarm) UnmarshalJSON ¶ added in v2.5.9
func (*Alarm) UnsetAcknowledgeText ¶
func (o *Alarm) UnsetAcknowledgeText()
UnsetAcknowledgeText ensures that no value is present for AcknowledgeText, not even an explicit nil
func (*Alarm) UnsetAcknowledgeTimestamp ¶
func (o *Alarm) UnsetAcknowledgeTimestamp()
UnsetAcknowledgeTimestamp ensures that no value is present for AcknowledgeTimestamp, not even an explicit nil
func (*Alarm) UnsetAcknowledgeUserId ¶
func (o *Alarm) UnsetAcknowledgeUserId()
UnsetAcknowledgeUserId ensures that no value is present for AcknowledgeUserId, not even an explicit nil
func (*Alarm) UnsetAssetId ¶ added in v2.7.2
func (o *Alarm) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*Alarm) UnsetAssetInfo ¶
func (o *Alarm) UnsetAssetInfo()
UnsetAssetInfo ensures that no value is present for AssetInfo, not even an explicit nil
func (*Alarm) UnsetAttribute ¶
func (o *Alarm) UnsetAttribute()
UnsetAttribute ensures that no value is present for Attribute, not even an explicit nil
func (*Alarm) UnsetGoneTimestamp ¶
func (o *Alarm) UnsetGoneTimestamp()
UnsetGoneTimestamp ensures that no value is present for GoneTimestamp, not even an explicit nil
func (*Alarm) UnsetOccurrences ¶ added in v2.7.2
func (o *Alarm) UnsetOccurrences()
UnsetOccurrences ensures that no value is present for Occurrences, not even an explicit nil
func (*Alarm) UnsetPriority ¶ added in v2.7.2
func (o *Alarm) UnsetPriority()
UnsetPriority ensures that no value is present for Priority, not even an explicit nil
func (*Alarm) UnsetRequiresAcknowledge ¶ added in v2.7.2
func (o *Alarm) UnsetRequiresAcknowledge()
UnsetRequiresAcknowledge ensures that no value is present for RequiresAcknowledge, not even an explicit nil
func (*Alarm) UnsetRuleInfo ¶
func (o *Alarm) UnsetRuleInfo()
UnsetRuleInfo ensures that no value is present for RuleInfo, not even an explicit nil
func (*Alarm) UnsetSubtype ¶ added in v2.7.2
func (o *Alarm) UnsetSubtype()
UnsetSubtype ensures that no value is present for Subtype, not even an explicit nil
func (*Alarm) UnsetTimestamp ¶ added in v2.7.2
func (o *Alarm) UnsetTimestamp()
UnsetTimestamp ensures that no value is present for Timestamp, not even an explicit nil
func (*Alarm) UnsetValue ¶
func (o *Alarm) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil
type AlarmListen ¶ added in v2.6.0
type AlarmListen struct { // The id of the corresponding rule RuleId int32 `json:"ruleId"` // ID of the corresponding asset AssetId NullableInt32 `json:"assetId,omitempty"` // Type of asset data Subtype NullableString `json:"subtype,omitempty"` // Name of the attribute of the asset type Attribute NullableString `json:"attribute,omitempty"` // The priority of the alarm. The lower this value the higher the priority. Priority NullableInt32 `json:"priority,omitempty"` // Requires the alarm an acknowledgment RequiresAcknowledge NullableBool `json:"requiresAcknowledge,omitempty"` // The value which triggers the alarm Value NullableFloat64 `json:"value,omitempty"` // Timestamp of the latest data change Timestamp NullableTime `json:"timestamp,omitempty"` // Timestamp of the latest data change GoneTimestamp NullableTime `json:"goneTimestamp,omitempty"` // Timestamp of the latest data change AcknowledgeTimestamp NullableTime `json:"acknowledgeTimestamp,omitempty"` // How often this alarm is triggered Occurrences NullableInt32 `json:"occurrences,omitempty"` // Text of acknowledgement AcknowledgeText NullableString `json:"acknowledgeText,omitempty"` // User who acknowledged the alarm AcknowledgeUserId NullableString `json:"acknowledgeUserId,omitempty"` // Message.yaml texts for alarm Message map[string]interface{} `json:"message"` AssetInfo NullableAsset `json:"assetInfo,omitempty"` RuleInfo NullableAlarmRule `json:"ruleInfo,omitempty"` // The status code expecting when actually perform the operation. Some values are - 200: updated (ok) - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable StatusCode *int32 `json:"statusCode,omitempty"` }
AlarmListen struct for AlarmListen
func NewAlarmListen ¶ added in v2.6.0
func NewAlarmListen(ruleId int32, message map[string]interface{}) *AlarmListen
NewAlarmListen instantiates a new AlarmListen 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 NewAlarmListenWithDefaults ¶ added in v2.6.0
func NewAlarmListenWithDefaults() *AlarmListen
NewAlarmListenWithDefaults instantiates a new AlarmListen 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 (*AlarmListen) GetAcknowledgeText ¶ added in v2.6.0
func (o *AlarmListen) GetAcknowledgeText() string
GetAcknowledgeText returns the AcknowledgeText field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetAcknowledgeTextOk ¶ added in v2.6.0
func (o *AlarmListen) GetAcknowledgeTextOk() (*string, bool)
GetAcknowledgeTextOk returns a tuple with the AcknowledgeText field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetAcknowledgeTimestamp ¶ added in v2.6.0
func (o *AlarmListen) GetAcknowledgeTimestamp() time.Time
GetAcknowledgeTimestamp returns the AcknowledgeTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetAcknowledgeTimestampOk ¶ added in v2.6.0
func (o *AlarmListen) GetAcknowledgeTimestampOk() (*time.Time, bool)
GetAcknowledgeTimestampOk returns a tuple with the AcknowledgeTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetAcknowledgeUserId ¶ added in v2.6.0
func (o *AlarmListen) GetAcknowledgeUserId() string
GetAcknowledgeUserId returns the AcknowledgeUserId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetAcknowledgeUserIdOk ¶ added in v2.6.0
func (o *AlarmListen) GetAcknowledgeUserIdOk() (*string, bool)
GetAcknowledgeUserIdOk returns a tuple with the AcknowledgeUserId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetAssetId ¶ added in v2.6.0
func (o *AlarmListen) GetAssetId() int32
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetAssetIdOk ¶ added in v2.6.0
func (o *AlarmListen) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetAssetInfo ¶ added in v2.6.0
func (o *AlarmListen) GetAssetInfo() Asset
GetAssetInfo returns the AssetInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetAssetInfoOk ¶ added in v2.6.0
func (o *AlarmListen) GetAssetInfoOk() (*Asset, bool)
GetAssetInfoOk returns a tuple with the AssetInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetAttribute ¶ added in v2.6.0
func (o *AlarmListen) GetAttribute() string
GetAttribute returns the Attribute field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetAttributeOk ¶ added in v2.6.0
func (o *AlarmListen) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetGoneTimestamp ¶ added in v2.6.0
func (o *AlarmListen) GetGoneTimestamp() time.Time
GetGoneTimestamp returns the GoneTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetGoneTimestampOk ¶ added in v2.6.0
func (o *AlarmListen) GetGoneTimestampOk() (*time.Time, bool)
GetGoneTimestampOk returns a tuple with the GoneTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetMessage ¶ added in v2.6.0
func (o *AlarmListen) GetMessage() map[string]interface{}
GetMessage returns the Message field value
func (*AlarmListen) GetMessageOk ¶ added in v2.6.0
func (o *AlarmListen) GetMessageOk() (map[string]interface{}, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*AlarmListen) GetOccurrences ¶ added in v2.6.0
func (o *AlarmListen) GetOccurrences() int32
GetOccurrences returns the Occurrences field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetOccurrencesOk ¶ added in v2.6.0
func (o *AlarmListen) GetOccurrencesOk() (*int32, bool)
GetOccurrencesOk returns a tuple with the Occurrences field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetPriority ¶ added in v2.6.0
func (o *AlarmListen) GetPriority() int32
GetPriority returns the Priority field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetPriorityOk ¶ added in v2.6.0
func (o *AlarmListen) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetRequiresAcknowledge ¶ added in v2.6.0
func (o *AlarmListen) GetRequiresAcknowledge() bool
GetRequiresAcknowledge returns the RequiresAcknowledge field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetRequiresAcknowledgeOk ¶ added in v2.6.0
func (o *AlarmListen) GetRequiresAcknowledgeOk() (*bool, bool)
GetRequiresAcknowledgeOk returns a tuple with the RequiresAcknowledge field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetRuleId ¶ added in v2.6.0
func (o *AlarmListen) GetRuleId() int32
GetRuleId returns the RuleId field value
func (*AlarmListen) GetRuleIdOk ¶ added in v2.6.0
func (o *AlarmListen) GetRuleIdOk() (*int32, bool)
GetRuleIdOk returns a tuple with the RuleId field value and a boolean to check if the value has been set.
func (*AlarmListen) GetRuleInfo ¶ added in v2.6.0
func (o *AlarmListen) GetRuleInfo() AlarmRule
GetRuleInfo returns the RuleInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetRuleInfoOk ¶ added in v2.6.0
func (o *AlarmListen) GetRuleInfoOk() (*AlarmRule, bool)
GetRuleInfoOk returns a tuple with the RuleInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetStatusCode ¶ added in v2.6.0
func (o *AlarmListen) GetStatusCode() int32
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*AlarmListen) GetStatusCodeOk ¶ added in v2.6.0
func (o *AlarmListen) GetStatusCodeOk() (*int32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlarmListen) GetSubtype ¶ added in v2.6.0
func (o *AlarmListen) GetSubtype() string
GetSubtype returns the Subtype field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetSubtypeOk ¶ added in v2.6.0
func (o *AlarmListen) GetSubtypeOk() (*string, bool)
GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetTimestamp ¶ added in v2.6.0
func (o *AlarmListen) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetTimestampOk ¶ added in v2.6.0
func (o *AlarmListen) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) GetValue ¶ added in v2.6.0
func (o *AlarmListen) GetValue() float64
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmListen) GetValueOk ¶ added in v2.6.0
func (o *AlarmListen) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmListen) HasAcknowledgeText ¶ added in v2.6.0
func (o *AlarmListen) HasAcknowledgeText() bool
HasAcknowledgeText returns a boolean if a field has been set.
func (*AlarmListen) HasAcknowledgeTimestamp ¶ added in v2.6.0
func (o *AlarmListen) HasAcknowledgeTimestamp() bool
HasAcknowledgeTimestamp returns a boolean if a field has been set.
func (*AlarmListen) HasAcknowledgeUserId ¶ added in v2.6.0
func (o *AlarmListen) HasAcknowledgeUserId() bool
HasAcknowledgeUserId returns a boolean if a field has been set.
func (*AlarmListen) HasAssetId ¶ added in v2.7.2
func (o *AlarmListen) HasAssetId() bool
HasAssetId returns a boolean if a field has been set.
func (*AlarmListen) HasAssetInfo ¶ added in v2.6.0
func (o *AlarmListen) HasAssetInfo() bool
HasAssetInfo returns a boolean if a field has been set.
func (*AlarmListen) HasAttribute ¶ added in v2.6.0
func (o *AlarmListen) HasAttribute() bool
HasAttribute returns a boolean if a field has been set.
func (*AlarmListen) HasGoneTimestamp ¶ added in v2.6.0
func (o *AlarmListen) HasGoneTimestamp() bool
HasGoneTimestamp returns a boolean if a field has been set.
func (*AlarmListen) HasOccurrences ¶ added in v2.7.2
func (o *AlarmListen) HasOccurrences() bool
HasOccurrences returns a boolean if a field has been set.
func (*AlarmListen) HasPriority ¶ added in v2.7.2
func (o *AlarmListen) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (*AlarmListen) HasRequiresAcknowledge ¶ added in v2.6.0
func (o *AlarmListen) HasRequiresAcknowledge() bool
HasRequiresAcknowledge returns a boolean if a field has been set.
func (*AlarmListen) HasRuleInfo ¶ added in v2.6.0
func (o *AlarmListen) HasRuleInfo() bool
HasRuleInfo returns a boolean if a field has been set.
func (*AlarmListen) HasStatusCode ¶ added in v2.6.0
func (o *AlarmListen) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (*AlarmListen) HasSubtype ¶ added in v2.7.2
func (o *AlarmListen) HasSubtype() bool
HasSubtype returns a boolean if a field has been set.
func (*AlarmListen) HasTimestamp ¶ added in v2.7.2
func (o *AlarmListen) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*AlarmListen) HasValue ¶ added in v2.6.0
func (o *AlarmListen) HasValue() bool
HasValue returns a boolean if a field has been set.
func (AlarmListen) MarshalJSON ¶ added in v2.6.0
func (o AlarmListen) MarshalJSON() ([]byte, error)
func (*AlarmListen) SetAcknowledgeText ¶ added in v2.6.0
func (o *AlarmListen) SetAcknowledgeText(v string)
SetAcknowledgeText gets a reference to the given NullableString and assigns it to the AcknowledgeText field.
func (*AlarmListen) SetAcknowledgeTextNil ¶ added in v2.6.0
func (o *AlarmListen) SetAcknowledgeTextNil()
SetAcknowledgeTextNil sets the value for AcknowledgeText to be an explicit nil
func (*AlarmListen) SetAcknowledgeTimestamp ¶ added in v2.6.0
func (o *AlarmListen) SetAcknowledgeTimestamp(v time.Time)
SetAcknowledgeTimestamp gets a reference to the given NullableTime and assigns it to the AcknowledgeTimestamp field.
func (*AlarmListen) SetAcknowledgeTimestampNil ¶ added in v2.6.0
func (o *AlarmListen) SetAcknowledgeTimestampNil()
SetAcknowledgeTimestampNil sets the value for AcknowledgeTimestamp to be an explicit nil
func (*AlarmListen) SetAcknowledgeUserId ¶ added in v2.6.0
func (o *AlarmListen) SetAcknowledgeUserId(v string)
SetAcknowledgeUserId gets a reference to the given NullableString and assigns it to the AcknowledgeUserId field.
func (*AlarmListen) SetAcknowledgeUserIdNil ¶ added in v2.6.0
func (o *AlarmListen) SetAcknowledgeUserIdNil()
SetAcknowledgeUserIdNil sets the value for AcknowledgeUserId to be an explicit nil
func (*AlarmListen) SetAssetId ¶ added in v2.6.0
func (o *AlarmListen) SetAssetId(v int32)
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*AlarmListen) SetAssetIdNil ¶ added in v2.7.2
func (o *AlarmListen) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*AlarmListen) SetAssetInfo ¶ added in v2.6.0
func (o *AlarmListen) SetAssetInfo(v Asset)
SetAssetInfo gets a reference to the given NullableAsset and assigns it to the AssetInfo field.
func (*AlarmListen) SetAssetInfoNil ¶ added in v2.6.0
func (o *AlarmListen) SetAssetInfoNil()
SetAssetInfoNil sets the value for AssetInfo to be an explicit nil
func (*AlarmListen) SetAttribute ¶ added in v2.6.0
func (o *AlarmListen) SetAttribute(v string)
SetAttribute gets a reference to the given NullableString and assigns it to the Attribute field.
func (*AlarmListen) SetAttributeNil ¶ added in v2.6.0
func (o *AlarmListen) SetAttributeNil()
SetAttributeNil sets the value for Attribute to be an explicit nil
func (*AlarmListen) SetGoneTimestamp ¶ added in v2.6.0
func (o *AlarmListen) SetGoneTimestamp(v time.Time)
SetGoneTimestamp gets a reference to the given NullableTime and assigns it to the GoneTimestamp field.
func (*AlarmListen) SetGoneTimestampNil ¶ added in v2.6.0
func (o *AlarmListen) SetGoneTimestampNil()
SetGoneTimestampNil sets the value for GoneTimestamp to be an explicit nil
func (*AlarmListen) SetMessage ¶ added in v2.6.0
func (o *AlarmListen) SetMessage(v map[string]interface{})
SetMessage sets field value
func (*AlarmListen) SetOccurrences ¶ added in v2.6.0
func (o *AlarmListen) SetOccurrences(v int32)
SetOccurrences gets a reference to the given NullableInt32 and assigns it to the Occurrences field.
func (*AlarmListen) SetOccurrencesNil ¶ added in v2.7.2
func (o *AlarmListen) SetOccurrencesNil()
SetOccurrencesNil sets the value for Occurrences to be an explicit nil
func (*AlarmListen) SetPriority ¶ added in v2.6.0
func (o *AlarmListen) SetPriority(v int32)
SetPriority gets a reference to the given NullableInt32 and assigns it to the Priority field.
func (*AlarmListen) SetPriorityNil ¶ added in v2.7.2
func (o *AlarmListen) SetPriorityNil()
SetPriorityNil sets the value for Priority to be an explicit nil
func (*AlarmListen) SetRequiresAcknowledge ¶ added in v2.6.0
func (o *AlarmListen) SetRequiresAcknowledge(v bool)
SetRequiresAcknowledge gets a reference to the given NullableBool and assigns it to the RequiresAcknowledge field.
func (*AlarmListen) SetRequiresAcknowledgeNil ¶ added in v2.7.2
func (o *AlarmListen) SetRequiresAcknowledgeNil()
SetRequiresAcknowledgeNil sets the value for RequiresAcknowledge to be an explicit nil
func (*AlarmListen) SetRuleId ¶ added in v2.6.0
func (o *AlarmListen) SetRuleId(v int32)
SetRuleId sets field value
func (*AlarmListen) SetRuleInfo ¶ added in v2.6.0
func (o *AlarmListen) SetRuleInfo(v AlarmRule)
SetRuleInfo gets a reference to the given NullableAlarmRule and assigns it to the RuleInfo field.
func (*AlarmListen) SetRuleInfoNil ¶ added in v2.6.0
func (o *AlarmListen) SetRuleInfoNil()
SetRuleInfoNil sets the value for RuleInfo to be an explicit nil
func (*AlarmListen) SetStatusCode ¶ added in v2.6.0
func (o *AlarmListen) SetStatusCode(v int32)
SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.
func (*AlarmListen) SetSubtype ¶ added in v2.6.0
func (o *AlarmListen) SetSubtype(v string)
SetSubtype gets a reference to the given NullableString and assigns it to the Subtype field.
func (*AlarmListen) SetSubtypeNil ¶ added in v2.7.2
func (o *AlarmListen) SetSubtypeNil()
SetSubtypeNil sets the value for Subtype to be an explicit nil
func (*AlarmListen) SetTimestamp ¶ added in v2.6.0
func (o *AlarmListen) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given NullableTime and assigns it to the Timestamp field.
func (*AlarmListen) SetTimestampNil ¶ added in v2.7.2
func (o *AlarmListen) SetTimestampNil()
SetTimestampNil sets the value for Timestamp to be an explicit nil
func (*AlarmListen) SetValue ¶ added in v2.6.0
func (o *AlarmListen) SetValue(v float64)
SetValue gets a reference to the given NullableFloat64 and assigns it to the Value field.
func (*AlarmListen) SetValueNil ¶ added in v2.6.0
func (o *AlarmListen) SetValueNil()
SetValueNil sets the value for Value to be an explicit nil
func (AlarmListen) ToMap ¶ added in v2.6.0
func (o AlarmListen) ToMap() (map[string]interface{}, error)
func (*AlarmListen) UnmarshalJSON ¶ added in v2.6.0
func (o *AlarmListen) UnmarshalJSON(data []byte) (err error)
func (*AlarmListen) UnsetAcknowledgeText ¶ added in v2.6.0
func (o *AlarmListen) UnsetAcknowledgeText()
UnsetAcknowledgeText ensures that no value is present for AcknowledgeText, not even an explicit nil
func (*AlarmListen) UnsetAcknowledgeTimestamp ¶ added in v2.6.0
func (o *AlarmListen) UnsetAcknowledgeTimestamp()
UnsetAcknowledgeTimestamp ensures that no value is present for AcknowledgeTimestamp, not even an explicit nil
func (*AlarmListen) UnsetAcknowledgeUserId ¶ added in v2.6.0
func (o *AlarmListen) UnsetAcknowledgeUserId()
UnsetAcknowledgeUserId ensures that no value is present for AcknowledgeUserId, not even an explicit nil
func (*AlarmListen) UnsetAssetId ¶ added in v2.7.2
func (o *AlarmListen) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*AlarmListen) UnsetAssetInfo ¶ added in v2.6.0
func (o *AlarmListen) UnsetAssetInfo()
UnsetAssetInfo ensures that no value is present for AssetInfo, not even an explicit nil
func (*AlarmListen) UnsetAttribute ¶ added in v2.6.0
func (o *AlarmListen) UnsetAttribute()
UnsetAttribute ensures that no value is present for Attribute, not even an explicit nil
func (*AlarmListen) UnsetGoneTimestamp ¶ added in v2.6.0
func (o *AlarmListen) UnsetGoneTimestamp()
UnsetGoneTimestamp ensures that no value is present for GoneTimestamp, not even an explicit nil
func (*AlarmListen) UnsetOccurrences ¶ added in v2.7.2
func (o *AlarmListen) UnsetOccurrences()
UnsetOccurrences ensures that no value is present for Occurrences, not even an explicit nil
func (*AlarmListen) UnsetPriority ¶ added in v2.7.2
func (o *AlarmListen) UnsetPriority()
UnsetPriority ensures that no value is present for Priority, not even an explicit nil
func (*AlarmListen) UnsetRequiresAcknowledge ¶ added in v2.7.2
func (o *AlarmListen) UnsetRequiresAcknowledge()
UnsetRequiresAcknowledge ensures that no value is present for RequiresAcknowledge, not even an explicit nil
func (*AlarmListen) UnsetRuleInfo ¶ added in v2.6.0
func (o *AlarmListen) UnsetRuleInfo()
UnsetRuleInfo ensures that no value is present for RuleInfo, not even an explicit nil
func (*AlarmListen) UnsetSubtype ¶ added in v2.7.2
func (o *AlarmListen) UnsetSubtype()
UnsetSubtype ensures that no value is present for Subtype, not even an explicit nil
func (*AlarmListen) UnsetTimestamp ¶ added in v2.7.2
func (o *AlarmListen) UnsetTimestamp()
UnsetTimestamp ensures that no value is present for Timestamp, not even an explicit nil
func (*AlarmListen) UnsetValue ¶ added in v2.6.0
func (o *AlarmListen) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil
type AlarmPriority ¶
type AlarmPriority int32
AlarmPriority The priority of the alarm. The lower this value the higher the priority.
const ( ALARM_PRIORITY_HEIGHT AlarmPriority = 1 ALARM_PRIORITY_MEDIUM AlarmPriority = 2 ALARM_PRIORITY_LOW AlarmPriority = 3 ALARM_PRIORITY_INFO AlarmPriority = 10 )
List of AlarmPriority
func NewAlarmPriorityFromValue ¶
func NewAlarmPriorityFromValue(v int32) (*AlarmPriority, error)
NewAlarmPriorityFromValue returns a pointer to a valid AlarmPriority for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AlarmPriority) IsValid ¶
func (v AlarmPriority) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AlarmPriority) Ptr ¶
func (v AlarmPriority) Ptr() *AlarmPriority
Ptr returns reference to AlarmPriority value
func (*AlarmPriority) UnmarshalJSON ¶
func (v *AlarmPriority) UnmarshalJSON(src []byte) error
type AlarmRule ¶
type AlarmRule struct { // The id of the rule Id NullableInt32 `json:"id,omitempty"` // ID of the corresponding asset AssetId int32 `json:"assetId"` Subtype DataSubtype `json:"subtype"` // Name of the attribute of the asset type Attribute string `json:"attribute"` // Rule enabled or not Enable *bool `json:"enable,omitempty"` Priority AlarmPriority `json:"priority"` // Requires the alarm an acknowledgment RequiresAcknowledge *bool `json:"requiresAcknowledge,omitempty"` // Triggers alarm if attribute value equals this value Equal NullableFloat64 `json:"equal,omitempty"` // Triggers alarm if attribute value is less than value Low NullableFloat64 `json:"low,omitempty"` // Triggers alarm if attribute value is greater than value High NullableFloat64 `json:"high,omitempty"` // Texts for alarm Message map[string]interface{} `json:"message,omitempty"` // List of associated tags Tags []string `json:"tags,omitempty"` // The subject for the alarm Subject NullableString `json:"subject,omitempty"` // The url describing the alarm Urldoc NullableString `json:"urldoc,omitempty"` // Notification NotifyOn NullableString `json:"notifyOn,omitempty"` // Do not mask DontMask NullableBool `json:"dontMask,omitempty"` // Check type CheckType NullableString `json:"checkType,omitempty"` AssetInfo NullableAsset `json:"assetInfo,omitempty"` }
AlarmRule Rule for an alarm
func NewAlarmRule ¶
func NewAlarmRule(assetId int32, subtype DataSubtype, attribute string, priority AlarmPriority) *AlarmRule
NewAlarmRule instantiates a new AlarmRule 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 NewAlarmRuleWithDefaults ¶
func NewAlarmRuleWithDefaults() *AlarmRule
NewAlarmRuleWithDefaults instantiates a new AlarmRule 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 (*AlarmRule) GetAssetId ¶
GetAssetId returns the AssetId field value
func (*AlarmRule) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*AlarmRule) GetAssetInfo ¶
GetAssetInfo returns the AssetInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetAssetInfoOk ¶
GetAssetInfoOk returns a tuple with the AssetInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetAttribute ¶
GetAttribute returns the Attribute field value
func (*AlarmRule) GetAttributeOk ¶
GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.
func (*AlarmRule) GetCheckType ¶ added in v2.5.7
GetCheckType returns the CheckType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetCheckTypeOk ¶ added in v2.5.7
GetCheckTypeOk returns a tuple with the CheckType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetDontMask ¶
GetDontMask returns the DontMask field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetDontMaskOk ¶
GetDontMaskOk returns a tuple with the DontMask field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetEnable ¶
GetEnable returns the Enable field value if set, zero value otherwise.
func (*AlarmRule) GetEnableOk ¶
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlarmRule) GetEqual ¶
GetEqual returns the Equal field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetEqualOk ¶
GetEqualOk returns a tuple with the Equal field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetHigh ¶
GetHigh returns the High field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetHighOk ¶
GetHighOk returns a tuple with the High field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetId ¶
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetLow ¶
GetLow returns the Low field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetLowOk ¶
GetLowOk returns a tuple with the Low field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetNotifyOn ¶
GetNotifyOn returns the NotifyOn field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetNotifyOnOk ¶
GetNotifyOnOk returns a tuple with the NotifyOn field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetPriority ¶
func (o *AlarmRule) GetPriority() AlarmPriority
GetPriority returns the Priority field value
func (*AlarmRule) GetPriorityOk ¶
func (o *AlarmRule) GetPriorityOk() (*AlarmPriority, bool)
GetPriorityOk returns a tuple with the Priority field value and a boolean to check if the value has been set.
func (*AlarmRule) GetRequiresAcknowledge ¶
GetRequiresAcknowledge returns the RequiresAcknowledge field value if set, zero value otherwise.
func (*AlarmRule) GetRequiresAcknowledgeOk ¶
GetRequiresAcknowledgeOk returns a tuple with the RequiresAcknowledge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlarmRule) GetSubject ¶
GetSubject returns the Subject field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetSubjectOk ¶
GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetSubtype ¶
func (o *AlarmRule) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*AlarmRule) GetSubtypeOk ¶
func (o *AlarmRule) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*AlarmRule) GetTags ¶
GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) GetUrldoc ¶
GetUrldoc returns the Urldoc field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AlarmRule) GetUrldocOk ¶
GetUrldocOk returns a tuple with the Urldoc field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AlarmRule) HasAssetInfo ¶
HasAssetInfo returns a boolean if a field has been set.
func (*AlarmRule) HasCheckType ¶ added in v2.5.7
HasCheckType returns a boolean if a field has been set.
func (*AlarmRule) HasDontMask ¶
HasDontMask returns a boolean if a field has been set.
func (*AlarmRule) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*AlarmRule) HasNotifyOn ¶
HasNotifyOn returns a boolean if a field has been set.
func (*AlarmRule) HasRequiresAcknowledge ¶
HasRequiresAcknowledge returns a boolean if a field has been set.
func (*AlarmRule) HasSubject ¶
HasSubject returns a boolean if a field has been set.
func (AlarmRule) MarshalJSON ¶
func (*AlarmRule) SetAssetInfo ¶
SetAssetInfo gets a reference to the given NullableAsset and assigns it to the AssetInfo field.
func (*AlarmRule) SetAssetInfoNil ¶
func (o *AlarmRule) SetAssetInfoNil()
SetAssetInfoNil sets the value for AssetInfo to be an explicit nil
func (*AlarmRule) SetAttribute ¶
SetAttribute sets field value
func (*AlarmRule) SetCheckType ¶ added in v2.5.7
SetCheckType gets a reference to the given NullableString and assigns it to the CheckType field.
func (*AlarmRule) SetCheckTypeNil ¶ added in v2.5.7
func (o *AlarmRule) SetCheckTypeNil()
SetCheckTypeNil sets the value for CheckType to be an explicit nil
func (*AlarmRule) SetDontMask ¶
SetDontMask gets a reference to the given NullableBool and assigns it to the DontMask field.
func (*AlarmRule) SetDontMaskNil ¶
func (o *AlarmRule) SetDontMaskNil()
SetDontMaskNil sets the value for DontMask to be an explicit nil
func (*AlarmRule) SetEnable ¶
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*AlarmRule) SetEqual ¶
SetEqual gets a reference to the given NullableFloat64 and assigns it to the Equal field.
func (*AlarmRule) SetEqualNil ¶
func (o *AlarmRule) SetEqualNil()
SetEqualNil sets the value for Equal to be an explicit nil
func (*AlarmRule) SetHigh ¶
SetHigh gets a reference to the given NullableFloat64 and assigns it to the High field.
func (*AlarmRule) SetHighNil ¶
func (o *AlarmRule) SetHighNil()
SetHighNil sets the value for High to be an explicit nil
func (*AlarmRule) SetId ¶
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*AlarmRule) SetIdNil ¶
func (o *AlarmRule) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*AlarmRule) SetLow ¶
SetLow gets a reference to the given NullableFloat64 and assigns it to the Low field.
func (*AlarmRule) SetLowNil ¶
func (o *AlarmRule) SetLowNil()
SetLowNil sets the value for Low to be an explicit nil
func (*AlarmRule) SetMessage ¶
SetMessage gets a reference to the given map[string]interface{} and assigns it to the Message field.
func (*AlarmRule) SetNotifyOn ¶
SetNotifyOn gets a reference to the given NullableString and assigns it to the NotifyOn field.
func (*AlarmRule) SetNotifyOnNil ¶
func (o *AlarmRule) SetNotifyOnNil()
SetNotifyOnNil sets the value for NotifyOn to be an explicit nil
func (*AlarmRule) SetPriority ¶
func (o *AlarmRule) SetPriority(v AlarmPriority)
SetPriority sets field value
func (*AlarmRule) SetRequiresAcknowledge ¶
SetRequiresAcknowledge gets a reference to the given bool and assigns it to the RequiresAcknowledge field.
func (*AlarmRule) SetSubject ¶
SetSubject gets a reference to the given NullableString and assigns it to the Subject field.
func (*AlarmRule) SetSubjectNil ¶
func (o *AlarmRule) SetSubjectNil()
SetSubjectNil sets the value for Subject to be an explicit nil
func (*AlarmRule) SetSubtype ¶
func (o *AlarmRule) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (*AlarmRule) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*AlarmRule) SetUrldoc ¶
SetUrldoc gets a reference to the given NullableString and assigns it to the Urldoc field.
func (*AlarmRule) SetUrldocNil ¶
func (o *AlarmRule) SetUrldocNil()
SetUrldocNil sets the value for Urldoc to be an explicit nil
func (*AlarmRule) UnmarshalJSON ¶ added in v2.5.9
func (*AlarmRule) UnsetAssetInfo ¶
func (o *AlarmRule) UnsetAssetInfo()
UnsetAssetInfo ensures that no value is present for AssetInfo, not even an explicit nil
func (*AlarmRule) UnsetCheckType ¶ added in v2.5.7
func (o *AlarmRule) UnsetCheckType()
UnsetCheckType ensures that no value is present for CheckType, not even an explicit nil
func (*AlarmRule) UnsetDontMask ¶
func (o *AlarmRule) UnsetDontMask()
UnsetDontMask ensures that no value is present for DontMask, not even an explicit nil
func (*AlarmRule) UnsetEqual ¶
func (o *AlarmRule) UnsetEqual()
UnsetEqual ensures that no value is present for Equal, not even an explicit nil
func (*AlarmRule) UnsetHigh ¶
func (o *AlarmRule) UnsetHigh()
UnsetHigh ensures that no value is present for High, not even an explicit nil
func (*AlarmRule) UnsetId ¶
func (o *AlarmRule) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*AlarmRule) UnsetLow ¶
func (o *AlarmRule) UnsetLow()
UnsetLow ensures that no value is present for Low, not even an explicit nil
func (*AlarmRule) UnsetNotifyOn ¶
func (o *AlarmRule) UnsetNotifyOn()
UnsetNotifyOn ensures that no value is present for NotifyOn, not even an explicit nil
func (*AlarmRule) UnsetSubject ¶
func (o *AlarmRule) UnsetSubject()
UnsetSubject ensures that no value is present for Subject, not even an explicit nil
func (*AlarmRule) UnsetUrldoc ¶
func (o *AlarmRule) UnsetUrldoc()
UnsetUrldoc ensures that no value is present for Urldoc, not even an explicit nil
type AlarmRulesAPIService ¶ added in v2.5.3
type AlarmRulesAPIService service
AlarmRulesAPIService AlarmRulesAPI service
func (*AlarmRulesAPIService) DeleteAlarmRuleById ¶ added in v2.5.3
func (a *AlarmRulesAPIService) DeleteAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiDeleteAlarmRuleByIdRequest
DeleteAlarmRuleById Delete an alarm rule
Deletes an alarm rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param alarmRuleId The id of the alarm rule @return ApiDeleteAlarmRuleByIdRequest
func (*AlarmRulesAPIService) DeleteAlarmRuleByIdExecute ¶ added in v2.5.3
func (a *AlarmRulesAPIService) DeleteAlarmRuleByIdExecute(r ApiDeleteAlarmRuleByIdRequest) (*http.Response, error)
Execute executes the request
func (*AlarmRulesAPIService) GetAlarmRuleById ¶ added in v2.5.3
func (a *AlarmRulesAPIService) GetAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiGetAlarmRuleByIdRequest
GetAlarmRuleById Information about an alarm rule
Gets information about an alarm rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param alarmRuleId The id of the alarm rule @return ApiGetAlarmRuleByIdRequest
func (*AlarmRulesAPIService) GetAlarmRuleByIdExecute ¶ added in v2.5.3
func (a *AlarmRulesAPIService) GetAlarmRuleByIdExecute(r ApiGetAlarmRuleByIdRequest) (*AlarmRule, *http.Response, error)
Execute executes the request
@return AlarmRule
func (*AlarmRulesAPIService) GetAlarmRules ¶ added in v2.5.3
func (a *AlarmRulesAPIService) GetAlarmRules(ctx context.Context) ApiGetAlarmRulesRequest
GetAlarmRules Information about alarm rules
Gets information about alarm rules.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAlarmRulesRequest
func (*AlarmRulesAPIService) GetAlarmRulesExecute ¶ added in v2.5.3
func (a *AlarmRulesAPIService) GetAlarmRulesExecute(r ApiGetAlarmRulesRequest) ([]AlarmRule, *http.Response, error)
Execute executes the request
@return []AlarmRule
func (*AlarmRulesAPIService) PostAlarmRule ¶ added in v2.5.3
func (a *AlarmRulesAPIService) PostAlarmRule(ctx context.Context) ApiPostAlarmRuleRequest
PostAlarmRule Create an alarm rule
Create a new alarm rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostAlarmRuleRequest
func (*AlarmRulesAPIService) PostAlarmRuleExecute ¶ added in v2.5.3
func (a *AlarmRulesAPIService) PostAlarmRuleExecute(r ApiPostAlarmRuleRequest) (*AlarmRule, *http.Response, error)
Execute executes the request
@return AlarmRule
func (*AlarmRulesAPIService) PutAlarmRule ¶ added in v2.5.3
func (a *AlarmRulesAPIService) PutAlarmRule(ctx context.Context) ApiPutAlarmRuleRequest
PutAlarmRule Create or update an alarm rule
Deprecated - Use POST /alarm-rules to create and PUT /alarm-rules/{alarm-rule-id} to update
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutAlarmRuleRequest
Deprecated
func (*AlarmRulesAPIService) PutAlarmRuleById ¶ added in v2.5.3
func (a *AlarmRulesAPIService) PutAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiPutAlarmRuleByIdRequest
PutAlarmRuleById Update an alarm rule
Update an alarm rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param alarmRuleId The id of the alarm rule @return ApiPutAlarmRuleByIdRequest
func (*AlarmRulesAPIService) PutAlarmRuleByIdExecute ¶ added in v2.5.3
func (a *AlarmRulesAPIService) PutAlarmRuleByIdExecute(r ApiPutAlarmRuleByIdRequest) (*AlarmRule, *http.Response, error)
Execute executes the request
@return AlarmRule
func (*AlarmRulesAPIService) PutAlarmRuleExecute ¶ added in v2.5.3
func (a *AlarmRulesAPIService) PutAlarmRuleExecute(r ApiPutAlarmRuleRequest) (*AlarmRule, *http.Response, error)
Execute executes the request
@return AlarmRule
Deprecated
type AlarmsAPIService ¶ added in v2.5.3
type AlarmsAPIService service
AlarmsAPIService AlarmsAPI service
func (*AlarmsAPIService) DeleteAlarmById ¶ added in v2.7.2
func (a *AlarmsAPIService) DeleteAlarmById(ctx context.Context, alarmRuleId int32) ApiDeleteAlarmByIdRequest
DeleteAlarmById Removes an alarm
Marks an alarm as gone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param alarmRuleId The id of the alarm rule @return ApiDeleteAlarmByIdRequest
func (*AlarmsAPIService) DeleteAlarmByIdExecute ¶ added in v2.7.2
func (a *AlarmsAPIService) DeleteAlarmByIdExecute(r ApiDeleteAlarmByIdRequest) (*http.Response, error)
Execute executes the request
func (*AlarmsAPIService) GetAlarmById ¶ added in v2.5.3
func (a *AlarmsAPIService) GetAlarmById(ctx context.Context, alarmRuleId int32) ApiGetAlarmByIdRequest
GetAlarmById Information about alarm
Gets information about alarm.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param alarmRuleId The id of the alarm rule @return ApiGetAlarmByIdRequest
func (*AlarmsAPIService) GetAlarmByIdExecute ¶ added in v2.5.3
func (a *AlarmsAPIService) GetAlarmByIdExecute(r ApiGetAlarmByIdRequest) (*Alarm, *http.Response, error)
Execute executes the request
@return Alarm
func (*AlarmsAPIService) GetAlarmHistoryById ¶ added in v2.5.3
func (a *AlarmsAPIService) GetAlarmHistoryById(ctx context.Context, alarmRuleId int32) ApiGetAlarmHistoryByIdRequest
GetAlarmHistoryById Information about alarm history
Gets information about alarm over the entire time. This includes current alarm and history.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param alarmRuleId The id of the alarm rule @return ApiGetAlarmHistoryByIdRequest
func (*AlarmsAPIService) GetAlarmHistoryByIdExecute ¶ added in v2.5.3
func (a *AlarmsAPIService) GetAlarmHistoryByIdExecute(r ApiGetAlarmHistoryByIdRequest) ([]Alarm, *http.Response, error)
Execute executes the request
@return []Alarm
func (*AlarmsAPIService) GetAlarms ¶ added in v2.5.3
func (a *AlarmsAPIService) GetAlarms(ctx context.Context) ApiGetAlarmsRequest
GetAlarms Information about alarms
Gets information about alarms
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAlarmsRequest
func (*AlarmsAPIService) GetAlarmsExecute ¶ added in v2.5.3
func (a *AlarmsAPIService) GetAlarmsExecute(r ApiGetAlarmsRequest) ([]Alarm, *http.Response, error)
Execute executes the request
@return []Alarm
func (*AlarmsAPIService) GetAlarmsHistory ¶ added in v2.5.3
func (a *AlarmsAPIService) GetAlarmsHistory(ctx context.Context) ApiGetAlarmsHistoryRequest
GetAlarmsHistory Information about alarms history
Gets information about alarms over the entire time. This includes current alarms and alarms, which are already processed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAlarmsHistoryRequest
func (*AlarmsAPIService) GetAlarmsHistoryExecute ¶ added in v2.5.3
func (a *AlarmsAPIService) GetAlarmsHistoryExecute(r ApiGetAlarmsHistoryRequest) ([]Alarm, *http.Response, error)
Execute executes the request
@return []Alarm
func (*AlarmsAPIService) GetHighestAlarms ¶ added in v2.5.3
func (a *AlarmsAPIService) GetHighestAlarms(ctx context.Context) ApiGetHighestAlarmsRequest
GetHighestAlarms Information about most prioritized alarms
Gets information about an alarms with the highest priority for each asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetHighestAlarmsRequest
func (*AlarmsAPIService) GetHighestAlarmsExecute ¶ added in v2.5.3
func (a *AlarmsAPIService) GetHighestAlarmsExecute(r ApiGetHighestAlarmsRequest) ([]Alarm, *http.Response, error)
Execute executes the request
@return []Alarm
func (*AlarmsAPIService) ListenAlarm ¶ added in v2.5.3
func (a *AlarmsAPIService) ListenAlarm(ctx context.Context) ApiListenAlarmRequest
ListenAlarm WebSocket connection for alarm changes
Open a WebSocket connection to get informed when new alarm data is written or anything changes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListenAlarmRequest
func (*AlarmsAPIService) ListenAlarmExecute ¶ added in v2.5.3
func (a *AlarmsAPIService) ListenAlarmExecute(r ApiListenAlarmRequest) (*AlarmListen, *http.Response, error)
Execute executes the request
@return AlarmListen
func (*AlarmsAPIService) PatchAlarmById ¶ added in v2.5.3
func (a *AlarmsAPIService) PatchAlarmById(ctx context.Context, alarmRuleId int32) ApiPatchAlarmByIdRequest
PatchAlarmById Update alarm
Update properties of alarm for given id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param alarmRuleId The id of the alarm rule @return ApiPatchAlarmByIdRequest
func (*AlarmsAPIService) PatchAlarmByIdExecute ¶ added in v2.5.3
func (a *AlarmsAPIService) PatchAlarmByIdExecute(r ApiPatchAlarmByIdRequest) (*http.Response, error)
Execute executes the request
func (*AlarmsAPIService) PutAlarm ¶ added in v2.7.2
func (a *AlarmsAPIService) PutAlarm(ctx context.Context) ApiPutAlarmRequest
PutAlarm Create or update an alarm
Creates or updates an alarm
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutAlarmRequest
func (*AlarmsAPIService) PutAlarmExecute ¶ added in v2.7.2
func (a *AlarmsAPIService) PutAlarmExecute(r ApiPutAlarmRequest) (*Alarm, *http.Response, error)
Execute executes the request
@return Alarm
type ApiDeleteAggregationByIdRequest ¶
type ApiDeleteAggregationByIdRequest struct { ApiService *AggregationsAPIService // contains filtered or unexported fields }
type ApiDeleteAlarmByIdRequest ¶ added in v2.7.2
type ApiDeleteAlarmByIdRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
type ApiDeleteAlarmRuleByIdRequest ¶ added in v2.4.20
type ApiDeleteAlarmRuleByIdRequest struct { ApiService *AlarmRulesAPIService // contains filtered or unexported fields }
type ApiDeleteAssetByIdRequest ¶ added in v2.5.3
type ApiDeleteAssetByIdRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
type ApiDeleteAssetTypeByNameRequest ¶
type ApiDeleteAssetTypeByNameRequest struct { ApiService *AssetTypesAPIService // contains filtered or unexported fields }
type ApiDeleteBulkAssetsRequest ¶ added in v2.5.3
type ApiDeleteBulkAssetsRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiDeleteBulkAssetsRequest) Execute ¶ added in v2.5.3
func (r ApiDeleteBulkAssetsRequest) Execute() (*http.Response, error)
func (ApiDeleteBulkAssetsRequest) Expansions ¶ added in v2.5.3
func (r ApiDeleteBulkAssetsRequest) Expansions(expansions []string) ApiDeleteBulkAssetsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiDeleteBulkAssetsRequest) IdentifyBy ¶ added in v2.5.3
func (r ApiDeleteBulkAssetsRequest) IdentifyBy(identifyBy string) ApiDeleteBulkAssetsRequest
Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.
func (ApiDeleteBulkAssetsRequest) RequestBody ¶ added in v2.5.3
func (r ApiDeleteBulkAssetsRequest) RequestBody(requestBody []string) ApiDeleteBulkAssetsRequest
type ApiDeleteCalculationRuleByIdRequest ¶ added in v2.6.11
type ApiDeleteCalculationRuleByIdRequest struct { ApiService *CalculationRulesAPIService // contains filtered or unexported fields }
type ApiDeleteWidgetTypeByNameRequest ¶
type ApiDeleteWidgetTypeByNameRequest struct { ApiService *WidgetsTypesAPIService // contains filtered or unexported fields }
type ApiDryRunDeleteBulkAssetsRequest ¶ added in v2.5.3
type ApiDryRunDeleteBulkAssetsRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiDryRunDeleteBulkAssetsRequest) Execute ¶ added in v2.5.3
func (r ApiDryRunDeleteBulkAssetsRequest) Execute() ([]AssetDryRun, *http.Response, error)
func (ApiDryRunDeleteBulkAssetsRequest) Expansions ¶ added in v2.5.3
func (r ApiDryRunDeleteBulkAssetsRequest) Expansions(expansions []string) ApiDryRunDeleteBulkAssetsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiDryRunDeleteBulkAssetsRequest) IdentifyBy ¶ added in v2.5.3
func (r ApiDryRunDeleteBulkAssetsRequest) IdentifyBy(identifyBy string) ApiDryRunDeleteBulkAssetsRequest
Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.
func (ApiDryRunDeleteBulkAssetsRequest) RequestBody ¶ added in v2.5.3
func (r ApiDryRunDeleteBulkAssetsRequest) RequestBody(requestBody []string) ApiDryRunDeleteBulkAssetsRequest
type ApiDryRunPostBulkAssetsRequest ¶ added in v2.5.3
type ApiDryRunPostBulkAssetsRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiDryRunPostBulkAssetsRequest) Asset ¶ added in v2.5.3
func (r ApiDryRunPostBulkAssetsRequest) Asset(asset []Asset) ApiDryRunPostBulkAssetsRequest
func (ApiDryRunPostBulkAssetsRequest) Execute ¶ added in v2.5.3
func (r ApiDryRunPostBulkAssetsRequest) Execute() ([]AssetDryRun, *http.Response, error)
func (ApiDryRunPostBulkAssetsRequest) Expansions ¶ added in v2.5.3
func (r ApiDryRunPostBulkAssetsRequest) Expansions(expansions []string) ApiDryRunPostBulkAssetsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiDryRunPostBulkAssetsRequest) IdentifyBy ¶ added in v2.5.3
func (r ApiDryRunPostBulkAssetsRequest) IdentifyBy(identifyBy string) ApiDryRunPostBulkAssetsRequest
Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.
type ApiDryRunPutBulkAssetsRequest ¶ added in v2.5.3
type ApiDryRunPutBulkAssetsRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiDryRunPutBulkAssetsRequest) Asset ¶ added in v2.5.3
func (r ApiDryRunPutBulkAssetsRequest) Asset(asset []Asset) ApiDryRunPutBulkAssetsRequest
func (ApiDryRunPutBulkAssetsRequest) Execute ¶ added in v2.5.3
func (r ApiDryRunPutBulkAssetsRequest) Execute() ([]AssetDryRun, *http.Response, error)
func (ApiDryRunPutBulkAssetsRequest) Expansions ¶ added in v2.5.3
func (r ApiDryRunPutBulkAssetsRequest) Expansions(expansions []string) ApiDryRunPutBulkAssetsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiDryRunPutBulkAssetsRequest) IdentifyBy ¶ added in v2.5.3
func (r ApiDryRunPutBulkAssetsRequest) IdentifyBy(identifyBy string) ApiDryRunPutBulkAssetsRequest
Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.
type ApiGetAgentByClassAndIdRequest ¶ added in v2.4.2
type ApiGetAgentByClassAndIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
type ApiGetAgentDeviceByIdRequest ¶ added in v2.4.2
type ApiGetAgentDeviceByIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiGetAgentDeviceByIdRequest) Execute ¶ added in v2.4.2
func (r ApiGetAgentDeviceByIdRequest) Execute() ([]AgentDevice, *http.Response, error)
type ApiGetAgentDeviceMappingByIdRequest ¶ added in v2.4.2
type ApiGetAgentDeviceMappingByIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiGetAgentDeviceMappingByIdRequest) Execute ¶ added in v2.4.2
func (r ApiGetAgentDeviceMappingByIdRequest) Execute() ([]AgentDeviceMapping, *http.Response, error)
type ApiGetAgentDeviceMappingsByDeviceIdRequest ¶ added in v2.4.2
type ApiGetAgentDeviceMappingsByDeviceIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiGetAgentDeviceMappingsByDeviceIdRequest) Execute ¶ added in v2.4.2
func (r ApiGetAgentDeviceMappingsByDeviceIdRequest) Execute() ([]AgentDeviceMapping, *http.Response, error)
type ApiGetAgentDevicesByAgentIdRequest ¶ added in v2.4.2
type ApiGetAgentDevicesByAgentIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiGetAgentDevicesByAgentIdRequest) Execute ¶ added in v2.4.2
func (r ApiGetAgentDevicesByAgentIdRequest) Execute() ([]AgentDevice, *http.Response, error)
type ApiGetAgentsByClassRequest ¶
type ApiGetAgentsByClassRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
type ApiGetAgentsRequest ¶
type ApiGetAgentsRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
type ApiGetAggregationByIdRequest ¶
type ApiGetAggregationByIdRequest struct { ApiService *AggregationsAPIService // contains filtered or unexported fields }
func (ApiGetAggregationByIdRequest) Execute ¶
func (r ApiGetAggregationByIdRequest) Execute() (*Aggregation, *http.Response, error)
type ApiGetAggregationsRequest ¶
type ApiGetAggregationsRequest struct { ApiService *AggregationsAPIService // contains filtered or unexported fields }
func (ApiGetAggregationsRequest) Execute ¶
func (r ApiGetAggregationsRequest) Execute() ([]Aggregation, *http.Response, error)
type ApiGetAlarmByIdRequest ¶
type ApiGetAlarmByIdRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
func (ApiGetAlarmByIdRequest) Execute ¶
func (r ApiGetAlarmByIdRequest) Execute() (*Alarm, *http.Response, error)
func (ApiGetAlarmByIdRequest) Expansions ¶
func (r ApiGetAlarmByIdRequest) Expansions(expansions []string) ApiGetAlarmByIdRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetAlarmHistoryByIdRequest ¶
type ApiGetAlarmHistoryByIdRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
func (ApiGetAlarmHistoryByIdRequest) Execute ¶
func (r ApiGetAlarmHistoryByIdRequest) Execute() ([]Alarm, *http.Response, error)
func (ApiGetAlarmHistoryByIdRequest) Expansions ¶
func (r ApiGetAlarmHistoryByIdRequest) Expansions(expansions []string) ApiGetAlarmHistoryByIdRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetAlarmRuleByIdRequest ¶
type ApiGetAlarmRuleByIdRequest struct { ApiService *AlarmRulesAPIService // contains filtered or unexported fields }
func (ApiGetAlarmRuleByIdRequest) Execute ¶
func (r ApiGetAlarmRuleByIdRequest) Execute() (*AlarmRule, *http.Response, error)
func (ApiGetAlarmRuleByIdRequest) Expansions ¶
func (r ApiGetAlarmRuleByIdRequest) Expansions(expansions []string) ApiGetAlarmRuleByIdRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetAlarmRulesRequest ¶
type ApiGetAlarmRulesRequest struct { ApiService *AlarmRulesAPIService // contains filtered or unexported fields }
func (ApiGetAlarmRulesRequest) AlarmRuleIds ¶ added in v2.5.3
func (r ApiGetAlarmRulesRequest) AlarmRuleIds(alarmRuleIds []int32) ApiGetAlarmRulesRequest
List of alarm rule ids for filtering
func (ApiGetAlarmRulesRequest) AssetId ¶ added in v2.7.2
func (r ApiGetAlarmRulesRequest) AssetId(assetId int32) ApiGetAlarmRulesRequest
Filter for a specific asset id
func (ApiGetAlarmRulesRequest) Execute ¶
func (r ApiGetAlarmRulesRequest) Execute() ([]AlarmRule, *http.Response, error)
func (ApiGetAlarmRulesRequest) Expansions ¶
func (r ApiGetAlarmRulesRequest) Expansions(expansions []string) ApiGetAlarmRulesRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetAlarmsHistoryRequest ¶
type ApiGetAlarmsHistoryRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
func (ApiGetAlarmsHistoryRequest) Execute ¶
func (r ApiGetAlarmsHistoryRequest) Execute() ([]Alarm, *http.Response, error)
func (ApiGetAlarmsHistoryRequest) Expansions ¶
func (r ApiGetAlarmsHistoryRequest) Expansions(expansions []string) ApiGetAlarmsHistoryRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiGetAlarmsHistoryRequest) ProjectId ¶
func (r ApiGetAlarmsHistoryRequest) ProjectId(projectId string) ApiGetAlarmsHistoryRequest
Filter for a specific project
type ApiGetAlarmsRequest ¶
type ApiGetAlarmsRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
func (ApiGetAlarmsRequest) Execute ¶
func (r ApiGetAlarmsRequest) Execute() ([]Alarm, *http.Response, error)
func (ApiGetAlarmsRequest) Expansions ¶
func (r ApiGetAlarmsRequest) Expansions(expansions []string) ApiGetAlarmsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiGetAlarmsRequest) ProjectId ¶
func (r ApiGetAlarmsRequest) ProjectId(projectId string) ApiGetAlarmsRequest
Filter for a specific project
type ApiGetAppByNameRequest ¶
type ApiGetAppByNameRequest struct { ApiService *AppsAPIService // contains filtered or unexported fields }
type ApiGetAssetByIdRequest ¶
type ApiGetAssetByIdRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiGetAssetByIdRequest) Execute ¶
func (r ApiGetAssetByIdRequest) Execute() (*Asset, *http.Response, error)
func (ApiGetAssetByIdRequest) Expansions ¶
func (r ApiGetAssetByIdRequest) Expansions(expansions []string) ApiGetAssetByIdRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetAssetTypeByNameRequest ¶
type ApiGetAssetTypeByNameRequest struct { ApiService *AssetTypesAPIService // contains filtered or unexported fields }
func (ApiGetAssetTypeByNameRequest) Execute ¶
func (r ApiGetAssetTypeByNameRequest) Execute() (*AssetType, *http.Response, error)
func (ApiGetAssetTypeByNameRequest) Expansions ¶
func (r ApiGetAssetTypeByNameRequest) Expansions(expansions []string) ApiGetAssetTypeByNameRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetAssetTypesRequest ¶
type ApiGetAssetTypesRequest struct { ApiService *AssetTypesAPIService // contains filtered or unexported fields }
func (ApiGetAssetTypesRequest) Execute ¶
func (r ApiGetAssetTypesRequest) Execute() ([]AssetType, *http.Response, error)
func (ApiGetAssetTypesRequest) Expansions ¶
func (r ApiGetAssetTypesRequest) Expansions(expansions []string) ApiGetAssetTypesRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetAssetsRequest ¶
type ApiGetAssetsRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiGetAssetsRequest) AssetTypeName ¶ added in v2.2.2
func (r ApiGetAssetsRequest) AssetTypeName(assetTypeName string) ApiGetAssetsRequest
Filter the name of the asset type
func (ApiGetAssetsRequest) Execute ¶
func (r ApiGetAssetsRequest) Execute() ([]Asset, *http.Response, error)
func (ApiGetAssetsRequest) Expansions ¶ added in v2.2.2
func (r ApiGetAssetsRequest) Expansions(expansions []string) ApiGetAssetsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiGetAssetsRequest) ProjectId ¶ added in v2.4.4
func (r ApiGetAssetsRequest) ProjectId(projectId string) ApiGetAssetsRequest
Filter for a specific project
type ApiGetAttributeDisplayRequest ¶ added in v2.5.3
type ApiGetAttributeDisplayRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiGetAttributeDisplayRequest) Execute ¶ added in v2.5.3
func (r ApiGetAttributeDisplayRequest) Execute() (*AttributeDisplay, *http.Response, error)
type ApiGetCalculationRuleByIdRequest ¶ added in v2.6.11
type ApiGetCalculationRuleByIdRequest struct { ApiService *CalculationRulesAPIService // contains filtered or unexported fields }
func (ApiGetCalculationRuleByIdRequest) Execute ¶ added in v2.6.11
func (r ApiGetCalculationRuleByIdRequest) Execute() (*CalculationRule, *http.Response, error)
type ApiGetCalculationRulesRequest ¶ added in v2.6.11
type ApiGetCalculationRulesRequest struct { ApiService *CalculationRulesAPIService // contains filtered or unexported fields }
func (ApiGetCalculationRulesRequest) CalculationRuleIds ¶ added in v2.6.11
func (r ApiGetCalculationRulesRequest) CalculationRuleIds(calculationRuleIds []int32) ApiGetCalculationRulesRequest
List of calculation rule ids for filtering
func (ApiGetCalculationRulesRequest) Execute ¶ added in v2.6.11
func (r ApiGetCalculationRulesRequest) Execute() ([]CalculationRule, *http.Response, error)
type ApiGetDashboardByIdRequest ¶
type ApiGetDashboardByIdRequest struct { ApiService *DashboardsAPIService // contains filtered or unexported fields }
func (ApiGetDashboardByIdRequest) Execute ¶
func (r ApiGetDashboardByIdRequest) Execute() (*Dashboard, *http.Response, error)
func (ApiGetDashboardByIdRequest) Expansions ¶
func (r ApiGetDashboardByIdRequest) Expansions(expansions []string) ApiGetDashboardByIdRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetDashboardWidgetsRequest ¶
type ApiGetDashboardWidgetsRequest struct { ApiService *WidgetsAPIService // contains filtered or unexported fields }
func (ApiGetDashboardWidgetsRequest) Execute ¶
func (r ApiGetDashboardWidgetsRequest) Execute() (*Widget, *http.Response, error)
func (ApiGetDashboardWidgetsRequest) Expansions ¶
func (r ApiGetDashboardWidgetsRequest) Expansions(expansions []string) ApiGetDashboardWidgetsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetDashboardsRequest ¶
type ApiGetDashboardsRequest struct { ApiService *DashboardsAPIService // contains filtered or unexported fields }
func (ApiGetDashboardsRequest) Execute ¶
func (r ApiGetDashboardsRequest) Execute() ([]Dashboard, *http.Response, error)
func (ApiGetDashboardsRequest) Expansions ¶
func (r ApiGetDashboardsRequest) Expansions(expansions []string) ApiGetDashboardsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetDataAggregatedRequest ¶
type ApiGetDataAggregatedRequest struct { ApiService *DataAPIService // contains filtered or unexported fields }
func (ApiGetDataAggregatedRequest) AggregationId ¶ added in v2.4.2
func (r ApiGetDataAggregatedRequest) AggregationId(aggregationId int32) ApiGetDataAggregatedRequest
Filter for a specific aggregation id
func (ApiGetDataAggregatedRequest) AggregationRaster ¶ added in v2.6.12
func (r ApiGetDataAggregatedRequest) AggregationRaster(aggregationRaster string) ApiGetDataAggregatedRequest
Aggregation calculation interval
func (ApiGetDataAggregatedRequest) AssetId ¶
func (r ApiGetDataAggregatedRequest) AssetId(assetId int32) ApiGetDataAggregatedRequest
Filter for a specific asset id
func (ApiGetDataAggregatedRequest) AssetTypeName ¶
func (r ApiGetDataAggregatedRequest) AssetTypeName(assetTypeName string) ApiGetDataAggregatedRequest
Filter the name of the asset type
func (ApiGetDataAggregatedRequest) DataSubtype ¶
func (r ApiGetDataAggregatedRequest) DataSubtype(dataSubtype string) ApiGetDataAggregatedRequest
Filter for a specific type of asset data
func (ApiGetDataAggregatedRequest) Execute ¶
func (r ApiGetDataAggregatedRequest) Execute() ([]DataAggregated, *http.Response, error)
func (ApiGetDataAggregatedRequest) FromDate ¶
func (r ApiGetDataAggregatedRequest) FromDate(fromDate string) ApiGetDataAggregatedRequest
Filter by lower date time (RFC3339) limit inclusive
func (ApiGetDataAggregatedRequest) ToDate ¶
func (r ApiGetDataAggregatedRequest) ToDate(toDate string) ApiGetDataAggregatedRequest
Filter by upper date time (RFC3339) limit exclusive
type ApiGetDataRequest ¶
type ApiGetDataRequest struct { ApiService *DataAPIService // contains filtered or unexported fields }
func (ApiGetDataRequest) AssetId ¶
func (r ApiGetDataRequest) AssetId(assetId int32) ApiGetDataRequest
Filter for a specific asset id
func (ApiGetDataRequest) AssetTypeName ¶
func (r ApiGetDataRequest) AssetTypeName(assetTypeName string) ApiGetDataRequest
Filter the name of the asset type
func (ApiGetDataRequest) DataSubtype ¶
func (r ApiGetDataRequest) DataSubtype(dataSubtype string) ApiGetDataRequest
Filter for a specific type of asset data
func (ApiGetDataRequest) Execute ¶
func (r ApiGetDataRequest) Execute() ([]Data, *http.Response, error)
func (ApiGetDataRequest) ParentAssetId ¶ added in v2.5.7
func (r ApiGetDataRequest) ParentAssetId(parentAssetId int32) ApiGetDataRequest
Filter for a specific parent asset id
type ApiGetDataTrendsRequest ¶
type ApiGetDataTrendsRequest struct { ApiService *DataAPIService // contains filtered or unexported fields }
func (ApiGetDataTrendsRequest) AssetId ¶
func (r ApiGetDataTrendsRequest) AssetId(assetId int32) ApiGetDataTrendsRequest
Filter for a specific asset id
func (ApiGetDataTrendsRequest) AssetTypeName ¶
func (r ApiGetDataTrendsRequest) AssetTypeName(assetTypeName string) ApiGetDataTrendsRequest
Filter the name of the asset type
func (ApiGetDataTrendsRequest) DataSubtype ¶
func (r ApiGetDataTrendsRequest) DataSubtype(dataSubtype string) ApiGetDataTrendsRequest
Filter for a specific type of asset data
func (ApiGetDataTrendsRequest) Execute ¶
func (r ApiGetDataTrendsRequest) Execute() ([]Data, *http.Response, error)
func (ApiGetDataTrendsRequest) FromDate ¶
func (r ApiGetDataTrendsRequest) FromDate(fromDate string) ApiGetDataTrendsRequest
Filter by lower date time (RFC3339) limit inclusive
func (ApiGetDataTrendsRequest) ToDate ¶
func (r ApiGetDataTrendsRequest) ToDate(toDate string) ApiGetDataTrendsRequest
Filter by upper date time (RFC3339) limit exclusive
type ApiGetHighestAlarmsRequest ¶
type ApiGetHighestAlarmsRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
func (ApiGetHighestAlarmsRequest) Execute ¶
func (r ApiGetHighestAlarmsRequest) Execute() ([]Alarm, *http.Response, error)
func (ApiGetHighestAlarmsRequest) Expansions ¶
func (r ApiGetHighestAlarmsRequest) Expansions(expansions []string) ApiGetHighestAlarmsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiGetHighestAlarmsRequest) ProjectId ¶
func (r ApiGetHighestAlarmsRequest) ProjectId(projectId string) ApiGetHighestAlarmsRequest
Filter for a specific project
type ApiGetMessageReceiptByIdRequest ¶ added in v2.4.2
type ApiGetMessageReceiptByIdRequest struct { ApiService *CommunicationAPIService // contains filtered or unexported fields }
func (ApiGetMessageReceiptByIdRequest) Execute ¶ added in v2.4.2
func (r ApiGetMessageReceiptByIdRequest) Execute() (*MessageReceipt, *http.Response, error)
type ApiGetNodeByIdentRequest ¶
type ApiGetNodeByIdentRequest struct { ApiService *NodesAPIService // contains filtered or unexported fields }
type ApiGetNodesRequest ¶
type ApiGetNodesRequest struct { ApiService *NodesAPIService // contains filtered or unexported fields }
type ApiGetOpenAPIRequest ¶ added in v2.4.8
type ApiGetOpenAPIRequest struct { ApiService *VersionAPIService // contains filtered or unexported fields }
type ApiGetPatchByNameRequest ¶
type ApiGetPatchByNameRequest struct { ApiService *AppsAPIService // contains filtered or unexported fields }
type ApiGetProjectByIdRequest ¶ added in v2.5.3
type ApiGetProjectByIdRequest struct { ApiService *ProjectsAPIService // contains filtered or unexported fields }
type ApiGetProjectsRequest ¶ added in v2.5.3
type ApiGetProjectsRequest struct { ApiService *ProjectsAPIService // contains filtered or unexported fields }
type ApiGetQrCodeByAssetIdRequest ¶ added in v2.4.20
type ApiGetQrCodeByAssetIdRequest struct { ApiService *QRCodesAPIService // contains filtered or unexported fields }
type ApiGetTagByNameRequest ¶ added in v2.5.3
type ApiGetTagByNameRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
type ApiGetTagsRequest ¶ added in v2.5.3
type ApiGetTagsRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
type ApiGetUserByIdRequest ¶ added in v2.5.3
type ApiGetUserByIdRequest struct { ApiService *UsersAPIService // contains filtered or unexported fields }
type ApiGetUsersRequest ¶ added in v2.5.3
type ApiGetUsersRequest struct { ApiService *UsersAPIService // contains filtered or unexported fields }
type ApiGetVersionRequest ¶ added in v2.4.2
type ApiGetVersionRequest struct { ApiService *VersionAPIService // contains filtered or unexported fields }
type ApiGetWidgetTypeByNameRequest ¶
type ApiGetWidgetTypeByNameRequest struct { ApiService *WidgetsTypesAPIService // contains filtered or unexported fields }
func (ApiGetWidgetTypeByNameRequest) Execute ¶
func (r ApiGetWidgetTypeByNameRequest) Execute() (*WidgetType, *http.Response, error)
func (ApiGetWidgetTypeByNameRequest) Expansions ¶
func (r ApiGetWidgetTypeByNameRequest) Expansions(expansions []string) ApiGetWidgetTypeByNameRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiGetWidgetTypesRequest ¶
type ApiGetWidgetTypesRequest struct { ApiService *WidgetsTypesAPIService // contains filtered or unexported fields }
func (ApiGetWidgetTypesRequest) Execute ¶
func (r ApiGetWidgetTypesRequest) Execute() ([]WidgetType, *http.Response, error)
func (ApiGetWidgetTypesRequest) Expansions ¶
func (r ApiGetWidgetTypesRequest) Expansions(expansions []string) ApiGetWidgetTypesRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiListenAlarmRequest ¶ added in v2.4.8
type ApiListenAlarmRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
func (ApiListenAlarmRequest) Execute ¶ added in v2.4.8
func (r ApiListenAlarmRequest) Execute() (*AlarmListen, *http.Response, error)
type ApiListenAssetRequest ¶ added in v2.6.1
type ApiListenAssetRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiListenAssetRequest) Execute ¶ added in v2.6.1
func (r ApiListenAssetRequest) Execute() (*AssetListen, *http.Response, error)
func (ApiListenAssetRequest) Expansions ¶ added in v2.6.1
func (r ApiListenAssetRequest) Expansions(expansions []string) ApiListenAssetRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiListenDataRequest ¶
type ApiListenDataRequest struct { ApiService *DataAPIService // contains filtered or unexported fields }
func (ApiListenDataRequest) AssetId ¶
func (r ApiListenDataRequest) AssetId(assetId int32) ApiListenDataRequest
Filter for a specific asset id
func (ApiListenDataRequest) DataSubtype ¶
func (r ApiListenDataRequest) DataSubtype(dataSubtype string) ApiListenDataRequest
Filter for a specific type of asset data
func (ApiListenDataRequest) Execute ¶
func (r ApiListenDataRequest) Execute() (*DataListen, *http.Response, error)
type ApiPatchAlarmByIdRequest ¶
type ApiPatchAlarmByIdRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
func (ApiPatchAlarmByIdRequest) AcknowledgeText ¶
func (r ApiPatchAlarmByIdRequest) AcknowledgeText(acknowledgeText string) ApiPatchAlarmByIdRequest
Sets the text for acknowledgement if acknowledged is set to true
func (ApiPatchAlarmByIdRequest) Acknowledged ¶
func (r ApiPatchAlarmByIdRequest) Acknowledged(acknowledged bool) ApiPatchAlarmByIdRequest
Marks the alarm as acknowledged or not acknowledged by setting the acknowledge timestamp to now or to null.
type ApiPatchAppByNameRequest ¶
type ApiPatchAppByNameRequest struct { ApiService *AppsAPIService // contains filtered or unexported fields }
func (ApiPatchAppByNameRequest) Execute ¶
func (r ApiPatchAppByNameRequest) Execute() (*http.Response, error)
func (ApiPatchAppByNameRequest) Registered ¶
func (r ApiPatchAppByNameRequest) Registered(registered bool) ApiPatchAppByNameRequest
Marks that the app is now initialized and installed. Further request to get app information returns { \"registered\": true }
type ApiPatchPatchByNameRequest ¶
type ApiPatchPatchByNameRequest struct { ApiService *AppsAPIService // contains filtered or unexported fields }
func (ApiPatchPatchByNameRequest) Apply ¶
func (r ApiPatchPatchByNameRequest) Apply(apply bool) ApiPatchPatchByNameRequest
Marks that the patch is now applied. Further request to get patch information returns { \"applied\": true }
type ApiPostAgentByClassRequest ¶ added in v2.4.2
type ApiPostAgentByClassRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPostAgentByClassRequest) Agent ¶ added in v2.4.2
func (r ApiPostAgentByClassRequest) Agent(agent Agent) ApiPostAgentByClassRequest
type ApiPostAgentDeviceByAgentIdRequest ¶ added in v2.4.2
type ApiPostAgentDeviceByAgentIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPostAgentDeviceByAgentIdRequest) AgentDevice ¶ added in v2.4.2
func (r ApiPostAgentDeviceByAgentIdRequest) AgentDevice(agentDevice AgentDevice) ApiPostAgentDeviceByAgentIdRequest
func (ApiPostAgentDeviceByAgentIdRequest) Execute ¶ added in v2.4.2
func (r ApiPostAgentDeviceByAgentIdRequest) Execute() (*AgentDevice, *http.Response, error)
type ApiPostAgentDeviceMappingByDeviceIdRequest ¶ added in v2.4.2
type ApiPostAgentDeviceMappingByDeviceIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPostAgentDeviceMappingByDeviceIdRequest) AgentDeviceMapping ¶ added in v2.4.2
func (r ApiPostAgentDeviceMappingByDeviceIdRequest) AgentDeviceMapping(agentDeviceMapping AgentDeviceMapping) ApiPostAgentDeviceMappingByDeviceIdRequest
func (ApiPostAgentDeviceMappingByDeviceIdRequest) Execute ¶ added in v2.4.2
func (r ApiPostAgentDeviceMappingByDeviceIdRequest) Execute() (*AgentDeviceMapping, *http.Response, error)
type ApiPostAggregationRequest ¶ added in v2.4.2
type ApiPostAggregationRequest struct { ApiService *AggregationsAPIService // contains filtered or unexported fields }
func (ApiPostAggregationRequest) Aggregation ¶ added in v2.4.2
func (r ApiPostAggregationRequest) Aggregation(aggregation Aggregation) ApiPostAggregationRequest
func (ApiPostAggregationRequest) Execute ¶ added in v2.4.2
func (r ApiPostAggregationRequest) Execute() (*Aggregation, *http.Response, error)
type ApiPostAlarmRuleRequest ¶ added in v2.4.2
type ApiPostAlarmRuleRequest struct { ApiService *AlarmRulesAPIService // contains filtered or unexported fields }
func (ApiPostAlarmRuleRequest) AlarmRule ¶ added in v2.4.2
func (r ApiPostAlarmRuleRequest) AlarmRule(alarmRule AlarmRule) ApiPostAlarmRuleRequest
type ApiPostAssetRequest ¶ added in v2.4.2
type ApiPostAssetRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiPostAssetRequest) Asset ¶ added in v2.4.2
func (r ApiPostAssetRequest) Asset(asset Asset) ApiPostAssetRequest
func (ApiPostAssetRequest) Execute ¶ added in v2.4.2
func (r ApiPostAssetRequest) Execute() (*Asset, *http.Response, error)
func (ApiPostAssetRequest) Expansions ¶ added in v2.4.20
func (r ApiPostAssetRequest) Expansions(expansions []string) ApiPostAssetRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiPostAssetRequest) IdentifyBy ¶ added in v2.5.3
func (r ApiPostAssetRequest) IdentifyBy(identifyBy string) ApiPostAssetRequest
Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.
type ApiPostAssetTypeAttributeRequest ¶ added in v2.4.2
type ApiPostAssetTypeAttributeRequest struct { ApiService *AssetTypesAPIService // contains filtered or unexported fields }
func (ApiPostAssetTypeAttributeRequest) AssetTypeAttribute ¶ added in v2.4.2
func (r ApiPostAssetTypeAttributeRequest) AssetTypeAttribute(assetTypeAttribute AssetTypeAttribute) ApiPostAssetTypeAttributeRequest
func (ApiPostAssetTypeAttributeRequest) Execute ¶ added in v2.4.2
func (r ApiPostAssetTypeAttributeRequest) Execute() (*AssetTypeAttribute, *http.Response, error)
type ApiPostAssetTypeRequest ¶ added in v2.4.2
type ApiPostAssetTypeRequest struct { ApiService *AssetTypesAPIService // contains filtered or unexported fields }
func (ApiPostAssetTypeRequest) AssetType ¶ added in v2.4.2
func (r ApiPostAssetTypeRequest) AssetType(assetType AssetType) ApiPostAssetTypeRequest
func (ApiPostAssetTypeRequest) Execute ¶ added in v2.4.2
func (r ApiPostAssetTypeRequest) Execute() (*AssetType, *http.Response, error)
func (ApiPostAssetTypeRequest) Expansions ¶ added in v2.4.2
func (r ApiPostAssetTypeRequest) Expansions(expansions []string) ApiPostAssetTypeRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiPostBulkAssetsRequest ¶ added in v2.5.3
type ApiPostBulkAssetsRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiPostBulkAssetsRequest) Asset ¶ added in v2.5.3
func (r ApiPostBulkAssetsRequest) Asset(asset []Asset) ApiPostBulkAssetsRequest
func (ApiPostBulkAssetsRequest) Execute ¶ added in v2.5.3
func (r ApiPostBulkAssetsRequest) Execute() ([]Asset, *http.Response, error)
func (ApiPostBulkAssetsRequest) Expansions ¶ added in v2.5.3
func (r ApiPostBulkAssetsRequest) Expansions(expansions []string) ApiPostBulkAssetsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiPostBulkAssetsRequest) IdentifyBy ¶ added in v2.5.3
func (r ApiPostBulkAssetsRequest) IdentifyBy(identifyBy string) ApiPostBulkAssetsRequest
Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.
type ApiPostDashboardRequest ¶
type ApiPostDashboardRequest struct { ApiService *DashboardsAPIService // contains filtered or unexported fields }
func (ApiPostDashboardRequest) Dashboard ¶
func (r ApiPostDashboardRequest) Dashboard(dashboard Dashboard) ApiPostDashboardRequest
func (ApiPostDashboardRequest) Execute ¶
func (r ApiPostDashboardRequest) Execute() (*Dashboard, *http.Response, error)
func (ApiPostDashboardRequest) Expansions ¶
func (r ApiPostDashboardRequest) Expansions(expansions []string) ApiPostDashboardRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiPostDashboardWidgetRequest ¶
type ApiPostDashboardWidgetRequest struct { ApiService *WidgetsAPIService // contains filtered or unexported fields }
func (ApiPostDashboardWidgetRequest) Execute ¶
func (r ApiPostDashboardWidgetRequest) Execute() (*http.Response, error)
func (ApiPostDashboardWidgetRequest) Expansions ¶
func (r ApiPostDashboardWidgetRequest) Expansions(expansions []string) ApiPostDashboardWidgetRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiPostDashboardWidgetRequest) Widget ¶
func (r ApiPostDashboardWidgetRequest) Widget(widget Widget) ApiPostDashboardWidgetRequest
type ApiPostMailRequest ¶ added in v2.4.2
type ApiPostMailRequest struct { ApiService *CommunicationAPIService // contains filtered or unexported fields }
func (ApiPostMailRequest) Execute ¶ added in v2.4.2
func (r ApiPostMailRequest) Execute() (*MessageReceipt, *http.Response, error)
func (ApiPostMailRequest) Message ¶ added in v2.4.2
func (r ApiPostMailRequest) Message(message Message) ApiPostMailRequest
type ApiPostNodeRequest ¶ added in v2.4.2
type ApiPostNodeRequest struct { ApiService *NodesAPIService // contains filtered or unexported fields }
func (ApiPostNodeRequest) Execute ¶ added in v2.4.2
func (r ApiPostNodeRequest) Execute() (*Node, *http.Response, error)
func (ApiPostNodeRequest) Node ¶ added in v2.4.2
func (r ApiPostNodeRequest) Node(node Node) ApiPostNodeRequest
type ApiPostNotificationRequest ¶ added in v2.5.3
type ApiPostNotificationRequest struct { ApiService *CommunicationAPIService // contains filtered or unexported fields }
func (ApiPostNotificationRequest) Execute ¶ added in v2.5.3
func (r ApiPostNotificationRequest) Execute() (*MessageReceipt, *http.Response, error)
func (ApiPostNotificationRequest) Notification ¶ added in v2.5.3
func (r ApiPostNotificationRequest) Notification(notification Notification) ApiPostNotificationRequest
type ApiPostWidgetTypeRequest ¶ added in v2.4.2
type ApiPostWidgetTypeRequest struct { ApiService *WidgetsTypesAPIService // contains filtered or unexported fields }
func (ApiPostWidgetTypeRequest) Execute ¶ added in v2.4.2
func (r ApiPostWidgetTypeRequest) Execute() (*WidgetType, *http.Response, error)
func (ApiPostWidgetTypeRequest) Expansions ¶ added in v2.4.2
func (r ApiPostWidgetTypeRequest) Expansions(expansions []string) ApiPostWidgetTypeRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiPostWidgetTypeRequest) WidgetType ¶ added in v2.4.2
func (r ApiPostWidgetTypeRequest) WidgetType(widgetType WidgetType) ApiPostWidgetTypeRequest
type ApiPutAgentByClassAndIdRequest ¶ added in v2.4.2
type ApiPutAgentByClassAndIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPutAgentByClassAndIdRequest) Agent ¶ added in v2.4.2
func (r ApiPutAgentByClassAndIdRequest) Agent(agent Agent) ApiPutAgentByClassAndIdRequest
type ApiPutAgentByClassRequest ¶
type ApiPutAgentByClassRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPutAgentByClassRequest) Agent ¶
func (r ApiPutAgentByClassRequest) Agent(agent Agent) ApiPutAgentByClassRequest
type ApiPutAgentDeviceByAgentIdRequest ¶ added in v2.4.2
type ApiPutAgentDeviceByAgentIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPutAgentDeviceByAgentIdRequest) AgentDevice ¶ added in v2.4.2
func (r ApiPutAgentDeviceByAgentIdRequest) AgentDevice(agentDevice AgentDevice) ApiPutAgentDeviceByAgentIdRequest
func (ApiPutAgentDeviceByAgentIdRequest) Execute ¶ added in v2.4.2
func (r ApiPutAgentDeviceByAgentIdRequest) Execute() (*AgentDevice, *http.Response, error)
type ApiPutAgentDeviceByIdRequest ¶
type ApiPutAgentDeviceByIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPutAgentDeviceByIdRequest) AgentDevice ¶
func (r ApiPutAgentDeviceByIdRequest) AgentDevice(agentDevice AgentDevice) ApiPutAgentDeviceByIdRequest
func (ApiPutAgentDeviceByIdRequest) Execute ¶
func (r ApiPutAgentDeviceByIdRequest) Execute() (*AgentDevice, *http.Response, error)
type ApiPutAgentDeviceMappingByDeviceIdRequest ¶ added in v2.4.2
type ApiPutAgentDeviceMappingByDeviceIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPutAgentDeviceMappingByDeviceIdRequest) AgentDeviceMapping ¶ added in v2.4.2
func (r ApiPutAgentDeviceMappingByDeviceIdRequest) AgentDeviceMapping(agentDeviceMapping AgentDeviceMapping) ApiPutAgentDeviceMappingByDeviceIdRequest
func (ApiPutAgentDeviceMappingByDeviceIdRequest) Execute ¶ added in v2.4.2
func (r ApiPutAgentDeviceMappingByDeviceIdRequest) Execute() (*AgentDeviceMapping, *http.Response, error)
type ApiPutAgentDeviceMappingByIdRequest ¶
type ApiPutAgentDeviceMappingByIdRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiPutAgentDeviceMappingByIdRequest) AgentDeviceMapping ¶
func (r ApiPutAgentDeviceMappingByIdRequest) AgentDeviceMapping(agentDeviceMapping AgentDeviceMapping) ApiPutAgentDeviceMappingByIdRequest
func (ApiPutAgentDeviceMappingByIdRequest) Execute ¶
func (r ApiPutAgentDeviceMappingByIdRequest) Execute() (*AgentDeviceMapping, *http.Response, error)
type ApiPutAggregationByIdRequest ¶ added in v2.4.2
type ApiPutAggregationByIdRequest struct { ApiService *AggregationsAPIService // contains filtered or unexported fields }
func (ApiPutAggregationByIdRequest) Aggregation ¶ added in v2.4.2
func (r ApiPutAggregationByIdRequest) Aggregation(aggregation Aggregation) ApiPutAggregationByIdRequest
func (ApiPutAggregationByIdRequest) Execute ¶ added in v2.4.2
func (r ApiPutAggregationByIdRequest) Execute() (*Aggregation, *http.Response, error)
type ApiPutAggregationRequest ¶
type ApiPutAggregationRequest struct { ApiService *AggregationsAPIService // contains filtered or unexported fields }
func (ApiPutAggregationRequest) Aggregation ¶
func (r ApiPutAggregationRequest) Aggregation(aggregation Aggregation) ApiPutAggregationRequest
func (ApiPutAggregationRequest) Execute ¶
func (r ApiPutAggregationRequest) Execute() (*Aggregation, *http.Response, error)
type ApiPutAlarmRequest ¶ added in v2.7.2
type ApiPutAlarmRequest struct { ApiService *AlarmsAPIService // contains filtered or unexported fields }
func (ApiPutAlarmRequest) Alarm ¶ added in v2.7.2
func (r ApiPutAlarmRequest) Alarm(alarm Alarm) ApiPutAlarmRequest
type ApiPutAlarmRuleByIdRequest ¶ added in v2.4.2
type ApiPutAlarmRuleByIdRequest struct { ApiService *AlarmRulesAPIService // contains filtered or unexported fields }
func (ApiPutAlarmRuleByIdRequest) AlarmRule ¶ added in v2.4.2
func (r ApiPutAlarmRuleByIdRequest) AlarmRule(alarmRule AlarmRule) ApiPutAlarmRuleByIdRequest
type ApiPutAlarmRuleRequest ¶
type ApiPutAlarmRuleRequest struct { ApiService *AlarmRulesAPIService // contains filtered or unexported fields }
func (ApiPutAlarmRuleRequest) AlarmRule ¶
func (r ApiPutAlarmRuleRequest) AlarmRule(alarmRule AlarmRule) ApiPutAlarmRuleRequest
type ApiPutAssetByIdRequest ¶ added in v2.4.2
type ApiPutAssetByIdRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiPutAssetByIdRequest) Asset ¶ added in v2.4.2
func (r ApiPutAssetByIdRequest) Asset(asset Asset) ApiPutAssetByIdRequest
func (ApiPutAssetByIdRequest) Execute ¶ added in v2.4.2
func (r ApiPutAssetByIdRequest) Execute() (*Asset, *http.Response, error)
func (ApiPutAssetByIdRequest) Expansions ¶ added in v2.4.20
func (r ApiPutAssetByIdRequest) Expansions(expansions []string) ApiPutAssetByIdRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiPutAssetRequest ¶
type ApiPutAssetRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiPutAssetRequest) Asset ¶
func (r ApiPutAssetRequest) Asset(asset Asset) ApiPutAssetRequest
func (ApiPutAssetRequest) Execute ¶
func (r ApiPutAssetRequest) Execute() (*Asset, *http.Response, error)
func (ApiPutAssetRequest) Expansions ¶ added in v2.4.20
func (r ApiPutAssetRequest) Expansions(expansions []string) ApiPutAssetRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiPutAssetRequest) IdentifyBy ¶ added in v2.5.3
func (r ApiPutAssetRequest) IdentifyBy(identifyBy string) ApiPutAssetRequest
Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.
type ApiPutAssetTypeAttributeRequest ¶
type ApiPutAssetTypeAttributeRequest struct { ApiService *AssetTypesAPIService // contains filtered or unexported fields }
func (ApiPutAssetTypeAttributeRequest) AssetTypeAttribute ¶
func (r ApiPutAssetTypeAttributeRequest) AssetTypeAttribute(assetTypeAttribute AssetTypeAttribute) ApiPutAssetTypeAttributeRequest
func (ApiPutAssetTypeAttributeRequest) Execute ¶
func (r ApiPutAssetTypeAttributeRequest) Execute() (*AssetTypeAttribute, *http.Response, error)
type ApiPutAssetTypeByNameRequest ¶ added in v2.4.2
type ApiPutAssetTypeByNameRequest struct { ApiService *AssetTypesAPIService // contains filtered or unexported fields }
func (ApiPutAssetTypeByNameRequest) AssetType ¶ added in v2.4.2
func (r ApiPutAssetTypeByNameRequest) AssetType(assetType AssetType) ApiPutAssetTypeByNameRequest
func (ApiPutAssetTypeByNameRequest) Execute ¶ added in v2.4.2
func (r ApiPutAssetTypeByNameRequest) Execute() (*AssetType, *http.Response, error)
func (ApiPutAssetTypeByNameRequest) Expansions ¶ added in v2.4.2
func (r ApiPutAssetTypeByNameRequest) Expansions(expansions []string) ApiPutAssetTypeByNameRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiPutAssetTypeRequest ¶
type ApiPutAssetTypeRequest struct { ApiService *AssetTypesAPIService // contains filtered or unexported fields }
func (ApiPutAssetTypeRequest) AssetType ¶
func (r ApiPutAssetTypeRequest) AssetType(assetType AssetType) ApiPutAssetTypeRequest
func (ApiPutAssetTypeRequest) Execute ¶
func (r ApiPutAssetTypeRequest) Execute() (*AssetType, *http.Response, error)
func (ApiPutAssetTypeRequest) Expansions ¶
func (r ApiPutAssetTypeRequest) Expansions(expansions []string) ApiPutAssetTypeRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
type ApiPutAttributeDisplayRequest ¶ added in v2.5.3
type ApiPutAttributeDisplayRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiPutAttributeDisplayRequest) AttributeDisplay ¶ added in v2.5.3
func (r ApiPutAttributeDisplayRequest) AttributeDisplay(attributeDisplay AttributeDisplay) ApiPutAttributeDisplayRequest
func (ApiPutAttributeDisplayRequest) Execute ¶ added in v2.5.3
func (r ApiPutAttributeDisplayRequest) Execute() (*AttributeDisplay, *http.Response, error)
type ApiPutBulkAssetsRequest ¶ added in v2.5.3
type ApiPutBulkAssetsRequest struct { ApiService *AssetsAPIService // contains filtered or unexported fields }
func (ApiPutBulkAssetsRequest) Asset ¶ added in v2.5.3
func (r ApiPutBulkAssetsRequest) Asset(asset []Asset) ApiPutBulkAssetsRequest
func (ApiPutBulkAssetsRequest) Execute ¶ added in v2.5.3
func (r ApiPutBulkAssetsRequest) Execute() ([]Asset, *http.Response, error)
func (ApiPutBulkAssetsRequest) Expansions ¶ added in v2.5.3
func (r ApiPutBulkAssetsRequest) Expansions(expansions []string) ApiPutBulkAssetsRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiPutBulkAssetsRequest) IdentifyBy ¶ added in v2.5.3
func (r ApiPutBulkAssetsRequest) IdentifyBy(identifyBy string) ApiPutBulkAssetsRequest
Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.
type ApiPutBulkDataRequest ¶ added in v2.5.3
type ApiPutBulkDataRequest struct { ApiService *DataAPIService // contains filtered or unexported fields }
func (ApiPutBulkDataRequest) Data ¶ added in v2.5.3
func (r ApiPutBulkDataRequest) Data(data []Data) ApiPutBulkDataRequest
func (ApiPutBulkDataRequest) DirectMode ¶ added in v2.5.9
func (r ApiPutBulkDataRequest) DirectMode(directMode string) ApiPutBulkDataRequest
Executes the operation directly without using other services.
type ApiPutCalculationRuleByIdRequest ¶ added in v2.6.11
type ApiPutCalculationRuleByIdRequest struct { ApiService *CalculationRulesAPIService // contains filtered or unexported fields }
func (ApiPutCalculationRuleByIdRequest) CalculationRule ¶ added in v2.6.11
func (r ApiPutCalculationRuleByIdRequest) CalculationRule(calculationRule CalculationRule) ApiPutCalculationRuleByIdRequest
func (ApiPutCalculationRuleByIdRequest) Execute ¶ added in v2.6.11
func (r ApiPutCalculationRuleByIdRequest) Execute() (*CalculationRule, *http.Response, error)
type ApiPutCalculationRuleRequest ¶ added in v2.6.11
type ApiPutCalculationRuleRequest struct { ApiService *CalculationRulesAPIService // contains filtered or unexported fields }
func (ApiPutCalculationRuleRequest) CalculationRule ¶ added in v2.6.11
func (r ApiPutCalculationRuleRequest) CalculationRule(calculationRule CalculationRule) ApiPutCalculationRuleRequest
func (ApiPutCalculationRuleRequest) Execute ¶ added in v2.6.11
func (r ApiPutCalculationRuleRequest) Execute() (*CalculationRule, *http.Response, error)
type ApiPutDataRequest ¶
type ApiPutDataRequest struct { ApiService *DataAPIService // contains filtered or unexported fields }
func (ApiPutDataRequest) Data ¶
func (r ApiPutDataRequest) Data(data Data) ApiPutDataRequest
func (ApiPutDataRequest) DirectMode ¶ added in v2.5.9
func (r ApiPutDataRequest) DirectMode(directMode string) ApiPutDataRequest
Executes the operation directly without using other services.
type ApiPutNodeByIdentRequest ¶ added in v2.4.2
type ApiPutNodeByIdentRequest struct { ApiService *NodesAPIService // contains filtered or unexported fields }
func (ApiPutNodeByIdentRequest) Execute ¶ added in v2.4.2
func (r ApiPutNodeByIdentRequest) Execute() (*Node, *http.Response, error)
func (ApiPutNodeByIdentRequest) Node ¶ added in v2.4.2
func (r ApiPutNodeByIdentRequest) Node(node Node) ApiPutNodeByIdentRequest
type ApiPutNodeRequest ¶
type ApiPutNodeRequest struct { ApiService *NodesAPIService // contains filtered or unexported fields }
func (ApiPutNodeRequest) Execute ¶
func (r ApiPutNodeRequest) Execute() (*Node, *http.Response, error)
func (ApiPutNodeRequest) Node ¶
func (r ApiPutNodeRequest) Node(node Node) ApiPutNodeRequest
type ApiPutProjectRequest ¶ added in v2.5.3
type ApiPutProjectRequest struct { ApiService *ProjectsAPIService // contains filtered or unexported fields }
func (ApiPutProjectRequest) Execute ¶ added in v2.5.3
func (r ApiPutProjectRequest) Execute() (*Project, *http.Response, error)
func (ApiPutProjectRequest) Project ¶ added in v2.5.3
func (r ApiPutProjectRequest) Project(project Project) ApiPutProjectRequest
type ApiPutTagRequest ¶ added in v2.5.3
type ApiPutTagRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
func (ApiPutTagRequest) Execute ¶ added in v2.5.3
func (r ApiPutTagRequest) Execute() (*Tag, *http.Response, error)
func (ApiPutTagRequest) Tag ¶ added in v2.5.3
func (r ApiPutTagRequest) Tag(tag Tag) ApiPutTagRequest
type ApiPutUserRequest ¶ added in v2.5.3
type ApiPutUserRequest struct { ApiService *UsersAPIService // contains filtered or unexported fields }
func (ApiPutUserRequest) Execute ¶ added in v2.5.3
func (r ApiPutUserRequest) Execute() (*User, *http.Response, error)
func (ApiPutUserRequest) User ¶ added in v2.5.3
func (r ApiPutUserRequest) User(user User) ApiPutUserRequest
type ApiPutWidgetTypeByNameRequest ¶ added in v2.4.2
type ApiPutWidgetTypeByNameRequest struct { ApiService *WidgetsTypesAPIService // contains filtered or unexported fields }
func (ApiPutWidgetTypeByNameRequest) Execute ¶ added in v2.4.2
func (r ApiPutWidgetTypeByNameRequest) Execute() (*WidgetType, *http.Response, error)
func (ApiPutWidgetTypeByNameRequest) Expansions ¶ added in v2.4.2
func (r ApiPutWidgetTypeByNameRequest) Expansions(expansions []string) ApiPutWidgetTypeByNameRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiPutWidgetTypeByNameRequest) WidgetType ¶ added in v2.4.2
func (r ApiPutWidgetTypeByNameRequest) WidgetType(widgetType WidgetType) ApiPutWidgetTypeByNameRequest
type ApiPutWidgetTypeRequest ¶
type ApiPutWidgetTypeRequest struct { ApiService *WidgetsTypesAPIService // contains filtered or unexported fields }
func (ApiPutWidgetTypeRequest) Execute ¶
func (r ApiPutWidgetTypeRequest) Execute() (*WidgetType, *http.Response, error)
func (ApiPutWidgetTypeRequest) Expansions ¶
func (r ApiPutWidgetTypeRequest) Expansions(expansions []string) ApiPutWidgetTypeRequest
List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.
func (ApiPutWidgetTypeRequest) WidgetType ¶
func (r ApiPutWidgetTypeRequest) WidgetType(widgetType WidgetType) ApiPutWidgetTypeRequest
type App ¶
type App struct { // Name of the app Name string `json:"name"` // Is the app active or inactive Active NullableBool `json:"active,omitempty"` // Is the app already registered or not Registered NullableBool `json:"registered,omitempty"` // Delivers the apps metadata to handle it in the app store Metadata map[string]interface{} `json:"metadata,omitempty"` // the apps version Version NullableString `json:"version,omitempty"` }
App An app
func NewApp ¶
NewApp instantiates a new App 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 NewAppWithDefaults ¶
func NewAppWithDefaults() *App
NewAppWithDefaults instantiates a new App 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 (*App) GetActive ¶
GetActive returns the Active field value if set, zero value otherwise (both if not set or set to explicit null).
func (*App) GetActiveOk ¶
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*App) GetMetadata ¶ added in v2.4.8
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*App) GetMetadataOk ¶ added in v2.4.8
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*App) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*App) GetRegistered ¶
GetRegistered returns the Registered field value if set, zero value otherwise (both if not set or set to explicit null).
func (*App) GetRegisteredOk ¶
GetRegisteredOk returns a tuple with the Registered field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*App) GetVersion ¶ added in v2.4.8
GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null).
func (*App) GetVersionOk ¶ added in v2.4.8
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*App) HasMetadata ¶ added in v2.4.8
HasMetadata returns a boolean if a field has been set.
func (*App) HasRegistered ¶
HasRegistered returns a boolean if a field has been set.
func (*App) HasVersion ¶ added in v2.4.8
HasVersion returns a boolean if a field has been set.
func (App) MarshalJSON ¶
func (*App) SetActive ¶
SetActive gets a reference to the given NullableBool and assigns it to the Active field.
func (*App) SetActiveNil ¶
func (o *App) SetActiveNil()
SetActiveNil sets the value for Active to be an explicit nil
func (*App) SetMetadata ¶ added in v2.4.8
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*App) SetRegistered ¶
SetRegistered gets a reference to the given NullableBool and assigns it to the Registered field.
func (*App) SetRegisteredNil ¶
func (o *App) SetRegisteredNil()
SetRegisteredNil sets the value for Registered to be an explicit nil
func (*App) SetVersion ¶ added in v2.4.8
SetVersion gets a reference to the given NullableString and assigns it to the Version field.
func (*App) SetVersionNil ¶ added in v2.4.8
func (o *App) SetVersionNil()
SetVersionNil sets the value for Version to be an explicit nil
func (*App) UnmarshalJSON ¶ added in v2.5.9
func (*App) UnsetActive ¶
func (o *App) UnsetActive()
UnsetActive ensures that no value is present for Active, not even an explicit nil
func (*App) UnsetRegistered ¶
func (o *App) UnsetRegistered()
UnsetRegistered ensures that no value is present for Registered, not even an explicit nil
func (*App) UnsetVersion ¶ added in v2.4.8
func (o *App) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil
type AppsAPIService ¶ added in v2.5.3
type AppsAPIService service
AppsAPIService AppsAPI service
func (*AppsAPIService) GetAppByName ¶ added in v2.5.3
func (a *AppsAPIService) GetAppByName(ctx context.Context, appName string) ApiGetAppByNameRequest
GetAppByName Information about an app
Gets information about an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName The name of the app @return ApiGetAppByNameRequest
func (*AppsAPIService) GetAppByNameExecute ¶ added in v2.5.3
func (a *AppsAPIService) GetAppByNameExecute(r ApiGetAppByNameRequest) (*App, *http.Response, error)
Execute executes the request
@return App
func (*AppsAPIService) GetPatchByName ¶ added in v2.5.3
func (a *AppsAPIService) GetPatchByName(ctx context.Context, appName string, patchName string) ApiGetPatchByNameRequest
GetPatchByName Information about a patch for an app
Gets information about a patch for an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName The name of the app @param patchName The name of the patch @return ApiGetPatchByNameRequest
func (*AppsAPIService) GetPatchByNameExecute ¶ added in v2.5.3
func (a *AppsAPIService) GetPatchByNameExecute(r ApiGetPatchByNameRequest) (*Patch, *http.Response, error)
Execute executes the request
@return Patch
func (*AppsAPIService) PatchAppByName ¶ added in v2.5.3
func (a *AppsAPIService) PatchAppByName(ctx context.Context, appName string) ApiPatchAppByNameRequest
PatchAppByName Update an app
Update properties of an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName The name of the app @return ApiPatchAppByNameRequest
func (*AppsAPIService) PatchAppByNameExecute ¶ added in v2.5.3
func (a *AppsAPIService) PatchAppByNameExecute(r ApiPatchAppByNameRequest) (*http.Response, error)
Execute executes the request
func (*AppsAPIService) PatchPatchByName ¶ added in v2.5.3
func (a *AppsAPIService) PatchPatchByName(ctx context.Context, appName string, patchName string) ApiPatchPatchByNameRequest
PatchPatchByName Updates a patch
Updates properties of a patch for an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName The name of the app @param patchName The name of the patch @return ApiPatchPatchByNameRequest
func (*AppsAPIService) PatchPatchByNameExecute ¶ added in v2.5.3
func (a *AppsAPIService) PatchPatchByNameExecute(r ApiPatchPatchByNameRequest) (*http.Response, error)
Execute executes the request
type Asset ¶
type Asset struct { // A custom identifier for the resource, which can be utilized to identify it for various operations such as updates, deletions, and other related tasks. If this identifier is not provided, the application will generate a new value for it automatically ResourceId NullableString `json:"resourceId,omitempty"` // The internal Id of asset Id NullableInt32 `json:"id,omitempty"` // A list of unique device ids DeviceIds []string `json:"deviceIds,omitempty"` // ID of the project to which the asset belongs ProjectId string `json:"projectId"` // Unique identifier for the asset GlobalAssetIdentifier string `json:"globalAssetIdentifier"` // Alternate text for the asset to display in frontend Name NullableString `json:"name,omitempty"` // Reference to asset type by name AssetType string `json:"assetType"` // Latitude coordinate (GPS) of the asset Latitude NullableFloat64 `json:"latitude,omitempty"` // Longitude coordinate (GPS) of the asset Longitude NullableFloat64 `json:"longitude,omitempty"` // Does the asset function as a tracker and capture its position by itself // Deprecated IsTracker NullableBool `json:"isTracker,omitempty"` // Tracker Asset Id TrackerId NullableInt32 `json:"trackerId,omitempty"` // Textual description for this asset Description NullableString `json:"description,omitempty"` // The id of an asset which groups this asset as a functional child ParentFunctionalAssetId NullableInt32 `json:"parentFunctionalAssetId,omitempty"` // The hierarchical path of functional ids of the asset FunctionalAssetIdPath []int32 `json:"functionalAssetIdPath,omitempty"` // The id of an asset which groups this asset as a locational child ParentLocationalAssetId NullableInt32 `json:"parentLocationalAssetId,omitempty"` // The hierarchical path of locational ids of the asset LocationalAssetIdPath []int32 `json:"locationalAssetIdPath,omitempty"` // The identifier specified by the identifiedBy parameter classifies this asset as a functional child. ParentFunctionalIdentifier NullableString `json:"parentFunctionalIdentifier,omitempty"` // The identifier specified by the identifiedBy parameter classifies this asset as a locational child ParentLocationalIdentifier NullableString `json:"parentLocationalIdentifier,omitempty"` // List of associated tags Tags []string `json:"tags,omitempty"` // List of children for this asset. ChildrenInfo []Asset `json:"childrenInfo,omitempty"` // A list of files attached to the asset Attachments []Attachment `json:"attachments,omitempty"` }
Asset An asset
func NewAsset ¶
NewAsset instantiates a new Asset 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 NewAssetWithDefaults ¶
func NewAssetWithDefaults() *Asset
NewAssetWithDefaults instantiates a new Asset 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 (*Asset) GetAssetType ¶
GetAssetType returns the AssetType field value
func (*Asset) GetAssetTypeOk ¶
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*Asset) GetAttachments ¶ added in v2.4.20
func (o *Asset) GetAttachments() []Attachment
GetAttachments returns the Attachments field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetAttachmentsOk ¶ added in v2.4.20
func (o *Asset) GetAttachmentsOk() ([]Attachment, bool)
GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetChildrenInfo ¶
GetChildrenInfo returns the ChildrenInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetChildrenInfoOk ¶
GetChildrenInfoOk returns a tuple with the ChildrenInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetDeviceIds ¶ added in v2.5.3
GetDeviceIds returns the DeviceIds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetDeviceIdsOk ¶ added in v2.5.3
GetDeviceIdsOk returns a tuple with the DeviceIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetFunctionalAssetIdPath ¶ added in v2.5.4
GetFunctionalAssetIdPath returns the FunctionalAssetIdPath field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetFunctionalAssetIdPathOk ¶ added in v2.5.4
GetFunctionalAssetIdPathOk returns a tuple with the FunctionalAssetIdPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetGlobalAssetIdentifier ¶
GetGlobalAssetIdentifier returns the GlobalAssetIdentifier field value
func (*Asset) GetGlobalAssetIdentifierOk ¶
GetGlobalAssetIdentifierOk returns a tuple with the GlobalAssetIdentifier field value and a boolean to check if the value has been set.
func (*Asset) GetId ¶
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetIsTracker ¶ added in v2.4.20
GetIsTracker returns the IsTracker field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*Asset) GetIsTrackerOk ¶ added in v2.4.20
GetIsTrackerOk returns a tuple with the IsTracker field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*Asset) GetLatitude ¶
GetLatitude returns the Latitude field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetLatitudeOk ¶
GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetLocationalAssetIdPath ¶ added in v2.5.4
GetLocationalAssetIdPath returns the LocationalAssetIdPath field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetLocationalAssetIdPathOk ¶ added in v2.5.4
GetLocationalAssetIdPathOk returns a tuple with the LocationalAssetIdPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetLongitude ¶
GetLongitude returns the Longitude field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetLongitudeOk ¶
GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetName ¶
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetParentFunctionalAssetId ¶
GetParentFunctionalAssetId returns the ParentFunctionalAssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetParentFunctionalAssetIdOk ¶
GetParentFunctionalAssetIdOk returns a tuple with the ParentFunctionalAssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetParentFunctionalIdentifier ¶ added in v2.7.3
GetParentFunctionalIdentifier returns the ParentFunctionalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetParentFunctionalIdentifierOk ¶ added in v2.7.3
GetParentFunctionalIdentifierOk returns a tuple with the ParentFunctionalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetParentLocationalAssetId ¶
GetParentLocationalAssetId returns the ParentLocationalAssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetParentLocationalAssetIdOk ¶
GetParentLocationalAssetIdOk returns a tuple with the ParentLocationalAssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetParentLocationalIdentifier ¶ added in v2.7.3
GetParentLocationalIdentifier returns the ParentLocationalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetParentLocationalIdentifierOk ¶ added in v2.7.3
GetParentLocationalIdentifierOk returns a tuple with the ParentLocationalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetProjectId ¶
GetProjectId returns the ProjectId field value
func (*Asset) GetProjectIdOk ¶
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*Asset) GetResourceId ¶ added in v2.5.3
GetResourceId returns the ResourceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetResourceIdOk ¶ added in v2.5.3
GetResourceIdOk returns a tuple with the ResourceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetTags ¶
GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) GetTrackerId ¶ added in v2.6.11
GetTrackerId returns the TrackerId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Asset) GetTrackerIdOk ¶ added in v2.6.11
GetTrackerIdOk returns a tuple with the TrackerId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Asset) HasAttachments ¶ added in v2.4.20
HasAttachments returns a boolean if a field has been set.
func (*Asset) HasChildrenInfo ¶
HasChildrenInfo returns a boolean if a field has been set.
func (*Asset) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Asset) HasDeviceIds ¶ added in v2.5.3
HasDeviceIds returns a boolean if a field has been set.
func (*Asset) HasFunctionalAssetIdPath ¶ added in v2.5.4
HasFunctionalAssetIdPath returns a boolean if a field has been set.
func (*Asset) HasIsTracker ¶ added in v2.4.20
HasIsTracker returns a boolean if a field has been set.
func (*Asset) HasLatitude ¶
HasLatitude returns a boolean if a field has been set.
func (*Asset) HasLocationalAssetIdPath ¶ added in v2.5.4
HasLocationalAssetIdPath returns a boolean if a field has been set.
func (*Asset) HasLongitude ¶
HasLongitude returns a boolean if a field has been set.
func (*Asset) HasParentFunctionalAssetId ¶
HasParentFunctionalAssetId returns a boolean if a field has been set.
func (*Asset) HasParentFunctionalIdentifier ¶ added in v2.7.3
HasParentFunctionalIdentifier returns a boolean if a field has been set.
func (*Asset) HasParentLocationalAssetId ¶
HasParentLocationalAssetId returns a boolean if a field has been set.
func (*Asset) HasParentLocationalIdentifier ¶ added in v2.7.3
HasParentLocationalIdentifier returns a boolean if a field has been set.
func (*Asset) HasResourceId ¶ added in v2.5.3
HasResourceId returns a boolean if a field has been set.
func (*Asset) HasTrackerId ¶ added in v2.6.11
HasTrackerId returns a boolean if a field has been set.
func (Asset) MarshalJSON ¶
func (*Asset) SetAttachments ¶ added in v2.4.20
func (o *Asset) SetAttachments(v []Attachment)
SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.
func (*Asset) SetChildrenInfo ¶
SetChildrenInfo gets a reference to the given []Asset and assigns it to the ChildrenInfo field.
func (*Asset) SetDescription ¶
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*Asset) SetDescriptionNil ¶
func (o *Asset) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*Asset) SetDeviceIds ¶ added in v2.5.3
SetDeviceIds gets a reference to the given []string and assigns it to the DeviceIds field.
func (*Asset) SetFunctionalAssetIdPath ¶ added in v2.5.4
SetFunctionalAssetIdPath gets a reference to the given []int32 and assigns it to the FunctionalAssetIdPath field.
func (*Asset) SetGlobalAssetIdentifier ¶
SetGlobalAssetIdentifier sets field value
func (*Asset) SetId ¶
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*Asset) SetIdNil ¶
func (o *Asset) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*Asset) SetIsTracker ¶ added in v2.4.20
SetIsTracker gets a reference to the given NullableBool and assigns it to the IsTracker field. Deprecated
func (*Asset) SetIsTrackerNil ¶ added in v2.4.20
func (o *Asset) SetIsTrackerNil()
SetIsTrackerNil sets the value for IsTracker to be an explicit nil
func (*Asset) SetLatitude ¶
SetLatitude gets a reference to the given NullableFloat64 and assigns it to the Latitude field.
func (*Asset) SetLatitudeNil ¶
func (o *Asset) SetLatitudeNil()
SetLatitudeNil sets the value for Latitude to be an explicit nil
func (*Asset) SetLocationalAssetIdPath ¶ added in v2.5.4
SetLocationalAssetIdPath gets a reference to the given []int32 and assigns it to the LocationalAssetIdPath field.
func (*Asset) SetLongitude ¶
SetLongitude gets a reference to the given NullableFloat64 and assigns it to the Longitude field.
func (*Asset) SetLongitudeNil ¶
func (o *Asset) SetLongitudeNil()
SetLongitudeNil sets the value for Longitude to be an explicit nil
func (*Asset) SetName ¶
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*Asset) SetNameNil ¶
func (o *Asset) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*Asset) SetParentFunctionalAssetId ¶
SetParentFunctionalAssetId gets a reference to the given NullableInt32 and assigns it to the ParentFunctionalAssetId field.
func (*Asset) SetParentFunctionalAssetIdNil ¶
func (o *Asset) SetParentFunctionalAssetIdNil()
SetParentFunctionalAssetIdNil sets the value for ParentFunctionalAssetId to be an explicit nil
func (*Asset) SetParentFunctionalIdentifier ¶ added in v2.7.3
SetParentFunctionalIdentifier gets a reference to the given NullableString and assigns it to the ParentFunctionalIdentifier field.
func (*Asset) SetParentFunctionalIdentifierNil ¶ added in v2.7.3
func (o *Asset) SetParentFunctionalIdentifierNil()
SetParentFunctionalIdentifierNil sets the value for ParentFunctionalIdentifier to be an explicit nil
func (*Asset) SetParentLocationalAssetId ¶
SetParentLocationalAssetId gets a reference to the given NullableInt32 and assigns it to the ParentLocationalAssetId field.
func (*Asset) SetParentLocationalAssetIdNil ¶
func (o *Asset) SetParentLocationalAssetIdNil()
SetParentLocationalAssetIdNil sets the value for ParentLocationalAssetId to be an explicit nil
func (*Asset) SetParentLocationalIdentifier ¶ added in v2.7.3
SetParentLocationalIdentifier gets a reference to the given NullableString and assigns it to the ParentLocationalIdentifier field.
func (*Asset) SetParentLocationalIdentifierNil ¶ added in v2.7.3
func (o *Asset) SetParentLocationalIdentifierNil()
SetParentLocationalIdentifierNil sets the value for ParentLocationalIdentifier to be an explicit nil
func (*Asset) SetResourceId ¶ added in v2.5.3
SetResourceId gets a reference to the given NullableString and assigns it to the ResourceId field.
func (*Asset) SetResourceIdNil ¶ added in v2.5.3
func (o *Asset) SetResourceIdNil()
SetResourceIdNil sets the value for ResourceId to be an explicit nil
func (*Asset) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*Asset) SetTrackerId ¶ added in v2.6.11
SetTrackerId gets a reference to the given NullableInt32 and assigns it to the TrackerId field.
func (*Asset) SetTrackerIdNil ¶ added in v2.6.11
func (o *Asset) SetTrackerIdNil()
SetTrackerIdNil sets the value for TrackerId to be an explicit nil
func (*Asset) UnmarshalJSON ¶ added in v2.5.9
func (*Asset) UnsetDescription ¶
func (o *Asset) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*Asset) UnsetId ¶
func (o *Asset) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*Asset) UnsetIsTracker ¶ added in v2.4.20
func (o *Asset) UnsetIsTracker()
UnsetIsTracker ensures that no value is present for IsTracker, not even an explicit nil
func (*Asset) UnsetLatitude ¶
func (o *Asset) UnsetLatitude()
UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil
func (*Asset) UnsetLongitude ¶
func (o *Asset) UnsetLongitude()
UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil
func (*Asset) UnsetName ¶
func (o *Asset) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*Asset) UnsetParentFunctionalAssetId ¶
func (o *Asset) UnsetParentFunctionalAssetId()
UnsetParentFunctionalAssetId ensures that no value is present for ParentFunctionalAssetId, not even an explicit nil
func (*Asset) UnsetParentFunctionalIdentifier ¶ added in v2.7.3
func (o *Asset) UnsetParentFunctionalIdentifier()
UnsetParentFunctionalIdentifier ensures that no value is present for ParentFunctionalIdentifier, not even an explicit nil
func (*Asset) UnsetParentLocationalAssetId ¶
func (o *Asset) UnsetParentLocationalAssetId()
UnsetParentLocationalAssetId ensures that no value is present for ParentLocationalAssetId, not even an explicit nil
func (*Asset) UnsetParentLocationalIdentifier ¶ added in v2.7.3
func (o *Asset) UnsetParentLocationalIdentifier()
UnsetParentLocationalIdentifier ensures that no value is present for ParentLocationalIdentifier, not even an explicit nil
func (*Asset) UnsetResourceId ¶ added in v2.5.3
func (o *Asset) UnsetResourceId()
UnsetResourceId ensures that no value is present for ResourceId, not even an explicit nil
func (*Asset) UnsetTrackerId ¶ added in v2.6.11
func (o *Asset) UnsetTrackerId()
UnsetTrackerId ensures that no value is present for TrackerId, not even an explicit nil
type AssetDryRun ¶ added in v2.5.3
type AssetDryRun struct { // Unique identifier (textual or numeric) of resources Identifier *string `json:"identifier,omitempty"` // The status code expecting when actually perform the operation. Some values are - 200: updated (ok) - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable StatusCode *int32 `json:"statusCode,omitempty"` // The error message expecting when actually perform the operation. ErrorMessage NullableString `json:"errorMessage,omitempty"` IdentifiedBy *AssetIdentifyBy `json:"identifiedBy,omitempty"` Before NullableAsset `json:"before,omitempty"` After NullableAsset `json:"after,omitempty"` }
AssetDryRun struct for AssetDryRun
func NewAssetDryRun ¶ added in v2.5.3
func NewAssetDryRun() *AssetDryRun
NewAssetDryRun instantiates a new AssetDryRun 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 NewAssetDryRunWithDefaults ¶ added in v2.5.3
func NewAssetDryRunWithDefaults() *AssetDryRun
NewAssetDryRunWithDefaults instantiates a new AssetDryRun 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 (*AssetDryRun) GetAfter ¶ added in v2.5.3
func (o *AssetDryRun) GetAfter() Asset
GetAfter returns the After field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetDryRun) GetAfterOk ¶ added in v2.5.3
func (o *AssetDryRun) GetAfterOk() (*Asset, bool)
GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetDryRun) GetBefore ¶ added in v2.5.3
func (o *AssetDryRun) GetBefore() Asset
GetBefore returns the Before field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetDryRun) GetBeforeOk ¶ added in v2.5.3
func (o *AssetDryRun) GetBeforeOk() (*Asset, bool)
GetBeforeOk returns a tuple with the Before field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetDryRun) GetErrorMessage ¶ added in v2.5.3
func (o *AssetDryRun) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetDryRun) GetErrorMessageOk ¶ added in v2.5.3
func (o *AssetDryRun) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetDryRun) GetIdentifiedBy ¶ added in v2.5.3
func (o *AssetDryRun) GetIdentifiedBy() AssetIdentifyBy
GetIdentifiedBy returns the IdentifiedBy field value if set, zero value otherwise.
func (*AssetDryRun) GetIdentifiedByOk ¶ added in v2.5.3
func (o *AssetDryRun) GetIdentifiedByOk() (*AssetIdentifyBy, bool)
GetIdentifiedByOk returns a tuple with the IdentifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetDryRun) GetIdentifier ¶ added in v2.5.3
func (o *AssetDryRun) GetIdentifier() string
GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (*AssetDryRun) GetIdentifierOk ¶ added in v2.5.3
func (o *AssetDryRun) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetDryRun) GetStatusCode ¶ added in v2.5.3
func (o *AssetDryRun) GetStatusCode() int32
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*AssetDryRun) GetStatusCodeOk ¶ added in v2.5.3
func (o *AssetDryRun) GetStatusCodeOk() (*int32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetDryRun) HasAfter ¶ added in v2.5.3
func (o *AssetDryRun) HasAfter() bool
HasAfter returns a boolean if a field has been set.
func (*AssetDryRun) HasBefore ¶ added in v2.5.3
func (o *AssetDryRun) HasBefore() bool
HasBefore returns a boolean if a field has been set.
func (*AssetDryRun) HasErrorMessage ¶ added in v2.5.3
func (o *AssetDryRun) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (*AssetDryRun) HasIdentifiedBy ¶ added in v2.5.3
func (o *AssetDryRun) HasIdentifiedBy() bool
HasIdentifiedBy returns a boolean if a field has been set.
func (*AssetDryRun) HasIdentifier ¶ added in v2.5.3
func (o *AssetDryRun) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (*AssetDryRun) HasStatusCode ¶ added in v2.5.3
func (o *AssetDryRun) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (AssetDryRun) MarshalJSON ¶ added in v2.5.3
func (o AssetDryRun) MarshalJSON() ([]byte, error)
func (*AssetDryRun) SetAfter ¶ added in v2.5.3
func (o *AssetDryRun) SetAfter(v Asset)
SetAfter gets a reference to the given NullableAsset and assigns it to the After field.
func (*AssetDryRun) SetAfterNil ¶ added in v2.5.3
func (o *AssetDryRun) SetAfterNil()
SetAfterNil sets the value for After to be an explicit nil
func (*AssetDryRun) SetBefore ¶ added in v2.5.3
func (o *AssetDryRun) SetBefore(v Asset)
SetBefore gets a reference to the given NullableAsset and assigns it to the Before field.
func (*AssetDryRun) SetBeforeNil ¶ added in v2.5.3
func (o *AssetDryRun) SetBeforeNil()
SetBeforeNil sets the value for Before to be an explicit nil
func (*AssetDryRun) SetErrorMessage ¶ added in v2.5.3
func (o *AssetDryRun) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given NullableString and assigns it to the ErrorMessage field.
func (*AssetDryRun) SetErrorMessageNil ¶ added in v2.5.3
func (o *AssetDryRun) SetErrorMessageNil()
SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil
func (*AssetDryRun) SetIdentifiedBy ¶ added in v2.5.3
func (o *AssetDryRun) SetIdentifiedBy(v AssetIdentifyBy)
SetIdentifiedBy gets a reference to the given AssetIdentifyBy and assigns it to the IdentifiedBy field.
func (*AssetDryRun) SetIdentifier ¶ added in v2.5.3
func (o *AssetDryRun) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (*AssetDryRun) SetStatusCode ¶ added in v2.5.3
func (o *AssetDryRun) SetStatusCode(v int32)
SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.
func (AssetDryRun) ToMap ¶ added in v2.5.3
func (o AssetDryRun) ToMap() (map[string]interface{}, error)
func (*AssetDryRun) UnsetAfter ¶ added in v2.5.3
func (o *AssetDryRun) UnsetAfter()
UnsetAfter ensures that no value is present for After, not even an explicit nil
func (*AssetDryRun) UnsetBefore ¶ added in v2.5.3
func (o *AssetDryRun) UnsetBefore()
UnsetBefore ensures that no value is present for Before, not even an explicit nil
func (*AssetDryRun) UnsetErrorMessage ¶ added in v2.5.3
func (o *AssetDryRun) UnsetErrorMessage()
UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil
type AssetIdentifyBy ¶ added in v2.5.3
type AssetIdentifyBy string
AssetIdentifyBy the model 'AssetIdentifyBy'
const ( ASSET_IDENTIFY_BY_RESOURCE_ID AssetIdentifyBy = "resourceId" ASSET_IDENTIFY_BY_DEVICE_ID AssetIdentifyBy = "deviceId" ASSET_IDENTIFY_BY_ID AssetIdentifyBy = "id" ASSET_IDENTIFY_BY_GAI_PROJ_ID AssetIdentifyBy = "gai-projId" )
List of AssetIdentifyBy
func NewAssetIdentifyByFromValue ¶ added in v2.5.3
func NewAssetIdentifyByFromValue(v string) (*AssetIdentifyBy, error)
NewAssetIdentifyByFromValue returns a pointer to a valid AssetIdentifyBy for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AssetIdentifyBy) IsValid ¶ added in v2.5.3
func (v AssetIdentifyBy) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AssetIdentifyBy) Ptr ¶ added in v2.5.3
func (v AssetIdentifyBy) Ptr() *AssetIdentifyBy
Ptr returns reference to AssetIdentifyBy value
func (*AssetIdentifyBy) UnmarshalJSON ¶ added in v2.5.3
func (v *AssetIdentifyBy) UnmarshalJSON(src []byte) error
type AssetListen ¶ added in v2.6.0
type AssetListen struct { // A custom identifier for the resource, which can be utilized to identify it for various operations such as updates, deletions, and other related tasks. If this identifier is not provided, the application will generate a new value for it automatically ResourceId NullableString `json:"resourceId,omitempty"` // The internal Id of asset Id NullableInt32 `json:"id,omitempty"` // A list of unique device ids DeviceIds []string `json:"deviceIds,omitempty"` // ID of the project to which the asset belongs ProjectId string `json:"projectId"` // Unique identifier for the asset GlobalAssetIdentifier string `json:"globalAssetIdentifier"` // Alternate text for the asset to display in frontend Name NullableString `json:"name,omitempty"` // Reference to asset type by name AssetType string `json:"assetType"` // Latitude coordinate (GPS) of the asset Latitude NullableFloat64 `json:"latitude,omitempty"` // Longitude coordinate (GPS) of the asset Longitude NullableFloat64 `json:"longitude,omitempty"` // Does the asset function as a tracker and capture its position by itself // Deprecated IsTracker NullableBool `json:"isTracker,omitempty"` // Tracker Asset Id TrackerId NullableInt32 `json:"trackerId,omitempty"` // Textual description for this asset Description NullableString `json:"description,omitempty"` // The id of an asset which groups this asset as a functional child ParentFunctionalAssetId NullableInt32 `json:"parentFunctionalAssetId,omitempty"` // The hierarchical path of functional ids of the asset FunctionalAssetIdPath []int32 `json:"functionalAssetIdPath,omitempty"` // The id of an asset which groups this asset as a locational child ParentLocationalAssetId NullableInt32 `json:"parentLocationalAssetId,omitempty"` // The hierarchical path of locational ids of the asset LocationalAssetIdPath []int32 `json:"locationalAssetIdPath,omitempty"` // The identifier specified by the identifiedBy parameter classifies this asset as a functional child. ParentFunctionalIdentifier NullableString `json:"parentFunctionalIdentifier,omitempty"` // The identifier specified by the identifiedBy parameter classifies this asset as a locational child ParentLocationalIdentifier NullableString `json:"parentLocationalIdentifier,omitempty"` // List of associated tags Tags []string `json:"tags,omitempty"` // List of children for this asset. ChildrenInfo []Asset `json:"childrenInfo,omitempty"` // A list of files attached to the asset Attachments []Attachment `json:"attachments,omitempty"` // The status code expecting when actually perform the operation. Some values are - 200: updated (ok) - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable StatusCode *int32 `json:"statusCode,omitempty"` }
AssetListen struct for AssetListen
func NewAssetListen ¶ added in v2.6.0
func NewAssetListen(projectId string, globalAssetIdentifier string, assetType string) *AssetListen
NewAssetListen instantiates a new AssetListen 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 NewAssetListenWithDefaults ¶ added in v2.6.0
func NewAssetListenWithDefaults() *AssetListen
NewAssetListenWithDefaults instantiates a new AssetListen 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 (*AssetListen) GetAssetType ¶ added in v2.6.0
func (o *AssetListen) GetAssetType() string
GetAssetType returns the AssetType field value
func (*AssetListen) GetAssetTypeOk ¶ added in v2.6.0
func (o *AssetListen) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*AssetListen) GetAttachments ¶ added in v2.6.0
func (o *AssetListen) GetAttachments() []Attachment
GetAttachments returns the Attachments field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetAttachmentsOk ¶ added in v2.6.0
func (o *AssetListen) GetAttachmentsOk() ([]Attachment, bool)
GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetChildrenInfo ¶ added in v2.6.0
func (o *AssetListen) GetChildrenInfo() []Asset
GetChildrenInfo returns the ChildrenInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetChildrenInfoOk ¶ added in v2.6.0
func (o *AssetListen) GetChildrenInfoOk() ([]Asset, bool)
GetChildrenInfoOk returns a tuple with the ChildrenInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetDescription ¶ added in v2.6.0
func (o *AssetListen) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetDescriptionOk ¶ added in v2.6.0
func (o *AssetListen) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetDeviceIds ¶ added in v2.6.0
func (o *AssetListen) GetDeviceIds() []string
GetDeviceIds returns the DeviceIds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetDeviceIdsOk ¶ added in v2.6.0
func (o *AssetListen) GetDeviceIdsOk() ([]string, bool)
GetDeviceIdsOk returns a tuple with the DeviceIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetFunctionalAssetIdPath ¶ added in v2.6.0
func (o *AssetListen) GetFunctionalAssetIdPath() []int32
GetFunctionalAssetIdPath returns the FunctionalAssetIdPath field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetFunctionalAssetIdPathOk ¶ added in v2.6.0
func (o *AssetListen) GetFunctionalAssetIdPathOk() ([]int32, bool)
GetFunctionalAssetIdPathOk returns a tuple with the FunctionalAssetIdPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetGlobalAssetIdentifier ¶ added in v2.6.0
func (o *AssetListen) GetGlobalAssetIdentifier() string
GetGlobalAssetIdentifier returns the GlobalAssetIdentifier field value
func (*AssetListen) GetGlobalAssetIdentifierOk ¶ added in v2.6.0
func (o *AssetListen) GetGlobalAssetIdentifierOk() (*string, bool)
GetGlobalAssetIdentifierOk returns a tuple with the GlobalAssetIdentifier field value and a boolean to check if the value has been set.
func (*AssetListen) GetId ¶ added in v2.6.0
func (o *AssetListen) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetIdOk ¶ added in v2.6.0
func (o *AssetListen) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetIsTracker ¶ added in v2.6.0
func (o *AssetListen) GetIsTracker() bool
GetIsTracker returns the IsTracker field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*AssetListen) GetIsTrackerOk ¶ added in v2.6.0
func (o *AssetListen) GetIsTrackerOk() (*bool, bool)
GetIsTrackerOk returns a tuple with the IsTracker field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*AssetListen) GetLatitude ¶ added in v2.6.0
func (o *AssetListen) GetLatitude() float64
GetLatitude returns the Latitude field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetLatitudeOk ¶ added in v2.6.0
func (o *AssetListen) GetLatitudeOk() (*float64, bool)
GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetLocationalAssetIdPath ¶ added in v2.6.0
func (o *AssetListen) GetLocationalAssetIdPath() []int32
GetLocationalAssetIdPath returns the LocationalAssetIdPath field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetLocationalAssetIdPathOk ¶ added in v2.6.0
func (o *AssetListen) GetLocationalAssetIdPathOk() ([]int32, bool)
GetLocationalAssetIdPathOk returns a tuple with the LocationalAssetIdPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetLongitude ¶ added in v2.6.0
func (o *AssetListen) GetLongitude() float64
GetLongitude returns the Longitude field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetLongitudeOk ¶ added in v2.6.0
func (o *AssetListen) GetLongitudeOk() (*float64, bool)
GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetName ¶ added in v2.6.0
func (o *AssetListen) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetNameOk ¶ added in v2.6.0
func (o *AssetListen) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetParentFunctionalAssetId ¶ added in v2.6.0
func (o *AssetListen) GetParentFunctionalAssetId() int32
GetParentFunctionalAssetId returns the ParentFunctionalAssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetParentFunctionalAssetIdOk ¶ added in v2.6.0
func (o *AssetListen) GetParentFunctionalAssetIdOk() (*int32, bool)
GetParentFunctionalAssetIdOk returns a tuple with the ParentFunctionalAssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetParentFunctionalIdentifier ¶ added in v2.7.3
func (o *AssetListen) GetParentFunctionalIdentifier() string
GetParentFunctionalIdentifier returns the ParentFunctionalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetParentFunctionalIdentifierOk ¶ added in v2.7.3
func (o *AssetListen) GetParentFunctionalIdentifierOk() (*string, bool)
GetParentFunctionalIdentifierOk returns a tuple with the ParentFunctionalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetParentLocationalAssetId ¶ added in v2.6.0
func (o *AssetListen) GetParentLocationalAssetId() int32
GetParentLocationalAssetId returns the ParentLocationalAssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetParentLocationalAssetIdOk ¶ added in v2.6.0
func (o *AssetListen) GetParentLocationalAssetIdOk() (*int32, bool)
GetParentLocationalAssetIdOk returns a tuple with the ParentLocationalAssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetParentLocationalIdentifier ¶ added in v2.7.3
func (o *AssetListen) GetParentLocationalIdentifier() string
GetParentLocationalIdentifier returns the ParentLocationalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetParentLocationalIdentifierOk ¶ added in v2.7.3
func (o *AssetListen) GetParentLocationalIdentifierOk() (*string, bool)
GetParentLocationalIdentifierOk returns a tuple with the ParentLocationalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetProjectId ¶ added in v2.6.0
func (o *AssetListen) GetProjectId() string
GetProjectId returns the ProjectId field value
func (*AssetListen) GetProjectIdOk ¶ added in v2.6.0
func (o *AssetListen) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*AssetListen) GetResourceId ¶ added in v2.6.0
func (o *AssetListen) GetResourceId() string
GetResourceId returns the ResourceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetResourceIdOk ¶ added in v2.6.0
func (o *AssetListen) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetStatusCode ¶ added in v2.6.0
func (o *AssetListen) GetStatusCode() int32
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*AssetListen) GetStatusCodeOk ¶ added in v2.6.0
func (o *AssetListen) GetStatusCodeOk() (*int32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetListen) GetTags ¶ added in v2.6.0
func (o *AssetListen) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetTagsOk ¶ added in v2.6.0
func (o *AssetListen) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) GetTrackerId ¶ added in v2.6.11
func (o *AssetListen) GetTrackerId() int32
GetTrackerId returns the TrackerId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetListen) GetTrackerIdOk ¶ added in v2.6.11
func (o *AssetListen) GetTrackerIdOk() (*int32, bool)
GetTrackerIdOk returns a tuple with the TrackerId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetListen) HasAttachments ¶ added in v2.6.0
func (o *AssetListen) HasAttachments() bool
HasAttachments returns a boolean if a field has been set.
func (*AssetListen) HasChildrenInfo ¶ added in v2.6.0
func (o *AssetListen) HasChildrenInfo() bool
HasChildrenInfo returns a boolean if a field has been set.
func (*AssetListen) HasDescription ¶ added in v2.6.0
func (o *AssetListen) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AssetListen) HasDeviceIds ¶ added in v2.6.0
func (o *AssetListen) HasDeviceIds() bool
HasDeviceIds returns a boolean if a field has been set.
func (*AssetListen) HasFunctionalAssetIdPath ¶ added in v2.6.0
func (o *AssetListen) HasFunctionalAssetIdPath() bool
HasFunctionalAssetIdPath returns a boolean if a field has been set.
func (*AssetListen) HasId ¶ added in v2.6.0
func (o *AssetListen) HasId() bool
HasId returns a boolean if a field has been set.
func (*AssetListen) HasIsTracker ¶ added in v2.6.0
func (o *AssetListen) HasIsTracker() bool
HasIsTracker returns a boolean if a field has been set.
func (*AssetListen) HasLatitude ¶ added in v2.6.0
func (o *AssetListen) HasLatitude() bool
HasLatitude returns a boolean if a field has been set.
func (*AssetListen) HasLocationalAssetIdPath ¶ added in v2.6.0
func (o *AssetListen) HasLocationalAssetIdPath() bool
HasLocationalAssetIdPath returns a boolean if a field has been set.
func (*AssetListen) HasLongitude ¶ added in v2.6.0
func (o *AssetListen) HasLongitude() bool
HasLongitude returns a boolean if a field has been set.
func (*AssetListen) HasName ¶ added in v2.6.0
func (o *AssetListen) HasName() bool
HasName returns a boolean if a field has been set.
func (*AssetListen) HasParentFunctionalAssetId ¶ added in v2.6.0
func (o *AssetListen) HasParentFunctionalAssetId() bool
HasParentFunctionalAssetId returns a boolean if a field has been set.
func (*AssetListen) HasParentFunctionalIdentifier ¶ added in v2.7.3
func (o *AssetListen) HasParentFunctionalIdentifier() bool
HasParentFunctionalIdentifier returns a boolean if a field has been set.
func (*AssetListen) HasParentLocationalAssetId ¶ added in v2.6.0
func (o *AssetListen) HasParentLocationalAssetId() bool
HasParentLocationalAssetId returns a boolean if a field has been set.
func (*AssetListen) HasParentLocationalIdentifier ¶ added in v2.7.3
func (o *AssetListen) HasParentLocationalIdentifier() bool
HasParentLocationalIdentifier returns a boolean if a field has been set.
func (*AssetListen) HasResourceId ¶ added in v2.6.0
func (o *AssetListen) HasResourceId() bool
HasResourceId returns a boolean if a field has been set.
func (*AssetListen) HasStatusCode ¶ added in v2.6.0
func (o *AssetListen) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (*AssetListen) HasTags ¶ added in v2.6.0
func (o *AssetListen) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*AssetListen) HasTrackerId ¶ added in v2.6.11
func (o *AssetListen) HasTrackerId() bool
HasTrackerId returns a boolean if a field has been set.
func (AssetListen) MarshalJSON ¶ added in v2.6.0
func (o AssetListen) MarshalJSON() ([]byte, error)
func (*AssetListen) SetAssetType ¶ added in v2.6.0
func (o *AssetListen) SetAssetType(v string)
SetAssetType sets field value
func (*AssetListen) SetAttachments ¶ added in v2.6.0
func (o *AssetListen) SetAttachments(v []Attachment)
SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.
func (*AssetListen) SetChildrenInfo ¶ added in v2.6.0
func (o *AssetListen) SetChildrenInfo(v []Asset)
SetChildrenInfo gets a reference to the given []Asset and assigns it to the ChildrenInfo field.
func (*AssetListen) SetDescription ¶ added in v2.6.0
func (o *AssetListen) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*AssetListen) SetDescriptionNil ¶ added in v2.6.0
func (o *AssetListen) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*AssetListen) SetDeviceIds ¶ added in v2.6.0
func (o *AssetListen) SetDeviceIds(v []string)
SetDeviceIds gets a reference to the given []string and assigns it to the DeviceIds field.
func (*AssetListen) SetFunctionalAssetIdPath ¶ added in v2.6.0
func (o *AssetListen) SetFunctionalAssetIdPath(v []int32)
SetFunctionalAssetIdPath gets a reference to the given []int32 and assigns it to the FunctionalAssetIdPath field.
func (*AssetListen) SetGlobalAssetIdentifier ¶ added in v2.6.0
func (o *AssetListen) SetGlobalAssetIdentifier(v string)
SetGlobalAssetIdentifier sets field value
func (*AssetListen) SetId ¶ added in v2.6.0
func (o *AssetListen) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*AssetListen) SetIdNil ¶ added in v2.6.0
func (o *AssetListen) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*AssetListen) SetIsTracker ¶ added in v2.6.0
func (o *AssetListen) SetIsTracker(v bool)
SetIsTracker gets a reference to the given NullableBool and assigns it to the IsTracker field. Deprecated
func (*AssetListen) SetIsTrackerNil ¶ added in v2.6.0
func (o *AssetListen) SetIsTrackerNil()
SetIsTrackerNil sets the value for IsTracker to be an explicit nil
func (*AssetListen) SetLatitude ¶ added in v2.6.0
func (o *AssetListen) SetLatitude(v float64)
SetLatitude gets a reference to the given NullableFloat64 and assigns it to the Latitude field.
func (*AssetListen) SetLatitudeNil ¶ added in v2.6.0
func (o *AssetListen) SetLatitudeNil()
SetLatitudeNil sets the value for Latitude to be an explicit nil
func (*AssetListen) SetLocationalAssetIdPath ¶ added in v2.6.0
func (o *AssetListen) SetLocationalAssetIdPath(v []int32)
SetLocationalAssetIdPath gets a reference to the given []int32 and assigns it to the LocationalAssetIdPath field.
func (*AssetListen) SetLongitude ¶ added in v2.6.0
func (o *AssetListen) SetLongitude(v float64)
SetLongitude gets a reference to the given NullableFloat64 and assigns it to the Longitude field.
func (*AssetListen) SetLongitudeNil ¶ added in v2.6.0
func (o *AssetListen) SetLongitudeNil()
SetLongitudeNil sets the value for Longitude to be an explicit nil
func (*AssetListen) SetName ¶ added in v2.6.0
func (o *AssetListen) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*AssetListen) SetNameNil ¶ added in v2.6.0
func (o *AssetListen) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*AssetListen) SetParentFunctionalAssetId ¶ added in v2.6.0
func (o *AssetListen) SetParentFunctionalAssetId(v int32)
SetParentFunctionalAssetId gets a reference to the given NullableInt32 and assigns it to the ParentFunctionalAssetId field.
func (*AssetListen) SetParentFunctionalAssetIdNil ¶ added in v2.6.0
func (o *AssetListen) SetParentFunctionalAssetIdNil()
SetParentFunctionalAssetIdNil sets the value for ParentFunctionalAssetId to be an explicit nil
func (*AssetListen) SetParentFunctionalIdentifier ¶ added in v2.7.3
func (o *AssetListen) SetParentFunctionalIdentifier(v string)
SetParentFunctionalIdentifier gets a reference to the given NullableString and assigns it to the ParentFunctionalIdentifier field.
func (*AssetListen) SetParentFunctionalIdentifierNil ¶ added in v2.7.3
func (o *AssetListen) SetParentFunctionalIdentifierNil()
SetParentFunctionalIdentifierNil sets the value for ParentFunctionalIdentifier to be an explicit nil
func (*AssetListen) SetParentLocationalAssetId ¶ added in v2.6.0
func (o *AssetListen) SetParentLocationalAssetId(v int32)
SetParentLocationalAssetId gets a reference to the given NullableInt32 and assigns it to the ParentLocationalAssetId field.
func (*AssetListen) SetParentLocationalAssetIdNil ¶ added in v2.6.0
func (o *AssetListen) SetParentLocationalAssetIdNil()
SetParentLocationalAssetIdNil sets the value for ParentLocationalAssetId to be an explicit nil
func (*AssetListen) SetParentLocationalIdentifier ¶ added in v2.7.3
func (o *AssetListen) SetParentLocationalIdentifier(v string)
SetParentLocationalIdentifier gets a reference to the given NullableString and assigns it to the ParentLocationalIdentifier field.
func (*AssetListen) SetParentLocationalIdentifierNil ¶ added in v2.7.3
func (o *AssetListen) SetParentLocationalIdentifierNil()
SetParentLocationalIdentifierNil sets the value for ParentLocationalIdentifier to be an explicit nil
func (*AssetListen) SetProjectId ¶ added in v2.6.0
func (o *AssetListen) SetProjectId(v string)
SetProjectId sets field value
func (*AssetListen) SetResourceId ¶ added in v2.6.0
func (o *AssetListen) SetResourceId(v string)
SetResourceId gets a reference to the given NullableString and assigns it to the ResourceId field.
func (*AssetListen) SetResourceIdNil ¶ added in v2.6.0
func (o *AssetListen) SetResourceIdNil()
SetResourceIdNil sets the value for ResourceId to be an explicit nil
func (*AssetListen) SetStatusCode ¶ added in v2.6.0
func (o *AssetListen) SetStatusCode(v int32)
SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.
func (*AssetListen) SetTags ¶ added in v2.6.0
func (o *AssetListen) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*AssetListen) SetTrackerId ¶ added in v2.6.11
func (o *AssetListen) SetTrackerId(v int32)
SetTrackerId gets a reference to the given NullableInt32 and assigns it to the TrackerId field.
func (*AssetListen) SetTrackerIdNil ¶ added in v2.6.11
func (o *AssetListen) SetTrackerIdNil()
SetTrackerIdNil sets the value for TrackerId to be an explicit nil
func (AssetListen) ToMap ¶ added in v2.6.0
func (o AssetListen) ToMap() (map[string]interface{}, error)
func (*AssetListen) UnmarshalJSON ¶ added in v2.6.0
func (o *AssetListen) UnmarshalJSON(data []byte) (err error)
func (*AssetListen) UnsetDescription ¶ added in v2.6.0
func (o *AssetListen) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*AssetListen) UnsetId ¶ added in v2.6.0
func (o *AssetListen) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*AssetListen) UnsetIsTracker ¶ added in v2.6.0
func (o *AssetListen) UnsetIsTracker()
UnsetIsTracker ensures that no value is present for IsTracker, not even an explicit nil
func (*AssetListen) UnsetLatitude ¶ added in v2.6.0
func (o *AssetListen) UnsetLatitude()
UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil
func (*AssetListen) UnsetLongitude ¶ added in v2.6.0
func (o *AssetListen) UnsetLongitude()
UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil
func (*AssetListen) UnsetName ¶ added in v2.6.0
func (o *AssetListen) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*AssetListen) UnsetParentFunctionalAssetId ¶ added in v2.6.0
func (o *AssetListen) UnsetParentFunctionalAssetId()
UnsetParentFunctionalAssetId ensures that no value is present for ParentFunctionalAssetId, not even an explicit nil
func (*AssetListen) UnsetParentFunctionalIdentifier ¶ added in v2.7.3
func (o *AssetListen) UnsetParentFunctionalIdentifier()
UnsetParentFunctionalIdentifier ensures that no value is present for ParentFunctionalIdentifier, not even an explicit nil
func (*AssetListen) UnsetParentLocationalAssetId ¶ added in v2.6.0
func (o *AssetListen) UnsetParentLocationalAssetId()
UnsetParentLocationalAssetId ensures that no value is present for ParentLocationalAssetId, not even an explicit nil
func (*AssetListen) UnsetParentLocationalIdentifier ¶ added in v2.7.3
func (o *AssetListen) UnsetParentLocationalIdentifier()
UnsetParentLocationalIdentifier ensures that no value is present for ParentLocationalIdentifier, not even an explicit nil
func (*AssetListen) UnsetResourceId ¶ added in v2.6.0
func (o *AssetListen) UnsetResourceId()
UnsetResourceId ensures that no value is present for ResourceId, not even an explicit nil
func (*AssetListen) UnsetTrackerId ¶ added in v2.6.11
func (o *AssetListen) UnsetTrackerId()
UnsetTrackerId ensures that no value is present for TrackerId, not even an explicit nil
type AssetType ¶
type AssetType struct { // The unique name for this asset type Name string `json:"name"` // Is this a customer created type or not Custom *bool `json:"custom,omitempty"` // The vendor providing assets of this type Vendor NullableString `json:"vendor,omitempty"` // The specific model of assets of this type Model NullableString `json:"model,omitempty"` Translation NullableTranslation `json:"translation,omitempty"` // The url describing assets of this type Urldoc NullableString `json:"urldoc,omitempty"` // Icon name corresponding to assets of this type: blind, building, button, closable, elevator, environment, fallback, filling, gateway, light, mailbox, parking, people, power, rack, storey, trash, ventilation, vibration, water, weather Icon NullableString `json:"icon,omitempty"` // Asset types payload function PayloadFunction NullableString `json:"payloadFunction,omitempty"` AllowedInactivity NullableString `json:"allowedInactivity,omitempty"` // Function as a tracker IsTracker NullableBool `json:"isTracker,omitempty"` // List of named attributes Attributes []AssetTypeAttribute `json:"attributes,omitempty"` }
AssetType A type of assets
func NewAssetType ¶
NewAssetType instantiates a new AssetType 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 NewAssetTypeWithDefaults ¶
func NewAssetTypeWithDefaults() *AssetType
NewAssetTypeWithDefaults instantiates a new AssetType 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 (*AssetType) GetAllowedInactivity ¶ added in v2.4.2
GetAllowedInactivity returns the AllowedInactivity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetAllowedInactivityOk ¶ added in v2.4.2
GetAllowedInactivityOk returns a tuple with the AllowedInactivity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) GetAttributes ¶
func (o *AssetType) GetAttributes() []AssetTypeAttribute
GetAttributes returns the Attributes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetAttributesOk ¶
func (o *AssetType) GetAttributesOk() ([]AssetTypeAttribute, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) GetCustom ¶
GetCustom returns the Custom field value if set, zero value otherwise.
func (*AssetType) GetCustomOk ¶
GetCustomOk returns a tuple with the Custom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetType) GetIcon ¶
GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetIconOk ¶
GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) GetIsTracker ¶ added in v2.6.11
GetIsTracker returns the IsTracker field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetIsTrackerOk ¶ added in v2.6.11
GetIsTrackerOk returns a tuple with the IsTracker field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) GetModel ¶
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetModelOk ¶
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AssetType) GetPayloadFunction ¶ added in v2.4.2
GetPayloadFunction returns the PayloadFunction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetPayloadFunctionOk ¶ added in v2.4.2
GetPayloadFunctionOk returns a tuple with the PayloadFunction field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) GetTranslation ¶
func (o *AssetType) GetTranslation() Translation
GetTranslation returns the Translation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetTranslationOk ¶
func (o *AssetType) GetTranslationOk() (*Translation, bool)
GetTranslationOk returns a tuple with the Translation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) GetUrldoc ¶
GetUrldoc returns the Urldoc field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetUrldocOk ¶
GetUrldocOk returns a tuple with the Urldoc field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) GetVendor ¶
GetVendor returns the Vendor field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetType) GetVendorOk ¶
GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetType) HasAllowedInactivity ¶ added in v2.4.2
HasAllowedInactivity returns a boolean if a field has been set.
func (*AssetType) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (*AssetType) HasIsTracker ¶ added in v2.6.11
HasIsTracker returns a boolean if a field has been set.
func (*AssetType) HasPayloadFunction ¶ added in v2.4.2
HasPayloadFunction returns a boolean if a field has been set.
func (*AssetType) HasTranslation ¶
HasTranslation returns a boolean if a field has been set.
func (AssetType) MarshalJSON ¶
func (*AssetType) SetAllowedInactivity ¶ added in v2.4.2
SetAllowedInactivity gets a reference to the given NullableString and assigns it to the AllowedInactivity field.
func (*AssetType) SetAllowedInactivityNil ¶ added in v2.4.2
func (o *AssetType) SetAllowedInactivityNil()
SetAllowedInactivityNil sets the value for AllowedInactivity to be an explicit nil
func (*AssetType) SetAttributes ¶
func (o *AssetType) SetAttributes(v []AssetTypeAttribute)
SetAttributes gets a reference to the given []AssetTypeAttribute and assigns it to the Attributes field.
func (*AssetType) SetCustom ¶
SetCustom gets a reference to the given bool and assigns it to the Custom field.
func (*AssetType) SetIcon ¶
SetIcon gets a reference to the given NullableString and assigns it to the Icon field.
func (*AssetType) SetIconNil ¶
func (o *AssetType) SetIconNil()
SetIconNil sets the value for Icon to be an explicit nil
func (*AssetType) SetIsTracker ¶ added in v2.6.11
SetIsTracker gets a reference to the given NullableBool and assigns it to the IsTracker field.
func (*AssetType) SetIsTrackerNil ¶ added in v2.6.11
func (o *AssetType) SetIsTrackerNil()
SetIsTrackerNil sets the value for IsTracker to be an explicit nil
func (*AssetType) SetModel ¶
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*AssetType) SetModelNil ¶
func (o *AssetType) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*AssetType) SetPayloadFunction ¶ added in v2.4.2
SetPayloadFunction gets a reference to the given NullableString and assigns it to the PayloadFunction field.
func (*AssetType) SetPayloadFunctionNil ¶ added in v2.4.2
func (o *AssetType) SetPayloadFunctionNil()
SetPayloadFunctionNil sets the value for PayloadFunction to be an explicit nil
func (*AssetType) SetTranslation ¶
func (o *AssetType) SetTranslation(v Translation)
SetTranslation gets a reference to the given NullableTranslation and assigns it to the Translation field.
func (*AssetType) SetTranslationNil ¶
func (o *AssetType) SetTranslationNil()
SetTranslationNil sets the value for Translation to be an explicit nil
func (*AssetType) SetUrldoc ¶
SetUrldoc gets a reference to the given NullableString and assigns it to the Urldoc field.
func (*AssetType) SetUrldocNil ¶
func (o *AssetType) SetUrldocNil()
SetUrldocNil sets the value for Urldoc to be an explicit nil
func (*AssetType) SetVendor ¶
SetVendor gets a reference to the given NullableString and assigns it to the Vendor field.
func (*AssetType) SetVendorNil ¶
func (o *AssetType) SetVendorNil()
SetVendorNil sets the value for Vendor to be an explicit nil
func (*AssetType) UnmarshalJSON ¶ added in v2.5.9
func (*AssetType) UnsetAllowedInactivity ¶ added in v2.4.2
func (o *AssetType) UnsetAllowedInactivity()
UnsetAllowedInactivity ensures that no value is present for AllowedInactivity, not even an explicit nil
func (*AssetType) UnsetIcon ¶
func (o *AssetType) UnsetIcon()
UnsetIcon ensures that no value is present for Icon, not even an explicit nil
func (*AssetType) UnsetIsTracker ¶ added in v2.6.11
func (o *AssetType) UnsetIsTracker()
UnsetIsTracker ensures that no value is present for IsTracker, not even an explicit nil
func (*AssetType) UnsetModel ¶
func (o *AssetType) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
func (*AssetType) UnsetPayloadFunction ¶ added in v2.4.2
func (o *AssetType) UnsetPayloadFunction()
UnsetPayloadFunction ensures that no value is present for PayloadFunction, not even an explicit nil
func (*AssetType) UnsetTranslation ¶
func (o *AssetType) UnsetTranslation()
UnsetTranslation ensures that no value is present for Translation, not even an explicit nil
func (*AssetType) UnsetUrldoc ¶
func (o *AssetType) UnsetUrldoc()
UnsetUrldoc ensures that no value is present for Urldoc, not even an explicit nil
func (*AssetType) UnsetVendor ¶
func (o *AssetType) UnsetVendor()
UnsetVendor ensures that no value is present for Vendor, not even an explicit nil
type AssetTypeAttribute ¶
type AssetTypeAttribute struct { // The unique name for the asset type AssetTypeName NullableString `json:"assetTypeName,omitempty"` // Unique key of asset data Name string `json:"name"` Subtype DataSubtype `json:"subtype"` // Name of the type for this attribute: air_quality, battery-voltage, brightness, co2, current, device-info, device-status, energy, flow, frequency, humidity, inputs-and-switches, level, motion, operating-status, people-count, power, presence, pressure, temperature, vehicle-detector, voltage, weather, voc Type NullableString `json:"type,omitempty"` // Is data active or not Enable *bool `json:"enable,omitempty"` Translation NullableTranslation `json:"translation,omitempty"` // Physical unit of numeric data Unit NullableString `json:"unit,omitempty"` // Number of decimal places Precision NullableInt64 `json:"precision,omitempty"` // Lower limit Min NullableFloat64 `json:"min,omitempty"` // Upper limit Max NullableFloat64 `json:"max,omitempty"` // Aggregation calculation mode AggregationMode NullableString `json:"aggregationMode,omitempty"` AggregationRasters []string `json:"aggregationRasters,omitempty"` // Should the attribute be displayed in viewer Viewer NullableBool `json:"viewer,omitempty"` // Should the attribute be displayed in AR Ar NullableBool `json:"ar,omitempty"` // Sequence in AR display Sequence NullableInt64 `json:"sequence,omitempty"` // Is the attribute virtual or not Virtual NullableBool `json:"virtual,omitempty"` // calculation rule to calculate the value for this attribute Formula NullableString `json:"formula,omitempty"` // value scale Scale NullableFloat32 `json:"scale,omitempty"` // value scale Zero NullableFloat32 `json:"zero,omitempty"` // list of mapping between value and custom text Map []map[string]interface{} `json:"map,omitempty"` // source path for attribute value SourcePath []string `json:"sourcePath,omitempty"` // is attribute digital IsDigital NullableBool `json:"isDigital,omitempty"` }
AssetTypeAttribute Named attribute to store data of assets
func NewAssetTypeAttribute ¶
func NewAssetTypeAttribute(name string, subtype DataSubtype) *AssetTypeAttribute
NewAssetTypeAttribute instantiates a new AssetTypeAttribute 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 NewAssetTypeAttributeWithDefaults ¶
func NewAssetTypeAttributeWithDefaults() *AssetTypeAttribute
NewAssetTypeAttributeWithDefaults instantiates a new AssetTypeAttribute 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 (*AssetTypeAttribute) GetAggregationMode ¶
func (o *AssetTypeAttribute) GetAggregationMode() string
GetAggregationMode returns the AggregationMode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetAggregationModeOk ¶
func (o *AssetTypeAttribute) GetAggregationModeOk() (*string, bool)
GetAggregationModeOk returns a tuple with the AggregationMode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetAggregationRasters ¶
func (o *AssetTypeAttribute) GetAggregationRasters() []string
GetAggregationRasters returns the AggregationRasters field value if set, zero value otherwise.
func (*AssetTypeAttribute) GetAggregationRastersOk ¶
func (o *AssetTypeAttribute) GetAggregationRastersOk() ([]string, bool)
GetAggregationRastersOk returns a tuple with the AggregationRasters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetTypeAttribute) GetAr ¶
func (o *AssetTypeAttribute) GetAr() bool
GetAr returns the Ar field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetArOk ¶
func (o *AssetTypeAttribute) GetArOk() (*bool, bool)
GetArOk returns a tuple with the Ar field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetAssetTypeName ¶
func (o *AssetTypeAttribute) GetAssetTypeName() string
GetAssetTypeName returns the AssetTypeName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetAssetTypeNameOk ¶
func (o *AssetTypeAttribute) GetAssetTypeNameOk() (*string, bool)
GetAssetTypeNameOk returns a tuple with the AssetTypeName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetEnable ¶
func (o *AssetTypeAttribute) GetEnable() bool
GetEnable returns the Enable field value if set, zero value otherwise.
func (*AssetTypeAttribute) GetEnableOk ¶
func (o *AssetTypeAttribute) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetTypeAttribute) GetFormula ¶ added in v2.6.8
func (o *AssetTypeAttribute) GetFormula() string
GetFormula returns the Formula field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetFormulaOk ¶ added in v2.6.8
func (o *AssetTypeAttribute) GetFormulaOk() (*string, bool)
GetFormulaOk returns a tuple with the Formula field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetIsDigital ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetIsDigital() bool
GetIsDigital returns the IsDigital field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetIsDigitalOk ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetIsDigitalOk() (*bool, bool)
GetIsDigitalOk returns a tuple with the IsDigital field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetMap ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetMap() []map[string]interface{}
GetMap returns the Map field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetMapOk ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetMapOk() ([]map[string]interface{}, bool)
GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetMax ¶
func (o *AssetTypeAttribute) GetMax() float64
GetMax returns the Max field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetMaxOk ¶
func (o *AssetTypeAttribute) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetMin ¶
func (o *AssetTypeAttribute) GetMin() float64
GetMin returns the Min field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetMinOk ¶
func (o *AssetTypeAttribute) GetMinOk() (*float64, bool)
GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetName ¶
func (o *AssetTypeAttribute) GetName() string
GetName returns the Name field value
func (*AssetTypeAttribute) GetNameOk ¶
func (o *AssetTypeAttribute) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AssetTypeAttribute) GetPrecision ¶
func (o *AssetTypeAttribute) GetPrecision() int64
GetPrecision returns the Precision field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetPrecisionOk ¶
func (o *AssetTypeAttribute) GetPrecisionOk() (*int64, bool)
GetPrecisionOk returns a tuple with the Precision field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetScale ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetScale() float32
GetScale returns the Scale field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetScaleOk ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetScaleOk() (*float32, bool)
GetScaleOk returns a tuple with the Scale field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetSequence ¶
func (o *AssetTypeAttribute) GetSequence() int64
GetSequence returns the Sequence field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetSequenceOk ¶
func (o *AssetTypeAttribute) GetSequenceOk() (*int64, bool)
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetSourcePath ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetSourcePath() []string
GetSourcePath returns the SourcePath field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetSourcePathOk ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetSourcePathOk() ([]string, bool)
GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetSubtype ¶
func (o *AssetTypeAttribute) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*AssetTypeAttribute) GetSubtypeOk ¶
func (o *AssetTypeAttribute) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*AssetTypeAttribute) GetTranslation ¶
func (o *AssetTypeAttribute) GetTranslation() Translation
GetTranslation returns the Translation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetTranslationOk ¶
func (o *AssetTypeAttribute) GetTranslationOk() (*Translation, bool)
GetTranslationOk returns a tuple with the Translation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetType ¶
func (o *AssetTypeAttribute) GetType() string
GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetTypeOk ¶
func (o *AssetTypeAttribute) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetUnit ¶
func (o *AssetTypeAttribute) GetUnit() string
GetUnit returns the Unit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetUnitOk ¶
func (o *AssetTypeAttribute) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetViewer ¶
func (o *AssetTypeAttribute) GetViewer() bool
GetViewer returns the Viewer field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetViewerOk ¶
func (o *AssetTypeAttribute) GetViewerOk() (*bool, bool)
GetViewerOk returns a tuple with the Viewer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetVirtual ¶
func (o *AssetTypeAttribute) GetVirtual() bool
GetVirtual returns the Virtual field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetVirtualOk ¶
func (o *AssetTypeAttribute) GetVirtualOk() (*bool, bool)
GetVirtualOk returns a tuple with the Virtual field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) GetZero ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetZero() float32
GetZero returns the Zero field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssetTypeAttribute) GetZeroOk ¶ added in v2.4.2
func (o *AssetTypeAttribute) GetZeroOk() (*float32, bool)
GetZeroOk returns a tuple with the Zero field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssetTypeAttribute) HasAggregationMode ¶
func (o *AssetTypeAttribute) HasAggregationMode() bool
HasAggregationMode returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasAggregationRasters ¶
func (o *AssetTypeAttribute) HasAggregationRasters() bool
HasAggregationRasters returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasAr ¶
func (o *AssetTypeAttribute) HasAr() bool
HasAr returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasAssetTypeName ¶
func (o *AssetTypeAttribute) HasAssetTypeName() bool
HasAssetTypeName returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasEnable ¶
func (o *AssetTypeAttribute) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasFormula ¶ added in v2.6.8
func (o *AssetTypeAttribute) HasFormula() bool
HasFormula returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasIsDigital ¶ added in v2.4.2
func (o *AssetTypeAttribute) HasIsDigital() bool
HasIsDigital returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasMap ¶ added in v2.4.2
func (o *AssetTypeAttribute) HasMap() bool
HasMap returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasMax ¶
func (o *AssetTypeAttribute) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasMin ¶
func (o *AssetTypeAttribute) HasMin() bool
HasMin returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasPrecision ¶
func (o *AssetTypeAttribute) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasScale ¶ added in v2.4.2
func (o *AssetTypeAttribute) HasScale() bool
HasScale returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasSequence ¶
func (o *AssetTypeAttribute) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasSourcePath ¶ added in v2.4.2
func (o *AssetTypeAttribute) HasSourcePath() bool
HasSourcePath returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasTranslation ¶
func (o *AssetTypeAttribute) HasTranslation() bool
HasTranslation returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasType ¶
func (o *AssetTypeAttribute) HasType() bool
HasType returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasUnit ¶
func (o *AssetTypeAttribute) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasViewer ¶
func (o *AssetTypeAttribute) HasViewer() bool
HasViewer returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasVirtual ¶
func (o *AssetTypeAttribute) HasVirtual() bool
HasVirtual returns a boolean if a field has been set.
func (*AssetTypeAttribute) HasZero ¶ added in v2.4.2
func (o *AssetTypeAttribute) HasZero() bool
HasZero returns a boolean if a field has been set.
func (AssetTypeAttribute) MarshalJSON ¶
func (o AssetTypeAttribute) MarshalJSON() ([]byte, error)
func (*AssetTypeAttribute) SetAggregationMode ¶
func (o *AssetTypeAttribute) SetAggregationMode(v string)
SetAggregationMode gets a reference to the given NullableString and assigns it to the AggregationMode field.
func (*AssetTypeAttribute) SetAggregationModeNil ¶
func (o *AssetTypeAttribute) SetAggregationModeNil()
SetAggregationModeNil sets the value for AggregationMode to be an explicit nil
func (*AssetTypeAttribute) SetAggregationRasters ¶
func (o *AssetTypeAttribute) SetAggregationRasters(v []string)
SetAggregationRasters gets a reference to the given []string and assigns it to the AggregationRasters field.
func (*AssetTypeAttribute) SetAr ¶
func (o *AssetTypeAttribute) SetAr(v bool)
SetAr gets a reference to the given NullableBool and assigns it to the Ar field.
func (*AssetTypeAttribute) SetArNil ¶
func (o *AssetTypeAttribute) SetArNil()
SetArNil sets the value for Ar to be an explicit nil
func (*AssetTypeAttribute) SetAssetTypeName ¶
func (o *AssetTypeAttribute) SetAssetTypeName(v string)
SetAssetTypeName gets a reference to the given NullableString and assigns it to the AssetTypeName field.
func (*AssetTypeAttribute) SetAssetTypeNameNil ¶
func (o *AssetTypeAttribute) SetAssetTypeNameNil()
SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil
func (*AssetTypeAttribute) SetEnable ¶
func (o *AssetTypeAttribute) SetEnable(v bool)
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*AssetTypeAttribute) SetFormula ¶ added in v2.6.8
func (o *AssetTypeAttribute) SetFormula(v string)
SetFormula gets a reference to the given NullableString and assigns it to the Formula field.
func (*AssetTypeAttribute) SetFormulaNil ¶ added in v2.6.8
func (o *AssetTypeAttribute) SetFormulaNil()
SetFormulaNil sets the value for Formula to be an explicit nil
func (*AssetTypeAttribute) SetIsDigital ¶ added in v2.4.2
func (o *AssetTypeAttribute) SetIsDigital(v bool)
SetIsDigital gets a reference to the given NullableBool and assigns it to the IsDigital field.
func (*AssetTypeAttribute) SetIsDigitalNil ¶ added in v2.4.2
func (o *AssetTypeAttribute) SetIsDigitalNil()
SetIsDigitalNil sets the value for IsDigital to be an explicit nil
func (*AssetTypeAttribute) SetMap ¶ added in v2.4.2
func (o *AssetTypeAttribute) SetMap(v []map[string]interface{})
SetMap gets a reference to the given []map[string]interface{} and assigns it to the Map field.
func (*AssetTypeAttribute) SetMax ¶
func (o *AssetTypeAttribute) SetMax(v float64)
SetMax gets a reference to the given NullableFloat64 and assigns it to the Max field.
func (*AssetTypeAttribute) SetMaxNil ¶
func (o *AssetTypeAttribute) SetMaxNil()
SetMaxNil sets the value for Max to be an explicit nil
func (*AssetTypeAttribute) SetMin ¶
func (o *AssetTypeAttribute) SetMin(v float64)
SetMin gets a reference to the given NullableFloat64 and assigns it to the Min field.
func (*AssetTypeAttribute) SetMinNil ¶
func (o *AssetTypeAttribute) SetMinNil()
SetMinNil sets the value for Min to be an explicit nil
func (*AssetTypeAttribute) SetName ¶
func (o *AssetTypeAttribute) SetName(v string)
SetName sets field value
func (*AssetTypeAttribute) SetPrecision ¶
func (o *AssetTypeAttribute) SetPrecision(v int64)
SetPrecision gets a reference to the given NullableInt64 and assigns it to the Precision field.
func (*AssetTypeAttribute) SetPrecisionNil ¶
func (o *AssetTypeAttribute) SetPrecisionNil()
SetPrecisionNil sets the value for Precision to be an explicit nil
func (*AssetTypeAttribute) SetScale ¶ added in v2.4.2
func (o *AssetTypeAttribute) SetScale(v float32)
SetScale gets a reference to the given NullableFloat32 and assigns it to the Scale field.
func (*AssetTypeAttribute) SetScaleNil ¶ added in v2.4.2
func (o *AssetTypeAttribute) SetScaleNil()
SetScaleNil sets the value for Scale to be an explicit nil
func (*AssetTypeAttribute) SetSequence ¶
func (o *AssetTypeAttribute) SetSequence(v int64)
SetSequence gets a reference to the given NullableInt64 and assigns it to the Sequence field.
func (*AssetTypeAttribute) SetSequenceNil ¶
func (o *AssetTypeAttribute) SetSequenceNil()
SetSequenceNil sets the value for Sequence to be an explicit nil
func (*AssetTypeAttribute) SetSourcePath ¶ added in v2.4.2
func (o *AssetTypeAttribute) SetSourcePath(v []string)
SetSourcePath gets a reference to the given []string and assigns it to the SourcePath field.
func (*AssetTypeAttribute) SetSubtype ¶
func (o *AssetTypeAttribute) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (*AssetTypeAttribute) SetTranslation ¶
func (o *AssetTypeAttribute) SetTranslation(v Translation)
SetTranslation gets a reference to the given NullableTranslation and assigns it to the Translation field.
func (*AssetTypeAttribute) SetTranslationNil ¶
func (o *AssetTypeAttribute) SetTranslationNil()
SetTranslationNil sets the value for Translation to be an explicit nil
func (*AssetTypeAttribute) SetType ¶
func (o *AssetTypeAttribute) SetType(v string)
SetType gets a reference to the given NullableString and assigns it to the Type field.
func (*AssetTypeAttribute) SetTypeNil ¶
func (o *AssetTypeAttribute) SetTypeNil()
SetTypeNil sets the value for Type to be an explicit nil
func (*AssetTypeAttribute) SetUnit ¶
func (o *AssetTypeAttribute) SetUnit(v string)
SetUnit gets a reference to the given NullableString and assigns it to the Unit field.
func (*AssetTypeAttribute) SetUnitNil ¶
func (o *AssetTypeAttribute) SetUnitNil()
SetUnitNil sets the value for Unit to be an explicit nil
func (*AssetTypeAttribute) SetViewer ¶
func (o *AssetTypeAttribute) SetViewer(v bool)
SetViewer gets a reference to the given NullableBool and assigns it to the Viewer field.
func (*AssetTypeAttribute) SetViewerNil ¶
func (o *AssetTypeAttribute) SetViewerNil()
SetViewerNil sets the value for Viewer to be an explicit nil
func (*AssetTypeAttribute) SetVirtual ¶
func (o *AssetTypeAttribute) SetVirtual(v bool)
SetVirtual gets a reference to the given NullableBool and assigns it to the Virtual field.
func (*AssetTypeAttribute) SetVirtualNil ¶
func (o *AssetTypeAttribute) SetVirtualNil()
SetVirtualNil sets the value for Virtual to be an explicit nil
func (*AssetTypeAttribute) SetZero ¶ added in v2.4.2
func (o *AssetTypeAttribute) SetZero(v float32)
SetZero gets a reference to the given NullableFloat32 and assigns it to the Zero field.
func (*AssetTypeAttribute) SetZeroNil ¶ added in v2.4.2
func (o *AssetTypeAttribute) SetZeroNil()
SetZeroNil sets the value for Zero to be an explicit nil
func (AssetTypeAttribute) ToMap ¶ added in v2.4.8
func (o AssetTypeAttribute) ToMap() (map[string]interface{}, error)
func (*AssetTypeAttribute) UnmarshalJSON ¶ added in v2.5.9
func (o *AssetTypeAttribute) UnmarshalJSON(data []byte) (err error)
func (*AssetTypeAttribute) UnsetAggregationMode ¶
func (o *AssetTypeAttribute) UnsetAggregationMode()
UnsetAggregationMode ensures that no value is present for AggregationMode, not even an explicit nil
func (*AssetTypeAttribute) UnsetAr ¶
func (o *AssetTypeAttribute) UnsetAr()
UnsetAr ensures that no value is present for Ar, not even an explicit nil
func (*AssetTypeAttribute) UnsetAssetTypeName ¶
func (o *AssetTypeAttribute) UnsetAssetTypeName()
UnsetAssetTypeName ensures that no value is present for AssetTypeName, not even an explicit nil
func (*AssetTypeAttribute) UnsetFormula ¶ added in v2.6.8
func (o *AssetTypeAttribute) UnsetFormula()
UnsetFormula ensures that no value is present for Formula, not even an explicit nil
func (*AssetTypeAttribute) UnsetIsDigital ¶ added in v2.4.2
func (o *AssetTypeAttribute) UnsetIsDigital()
UnsetIsDigital ensures that no value is present for IsDigital, not even an explicit nil
func (*AssetTypeAttribute) UnsetMax ¶
func (o *AssetTypeAttribute) UnsetMax()
UnsetMax ensures that no value is present for Max, not even an explicit nil
func (*AssetTypeAttribute) UnsetMin ¶
func (o *AssetTypeAttribute) UnsetMin()
UnsetMin ensures that no value is present for Min, not even an explicit nil
func (*AssetTypeAttribute) UnsetPrecision ¶
func (o *AssetTypeAttribute) UnsetPrecision()
UnsetPrecision ensures that no value is present for Precision, not even an explicit nil
func (*AssetTypeAttribute) UnsetScale ¶ added in v2.4.2
func (o *AssetTypeAttribute) UnsetScale()
UnsetScale ensures that no value is present for Scale, not even an explicit nil
func (*AssetTypeAttribute) UnsetSequence ¶
func (o *AssetTypeAttribute) UnsetSequence()
UnsetSequence ensures that no value is present for Sequence, not even an explicit nil
func (*AssetTypeAttribute) UnsetTranslation ¶
func (o *AssetTypeAttribute) UnsetTranslation()
UnsetTranslation ensures that no value is present for Translation, not even an explicit nil
func (*AssetTypeAttribute) UnsetType ¶
func (o *AssetTypeAttribute) UnsetType()
UnsetType ensures that no value is present for Type, not even an explicit nil
func (*AssetTypeAttribute) UnsetUnit ¶
func (o *AssetTypeAttribute) UnsetUnit()
UnsetUnit ensures that no value is present for Unit, not even an explicit nil
func (*AssetTypeAttribute) UnsetViewer ¶
func (o *AssetTypeAttribute) UnsetViewer()
UnsetViewer ensures that no value is present for Viewer, not even an explicit nil
func (*AssetTypeAttribute) UnsetVirtual ¶
func (o *AssetTypeAttribute) UnsetVirtual()
UnsetVirtual ensures that no value is present for Virtual, not even an explicit nil
func (*AssetTypeAttribute) UnsetZero ¶ added in v2.4.2
func (o *AssetTypeAttribute) UnsetZero()
UnsetZero ensures that no value is present for Zero, not even an explicit nil
type AssetTypesAPIService ¶ added in v2.5.3
type AssetTypesAPIService service
AssetTypesAPIService AssetTypesAPI service
func (*AssetTypesAPIService) DeleteAssetTypeByName ¶ added in v2.5.3
func (a *AssetTypesAPIService) DeleteAssetTypeByName(ctx context.Context, assetTypeName string) ApiDeleteAssetTypeByNameRequest
DeleteAssetTypeByName Delete an asset type
Deletes an asset type and the attributes for this asset type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetTypeName The name of the asset type @return ApiDeleteAssetTypeByNameRequest
func (*AssetTypesAPIService) DeleteAssetTypeByNameExecute ¶ added in v2.5.3
func (a *AssetTypesAPIService) DeleteAssetTypeByNameExecute(r ApiDeleteAssetTypeByNameRequest) (*http.Response, error)
Execute executes the request
func (*AssetTypesAPIService) GetAssetTypeByName ¶ added in v2.5.3
func (a *AssetTypesAPIService) GetAssetTypeByName(ctx context.Context, assetTypeName string) ApiGetAssetTypeByNameRequest
GetAssetTypeByName Information about an asset type
Gets information about an asset type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetTypeName The name of the asset type @return ApiGetAssetTypeByNameRequest
func (*AssetTypesAPIService) GetAssetTypeByNameExecute ¶ added in v2.5.3
func (a *AssetTypesAPIService) GetAssetTypeByNameExecute(r ApiGetAssetTypeByNameRequest) (*AssetType, *http.Response, error)
Execute executes the request
@return AssetType
func (*AssetTypesAPIService) GetAssetTypes ¶ added in v2.5.3
func (a *AssetTypesAPIService) GetAssetTypes(ctx context.Context) ApiGetAssetTypesRequest
GetAssetTypes List of asset types
Returns a list of asset types
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAssetTypesRequest
func (*AssetTypesAPIService) GetAssetTypesExecute ¶ added in v2.5.3
func (a *AssetTypesAPIService) GetAssetTypesExecute(r ApiGetAssetTypesRequest) ([]AssetType, *http.Response, error)
Execute executes the request
@return []AssetType
func (*AssetTypesAPIService) PostAssetType ¶ added in v2.5.3
func (a *AssetTypesAPIService) PostAssetType(ctx context.Context) ApiPostAssetTypeRequest
PostAssetType Create an asset type
Create a new asset type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostAssetTypeRequest
func (*AssetTypesAPIService) PostAssetTypeAttribute ¶ added in v2.5.3
func (a *AssetTypesAPIService) PostAssetTypeAttribute(ctx context.Context, assetTypeName string) ApiPostAssetTypeAttributeRequest
PostAssetTypeAttribute Create asset type attribute
Create a new asset type attribute.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetTypeName The name of the asset type @return ApiPostAssetTypeAttributeRequest
func (*AssetTypesAPIService) PostAssetTypeAttributeExecute ¶ added in v2.5.3
func (a *AssetTypesAPIService) PostAssetTypeAttributeExecute(r ApiPostAssetTypeAttributeRequest) (*AssetTypeAttribute, *http.Response, error)
Execute executes the request
@return AssetTypeAttribute
func (*AssetTypesAPIService) PostAssetTypeExecute ¶ added in v2.5.3
func (a *AssetTypesAPIService) PostAssetTypeExecute(r ApiPostAssetTypeRequest) (*AssetType, *http.Response, error)
Execute executes the request
@return AssetType
func (*AssetTypesAPIService) PutAssetType ¶ added in v2.5.3
func (a *AssetTypesAPIService) PutAssetType(ctx context.Context) ApiPutAssetTypeRequest
PutAssetType Create or update an asset type
Create a new asset type or update an asset type if already exists. Uses the unique asset type name for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutAssetTypeRequest
func (*AssetTypesAPIService) PutAssetTypeAttribute ¶ added in v2.5.3
func (a *AssetTypesAPIService) PutAssetTypeAttribute(ctx context.Context, assetTypeName string) ApiPutAssetTypeAttributeRequest
PutAssetTypeAttribute Create or update an asset type attribute
Create a new asset type attribute or update an asset type attribute if already exists. Uses the unique combination of asset type name, subtype and attribute name for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetTypeName The name of the asset type @return ApiPutAssetTypeAttributeRequest
func (*AssetTypesAPIService) PutAssetTypeAttributeExecute ¶ added in v2.5.3
func (a *AssetTypesAPIService) PutAssetTypeAttributeExecute(r ApiPutAssetTypeAttributeRequest) (*AssetTypeAttribute, *http.Response, error)
Execute executes the request
@return AssetTypeAttribute
func (*AssetTypesAPIService) PutAssetTypeByName ¶ added in v2.5.3
func (a *AssetTypesAPIService) PutAssetTypeByName(ctx context.Context, assetTypeName string) ApiPutAssetTypeByNameRequest
PutAssetTypeByName Update an asset type
Update an asset type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetTypeName The name of the asset type @return ApiPutAssetTypeByNameRequest
func (*AssetTypesAPIService) PutAssetTypeByNameExecute ¶ added in v2.5.3
func (a *AssetTypesAPIService) PutAssetTypeByNameExecute(r ApiPutAssetTypeByNameRequest) (*AssetType, *http.Response, error)
Execute executes the request
@return AssetType
func (*AssetTypesAPIService) PutAssetTypeExecute ¶ added in v2.5.3
func (a *AssetTypesAPIService) PutAssetTypeExecute(r ApiPutAssetTypeRequest) (*AssetType, *http.Response, error)
Execute executes the request
@return AssetType
type AssetsAPIService ¶ added in v2.5.3
type AssetsAPIService service
AssetsAPIService AssetsAPI service
func (*AssetsAPIService) DeleteAssetById ¶ added in v2.5.3
func (a *AssetsAPIService) DeleteAssetById(ctx context.Context, assetId int32) ApiDeleteAssetByIdRequest
DeleteAssetById Delete an asset
Deletes an asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetId The id of the asset @return ApiDeleteAssetByIdRequest
func (*AssetsAPIService) DeleteAssetByIdExecute ¶ added in v2.5.3
func (a *AssetsAPIService) DeleteAssetByIdExecute(r ApiDeleteAssetByIdRequest) (*http.Response, error)
Execute executes the request
func (*AssetsAPIService) DeleteBulkAssets ¶ added in v2.5.3
func (a *AssetsAPIService) DeleteBulkAssets(ctx context.Context) ApiDeleteBulkAssetsRequest
DeleteBulkAssets Delete a list of assets
Delete multiple assets based on the identifiers defined by the 'identifyBy' parameter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteBulkAssetsRequest
func (*AssetsAPIService) DeleteBulkAssetsExecute ¶ added in v2.5.3
func (a *AssetsAPIService) DeleteBulkAssetsExecute(r ApiDeleteBulkAssetsRequest) (*http.Response, error)
Execute executes the request
func (*AssetsAPIService) DryRunDeleteBulkAssets ¶ added in v2.5.3
func (a *AssetsAPIService) DryRunDeleteBulkAssets(ctx context.Context) ApiDryRunDeleteBulkAssetsRequest
DryRunDeleteBulkAssets Dry-run for deleting a list of assets
Simulates the process of deleting multiple assets via the 'DELETE /assets-bulk' without actually persisting any changes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDryRunDeleteBulkAssetsRequest
func (*AssetsAPIService) DryRunDeleteBulkAssetsExecute ¶ added in v2.5.3
func (a *AssetsAPIService) DryRunDeleteBulkAssetsExecute(r ApiDryRunDeleteBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)
Execute executes the request
@return []AssetDryRun
func (*AssetsAPIService) DryRunPostBulkAssets ¶ added in v2.5.3
func (a *AssetsAPIService) DryRunPostBulkAssets(ctx context.Context) ApiDryRunPostBulkAssetsRequest
DryRunPostBulkAssets Dry-run for creating a list of assets
Simulates the process of creating assets via the 'POST /assets-bulk' endpoint without actually persisting any changes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDryRunPostBulkAssetsRequest
func (*AssetsAPIService) DryRunPostBulkAssetsExecute ¶ added in v2.5.3
func (a *AssetsAPIService) DryRunPostBulkAssetsExecute(r ApiDryRunPostBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)
Execute executes the request
@return []AssetDryRun
func (*AssetsAPIService) DryRunPutBulkAssets ¶ added in v2.5.3
func (a *AssetsAPIService) DryRunPutBulkAssets(ctx context.Context) ApiDryRunPutBulkAssetsRequest
DryRunPutBulkAssets Dry-run for creating or updating a list of assets
Simulates the process of creating or updating assets via the 'PUT /assets-bulk' endpoint without actually persisting any changes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDryRunPutBulkAssetsRequest
func (*AssetsAPIService) DryRunPutBulkAssetsExecute ¶ added in v2.5.3
func (a *AssetsAPIService) DryRunPutBulkAssetsExecute(r ApiDryRunPutBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)
Execute executes the request
@return []AssetDryRun
func (*AssetsAPIService) GetAssetById ¶ added in v2.5.3
func (a *AssetsAPIService) GetAssetById(ctx context.Context, assetId int32) ApiGetAssetByIdRequest
GetAssetById Information about an asset
Gets information about an asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetId The id of the asset @return ApiGetAssetByIdRequest
func (*AssetsAPIService) GetAssetByIdExecute ¶ added in v2.5.3
func (a *AssetsAPIService) GetAssetByIdExecute(r ApiGetAssetByIdRequest) (*Asset, *http.Response, error)
Execute executes the request
@return Asset
func (*AssetsAPIService) GetAssets ¶ added in v2.5.3
func (a *AssetsAPIService) GetAssets(ctx context.Context) ApiGetAssetsRequest
GetAssets Information about assets
Gets a list of assets
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAssetsRequest
func (*AssetsAPIService) GetAssetsExecute ¶ added in v2.5.3
func (a *AssetsAPIService) GetAssetsExecute(r ApiGetAssetsRequest) ([]Asset, *http.Response, error)
Execute executes the request
@return []Asset
func (*AssetsAPIService) GetAttributeDisplay ¶ added in v2.5.3
func (a *AssetsAPIService) GetAttributeDisplay(ctx context.Context) ApiGetAttributeDisplayRequest
GetAttributeDisplay How attributes are displayed
Gets information about how attributes for specific assets are displayed in frontend.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAttributeDisplayRequest
func (*AssetsAPIService) GetAttributeDisplayExecute ¶ added in v2.5.3
func (a *AssetsAPIService) GetAttributeDisplayExecute(r ApiGetAttributeDisplayRequest) (*AttributeDisplay, *http.Response, error)
Execute executes the request
@return AttributeDisplay
func (*AssetsAPIService) ListenAsset ¶ added in v2.6.1
func (a *AssetsAPIService) ListenAsset(ctx context.Context) ApiListenAssetRequest
ListenAsset WebSocket connection for asset changes
Open a WebSocket connection to get informed when asset is created, updated or deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListenAssetRequest
func (*AssetsAPIService) ListenAssetExecute ¶ added in v2.6.1
func (a *AssetsAPIService) ListenAssetExecute(r ApiListenAssetRequest) (*AssetListen, *http.Response, error)
Execute executes the request
@return AssetListen
func (*AssetsAPIService) PostAsset ¶ added in v2.5.3
func (a *AssetsAPIService) PostAsset(ctx context.Context) ApiPostAssetRequest
PostAsset Create an asset
This process involves creating an asset. The determination if the asset already exists and cannot be created is done by the 'identifyBy' parameter, which specifies the field used for identification.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostAssetRequest
func (*AssetsAPIService) PostAssetExecute ¶ added in v2.5.3
func (a *AssetsAPIService) PostAssetExecute(r ApiPostAssetRequest) (*Asset, *http.Response, error)
Execute executes the request
@return Asset
func (*AssetsAPIService) PostBulkAssets ¶ added in v2.5.3
func (a *AssetsAPIService) PostBulkAssets(ctx context.Context) ApiPostBulkAssetsRequest
PostBulkAssets Create a list of assets
This process involves creating the assets in the list. The determination if the asset already exists and cannot be created is done by the 'identifyBy' parameter, which specifies the field used for identification.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostBulkAssetsRequest
func (*AssetsAPIService) PostBulkAssetsExecute ¶ added in v2.5.3
func (a *AssetsAPIService) PostBulkAssetsExecute(r ApiPostBulkAssetsRequest) ([]Asset, *http.Response, error)
Execute executes the request
@return []Asset
func (*AssetsAPIService) PutAsset ¶ added in v2.5.3
func (a *AssetsAPIService) PutAsset(ctx context.Context) ApiPutAssetRequest
PutAsset Create or update an asset
This process involves creating or updating an asset. The choice between updating or creating is determined by the 'identifyBy' parameter, which specifies the field used for identification.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutAssetRequest
func (*AssetsAPIService) PutAssetById
deprecated
added in
v2.5.3
func (a *AssetsAPIService) PutAssetById(ctx context.Context, assetId int32) ApiPutAssetByIdRequest
PutAssetById Update an asset
Deprecated: use the 'PUT /asset' method and optionally the 'identifyBy' parameter to update a specific asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetId The id of the asset @return ApiPutAssetByIdRequest
Deprecated
func (*AssetsAPIService) PutAssetByIdExecute ¶ added in v2.5.3
func (a *AssetsAPIService) PutAssetByIdExecute(r ApiPutAssetByIdRequest) (*Asset, *http.Response, error)
Execute executes the request
@return Asset
Deprecated
func (*AssetsAPIService) PutAssetExecute ¶ added in v2.5.3
func (a *AssetsAPIService) PutAssetExecute(r ApiPutAssetRequest) (*Asset, *http.Response, error)
Execute executes the request
@return Asset
func (*AssetsAPIService) PutAttributeDisplay ¶ added in v2.5.3
func (a *AssetsAPIService) PutAttributeDisplay(ctx context.Context) ApiPutAttributeDisplayRequest
PutAttributeDisplay Create or update how attributes are displayed
Create or update how attributes are displayed in frontend. Uses the unique combination of asset id, subtype and attribute name for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutAttributeDisplayRequest
func (*AssetsAPIService) PutAttributeDisplayExecute ¶ added in v2.5.3
func (a *AssetsAPIService) PutAttributeDisplayExecute(r ApiPutAttributeDisplayRequest) (*AttributeDisplay, *http.Response, error)
Execute executes the request
@return AttributeDisplay
func (*AssetsAPIService) PutBulkAssets ¶ added in v2.5.3
func (a *AssetsAPIService) PutBulkAssets(ctx context.Context) ApiPutBulkAssetsRequest
PutBulkAssets Create or update a list of assets
This process involves creating or updating assets. The choice between updating or creating an asset is determined by the 'identifyBy' parameter, which specifies the field used for identification.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutBulkAssetsRequest
func (*AssetsAPIService) PutBulkAssetsExecute ¶ added in v2.5.3
func (a *AssetsAPIService) PutBulkAssetsExecute(r ApiPutBulkAssetsRequest) ([]Asset, *http.Response, error)
Execute executes the request
@return []Asset
type Attachment ¶ added in v2.4.2
type Attachment struct { // The name for the attachment, e.g. the filename Name string `json:"name"` // The type of binary data ContentType NullableString `json:"contentType,omitempty"` // The encoding of content Encoding NullableString `json:"encoding,omitempty"` // The binary data as encoded string Content *string `json:"content,omitempty"` }
Attachment A binary attachment
func NewAttachment ¶ added in v2.4.2
func NewAttachment(name string) *Attachment
NewAttachment instantiates a new Attachment 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 NewAttachmentWithDefaults ¶ added in v2.4.2
func NewAttachmentWithDefaults() *Attachment
NewAttachmentWithDefaults instantiates a new Attachment 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 (*Attachment) GetContent ¶ added in v2.4.2
func (o *Attachment) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*Attachment) GetContentOk ¶ added in v2.4.2
func (o *Attachment) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) GetContentType ¶ added in v2.4.2
func (o *Attachment) GetContentType() string
GetContentType returns the ContentType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attachment) GetContentTypeOk ¶ added in v2.4.2
func (o *Attachment) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attachment) GetEncoding ¶ added in v2.4.2
func (o *Attachment) GetEncoding() string
GetEncoding returns the Encoding field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attachment) GetEncodingOk ¶ added in v2.4.2
func (o *Attachment) GetEncodingOk() (*string, bool)
GetEncodingOk returns a tuple with the Encoding field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attachment) GetName ¶ added in v2.4.2
func (o *Attachment) GetName() string
GetName returns the Name field value
func (*Attachment) GetNameOk ¶ added in v2.4.2
func (o *Attachment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Attachment) HasContent ¶ added in v2.4.2
func (o *Attachment) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*Attachment) HasContentType ¶ added in v2.4.2
func (o *Attachment) HasContentType() bool
HasContentType returns a boolean if a field has been set.
func (*Attachment) HasEncoding ¶ added in v2.4.2
func (o *Attachment) HasEncoding() bool
HasEncoding returns a boolean if a field has been set.
func (Attachment) MarshalJSON ¶ added in v2.4.2
func (o Attachment) MarshalJSON() ([]byte, error)
func (*Attachment) SetContent ¶ added in v2.4.2
func (o *Attachment) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*Attachment) SetContentType ¶ added in v2.4.2
func (o *Attachment) SetContentType(v string)
SetContentType gets a reference to the given NullableString and assigns it to the ContentType field.
func (*Attachment) SetContentTypeNil ¶ added in v2.4.2
func (o *Attachment) SetContentTypeNil()
SetContentTypeNil sets the value for ContentType to be an explicit nil
func (*Attachment) SetEncoding ¶ added in v2.4.2
func (o *Attachment) SetEncoding(v string)
SetEncoding gets a reference to the given NullableString and assigns it to the Encoding field.
func (*Attachment) SetEncodingNil ¶ added in v2.4.2
func (o *Attachment) SetEncodingNil()
SetEncodingNil sets the value for Encoding to be an explicit nil
func (*Attachment) SetName ¶ added in v2.4.2
func (o *Attachment) SetName(v string)
SetName sets field value
func (Attachment) ToMap ¶ added in v2.4.8
func (o Attachment) ToMap() (map[string]interface{}, error)
func (*Attachment) UnmarshalJSON ¶ added in v2.5.9
func (o *Attachment) UnmarshalJSON(data []byte) (err error)
func (*Attachment) UnsetContentType ¶ added in v2.4.2
func (o *Attachment) UnsetContentType()
UnsetContentType ensures that no value is present for ContentType, not even an explicit nil
func (*Attachment) UnsetEncoding ¶ added in v2.4.2
func (o *Attachment) UnsetEncoding()
UnsetEncoding ensures that no value is present for Encoding, not even an explicit nil
type AttributeDisplay ¶ added in v2.5.3
type AttributeDisplay struct { // ID of the corresponding asset AssetId int32 `json:"assetId"` Subtype DataSubtype `json:"subtype"` // Name of the attribute of the asset type Attribute string `json:"attribute"` // Physical unit of numeric data Unit NullableString `json:"unit,omitempty"` // Number of decimal places Precision NullableInt64 `json:"precision,omitempty"` // Lower limit Min NullableFloat64 `json:"min,omitempty"` // Upper limit Max NullableFloat64 `json:"max,omitempty"` // Should the attribute be displayed in viewer Viewer NullableBool `json:"viewer,omitempty"` // Should the attribute be displayed in AR Ar NullableBool `json:"ar,omitempty"` // Sequence in AR display Sequence NullableInt64 `json:"sequence,omitempty"` // list of mapping between value and custom text Map []map[string]interface{} `json:"map,omitempty"` }
AttributeDisplay How attributes are displayed for specific assets
func NewAttributeDisplay ¶ added in v2.5.3
func NewAttributeDisplay(assetId int32, subtype DataSubtype, attribute string) *AttributeDisplay
NewAttributeDisplay instantiates a new AttributeDisplay 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 NewAttributeDisplayWithDefaults ¶ added in v2.5.3
func NewAttributeDisplayWithDefaults() *AttributeDisplay
NewAttributeDisplayWithDefaults instantiates a new AttributeDisplay 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 (*AttributeDisplay) GetAr ¶ added in v2.5.3
func (o *AttributeDisplay) GetAr() bool
GetAr returns the Ar field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AttributeDisplay) GetArOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetArOk() (*bool, bool)
GetArOk returns a tuple with the Ar field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AttributeDisplay) GetAssetId ¶ added in v2.5.3
func (o *AttributeDisplay) GetAssetId() int32
GetAssetId returns the AssetId field value
func (*AttributeDisplay) GetAssetIdOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*AttributeDisplay) GetAttribute ¶ added in v2.5.3
func (o *AttributeDisplay) GetAttribute() string
GetAttribute returns the Attribute field value
func (*AttributeDisplay) GetAttributeOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.
func (*AttributeDisplay) GetMap ¶ added in v2.5.3
func (o *AttributeDisplay) GetMap() []map[string]interface{}
GetMap returns the Map field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AttributeDisplay) GetMapOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetMapOk() ([]map[string]interface{}, bool)
GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AttributeDisplay) GetMax ¶ added in v2.5.3
func (o *AttributeDisplay) GetMax() float64
GetMax returns the Max field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AttributeDisplay) GetMaxOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AttributeDisplay) GetMin ¶ added in v2.5.3
func (o *AttributeDisplay) GetMin() float64
GetMin returns the Min field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AttributeDisplay) GetMinOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetMinOk() (*float64, bool)
GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AttributeDisplay) GetPrecision ¶ added in v2.5.3
func (o *AttributeDisplay) GetPrecision() int64
GetPrecision returns the Precision field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AttributeDisplay) GetPrecisionOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetPrecisionOk() (*int64, bool)
GetPrecisionOk returns a tuple with the Precision field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AttributeDisplay) GetSequence ¶ added in v2.5.3
func (o *AttributeDisplay) GetSequence() int64
GetSequence returns the Sequence field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AttributeDisplay) GetSequenceOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetSequenceOk() (*int64, bool)
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AttributeDisplay) GetSubtype ¶ added in v2.5.3
func (o *AttributeDisplay) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*AttributeDisplay) GetSubtypeOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*AttributeDisplay) GetUnit ¶ added in v2.5.3
func (o *AttributeDisplay) GetUnit() string
GetUnit returns the Unit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AttributeDisplay) GetUnitOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AttributeDisplay) GetViewer ¶ added in v2.5.3
func (o *AttributeDisplay) GetViewer() bool
GetViewer returns the Viewer field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AttributeDisplay) GetViewerOk ¶ added in v2.5.3
func (o *AttributeDisplay) GetViewerOk() (*bool, bool)
GetViewerOk returns a tuple with the Viewer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AttributeDisplay) HasAr ¶ added in v2.5.3
func (o *AttributeDisplay) HasAr() bool
HasAr returns a boolean if a field has been set.
func (*AttributeDisplay) HasMap ¶ added in v2.5.3
func (o *AttributeDisplay) HasMap() bool
HasMap returns a boolean if a field has been set.
func (*AttributeDisplay) HasMax ¶ added in v2.5.3
func (o *AttributeDisplay) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*AttributeDisplay) HasMin ¶ added in v2.5.3
func (o *AttributeDisplay) HasMin() bool
HasMin returns a boolean if a field has been set.
func (*AttributeDisplay) HasPrecision ¶ added in v2.5.3
func (o *AttributeDisplay) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (*AttributeDisplay) HasSequence ¶ added in v2.5.3
func (o *AttributeDisplay) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (*AttributeDisplay) HasUnit ¶ added in v2.5.3
func (o *AttributeDisplay) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (*AttributeDisplay) HasViewer ¶ added in v2.5.3
func (o *AttributeDisplay) HasViewer() bool
HasViewer returns a boolean if a field has been set.
func (AttributeDisplay) MarshalJSON ¶ added in v2.5.3
func (o AttributeDisplay) MarshalJSON() ([]byte, error)
func (*AttributeDisplay) SetAr ¶ added in v2.5.3
func (o *AttributeDisplay) SetAr(v bool)
SetAr gets a reference to the given NullableBool and assigns it to the Ar field.
func (*AttributeDisplay) SetArNil ¶ added in v2.5.3
func (o *AttributeDisplay) SetArNil()
SetArNil sets the value for Ar to be an explicit nil
func (*AttributeDisplay) SetAssetId ¶ added in v2.5.3
func (o *AttributeDisplay) SetAssetId(v int32)
SetAssetId sets field value
func (*AttributeDisplay) SetAttribute ¶ added in v2.5.3
func (o *AttributeDisplay) SetAttribute(v string)
SetAttribute sets field value
func (*AttributeDisplay) SetMap ¶ added in v2.5.3
func (o *AttributeDisplay) SetMap(v []map[string]interface{})
SetMap gets a reference to the given []map[string]interface{} and assigns it to the Map field.
func (*AttributeDisplay) SetMax ¶ added in v2.5.3
func (o *AttributeDisplay) SetMax(v float64)
SetMax gets a reference to the given NullableFloat64 and assigns it to the Max field.
func (*AttributeDisplay) SetMaxNil ¶ added in v2.5.3
func (o *AttributeDisplay) SetMaxNil()
SetMaxNil sets the value for Max to be an explicit nil
func (*AttributeDisplay) SetMin ¶ added in v2.5.3
func (o *AttributeDisplay) SetMin(v float64)
SetMin gets a reference to the given NullableFloat64 and assigns it to the Min field.
func (*AttributeDisplay) SetMinNil ¶ added in v2.5.3
func (o *AttributeDisplay) SetMinNil()
SetMinNil sets the value for Min to be an explicit nil
func (*AttributeDisplay) SetPrecision ¶ added in v2.5.3
func (o *AttributeDisplay) SetPrecision(v int64)
SetPrecision gets a reference to the given NullableInt64 and assigns it to the Precision field.
func (*AttributeDisplay) SetPrecisionNil ¶ added in v2.5.3
func (o *AttributeDisplay) SetPrecisionNil()
SetPrecisionNil sets the value for Precision to be an explicit nil
func (*AttributeDisplay) SetSequence ¶ added in v2.5.3
func (o *AttributeDisplay) SetSequence(v int64)
SetSequence gets a reference to the given NullableInt64 and assigns it to the Sequence field.
func (*AttributeDisplay) SetSequenceNil ¶ added in v2.5.3
func (o *AttributeDisplay) SetSequenceNil()
SetSequenceNil sets the value for Sequence to be an explicit nil
func (*AttributeDisplay) SetSubtype ¶ added in v2.5.3
func (o *AttributeDisplay) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (*AttributeDisplay) SetUnit ¶ added in v2.5.3
func (o *AttributeDisplay) SetUnit(v string)
SetUnit gets a reference to the given NullableString and assigns it to the Unit field.
func (*AttributeDisplay) SetUnitNil ¶ added in v2.5.3
func (o *AttributeDisplay) SetUnitNil()
SetUnitNil sets the value for Unit to be an explicit nil
func (*AttributeDisplay) SetViewer ¶ added in v2.5.3
func (o *AttributeDisplay) SetViewer(v bool)
SetViewer gets a reference to the given NullableBool and assigns it to the Viewer field.
func (*AttributeDisplay) SetViewerNil ¶ added in v2.5.3
func (o *AttributeDisplay) SetViewerNil()
SetViewerNil sets the value for Viewer to be an explicit nil
func (AttributeDisplay) ToMap ¶ added in v2.5.3
func (o AttributeDisplay) ToMap() (map[string]interface{}, error)
func (*AttributeDisplay) UnmarshalJSON ¶ added in v2.5.9
func (o *AttributeDisplay) UnmarshalJSON(data []byte) (err error)
func (*AttributeDisplay) UnsetAr ¶ added in v2.5.3
func (o *AttributeDisplay) UnsetAr()
UnsetAr ensures that no value is present for Ar, not even an explicit nil
func (*AttributeDisplay) UnsetMax ¶ added in v2.5.3
func (o *AttributeDisplay) UnsetMax()
UnsetMax ensures that no value is present for Max, not even an explicit nil
func (*AttributeDisplay) UnsetMin ¶ added in v2.5.3
func (o *AttributeDisplay) UnsetMin()
UnsetMin ensures that no value is present for Min, not even an explicit nil
func (*AttributeDisplay) UnsetPrecision ¶ added in v2.5.3
func (o *AttributeDisplay) UnsetPrecision()
UnsetPrecision ensures that no value is present for Precision, not even an explicit nil
func (*AttributeDisplay) UnsetSequence ¶ added in v2.5.3
func (o *AttributeDisplay) UnsetSequence()
UnsetSequence ensures that no value is present for Sequence, not even an explicit nil
func (*AttributeDisplay) UnsetUnit ¶ added in v2.5.3
func (o *AttributeDisplay) UnsetUnit()
UnsetUnit ensures that no value is present for Unit, not even an explicit nil
func (*AttributeDisplay) UnsetViewer ¶ added in v2.5.3
func (o *AttributeDisplay) UnsetViewer()
UnsetViewer ensures that no value is present for Viewer, not even an explicit nil
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 CalculationRule ¶ added in v2.6.11
type CalculationRule struct { // The id of the rule Id NullableInt32 `json:"id,omitempty"` // ID of the corresponding asset AssetId int32 `json:"assetId"` Subtype DataSubtype `json:"subtype"` // Name of the attribute of the asset type to be calculated Attribute string `json:"attribute"` // Is the calculation attribute virtual or not Virtual NullableBool `json:"virtual,omitempty"` // calculation rule to calculate the value for the attribute Formula NullableString `json:"formula,omitempty"` // Physical unit of calculated data Unit NullableString `json:"unit,omitempty"` // Filter definition for calculation rule Filter map[string]interface{} `json:"filter,omitempty"` }
CalculationRule Calculation rule to calculate asset attribute data
func NewCalculationRule ¶ added in v2.6.11
func NewCalculationRule(assetId int32, subtype DataSubtype, attribute string) *CalculationRule
NewCalculationRule instantiates a new CalculationRule 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 NewCalculationRuleWithDefaults ¶ added in v2.6.11
func NewCalculationRuleWithDefaults() *CalculationRule
NewCalculationRuleWithDefaults instantiates a new CalculationRule 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 (*CalculationRule) GetAssetId ¶ added in v2.6.11
func (o *CalculationRule) GetAssetId() int32
GetAssetId returns the AssetId field value
func (*CalculationRule) GetAssetIdOk ¶ added in v2.6.11
func (o *CalculationRule) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*CalculationRule) GetAttribute ¶ added in v2.6.11
func (o *CalculationRule) GetAttribute() string
GetAttribute returns the Attribute field value
func (*CalculationRule) GetAttributeOk ¶ added in v2.6.11
func (o *CalculationRule) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.
func (*CalculationRule) GetFilter ¶ added in v2.6.11
func (o *CalculationRule) GetFilter() map[string]interface{}
GetFilter returns the Filter field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CalculationRule) GetFilterOk ¶ added in v2.6.11
func (o *CalculationRule) GetFilterOk() (map[string]interface{}, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CalculationRule) GetFormula ¶ added in v2.6.11
func (o *CalculationRule) GetFormula() string
GetFormula returns the Formula field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CalculationRule) GetFormulaOk ¶ added in v2.6.11
func (o *CalculationRule) GetFormulaOk() (*string, bool)
GetFormulaOk returns a tuple with the Formula field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CalculationRule) GetId ¶ added in v2.6.11
func (o *CalculationRule) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CalculationRule) GetIdOk ¶ added in v2.6.11
func (o *CalculationRule) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CalculationRule) GetSubtype ¶ added in v2.6.11
func (o *CalculationRule) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*CalculationRule) GetSubtypeOk ¶ added in v2.6.11
func (o *CalculationRule) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*CalculationRule) GetUnit ¶ added in v2.6.11
func (o *CalculationRule) GetUnit() string
GetUnit returns the Unit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CalculationRule) GetUnitOk ¶ added in v2.6.11
func (o *CalculationRule) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CalculationRule) GetVirtual ¶ added in v2.6.11
func (o *CalculationRule) GetVirtual() bool
GetVirtual returns the Virtual field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CalculationRule) GetVirtualOk ¶ added in v2.6.11
func (o *CalculationRule) GetVirtualOk() (*bool, bool)
GetVirtualOk returns a tuple with the Virtual field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CalculationRule) HasFilter ¶ added in v2.6.11
func (o *CalculationRule) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*CalculationRule) HasFormula ¶ added in v2.6.11
func (o *CalculationRule) HasFormula() bool
HasFormula returns a boolean if a field has been set.
func (*CalculationRule) HasId ¶ added in v2.6.11
func (o *CalculationRule) HasId() bool
HasId returns a boolean if a field has been set.
func (*CalculationRule) HasUnit ¶ added in v2.6.11
func (o *CalculationRule) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (*CalculationRule) HasVirtual ¶ added in v2.6.11
func (o *CalculationRule) HasVirtual() bool
HasVirtual returns a boolean if a field has been set.
func (CalculationRule) MarshalJSON ¶ added in v2.6.11
func (o CalculationRule) MarshalJSON() ([]byte, error)
func (*CalculationRule) SetAssetId ¶ added in v2.6.11
func (o *CalculationRule) SetAssetId(v int32)
SetAssetId sets field value
func (*CalculationRule) SetAttribute ¶ added in v2.6.11
func (o *CalculationRule) SetAttribute(v string)
SetAttribute sets field value
func (*CalculationRule) SetFilter ¶ added in v2.6.11
func (o *CalculationRule) SetFilter(v map[string]interface{})
SetFilter gets a reference to the given map[string]interface{} and assigns it to the Filter field.
func (*CalculationRule) SetFormula ¶ added in v2.6.11
func (o *CalculationRule) SetFormula(v string)
SetFormula gets a reference to the given NullableString and assigns it to the Formula field.
func (*CalculationRule) SetFormulaNil ¶ added in v2.6.11
func (o *CalculationRule) SetFormulaNil()
SetFormulaNil sets the value for Formula to be an explicit nil
func (*CalculationRule) SetId ¶ added in v2.6.11
func (o *CalculationRule) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*CalculationRule) SetIdNil ¶ added in v2.6.11
func (o *CalculationRule) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*CalculationRule) SetSubtype ¶ added in v2.6.11
func (o *CalculationRule) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (*CalculationRule) SetUnit ¶ added in v2.6.11
func (o *CalculationRule) SetUnit(v string)
SetUnit gets a reference to the given NullableString and assigns it to the Unit field.
func (*CalculationRule) SetUnitNil ¶ added in v2.6.11
func (o *CalculationRule) SetUnitNil()
SetUnitNil sets the value for Unit to be an explicit nil
func (*CalculationRule) SetVirtual ¶ added in v2.6.11
func (o *CalculationRule) SetVirtual(v bool)
SetVirtual gets a reference to the given NullableBool and assigns it to the Virtual field.
func (*CalculationRule) SetVirtualNil ¶ added in v2.6.11
func (o *CalculationRule) SetVirtualNil()
SetVirtualNil sets the value for Virtual to be an explicit nil
func (CalculationRule) ToMap ¶ added in v2.6.11
func (o CalculationRule) ToMap() (map[string]interface{}, error)
func (*CalculationRule) UnmarshalJSON ¶ added in v2.6.11
func (o *CalculationRule) UnmarshalJSON(data []byte) (err error)
func (*CalculationRule) UnsetFormula ¶ added in v2.6.11
func (o *CalculationRule) UnsetFormula()
UnsetFormula ensures that no value is present for Formula, not even an explicit nil
func (*CalculationRule) UnsetId ¶ added in v2.6.11
func (o *CalculationRule) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*CalculationRule) UnsetUnit ¶ added in v2.6.11
func (o *CalculationRule) UnsetUnit()
UnsetUnit ensures that no value is present for Unit, not even an explicit nil
func (*CalculationRule) UnsetVirtual ¶ added in v2.6.11
func (o *CalculationRule) UnsetVirtual()
UnsetVirtual ensures that no value is present for Virtual, not even an explicit nil
type CalculationRulesAPIService ¶ added in v2.6.11
type CalculationRulesAPIService service
CalculationRulesAPIService CalculationRulesAPI service
func (*CalculationRulesAPIService) DeleteCalculationRuleById ¶ added in v2.6.11
func (a *CalculationRulesAPIService) DeleteCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiDeleteCalculationRuleByIdRequest
DeleteCalculationRuleById Delete a calculation rule
Deletes a calculation rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param calculationRuleId The id of the calculation rule @return ApiDeleteCalculationRuleByIdRequest
func (*CalculationRulesAPIService) DeleteCalculationRuleByIdExecute ¶ added in v2.6.11
func (a *CalculationRulesAPIService) DeleteCalculationRuleByIdExecute(r ApiDeleteCalculationRuleByIdRequest) (*http.Response, error)
Execute executes the request
func (*CalculationRulesAPIService) GetCalculationRuleById ¶ added in v2.6.11
func (a *CalculationRulesAPIService) GetCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiGetCalculationRuleByIdRequest
GetCalculationRuleById Information about a calculation rules rule
Gets information about a calculation rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param calculationRuleId The id of the calculation rule @return ApiGetCalculationRuleByIdRequest
func (*CalculationRulesAPIService) GetCalculationRuleByIdExecute ¶ added in v2.6.11
func (a *CalculationRulesAPIService) GetCalculationRuleByIdExecute(r ApiGetCalculationRuleByIdRequest) (*CalculationRule, *http.Response, error)
Execute executes the request
@return CalculationRule
func (*CalculationRulesAPIService) GetCalculationRules ¶ added in v2.6.11
func (a *CalculationRulesAPIService) GetCalculationRules(ctx context.Context) ApiGetCalculationRulesRequest
GetCalculationRules Information about calculation rules
Gets information about calculation rules.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCalculationRulesRequest
func (*CalculationRulesAPIService) GetCalculationRulesExecute ¶ added in v2.6.11
func (a *CalculationRulesAPIService) GetCalculationRulesExecute(r ApiGetCalculationRulesRequest) ([]CalculationRule, *http.Response, error)
Execute executes the request
@return []CalculationRule
func (*CalculationRulesAPIService) PutCalculationRule ¶ added in v2.6.11
func (a *CalculationRulesAPIService) PutCalculationRule(ctx context.Context) ApiPutCalculationRuleRequest
PutCalculationRule Creates or updates a calculation rule
Creates a new or updates an existing calculation rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutCalculationRuleRequest
func (*CalculationRulesAPIService) PutCalculationRuleById ¶ added in v2.6.11
func (a *CalculationRulesAPIService) PutCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiPutCalculationRuleByIdRequest
PutCalculationRuleById Update a calculation rule
Update a calculation rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param calculationRuleId The id of the calculation rule @return ApiPutCalculationRuleByIdRequest
func (*CalculationRulesAPIService) PutCalculationRuleByIdExecute ¶ added in v2.6.11
func (a *CalculationRulesAPIService) PutCalculationRuleByIdExecute(r ApiPutCalculationRuleByIdRequest) (*CalculationRule, *http.Response, error)
Execute executes the request
@return CalculationRule
func (*CalculationRulesAPIService) PutCalculationRuleExecute ¶ added in v2.6.11
func (a *CalculationRulesAPIService) PutCalculationRuleExecute(r ApiPutCalculationRuleRequest) (*CalculationRule, *http.Response, error)
Execute executes the request
@return CalculationRule
type CommunicationAPIService ¶ added in v2.5.3
type CommunicationAPIService service
CommunicationAPIService CommunicationAPI service
func (*CommunicationAPIService) GetMessageReceiptById ¶ added in v2.5.3
func (a *CommunicationAPIService) GetMessageReceiptById(ctx context.Context, messageId string) ApiGetMessageReceiptByIdRequest
GetMessageReceiptById Information about a message
Gets receipt information for a message.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param messageId The id of the message @return ApiGetMessageReceiptByIdRequest
func (*CommunicationAPIService) GetMessageReceiptByIdExecute ¶ added in v2.5.3
func (a *CommunicationAPIService) GetMessageReceiptByIdExecute(r ApiGetMessageReceiptByIdRequest) (*MessageReceipt, *http.Response, error)
Execute executes the request
@return MessageReceipt
func (*CommunicationAPIService) PostMail ¶ added in v2.5.3
func (a *CommunicationAPIService) PostMail(ctx context.Context) ApiPostMailRequest
PostMail Send e-mail
Sends an e-mail to recipients
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostMailRequest
func (*CommunicationAPIService) PostMailExecute ¶ added in v2.5.3
func (a *CommunicationAPIService) PostMailExecute(r ApiPostMailRequest) (*MessageReceipt, *http.Response, error)
Execute executes the request
@return MessageReceipt
func (*CommunicationAPIService) PostNotification ¶ added in v2.5.3
func (a *CommunicationAPIService) PostNotification(ctx context.Context) ApiPostNotificationRequest
PostNotification Send notification
Sends a notification to Eliona users
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostNotificationRequest
func (*CommunicationAPIService) PostNotificationExecute ¶ added in v2.5.3
func (a *CommunicationAPIService) PostNotificationExecute(r ApiPostNotificationRequest) (*MessageReceipt, *http.Response, error)
Execute executes the request
@return MessageReceipt
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 Dashboard ¶
type Dashboard struct { // The internal Id of dashboard Id NullableInt32 `json:"id,omitempty"` // The name for this dashboard Name string `json:"name"` // ID of the project to which the dashboard belongs ProjectId string `json:"projectId"` // ID of the user who owns the dashboard UserId string `json:"userId"` // The sequence of the dashboard // Deprecated Sequence NullableInt32 `json:"sequence,omitempty"` // List of widgets on this dashboard (order matches the order of widgets on the dashboard) Widgets []Widget `json:"widgets,omitempty"` // Is the dashboard public and not bound to a dedicated user Public NullableBool `json:"public,omitempty"` }
Dashboard A frontend dashboard
func NewDashboard ¶
NewDashboard instantiates a new Dashboard 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 NewDashboardWithDefaults ¶
func NewDashboardWithDefaults() *Dashboard
NewDashboardWithDefaults instantiates a new Dashboard 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 (*Dashboard) GetId ¶
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Dashboard) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Dashboard) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Dashboard) GetProjectId ¶
GetProjectId returns the ProjectId field value
func (*Dashboard) GetProjectIdOk ¶
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*Dashboard) GetPublic ¶ added in v2.6.8
GetPublic returns the Public field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Dashboard) GetPublicOk ¶ added in v2.6.8
GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Dashboard) GetSequence ¶
GetSequence returns the Sequence field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*Dashboard) GetSequenceOk ¶
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*Dashboard) GetUserIdOk ¶
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (*Dashboard) GetWidgets ¶
GetWidgets returns the Widgets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Dashboard) GetWidgetsOk ¶
GetWidgetsOk returns a tuple with the Widgets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Dashboard) HasSequence ¶
HasSequence returns a boolean if a field has been set.
func (*Dashboard) HasWidgets ¶
HasWidgets returns a boolean if a field has been set.
func (Dashboard) MarshalJSON ¶
func (*Dashboard) SetId ¶
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*Dashboard) SetIdNil ¶
func (o *Dashboard) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*Dashboard) SetProjectId ¶
SetProjectId sets field value
func (*Dashboard) SetPublic ¶ added in v2.6.8
SetPublic gets a reference to the given NullableBool and assigns it to the Public field.
func (*Dashboard) SetPublicNil ¶ added in v2.6.8
func (o *Dashboard) SetPublicNil()
SetPublicNil sets the value for Public to be an explicit nil
func (*Dashboard) SetSequence ¶
SetSequence gets a reference to the given NullableInt32 and assigns it to the Sequence field. Deprecated
func (*Dashboard) SetSequenceNil ¶
func (o *Dashboard) SetSequenceNil()
SetSequenceNil sets the value for Sequence to be an explicit nil
func (*Dashboard) SetWidgets ¶
SetWidgets gets a reference to the given []Widget and assigns it to the Widgets field.
func (*Dashboard) UnmarshalJSON ¶ added in v2.5.9
func (*Dashboard) UnsetId ¶
func (o *Dashboard) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*Dashboard) UnsetPublic ¶ added in v2.6.8
func (o *Dashboard) UnsetPublic()
UnsetPublic ensures that no value is present for Public, not even an explicit nil
func (*Dashboard) UnsetSequence ¶
func (o *Dashboard) UnsetSequence()
UnsetSequence ensures that no value is present for Sequence, not even an explicit nil
type DashboardsAPIService ¶ added in v2.5.3
type DashboardsAPIService service
DashboardsAPIService DashboardsAPI service
func (*DashboardsAPIService) GetDashboardById ¶ added in v2.5.3
func (a *DashboardsAPIService) GetDashboardById(ctx context.Context, dashboardId int32) ApiGetDashboardByIdRequest
GetDashboardById Information about a dashboard
Gets information about a dashboard.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param dashboardId The id of the dashboard @return ApiGetDashboardByIdRequest
func (*DashboardsAPIService) GetDashboardByIdExecute ¶ added in v2.5.3
func (a *DashboardsAPIService) GetDashboardByIdExecute(r ApiGetDashboardByIdRequest) (*Dashboard, *http.Response, error)
Execute executes the request
@return Dashboard
func (*DashboardsAPIService) GetDashboards ¶ added in v2.5.3
func (a *DashboardsAPIService) GetDashboards(ctx context.Context) ApiGetDashboardsRequest
GetDashboards Information about dashboards
Gets a list of dashboards
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDashboardsRequest
func (*DashboardsAPIService) GetDashboardsExecute ¶ added in v2.5.3
func (a *DashboardsAPIService) GetDashboardsExecute(r ApiGetDashboardsRequest) ([]Dashboard, *http.Response, error)
Execute executes the request
@return []Dashboard
func (*DashboardsAPIService) PostDashboard ¶ added in v2.5.3
func (a *DashboardsAPIService) PostDashboard(ctx context.Context) ApiPostDashboardRequest
PostDashboard Creates a new dashboard
Create a new dashboard for frontend
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostDashboardRequest
func (*DashboardsAPIService) PostDashboardExecute ¶ added in v2.5.3
func (a *DashboardsAPIService) PostDashboardExecute(r ApiPostDashboardRequest) (*Dashboard, *http.Response, error)
Execute executes the request
@return Dashboard
type Data ¶
type Data struct { // ID of the corresponding asset AssetId int32 `json:"assetId"` Subtype DataSubtype `json:"subtype"` // Timestamp of the latest data change Timestamp NullableTime `json:"timestamp,omitempty"` // Asset payload Data map[string]interface{} `json:"data"` // The name of the corresponding asset type AssetTypeName NullableString `json:"assetTypeName,omitempty"` // freely assignable by the client to identify self-created data ClientReference NullableString `json:"clientReference,omitempty"` }
Data Data for assets
func NewData ¶
func NewData(assetId int32, subtype DataSubtype, data map[string]interface{}) *Data
NewData instantiates a new Data 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 NewDataWithDefaults ¶
func NewDataWithDefaults() *Data
NewDataWithDefaults instantiates a new Data 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 (*Data) GetAssetId ¶
GetAssetId returns the AssetId field value
func (*Data) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*Data) GetAssetTypeName ¶
GetAssetTypeName returns the AssetTypeName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Data) GetAssetTypeNameOk ¶
GetAssetTypeNameOk returns a tuple with the AssetTypeName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Data) GetClientReference ¶ added in v2.5.5
GetClientReference returns the ClientReference field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Data) GetClientReferenceOk ¶ added in v2.5.5
GetClientReferenceOk returns a tuple with the ClientReference field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Data) GetDataOk ¶
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*Data) GetSubtype ¶
func (o *Data) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*Data) GetSubtypeOk ¶
func (o *Data) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*Data) GetTimestamp ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Data) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Data) HasAssetTypeName ¶
HasAssetTypeName returns a boolean if a field has been set.
func (*Data) HasClientReference ¶ added in v2.5.5
HasClientReference returns a boolean if a field has been set.
func (*Data) HasTimestamp ¶
HasTimestamp returns a boolean if a field has been set.
func (Data) MarshalJSON ¶
func (*Data) SetAssetTypeName ¶
SetAssetTypeName gets a reference to the given NullableString and assigns it to the AssetTypeName field.
func (*Data) SetAssetTypeNameNil ¶
func (o *Data) SetAssetTypeNameNil()
SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil
func (*Data) SetClientReference ¶ added in v2.5.5
SetClientReference gets a reference to the given NullableString and assigns it to the ClientReference field.
func (*Data) SetClientReferenceNil ¶ added in v2.5.5
func (o *Data) SetClientReferenceNil()
SetClientReferenceNil sets the value for ClientReference to be an explicit nil
func (*Data) SetTimestamp ¶
SetTimestamp gets a reference to the given NullableTime and assigns it to the Timestamp field.
func (*Data) SetTimestampNil ¶
func (o *Data) SetTimestampNil()
SetTimestampNil sets the value for Timestamp to be an explicit nil
func (*Data) UnmarshalJSON ¶ added in v2.5.9
func (*Data) UnsetAssetTypeName ¶
func (o *Data) UnsetAssetTypeName()
UnsetAssetTypeName ensures that no value is present for AssetTypeName, not even an explicit nil
func (*Data) UnsetClientReference ¶ added in v2.5.5
func (o *Data) UnsetClientReference()
UnsetClientReference ensures that no value is present for ClientReference, not even an explicit nil
func (*Data) UnsetTimestamp ¶
func (o *Data) UnsetTimestamp()
UnsetTimestamp ensures that no value is present for Timestamp, not even an explicit nil
type DataAPIService ¶ added in v2.5.3
type DataAPIService service
DataAPIService DataAPI service
func (*DataAPIService) GetData ¶ added in v2.5.3
func (a *DataAPIService) GetData(ctx context.Context) ApiGetDataRequest
GetData Gets all data
Gets information about data for assets.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDataRequest
func (*DataAPIService) GetDataAggregated ¶ added in v2.5.3
func (a *DataAPIService) GetDataAggregated(ctx context.Context) ApiGetDataAggregatedRequest
GetDataAggregated Get aggregated data
Gets aggregated data sets which combines a set of data points for a defined periodical raster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDataAggregatedRequest
func (*DataAPIService) GetDataAggregatedExecute ¶ added in v2.5.3
func (a *DataAPIService) GetDataAggregatedExecute(r ApiGetDataAggregatedRequest) ([]DataAggregated, *http.Response, error)
Execute executes the request
@return []DataAggregated
func (*DataAPIService) GetDataExecute ¶ added in v2.5.3
func (a *DataAPIService) GetDataExecute(r ApiGetDataRequest) ([]Data, *http.Response, error)
Execute executes the request
@return []Data
func (*DataAPIService) GetDataTrends ¶ added in v2.5.3
func (a *DataAPIService) GetDataTrends(ctx context.Context) ApiGetDataTrendsRequest
GetDataTrends Get trend of historical data
Gets trend information about historical data for assets.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDataTrendsRequest
func (*DataAPIService) GetDataTrendsExecute ¶ added in v2.5.3
func (a *DataAPIService) GetDataTrendsExecute(r ApiGetDataTrendsRequest) ([]Data, *http.Response, error)
Execute executes the request
@return []Data
func (*DataAPIService) ListenData ¶ added in v2.5.3
func (a *DataAPIService) ListenData(ctx context.Context) ApiListenDataRequest
ListenData WebSocket connection for asset data changes
Open a WebSocket connection to get informed when new asset data is written or anything changes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListenDataRequest
func (*DataAPIService) ListenDataExecute ¶ added in v2.5.3
func (a *DataAPIService) ListenDataExecute(r ApiListenDataRequest) (*DataListen, *http.Response, error)
Execute executes the request
@return DataListen
func (*DataAPIService) PutBulkData ¶ added in v2.5.3
func (a *DataAPIService) PutBulkData(ctx context.Context) ApiPutBulkDataRequest
PutBulkData Create or update multiple asset data
Create multiple asset data or update data if already exists. Uses the unique combination of asset id and subtype for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutBulkDataRequest
func (*DataAPIService) PutBulkDataExecute ¶ added in v2.5.3
func (a *DataAPIService) PutBulkDataExecute(r ApiPutBulkDataRequest) (*http.Response, error)
Execute executes the request
func (*DataAPIService) PutData ¶ added in v2.5.3
func (a *DataAPIService) PutData(ctx context.Context) ApiPutDataRequest
PutData Create or update asset data
Create new asset data or update data if already exists. Uses the unique combination of asset id and subtype for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutDataRequest
func (*DataAPIService) PutDataExecute ¶ added in v2.5.3
func (a *DataAPIService) PutDataExecute(r ApiPutDataRequest) (*http.Response, error)
Execute executes the request
type DataAggregated ¶
type DataAggregated struct { // ID of the aggregation AggregationId *int32 `json:"aggregationId,omitempty"` // ID of the corresponding asset AssetId int32 `json:"assetId"` Subtype DataSubtype `json:"subtype"` // Name of the attribute which holds the data points Attribute *string `json:"attribute,omitempty"` // Calculation intervals. Raster string `json:"raster"` // Timestamp of this aggregated data set. The timestamp when the timeslot based on raster starts. Timestamp NullableTime `json:"timestamp,omitempty"` // Count of data points in this aggregated data set Count NullableFloat64 `json:"count,omitempty"` // Average of all data points for this aggregated data set Average NullableFloat64 `json:"average,omitempty"` // Sum of all data points for this aggregated data set Sum NullableFloat64 `json:"sum,omitempty"` // First data point in this aggregated data set First NullableFloat64 `json:"first,omitempty"` // Data point with the most minimal value in this aggregated data set Min NullableFloat64 `json:"min,omitempty"` // Data point with the most maximal value in this aggregated data set Max NullableFloat64 `json:"max,omitempty"` // Latest data point in this aggregated data set Last NullableFloat64 `json:"last,omitempty"` // Timestamp of the latest data point LastTimestamp NullableTime `json:"lastTimestamp,omitempty"` // The name of the corresponding asset type AssetTypeName NullableString `json:"assetTypeName,omitempty"` }
DataAggregated Aggregated data combines multiple data points for a periodical raster
func NewDataAggregated ¶
func NewDataAggregated(assetId int32, subtype DataSubtype, raster string) *DataAggregated
NewDataAggregated instantiates a new DataAggregated 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 NewDataAggregatedWithDefaults ¶
func NewDataAggregatedWithDefaults() *DataAggregated
NewDataAggregatedWithDefaults instantiates a new DataAggregated 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 (*DataAggregated) GetAggregationId ¶
func (o *DataAggregated) GetAggregationId() int32
GetAggregationId returns the AggregationId field value if set, zero value otherwise.
func (*DataAggregated) GetAggregationIdOk ¶
func (o *DataAggregated) GetAggregationIdOk() (*int32, bool)
GetAggregationIdOk returns a tuple with the AggregationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataAggregated) GetAssetId ¶
func (o *DataAggregated) GetAssetId() int32
GetAssetId returns the AssetId field value
func (*DataAggregated) GetAssetIdOk ¶
func (o *DataAggregated) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*DataAggregated) GetAssetTypeName ¶
func (o *DataAggregated) GetAssetTypeName() string
GetAssetTypeName returns the AssetTypeName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetAssetTypeNameOk ¶
func (o *DataAggregated) GetAssetTypeNameOk() (*string, bool)
GetAssetTypeNameOk returns a tuple with the AssetTypeName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetAttribute ¶
func (o *DataAggregated) GetAttribute() string
GetAttribute returns the Attribute field value if set, zero value otherwise.
func (*DataAggregated) GetAttributeOk ¶
func (o *DataAggregated) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataAggregated) GetAverage ¶
func (o *DataAggregated) GetAverage() float64
GetAverage returns the Average field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetAverageOk ¶
func (o *DataAggregated) GetAverageOk() (*float64, bool)
GetAverageOk returns a tuple with the Average field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetCount ¶
func (o *DataAggregated) GetCount() float64
GetCount returns the Count field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetCountOk ¶
func (o *DataAggregated) GetCountOk() (*float64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetFirst ¶
func (o *DataAggregated) GetFirst() float64
GetFirst returns the First field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetFirstOk ¶
func (o *DataAggregated) GetFirstOk() (*float64, bool)
GetFirstOk returns a tuple with the First field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetLast ¶
func (o *DataAggregated) GetLast() float64
GetLast returns the Last field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetLastOk ¶
func (o *DataAggregated) GetLastOk() (*float64, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetLastTimestamp ¶
func (o *DataAggregated) GetLastTimestamp() time.Time
GetLastTimestamp returns the LastTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetLastTimestampOk ¶
func (o *DataAggregated) GetLastTimestampOk() (*time.Time, bool)
GetLastTimestampOk returns a tuple with the LastTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetMax ¶
func (o *DataAggregated) GetMax() float64
GetMax returns the Max field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetMaxOk ¶
func (o *DataAggregated) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetMin ¶
func (o *DataAggregated) GetMin() float64
GetMin returns the Min field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetMinOk ¶
func (o *DataAggregated) GetMinOk() (*float64, bool)
GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetRaster ¶
func (o *DataAggregated) GetRaster() string
GetRaster returns the Raster field value
func (*DataAggregated) GetRasterOk ¶
func (o *DataAggregated) GetRasterOk() (*string, bool)
GetRasterOk returns a tuple with the Raster field value and a boolean to check if the value has been set.
func (*DataAggregated) GetSubtype ¶
func (o *DataAggregated) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*DataAggregated) GetSubtypeOk ¶
func (o *DataAggregated) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*DataAggregated) GetSum ¶
func (o *DataAggregated) GetSum() float64
GetSum returns the Sum field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetSumOk ¶
func (o *DataAggregated) GetSumOk() (*float64, bool)
GetSumOk returns a tuple with the Sum field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) GetTimestamp ¶
func (o *DataAggregated) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataAggregated) GetTimestampOk ¶
func (o *DataAggregated) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataAggregated) HasAggregationId ¶
func (o *DataAggregated) HasAggregationId() bool
HasAggregationId returns a boolean if a field has been set.
func (*DataAggregated) HasAssetTypeName ¶
func (o *DataAggregated) HasAssetTypeName() bool
HasAssetTypeName returns a boolean if a field has been set.
func (*DataAggregated) HasAttribute ¶
func (o *DataAggregated) HasAttribute() bool
HasAttribute returns a boolean if a field has been set.
func (*DataAggregated) HasAverage ¶
func (o *DataAggregated) HasAverage() bool
HasAverage returns a boolean if a field has been set.
func (*DataAggregated) HasCount ¶
func (o *DataAggregated) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*DataAggregated) HasFirst ¶
func (o *DataAggregated) HasFirst() bool
HasFirst returns a boolean if a field has been set.
func (*DataAggregated) HasLast ¶
func (o *DataAggregated) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*DataAggregated) HasLastTimestamp ¶
func (o *DataAggregated) HasLastTimestamp() bool
HasLastTimestamp returns a boolean if a field has been set.
func (*DataAggregated) HasMax ¶
func (o *DataAggregated) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*DataAggregated) HasMin ¶
func (o *DataAggregated) HasMin() bool
HasMin returns a boolean if a field has been set.
func (*DataAggregated) HasSum ¶
func (o *DataAggregated) HasSum() bool
HasSum returns a boolean if a field has been set.
func (*DataAggregated) HasTimestamp ¶
func (o *DataAggregated) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (DataAggregated) MarshalJSON ¶
func (o DataAggregated) MarshalJSON() ([]byte, error)
func (*DataAggregated) SetAggregationId ¶
func (o *DataAggregated) SetAggregationId(v int32)
SetAggregationId gets a reference to the given int32 and assigns it to the AggregationId field.
func (*DataAggregated) SetAssetId ¶
func (o *DataAggregated) SetAssetId(v int32)
SetAssetId sets field value
func (*DataAggregated) SetAssetTypeName ¶
func (o *DataAggregated) SetAssetTypeName(v string)
SetAssetTypeName gets a reference to the given NullableString and assigns it to the AssetTypeName field.
func (*DataAggregated) SetAssetTypeNameNil ¶
func (o *DataAggregated) SetAssetTypeNameNil()
SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil
func (*DataAggregated) SetAttribute ¶
func (o *DataAggregated) SetAttribute(v string)
SetAttribute gets a reference to the given string and assigns it to the Attribute field.
func (*DataAggregated) SetAverage ¶
func (o *DataAggregated) SetAverage(v float64)
SetAverage gets a reference to the given NullableFloat64 and assigns it to the Average field.
func (*DataAggregated) SetAverageNil ¶
func (o *DataAggregated) SetAverageNil()
SetAverageNil sets the value for Average to be an explicit nil
func (*DataAggregated) SetCount ¶
func (o *DataAggregated) SetCount(v float64)
SetCount gets a reference to the given NullableFloat64 and assigns it to the Count field.
func (*DataAggregated) SetCountNil ¶
func (o *DataAggregated) SetCountNil()
SetCountNil sets the value for Count to be an explicit nil
func (*DataAggregated) SetFirst ¶
func (o *DataAggregated) SetFirst(v float64)
SetFirst gets a reference to the given NullableFloat64 and assigns it to the First field.
func (*DataAggregated) SetFirstNil ¶
func (o *DataAggregated) SetFirstNil()
SetFirstNil sets the value for First to be an explicit nil
func (*DataAggregated) SetLast ¶
func (o *DataAggregated) SetLast(v float64)
SetLast gets a reference to the given NullableFloat64 and assigns it to the Last field.
func (*DataAggregated) SetLastNil ¶
func (o *DataAggregated) SetLastNil()
SetLastNil sets the value for Last to be an explicit nil
func (*DataAggregated) SetLastTimestamp ¶
func (o *DataAggregated) SetLastTimestamp(v time.Time)
SetLastTimestamp gets a reference to the given NullableTime and assigns it to the LastTimestamp field.
func (*DataAggregated) SetLastTimestampNil ¶
func (o *DataAggregated) SetLastTimestampNil()
SetLastTimestampNil sets the value for LastTimestamp to be an explicit nil
func (*DataAggregated) SetMax ¶
func (o *DataAggregated) SetMax(v float64)
SetMax gets a reference to the given NullableFloat64 and assigns it to the Max field.
func (*DataAggregated) SetMaxNil ¶
func (o *DataAggregated) SetMaxNil()
SetMaxNil sets the value for Max to be an explicit nil
func (*DataAggregated) SetMin ¶
func (o *DataAggregated) SetMin(v float64)
SetMin gets a reference to the given NullableFloat64 and assigns it to the Min field.
func (*DataAggregated) SetMinNil ¶
func (o *DataAggregated) SetMinNil()
SetMinNil sets the value for Min to be an explicit nil
func (*DataAggregated) SetRaster ¶
func (o *DataAggregated) SetRaster(v string)
SetRaster sets field value
func (*DataAggregated) SetSubtype ¶
func (o *DataAggregated) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (*DataAggregated) SetSum ¶
func (o *DataAggregated) SetSum(v float64)
SetSum gets a reference to the given NullableFloat64 and assigns it to the Sum field.
func (*DataAggregated) SetSumNil ¶
func (o *DataAggregated) SetSumNil()
SetSumNil sets the value for Sum to be an explicit nil
func (*DataAggregated) SetTimestamp ¶
func (o *DataAggregated) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given NullableTime and assigns it to the Timestamp field.
func (*DataAggregated) SetTimestampNil ¶
func (o *DataAggregated) SetTimestampNil()
SetTimestampNil sets the value for Timestamp to be an explicit nil
func (DataAggregated) ToMap ¶ added in v2.4.8
func (o DataAggregated) ToMap() (map[string]interface{}, error)
func (*DataAggregated) UnmarshalJSON ¶ added in v2.5.9
func (o *DataAggregated) UnmarshalJSON(data []byte) (err error)
func (*DataAggregated) UnsetAssetTypeName ¶
func (o *DataAggregated) UnsetAssetTypeName()
UnsetAssetTypeName ensures that no value is present for AssetTypeName, not even an explicit nil
func (*DataAggregated) UnsetAverage ¶
func (o *DataAggregated) UnsetAverage()
UnsetAverage ensures that no value is present for Average, not even an explicit nil
func (*DataAggregated) UnsetCount ¶
func (o *DataAggregated) UnsetCount()
UnsetCount ensures that no value is present for Count, not even an explicit nil
func (*DataAggregated) UnsetFirst ¶
func (o *DataAggregated) UnsetFirst()
UnsetFirst ensures that no value is present for First, not even an explicit nil
func (*DataAggregated) UnsetLast ¶
func (o *DataAggregated) UnsetLast()
UnsetLast ensures that no value is present for Last, not even an explicit nil
func (*DataAggregated) UnsetLastTimestamp ¶
func (o *DataAggregated) UnsetLastTimestamp()
UnsetLastTimestamp ensures that no value is present for LastTimestamp, not even an explicit nil
func (*DataAggregated) UnsetMax ¶
func (o *DataAggregated) UnsetMax()
UnsetMax ensures that no value is present for Max, not even an explicit nil
func (*DataAggregated) UnsetMin ¶
func (o *DataAggregated) UnsetMin()
UnsetMin ensures that no value is present for Min, not even an explicit nil
func (*DataAggregated) UnsetSum ¶
func (o *DataAggregated) UnsetSum()
UnsetSum ensures that no value is present for Sum, not even an explicit nil
func (*DataAggregated) UnsetTimestamp ¶
func (o *DataAggregated) UnsetTimestamp()
UnsetTimestamp ensures that no value is present for Timestamp, not even an explicit nil
type DataListen ¶ added in v2.6.0
type DataListen struct { // ID of the corresponding asset AssetId int32 `json:"assetId"` Subtype DataSubtype `json:"subtype"` // Timestamp of the latest data change Timestamp NullableTime `json:"timestamp,omitempty"` // Asset payload Data map[string]interface{} `json:"data"` // The name of the corresponding asset type AssetTypeName NullableString `json:"assetTypeName,omitempty"` // freely assignable by the client to identify self-created data ClientReference NullableString `json:"clientReference,omitempty"` // The status code expecting when actually perform the operation. Some values are - 200: updated (ok) - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable StatusCode *int32 `json:"statusCode,omitempty"` }
DataListen struct for DataListen
func NewDataListen ¶ added in v2.6.0
func NewDataListen(assetId int32, subtype DataSubtype, data map[string]interface{}) *DataListen
NewDataListen instantiates a new DataListen 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 NewDataListenWithDefaults ¶ added in v2.6.0
func NewDataListenWithDefaults() *DataListen
NewDataListenWithDefaults instantiates a new DataListen 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 (*DataListen) GetAssetId ¶ added in v2.6.0
func (o *DataListen) GetAssetId() int32
GetAssetId returns the AssetId field value
func (*DataListen) GetAssetIdOk ¶ added in v2.6.0
func (o *DataListen) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*DataListen) GetAssetTypeName ¶ added in v2.6.0
func (o *DataListen) GetAssetTypeName() string
GetAssetTypeName returns the AssetTypeName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataListen) GetAssetTypeNameOk ¶ added in v2.6.0
func (o *DataListen) GetAssetTypeNameOk() (*string, bool)
GetAssetTypeNameOk returns a tuple with the AssetTypeName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataListen) GetClientReference ¶ added in v2.6.0
func (o *DataListen) GetClientReference() string
GetClientReference returns the ClientReference field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataListen) GetClientReferenceOk ¶ added in v2.6.0
func (o *DataListen) GetClientReferenceOk() (*string, bool)
GetClientReferenceOk returns a tuple with the ClientReference field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataListen) GetData ¶ added in v2.6.0
func (o *DataListen) GetData() map[string]interface{}
GetData returns the Data field value
func (*DataListen) GetDataOk ¶ added in v2.6.0
func (o *DataListen) GetDataOk() (map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*DataListen) GetStatusCode ¶ added in v2.6.0
func (o *DataListen) GetStatusCode() int32
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*DataListen) GetStatusCodeOk ¶ added in v2.6.0
func (o *DataListen) GetStatusCodeOk() (*int32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataListen) GetSubtype ¶ added in v2.6.0
func (o *DataListen) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*DataListen) GetSubtypeOk ¶ added in v2.6.0
func (o *DataListen) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*DataListen) GetTimestamp ¶ added in v2.6.0
func (o *DataListen) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DataListen) GetTimestampOk ¶ added in v2.6.0
func (o *DataListen) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DataListen) HasAssetTypeName ¶ added in v2.6.0
func (o *DataListen) HasAssetTypeName() bool
HasAssetTypeName returns a boolean if a field has been set.
func (*DataListen) HasClientReference ¶ added in v2.6.0
func (o *DataListen) HasClientReference() bool
HasClientReference returns a boolean if a field has been set.
func (*DataListen) HasStatusCode ¶ added in v2.6.0
func (o *DataListen) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (*DataListen) HasTimestamp ¶ added in v2.6.0
func (o *DataListen) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (DataListen) MarshalJSON ¶ added in v2.6.0
func (o DataListen) MarshalJSON() ([]byte, error)
func (*DataListen) SetAssetId ¶ added in v2.6.0
func (o *DataListen) SetAssetId(v int32)
SetAssetId sets field value
func (*DataListen) SetAssetTypeName ¶ added in v2.6.0
func (o *DataListen) SetAssetTypeName(v string)
SetAssetTypeName gets a reference to the given NullableString and assigns it to the AssetTypeName field.
func (*DataListen) SetAssetTypeNameNil ¶ added in v2.6.0
func (o *DataListen) SetAssetTypeNameNil()
SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil
func (*DataListen) SetClientReference ¶ added in v2.6.0
func (o *DataListen) SetClientReference(v string)
SetClientReference gets a reference to the given NullableString and assigns it to the ClientReference field.
func (*DataListen) SetClientReferenceNil ¶ added in v2.6.0
func (o *DataListen) SetClientReferenceNil()
SetClientReferenceNil sets the value for ClientReference to be an explicit nil
func (*DataListen) SetData ¶ added in v2.6.0
func (o *DataListen) SetData(v map[string]interface{})
SetData sets field value
func (*DataListen) SetStatusCode ¶ added in v2.6.0
func (o *DataListen) SetStatusCode(v int32)
SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.
func (*DataListen) SetSubtype ¶ added in v2.6.0
func (o *DataListen) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (*DataListen) SetTimestamp ¶ added in v2.6.0
func (o *DataListen) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given NullableTime and assigns it to the Timestamp field.
func (*DataListen) SetTimestampNil ¶ added in v2.6.0
func (o *DataListen) SetTimestampNil()
SetTimestampNil sets the value for Timestamp to be an explicit nil
func (DataListen) ToMap ¶ added in v2.6.0
func (o DataListen) ToMap() (map[string]interface{}, error)
func (*DataListen) UnmarshalJSON ¶ added in v2.6.0
func (o *DataListen) UnmarshalJSON(data []byte) (err error)
func (*DataListen) UnsetAssetTypeName ¶ added in v2.6.0
func (o *DataListen) UnsetAssetTypeName()
UnsetAssetTypeName ensures that no value is present for AssetTypeName, not even an explicit nil
func (*DataListen) UnsetClientReference ¶ added in v2.6.0
func (o *DataListen) UnsetClientReference()
UnsetClientReference ensures that no value is present for ClientReference, not even an explicit nil
func (*DataListen) UnsetTimestamp ¶ added in v2.6.0
func (o *DataListen) UnsetTimestamp()
UnsetTimestamp ensures that no value is present for Timestamp, not even an explicit nil
type DataSubtype ¶
type DataSubtype string
DataSubtype Type of asset data
const ( SUBTYPE_INPUT DataSubtype = "input" SUBTYPE_INFO DataSubtype = "info" SUBTYPE_STATUS DataSubtype = "status" SUBTYPE_OUTPUT DataSubtype = "output" SUBTYPE_PROPERTY DataSubtype = "property" )
List of DataSubtype
func NewDataSubtypeFromValue ¶
func NewDataSubtypeFromValue(v string) (*DataSubtype, error)
NewDataSubtypeFromValue returns a pointer to a valid DataSubtype for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DataSubtype) IsValid ¶
func (v DataSubtype) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DataSubtype) Ptr ¶
func (v DataSubtype) Ptr() *DataSubtype
Ptr returns reference to DataSubtype value
func (*DataSubtype) UnmarshalJSON ¶
func (v *DataSubtype) UnmarshalJSON(src []byte) error
type DryRunGeneral ¶ added in v2.5.3
type DryRunGeneral struct { // Unique identifier (textual or numeric) of resources Identifier *string `json:"identifier,omitempty"` // The status code expecting when actually perform the operation. Some values are - 200: updated (ok) - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable StatusCode *int32 `json:"statusCode,omitempty"` // The error message expecting when actually perform the operation. ErrorMessage NullableString `json:"errorMessage,omitempty"` }
DryRunGeneral Information about dry run the operation
func NewDryRunGeneral ¶ added in v2.5.3
func NewDryRunGeneral() *DryRunGeneral
NewDryRunGeneral instantiates a new DryRunGeneral 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 NewDryRunGeneralWithDefaults ¶ added in v2.5.3
func NewDryRunGeneralWithDefaults() *DryRunGeneral
NewDryRunGeneralWithDefaults instantiates a new DryRunGeneral 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 (*DryRunGeneral) GetErrorMessage ¶ added in v2.5.3
func (o *DryRunGeneral) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DryRunGeneral) GetErrorMessageOk ¶ added in v2.5.3
func (o *DryRunGeneral) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DryRunGeneral) GetIdentifier ¶ added in v2.5.3
func (o *DryRunGeneral) GetIdentifier() string
GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (*DryRunGeneral) GetIdentifierOk ¶ added in v2.5.3
func (o *DryRunGeneral) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DryRunGeneral) GetStatusCode ¶ added in v2.5.3
func (o *DryRunGeneral) GetStatusCode() int32
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*DryRunGeneral) GetStatusCodeOk ¶ added in v2.5.3
func (o *DryRunGeneral) GetStatusCodeOk() (*int32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DryRunGeneral) HasErrorMessage ¶ added in v2.5.3
func (o *DryRunGeneral) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (*DryRunGeneral) HasIdentifier ¶ added in v2.5.3
func (o *DryRunGeneral) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (*DryRunGeneral) HasStatusCode ¶ added in v2.5.3
func (o *DryRunGeneral) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (DryRunGeneral) MarshalJSON ¶ added in v2.5.3
func (o DryRunGeneral) MarshalJSON() ([]byte, error)
func (*DryRunGeneral) SetErrorMessage ¶ added in v2.5.3
func (o *DryRunGeneral) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given NullableString and assigns it to the ErrorMessage field.
func (*DryRunGeneral) SetErrorMessageNil ¶ added in v2.5.3
func (o *DryRunGeneral) SetErrorMessageNil()
SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil
func (*DryRunGeneral) SetIdentifier ¶ added in v2.5.3
func (o *DryRunGeneral) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (*DryRunGeneral) SetStatusCode ¶ added in v2.5.3
func (o *DryRunGeneral) SetStatusCode(v int32)
SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.
func (DryRunGeneral) ToMap ¶ added in v2.5.3
func (o DryRunGeneral) ToMap() (map[string]interface{}, error)
func (*DryRunGeneral) UnsetErrorMessage ¶ added in v2.5.3
func (o *DryRunGeneral) UnsetErrorMessage()
UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil
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 IosysAgentDevice ¶
type IosysAgentDevice struct { Class NullableAgentClass `json:"class,omitempty"` // Unique id for the device Id NullableInt32 `json:"id,omitempty"` // The id of the agent the device belongs to AgentId NullableInt32 `json:"agentId,omitempty"` // Is the device enabled or not Enable *bool `json:"enable,omitempty"` // Port of device Port NullableInt32 `json:"port,omitempty"` // Certificate of device Certificate NullableString `json:"certificate,omitempty"` // Key for device Key NullableString `json:"key,omitempty"` // Time in seconds Timeout NullableInt32 `json:"timeout,omitempty"` // Reconnect Reconnect NullableInt32 `json:"reconnect,omitempty"` }
IosysAgentDevice struct for IosysAgentDevice
func NewIosysAgentDevice ¶
func NewIosysAgentDevice() *IosysAgentDevice
NewIosysAgentDevice instantiates a new IosysAgentDevice 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 NewIosysAgentDeviceWithDefaults ¶
func NewIosysAgentDeviceWithDefaults() *IosysAgentDevice
NewIosysAgentDeviceWithDefaults instantiates a new IosysAgentDevice 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 (*IosysAgentDevice) GetAgentId ¶
func (o *IosysAgentDevice) GetAgentId() int32
GetAgentId returns the AgentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDevice) GetAgentIdOk ¶
func (o *IosysAgentDevice) GetAgentIdOk() (*int32, bool)
GetAgentIdOk returns a tuple with the AgentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDevice) GetCertificate ¶
func (o *IosysAgentDevice) GetCertificate() string
GetCertificate returns the Certificate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDevice) GetCertificateOk ¶
func (o *IosysAgentDevice) GetCertificateOk() (*string, bool)
GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDevice) GetClass ¶
func (o *IosysAgentDevice) GetClass() AgentClass
GetClass returns the Class field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDevice) GetClassOk ¶
func (o *IosysAgentDevice) GetClassOk() (*AgentClass, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDevice) GetEnable ¶
func (o *IosysAgentDevice) GetEnable() bool
GetEnable returns the Enable field value if set, zero value otherwise.
func (*IosysAgentDevice) GetEnableOk ¶
func (o *IosysAgentDevice) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IosysAgentDevice) GetId ¶
func (o *IosysAgentDevice) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDevice) GetIdOk ¶
func (o *IosysAgentDevice) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDevice) GetKey ¶
func (o *IosysAgentDevice) GetKey() string
GetKey returns the Key field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDevice) GetKeyOk ¶
func (o *IosysAgentDevice) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDevice) GetPort ¶
func (o *IosysAgentDevice) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDevice) GetPortOk ¶
func (o *IosysAgentDevice) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDevice) GetReconnect ¶
func (o *IosysAgentDevice) GetReconnect() int32
GetReconnect returns the Reconnect field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDevice) GetReconnectOk ¶
func (o *IosysAgentDevice) GetReconnectOk() (*int32, bool)
GetReconnectOk returns a tuple with the Reconnect field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDevice) GetTimeout ¶
func (o *IosysAgentDevice) GetTimeout() int32
GetTimeout returns the Timeout field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDevice) GetTimeoutOk ¶
func (o *IosysAgentDevice) GetTimeoutOk() (*int32, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDevice) HasAgentId ¶
func (o *IosysAgentDevice) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*IosysAgentDevice) HasCertificate ¶
func (o *IosysAgentDevice) HasCertificate() bool
HasCertificate returns a boolean if a field has been set.
func (*IosysAgentDevice) HasClass ¶
func (o *IosysAgentDevice) HasClass() bool
HasClass returns a boolean if a field has been set.
func (*IosysAgentDevice) HasEnable ¶
func (o *IosysAgentDevice) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (*IosysAgentDevice) HasId ¶
func (o *IosysAgentDevice) HasId() bool
HasId returns a boolean if a field has been set.
func (*IosysAgentDevice) HasKey ¶
func (o *IosysAgentDevice) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*IosysAgentDevice) HasPort ¶
func (o *IosysAgentDevice) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*IosysAgentDevice) HasReconnect ¶
func (o *IosysAgentDevice) HasReconnect() bool
HasReconnect returns a boolean if a field has been set.
func (*IosysAgentDevice) HasTimeout ¶
func (o *IosysAgentDevice) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (IosysAgentDevice) MarshalJSON ¶
func (o IosysAgentDevice) MarshalJSON() ([]byte, error)
func (*IosysAgentDevice) SetAgentId ¶
func (o *IosysAgentDevice) SetAgentId(v int32)
SetAgentId gets a reference to the given NullableInt32 and assigns it to the AgentId field.
func (*IosysAgentDevice) SetAgentIdNil ¶
func (o *IosysAgentDevice) SetAgentIdNil()
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (*IosysAgentDevice) SetCertificate ¶
func (o *IosysAgentDevice) SetCertificate(v string)
SetCertificate gets a reference to the given NullableString and assigns it to the Certificate field.
func (*IosysAgentDevice) SetCertificateNil ¶
func (o *IosysAgentDevice) SetCertificateNil()
SetCertificateNil sets the value for Certificate to be an explicit nil
func (*IosysAgentDevice) SetClass ¶
func (o *IosysAgentDevice) SetClass(v AgentClass)
SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.
func (*IosysAgentDevice) SetClassNil ¶
func (o *IosysAgentDevice) SetClassNil()
SetClassNil sets the value for Class to be an explicit nil
func (*IosysAgentDevice) SetEnable ¶
func (o *IosysAgentDevice) SetEnable(v bool)
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*IosysAgentDevice) SetId ¶
func (o *IosysAgentDevice) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*IosysAgentDevice) SetIdNil ¶
func (o *IosysAgentDevice) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*IosysAgentDevice) SetKey ¶
func (o *IosysAgentDevice) SetKey(v string)
SetKey gets a reference to the given NullableString and assigns it to the Key field.
func (*IosysAgentDevice) SetKeyNil ¶
func (o *IosysAgentDevice) SetKeyNil()
SetKeyNil sets the value for Key to be an explicit nil
func (*IosysAgentDevice) SetPort ¶
func (o *IosysAgentDevice) SetPort(v int32)
SetPort gets a reference to the given NullableInt32 and assigns it to the Port field.
func (*IosysAgentDevice) SetPortNil ¶
func (o *IosysAgentDevice) SetPortNil()
SetPortNil sets the value for Port to be an explicit nil
func (*IosysAgentDevice) SetReconnect ¶
func (o *IosysAgentDevice) SetReconnect(v int32)
SetReconnect gets a reference to the given NullableInt32 and assigns it to the Reconnect field.
func (*IosysAgentDevice) SetReconnectNil ¶
func (o *IosysAgentDevice) SetReconnectNil()
SetReconnectNil sets the value for Reconnect to be an explicit nil
func (*IosysAgentDevice) SetTimeout ¶
func (o *IosysAgentDevice) SetTimeout(v int32)
SetTimeout gets a reference to the given NullableInt32 and assigns it to the Timeout field.
func (*IosysAgentDevice) SetTimeoutNil ¶
func (o *IosysAgentDevice) SetTimeoutNil()
SetTimeoutNil sets the value for Timeout to be an explicit nil
func (IosysAgentDevice) ToMap ¶ added in v2.4.8
func (o IosysAgentDevice) ToMap() (map[string]interface{}, error)
func (*IosysAgentDevice) UnsetAgentId ¶
func (o *IosysAgentDevice) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (*IosysAgentDevice) UnsetCertificate ¶
func (o *IosysAgentDevice) UnsetCertificate()
UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil
func (*IosysAgentDevice) UnsetClass ¶
func (o *IosysAgentDevice) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (*IosysAgentDevice) UnsetId ¶
func (o *IosysAgentDevice) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*IosysAgentDevice) UnsetKey ¶
func (o *IosysAgentDevice) UnsetKey()
UnsetKey ensures that no value is present for Key, not even an explicit nil
func (*IosysAgentDevice) UnsetPort ¶
func (o *IosysAgentDevice) UnsetPort()
UnsetPort ensures that no value is present for Port, not even an explicit nil
func (*IosysAgentDevice) UnsetReconnect ¶
func (o *IosysAgentDevice) UnsetReconnect()
UnsetReconnect ensures that no value is present for Reconnect, not even an explicit nil
func (*IosysAgentDevice) UnsetTimeout ¶
func (o *IosysAgentDevice) UnsetTimeout()
UnsetTimeout ensures that no value is present for Timeout, not even an explicit nil
type IosysAgentDeviceMapping ¶
type IosysAgentDeviceMapping struct { Class NullableAgentClass `json:"class,omitempty"` // Unique id for the mapping Id NullableInt32 `json:"id,omitempty"` // The id of the device the mapping belongs to DeviceId NullableInt32 `json:"deviceId,omitempty"` // Is the mapping enabled or not Enable *bool `json:"enable,omitempty"` // ID of the corresponding asset AssetId NullableInt32 `json:"assetId,omitempty"` Subtype DataSubtype `json:"subtype"` // Name of the attribute to map Attribute string `json:"attribute"` IosVar NullableString `json:"iosVar,omitempty"` IosType NullableString `json:"iosType,omitempty"` Down NullableBool `json:"down,omitempty"` Scale NullableFloat64 `json:"scale,omitempty"` Zero NullableFloat64 `json:"zero,omitempty"` Mask []int64 `json:"mask,omitempty"` MaskAttributes []string `json:"maskAttributes,omitempty"` DeadTime NullableInt32 `json:"deadTime,omitempty"` DeadBand NullableFloat64 `json:"deadBand,omitempty"` Filter NullableString `json:"filter,omitempty"` Tau NullableFloat64 `json:"tau,omitempty"` }
IosysAgentDeviceMapping struct for IosysAgentDeviceMapping
func NewIosysAgentDeviceMapping ¶
func NewIosysAgentDeviceMapping(subtype DataSubtype, attribute string) *IosysAgentDeviceMapping
NewIosysAgentDeviceMapping instantiates a new IosysAgentDeviceMapping 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 NewIosysAgentDeviceMappingWithDefaults ¶
func NewIosysAgentDeviceMappingWithDefaults() *IosysAgentDeviceMapping
NewIosysAgentDeviceMappingWithDefaults instantiates a new IosysAgentDeviceMapping 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 (*IosysAgentDeviceMapping) GetAssetId ¶
func (o *IosysAgentDeviceMapping) GetAssetId() int32
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetAssetIdOk ¶
func (o *IosysAgentDeviceMapping) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetAttribute ¶
func (o *IosysAgentDeviceMapping) GetAttribute() string
GetAttribute returns the Attribute field value
func (*IosysAgentDeviceMapping) GetAttributeOk ¶
func (o *IosysAgentDeviceMapping) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.
func (*IosysAgentDeviceMapping) GetClass ¶
func (o *IosysAgentDeviceMapping) GetClass() AgentClass
GetClass returns the Class field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetClassOk ¶
func (o *IosysAgentDeviceMapping) GetClassOk() (*AgentClass, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetDeadBand ¶
func (o *IosysAgentDeviceMapping) GetDeadBand() float64
GetDeadBand returns the DeadBand field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetDeadBandOk ¶
func (o *IosysAgentDeviceMapping) GetDeadBandOk() (*float64, bool)
GetDeadBandOk returns a tuple with the DeadBand field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetDeadTime ¶
func (o *IosysAgentDeviceMapping) GetDeadTime() int32
GetDeadTime returns the DeadTime field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetDeadTimeOk ¶
func (o *IosysAgentDeviceMapping) GetDeadTimeOk() (*int32, bool)
GetDeadTimeOk returns a tuple with the DeadTime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetDeviceId ¶
func (o *IosysAgentDeviceMapping) GetDeviceId() int32
GetDeviceId returns the DeviceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetDeviceIdOk ¶
func (o *IosysAgentDeviceMapping) GetDeviceIdOk() (*int32, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetDown ¶
func (o *IosysAgentDeviceMapping) GetDown() bool
GetDown returns the Down field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetDownOk ¶
func (o *IosysAgentDeviceMapping) GetDownOk() (*bool, bool)
GetDownOk returns a tuple with the Down field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetEnable ¶
func (o *IosysAgentDeviceMapping) GetEnable() bool
GetEnable returns the Enable field value if set, zero value otherwise.
func (*IosysAgentDeviceMapping) GetEnableOk ¶
func (o *IosysAgentDeviceMapping) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IosysAgentDeviceMapping) GetFilter ¶
func (o *IosysAgentDeviceMapping) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetFilterOk ¶
func (o *IosysAgentDeviceMapping) GetFilterOk() (*string, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetId ¶
func (o *IosysAgentDeviceMapping) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetIdOk ¶
func (o *IosysAgentDeviceMapping) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetIosType ¶
func (o *IosysAgentDeviceMapping) GetIosType() string
GetIosType returns the IosType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetIosTypeOk ¶
func (o *IosysAgentDeviceMapping) GetIosTypeOk() (*string, bool)
GetIosTypeOk returns a tuple with the IosType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetIosVar ¶
func (o *IosysAgentDeviceMapping) GetIosVar() string
GetIosVar returns the IosVar field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetIosVarOk ¶
func (o *IosysAgentDeviceMapping) GetIosVarOk() (*string, bool)
GetIosVarOk returns a tuple with the IosVar field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetMask ¶
func (o *IosysAgentDeviceMapping) GetMask() []int64
GetMask returns the Mask field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetMaskAttributes ¶
func (o *IosysAgentDeviceMapping) GetMaskAttributes() []string
GetMaskAttributes returns the MaskAttributes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetMaskAttributesOk ¶
func (o *IosysAgentDeviceMapping) GetMaskAttributesOk() ([]string, bool)
GetMaskAttributesOk returns a tuple with the MaskAttributes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetMaskOk ¶
func (o *IosysAgentDeviceMapping) GetMaskOk() ([]int64, bool)
GetMaskOk returns a tuple with the Mask field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetScale ¶
func (o *IosysAgentDeviceMapping) GetScale() float64
GetScale returns the Scale field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetScaleOk ¶
func (o *IosysAgentDeviceMapping) GetScaleOk() (*float64, bool)
GetScaleOk returns a tuple with the Scale field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetSubtype ¶
func (o *IosysAgentDeviceMapping) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*IosysAgentDeviceMapping) GetSubtypeOk ¶
func (o *IosysAgentDeviceMapping) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*IosysAgentDeviceMapping) GetTau ¶
func (o *IosysAgentDeviceMapping) GetTau() float64
GetTau returns the Tau field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetTauOk ¶
func (o *IosysAgentDeviceMapping) GetTauOk() (*float64, bool)
GetTauOk returns a tuple with the Tau field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) GetZero ¶
func (o *IosysAgentDeviceMapping) GetZero() float64
GetZero returns the Zero field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IosysAgentDeviceMapping) GetZeroOk ¶
func (o *IosysAgentDeviceMapping) GetZeroOk() (*float64, bool)
GetZeroOk returns a tuple with the Zero field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IosysAgentDeviceMapping) HasAssetId ¶
func (o *IosysAgentDeviceMapping) HasAssetId() bool
HasAssetId returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasClass ¶
func (o *IosysAgentDeviceMapping) HasClass() bool
HasClass returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasDeadBand ¶
func (o *IosysAgentDeviceMapping) HasDeadBand() bool
HasDeadBand returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasDeadTime ¶
func (o *IosysAgentDeviceMapping) HasDeadTime() bool
HasDeadTime returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasDeviceId ¶
func (o *IosysAgentDeviceMapping) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasDown ¶
func (o *IosysAgentDeviceMapping) HasDown() bool
HasDown returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasEnable ¶
func (o *IosysAgentDeviceMapping) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasFilter ¶
func (o *IosysAgentDeviceMapping) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasId ¶
func (o *IosysAgentDeviceMapping) HasId() bool
HasId returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasIosType ¶
func (o *IosysAgentDeviceMapping) HasIosType() bool
HasIosType returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasIosVar ¶
func (o *IosysAgentDeviceMapping) HasIosVar() bool
HasIosVar returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasMask ¶
func (o *IosysAgentDeviceMapping) HasMask() bool
HasMask returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasMaskAttributes ¶
func (o *IosysAgentDeviceMapping) HasMaskAttributes() bool
HasMaskAttributes returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasScale ¶
func (o *IosysAgentDeviceMapping) HasScale() bool
HasScale returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasTau ¶
func (o *IosysAgentDeviceMapping) HasTau() bool
HasTau returns a boolean if a field has been set.
func (*IosysAgentDeviceMapping) HasZero ¶
func (o *IosysAgentDeviceMapping) HasZero() bool
HasZero returns a boolean if a field has been set.
func (IosysAgentDeviceMapping) MarshalJSON ¶
func (o IosysAgentDeviceMapping) MarshalJSON() ([]byte, error)
func (*IosysAgentDeviceMapping) SetAssetId ¶
func (o *IosysAgentDeviceMapping) SetAssetId(v int32)
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*IosysAgentDeviceMapping) SetAssetIdNil ¶
func (o *IosysAgentDeviceMapping) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*IosysAgentDeviceMapping) SetAttribute ¶
func (o *IosysAgentDeviceMapping) SetAttribute(v string)
SetAttribute sets field value
func (*IosysAgentDeviceMapping) SetClass ¶
func (o *IosysAgentDeviceMapping) SetClass(v AgentClass)
SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.
func (*IosysAgentDeviceMapping) SetClassNil ¶
func (o *IosysAgentDeviceMapping) SetClassNil()
SetClassNil sets the value for Class to be an explicit nil
func (*IosysAgentDeviceMapping) SetDeadBand ¶
func (o *IosysAgentDeviceMapping) SetDeadBand(v float64)
SetDeadBand gets a reference to the given NullableFloat64 and assigns it to the DeadBand field.
func (*IosysAgentDeviceMapping) SetDeadBandNil ¶
func (o *IosysAgentDeviceMapping) SetDeadBandNil()
SetDeadBandNil sets the value for DeadBand to be an explicit nil
func (*IosysAgentDeviceMapping) SetDeadTime ¶
func (o *IosysAgentDeviceMapping) SetDeadTime(v int32)
SetDeadTime gets a reference to the given NullableInt32 and assigns it to the DeadTime field.
func (*IosysAgentDeviceMapping) SetDeadTimeNil ¶
func (o *IosysAgentDeviceMapping) SetDeadTimeNil()
SetDeadTimeNil sets the value for DeadTime to be an explicit nil
func (*IosysAgentDeviceMapping) SetDeviceId ¶
func (o *IosysAgentDeviceMapping) SetDeviceId(v int32)
SetDeviceId gets a reference to the given NullableInt32 and assigns it to the DeviceId field.
func (*IosysAgentDeviceMapping) SetDeviceIdNil ¶
func (o *IosysAgentDeviceMapping) SetDeviceIdNil()
SetDeviceIdNil sets the value for DeviceId to be an explicit nil
func (*IosysAgentDeviceMapping) SetDown ¶
func (o *IosysAgentDeviceMapping) SetDown(v bool)
SetDown gets a reference to the given NullableBool and assigns it to the Down field.
func (*IosysAgentDeviceMapping) SetDownNil ¶
func (o *IosysAgentDeviceMapping) SetDownNil()
SetDownNil sets the value for Down to be an explicit nil
func (*IosysAgentDeviceMapping) SetEnable ¶
func (o *IosysAgentDeviceMapping) SetEnable(v bool)
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*IosysAgentDeviceMapping) SetFilter ¶
func (o *IosysAgentDeviceMapping) SetFilter(v string)
SetFilter gets a reference to the given NullableString and assigns it to the Filter field.
func (*IosysAgentDeviceMapping) SetFilterNil ¶
func (o *IosysAgentDeviceMapping) SetFilterNil()
SetFilterNil sets the value for Filter to be an explicit nil
func (*IosysAgentDeviceMapping) SetId ¶
func (o *IosysAgentDeviceMapping) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*IosysAgentDeviceMapping) SetIdNil ¶
func (o *IosysAgentDeviceMapping) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*IosysAgentDeviceMapping) SetIosType ¶
func (o *IosysAgentDeviceMapping) SetIosType(v string)
SetIosType gets a reference to the given NullableString and assigns it to the IosType field.
func (*IosysAgentDeviceMapping) SetIosTypeNil ¶
func (o *IosysAgentDeviceMapping) SetIosTypeNil()
SetIosTypeNil sets the value for IosType to be an explicit nil
func (*IosysAgentDeviceMapping) SetIosVar ¶
func (o *IosysAgentDeviceMapping) SetIosVar(v string)
SetIosVar gets a reference to the given NullableString and assigns it to the IosVar field.
func (*IosysAgentDeviceMapping) SetIosVarNil ¶
func (o *IosysAgentDeviceMapping) SetIosVarNil()
SetIosVarNil sets the value for IosVar to be an explicit nil
func (*IosysAgentDeviceMapping) SetMask ¶
func (o *IosysAgentDeviceMapping) SetMask(v []int64)
SetMask gets a reference to the given []int64 and assigns it to the Mask field.
func (*IosysAgentDeviceMapping) SetMaskAttributes ¶
func (o *IosysAgentDeviceMapping) SetMaskAttributes(v []string)
SetMaskAttributes gets a reference to the given []string and assigns it to the MaskAttributes field.
func (*IosysAgentDeviceMapping) SetScale ¶
func (o *IosysAgentDeviceMapping) SetScale(v float64)
SetScale gets a reference to the given NullableFloat64 and assigns it to the Scale field.
func (*IosysAgentDeviceMapping) SetScaleNil ¶
func (o *IosysAgentDeviceMapping) SetScaleNil()
SetScaleNil sets the value for Scale to be an explicit nil
func (*IosysAgentDeviceMapping) SetSubtype ¶
func (o *IosysAgentDeviceMapping) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (*IosysAgentDeviceMapping) SetTau ¶
func (o *IosysAgentDeviceMapping) SetTau(v float64)
SetTau gets a reference to the given NullableFloat64 and assigns it to the Tau field.
func (*IosysAgentDeviceMapping) SetTauNil ¶
func (o *IosysAgentDeviceMapping) SetTauNil()
SetTauNil sets the value for Tau to be an explicit nil
func (*IosysAgentDeviceMapping) SetZero ¶
func (o *IosysAgentDeviceMapping) SetZero(v float64)
SetZero gets a reference to the given NullableFloat64 and assigns it to the Zero field.
func (*IosysAgentDeviceMapping) SetZeroNil ¶
func (o *IosysAgentDeviceMapping) SetZeroNil()
SetZeroNil sets the value for Zero to be an explicit nil
func (IosysAgentDeviceMapping) ToMap ¶ added in v2.4.8
func (o IosysAgentDeviceMapping) ToMap() (map[string]interface{}, error)
func (*IosysAgentDeviceMapping) UnmarshalJSON ¶ added in v2.5.9
func (o *IosysAgentDeviceMapping) UnmarshalJSON(data []byte) (err error)
func (*IosysAgentDeviceMapping) UnsetAssetId ¶
func (o *IosysAgentDeviceMapping) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetClass ¶
func (o *IosysAgentDeviceMapping) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetDeadBand ¶
func (o *IosysAgentDeviceMapping) UnsetDeadBand()
UnsetDeadBand ensures that no value is present for DeadBand, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetDeadTime ¶
func (o *IosysAgentDeviceMapping) UnsetDeadTime()
UnsetDeadTime ensures that no value is present for DeadTime, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetDeviceId ¶
func (o *IosysAgentDeviceMapping) UnsetDeviceId()
UnsetDeviceId ensures that no value is present for DeviceId, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetDown ¶
func (o *IosysAgentDeviceMapping) UnsetDown()
UnsetDown ensures that no value is present for Down, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetFilter ¶
func (o *IosysAgentDeviceMapping) UnsetFilter()
UnsetFilter ensures that no value is present for Filter, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetId ¶
func (o *IosysAgentDeviceMapping) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetIosType ¶
func (o *IosysAgentDeviceMapping) UnsetIosType()
UnsetIosType ensures that no value is present for IosType, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetIosVar ¶
func (o *IosysAgentDeviceMapping) UnsetIosVar()
UnsetIosVar ensures that no value is present for IosVar, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetScale ¶
func (o *IosysAgentDeviceMapping) UnsetScale()
UnsetScale ensures that no value is present for Scale, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetTau ¶
func (o *IosysAgentDeviceMapping) UnsetTau()
UnsetTau ensures that no value is present for Tau, not even an explicit nil
func (*IosysAgentDeviceMapping) UnsetZero ¶
func (o *IosysAgentDeviceMapping) UnsetZero()
UnsetZero ensures that no value is present for Zero, not even an explicit nil
type MappedNullable ¶ added in v2.4.8
type MbusAgentDevice ¶
type MbusAgentDevice struct { Class NullableAgentClass `json:"class,omitempty"` // Unique id for the device Id NullableInt32 `json:"id,omitempty"` // The id of the agent the device belongs to AgentId NullableInt32 `json:"agentId,omitempty"` // Is the device enabled or not Enable *bool `json:"enable,omitempty"` Manufacturer NullableString `json:"manufacturer,omitempty"` Model NullableString `json:"model,omitempty"` Address NullableInt32 `json:"address,omitempty"` SecAddress NullableString `json:"secAddress,omitempty"` Raster NullableString `json:"raster,omitempty"` MaxFail NullableInt32 `json:"maxFail,omitempty"` MaxRetry NullableInt32 `json:"maxRetry,omitempty"` SendNke NullableBool `json:"sendNke,omitempty"` AppResetSubcode NullableInt32 `json:"appResetSubcode,omitempty"` MultiFrames NullableInt32 `json:"multiFrames,omitempty"` }
MbusAgentDevice struct for MbusAgentDevice
func NewMbusAgentDevice ¶
func NewMbusAgentDevice() *MbusAgentDevice
NewMbusAgentDevice instantiates a new MbusAgentDevice 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 NewMbusAgentDeviceWithDefaults ¶
func NewMbusAgentDeviceWithDefaults() *MbusAgentDevice
NewMbusAgentDeviceWithDefaults instantiates a new MbusAgentDevice 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 (*MbusAgentDevice) GetAddress ¶
func (o *MbusAgentDevice) GetAddress() int32
GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetAddressOk ¶
func (o *MbusAgentDevice) GetAddressOk() (*int32, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetAgentId ¶
func (o *MbusAgentDevice) GetAgentId() int32
GetAgentId returns the AgentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetAgentIdOk ¶
func (o *MbusAgentDevice) GetAgentIdOk() (*int32, bool)
GetAgentIdOk returns a tuple with the AgentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetAppResetSubcode ¶
func (o *MbusAgentDevice) GetAppResetSubcode() int32
GetAppResetSubcode returns the AppResetSubcode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetAppResetSubcodeOk ¶
func (o *MbusAgentDevice) GetAppResetSubcodeOk() (*int32, bool)
GetAppResetSubcodeOk returns a tuple with the AppResetSubcode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetClass ¶
func (o *MbusAgentDevice) GetClass() AgentClass
GetClass returns the Class field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetClassOk ¶
func (o *MbusAgentDevice) GetClassOk() (*AgentClass, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetEnable ¶
func (o *MbusAgentDevice) GetEnable() bool
GetEnable returns the Enable field value if set, zero value otherwise.
func (*MbusAgentDevice) GetEnableOk ¶
func (o *MbusAgentDevice) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MbusAgentDevice) GetId ¶
func (o *MbusAgentDevice) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetIdOk ¶
func (o *MbusAgentDevice) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetManufacturer ¶
func (o *MbusAgentDevice) GetManufacturer() string
GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetManufacturerOk ¶
func (o *MbusAgentDevice) GetManufacturerOk() (*string, bool)
GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetMaxFail ¶
func (o *MbusAgentDevice) GetMaxFail() int32
GetMaxFail returns the MaxFail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetMaxFailOk ¶
func (o *MbusAgentDevice) GetMaxFailOk() (*int32, bool)
GetMaxFailOk returns a tuple with the MaxFail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetMaxRetry ¶
func (o *MbusAgentDevice) GetMaxRetry() int32
GetMaxRetry returns the MaxRetry field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetMaxRetryOk ¶
func (o *MbusAgentDevice) GetMaxRetryOk() (*int32, bool)
GetMaxRetryOk returns a tuple with the MaxRetry field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetModel ¶
func (o *MbusAgentDevice) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetModelOk ¶
func (o *MbusAgentDevice) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetMultiFrames ¶
func (o *MbusAgentDevice) GetMultiFrames() int32
GetMultiFrames returns the MultiFrames field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetMultiFramesOk ¶
func (o *MbusAgentDevice) GetMultiFramesOk() (*int32, bool)
GetMultiFramesOk returns a tuple with the MultiFrames field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetRaster ¶
func (o *MbusAgentDevice) GetRaster() string
GetRaster returns the Raster field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetRasterOk ¶
func (o *MbusAgentDevice) GetRasterOk() (*string, bool)
GetRasterOk returns a tuple with the Raster field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetSecAddress ¶
func (o *MbusAgentDevice) GetSecAddress() string
GetSecAddress returns the SecAddress field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetSecAddressOk ¶
func (o *MbusAgentDevice) GetSecAddressOk() (*string, bool)
GetSecAddressOk returns a tuple with the SecAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) GetSendNke ¶
func (o *MbusAgentDevice) GetSendNke() bool
GetSendNke returns the SendNke field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDevice) GetSendNkeOk ¶
func (o *MbusAgentDevice) GetSendNkeOk() (*bool, bool)
GetSendNkeOk returns a tuple with the SendNke field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDevice) HasAddress ¶
func (o *MbusAgentDevice) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*MbusAgentDevice) HasAgentId ¶
func (o *MbusAgentDevice) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*MbusAgentDevice) HasAppResetSubcode ¶
func (o *MbusAgentDevice) HasAppResetSubcode() bool
HasAppResetSubcode returns a boolean if a field has been set.
func (*MbusAgentDevice) HasClass ¶
func (o *MbusAgentDevice) HasClass() bool
HasClass returns a boolean if a field has been set.
func (*MbusAgentDevice) HasEnable ¶
func (o *MbusAgentDevice) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (*MbusAgentDevice) HasId ¶
func (o *MbusAgentDevice) HasId() bool
HasId returns a boolean if a field has been set.
func (*MbusAgentDevice) HasManufacturer ¶
func (o *MbusAgentDevice) HasManufacturer() bool
HasManufacturer returns a boolean if a field has been set.
func (*MbusAgentDevice) HasMaxFail ¶
func (o *MbusAgentDevice) HasMaxFail() bool
HasMaxFail returns a boolean if a field has been set.
func (*MbusAgentDevice) HasMaxRetry ¶
func (o *MbusAgentDevice) HasMaxRetry() bool
HasMaxRetry returns a boolean if a field has been set.
func (*MbusAgentDevice) HasModel ¶
func (o *MbusAgentDevice) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*MbusAgentDevice) HasMultiFrames ¶
func (o *MbusAgentDevice) HasMultiFrames() bool
HasMultiFrames returns a boolean if a field has been set.
func (*MbusAgentDevice) HasRaster ¶
func (o *MbusAgentDevice) HasRaster() bool
HasRaster returns a boolean if a field has been set.
func (*MbusAgentDevice) HasSecAddress ¶
func (o *MbusAgentDevice) HasSecAddress() bool
HasSecAddress returns a boolean if a field has been set.
func (*MbusAgentDevice) HasSendNke ¶
func (o *MbusAgentDevice) HasSendNke() bool
HasSendNke returns a boolean if a field has been set.
func (MbusAgentDevice) MarshalJSON ¶
func (o MbusAgentDevice) MarshalJSON() ([]byte, error)
func (*MbusAgentDevice) SetAddress ¶
func (o *MbusAgentDevice) SetAddress(v int32)
SetAddress gets a reference to the given NullableInt32 and assigns it to the Address field.
func (*MbusAgentDevice) SetAddressNil ¶
func (o *MbusAgentDevice) SetAddressNil()
SetAddressNil sets the value for Address to be an explicit nil
func (*MbusAgentDevice) SetAgentId ¶
func (o *MbusAgentDevice) SetAgentId(v int32)
SetAgentId gets a reference to the given NullableInt32 and assigns it to the AgentId field.
func (*MbusAgentDevice) SetAgentIdNil ¶
func (o *MbusAgentDevice) SetAgentIdNil()
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (*MbusAgentDevice) SetAppResetSubcode ¶
func (o *MbusAgentDevice) SetAppResetSubcode(v int32)
SetAppResetSubcode gets a reference to the given NullableInt32 and assigns it to the AppResetSubcode field.
func (*MbusAgentDevice) SetAppResetSubcodeNil ¶
func (o *MbusAgentDevice) SetAppResetSubcodeNil()
SetAppResetSubcodeNil sets the value for AppResetSubcode to be an explicit nil
func (*MbusAgentDevice) SetClass ¶
func (o *MbusAgentDevice) SetClass(v AgentClass)
SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.
func (*MbusAgentDevice) SetClassNil ¶
func (o *MbusAgentDevice) SetClassNil()
SetClassNil sets the value for Class to be an explicit nil
func (*MbusAgentDevice) SetEnable ¶
func (o *MbusAgentDevice) SetEnable(v bool)
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*MbusAgentDevice) SetId ¶
func (o *MbusAgentDevice) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*MbusAgentDevice) SetIdNil ¶
func (o *MbusAgentDevice) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*MbusAgentDevice) SetManufacturer ¶
func (o *MbusAgentDevice) SetManufacturer(v string)
SetManufacturer gets a reference to the given NullableString and assigns it to the Manufacturer field.
func (*MbusAgentDevice) SetManufacturerNil ¶
func (o *MbusAgentDevice) SetManufacturerNil()
SetManufacturerNil sets the value for Manufacturer to be an explicit nil
func (*MbusAgentDevice) SetMaxFail ¶
func (o *MbusAgentDevice) SetMaxFail(v int32)
SetMaxFail gets a reference to the given NullableInt32 and assigns it to the MaxFail field.
func (*MbusAgentDevice) SetMaxFailNil ¶
func (o *MbusAgentDevice) SetMaxFailNil()
SetMaxFailNil sets the value for MaxFail to be an explicit nil
func (*MbusAgentDevice) SetMaxRetry ¶
func (o *MbusAgentDevice) SetMaxRetry(v int32)
SetMaxRetry gets a reference to the given NullableInt32 and assigns it to the MaxRetry field.
func (*MbusAgentDevice) SetMaxRetryNil ¶
func (o *MbusAgentDevice) SetMaxRetryNil()
SetMaxRetryNil sets the value for MaxRetry to be an explicit nil
func (*MbusAgentDevice) SetModel ¶
func (o *MbusAgentDevice) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*MbusAgentDevice) SetModelNil ¶
func (o *MbusAgentDevice) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*MbusAgentDevice) SetMultiFrames ¶
func (o *MbusAgentDevice) SetMultiFrames(v int32)
SetMultiFrames gets a reference to the given NullableInt32 and assigns it to the MultiFrames field.
func (*MbusAgentDevice) SetMultiFramesNil ¶
func (o *MbusAgentDevice) SetMultiFramesNil()
SetMultiFramesNil sets the value for MultiFrames to be an explicit nil
func (*MbusAgentDevice) SetRaster ¶
func (o *MbusAgentDevice) SetRaster(v string)
SetRaster gets a reference to the given NullableString and assigns it to the Raster field.
func (*MbusAgentDevice) SetRasterNil ¶
func (o *MbusAgentDevice) SetRasterNil()
SetRasterNil sets the value for Raster to be an explicit nil
func (*MbusAgentDevice) SetSecAddress ¶
func (o *MbusAgentDevice) SetSecAddress(v string)
SetSecAddress gets a reference to the given NullableString and assigns it to the SecAddress field.
func (*MbusAgentDevice) SetSecAddressNil ¶
func (o *MbusAgentDevice) SetSecAddressNil()
SetSecAddressNil sets the value for SecAddress to be an explicit nil
func (*MbusAgentDevice) SetSendNke ¶
func (o *MbusAgentDevice) SetSendNke(v bool)
SetSendNke gets a reference to the given NullableBool and assigns it to the SendNke field.
func (*MbusAgentDevice) SetSendNkeNil ¶
func (o *MbusAgentDevice) SetSendNkeNil()
SetSendNkeNil sets the value for SendNke to be an explicit nil
func (MbusAgentDevice) ToMap ¶ added in v2.4.8
func (o MbusAgentDevice) ToMap() (map[string]interface{}, error)
func (*MbusAgentDevice) UnsetAddress ¶
func (o *MbusAgentDevice) UnsetAddress()
UnsetAddress ensures that no value is present for Address, not even an explicit nil
func (*MbusAgentDevice) UnsetAgentId ¶
func (o *MbusAgentDevice) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (*MbusAgentDevice) UnsetAppResetSubcode ¶
func (o *MbusAgentDevice) UnsetAppResetSubcode()
UnsetAppResetSubcode ensures that no value is present for AppResetSubcode, not even an explicit nil
func (*MbusAgentDevice) UnsetClass ¶
func (o *MbusAgentDevice) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (*MbusAgentDevice) UnsetId ¶
func (o *MbusAgentDevice) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*MbusAgentDevice) UnsetManufacturer ¶
func (o *MbusAgentDevice) UnsetManufacturer()
UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil
func (*MbusAgentDevice) UnsetMaxFail ¶
func (o *MbusAgentDevice) UnsetMaxFail()
UnsetMaxFail ensures that no value is present for MaxFail, not even an explicit nil
func (*MbusAgentDevice) UnsetMaxRetry ¶
func (o *MbusAgentDevice) UnsetMaxRetry()
UnsetMaxRetry ensures that no value is present for MaxRetry, not even an explicit nil
func (*MbusAgentDevice) UnsetModel ¶
func (o *MbusAgentDevice) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
func (*MbusAgentDevice) UnsetMultiFrames ¶
func (o *MbusAgentDevice) UnsetMultiFrames()
UnsetMultiFrames ensures that no value is present for MultiFrames, not even an explicit nil
func (*MbusAgentDevice) UnsetRaster ¶
func (o *MbusAgentDevice) UnsetRaster()
UnsetRaster ensures that no value is present for Raster, not even an explicit nil
func (*MbusAgentDevice) UnsetSecAddress ¶
func (o *MbusAgentDevice) UnsetSecAddress()
UnsetSecAddress ensures that no value is present for SecAddress, not even an explicit nil
func (*MbusAgentDevice) UnsetSendNke ¶
func (o *MbusAgentDevice) UnsetSendNke()
UnsetSendNke ensures that no value is present for SendNke, not even an explicit nil
type MbusAgentDeviceMapping ¶
type MbusAgentDeviceMapping struct { Class NullableAgentClass `json:"class,omitempty"` // Unique id for the mapping Id NullableInt32 `json:"id,omitempty"` // The id of the device the mapping belongs to DeviceId NullableInt32 `json:"deviceId,omitempty"` // Is the mapping enabled or not Enable *bool `json:"enable,omitempty"` // ID of the corresponding asset AssetId NullableInt32 `json:"assetId,omitempty"` Subtype DataSubtype `json:"subtype"` // Name of the attribute to map Attribute string `json:"attribute"` Field NullableInt32 `json:"field,omitempty"` Scale NullableFloat64 `json:"scale,omitempty"` Zero NullableFloat64 `json:"zero,omitempty"` }
MbusAgentDeviceMapping struct for MbusAgentDeviceMapping
func NewMbusAgentDeviceMapping ¶
func NewMbusAgentDeviceMapping(subtype DataSubtype, attribute string) *MbusAgentDeviceMapping
NewMbusAgentDeviceMapping instantiates a new MbusAgentDeviceMapping 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 NewMbusAgentDeviceMappingWithDefaults ¶
func NewMbusAgentDeviceMappingWithDefaults() *MbusAgentDeviceMapping
NewMbusAgentDeviceMappingWithDefaults instantiates a new MbusAgentDeviceMapping 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 (*MbusAgentDeviceMapping) GetAssetId ¶
func (o *MbusAgentDeviceMapping) GetAssetId() int32
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDeviceMapping) GetAssetIdOk ¶
func (o *MbusAgentDeviceMapping) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDeviceMapping) GetAttribute ¶
func (o *MbusAgentDeviceMapping) GetAttribute() string
GetAttribute returns the Attribute field value
func (*MbusAgentDeviceMapping) GetAttributeOk ¶
func (o *MbusAgentDeviceMapping) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.
func (*MbusAgentDeviceMapping) GetClass ¶
func (o *MbusAgentDeviceMapping) GetClass() AgentClass
GetClass returns the Class field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDeviceMapping) GetClassOk ¶
func (o *MbusAgentDeviceMapping) GetClassOk() (*AgentClass, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDeviceMapping) GetDeviceId ¶
func (o *MbusAgentDeviceMapping) GetDeviceId() int32
GetDeviceId returns the DeviceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDeviceMapping) GetDeviceIdOk ¶
func (o *MbusAgentDeviceMapping) GetDeviceIdOk() (*int32, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDeviceMapping) GetEnable ¶
func (o *MbusAgentDeviceMapping) GetEnable() bool
GetEnable returns the Enable field value if set, zero value otherwise.
func (*MbusAgentDeviceMapping) GetEnableOk ¶
func (o *MbusAgentDeviceMapping) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MbusAgentDeviceMapping) GetField ¶
func (o *MbusAgentDeviceMapping) GetField() int32
GetField returns the Field field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDeviceMapping) GetFieldOk ¶
func (o *MbusAgentDeviceMapping) GetFieldOk() (*int32, bool)
GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDeviceMapping) GetId ¶
func (o *MbusAgentDeviceMapping) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDeviceMapping) GetIdOk ¶
func (o *MbusAgentDeviceMapping) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDeviceMapping) GetScale ¶
func (o *MbusAgentDeviceMapping) GetScale() float64
GetScale returns the Scale field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDeviceMapping) GetScaleOk ¶
func (o *MbusAgentDeviceMapping) GetScaleOk() (*float64, bool)
GetScaleOk returns a tuple with the Scale field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDeviceMapping) GetSubtype ¶
func (o *MbusAgentDeviceMapping) GetSubtype() DataSubtype
GetSubtype returns the Subtype field value
func (*MbusAgentDeviceMapping) GetSubtypeOk ¶
func (o *MbusAgentDeviceMapping) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.
func (*MbusAgentDeviceMapping) GetZero ¶
func (o *MbusAgentDeviceMapping) GetZero() float64
GetZero returns the Zero field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MbusAgentDeviceMapping) GetZeroOk ¶
func (o *MbusAgentDeviceMapping) GetZeroOk() (*float64, bool)
GetZeroOk returns a tuple with the Zero field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MbusAgentDeviceMapping) HasAssetId ¶
func (o *MbusAgentDeviceMapping) HasAssetId() bool
HasAssetId returns a boolean if a field has been set.
func (*MbusAgentDeviceMapping) HasClass ¶
func (o *MbusAgentDeviceMapping) HasClass() bool
HasClass returns a boolean if a field has been set.
func (*MbusAgentDeviceMapping) HasDeviceId ¶
func (o *MbusAgentDeviceMapping) HasDeviceId() bool
HasDeviceId returns a boolean if a field has been set.
func (*MbusAgentDeviceMapping) HasEnable ¶
func (o *MbusAgentDeviceMapping) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (*MbusAgentDeviceMapping) HasField ¶
func (o *MbusAgentDeviceMapping) HasField() bool
HasField returns a boolean if a field has been set.
func (*MbusAgentDeviceMapping) HasId ¶
func (o *MbusAgentDeviceMapping) HasId() bool
HasId returns a boolean if a field has been set.
func (*MbusAgentDeviceMapping) HasScale ¶
func (o *MbusAgentDeviceMapping) HasScale() bool
HasScale returns a boolean if a field has been set.
func (*MbusAgentDeviceMapping) HasZero ¶
func (o *MbusAgentDeviceMapping) HasZero() bool
HasZero returns a boolean if a field has been set.
func (MbusAgentDeviceMapping) MarshalJSON ¶
func (o MbusAgentDeviceMapping) MarshalJSON() ([]byte, error)
func (*MbusAgentDeviceMapping) SetAssetId ¶
func (o *MbusAgentDeviceMapping) SetAssetId(v int32)
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*MbusAgentDeviceMapping) SetAssetIdNil ¶
func (o *MbusAgentDeviceMapping) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*MbusAgentDeviceMapping) SetAttribute ¶
func (o *MbusAgentDeviceMapping) SetAttribute(v string)
SetAttribute sets field value
func (*MbusAgentDeviceMapping) SetClass ¶
func (o *MbusAgentDeviceMapping) SetClass(v AgentClass)
SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.
func (*MbusAgentDeviceMapping) SetClassNil ¶
func (o *MbusAgentDeviceMapping) SetClassNil()
SetClassNil sets the value for Class to be an explicit nil
func (*MbusAgentDeviceMapping) SetDeviceId ¶
func (o *MbusAgentDeviceMapping) SetDeviceId(v int32)
SetDeviceId gets a reference to the given NullableInt32 and assigns it to the DeviceId field.
func (*MbusAgentDeviceMapping) SetDeviceIdNil ¶
func (o *MbusAgentDeviceMapping) SetDeviceIdNil()
SetDeviceIdNil sets the value for DeviceId to be an explicit nil
func (*MbusAgentDeviceMapping) SetEnable ¶
func (o *MbusAgentDeviceMapping) SetEnable(v bool)
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*MbusAgentDeviceMapping) SetField ¶
func (o *MbusAgentDeviceMapping) SetField(v int32)
SetField gets a reference to the given NullableInt32 and assigns it to the Field field.
func (*MbusAgentDeviceMapping) SetFieldNil ¶
func (o *MbusAgentDeviceMapping) SetFieldNil()
SetFieldNil sets the value for Field to be an explicit nil
func (*MbusAgentDeviceMapping) SetId ¶
func (o *MbusAgentDeviceMapping) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*MbusAgentDeviceMapping) SetIdNil ¶
func (o *MbusAgentDeviceMapping) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*MbusAgentDeviceMapping) SetScale ¶
func (o *MbusAgentDeviceMapping) SetScale(v float64)
SetScale gets a reference to the given NullableFloat64 and assigns it to the Scale field.
func (*MbusAgentDeviceMapping) SetScaleNil ¶
func (o *MbusAgentDeviceMapping) SetScaleNil()
SetScaleNil sets the value for Scale to be an explicit nil
func (*MbusAgentDeviceMapping) SetSubtype ¶
func (o *MbusAgentDeviceMapping) SetSubtype(v DataSubtype)
SetSubtype sets field value
func (*MbusAgentDeviceMapping) SetZero ¶
func (o *MbusAgentDeviceMapping) SetZero(v float64)
SetZero gets a reference to the given NullableFloat64 and assigns it to the Zero field.
func (*MbusAgentDeviceMapping) SetZeroNil ¶
func (o *MbusAgentDeviceMapping) SetZeroNil()
SetZeroNil sets the value for Zero to be an explicit nil
func (MbusAgentDeviceMapping) ToMap ¶ added in v2.4.8
func (o MbusAgentDeviceMapping) ToMap() (map[string]interface{}, error)
func (*MbusAgentDeviceMapping) UnmarshalJSON ¶ added in v2.5.9
func (o *MbusAgentDeviceMapping) UnmarshalJSON(data []byte) (err error)
func (*MbusAgentDeviceMapping) UnsetAssetId ¶
func (o *MbusAgentDeviceMapping) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*MbusAgentDeviceMapping) UnsetClass ¶
func (o *MbusAgentDeviceMapping) UnsetClass()
UnsetClass ensures that no value is present for Class, not even an explicit nil
func (*MbusAgentDeviceMapping) UnsetDeviceId ¶
func (o *MbusAgentDeviceMapping) UnsetDeviceId()
UnsetDeviceId ensures that no value is present for DeviceId, not even an explicit nil
func (*MbusAgentDeviceMapping) UnsetField ¶
func (o *MbusAgentDeviceMapping) UnsetField()
UnsetField ensures that no value is present for Field, not even an explicit nil
func (*MbusAgentDeviceMapping) UnsetId ¶
func (o *MbusAgentDeviceMapping) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*MbusAgentDeviceMapping) UnsetScale ¶
func (o *MbusAgentDeviceMapping) UnsetScale()
UnsetScale ensures that no value is present for Scale, not even an explicit nil
func (*MbusAgentDeviceMapping) UnsetZero ¶
func (o *MbusAgentDeviceMapping) UnsetZero()
UnsetZero ensures that no value is present for Zero, not even an explicit nil
type Message ¶ added in v2.4.2
type Message struct { // Address of the sender, e.g. an e-mail address Sender NullableString `json:"sender,omitempty"` // A list of recipient addresses to receive this message Recipients []string `json:"recipients"` // A list of recipient addresses to receive this message as copy CopyRecipients []string `json:"copyRecipients,omitempty"` // A list of recipient addresses to receive this message as blind copy without any other recipient information BlindCopyRecipients []string `json:"blindCopyRecipients,omitempty"` // The subject for this message Subject *string `json:"subject,omitempty"` // The content of the message. If template is used, the content is embedded in the template. Content string `json:"content"` // A list of files attached to the message Attachments []Attachment `json:"attachments,omitempty"` }
Message A message
func NewMessage ¶ added in v2.4.2
NewMessage instantiates a new Message 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 NewMessageWithDefaults ¶ added in v2.4.2
func NewMessageWithDefaults() *Message
NewMessageWithDefaults instantiates a new Message 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 (*Message) GetAttachments ¶ added in v2.4.2
func (o *Message) GetAttachments() []Attachment
GetAttachments returns the Attachments field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Message) GetAttachmentsOk ¶ added in v2.4.2
func (o *Message) GetAttachmentsOk() ([]Attachment, bool)
GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Message) GetBlindCopyRecipients ¶ added in v2.4.2
GetBlindCopyRecipients returns the BlindCopyRecipients field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Message) GetBlindCopyRecipientsOk ¶ added in v2.4.2
GetBlindCopyRecipientsOk returns a tuple with the BlindCopyRecipients field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Message) GetContent ¶ added in v2.4.2
GetContent returns the Content field value
func (*Message) GetContentOk ¶ added in v2.4.2
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Message) GetCopyRecipients ¶ added in v2.4.2
GetCopyRecipients returns the CopyRecipients field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Message) GetCopyRecipientsOk ¶ added in v2.4.2
GetCopyRecipientsOk returns a tuple with the CopyRecipients field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Message) GetRecipients ¶ added in v2.4.2
GetRecipients returns the Recipients field value
func (*Message) GetRecipientsOk ¶ added in v2.4.2
GetRecipientsOk returns a tuple with the Recipients field value and a boolean to check if the value has been set.
func (*Message) GetSender ¶ added in v2.4.2
GetSender returns the Sender field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Message) GetSenderOk ¶ added in v2.4.2
GetSenderOk returns a tuple with the Sender field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Message) GetSubject ¶ added in v2.4.2
GetSubject returns the Subject field value if set, zero value otherwise.
func (*Message) GetSubjectOk ¶ added in v2.4.2
GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Message) HasAttachments ¶ added in v2.4.2
HasAttachments returns a boolean if a field has been set.
func (*Message) HasBlindCopyRecipients ¶ added in v2.4.2
HasBlindCopyRecipients returns a boolean if a field has been set.
func (*Message) HasCopyRecipients ¶ added in v2.4.2
HasCopyRecipients returns a boolean if a field has been set.
func (*Message) HasSubject ¶ added in v2.4.2
HasSubject returns a boolean if a field has been set.
func (Message) MarshalJSON ¶ added in v2.4.2
func (*Message) SetAttachments ¶ added in v2.4.2
func (o *Message) SetAttachments(v []Attachment)
SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.
func (*Message) SetBlindCopyRecipients ¶ added in v2.4.2
SetBlindCopyRecipients gets a reference to the given []string and assigns it to the BlindCopyRecipients field.
func (*Message) SetContent ¶ added in v2.4.2
SetContent sets field value
func (*Message) SetCopyRecipients ¶ added in v2.4.2
SetCopyRecipients gets a reference to the given []string and assigns it to the CopyRecipients field.
func (*Message) SetRecipients ¶ added in v2.4.2
SetRecipients sets field value
func (*Message) SetSender ¶ added in v2.4.2
SetSender gets a reference to the given NullableString and assigns it to the Sender field.
func (*Message) SetSenderNil ¶ added in v2.4.2
func (o *Message) SetSenderNil()
SetSenderNil sets the value for Sender to be an explicit nil
func (*Message) SetSubject ¶ added in v2.4.2
SetSubject gets a reference to the given string and assigns it to the Subject field.
func (*Message) UnmarshalJSON ¶ added in v2.5.9
func (*Message) UnsetSender ¶ added in v2.4.2
func (o *Message) UnsetSender()
UnsetSender ensures that no value is present for Sender, not even an explicit nil
type MessageReceipt ¶ added in v2.4.2
type MessageReceipt struct { // Identifies the message or notification Id string `json:"id"` // When the message or notification is scheduled ScheduledAt NullableTime `json:"scheduledAt,omitempty"` // Status of communication processing Status *string `json:"status,omitempty"` }
MessageReceipt A receipt for a message or notification
func NewMessageReceipt ¶ added in v2.4.2
func NewMessageReceipt(id string) *MessageReceipt
NewMessageReceipt instantiates a new MessageReceipt 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 NewMessageReceiptWithDefaults ¶ added in v2.4.2
func NewMessageReceiptWithDefaults() *MessageReceipt
NewMessageReceiptWithDefaults instantiates a new MessageReceipt 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 (*MessageReceipt) GetId ¶ added in v2.4.2
func (o *MessageReceipt) GetId() string
GetId returns the Id field value
func (*MessageReceipt) GetIdOk ¶ added in v2.4.2
func (o *MessageReceipt) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MessageReceipt) GetScheduledAt ¶ added in v2.4.2
func (o *MessageReceipt) GetScheduledAt() time.Time
GetScheduledAt returns the ScheduledAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MessageReceipt) GetScheduledAtOk ¶ added in v2.4.2
func (o *MessageReceipt) GetScheduledAtOk() (*time.Time, bool)
GetScheduledAtOk returns a tuple with the ScheduledAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MessageReceipt) GetStatus ¶ added in v2.4.2
func (o *MessageReceipt) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*MessageReceipt) GetStatusOk ¶ added in v2.4.2
func (o *MessageReceipt) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageReceipt) HasScheduledAt ¶ added in v2.4.2
func (o *MessageReceipt) HasScheduledAt() bool
HasScheduledAt returns a boolean if a field has been set.
func (*MessageReceipt) HasStatus ¶ added in v2.4.2
func (o *MessageReceipt) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (MessageReceipt) MarshalJSON ¶ added in v2.4.2
func (o MessageReceipt) MarshalJSON() ([]byte, error)
func (*MessageReceipt) SetId ¶ added in v2.4.2
func (o *MessageReceipt) SetId(v string)
SetId sets field value
func (*MessageReceipt) SetScheduledAt ¶ added in v2.4.2
func (o *MessageReceipt) SetScheduledAt(v time.Time)
SetScheduledAt gets a reference to the given NullableTime and assigns it to the ScheduledAt field.
func (*MessageReceipt) SetScheduledAtNil ¶ added in v2.4.2
func (o *MessageReceipt) SetScheduledAtNil()
SetScheduledAtNil sets the value for ScheduledAt to be an explicit nil
func (*MessageReceipt) SetStatus ¶ added in v2.4.2
func (o *MessageReceipt) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (MessageReceipt) ToMap ¶ added in v2.4.8
func (o MessageReceipt) ToMap() (map[string]interface{}, error)
func (*MessageReceipt) UnmarshalJSON ¶ added in v2.5.9
func (o *MessageReceipt) UnmarshalJSON(data []byte) (err error)
func (*MessageReceipt) UnsetScheduledAt ¶ added in v2.4.2
func (o *MessageReceipt) UnsetScheduledAt()
UnsetScheduledAt ensures that no value is present for ScheduledAt, not even an explicit nil
type Node ¶
type Node struct { // Unique id for the edge node Id NullableString `json:"id,omitempty"` // UUID to identify the edge node Ident NullableString `json:"ident,omitempty"` // Password with which the node identifies itself // Deprecated Password NullableString `json:"password,omitempty"` // ID of the corresponding asset AssetId NullableInt32 `json:"assetId,omitempty"` // Vendor name Vendor NullableString `json:"vendor,omitempty"` // Model name Model NullableString `json:"model,omitempty"` // Descriptive text for the edge node Description NullableString `json:"description,omitempty"` // Is the node enabled or not Enable *bool `json:"enable,omitempty"` }
Node An edge node
func NewNode ¶
func NewNode() *Node
NewNode instantiates a new Node 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 NewNodeWithDefaults ¶
func NewNodeWithDefaults() *Node
NewNodeWithDefaults instantiates a new Node 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 (*Node) GetAssetId ¶
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Node) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Node) GetEnableOk ¶
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Node) GetId ¶
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Node) GetIdent ¶
GetIdent returns the Ident field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetIdentOk ¶
GetIdentOk returns a tuple with the Ident field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Node) GetModel ¶
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetModelOk ¶
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Node) GetPassword ¶
GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*Node) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*Node) GetVendor ¶
GetVendor returns the Vendor field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetVendorOk ¶
GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Node) HasAssetId ¶
HasAssetId returns a boolean if a field has been set.
func (*Node) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Node) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (Node) MarshalJSON ¶
func (*Node) SetAssetId ¶
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*Node) SetAssetIdNil ¶
func (o *Node) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*Node) SetDescription ¶
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*Node) SetDescriptionNil ¶
func (o *Node) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*Node) SetEnable ¶
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*Node) SetId ¶
SetId gets a reference to the given NullableString and assigns it to the Id field.
func (*Node) SetIdNil ¶
func (o *Node) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*Node) SetIdent ¶
SetIdent gets a reference to the given NullableString and assigns it to the Ident field.
func (*Node) SetIdentNil ¶
func (o *Node) SetIdentNil()
SetIdentNil sets the value for Ident to be an explicit nil
func (*Node) SetModel ¶
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*Node) SetModelNil ¶
func (o *Node) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*Node) SetPassword ¶
SetPassword gets a reference to the given NullableString and assigns it to the Password field. Deprecated
func (*Node) SetPasswordNil ¶
func (o *Node) SetPasswordNil()
SetPasswordNil sets the value for Password to be an explicit nil
func (*Node) SetVendor ¶
SetVendor gets a reference to the given NullableString and assigns it to the Vendor field.
func (*Node) SetVendorNil ¶
func (o *Node) SetVendorNil()
SetVendorNil sets the value for Vendor to be an explicit nil
func (*Node) UnsetAssetId ¶
func (o *Node) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*Node) UnsetDescription ¶
func (o *Node) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*Node) UnsetId ¶
func (o *Node) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*Node) UnsetIdent ¶
func (o *Node) UnsetIdent()
UnsetIdent ensures that no value is present for Ident, not even an explicit nil
func (*Node) UnsetModel ¶
func (o *Node) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
func (*Node) UnsetPassword ¶
func (o *Node) UnsetPassword()
UnsetPassword ensures that no value is present for Password, not even an explicit nil
func (*Node) UnsetVendor ¶
func (o *Node) UnsetVendor()
UnsetVendor ensures that no value is present for Vendor, not even an explicit nil
type NodesAPIService ¶ added in v2.5.3
type NodesAPIService service
NodesAPIService NodesAPI service
func (*NodesAPIService) GetNodeByIdent ¶ added in v2.5.3
func (a *NodesAPIService) GetNodeByIdent(ctx context.Context, nodeIdent string) ApiGetNodeByIdentRequest
GetNodeByIdent Information about a node
Gets information about a node.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param nodeIdent The UUID identifier of the node @return ApiGetNodeByIdentRequest
func (*NodesAPIService) GetNodeByIdentExecute ¶ added in v2.5.3
func (a *NodesAPIService) GetNodeByIdentExecute(r ApiGetNodeByIdentRequest) (*Node, *http.Response, error)
Execute executes the request
@return Node
func (*NodesAPIService) GetNodes ¶ added in v2.5.3
func (a *NodesAPIService) GetNodes(ctx context.Context) ApiGetNodesRequest
GetNodes Information about nodes
Gets information about nodes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetNodesRequest
func (*NodesAPIService) GetNodesExecute ¶ added in v2.5.3
func (a *NodesAPIService) GetNodesExecute(r ApiGetNodesRequest) ([]Node, *http.Response, error)
Execute executes the request
@return []Node
func (*NodesAPIService) PostNode ¶ added in v2.5.3
func (a *NodesAPIService) PostNode(ctx context.Context) ApiPostNodeRequest
PostNode Create a node
Create a new node.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostNodeRequest
func (*NodesAPIService) PostNodeExecute ¶ added in v2.5.3
func (a *NodesAPIService) PostNodeExecute(r ApiPostNodeRequest) (*Node, *http.Response, error)
Execute executes the request
@return Node
func (*NodesAPIService) PutNode ¶ added in v2.5.3
func (a *NodesAPIService) PutNode(ctx context.Context) ApiPutNodeRequest
PutNode Create or update a node
Deprecated - Use POST /nodes to create PUT /nodes/{node-ident} to update.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutNodeRequest
Deprecated
func (*NodesAPIService) PutNodeByIdent ¶ added in v2.5.3
func (a *NodesAPIService) PutNodeByIdent(ctx context.Context, nodeIdent string) ApiPutNodeByIdentRequest
PutNodeByIdent Update a node
Update a node.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param nodeIdent The UUID identifier of the node @return ApiPutNodeByIdentRequest
func (*NodesAPIService) PutNodeByIdentExecute ¶ added in v2.5.3
func (a *NodesAPIService) PutNodeByIdentExecute(r ApiPutNodeByIdentRequest) (*Node, *http.Response, error)
Execute executes the request
@return Node
func (*NodesAPIService) PutNodeExecute ¶ added in v2.5.3
func (a *NodesAPIService) PutNodeExecute(r ApiPutNodeRequest) (*Node, *http.Response, error)
Execute executes the request
@return Node
Deprecated
type Notification ¶ added in v2.5.3
type Notification struct { // E-Mail address or internal ID of the Eliona user User string `json:"user"` // ID of the project the notification should appear ProjectId NullableString `json:"projectId,omitempty"` Message NullableTranslation `json:"message"` }
Notification A notification
func NewNotification ¶ added in v2.5.3
func NewNotification(user string, message NullableTranslation) *Notification
NewNotification instantiates a new Notification 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 NewNotificationWithDefaults ¶ added in v2.5.3
func NewNotificationWithDefaults() *Notification
NewNotificationWithDefaults instantiates a new Notification 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 (*Notification) GetMessage ¶ added in v2.5.3
func (o *Notification) GetMessage() Translation
GetMessage returns the Message field value If the value is explicit nil, the zero value for Translation will be returned
func (*Notification) GetMessageOk ¶ added in v2.5.3
func (o *Notification) GetMessageOk() (*Translation, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Notification) GetProjectId ¶ added in v2.5.3
func (o *Notification) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Notification) GetProjectIdOk ¶ added in v2.5.3
func (o *Notification) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Notification) GetUser ¶ added in v2.5.3
func (o *Notification) GetUser() string
GetUser returns the User field value
func (*Notification) GetUserOk ¶ added in v2.5.3
func (o *Notification) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (*Notification) HasProjectId ¶ added in v2.5.3
func (o *Notification) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (Notification) MarshalJSON ¶ added in v2.5.3
func (o Notification) MarshalJSON() ([]byte, error)
func (*Notification) SetMessage ¶ added in v2.5.3
func (o *Notification) SetMessage(v Translation)
SetMessage sets field value
func (*Notification) SetProjectId ¶ added in v2.5.3
func (o *Notification) SetProjectId(v string)
SetProjectId gets a reference to the given NullableString and assigns it to the ProjectId field.
func (*Notification) SetProjectIdNil ¶ added in v2.5.3
func (o *Notification) SetProjectIdNil()
SetProjectIdNil sets the value for ProjectId to be an explicit nil
func (*Notification) SetUser ¶ added in v2.5.3
func (o *Notification) SetUser(v string)
SetUser sets field value
func (Notification) ToMap ¶ added in v2.5.3
func (o Notification) ToMap() (map[string]interface{}, error)
func (*Notification) UnmarshalJSON ¶ added in v2.5.9
func (o *Notification) UnmarshalJSON(data []byte) (err error)
func (*Notification) UnsetProjectId ¶ added in v2.5.3
func (o *Notification) UnsetProjectId()
UnsetProjectId ensures that no value is present for ProjectId, not even an explicit nil
type NullableAgent ¶
type NullableAgent struct {
// contains filtered or unexported fields
}
func NewNullableAgent ¶
func NewNullableAgent(val *Agent) *NullableAgent
func (NullableAgent) Get ¶
func (v NullableAgent) Get() *Agent
func (NullableAgent) IsSet ¶
func (v NullableAgent) IsSet() bool
func (NullableAgent) MarshalJSON ¶
func (v NullableAgent) MarshalJSON() ([]byte, error)
func (*NullableAgent) Set ¶
func (v *NullableAgent) Set(val *Agent)
func (*NullableAgent) UnmarshalJSON ¶
func (v *NullableAgent) UnmarshalJSON(src []byte) error
func (*NullableAgent) Unset ¶
func (v *NullableAgent) Unset()
type NullableAgentClass ¶
type NullableAgentClass struct {
// contains filtered or unexported fields
}
func NewNullableAgentClass ¶
func NewNullableAgentClass(val *AgentClass) *NullableAgentClass
func (NullableAgentClass) Get ¶
func (v NullableAgentClass) Get() *AgentClass
func (NullableAgentClass) IsSet ¶
func (v NullableAgentClass) IsSet() bool
func (NullableAgentClass) MarshalJSON ¶
func (v NullableAgentClass) MarshalJSON() ([]byte, error)
func (*NullableAgentClass) Set ¶
func (v *NullableAgentClass) Set(val *AgentClass)
func (*NullableAgentClass) UnmarshalJSON ¶
func (v *NullableAgentClass) UnmarshalJSON(src []byte) error
func (*NullableAgentClass) Unset ¶
func (v *NullableAgentClass) Unset()
type NullableAgentDevice ¶
type NullableAgentDevice struct {
// contains filtered or unexported fields
}
func NewNullableAgentDevice ¶
func NewNullableAgentDevice(val *AgentDevice) *NullableAgentDevice
func (NullableAgentDevice) Get ¶
func (v NullableAgentDevice) Get() *AgentDevice
func (NullableAgentDevice) IsSet ¶
func (v NullableAgentDevice) IsSet() bool
func (NullableAgentDevice) MarshalJSON ¶
func (v NullableAgentDevice) MarshalJSON() ([]byte, error)
func (*NullableAgentDevice) Set ¶
func (v *NullableAgentDevice) Set(val *AgentDevice)
func (*NullableAgentDevice) UnmarshalJSON ¶
func (v *NullableAgentDevice) UnmarshalJSON(src []byte) error
func (*NullableAgentDevice) Unset ¶
func (v *NullableAgentDevice) Unset()
type NullableAgentDeviceGeneral ¶
type NullableAgentDeviceGeneral struct {
// contains filtered or unexported fields
}
func NewNullableAgentDeviceGeneral ¶
func NewNullableAgentDeviceGeneral(val *AgentDeviceGeneral) *NullableAgentDeviceGeneral
func (NullableAgentDeviceGeneral) Get ¶
func (v NullableAgentDeviceGeneral) Get() *AgentDeviceGeneral
func (NullableAgentDeviceGeneral) IsSet ¶
func (v NullableAgentDeviceGeneral) IsSet() bool
func (NullableAgentDeviceGeneral) MarshalJSON ¶
func (v NullableAgentDeviceGeneral) MarshalJSON() ([]byte, error)
func (*NullableAgentDeviceGeneral) Set ¶
func (v *NullableAgentDeviceGeneral) Set(val *AgentDeviceGeneral)
func (*NullableAgentDeviceGeneral) UnmarshalJSON ¶
func (v *NullableAgentDeviceGeneral) UnmarshalJSON(src []byte) error
func (*NullableAgentDeviceGeneral) Unset ¶
func (v *NullableAgentDeviceGeneral) Unset()
type NullableAgentDeviceMapping ¶
type NullableAgentDeviceMapping struct {
// contains filtered or unexported fields
}
func NewNullableAgentDeviceMapping ¶
func NewNullableAgentDeviceMapping(val *AgentDeviceMapping) *NullableAgentDeviceMapping
func (NullableAgentDeviceMapping) Get ¶
func (v NullableAgentDeviceMapping) Get() *AgentDeviceMapping
func (NullableAgentDeviceMapping) IsSet ¶
func (v NullableAgentDeviceMapping) IsSet() bool
func (NullableAgentDeviceMapping) MarshalJSON ¶
func (v NullableAgentDeviceMapping) MarshalJSON() ([]byte, error)
func (*NullableAgentDeviceMapping) Set ¶
func (v *NullableAgentDeviceMapping) Set(val *AgentDeviceMapping)
func (*NullableAgentDeviceMapping) UnmarshalJSON ¶
func (v *NullableAgentDeviceMapping) UnmarshalJSON(src []byte) error
func (*NullableAgentDeviceMapping) Unset ¶
func (v *NullableAgentDeviceMapping) Unset()
type NullableAgentDeviceMappingGeneral ¶
type NullableAgentDeviceMappingGeneral struct {
// contains filtered or unexported fields
}
func NewNullableAgentDeviceMappingGeneral ¶
func NewNullableAgentDeviceMappingGeneral(val *AgentDeviceMappingGeneral) *NullableAgentDeviceMappingGeneral
func (NullableAgentDeviceMappingGeneral) Get ¶
func (v NullableAgentDeviceMappingGeneral) Get() *AgentDeviceMappingGeneral
func (NullableAgentDeviceMappingGeneral) IsSet ¶
func (v NullableAgentDeviceMappingGeneral) IsSet() bool
func (NullableAgentDeviceMappingGeneral) MarshalJSON ¶
func (v NullableAgentDeviceMappingGeneral) MarshalJSON() ([]byte, error)
func (*NullableAgentDeviceMappingGeneral) Set ¶
func (v *NullableAgentDeviceMappingGeneral) Set(val *AgentDeviceMappingGeneral)
func (*NullableAgentDeviceMappingGeneral) UnmarshalJSON ¶
func (v *NullableAgentDeviceMappingGeneral) UnmarshalJSON(src []byte) error
func (*NullableAgentDeviceMappingGeneral) Unset ¶
func (v *NullableAgentDeviceMappingGeneral) Unset()
type NullableAggregation ¶
type NullableAggregation struct {
// contains filtered or unexported fields
}
func NewNullableAggregation ¶
func NewNullableAggregation(val *Aggregation) *NullableAggregation
func (NullableAggregation) Get ¶
func (v NullableAggregation) Get() *Aggregation
func (NullableAggregation) IsSet ¶
func (v NullableAggregation) IsSet() bool
func (NullableAggregation) MarshalJSON ¶
func (v NullableAggregation) MarshalJSON() ([]byte, error)
func (*NullableAggregation) Set ¶
func (v *NullableAggregation) Set(val *Aggregation)
func (*NullableAggregation) UnmarshalJSON ¶
func (v *NullableAggregation) UnmarshalJSON(src []byte) error
func (*NullableAggregation) Unset ¶
func (v *NullableAggregation) Unset()
type NullableAlarm ¶
type NullableAlarm struct {
// contains filtered or unexported fields
}
func NewNullableAlarm ¶
func NewNullableAlarm(val *Alarm) *NullableAlarm
func (NullableAlarm) Get ¶
func (v NullableAlarm) Get() *Alarm
func (NullableAlarm) IsSet ¶
func (v NullableAlarm) IsSet() bool
func (NullableAlarm) MarshalJSON ¶
func (v NullableAlarm) MarshalJSON() ([]byte, error)
func (*NullableAlarm) Set ¶
func (v *NullableAlarm) Set(val *Alarm)
func (*NullableAlarm) UnmarshalJSON ¶
func (v *NullableAlarm) UnmarshalJSON(src []byte) error
func (*NullableAlarm) Unset ¶
func (v *NullableAlarm) Unset()
type NullableAlarmListen ¶ added in v2.6.0
type NullableAlarmListen struct {
// contains filtered or unexported fields
}
func NewNullableAlarmListen ¶ added in v2.6.0
func NewNullableAlarmListen(val *AlarmListen) *NullableAlarmListen
func (NullableAlarmListen) Get ¶ added in v2.6.0
func (v NullableAlarmListen) Get() *AlarmListen
func (NullableAlarmListen) IsSet ¶ added in v2.6.0
func (v NullableAlarmListen) IsSet() bool
func (NullableAlarmListen) MarshalJSON ¶ added in v2.6.0
func (v NullableAlarmListen) MarshalJSON() ([]byte, error)
func (*NullableAlarmListen) Set ¶ added in v2.6.0
func (v *NullableAlarmListen) Set(val *AlarmListen)
func (*NullableAlarmListen) UnmarshalJSON ¶ added in v2.6.0
func (v *NullableAlarmListen) UnmarshalJSON(src []byte) error
func (*NullableAlarmListen) Unset ¶ added in v2.6.0
func (v *NullableAlarmListen) Unset()
type NullableAlarmPriority ¶
type NullableAlarmPriority struct {
// contains filtered or unexported fields
}
func NewNullableAlarmPriority ¶
func NewNullableAlarmPriority(val *AlarmPriority) *NullableAlarmPriority
func (NullableAlarmPriority) Get ¶
func (v NullableAlarmPriority) Get() *AlarmPriority
func (NullableAlarmPriority) IsSet ¶
func (v NullableAlarmPriority) IsSet() bool
func (NullableAlarmPriority) MarshalJSON ¶
func (v NullableAlarmPriority) MarshalJSON() ([]byte, error)
func (*NullableAlarmPriority) Set ¶
func (v *NullableAlarmPriority) Set(val *AlarmPriority)
func (*NullableAlarmPriority) UnmarshalJSON ¶
func (v *NullableAlarmPriority) UnmarshalJSON(src []byte) error
func (*NullableAlarmPriority) Unset ¶
func (v *NullableAlarmPriority) Unset()
type NullableAlarmRule ¶
type NullableAlarmRule struct {
// contains filtered or unexported fields
}
func NewNullableAlarmRule ¶
func NewNullableAlarmRule(val *AlarmRule) *NullableAlarmRule
func (NullableAlarmRule) Get ¶
func (v NullableAlarmRule) Get() *AlarmRule
func (NullableAlarmRule) IsSet ¶
func (v NullableAlarmRule) IsSet() bool
func (NullableAlarmRule) MarshalJSON ¶
func (v NullableAlarmRule) MarshalJSON() ([]byte, error)
func (*NullableAlarmRule) Set ¶
func (v *NullableAlarmRule) Set(val *AlarmRule)
func (*NullableAlarmRule) UnmarshalJSON ¶
func (v *NullableAlarmRule) UnmarshalJSON(src []byte) error
func (*NullableAlarmRule) Unset ¶
func (v *NullableAlarmRule) Unset()
type NullableApp ¶
type NullableApp struct {
// contains filtered or unexported fields
}
func NewNullableApp ¶
func NewNullableApp(val *App) *NullableApp
func (NullableApp) Get ¶
func (v NullableApp) Get() *App
func (NullableApp) IsSet ¶
func (v NullableApp) IsSet() bool
func (NullableApp) MarshalJSON ¶
func (v NullableApp) MarshalJSON() ([]byte, error)
func (*NullableApp) Set ¶
func (v *NullableApp) Set(val *App)
func (*NullableApp) UnmarshalJSON ¶
func (v *NullableApp) UnmarshalJSON(src []byte) error
func (*NullableApp) Unset ¶
func (v *NullableApp) Unset()
type NullableAsset ¶
type NullableAsset struct {
// contains filtered or unexported fields
}
func NewNullableAsset ¶
func NewNullableAsset(val *Asset) *NullableAsset
func (NullableAsset) Get ¶
func (v NullableAsset) Get() *Asset
func (NullableAsset) IsSet ¶
func (v NullableAsset) IsSet() bool
func (NullableAsset) MarshalJSON ¶
func (v NullableAsset) MarshalJSON() ([]byte, error)
func (*NullableAsset) Set ¶
func (v *NullableAsset) Set(val *Asset)
func (*NullableAsset) UnmarshalJSON ¶
func (v *NullableAsset) UnmarshalJSON(src []byte) error
func (*NullableAsset) Unset ¶
func (v *NullableAsset) Unset()
type NullableAssetDryRun ¶ added in v2.5.3
type NullableAssetDryRun struct {
// contains filtered or unexported fields
}
func NewNullableAssetDryRun ¶ added in v2.5.3
func NewNullableAssetDryRun(val *AssetDryRun) *NullableAssetDryRun
func (NullableAssetDryRun) Get ¶ added in v2.5.3
func (v NullableAssetDryRun) Get() *AssetDryRun
func (NullableAssetDryRun) IsSet ¶ added in v2.5.3
func (v NullableAssetDryRun) IsSet() bool
func (NullableAssetDryRun) MarshalJSON ¶ added in v2.5.3
func (v NullableAssetDryRun) MarshalJSON() ([]byte, error)
func (*NullableAssetDryRun) Set ¶ added in v2.5.3
func (v *NullableAssetDryRun) Set(val *AssetDryRun)
func (*NullableAssetDryRun) UnmarshalJSON ¶ added in v2.5.3
func (v *NullableAssetDryRun) UnmarshalJSON(src []byte) error
func (*NullableAssetDryRun) Unset ¶ added in v2.5.3
func (v *NullableAssetDryRun) Unset()
type NullableAssetIdentifyBy ¶ added in v2.5.3
type NullableAssetIdentifyBy struct {
// contains filtered or unexported fields
}
func NewNullableAssetIdentifyBy ¶ added in v2.5.3
func NewNullableAssetIdentifyBy(val *AssetIdentifyBy) *NullableAssetIdentifyBy
func (NullableAssetIdentifyBy) Get ¶ added in v2.5.3
func (v NullableAssetIdentifyBy) Get() *AssetIdentifyBy
func (NullableAssetIdentifyBy) IsSet ¶ added in v2.5.3
func (v NullableAssetIdentifyBy) IsSet() bool
func (NullableAssetIdentifyBy) MarshalJSON ¶ added in v2.5.3
func (v NullableAssetIdentifyBy) MarshalJSON() ([]byte, error)
func (*NullableAssetIdentifyBy) Set ¶ added in v2.5.3
func (v *NullableAssetIdentifyBy) Set(val *AssetIdentifyBy)
func (*NullableAssetIdentifyBy) UnmarshalJSON ¶ added in v2.5.3
func (v *NullableAssetIdentifyBy) UnmarshalJSON(src []byte) error
func (*NullableAssetIdentifyBy) Unset ¶ added in v2.5.3
func (v *NullableAssetIdentifyBy) Unset()
type NullableAssetListen ¶ added in v2.6.0
type NullableAssetListen struct {
// contains filtered or unexported fields
}
func NewNullableAssetListen ¶ added in v2.6.0
func NewNullableAssetListen(val *AssetListen) *NullableAssetListen
func (NullableAssetListen) Get ¶ added in v2.6.0
func (v NullableAssetListen) Get() *AssetListen
func (NullableAssetListen) IsSet ¶ added in v2.6.0
func (v NullableAssetListen) IsSet() bool
func (NullableAssetListen) MarshalJSON ¶ added in v2.6.0
func (v NullableAssetListen) MarshalJSON() ([]byte, error)
func (*NullableAssetListen) Set ¶ added in v2.6.0
func (v *NullableAssetListen) Set(val *AssetListen)
func (*NullableAssetListen) UnmarshalJSON ¶ added in v2.6.0
func (v *NullableAssetListen) UnmarshalJSON(src []byte) error
func (*NullableAssetListen) Unset ¶ added in v2.6.0
func (v *NullableAssetListen) Unset()
type NullableAssetType ¶
type NullableAssetType struct {
// contains filtered or unexported fields
}
func NewNullableAssetType ¶
func NewNullableAssetType(val *AssetType) *NullableAssetType
func (NullableAssetType) Get ¶
func (v NullableAssetType) Get() *AssetType
func (NullableAssetType) IsSet ¶
func (v NullableAssetType) IsSet() bool
func (NullableAssetType) MarshalJSON ¶
func (v NullableAssetType) MarshalJSON() ([]byte, error)
func (*NullableAssetType) Set ¶
func (v *NullableAssetType) Set(val *AssetType)
func (*NullableAssetType) UnmarshalJSON ¶
func (v *NullableAssetType) UnmarshalJSON(src []byte) error
func (*NullableAssetType) Unset ¶
func (v *NullableAssetType) Unset()
type NullableAssetTypeAttribute ¶
type NullableAssetTypeAttribute struct {
// contains filtered or unexported fields
}
func NewNullableAssetTypeAttribute ¶
func NewNullableAssetTypeAttribute(val *AssetTypeAttribute) *NullableAssetTypeAttribute
func (NullableAssetTypeAttribute) Get ¶
func (v NullableAssetTypeAttribute) Get() *AssetTypeAttribute
func (NullableAssetTypeAttribute) IsSet ¶
func (v NullableAssetTypeAttribute) IsSet() bool
func (NullableAssetTypeAttribute) MarshalJSON ¶
func (v NullableAssetTypeAttribute) MarshalJSON() ([]byte, error)
func (*NullableAssetTypeAttribute) Set ¶
func (v *NullableAssetTypeAttribute) Set(val *AssetTypeAttribute)
func (*NullableAssetTypeAttribute) UnmarshalJSON ¶
func (v *NullableAssetTypeAttribute) UnmarshalJSON(src []byte) error
func (*NullableAssetTypeAttribute) Unset ¶
func (v *NullableAssetTypeAttribute) Unset()
type NullableAttachment ¶ added in v2.4.2
type NullableAttachment struct {
// contains filtered or unexported fields
}
func NewNullableAttachment ¶ added in v2.4.2
func NewNullableAttachment(val *Attachment) *NullableAttachment
func (NullableAttachment) Get ¶ added in v2.4.2
func (v NullableAttachment) Get() *Attachment
func (NullableAttachment) IsSet ¶ added in v2.4.2
func (v NullableAttachment) IsSet() bool
func (NullableAttachment) MarshalJSON ¶ added in v2.4.2
func (v NullableAttachment) MarshalJSON() ([]byte, error)
func (*NullableAttachment) Set ¶ added in v2.4.2
func (v *NullableAttachment) Set(val *Attachment)
func (*NullableAttachment) UnmarshalJSON ¶ added in v2.4.2
func (v *NullableAttachment) UnmarshalJSON(src []byte) error
func (*NullableAttachment) Unset ¶ added in v2.4.2
func (v *NullableAttachment) Unset()
type NullableAttributeDisplay ¶ added in v2.5.3
type NullableAttributeDisplay struct {
// contains filtered or unexported fields
}
func NewNullableAttributeDisplay ¶ added in v2.5.3
func NewNullableAttributeDisplay(val *AttributeDisplay) *NullableAttributeDisplay
func (NullableAttributeDisplay) Get ¶ added in v2.5.3
func (v NullableAttributeDisplay) Get() *AttributeDisplay
func (NullableAttributeDisplay) IsSet ¶ added in v2.5.3
func (v NullableAttributeDisplay) IsSet() bool
func (NullableAttributeDisplay) MarshalJSON ¶ added in v2.5.3
func (v NullableAttributeDisplay) MarshalJSON() ([]byte, error)
func (*NullableAttributeDisplay) Set ¶ added in v2.5.3
func (v *NullableAttributeDisplay) Set(val *AttributeDisplay)
func (*NullableAttributeDisplay) UnmarshalJSON ¶ added in v2.5.3
func (v *NullableAttributeDisplay) UnmarshalJSON(src []byte) error
func (*NullableAttributeDisplay) Unset ¶ added in v2.5.3
func (v *NullableAttributeDisplay) Unset()
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 NullableCalculationRule ¶ added in v2.6.11
type NullableCalculationRule struct {
// contains filtered or unexported fields
}
func NewNullableCalculationRule ¶ added in v2.6.11
func NewNullableCalculationRule(val *CalculationRule) *NullableCalculationRule
func (NullableCalculationRule) Get ¶ added in v2.6.11
func (v NullableCalculationRule) Get() *CalculationRule
func (NullableCalculationRule) IsSet ¶ added in v2.6.11
func (v NullableCalculationRule) IsSet() bool
func (NullableCalculationRule) MarshalJSON ¶ added in v2.6.11
func (v NullableCalculationRule) MarshalJSON() ([]byte, error)
func (*NullableCalculationRule) Set ¶ added in v2.6.11
func (v *NullableCalculationRule) Set(val *CalculationRule)
func (*NullableCalculationRule) UnmarshalJSON ¶ added in v2.6.11
func (v *NullableCalculationRule) UnmarshalJSON(src []byte) error
func (*NullableCalculationRule) Unset ¶ added in v2.6.11
func (v *NullableCalculationRule) Unset()
type NullableDashboard ¶
type NullableDashboard struct {
// contains filtered or unexported fields
}
func NewNullableDashboard ¶
func NewNullableDashboard(val *Dashboard) *NullableDashboard
func (NullableDashboard) Get ¶
func (v NullableDashboard) Get() *Dashboard
func (NullableDashboard) IsSet ¶
func (v NullableDashboard) IsSet() bool
func (NullableDashboard) MarshalJSON ¶
func (v NullableDashboard) MarshalJSON() ([]byte, error)
func (*NullableDashboard) Set ¶
func (v *NullableDashboard) Set(val *Dashboard)
func (*NullableDashboard) UnmarshalJSON ¶
func (v *NullableDashboard) UnmarshalJSON(src []byte) error
func (*NullableDashboard) Unset ¶
func (v *NullableDashboard) Unset()
type NullableData ¶
type NullableData struct {
// contains filtered or unexported fields
}
func NewNullableData ¶
func NewNullableData(val *Data) *NullableData
func (NullableData) Get ¶
func (v NullableData) Get() *Data
func (NullableData) IsSet ¶
func (v NullableData) IsSet() bool
func (NullableData) MarshalJSON ¶
func (v NullableData) MarshalJSON() ([]byte, error)
func (*NullableData) Set ¶
func (v *NullableData) Set(val *Data)
func (*NullableData) UnmarshalJSON ¶
func (v *NullableData) UnmarshalJSON(src []byte) error
func (*NullableData) Unset ¶
func (v *NullableData) Unset()
type NullableDataAggregated ¶
type NullableDataAggregated struct {
// contains filtered or unexported fields
}
func NewNullableDataAggregated ¶
func NewNullableDataAggregated(val *DataAggregated) *NullableDataAggregated
func (NullableDataAggregated) Get ¶
func (v NullableDataAggregated) Get() *DataAggregated
func (NullableDataAggregated) IsSet ¶
func (v NullableDataAggregated) IsSet() bool
func (NullableDataAggregated) MarshalJSON ¶
func (v NullableDataAggregated) MarshalJSON() ([]byte, error)
func (*NullableDataAggregated) Set ¶
func (v *NullableDataAggregated) Set(val *DataAggregated)
func (*NullableDataAggregated) UnmarshalJSON ¶
func (v *NullableDataAggregated) UnmarshalJSON(src []byte) error
func (*NullableDataAggregated) Unset ¶
func (v *NullableDataAggregated) Unset()
type NullableDataListen ¶ added in v2.6.0
type NullableDataListen struct {
// contains filtered or unexported fields
}
func NewNullableDataListen ¶ added in v2.6.0
func NewNullableDataListen(val *DataListen) *NullableDataListen
func (NullableDataListen) Get ¶ added in v2.6.0
func (v NullableDataListen) Get() *DataListen
func (NullableDataListen) IsSet ¶ added in v2.6.0
func (v NullableDataListen) IsSet() bool
func (NullableDataListen) MarshalJSON ¶ added in v2.6.0
func (v NullableDataListen) MarshalJSON() ([]byte, error)
func (*NullableDataListen) Set ¶ added in v2.6.0
func (v *NullableDataListen) Set(val *DataListen)
func (*NullableDataListen) UnmarshalJSON ¶ added in v2.6.0
func (v *NullableDataListen) UnmarshalJSON(src []byte) error
func (*NullableDataListen) Unset ¶ added in v2.6.0
func (v *NullableDataListen) Unset()
type NullableDataSubtype ¶
type NullableDataSubtype struct {
// contains filtered or unexported fields
}
func NewNullableDataSubtype ¶
func NewNullableDataSubtype(val *DataSubtype) *NullableDataSubtype
func (NullableDataSubtype) Get ¶
func (v NullableDataSubtype) Get() *DataSubtype
func (NullableDataSubtype) IsSet ¶
func (v NullableDataSubtype) IsSet() bool
func (NullableDataSubtype) MarshalJSON ¶
func (v NullableDataSubtype) MarshalJSON() ([]byte, error)
func (*NullableDataSubtype) Set ¶
func (v *NullableDataSubtype) Set(val *DataSubtype)
func (*NullableDataSubtype) UnmarshalJSON ¶
func (v *NullableDataSubtype) UnmarshalJSON(src []byte) error
func (*NullableDataSubtype) Unset ¶
func (v *NullableDataSubtype) Unset()
type NullableDryRunGeneral ¶ added in v2.5.3
type NullableDryRunGeneral struct {
// contains filtered or unexported fields
}
func NewNullableDryRunGeneral ¶ added in v2.5.3
func NewNullableDryRunGeneral(val *DryRunGeneral) *NullableDryRunGeneral
func (NullableDryRunGeneral) Get ¶ added in v2.5.3
func (v NullableDryRunGeneral) Get() *DryRunGeneral
func (NullableDryRunGeneral) IsSet ¶ added in v2.5.3
func (v NullableDryRunGeneral) IsSet() bool
func (NullableDryRunGeneral) MarshalJSON ¶ added in v2.5.3
func (v NullableDryRunGeneral) MarshalJSON() ([]byte, error)
func (*NullableDryRunGeneral) Set ¶ added in v2.5.3
func (v *NullableDryRunGeneral) Set(val *DryRunGeneral)
func (*NullableDryRunGeneral) UnmarshalJSON ¶ added in v2.5.3
func (v *NullableDryRunGeneral) UnmarshalJSON(src []byte) error
func (*NullableDryRunGeneral) Unset ¶ added in v2.5.3
func (v *NullableDryRunGeneral) 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 NullableIosysAgentDevice ¶
type NullableIosysAgentDevice struct {
// contains filtered or unexported fields
}
func NewNullableIosysAgentDevice ¶
func NewNullableIosysAgentDevice(val *IosysAgentDevice) *NullableIosysAgentDevice
func (NullableIosysAgentDevice) Get ¶
func (v NullableIosysAgentDevice) Get() *IosysAgentDevice
func (NullableIosysAgentDevice) IsSet ¶
func (v NullableIosysAgentDevice) IsSet() bool
func (NullableIosysAgentDevice) MarshalJSON ¶
func (v NullableIosysAgentDevice) MarshalJSON() ([]byte, error)
func (*NullableIosysAgentDevice) Set ¶
func (v *NullableIosysAgentDevice) Set(val *IosysAgentDevice)
func (*NullableIosysAgentDevice) UnmarshalJSON ¶
func (v *NullableIosysAgentDevice) UnmarshalJSON(src []byte) error
func (*NullableIosysAgentDevice) Unset ¶
func (v *NullableIosysAgentDevice) Unset()
type NullableIosysAgentDeviceMapping ¶
type NullableIosysAgentDeviceMapping struct {
// contains filtered or unexported fields
}
func NewNullableIosysAgentDeviceMapping ¶
func NewNullableIosysAgentDeviceMapping(val *IosysAgentDeviceMapping) *NullableIosysAgentDeviceMapping
func (NullableIosysAgentDeviceMapping) Get ¶
func (v NullableIosysAgentDeviceMapping) Get() *IosysAgentDeviceMapping
func (NullableIosysAgentDeviceMapping) IsSet ¶
func (v NullableIosysAgentDeviceMapping) IsSet() bool
func (NullableIosysAgentDeviceMapping) MarshalJSON ¶
func (v NullableIosysAgentDeviceMapping) MarshalJSON() ([]byte, error)
func (*NullableIosysAgentDeviceMapping) Set ¶
func (v *NullableIosysAgentDeviceMapping) Set(val *IosysAgentDeviceMapping)
func (*NullableIosysAgentDeviceMapping) UnmarshalJSON ¶
func (v *NullableIosysAgentDeviceMapping) UnmarshalJSON(src []byte) error
func (*NullableIosysAgentDeviceMapping) Unset ¶
func (v *NullableIosysAgentDeviceMapping) Unset()
type NullableMbusAgentDevice ¶
type NullableMbusAgentDevice struct {
// contains filtered or unexported fields
}
func NewNullableMbusAgentDevice ¶
func NewNullableMbusAgentDevice(val *MbusAgentDevice) *NullableMbusAgentDevice
func (NullableMbusAgentDevice) Get ¶
func (v NullableMbusAgentDevice) Get() *MbusAgentDevice
func (NullableMbusAgentDevice) IsSet ¶
func (v NullableMbusAgentDevice) IsSet() bool
func (NullableMbusAgentDevice) MarshalJSON ¶
func (v NullableMbusAgentDevice) MarshalJSON() ([]byte, error)
func (*NullableMbusAgentDevice) Set ¶
func (v *NullableMbusAgentDevice) Set(val *MbusAgentDevice)
func (*NullableMbusAgentDevice) UnmarshalJSON ¶
func (v *NullableMbusAgentDevice) UnmarshalJSON(src []byte) error
func (*NullableMbusAgentDevice) Unset ¶
func (v *NullableMbusAgentDevice) Unset()
type NullableMbusAgentDeviceMapping ¶
type NullableMbusAgentDeviceMapping struct {
// contains filtered or unexported fields
}
func NewNullableMbusAgentDeviceMapping ¶
func NewNullableMbusAgentDeviceMapping(val *MbusAgentDeviceMapping) *NullableMbusAgentDeviceMapping
func (NullableMbusAgentDeviceMapping) Get ¶
func (v NullableMbusAgentDeviceMapping) Get() *MbusAgentDeviceMapping
func (NullableMbusAgentDeviceMapping) IsSet ¶
func (v NullableMbusAgentDeviceMapping) IsSet() bool
func (NullableMbusAgentDeviceMapping) MarshalJSON ¶
func (v NullableMbusAgentDeviceMapping) MarshalJSON() ([]byte, error)
func (*NullableMbusAgentDeviceMapping) Set ¶
func (v *NullableMbusAgentDeviceMapping) Set(val *MbusAgentDeviceMapping)
func (*NullableMbusAgentDeviceMapping) UnmarshalJSON ¶
func (v *NullableMbusAgentDeviceMapping) UnmarshalJSON(src []byte) error
func (*NullableMbusAgentDeviceMapping) Unset ¶
func (v *NullableMbusAgentDeviceMapping) Unset()
type NullableMessage ¶ added in v2.4.2
type NullableMessage struct {
// contains filtered or unexported fields
}
func NewNullableMessage ¶ added in v2.4.2
func NewNullableMessage(val *Message) *NullableMessage
func (NullableMessage) Get ¶ added in v2.4.2
func (v NullableMessage) Get() *Message
func (NullableMessage) IsSet ¶ added in v2.4.2
func (v NullableMessage) IsSet() bool
func (NullableMessage) MarshalJSON ¶ added in v2.4.2
func (v NullableMessage) MarshalJSON() ([]byte, error)
func (*NullableMessage) Set ¶ added in v2.4.2
func (v *NullableMessage) Set(val *Message)
func (*NullableMessage) UnmarshalJSON ¶ added in v2.4.2
func (v *NullableMessage) UnmarshalJSON(src []byte) error
func (*NullableMessage) Unset ¶ added in v2.4.2
func (v *NullableMessage) Unset()
type NullableMessageReceipt ¶ added in v2.4.2
type NullableMessageReceipt struct {
// contains filtered or unexported fields
}
func NewNullableMessageReceipt ¶ added in v2.4.2
func NewNullableMessageReceipt(val *MessageReceipt) *NullableMessageReceipt
func (NullableMessageReceipt) Get ¶ added in v2.4.2
func (v NullableMessageReceipt) Get() *MessageReceipt
func (NullableMessageReceipt) IsSet ¶ added in v2.4.2
func (v NullableMessageReceipt) IsSet() bool
func (NullableMessageReceipt) MarshalJSON ¶ added in v2.4.2
func (v NullableMessageReceipt) MarshalJSON() ([]byte, error)
func (*NullableMessageReceipt) Set ¶ added in v2.4.2
func (v *NullableMessageReceipt) Set(val *MessageReceipt)
func (*NullableMessageReceipt) UnmarshalJSON ¶ added in v2.4.2
func (v *NullableMessageReceipt) UnmarshalJSON(src []byte) error
func (*NullableMessageReceipt) Unset ¶ added in v2.4.2
func (v *NullableMessageReceipt) Unset()
type NullableNode ¶
type NullableNode struct {
// contains filtered or unexported fields
}
func NewNullableNode ¶
func NewNullableNode(val *Node) *NullableNode
func (NullableNode) Get ¶
func (v NullableNode) Get() *Node
func (NullableNode) IsSet ¶
func (v NullableNode) IsSet() bool
func (NullableNode) MarshalJSON ¶
func (v NullableNode) MarshalJSON() ([]byte, error)
func (*NullableNode) Set ¶
func (v *NullableNode) Set(val *Node)
func (*NullableNode) UnmarshalJSON ¶
func (v *NullableNode) UnmarshalJSON(src []byte) error
func (*NullableNode) Unset ¶
func (v *NullableNode) Unset()
type NullableNotification ¶ added in v2.5.3
type NullableNotification struct {
// contains filtered or unexported fields
}
func NewNullableNotification ¶ added in v2.5.3
func NewNullableNotification(val *Notification) *NullableNotification
func (NullableNotification) Get ¶ added in v2.5.3
func (v NullableNotification) Get() *Notification
func (NullableNotification) IsSet ¶ added in v2.5.3
func (v NullableNotification) IsSet() bool
func (NullableNotification) MarshalJSON ¶ added in v2.5.3
func (v NullableNotification) MarshalJSON() ([]byte, error)
func (*NullableNotification) Set ¶ added in v2.5.3
func (v *NullableNotification) Set(val *Notification)
func (*NullableNotification) UnmarshalJSON ¶ added in v2.5.3
func (v *NullableNotification) UnmarshalJSON(src []byte) error
func (*NullableNotification) Unset ¶ added in v2.5.3
func (v *NullableNotification) Unset()
type NullablePatch ¶
type NullablePatch struct {
// contains filtered or unexported fields
}
func NewNullablePatch ¶
func NewNullablePatch(val *Patch) *NullablePatch
func (NullablePatch) Get ¶
func (v NullablePatch) Get() *Patch
func (NullablePatch) IsSet ¶
func (v NullablePatch) IsSet() bool
func (NullablePatch) MarshalJSON ¶
func (v NullablePatch) MarshalJSON() ([]byte, error)
func (*NullablePatch) Set ¶
func (v *NullablePatch) Set(val *Patch)
func (*NullablePatch) UnmarshalJSON ¶
func (v *NullablePatch) UnmarshalJSON(src []byte) error
func (*NullablePatch) Unset ¶
func (v *NullablePatch) Unset()
type NullableProject ¶ added in v2.5.3
type NullableProject struct {
// contains filtered or unexported fields
}
func NewNullableProject ¶ added in v2.5.3
func NewNullableProject(val *Project) *NullableProject
func (NullableProject) Get ¶ added in v2.5.3
func (v NullableProject) Get() *Project
func (NullableProject) IsSet ¶ added in v2.5.3
func (v NullableProject) IsSet() bool
func (NullableProject) MarshalJSON ¶ added in v2.5.3
func (v NullableProject) MarshalJSON() ([]byte, error)
func (*NullableProject) Set ¶ added in v2.5.3
func (v *NullableProject) Set(val *Project)
func (*NullableProject) UnmarshalJSON ¶ added in v2.5.3
func (v *NullableProject) UnmarshalJSON(src []byte) error
func (*NullableProject) Unset ¶ added in v2.5.3
func (v *NullableProject) 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 NullableTag ¶ added in v2.5.3
type NullableTag struct {
// contains filtered or unexported fields
}
func NewNullableTag ¶ added in v2.5.3
func NewNullableTag(val *Tag) *NullableTag
func (NullableTag) Get ¶ added in v2.5.3
func (v NullableTag) Get() *Tag
func (NullableTag) IsSet ¶ added in v2.5.3
func (v NullableTag) IsSet() bool
func (NullableTag) MarshalJSON ¶ added in v2.5.3
func (v NullableTag) MarshalJSON() ([]byte, error)
func (*NullableTag) Set ¶ added in v2.5.3
func (v *NullableTag) Set(val *Tag)
func (*NullableTag) UnmarshalJSON ¶ added in v2.5.3
func (v *NullableTag) UnmarshalJSON(src []byte) error
func (*NullableTag) Unset ¶ added in v2.5.3
func (v *NullableTag) 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 NullableTranslation ¶
type NullableTranslation struct {
// contains filtered or unexported fields
}
func NewNullableTranslation ¶
func NewNullableTranslation(val *Translation) *NullableTranslation
func (NullableTranslation) Get ¶
func (v NullableTranslation) Get() *Translation
func (NullableTranslation) IsSet ¶
func (v NullableTranslation) IsSet() bool
func (NullableTranslation) MarshalJSON ¶
func (v NullableTranslation) MarshalJSON() ([]byte, error)
func (*NullableTranslation) Set ¶
func (v *NullableTranslation) Set(val *Translation)
func (*NullableTranslation) UnmarshalJSON ¶
func (v *NullableTranslation) UnmarshalJSON(src []byte) error
func (*NullableTranslation) Unset ¶
func (v *NullableTranslation) Unset()
type NullableUser ¶ added in v2.5.3
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶ added in v2.5.3
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶ added in v2.5.3
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶ added in v2.5.3
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶ added in v2.5.3
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶ added in v2.5.3
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶ added in v2.5.3
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶ added in v2.5.3
func (v *NullableUser) Unset()
type NullableWidget ¶
type NullableWidget struct {
// contains filtered or unexported fields
}
func NewNullableWidget ¶
func NewNullableWidget(val *Widget) *NullableWidget
func (NullableWidget) Get ¶
func (v NullableWidget) Get() *Widget
func (NullableWidget) IsSet ¶
func (v NullableWidget) IsSet() bool
func (NullableWidget) MarshalJSON ¶
func (v NullableWidget) MarshalJSON() ([]byte, error)
func (*NullableWidget) Set ¶
func (v *NullableWidget) Set(val *Widget)
func (*NullableWidget) UnmarshalJSON ¶
func (v *NullableWidget) UnmarshalJSON(src []byte) error
func (*NullableWidget) Unset ¶
func (v *NullableWidget) Unset()
type NullableWidgetData ¶
type NullableWidgetData struct {
// contains filtered or unexported fields
}
func NewNullableWidgetData ¶
func NewNullableWidgetData(val *WidgetData) *NullableWidgetData
func (NullableWidgetData) Get ¶
func (v NullableWidgetData) Get() *WidgetData
func (NullableWidgetData) IsSet ¶
func (v NullableWidgetData) IsSet() bool
func (NullableWidgetData) MarshalJSON ¶
func (v NullableWidgetData) MarshalJSON() ([]byte, error)
func (*NullableWidgetData) Set ¶
func (v *NullableWidgetData) Set(val *WidgetData)
func (*NullableWidgetData) UnmarshalJSON ¶
func (v *NullableWidgetData) UnmarshalJSON(src []byte) error
func (*NullableWidgetData) Unset ¶
func (v *NullableWidgetData) Unset()
type NullableWidgetType ¶
type NullableWidgetType struct {
// contains filtered or unexported fields
}
func NewNullableWidgetType ¶
func NewNullableWidgetType(val *WidgetType) *NullableWidgetType
func (NullableWidgetType) Get ¶
func (v NullableWidgetType) Get() *WidgetType
func (NullableWidgetType) IsSet ¶
func (v NullableWidgetType) IsSet() bool
func (NullableWidgetType) MarshalJSON ¶
func (v NullableWidgetType) MarshalJSON() ([]byte, error)
func (*NullableWidgetType) Set ¶
func (v *NullableWidgetType) Set(val *WidgetType)
func (*NullableWidgetType) UnmarshalJSON ¶
func (v *NullableWidgetType) UnmarshalJSON(src []byte) error
func (*NullableWidgetType) Unset ¶
func (v *NullableWidgetType) Unset()
type NullableWidgetTypeElement ¶
type NullableWidgetTypeElement struct {
// contains filtered or unexported fields
}
func NewNullableWidgetTypeElement ¶
func NewNullableWidgetTypeElement(val *WidgetTypeElement) *NullableWidgetTypeElement
func (NullableWidgetTypeElement) Get ¶
func (v NullableWidgetTypeElement) Get() *WidgetTypeElement
func (NullableWidgetTypeElement) IsSet ¶
func (v NullableWidgetTypeElement) IsSet() bool
func (NullableWidgetTypeElement) MarshalJSON ¶
func (v NullableWidgetTypeElement) MarshalJSON() ([]byte, error)
func (*NullableWidgetTypeElement) Set ¶
func (v *NullableWidgetTypeElement) Set(val *WidgetTypeElement)
func (*NullableWidgetTypeElement) UnmarshalJSON ¶
func (v *NullableWidgetTypeElement) UnmarshalJSON(src []byte) error
func (*NullableWidgetTypeElement) Unset ¶
func (v *NullableWidgetTypeElement) Unset()
type Patch ¶
type Patch struct { // Name of the app AppName string `json:"appName"` // Name of the patch Name string `json:"name"` // Is the app active or inactive Active NullableBool `json:"active,omitempty"` // Is the app already applied or not Applied NullableBool `json:"applied,omitempty"` }
Patch A patch for an app
func NewPatch ¶
NewPatch instantiates a new Patch 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 NewPatchWithDefaults ¶
func NewPatchWithDefaults() *Patch
NewPatchWithDefaults instantiates a new Patch 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 (*Patch) GetActive ¶
GetActive returns the Active field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Patch) GetActiveOk ¶
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Patch) GetAppName ¶
GetAppName returns the AppName field value
func (*Patch) GetAppNameOk ¶
GetAppNameOk returns a tuple with the AppName field value and a boolean to check if the value has been set.
func (*Patch) GetApplied ¶
GetApplied returns the Applied field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Patch) GetAppliedOk ¶
GetAppliedOk returns a tuple with the Applied field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Patch) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Patch) HasApplied ¶
HasApplied returns a boolean if a field has been set.
func (Patch) MarshalJSON ¶
func (*Patch) SetActive ¶
SetActive gets a reference to the given NullableBool and assigns it to the Active field.
func (*Patch) SetActiveNil ¶
func (o *Patch) SetActiveNil()
SetActiveNil sets the value for Active to be an explicit nil
func (*Patch) SetApplied ¶
SetApplied gets a reference to the given NullableBool and assigns it to the Applied field.
func (*Patch) SetAppliedNil ¶
func (o *Patch) SetAppliedNil()
SetAppliedNil sets the value for Applied to be an explicit nil
func (*Patch) UnmarshalJSON ¶ added in v2.5.9
func (*Patch) UnsetActive ¶
func (o *Patch) UnsetActive()
UnsetActive ensures that no value is present for Active, not even an explicit nil
func (*Patch) UnsetApplied ¶
func (o *Patch) UnsetApplied()
UnsetApplied ensures that no value is present for Applied, not even an explicit nil
type Project ¶ added in v2.5.3
type Project struct { // The internal ID of the project Id NullableString `json:"id,omitempty"` // The title of the project Title NullableString `json:"title,omitempty"` }
Project A project
func NewProject ¶ added in v2.5.3
func NewProject() *Project
NewProject instantiates a new Project 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 NewProjectWithDefaults ¶ added in v2.5.3
func NewProjectWithDefaults() *Project
NewProjectWithDefaults instantiates a new Project 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 (*Project) GetId ¶ added in v2.5.3
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Project) GetIdOk ¶ added in v2.5.3
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Project) GetTitle ¶ added in v2.5.3
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Project) GetTitleOk ¶ added in v2.5.3
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Project) MarshalJSON ¶ added in v2.5.3
func (*Project) SetId ¶ added in v2.5.3
SetId gets a reference to the given NullableString and assigns it to the Id field.
func (*Project) SetIdNil ¶ added in v2.5.3
func (o *Project) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*Project) SetTitle ¶ added in v2.5.3
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*Project) SetTitleNil ¶ added in v2.5.3
func (o *Project) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (*Project) UnsetId ¶ added in v2.5.3
func (o *Project) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*Project) UnsetTitle ¶ added in v2.5.3
func (o *Project) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
type ProjectsAPIService ¶ added in v2.5.3
type ProjectsAPIService service
ProjectsAPIService ProjectsAPI service
func (*ProjectsAPIService) GetProjectById ¶ added in v2.5.3
func (a *ProjectsAPIService) GetProjectById(ctx context.Context, projectId string) ApiGetProjectByIdRequest
GetProjectById Information about a project
Gets information about a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The id of the project @return ApiGetProjectByIdRequest
func (*ProjectsAPIService) GetProjectByIdExecute ¶ added in v2.5.3
func (a *ProjectsAPIService) GetProjectByIdExecute(r ApiGetProjectByIdRequest) (*Project, *http.Response, error)
Execute executes the request
@return Project
func (*ProjectsAPIService) GetProjects ¶ added in v2.5.3
func (a *ProjectsAPIService) GetProjects(ctx context.Context) ApiGetProjectsRequest
GetProjects Information about projects
Gets a list of projects
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetProjectsRequest
func (*ProjectsAPIService) GetProjectsExecute ¶ added in v2.5.3
func (a *ProjectsAPIService) GetProjectsExecute(r ApiGetProjectsRequest) ([]Project, *http.Response, error)
Execute executes the request
@return []Project
func (*ProjectsAPIService) PutProject ¶ added in v2.5.3
func (a *ProjectsAPIService) PutProject(ctx context.Context) ApiPutProjectRequest
PutProject Create or update a project
Creates a project if no project exists or update it if already exists. Uses the id for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutProjectRequest
func (*ProjectsAPIService) PutProjectExecute ¶ added in v2.5.3
func (a *ProjectsAPIService) PutProjectExecute(r ApiPutProjectRequest) (*Project, *http.Response, error)
Execute executes the request
@return Project
type QRCodesAPIService ¶ added in v2.5.3
type QRCodesAPIService service
QRCodesAPIService QRCodesAPI service
func (*QRCodesAPIService) GetQrCodeByAssetId ¶ added in v2.5.3
func (a *QRCodesAPIService) GetQrCodeByAssetId(ctx context.Context, assetId int32) ApiGetQrCodeByAssetIdRequest
GetQrCodeByAssetId QR code for assets
Generates QR code linking to an asset in the Eliona frontend.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetId The id of the asset @return ApiGetQrCodeByAssetIdRequest
func (*QRCodesAPIService) GetQrCodeByAssetIdExecute ¶ added in v2.5.3
func (a *QRCodesAPIService) GetQrCodeByAssetIdExecute(r ApiGetQrCodeByAssetIdRequest) (*os.File, *http.Response, error)
Execute executes the request
@return *os.File
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 Tag ¶ added in v2.5.3
type Tag struct { // The name of the tag Name string `json:"name"` // Id of the color ColorId NullableInt32 `json:"colorId,omitempty"` // Is this a tag custom or not Custom NullableBool `json:"custom,omitempty"` }
Tag A tag
func NewTag ¶ added in v2.5.3
NewTag instantiates a new Tag 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 NewTagWithDefaults ¶ added in v2.5.3
func NewTagWithDefaults() *Tag
NewTagWithDefaults instantiates a new Tag 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 (*Tag) GetColorId ¶ added in v2.5.3
GetColorId returns the ColorId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tag) GetColorIdOk ¶ added in v2.5.3
GetColorIdOk returns a tuple with the ColorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Tag) GetCustom ¶ added in v2.5.3
GetCustom returns the Custom field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tag) GetCustomOk ¶ added in v2.5.3
GetCustomOk returns a tuple with the Custom field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Tag) GetNameOk ¶ added in v2.5.3
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Tag) HasColorId ¶ added in v2.5.3
HasColorId returns a boolean if a field has been set.
func (Tag) MarshalJSON ¶ added in v2.5.3
func (*Tag) SetColorId ¶ added in v2.5.3
SetColorId gets a reference to the given NullableInt32 and assigns it to the ColorId field.
func (*Tag) SetColorIdNil ¶ added in v2.5.3
func (o *Tag) SetColorIdNil()
SetColorIdNil sets the value for ColorId to be an explicit nil
func (*Tag) SetCustom ¶ added in v2.5.3
SetCustom gets a reference to the given NullableBool and assigns it to the Custom field.
func (*Tag) SetCustomNil ¶ added in v2.5.3
func (o *Tag) SetCustomNil()
SetCustomNil sets the value for Custom to be an explicit nil
func (*Tag) UnmarshalJSON ¶ added in v2.5.9
func (*Tag) UnsetColorId ¶ added in v2.5.3
func (o *Tag) UnsetColorId()
UnsetColorId ensures that no value is present for ColorId, not even an explicit nil
func (*Tag) UnsetCustom ¶ added in v2.5.3
func (o *Tag) UnsetCustom()
UnsetCustom ensures that no value is present for Custom, not even an explicit nil
type TagsAPIService ¶ added in v2.5.3
type TagsAPIService service
TagsAPIService TagsAPI service
func (*TagsAPIService) GetTagByName ¶ added in v2.5.3
func (a *TagsAPIService) GetTagByName(ctx context.Context, tagName string) ApiGetTagByNameRequest
GetTagByName Information about a tag
Gets information about a tag.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param tagName The name of the tag @return ApiGetTagByNameRequest
func (*TagsAPIService) GetTagByNameExecute ¶ added in v2.5.3
func (a *TagsAPIService) GetTagByNameExecute(r ApiGetTagByNameRequest) (*Tag, *http.Response, error)
Execute executes the request
@return Tag
func (*TagsAPIService) GetTags ¶ added in v2.5.3
func (a *TagsAPIService) GetTags(ctx context.Context) ApiGetTagsRequest
GetTags Information about tags
Gets a list of tags
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetTagsRequest
func (*TagsAPIService) GetTagsExecute ¶ added in v2.5.3
func (a *TagsAPIService) GetTagsExecute(r ApiGetTagsRequest) ([]Tag, *http.Response, error)
Execute executes the request
@return []Tag
func (*TagsAPIService) PutTag ¶ added in v2.5.3
func (a *TagsAPIService) PutTag(ctx context.Context) ApiPutTagRequest
PutTag Create or update a tag
Creates a tag if no tag exists or update it if already exists. Uses name for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutTagRequest
func (*TagsAPIService) PutTagExecute ¶ added in v2.5.3
func (a *TagsAPIService) PutTagExecute(r ApiPutTagRequest) (*Tag, *http.Response, error)
Execute executes the request
@return Tag
type Translation ¶
type Translation struct { // German text De *string `json:"de,omitempty"` // English text En *string `json:"en,omitempty"` // French text Fr *string `json:"fr,omitempty"` // Italian text It *string `json:"it,omitempty"` }
Translation Readable text to display in frontend
func NewTranslation ¶
func NewTranslation() *Translation
NewTranslation instantiates a new Translation 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 NewTranslationWithDefaults ¶
func NewTranslationWithDefaults() *Translation
NewTranslationWithDefaults instantiates a new Translation 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 (*Translation) GetDe ¶
func (o *Translation) GetDe() string
GetDe returns the De field value if set, zero value otherwise.
func (*Translation) GetDeOk ¶
func (o *Translation) GetDeOk() (*string, bool)
GetDeOk returns a tuple with the De field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Translation) GetEn ¶
func (o *Translation) GetEn() string
GetEn returns the En field value if set, zero value otherwise.
func (*Translation) GetEnOk ¶
func (o *Translation) GetEnOk() (*string, bool)
GetEnOk returns a tuple with the En field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Translation) GetFr ¶
func (o *Translation) GetFr() string
GetFr returns the Fr field value if set, zero value otherwise.
func (*Translation) GetFrOk ¶
func (o *Translation) GetFrOk() (*string, bool)
GetFrOk returns a tuple with the Fr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Translation) GetIt ¶
func (o *Translation) GetIt() string
GetIt returns the It field value if set, zero value otherwise.
func (*Translation) GetItOk ¶
func (o *Translation) GetItOk() (*string, bool)
GetItOk returns a tuple with the It field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Translation) HasDe ¶
func (o *Translation) HasDe() bool
HasDe returns a boolean if a field has been set.
func (*Translation) HasEn ¶
func (o *Translation) HasEn() bool
HasEn returns a boolean if a field has been set.
func (*Translation) HasFr ¶
func (o *Translation) HasFr() bool
HasFr returns a boolean if a field has been set.
func (*Translation) HasIt ¶
func (o *Translation) HasIt() bool
HasIt returns a boolean if a field has been set.
func (Translation) MarshalJSON ¶
func (o Translation) MarshalJSON() ([]byte, error)
func (*Translation) SetDe ¶
func (o *Translation) SetDe(v string)
SetDe gets a reference to the given string and assigns it to the De field.
func (*Translation) SetEn ¶
func (o *Translation) SetEn(v string)
SetEn gets a reference to the given string and assigns it to the En field.
func (*Translation) SetFr ¶
func (o *Translation) SetFr(v string)
SetFr gets a reference to the given string and assigns it to the Fr field.
func (*Translation) SetIt ¶
func (o *Translation) SetIt(v string)
SetIt gets a reference to the given string and assigns it to the It field.
func (Translation) ToMap ¶ added in v2.4.8
func (o Translation) ToMap() (map[string]interface{}, error)
type User ¶ added in v2.5.3
type User struct { // The internal ID of user Id NullableString `json:"id,omitempty"` // The user's firstname Firstname NullableString `json:"firstname,omitempty"` // The user's lastname Lastname NullableString `json:"lastname,omitempty"` // Address of the user Email string `json:"email"` }
User An user
func NewUser ¶ added in v2.5.3
NewUser instantiates a new User 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 NewUserWithDefaults ¶ added in v2.5.3
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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 (*User) GetEmailOk ¶ added in v2.5.3
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*User) GetFirstname ¶ added in v2.5.3
GetFirstname returns the Firstname field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetFirstnameOk ¶ added in v2.5.3
GetFirstnameOk returns a tuple with the Firstname field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetId ¶ added in v2.5.3
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetIdOk ¶ added in v2.5.3
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetLastname ¶ added in v2.5.3
GetLastname returns the Lastname field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetLastnameOk ¶ added in v2.5.3
GetLastnameOk returns a tuple with the Lastname field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) HasFirstname ¶ added in v2.5.3
HasFirstname returns a boolean if a field has been set.
func (*User) HasLastname ¶ added in v2.5.3
HasLastname returns a boolean if a field has been set.
func (User) MarshalJSON ¶ added in v2.5.3
func (*User) SetFirstname ¶ added in v2.5.3
SetFirstname gets a reference to the given NullableString and assigns it to the Firstname field.
func (*User) SetFirstnameNil ¶ added in v2.5.3
func (o *User) SetFirstnameNil()
SetFirstnameNil sets the value for Firstname to be an explicit nil
func (*User) SetId ¶ added in v2.5.3
SetId gets a reference to the given NullableString and assigns it to the Id field.
func (*User) SetIdNil ¶ added in v2.5.3
func (o *User) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*User) SetLastname ¶ added in v2.5.3
SetLastname gets a reference to the given NullableString and assigns it to the Lastname field.
func (*User) SetLastnameNil ¶ added in v2.5.3
func (o *User) SetLastnameNil()
SetLastnameNil sets the value for Lastname to be an explicit nil
func (*User) UnmarshalJSON ¶ added in v2.5.9
func (*User) UnsetFirstname ¶ added in v2.5.3
func (o *User) UnsetFirstname()
UnsetFirstname ensures that no value is present for Firstname, not even an explicit nil
func (*User) UnsetId ¶ added in v2.5.3
func (o *User) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*User) UnsetLastname ¶ added in v2.5.3
func (o *User) UnsetLastname()
UnsetLastname ensures that no value is present for Lastname, not even an explicit nil
type UsersAPIService ¶ added in v2.5.3
type UsersAPIService service
UsersAPIService UsersAPI service
func (*UsersAPIService) GetUserById ¶ added in v2.5.3
func (a *UsersAPIService) GetUserById(ctx context.Context, userId string) ApiGetUserByIdRequest
GetUserById Information about an user
Gets information about an user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The id of the user @return ApiGetUserByIdRequest
func (*UsersAPIService) GetUserByIdExecute ¶ added in v2.5.3
func (a *UsersAPIService) GetUserByIdExecute(r ApiGetUserByIdRequest) (*User, *http.Response, error)
Execute executes the request
@return User
func (*UsersAPIService) GetUsers ¶ added in v2.5.3
func (a *UsersAPIService) GetUsers(ctx context.Context) ApiGetUsersRequest
GetUsers Information about users
Gets a list of users
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetUsersRequest
func (*UsersAPIService) GetUsersExecute ¶ added in v2.5.3
func (a *UsersAPIService) GetUsersExecute(r ApiGetUsersRequest) ([]User, *http.Response, error)
Execute executes the request
@return []User
func (*UsersAPIService) PutUser ¶ added in v2.5.3
func (a *UsersAPIService) PutUser(ctx context.Context) ApiPutUserRequest
PutUser Create or update an user
Creates an user if no user exists or update it if already exists. Uses the email address for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutUserRequest
func (*UsersAPIService) PutUserExecute ¶ added in v2.5.3
func (a *UsersAPIService) PutUserExecute(r ApiPutUserRequest) (*User, *http.Response, error)
Execute executes the request
@return User
type VersionAPIService ¶ added in v2.5.3
type VersionAPIService service
VersionAPIService VersionAPI service
func (*VersionAPIService) GetOpenAPI ¶ added in v2.5.3
func (a *VersionAPIService) GetOpenAPI(ctx context.Context) ApiGetOpenAPIRequest
GetOpenAPI OpenAPI specification for this API version
Gets specification for this API version as an openapi.json file.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOpenAPIRequest
func (*VersionAPIService) GetOpenAPIExecute ¶ added in v2.5.3
func (a *VersionAPIService) GetOpenAPIExecute(r ApiGetOpenAPIRequest) (*http.Response, error)
Execute executes the request
func (*VersionAPIService) GetVersion ¶ added in v2.5.3
func (a *VersionAPIService) GetVersion(ctx context.Context) ApiGetVersionRequest
GetVersion Version of the API
Gets information about the APIs version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetVersionRequest
func (*VersionAPIService) GetVersionExecute ¶ added in v2.5.3
func (a *VersionAPIService) GetVersionExecute(r ApiGetVersionRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type Widget ¶
type Widget struct { // The internal Id of widget Id NullableInt32 `json:"id,omitempty"` // The name for the type of this widget WidgetTypeName string `json:"widgetTypeName"` // Detailed configuration depending on the widget type Details map[string]interface{} `json:"details,omitempty"` // The master asset id of this widget AssetId NullableInt32 `json:"assetId,omitempty"` // Placement order on dashboard; if not set the index in array is taken Sequence NullableInt32 `json:"sequence,omitempty"` // List of data for the elements of widget Data []WidgetData `json:"data,omitempty"` }
Widget A widget on a frontend dashboard
func NewWidget ¶
NewWidget instantiates a new Widget 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 NewWidgetWithDefaults ¶
func NewWidgetWithDefaults() *Widget
NewWidgetWithDefaults instantiates a new Widget 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 (*Widget) GetAssetId ¶
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Widget) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Widget) GetData ¶
func (o *Widget) GetData() []WidgetData
GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Widget) GetDataOk ¶
func (o *Widget) GetDataOk() ([]WidgetData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Widget) GetDetails ¶
GetDetails returns the Details field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Widget) GetDetailsOk ¶
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Widget) GetId ¶
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Widget) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Widget) GetSequence ¶
GetSequence returns the Sequence field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Widget) GetSequenceOk ¶
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Widget) GetWidgetTypeName ¶
GetWidgetTypeName returns the WidgetTypeName field value
func (*Widget) GetWidgetTypeNameOk ¶
GetWidgetTypeNameOk returns a tuple with the WidgetTypeName field value and a boolean to check if the value has been set.
func (*Widget) HasAssetId ¶
HasAssetId returns a boolean if a field has been set.
func (*Widget) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Widget) HasSequence ¶
HasSequence returns a boolean if a field has been set.
func (Widget) MarshalJSON ¶
func (*Widget) SetAssetId ¶
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*Widget) SetAssetIdNil ¶
func (o *Widget) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*Widget) SetData ¶
func (o *Widget) SetData(v []WidgetData)
SetData gets a reference to the given []WidgetData and assigns it to the Data field.
func (*Widget) SetDetails ¶
SetDetails gets a reference to the given map[string]interface{} and assigns it to the Details field.
func (*Widget) SetId ¶
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*Widget) SetIdNil ¶
func (o *Widget) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*Widget) SetSequence ¶
SetSequence gets a reference to the given NullableInt32 and assigns it to the Sequence field.
func (*Widget) SetSequenceNil ¶
func (o *Widget) SetSequenceNil()
SetSequenceNil sets the value for Sequence to be an explicit nil
func (*Widget) SetWidgetTypeName ¶
SetWidgetTypeName sets field value
func (*Widget) UnmarshalJSON ¶ added in v2.5.9
func (*Widget) UnsetAssetId ¶
func (o *Widget) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*Widget) UnsetId ¶
func (o *Widget) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*Widget) UnsetSequence ¶
func (o *Widget) UnsetSequence()
UnsetSequence ensures that no value is present for Sequence, not even an explicit nil
type WidgetData ¶
type WidgetData struct { // The internal Id of widget data Id NullableInt32 `json:"id,omitempty"` // Position of the element in widget type ElementSequence NullableInt32 `json:"elementSequence,omitempty"` // The master asset id of this widget AssetId NullableInt32 `json:"assetId,omitempty"` // individual config parameters depending on category Data map[string]interface{} `json:"data,omitempty"` }
WidgetData Data for a widget
func NewWidgetData ¶
func NewWidgetData() *WidgetData
NewWidgetData instantiates a new WidgetData 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 NewWidgetDataWithDefaults ¶
func NewWidgetDataWithDefaults() *WidgetData
NewWidgetDataWithDefaults instantiates a new WidgetData 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 (*WidgetData) GetAssetId ¶
func (o *WidgetData) GetAssetId() int32
GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetData) GetAssetIdOk ¶
func (o *WidgetData) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetData) GetData ¶
func (o *WidgetData) GetData() map[string]interface{}
GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetData) GetDataOk ¶
func (o *WidgetData) GetDataOk() (map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetData) GetElementSequence ¶
func (o *WidgetData) GetElementSequence() int32
GetElementSequence returns the ElementSequence field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetData) GetElementSequenceOk ¶
func (o *WidgetData) GetElementSequenceOk() (*int32, bool)
GetElementSequenceOk returns a tuple with the ElementSequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetData) GetId ¶
func (o *WidgetData) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetData) GetIdOk ¶
func (o *WidgetData) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetData) HasAssetId ¶
func (o *WidgetData) HasAssetId() bool
HasAssetId returns a boolean if a field has been set.
func (*WidgetData) HasData ¶
func (o *WidgetData) HasData() bool
HasData returns a boolean if a field has been set.
func (*WidgetData) HasElementSequence ¶
func (o *WidgetData) HasElementSequence() bool
HasElementSequence returns a boolean if a field has been set.
func (*WidgetData) HasId ¶
func (o *WidgetData) HasId() bool
HasId returns a boolean if a field has been set.
func (WidgetData) MarshalJSON ¶
func (o WidgetData) MarshalJSON() ([]byte, error)
func (*WidgetData) SetAssetId ¶
func (o *WidgetData) SetAssetId(v int32)
SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.
func (*WidgetData) SetAssetIdNil ¶
func (o *WidgetData) SetAssetIdNil()
SetAssetIdNil sets the value for AssetId to be an explicit nil
func (*WidgetData) SetData ¶
func (o *WidgetData) SetData(v map[string]interface{})
SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.
func (*WidgetData) SetElementSequence ¶
func (o *WidgetData) SetElementSequence(v int32)
SetElementSequence gets a reference to the given NullableInt32 and assigns it to the ElementSequence field.
func (*WidgetData) SetElementSequenceNil ¶
func (o *WidgetData) SetElementSequenceNil()
SetElementSequenceNil sets the value for ElementSequence to be an explicit nil
func (*WidgetData) SetId ¶
func (o *WidgetData) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*WidgetData) SetIdNil ¶
func (o *WidgetData) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (WidgetData) ToMap ¶ added in v2.4.8
func (o WidgetData) ToMap() (map[string]interface{}, error)
func (*WidgetData) UnsetAssetId ¶
func (o *WidgetData) UnsetAssetId()
UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil
func (*WidgetData) UnsetElementSequence ¶
func (o *WidgetData) UnsetElementSequence()
UnsetElementSequence ensures that no value is present for ElementSequence, not even an explicit nil
func (*WidgetData) UnsetId ¶
func (o *WidgetData) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
type WidgetType ¶
type WidgetType struct { // The internal Id of widget type Id NullableInt32 `json:"id,omitempty"` // The unique name for this widget type Name string `json:"name"` // Is this a customer created type or not Custom *bool `json:"custom,omitempty"` Translation NullableTranslation `json:"translation"` // Icon name corresponding to assets used in this widget Icon NullableString `json:"icon,omitempty"` // Show alarms in widget WithAlarm NullableBool `json:"withAlarm,omitempty"` // Show selection for timespan in widget WithTimespan NullableBool `json:"withTimespan,omitempty"` // A list of elements for this widget (order matches the order of elements for this type) Elements []WidgetTypeElement `json:"elements"` }
WidgetType A frontend widget
func NewWidgetType ¶
func NewWidgetType(name string, translation NullableTranslation, elements []WidgetTypeElement) *WidgetType
NewWidgetType instantiates a new WidgetType 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 NewWidgetTypeWithDefaults ¶
func NewWidgetTypeWithDefaults() *WidgetType
NewWidgetTypeWithDefaults instantiates a new WidgetType 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 (*WidgetType) GetCustom ¶
func (o *WidgetType) GetCustom() bool
GetCustom returns the Custom field value if set, zero value otherwise.
func (*WidgetType) GetCustomOk ¶
func (o *WidgetType) GetCustomOk() (*bool, bool)
GetCustomOk returns a tuple with the Custom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WidgetType) GetElements ¶
func (o *WidgetType) GetElements() []WidgetTypeElement
GetElements returns the Elements field value
func (*WidgetType) GetElementsOk ¶
func (o *WidgetType) GetElementsOk() ([]WidgetTypeElement, bool)
GetElementsOk returns a tuple with the Elements field value and a boolean to check if the value has been set.
func (*WidgetType) GetIcon ¶
func (o *WidgetType) GetIcon() string
GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetType) GetIconOk ¶
func (o *WidgetType) GetIconOk() (*string, bool)
GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetType) GetId ¶
func (o *WidgetType) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetType) GetIdOk ¶
func (o *WidgetType) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetType) GetName ¶
func (o *WidgetType) GetName() string
GetName returns the Name field value
func (*WidgetType) GetNameOk ¶
func (o *WidgetType) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*WidgetType) GetTranslation ¶
func (o *WidgetType) GetTranslation() Translation
GetTranslation returns the Translation field value If the value is explicit nil, the zero value for Translation will be returned
func (*WidgetType) GetTranslationOk ¶
func (o *WidgetType) GetTranslationOk() (*Translation, bool)
GetTranslationOk returns a tuple with the Translation field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetType) GetWithAlarm ¶
func (o *WidgetType) GetWithAlarm() bool
GetWithAlarm returns the WithAlarm field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetType) GetWithAlarmOk ¶
func (o *WidgetType) GetWithAlarmOk() (*bool, bool)
GetWithAlarmOk returns a tuple with the WithAlarm field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetType) GetWithTimespan ¶
func (o *WidgetType) GetWithTimespan() bool
GetWithTimespan returns the WithTimespan field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetType) GetWithTimespanOk ¶
func (o *WidgetType) GetWithTimespanOk() (*bool, bool)
GetWithTimespanOk returns a tuple with the WithTimespan field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetType) HasCustom ¶
func (o *WidgetType) HasCustom() bool
HasCustom returns a boolean if a field has been set.
func (*WidgetType) HasIcon ¶
func (o *WidgetType) HasIcon() bool
HasIcon returns a boolean if a field has been set.
func (*WidgetType) HasId ¶
func (o *WidgetType) HasId() bool
HasId returns a boolean if a field has been set.
func (*WidgetType) HasWithAlarm ¶
func (o *WidgetType) HasWithAlarm() bool
HasWithAlarm returns a boolean if a field has been set.
func (*WidgetType) HasWithTimespan ¶
func (o *WidgetType) HasWithTimespan() bool
HasWithTimespan returns a boolean if a field has been set.
func (WidgetType) MarshalJSON ¶
func (o WidgetType) MarshalJSON() ([]byte, error)
func (*WidgetType) SetCustom ¶
func (o *WidgetType) SetCustom(v bool)
SetCustom gets a reference to the given bool and assigns it to the Custom field.
func (*WidgetType) SetElements ¶
func (o *WidgetType) SetElements(v []WidgetTypeElement)
SetElements sets field value
func (*WidgetType) SetIcon ¶
func (o *WidgetType) SetIcon(v string)
SetIcon gets a reference to the given NullableString and assigns it to the Icon field.
func (*WidgetType) SetIconNil ¶
func (o *WidgetType) SetIconNil()
SetIconNil sets the value for Icon to be an explicit nil
func (*WidgetType) SetId ¶
func (o *WidgetType) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*WidgetType) SetIdNil ¶
func (o *WidgetType) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*WidgetType) SetTranslation ¶
func (o *WidgetType) SetTranslation(v Translation)
SetTranslation sets field value
func (*WidgetType) SetWithAlarm ¶
func (o *WidgetType) SetWithAlarm(v bool)
SetWithAlarm gets a reference to the given NullableBool and assigns it to the WithAlarm field.
func (*WidgetType) SetWithAlarmNil ¶
func (o *WidgetType) SetWithAlarmNil()
SetWithAlarmNil sets the value for WithAlarm to be an explicit nil
func (*WidgetType) SetWithTimespan ¶
func (o *WidgetType) SetWithTimespan(v bool)
SetWithTimespan gets a reference to the given NullableBool and assigns it to the WithTimespan field.
func (*WidgetType) SetWithTimespanNil ¶
func (o *WidgetType) SetWithTimespanNil()
SetWithTimespanNil sets the value for WithTimespan to be an explicit nil
func (WidgetType) ToMap ¶ added in v2.4.8
func (o WidgetType) ToMap() (map[string]interface{}, error)
func (*WidgetType) UnmarshalJSON ¶ added in v2.5.9
func (o *WidgetType) UnmarshalJSON(data []byte) (err error)
func (*WidgetType) UnsetIcon ¶
func (o *WidgetType) UnsetIcon()
UnsetIcon ensures that no value is present for Icon, not even an explicit nil
func (*WidgetType) UnsetId ¶
func (o *WidgetType) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*WidgetType) UnsetWithAlarm ¶
func (o *WidgetType) UnsetWithAlarm()
UnsetWithAlarm ensures that no value is present for WithAlarm, not even an explicit nil
func (*WidgetType) UnsetWithTimespan ¶
func (o *WidgetType) UnsetWithTimespan()
UnsetWithTimespan ensures that no value is present for WithTimespan, not even an explicit nil
type WidgetTypeElement ¶
type WidgetTypeElement struct { // The internal Id of widget element Id NullableInt32 `json:"id,omitempty"` // The category for this element Category string `json:"category"` // sequence of element in widget; if not defined the index in array is taken Sequence NullableInt32 `json:"sequence,omitempty"` // individual config parameters depending on category Config map[string]interface{} `json:"config,omitempty"` }
WidgetTypeElement An element for widget types
func NewWidgetTypeElement ¶
func NewWidgetTypeElement(category string) *WidgetTypeElement
NewWidgetTypeElement instantiates a new WidgetTypeElement 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 NewWidgetTypeElementWithDefaults ¶
func NewWidgetTypeElementWithDefaults() *WidgetTypeElement
NewWidgetTypeElementWithDefaults instantiates a new WidgetTypeElement 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 (*WidgetTypeElement) GetCategory ¶
func (o *WidgetTypeElement) GetCategory() string
GetCategory returns the Category field value
func (*WidgetTypeElement) GetCategoryOk ¶
func (o *WidgetTypeElement) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*WidgetTypeElement) GetConfig ¶
func (o *WidgetTypeElement) GetConfig() map[string]interface{}
GetConfig returns the Config field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetTypeElement) GetConfigOk ¶
func (o *WidgetTypeElement) GetConfigOk() (map[string]interface{}, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetTypeElement) GetId ¶
func (o *WidgetTypeElement) GetId() int32
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetTypeElement) GetIdOk ¶
func (o *WidgetTypeElement) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetTypeElement) GetSequence ¶
func (o *WidgetTypeElement) GetSequence() int32
GetSequence returns the Sequence field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WidgetTypeElement) GetSequenceOk ¶
func (o *WidgetTypeElement) GetSequenceOk() (*int32, bool)
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WidgetTypeElement) HasConfig ¶
func (o *WidgetTypeElement) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*WidgetTypeElement) HasId ¶
func (o *WidgetTypeElement) HasId() bool
HasId returns a boolean if a field has been set.
func (*WidgetTypeElement) HasSequence ¶
func (o *WidgetTypeElement) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (WidgetTypeElement) MarshalJSON ¶
func (o WidgetTypeElement) MarshalJSON() ([]byte, error)
func (*WidgetTypeElement) SetCategory ¶
func (o *WidgetTypeElement) SetCategory(v string)
SetCategory sets field value
func (*WidgetTypeElement) SetConfig ¶
func (o *WidgetTypeElement) SetConfig(v map[string]interface{})
SetConfig gets a reference to the given map[string]interface{} and assigns it to the Config field.
func (*WidgetTypeElement) SetId ¶
func (o *WidgetTypeElement) SetId(v int32)
SetId gets a reference to the given NullableInt32 and assigns it to the Id field.
func (*WidgetTypeElement) SetIdNil ¶
func (o *WidgetTypeElement) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*WidgetTypeElement) SetSequence ¶
func (o *WidgetTypeElement) SetSequence(v int32)
SetSequence gets a reference to the given NullableInt32 and assigns it to the Sequence field.
func (*WidgetTypeElement) SetSequenceNil ¶
func (o *WidgetTypeElement) SetSequenceNil()
SetSequenceNil sets the value for Sequence to be an explicit nil
func (WidgetTypeElement) ToMap ¶ added in v2.4.8
func (o WidgetTypeElement) ToMap() (map[string]interface{}, error)
func (*WidgetTypeElement) UnmarshalJSON ¶ added in v2.5.9
func (o *WidgetTypeElement) UnmarshalJSON(data []byte) (err error)
func (*WidgetTypeElement) UnsetId ¶
func (o *WidgetTypeElement) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*WidgetTypeElement) UnsetSequence ¶
func (o *WidgetTypeElement) UnsetSequence()
UnsetSequence ensures that no value is present for Sequence, not even an explicit nil
type WidgetsAPIService ¶ added in v2.5.3
type WidgetsAPIService service
WidgetsAPIService WidgetsAPI service
func (*WidgetsAPIService) GetDashboardWidgets ¶ added in v2.5.3
func (a *WidgetsAPIService) GetDashboardWidgets(ctx context.Context, dashboardId int32) ApiGetDashboardWidgetsRequest
GetDashboardWidgets Information about widgets on dashboard
Gets information about widgets on a dashboard.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param dashboardId The id of the dashboard @return ApiGetDashboardWidgetsRequest
func (*WidgetsAPIService) GetDashboardWidgetsExecute ¶ added in v2.5.3
func (a *WidgetsAPIService) GetDashboardWidgetsExecute(r ApiGetDashboardWidgetsRequest) (*Widget, *http.Response, error)
Execute executes the request
@return Widget
func (*WidgetsAPIService) PostDashboardWidget ¶ added in v2.5.3
func (a *WidgetsAPIService) PostDashboardWidget(ctx context.Context, dashboardId int32) ApiPostDashboardWidgetRequest
PostDashboardWidget Adds widget to dashboard
Create a new widget and add this to a dashboard
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param dashboardId The id of the dashboard @return ApiPostDashboardWidgetRequest
func (*WidgetsAPIService) PostDashboardWidgetExecute ¶ added in v2.5.3
func (a *WidgetsAPIService) PostDashboardWidgetExecute(r ApiPostDashboardWidgetRequest) (*http.Response, error)
Execute executes the request
type WidgetsTypesAPIService ¶ added in v2.5.3
type WidgetsTypesAPIService service
WidgetsTypesAPIService WidgetsTypesAPI service
func (*WidgetsTypesAPIService) DeleteWidgetTypeByName ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) DeleteWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiDeleteWidgetTypeByNameRequest
DeleteWidgetTypeByName Delete a widget type
Deletes a widget type and the elements for this widget type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param widgetTypeName The name of the widget type @return ApiDeleteWidgetTypeByNameRequest
func (*WidgetsTypesAPIService) DeleteWidgetTypeByNameExecute ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) DeleteWidgetTypeByNameExecute(r ApiDeleteWidgetTypeByNameRequest) (*http.Response, error)
Execute executes the request
func (*WidgetsTypesAPIService) GetWidgetTypeByName ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) GetWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiGetWidgetTypeByNameRequest
GetWidgetTypeByName Information about a widget type
Gets information about a widget type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param widgetTypeName The name of the widget type @return ApiGetWidgetTypeByNameRequest
func (*WidgetsTypesAPIService) GetWidgetTypeByNameExecute ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) GetWidgetTypeByNameExecute(r ApiGetWidgetTypeByNameRequest) (*WidgetType, *http.Response, error)
Execute executes the request
@return WidgetType
func (*WidgetsTypesAPIService) GetWidgetTypes ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) GetWidgetTypes(ctx context.Context) ApiGetWidgetTypesRequest
GetWidgetTypes List of widget types
Returns a list of widget types
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetWidgetTypesRequest
func (*WidgetsTypesAPIService) GetWidgetTypesExecute ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) GetWidgetTypesExecute(r ApiGetWidgetTypesRequest) ([]WidgetType, *http.Response, error)
Execute executes the request
@return []WidgetType
func (*WidgetsTypesAPIService) PostWidgetType ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) PostWidgetType(ctx context.Context) ApiPostWidgetTypeRequest
PostWidgetType Create a widget type
Create a new widget type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostWidgetTypeRequest
func (*WidgetsTypesAPIService) PostWidgetTypeExecute ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) PostWidgetTypeExecute(r ApiPostWidgetTypeRequest) (*WidgetType, *http.Response, error)
Execute executes the request
@return WidgetType
func (*WidgetsTypesAPIService) PutWidgetType ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) PutWidgetType(ctx context.Context) ApiPutWidgetTypeRequest
PutWidgetType Create or update a widget type
Create a new widget type or update it if already exists. Uses the unique widget type name for updating.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPutWidgetTypeRequest
func (*WidgetsTypesAPIService) PutWidgetTypeByName ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) PutWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiPutWidgetTypeByNameRequest
PutWidgetTypeByName Update a widget type
Update a widget type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param widgetTypeName The name of the widget type @return ApiPutWidgetTypeByNameRequest
func (*WidgetsTypesAPIService) PutWidgetTypeByNameExecute ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) PutWidgetTypeByNameExecute(r ApiPutWidgetTypeByNameRequest) (*WidgetType, *http.Response, error)
Execute executes the request
@return WidgetType
func (*WidgetsTypesAPIService) PutWidgetTypeExecute ¶ added in v2.5.3
func (a *WidgetsTypesAPIService) PutWidgetTypeExecute(r ApiPutWidgetTypeRequest) (*WidgetType, *http.Response, error)
Execute executes the request
@return WidgetType
Source Files ¶
- api_agents.go
- api_aggregations.go
- api_alarm_rules.go
- api_alarms.go
- api_apps.go
- api_asset_types.go
- api_assets.go
- api_calculation_rules.go
- api_communication.go
- api_dashboards.go
- api_data.go
- api_nodes.go
- api_projects.go
- api_qr_codes.go
- api_tags.go
- api_users.go
- api_version.go
- api_widgets.go
- api_widgets_types.go
- client.go
- configuration.go
- model_agent.go
- model_agent_class.go
- model_agent_device.go
- model_agent_device_general.go
- model_agent_device_mapping.go
- model_agent_device_mapping_general.go
- model_aggregation.go
- model_alarm.go
- model_alarm_listen.go
- model_alarm_priority.go
- model_alarm_rule.go
- model_app.go
- model_asset.go
- model_asset_dry_run.go
- model_asset_identify_by.go
- model_asset_listen.go
- model_asset_type.go
- model_asset_type_attribute.go
- model_attachment.go
- model_attribute_display.go
- model_calculation_rule.go
- model_dashboard.go
- model_data.go
- model_data_aggregated.go
- model_data_listen.go
- model_data_subtype.go
- model_dry_run_general.go
- model_iosys_agent_device.go
- model_iosys_agent_device_mapping.go
- model_mbus_agent_device.go
- model_mbus_agent_device_mapping.go
- model_message.go
- model_message_receipt.go
- model_node.go
- model_notification.go
- model_patch.go
- model_project.go
- model_tag.go
- model_translation.go
- model_user.go
- model_widget.go
- model_widget_data.go
- model_widget_type.go
- model_widget_type_element.go
- response.go
- utils.go