api

package module
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 22 Imported by: 3

README

Go API client for api

API to access Eliona Smart Building Assistant

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 2.2.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import api "github.com/eliona-smart-building-assistant/go-eliona-api-client"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), api.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), api.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), api.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), api.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://api.eliona.io/v2

Class Method HTTP request Description
AgentsApi GetAgentDeviceMappingsById Get /agent-devices/{agent-class}/{agent-device-id}/mappings Information about agent device mappings
AgentsApi GetAgentDevicesById Get /agents/{agent-class}/{agent-id}/devices Information about agent devices
AgentsApi GetAgents Get /agents Information about agents
AgentsApi GetAgentsByClass Get /agents/{agent-class} Information about agents for a specific class
AgentsApi PutAgentByClass Put /agents/{agent-class} Create or update an agent for a specific class
AgentsApi PutAgentDeviceById Put /agents/{agent-class}/{agent-id}/devices Create or update an agent device
AgentsApi PutAgentDeviceMappingById Put /agent-devices/{agent-class}/{agent-device-id}/mappings Create or update an agent device mapping
AggregationsApi DeleteAggregationById Delete /aggregations/{aggregation-id} Delete an aggregation
AggregationsApi GetAggregationById Get /aggregations/{aggregation-id} Information about an aggregation
AggregationsApi GetAggregations Get /aggregations Information about aggregations
AggregationsApi PostAggregation Post /aggregations Creates an aggregation
AlarmRulesApi GetAlarmRuleById Get /alarm-rules/{alarm-rule-id} Information about an alarm rule
AlarmRulesApi GetAlarmRules Get /alarm-rules Information about alarm rules
AlarmRulesApi PutAlarmRule Put /alarm-rules Create or update an alarm rule
AlarmsApi GetAlarmById Get /alarms/{alarm-rule-id} Information about alarm
AlarmsApi GetAlarmHistoryById Get /alarms-history/{alarm-rule-id} Information about alarm history
AlarmsApi GetAlarms Get /alarms Information about alarms
AlarmsApi GetAlarmsHistory Get /alarms-history Information about alarms history
AlarmsApi GetHighestAlarms Get /alarms-highest Information about most prioritized alarms
AlarmsApi PatchAlarmById Patch /alarms/{alarm-rule-id} Update alarm
AppsApi GetAppByName Get /apps/{app-name} Information about an app
AppsApi GetPatchByName Get /apps/{app-name}/patches/{patch-name} Information about a patch for an app
AppsApi PatchAppByName Patch /apps/{app-name} Update an app
AppsApi PatchPatchByName Patch /apps/{app-name}/patches/{patch-name} Updates a patch
AssetTypesApi DeleteAssetTypeByName Delete /asset-types/{asset-type-name} Delete an asset type
AssetTypesApi GetAssetTypeByName Get /asset-types/{asset-type-name} Information about an asset type
AssetTypesApi GetAssetTypes Get /asset-types List of asset types
AssetTypesApi PutAssetType Put /asset-types Create or update an asset type
AssetTypesApi PutAssetTypeAttribute Put /asset-types/{asset-type-name}/attributes Create or update an asset type attribute
AssetsApi GetAssetById Get /assets/{asset-id} Information about an asset
AssetsApi GetAssets Get /assets Information about assets
AssetsApi PutAsset Put /assets Create or update an asset
DashboardsApi PostDashboard Post /dashboards Creates a new dashboard
DashboardsApi PostDashboardWidget Post /dashboards/{dashboard-id}/widgets Adds widget to dashboard
DashboardsApi PutWidgetType Put /widget-types Create or update a widget type
DataApi GetData Get /data Gets all data
DataApi GetDataAggregated Get /data-aggregated Get aggregated data
DataApi GetDataTrends Get /data-trends Get trend of historical data
DataApi ListenData Get /data-listener WebSocket connection for asset data changes
DataApi PutData Put /data Create or update asset data
NodesApi GetNodeByIdent Get /nodes/{node-ident} Information about a node
NodesApi GetNodes Get /nodes Information about nodes
NodesApi PutNode Put /nodes Create or update a node

Documentation For Models

Documentation For Authorization

ApiKeyAuth
  • Type: API key
  • API key parameter name: X-API-Key
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-API-Key and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// 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")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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")
)
View Source
var AllowedAgentClassEnumValues = []AgentClass{
	"iosys",
	"mbus",
}

All allowed values of AgentClass enum

View Source
var AllowedAlarmPriorityEnumValues = []AlarmPriority{
	1,
	2,
	3,
}

All allowed values of AlarmPriority enum

View Source
var AllowedDataSubtypeEnumValues = []DataSubtype{
	"input",
	"info",
	"status",
	"output",
}

All allowed values of DataSubtype enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AgentsApi *AgentsApiService

	AggregationsApi *AggregationsApiService

	AlarmRulesApi *AlarmRulesApiService

	AlarmsApi *AlarmsApiService

	AppsApi *AppsApiService

	AssetTypesApi *AssetTypesApiService

	AssetsApi *AssetsApiService

	DashboardsApi *DashboardsApiService

	DataApi *DataApiService

	NodesApi *NodesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Eliona API API v2.2.0 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

type APIKey struct {
	Key    string
	Prefix string
}

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *Agent) GetAssetId() int32

GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Agent) GetAssetIdOk added in v1.2.0

func (o *Agent) 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 (*Agent) GetClass added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *Agent) 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 (*Agent) GetConfigOk added in v1.2.0

func (o *Agent) 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 (*Agent) GetDescription added in v1.2.0

func (o *Agent) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Agent) GetDescriptionOk added in v1.2.0

func (o *Agent) 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 (*Agent) GetEnable added in v1.2.0

func (o *Agent) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*Agent) GetEnableOk added in v1.2.0

func (o *Agent) 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 (*Agent) GetId added in v1.2.0

func (o *Agent) GetId() int32

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Agent) GetIdOk added in v1.2.0

func (o *Agent) 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 (*Agent) GetNodeId added in v1.2.0

func (o *Agent) GetNodeId() string

GetNodeId returns the NodeId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Agent) GetNodeIdOk added in v1.2.0

func (o *Agent) GetNodeIdOk() (*string, bool)

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 added in v1.2.0

func (o *Agent) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*Agent) HasClass added in v1.2.0

func (o *Agent) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*Agent) HasConfig added in v1.2.0

func (o *Agent) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Agent) HasDescription added in v1.2.0

func (o *Agent) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Agent) HasEnable added in v1.2.0

func (o *Agent) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*Agent) HasId added in v1.2.0

func (o *Agent) HasId() bool

HasId returns a boolean if a field has been set.

func (*Agent) HasNodeId added in v1.2.0

func (o *Agent) HasNodeId() bool

HasNodeId returns a boolean if a field has been set.

func (Agent) MarshalJSON added in v1.2.0

func (o Agent) MarshalJSON() ([]byte, error)

func (*Agent) SetAssetId added in v1.2.0

func (o *Agent) SetAssetId(v int32)

SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.

func (*Agent) SetAssetIdNil added in v1.2.0

func (o *Agent) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*Agent) SetClass added in v1.2.0

func (o *Agent) SetClass(v AgentClass)

SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.

func (*Agent) SetClassNil added in v1.2.0

func (o *Agent) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*Agent) SetConfig added in v1.2.0

func (o *Agent) SetConfig(v map[string]interface{})

SetConfig gets a reference to the given map[string]interface{} and assigns it to the Config field.

func (*Agent) SetDescription added in v1.2.0

func (o *Agent) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*Agent) SetDescriptionNil added in v1.2.0

func (o *Agent) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Agent) SetEnable added in v1.2.0

func (o *Agent) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*Agent) SetId added in v1.2.0

func (o *Agent) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*Agent) SetIdNil added in v1.2.0

func (o *Agent) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Agent) SetNodeId added in v1.2.0

func (o *Agent) SetNodeId(v string)

SetNodeId gets a reference to the given NullableString and assigns it to the NodeId field.

func (*Agent) SetNodeIdNil added in v1.2.0

func (o *Agent) SetNodeIdNil()

SetNodeIdNil sets the value for NodeId to be an explicit nil

func (*Agent) UnsetAssetId added in v1.2.0

func (o *Agent) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*Agent) UnsetClass added in v1.2.0

func (o *Agent) UnsetClass()

UnsetClass ensures that no value is present for Class, not even an explicit nil

func (*Agent) UnsetDescription added in v1.2.0

func (o *Agent) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*Agent) UnsetId added in v1.2.0

func (o *Agent) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*Agent) UnsetNodeId added in v1.2.0

func (o *Agent) UnsetNodeId()

UnsetNodeId ensures that no value is present for NodeId, not even an explicit nil

type AgentClass added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (v AgentClass) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AgentClass) Ptr added in v1.2.0

func (v AgentClass) Ptr() *AgentClass

Ptr returns reference to AgentClass value

func (*AgentClass) UnmarshalJSON added in v1.2.0

func (v *AgentClass) UnmarshalJSON(src []byte) error

type AgentDevice added in v1.2.0

type AgentDevice struct {
	IosysAgentDevice *IosysAgentDevice
	MbusAgentDevice  *MbusAgentDevice
}

AgentDevice struct for AgentDevice

func (*AgentDevice) MarshalJSON added in v1.2.0

func (src *AgentDevice) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*AgentDevice) UnmarshalJSON added in v1.2.0

func (dst *AgentDevice) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type AgentDeviceGeneral added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *AgentDeviceGeneral) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*AgentDeviceGeneral) GetEnableOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *AgentDeviceGeneral) HasAgentId() bool

HasAgentId returns a boolean if a field has been set.

func (*AgentDeviceGeneral) HasClass added in v1.2.0

func (o *AgentDeviceGeneral) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*AgentDeviceGeneral) HasEnable added in v1.2.0

func (o *AgentDeviceGeneral) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*AgentDeviceGeneral) HasId added in v1.2.0

func (o *AgentDeviceGeneral) HasId() bool

HasId returns a boolean if a field has been set.

func (AgentDeviceGeneral) MarshalJSON added in v1.2.0

func (o AgentDeviceGeneral) MarshalJSON() ([]byte, error)

func (*AgentDeviceGeneral) SetAgentId added in v1.2.0

func (o *AgentDeviceGeneral) SetAgentId(v int32)

SetAgentId gets a reference to the given NullableInt32 and assigns it to the AgentId field.

func (*AgentDeviceGeneral) SetAgentIdNil added in v1.2.0

func (o *AgentDeviceGeneral) SetAgentIdNil()

SetAgentIdNil sets the value for AgentId to be an explicit nil

func (*AgentDeviceGeneral) SetClass added in v1.2.0

func (o *AgentDeviceGeneral) SetClass(v AgentClass)

SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.

func (*AgentDeviceGeneral) SetClassNil added in v1.2.0

func (o *AgentDeviceGeneral) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*AgentDeviceGeneral) SetEnable added in v1.2.0

func (o *AgentDeviceGeneral) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*AgentDeviceGeneral) SetId added in v1.2.0

func (o *AgentDeviceGeneral) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*AgentDeviceGeneral) SetIdNil added in v1.2.0

func (o *AgentDeviceGeneral) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*AgentDeviceGeneral) UnsetAgentId added in v1.2.0

func (o *AgentDeviceGeneral) UnsetAgentId()

UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil

func (*AgentDeviceGeneral) UnsetClass added in v1.2.0

func (o *AgentDeviceGeneral) UnsetClass()

UnsetClass ensures that no value is present for Class, not even an explicit nil

func (*AgentDeviceGeneral) UnsetId added in v1.2.0

func (o *AgentDeviceGeneral) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

type AgentDeviceMapping added in v1.2.0

type AgentDeviceMapping struct {
	IosysAgentDeviceMapping *IosysAgentDeviceMapping
	MbusAgentDeviceMapping  *MbusAgentDeviceMapping
}

AgentDeviceMapping struct for AgentDeviceMapping

func (*AgentDeviceMapping) MarshalJSON added in v1.2.0

func (src *AgentDeviceMapping) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*AgentDeviceMapping) UnmarshalJSON added in v1.2.0

func (dst *AgentDeviceMapping) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type AgentDeviceMappingGeneral added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *AgentDeviceMappingGeneral) GetAttribute() string

GetAttribute returns the Attribute field value

func (*AgentDeviceMappingGeneral) GetAttributeOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *AgentDeviceMappingGeneral) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*AgentDeviceMappingGeneral) GetEnableOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *AgentDeviceMappingGeneral) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*AgentDeviceMappingGeneral) GetSubtypeOk added in v1.2.0

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 added in v1.2.0

func (o *AgentDeviceMappingGeneral) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*AgentDeviceMappingGeneral) HasClass added in v1.2.0

func (o *AgentDeviceMappingGeneral) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*AgentDeviceMappingGeneral) HasDeviceId added in v1.2.0

func (o *AgentDeviceMappingGeneral) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*AgentDeviceMappingGeneral) HasEnable added in v1.2.0

func (o *AgentDeviceMappingGeneral) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*AgentDeviceMappingGeneral) HasId added in v1.2.0

func (o *AgentDeviceMappingGeneral) HasId() bool

HasId returns a boolean if a field has been set.

func (AgentDeviceMappingGeneral) MarshalJSON added in v1.2.0

func (o AgentDeviceMappingGeneral) MarshalJSON() ([]byte, error)

func (*AgentDeviceMappingGeneral) SetAssetId added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetAssetId(v int32)

SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.

func (*AgentDeviceMappingGeneral) SetAssetIdNil added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*AgentDeviceMappingGeneral) SetAttribute added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetAttribute(v string)

SetAttribute sets field value

func (*AgentDeviceMappingGeneral) SetClass added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetClass(v AgentClass)

SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.

func (*AgentDeviceMappingGeneral) SetClassNil added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*AgentDeviceMappingGeneral) SetDeviceId added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetDeviceId(v int32)

SetDeviceId gets a reference to the given NullableInt32 and assigns it to the DeviceId field.

func (*AgentDeviceMappingGeneral) SetDeviceIdNil added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetDeviceIdNil()

SetDeviceIdNil sets the value for DeviceId to be an explicit nil

func (*AgentDeviceMappingGeneral) SetEnable added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*AgentDeviceMappingGeneral) SetId added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*AgentDeviceMappingGeneral) SetIdNil added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*AgentDeviceMappingGeneral) SetSubtype added in v1.2.0

func (o *AgentDeviceMappingGeneral) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*AgentDeviceMappingGeneral) UnsetAssetId added in v1.2.0

func (o *AgentDeviceMappingGeneral) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*AgentDeviceMappingGeneral) UnsetClass added in v1.2.0

func (o *AgentDeviceMappingGeneral) UnsetClass()

UnsetClass ensures that no value is present for Class, not even an explicit nil

func (*AgentDeviceMappingGeneral) UnsetDeviceId added in v1.2.0

func (o *AgentDeviceMappingGeneral) UnsetDeviceId()

UnsetDeviceId ensures that no value is present for DeviceId, not even an explicit nil

func (*AgentDeviceMappingGeneral) UnsetId added in v1.2.0

func (o *AgentDeviceMappingGeneral) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

type AgentsApiService added in v1.2.0

type AgentsApiService service

AgentsApiService AgentsApi service

func (*AgentsApiService) GetAgentDeviceMappingsById added in v1.2.0

func (a *AgentsApiService) GetAgentDeviceMappingsById(ctx context.Context, agentClass string, agentDeviceId int32) ApiGetAgentDeviceMappingsByIdRequest

GetAgentDeviceMappingsById 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 ApiGetAgentDeviceMappingsByIdRequest

func (*AgentsApiService) GetAgentDeviceMappingsByIdExecute added in v1.2.0

func (a *AgentsApiService) GetAgentDeviceMappingsByIdExecute(r ApiGetAgentDeviceMappingsByIdRequest) ([]AgentDeviceMapping, *http.Response, error)

Execute executes the request

@return []AgentDeviceMapping

func (*AgentsApiService) GetAgentDevicesById added in v1.2.0

func (a *AgentsApiService) GetAgentDevicesById(ctx context.Context, agentClass string, agentId int32) ApiGetAgentDevicesByIdRequest

GetAgentDevicesById 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 ApiGetAgentDevicesByIdRequest

func (*AgentsApiService) GetAgentDevicesByIdExecute added in v1.2.0

func (a *AgentsApiService) GetAgentDevicesByIdExecute(r ApiGetAgentDevicesByIdRequest) ([]AgentDevice, *http.Response, error)

Execute executes the request

@return []AgentDevice

func (*AgentsApiService) GetAgents added in v1.2.0

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 v1.2.0

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 v1.2.0

func (a *AgentsApiService) GetAgentsByClassExecute(r ApiGetAgentsByClassRequest) ([]Agent, *http.Response, error)

Execute executes the request

@return []Agent

func (*AgentsApiService) GetAgentsExecute added in v1.2.0

func (a *AgentsApiService) GetAgentsExecute(r ApiGetAgentsRequest) ([]Agent, *http.Response, error)

Execute executes the request

@return []Agent

func (*AgentsApiService) PutAgentByClass added in v1.2.0

func (a *AgentsApiService) PutAgentByClass(ctx context.Context, agentClass string) ApiPutAgentByClassRequest

PutAgentByClass Create or update an agent for a specific class

Create a new agent or update an agent if already exists

@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

func (*AgentsApiService) PutAgentByClassExecute added in v1.2.0

func (a *AgentsApiService) PutAgentByClassExecute(r ApiPutAgentByClassRequest) (*http.Response, error)

Execute executes the request

func (*AgentsApiService) PutAgentDeviceById added in v1.2.0

func (a *AgentsApiService) PutAgentDeviceById(ctx context.Context, agentClass string, agentId int32) ApiPutAgentDeviceByIdRequest

PutAgentDeviceById Create or update an agent device

Create a new agent device or update an agent device if already exists

@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 ApiPutAgentDeviceByIdRequest

func (*AgentsApiService) PutAgentDeviceByIdExecute added in v1.2.0

func (a *AgentsApiService) PutAgentDeviceByIdExecute(r ApiPutAgentDeviceByIdRequest) (*http.Response, error)

Execute executes the request

func (*AgentsApiService) PutAgentDeviceMappingById added in v1.2.0

func (a *AgentsApiService) PutAgentDeviceMappingById(ctx context.Context, agentClass string, agentDeviceId int32) ApiPutAgentDeviceMappingByIdRequest

PutAgentDeviceMappingById Create or update an agent device mapping

Create a new agent device mapping or update an agent device mapping if already exists

@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 ApiPutAgentDeviceMappingByIdRequest

func (*AgentsApiService) PutAgentDeviceMappingByIdExecute added in v1.2.0

func (a *AgentsApiService) PutAgentDeviceMappingByIdExecute(r ApiPutAgentDeviceMappingByIdRequest) (*AgentDeviceMapping, *http.Response, error)

Execute executes the request

@return AgentDeviceMapping

type Aggregation added in v1.2.3

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 NullableString `json:"mode,omitempty"`
	// calculation interval
	Raster string `json:"raster"`
}

Aggregation Defines the aggregation of data points

func NewAggregation added in v1.2.3

func NewAggregation(assetId int32, subtype DataSubtype, raster 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 added in v1.2.3

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 added in v1.2.3

func (o *Aggregation) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*Aggregation) GetAssetIdOk added in v1.2.3

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 added in v1.2.3

func (o *Aggregation) GetAttribute() string

GetAttribute returns the Attribute field value if set, zero value otherwise.

func (*Aggregation) GetAttributeOk added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

func (o *Aggregation) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Aggregation) GetModeOk added in v1.2.3

func (o *Aggregation) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode 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) GetRaster added in v1.2.3

func (o *Aggregation) GetRaster() string

GetRaster returns the Raster field value

func (*Aggregation) GetRasterOk added in v1.2.3

func (o *Aggregation) GetRasterOk() (*string, bool)

GetRasterOk returns a tuple with the Raster field value and a boolean to check if the value has been set.

func (*Aggregation) GetSubtype added in v1.2.3

func (o *Aggregation) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*Aggregation) GetSubtypeOk added in v1.2.3

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 added in v1.2.3

func (o *Aggregation) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*Aggregation) HasId added in v1.2.3

func (o *Aggregation) HasId() bool

HasId returns a boolean if a field has been set.

func (*Aggregation) HasMode added in v1.2.3

func (o *Aggregation) HasMode() bool

HasMode returns a boolean if a field has been set.

func (Aggregation) MarshalJSON added in v1.2.3

func (o Aggregation) MarshalJSON() ([]byte, error)

func (*Aggregation) SetAssetId added in v1.2.3

func (o *Aggregation) SetAssetId(v int32)

SetAssetId sets field value

func (*Aggregation) SetAttribute added in v1.2.3

func (o *Aggregation) SetAttribute(v string)

SetAttribute gets a reference to the given string and assigns it to the Attribute field.

func (*Aggregation) SetId added in v1.2.3

func (o *Aggregation) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*Aggregation) SetIdNil added in v1.2.3

func (o *Aggregation) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Aggregation) SetMode added in v1.2.3

func (o *Aggregation) SetMode(v string)

SetMode gets a reference to the given NullableString and assigns it to the Mode field.

func (*Aggregation) SetModeNil added in v1.2.3

func (o *Aggregation) SetModeNil()

SetModeNil sets the value for Mode to be an explicit nil

func (*Aggregation) SetRaster added in v1.2.3

func (o *Aggregation) SetRaster(v string)

SetRaster sets field value

func (*Aggregation) SetSubtype added in v1.2.3

func (o *Aggregation) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*Aggregation) UnsetId added in v1.2.3

func (o *Aggregation) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*Aggregation) UnsetMode added in v1.2.3

func (o *Aggregation) UnsetMode()

UnsetMode ensures that no value is present for Mode, not even an explicit nil

type AggregationsApiService added in v1.2.3

type AggregationsApiService service

AggregationsApiService AggregationsApi service

func (*AggregationsApiService) DeleteAggregationById added in v1.2.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 v1.2.3

func (a *AggregationsApiService) DeleteAggregationByIdExecute(r ApiDeleteAggregationByIdRequest) (*http.Response, error)

Execute executes the request

func (*AggregationsApiService) GetAggregationById added in v1.2.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 v1.2.3

func (a *AggregationsApiService) GetAggregationByIdExecute(r ApiGetAggregationByIdRequest) (*Aggregation, *http.Response, error)

Execute executes the request

@return Aggregation

func (*AggregationsApiService) GetAggregations added in v1.2.3

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 v1.2.3

func (a *AggregationsApiService) GetAggregationsExecute(r ApiGetAggregationsRequest) ([]Aggregation, *http.Response, error)

Execute executes the request

@return []Aggregation

func (*AggregationsApiService) PostAggregation added in v1.2.3

PostAggregation Creates an aggregation

Creates an 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 v1.2.3

Execute executes the request

@return Aggregation

type Alarm added in v1.0.4

type Alarm struct {
	// The id of the corresponding rule
	RuleId NullableInt32 `json:"ruleId,omitempty"`
	// ID of the corresponding asset
	AssetId int32       `json:"assetId"`
	Subtype DataSubtype `json:"subtype"`
	// Name of the attribute of the asset type
	Attribute NullableString `json:"attribute,omitempty"`
	Priority  AlarmPriority  `json:"priority"`
	// Requires the alarm an acknowledgment
	RequiresAcknowledge *bool `json:"requiresAcknowledge,omitempty"`
	// The value which triggers the alarm
	Value NullableFloat64 `json:"value,omitempty"`
	// Timestamp of the latest data change
	Timestamp time.Time `json:"timestamp"`
	// 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 int32 `json:"occurrences"`
	// Text of acknowledgement
	AcknowledgeText NullableString `json:"acknowledgeText,omitempty"`
	// User who acknowledged the alarm
	AcknowledgeUserId NullableString `json:"acknowledgeUserId,omitempty"`
	// Message texts for alarm
	Message   map[string]interface{} `json:"message,omitempty"`
	AssetInfo NullableAsset          `json:"assetInfo,omitempty"`
	RuleInfo  NullableAlarmRule      `json:"ruleInfo,omitempty"`
}

Alarm An alarm

func NewAlarm added in v1.0.4

func NewAlarm(assetId int32, subtype DataSubtype, priority AlarmPriority, timestamp time.Time, occurrences int32) *Alarm

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 added in v1.0.4

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 added in v1.0.4

func (o *Alarm) GetAcknowledgeText() string

GetAcknowledgeText returns the AcknowledgeText field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetAcknowledgeTextOk added in v1.0.4

func (o *Alarm) 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 (*Alarm) GetAcknowledgeTimestamp added in v1.0.4

func (o *Alarm) GetAcknowledgeTimestamp() time.Time

GetAcknowledgeTimestamp returns the AcknowledgeTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetAcknowledgeTimestampOk added in v1.0.4

func (o *Alarm) 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 (*Alarm) GetAcknowledgeUserId added in v1.0.4

func (o *Alarm) GetAcknowledgeUserId() string

GetAcknowledgeUserId returns the AcknowledgeUserId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetAcknowledgeUserIdOk added in v1.0.4

func (o *Alarm) 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 (*Alarm) GetAssetId added in v1.0.4

func (o *Alarm) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*Alarm) GetAssetIdOk added in v1.0.4

func (o *Alarm) GetAssetIdOk() (*int32, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*Alarm) GetAssetInfo added in v1.0.4

func (o *Alarm) GetAssetInfo() Asset

GetAssetInfo returns the AssetInfo field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetAssetInfoOk added in v1.0.4

func (o *Alarm) 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 (*Alarm) GetAttribute added in v1.0.4

func (o *Alarm) GetAttribute() string

GetAttribute returns the Attribute field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetAttributeOk added in v1.0.4

func (o *Alarm) 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 (*Alarm) GetGoneTimestamp added in v1.0.4

func (o *Alarm) GetGoneTimestamp() time.Time

GetGoneTimestamp returns the GoneTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetGoneTimestampOk added in v1.0.4

func (o *Alarm) 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 (*Alarm) GetMessage added in v1.0.4

func (o *Alarm) GetMessage() map[string]interface{}

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetMessageOk added in v1.0.4

func (o *Alarm) GetMessageOk() (map[string]interface{}, bool)

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 (*Alarm) GetOccurrences added in v1.0.4

func (o *Alarm) GetOccurrences() int32

GetOccurrences returns the Occurrences field value

func (*Alarm) GetOccurrencesOk added in v1.0.4

func (o *Alarm) GetOccurrencesOk() (*int32, bool)

GetOccurrencesOk returns a tuple with the Occurrences field value and a boolean to check if the value has been set.

func (*Alarm) GetPriority added in v1.0.4

func (o *Alarm) GetPriority() AlarmPriority

GetPriority returns the Priority field value

func (*Alarm) GetPriorityOk added in v1.0.4

func (o *Alarm) GetPriorityOk() (*AlarmPriority, bool)

GetPriorityOk returns a tuple with the Priority field value and a boolean to check if the value has been set.

func (*Alarm) GetRequiresAcknowledge added in v1.0.4

func (o *Alarm) GetRequiresAcknowledge() bool

GetRequiresAcknowledge returns the RequiresAcknowledge field value if set, zero value otherwise.

func (*Alarm) GetRequiresAcknowledgeOk added in v1.0.4

func (o *Alarm) 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.

func (*Alarm) GetRuleId added in v1.0.4

func (o *Alarm) GetRuleId() int32

GetRuleId returns the RuleId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetRuleIdOk added in v1.0.4

func (o *Alarm) GetRuleIdOk() (*int32, bool)

GetRuleIdOk returns a tuple with the RuleId 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) GetRuleInfo added in v1.0.4

func (o *Alarm) GetRuleInfo() AlarmRule

GetRuleInfo returns the RuleInfo field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetRuleInfoOk added in v1.0.4

func (o *Alarm) 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 (*Alarm) GetSubtype added in v1.0.4

func (o *Alarm) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*Alarm) GetSubtypeOk added in v1.0.4

func (o *Alarm) GetSubtypeOk() (*DataSubtype, bool)

GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.

func (*Alarm) GetTimestamp added in v1.0.4

func (o *Alarm) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*Alarm) GetTimestampOk added in v1.0.4

func (o *Alarm) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*Alarm) GetValue added in v1.0.4

func (o *Alarm) GetValue() float64

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Alarm) GetValueOk added in v1.0.4

func (o *Alarm) 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 (*Alarm) HasAcknowledgeText added in v1.0.4

func (o *Alarm) HasAcknowledgeText() bool

HasAcknowledgeText returns a boolean if a field has been set.

func (*Alarm) HasAcknowledgeTimestamp added in v1.0.4

func (o *Alarm) HasAcknowledgeTimestamp() bool

HasAcknowledgeTimestamp returns a boolean if a field has been set.

func (*Alarm) HasAcknowledgeUserId added in v1.0.4

func (o *Alarm) HasAcknowledgeUserId() bool

HasAcknowledgeUserId returns a boolean if a field has been set.

func (*Alarm) HasAssetInfo added in v1.0.4

func (o *Alarm) HasAssetInfo() bool

HasAssetInfo returns a boolean if a field has been set.

func (*Alarm) HasAttribute added in v1.0.4

func (o *Alarm) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*Alarm) HasGoneTimestamp added in v1.0.4

func (o *Alarm) HasGoneTimestamp() bool

HasGoneTimestamp returns a boolean if a field has been set.

func (*Alarm) HasMessage added in v1.0.4

func (o *Alarm) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Alarm) HasRequiresAcknowledge added in v1.0.4

func (o *Alarm) HasRequiresAcknowledge() bool

HasRequiresAcknowledge returns a boolean if a field has been set.

func (*Alarm) HasRuleId added in v1.0.4

func (o *Alarm) HasRuleId() bool

HasRuleId returns a boolean if a field has been set.

func (*Alarm) HasRuleInfo added in v1.0.4

func (o *Alarm) HasRuleInfo() bool

HasRuleInfo returns a boolean if a field has been set.

func (*Alarm) HasValue added in v1.0.4

func (o *Alarm) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Alarm) MarshalJSON added in v1.0.4

func (o Alarm) MarshalJSON() ([]byte, error)

func (*Alarm) SetAcknowledgeText added in v1.0.4

func (o *Alarm) SetAcknowledgeText(v string)

SetAcknowledgeText gets a reference to the given NullableString and assigns it to the AcknowledgeText field.

func (*Alarm) SetAcknowledgeTextNil added in v1.0.4

func (o *Alarm) SetAcknowledgeTextNil()

SetAcknowledgeTextNil sets the value for AcknowledgeText to be an explicit nil

func (*Alarm) SetAcknowledgeTimestamp added in v1.0.4

func (o *Alarm) SetAcknowledgeTimestamp(v time.Time)

SetAcknowledgeTimestamp gets a reference to the given NullableTime and assigns it to the AcknowledgeTimestamp field.

func (*Alarm) SetAcknowledgeTimestampNil added in v1.0.4

func (o *Alarm) SetAcknowledgeTimestampNil()

SetAcknowledgeTimestampNil sets the value for AcknowledgeTimestamp to be an explicit nil

func (*Alarm) SetAcknowledgeUserId added in v1.0.4

func (o *Alarm) SetAcknowledgeUserId(v string)

SetAcknowledgeUserId gets a reference to the given NullableString and assigns it to the AcknowledgeUserId field.

func (*Alarm) SetAcknowledgeUserIdNil added in v1.0.4

func (o *Alarm) SetAcknowledgeUserIdNil()

SetAcknowledgeUserIdNil sets the value for AcknowledgeUserId to be an explicit nil

func (*Alarm) SetAssetId added in v1.0.4

func (o *Alarm) SetAssetId(v int32)

SetAssetId sets field value

func (*Alarm) SetAssetInfo added in v1.0.4

func (o *Alarm) SetAssetInfo(v Asset)

SetAssetInfo gets a reference to the given NullableAsset and assigns it to the AssetInfo field.

func (*Alarm) SetAssetInfoNil added in v1.0.4

func (o *Alarm) SetAssetInfoNil()

SetAssetInfoNil sets the value for AssetInfo to be an explicit nil

func (*Alarm) SetAttribute added in v1.0.4

func (o *Alarm) SetAttribute(v string)

SetAttribute gets a reference to the given NullableString and assigns it to the Attribute field.

func (*Alarm) SetAttributeNil added in v1.0.4

func (o *Alarm) SetAttributeNil()

SetAttributeNil sets the value for Attribute to be an explicit nil

func (*Alarm) SetGoneTimestamp added in v1.0.4

func (o *Alarm) SetGoneTimestamp(v time.Time)

SetGoneTimestamp gets a reference to the given NullableTime and assigns it to the GoneTimestamp field.

func (*Alarm) SetGoneTimestampNil added in v1.0.4

func (o *Alarm) SetGoneTimestampNil()

SetGoneTimestampNil sets the value for GoneTimestamp to be an explicit nil

func (*Alarm) SetMessage added in v1.0.4

func (o *Alarm) SetMessage(v map[string]interface{})

SetMessage gets a reference to the given map[string]interface{} and assigns it to the Message field.

func (*Alarm) SetOccurrences added in v1.0.4

func (o *Alarm) SetOccurrences(v int32)

SetOccurrences sets field value

func (*Alarm) SetPriority added in v1.0.4

func (o *Alarm) SetPriority(v AlarmPriority)

SetPriority sets field value

func (*Alarm) SetRequiresAcknowledge added in v1.0.4

func (o *Alarm) SetRequiresAcknowledge(v bool)

SetRequiresAcknowledge gets a reference to the given bool and assigns it to the RequiresAcknowledge field.

func (*Alarm) SetRuleId added in v1.0.4

func (o *Alarm) SetRuleId(v int32)

SetRuleId gets a reference to the given NullableInt32 and assigns it to the RuleId field.

func (*Alarm) SetRuleIdNil added in v1.0.4

func (o *Alarm) SetRuleIdNil()

SetRuleIdNil sets the value for RuleId to be an explicit nil

func (*Alarm) SetRuleInfo added in v1.0.4

func (o *Alarm) SetRuleInfo(v AlarmRule)

SetRuleInfo gets a reference to the given NullableAlarmRule and assigns it to the RuleInfo field.

func (*Alarm) SetRuleInfoNil added in v1.0.4

func (o *Alarm) SetRuleInfoNil()

SetRuleInfoNil sets the value for RuleInfo to be an explicit nil

func (*Alarm) SetSubtype added in v1.0.4

func (o *Alarm) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*Alarm) SetTimestamp added in v1.0.4

func (o *Alarm) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (*Alarm) SetValue added in v1.0.4

func (o *Alarm) SetValue(v float64)

SetValue gets a reference to the given NullableFloat64 and assigns it to the Value field.

func (*Alarm) SetValueNil added in v1.0.4

func (o *Alarm) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil

func (*Alarm) UnsetAcknowledgeText added in v1.0.4

func (o *Alarm) UnsetAcknowledgeText()

UnsetAcknowledgeText ensures that no value is present for AcknowledgeText, not even an explicit nil

func (*Alarm) UnsetAcknowledgeTimestamp added in v1.0.4

func (o *Alarm) UnsetAcknowledgeTimestamp()

UnsetAcknowledgeTimestamp ensures that no value is present for AcknowledgeTimestamp, not even an explicit nil

func (*Alarm) UnsetAcknowledgeUserId added in v1.0.4

func (o *Alarm) UnsetAcknowledgeUserId()

UnsetAcknowledgeUserId ensures that no value is present for AcknowledgeUserId, not even an explicit nil

func (*Alarm) UnsetAssetInfo added in v1.0.4

func (o *Alarm) UnsetAssetInfo()

UnsetAssetInfo ensures that no value is present for AssetInfo, not even an explicit nil

func (*Alarm) UnsetAttribute added in v1.0.4

func (o *Alarm) UnsetAttribute()

UnsetAttribute ensures that no value is present for Attribute, not even an explicit nil

func (*Alarm) UnsetGoneTimestamp added in v1.0.4

func (o *Alarm) UnsetGoneTimestamp()

UnsetGoneTimestamp ensures that no value is present for GoneTimestamp, not even an explicit nil

func (*Alarm) UnsetRuleId added in v1.0.4

func (o *Alarm) UnsetRuleId()

UnsetRuleId ensures that no value is present for RuleId, not even an explicit nil

func (*Alarm) UnsetRuleInfo added in v1.0.4

func (o *Alarm) UnsetRuleInfo()

UnsetRuleInfo ensures that no value is present for RuleInfo, not even an explicit nil

func (*Alarm) UnsetValue added in v1.0.4

func (o *Alarm) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil

type AlarmPriority added in v1.0.4

type AlarmPriority int32

AlarmPriority The priority of the alarm. The higher this value the higher the priority.

const (
	ALARM_PRIORITY_LOW    AlarmPriority = 1
	ALARM_PRIORITY_MEDIUM AlarmPriority = 2
	ALARM_PRIORITY_HEIGHT AlarmPriority = 3
)

List of AlarmPriority

func NewAlarmPriorityFromValue added in v1.0.4

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 added in v1.0.4

func (v AlarmPriority) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AlarmPriority) Ptr added in v1.0.4

func (v AlarmPriority) Ptr() *AlarmPriority

Ptr returns reference to AlarmPriority value

func (*AlarmPriority) UnmarshalJSON added in v1.0.4

func (v *AlarmPriority) UnmarshalJSON(src []byte) error

type AlarmRule added in v1.0.4

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"`
	// Message 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"`
	AssetInfo NullableAsset `json:"assetInfo,omitempty"`
}

AlarmRule Rule for an alarm

func NewAlarmRule added in v1.0.4

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 added in v1.0.4

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 added in v1.0.4

func (o *AlarmRule) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*AlarmRule) GetAssetIdOk added in v1.0.4

func (o *AlarmRule) GetAssetIdOk() (*int32, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*AlarmRule) GetAssetInfo added in v1.0.4

func (o *AlarmRule) GetAssetInfo() Asset

GetAssetInfo returns the AssetInfo field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetAssetInfoOk added in v1.0.4

func (o *AlarmRule) 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 (*AlarmRule) GetAttribute added in v1.0.4

func (o *AlarmRule) GetAttribute() string

GetAttribute returns the Attribute field value

func (*AlarmRule) GetAttributeOk added in v1.0.4

func (o *AlarmRule) GetAttributeOk() (*string, bool)

GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.

func (*AlarmRule) GetDontMask added in v1.0.4

func (o *AlarmRule) GetDontMask() bool

GetDontMask returns the DontMask field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetDontMaskOk added in v1.0.4

func (o *AlarmRule) GetDontMaskOk() (*bool, bool)

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 added in v1.0.4

func (o *AlarmRule) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*AlarmRule) GetEnableOk added in v1.0.4

func (o *AlarmRule) 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 (*AlarmRule) GetEqual added in v1.0.4

func (o *AlarmRule) GetEqual() float64

GetEqual returns the Equal field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetEqualOk added in v1.0.4

func (o *AlarmRule) GetEqualOk() (*float64, bool)

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 added in v1.0.4

func (o *AlarmRule) GetHigh() float64

GetHigh returns the High field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetHighOk added in v1.0.4

func (o *AlarmRule) GetHighOk() (*float64, bool)

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 added in v1.0.4

func (o *AlarmRule) GetId() int32

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetIdOk added in v1.0.4

func (o *AlarmRule) 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 (*AlarmRule) GetLow added in v1.0.4

func (o *AlarmRule) GetLow() float64

GetLow returns the Low field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetLowOk added in v1.0.4

func (o *AlarmRule) GetLowOk() (*float64, bool)

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 added in v1.0.4

func (o *AlarmRule) GetMessage() map[string]interface{}

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetMessageOk added in v1.0.4

func (o *AlarmRule) GetMessageOk() (map[string]interface{}, bool)

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 added in v1.0.4

func (o *AlarmRule) GetNotifyOn() string

GetNotifyOn returns the NotifyOn field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetNotifyOnOk added in v1.0.4

func (o *AlarmRule) GetNotifyOnOk() (*string, bool)

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 added in v1.0.4

func (o *AlarmRule) GetPriority() AlarmPriority

GetPriority returns the Priority field value

func (*AlarmRule) GetPriorityOk added in v1.0.4

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 added in v1.0.4

func (o *AlarmRule) GetRequiresAcknowledge() bool

GetRequiresAcknowledge returns the RequiresAcknowledge field value if set, zero value otherwise.

func (*AlarmRule) GetRequiresAcknowledgeOk added in v1.0.4

func (o *AlarmRule) 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.

func (*AlarmRule) GetSubject added in v1.0.4

func (o *AlarmRule) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetSubjectOk added in v1.0.4

func (o *AlarmRule) GetSubjectOk() (*string, bool)

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 added in v1.0.4

func (o *AlarmRule) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*AlarmRule) GetSubtypeOk added in v1.0.4

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 added in v1.0.4

func (o *AlarmRule) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetTagsOk added in v1.0.4

func (o *AlarmRule) 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 (*AlarmRule) GetUrldoc added in v1.0.4

func (o *AlarmRule) GetUrldoc() string

GetUrldoc returns the Urldoc field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlarmRule) GetUrldocOk added in v1.0.4

func (o *AlarmRule) GetUrldocOk() (*string, bool)

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 added in v1.0.4

func (o *AlarmRule) HasAssetInfo() bool

HasAssetInfo returns a boolean if a field has been set.

func (*AlarmRule) HasDontMask added in v1.0.4

func (o *AlarmRule) HasDontMask() bool

HasDontMask returns a boolean if a field has been set.

func (*AlarmRule) HasEnable added in v1.0.4

func (o *AlarmRule) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*AlarmRule) HasEqual added in v1.0.4

func (o *AlarmRule) HasEqual() bool

HasEqual returns a boolean if a field has been set.

func (*AlarmRule) HasHigh added in v1.0.4

func (o *AlarmRule) HasHigh() bool

HasHigh returns a boolean if a field has been set.

func (*AlarmRule) HasId added in v1.0.4

func (o *AlarmRule) HasId() bool

HasId returns a boolean if a field has been set.

func (*AlarmRule) HasLow added in v1.0.4

func (o *AlarmRule) HasLow() bool

HasLow returns a boolean if a field has been set.

func (*AlarmRule) HasMessage added in v1.0.4

func (o *AlarmRule) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AlarmRule) HasNotifyOn added in v1.0.4

func (o *AlarmRule) HasNotifyOn() bool

HasNotifyOn returns a boolean if a field has been set.

func (*AlarmRule) HasRequiresAcknowledge added in v1.0.4

func (o *AlarmRule) HasRequiresAcknowledge() bool

HasRequiresAcknowledge returns a boolean if a field has been set.

func (*AlarmRule) HasSubject added in v1.0.4

func (o *AlarmRule) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AlarmRule) HasTags added in v1.0.4

func (o *AlarmRule) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*AlarmRule) HasUrldoc added in v1.0.4

func (o *AlarmRule) HasUrldoc() bool

HasUrldoc returns a boolean if a field has been set.

func (AlarmRule) MarshalJSON added in v1.0.4

func (o AlarmRule) MarshalJSON() ([]byte, error)

func (*AlarmRule) SetAssetId added in v1.0.4

func (o *AlarmRule) SetAssetId(v int32)

SetAssetId sets field value

func (*AlarmRule) SetAssetInfo added in v1.0.4

func (o *AlarmRule) SetAssetInfo(v Asset)

SetAssetInfo gets a reference to the given NullableAsset and assigns it to the AssetInfo field.

func (*AlarmRule) SetAssetInfoNil added in v1.0.4

func (o *AlarmRule) SetAssetInfoNil()

SetAssetInfoNil sets the value for AssetInfo to be an explicit nil

func (*AlarmRule) SetAttribute added in v1.0.4

func (o *AlarmRule) SetAttribute(v string)

SetAttribute sets field value

func (*AlarmRule) SetDontMask added in v1.0.4

func (o *AlarmRule) SetDontMask(v bool)

SetDontMask gets a reference to the given NullableBool and assigns it to the DontMask field.

func (*AlarmRule) SetDontMaskNil added in v1.0.4

func (o *AlarmRule) SetDontMaskNil()

SetDontMaskNil sets the value for DontMask to be an explicit nil

func (*AlarmRule) SetEnable added in v1.0.4

func (o *AlarmRule) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*AlarmRule) SetEqual added in v1.0.4

func (o *AlarmRule) SetEqual(v float64)

SetEqual gets a reference to the given NullableFloat64 and assigns it to the Equal field.

func (*AlarmRule) SetEqualNil added in v1.0.4

func (o *AlarmRule) SetEqualNil()

SetEqualNil sets the value for Equal to be an explicit nil

func (*AlarmRule) SetHigh added in v1.0.4

func (o *AlarmRule) SetHigh(v float64)

SetHigh gets a reference to the given NullableFloat64 and assigns it to the High field.

func (*AlarmRule) SetHighNil added in v1.0.4

func (o *AlarmRule) SetHighNil()

SetHighNil sets the value for High to be an explicit nil

func (*AlarmRule) SetId added in v1.0.4

func (o *AlarmRule) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*AlarmRule) SetIdNil added in v1.0.4

func (o *AlarmRule) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*AlarmRule) SetLow added in v1.0.4

func (o *AlarmRule) SetLow(v float64)

SetLow gets a reference to the given NullableFloat64 and assigns it to the Low field.

func (*AlarmRule) SetLowNil added in v1.0.4

func (o *AlarmRule) SetLowNil()

SetLowNil sets the value for Low to be an explicit nil

func (*AlarmRule) SetMessage added in v1.0.4

func (o *AlarmRule) SetMessage(v map[string]interface{})

SetMessage gets a reference to the given map[string]interface{} and assigns it to the Message field.

func (*AlarmRule) SetNotifyOn added in v1.0.4

func (o *AlarmRule) SetNotifyOn(v string)

SetNotifyOn gets a reference to the given NullableString and assigns it to the NotifyOn field.

func (*AlarmRule) SetNotifyOnNil added in v1.0.4

func (o *AlarmRule) SetNotifyOnNil()

SetNotifyOnNil sets the value for NotifyOn to be an explicit nil

func (*AlarmRule) SetPriority added in v1.0.4

func (o *AlarmRule) SetPriority(v AlarmPriority)

SetPriority sets field value

func (*AlarmRule) SetRequiresAcknowledge added in v1.0.4

func (o *AlarmRule) SetRequiresAcknowledge(v bool)

SetRequiresAcknowledge gets a reference to the given bool and assigns it to the RequiresAcknowledge field.

func (*AlarmRule) SetSubject added in v1.0.4

func (o *AlarmRule) SetSubject(v string)

SetSubject gets a reference to the given NullableString and assigns it to the Subject field.

func (*AlarmRule) SetSubjectNil added in v1.0.4

func (o *AlarmRule) SetSubjectNil()

SetSubjectNil sets the value for Subject to be an explicit nil

func (*AlarmRule) SetSubtype added in v1.0.4

func (o *AlarmRule) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*AlarmRule) SetTags added in v1.0.4

func (o *AlarmRule) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*AlarmRule) SetUrldoc added in v1.0.4

func (o *AlarmRule) SetUrldoc(v string)

SetUrldoc gets a reference to the given NullableString and assigns it to the Urldoc field.

func (*AlarmRule) SetUrldocNil added in v1.0.4

func (o *AlarmRule) SetUrldocNil()

SetUrldocNil sets the value for Urldoc to be an explicit nil

func (*AlarmRule) UnsetAssetInfo added in v1.0.4

func (o *AlarmRule) UnsetAssetInfo()

UnsetAssetInfo ensures that no value is present for AssetInfo, not even an explicit nil

func (*AlarmRule) UnsetDontMask added in v1.0.4

func (o *AlarmRule) UnsetDontMask()

UnsetDontMask ensures that no value is present for DontMask, not even an explicit nil

func (*AlarmRule) UnsetEqual added in v1.0.4

func (o *AlarmRule) UnsetEqual()

UnsetEqual ensures that no value is present for Equal, not even an explicit nil

func (*AlarmRule) UnsetHigh added in v1.0.4

func (o *AlarmRule) UnsetHigh()

UnsetHigh ensures that no value is present for High, not even an explicit nil

func (*AlarmRule) UnsetId added in v1.0.4

func (o *AlarmRule) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*AlarmRule) UnsetLow added in v1.0.4

func (o *AlarmRule) UnsetLow()

UnsetLow ensures that no value is present for Low, not even an explicit nil

func (*AlarmRule) UnsetNotifyOn added in v1.0.4

func (o *AlarmRule) UnsetNotifyOn()

UnsetNotifyOn ensures that no value is present for NotifyOn, not even an explicit nil

func (*AlarmRule) UnsetSubject added in v1.0.4

func (o *AlarmRule) UnsetSubject()

UnsetSubject ensures that no value is present for Subject, not even an explicit nil

func (*AlarmRule) UnsetUrldoc added in v1.0.4

func (o *AlarmRule) UnsetUrldoc()

UnsetUrldoc ensures that no value is present for Urldoc, not even an explicit nil

type AlarmRulesApiService added in v1.0.4

type AlarmRulesApiService service

AlarmRulesApiService AlarmRulesApi service

func (*AlarmRulesApiService) GetAlarmRuleById added in v1.0.4

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 v1.0.4

func (a *AlarmRulesApiService) GetAlarmRuleByIdExecute(r ApiGetAlarmRuleByIdRequest) (*AlarmRule, *http.Response, error)

Execute executes the request

@return AlarmRule

func (*AlarmRulesApiService) GetAlarmRules added in v1.0.4

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 v1.0.4

func (a *AlarmRulesApiService) GetAlarmRulesExecute(r ApiGetAlarmRulesRequest) ([]AlarmRule, *http.Response, error)

Execute executes the request

@return []AlarmRule

func (*AlarmRulesApiService) PutAlarmRule added in v1.0.4

PutAlarmRule Create or update an alarm rule

Create a new alarm rule or update an alarm rule if already exists

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPutAlarmRuleRequest

func (*AlarmRulesApiService) PutAlarmRuleExecute added in v1.0.4

func (a *AlarmRulesApiService) PutAlarmRuleExecute(r ApiPutAlarmRuleRequest) (*http.Response, error)

Execute executes the request

type AlarmsApiService added in v1.0.4

type AlarmsApiService service

AlarmsApiService AlarmsApi service

func (*AlarmsApiService) GetAlarmById added in v1.0.4

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 v1.0.4

func (a *AlarmsApiService) GetAlarmByIdExecute(r ApiGetAlarmByIdRequest) (*Alarm, *http.Response, error)

Execute executes the request

@return Alarm

func (*AlarmsApiService) GetAlarmHistoryById added in v1.0.4

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 v1.0.4

func (a *AlarmsApiService) GetAlarmHistoryByIdExecute(r ApiGetAlarmHistoryByIdRequest) ([]Alarm, *http.Response, error)

Execute executes the request

@return []Alarm

func (*AlarmsApiService) GetAlarms added in v1.0.4

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 v1.0.4

func (a *AlarmsApiService) GetAlarmsExecute(r ApiGetAlarmsRequest) ([]Alarm, *http.Response, error)

Execute executes the request

@return []Alarm

func (*AlarmsApiService) GetAlarmsHistory added in v1.0.4

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 v1.0.4

func (a *AlarmsApiService) GetAlarmsHistoryExecute(r ApiGetAlarmsHistoryRequest) ([]Alarm, *http.Response, error)

Execute executes the request

@return []Alarm

func (*AlarmsApiService) GetHighestAlarms added in v1.0.4

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 v1.0.4

func (a *AlarmsApiService) GetHighestAlarmsExecute(r ApiGetHighestAlarmsRequest) ([]Alarm, *http.Response, error)

Execute executes the request

@return []Alarm

func (*AlarmsApiService) PatchAlarmById added in v1.0.4

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 v1.0.4

func (a *AlarmsApiService) PatchAlarmByIdExecute(r ApiPatchAlarmByIdRequest) (*http.Response, error)

Execute executes the request

type ApiDeleteAggregationByIdRequest added in v1.2.3

type ApiDeleteAggregationByIdRequest struct {
	ApiService *AggregationsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteAggregationByIdRequest) Execute added in v1.2.3

type ApiDeleteAssetTypeByNameRequest added in v1.2.3

type ApiDeleteAssetTypeByNameRequest struct {
	ApiService *AssetTypesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteAssetTypeByNameRequest) Execute added in v1.2.3

type ApiGetAgentDeviceMappingsByIdRequest added in v1.2.0

type ApiGetAgentDeviceMappingsByIdRequest struct {
	ApiService *AgentsApiService
	// contains filtered or unexported fields
}

func (ApiGetAgentDeviceMappingsByIdRequest) Execute added in v1.2.0

type ApiGetAgentDevicesByIdRequest added in v1.2.0

type ApiGetAgentDevicesByIdRequest struct {
	ApiService *AgentsApiService
	// contains filtered or unexported fields
}

func (ApiGetAgentDevicesByIdRequest) Execute added in v1.2.0

type ApiGetAgentsByClassRequest added in v1.2.0

type ApiGetAgentsByClassRequest struct {
	ApiService *AgentsApiService
	// contains filtered or unexported fields
}

func (ApiGetAgentsByClassRequest) Execute added in v1.2.0

func (r ApiGetAgentsByClassRequest) Execute() ([]Agent, *http.Response, error)

type ApiGetAgentsRequest added in v1.2.0

type ApiGetAgentsRequest struct {
	ApiService *AgentsApiService
	// contains filtered or unexported fields
}

func (ApiGetAgentsRequest) Execute added in v1.2.0

func (r ApiGetAgentsRequest) Execute() ([]Agent, *http.Response, error)

type ApiGetAggregationByIdRequest added in v1.2.3

type ApiGetAggregationByIdRequest struct {
	ApiService *AggregationsApiService
	// contains filtered or unexported fields
}

func (ApiGetAggregationByIdRequest) Execute added in v1.2.3

type ApiGetAggregationsRequest added in v1.2.3

type ApiGetAggregationsRequest struct {
	ApiService *AggregationsApiService
	// contains filtered or unexported fields
}

func (ApiGetAggregationsRequest) Execute added in v1.2.3

type ApiGetAlarmByIdRequest added in v1.0.4

type ApiGetAlarmByIdRequest struct {
	ApiService *AlarmsApiService
	// contains filtered or unexported fields
}

func (ApiGetAlarmByIdRequest) Execute added in v1.0.4

func (r ApiGetAlarmByIdRequest) Execute() (*Alarm, *http.Response, error)

func (ApiGetAlarmByIdRequest) Expansions added in v1.0.4

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 added in v1.0.4

type ApiGetAlarmHistoryByIdRequest struct {
	ApiService *AlarmsApiService
	// contains filtered or unexported fields
}

func (ApiGetAlarmHistoryByIdRequest) Execute added in v1.0.4

func (ApiGetAlarmHistoryByIdRequest) Expansions added in v1.0.4

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 added in v1.0.4

type ApiGetAlarmRuleByIdRequest struct {
	ApiService *AlarmRulesApiService
	// contains filtered or unexported fields
}

func (ApiGetAlarmRuleByIdRequest) Execute added in v1.0.4

func (ApiGetAlarmRuleByIdRequest) Expansions added in v1.0.4

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 added in v1.0.4

type ApiGetAlarmRulesRequest struct {
	ApiService *AlarmRulesApiService
	// contains filtered or unexported fields
}

func (ApiGetAlarmRulesRequest) Execute added in v1.0.4

func (ApiGetAlarmRulesRequest) Expansions added in v1.0.4

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 added in v1.0.4

type ApiGetAlarmsHistoryRequest struct {
	ApiService *AlarmsApiService
	// contains filtered or unexported fields
}

func (ApiGetAlarmsHistoryRequest) Execute added in v1.0.4

func (r ApiGetAlarmsHistoryRequest) Execute() ([]Alarm, *http.Response, error)

func (ApiGetAlarmsHistoryRequest) Expansions added in v1.0.4

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 added in v1.0.4

Filter for a specific project

type ApiGetAlarmsRequest added in v1.0.4

type ApiGetAlarmsRequest struct {
	ApiService *AlarmsApiService
	// contains filtered or unexported fields
}

func (ApiGetAlarmsRequest) Execute added in v1.0.4

func (r ApiGetAlarmsRequest) Execute() ([]Alarm, *http.Response, error)

func (ApiGetAlarmsRequest) Expansions added in v1.0.4

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 added in v1.0.4

func (r ApiGetAlarmsRequest) ProjectId(projectId string) ApiGetAlarmsRequest

Filter for a specific project

type ApiGetAppByNameRequest

type ApiGetAppByNameRequest struct {
	ApiService *AppsApiService
	// contains filtered or unexported fields
}

func (ApiGetAppByNameRequest) Execute

func (r ApiGetAppByNameRequest) Execute() (*App, *http.Response, error)

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 added in v1.0.4

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 added in v1.2.3

type ApiGetAssetTypeByNameRequest struct {
	ApiService *AssetTypesApiService
	// contains filtered or unexported fields
}

func (ApiGetAssetTypeByNameRequest) Execute added in v1.2.3

func (ApiGetAssetTypeByNameRequest) Expansions added in v1.2.3

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 (ApiGetAssetTypesRequest) Expansions added in v1.0.4

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 added in v1.0.1

type ApiGetAssetsRequest struct {
	ApiService *AssetsApiService
	// contains filtered or unexported fields
}

func (ApiGetAssetsRequest) Execute added in v1.0.1

func (r ApiGetAssetsRequest) Execute() ([]Asset, *http.Response, error)

type ApiGetDataAggregatedRequest added in v1.2.3

type ApiGetDataAggregatedRequest struct {
	ApiService *DataApiService
	// contains filtered or unexported fields
}

func (ApiGetDataAggregatedRequest) AssetId added in v1.2.3

Filter for a specific asset id

func (ApiGetDataAggregatedRequest) AssetTypeName added in v1.2.3

func (r ApiGetDataAggregatedRequest) AssetTypeName(assetTypeName string) ApiGetDataAggregatedRequest

Filter the name of the asset type

func (ApiGetDataAggregatedRequest) DataSubtype added in v1.2.3

Filter for a specific type of asset data

func (ApiGetDataAggregatedRequest) Execute added in v1.2.3

func (ApiGetDataAggregatedRequest) FromDate added in v1.2.3

Filter by lower date time (RFC3339) limit inclusive

func (ApiGetDataAggregatedRequest) ToDate added in v1.2.3

Filter by upper date time (RFC3339) limit exclusive

type ApiGetDataRequest added in v1.2.2

type ApiGetDataRequest struct {
	ApiService *DataApiService
	// contains filtered or unexported fields
}

func (ApiGetDataRequest) AssetId added in v1.2.2

func (r ApiGetDataRequest) AssetId(assetId int32) ApiGetDataRequest

Filter for a specific asset id

func (ApiGetDataRequest) AssetTypeName added in v1.2.2

func (r ApiGetDataRequest) AssetTypeName(assetTypeName string) ApiGetDataRequest

Filter the name of the asset type

func (ApiGetDataRequest) DataSubtype added in v1.2.2

func (r ApiGetDataRequest) DataSubtype(dataSubtype string) ApiGetDataRequest

Filter for a specific type of asset data

func (ApiGetDataRequest) Execute added in v1.2.2

func (r ApiGetDataRequest) Execute() ([]Data, *http.Response, error)

type ApiGetDataTrendsRequest added in v1.2.3

type ApiGetDataTrendsRequest struct {
	ApiService *DataApiService
	// contains filtered or unexported fields
}

func (ApiGetDataTrendsRequest) AssetId added in v1.2.3

Filter for a specific asset id

func (ApiGetDataTrendsRequest) AssetTypeName added in v1.2.3

func (r ApiGetDataTrendsRequest) AssetTypeName(assetTypeName string) ApiGetDataTrendsRequest

Filter the name of the asset type

func (ApiGetDataTrendsRequest) DataSubtype added in v1.2.3

func (r ApiGetDataTrendsRequest) DataSubtype(dataSubtype string) ApiGetDataTrendsRequest

Filter for a specific type of asset data

func (ApiGetDataTrendsRequest) Execute added in v1.2.3

func (r ApiGetDataTrendsRequest) Execute() ([]Data, *http.Response, error)

func (ApiGetDataTrendsRequest) FromDate added in v1.2.3

Filter by lower date time (RFC3339) limit inclusive

func (ApiGetDataTrendsRequest) ToDate added in v1.2.3

Filter by upper date time (RFC3339) limit exclusive

type ApiGetHighestAlarmsRequest added in v1.0.4

type ApiGetHighestAlarmsRequest struct {
	ApiService *AlarmsApiService
	// contains filtered or unexported fields
}

func (ApiGetHighestAlarmsRequest) Execute added in v1.0.4

func (r ApiGetHighestAlarmsRequest) Execute() ([]Alarm, *http.Response, error)

func (ApiGetHighestAlarmsRequest) Expansions added in v1.0.4

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 added in v1.0.4

Filter for a specific project

type ApiGetNodeByIdentRequest added in v1.2.0

type ApiGetNodeByIdentRequest struct {
	ApiService *NodesApiService
	// contains filtered or unexported fields
}

func (ApiGetNodeByIdentRequest) Execute added in v1.2.0

func (r ApiGetNodeByIdentRequest) Execute() (*Node, *http.Response, error)

type ApiGetNodesRequest added in v1.2.0

type ApiGetNodesRequest struct {
	ApiService *NodesApiService
	// contains filtered or unexported fields
}

func (ApiGetNodesRequest) Execute added in v1.2.0

func (r ApiGetNodesRequest) Execute() ([]Node, *http.Response, error)

type ApiGetPatchByNameRequest

type ApiGetPatchByNameRequest struct {
	ApiService *AppsApiService
	// contains filtered or unexported fields
}

func (ApiGetPatchByNameRequest) Execute

func (r ApiGetPatchByNameRequest) Execute() (*Patch, *http.Response, error)

type ApiListenDataRequest added in v1.2.2

type ApiListenDataRequest struct {
	ApiService *DataApiService
	// contains filtered or unexported fields
}

func (ApiListenDataRequest) AssetId added in v1.2.2

func (r ApiListenDataRequest) AssetId(assetId int32) ApiListenDataRequest

Filter for a specific asset id

func (ApiListenDataRequest) DataSubtype added in v1.2.2

func (r ApiListenDataRequest) DataSubtype(dataSubtype string) ApiListenDataRequest

Filter for a specific type of asset data

func (ApiListenDataRequest) Execute added in v1.2.2

func (r ApiListenDataRequest) Execute() (*Data, *http.Response, error)

type ApiPatchAlarmByIdRequest added in v1.0.4

type ApiPatchAlarmByIdRequest struct {
	ApiService *AlarmsApiService
	// contains filtered or unexported fields
}

func (ApiPatchAlarmByIdRequest) AcknowledgeText added in v1.0.4

func (r ApiPatchAlarmByIdRequest) AcknowledgeText(acknowledgeText string) ApiPatchAlarmByIdRequest

Sets the text for acknowledgement

func (ApiPatchAlarmByIdRequest) Acknowledged added in v1.0.4

func (r ApiPatchAlarmByIdRequest) Acknowledged(acknowledged bool) ApiPatchAlarmByIdRequest

Marks the alarm as acknowledged by setting the acknowledge timestamp to now.

func (ApiPatchAlarmByIdRequest) Execute added in v1.0.4

func (r ApiPatchAlarmByIdRequest) Execute() (*http.Response, error)

type ApiPatchAppByNameRequest added in v1.0.1

type ApiPatchAppByNameRequest struct {
	ApiService *AppsApiService
	// contains filtered or unexported fields
}

func (ApiPatchAppByNameRequest) Execute added in v1.0.1

func (r ApiPatchAppByNameRequest) Execute() (*http.Response, error)

func (ApiPatchAppByNameRequest) Registered added in v1.0.1

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 added in v1.0.1

type ApiPatchPatchByNameRequest struct {
	ApiService *AppsApiService
	// contains filtered or unexported fields
}

func (ApiPatchPatchByNameRequest) Apply added in v1.0.1

Marks that the patch is now applied. Further request to get patch information returns { \"applied\": true }

func (ApiPatchPatchByNameRequest) Execute added in v1.0.1

type ApiPostAggregationRequest added in v1.2.3

type ApiPostAggregationRequest struct {
	ApiService *AggregationsApiService
	// contains filtered or unexported fields
}

func (ApiPostAggregationRequest) Aggregation added in v1.2.3

func (ApiPostAggregationRequest) Execute added in v1.2.3

type ApiPostDashboardRequest

type ApiPostDashboardRequest struct {
	ApiService *DashboardsApiService
	// contains filtered or unexported fields
}

func (ApiPostDashboardRequest) Dashboard

func (ApiPostDashboardRequest) Execute

type ApiPostDashboardWidgetRequest added in v1.0.1

type ApiPostDashboardWidgetRequest struct {
	ApiService *DashboardsApiService
	// contains filtered or unexported fields
}

func (ApiPostDashboardWidgetRequest) Execute added in v1.0.1

func (ApiPostDashboardWidgetRequest) Widget added in v1.0.1

type ApiPutAgentByClassRequest added in v1.2.0

type ApiPutAgentByClassRequest struct {
	ApiService *AgentsApiService
	// contains filtered or unexported fields
}

func (ApiPutAgentByClassRequest) Agent added in v1.2.0

func (ApiPutAgentByClassRequest) Execute added in v1.2.0

func (r ApiPutAgentByClassRequest) Execute() (*http.Response, error)

type ApiPutAgentDeviceByIdRequest added in v1.2.0

type ApiPutAgentDeviceByIdRequest struct {
	ApiService *AgentsApiService
	// contains filtered or unexported fields
}

func (ApiPutAgentDeviceByIdRequest) AgentDevice added in v1.2.0

func (ApiPutAgentDeviceByIdRequest) Execute added in v1.2.0

type ApiPutAgentDeviceMappingByIdRequest added in v1.2.0

type ApiPutAgentDeviceMappingByIdRequest struct {
	ApiService *AgentsApiService
	// contains filtered or unexported fields
}

func (ApiPutAgentDeviceMappingByIdRequest) AgentDeviceMapping added in v1.2.0

func (ApiPutAgentDeviceMappingByIdRequest) Execute added in v1.2.0

type ApiPutAlarmRuleRequest added in v1.0.4

type ApiPutAlarmRuleRequest struct {
	ApiService *AlarmRulesApiService
	// contains filtered or unexported fields
}

func (ApiPutAlarmRuleRequest) AlarmRule added in v1.0.4

func (ApiPutAlarmRuleRequest) Execute added in v1.0.4

func (r ApiPutAlarmRuleRequest) Execute() (*http.Response, error)

type ApiPutAssetRequest added in v1.0.1

type ApiPutAssetRequest struct {
	ApiService *AssetsApiService
	// contains filtered or unexported fields
}

func (ApiPutAssetRequest) Asset added in v1.0.1

func (ApiPutAssetRequest) Execute added in v1.0.1

func (r ApiPutAssetRequest) Execute() (*Asset, *http.Response, error)

type ApiPutAssetTypeAttributeRequest added in v1.0.1

type ApiPutAssetTypeAttributeRequest struct {
	ApiService *AssetTypesApiService
	// contains filtered or unexported fields
}

func (ApiPutAssetTypeAttributeRequest) AssetTypeAttribute added in v1.0.1

func (ApiPutAssetTypeAttributeRequest) Execute added in v1.0.1

type ApiPutAssetTypeRequest added in v1.0.1

type ApiPutAssetTypeRequest struct {
	ApiService *AssetTypesApiService
	// contains filtered or unexported fields
}

func (ApiPutAssetTypeRequest) AssetType added in v1.0.1

func (ApiPutAssetTypeRequest) Execute added in v1.0.1

func (ApiPutAssetTypeRequest) Expansions added in v1.2.2

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 ApiPutDataRequest added in v1.2.0

type ApiPutDataRequest struct {
	ApiService *DataApiService
	// contains filtered or unexported fields
}

func (ApiPutDataRequest) Data added in v1.2.0

func (ApiPutDataRequest) Execute added in v1.2.0

func (r ApiPutDataRequest) Execute() (*http.Response, error)

type ApiPutNodeRequest added in v1.2.0

type ApiPutNodeRequest struct {
	ApiService *NodesApiService
	// contains filtered or unexported fields
}

func (ApiPutNodeRequest) Execute added in v1.2.0

func (r ApiPutNodeRequest) Execute() (*Node, *http.Response, error)

func (ApiPutNodeRequest) Node added in v1.2.0

type ApiPutWidgetTypeRequest added in v1.0.1

type ApiPutWidgetTypeRequest struct {
	ApiService *DashboardsApiService
	// contains filtered or unexported fields
}

func (ApiPutWidgetTypeRequest) Execute added in v1.0.1

func (r ApiPutWidgetTypeRequest) Execute() (*http.Response, error)

func (ApiPutWidgetTypeRequest) WidgetType added in v1.0.1

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"`
}

App An app

func NewApp

func NewApp(name string) *App

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

func (o *App) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise (both if not set or set to explicit null).

func (*App) GetActiveOk

func (o *App) GetActiveOk() (*bool, bool)

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) GetName

func (o *App) GetName() string

GetName returns the Name field value

func (*App) GetNameOk

func (o *App) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*App) GetRegistered

func (o *App) GetRegistered() bool

GetRegistered returns the Registered field value if set, zero value otherwise (both if not set or set to explicit null).

func (*App) GetRegisteredOk

func (o *App) GetRegisteredOk() (*bool, bool)

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) HasActive

func (o *App) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*App) HasRegistered

func (o *App) HasRegistered() bool

HasRegistered returns a boolean if a field has been set.

func (App) MarshalJSON

func (o App) MarshalJSON() ([]byte, error)

func (*App) SetActive

func (o *App) SetActive(v bool)

SetActive gets a reference to the given NullableBool and assigns it to the Active field.

func (*App) SetActiveNil added in v1.0.2

func (o *App) SetActiveNil()

SetActiveNil sets the value for Active to be an explicit nil

func (*App) SetName

func (o *App) SetName(v string)

SetName sets field value

func (*App) SetRegistered

func (o *App) SetRegistered(v bool)

SetRegistered gets a reference to the given NullableBool and assigns it to the Registered field.

func (*App) SetRegisteredNil added in v1.0.2

func (o *App) SetRegisteredNil()

SetRegisteredNil sets the value for Registered to be an explicit nil

func (*App) UnsetActive added in v1.0.2

func (o *App) UnsetActive()

UnsetActive ensures that no value is present for Active, not even an explicit nil

func (*App) UnsetRegistered added in v1.0.2

func (o *App) UnsetRegistered()

UnsetRegistered ensures that no value is present for Registered, not even an explicit nil

type AppsApiService added in v1.0.1

type AppsApiService service

AppsApiService AppsApi service

func (*AppsApiService) GetAppByName added in v1.0.1

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 v1.0.1

func (a *AppsApiService) GetAppByNameExecute(r ApiGetAppByNameRequest) (*App, *http.Response, error)

Execute executes the request

@return App

func (*AppsApiService) GetPatchByName added in v1.0.1

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 v1.0.1

func (a *AppsApiService) GetPatchByNameExecute(r ApiGetPatchByNameRequest) (*Patch, *http.Response, error)

Execute executes the request

@return Patch

func (*AppsApiService) PatchAppByName added in v1.0.1

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 v1.0.1

func (a *AppsApiService) PatchAppByNameExecute(r ApiPatchAppByNameRequest) (*http.Response, error)

Execute executes the request

func (*AppsApiService) PatchPatchByName added in v1.0.1

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 v1.0.1

func (a *AppsApiService) PatchPatchByNameExecute(r ApiPatchPatchByNameRequest) (*http.Response, error)

Execute executes the request

type Asset

type Asset struct {
	// The internal Id of asset
	Id NullableInt32 `json:"id,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"`
	// 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 id of an asset which groups this asset as a locational child
	ParentLocationalAssetId NullableInt32 `json:"parentLocationalAssetId,omitempty"`
	// List of associated tags
	Tags []string `json:"tags,omitempty"`
	// List of children for this asset.
	ChildrenInfo []Asset `json:"childrenInfo,omitempty"`
}

Asset An asset

func NewAsset

func NewAsset(projectId string, globalAssetIdentifier string, assetType string) *Asset

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

func (o *Asset) GetAssetType() string

GetAssetType returns the AssetType field value

func (*Asset) GetAssetTypeOk

func (o *Asset) GetAssetTypeOk() (*string, bool)

GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.

func (*Asset) GetChildrenInfo added in v1.0.4

func (o *Asset) GetChildrenInfo() []Asset

GetChildrenInfo returns the ChildrenInfo field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetChildrenInfoOk added in v1.0.4

func (o *Asset) 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 (*Asset) GetDescription

func (o *Asset) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetDescriptionOk

func (o *Asset) 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 (*Asset) GetGlobalAssetIdentifier

func (o *Asset) GetGlobalAssetIdentifier() string

GetGlobalAssetIdentifier returns the GlobalAssetIdentifier field value

func (*Asset) GetGlobalAssetIdentifierOk

func (o *Asset) GetGlobalAssetIdentifierOk() (*string, bool)

GetGlobalAssetIdentifierOk returns a tuple with the GlobalAssetIdentifier field value and a boolean to check if the value has been set.

func (*Asset) GetId

func (o *Asset) GetId() int32

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetIdOk

func (o *Asset) 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 (*Asset) GetLatitude

func (o *Asset) GetLatitude() float64

GetLatitude returns the Latitude field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetLatitudeOk

func (o *Asset) 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 (*Asset) GetLongitude

func (o *Asset) GetLongitude() float64

GetLongitude returns the Longitude field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetLongitudeOk

func (o *Asset) 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 (*Asset) GetName

func (o *Asset) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetNameOk

func (o *Asset) 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 (*Asset) GetParentFunctionalAssetId added in v1.0.1

func (o *Asset) GetParentFunctionalAssetId() int32

GetParentFunctionalAssetId returns the ParentFunctionalAssetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetParentFunctionalAssetIdOk added in v1.0.1

func (o *Asset) 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 (*Asset) GetParentLocationalAssetId added in v1.0.1

func (o *Asset) GetParentLocationalAssetId() int32

GetParentLocationalAssetId returns the ParentLocationalAssetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetParentLocationalAssetIdOk added in v1.0.1

func (o *Asset) 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 (*Asset) GetProjectId

func (o *Asset) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*Asset) GetProjectIdOk

func (o *Asset) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*Asset) GetTags

func (o *Asset) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Asset) GetTagsOk

func (o *Asset) 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 (*Asset) HasChildrenInfo added in v1.0.4

func (o *Asset) HasChildrenInfo() bool

HasChildrenInfo returns a boolean if a field has been set.

func (*Asset) HasDescription

func (o *Asset) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Asset) HasId

func (o *Asset) HasId() bool

HasId returns a boolean if a field has been set.

func (*Asset) HasLatitude

func (o *Asset) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*Asset) HasLongitude

func (o *Asset) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*Asset) HasName

func (o *Asset) HasName() bool

HasName returns a boolean if a field has been set.

func (*Asset) HasParentFunctionalAssetId added in v1.0.1

func (o *Asset) HasParentFunctionalAssetId() bool

HasParentFunctionalAssetId returns a boolean if a field has been set.

func (*Asset) HasParentLocationalAssetId added in v1.0.1

func (o *Asset) HasParentLocationalAssetId() bool

HasParentLocationalAssetId returns a boolean if a field has been set.

func (*Asset) HasTags

func (o *Asset) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Asset) MarshalJSON

func (o Asset) MarshalJSON() ([]byte, error)

func (*Asset) SetAssetType

func (o *Asset) SetAssetType(v string)

SetAssetType sets field value

func (*Asset) SetChildrenInfo added in v1.0.4

func (o *Asset) SetChildrenInfo(v []Asset)

SetChildrenInfo gets a reference to the given []Asset and assigns it to the ChildrenInfo field.

func (*Asset) SetDescription

func (o *Asset) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*Asset) SetDescriptionNil added in v1.0.2

func (o *Asset) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Asset) SetGlobalAssetIdentifier

func (o *Asset) SetGlobalAssetIdentifier(v string)

SetGlobalAssetIdentifier sets field value

func (*Asset) SetId

func (o *Asset) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*Asset) SetIdNil added in v1.0.2

func (o *Asset) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Asset) SetLatitude

func (o *Asset) SetLatitude(v float64)

SetLatitude gets a reference to the given NullableFloat64 and assigns it to the Latitude field.

func (*Asset) SetLatitudeNil added in v1.0.2

func (o *Asset) SetLatitudeNil()

SetLatitudeNil sets the value for Latitude to be an explicit nil

func (*Asset) SetLongitude

func (o *Asset) SetLongitude(v float64)

SetLongitude gets a reference to the given NullableFloat64 and assigns it to the Longitude field.

func (*Asset) SetLongitudeNil added in v1.0.2

func (o *Asset) SetLongitudeNil()

SetLongitudeNil sets the value for Longitude to be an explicit nil

func (*Asset) SetName

func (o *Asset) SetName(v string)

SetName gets a reference to the given NullableString and assigns it to the Name field.

func (*Asset) SetNameNil added in v1.0.2

func (o *Asset) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*Asset) SetParentFunctionalAssetId added in v1.0.1

func (o *Asset) SetParentFunctionalAssetId(v int32)

SetParentFunctionalAssetId gets a reference to the given NullableInt32 and assigns it to the ParentFunctionalAssetId field.

func (*Asset) SetParentFunctionalAssetIdNil added in v1.0.2

func (o *Asset) SetParentFunctionalAssetIdNil()

SetParentFunctionalAssetIdNil sets the value for ParentFunctionalAssetId to be an explicit nil

func (*Asset) SetParentLocationalAssetId added in v1.0.1

func (o *Asset) SetParentLocationalAssetId(v int32)

SetParentLocationalAssetId gets a reference to the given NullableInt32 and assigns it to the ParentLocationalAssetId field.

func (*Asset) SetParentLocationalAssetIdNil added in v1.0.2

func (o *Asset) SetParentLocationalAssetIdNil()

SetParentLocationalAssetIdNil sets the value for ParentLocationalAssetId to be an explicit nil

func (*Asset) SetProjectId

func (o *Asset) SetProjectId(v string)

SetProjectId sets field value

func (*Asset) SetTags

func (o *Asset) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Asset) UnsetDescription added in v1.0.2

func (o *Asset) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*Asset) UnsetId added in v1.0.2

func (o *Asset) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*Asset) UnsetLatitude added in v1.0.2

func (o *Asset) UnsetLatitude()

UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil

func (*Asset) UnsetLongitude added in v1.0.2

func (o *Asset) UnsetLongitude()

UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil

func (*Asset) UnsetName added in v1.0.2

func (o *Asset) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

func (*Asset) UnsetParentFunctionalAssetId added in v1.0.2

func (o *Asset) UnsetParentFunctionalAssetId()

UnsetParentFunctionalAssetId ensures that no value is present for ParentFunctionalAssetId, not even an explicit nil

func (*Asset) UnsetParentLocationalAssetId added in v1.0.2

func (o *Asset) UnsetParentLocationalAssetId()

UnsetParentLocationalAssetId ensures that no value is present for ParentLocationalAssetId, 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
	Icon NullableString `json:"icon,omitempty"`
	// List of named attributes
	Attributes []AssetTypeAttribute `json:"attributes,omitempty"`
}

AssetType A type of assets

func NewAssetType

func NewAssetType(name string) *AssetType

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) 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

func (o *AssetType) GetCustom() bool

GetCustom returns the Custom field value if set, zero value otherwise.

func (*AssetType) GetCustomOk

func (o *AssetType) 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 (*AssetType) GetIcon

func (o *AssetType) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssetType) GetIconOk

func (o *AssetType) 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 (*AssetType) GetModel

func (o *AssetType) GetModel() string

GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssetType) GetModelOk

func (o *AssetType) 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 (*AssetType) GetName

func (o *AssetType) GetName() string

GetName returns the Name field value

func (*AssetType) GetNameOk

func (o *AssetType) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

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

func (o *AssetType) GetUrldoc() string

GetUrldoc returns the Urldoc field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssetType) GetUrldocOk

func (o *AssetType) GetUrldocOk() (*string, bool)

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

func (o *AssetType) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AssetType) GetVendorOk

func (o *AssetType) GetVendorOk() (*string, bool)

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) HasAttributes

func (o *AssetType) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AssetType) HasCustom added in v1.0.4

func (o *AssetType) HasCustom() bool

HasCustom returns a boolean if a field has been set.

func (*AssetType) HasIcon

func (o *AssetType) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*AssetType) HasModel

func (o *AssetType) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*AssetType) HasTranslation

func (o *AssetType) HasTranslation() bool

HasTranslation returns a boolean if a field has been set.

func (*AssetType) HasUrldoc

func (o *AssetType) HasUrldoc() bool

HasUrldoc returns a boolean if a field has been set.

func (*AssetType) HasVendor

func (o *AssetType) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (AssetType) MarshalJSON

func (o AssetType) MarshalJSON() ([]byte, error)

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

func (o *AssetType) SetCustom(v bool)

SetCustom gets a reference to the given bool and assigns it to the Custom field.

func (*AssetType) SetIcon

func (o *AssetType) SetIcon(v string)

SetIcon gets a reference to the given NullableString and assigns it to the Icon field.

func (*AssetType) SetIconNil added in v1.0.2

func (o *AssetType) SetIconNil()

SetIconNil sets the value for Icon to be an explicit nil

func (*AssetType) SetModel

func (o *AssetType) SetModel(v string)

SetModel gets a reference to the given NullableString and assigns it to the Model field.

func (*AssetType) SetModelNil added in v1.0.2

func (o *AssetType) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*AssetType) SetName

func (o *AssetType) SetName(v string)

SetName sets field value

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 added in v1.0.2

func (o *AssetType) SetTranslationNil()

SetTranslationNil sets the value for Translation to be an explicit nil

func (*AssetType) SetUrldoc

func (o *AssetType) SetUrldoc(v string)

SetUrldoc gets a reference to the given NullableString and assigns it to the Urldoc field.

func (*AssetType) SetUrldocNil added in v1.0.2

func (o *AssetType) SetUrldocNil()

SetUrldocNil sets the value for Urldoc to be an explicit nil

func (*AssetType) SetVendor

func (o *AssetType) SetVendor(v string)

SetVendor gets a reference to the given NullableString and assigns it to the Vendor field.

func (*AssetType) SetVendorNil added in v1.0.2

func (o *AssetType) SetVendorNil()

SetVendorNil sets the value for Vendor to be an explicit nil

func (*AssetType) UnsetIcon added in v1.0.2

func (o *AssetType) UnsetIcon()

UnsetIcon ensures that no value is present for Icon, not even an explicit nil

func (*AssetType) UnsetModel added in v1.0.2

func (o *AssetType) UnsetModel()

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

func (*AssetType) UnsetTranslation added in v1.0.2

func (o *AssetType) UnsetTranslation()

UnsetTranslation ensures that no value is present for Translation, not even an explicit nil

func (*AssetType) UnsetUrldoc added in v1.0.2

func (o *AssetType) UnsetUrldoc()

UnsetUrldoc ensures that no value is present for Urldoc, not even an explicit nil

func (*AssetType) UnsetVendor added in v1.0.2

func (o *AssetType) UnsetVendor()

UnsetVendor ensures that no value is present for Vendor, not even an explicit nil

type AssetTypeAttribute added in v1.0.1

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
	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"`
}

AssetTypeAttribute Named attribute to store data of assets

func NewAssetTypeAttribute added in v1.0.1

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 added in v1.0.1

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

func (o *AssetTypeAttribute) GetAggregationRasters() []string

GetAggregationRasters returns the AggregationRasters field value if set, zero value otherwise.

func (*AssetTypeAttribute) GetAggregationRastersOk added in v1.2.3

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

func (o *AssetTypeAttribute) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*AssetTypeAttribute) GetEnableOk added in v1.0.1

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) GetMax added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

func (o *AssetTypeAttribute) GetName() string

GetName returns the Name field value

func (*AssetTypeAttribute) GetNameOk added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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) GetSequence added in v1.0.1

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 added in v1.0.1

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) GetSubtype added in v1.0.1

func (o *AssetTypeAttribute) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*AssetTypeAttribute) GetSubtypeOk added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

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) HasAggregationMode added in v1.2.3

func (o *AssetTypeAttribute) HasAggregationMode() bool

HasAggregationMode returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasAggregationRasters added in v1.2.3

func (o *AssetTypeAttribute) HasAggregationRasters() bool

HasAggregationRasters returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasAr added in v1.0.1

func (o *AssetTypeAttribute) HasAr() bool

HasAr returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasAssetTypeName added in v1.0.1

func (o *AssetTypeAttribute) HasAssetTypeName() bool

HasAssetTypeName returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasEnable added in v1.0.1

func (o *AssetTypeAttribute) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasMax added in v1.0.1

func (o *AssetTypeAttribute) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasMin added in v1.0.1

func (o *AssetTypeAttribute) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasPrecision added in v1.0.1

func (o *AssetTypeAttribute) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasSequence added in v1.0.1

func (o *AssetTypeAttribute) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasTranslation added in v1.0.1

func (o *AssetTypeAttribute) HasTranslation() bool

HasTranslation returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasType added in v1.0.1

func (o *AssetTypeAttribute) HasType() bool

HasType returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasUnit added in v1.0.1

func (o *AssetTypeAttribute) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasViewer added in v1.0.1

func (o *AssetTypeAttribute) HasViewer() bool

HasViewer returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasVirtual added in v1.0.1

func (o *AssetTypeAttribute) HasVirtual() bool

HasVirtual returns a boolean if a field has been set.

func (AssetTypeAttribute) MarshalJSON added in v1.0.1

func (o AssetTypeAttribute) MarshalJSON() ([]byte, error)

func (*AssetTypeAttribute) SetAggregationMode added in v1.2.3

func (o *AssetTypeAttribute) SetAggregationMode(v string)

SetAggregationMode gets a reference to the given NullableString and assigns it to the AggregationMode field.

func (*AssetTypeAttribute) SetAggregationModeNil added in v1.2.3

func (o *AssetTypeAttribute) SetAggregationModeNil()

SetAggregationModeNil sets the value for AggregationMode to be an explicit nil

func (*AssetTypeAttribute) SetAggregationRasters added in v1.2.3

func (o *AssetTypeAttribute) SetAggregationRasters(v []string)

SetAggregationRasters gets a reference to the given []string and assigns it to the AggregationRasters field.

func (*AssetTypeAttribute) SetAr added in v1.0.1

func (o *AssetTypeAttribute) SetAr(v bool)

SetAr gets a reference to the given NullableBool and assigns it to the Ar field.

func (*AssetTypeAttribute) SetArNil added in v1.0.2

func (o *AssetTypeAttribute) SetArNil()

SetArNil sets the value for Ar to be an explicit nil

func (*AssetTypeAttribute) SetAssetTypeName added in v1.0.1

func (o *AssetTypeAttribute) SetAssetTypeName(v string)

SetAssetTypeName gets a reference to the given NullableString and assigns it to the AssetTypeName field.

func (*AssetTypeAttribute) SetAssetTypeNameNil added in v1.0.2

func (o *AssetTypeAttribute) SetAssetTypeNameNil()

SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil

func (*AssetTypeAttribute) SetEnable added in v1.0.1

func (o *AssetTypeAttribute) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*AssetTypeAttribute) SetMax added in v1.0.1

func (o *AssetTypeAttribute) SetMax(v float64)

SetMax gets a reference to the given NullableFloat64 and assigns it to the Max field.

func (*AssetTypeAttribute) SetMaxNil added in v1.0.2

func (o *AssetTypeAttribute) SetMaxNil()

SetMaxNil sets the value for Max to be an explicit nil

func (*AssetTypeAttribute) SetMin added in v1.0.1

func (o *AssetTypeAttribute) SetMin(v float64)

SetMin gets a reference to the given NullableFloat64 and assigns it to the Min field.

func (*AssetTypeAttribute) SetMinNil added in v1.0.2

func (o *AssetTypeAttribute) SetMinNil()

SetMinNil sets the value for Min to be an explicit nil

func (*AssetTypeAttribute) SetName added in v1.0.1

func (o *AssetTypeAttribute) SetName(v string)

SetName sets field value

func (*AssetTypeAttribute) SetPrecision added in v1.0.1

func (o *AssetTypeAttribute) SetPrecision(v int64)

SetPrecision gets a reference to the given NullableInt64 and assigns it to the Precision field.

func (*AssetTypeAttribute) SetPrecisionNil added in v1.0.2

func (o *AssetTypeAttribute) SetPrecisionNil()

SetPrecisionNil sets the value for Precision to be an explicit nil

func (*AssetTypeAttribute) SetSequence added in v1.0.1

func (o *AssetTypeAttribute) SetSequence(v int64)

SetSequence gets a reference to the given NullableInt64 and assigns it to the Sequence field.

func (*AssetTypeAttribute) SetSequenceNil added in v1.0.2

func (o *AssetTypeAttribute) SetSequenceNil()

SetSequenceNil sets the value for Sequence to be an explicit nil

func (*AssetTypeAttribute) SetSubtype added in v1.0.1

func (o *AssetTypeAttribute) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*AssetTypeAttribute) SetTranslation added in v1.0.1

func (o *AssetTypeAttribute) SetTranslation(v Translation)

SetTranslation gets a reference to the given NullableTranslation and assigns it to the Translation field.

func (*AssetTypeAttribute) SetTranslationNil added in v1.0.2

func (o *AssetTypeAttribute) SetTranslationNil()

SetTranslationNil sets the value for Translation to be an explicit nil

func (*AssetTypeAttribute) SetType added in v1.0.1

func (o *AssetTypeAttribute) SetType(v string)

SetType gets a reference to the given NullableString and assigns it to the Type field.

func (*AssetTypeAttribute) SetTypeNil added in v1.0.2

func (o *AssetTypeAttribute) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (*AssetTypeAttribute) SetUnit added in v1.0.1

func (o *AssetTypeAttribute) SetUnit(v string)

SetUnit gets a reference to the given NullableString and assigns it to the Unit field.

func (*AssetTypeAttribute) SetUnitNil added in v1.0.2

func (o *AssetTypeAttribute) SetUnitNil()

SetUnitNil sets the value for Unit to be an explicit nil

func (*AssetTypeAttribute) SetViewer added in v1.0.1

func (o *AssetTypeAttribute) SetViewer(v bool)

SetViewer gets a reference to the given NullableBool and assigns it to the Viewer field.

func (*AssetTypeAttribute) SetViewerNil added in v1.0.2

func (o *AssetTypeAttribute) SetViewerNil()

SetViewerNil sets the value for Viewer to be an explicit nil

func (*AssetTypeAttribute) SetVirtual added in v1.0.1

func (o *AssetTypeAttribute) SetVirtual(v bool)

SetVirtual gets a reference to the given NullableBool and assigns it to the Virtual field.

func (*AssetTypeAttribute) SetVirtualNil added in v1.0.2

func (o *AssetTypeAttribute) SetVirtualNil()

SetVirtualNil sets the value for Virtual to be an explicit nil

func (*AssetTypeAttribute) UnsetAggregationMode added in v1.2.3

func (o *AssetTypeAttribute) UnsetAggregationMode()

UnsetAggregationMode ensures that no value is present for AggregationMode, not even an explicit nil

func (*AssetTypeAttribute) UnsetAr added in v1.0.2

func (o *AssetTypeAttribute) UnsetAr()

UnsetAr ensures that no value is present for Ar, not even an explicit nil

func (*AssetTypeAttribute) UnsetAssetTypeName added in v1.0.2

func (o *AssetTypeAttribute) UnsetAssetTypeName()

UnsetAssetTypeName ensures that no value is present for AssetTypeName, not even an explicit nil

func (*AssetTypeAttribute) UnsetMax added in v1.0.2

func (o *AssetTypeAttribute) UnsetMax()

UnsetMax ensures that no value is present for Max, not even an explicit nil

func (*AssetTypeAttribute) UnsetMin added in v1.0.2

func (o *AssetTypeAttribute) UnsetMin()

UnsetMin ensures that no value is present for Min, not even an explicit nil

func (*AssetTypeAttribute) UnsetPrecision added in v1.0.2

func (o *AssetTypeAttribute) UnsetPrecision()

UnsetPrecision ensures that no value is present for Precision, not even an explicit nil

func (*AssetTypeAttribute) UnsetSequence added in v1.0.2

func (o *AssetTypeAttribute) UnsetSequence()

UnsetSequence ensures that no value is present for Sequence, not even an explicit nil

func (*AssetTypeAttribute) UnsetTranslation added in v1.0.2

func (o *AssetTypeAttribute) UnsetTranslation()

UnsetTranslation ensures that no value is present for Translation, not even an explicit nil

func (*AssetTypeAttribute) UnsetType added in v1.0.2

func (o *AssetTypeAttribute) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

func (*AssetTypeAttribute) UnsetUnit added in v1.0.2

func (o *AssetTypeAttribute) UnsetUnit()

UnsetUnit ensures that no value is present for Unit, not even an explicit nil

func (*AssetTypeAttribute) UnsetViewer added in v1.0.2

func (o *AssetTypeAttribute) UnsetViewer()

UnsetViewer ensures that no value is present for Viewer, not even an explicit nil

func (*AssetTypeAttribute) UnsetVirtual added in v1.0.2

func (o *AssetTypeAttribute) UnsetVirtual()

UnsetVirtual ensures that no value is present for Virtual, not even an explicit nil

type AssetTypesApiService added in v1.0.1

type AssetTypesApiService service

AssetTypesApiService AssetTypesApi service

func (*AssetTypesApiService) DeleteAssetTypeByName added in v1.2.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 v1.2.3

func (a *AssetTypesApiService) DeleteAssetTypeByNameExecute(r ApiDeleteAssetTypeByNameRequest) (*http.Response, error)

Execute executes the request

func (*AssetTypesApiService) GetAssetTypeByName added in v1.2.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 v1.2.3

func (a *AssetTypesApiService) GetAssetTypeByNameExecute(r ApiGetAssetTypeByNameRequest) (*AssetType, *http.Response, error)

Execute executes the request

@return AssetType

func (*AssetTypesApiService) GetAssetTypes added in v1.0.1

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 v1.0.1

func (a *AssetTypesApiService) GetAssetTypesExecute(r ApiGetAssetTypesRequest) ([]AssetType, *http.Response, error)

Execute executes the request

@return []AssetType

func (*AssetTypesApiService) PutAssetType added in v1.0.1

PutAssetType Create or update an asset type

Create a new asset type or update an asset type if already exists

@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 v1.0.1

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

@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 v1.0.1

func (a *AssetTypesApiService) PutAssetTypeAttributeExecute(r ApiPutAssetTypeAttributeRequest) (*http.Response, error)

Execute executes the request

func (*AssetTypesApiService) PutAssetTypeExecute added in v1.0.1

func (a *AssetTypesApiService) PutAssetTypeExecute(r ApiPutAssetTypeRequest) (*AssetType, *http.Response, error)

Execute executes the request

@return AssetType

type AssetsApiService added in v1.0.1

type AssetsApiService service

AssetsApiService AssetsApi service

func (*AssetsApiService) GetAssetById added in v1.0.1

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 v1.0.1

func (a *AssetsApiService) GetAssetByIdExecute(r ApiGetAssetByIdRequest) (*Asset, *http.Response, error)

Execute executes the request

@return Asset

func (*AssetsApiService) GetAssets added in v1.0.1

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 v1.0.1

func (a *AssetsApiService) GetAssetsExecute(r ApiGetAssetsRequest) ([]Asset, *http.Response, error)

Execute executes the request

@return []Asset

func (*AssetsApiService) PutAsset added in v1.0.1

PutAsset Create or update an asset

Creates an asset if no asset with the same projectId and globalAssetIdentifier already exists. If there is such an asset, the asset is updated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPutAssetRequest

func (*AssetsApiService) PutAssetExecute added in v1.0.1

func (a *AssetsApiService) PutAssetExecute(r ApiPutAssetRequest) (*Asset, *http.Response, error)

Execute executes the request

@return Asset

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 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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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
	Sequence NullableInt32 `json:"sequence,omitempty"`
}

Dashboard A frontend dashboard

func NewDashboard

func NewDashboard(name string, projectId string, userId string) *Dashboard

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

func (o *Dashboard) GetId() int32

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Dashboard) GetIdOk

func (o *Dashboard) 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 (*Dashboard) GetName

func (o *Dashboard) GetName() string

GetName returns the Name field value

func (*Dashboard) GetNameOk

func (o *Dashboard) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Dashboard) GetProjectId

func (o *Dashboard) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*Dashboard) GetProjectIdOk

func (o *Dashboard) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*Dashboard) GetSequence added in v1.0.1

func (o *Dashboard) GetSequence() int32

GetSequence returns the Sequence field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Dashboard) GetSequenceOk added in v1.0.1

func (o *Dashboard) 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 (*Dashboard) GetUserId

func (o *Dashboard) GetUserId() string

GetUserId returns the UserId field value

func (*Dashboard) GetUserIdOk

func (o *Dashboard) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.

func (*Dashboard) HasId

func (o *Dashboard) HasId() bool

HasId returns a boolean if a field has been set.

func (*Dashboard) HasSequence added in v1.0.1

func (o *Dashboard) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (Dashboard) MarshalJSON

func (o Dashboard) MarshalJSON() ([]byte, error)

func (*Dashboard) SetId

func (o *Dashboard) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*Dashboard) SetIdNil added in v1.0.2

func (o *Dashboard) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Dashboard) SetName

func (o *Dashboard) SetName(v string)

SetName sets field value

func (*Dashboard) SetProjectId

func (o *Dashboard) SetProjectId(v string)

SetProjectId sets field value

func (*Dashboard) SetSequence added in v1.0.1

func (o *Dashboard) SetSequence(v int32)

SetSequence gets a reference to the given NullableInt32 and assigns it to the Sequence field.

func (*Dashboard) SetSequenceNil added in v1.0.2

func (o *Dashboard) SetSequenceNil()

SetSequenceNil sets the value for Sequence to be an explicit nil

func (*Dashboard) SetUserId

func (o *Dashboard) SetUserId(v string)

SetUserId sets field value

func (*Dashboard) UnsetId added in v1.0.2

func (o *Dashboard) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*Dashboard) UnsetSequence added in v1.0.2

func (o *Dashboard) UnsetSequence()

UnsetSequence ensures that no value is present for Sequence, not even an explicit nil

type DashboardsApiService added in v1.0.1

type DashboardsApiService service

DashboardsApiService DashboardsApi service

func (*DashboardsApiService) PostDashboard added in v1.0.1

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 v1.0.1

func (a *DashboardsApiService) PostDashboardExecute(r ApiPostDashboardRequest) (*Dashboard, *http.Response, error)

Execute executes the request

@return Dashboard

func (*DashboardsApiService) PostDashboardWidget added in v1.0.1

func (a *DashboardsApiService) PostDashboardWidget(ctx context.Context, dashboardId int32) ApiPostDashboardWidgetRequest

PostDashboardWidget Adds widget to dashboard

Create a new widget an ad 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 (*DashboardsApiService) PostDashboardWidgetExecute added in v1.0.1

func (a *DashboardsApiService) PostDashboardWidgetExecute(r ApiPostDashboardWidgetRequest) (*http.Response, error)

Execute executes the request

func (*DashboardsApiService) PutWidgetType added in v1.0.1

PutWidgetType Create or update a widget type

Create a widget type if the a type with the name not exists or update a widget type if the name already exists

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPutWidgetTypeRequest

func (*DashboardsApiService) PutWidgetTypeExecute added in v1.0.1

func (a *DashboardsApiService) PutWidgetTypeExecute(r ApiPutWidgetTypeRequest) (*http.Response, error)

Execute executes the request

type Data added in v1.2.0

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"`
}

Data Data for assets

func NewData added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *Data) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*Data) GetAssetIdOk added in v1.2.0

func (o *Data) GetAssetIdOk() (*int32, bool)

GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.

func (*Data) GetAssetTypeName added in v1.2.3

func (o *Data) GetAssetTypeName() string

GetAssetTypeName returns the AssetTypeName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Data) GetAssetTypeNameOk added in v1.2.3

func (o *Data) 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 (*Data) GetData added in v1.2.0

func (o *Data) GetData() map[string]interface{}

GetData returns the Data field value

func (*Data) GetDataOk added in v1.2.0

func (o *Data) 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 (*Data) GetSubtype added in v1.2.0

func (o *Data) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*Data) GetSubtypeOk added in v1.2.0

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 added in v1.2.0

func (o *Data) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Data) GetTimestampOk added in v1.2.0

func (o *Data) 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 (*Data) HasAssetTypeName added in v1.2.3

func (o *Data) HasAssetTypeName() bool

HasAssetTypeName returns a boolean if a field has been set.

func (*Data) HasTimestamp added in v1.2.0

func (o *Data) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (Data) MarshalJSON added in v1.2.0

func (o Data) MarshalJSON() ([]byte, error)

func (*Data) SetAssetId added in v1.2.0

func (o *Data) SetAssetId(v int32)

SetAssetId sets field value

func (*Data) SetAssetTypeName added in v1.2.3

func (o *Data) SetAssetTypeName(v string)

SetAssetTypeName gets a reference to the given NullableString and assigns it to the AssetTypeName field.

func (*Data) SetAssetTypeNameNil added in v1.2.3

func (o *Data) SetAssetTypeNameNil()

SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil

func (*Data) SetData added in v1.2.0

func (o *Data) SetData(v map[string]interface{})

SetData sets field value

func (*Data) SetSubtype added in v1.2.0

func (o *Data) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*Data) SetTimestamp added in v1.2.0

func (o *Data) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given NullableTime and assigns it to the Timestamp field.

func (*Data) SetTimestampNil added in v1.2.0

func (o *Data) SetTimestampNil()

SetTimestampNil sets the value for Timestamp to be an explicit nil

func (*Data) UnsetAssetTypeName added in v1.2.3

func (o *Data) UnsetAssetTypeName()

UnsetAssetTypeName ensures that no value is present for AssetTypeName, not even an explicit nil

func (*Data) UnsetTimestamp added in v1.2.0

func (o *Data) UnsetTimestamp()

UnsetTimestamp ensures that no value is present for Timestamp, not even an explicit nil

type DataAggregated added in v1.2.3

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
	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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

func (o *DataAggregated) GetAggregationId() int32

GetAggregationId returns the AggregationId field value if set, zero value otherwise.

func (*DataAggregated) GetAggregationIdOk added in v1.2.3

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 added in v1.2.3

func (o *DataAggregated) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*DataAggregated) GetAssetIdOk added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

func (o *DataAggregated) GetAttribute() string

GetAttribute returns the Attribute field value if set, zero value otherwise.

func (*DataAggregated) GetAttributeOk added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

func (o *DataAggregated) GetRaster() string

GetRaster returns the Raster field value

func (*DataAggregated) GetRasterOk added in v1.2.3

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 added in v1.2.3

func (o *DataAggregated) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*DataAggregated) GetSubtypeOk added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

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 added in v1.2.3

func (o *DataAggregated) HasAggregationId() bool

HasAggregationId returns a boolean if a field has been set.

func (*DataAggregated) HasAssetTypeName added in v1.2.3

func (o *DataAggregated) HasAssetTypeName() bool

HasAssetTypeName returns a boolean if a field has been set.

func (*DataAggregated) HasAttribute added in v1.2.3

func (o *DataAggregated) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*DataAggregated) HasAverage added in v1.2.3

func (o *DataAggregated) HasAverage() bool

HasAverage returns a boolean if a field has been set.

func (*DataAggregated) HasCount added in v1.2.3

func (o *DataAggregated) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*DataAggregated) HasFirst added in v1.2.3

func (o *DataAggregated) HasFirst() bool

HasFirst returns a boolean if a field has been set.

func (*DataAggregated) HasLast added in v1.2.3

func (o *DataAggregated) HasLast() bool

HasLast returns a boolean if a field has been set.

func (*DataAggregated) HasLastTimestamp added in v1.2.3

func (o *DataAggregated) HasLastTimestamp() bool

HasLastTimestamp returns a boolean if a field has been set.

func (*DataAggregated) HasMax added in v1.2.3

func (o *DataAggregated) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*DataAggregated) HasMin added in v1.2.3

func (o *DataAggregated) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*DataAggregated) HasSum added in v1.2.3

func (o *DataAggregated) HasSum() bool

HasSum returns a boolean if a field has been set.

func (*DataAggregated) HasTimestamp added in v1.2.3

func (o *DataAggregated) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (DataAggregated) MarshalJSON added in v1.2.3

func (o DataAggregated) MarshalJSON() ([]byte, error)

func (*DataAggregated) SetAggregationId added in v1.2.3

func (o *DataAggregated) SetAggregationId(v int32)

SetAggregationId gets a reference to the given int32 and assigns it to the AggregationId field.

func (*DataAggregated) SetAssetId added in v1.2.3

func (o *DataAggregated) SetAssetId(v int32)

SetAssetId sets field value

func (*DataAggregated) SetAssetTypeName added in v1.2.3

func (o *DataAggregated) SetAssetTypeName(v string)

SetAssetTypeName gets a reference to the given NullableString and assigns it to the AssetTypeName field.

func (*DataAggregated) SetAssetTypeNameNil added in v1.2.3

func (o *DataAggregated) SetAssetTypeNameNil()

SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil

func (*DataAggregated) SetAttribute added in v1.2.3

func (o *DataAggregated) SetAttribute(v string)

SetAttribute gets a reference to the given string and assigns it to the Attribute field.

func (*DataAggregated) SetAverage added in v1.2.3

func (o *DataAggregated) SetAverage(v float64)

SetAverage gets a reference to the given NullableFloat64 and assigns it to the Average field.

func (*DataAggregated) SetAverageNil added in v1.2.3

func (o *DataAggregated) SetAverageNil()

SetAverageNil sets the value for Average to be an explicit nil

func (*DataAggregated) SetCount added in v1.2.3

func (o *DataAggregated) SetCount(v float64)

SetCount gets a reference to the given NullableFloat64 and assigns it to the Count field.

func (*DataAggregated) SetCountNil added in v1.2.3

func (o *DataAggregated) SetCountNil()

SetCountNil sets the value for Count to be an explicit nil

func (*DataAggregated) SetFirst added in v1.2.3

func (o *DataAggregated) SetFirst(v float64)

SetFirst gets a reference to the given NullableFloat64 and assigns it to the First field.

func (*DataAggregated) SetFirstNil added in v1.2.3

func (o *DataAggregated) SetFirstNil()

SetFirstNil sets the value for First to be an explicit nil

func (*DataAggregated) SetLast added in v1.2.3

func (o *DataAggregated) SetLast(v float64)

SetLast gets a reference to the given NullableFloat64 and assigns it to the Last field.

func (*DataAggregated) SetLastNil added in v1.2.3

func (o *DataAggregated) SetLastNil()

SetLastNil sets the value for Last to be an explicit nil

func (*DataAggregated) SetLastTimestamp added in v1.2.3

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 added in v1.2.3

func (o *DataAggregated) SetLastTimestampNil()

SetLastTimestampNil sets the value for LastTimestamp to be an explicit nil

func (*DataAggregated) SetMax added in v1.2.3

func (o *DataAggregated) SetMax(v float64)

SetMax gets a reference to the given NullableFloat64 and assigns it to the Max field.

func (*DataAggregated) SetMaxNil added in v1.2.3

func (o *DataAggregated) SetMaxNil()

SetMaxNil sets the value for Max to be an explicit nil

func (*DataAggregated) SetMin added in v1.2.3

func (o *DataAggregated) SetMin(v float64)

SetMin gets a reference to the given NullableFloat64 and assigns it to the Min field.

func (*DataAggregated) SetMinNil added in v1.2.3

func (o *DataAggregated) SetMinNil()

SetMinNil sets the value for Min to be an explicit nil

func (*DataAggregated) SetRaster added in v1.2.3

func (o *DataAggregated) SetRaster(v string)

SetRaster sets field value

func (*DataAggregated) SetSubtype added in v1.2.3

func (o *DataAggregated) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*DataAggregated) SetSum added in v1.2.3

func (o *DataAggregated) SetSum(v float64)

SetSum gets a reference to the given NullableFloat64 and assigns it to the Sum field.

func (*DataAggregated) SetSumNil added in v1.2.3

func (o *DataAggregated) SetSumNil()

SetSumNil sets the value for Sum to be an explicit nil

func (*DataAggregated) SetTimestamp added in v1.2.3

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 added in v1.2.3

func (o *DataAggregated) SetTimestampNil()

SetTimestampNil sets the value for Timestamp to be an explicit nil

func (*DataAggregated) UnsetAssetTypeName added in v1.2.3

func (o *DataAggregated) UnsetAssetTypeName()

UnsetAssetTypeName ensures that no value is present for AssetTypeName, not even an explicit nil

func (*DataAggregated) UnsetAverage added in v1.2.3

func (o *DataAggregated) UnsetAverage()

UnsetAverage ensures that no value is present for Average, not even an explicit nil

func (*DataAggregated) UnsetCount added in v1.2.3

func (o *DataAggregated) UnsetCount()

UnsetCount ensures that no value is present for Count, not even an explicit nil

func (*DataAggregated) UnsetFirst added in v1.2.3

func (o *DataAggregated) UnsetFirst()

UnsetFirst ensures that no value is present for First, not even an explicit nil

func (*DataAggregated) UnsetLast added in v1.2.3

func (o *DataAggregated) UnsetLast()

UnsetLast ensures that no value is present for Last, not even an explicit nil

func (*DataAggregated) UnsetLastTimestamp added in v1.2.3

func (o *DataAggregated) UnsetLastTimestamp()

UnsetLastTimestamp ensures that no value is present for LastTimestamp, not even an explicit nil

func (*DataAggregated) UnsetMax added in v1.2.3

func (o *DataAggregated) UnsetMax()

UnsetMax ensures that no value is present for Max, not even an explicit nil

func (*DataAggregated) UnsetMin added in v1.2.3

func (o *DataAggregated) UnsetMin()

UnsetMin ensures that no value is present for Min, not even an explicit nil

func (*DataAggregated) UnsetSum added in v1.2.3

func (o *DataAggregated) UnsetSum()

UnsetSum ensures that no value is present for Sum, not even an explicit nil

func (*DataAggregated) UnsetTimestamp added in v1.2.3

func (o *DataAggregated) UnsetTimestamp()

UnsetTimestamp ensures that no value is present for Timestamp, not even an explicit nil

type DataApiService added in v1.2.0

type DataApiService service

DataApiService DataApi service

func (*DataApiService) GetData added in v1.2.2

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 v1.2.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 v1.2.3

func (a *DataApiService) GetDataAggregatedExecute(r ApiGetDataAggregatedRequest) ([]DataAggregated, *http.Response, error)

Execute executes the request

@return []DataAggregated

func (*DataApiService) GetDataExecute added in v1.2.2

func (a *DataApiService) GetDataExecute(r ApiGetDataRequest) ([]Data, *http.Response, error)

Execute executes the request

@return []Data

func (*DataApiService) GetDataTrends added in v1.2.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 v1.2.3

func (a *DataApiService) GetDataTrendsExecute(r ApiGetDataTrendsRequest) ([]Data, *http.Response, error)

Execute executes the request

@return []Data

func (*DataApiService) ListenData added in v1.2.2

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 v1.2.2

func (a *DataApiService) ListenDataExecute(r ApiListenDataRequest) (*Data, *http.Response, error)

Execute executes the request

@return Data

func (*DataApiService) PutData added in v1.2.0

PutData Create or update asset data

Create new asset data or update data if already exists.

@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 v1.2.0

func (a *DataApiService) PutDataExecute(r ApiPutDataRequest) (*http.Response, error)

Execute executes the request

type DataSubtype added in v1.2.0

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"
)

List of DataSubtype

func NewDataSubtypeFromValue added in v1.2.0

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 added in v1.2.0

func (v DataSubtype) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DataSubtype) Ptr added in v1.2.0

func (v DataSubtype) Ptr() *DataSubtype

Ptr returns reference to DataSubtype value

func (*DataSubtype) UnmarshalJSON added in v1.2.0

func (v *DataSubtype) UnmarshalJSON(src []byte) error

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *IosysAgentDevice) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*IosysAgentDevice) GetEnableOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *IosysAgentDevice) HasAgentId() bool

HasAgentId returns a boolean if a field has been set.

func (*IosysAgentDevice) HasCertificate added in v1.2.0

func (o *IosysAgentDevice) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*IosysAgentDevice) HasClass added in v1.2.0

func (o *IosysAgentDevice) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*IosysAgentDevice) HasEnable added in v1.2.0

func (o *IosysAgentDevice) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*IosysAgentDevice) HasId added in v1.2.0

func (o *IosysAgentDevice) HasId() bool

HasId returns a boolean if a field has been set.

func (*IosysAgentDevice) HasKey added in v1.2.0

func (o *IosysAgentDevice) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*IosysAgentDevice) HasPort added in v1.2.0

func (o *IosysAgentDevice) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*IosysAgentDevice) HasReconnect added in v1.2.0

func (o *IosysAgentDevice) HasReconnect() bool

HasReconnect returns a boolean if a field has been set.

func (*IosysAgentDevice) HasTimeout added in v1.2.0

func (o *IosysAgentDevice) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (IosysAgentDevice) MarshalJSON added in v1.2.0

func (o IosysAgentDevice) MarshalJSON() ([]byte, error)

func (*IosysAgentDevice) SetAgentId added in v1.2.0

func (o *IosysAgentDevice) SetAgentId(v int32)

SetAgentId gets a reference to the given NullableInt32 and assigns it to the AgentId field.

func (*IosysAgentDevice) SetAgentIdNil added in v1.2.0

func (o *IosysAgentDevice) SetAgentIdNil()

SetAgentIdNil sets the value for AgentId to be an explicit nil

func (*IosysAgentDevice) SetCertificate added in v1.2.0

func (o *IosysAgentDevice) SetCertificate(v string)

SetCertificate gets a reference to the given NullableString and assigns it to the Certificate field.

func (*IosysAgentDevice) SetCertificateNil added in v1.2.0

func (o *IosysAgentDevice) SetCertificateNil()

SetCertificateNil sets the value for Certificate to be an explicit nil

func (*IosysAgentDevice) SetClass added in v1.2.0

func (o *IosysAgentDevice) SetClass(v AgentClass)

SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.

func (*IosysAgentDevice) SetClassNil added in v1.2.0

func (o *IosysAgentDevice) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*IosysAgentDevice) SetEnable added in v1.2.0

func (o *IosysAgentDevice) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*IosysAgentDevice) SetId added in v1.2.0

func (o *IosysAgentDevice) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*IosysAgentDevice) SetIdNil added in v1.2.0

func (o *IosysAgentDevice) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*IosysAgentDevice) SetKey added in v1.2.0

func (o *IosysAgentDevice) SetKey(v string)

SetKey gets a reference to the given NullableString and assigns it to the Key field.

func (*IosysAgentDevice) SetKeyNil added in v1.2.0

func (o *IosysAgentDevice) SetKeyNil()

SetKeyNil sets the value for Key to be an explicit nil

func (*IosysAgentDevice) SetPort added in v1.2.0

func (o *IosysAgentDevice) SetPort(v int32)

SetPort gets a reference to the given NullableInt32 and assigns it to the Port field.

func (*IosysAgentDevice) SetPortNil added in v1.2.0

func (o *IosysAgentDevice) SetPortNil()

SetPortNil sets the value for Port to be an explicit nil

func (*IosysAgentDevice) SetReconnect added in v1.2.0

func (o *IosysAgentDevice) SetReconnect(v int32)

SetReconnect gets a reference to the given NullableInt32 and assigns it to the Reconnect field.

func (*IosysAgentDevice) SetReconnectNil added in v1.2.0

func (o *IosysAgentDevice) SetReconnectNil()

SetReconnectNil sets the value for Reconnect to be an explicit nil

func (*IosysAgentDevice) SetTimeout added in v1.2.0

func (o *IosysAgentDevice) SetTimeout(v int32)

SetTimeout gets a reference to the given NullableInt32 and assigns it to the Timeout field.

func (*IosysAgentDevice) SetTimeoutNil added in v1.2.0

func (o *IosysAgentDevice) SetTimeoutNil()

SetTimeoutNil sets the value for Timeout to be an explicit nil

func (*IosysAgentDevice) UnsetAgentId added in v1.2.0

func (o *IosysAgentDevice) UnsetAgentId()

UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil

func (*IosysAgentDevice) UnsetCertificate added in v1.2.0

func (o *IosysAgentDevice) UnsetCertificate()

UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil

func (*IosysAgentDevice) UnsetClass added in v1.2.0

func (o *IosysAgentDevice) UnsetClass()

UnsetClass ensures that no value is present for Class, not even an explicit nil

func (*IosysAgentDevice) UnsetId added in v1.2.0

func (o *IosysAgentDevice) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*IosysAgentDevice) UnsetKey added in v1.2.0

func (o *IosysAgentDevice) UnsetKey()

UnsetKey ensures that no value is present for Key, not even an explicit nil

func (*IosysAgentDevice) UnsetPort added in v1.2.0

func (o *IosysAgentDevice) UnsetPort()

UnsetPort ensures that no value is present for Port, not even an explicit nil

func (*IosysAgentDevice) UnsetReconnect added in v1.2.0

func (o *IosysAgentDevice) UnsetReconnect()

UnsetReconnect ensures that no value is present for Reconnect, not even an explicit nil

func (*IosysAgentDevice) UnsetTimeout added in v1.2.0

func (o *IosysAgentDevice) UnsetTimeout()

UnsetTimeout ensures that no value is present for Timeout, not even an explicit nil

type IosysAgentDeviceMapping added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *IosysAgentDeviceMapping) GetAttribute() string

GetAttribute returns the Attribute field value

func (*IosysAgentDeviceMapping) GetAttributeOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *IosysAgentDeviceMapping) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*IosysAgentDeviceMapping) GetEnableOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *IosysAgentDeviceMapping) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*IosysAgentDeviceMapping) GetSubtypeOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *IosysAgentDeviceMapping) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasClass added in v1.2.0

func (o *IosysAgentDeviceMapping) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasDeadBand added in v1.2.0

func (o *IosysAgentDeviceMapping) HasDeadBand() bool

HasDeadBand returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasDeadTime added in v1.2.0

func (o *IosysAgentDeviceMapping) HasDeadTime() bool

HasDeadTime returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasDeviceId added in v1.2.0

func (o *IosysAgentDeviceMapping) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasDown added in v1.2.0

func (o *IosysAgentDeviceMapping) HasDown() bool

HasDown returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasEnable added in v1.2.0

func (o *IosysAgentDeviceMapping) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasFilter added in v1.2.0

func (o *IosysAgentDeviceMapping) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasId added in v1.2.0

func (o *IosysAgentDeviceMapping) HasId() bool

HasId returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasIosType added in v1.2.0

func (o *IosysAgentDeviceMapping) HasIosType() bool

HasIosType returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasIosVar added in v1.2.0

func (o *IosysAgentDeviceMapping) HasIosVar() bool

HasIosVar returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasMask added in v1.2.0

func (o *IosysAgentDeviceMapping) HasMask() bool

HasMask returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasMaskAttributes added in v1.2.0

func (o *IosysAgentDeviceMapping) HasMaskAttributes() bool

HasMaskAttributes returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasScale added in v1.2.0

func (o *IosysAgentDeviceMapping) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasTau added in v1.2.0

func (o *IosysAgentDeviceMapping) HasTau() bool

HasTau returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasZero added in v1.2.0

func (o *IosysAgentDeviceMapping) HasZero() bool

HasZero returns a boolean if a field has been set.

func (IosysAgentDeviceMapping) MarshalJSON added in v1.2.0

func (o IosysAgentDeviceMapping) MarshalJSON() ([]byte, error)

func (*IosysAgentDeviceMapping) SetAssetId added in v1.2.0

func (o *IosysAgentDeviceMapping) SetAssetId(v int32)

SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.

func (*IosysAgentDeviceMapping) SetAssetIdNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*IosysAgentDeviceMapping) SetAttribute added in v1.2.0

func (o *IosysAgentDeviceMapping) SetAttribute(v string)

SetAttribute sets field value

func (*IosysAgentDeviceMapping) SetClass added in v1.2.0

func (o *IosysAgentDeviceMapping) SetClass(v AgentClass)

SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.

func (*IosysAgentDeviceMapping) SetClassNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*IosysAgentDeviceMapping) SetDeadBand added in v1.2.0

func (o *IosysAgentDeviceMapping) SetDeadBand(v float64)

SetDeadBand gets a reference to the given NullableFloat64 and assigns it to the DeadBand field.

func (*IosysAgentDeviceMapping) SetDeadBandNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetDeadBandNil()

SetDeadBandNil sets the value for DeadBand to be an explicit nil

func (*IosysAgentDeviceMapping) SetDeadTime added in v1.2.0

func (o *IosysAgentDeviceMapping) SetDeadTime(v int32)

SetDeadTime gets a reference to the given NullableInt32 and assigns it to the DeadTime field.

func (*IosysAgentDeviceMapping) SetDeadTimeNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetDeadTimeNil()

SetDeadTimeNil sets the value for DeadTime to be an explicit nil

func (*IosysAgentDeviceMapping) SetDeviceId added in v1.2.0

func (o *IosysAgentDeviceMapping) SetDeviceId(v int32)

SetDeviceId gets a reference to the given NullableInt32 and assigns it to the DeviceId field.

func (*IosysAgentDeviceMapping) SetDeviceIdNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetDeviceIdNil()

SetDeviceIdNil sets the value for DeviceId to be an explicit nil

func (*IosysAgentDeviceMapping) SetDown added in v1.2.0

func (o *IosysAgentDeviceMapping) SetDown(v bool)

SetDown gets a reference to the given NullableBool and assigns it to the Down field.

func (*IosysAgentDeviceMapping) SetDownNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetDownNil()

SetDownNil sets the value for Down to be an explicit nil

func (*IosysAgentDeviceMapping) SetEnable added in v1.2.0

func (o *IosysAgentDeviceMapping) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*IosysAgentDeviceMapping) SetFilter added in v1.2.0

func (o *IosysAgentDeviceMapping) SetFilter(v string)

SetFilter gets a reference to the given NullableString and assigns it to the Filter field.

func (*IosysAgentDeviceMapping) SetFilterNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetFilterNil()

SetFilterNil sets the value for Filter to be an explicit nil

func (*IosysAgentDeviceMapping) SetId added in v1.2.0

func (o *IosysAgentDeviceMapping) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*IosysAgentDeviceMapping) SetIdNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*IosysAgentDeviceMapping) SetIosType added in v1.2.0

func (o *IosysAgentDeviceMapping) SetIosType(v string)

SetIosType gets a reference to the given NullableString and assigns it to the IosType field.

func (*IosysAgentDeviceMapping) SetIosTypeNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetIosTypeNil()

SetIosTypeNil sets the value for IosType to be an explicit nil

func (*IosysAgentDeviceMapping) SetIosVar added in v1.2.0

func (o *IosysAgentDeviceMapping) SetIosVar(v string)

SetIosVar gets a reference to the given NullableString and assigns it to the IosVar field.

func (*IosysAgentDeviceMapping) SetIosVarNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetIosVarNil()

SetIosVarNil sets the value for IosVar to be an explicit nil

func (*IosysAgentDeviceMapping) SetMask added in v1.2.0

func (o *IosysAgentDeviceMapping) SetMask(v []int64)

SetMask gets a reference to the given []int64 and assigns it to the Mask field.

func (*IosysAgentDeviceMapping) SetMaskAttributes added in v1.2.0

func (o *IosysAgentDeviceMapping) SetMaskAttributes(v []string)

SetMaskAttributes gets a reference to the given []string and assigns it to the MaskAttributes field.

func (*IosysAgentDeviceMapping) SetScale added in v1.2.0

func (o *IosysAgentDeviceMapping) SetScale(v float64)

SetScale gets a reference to the given NullableFloat64 and assigns it to the Scale field.

func (*IosysAgentDeviceMapping) SetScaleNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetScaleNil()

SetScaleNil sets the value for Scale to be an explicit nil

func (*IosysAgentDeviceMapping) SetSubtype added in v1.2.0

func (o *IosysAgentDeviceMapping) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*IosysAgentDeviceMapping) SetTau added in v1.2.0

func (o *IosysAgentDeviceMapping) SetTau(v float64)

SetTau gets a reference to the given NullableFloat64 and assigns it to the Tau field.

func (*IosysAgentDeviceMapping) SetTauNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetTauNil()

SetTauNil sets the value for Tau to be an explicit nil

func (*IosysAgentDeviceMapping) SetZero added in v1.2.0

func (o *IosysAgentDeviceMapping) SetZero(v float64)

SetZero gets a reference to the given NullableFloat64 and assigns it to the Zero field.

func (*IosysAgentDeviceMapping) SetZeroNil added in v1.2.0

func (o *IosysAgentDeviceMapping) SetZeroNil()

SetZeroNil sets the value for Zero to be an explicit nil

func (*IosysAgentDeviceMapping) UnsetAssetId added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetClass added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetClass()

UnsetClass ensures that no value is present for Class, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetDeadBand added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetDeadBand()

UnsetDeadBand ensures that no value is present for DeadBand, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetDeadTime added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetDeadTime()

UnsetDeadTime ensures that no value is present for DeadTime, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetDeviceId added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetDeviceId()

UnsetDeviceId ensures that no value is present for DeviceId, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetDown added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetDown()

UnsetDown ensures that no value is present for Down, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetFilter added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetFilter()

UnsetFilter ensures that no value is present for Filter, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetId added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetIosType added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetIosType()

UnsetIosType ensures that no value is present for IosType, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetIosVar added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetIosVar()

UnsetIosVar ensures that no value is present for IosVar, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetScale added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetScale()

UnsetScale ensures that no value is present for Scale, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetTau added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetTau()

UnsetTau ensures that no value is present for Tau, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetZero added in v1.2.0

func (o *IosysAgentDeviceMapping) UnsetZero()

UnsetZero ensures that no value is present for Zero, not even an explicit nil

type IosysAgentDeviceMappingSpecific added in v1.2.0

type IosysAgentDeviceMappingSpecific struct {
	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"`
}

IosysAgentDeviceMappingSpecific Specific mapping for IOSYS agents

func NewIosysAgentDeviceMappingSpecific added in v1.2.0

func NewIosysAgentDeviceMappingSpecific() *IosysAgentDeviceMappingSpecific

NewIosysAgentDeviceMappingSpecific instantiates a new IosysAgentDeviceMappingSpecific 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 NewIosysAgentDeviceMappingSpecificWithDefaults added in v1.2.0

func NewIosysAgentDeviceMappingSpecificWithDefaults() *IosysAgentDeviceMappingSpecific

NewIosysAgentDeviceMappingSpecificWithDefaults instantiates a new IosysAgentDeviceMappingSpecific 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 (*IosysAgentDeviceMappingSpecific) GetDeadBand added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) GetDeadBand() float64

GetDeadBand returns the DeadBand field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetDeadBandOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetDeadTime added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) GetDeadTime() int32

GetDeadTime returns the DeadTime field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetDeadTimeOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetDown added in v1.2.0

GetDown returns the Down field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetDownOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetFilter added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) GetFilter() string

GetFilter returns the Filter field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetFilterOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetIosType added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) GetIosType() string

GetIosType returns the IosType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetIosTypeOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetIosVar added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) GetIosVar() string

GetIosVar returns the IosVar field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetIosVarOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetMask added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) GetMask() []int64

GetMask returns the Mask field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetMaskAttributes added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) GetMaskAttributes() []string

GetMaskAttributes returns the MaskAttributes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetMaskAttributesOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetMaskOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetScale added in v1.2.0

GetScale returns the Scale field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetScaleOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetTau added in v1.2.0

GetTau returns the Tau field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetTauOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) GetZero added in v1.2.0

GetZero returns the Zero field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceMappingSpecific) GetZeroOk added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) 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 (*IosysAgentDeviceMappingSpecific) HasDeadBand added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) HasDeadBand() bool

HasDeadBand returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasDeadTime added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) HasDeadTime() bool

HasDeadTime returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasDown added in v1.2.0

HasDown returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasFilter added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasIosType added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) HasIosType() bool

HasIosType returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasIosVar added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) HasIosVar() bool

HasIosVar returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasMask added in v1.2.0

HasMask returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasMaskAttributes added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) HasMaskAttributes() bool

HasMaskAttributes returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasScale added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasTau added in v1.2.0

HasTau returns a boolean if a field has been set.

func (*IosysAgentDeviceMappingSpecific) HasZero added in v1.2.0

HasZero returns a boolean if a field has been set.

func (IosysAgentDeviceMappingSpecific) MarshalJSON added in v1.2.0

func (o IosysAgentDeviceMappingSpecific) MarshalJSON() ([]byte, error)

func (*IosysAgentDeviceMappingSpecific) SetDeadBand added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetDeadBand(v float64)

SetDeadBand gets a reference to the given NullableFloat64 and assigns it to the DeadBand field.

func (*IosysAgentDeviceMappingSpecific) SetDeadBandNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetDeadBandNil()

SetDeadBandNil sets the value for DeadBand to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) SetDeadTime added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetDeadTime(v int32)

SetDeadTime gets a reference to the given NullableInt32 and assigns it to the DeadTime field.

func (*IosysAgentDeviceMappingSpecific) SetDeadTimeNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetDeadTimeNil()

SetDeadTimeNil sets the value for DeadTime to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) SetDown added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetDown(v bool)

SetDown gets a reference to the given NullableBool and assigns it to the Down field.

func (*IosysAgentDeviceMappingSpecific) SetDownNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetDownNil()

SetDownNil sets the value for Down to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) SetFilter added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetFilter(v string)

SetFilter gets a reference to the given NullableString and assigns it to the Filter field.

func (*IosysAgentDeviceMappingSpecific) SetFilterNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetFilterNil()

SetFilterNil sets the value for Filter to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) SetIosType added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetIosType(v string)

SetIosType gets a reference to the given NullableString and assigns it to the IosType field.

func (*IosysAgentDeviceMappingSpecific) SetIosTypeNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetIosTypeNil()

SetIosTypeNil sets the value for IosType to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) SetIosVar added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetIosVar(v string)

SetIosVar gets a reference to the given NullableString and assigns it to the IosVar field.

func (*IosysAgentDeviceMappingSpecific) SetIosVarNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetIosVarNil()

SetIosVarNil sets the value for IosVar to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) SetMask added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetMask(v []int64)

SetMask gets a reference to the given []int64 and assigns it to the Mask field.

func (*IosysAgentDeviceMappingSpecific) SetMaskAttributes added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetMaskAttributes(v []string)

SetMaskAttributes gets a reference to the given []string and assigns it to the MaskAttributes field.

func (*IosysAgentDeviceMappingSpecific) SetScale added in v1.2.0

SetScale gets a reference to the given NullableFloat64 and assigns it to the Scale field.

func (*IosysAgentDeviceMappingSpecific) SetScaleNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetScaleNil()

SetScaleNil sets the value for Scale to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) SetTau added in v1.2.0

SetTau gets a reference to the given NullableFloat64 and assigns it to the Tau field.

func (*IosysAgentDeviceMappingSpecific) SetTauNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetTauNil()

SetTauNil sets the value for Tau to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) SetZero added in v1.2.0

SetZero gets a reference to the given NullableFloat64 and assigns it to the Zero field.

func (*IosysAgentDeviceMappingSpecific) SetZeroNil added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) SetZeroNil()

SetZeroNil sets the value for Zero to be an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetDeadBand added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetDeadBand()

UnsetDeadBand ensures that no value is present for DeadBand, not even an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetDeadTime added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetDeadTime()

UnsetDeadTime ensures that no value is present for DeadTime, not even an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetDown added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetDown()

UnsetDown ensures that no value is present for Down, not even an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetFilter added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetFilter()

UnsetFilter ensures that no value is present for Filter, not even an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetIosType added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetIosType()

UnsetIosType ensures that no value is present for IosType, not even an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetIosVar added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetIosVar()

UnsetIosVar ensures that no value is present for IosVar, not even an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetScale added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetScale()

UnsetScale ensures that no value is present for Scale, not even an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetTau added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetTau()

UnsetTau ensures that no value is present for Tau, not even an explicit nil

func (*IosysAgentDeviceMappingSpecific) UnsetZero added in v1.2.0

func (o *IosysAgentDeviceMappingSpecific) UnsetZero()

UnsetZero ensures that no value is present for Zero, not even an explicit nil

type IosysAgentDeviceSpecific added in v1.2.0

type IosysAgentDeviceSpecific struct {
	// 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"`
}

IosysAgentDeviceSpecific Specific device for IOSYS agents

func NewIosysAgentDeviceSpecific added in v1.2.0

func NewIosysAgentDeviceSpecific() *IosysAgentDeviceSpecific

NewIosysAgentDeviceSpecific instantiates a new IosysAgentDeviceSpecific 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 NewIosysAgentDeviceSpecificWithDefaults added in v1.2.0

func NewIosysAgentDeviceSpecificWithDefaults() *IosysAgentDeviceSpecific

NewIosysAgentDeviceSpecificWithDefaults instantiates a new IosysAgentDeviceSpecific 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 (*IosysAgentDeviceSpecific) GetCertificate added in v1.2.0

func (o *IosysAgentDeviceSpecific) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceSpecific) GetCertificateOk added in v1.2.0

func (o *IosysAgentDeviceSpecific) 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 (*IosysAgentDeviceSpecific) GetKey added in v1.2.0

func (o *IosysAgentDeviceSpecific) GetKey() string

GetKey returns the Key field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceSpecific) GetKeyOk added in v1.2.0

func (o *IosysAgentDeviceSpecific) 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 (*IosysAgentDeviceSpecific) GetPort added in v1.2.0

func (o *IosysAgentDeviceSpecific) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceSpecific) GetPortOk added in v1.2.0

func (o *IosysAgentDeviceSpecific) 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 (*IosysAgentDeviceSpecific) GetReconnect added in v1.2.0

func (o *IosysAgentDeviceSpecific) GetReconnect() int32

GetReconnect returns the Reconnect field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceSpecific) GetReconnectOk added in v1.2.0

func (o *IosysAgentDeviceSpecific) 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 (*IosysAgentDeviceSpecific) GetTimeout added in v1.2.0

func (o *IosysAgentDeviceSpecific) GetTimeout() int32

GetTimeout returns the Timeout field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IosysAgentDeviceSpecific) GetTimeoutOk added in v1.2.0

func (o *IosysAgentDeviceSpecific) 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 (*IosysAgentDeviceSpecific) HasCertificate added in v1.2.0

func (o *IosysAgentDeviceSpecific) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*IosysAgentDeviceSpecific) HasKey added in v1.2.0

func (o *IosysAgentDeviceSpecific) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*IosysAgentDeviceSpecific) HasPort added in v1.2.0

func (o *IosysAgentDeviceSpecific) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*IosysAgentDeviceSpecific) HasReconnect added in v1.2.0

func (o *IosysAgentDeviceSpecific) HasReconnect() bool

HasReconnect returns a boolean if a field has been set.

func (*IosysAgentDeviceSpecific) HasTimeout added in v1.2.0

func (o *IosysAgentDeviceSpecific) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (IosysAgentDeviceSpecific) MarshalJSON added in v1.2.0

func (o IosysAgentDeviceSpecific) MarshalJSON() ([]byte, error)

func (*IosysAgentDeviceSpecific) SetCertificate added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetCertificate(v string)

SetCertificate gets a reference to the given NullableString and assigns it to the Certificate field.

func (*IosysAgentDeviceSpecific) SetCertificateNil added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetCertificateNil()

SetCertificateNil sets the value for Certificate to be an explicit nil

func (*IosysAgentDeviceSpecific) SetKey added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetKey(v string)

SetKey gets a reference to the given NullableString and assigns it to the Key field.

func (*IosysAgentDeviceSpecific) SetKeyNil added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetKeyNil()

SetKeyNil sets the value for Key to be an explicit nil

func (*IosysAgentDeviceSpecific) SetPort added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetPort(v int32)

SetPort gets a reference to the given NullableInt32 and assigns it to the Port field.

func (*IosysAgentDeviceSpecific) SetPortNil added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetPortNil()

SetPortNil sets the value for Port to be an explicit nil

func (*IosysAgentDeviceSpecific) SetReconnect added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetReconnect(v int32)

SetReconnect gets a reference to the given NullableInt32 and assigns it to the Reconnect field.

func (*IosysAgentDeviceSpecific) SetReconnectNil added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetReconnectNil()

SetReconnectNil sets the value for Reconnect to be an explicit nil

func (*IosysAgentDeviceSpecific) SetTimeout added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetTimeout(v int32)

SetTimeout gets a reference to the given NullableInt32 and assigns it to the Timeout field.

func (*IosysAgentDeviceSpecific) SetTimeoutNil added in v1.2.0

func (o *IosysAgentDeviceSpecific) SetTimeoutNil()

SetTimeoutNil sets the value for Timeout to be an explicit nil

func (*IosysAgentDeviceSpecific) UnsetCertificate added in v1.2.0

func (o *IosysAgentDeviceSpecific) UnsetCertificate()

UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil

func (*IosysAgentDeviceSpecific) UnsetKey added in v1.2.0

func (o *IosysAgentDeviceSpecific) UnsetKey()

UnsetKey ensures that no value is present for Key, not even an explicit nil

func (*IosysAgentDeviceSpecific) UnsetPort added in v1.2.0

func (o *IosysAgentDeviceSpecific) UnsetPort()

UnsetPort ensures that no value is present for Port, not even an explicit nil

func (*IosysAgentDeviceSpecific) UnsetReconnect added in v1.2.0

func (o *IosysAgentDeviceSpecific) UnsetReconnect()

UnsetReconnect ensures that no value is present for Reconnect, not even an explicit nil

func (*IosysAgentDeviceSpecific) UnsetTimeout added in v1.2.0

func (o *IosysAgentDeviceSpecific) UnsetTimeout()

UnsetTimeout ensures that no value is present for Timeout, not even an explicit nil

type MbusAgentDevice added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *MbusAgentDevice) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*MbusAgentDevice) GetEnableOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *MbusAgentDevice) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*MbusAgentDevice) HasAgentId added in v1.2.0

func (o *MbusAgentDevice) HasAgentId() bool

HasAgentId returns a boolean if a field has been set.

func (*MbusAgentDevice) HasAppResetSubcode added in v1.2.0

func (o *MbusAgentDevice) HasAppResetSubcode() bool

HasAppResetSubcode returns a boolean if a field has been set.

func (*MbusAgentDevice) HasClass added in v1.2.0

func (o *MbusAgentDevice) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*MbusAgentDevice) HasEnable added in v1.2.0

func (o *MbusAgentDevice) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*MbusAgentDevice) HasId added in v1.2.0

func (o *MbusAgentDevice) HasId() bool

HasId returns a boolean if a field has been set.

func (*MbusAgentDevice) HasManufacturer added in v1.2.0

func (o *MbusAgentDevice) HasManufacturer() bool

HasManufacturer returns a boolean if a field has been set.

func (*MbusAgentDevice) HasMaxFail added in v1.2.0

func (o *MbusAgentDevice) HasMaxFail() bool

HasMaxFail returns a boolean if a field has been set.

func (*MbusAgentDevice) HasMaxRetry added in v1.2.0

func (o *MbusAgentDevice) HasMaxRetry() bool

HasMaxRetry returns a boolean if a field has been set.

func (*MbusAgentDevice) HasModel added in v1.2.0

func (o *MbusAgentDevice) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*MbusAgentDevice) HasMultiFrames added in v1.2.0

func (o *MbusAgentDevice) HasMultiFrames() bool

HasMultiFrames returns a boolean if a field has been set.

func (*MbusAgentDevice) HasRaster added in v1.2.0

func (o *MbusAgentDevice) HasRaster() bool

HasRaster returns a boolean if a field has been set.

func (*MbusAgentDevice) HasSecAddress added in v1.2.0

func (o *MbusAgentDevice) HasSecAddress() bool

HasSecAddress returns a boolean if a field has been set.

func (*MbusAgentDevice) HasSendNke added in v1.2.0

func (o *MbusAgentDevice) HasSendNke() bool

HasSendNke returns a boolean if a field has been set.

func (MbusAgentDevice) MarshalJSON added in v1.2.0

func (o MbusAgentDevice) MarshalJSON() ([]byte, error)

func (*MbusAgentDevice) SetAddress added in v1.2.0

func (o *MbusAgentDevice) SetAddress(v int32)

SetAddress gets a reference to the given NullableInt32 and assigns it to the Address field.

func (*MbusAgentDevice) SetAddressNil added in v1.2.0

func (o *MbusAgentDevice) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*MbusAgentDevice) SetAgentId added in v1.2.0

func (o *MbusAgentDevice) SetAgentId(v int32)

SetAgentId gets a reference to the given NullableInt32 and assigns it to the AgentId field.

func (*MbusAgentDevice) SetAgentIdNil added in v1.2.0

func (o *MbusAgentDevice) SetAgentIdNil()

SetAgentIdNil sets the value for AgentId to be an explicit nil

func (*MbusAgentDevice) SetAppResetSubcode added in v1.2.0

func (o *MbusAgentDevice) SetAppResetSubcode(v int32)

SetAppResetSubcode gets a reference to the given NullableInt32 and assigns it to the AppResetSubcode field.

func (*MbusAgentDevice) SetAppResetSubcodeNil added in v1.2.0

func (o *MbusAgentDevice) SetAppResetSubcodeNil()

SetAppResetSubcodeNil sets the value for AppResetSubcode to be an explicit nil

func (*MbusAgentDevice) SetClass added in v1.2.0

func (o *MbusAgentDevice) SetClass(v AgentClass)

SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.

func (*MbusAgentDevice) SetClassNil added in v1.2.0

func (o *MbusAgentDevice) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*MbusAgentDevice) SetEnable added in v1.2.0

func (o *MbusAgentDevice) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*MbusAgentDevice) SetId added in v1.2.0

func (o *MbusAgentDevice) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*MbusAgentDevice) SetIdNil added in v1.2.0

func (o *MbusAgentDevice) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*MbusAgentDevice) SetManufacturer added in v1.2.0

func (o *MbusAgentDevice) SetManufacturer(v string)

SetManufacturer gets a reference to the given NullableString and assigns it to the Manufacturer field.

func (*MbusAgentDevice) SetManufacturerNil added in v1.2.0

func (o *MbusAgentDevice) SetManufacturerNil()

SetManufacturerNil sets the value for Manufacturer to be an explicit nil

func (*MbusAgentDevice) SetMaxFail added in v1.2.0

func (o *MbusAgentDevice) SetMaxFail(v int32)

SetMaxFail gets a reference to the given NullableInt32 and assigns it to the MaxFail field.

func (*MbusAgentDevice) SetMaxFailNil added in v1.2.0

func (o *MbusAgentDevice) SetMaxFailNil()

SetMaxFailNil sets the value for MaxFail to be an explicit nil

func (*MbusAgentDevice) SetMaxRetry added in v1.2.0

func (o *MbusAgentDevice) SetMaxRetry(v int32)

SetMaxRetry gets a reference to the given NullableInt32 and assigns it to the MaxRetry field.

func (*MbusAgentDevice) SetMaxRetryNil added in v1.2.0

func (o *MbusAgentDevice) SetMaxRetryNil()

SetMaxRetryNil sets the value for MaxRetry to be an explicit nil

func (*MbusAgentDevice) SetModel added in v1.2.0

func (o *MbusAgentDevice) SetModel(v string)

SetModel gets a reference to the given NullableString and assigns it to the Model field.

func (*MbusAgentDevice) SetModelNil added in v1.2.0

func (o *MbusAgentDevice) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*MbusAgentDevice) SetMultiFrames added in v1.2.0

func (o *MbusAgentDevice) SetMultiFrames(v int32)

SetMultiFrames gets a reference to the given NullableInt32 and assigns it to the MultiFrames field.

func (*MbusAgentDevice) SetMultiFramesNil added in v1.2.0

func (o *MbusAgentDevice) SetMultiFramesNil()

SetMultiFramesNil sets the value for MultiFrames to be an explicit nil

func (*MbusAgentDevice) SetRaster added in v1.2.0

func (o *MbusAgentDevice) SetRaster(v string)

SetRaster gets a reference to the given NullableString and assigns it to the Raster field.

func (*MbusAgentDevice) SetRasterNil added in v1.2.0

func (o *MbusAgentDevice) SetRasterNil()

SetRasterNil sets the value for Raster to be an explicit nil

func (*MbusAgentDevice) SetSecAddress added in v1.2.0

func (o *MbusAgentDevice) SetSecAddress(v string)

SetSecAddress gets a reference to the given NullableString and assigns it to the SecAddress field.

func (*MbusAgentDevice) SetSecAddressNil added in v1.2.0

func (o *MbusAgentDevice) SetSecAddressNil()

SetSecAddressNil sets the value for SecAddress to be an explicit nil

func (*MbusAgentDevice) SetSendNke added in v1.2.0

func (o *MbusAgentDevice) SetSendNke(v bool)

SetSendNke gets a reference to the given NullableBool and assigns it to the SendNke field.

func (*MbusAgentDevice) SetSendNkeNil added in v1.2.0

func (o *MbusAgentDevice) SetSendNkeNil()

SetSendNkeNil sets the value for SendNke to be an explicit nil

func (*MbusAgentDevice) UnsetAddress added in v1.2.0

func (o *MbusAgentDevice) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*MbusAgentDevice) UnsetAgentId added in v1.2.0

func (o *MbusAgentDevice) UnsetAgentId()

UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil

func (*MbusAgentDevice) UnsetAppResetSubcode added in v1.2.0

func (o *MbusAgentDevice) UnsetAppResetSubcode()

UnsetAppResetSubcode ensures that no value is present for AppResetSubcode, not even an explicit nil

func (*MbusAgentDevice) UnsetClass added in v1.2.0

func (o *MbusAgentDevice) UnsetClass()

UnsetClass ensures that no value is present for Class, not even an explicit nil

func (*MbusAgentDevice) UnsetId added in v1.2.0

func (o *MbusAgentDevice) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*MbusAgentDevice) UnsetManufacturer added in v1.2.0

func (o *MbusAgentDevice) UnsetManufacturer()

UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil

func (*MbusAgentDevice) UnsetMaxFail added in v1.2.0

func (o *MbusAgentDevice) UnsetMaxFail()

UnsetMaxFail ensures that no value is present for MaxFail, not even an explicit nil

func (*MbusAgentDevice) UnsetMaxRetry added in v1.2.0

func (o *MbusAgentDevice) UnsetMaxRetry()

UnsetMaxRetry ensures that no value is present for MaxRetry, not even an explicit nil

func (*MbusAgentDevice) UnsetModel added in v1.2.0

func (o *MbusAgentDevice) UnsetModel()

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

func (*MbusAgentDevice) UnsetMultiFrames added in v1.2.0

func (o *MbusAgentDevice) UnsetMultiFrames()

UnsetMultiFrames ensures that no value is present for MultiFrames, not even an explicit nil

func (*MbusAgentDevice) UnsetRaster added in v1.2.0

func (o *MbusAgentDevice) UnsetRaster()

UnsetRaster ensures that no value is present for Raster, not even an explicit nil

func (*MbusAgentDevice) UnsetSecAddress added in v1.2.0

func (o *MbusAgentDevice) UnsetSecAddress()

UnsetSecAddress ensures that no value is present for SecAddress, not even an explicit nil

func (*MbusAgentDevice) UnsetSendNke added in v1.2.0

func (o *MbusAgentDevice) UnsetSendNke()

UnsetSendNke ensures that no value is present for SendNke, not even an explicit nil

type MbusAgentDeviceMapping added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *MbusAgentDeviceMapping) GetAttribute() string

GetAttribute returns the Attribute field value

func (*MbusAgentDeviceMapping) GetAttributeOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *MbusAgentDeviceMapping) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*MbusAgentDeviceMapping) GetEnableOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *MbusAgentDeviceMapping) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*MbusAgentDeviceMapping) GetSubtypeOk added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *MbusAgentDeviceMapping) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasClass added in v1.2.0

func (o *MbusAgentDeviceMapping) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasDeviceId added in v1.2.0

func (o *MbusAgentDeviceMapping) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasEnable added in v1.2.0

func (o *MbusAgentDeviceMapping) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasField added in v1.2.0

func (o *MbusAgentDeviceMapping) HasField() bool

HasField returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasId added in v1.2.0

func (o *MbusAgentDeviceMapping) HasId() bool

HasId returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasScale added in v1.2.0

func (o *MbusAgentDeviceMapping) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasZero added in v1.2.0

func (o *MbusAgentDeviceMapping) HasZero() bool

HasZero returns a boolean if a field has been set.

func (MbusAgentDeviceMapping) MarshalJSON added in v1.2.0

func (o MbusAgentDeviceMapping) MarshalJSON() ([]byte, error)

func (*MbusAgentDeviceMapping) SetAssetId added in v1.2.0

func (o *MbusAgentDeviceMapping) SetAssetId(v int32)

SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.

func (*MbusAgentDeviceMapping) SetAssetIdNil added in v1.2.0

func (o *MbusAgentDeviceMapping) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*MbusAgentDeviceMapping) SetAttribute added in v1.2.0

func (o *MbusAgentDeviceMapping) SetAttribute(v string)

SetAttribute sets field value

func (*MbusAgentDeviceMapping) SetClass added in v1.2.0

func (o *MbusAgentDeviceMapping) SetClass(v AgentClass)

SetClass gets a reference to the given NullableAgentClass and assigns it to the Class field.

func (*MbusAgentDeviceMapping) SetClassNil added in v1.2.0

func (o *MbusAgentDeviceMapping) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*MbusAgentDeviceMapping) SetDeviceId added in v1.2.0

func (o *MbusAgentDeviceMapping) SetDeviceId(v int32)

SetDeviceId gets a reference to the given NullableInt32 and assigns it to the DeviceId field.

func (*MbusAgentDeviceMapping) SetDeviceIdNil added in v1.2.0

func (o *MbusAgentDeviceMapping) SetDeviceIdNil()

SetDeviceIdNil sets the value for DeviceId to be an explicit nil

func (*MbusAgentDeviceMapping) SetEnable added in v1.2.0

func (o *MbusAgentDeviceMapping) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*MbusAgentDeviceMapping) SetField added in v1.2.0

func (o *MbusAgentDeviceMapping) SetField(v int32)

SetField gets a reference to the given NullableInt32 and assigns it to the Field field.

func (*MbusAgentDeviceMapping) SetFieldNil added in v1.2.0

func (o *MbusAgentDeviceMapping) SetFieldNil()

SetFieldNil sets the value for Field to be an explicit nil

func (*MbusAgentDeviceMapping) SetId added in v1.2.0

func (o *MbusAgentDeviceMapping) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*MbusAgentDeviceMapping) SetIdNil added in v1.2.0

func (o *MbusAgentDeviceMapping) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*MbusAgentDeviceMapping) SetScale added in v1.2.0

func (o *MbusAgentDeviceMapping) SetScale(v float64)

SetScale gets a reference to the given NullableFloat64 and assigns it to the Scale field.

func (*MbusAgentDeviceMapping) SetScaleNil added in v1.2.0

func (o *MbusAgentDeviceMapping) SetScaleNil()

SetScaleNil sets the value for Scale to be an explicit nil

func (*MbusAgentDeviceMapping) SetSubtype added in v1.2.0

func (o *MbusAgentDeviceMapping) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*MbusAgentDeviceMapping) SetZero added in v1.2.0

func (o *MbusAgentDeviceMapping) SetZero(v float64)

SetZero gets a reference to the given NullableFloat64 and assigns it to the Zero field.

func (*MbusAgentDeviceMapping) SetZeroNil added in v1.2.0

func (o *MbusAgentDeviceMapping) SetZeroNil()

SetZeroNil sets the value for Zero to be an explicit nil

func (*MbusAgentDeviceMapping) UnsetAssetId added in v1.2.0

func (o *MbusAgentDeviceMapping) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*MbusAgentDeviceMapping) UnsetClass added in v1.2.0

func (o *MbusAgentDeviceMapping) UnsetClass()

UnsetClass ensures that no value is present for Class, not even an explicit nil

func (*MbusAgentDeviceMapping) UnsetDeviceId added in v1.2.0

func (o *MbusAgentDeviceMapping) UnsetDeviceId()

UnsetDeviceId ensures that no value is present for DeviceId, not even an explicit nil

func (*MbusAgentDeviceMapping) UnsetField added in v1.2.0

func (o *MbusAgentDeviceMapping) UnsetField()

UnsetField ensures that no value is present for Field, not even an explicit nil

func (*MbusAgentDeviceMapping) UnsetId added in v1.2.0

func (o *MbusAgentDeviceMapping) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*MbusAgentDeviceMapping) UnsetScale added in v1.2.0

func (o *MbusAgentDeviceMapping) UnsetScale()

UnsetScale ensures that no value is present for Scale, not even an explicit nil

func (*MbusAgentDeviceMapping) UnsetZero added in v1.2.0

func (o *MbusAgentDeviceMapping) UnsetZero()

UnsetZero ensures that no value is present for Zero, not even an explicit nil

type MbusAgentDeviceMappingSpecific added in v1.2.0

type MbusAgentDeviceMappingSpecific struct {
	Field NullableInt32   `json:"field,omitempty"`
	Scale NullableFloat64 `json:"scale,omitempty"`
	Zero  NullableFloat64 `json:"zero,omitempty"`
}

MbusAgentDeviceMappingSpecific Specific mapping for MBUS agents

func NewMbusAgentDeviceMappingSpecific added in v1.2.0

func NewMbusAgentDeviceMappingSpecific() *MbusAgentDeviceMappingSpecific

NewMbusAgentDeviceMappingSpecific instantiates a new MbusAgentDeviceMappingSpecific 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 NewMbusAgentDeviceMappingSpecificWithDefaults added in v1.2.0

func NewMbusAgentDeviceMappingSpecificWithDefaults() *MbusAgentDeviceMappingSpecific

NewMbusAgentDeviceMappingSpecificWithDefaults instantiates a new MbusAgentDeviceMappingSpecific 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 (*MbusAgentDeviceMappingSpecific) GetField added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) GetField() int32

GetField returns the Field field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceMappingSpecific) GetFieldOk added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) 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 (*MbusAgentDeviceMappingSpecific) GetScale added in v1.2.0

GetScale returns the Scale field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceMappingSpecific) GetScaleOk added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) 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 (*MbusAgentDeviceMappingSpecific) GetZero added in v1.2.0

GetZero returns the Zero field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceMappingSpecific) GetZeroOk added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) 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 (*MbusAgentDeviceMappingSpecific) HasField added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) HasField() bool

HasField returns a boolean if a field has been set.

func (*MbusAgentDeviceMappingSpecific) HasScale added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*MbusAgentDeviceMappingSpecific) HasZero added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) HasZero() bool

HasZero returns a boolean if a field has been set.

func (MbusAgentDeviceMappingSpecific) MarshalJSON added in v1.2.0

func (o MbusAgentDeviceMappingSpecific) MarshalJSON() ([]byte, error)

func (*MbusAgentDeviceMappingSpecific) SetField added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) SetField(v int32)

SetField gets a reference to the given NullableInt32 and assigns it to the Field field.

func (*MbusAgentDeviceMappingSpecific) SetFieldNil added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) SetFieldNil()

SetFieldNil sets the value for Field to be an explicit nil

func (*MbusAgentDeviceMappingSpecific) SetScale added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) SetScale(v float64)

SetScale gets a reference to the given NullableFloat64 and assigns it to the Scale field.

func (*MbusAgentDeviceMappingSpecific) SetScaleNil added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) SetScaleNil()

SetScaleNil sets the value for Scale to be an explicit nil

func (*MbusAgentDeviceMappingSpecific) SetZero added in v1.2.0

SetZero gets a reference to the given NullableFloat64 and assigns it to the Zero field.

func (*MbusAgentDeviceMappingSpecific) SetZeroNil added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) SetZeroNil()

SetZeroNil sets the value for Zero to be an explicit nil

func (*MbusAgentDeviceMappingSpecific) UnsetField added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) UnsetField()

UnsetField ensures that no value is present for Field, not even an explicit nil

func (*MbusAgentDeviceMappingSpecific) UnsetScale added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) UnsetScale()

UnsetScale ensures that no value is present for Scale, not even an explicit nil

func (*MbusAgentDeviceMappingSpecific) UnsetZero added in v1.2.0

func (o *MbusAgentDeviceMappingSpecific) UnsetZero()

UnsetZero ensures that no value is present for Zero, not even an explicit nil

type MbusAgentDeviceSpecific added in v1.2.0

type MbusAgentDeviceSpecific struct {
	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"`
}

MbusAgentDeviceSpecific Specific device for MBUS agents

func NewMbusAgentDeviceSpecific added in v1.2.0

func NewMbusAgentDeviceSpecific() *MbusAgentDeviceSpecific

NewMbusAgentDeviceSpecific instantiates a new MbusAgentDeviceSpecific 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 NewMbusAgentDeviceSpecificWithDefaults added in v1.2.0

func NewMbusAgentDeviceSpecificWithDefaults() *MbusAgentDeviceSpecific

NewMbusAgentDeviceSpecificWithDefaults instantiates a new MbusAgentDeviceSpecific 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 (*MbusAgentDeviceSpecific) GetAddress added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetAddress() int32

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetAddressOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetAppResetSubcode added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetAppResetSubcode() int32

GetAppResetSubcode returns the AppResetSubcode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetAppResetSubcodeOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetManufacturer added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetManufacturer() string

GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetManufacturerOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetMaxFail added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetMaxFail() int32

GetMaxFail returns the MaxFail field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetMaxFailOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetMaxRetry added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetMaxRetry() int32

GetMaxRetry returns the MaxRetry field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetMaxRetryOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetModel added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetModel() string

GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetModelOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetMultiFrames added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetMultiFrames() int32

GetMultiFrames returns the MultiFrames field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetMultiFramesOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetRaster added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetRaster() string

GetRaster returns the Raster field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetRasterOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetSecAddress added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetSecAddress() string

GetSecAddress returns the SecAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetSecAddressOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) GetSendNke added in v1.2.0

func (o *MbusAgentDeviceSpecific) GetSendNke() bool

GetSendNke returns the SendNke field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MbusAgentDeviceSpecific) GetSendNkeOk added in v1.2.0

func (o *MbusAgentDeviceSpecific) 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 (*MbusAgentDeviceSpecific) HasAddress added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasAppResetSubcode added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasAppResetSubcode() bool

HasAppResetSubcode returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasManufacturer added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasManufacturer() bool

HasManufacturer returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasMaxFail added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasMaxFail() bool

HasMaxFail returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasMaxRetry added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasMaxRetry() bool

HasMaxRetry returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasModel added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasMultiFrames added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasMultiFrames() bool

HasMultiFrames returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasRaster added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasRaster() bool

HasRaster returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasSecAddress added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasSecAddress() bool

HasSecAddress returns a boolean if a field has been set.

func (*MbusAgentDeviceSpecific) HasSendNke added in v1.2.0

func (o *MbusAgentDeviceSpecific) HasSendNke() bool

HasSendNke returns a boolean if a field has been set.

func (MbusAgentDeviceSpecific) MarshalJSON added in v1.2.0

func (o MbusAgentDeviceSpecific) MarshalJSON() ([]byte, error)

func (*MbusAgentDeviceSpecific) SetAddress added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetAddress(v int32)

SetAddress gets a reference to the given NullableInt32 and assigns it to the Address field.

func (*MbusAgentDeviceSpecific) SetAddressNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*MbusAgentDeviceSpecific) SetAppResetSubcode added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetAppResetSubcode(v int32)

SetAppResetSubcode gets a reference to the given NullableInt32 and assigns it to the AppResetSubcode field.

func (*MbusAgentDeviceSpecific) SetAppResetSubcodeNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetAppResetSubcodeNil()

SetAppResetSubcodeNil sets the value for AppResetSubcode to be an explicit nil

func (*MbusAgentDeviceSpecific) SetManufacturer added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetManufacturer(v string)

SetManufacturer gets a reference to the given NullableString and assigns it to the Manufacturer field.

func (*MbusAgentDeviceSpecific) SetManufacturerNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetManufacturerNil()

SetManufacturerNil sets the value for Manufacturer to be an explicit nil

func (*MbusAgentDeviceSpecific) SetMaxFail added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetMaxFail(v int32)

SetMaxFail gets a reference to the given NullableInt32 and assigns it to the MaxFail field.

func (*MbusAgentDeviceSpecific) SetMaxFailNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetMaxFailNil()

SetMaxFailNil sets the value for MaxFail to be an explicit nil

func (*MbusAgentDeviceSpecific) SetMaxRetry added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetMaxRetry(v int32)

SetMaxRetry gets a reference to the given NullableInt32 and assigns it to the MaxRetry field.

func (*MbusAgentDeviceSpecific) SetMaxRetryNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetMaxRetryNil()

SetMaxRetryNil sets the value for MaxRetry to be an explicit nil

func (*MbusAgentDeviceSpecific) SetModel added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetModel(v string)

SetModel gets a reference to the given NullableString and assigns it to the Model field.

func (*MbusAgentDeviceSpecific) SetModelNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*MbusAgentDeviceSpecific) SetMultiFrames added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetMultiFrames(v int32)

SetMultiFrames gets a reference to the given NullableInt32 and assigns it to the MultiFrames field.

func (*MbusAgentDeviceSpecific) SetMultiFramesNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetMultiFramesNil()

SetMultiFramesNil sets the value for MultiFrames to be an explicit nil

func (*MbusAgentDeviceSpecific) SetRaster added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetRaster(v string)

SetRaster gets a reference to the given NullableString and assigns it to the Raster field.

func (*MbusAgentDeviceSpecific) SetRasterNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetRasterNil()

SetRasterNil sets the value for Raster to be an explicit nil

func (*MbusAgentDeviceSpecific) SetSecAddress added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetSecAddress(v string)

SetSecAddress gets a reference to the given NullableString and assigns it to the SecAddress field.

func (*MbusAgentDeviceSpecific) SetSecAddressNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetSecAddressNil()

SetSecAddressNil sets the value for SecAddress to be an explicit nil

func (*MbusAgentDeviceSpecific) SetSendNke added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetSendNke(v bool)

SetSendNke gets a reference to the given NullableBool and assigns it to the SendNke field.

func (*MbusAgentDeviceSpecific) SetSendNkeNil added in v1.2.0

func (o *MbusAgentDeviceSpecific) SetSendNkeNil()

SetSendNkeNil sets the value for SendNke to be an explicit nil

func (*MbusAgentDeviceSpecific) UnsetAddress added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*MbusAgentDeviceSpecific) UnsetAppResetSubcode added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetAppResetSubcode()

UnsetAppResetSubcode ensures that no value is present for AppResetSubcode, not even an explicit nil

func (*MbusAgentDeviceSpecific) UnsetManufacturer added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetManufacturer()

UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil

func (*MbusAgentDeviceSpecific) UnsetMaxFail added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetMaxFail()

UnsetMaxFail ensures that no value is present for MaxFail, not even an explicit nil

func (*MbusAgentDeviceSpecific) UnsetMaxRetry added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetMaxRetry()

UnsetMaxRetry ensures that no value is present for MaxRetry, not even an explicit nil

func (*MbusAgentDeviceSpecific) UnsetModel added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetModel()

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

func (*MbusAgentDeviceSpecific) UnsetMultiFrames added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetMultiFrames()

UnsetMultiFrames ensures that no value is present for MultiFrames, not even an explicit nil

func (*MbusAgentDeviceSpecific) UnsetRaster added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetRaster()

UnsetRaster ensures that no value is present for Raster, not even an explicit nil

func (*MbusAgentDeviceSpecific) UnsetSecAddress added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetSecAddress()

UnsetSecAddress ensures that no value is present for SecAddress, not even an explicit nil

func (*MbusAgentDeviceSpecific) UnsetSendNke added in v1.2.0

func (o *MbusAgentDeviceSpecific) UnsetSendNke()

UnsetSendNke ensures that no value is present for SendNke, not even an explicit nil

type Node added in v1.2.0

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
	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 fpr 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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (o *Node) GetAssetId() int32

GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetAssetIdOk added in v1.2.0

func (o *Node) 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 (*Node) GetDescription added in v1.2.0

func (o *Node) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetDescriptionOk added in v1.2.0

func (o *Node) 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 (*Node) GetEnable added in v1.2.0

func (o *Node) GetEnable() bool

GetEnable returns the Enable field value if set, zero value otherwise.

func (*Node) GetEnableOk added in v1.2.0

func (o *Node) 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 (*Node) GetId added in v1.2.0

func (o *Node) GetId() string

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetIdOk added in v1.2.0

func (o *Node) GetIdOk() (*string, 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 (*Node) GetIdent added in v1.2.0

func (o *Node) GetIdent() string

GetIdent returns the Ident field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetIdentOk added in v1.2.0

func (o *Node) GetIdentOk() (*string, bool)

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 added in v1.2.0

func (o *Node) GetModel() string

GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetModelOk added in v1.2.0

func (o *Node) 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 (*Node) GetPassword added in v1.2.0

func (o *Node) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetPasswordOk added in v1.2.0

func (o *Node) GetPasswordOk() (*string, bool)

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

func (*Node) GetVendor added in v1.2.0

func (o *Node) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetVendorOk added in v1.2.0

func (o *Node) GetVendorOk() (*string, bool)

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 added in v1.2.0

func (o *Node) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*Node) HasDescription added in v1.2.0

func (o *Node) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Node) HasEnable added in v1.2.0

func (o *Node) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*Node) HasId added in v1.2.0

func (o *Node) HasId() bool

HasId returns a boolean if a field has been set.

func (*Node) HasIdent added in v1.2.0

func (o *Node) HasIdent() bool

HasIdent returns a boolean if a field has been set.

func (*Node) HasModel added in v1.2.0

func (o *Node) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*Node) HasPassword added in v1.2.0

func (o *Node) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*Node) HasVendor added in v1.2.0

func (o *Node) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (Node) MarshalJSON added in v1.2.0

func (o Node) MarshalJSON() ([]byte, error)

func (*Node) SetAssetId added in v1.2.0

func (o *Node) SetAssetId(v int32)

SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.

func (*Node) SetAssetIdNil added in v1.2.0

func (o *Node) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*Node) SetDescription added in v1.2.0

func (o *Node) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*Node) SetDescriptionNil added in v1.2.0

func (o *Node) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Node) SetEnable added in v1.2.0

func (o *Node) SetEnable(v bool)

SetEnable gets a reference to the given bool and assigns it to the Enable field.

func (*Node) SetId added in v1.2.0

func (o *Node) SetId(v string)

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*Node) SetIdNil added in v1.2.0

func (o *Node) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Node) SetIdent added in v1.2.0

func (o *Node) SetIdent(v string)

SetIdent gets a reference to the given NullableString and assigns it to the Ident field.

func (*Node) SetIdentNil added in v1.2.0

func (o *Node) SetIdentNil()

SetIdentNil sets the value for Ident to be an explicit nil

func (*Node) SetModel added in v1.2.0

func (o *Node) SetModel(v string)

SetModel gets a reference to the given NullableString and assigns it to the Model field.

func (*Node) SetModelNil added in v1.2.0

func (o *Node) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*Node) SetPassword added in v1.2.0

func (o *Node) SetPassword(v string)

SetPassword gets a reference to the given NullableString and assigns it to the Password field.

func (*Node) SetPasswordNil added in v1.2.0

func (o *Node) SetPasswordNil()

SetPasswordNil sets the value for Password to be an explicit nil

func (*Node) SetVendor added in v1.2.0

func (o *Node) SetVendor(v string)

SetVendor gets a reference to the given NullableString and assigns it to the Vendor field.

func (*Node) SetVendorNil added in v1.2.0

func (o *Node) SetVendorNil()

SetVendorNil sets the value for Vendor to be an explicit nil

func (*Node) UnsetAssetId added in v1.2.0

func (o *Node) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*Node) UnsetDescription added in v1.2.0

func (o *Node) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*Node) UnsetId added in v1.2.0

func (o *Node) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*Node) UnsetIdent added in v1.2.0

func (o *Node) UnsetIdent()

UnsetIdent ensures that no value is present for Ident, not even an explicit nil

func (*Node) UnsetModel added in v1.2.0

func (o *Node) UnsetModel()

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

func (*Node) UnsetPassword added in v1.2.0

func (o *Node) UnsetPassword()

UnsetPassword ensures that no value is present for Password, not even an explicit nil

func (*Node) UnsetVendor added in v1.2.0

func (o *Node) UnsetVendor()

UnsetVendor ensures that no value is present for Vendor, not even an explicit nil

type NodesApiService added in v1.2.0

type NodesApiService service

NodesApiService NodesApi service

func (*NodesApiService) GetNodeByIdent added in v1.2.0

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 v1.2.0

func (a *NodesApiService) GetNodeByIdentExecute(r ApiGetNodeByIdentRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*NodesApiService) GetNodes added in v1.2.0

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 v1.2.0

func (a *NodesApiService) GetNodesExecute(r ApiGetNodesRequest) ([]Node, *http.Response, error)

Execute executes the request

@return []Node

func (*NodesApiService) PutNode added in v1.2.0

PutNode Create or update a node

Create a new node or update a node rule if already exists

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPutNodeRequest

func (*NodesApiService) PutNodeExecute added in v1.2.0

func (a *NodesApiService) PutNodeExecute(r ApiPutNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

type NullableAgent added in v1.2.0

type NullableAgent struct {
	// contains filtered or unexported fields
}

func NewNullableAgent added in v1.2.0

func NewNullableAgent(val *Agent) *NullableAgent

func (NullableAgent) Get added in v1.2.0

func (v NullableAgent) Get() *Agent

func (NullableAgent) IsSet added in v1.2.0

func (v NullableAgent) IsSet() bool

func (NullableAgent) MarshalJSON added in v1.2.0

func (v NullableAgent) MarshalJSON() ([]byte, error)

func (*NullableAgent) Set added in v1.2.0

func (v *NullableAgent) Set(val *Agent)

func (*NullableAgent) UnmarshalJSON added in v1.2.0

func (v *NullableAgent) UnmarshalJSON(src []byte) error

func (*NullableAgent) Unset added in v1.2.0

func (v *NullableAgent) Unset()

type NullableAgentClass added in v1.2.0

type NullableAgentClass struct {
	// contains filtered or unexported fields
}

func NewNullableAgentClass added in v1.2.0

func NewNullableAgentClass(val *AgentClass) *NullableAgentClass

func (NullableAgentClass) Get added in v1.2.0

func (v NullableAgentClass) Get() *AgentClass

func (NullableAgentClass) IsSet added in v1.2.0

func (v NullableAgentClass) IsSet() bool

func (NullableAgentClass) MarshalJSON added in v1.2.0

func (v NullableAgentClass) MarshalJSON() ([]byte, error)

func (*NullableAgentClass) Set added in v1.2.0

func (v *NullableAgentClass) Set(val *AgentClass)

func (*NullableAgentClass) UnmarshalJSON added in v1.2.0

func (v *NullableAgentClass) UnmarshalJSON(src []byte) error

func (*NullableAgentClass) Unset added in v1.2.0

func (v *NullableAgentClass) Unset()

type NullableAgentDevice added in v1.2.0

type NullableAgentDevice struct {
	// contains filtered or unexported fields
}

func NewNullableAgentDevice added in v1.2.0

func NewNullableAgentDevice(val *AgentDevice) *NullableAgentDevice

func (NullableAgentDevice) Get added in v1.2.0

func (NullableAgentDevice) IsSet added in v1.2.0

func (v NullableAgentDevice) IsSet() bool

func (NullableAgentDevice) MarshalJSON added in v1.2.0

func (v NullableAgentDevice) MarshalJSON() ([]byte, error)

func (*NullableAgentDevice) Set added in v1.2.0

func (v *NullableAgentDevice) Set(val *AgentDevice)

func (*NullableAgentDevice) UnmarshalJSON added in v1.2.0

func (v *NullableAgentDevice) UnmarshalJSON(src []byte) error

func (*NullableAgentDevice) Unset added in v1.2.0

func (v *NullableAgentDevice) Unset()

type NullableAgentDeviceGeneral added in v1.2.0

type NullableAgentDeviceGeneral struct {
	// contains filtered or unexported fields
}

func NewNullableAgentDeviceGeneral added in v1.2.0

func NewNullableAgentDeviceGeneral(val *AgentDeviceGeneral) *NullableAgentDeviceGeneral

func (NullableAgentDeviceGeneral) Get added in v1.2.0

func (NullableAgentDeviceGeneral) IsSet added in v1.2.0

func (v NullableAgentDeviceGeneral) IsSet() bool

func (NullableAgentDeviceGeneral) MarshalJSON added in v1.2.0

func (v NullableAgentDeviceGeneral) MarshalJSON() ([]byte, error)

func (*NullableAgentDeviceGeneral) Set added in v1.2.0

func (*NullableAgentDeviceGeneral) UnmarshalJSON added in v1.2.0

func (v *NullableAgentDeviceGeneral) UnmarshalJSON(src []byte) error

func (*NullableAgentDeviceGeneral) Unset added in v1.2.0

func (v *NullableAgentDeviceGeneral) Unset()

type NullableAgentDeviceMapping added in v1.2.0

type NullableAgentDeviceMapping struct {
	// contains filtered or unexported fields
}

func NewNullableAgentDeviceMapping added in v1.2.0

func NewNullableAgentDeviceMapping(val *AgentDeviceMapping) *NullableAgentDeviceMapping

func (NullableAgentDeviceMapping) Get added in v1.2.0

func (NullableAgentDeviceMapping) IsSet added in v1.2.0

func (v NullableAgentDeviceMapping) IsSet() bool

func (NullableAgentDeviceMapping) MarshalJSON added in v1.2.0

func (v NullableAgentDeviceMapping) MarshalJSON() ([]byte, error)

func (*NullableAgentDeviceMapping) Set added in v1.2.0

func (*NullableAgentDeviceMapping) UnmarshalJSON added in v1.2.0

func (v *NullableAgentDeviceMapping) UnmarshalJSON(src []byte) error

func (*NullableAgentDeviceMapping) Unset added in v1.2.0

func (v *NullableAgentDeviceMapping) Unset()

type NullableAgentDeviceMappingGeneral added in v1.2.0

type NullableAgentDeviceMappingGeneral struct {
	// contains filtered or unexported fields
}

func NewNullableAgentDeviceMappingGeneral added in v1.2.0

func NewNullableAgentDeviceMappingGeneral(val *AgentDeviceMappingGeneral) *NullableAgentDeviceMappingGeneral

func (NullableAgentDeviceMappingGeneral) Get added in v1.2.0

func (NullableAgentDeviceMappingGeneral) IsSet added in v1.2.0

func (NullableAgentDeviceMappingGeneral) MarshalJSON added in v1.2.0

func (v NullableAgentDeviceMappingGeneral) MarshalJSON() ([]byte, error)

func (*NullableAgentDeviceMappingGeneral) Set added in v1.2.0

func (*NullableAgentDeviceMappingGeneral) UnmarshalJSON added in v1.2.0

func (v *NullableAgentDeviceMappingGeneral) UnmarshalJSON(src []byte) error

func (*NullableAgentDeviceMappingGeneral) Unset added in v1.2.0

type NullableAggregation added in v1.2.3

type NullableAggregation struct {
	// contains filtered or unexported fields
}

func NewNullableAggregation added in v1.2.3

func NewNullableAggregation(val *Aggregation) *NullableAggregation

func (NullableAggregation) Get added in v1.2.3

func (NullableAggregation) IsSet added in v1.2.3

func (v NullableAggregation) IsSet() bool

func (NullableAggregation) MarshalJSON added in v1.2.3

func (v NullableAggregation) MarshalJSON() ([]byte, error)

func (*NullableAggregation) Set added in v1.2.3

func (v *NullableAggregation) Set(val *Aggregation)

func (*NullableAggregation) UnmarshalJSON added in v1.2.3

func (v *NullableAggregation) UnmarshalJSON(src []byte) error

func (*NullableAggregation) Unset added in v1.2.3

func (v *NullableAggregation) Unset()

type NullableAlarm added in v1.0.4

type NullableAlarm struct {
	// contains filtered or unexported fields
}

func NewNullableAlarm added in v1.0.4

func NewNullableAlarm(val *Alarm) *NullableAlarm

func (NullableAlarm) Get added in v1.0.4

func (v NullableAlarm) Get() *Alarm

func (NullableAlarm) IsSet added in v1.0.4

func (v NullableAlarm) IsSet() bool

func (NullableAlarm) MarshalJSON added in v1.0.4

func (v NullableAlarm) MarshalJSON() ([]byte, error)

func (*NullableAlarm) Set added in v1.0.4

func (v *NullableAlarm) Set(val *Alarm)

func (*NullableAlarm) UnmarshalJSON added in v1.0.4

func (v *NullableAlarm) UnmarshalJSON(src []byte) error

func (*NullableAlarm) Unset added in v1.0.4

func (v *NullableAlarm) Unset()

type NullableAlarmPriority added in v1.0.4

type NullableAlarmPriority struct {
	// contains filtered or unexported fields
}

func NewNullableAlarmPriority added in v1.0.4

func NewNullableAlarmPriority(val *AlarmPriority) *NullableAlarmPriority

func (NullableAlarmPriority) Get added in v1.0.4

func (NullableAlarmPriority) IsSet added in v1.0.4

func (v NullableAlarmPriority) IsSet() bool

func (NullableAlarmPriority) MarshalJSON added in v1.0.4

func (v NullableAlarmPriority) MarshalJSON() ([]byte, error)

func (*NullableAlarmPriority) Set added in v1.0.4

func (v *NullableAlarmPriority) Set(val *AlarmPriority)

func (*NullableAlarmPriority) UnmarshalJSON added in v1.0.4

func (v *NullableAlarmPriority) UnmarshalJSON(src []byte) error

func (*NullableAlarmPriority) Unset added in v1.0.4

func (v *NullableAlarmPriority) Unset()

type NullableAlarmRule added in v1.0.4

type NullableAlarmRule struct {
	// contains filtered or unexported fields
}

func NewNullableAlarmRule added in v1.0.4

func NewNullableAlarmRule(val *AlarmRule) *NullableAlarmRule

func (NullableAlarmRule) Get added in v1.0.4

func (v NullableAlarmRule) Get() *AlarmRule

func (NullableAlarmRule) IsSet added in v1.0.4

func (v NullableAlarmRule) IsSet() bool

func (NullableAlarmRule) MarshalJSON added in v1.0.4

func (v NullableAlarmRule) MarshalJSON() ([]byte, error)

func (*NullableAlarmRule) Set added in v1.0.4

func (v *NullableAlarmRule) Set(val *AlarmRule)

func (*NullableAlarmRule) UnmarshalJSON added in v1.0.4

func (v *NullableAlarmRule) UnmarshalJSON(src []byte) error

func (*NullableAlarmRule) Unset added in v1.0.4

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 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 added in v1.0.1

type NullableAssetTypeAttribute struct {
	// contains filtered or unexported fields
}

func NewNullableAssetTypeAttribute added in v1.0.1

func NewNullableAssetTypeAttribute(val *AssetTypeAttribute) *NullableAssetTypeAttribute

func (NullableAssetTypeAttribute) Get added in v1.0.1

func (NullableAssetTypeAttribute) IsSet added in v1.0.1

func (v NullableAssetTypeAttribute) IsSet() bool

func (NullableAssetTypeAttribute) MarshalJSON added in v1.0.1

func (v NullableAssetTypeAttribute) MarshalJSON() ([]byte, error)

func (*NullableAssetTypeAttribute) Set added in v1.0.1

func (*NullableAssetTypeAttribute) UnmarshalJSON added in v1.0.1

func (v *NullableAssetTypeAttribute) UnmarshalJSON(src []byte) error

func (*NullableAssetTypeAttribute) Unset added in v1.0.1

func (v *NullableAssetTypeAttribute) 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 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 added in v1.2.0

type NullableData struct {
	// contains filtered or unexported fields
}

func NewNullableData added in v1.2.0

func NewNullableData(val *Data) *NullableData

func (NullableData) Get added in v1.2.0

func (v NullableData) Get() *Data

func (NullableData) IsSet added in v1.2.0

func (v NullableData) IsSet() bool

func (NullableData) MarshalJSON added in v1.2.0

func (v NullableData) MarshalJSON() ([]byte, error)

func (*NullableData) Set added in v1.2.0

func (v *NullableData) Set(val *Data)

func (*NullableData) UnmarshalJSON added in v1.2.0

func (v *NullableData) UnmarshalJSON(src []byte) error

func (*NullableData) Unset added in v1.2.0

func (v *NullableData) Unset()

type NullableDataAggregated added in v1.2.3

type NullableDataAggregated struct {
	// contains filtered or unexported fields
}

func NewNullableDataAggregated added in v1.2.3

func NewNullableDataAggregated(val *DataAggregated) *NullableDataAggregated

func (NullableDataAggregated) Get added in v1.2.3

func (NullableDataAggregated) IsSet added in v1.2.3

func (v NullableDataAggregated) IsSet() bool

func (NullableDataAggregated) MarshalJSON added in v1.2.3

func (v NullableDataAggregated) MarshalJSON() ([]byte, error)

func (*NullableDataAggregated) Set added in v1.2.3

func (*NullableDataAggregated) UnmarshalJSON added in v1.2.3

func (v *NullableDataAggregated) UnmarshalJSON(src []byte) error

func (*NullableDataAggregated) Unset added in v1.2.3

func (v *NullableDataAggregated) Unset()

type NullableDataSubtype added in v1.2.0

type NullableDataSubtype struct {
	// contains filtered or unexported fields
}

func NewNullableDataSubtype added in v1.2.0

func NewNullableDataSubtype(val *DataSubtype) *NullableDataSubtype

func (NullableDataSubtype) Get added in v1.2.0

func (NullableDataSubtype) IsSet added in v1.2.0

func (v NullableDataSubtype) IsSet() bool

func (NullableDataSubtype) MarshalJSON added in v1.2.0

func (v NullableDataSubtype) MarshalJSON() ([]byte, error)

func (*NullableDataSubtype) Set added in v1.2.0

func (v *NullableDataSubtype) Set(val *DataSubtype)

func (*NullableDataSubtype) UnmarshalJSON added in v1.2.0

func (v *NullableDataSubtype) UnmarshalJSON(src []byte) error

func (*NullableDataSubtype) Unset added in v1.2.0

func (v *NullableDataSubtype) 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 added in v1.2.0

type NullableIosysAgentDevice struct {
	// contains filtered or unexported fields
}

func NewNullableIosysAgentDevice added in v1.2.0

func NewNullableIosysAgentDevice(val *IosysAgentDevice) *NullableIosysAgentDevice

func (NullableIosysAgentDevice) Get added in v1.2.0

func (NullableIosysAgentDevice) IsSet added in v1.2.0

func (v NullableIosysAgentDevice) IsSet() bool

func (NullableIosysAgentDevice) MarshalJSON added in v1.2.0

func (v NullableIosysAgentDevice) MarshalJSON() ([]byte, error)

func (*NullableIosysAgentDevice) Set added in v1.2.0

func (*NullableIosysAgentDevice) UnmarshalJSON added in v1.2.0

func (v *NullableIosysAgentDevice) UnmarshalJSON(src []byte) error

func (*NullableIosysAgentDevice) Unset added in v1.2.0

func (v *NullableIosysAgentDevice) Unset()

type NullableIosysAgentDeviceMapping added in v1.2.0

type NullableIosysAgentDeviceMapping struct {
	// contains filtered or unexported fields
}

func NewNullableIosysAgentDeviceMapping added in v1.2.0

func NewNullableIosysAgentDeviceMapping(val *IosysAgentDeviceMapping) *NullableIosysAgentDeviceMapping

func (NullableIosysAgentDeviceMapping) Get added in v1.2.0

func (NullableIosysAgentDeviceMapping) IsSet added in v1.2.0

func (NullableIosysAgentDeviceMapping) MarshalJSON added in v1.2.0

func (v NullableIosysAgentDeviceMapping) MarshalJSON() ([]byte, error)

func (*NullableIosysAgentDeviceMapping) Set added in v1.2.0

func (*NullableIosysAgentDeviceMapping) UnmarshalJSON added in v1.2.0

func (v *NullableIosysAgentDeviceMapping) UnmarshalJSON(src []byte) error

func (*NullableIosysAgentDeviceMapping) Unset added in v1.2.0

type NullableIosysAgentDeviceMappingSpecific added in v1.2.0

type NullableIosysAgentDeviceMappingSpecific struct {
	// contains filtered or unexported fields
}

func NewNullableIosysAgentDeviceMappingSpecific added in v1.2.0

func NewNullableIosysAgentDeviceMappingSpecific(val *IosysAgentDeviceMappingSpecific) *NullableIosysAgentDeviceMappingSpecific

func (NullableIosysAgentDeviceMappingSpecific) Get added in v1.2.0

func (NullableIosysAgentDeviceMappingSpecific) IsSet added in v1.2.0

func (NullableIosysAgentDeviceMappingSpecific) MarshalJSON added in v1.2.0

func (v NullableIosysAgentDeviceMappingSpecific) MarshalJSON() ([]byte, error)

func (*NullableIosysAgentDeviceMappingSpecific) Set added in v1.2.0

func (*NullableIosysAgentDeviceMappingSpecific) UnmarshalJSON added in v1.2.0

func (v *NullableIosysAgentDeviceMappingSpecific) UnmarshalJSON(src []byte) error

func (*NullableIosysAgentDeviceMappingSpecific) Unset added in v1.2.0

type NullableIosysAgentDeviceSpecific added in v1.2.0

type NullableIosysAgentDeviceSpecific struct {
	// contains filtered or unexported fields
}

func NewNullableIosysAgentDeviceSpecific added in v1.2.0

func NewNullableIosysAgentDeviceSpecific(val *IosysAgentDeviceSpecific) *NullableIosysAgentDeviceSpecific

func (NullableIosysAgentDeviceSpecific) Get added in v1.2.0

func (NullableIosysAgentDeviceSpecific) IsSet added in v1.2.0

func (NullableIosysAgentDeviceSpecific) MarshalJSON added in v1.2.0

func (v NullableIosysAgentDeviceSpecific) MarshalJSON() ([]byte, error)

func (*NullableIosysAgentDeviceSpecific) Set added in v1.2.0

func (*NullableIosysAgentDeviceSpecific) UnmarshalJSON added in v1.2.0

func (v *NullableIosysAgentDeviceSpecific) UnmarshalJSON(src []byte) error

func (*NullableIosysAgentDeviceSpecific) Unset added in v1.2.0

type NullableMbusAgentDevice added in v1.2.0

type NullableMbusAgentDevice struct {
	// contains filtered or unexported fields
}

func NewNullableMbusAgentDevice added in v1.2.0

func NewNullableMbusAgentDevice(val *MbusAgentDevice) *NullableMbusAgentDevice

func (NullableMbusAgentDevice) Get added in v1.2.0

func (NullableMbusAgentDevice) IsSet added in v1.2.0

func (v NullableMbusAgentDevice) IsSet() bool

func (NullableMbusAgentDevice) MarshalJSON added in v1.2.0

func (v NullableMbusAgentDevice) MarshalJSON() ([]byte, error)

func (*NullableMbusAgentDevice) Set added in v1.2.0

func (*NullableMbusAgentDevice) UnmarshalJSON added in v1.2.0

func (v *NullableMbusAgentDevice) UnmarshalJSON(src []byte) error

func (*NullableMbusAgentDevice) Unset added in v1.2.0

func (v *NullableMbusAgentDevice) Unset()

type NullableMbusAgentDeviceMapping added in v1.2.0

type NullableMbusAgentDeviceMapping struct {
	// contains filtered or unexported fields
}

func NewNullableMbusAgentDeviceMapping added in v1.2.0

func NewNullableMbusAgentDeviceMapping(val *MbusAgentDeviceMapping) *NullableMbusAgentDeviceMapping

func (NullableMbusAgentDeviceMapping) Get added in v1.2.0

func (NullableMbusAgentDeviceMapping) IsSet added in v1.2.0

func (NullableMbusAgentDeviceMapping) MarshalJSON added in v1.2.0

func (v NullableMbusAgentDeviceMapping) MarshalJSON() ([]byte, error)

func (*NullableMbusAgentDeviceMapping) Set added in v1.2.0

func (*NullableMbusAgentDeviceMapping) UnmarshalJSON added in v1.2.0

func (v *NullableMbusAgentDeviceMapping) UnmarshalJSON(src []byte) error

func (*NullableMbusAgentDeviceMapping) Unset added in v1.2.0

func (v *NullableMbusAgentDeviceMapping) Unset()

type NullableMbusAgentDeviceMappingSpecific added in v1.2.0

type NullableMbusAgentDeviceMappingSpecific struct {
	// contains filtered or unexported fields
}

func NewNullableMbusAgentDeviceMappingSpecific added in v1.2.0

func NewNullableMbusAgentDeviceMappingSpecific(val *MbusAgentDeviceMappingSpecific) *NullableMbusAgentDeviceMappingSpecific

func (NullableMbusAgentDeviceMappingSpecific) Get added in v1.2.0

func (NullableMbusAgentDeviceMappingSpecific) IsSet added in v1.2.0

func (NullableMbusAgentDeviceMappingSpecific) MarshalJSON added in v1.2.0

func (v NullableMbusAgentDeviceMappingSpecific) MarshalJSON() ([]byte, error)

func (*NullableMbusAgentDeviceMappingSpecific) Set added in v1.2.0

func (*NullableMbusAgentDeviceMappingSpecific) UnmarshalJSON added in v1.2.0

func (v *NullableMbusAgentDeviceMappingSpecific) UnmarshalJSON(src []byte) error

func (*NullableMbusAgentDeviceMappingSpecific) Unset added in v1.2.0

type NullableMbusAgentDeviceSpecific added in v1.2.0

type NullableMbusAgentDeviceSpecific struct {
	// contains filtered or unexported fields
}

func NewNullableMbusAgentDeviceSpecific added in v1.2.0

func NewNullableMbusAgentDeviceSpecific(val *MbusAgentDeviceSpecific) *NullableMbusAgentDeviceSpecific

func (NullableMbusAgentDeviceSpecific) Get added in v1.2.0

func (NullableMbusAgentDeviceSpecific) IsSet added in v1.2.0

func (NullableMbusAgentDeviceSpecific) MarshalJSON added in v1.2.0

func (v NullableMbusAgentDeviceSpecific) MarshalJSON() ([]byte, error)

func (*NullableMbusAgentDeviceSpecific) Set added in v1.2.0

func (*NullableMbusAgentDeviceSpecific) UnmarshalJSON added in v1.2.0

func (v *NullableMbusAgentDeviceSpecific) UnmarshalJSON(src []byte) error

func (*NullableMbusAgentDeviceSpecific) Unset added in v1.2.0

type NullableNode added in v1.2.0

type NullableNode struct {
	// contains filtered or unexported fields
}

func NewNullableNode added in v1.2.0

func NewNullableNode(val *Node) *NullableNode

func (NullableNode) Get added in v1.2.0

func (v NullableNode) Get() *Node

func (NullableNode) IsSet added in v1.2.0

func (v NullableNode) IsSet() bool

func (NullableNode) MarshalJSON added in v1.2.0

func (v NullableNode) MarshalJSON() ([]byte, error)

func (*NullableNode) Set added in v1.2.0

func (v *NullableNode) Set(val *Node)

func (*NullableNode) UnmarshalJSON added in v1.2.0

func (v *NullableNode) UnmarshalJSON(src []byte) error

func (*NullableNode) Unset added in v1.2.0

func (v *NullableNode) 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 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 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 (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 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 (NullableWidgetTypeElement) IsSet

func (v NullableWidgetTypeElement) IsSet() bool

func (NullableWidgetTypeElement) MarshalJSON

func (v NullableWidgetTypeElement) MarshalJSON() ([]byte, error)

func (*NullableWidgetTypeElement) Set

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

func NewPatch(appName string, name string) *Patch

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

func (o *Patch) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Patch) GetActiveOk

func (o *Patch) GetActiveOk() (*bool, bool)

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

func (o *Patch) GetAppName() string

GetAppName returns the AppName field value

func (*Patch) GetAppNameOk

func (o *Patch) GetAppNameOk() (*string, bool)

GetAppNameOk returns a tuple with the AppName field value and a boolean to check if the value has been set.

func (*Patch) GetApplied

func (o *Patch) GetApplied() bool

GetApplied returns the Applied field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Patch) GetAppliedOk

func (o *Patch) GetAppliedOk() (*bool, bool)

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) GetName

func (o *Patch) GetName() string

GetName returns the Name field value

func (*Patch) GetNameOk

func (o *Patch) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Patch) HasActive

func (o *Patch) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Patch) HasApplied

func (o *Patch) HasApplied() bool

HasApplied returns a boolean if a field has been set.

func (Patch) MarshalJSON

func (o Patch) MarshalJSON() ([]byte, error)

func (*Patch) SetActive

func (o *Patch) SetActive(v bool)

SetActive gets a reference to the given NullableBool and assigns it to the Active field.

func (*Patch) SetActiveNil added in v1.0.2

func (o *Patch) SetActiveNil()

SetActiveNil sets the value for Active to be an explicit nil

func (*Patch) SetAppName

func (o *Patch) SetAppName(v string)

SetAppName sets field value

func (*Patch) SetApplied

func (o *Patch) SetApplied(v bool)

SetApplied gets a reference to the given NullableBool and assigns it to the Applied field.

func (*Patch) SetAppliedNil added in v1.0.2

func (o *Patch) SetAppliedNil()

SetAppliedNil sets the value for Applied to be an explicit nil

func (*Patch) SetName

func (o *Patch) SetName(v string)

SetName sets field value

func (*Patch) UnsetActive added in v1.0.2

func (o *Patch) UnsetActive()

UnsetActive ensures that no value is present for Active, not even an explicit nil

func (*Patch) UnsetApplied added in v1.0.2

func (o *Patch) UnsetApplied()

UnsetApplied ensures that no value is present for Applied, not even an explicit nil

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

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.

type Widget

type Widget struct {
	// The name for the type of this widget
	WidgetTypeName string `json:"widgetTypeName"`
	// The width of this widget on dashboard
	Width string `json:"width"`
	// The number of days if the widget type uses timespan
	Timespan NullableInt32 `json:"timespan,omitempty"`
	// 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"`
	// List of data for the elements of widget
	Data []WidgetData `json:"data,omitempty"`
}

Widget A widget on a frontend dashboard

func NewWidget

func NewWidget(widgetTypeName string, width string) *Widget

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

func (o *Widget) GetAssetId() int32

GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Widget) GetAssetIdOk

func (o *Widget) 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 (*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

func (o *Widget) GetDetails() map[string]interface{}

GetDetails returns the Details field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Widget) GetDetailsOk

func (o *Widget) GetDetailsOk() (map[string]interface{}, bool)

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) GetTimespan

func (o *Widget) GetTimespan() int32

GetTimespan returns the Timespan field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Widget) GetTimespanOk

func (o *Widget) GetTimespanOk() (*int32, bool)

GetTimespanOk returns a tuple with the Timespan 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

func (o *Widget) GetWidgetTypeName() string

GetWidgetTypeName returns the WidgetTypeName field value

func (*Widget) GetWidgetTypeNameOk

func (o *Widget) GetWidgetTypeNameOk() (*string, bool)

GetWidgetTypeNameOk returns a tuple with the WidgetTypeName field value and a boolean to check if the value has been set.

func (*Widget) GetWidth

func (o *Widget) GetWidth() string

GetWidth returns the Width field value

func (*Widget) GetWidthOk

func (o *Widget) GetWidthOk() (*string, bool)

GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.

func (*Widget) HasAssetId

func (o *Widget) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*Widget) HasData

func (o *Widget) HasData() bool

HasData returns a boolean if a field has been set.

func (*Widget) HasDetails

func (o *Widget) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Widget) HasTimespan

func (o *Widget) HasTimespan() bool

HasTimespan returns a boolean if a field has been set.

func (Widget) MarshalJSON

func (o Widget) MarshalJSON() ([]byte, error)

func (*Widget) SetAssetId

func (o *Widget) SetAssetId(v int32)

SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.

func (*Widget) SetAssetIdNil added in v1.0.2

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

func (o *Widget) SetDetails(v map[string]interface{})

SetDetails gets a reference to the given map[string]interface{} and assigns it to the Details field.

func (*Widget) SetTimespan

func (o *Widget) SetTimespan(v int32)

SetTimespan gets a reference to the given NullableInt32 and assigns it to the Timespan field.

func (*Widget) SetTimespanNil added in v1.0.2

func (o *Widget) SetTimespanNil()

SetTimespanNil sets the value for Timespan to be an explicit nil

func (*Widget) SetWidgetTypeName

func (o *Widget) SetWidgetTypeName(v string)

SetWidgetTypeName sets field value

func (*Widget) SetWidth

func (o *Widget) SetWidth(v string)

SetWidth sets field value

func (*Widget) UnsetAssetId added in v1.0.2

func (o *Widget) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*Widget) UnsetTimespan added in v1.0.2

func (o *Widget) UnsetTimespan()

UnsetTimespan ensures that no value is present for Timespan, not even an explicit nil

type WidgetData

type WidgetData struct {
	// Position of the element in widget type
	ElementSequence int32 `json:"elementSequence"`
	// Key for the data
	Key NullableString `json:"key,omitempty"`
	// The master asset id of this widget
	AssetId NullableInt32 `json:"assetId,omitempty"`
	Subtype *DataSubtype  `json:"subtype,omitempty"`
	// Name of the attribute of the asset type
	Attribute NullableString `json:"attribute,omitempty"`
	// Text for frontend
	Description NullableString `json:"description,omitempty"`
}

WidgetData Data for a widget

func NewWidgetData

func NewWidgetData(elementSequence int32) *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) GetAttribute

func (o *WidgetData) GetAttribute() string

GetAttribute returns the Attribute field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetData) GetAttributeOk

func (o *WidgetData) 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 (*WidgetData) GetDescription

func (o *WidgetData) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetData) GetDescriptionOk

func (o *WidgetData) 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 (*WidgetData) GetElementSequence

func (o *WidgetData) GetElementSequence() int32

GetElementSequence returns the ElementSequence field value

func (*WidgetData) GetElementSequenceOk

func (o *WidgetData) GetElementSequenceOk() (*int32, bool)

GetElementSequenceOk returns a tuple with the ElementSequence field value and a boolean to check if the value has been set.

func (*WidgetData) GetKey

func (o *WidgetData) GetKey() string

GetKey returns the Key field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetData) GetKeyOk

func (o *WidgetData) 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 (*WidgetData) GetSubtype

func (o *WidgetData) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value if set, zero value otherwise.

func (*WidgetData) GetSubtypeOk

func (o *WidgetData) GetSubtypeOk() (*DataSubtype, 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.

func (*WidgetData) HasAssetId

func (o *WidgetData) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*WidgetData) HasAttribute

func (o *WidgetData) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*WidgetData) HasDescription

func (o *WidgetData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WidgetData) HasKey

func (o *WidgetData) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*WidgetData) HasSubtype

func (o *WidgetData) HasSubtype() bool

HasSubtype 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 added in v1.0.2

func (o *WidgetData) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*WidgetData) SetAttribute

func (o *WidgetData) SetAttribute(v string)

SetAttribute gets a reference to the given NullableString and assigns it to the Attribute field.

func (*WidgetData) SetAttributeNil added in v1.0.2

func (o *WidgetData) SetAttributeNil()

SetAttributeNil sets the value for Attribute to be an explicit nil

func (*WidgetData) SetDescription

func (o *WidgetData) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*WidgetData) SetDescriptionNil added in v1.0.2

func (o *WidgetData) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*WidgetData) SetElementSequence

func (o *WidgetData) SetElementSequence(v int32)

SetElementSequence sets field value

func (*WidgetData) SetKey

func (o *WidgetData) SetKey(v string)

SetKey gets a reference to the given NullableString and assigns it to the Key field.

func (*WidgetData) SetKeyNil added in v1.0.2

func (o *WidgetData) SetKeyNil()

SetKeyNil sets the value for Key to be an explicit nil

func (*WidgetData) SetSubtype

func (o *WidgetData) SetSubtype(v DataSubtype)

SetSubtype gets a reference to the given DataSubtype and assigns it to the Subtype field.

func (*WidgetData) UnsetAssetId added in v1.0.2

func (o *WidgetData) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*WidgetData) UnsetAttribute added in v1.0.2

func (o *WidgetData) UnsetAttribute()

UnsetAttribute ensures that no value is present for Attribute, not even an explicit nil

func (*WidgetData) UnsetDescription added in v1.0.2

func (o *WidgetData) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*WidgetData) UnsetKey added in v1.0.2

func (o *WidgetData) UnsetKey()

UnsetKey ensures that no value is present for Key, not even an explicit nil

type WidgetType

type WidgetType struct {
	// 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
	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) 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 added in v1.0.4

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) 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 added in v1.0.2

func (o *WidgetType) SetIconNil()

SetIconNil sets the value for Icon to be an explicit nil

func (*WidgetType) SetName

func (o *WidgetType) SetName(v string)

SetName sets field value

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 added in v1.0.2

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 added in v1.0.2

func (o *WidgetType) SetWithTimespanNil()

SetWithTimespanNil sets the value for WithTimespan to be an explicit nil

func (*WidgetType) UnsetIcon added in v1.0.2

func (o *WidgetType) UnsetIcon()

UnsetIcon ensures that no value is present for Icon, not even an explicit nil

func (*WidgetType) UnsetWithAlarm added in v1.0.2

func (o *WidgetType) UnsetWithAlarm()

UnsetWithAlarm ensures that no value is present for WithAlarm, not even an explicit nil

func (*WidgetType) UnsetWithTimespan added in v1.0.2

func (o *WidgetType) UnsetWithTimespan()

UnsetWithTimespan ensures that no value is present for WithTimespan, not even an explicit nil

type WidgetTypeElement

type WidgetTypeElement struct {
	// The category for this element
	Category string `json:"category"`
	// description text for this element
	Description string `json:"description"`
	// 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, description 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) GetDescription

func (o *WidgetTypeElement) GetDescription() string

GetDescription returns the Description field value

func (*WidgetTypeElement) GetDescriptionOk

func (o *WidgetTypeElement) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*WidgetTypeElement) HasConfig

func (o *WidgetTypeElement) HasConfig() bool

HasConfig 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) SetDescription

func (o *WidgetTypeElement) SetDescription(v string)

SetDescription sets field value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL