api

package module
v2.6.12 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 20 Imported by: 3

README

Go API client for api

The Eliona REST API enables unified access to the resources and data of an Eliona environment.

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.6.12
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://eliona.io

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
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/v2"

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 api.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 api.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 api.ContextOperationServerIndices and api.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 https://name.eliona.io/v2

Class Method HTTP request Description
AgentsAPI GetAgentByClassAndId Get /agents/{agent-class}/{agent-id} Information about an agent
AgentsAPI GetAgentDeviceById Get /agent-devices/{agent-class}/{agent-device-id} Information about agent device
AgentsAPI GetAgentDeviceMappingById Get /agent-device-mappings/{agent-class}/{agent-device-mapping-id} Information about agent device mapping
AgentsAPI GetAgentDeviceMappingsByDeviceId Get /agent-devices/{agent-class}/{agent-device-id}/mappings Information about agent device mappings
AgentsAPI GetAgentDevicesByAgentId 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 PostAgentByClass Post /agents/{agent-class} Create an agent
AgentsAPI PostAgentDeviceByAgentId Post /agents/{agent-class}/{agent-id}/devices Create an agent device
AgentsAPI PostAgentDeviceMappingByDeviceId Post /agent-devices/{agent-class}/{agent-device-id}/mappings Create an agent device mapping
AgentsAPI PutAgentByClass Put /agents/{agent-class} Create or update an agent
AgentsAPI PutAgentByClassAndId Put /agents/{agent-class}/{agent-id} Update an agent
AgentsAPI PutAgentDeviceByAgentId Put /agents/{agent-class}/{agent-id}/devices Create or update an agent device
AgentsAPI PutAgentDeviceById Put /agent-devices/{agent-class}/{agent-device-id} Update an agent device
AgentsAPI PutAgentDeviceMappingByDeviceId Put /agent-devices/{agent-class}/{agent-device-id}/mappings Create or update an agent device mapping
AgentsAPI PutAgentDeviceMappingById Put /agent-device-mappings/{agent-class}/{agent-device-mapping-id} 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
AggregationsAPI PutAggregation Put /aggregations Creates or updates an aggregation
AggregationsAPI PutAggregationById Put /aggregations/{aggregation-id} Updates an aggregation
AlarmRulesAPI DeleteAlarmRuleById Delete /alarm-rules/{alarm-rule-id} Delete an alarm rule
AlarmRulesAPI GetAlarmRuleById Get /alarm-rules/{alarm-rule-id} Information about an alarm rule
AlarmRulesAPI GetAlarmRules Get /alarm-rules Information about alarm rules
AlarmRulesAPI PostAlarmRule Post /alarm-rules Create an alarm rule
AlarmRulesAPI PutAlarmRule Put /alarm-rules Create or update an alarm rule
AlarmRulesAPI PutAlarmRuleById Put /alarm-rules/{alarm-rule-id} 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 ListenAlarm Get /alarm-listener WebSocket connection for alarm changes
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 PostAssetType Post /asset-types Create an asset type
AssetTypesAPI PostAssetTypeAttribute Post /asset-types/{asset-type-name}/attributes Create asset type attribute
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
AssetTypesAPI PutAssetTypeByName Put /asset-types/{asset-type-name} Update an asset type
AssetsAPI DeleteAssetById Delete /assets/{asset-id} Delete an asset
AssetsAPI DeleteBulkAssets Delete /assets-bulk Delete a list of assets
AssetsAPI DryRunDeleteBulkAssets Delete /assets-bulk/dry-run Dry-run for deleting a list of assets
AssetsAPI DryRunPostBulkAssets Post /assets-bulk/dry-run Dry-run for creating a list of assets
AssetsAPI DryRunPutBulkAssets Put /assets-bulk/dry-run Dry-run for creating or updating a list of assets
AssetsAPI GetAssetById Get /assets/{asset-id} Information about an asset
AssetsAPI GetAssets Get /assets Information about assets
AssetsAPI GetAttributeDisplay Get /attribute-display How attributes are displayed
AssetsAPI ListenAsset Get /asset-listener WebSocket connection for asset changes
AssetsAPI PostAsset Post /assets Create an asset
AssetsAPI PostBulkAssets Post /assets-bulk Create a list of assets
AssetsAPI PutAsset Put /assets Create or update an asset
AssetsAPI PutAssetById Put /assets/{asset-id} Update an asset
AssetsAPI PutAttributeDisplay Put /attribute-display Create or update how attributes are displayed
AssetsAPI PutBulkAssets Put /assets-bulk Create or update a list of assets
CalculationRulesAPI DeleteCalculationRuleById Delete /calculation-rules/{calculation-rule-id} Delete a calculation rule
CalculationRulesAPI GetCalculationRuleById Get /calculation-rules/{calculation-rule-id} Information about a calculation rules rule
CalculationRulesAPI GetCalculationRules Get /calculation-rules Information about calculation rules
CalculationRulesAPI PutCalculationRule Put /calculation-rules Creates or updates a calculation rule
CalculationRulesAPI PutCalculationRuleById Put /calculation-rules/{calculation-rule-id} Update a calculation rule
CommunicationAPI GetMessageReceiptById Get /message-receipts/{message-id} Information about a message
CommunicationAPI PostMail Post /send-mail Send e-mail
CommunicationAPI PostNotification Post /send-notification Send notification
DashboardsAPI GetDashboardById Get /dashboards/{dashboard-id} Information about a dashboard
DashboardsAPI GetDashboards Get /dashboards Information about dashboards
DashboardsAPI PostDashboard Post /dashboards Creates a new dashboard
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 PutBulkData Put /data-bulk Create or update multiple asset data
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 PostNode Post /nodes Create a node
NodesAPI PutNode Put /nodes Create or update a node
NodesAPI PutNodeByIdent Put /nodes/{node-ident} Update a node
ProjectsAPI GetProjectById Get /projects/{project-id} Information about a project
ProjectsAPI GetProjects Get /projects Information about projects
ProjectsAPI PutProject Put /projects Create or update a project
QRCodesAPI GetQrCodeByAssetId Get /qr-codes/assets/{asset-id} QR code for assets
TagsAPI GetTagByName Get /tags/{tag-name} Information about a tag
TagsAPI GetTags Get /tags Information about tags
TagsAPI PutTag Put /tags Create or update a tag
UsersAPI GetUserById Get /users/{user-id} Information about an user
UsersAPI GetUsers Get /users Information about users
UsersAPI PutUser Put /users Create or update an user
VersionAPI GetOpenAPI Get /version/openapi.json OpenAPI specification for this API version
VersionAPI GetVersion Get /version Version of the API
WidgetsAPI GetDashboardWidgets Get /dashboards/{dashboard-id}/widgets Information about widgets on dashboard
WidgetsAPI PostDashboardWidget Post /dashboards/{dashboard-id}/widgets Adds widget to dashboard
WidgetsTypesAPI DeleteWidgetTypeByName Delete /widget-types/{widget-type-name} Delete a widget type
WidgetsTypesAPI GetWidgetTypeByName Get /widget-types/{widget-type-name} Information about a widget type
WidgetsTypesAPI GetWidgetTypes Get /widget-types List of widget types
WidgetsTypesAPI PostWidgetType Post /widget-types Create a widget type
WidgetsTypesAPI PutWidgetType Put /widget-types Create or update a widget type
WidgetsTypesAPI PutWidgetTypeByName Put /widget-types/{widget-type-name} Update a widget type

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

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.

Example

auth := context.WithValue(
		context.Background(),
		api.ContextAPIKeys,
		map[string]api.APIKey{
			"X-API-Key": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)
BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), api.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

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

hello@eliona.io

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedAgentClassEnumValues = []AgentClass{
	"iosys",
	"mbus",
}

All allowed values of AgentClass enum

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

All allowed values of AlarmPriority enum

View Source
var AllowedAssetIdentifyByEnumValues = []AssetIdentifyBy{
	"resourceId",
	"deviceId",
	"id",
	"gai-projId",
}

All allowed values of AssetIdentifyBy enum

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

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 IsNil added in v2.5.3

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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

	CalculationRulesAPI *CalculationRulesAPIService

	CommunicationAPI *CommunicationAPIService

	DashboardsAPI *DashboardsAPIService

	DataAPI *DataAPIService

	NodesAPI *NodesAPIService

	ProjectsAPI *ProjectsAPIService

	QRCodesAPI *QRCodesAPIService

	TagsAPI *TagsAPIService

	UsersAPI *UsersAPIService

	VersionAPI *VersionAPIService

	WidgetsAPI *WidgetsAPIService

	WidgetsTypesAPI *WidgetsTypesAPIService
	// contains filtered or unexported fields
}

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

type Agent struct {
	// Unique id for the agent
	Id NullableInt32 `json:"id,omitempty"`
	// Id of the node where the agent is installed
	NodeId NullableString `json:"nodeId,omitempty"`
	// ID of the corresponding asset
	AssetId NullableInt32      `json:"assetId,omitempty"`
	Class   NullableAgentClass `json:"class,omitempty"`
	// Descriptive text for the agent
	Description NullableString `json:"description,omitempty"`
	// Is the agent enabled or not
	Enable *bool `json:"enable,omitempty"`
	// Individual configuration depending on agent class
	Config map[string]interface{} `json:"config,omitempty"`
}

Agent An agent installed on an edge node

func NewAgent

func NewAgent() *Agent

NewAgent instantiates a new Agent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAgentWithDefaults

func NewAgentWithDefaults() *Agent

NewAgentWithDefaults instantiates a new Agent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Agent) GetAssetId

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

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

func (o *Agent) GetClass() AgentClass

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

func (*Agent) GetClassOk

func (o *Agent) GetClassOk() (*AgentClass, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Agent) GetConfig

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

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

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

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

func (o *Agent) GetEnable() bool

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

func (*Agent) GetEnableOk

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

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

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

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

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

func (o *Agent) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*Agent) HasClass

func (o *Agent) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*Agent) HasConfig

func (o *Agent) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Agent) HasDescription

func (o *Agent) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Agent) HasEnable

func (o *Agent) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*Agent) HasId

func (o *Agent) HasId() bool

HasId returns a boolean if a field has been set.

func (*Agent) HasNodeId

func (o *Agent) HasNodeId() bool

HasNodeId returns a boolean if a field has been set.

func (Agent) MarshalJSON

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

func (*Agent) SetAssetId

func (o *Agent) SetAssetId(v int32)

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

func (*Agent) SetAssetIdNil

func (o *Agent) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*Agent) SetClass

func (o *Agent) SetClass(v AgentClass)

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

func (*Agent) SetClassNil

func (o *Agent) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*Agent) SetConfig

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

func (o *Agent) SetDescription(v string)

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

func (*Agent) SetDescriptionNil

func (o *Agent) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Agent) SetEnable

func (o *Agent) SetEnable(v bool)

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

func (*Agent) SetId

func (o *Agent) SetId(v int32)

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

func (*Agent) SetIdNil

func (o *Agent) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Agent) SetNodeId

func (o *Agent) SetNodeId(v string)

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

func (*Agent) SetNodeIdNil

func (o *Agent) SetNodeIdNil()

SetNodeIdNil sets the value for NodeId to be an explicit nil

func (Agent) ToMap added in v2.4.8

func (o Agent) ToMap() (map[string]interface{}, error)

func (*Agent) UnsetAssetId

func (o *Agent) UnsetAssetId()

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

func (*Agent) UnsetClass

func (o *Agent) UnsetClass()

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

func (*Agent) UnsetDescription

func (o *Agent) UnsetDescription()

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

func (*Agent) UnsetId

func (o *Agent) UnsetId()

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

func (*Agent) UnsetNodeId

func (o *Agent) UnsetNodeId()

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

type AgentClass

type AgentClass string

AgentClass The class of an agent

const (
	AGENT_CLASS_IOSYS AgentClass = "iosys"
	AGENT_CLASS_MBUS  AgentClass = "mbus"
)

List of AgentClass

func NewAgentClassFromValue

func NewAgentClassFromValue(v string) (*AgentClass, error)

NewAgentClassFromValue returns a pointer to a valid AgentClass for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AgentClass) IsValid

func (v AgentClass) IsValid() bool

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

func (AgentClass) Ptr

func (v AgentClass) Ptr() *AgentClass

Ptr returns reference to AgentClass value

func (*AgentClass) UnmarshalJSON

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

type AgentDevice

type AgentDevice struct {
	IosysAgentDevice *IosysAgentDevice
	MbusAgentDevice  *MbusAgentDevice
}

AgentDevice struct for AgentDevice

func (*AgentDevice) MarshalJSON

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

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

func (*AgentDevice) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type AgentDeviceGeneral

type AgentDeviceGeneral struct {
	Class NullableAgentClass `json:"class,omitempty"`
	// Unique id for the device
	Id NullableInt32 `json:"id,omitempty"`
	// The id of the agent the device belongs to
	AgentId NullableInt32 `json:"agentId,omitempty"`
	// Is the device enabled or not
	Enable *bool `json:"enable,omitempty"`
}

AgentDeviceGeneral A general device for an agent

func NewAgentDeviceGeneral

func NewAgentDeviceGeneral() *AgentDeviceGeneral

NewAgentDeviceGeneral instantiates a new AgentDeviceGeneral object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAgentDeviceGeneralWithDefaults

func NewAgentDeviceGeneralWithDefaults() *AgentDeviceGeneral

NewAgentDeviceGeneralWithDefaults instantiates a new AgentDeviceGeneral object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AgentDeviceGeneral) GetAgentId

func (o *AgentDeviceGeneral) GetAgentId() int32

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

func (*AgentDeviceGeneral) GetAgentIdOk

func (o *AgentDeviceGeneral) GetAgentIdOk() (*int32, bool)

GetAgentIdOk returns a tuple with the AgentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentDeviceGeneral) GetClass

func (o *AgentDeviceGeneral) GetClass() AgentClass

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

func (*AgentDeviceGeneral) GetClassOk

func (o *AgentDeviceGeneral) GetClassOk() (*AgentClass, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentDeviceGeneral) GetEnable

func (o *AgentDeviceGeneral) GetEnable() bool

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

func (*AgentDeviceGeneral) GetEnableOk

func (o *AgentDeviceGeneral) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AgentDeviceGeneral) GetId

func (o *AgentDeviceGeneral) GetId() int32

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

func (*AgentDeviceGeneral) GetIdOk

func (o *AgentDeviceGeneral) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentDeviceGeneral) HasAgentId

func (o *AgentDeviceGeneral) HasAgentId() bool

HasAgentId returns a boolean if a field has been set.

func (*AgentDeviceGeneral) HasClass

func (o *AgentDeviceGeneral) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*AgentDeviceGeneral) HasEnable

func (o *AgentDeviceGeneral) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*AgentDeviceGeneral) HasId

func (o *AgentDeviceGeneral) HasId() bool

HasId returns a boolean if a field has been set.

func (AgentDeviceGeneral) MarshalJSON

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

func (*AgentDeviceGeneral) SetAgentId

func (o *AgentDeviceGeneral) SetAgentId(v int32)

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

func (*AgentDeviceGeneral) SetAgentIdNil

func (o *AgentDeviceGeneral) SetAgentIdNil()

SetAgentIdNil sets the value for AgentId to be an explicit nil

func (*AgentDeviceGeneral) SetClass

func (o *AgentDeviceGeneral) SetClass(v AgentClass)

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

func (*AgentDeviceGeneral) SetClassNil

func (o *AgentDeviceGeneral) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*AgentDeviceGeneral) SetEnable

func (o *AgentDeviceGeneral) SetEnable(v bool)

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

func (*AgentDeviceGeneral) SetId

func (o *AgentDeviceGeneral) SetId(v int32)

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

func (*AgentDeviceGeneral) SetIdNil

func (o *AgentDeviceGeneral) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (AgentDeviceGeneral) ToMap added in v2.4.8

func (o AgentDeviceGeneral) ToMap() (map[string]interface{}, error)

func (*AgentDeviceGeneral) UnsetAgentId

func (o *AgentDeviceGeneral) UnsetAgentId()

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

func (*AgentDeviceGeneral) UnsetClass

func (o *AgentDeviceGeneral) UnsetClass()

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

func (*AgentDeviceGeneral) UnsetId

func (o *AgentDeviceGeneral) UnsetId()

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

type AgentDeviceMapping

type AgentDeviceMapping struct {
	IosysAgentDeviceMapping *IosysAgentDeviceMapping
	MbusAgentDeviceMapping  *MbusAgentDeviceMapping
}

AgentDeviceMapping struct for AgentDeviceMapping

func (*AgentDeviceMapping) MarshalJSON

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

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

func (*AgentDeviceMapping) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type AgentDeviceMappingGeneral

type AgentDeviceMappingGeneral struct {
	Class NullableAgentClass `json:"class,omitempty"`
	// Unique id for the mapping
	Id NullableInt32 `json:"id,omitempty"`
	// The id of the device the mapping belongs to
	DeviceId NullableInt32 `json:"deviceId,omitempty"`
	// Is the mapping enabled or not
	Enable *bool `json:"enable,omitempty"`
	// ID of the corresponding asset
	AssetId NullableInt32 `json:"assetId,omitempty"`
	Subtype DataSubtype   `json:"subtype"`
	// Name of the attribute to map
	Attribute string `json:"attribute"`
}

AgentDeviceMappingGeneral A general mapping of attributes for an agent

func NewAgentDeviceMappingGeneral

func NewAgentDeviceMappingGeneral(subtype DataSubtype, attribute string) *AgentDeviceMappingGeneral

NewAgentDeviceMappingGeneral instantiates a new AgentDeviceMappingGeneral object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAgentDeviceMappingGeneralWithDefaults

func NewAgentDeviceMappingGeneralWithDefaults() *AgentDeviceMappingGeneral

NewAgentDeviceMappingGeneralWithDefaults instantiates a new AgentDeviceMappingGeneral object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AgentDeviceMappingGeneral) GetAssetId

func (o *AgentDeviceMappingGeneral) GetAssetId() int32

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

func (*AgentDeviceMappingGeneral) GetAssetIdOk

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

GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentDeviceMappingGeneral) GetAttribute

func (o *AgentDeviceMappingGeneral) GetAttribute() string

GetAttribute returns the Attribute field value

func (*AgentDeviceMappingGeneral) GetAttributeOk

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

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

func (*AgentDeviceMappingGeneral) GetClass

func (o *AgentDeviceMappingGeneral) GetClass() AgentClass

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

func (*AgentDeviceMappingGeneral) GetClassOk

func (o *AgentDeviceMappingGeneral) GetClassOk() (*AgentClass, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentDeviceMappingGeneral) GetDeviceId

func (o *AgentDeviceMappingGeneral) GetDeviceId() int32

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

func (*AgentDeviceMappingGeneral) GetDeviceIdOk

func (o *AgentDeviceMappingGeneral) GetDeviceIdOk() (*int32, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentDeviceMappingGeneral) GetEnable

func (o *AgentDeviceMappingGeneral) GetEnable() bool

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

func (*AgentDeviceMappingGeneral) GetEnableOk

func (o *AgentDeviceMappingGeneral) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AgentDeviceMappingGeneral) GetId

func (o *AgentDeviceMappingGeneral) GetId() int32

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

func (*AgentDeviceMappingGeneral) GetIdOk

func (o *AgentDeviceMappingGeneral) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AgentDeviceMappingGeneral) GetSubtype

func (o *AgentDeviceMappingGeneral) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*AgentDeviceMappingGeneral) GetSubtypeOk

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

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

func (*AgentDeviceMappingGeneral) HasAssetId

func (o *AgentDeviceMappingGeneral) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*AgentDeviceMappingGeneral) HasClass

func (o *AgentDeviceMappingGeneral) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*AgentDeviceMappingGeneral) HasDeviceId

func (o *AgentDeviceMappingGeneral) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*AgentDeviceMappingGeneral) HasEnable

func (o *AgentDeviceMappingGeneral) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*AgentDeviceMappingGeneral) HasId

func (o *AgentDeviceMappingGeneral) HasId() bool

HasId returns a boolean if a field has been set.

func (AgentDeviceMappingGeneral) MarshalJSON

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

func (*AgentDeviceMappingGeneral) SetAssetId

func (o *AgentDeviceMappingGeneral) SetAssetId(v int32)

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

func (*AgentDeviceMappingGeneral) SetAssetIdNil

func (o *AgentDeviceMappingGeneral) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*AgentDeviceMappingGeneral) SetAttribute

func (o *AgentDeviceMappingGeneral) SetAttribute(v string)

SetAttribute sets field value

func (*AgentDeviceMappingGeneral) SetClass

func (o *AgentDeviceMappingGeneral) SetClass(v AgentClass)

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

func (*AgentDeviceMappingGeneral) SetClassNil

func (o *AgentDeviceMappingGeneral) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*AgentDeviceMappingGeneral) SetDeviceId

func (o *AgentDeviceMappingGeneral) SetDeviceId(v int32)

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

func (*AgentDeviceMappingGeneral) SetDeviceIdNil

func (o *AgentDeviceMappingGeneral) SetDeviceIdNil()

SetDeviceIdNil sets the value for DeviceId to be an explicit nil

func (*AgentDeviceMappingGeneral) SetEnable

func (o *AgentDeviceMappingGeneral) SetEnable(v bool)

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

func (*AgentDeviceMappingGeneral) SetId

func (o *AgentDeviceMappingGeneral) SetId(v int32)

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

func (*AgentDeviceMappingGeneral) SetIdNil

func (o *AgentDeviceMappingGeneral) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*AgentDeviceMappingGeneral) SetSubtype

func (o *AgentDeviceMappingGeneral) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (AgentDeviceMappingGeneral) ToMap added in v2.4.8

func (o AgentDeviceMappingGeneral) ToMap() (map[string]interface{}, error)

func (*AgentDeviceMappingGeneral) UnmarshalJSON added in v2.5.9

func (o *AgentDeviceMappingGeneral) UnmarshalJSON(data []byte) (err error)

func (*AgentDeviceMappingGeneral) UnsetAssetId

func (o *AgentDeviceMappingGeneral) UnsetAssetId()

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

func (*AgentDeviceMappingGeneral) UnsetClass

func (o *AgentDeviceMappingGeneral) UnsetClass()

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

func (*AgentDeviceMappingGeneral) UnsetDeviceId

func (o *AgentDeviceMappingGeneral) UnsetDeviceId()

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

func (*AgentDeviceMappingGeneral) UnsetId

func (o *AgentDeviceMappingGeneral) UnsetId()

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

type AgentsAPIService added in v2.5.3

type AgentsAPIService service

AgentsAPIService AgentsAPI service

func (*AgentsAPIService) GetAgentByClassAndId added in v2.5.3

func (a *AgentsAPIService) GetAgentByClassAndId(ctx context.Context, agentId int32, agentClass string) ApiGetAgentByClassAndIdRequest

GetAgentByClassAndId Information about an agent

Gets information about an agent.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId The id of the agent
@param agentClass The class of an agent
@return ApiGetAgentByClassAndIdRequest

func (*AgentsAPIService) GetAgentByClassAndIdExecute added in v2.5.3

func (a *AgentsAPIService) GetAgentByClassAndIdExecute(r ApiGetAgentByClassAndIdRequest) (*Agent, *http.Response, error)

Execute executes the request

@return Agent

func (*AgentsAPIService) GetAgentDeviceById added in v2.5.3

func (a *AgentsAPIService) GetAgentDeviceById(ctx context.Context, agentClass string, agentDeviceId int32) ApiGetAgentDeviceByIdRequest

GetAgentDeviceById Information about agent device

Gets information about agent device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentDeviceId The id of the device
@return ApiGetAgentDeviceByIdRequest

func (*AgentsAPIService) GetAgentDeviceByIdExecute added in v2.5.3

func (a *AgentsAPIService) GetAgentDeviceByIdExecute(r ApiGetAgentDeviceByIdRequest) ([]AgentDevice, *http.Response, error)

Execute executes the request

@return []AgentDevice

func (*AgentsAPIService) GetAgentDeviceMappingById added in v2.5.3

func (a *AgentsAPIService) GetAgentDeviceMappingById(ctx context.Context, agentClass string, agentDeviceMappingId int32) ApiGetAgentDeviceMappingByIdRequest

GetAgentDeviceMappingById Information about agent device mapping

Gets information about agent device mapping.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentDeviceMappingId The id of the device mapping
@return ApiGetAgentDeviceMappingByIdRequest

func (*AgentsAPIService) GetAgentDeviceMappingByIdExecute added in v2.5.3

func (a *AgentsAPIService) GetAgentDeviceMappingByIdExecute(r ApiGetAgentDeviceMappingByIdRequest) ([]AgentDeviceMapping, *http.Response, error)

Execute executes the request

@return []AgentDeviceMapping

func (*AgentsAPIService) GetAgentDeviceMappingsByDeviceId added in v2.5.3

func (a *AgentsAPIService) GetAgentDeviceMappingsByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiGetAgentDeviceMappingsByDeviceIdRequest

GetAgentDeviceMappingsByDeviceId Information about agent device mappings

Gets information about mappings between agent and eliona.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentDeviceId The id of the device
@return ApiGetAgentDeviceMappingsByDeviceIdRequest

func (*AgentsAPIService) GetAgentDeviceMappingsByDeviceIdExecute added in v2.5.3

func (a *AgentsAPIService) GetAgentDeviceMappingsByDeviceIdExecute(r ApiGetAgentDeviceMappingsByDeviceIdRequest) ([]AgentDeviceMapping, *http.Response, error)

Execute executes the request

@return []AgentDeviceMapping

func (*AgentsAPIService) GetAgentDevicesByAgentId added in v2.5.3

func (a *AgentsAPIService) GetAgentDevicesByAgentId(ctx context.Context, agentClass string, agentId int32) ApiGetAgentDevicesByAgentIdRequest

GetAgentDevicesByAgentId Information about agent devices

Gets information about agent devices.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentId The id of the agent
@return ApiGetAgentDevicesByAgentIdRequest

func (*AgentsAPIService) GetAgentDevicesByAgentIdExecute added in v2.5.3

func (a *AgentsAPIService) GetAgentDevicesByAgentIdExecute(r ApiGetAgentDevicesByAgentIdRequest) ([]AgentDevice, *http.Response, error)

Execute executes the request

@return []AgentDevice

func (*AgentsAPIService) GetAgents added in v2.5.3

GetAgents Information about agents

Gets information about agents.

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

func (*AgentsAPIService) GetAgentsByClass added in v2.5.3

func (a *AgentsAPIService) GetAgentsByClass(ctx context.Context, agentClass string) ApiGetAgentsByClassRequest

GetAgentsByClass Information about agents for a specific class

Gets information about agents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@return ApiGetAgentsByClassRequest

func (*AgentsAPIService) GetAgentsByClassExecute added in v2.5.3

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

Execute executes the request

@return []Agent

func (*AgentsAPIService) GetAgentsExecute added in v2.5.3

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

Execute executes the request

@return []Agent

func (*AgentsAPIService) PostAgentByClass added in v2.5.3

func (a *AgentsAPIService) PostAgentByClass(ctx context.Context, agentClass string) ApiPostAgentByClassRequest

PostAgentByClass Create an agent

Create a new agent for a specific class

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@return ApiPostAgentByClassRequest

func (*AgentsAPIService) PostAgentByClassExecute added in v2.5.3

func (a *AgentsAPIService) PostAgentByClassExecute(r ApiPostAgentByClassRequest) (*Agent, *http.Response, error)

Execute executes the request

@return Agent

func (*AgentsAPIService) PostAgentDeviceByAgentId added in v2.5.3

func (a *AgentsAPIService) PostAgentDeviceByAgentId(ctx context.Context, agentClass string, agentId int32) ApiPostAgentDeviceByAgentIdRequest

PostAgentDeviceByAgentId Create an agent device

Create a new agent device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentId The id of the agent
@return ApiPostAgentDeviceByAgentIdRequest

func (*AgentsAPIService) PostAgentDeviceByAgentIdExecute added in v2.5.3

func (a *AgentsAPIService) PostAgentDeviceByAgentIdExecute(r ApiPostAgentDeviceByAgentIdRequest) (*AgentDevice, *http.Response, error)

Execute executes the request

@return AgentDevice

func (*AgentsAPIService) PostAgentDeviceMappingByDeviceId added in v2.5.3

func (a *AgentsAPIService) PostAgentDeviceMappingByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiPostAgentDeviceMappingByDeviceIdRequest

PostAgentDeviceMappingByDeviceId Create an agent device mapping

Create a new agent device mapping.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentDeviceId The id of the device
@return ApiPostAgentDeviceMappingByDeviceIdRequest

func (*AgentsAPIService) PostAgentDeviceMappingByDeviceIdExecute added in v2.5.3

func (a *AgentsAPIService) PostAgentDeviceMappingByDeviceIdExecute(r ApiPostAgentDeviceMappingByDeviceIdRequest) (*AgentDeviceMapping, *http.Response, error)

Execute executes the request

@return AgentDeviceMapping

func (*AgentsAPIService) PutAgentByClass added in v2.5.3

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

PutAgentByClass Create or update an agent

Deprecated - use POST /agents/{agent-class} for creating and PUT /agents/{agent-class}/{agent-id} for updating

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@return ApiPutAgentByClassRequest

Deprecated

func (*AgentsAPIService) PutAgentByClassAndId added in v2.5.3

func (a *AgentsAPIService) PutAgentByClassAndId(ctx context.Context, agentId int32, agentClass string) ApiPutAgentByClassAndIdRequest

PutAgentByClassAndId Update an agent

Update an agent.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId The id of the agent
@param agentClass The class of an agent
@return ApiPutAgentByClassAndIdRequest

func (*AgentsAPIService) PutAgentByClassAndIdExecute added in v2.5.3

func (a *AgentsAPIService) PutAgentByClassAndIdExecute(r ApiPutAgentByClassAndIdRequest) (*Agent, *http.Response, error)

Execute executes the request

@return Agent

func (*AgentsAPIService) PutAgentByClassExecute added in v2.5.3

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

Execute executes the request

@return Agent

Deprecated

func (*AgentsAPIService) PutAgentDeviceByAgentId added in v2.5.3

func (a *AgentsAPIService) PutAgentDeviceByAgentId(ctx context.Context, agentClass string, agentId int32) ApiPutAgentDeviceByAgentIdRequest

PutAgentDeviceByAgentId Create or update an agent device

Deprecated - use POST /agents/{agent-class}/{agent-id}/devices for creating and PUT /agent-devices/{agent-class}/{agent-device-id} for updating

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentId The id of the agent
@return ApiPutAgentDeviceByAgentIdRequest

Deprecated

func (*AgentsAPIService) PutAgentDeviceByAgentIdExecute added in v2.5.3

func (a *AgentsAPIService) PutAgentDeviceByAgentIdExecute(r ApiPutAgentDeviceByAgentIdRequest) (*AgentDevice, *http.Response, error)

Execute executes the request

@return AgentDevice

Deprecated

func (*AgentsAPIService) PutAgentDeviceById added in v2.5.3

func (a *AgentsAPIService) PutAgentDeviceById(ctx context.Context, agentClass string, agentDeviceId int32) ApiPutAgentDeviceByIdRequest

PutAgentDeviceById Update an agent device

Update a new agent device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentDeviceId The id of the device
@return ApiPutAgentDeviceByIdRequest

func (*AgentsAPIService) PutAgentDeviceByIdExecute added in v2.5.3

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

Execute executes the request

@return AgentDevice

func (*AgentsAPIService) PutAgentDeviceMappingByDeviceId added in v2.5.3

func (a *AgentsAPIService) PutAgentDeviceMappingByDeviceId(ctx context.Context, agentClass string, agentDeviceId int32) ApiPutAgentDeviceMappingByDeviceIdRequest

PutAgentDeviceMappingByDeviceId Create or update an agent device mapping

Deprecated - Use POST /agent-devices/{agent-class}/{agent-device-id}/mappings for creating and /agent-device-mappings/{agent-class}/{agent-device-mapping-id} for updating

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentDeviceId The id of the device
@return ApiPutAgentDeviceMappingByDeviceIdRequest

Deprecated

func (*AgentsAPIService) PutAgentDeviceMappingByDeviceIdExecute added in v2.5.3

func (a *AgentsAPIService) PutAgentDeviceMappingByDeviceIdExecute(r ApiPutAgentDeviceMappingByDeviceIdRequest) (*AgentDeviceMapping, *http.Response, error)

Execute executes the request

@return AgentDeviceMapping

Deprecated

func (*AgentsAPIService) PutAgentDeviceMappingById added in v2.5.3

func (a *AgentsAPIService) PutAgentDeviceMappingById(ctx context.Context, agentClass string, agentDeviceMappingId int32) ApiPutAgentDeviceMappingByIdRequest

PutAgentDeviceMappingById Update an agent device mapping

Update a new agent device mapping.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentClass The class of an agent
@param agentDeviceMappingId The id of the device mapping
@return ApiPutAgentDeviceMappingByIdRequest

func (*AgentsAPIService) PutAgentDeviceMappingByIdExecute added in v2.5.3

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

Execute executes the request

@return AgentDeviceMapping

type Aggregation

type Aggregation struct {
	// ID of the aggregation
	Id NullableInt32 `json:"id,omitempty"`
	// ID of the corresponding asset
	AssetId int32       `json:"assetId"`
	Subtype DataSubtype `json:"subtype"`
	// Name of the attribute which holds the data points
	Attribute *string `json:"attribute,omitempty"`
	// Calculation mode
	Mode string `json:"mode"`
	// calculation interval
	Raster NullableString `json:"raster,omitempty"`
}

Aggregation Defines the aggregation of data points

func NewAggregation

func NewAggregation(assetId int32, subtype DataSubtype, mode string) *Aggregation

NewAggregation instantiates a new Aggregation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAggregationWithDefaults

func NewAggregationWithDefaults() *Aggregation

NewAggregationWithDefaults instantiates a new Aggregation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Aggregation) GetAssetId

func (o *Aggregation) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*Aggregation) GetAssetIdOk

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

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

func (*Aggregation) GetAttribute

func (o *Aggregation) GetAttribute() string

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

func (*Aggregation) GetAttributeOk

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

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

func (*Aggregation) GetId

func (o *Aggregation) GetId() int32

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

func (*Aggregation) GetIdOk

func (o *Aggregation) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Aggregation) GetMode

func (o *Aggregation) GetMode() string

GetMode returns the Mode field value

func (*Aggregation) GetModeOk

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

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

func (*Aggregation) GetRaster

func (o *Aggregation) GetRaster() string

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

func (*Aggregation) GetRasterOk

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

GetRasterOk returns a tuple with the Raster field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Aggregation) GetSubtype

func (o *Aggregation) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*Aggregation) GetSubtypeOk

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

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

func (*Aggregation) HasAttribute

func (o *Aggregation) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*Aggregation) HasId

func (o *Aggregation) HasId() bool

HasId returns a boolean if a field has been set.

func (*Aggregation) HasRaster

func (o *Aggregation) HasRaster() bool

HasRaster returns a boolean if a field has been set.

func (Aggregation) MarshalJSON

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

func (*Aggregation) SetAssetId

func (o *Aggregation) SetAssetId(v int32)

SetAssetId sets field value

func (*Aggregation) SetAttribute

func (o *Aggregation) SetAttribute(v string)

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

func (*Aggregation) SetId

func (o *Aggregation) SetId(v int32)

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

func (*Aggregation) SetIdNil

func (o *Aggregation) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Aggregation) SetMode

func (o *Aggregation) SetMode(v string)

SetMode sets field value

func (*Aggregation) SetRaster

func (o *Aggregation) SetRaster(v string)

SetRaster gets a reference to the given NullableString and assigns it to the Raster field.

func (*Aggregation) SetRasterNil

func (o *Aggregation) SetRasterNil()

SetRasterNil sets the value for Raster to be an explicit nil

func (*Aggregation) SetSubtype

func (o *Aggregation) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (Aggregation) ToMap added in v2.4.8

func (o Aggregation) ToMap() (map[string]interface{}, error)

func (*Aggregation) UnmarshalJSON added in v2.5.9

func (o *Aggregation) UnmarshalJSON(data []byte) (err error)

func (*Aggregation) UnsetId

func (o *Aggregation) UnsetId()

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

func (*Aggregation) UnsetRaster

func (o *Aggregation) UnsetRaster()

UnsetRaster ensures that no value is present for Raster, not even an explicit nil

type AggregationsAPIService added in v2.5.3

type AggregationsAPIService service

AggregationsAPIService AggregationsAPI service

func (*AggregationsAPIService) DeleteAggregationById added in v2.5.3

func (a *AggregationsAPIService) DeleteAggregationById(ctx context.Context, aggregationId int32) ApiDeleteAggregationByIdRequest

DeleteAggregationById Delete an aggregation

Deletes an aggregation by the given id.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param aggregationId The id of the aggregation
@return ApiDeleteAggregationByIdRequest

func (*AggregationsAPIService) DeleteAggregationByIdExecute added in v2.5.3

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

Execute executes the request

func (*AggregationsAPIService) GetAggregationById added in v2.5.3

func (a *AggregationsAPIService) GetAggregationById(ctx context.Context, aggregationId int32) ApiGetAggregationByIdRequest

GetAggregationById Information about an aggregation

Gets information about an aggregation by the given id.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param aggregationId The id of the aggregation
@return ApiGetAggregationByIdRequest

func (*AggregationsAPIService) GetAggregationByIdExecute added in v2.5.3

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

Execute executes the request

@return Aggregation

func (*AggregationsAPIService) GetAggregations added in v2.5.3

GetAggregations Information about aggregations

Gets a list of aggregations

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

func (*AggregationsAPIService) GetAggregationsExecute added in v2.5.3

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

Execute executes the request

@return []Aggregation

func (*AggregationsAPIService) PostAggregation added in v2.5.3

PostAggregation Creates an aggregation

Creates a new aggregation.

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

func (*AggregationsAPIService) PostAggregationExecute added in v2.5.3

Execute executes the request

@return Aggregation

func (*AggregationsAPIService) PutAggregation added in v2.5.3

PutAggregation Creates or updates an aggregation

Creates an aggregation or updates if already exists. Uses the unique combination of asset id, subtype, attribute and raster for updating.

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

func (*AggregationsAPIService) PutAggregationById added in v2.5.3

func (a *AggregationsAPIService) PutAggregationById(ctx context.Context, aggregationId int32) ApiPutAggregationByIdRequest

PutAggregationById Updates an aggregation

Updates an aggregation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param aggregationId The id of the aggregation
@return ApiPutAggregationByIdRequest

func (*AggregationsAPIService) PutAggregationByIdExecute added in v2.5.3

func (a *AggregationsAPIService) PutAggregationByIdExecute(r ApiPutAggregationByIdRequest) (*Aggregation, *http.Response, error)

Execute executes the request

@return Aggregation

func (*AggregationsAPIService) PutAggregationExecute added in v2.5.3

Execute executes the request

@return Aggregation

type Alarm

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.yaml 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

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

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

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

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

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

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

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

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

func (o *Alarm) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*Alarm) GetAssetIdOk

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

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

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

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

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

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

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

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

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

func (o *Alarm) GetOccurrences() int32

GetOccurrences returns the Occurrences field value

func (*Alarm) GetOccurrencesOk

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

func (o *Alarm) GetPriority() AlarmPriority

GetPriority returns the Priority field value

func (*Alarm) GetPriorityOk

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

func (o *Alarm) GetRequiresAcknowledge() bool

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

func (*Alarm) GetRequiresAcknowledgeOk

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

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

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

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

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

func (o *Alarm) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*Alarm) GetSubtypeOk

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

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

GetTimestamp returns the Timestamp field value

func (*Alarm) GetTimestampOk

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

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

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

func (o *Alarm) HasAcknowledgeText() bool

HasAcknowledgeText returns a boolean if a field has been set.

func (*Alarm) HasAcknowledgeTimestamp

func (o *Alarm) HasAcknowledgeTimestamp() bool

HasAcknowledgeTimestamp returns a boolean if a field has been set.

func (*Alarm) HasAcknowledgeUserId

func (o *Alarm) HasAcknowledgeUserId() bool

HasAcknowledgeUserId returns a boolean if a field has been set.

func (*Alarm) HasAssetInfo

func (o *Alarm) HasAssetInfo() bool

HasAssetInfo returns a boolean if a field has been set.

func (*Alarm) HasAttribute

func (o *Alarm) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*Alarm) HasGoneTimestamp

func (o *Alarm) HasGoneTimestamp() bool

HasGoneTimestamp returns a boolean if a field has been set.

func (*Alarm) HasMessage

func (o *Alarm) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Alarm) HasRequiresAcknowledge

func (o *Alarm) HasRequiresAcknowledge() bool

HasRequiresAcknowledge returns a boolean if a field has been set.

func (*Alarm) HasRuleId

func (o *Alarm) HasRuleId() bool

HasRuleId returns a boolean if a field has been set.

func (*Alarm) HasRuleInfo

func (o *Alarm) HasRuleInfo() bool

HasRuleInfo returns a boolean if a field has been set.

func (*Alarm) HasValue

func (o *Alarm) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Alarm) MarshalJSON

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

func (*Alarm) SetAcknowledgeText

func (o *Alarm) SetAcknowledgeText(v string)

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

func (*Alarm) SetAcknowledgeTextNil

func (o *Alarm) SetAcknowledgeTextNil()

SetAcknowledgeTextNil sets the value for AcknowledgeText to be an explicit nil

func (*Alarm) SetAcknowledgeTimestamp

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

func (o *Alarm) SetAcknowledgeTimestampNil()

SetAcknowledgeTimestampNil sets the value for AcknowledgeTimestamp to be an explicit nil

func (*Alarm) SetAcknowledgeUserId

func (o *Alarm) SetAcknowledgeUserId(v string)

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

func (*Alarm) SetAcknowledgeUserIdNil

func (o *Alarm) SetAcknowledgeUserIdNil()

SetAcknowledgeUserIdNil sets the value for AcknowledgeUserId to be an explicit nil

func (*Alarm) SetAssetId

func (o *Alarm) SetAssetId(v int32)

SetAssetId sets field value

func (*Alarm) SetAssetInfo

func (o *Alarm) SetAssetInfo(v Asset)

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

func (*Alarm) SetAssetInfoNil

func (o *Alarm) SetAssetInfoNil()

SetAssetInfoNil sets the value for AssetInfo to be an explicit nil

func (*Alarm) SetAttribute

func (o *Alarm) SetAttribute(v string)

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

func (*Alarm) SetAttributeNil

func (o *Alarm) SetAttributeNil()

SetAttributeNil sets the value for Attribute to be an explicit nil

func (*Alarm) SetGoneTimestamp

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

func (o *Alarm) SetGoneTimestampNil()

SetGoneTimestampNil sets the value for GoneTimestamp to be an explicit nil

func (*Alarm) SetMessage

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

func (o *Alarm) SetOccurrences(v int32)

SetOccurrences sets field value

func (*Alarm) SetPriority

func (o *Alarm) SetPriority(v AlarmPriority)

SetPriority sets field value

func (*Alarm) SetRequiresAcknowledge

func (o *Alarm) SetRequiresAcknowledge(v bool)

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

func (*Alarm) SetRuleId

func (o *Alarm) SetRuleId(v int32)

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

func (*Alarm) SetRuleIdNil

func (o *Alarm) SetRuleIdNil()

SetRuleIdNil sets the value for RuleId to be an explicit nil

func (*Alarm) SetRuleInfo

func (o *Alarm) SetRuleInfo(v AlarmRule)

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

func (*Alarm) SetRuleInfoNil

func (o *Alarm) SetRuleInfoNil()

SetRuleInfoNil sets the value for RuleInfo to be an explicit nil

func (*Alarm) SetSubtype

func (o *Alarm) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*Alarm) SetTimestamp

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

SetTimestamp sets field value

func (*Alarm) SetValue

func (o *Alarm) SetValue(v float64)

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

func (*Alarm) SetValueNil

func (o *Alarm) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil

func (Alarm) ToMap added in v2.4.8

func (o Alarm) ToMap() (map[string]interface{}, error)

func (*Alarm) UnmarshalJSON added in v2.5.9

func (o *Alarm) UnmarshalJSON(data []byte) (err error)

func (*Alarm) UnsetAcknowledgeText

func (o *Alarm) UnsetAcknowledgeText()

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

func (*Alarm) UnsetAcknowledgeTimestamp

func (o *Alarm) UnsetAcknowledgeTimestamp()

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

func (*Alarm) UnsetAcknowledgeUserId

func (o *Alarm) UnsetAcknowledgeUserId()

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

func (*Alarm) UnsetAssetInfo

func (o *Alarm) UnsetAssetInfo()

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

func (*Alarm) UnsetAttribute

func (o *Alarm) UnsetAttribute()

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

func (*Alarm) UnsetGoneTimestamp

func (o *Alarm) UnsetGoneTimestamp()

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

func (*Alarm) UnsetRuleId

func (o *Alarm) UnsetRuleId()

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

func (*Alarm) UnsetRuleInfo

func (o *Alarm) UnsetRuleInfo()

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

func (*Alarm) UnsetValue

func (o *Alarm) UnsetValue()

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

type AlarmListen added in v2.6.0

type AlarmListen struct {
	// The id of the corresponding rule
	RuleId 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.yaml texts for alarm
	Message   map[string]interface{} `json:"message,omitempty"`
	AssetInfo NullableAsset          `json:"assetInfo,omitempty"`
	RuleInfo  NullableAlarmRule      `json:"ruleInfo,omitempty"`
	// The status code expecting when actually perform the operation. Some values are - 200: updated (ok)  - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable
	StatusCode *int32 `json:"statusCode,omitempty"`
}

AlarmListen struct for AlarmListen

func NewAlarmListen added in v2.6.0

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

NewAlarmListen instantiates a new AlarmListen object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAlarmListenWithDefaults added in v2.6.0

func NewAlarmListenWithDefaults() *AlarmListen

NewAlarmListenWithDefaults instantiates a new AlarmListen object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AlarmListen) GetAcknowledgeText added in v2.6.0

func (o *AlarmListen) GetAcknowledgeText() string

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

func (*AlarmListen) GetAcknowledgeTextOk added in v2.6.0

func (o *AlarmListen) GetAcknowledgeTextOk() (*string, bool)

GetAcknowledgeTextOk returns a tuple with the AcknowledgeText field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) GetAcknowledgeTimestamp added in v2.6.0

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

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

func (*AlarmListen) GetAcknowledgeTimestampOk added in v2.6.0

func (o *AlarmListen) GetAcknowledgeTimestampOk() (*time.Time, bool)

GetAcknowledgeTimestampOk returns a tuple with the AcknowledgeTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) GetAcknowledgeUserId added in v2.6.0

func (o *AlarmListen) GetAcknowledgeUserId() string

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

func (*AlarmListen) GetAcknowledgeUserIdOk added in v2.6.0

func (o *AlarmListen) GetAcknowledgeUserIdOk() (*string, bool)

GetAcknowledgeUserIdOk returns a tuple with the AcknowledgeUserId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) GetAssetId added in v2.6.0

func (o *AlarmListen) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*AlarmListen) GetAssetIdOk added in v2.6.0

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

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

func (*AlarmListen) GetAssetInfo added in v2.6.0

func (o *AlarmListen) GetAssetInfo() Asset

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

func (*AlarmListen) GetAssetInfoOk added in v2.6.0

func (o *AlarmListen) GetAssetInfoOk() (*Asset, bool)

GetAssetInfoOk returns a tuple with the AssetInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) GetAttribute added in v2.6.0

func (o *AlarmListen) GetAttribute() string

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

func (*AlarmListen) GetAttributeOk added in v2.6.0

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

GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) GetGoneTimestamp added in v2.6.0

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

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

func (*AlarmListen) GetGoneTimestampOk added in v2.6.0

func (o *AlarmListen) GetGoneTimestampOk() (*time.Time, bool)

GetGoneTimestampOk returns a tuple with the GoneTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) GetMessage added in v2.6.0

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

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

func (*AlarmListen) GetMessageOk added in v2.6.0

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

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) GetOccurrences added in v2.6.0

func (o *AlarmListen) GetOccurrences() int32

GetOccurrences returns the Occurrences field value

func (*AlarmListen) GetOccurrencesOk added in v2.6.0

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

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

func (*AlarmListen) GetPriority added in v2.6.0

func (o *AlarmListen) GetPriority() AlarmPriority

GetPriority returns the Priority field value

func (*AlarmListen) GetPriorityOk added in v2.6.0

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

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

func (*AlarmListen) GetRequiresAcknowledge added in v2.6.0

func (o *AlarmListen) GetRequiresAcknowledge() bool

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

func (*AlarmListen) GetRequiresAcknowledgeOk added in v2.6.0

func (o *AlarmListen) GetRequiresAcknowledgeOk() (*bool, bool)

GetRequiresAcknowledgeOk returns a tuple with the RequiresAcknowledge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlarmListen) GetRuleId added in v2.6.0

func (o *AlarmListen) GetRuleId() int32

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

func (*AlarmListen) GetRuleIdOk added in v2.6.0

func (o *AlarmListen) 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 (*AlarmListen) GetRuleInfo added in v2.6.0

func (o *AlarmListen) GetRuleInfo() AlarmRule

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

func (*AlarmListen) GetRuleInfoOk added in v2.6.0

func (o *AlarmListen) GetRuleInfoOk() (*AlarmRule, bool)

GetRuleInfoOk returns a tuple with the RuleInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) GetStatusCode added in v2.6.0

func (o *AlarmListen) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*AlarmListen) GetStatusCodeOk added in v2.6.0

func (o *AlarmListen) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlarmListen) GetSubtype added in v2.6.0

func (o *AlarmListen) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*AlarmListen) GetSubtypeOk added in v2.6.0

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

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

func (*AlarmListen) GetTimestamp added in v2.6.0

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

GetTimestamp returns the Timestamp field value

func (*AlarmListen) GetTimestampOk added in v2.6.0

func (o *AlarmListen) 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 (*AlarmListen) GetValue added in v2.6.0

func (o *AlarmListen) GetValue() float64

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

func (*AlarmListen) GetValueOk added in v2.6.0

func (o *AlarmListen) GetValueOk() (*float64, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmListen) HasAcknowledgeText added in v2.6.0

func (o *AlarmListen) HasAcknowledgeText() bool

HasAcknowledgeText returns a boolean if a field has been set.

func (*AlarmListen) HasAcknowledgeTimestamp added in v2.6.0

func (o *AlarmListen) HasAcknowledgeTimestamp() bool

HasAcknowledgeTimestamp returns a boolean if a field has been set.

func (*AlarmListen) HasAcknowledgeUserId added in v2.6.0

func (o *AlarmListen) HasAcknowledgeUserId() bool

HasAcknowledgeUserId returns a boolean if a field has been set.

func (*AlarmListen) HasAssetInfo added in v2.6.0

func (o *AlarmListen) HasAssetInfo() bool

HasAssetInfo returns a boolean if a field has been set.

func (*AlarmListen) HasAttribute added in v2.6.0

func (o *AlarmListen) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*AlarmListen) HasGoneTimestamp added in v2.6.0

func (o *AlarmListen) HasGoneTimestamp() bool

HasGoneTimestamp returns a boolean if a field has been set.

func (*AlarmListen) HasMessage added in v2.6.0

func (o *AlarmListen) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AlarmListen) HasRequiresAcknowledge added in v2.6.0

func (o *AlarmListen) HasRequiresAcknowledge() bool

HasRequiresAcknowledge returns a boolean if a field has been set.

func (*AlarmListen) HasRuleId added in v2.6.0

func (o *AlarmListen) HasRuleId() bool

HasRuleId returns a boolean if a field has been set.

func (*AlarmListen) HasRuleInfo added in v2.6.0

func (o *AlarmListen) HasRuleInfo() bool

HasRuleInfo returns a boolean if a field has been set.

func (*AlarmListen) HasStatusCode added in v2.6.0

func (o *AlarmListen) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*AlarmListen) HasValue added in v2.6.0

func (o *AlarmListen) HasValue() bool

HasValue returns a boolean if a field has been set.

func (AlarmListen) MarshalJSON added in v2.6.0

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

func (*AlarmListen) SetAcknowledgeText added in v2.6.0

func (o *AlarmListen) SetAcknowledgeText(v string)

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

func (*AlarmListen) SetAcknowledgeTextNil added in v2.6.0

func (o *AlarmListen) SetAcknowledgeTextNil()

SetAcknowledgeTextNil sets the value for AcknowledgeText to be an explicit nil

func (*AlarmListen) SetAcknowledgeTimestamp added in v2.6.0

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

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

func (*AlarmListen) SetAcknowledgeTimestampNil added in v2.6.0

func (o *AlarmListen) SetAcknowledgeTimestampNil()

SetAcknowledgeTimestampNil sets the value for AcknowledgeTimestamp to be an explicit nil

func (*AlarmListen) SetAcknowledgeUserId added in v2.6.0

func (o *AlarmListen) SetAcknowledgeUserId(v string)

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

func (*AlarmListen) SetAcknowledgeUserIdNil added in v2.6.0

func (o *AlarmListen) SetAcknowledgeUserIdNil()

SetAcknowledgeUserIdNil sets the value for AcknowledgeUserId to be an explicit nil

func (*AlarmListen) SetAssetId added in v2.6.0

func (o *AlarmListen) SetAssetId(v int32)

SetAssetId sets field value

func (*AlarmListen) SetAssetInfo added in v2.6.0

func (o *AlarmListen) SetAssetInfo(v Asset)

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

func (*AlarmListen) SetAssetInfoNil added in v2.6.0

func (o *AlarmListen) SetAssetInfoNil()

SetAssetInfoNil sets the value for AssetInfo to be an explicit nil

func (*AlarmListen) SetAttribute added in v2.6.0

func (o *AlarmListen) SetAttribute(v string)

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

func (*AlarmListen) SetAttributeNil added in v2.6.0

func (o *AlarmListen) SetAttributeNil()

SetAttributeNil sets the value for Attribute to be an explicit nil

func (*AlarmListen) SetGoneTimestamp added in v2.6.0

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

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

func (*AlarmListen) SetGoneTimestampNil added in v2.6.0

func (o *AlarmListen) SetGoneTimestampNil()

SetGoneTimestampNil sets the value for GoneTimestamp to be an explicit nil

func (*AlarmListen) SetMessage added in v2.6.0

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

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

func (*AlarmListen) SetOccurrences added in v2.6.0

func (o *AlarmListen) SetOccurrences(v int32)

SetOccurrences sets field value

func (*AlarmListen) SetPriority added in v2.6.0

func (o *AlarmListen) SetPriority(v AlarmPriority)

SetPriority sets field value

func (*AlarmListen) SetRequiresAcknowledge added in v2.6.0

func (o *AlarmListen) SetRequiresAcknowledge(v bool)

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

func (*AlarmListen) SetRuleId added in v2.6.0

func (o *AlarmListen) SetRuleId(v int32)

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

func (*AlarmListen) SetRuleIdNil added in v2.6.0

func (o *AlarmListen) SetRuleIdNil()

SetRuleIdNil sets the value for RuleId to be an explicit nil

func (*AlarmListen) SetRuleInfo added in v2.6.0

func (o *AlarmListen) SetRuleInfo(v AlarmRule)

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

func (*AlarmListen) SetRuleInfoNil added in v2.6.0

func (o *AlarmListen) SetRuleInfoNil()

SetRuleInfoNil sets the value for RuleInfo to be an explicit nil

func (*AlarmListen) SetStatusCode added in v2.6.0

func (o *AlarmListen) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (*AlarmListen) SetSubtype added in v2.6.0

func (o *AlarmListen) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*AlarmListen) SetTimestamp added in v2.6.0

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

SetTimestamp sets field value

func (*AlarmListen) SetValue added in v2.6.0

func (o *AlarmListen) SetValue(v float64)

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

func (*AlarmListen) SetValueNil added in v2.6.0

func (o *AlarmListen) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil

func (AlarmListen) ToMap added in v2.6.0

func (o AlarmListen) ToMap() (map[string]interface{}, error)

func (*AlarmListen) UnmarshalJSON added in v2.6.0

func (o *AlarmListen) UnmarshalJSON(data []byte) (err error)

func (*AlarmListen) UnsetAcknowledgeText added in v2.6.0

func (o *AlarmListen) UnsetAcknowledgeText()

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

func (*AlarmListen) UnsetAcknowledgeTimestamp added in v2.6.0

func (o *AlarmListen) UnsetAcknowledgeTimestamp()

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

func (*AlarmListen) UnsetAcknowledgeUserId added in v2.6.0

func (o *AlarmListen) UnsetAcknowledgeUserId()

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

func (*AlarmListen) UnsetAssetInfo added in v2.6.0

func (o *AlarmListen) UnsetAssetInfo()

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

func (*AlarmListen) UnsetAttribute added in v2.6.0

func (o *AlarmListen) UnsetAttribute()

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

func (*AlarmListen) UnsetGoneTimestamp added in v2.6.0

func (o *AlarmListen) UnsetGoneTimestamp()

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

func (*AlarmListen) UnsetRuleId added in v2.6.0

func (o *AlarmListen) UnsetRuleId()

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

func (*AlarmListen) UnsetRuleInfo added in v2.6.0

func (o *AlarmListen) UnsetRuleInfo()

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

func (*AlarmListen) UnsetValue added in v2.6.0

func (o *AlarmListen) UnsetValue()

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

type AlarmPriority

type AlarmPriority int32

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

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

List of AlarmPriority

func NewAlarmPriorityFromValue

func NewAlarmPriorityFromValue(v int32) (*AlarmPriority, error)

NewAlarmPriorityFromValue returns a pointer to a valid AlarmPriority for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AlarmPriority) IsValid

func (v AlarmPriority) IsValid() bool

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

func (AlarmPriority) Ptr

func (v AlarmPriority) Ptr() *AlarmPriority

Ptr returns reference to AlarmPriority value

func (*AlarmPriority) UnmarshalJSON

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

type AlarmRule

type AlarmRule struct {
	// The id of the rule
	Id NullableInt32 `json:"id,omitempty"`
	// ID of the corresponding asset
	AssetId int32       `json:"assetId"`
	Subtype DataSubtype `json:"subtype"`
	// Name of the attribute of the asset type
	Attribute string `json:"attribute"`
	// Rule enabled or not
	Enable   *bool         `json:"enable,omitempty"`
	Priority AlarmPriority `json:"priority"`
	// Requires the alarm an acknowledgment
	RequiresAcknowledge *bool `json:"requiresAcknowledge,omitempty"`
	// Triggers alarm if attribute value equals this value
	Equal NullableFloat64 `json:"equal,omitempty"`
	// Triggers alarm if attribute value is less than value
	Low NullableFloat64 `json:"low,omitempty"`
	// Triggers alarm if attribute value is greater than value
	High NullableFloat64 `json:"high,omitempty"`
	// Texts for alarm
	Message map[string]interface{} `json:"message,omitempty"`
	// List of associated tags
	Tags []string `json:"tags,omitempty"`
	// The subject for the alarm
	Subject NullableString `json:"subject,omitempty"`
	// The url describing the alarm
	Urldoc NullableString `json:"urldoc,omitempty"`
	// Notification
	NotifyOn NullableString `json:"notifyOn,omitempty"`
	// Do not mask
	DontMask NullableBool `json:"dontMask,omitempty"`
	// Check type
	CheckType NullableString `json:"checkType,omitempty"`
	AssetInfo NullableAsset  `json:"assetInfo,omitempty"`
}

AlarmRule Rule for an alarm

func NewAlarmRule

func NewAlarmRule(assetId int32, subtype DataSubtype, attribute string, priority AlarmPriority) *AlarmRule

NewAlarmRule instantiates a new AlarmRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAlarmRuleWithDefaults

func NewAlarmRuleWithDefaults() *AlarmRule

NewAlarmRuleWithDefaults instantiates a new AlarmRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AlarmRule) GetAssetId

func (o *AlarmRule) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*AlarmRule) GetAssetIdOk

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

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

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

func (o *AlarmRule) GetAttribute() string

GetAttribute returns the Attribute field value

func (*AlarmRule) GetAttributeOk

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) GetCheckType added in v2.5.7

func (o *AlarmRule) GetCheckType() string

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

func (*AlarmRule) GetCheckTypeOk added in v2.5.7

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

GetCheckTypeOk returns a tuple with the CheckType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlarmRule) GetDontMask

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

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

func (o *AlarmRule) GetEnable() bool

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

func (*AlarmRule) GetEnableOk

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *AlarmRule) GetPriority() AlarmPriority

GetPriority returns the Priority field value

func (*AlarmRule) GetPriorityOk

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

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

func (*AlarmRule) GetRequiresAcknowledge

func (o *AlarmRule) GetRequiresAcknowledge() bool

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

func (*AlarmRule) GetRequiresAcknowledgeOk

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

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

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

func (o *AlarmRule) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*AlarmRule) GetSubtypeOk

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

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

func (*AlarmRule) GetTags

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

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

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

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

func (o *AlarmRule) HasAssetInfo() bool

HasAssetInfo returns a boolean if a field has been set.

func (*AlarmRule) HasCheckType added in v2.5.7

func (o *AlarmRule) HasCheckType() bool

HasCheckType returns a boolean if a field has been set.

func (*AlarmRule) HasDontMask

func (o *AlarmRule) HasDontMask() bool

HasDontMask returns a boolean if a field has been set.

func (*AlarmRule) HasEnable

func (o *AlarmRule) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*AlarmRule) HasEqual

func (o *AlarmRule) HasEqual() bool

HasEqual returns a boolean if a field has been set.

func (*AlarmRule) HasHigh

func (o *AlarmRule) HasHigh() bool

HasHigh returns a boolean if a field has been set.

func (*AlarmRule) HasId

func (o *AlarmRule) HasId() bool

HasId returns a boolean if a field has been set.

func (*AlarmRule) HasLow

func (o *AlarmRule) HasLow() bool

HasLow returns a boolean if a field has been set.

func (*AlarmRule) HasMessage

func (o *AlarmRule) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AlarmRule) HasNotifyOn

func (o *AlarmRule) HasNotifyOn() bool

HasNotifyOn returns a boolean if a field has been set.

func (*AlarmRule) HasRequiresAcknowledge

func (o *AlarmRule) HasRequiresAcknowledge() bool

HasRequiresAcknowledge returns a boolean if a field has been set.

func (*AlarmRule) HasSubject

func (o *AlarmRule) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AlarmRule) HasTags

func (o *AlarmRule) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*AlarmRule) HasUrldoc

func (o *AlarmRule) HasUrldoc() bool

HasUrldoc returns a boolean if a field has been set.

func (AlarmRule) MarshalJSON

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

func (*AlarmRule) SetAssetId

func (o *AlarmRule) SetAssetId(v int32)

SetAssetId sets field value

func (*AlarmRule) SetAssetInfo

func (o *AlarmRule) SetAssetInfo(v Asset)

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

func (*AlarmRule) SetAssetInfoNil

func (o *AlarmRule) SetAssetInfoNil()

SetAssetInfoNil sets the value for AssetInfo to be an explicit nil

func (*AlarmRule) SetAttribute

func (o *AlarmRule) SetAttribute(v string)

SetAttribute sets field value

func (*AlarmRule) SetCheckType added in v2.5.7

func (o *AlarmRule) SetCheckType(v string)

SetCheckType gets a reference to the given NullableString and assigns it to the CheckType field.

func (*AlarmRule) SetCheckTypeNil added in v2.5.7

func (o *AlarmRule) SetCheckTypeNil()

SetCheckTypeNil sets the value for CheckType to be an explicit nil

func (*AlarmRule) SetDontMask

func (o *AlarmRule) SetDontMask(v bool)

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

func (*AlarmRule) SetDontMaskNil

func (o *AlarmRule) SetDontMaskNil()

SetDontMaskNil sets the value for DontMask to be an explicit nil

func (*AlarmRule) SetEnable

func (o *AlarmRule) SetEnable(v bool)

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

func (*AlarmRule) SetEqual

func (o *AlarmRule) SetEqual(v float64)

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

func (*AlarmRule) SetEqualNil

func (o *AlarmRule) SetEqualNil()

SetEqualNil sets the value for Equal to be an explicit nil

func (*AlarmRule) SetHigh

func (o *AlarmRule) SetHigh(v float64)

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

func (*AlarmRule) SetHighNil

func (o *AlarmRule) SetHighNil()

SetHighNil sets the value for High to be an explicit nil

func (*AlarmRule) SetId

func (o *AlarmRule) SetId(v int32)

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

func (*AlarmRule) SetIdNil

func (o *AlarmRule) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*AlarmRule) SetLow

func (o *AlarmRule) SetLow(v float64)

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

func (*AlarmRule) SetLowNil

func (o *AlarmRule) SetLowNil()

SetLowNil sets the value for Low to be an explicit nil

func (*AlarmRule) SetMessage

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

func (o *AlarmRule) SetNotifyOn(v string)

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

func (*AlarmRule) SetNotifyOnNil

func (o *AlarmRule) SetNotifyOnNil()

SetNotifyOnNil sets the value for NotifyOn to be an explicit nil

func (*AlarmRule) SetPriority

func (o *AlarmRule) SetPriority(v AlarmPriority)

SetPriority sets field value

func (*AlarmRule) SetRequiresAcknowledge

func (o *AlarmRule) SetRequiresAcknowledge(v bool)

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

func (*AlarmRule) SetSubject

func (o *AlarmRule) SetSubject(v string)

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

func (*AlarmRule) SetSubjectNil

func (o *AlarmRule) SetSubjectNil()

SetSubjectNil sets the value for Subject to be an explicit nil

func (*AlarmRule) SetSubtype

func (o *AlarmRule) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*AlarmRule) SetTags

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

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

func (*AlarmRule) SetUrldoc

func (o *AlarmRule) SetUrldoc(v string)

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

func (*AlarmRule) SetUrldocNil

func (o *AlarmRule) SetUrldocNil()

SetUrldocNil sets the value for Urldoc to be an explicit nil

func (AlarmRule) ToMap added in v2.4.8

func (o AlarmRule) ToMap() (map[string]interface{}, error)

func (*AlarmRule) UnmarshalJSON added in v2.5.9

func (o *AlarmRule) UnmarshalJSON(data []byte) (err error)

func (*AlarmRule) UnsetAssetInfo

func (o *AlarmRule) UnsetAssetInfo()

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

func (*AlarmRule) UnsetCheckType added in v2.5.7

func (o *AlarmRule) UnsetCheckType()

UnsetCheckType ensures that no value is present for CheckType, not even an explicit nil

func (*AlarmRule) UnsetDontMask

func (o *AlarmRule) UnsetDontMask()

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

func (*AlarmRule) UnsetEqual

func (o *AlarmRule) UnsetEqual()

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

func (*AlarmRule) UnsetHigh

func (o *AlarmRule) UnsetHigh()

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

func (*AlarmRule) UnsetId

func (o *AlarmRule) UnsetId()

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

func (*AlarmRule) UnsetLow

func (o *AlarmRule) UnsetLow()

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

func (*AlarmRule) UnsetNotifyOn

func (o *AlarmRule) UnsetNotifyOn()

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

func (*AlarmRule) UnsetSubject

func (o *AlarmRule) UnsetSubject()

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

func (*AlarmRule) UnsetUrldoc

func (o *AlarmRule) UnsetUrldoc()

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

type AlarmRulesAPIService added in v2.5.3

type AlarmRulesAPIService service

AlarmRulesAPIService AlarmRulesAPI service

func (*AlarmRulesAPIService) DeleteAlarmRuleById added in v2.5.3

func (a *AlarmRulesAPIService) DeleteAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiDeleteAlarmRuleByIdRequest

DeleteAlarmRuleById Delete an alarm rule

Deletes an alarm rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alarmRuleId The id of the alarm rule
@return ApiDeleteAlarmRuleByIdRequest

func (*AlarmRulesAPIService) DeleteAlarmRuleByIdExecute added in v2.5.3

func (a *AlarmRulesAPIService) DeleteAlarmRuleByIdExecute(r ApiDeleteAlarmRuleByIdRequest) (*http.Response, error)

Execute executes the request

func (*AlarmRulesAPIService) GetAlarmRuleById added in v2.5.3

func (a *AlarmRulesAPIService) GetAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiGetAlarmRuleByIdRequest

GetAlarmRuleById Information about an alarm rule

Gets information about an alarm rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alarmRuleId The id of the alarm rule
@return ApiGetAlarmRuleByIdRequest

func (*AlarmRulesAPIService) GetAlarmRuleByIdExecute added in v2.5.3

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

Execute executes the request

@return AlarmRule

func (*AlarmRulesAPIService) GetAlarmRules added in v2.5.3

GetAlarmRules Information about alarm rules

Gets information about alarm rules.

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

func (*AlarmRulesAPIService) GetAlarmRulesExecute added in v2.5.3

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

Execute executes the request

@return []AlarmRule

func (*AlarmRulesAPIService) PostAlarmRule added in v2.5.3

PostAlarmRule Create an alarm rule

Create a new alarm rule.

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

func (*AlarmRulesAPIService) PostAlarmRuleExecute added in v2.5.3

func (a *AlarmRulesAPIService) PostAlarmRuleExecute(r ApiPostAlarmRuleRequest) (*AlarmRule, *http.Response, error)

Execute executes the request

@return AlarmRule

func (*AlarmRulesAPIService) PutAlarmRule added in v2.5.3

PutAlarmRule Create or update an alarm rule

Deprecated - Use POST /alarm-rules to create and PUT /alarm-rules/{alarm-rule-id} to update

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

Deprecated

func (*AlarmRulesAPIService) PutAlarmRuleById added in v2.5.3

func (a *AlarmRulesAPIService) PutAlarmRuleById(ctx context.Context, alarmRuleId int32) ApiPutAlarmRuleByIdRequest

PutAlarmRuleById Update an alarm rule

Update an alarm rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alarmRuleId The id of the alarm rule
@return ApiPutAlarmRuleByIdRequest

func (*AlarmRulesAPIService) PutAlarmRuleByIdExecute added in v2.5.3

func (a *AlarmRulesAPIService) PutAlarmRuleByIdExecute(r ApiPutAlarmRuleByIdRequest) (*AlarmRule, *http.Response, error)

Execute executes the request

@return AlarmRule

func (*AlarmRulesAPIService) PutAlarmRuleExecute added in v2.5.3

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

Execute executes the request

@return AlarmRule

Deprecated

type AlarmsAPIService added in v2.5.3

type AlarmsAPIService service

AlarmsAPIService AlarmsAPI service

func (*AlarmsAPIService) GetAlarmById added in v2.5.3

func (a *AlarmsAPIService) GetAlarmById(ctx context.Context, alarmRuleId int32) ApiGetAlarmByIdRequest

GetAlarmById Information about alarm

Gets information about alarm.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alarmRuleId The id of the alarm rule
@return ApiGetAlarmByIdRequest

func (*AlarmsAPIService) GetAlarmByIdExecute added in v2.5.3

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

Execute executes the request

@return Alarm

func (*AlarmsAPIService) GetAlarmHistoryById added in v2.5.3

func (a *AlarmsAPIService) GetAlarmHistoryById(ctx context.Context, alarmRuleId int32) ApiGetAlarmHistoryByIdRequest

GetAlarmHistoryById Information about alarm history

Gets information about alarm over the entire time. This includes current alarm and history.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alarmRuleId The id of the alarm rule
@return ApiGetAlarmHistoryByIdRequest

func (*AlarmsAPIService) GetAlarmHistoryByIdExecute added in v2.5.3

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

Execute executes the request

@return []Alarm

func (*AlarmsAPIService) GetAlarms added in v2.5.3

GetAlarms Information about alarms

Gets information about alarms

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

func (*AlarmsAPIService) GetAlarmsExecute added in v2.5.3

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

Execute executes the request

@return []Alarm

func (*AlarmsAPIService) GetAlarmsHistory added in v2.5.3

GetAlarmsHistory Information about alarms history

Gets information about alarms over the entire time. This includes current alarms and alarms, which are already processed.

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

func (*AlarmsAPIService) GetAlarmsHistoryExecute added in v2.5.3

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

Execute executes the request

@return []Alarm

func (*AlarmsAPIService) GetHighestAlarms added in v2.5.3

GetHighestAlarms Information about most prioritized alarms

Gets information about an alarms with the highest priority for each asset.

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

func (*AlarmsAPIService) GetHighestAlarmsExecute added in v2.5.3

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

Execute executes the request

@return []Alarm

func (*AlarmsAPIService) ListenAlarm added in v2.5.3

ListenAlarm WebSocket connection for alarm changes

Open a WebSocket connection to get informed when new alarm data is written or anything changes.

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

func (*AlarmsAPIService) ListenAlarmExecute added in v2.5.3

func (a *AlarmsAPIService) ListenAlarmExecute(r ApiListenAlarmRequest) (*AlarmListen, *http.Response, error)

Execute executes the request

@return AlarmListen

func (*AlarmsAPIService) PatchAlarmById added in v2.5.3

func (a *AlarmsAPIService) PatchAlarmById(ctx context.Context, alarmRuleId int32) ApiPatchAlarmByIdRequest

PatchAlarmById Update alarm

Update properties of alarm for given id.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alarmRuleId The id of the alarm rule
@return ApiPatchAlarmByIdRequest

func (*AlarmsAPIService) PatchAlarmByIdExecute added in v2.5.3

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

Execute executes the request

type ApiDeleteAggregationByIdRequest

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

func (ApiDeleteAggregationByIdRequest) Execute

type ApiDeleteAlarmRuleByIdRequest added in v2.4.20

type ApiDeleteAlarmRuleByIdRequest struct {
	ApiService *AlarmRulesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteAlarmRuleByIdRequest) Execute added in v2.4.20

type ApiDeleteAssetByIdRequest added in v2.5.3

type ApiDeleteAssetByIdRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteAssetByIdRequest) Execute added in v2.5.3

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

type ApiDeleteAssetTypeByNameRequest

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

func (ApiDeleteAssetTypeByNameRequest) Execute

type ApiDeleteBulkAssetsRequest added in v2.5.3

type ApiDeleteBulkAssetsRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteBulkAssetsRequest) Execute added in v2.5.3

func (ApiDeleteBulkAssetsRequest) Expansions added in v2.5.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'.

func (ApiDeleteBulkAssetsRequest) IdentifyBy added in v2.5.3

Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.

func (ApiDeleteBulkAssetsRequest) RequestBody added in v2.5.3

func (r ApiDeleteBulkAssetsRequest) RequestBody(requestBody []string) ApiDeleteBulkAssetsRequest

type ApiDeleteCalculationRuleByIdRequest added in v2.6.11

type ApiDeleteCalculationRuleByIdRequest struct {
	ApiService *CalculationRulesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteCalculationRuleByIdRequest) Execute added in v2.6.11

type ApiDeleteWidgetTypeByNameRequest

type ApiDeleteWidgetTypeByNameRequest struct {
	ApiService *WidgetsTypesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteWidgetTypeByNameRequest) Execute

type ApiDryRunDeleteBulkAssetsRequest added in v2.5.3

type ApiDryRunDeleteBulkAssetsRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiDryRunDeleteBulkAssetsRequest) Execute added in v2.5.3

func (ApiDryRunDeleteBulkAssetsRequest) Expansions added in v2.5.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'.

func (ApiDryRunDeleteBulkAssetsRequest) IdentifyBy added in v2.5.3

Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.

func (ApiDryRunDeleteBulkAssetsRequest) RequestBody added in v2.5.3

type ApiDryRunPostBulkAssetsRequest added in v2.5.3

type ApiDryRunPostBulkAssetsRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiDryRunPostBulkAssetsRequest) Asset added in v2.5.3

func (ApiDryRunPostBulkAssetsRequest) Execute added in v2.5.3

func (ApiDryRunPostBulkAssetsRequest) Expansions added in v2.5.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'.

func (ApiDryRunPostBulkAssetsRequest) IdentifyBy added in v2.5.3

Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.

type ApiDryRunPutBulkAssetsRequest added in v2.5.3

type ApiDryRunPutBulkAssetsRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiDryRunPutBulkAssetsRequest) Asset added in v2.5.3

func (ApiDryRunPutBulkAssetsRequest) Execute added in v2.5.3

func (ApiDryRunPutBulkAssetsRequest) Expansions added in v2.5.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'.

func (ApiDryRunPutBulkAssetsRequest) IdentifyBy added in v2.5.3

Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.

type ApiGetAgentByClassAndIdRequest added in v2.4.2

type ApiGetAgentByClassAndIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAgentByClassAndIdRequest) Execute added in v2.4.2

type ApiGetAgentDeviceByIdRequest added in v2.4.2

type ApiGetAgentDeviceByIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAgentDeviceByIdRequest) Execute added in v2.4.2

type ApiGetAgentDeviceMappingByIdRequest added in v2.4.2

type ApiGetAgentDeviceMappingByIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAgentDeviceMappingByIdRequest) Execute added in v2.4.2

type ApiGetAgentDeviceMappingsByDeviceIdRequest added in v2.4.2

type ApiGetAgentDeviceMappingsByDeviceIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAgentDeviceMappingsByDeviceIdRequest) Execute added in v2.4.2

type ApiGetAgentDevicesByAgentIdRequest added in v2.4.2

type ApiGetAgentDevicesByAgentIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAgentDevicesByAgentIdRequest) Execute added in v2.4.2

type ApiGetAgentsByClassRequest

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

func (ApiGetAgentsByClassRequest) Execute

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

type ApiGetAgentsRequest

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

func (ApiGetAgentsRequest) Execute

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

type ApiGetAggregationByIdRequest

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

func (ApiGetAggregationByIdRequest) Execute

type ApiGetAggregationsRequest

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

func (ApiGetAggregationsRequest) Execute

type ApiGetAlarmByIdRequest

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

func (ApiGetAlarmByIdRequest) Execute

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

func (ApiGetAlarmByIdRequest) Expansions

func (r ApiGetAlarmByIdRequest) Expansions(expansions []string) ApiGetAlarmByIdRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetAlarmHistoryByIdRequest

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

func (ApiGetAlarmHistoryByIdRequest) Execute

func (ApiGetAlarmHistoryByIdRequest) Expansions

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetAlarmRuleByIdRequest

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

func (ApiGetAlarmRuleByIdRequest) Execute

func (ApiGetAlarmRuleByIdRequest) Expansions

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetAlarmRulesRequest

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

func (ApiGetAlarmRulesRequest) AlarmRuleIds added in v2.5.3

func (r ApiGetAlarmRulesRequest) AlarmRuleIds(alarmRuleIds []int32) ApiGetAlarmRulesRequest

List of alarm rule ids for filtering

func (ApiGetAlarmRulesRequest) Execute

func (ApiGetAlarmRulesRequest) Expansions

func (r ApiGetAlarmRulesRequest) Expansions(expansions []string) ApiGetAlarmRulesRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetAlarmsHistoryRequest

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

func (ApiGetAlarmsHistoryRequest) Execute

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

func (ApiGetAlarmsHistoryRequest) Expansions

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

Filter for a specific project

type ApiGetAlarmsRequest

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

func (ApiGetAlarmsRequest) Execute

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

func (ApiGetAlarmsRequest) Expansions

func (r ApiGetAlarmsRequest) Expansions(expansions []string) ApiGetAlarmsRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiGetAlarmsRequest) ProjectId

func (r ApiGetAlarmsRequest) ProjectId(projectId string) ApiGetAlarmsRequest

Filter for a specific project

type ApiGetAppByNameRequest

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

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

func (r ApiGetAssetByIdRequest) Expansions(expansions []string) ApiGetAssetByIdRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetAssetTypeByNameRequest

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

func (ApiGetAssetTypeByNameRequest) Execute

func (ApiGetAssetTypeByNameRequest) Expansions

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

func (r ApiGetAssetTypesRequest) Expansions(expansions []string) ApiGetAssetTypesRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetAssetsRequest

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

func (ApiGetAssetsRequest) AssetTypeName added in v2.2.2

func (r ApiGetAssetsRequest) AssetTypeName(assetTypeName string) ApiGetAssetsRequest

Filter the name of the asset type

func (ApiGetAssetsRequest) Execute

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

func (ApiGetAssetsRequest) Expansions added in v2.2.2

func (r ApiGetAssetsRequest) Expansions(expansions []string) ApiGetAssetsRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiGetAssetsRequest) ProjectId added in v2.4.4

func (r ApiGetAssetsRequest) ProjectId(projectId string) ApiGetAssetsRequest

Filter for a specific project

type ApiGetAttributeDisplayRequest added in v2.5.3

type ApiGetAttributeDisplayRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAttributeDisplayRequest) Execute added in v2.5.3

type ApiGetCalculationRuleByIdRequest added in v2.6.11

type ApiGetCalculationRuleByIdRequest struct {
	ApiService *CalculationRulesAPIService
	// contains filtered or unexported fields
}

func (ApiGetCalculationRuleByIdRequest) Execute added in v2.6.11

type ApiGetCalculationRulesRequest added in v2.6.11

type ApiGetCalculationRulesRequest struct {
	ApiService *CalculationRulesAPIService
	// contains filtered or unexported fields
}

func (ApiGetCalculationRulesRequest) CalculationRuleIds added in v2.6.11

func (r ApiGetCalculationRulesRequest) CalculationRuleIds(calculationRuleIds []int32) ApiGetCalculationRulesRequest

List of calculation rule ids for filtering

func (ApiGetCalculationRulesRequest) Execute added in v2.6.11

type ApiGetDashboardByIdRequest

type ApiGetDashboardByIdRequest struct {
	ApiService *DashboardsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDashboardByIdRequest) Execute

func (ApiGetDashboardByIdRequest) Expansions

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetDashboardWidgetsRequest

type ApiGetDashboardWidgetsRequest struct {
	ApiService *WidgetsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDashboardWidgetsRequest) Execute

func (ApiGetDashboardWidgetsRequest) Expansions

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetDashboardsRequest

type ApiGetDashboardsRequest struct {
	ApiService *DashboardsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDashboardsRequest) Execute

func (ApiGetDashboardsRequest) Expansions

func (r ApiGetDashboardsRequest) Expansions(expansions []string) ApiGetDashboardsRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetDataAggregatedRequest

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

func (ApiGetDataAggregatedRequest) AggregationId added in v2.4.2

func (r ApiGetDataAggregatedRequest) AggregationId(aggregationId int32) ApiGetDataAggregatedRequest

Filter for a specific aggregation id

func (ApiGetDataAggregatedRequest) AggregationRaster added in v2.6.12

func (r ApiGetDataAggregatedRequest) AggregationRaster(aggregationRaster string) ApiGetDataAggregatedRequest

Aggregation calculation interval

func (ApiGetDataAggregatedRequest) AssetId

Filter for a specific asset id

func (ApiGetDataAggregatedRequest) AssetTypeName

func (r ApiGetDataAggregatedRequest) AssetTypeName(assetTypeName string) ApiGetDataAggregatedRequest

Filter the name of the asset type

func (ApiGetDataAggregatedRequest) DataSubtype

Filter for a specific type of asset data

func (ApiGetDataAggregatedRequest) Execute

func (ApiGetDataAggregatedRequest) FromDate

Filter by lower date time (RFC3339) limit inclusive

func (ApiGetDataAggregatedRequest) ToDate

Filter by upper date time (RFC3339) limit exclusive

type ApiGetDataRequest

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

func (ApiGetDataRequest) AssetId

func (r ApiGetDataRequest) AssetId(assetId int32) ApiGetDataRequest

Filter for a specific asset id

func (ApiGetDataRequest) AssetTypeName

func (r ApiGetDataRequest) AssetTypeName(assetTypeName string) ApiGetDataRequest

Filter the name of the asset type

func (ApiGetDataRequest) DataSubtype

func (r ApiGetDataRequest) DataSubtype(dataSubtype string) ApiGetDataRequest

Filter for a specific type of asset data

func (ApiGetDataRequest) Execute

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

func (ApiGetDataRequest) ParentAssetId added in v2.5.7

func (r ApiGetDataRequest) ParentAssetId(parentAssetId int32) ApiGetDataRequest

Filter for a specific parent asset id

type ApiGetDataTrendsRequest

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

func (ApiGetDataTrendsRequest) AssetId

Filter for a specific asset id

func (ApiGetDataTrendsRequest) AssetTypeName

func (r ApiGetDataTrendsRequest) AssetTypeName(assetTypeName string) ApiGetDataTrendsRequest

Filter the name of the asset type

func (ApiGetDataTrendsRequest) DataSubtype

func (r ApiGetDataTrendsRequest) DataSubtype(dataSubtype string) ApiGetDataTrendsRequest

Filter for a specific type of asset data

func (ApiGetDataTrendsRequest) Execute

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

func (ApiGetDataTrendsRequest) FromDate

Filter by lower date time (RFC3339) limit inclusive

func (ApiGetDataTrendsRequest) ToDate

Filter by upper date time (RFC3339) limit exclusive

type ApiGetHighestAlarmsRequest

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

func (ApiGetHighestAlarmsRequest) Execute

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

func (ApiGetHighestAlarmsRequest) Expansions

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

Filter for a specific project

type ApiGetMessageReceiptByIdRequest added in v2.4.2

type ApiGetMessageReceiptByIdRequest struct {
	ApiService *CommunicationAPIService
	// contains filtered or unexported fields
}

func (ApiGetMessageReceiptByIdRequest) Execute added in v2.4.2

type ApiGetNodeByIdentRequest

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

func (ApiGetNodeByIdentRequest) Execute

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

type ApiGetNodesRequest

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

func (ApiGetNodesRequest) Execute

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

type ApiGetOpenAPIRequest added in v2.4.8

type ApiGetOpenAPIRequest struct {
	ApiService *VersionAPIService
	// contains filtered or unexported fields
}

func (ApiGetOpenAPIRequest) Execute added in v2.4.8

func (r ApiGetOpenAPIRequest) Execute() (*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 ApiGetProjectByIdRequest added in v2.5.3

type ApiGetProjectByIdRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiGetProjectByIdRequest) Execute added in v2.5.3

type ApiGetProjectsRequest added in v2.5.3

type ApiGetProjectsRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiGetProjectsRequest) Execute added in v2.5.3

func (r ApiGetProjectsRequest) Execute() ([]Project, *http.Response, error)

type ApiGetQrCodeByAssetIdRequest added in v2.4.20

type ApiGetQrCodeByAssetIdRequest struct {
	ApiService *QRCodesAPIService
	// contains filtered or unexported fields
}

func (ApiGetQrCodeByAssetIdRequest) Execute added in v2.4.20

type ApiGetTagByNameRequest added in v2.5.3

type ApiGetTagByNameRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (ApiGetTagByNameRequest) Execute added in v2.5.3

func (r ApiGetTagByNameRequest) Execute() (*Tag, *http.Response, error)

type ApiGetTagsRequest added in v2.5.3

type ApiGetTagsRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (ApiGetTagsRequest) Execute added in v2.5.3

func (r ApiGetTagsRequest) Execute() ([]Tag, *http.Response, error)

type ApiGetUserByIdRequest added in v2.5.3

type ApiGetUserByIdRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiGetUserByIdRequest) Execute added in v2.5.3

func (r ApiGetUserByIdRequest) Execute() (*User, *http.Response, error)

type ApiGetUsersRequest added in v2.5.3

type ApiGetUsersRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiGetUsersRequest) Execute added in v2.5.3

func (r ApiGetUsersRequest) Execute() ([]User, *http.Response, error)

type ApiGetVersionRequest added in v2.4.2

type ApiGetVersionRequest struct {
	ApiService *VersionAPIService
	// contains filtered or unexported fields
}

func (ApiGetVersionRequest) Execute added in v2.4.2

func (r ApiGetVersionRequest) Execute() (map[string]interface{}, *http.Response, error)

type ApiGetWidgetTypeByNameRequest

type ApiGetWidgetTypeByNameRequest struct {
	ApiService *WidgetsTypesAPIService
	// contains filtered or unexported fields
}

func (ApiGetWidgetTypeByNameRequest) Execute

func (ApiGetWidgetTypeByNameRequest) Expansions

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiGetWidgetTypesRequest

type ApiGetWidgetTypesRequest struct {
	ApiService *WidgetsTypesAPIService
	// contains filtered or unexported fields
}

func (ApiGetWidgetTypesRequest) Execute

func (ApiGetWidgetTypesRequest) Expansions

func (r ApiGetWidgetTypesRequest) Expansions(expansions []string) ApiGetWidgetTypesRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiListenAlarmRequest added in v2.4.8

type ApiListenAlarmRequest struct {
	ApiService *AlarmsAPIService
	// contains filtered or unexported fields
}

func (ApiListenAlarmRequest) Execute added in v2.4.8

type ApiListenAssetRequest added in v2.6.1

type ApiListenAssetRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiListenAssetRequest) Execute added in v2.6.1

func (ApiListenAssetRequest) Expansions added in v2.6.1

func (r ApiListenAssetRequest) Expansions(expansions []string) ApiListenAssetRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiListenDataRequest

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

func (ApiListenDataRequest) AssetId

func (r ApiListenDataRequest) AssetId(assetId int32) ApiListenDataRequest

Filter for a specific asset id

func (ApiListenDataRequest) DataSubtype

func (r ApiListenDataRequest) DataSubtype(dataSubtype string) ApiListenDataRequest

Filter for a specific type of asset data

func (ApiListenDataRequest) Execute

type ApiPatchAlarmByIdRequest

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

func (ApiPatchAlarmByIdRequest) AcknowledgeText

func (r ApiPatchAlarmByIdRequest) AcknowledgeText(acknowledgeText string) ApiPatchAlarmByIdRequest

Sets the text for acknowledgement if acknowledged is set to true

func (ApiPatchAlarmByIdRequest) Acknowledged

func (r ApiPatchAlarmByIdRequest) Acknowledged(acknowledged bool) ApiPatchAlarmByIdRequest

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

func (ApiPatchAlarmByIdRequest) Execute

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

type ApiPatchAppByNameRequest

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

func (ApiPatchAppByNameRequest) Execute

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

func (ApiPatchAppByNameRequest) Registered

func (r ApiPatchAppByNameRequest) Registered(registered bool) ApiPatchAppByNameRequest

Marks that the app is now initialized and installed. Further request to get app information returns { \"registered\": true }

type ApiPatchPatchByNameRequest

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

func (ApiPatchPatchByNameRequest) Apply

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

func (ApiPatchPatchByNameRequest) Execute

type ApiPostAgentByClassRequest added in v2.4.2

type ApiPostAgentByClassRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiPostAgentByClassRequest) Agent added in v2.4.2

func (ApiPostAgentByClassRequest) Execute added in v2.4.2

type ApiPostAgentDeviceByAgentIdRequest added in v2.4.2

type ApiPostAgentDeviceByAgentIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiPostAgentDeviceByAgentIdRequest) AgentDevice added in v2.4.2

func (ApiPostAgentDeviceByAgentIdRequest) Execute added in v2.4.2

type ApiPostAgentDeviceMappingByDeviceIdRequest added in v2.4.2

type ApiPostAgentDeviceMappingByDeviceIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiPostAgentDeviceMappingByDeviceIdRequest) AgentDeviceMapping added in v2.4.2

func (ApiPostAgentDeviceMappingByDeviceIdRequest) Execute added in v2.4.2

type ApiPostAggregationRequest added in v2.4.2

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

func (ApiPostAggregationRequest) Aggregation added in v2.4.2

func (ApiPostAggregationRequest) Execute added in v2.4.2

type ApiPostAlarmRuleRequest added in v2.4.2

type ApiPostAlarmRuleRequest struct {
	ApiService *AlarmRulesAPIService
	// contains filtered or unexported fields
}

func (ApiPostAlarmRuleRequest) AlarmRule added in v2.4.2

func (ApiPostAlarmRuleRequest) Execute added in v2.4.2

type ApiPostAssetRequest added in v2.4.2

type ApiPostAssetRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiPostAssetRequest) Asset added in v2.4.2

func (ApiPostAssetRequest) Execute added in v2.4.2

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

func (ApiPostAssetRequest) Expansions added in v2.4.20

func (r ApiPostAssetRequest) Expansions(expansions []string) ApiPostAssetRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiPostAssetRequest) IdentifyBy added in v2.5.3

func (r ApiPostAssetRequest) IdentifyBy(identifyBy string) ApiPostAssetRequest

Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.

type ApiPostAssetTypeAttributeRequest added in v2.4.2

type ApiPostAssetTypeAttributeRequest struct {
	ApiService *AssetTypesAPIService
	// contains filtered or unexported fields
}

func (ApiPostAssetTypeAttributeRequest) AssetTypeAttribute added in v2.4.2

func (ApiPostAssetTypeAttributeRequest) Execute added in v2.4.2

type ApiPostAssetTypeRequest added in v2.4.2

type ApiPostAssetTypeRequest struct {
	ApiService *AssetTypesAPIService
	// contains filtered or unexported fields
}

func (ApiPostAssetTypeRequest) AssetType added in v2.4.2

func (ApiPostAssetTypeRequest) Execute added in v2.4.2

func (ApiPostAssetTypeRequest) Expansions added in v2.4.2

func (r ApiPostAssetTypeRequest) Expansions(expansions []string) ApiPostAssetTypeRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiPostBulkAssetsRequest added in v2.5.3

type ApiPostBulkAssetsRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiPostBulkAssetsRequest) Asset added in v2.5.3

func (ApiPostBulkAssetsRequest) Execute added in v2.5.3

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

func (ApiPostBulkAssetsRequest) Expansions added in v2.5.3

func (r ApiPostBulkAssetsRequest) Expansions(expansions []string) ApiPostBulkAssetsRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiPostBulkAssetsRequest) IdentifyBy added in v2.5.3

func (r ApiPostBulkAssetsRequest) IdentifyBy(identifyBy string) ApiPostBulkAssetsRequest

Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.

type ApiPostDashboardRequest

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

func (ApiPostDashboardRequest) Dashboard

func (ApiPostDashboardRequest) Execute

func (ApiPostDashboardRequest) Expansions

func (r ApiPostDashboardRequest) Expansions(expansions []string) ApiPostDashboardRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiPostDashboardWidgetRequest

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

func (ApiPostDashboardWidgetRequest) Execute

func (ApiPostDashboardWidgetRequest) Expansions

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiPostDashboardWidgetRequest) Widget

type ApiPostMailRequest added in v2.4.2

type ApiPostMailRequest struct {
	ApiService *CommunicationAPIService
	// contains filtered or unexported fields
}

func (ApiPostMailRequest) Execute added in v2.4.2

func (ApiPostMailRequest) Message added in v2.4.2

func (r ApiPostMailRequest) Message(message Message) ApiPostMailRequest

type ApiPostNodeRequest added in v2.4.2

type ApiPostNodeRequest struct {
	ApiService *NodesAPIService
	// contains filtered or unexported fields
}

func (ApiPostNodeRequest) Execute added in v2.4.2

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

func (ApiPostNodeRequest) Node added in v2.4.2

type ApiPostNotificationRequest added in v2.5.3

type ApiPostNotificationRequest struct {
	ApiService *CommunicationAPIService
	// contains filtered or unexported fields
}

func (ApiPostNotificationRequest) Execute added in v2.5.3

func (ApiPostNotificationRequest) Notification added in v2.5.3

type ApiPostWidgetTypeRequest added in v2.4.2

type ApiPostWidgetTypeRequest struct {
	ApiService *WidgetsTypesAPIService
	// contains filtered or unexported fields
}

func (ApiPostWidgetTypeRequest) Execute added in v2.4.2

func (ApiPostWidgetTypeRequest) Expansions added in v2.4.2

func (r ApiPostWidgetTypeRequest) Expansions(expansions []string) ApiPostWidgetTypeRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiPostWidgetTypeRequest) WidgetType added in v2.4.2

type ApiPutAgentByClassAndIdRequest added in v2.4.2

type ApiPutAgentByClassAndIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiPutAgentByClassAndIdRequest) Agent added in v2.4.2

func (ApiPutAgentByClassAndIdRequest) Execute added in v2.4.2

type ApiPutAgentByClassRequest

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

func (ApiPutAgentByClassRequest) Agent

func (ApiPutAgentByClassRequest) Execute

type ApiPutAgentDeviceByAgentIdRequest added in v2.4.2

type ApiPutAgentDeviceByAgentIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiPutAgentDeviceByAgentIdRequest) AgentDevice added in v2.4.2

func (ApiPutAgentDeviceByAgentIdRequest) Execute added in v2.4.2

type ApiPutAgentDeviceByIdRequest

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

func (ApiPutAgentDeviceByIdRequest) AgentDevice

func (ApiPutAgentDeviceByIdRequest) Execute

type ApiPutAgentDeviceMappingByDeviceIdRequest added in v2.4.2

type ApiPutAgentDeviceMappingByDeviceIdRequest struct {
	ApiService *AgentsAPIService
	// contains filtered or unexported fields
}

func (ApiPutAgentDeviceMappingByDeviceIdRequest) AgentDeviceMapping added in v2.4.2

func (ApiPutAgentDeviceMappingByDeviceIdRequest) Execute added in v2.4.2

type ApiPutAgentDeviceMappingByIdRequest

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

func (ApiPutAgentDeviceMappingByIdRequest) AgentDeviceMapping

func (ApiPutAgentDeviceMappingByIdRequest) Execute

type ApiPutAggregationByIdRequest added in v2.4.2

type ApiPutAggregationByIdRequest struct {
	ApiService *AggregationsAPIService
	// contains filtered or unexported fields
}

func (ApiPutAggregationByIdRequest) Aggregation added in v2.4.2

func (ApiPutAggregationByIdRequest) Execute added in v2.4.2

type ApiPutAggregationRequest

type ApiPutAggregationRequest struct {
	ApiService *AggregationsAPIService
	// contains filtered or unexported fields
}

func (ApiPutAggregationRequest) Aggregation

func (ApiPutAggregationRequest) Execute

type ApiPutAlarmRuleByIdRequest added in v2.4.2

type ApiPutAlarmRuleByIdRequest struct {
	ApiService *AlarmRulesAPIService
	// contains filtered or unexported fields
}

func (ApiPutAlarmRuleByIdRequest) AlarmRule added in v2.4.2

func (ApiPutAlarmRuleByIdRequest) Execute added in v2.4.2

type ApiPutAlarmRuleRequest

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

func (ApiPutAlarmRuleRequest) AlarmRule

func (ApiPutAlarmRuleRequest) Execute

type ApiPutAssetByIdRequest added in v2.4.2

type ApiPutAssetByIdRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiPutAssetByIdRequest) Asset added in v2.4.2

func (ApiPutAssetByIdRequest) Execute added in v2.4.2

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

func (ApiPutAssetByIdRequest) Expansions added in v2.4.20

func (r ApiPutAssetByIdRequest) Expansions(expansions []string) ApiPutAssetByIdRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiPutAssetRequest

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

func (ApiPutAssetRequest) Asset

func (ApiPutAssetRequest) Execute

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

func (ApiPutAssetRequest) Expansions added in v2.4.20

func (r ApiPutAssetRequest) Expansions(expansions []string) ApiPutAssetRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiPutAssetRequest) IdentifyBy added in v2.5.3

func (r ApiPutAssetRequest) IdentifyBy(identifyBy string) ApiPutAssetRequest

Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.

type ApiPutAssetTypeAttributeRequest

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

func (ApiPutAssetTypeAttributeRequest) AssetTypeAttribute

func (ApiPutAssetTypeAttributeRequest) Execute

type ApiPutAssetTypeByNameRequest added in v2.4.2

type ApiPutAssetTypeByNameRequest struct {
	ApiService *AssetTypesAPIService
	// contains filtered or unexported fields
}

func (ApiPutAssetTypeByNameRequest) AssetType added in v2.4.2

func (ApiPutAssetTypeByNameRequest) Execute added in v2.4.2

func (ApiPutAssetTypeByNameRequest) Expansions added in v2.4.2

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiPutAssetTypeRequest

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

func (ApiPutAssetTypeRequest) AssetType

func (ApiPutAssetTypeRequest) Execute

func (ApiPutAssetTypeRequest) Expansions

func (r ApiPutAssetTypeRequest) Expansions(expansions []string) ApiPutAssetTypeRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

type ApiPutAttributeDisplayRequest added in v2.5.3

type ApiPutAttributeDisplayRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiPutAttributeDisplayRequest) AttributeDisplay added in v2.5.3

func (ApiPutAttributeDisplayRequest) Execute added in v2.5.3

type ApiPutBulkAssetsRequest added in v2.5.3

type ApiPutBulkAssetsRequest struct {
	ApiService *AssetsAPIService
	// contains filtered or unexported fields
}

func (ApiPutBulkAssetsRequest) Asset added in v2.5.3

func (ApiPutBulkAssetsRequest) Execute added in v2.5.3

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

func (ApiPutBulkAssetsRequest) Expansions added in v2.5.3

func (r ApiPutBulkAssetsRequest) Expansions(expansions []string) ApiPutBulkAssetsRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiPutBulkAssetsRequest) IdentifyBy added in v2.5.3

func (r ApiPutBulkAssetsRequest) IdentifyBy(identifyBy string) ApiPutBulkAssetsRequest

Serves the field name send in the request body as a unique identifier for the asset, essential for operations like updates or deletions. Please refer to the Asset schema definition for further information about this fields. In cases where this parameter isn't defined, all field names are used in the order defined. So if there is no 'resourceId' present in the request body, the 'deviceId' is used and when there is also no deviceId present the 'id' field (assetId) is used.

type ApiPutBulkDataRequest added in v2.5.3

type ApiPutBulkDataRequest struct {
	ApiService *DataAPIService
	// contains filtered or unexported fields
}

func (ApiPutBulkDataRequest) Data added in v2.5.3

func (ApiPutBulkDataRequest) DirectMode added in v2.5.9

func (r ApiPutBulkDataRequest) DirectMode(directMode string) ApiPutBulkDataRequest

Executes the operation directly without using other services.

func (ApiPutBulkDataRequest) Execute added in v2.5.3

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

type ApiPutCalculationRuleByIdRequest added in v2.6.11

type ApiPutCalculationRuleByIdRequest struct {
	ApiService *CalculationRulesAPIService
	// contains filtered or unexported fields
}

func (ApiPutCalculationRuleByIdRequest) CalculationRule added in v2.6.11

func (ApiPutCalculationRuleByIdRequest) Execute added in v2.6.11

type ApiPutCalculationRuleRequest added in v2.6.11

type ApiPutCalculationRuleRequest struct {
	ApiService *CalculationRulesAPIService
	// contains filtered or unexported fields
}

func (ApiPutCalculationRuleRequest) CalculationRule added in v2.6.11

func (ApiPutCalculationRuleRequest) Execute added in v2.6.11

type ApiPutDataRequest

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

func (ApiPutDataRequest) Data

func (ApiPutDataRequest) DirectMode added in v2.5.9

func (r ApiPutDataRequest) DirectMode(directMode string) ApiPutDataRequest

Executes the operation directly without using other services.

func (ApiPutDataRequest) Execute

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

type ApiPutNodeByIdentRequest added in v2.4.2

type ApiPutNodeByIdentRequest struct {
	ApiService *NodesAPIService
	// contains filtered or unexported fields
}

func (ApiPutNodeByIdentRequest) Execute added in v2.4.2

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

func (ApiPutNodeByIdentRequest) Node added in v2.4.2

type ApiPutNodeRequest

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

func (ApiPutNodeRequest) Execute

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

func (ApiPutNodeRequest) Node

type ApiPutProjectRequest added in v2.5.3

type ApiPutProjectRequest struct {
	ApiService *ProjectsAPIService
	// contains filtered or unexported fields
}

func (ApiPutProjectRequest) Execute added in v2.5.3

func (r ApiPutProjectRequest) Execute() (*Project, *http.Response, error)

func (ApiPutProjectRequest) Project added in v2.5.3

type ApiPutTagRequest added in v2.5.3

type ApiPutTagRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (ApiPutTagRequest) Execute added in v2.5.3

func (r ApiPutTagRequest) Execute() (*Tag, *http.Response, error)

func (ApiPutTagRequest) Tag added in v2.5.3

type ApiPutUserRequest added in v2.5.3

type ApiPutUserRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiPutUserRequest) Execute added in v2.5.3

func (r ApiPutUserRequest) Execute() (*User, *http.Response, error)

func (ApiPutUserRequest) User added in v2.5.3

type ApiPutWidgetTypeByNameRequest added in v2.4.2

type ApiPutWidgetTypeByNameRequest struct {
	ApiService *WidgetsTypesAPIService
	// contains filtered or unexported fields
}

func (ApiPutWidgetTypeByNameRequest) Execute added in v2.4.2

func (ApiPutWidgetTypeByNameRequest) Expansions added in v2.4.2

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiPutWidgetTypeByNameRequest) WidgetType added in v2.4.2

type ApiPutWidgetTypeRequest

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

func (ApiPutWidgetTypeRequest) Execute

func (ApiPutWidgetTypeRequest) Expansions

func (r ApiPutWidgetTypeRequest) Expansions(expansions []string) ApiPutWidgetTypeRequest

List of referenced data to load, insert or update. Each entry defines the full qualified name of the field to be expanded as follows 'ObjectName.fieldName'.

func (ApiPutWidgetTypeRequest) WidgetType

type App

type App struct {
	// Name of the app
	Name string `json:"name"`
	// Is the app active or inactive
	Active NullableBool `json:"active,omitempty"`
	// Is the app already registered or not
	Registered NullableBool `json:"registered,omitempty"`
	// Delivers the apps metadata to handle it in the app store
	Metadata map[string]interface{} `json:"metadata,omitempty"`
	// the apps version
	Version NullableString `json:"version,omitempty"`
}

App An app

func NewApp

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) GetMetadata added in v2.4.8

func (o *App) GetMetadata() map[string]interface{}

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

func (*App) GetMetadataOk added in v2.4.8

func (o *App) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*App) 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) GetVersion added in v2.4.8

func (o *App) GetVersion() string

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

func (*App) GetVersionOk added in v2.4.8

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

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*App) HasActive

func (o *App) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*App) HasMetadata added in v2.4.8

func (o *App) HasMetadata() bool

HasMetadata 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) HasVersion added in v2.4.8

func (o *App) HasVersion() bool

HasVersion 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

func (o *App) SetActiveNil()

SetActiveNil sets the value for Active to be an explicit nil

func (*App) SetMetadata added in v2.4.8

func (o *App) SetMetadata(v map[string]interface{})

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

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

func (o *App) SetRegisteredNil()

SetRegisteredNil sets the value for Registered to be an explicit nil

func (*App) SetVersion added in v2.4.8

func (o *App) SetVersion(v string)

SetVersion gets a reference to the given NullableString and assigns it to the Version field.

func (*App) SetVersionNil added in v2.4.8

func (o *App) SetVersionNil()

SetVersionNil sets the value for Version to be an explicit nil

func (App) ToMap added in v2.4.8

func (o App) ToMap() (map[string]interface{}, error)

func (*App) UnmarshalJSON added in v2.5.9

func (o *App) UnmarshalJSON(data []byte) (err error)

func (*App) UnsetActive

func (o *App) UnsetActive()

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

func (*App) UnsetRegistered

func (o *App) UnsetRegistered()

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

func (*App) UnsetVersion added in v2.4.8

func (o *App) UnsetVersion()

UnsetVersion ensures that no value is present for Version, not even an explicit nil

type AppsAPIService added in v2.5.3

type AppsAPIService service

AppsAPIService AppsAPI service

func (*AppsAPIService) GetAppByName added in v2.5.3

func (a *AppsAPIService) GetAppByName(ctx context.Context, appName string) ApiGetAppByNameRequest

GetAppByName Information about an app

Gets information about an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName The name of the app
@return ApiGetAppByNameRequest

func (*AppsAPIService) GetAppByNameExecute added in v2.5.3

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

Execute executes the request

@return App

func (*AppsAPIService) GetPatchByName added in v2.5.3

func (a *AppsAPIService) GetPatchByName(ctx context.Context, appName string, patchName string) ApiGetPatchByNameRequest

GetPatchByName Information about a patch for an app

Gets information about a patch for an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName The name of the app
@param patchName The name of the patch
@return ApiGetPatchByNameRequest

func (*AppsAPIService) GetPatchByNameExecute added in v2.5.3

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

Execute executes the request

@return Patch

func (*AppsAPIService) PatchAppByName added in v2.5.3

func (a *AppsAPIService) PatchAppByName(ctx context.Context, appName string) ApiPatchAppByNameRequest

PatchAppByName Update an app

Update properties of an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName The name of the app
@return ApiPatchAppByNameRequest

func (*AppsAPIService) PatchAppByNameExecute added in v2.5.3

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

Execute executes the request

func (*AppsAPIService) PatchPatchByName added in v2.5.3

func (a *AppsAPIService) PatchPatchByName(ctx context.Context, appName string, patchName string) ApiPatchPatchByNameRequest

PatchPatchByName Updates a patch

Updates properties of a patch for an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName The name of the app
@param patchName The name of the patch
@return ApiPatchPatchByNameRequest

func (*AppsAPIService) PatchPatchByNameExecute added in v2.5.3

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

Execute executes the request

type Asset

type Asset struct {
	// A custom identifier for the resource, which can be utilized to identify it for various operations such as updates, deletions, and other related tasks. If this identifier is not provided, the application will generate a new value for it automatically
	ResourceId NullableString `json:"resourceId,omitempty"`
	// The internal Id of asset
	Id NullableInt32 `json:"id,omitempty"`
	// A list of unique device ids
	DeviceIds []string `json:"deviceIds,omitempty"`
	// ID of the project to which the asset belongs
	ProjectId string `json:"projectId"`
	// Unique identifier for the asset
	GlobalAssetIdentifier string `json:"globalAssetIdentifier"`
	// Alternate text for the asset to display in frontend
	Name NullableString `json:"name,omitempty"`
	// Reference to asset type by name
	AssetType string `json:"assetType"`
	// Latitude coordinate (GPS) of the asset
	Latitude NullableFloat64 `json:"latitude,omitempty"`
	// Longitude coordinate (GPS) of the asset
	Longitude NullableFloat64 `json:"longitude,omitempty"`
	// Does the asset function as a tracker and capture its position by itself
	// Deprecated
	IsTracker NullableBool `json:"isTracker,omitempty"`
	// Tracker Asset Id
	TrackerId NullableInt32 `json:"trackerId,omitempty"`
	// Textual description for this asset
	Description NullableString `json:"description,omitempty"`
	// The id of an asset which groups this asset as a functional child
	ParentFunctionalAssetId NullableInt32 `json:"parentFunctionalAssetId,omitempty"`
	// The hierarchical path of functional ids of the asset
	FunctionalAssetIdPath []int32 `json:"functionalAssetIdPath,omitempty"`
	// The id of an asset which groups this asset as a locational child
	ParentLocationalAssetId NullableInt32 `json:"parentLocationalAssetId,omitempty"`
	// The hierarchical path of locational ids of the asset
	LocationalAssetIdPath []int32 `json:"locationalAssetIdPath,omitempty"`
	// List of associated tags
	Tags []string `json:"tags,omitempty"`
	// List of children for this asset.
	ChildrenInfo []Asset `json:"childrenInfo,omitempty"`
	// A list of files attached to the asset
	Attachments []Attachment `json:"attachments,omitempty"`
}

Asset An asset

func NewAsset

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) GetAttachments added in v2.4.20

func (o *Asset) GetAttachments() []Attachment

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

func (*Asset) GetAttachmentsOk added in v2.4.20

func (o *Asset) GetAttachmentsOk() ([]Attachment, bool)

GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetChildrenInfo

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

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) GetDeviceIds added in v2.5.3

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

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

func (*Asset) GetDeviceIdsOk added in v2.5.3

func (o *Asset) GetDeviceIdsOk() ([]string, bool)

GetDeviceIdsOk returns a tuple with the DeviceIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) GetFunctionalAssetIdPath added in v2.5.4

func (o *Asset) GetFunctionalAssetIdPath() []int32

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

func (*Asset) GetFunctionalAssetIdPathOk added in v2.5.4

func (o *Asset) GetFunctionalAssetIdPathOk() ([]int32, bool)

GetFunctionalAssetIdPathOk returns a tuple with the FunctionalAssetIdPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*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) GetIsTracker added in v2.4.20

func (o *Asset) GetIsTracker() bool

GetIsTracker returns the IsTracker field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated

func (*Asset) GetIsTrackerOk added in v2.4.20

func (o *Asset) GetIsTrackerOk() (*bool, bool)

GetIsTrackerOk returns a tuple with the IsTracker field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated

func (*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) GetLocationalAssetIdPath added in v2.5.4

func (o *Asset) GetLocationalAssetIdPath() []int32

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

func (*Asset) GetLocationalAssetIdPathOk added in v2.5.4

func (o *Asset) GetLocationalAssetIdPathOk() ([]int32, bool)

GetLocationalAssetIdPathOk returns a tuple with the LocationalAssetIdPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*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

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

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

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

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) GetResourceId added in v2.5.3

func (o *Asset) GetResourceId() string

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

func (*Asset) GetResourceIdOk added in v2.5.3

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

GetResourceIdOk returns a tuple with the ResourceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*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) GetTrackerId added in v2.6.11

func (o *Asset) GetTrackerId() int32

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

func (*Asset) GetTrackerIdOk added in v2.6.11

func (o *Asset) GetTrackerIdOk() (*int32, bool)

GetTrackerIdOk returns a tuple with the TrackerId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Asset) HasAttachments added in v2.4.20

func (o *Asset) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*Asset) HasChildrenInfo

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) HasDeviceIds added in v2.5.3

func (o *Asset) HasDeviceIds() bool

HasDeviceIds returns a boolean if a field has been set.

func (*Asset) HasFunctionalAssetIdPath added in v2.5.4

func (o *Asset) HasFunctionalAssetIdPath() bool

HasFunctionalAssetIdPath 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) HasIsTracker added in v2.4.20

func (o *Asset) HasIsTracker() bool

HasIsTracker 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) HasLocationalAssetIdPath added in v2.5.4

func (o *Asset) HasLocationalAssetIdPath() bool

HasLocationalAssetIdPath 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

func (o *Asset) HasParentFunctionalAssetId() bool

HasParentFunctionalAssetId returns a boolean if a field has been set.

func (*Asset) HasParentLocationalAssetId

func (o *Asset) HasParentLocationalAssetId() bool

HasParentLocationalAssetId returns a boolean if a field has been set.

func (*Asset) HasResourceId added in v2.5.3

func (o *Asset) HasResourceId() bool

HasResourceId 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) HasTrackerId added in v2.6.11

func (o *Asset) HasTrackerId() bool

HasTrackerId 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) SetAttachments added in v2.4.20

func (o *Asset) SetAttachments(v []Attachment)

SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.

func (*Asset) SetChildrenInfo

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

func (o *Asset) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Asset) SetDeviceIds added in v2.5.3

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

SetDeviceIds gets a reference to the given []string and assigns it to the DeviceIds field.

func (*Asset) SetFunctionalAssetIdPath added in v2.5.4

func (o *Asset) SetFunctionalAssetIdPath(v []int32)

SetFunctionalAssetIdPath gets a reference to the given []int32 and assigns it to the FunctionalAssetIdPath field.

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

func (o *Asset) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Asset) SetIsTracker added in v2.4.20

func (o *Asset) SetIsTracker(v bool)

SetIsTracker gets a reference to the given NullableBool and assigns it to the IsTracker field. Deprecated

func (*Asset) SetIsTrackerNil added in v2.4.20

func (o *Asset) SetIsTrackerNil()

SetIsTrackerNil sets the value for IsTracker to be an explicit nil

func (*Asset) SetLatitude

func (o *Asset) SetLatitude(v float64)

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

func (*Asset) SetLatitudeNil

func (o *Asset) SetLatitudeNil()

SetLatitudeNil sets the value for Latitude to be an explicit nil

func (*Asset) SetLocationalAssetIdPath added in v2.5.4

func (o *Asset) SetLocationalAssetIdPath(v []int32)

SetLocationalAssetIdPath gets a reference to the given []int32 and assigns it to the LocationalAssetIdPath field.

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

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

func (o *Asset) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*Asset) SetParentFunctionalAssetId

func (o *Asset) SetParentFunctionalAssetId(v int32)

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

func (*Asset) SetParentFunctionalAssetIdNil

func (o *Asset) SetParentFunctionalAssetIdNil()

SetParentFunctionalAssetIdNil sets the value for ParentFunctionalAssetId to be an explicit nil

func (*Asset) SetParentLocationalAssetId

func (o *Asset) SetParentLocationalAssetId(v int32)

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

func (*Asset) SetParentLocationalAssetIdNil

func (o *Asset) SetParentLocationalAssetIdNil()

SetParentLocationalAssetIdNil sets the value for ParentLocationalAssetId to be an explicit nil

func (*Asset) SetProjectId

func (o *Asset) SetProjectId(v string)

SetProjectId sets field value

func (*Asset) SetResourceId added in v2.5.3

func (o *Asset) SetResourceId(v string)

SetResourceId gets a reference to the given NullableString and assigns it to the ResourceId field.

func (*Asset) SetResourceIdNil added in v2.5.3

func (o *Asset) SetResourceIdNil()

SetResourceIdNil sets the value for ResourceId to be an explicit nil

func (*Asset) SetTags

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

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

func (*Asset) SetTrackerId added in v2.6.11

func (o *Asset) SetTrackerId(v int32)

SetTrackerId gets a reference to the given NullableInt32 and assigns it to the TrackerId field.

func (*Asset) SetTrackerIdNil added in v2.6.11

func (o *Asset) SetTrackerIdNil()

SetTrackerIdNil sets the value for TrackerId to be an explicit nil

func (Asset) ToMap added in v2.4.8

func (o Asset) ToMap() (map[string]interface{}, error)

func (*Asset) UnmarshalJSON added in v2.5.9

func (o *Asset) UnmarshalJSON(data []byte) (err error)

func (*Asset) UnsetDescription

func (o *Asset) UnsetDescription()

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

func (*Asset) UnsetId

func (o *Asset) UnsetId()

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

func (*Asset) UnsetIsTracker added in v2.4.20

func (o *Asset) UnsetIsTracker()

UnsetIsTracker ensures that no value is present for IsTracker, not even an explicit nil

func (*Asset) UnsetLatitude

func (o *Asset) UnsetLatitude()

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

func (*Asset) UnsetLongitude

func (o *Asset) UnsetLongitude()

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

func (*Asset) UnsetName

func (o *Asset) UnsetName()

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

func (*Asset) UnsetParentFunctionalAssetId

func (o *Asset) UnsetParentFunctionalAssetId()

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

func (*Asset) UnsetParentLocationalAssetId

func (o *Asset) UnsetParentLocationalAssetId()

UnsetParentLocationalAssetId ensures that no value is present for ParentLocationalAssetId, not even an explicit nil

func (*Asset) UnsetResourceId added in v2.5.3

func (o *Asset) UnsetResourceId()

UnsetResourceId ensures that no value is present for ResourceId, not even an explicit nil

func (*Asset) UnsetTrackerId added in v2.6.11

func (o *Asset) UnsetTrackerId()

UnsetTrackerId ensures that no value is present for TrackerId, not even an explicit nil

type AssetDryRun added in v2.5.3

type AssetDryRun struct {
	// Unique identifier (textual or numeric) of resources
	Identifier *string `json:"identifier,omitempty"`
	// The status code expecting when actually perform the operation. Some values are - 200: updated (ok)  - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable
	StatusCode *int32 `json:"statusCode,omitempty"`
	// The error message expecting when actually perform the operation.
	ErrorMessage NullableString   `json:"errorMessage,omitempty"`
	IdentifiedBy *AssetIdentifyBy `json:"identifiedBy,omitempty"`
	Before       NullableAsset    `json:"before,omitempty"`
	After        NullableAsset    `json:"after,omitempty"`
}

AssetDryRun struct for AssetDryRun

func NewAssetDryRun added in v2.5.3

func NewAssetDryRun() *AssetDryRun

NewAssetDryRun instantiates a new AssetDryRun object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssetDryRunWithDefaults added in v2.5.3

func NewAssetDryRunWithDefaults() *AssetDryRun

NewAssetDryRunWithDefaults instantiates a new AssetDryRun object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssetDryRun) GetAfter added in v2.5.3

func (o *AssetDryRun) GetAfter() Asset

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

func (*AssetDryRun) GetAfterOk added in v2.5.3

func (o *AssetDryRun) GetAfterOk() (*Asset, bool)

GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetDryRun) GetBefore added in v2.5.3

func (o *AssetDryRun) GetBefore() Asset

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

func (*AssetDryRun) GetBeforeOk added in v2.5.3

func (o *AssetDryRun) GetBeforeOk() (*Asset, bool)

GetBeforeOk returns a tuple with the Before field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetDryRun) GetErrorMessage added in v2.5.3

func (o *AssetDryRun) GetErrorMessage() string

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

func (*AssetDryRun) GetErrorMessageOk added in v2.5.3

func (o *AssetDryRun) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetDryRun) GetIdentifiedBy added in v2.5.3

func (o *AssetDryRun) GetIdentifiedBy() AssetIdentifyBy

GetIdentifiedBy returns the IdentifiedBy field value if set, zero value otherwise.

func (*AssetDryRun) GetIdentifiedByOk added in v2.5.3

func (o *AssetDryRun) GetIdentifiedByOk() (*AssetIdentifyBy, bool)

GetIdentifiedByOk returns a tuple with the IdentifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetDryRun) GetIdentifier added in v2.5.3

func (o *AssetDryRun) GetIdentifier() string

GetIdentifier returns the Identifier field value if set, zero value otherwise.

func (*AssetDryRun) GetIdentifierOk added in v2.5.3

func (o *AssetDryRun) GetIdentifierOk() (*string, bool)

GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetDryRun) GetStatusCode added in v2.5.3

func (o *AssetDryRun) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*AssetDryRun) GetStatusCodeOk added in v2.5.3

func (o *AssetDryRun) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetDryRun) HasAfter added in v2.5.3

func (o *AssetDryRun) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (*AssetDryRun) HasBefore added in v2.5.3

func (o *AssetDryRun) HasBefore() bool

HasBefore returns a boolean if a field has been set.

func (*AssetDryRun) HasErrorMessage added in v2.5.3

func (o *AssetDryRun) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*AssetDryRun) HasIdentifiedBy added in v2.5.3

func (o *AssetDryRun) HasIdentifiedBy() bool

HasIdentifiedBy returns a boolean if a field has been set.

func (*AssetDryRun) HasIdentifier added in v2.5.3

func (o *AssetDryRun) HasIdentifier() bool

HasIdentifier returns a boolean if a field has been set.

func (*AssetDryRun) HasStatusCode added in v2.5.3

func (o *AssetDryRun) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (AssetDryRun) MarshalJSON added in v2.5.3

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

func (*AssetDryRun) SetAfter added in v2.5.3

func (o *AssetDryRun) SetAfter(v Asset)

SetAfter gets a reference to the given NullableAsset and assigns it to the After field.

func (*AssetDryRun) SetAfterNil added in v2.5.3

func (o *AssetDryRun) SetAfterNil()

SetAfterNil sets the value for After to be an explicit nil

func (*AssetDryRun) SetBefore added in v2.5.3

func (o *AssetDryRun) SetBefore(v Asset)

SetBefore gets a reference to the given NullableAsset and assigns it to the Before field.

func (*AssetDryRun) SetBeforeNil added in v2.5.3

func (o *AssetDryRun) SetBeforeNil()

SetBeforeNil sets the value for Before to be an explicit nil

func (*AssetDryRun) SetErrorMessage added in v2.5.3

func (o *AssetDryRun) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given NullableString and assigns it to the ErrorMessage field.

func (*AssetDryRun) SetErrorMessageNil added in v2.5.3

func (o *AssetDryRun) SetErrorMessageNil()

SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil

func (*AssetDryRun) SetIdentifiedBy added in v2.5.3

func (o *AssetDryRun) SetIdentifiedBy(v AssetIdentifyBy)

SetIdentifiedBy gets a reference to the given AssetIdentifyBy and assigns it to the IdentifiedBy field.

func (*AssetDryRun) SetIdentifier added in v2.5.3

func (o *AssetDryRun) SetIdentifier(v string)

SetIdentifier gets a reference to the given string and assigns it to the Identifier field.

func (*AssetDryRun) SetStatusCode added in v2.5.3

func (o *AssetDryRun) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (AssetDryRun) ToMap added in v2.5.3

func (o AssetDryRun) ToMap() (map[string]interface{}, error)

func (*AssetDryRun) UnsetAfter added in v2.5.3

func (o *AssetDryRun) UnsetAfter()

UnsetAfter ensures that no value is present for After, not even an explicit nil

func (*AssetDryRun) UnsetBefore added in v2.5.3

func (o *AssetDryRun) UnsetBefore()

UnsetBefore ensures that no value is present for Before, not even an explicit nil

func (*AssetDryRun) UnsetErrorMessage added in v2.5.3

func (o *AssetDryRun) UnsetErrorMessage()

UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil

type AssetIdentifyBy added in v2.5.3

type AssetIdentifyBy string

AssetIdentifyBy the model 'AssetIdentifyBy'

const (
	ASSET_IDENTIFY_BY_RESOURCE_ID AssetIdentifyBy = "resourceId"
	ASSET_IDENTIFY_BY_DEVICE_ID   AssetIdentifyBy = "deviceId"
	ASSET_IDENTIFY_BY_ID          AssetIdentifyBy = "id"
	ASSET_IDENTIFY_BY_GAI_PROJ_ID AssetIdentifyBy = "gai-projId"
)

List of AssetIdentifyBy

func NewAssetIdentifyByFromValue added in v2.5.3

func NewAssetIdentifyByFromValue(v string) (*AssetIdentifyBy, error)

NewAssetIdentifyByFromValue returns a pointer to a valid AssetIdentifyBy for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AssetIdentifyBy) IsValid added in v2.5.3

func (v AssetIdentifyBy) IsValid() bool

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

func (AssetIdentifyBy) Ptr added in v2.5.3

Ptr returns reference to AssetIdentifyBy value

func (*AssetIdentifyBy) UnmarshalJSON added in v2.5.3

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

type AssetListen added in v2.6.0

type AssetListen struct {
	// A custom identifier for the resource, which can be utilized to identify it for various operations such as updates, deletions, and other related tasks. If this identifier is not provided, the application will generate a new value for it automatically
	ResourceId NullableString `json:"resourceId,omitempty"`
	// The internal Id of asset
	Id NullableInt32 `json:"id,omitempty"`
	// A list of unique device ids
	DeviceIds []string `json:"deviceIds,omitempty"`
	// ID of the project to which the asset belongs
	ProjectId string `json:"projectId"`
	// Unique identifier for the asset
	GlobalAssetIdentifier string `json:"globalAssetIdentifier"`
	// Alternate text for the asset to display in frontend
	Name NullableString `json:"name,omitempty"`
	// Reference to asset type by name
	AssetType string `json:"assetType"`
	// Latitude coordinate (GPS) of the asset
	Latitude NullableFloat64 `json:"latitude,omitempty"`
	// Longitude coordinate (GPS) of the asset
	Longitude NullableFloat64 `json:"longitude,omitempty"`
	// Does the asset function as a tracker and capture its position by itself
	// Deprecated
	IsTracker NullableBool `json:"isTracker,omitempty"`
	// Tracker Asset Id
	TrackerId NullableInt32 `json:"trackerId,omitempty"`
	// Textual description for this asset
	Description NullableString `json:"description,omitempty"`
	// The id of an asset which groups this asset as a functional child
	ParentFunctionalAssetId NullableInt32 `json:"parentFunctionalAssetId,omitempty"`
	// The hierarchical path of functional ids of the asset
	FunctionalAssetIdPath []int32 `json:"functionalAssetIdPath,omitempty"`
	// The id of an asset which groups this asset as a locational child
	ParentLocationalAssetId NullableInt32 `json:"parentLocationalAssetId,omitempty"`
	// The hierarchical path of locational ids of the asset
	LocationalAssetIdPath []int32 `json:"locationalAssetIdPath,omitempty"`
	// List of associated tags
	Tags []string `json:"tags,omitempty"`
	// List of children for this asset.
	ChildrenInfo []Asset `json:"childrenInfo,omitempty"`
	// A list of files attached to the asset
	Attachments []Attachment `json:"attachments,omitempty"`
	// The status code expecting when actually perform the operation. Some values are - 200: updated (ok)  - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable
	StatusCode *int32 `json:"statusCode,omitempty"`
}

AssetListen struct for AssetListen

func NewAssetListen added in v2.6.0

func NewAssetListen(projectId string, globalAssetIdentifier string, assetType string) *AssetListen

NewAssetListen instantiates a new AssetListen object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssetListenWithDefaults added in v2.6.0

func NewAssetListenWithDefaults() *AssetListen

NewAssetListenWithDefaults instantiates a new AssetListen object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssetListen) GetAssetType added in v2.6.0

func (o *AssetListen) GetAssetType() string

GetAssetType returns the AssetType field value

func (*AssetListen) GetAssetTypeOk added in v2.6.0

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

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

func (*AssetListen) GetAttachments added in v2.6.0

func (o *AssetListen) GetAttachments() []Attachment

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

func (*AssetListen) GetAttachmentsOk added in v2.6.0

func (o *AssetListen) GetAttachmentsOk() ([]Attachment, bool)

GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetChildrenInfo added in v2.6.0

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

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

func (*AssetListen) GetChildrenInfoOk added in v2.6.0

func (o *AssetListen) GetChildrenInfoOk() ([]Asset, bool)

GetChildrenInfoOk returns a tuple with the ChildrenInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetDescription added in v2.6.0

func (o *AssetListen) GetDescription() string

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

func (*AssetListen) GetDescriptionOk added in v2.6.0

func (o *AssetListen) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetDeviceIds added in v2.6.0

func (o *AssetListen) GetDeviceIds() []string

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

func (*AssetListen) GetDeviceIdsOk added in v2.6.0

func (o *AssetListen) GetDeviceIdsOk() ([]string, bool)

GetDeviceIdsOk returns a tuple with the DeviceIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetFunctionalAssetIdPath added in v2.6.0

func (o *AssetListen) GetFunctionalAssetIdPath() []int32

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

func (*AssetListen) GetFunctionalAssetIdPathOk added in v2.6.0

func (o *AssetListen) GetFunctionalAssetIdPathOk() ([]int32, bool)

GetFunctionalAssetIdPathOk returns a tuple with the FunctionalAssetIdPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetGlobalAssetIdentifier added in v2.6.0

func (o *AssetListen) GetGlobalAssetIdentifier() string

GetGlobalAssetIdentifier returns the GlobalAssetIdentifier field value

func (*AssetListen) GetGlobalAssetIdentifierOk added in v2.6.0

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

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

func (*AssetListen) GetId added in v2.6.0

func (o *AssetListen) GetId() int32

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

func (*AssetListen) GetIdOk added in v2.6.0

func (o *AssetListen) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetIsTracker added in v2.6.0

func (o *AssetListen) GetIsTracker() bool

GetIsTracker returns the IsTracker field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated

func (*AssetListen) GetIsTrackerOk added in v2.6.0

func (o *AssetListen) GetIsTrackerOk() (*bool, bool)

GetIsTrackerOk returns a tuple with the IsTracker field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated

func (*AssetListen) GetLatitude added in v2.6.0

func (o *AssetListen) GetLatitude() float64

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

func (*AssetListen) GetLatitudeOk added in v2.6.0

func (o *AssetListen) GetLatitudeOk() (*float64, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetLocationalAssetIdPath added in v2.6.0

func (o *AssetListen) GetLocationalAssetIdPath() []int32

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

func (*AssetListen) GetLocationalAssetIdPathOk added in v2.6.0

func (o *AssetListen) GetLocationalAssetIdPathOk() ([]int32, bool)

GetLocationalAssetIdPathOk returns a tuple with the LocationalAssetIdPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetLongitude added in v2.6.0

func (o *AssetListen) GetLongitude() float64

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

func (*AssetListen) GetLongitudeOk added in v2.6.0

func (o *AssetListen) GetLongitudeOk() (*float64, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetName added in v2.6.0

func (o *AssetListen) GetName() string

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

func (*AssetListen) GetNameOk added in v2.6.0

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

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetParentFunctionalAssetId added in v2.6.0

func (o *AssetListen) GetParentFunctionalAssetId() int32

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

func (*AssetListen) GetParentFunctionalAssetIdOk added in v2.6.0

func (o *AssetListen) GetParentFunctionalAssetIdOk() (*int32, bool)

GetParentFunctionalAssetIdOk returns a tuple with the ParentFunctionalAssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetParentLocationalAssetId added in v2.6.0

func (o *AssetListen) GetParentLocationalAssetId() int32

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

func (*AssetListen) GetParentLocationalAssetIdOk added in v2.6.0

func (o *AssetListen) GetParentLocationalAssetIdOk() (*int32, bool)

GetParentLocationalAssetIdOk returns a tuple with the ParentLocationalAssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetProjectId added in v2.6.0

func (o *AssetListen) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*AssetListen) GetProjectIdOk added in v2.6.0

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

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

func (*AssetListen) GetResourceId added in v2.6.0

func (o *AssetListen) GetResourceId() string

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

func (*AssetListen) GetResourceIdOk added in v2.6.0

func (o *AssetListen) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetStatusCode added in v2.6.0

func (o *AssetListen) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*AssetListen) GetStatusCodeOk added in v2.6.0

func (o *AssetListen) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetListen) GetTags added in v2.6.0

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

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

func (*AssetListen) GetTagsOk added in v2.6.0

func (o *AssetListen) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) GetTrackerId added in v2.6.11

func (o *AssetListen) GetTrackerId() int32

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

func (*AssetListen) GetTrackerIdOk added in v2.6.11

func (o *AssetListen) GetTrackerIdOk() (*int32, bool)

GetTrackerIdOk returns a tuple with the TrackerId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetListen) HasAttachments added in v2.6.0

func (o *AssetListen) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*AssetListen) HasChildrenInfo added in v2.6.0

func (o *AssetListen) HasChildrenInfo() bool

HasChildrenInfo returns a boolean if a field has been set.

func (*AssetListen) HasDescription added in v2.6.0

func (o *AssetListen) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AssetListen) HasDeviceIds added in v2.6.0

func (o *AssetListen) HasDeviceIds() bool

HasDeviceIds returns a boolean if a field has been set.

func (*AssetListen) HasFunctionalAssetIdPath added in v2.6.0

func (o *AssetListen) HasFunctionalAssetIdPath() bool

HasFunctionalAssetIdPath returns a boolean if a field has been set.

func (*AssetListen) HasId added in v2.6.0

func (o *AssetListen) HasId() bool

HasId returns a boolean if a field has been set.

func (*AssetListen) HasIsTracker added in v2.6.0

func (o *AssetListen) HasIsTracker() bool

HasIsTracker returns a boolean if a field has been set.

func (*AssetListen) HasLatitude added in v2.6.0

func (o *AssetListen) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*AssetListen) HasLocationalAssetIdPath added in v2.6.0

func (o *AssetListen) HasLocationalAssetIdPath() bool

HasLocationalAssetIdPath returns a boolean if a field has been set.

func (*AssetListen) HasLongitude added in v2.6.0

func (o *AssetListen) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*AssetListen) HasName added in v2.6.0

func (o *AssetListen) HasName() bool

HasName returns a boolean if a field has been set.

func (*AssetListen) HasParentFunctionalAssetId added in v2.6.0

func (o *AssetListen) HasParentFunctionalAssetId() bool

HasParentFunctionalAssetId returns a boolean if a field has been set.

func (*AssetListen) HasParentLocationalAssetId added in v2.6.0

func (o *AssetListen) HasParentLocationalAssetId() bool

HasParentLocationalAssetId returns a boolean if a field has been set.

func (*AssetListen) HasResourceId added in v2.6.0

func (o *AssetListen) HasResourceId() bool

HasResourceId returns a boolean if a field has been set.

func (*AssetListen) HasStatusCode added in v2.6.0

func (o *AssetListen) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*AssetListen) HasTags added in v2.6.0

func (o *AssetListen) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*AssetListen) HasTrackerId added in v2.6.11

func (o *AssetListen) HasTrackerId() bool

HasTrackerId returns a boolean if a field has been set.

func (AssetListen) MarshalJSON added in v2.6.0

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

func (*AssetListen) SetAssetType added in v2.6.0

func (o *AssetListen) SetAssetType(v string)

SetAssetType sets field value

func (*AssetListen) SetAttachments added in v2.6.0

func (o *AssetListen) SetAttachments(v []Attachment)

SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.

func (*AssetListen) SetChildrenInfo added in v2.6.0

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

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

func (*AssetListen) SetDescription added in v2.6.0

func (o *AssetListen) SetDescription(v string)

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

func (*AssetListen) SetDescriptionNil added in v2.6.0

func (o *AssetListen) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*AssetListen) SetDeviceIds added in v2.6.0

func (o *AssetListen) SetDeviceIds(v []string)

SetDeviceIds gets a reference to the given []string and assigns it to the DeviceIds field.

func (*AssetListen) SetFunctionalAssetIdPath added in v2.6.0

func (o *AssetListen) SetFunctionalAssetIdPath(v []int32)

SetFunctionalAssetIdPath gets a reference to the given []int32 and assigns it to the FunctionalAssetIdPath field.

func (*AssetListen) SetGlobalAssetIdentifier added in v2.6.0

func (o *AssetListen) SetGlobalAssetIdentifier(v string)

SetGlobalAssetIdentifier sets field value

func (*AssetListen) SetId added in v2.6.0

func (o *AssetListen) SetId(v int32)

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

func (*AssetListen) SetIdNil added in v2.6.0

func (o *AssetListen) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*AssetListen) SetIsTracker added in v2.6.0

func (o *AssetListen) SetIsTracker(v bool)

SetIsTracker gets a reference to the given NullableBool and assigns it to the IsTracker field. Deprecated

func (*AssetListen) SetIsTrackerNil added in v2.6.0

func (o *AssetListen) SetIsTrackerNil()

SetIsTrackerNil sets the value for IsTracker to be an explicit nil

func (*AssetListen) SetLatitude added in v2.6.0

func (o *AssetListen) SetLatitude(v float64)

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

func (*AssetListen) SetLatitudeNil added in v2.6.0

func (o *AssetListen) SetLatitudeNil()

SetLatitudeNil sets the value for Latitude to be an explicit nil

func (*AssetListen) SetLocationalAssetIdPath added in v2.6.0

func (o *AssetListen) SetLocationalAssetIdPath(v []int32)

SetLocationalAssetIdPath gets a reference to the given []int32 and assigns it to the LocationalAssetIdPath field.

func (*AssetListen) SetLongitude added in v2.6.0

func (o *AssetListen) SetLongitude(v float64)

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

func (*AssetListen) SetLongitudeNil added in v2.6.0

func (o *AssetListen) SetLongitudeNil()

SetLongitudeNil sets the value for Longitude to be an explicit nil

func (*AssetListen) SetName added in v2.6.0

func (o *AssetListen) SetName(v string)

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

func (*AssetListen) SetNameNil added in v2.6.0

func (o *AssetListen) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*AssetListen) SetParentFunctionalAssetId added in v2.6.0

func (o *AssetListen) SetParentFunctionalAssetId(v int32)

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

func (*AssetListen) SetParentFunctionalAssetIdNil added in v2.6.0

func (o *AssetListen) SetParentFunctionalAssetIdNil()

SetParentFunctionalAssetIdNil sets the value for ParentFunctionalAssetId to be an explicit nil

func (*AssetListen) SetParentLocationalAssetId added in v2.6.0

func (o *AssetListen) SetParentLocationalAssetId(v int32)

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

func (*AssetListen) SetParentLocationalAssetIdNil added in v2.6.0

func (o *AssetListen) SetParentLocationalAssetIdNil()

SetParentLocationalAssetIdNil sets the value for ParentLocationalAssetId to be an explicit nil

func (*AssetListen) SetProjectId added in v2.6.0

func (o *AssetListen) SetProjectId(v string)

SetProjectId sets field value

func (*AssetListen) SetResourceId added in v2.6.0

func (o *AssetListen) SetResourceId(v string)

SetResourceId gets a reference to the given NullableString and assigns it to the ResourceId field.

func (*AssetListen) SetResourceIdNil added in v2.6.0

func (o *AssetListen) SetResourceIdNil()

SetResourceIdNil sets the value for ResourceId to be an explicit nil

func (*AssetListen) SetStatusCode added in v2.6.0

func (o *AssetListen) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (*AssetListen) SetTags added in v2.6.0

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

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

func (*AssetListen) SetTrackerId added in v2.6.11

func (o *AssetListen) SetTrackerId(v int32)

SetTrackerId gets a reference to the given NullableInt32 and assigns it to the TrackerId field.

func (*AssetListen) SetTrackerIdNil added in v2.6.11

func (o *AssetListen) SetTrackerIdNil()

SetTrackerIdNil sets the value for TrackerId to be an explicit nil

func (AssetListen) ToMap added in v2.6.0

func (o AssetListen) ToMap() (map[string]interface{}, error)

func (*AssetListen) UnmarshalJSON added in v2.6.0

func (o *AssetListen) UnmarshalJSON(data []byte) (err error)

func (*AssetListen) UnsetDescription added in v2.6.0

func (o *AssetListen) UnsetDescription()

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

func (*AssetListen) UnsetId added in v2.6.0

func (o *AssetListen) UnsetId()

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

func (*AssetListen) UnsetIsTracker added in v2.6.0

func (o *AssetListen) UnsetIsTracker()

UnsetIsTracker ensures that no value is present for IsTracker, not even an explicit nil

func (*AssetListen) UnsetLatitude added in v2.6.0

func (o *AssetListen) UnsetLatitude()

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

func (*AssetListen) UnsetLongitude added in v2.6.0

func (o *AssetListen) UnsetLongitude()

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

func (*AssetListen) UnsetName added in v2.6.0

func (o *AssetListen) UnsetName()

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

func (*AssetListen) UnsetParentFunctionalAssetId added in v2.6.0

func (o *AssetListen) UnsetParentFunctionalAssetId()

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

func (*AssetListen) UnsetParentLocationalAssetId added in v2.6.0

func (o *AssetListen) UnsetParentLocationalAssetId()

UnsetParentLocationalAssetId ensures that no value is present for ParentLocationalAssetId, not even an explicit nil

func (*AssetListen) UnsetResourceId added in v2.6.0

func (o *AssetListen) UnsetResourceId()

UnsetResourceId ensures that no value is present for ResourceId, not even an explicit nil

func (*AssetListen) UnsetTrackerId added in v2.6.11

func (o *AssetListen) UnsetTrackerId()

UnsetTrackerId ensures that no value is present for TrackerId, not even an explicit nil

type AssetType

type AssetType struct {
	// The unique name for this asset type
	Name string `json:"name"`
	// Is this a customer created type or not
	Custom *bool `json:"custom,omitempty"`
	// The vendor providing assets of this type
	Vendor NullableString `json:"vendor,omitempty"`
	// The specific model of assets of this type
	Model       NullableString      `json:"model,omitempty"`
	Translation NullableTranslation `json:"translation,omitempty"`
	// The url describing assets of this type
	Urldoc NullableString `json:"urldoc,omitempty"`
	// Icon name corresponding to assets of this type: blind, building, button, closable, elevator, environment, fallback, filling, gateway, light, mailbox, parking, people, power, rack, storey, trash, ventilation, vibration, water, weather
	Icon NullableString `json:"icon,omitempty"`
	// Asset types payload function
	PayloadFunction   NullableString `json:"payloadFunction,omitempty"`
	AllowedInactivity NullableString `json:"allowedInactivity,omitempty"`
	// Function as a tracker
	IsTracker NullableBool `json:"isTracker,omitempty"`
	// List of named attributes
	Attributes []AssetTypeAttribute `json:"attributes,omitempty"`
}

AssetType A type of assets

func NewAssetType

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) GetAllowedInactivity added in v2.4.2

func (o *AssetType) GetAllowedInactivity() string

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

func (*AssetType) GetAllowedInactivityOk added in v2.4.2

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

GetAllowedInactivityOk returns a tuple with the AllowedInactivity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetType) GetAttributes

func (o *AssetType) GetAttributes() []AssetTypeAttribute

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

func (*AssetType) GetAttributesOk

func (o *AssetType) GetAttributesOk() ([]AssetTypeAttribute, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetType) GetCustom

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) GetIsTracker added in v2.6.11

func (o *AssetType) GetIsTracker() bool

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

func (*AssetType) GetIsTrackerOk added in v2.6.11

func (o *AssetType) GetIsTrackerOk() (*bool, bool)

GetIsTrackerOk returns a tuple with the IsTracker field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

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) GetPayloadFunction added in v2.4.2

func (o *AssetType) GetPayloadFunction() string

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

func (*AssetType) GetPayloadFunctionOk added in v2.4.2

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

GetPayloadFunctionOk returns a tuple with the PayloadFunction field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetType) GetTranslation

func (o *AssetType) GetTranslation() Translation

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

func (*AssetType) GetTranslationOk

func (o *AssetType) GetTranslationOk() (*Translation, bool)

GetTranslationOk returns a tuple with the Translation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetType) GetUrldoc

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) HasAllowedInactivity added in v2.4.2

func (o *AssetType) HasAllowedInactivity() bool

HasAllowedInactivity returns a boolean if a field has been set.

func (*AssetType) HasAttributes

func (o *AssetType) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AssetType) HasCustom

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) HasIsTracker added in v2.6.11

func (o *AssetType) HasIsTracker() bool

HasIsTracker 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) HasPayloadFunction added in v2.4.2

func (o *AssetType) HasPayloadFunction() bool

HasPayloadFunction 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) SetAllowedInactivity added in v2.4.2

func (o *AssetType) SetAllowedInactivity(v string)

SetAllowedInactivity gets a reference to the given NullableString and assigns it to the AllowedInactivity field.

func (*AssetType) SetAllowedInactivityNil added in v2.4.2

func (o *AssetType) SetAllowedInactivityNil()

SetAllowedInactivityNil sets the value for AllowedInactivity to be an explicit nil

func (*AssetType) SetAttributes

func (o *AssetType) SetAttributes(v []AssetTypeAttribute)

SetAttributes gets a reference to the given []AssetTypeAttribute and assigns it to the Attributes field.

func (*AssetType) SetCustom

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

func (o *AssetType) SetIconNil()

SetIconNil sets the value for Icon to be an explicit nil

func (*AssetType) SetIsTracker added in v2.6.11

func (o *AssetType) SetIsTracker(v bool)

SetIsTracker gets a reference to the given NullableBool and assigns it to the IsTracker field.

func (*AssetType) SetIsTrackerNil added in v2.6.11

func (o *AssetType) SetIsTrackerNil()

SetIsTrackerNil sets the value for IsTracker to be an explicit nil

func (*AssetType) SetModel

func (o *AssetType) SetModel(v string)

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

func (*AssetType) SetModelNil

func (o *AssetType) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*AssetType) SetName

func (o *AssetType) SetName(v string)

SetName sets field value

func (*AssetType) SetPayloadFunction added in v2.4.2

func (o *AssetType) SetPayloadFunction(v string)

SetPayloadFunction gets a reference to the given NullableString and assigns it to the PayloadFunction field.

func (*AssetType) SetPayloadFunctionNil added in v2.4.2

func (o *AssetType) SetPayloadFunctionNil()

SetPayloadFunctionNil sets the value for PayloadFunction to be an explicit nil

func (*AssetType) SetTranslation

func (o *AssetType) SetTranslation(v Translation)

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

func (*AssetType) SetTranslationNil

func (o *AssetType) SetTranslationNil()

SetTranslationNil sets the value for Translation to be an explicit nil

func (*AssetType) SetUrldoc

func (o *AssetType) SetUrldoc(v string)

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

func (*AssetType) SetUrldocNil

func (o *AssetType) SetUrldocNil()

SetUrldocNil sets the value for Urldoc to be an explicit nil

func (*AssetType) SetVendor

func (o *AssetType) SetVendor(v string)

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

func (*AssetType) SetVendorNil

func (o *AssetType) SetVendorNil()

SetVendorNil sets the value for Vendor to be an explicit nil

func (AssetType) ToMap added in v2.4.8

func (o AssetType) ToMap() (map[string]interface{}, error)

func (*AssetType) UnmarshalJSON added in v2.5.9

func (o *AssetType) UnmarshalJSON(data []byte) (err error)

func (*AssetType) UnsetAllowedInactivity added in v2.4.2

func (o *AssetType) UnsetAllowedInactivity()

UnsetAllowedInactivity ensures that no value is present for AllowedInactivity, not even an explicit nil

func (*AssetType) UnsetIcon

func (o *AssetType) UnsetIcon()

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

func (*AssetType) UnsetIsTracker added in v2.6.11

func (o *AssetType) UnsetIsTracker()

UnsetIsTracker ensures that no value is present for IsTracker, not even an explicit nil

func (*AssetType) UnsetModel

func (o *AssetType) UnsetModel()

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

func (*AssetType) UnsetPayloadFunction added in v2.4.2

func (o *AssetType) UnsetPayloadFunction()

UnsetPayloadFunction ensures that no value is present for PayloadFunction, not even an explicit nil

func (*AssetType) UnsetTranslation

func (o *AssetType) UnsetTranslation()

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

func (*AssetType) UnsetUrldoc

func (o *AssetType) UnsetUrldoc()

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

func (*AssetType) UnsetVendor

func (o *AssetType) UnsetVendor()

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

type AssetTypeAttribute

type AssetTypeAttribute struct {
	// The unique name for the asset type
	AssetTypeName NullableString `json:"assetTypeName,omitempty"`
	// Unique key of asset data
	Name    string      `json:"name"`
	Subtype DataSubtype `json:"subtype"`
	// Name of the type for this attribute: air_quality, battery-voltage, brightness, co2, current, device-info, device-status, energy, flow, frequency, humidity, inputs-and-switches, level, motion, operating-status, people-count, power, presence, pressure, temperature, vehicle-detector, voltage, weather, voc
	Type NullableString `json:"type,omitempty"`
	// Is data active or not
	Enable      *bool               `json:"enable,omitempty"`
	Translation NullableTranslation `json:"translation,omitempty"`
	// Physical unit of numeric data
	Unit NullableString `json:"unit,omitempty"`
	// Number of decimal places
	Precision NullableInt64 `json:"precision,omitempty"`
	// Lower limit
	Min NullableFloat64 `json:"min,omitempty"`
	// Upper limit
	Max NullableFloat64 `json:"max,omitempty"`
	// Aggregation calculation mode
	AggregationMode    NullableString `json:"aggregationMode,omitempty"`
	AggregationRasters []string       `json:"aggregationRasters,omitempty"`
	// Should the attribute be displayed in viewer
	Viewer NullableBool `json:"viewer,omitempty"`
	// Should the attribute be displayed in AR
	Ar NullableBool `json:"ar,omitempty"`
	// Sequence in AR display
	Sequence NullableInt64 `json:"sequence,omitempty"`
	// Is the attribute virtual or not
	Virtual NullableBool `json:"virtual,omitempty"`
	// calculation rule to calculate the value for this attribute
	Formula NullableString `json:"formula,omitempty"`
	// value scale
	Scale NullableFloat32 `json:"scale,omitempty"`
	// value scale
	Zero NullableFloat32 `json:"zero,omitempty"`
	// list of mapping between value and custom text
	Map []map[string]interface{} `json:"map,omitempty"`
	// source path for attribute value
	SourcePath []string `json:"sourcePath,omitempty"`
	// is attribute digital
	IsDigital NullableBool `json:"isDigital,omitempty"`
}

AssetTypeAttribute Named attribute to store data of assets

func NewAssetTypeAttribute

func NewAssetTypeAttribute(name string, subtype DataSubtype) *AssetTypeAttribute

NewAssetTypeAttribute instantiates a new AssetTypeAttribute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssetTypeAttributeWithDefaults

func NewAssetTypeAttributeWithDefaults() *AssetTypeAttribute

NewAssetTypeAttributeWithDefaults instantiates a new AssetTypeAttribute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssetTypeAttribute) GetAggregationMode

func (o *AssetTypeAttribute) GetAggregationMode() string

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

func (*AssetTypeAttribute) GetAggregationModeOk

func (o *AssetTypeAttribute) GetAggregationModeOk() (*string, bool)

GetAggregationModeOk returns a tuple with the AggregationMode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetAggregationRasters

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

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

func (*AssetTypeAttribute) GetAggregationRastersOk

func (o *AssetTypeAttribute) GetAggregationRastersOk() ([]string, bool)

GetAggregationRastersOk returns a tuple with the AggregationRasters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetTypeAttribute) GetAr

func (o *AssetTypeAttribute) GetAr() bool

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

func (*AssetTypeAttribute) GetArOk

func (o *AssetTypeAttribute) GetArOk() (*bool, bool)

GetArOk returns a tuple with the Ar field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetAssetTypeName

func (o *AssetTypeAttribute) GetAssetTypeName() string

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

func (*AssetTypeAttribute) GetAssetTypeNameOk

func (o *AssetTypeAttribute) GetAssetTypeNameOk() (*string, bool)

GetAssetTypeNameOk returns a tuple with the AssetTypeName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetEnable

func (o *AssetTypeAttribute) GetEnable() bool

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

func (*AssetTypeAttribute) GetEnableOk

func (o *AssetTypeAttribute) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssetTypeAttribute) GetFormula added in v2.6.8

func (o *AssetTypeAttribute) GetFormula() string

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

func (*AssetTypeAttribute) GetFormulaOk added in v2.6.8

func (o *AssetTypeAttribute) GetFormulaOk() (*string, bool)

GetFormulaOk returns a tuple with the Formula field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetIsDigital added in v2.4.2

func (o *AssetTypeAttribute) GetIsDigital() bool

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

func (*AssetTypeAttribute) GetIsDigitalOk added in v2.4.2

func (o *AssetTypeAttribute) GetIsDigitalOk() (*bool, bool)

GetIsDigitalOk returns a tuple with the IsDigital field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetMap added in v2.4.2

func (o *AssetTypeAttribute) GetMap() []map[string]interface{}

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

func (*AssetTypeAttribute) GetMapOk added in v2.4.2

func (o *AssetTypeAttribute) GetMapOk() ([]map[string]interface{}, bool)

GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetMax

func (o *AssetTypeAttribute) GetMax() float64

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

func (*AssetTypeAttribute) GetMaxOk

func (o *AssetTypeAttribute) GetMaxOk() (*float64, bool)

GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetMin

func (o *AssetTypeAttribute) GetMin() float64

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

func (*AssetTypeAttribute) GetMinOk

func (o *AssetTypeAttribute) GetMinOk() (*float64, bool)

GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetName

func (o *AssetTypeAttribute) GetName() string

GetName returns the Name field value

func (*AssetTypeAttribute) GetNameOk

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

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

func (*AssetTypeAttribute) GetPrecision

func (o *AssetTypeAttribute) GetPrecision() int64

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

func (*AssetTypeAttribute) GetPrecisionOk

func (o *AssetTypeAttribute) GetPrecisionOk() (*int64, bool)

GetPrecisionOk returns a tuple with the Precision field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetScale added in v2.4.2

func (o *AssetTypeAttribute) GetScale() float32

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

func (*AssetTypeAttribute) GetScaleOk added in v2.4.2

func (o *AssetTypeAttribute) GetScaleOk() (*float32, bool)

GetScaleOk returns a tuple with the Scale field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetSequence

func (o *AssetTypeAttribute) GetSequence() int64

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

func (*AssetTypeAttribute) GetSequenceOk

func (o *AssetTypeAttribute) GetSequenceOk() (*int64, bool)

GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetSourcePath added in v2.4.2

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

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

func (*AssetTypeAttribute) GetSourcePathOk added in v2.4.2

func (o *AssetTypeAttribute) GetSourcePathOk() ([]string, bool)

GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetSubtype

func (o *AssetTypeAttribute) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*AssetTypeAttribute) GetSubtypeOk

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

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

func (*AssetTypeAttribute) GetTranslation

func (o *AssetTypeAttribute) GetTranslation() Translation

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

func (*AssetTypeAttribute) GetTranslationOk

func (o *AssetTypeAttribute) GetTranslationOk() (*Translation, bool)

GetTranslationOk returns a tuple with the Translation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetType

func (o *AssetTypeAttribute) GetType() string

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

func (*AssetTypeAttribute) GetTypeOk

func (o *AssetTypeAttribute) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetUnit

func (o *AssetTypeAttribute) GetUnit() string

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

func (*AssetTypeAttribute) GetUnitOk

func (o *AssetTypeAttribute) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetViewer

func (o *AssetTypeAttribute) GetViewer() bool

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

func (*AssetTypeAttribute) GetViewerOk

func (o *AssetTypeAttribute) GetViewerOk() (*bool, bool)

GetViewerOk returns a tuple with the Viewer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetVirtual

func (o *AssetTypeAttribute) GetVirtual() bool

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

func (*AssetTypeAttribute) GetVirtualOk

func (o *AssetTypeAttribute) GetVirtualOk() (*bool, bool)

GetVirtualOk returns a tuple with the Virtual field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) GetZero added in v2.4.2

func (o *AssetTypeAttribute) GetZero() float32

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

func (*AssetTypeAttribute) GetZeroOk added in v2.4.2

func (o *AssetTypeAttribute) GetZeroOk() (*float32, bool)

GetZeroOk returns a tuple with the Zero field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AssetTypeAttribute) HasAggregationMode

func (o *AssetTypeAttribute) HasAggregationMode() bool

HasAggregationMode returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasAggregationRasters

func (o *AssetTypeAttribute) HasAggregationRasters() bool

HasAggregationRasters returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasAr

func (o *AssetTypeAttribute) HasAr() bool

HasAr returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasAssetTypeName

func (o *AssetTypeAttribute) HasAssetTypeName() bool

HasAssetTypeName returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasEnable

func (o *AssetTypeAttribute) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasFormula added in v2.6.8

func (o *AssetTypeAttribute) HasFormula() bool

HasFormula returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasIsDigital added in v2.4.2

func (o *AssetTypeAttribute) HasIsDigital() bool

HasIsDigital returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasMap added in v2.4.2

func (o *AssetTypeAttribute) HasMap() bool

HasMap returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasMax

func (o *AssetTypeAttribute) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasMin

func (o *AssetTypeAttribute) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasPrecision

func (o *AssetTypeAttribute) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasScale added in v2.4.2

func (o *AssetTypeAttribute) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasSequence

func (o *AssetTypeAttribute) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasSourcePath added in v2.4.2

func (o *AssetTypeAttribute) HasSourcePath() bool

HasSourcePath returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasTranslation

func (o *AssetTypeAttribute) HasTranslation() bool

HasTranslation returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasType

func (o *AssetTypeAttribute) HasType() bool

HasType returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasUnit

func (o *AssetTypeAttribute) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasViewer

func (o *AssetTypeAttribute) HasViewer() bool

HasViewer returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasVirtual

func (o *AssetTypeAttribute) HasVirtual() bool

HasVirtual returns a boolean if a field has been set.

func (*AssetTypeAttribute) HasZero added in v2.4.2

func (o *AssetTypeAttribute) HasZero() bool

HasZero returns a boolean if a field has been set.

func (AssetTypeAttribute) MarshalJSON

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

func (*AssetTypeAttribute) SetAggregationMode

func (o *AssetTypeAttribute) SetAggregationMode(v string)

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

func (*AssetTypeAttribute) SetAggregationModeNil

func (o *AssetTypeAttribute) SetAggregationModeNil()

SetAggregationModeNil sets the value for AggregationMode to be an explicit nil

func (*AssetTypeAttribute) SetAggregationRasters

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

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

func (*AssetTypeAttribute) SetAr

func (o *AssetTypeAttribute) SetAr(v bool)

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

func (*AssetTypeAttribute) SetArNil

func (o *AssetTypeAttribute) SetArNil()

SetArNil sets the value for Ar to be an explicit nil

func (*AssetTypeAttribute) SetAssetTypeName

func (o *AssetTypeAttribute) SetAssetTypeName(v string)

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

func (*AssetTypeAttribute) SetAssetTypeNameNil

func (o *AssetTypeAttribute) SetAssetTypeNameNil()

SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil

func (*AssetTypeAttribute) SetEnable

func (o *AssetTypeAttribute) SetEnable(v bool)

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

func (*AssetTypeAttribute) SetFormula added in v2.6.8

func (o *AssetTypeAttribute) SetFormula(v string)

SetFormula gets a reference to the given NullableString and assigns it to the Formula field.

func (*AssetTypeAttribute) SetFormulaNil added in v2.6.8

func (o *AssetTypeAttribute) SetFormulaNil()

SetFormulaNil sets the value for Formula to be an explicit nil

func (*AssetTypeAttribute) SetIsDigital added in v2.4.2

func (o *AssetTypeAttribute) SetIsDigital(v bool)

SetIsDigital gets a reference to the given NullableBool and assigns it to the IsDigital field.

func (*AssetTypeAttribute) SetIsDigitalNil added in v2.4.2

func (o *AssetTypeAttribute) SetIsDigitalNil()

SetIsDigitalNil sets the value for IsDigital to be an explicit nil

func (*AssetTypeAttribute) SetMap added in v2.4.2

func (o *AssetTypeAttribute) SetMap(v []map[string]interface{})

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

func (*AssetTypeAttribute) SetMax

func (o *AssetTypeAttribute) SetMax(v float64)

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

func (*AssetTypeAttribute) SetMaxNil

func (o *AssetTypeAttribute) SetMaxNil()

SetMaxNil sets the value for Max to be an explicit nil

func (*AssetTypeAttribute) SetMin

func (o *AssetTypeAttribute) SetMin(v float64)

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

func (*AssetTypeAttribute) SetMinNil

func (o *AssetTypeAttribute) SetMinNil()

SetMinNil sets the value for Min to be an explicit nil

func (*AssetTypeAttribute) SetName

func (o *AssetTypeAttribute) SetName(v string)

SetName sets field value

func (*AssetTypeAttribute) SetPrecision

func (o *AssetTypeAttribute) SetPrecision(v int64)

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

func (*AssetTypeAttribute) SetPrecisionNil

func (o *AssetTypeAttribute) SetPrecisionNil()

SetPrecisionNil sets the value for Precision to be an explicit nil

func (*AssetTypeAttribute) SetScale added in v2.4.2

func (o *AssetTypeAttribute) SetScale(v float32)

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

func (*AssetTypeAttribute) SetScaleNil added in v2.4.2

func (o *AssetTypeAttribute) SetScaleNil()

SetScaleNil sets the value for Scale to be an explicit nil

func (*AssetTypeAttribute) SetSequence

func (o *AssetTypeAttribute) SetSequence(v int64)

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

func (*AssetTypeAttribute) SetSequenceNil

func (o *AssetTypeAttribute) SetSequenceNil()

SetSequenceNil sets the value for Sequence to be an explicit nil

func (*AssetTypeAttribute) SetSourcePath added in v2.4.2

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

SetSourcePath gets a reference to the given []string and assigns it to the SourcePath field.

func (*AssetTypeAttribute) SetSubtype

func (o *AssetTypeAttribute) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*AssetTypeAttribute) SetTranslation

func (o *AssetTypeAttribute) SetTranslation(v Translation)

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

func (*AssetTypeAttribute) SetTranslationNil

func (o *AssetTypeAttribute) SetTranslationNil()

SetTranslationNil sets the value for Translation to be an explicit nil

func (*AssetTypeAttribute) SetType

func (o *AssetTypeAttribute) SetType(v string)

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

func (*AssetTypeAttribute) SetTypeNil

func (o *AssetTypeAttribute) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (*AssetTypeAttribute) SetUnit

func (o *AssetTypeAttribute) SetUnit(v string)

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

func (*AssetTypeAttribute) SetUnitNil

func (o *AssetTypeAttribute) SetUnitNil()

SetUnitNil sets the value for Unit to be an explicit nil

func (*AssetTypeAttribute) SetViewer

func (o *AssetTypeAttribute) SetViewer(v bool)

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

func (*AssetTypeAttribute) SetViewerNil

func (o *AssetTypeAttribute) SetViewerNil()

SetViewerNil sets the value for Viewer to be an explicit nil

func (*AssetTypeAttribute) SetVirtual

func (o *AssetTypeAttribute) SetVirtual(v bool)

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

func (*AssetTypeAttribute) SetVirtualNil

func (o *AssetTypeAttribute) SetVirtualNil()

SetVirtualNil sets the value for Virtual to be an explicit nil

func (*AssetTypeAttribute) SetZero added in v2.4.2

func (o *AssetTypeAttribute) SetZero(v float32)

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

func (*AssetTypeAttribute) SetZeroNil added in v2.4.2

func (o *AssetTypeAttribute) SetZeroNil()

SetZeroNil sets the value for Zero to be an explicit nil

func (AssetTypeAttribute) ToMap added in v2.4.8

func (o AssetTypeAttribute) ToMap() (map[string]interface{}, error)

func (*AssetTypeAttribute) UnmarshalJSON added in v2.5.9

func (o *AssetTypeAttribute) UnmarshalJSON(data []byte) (err error)

func (*AssetTypeAttribute) UnsetAggregationMode

func (o *AssetTypeAttribute) UnsetAggregationMode()

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

func (*AssetTypeAttribute) UnsetAr

func (o *AssetTypeAttribute) UnsetAr()

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

func (*AssetTypeAttribute) UnsetAssetTypeName

func (o *AssetTypeAttribute) UnsetAssetTypeName()

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

func (*AssetTypeAttribute) UnsetFormula added in v2.6.8

func (o *AssetTypeAttribute) UnsetFormula()

UnsetFormula ensures that no value is present for Formula, not even an explicit nil

func (*AssetTypeAttribute) UnsetIsDigital added in v2.4.2

func (o *AssetTypeAttribute) UnsetIsDigital()

UnsetIsDigital ensures that no value is present for IsDigital, not even an explicit nil

func (*AssetTypeAttribute) UnsetMax

func (o *AssetTypeAttribute) UnsetMax()

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

func (*AssetTypeAttribute) UnsetMin

func (o *AssetTypeAttribute) UnsetMin()

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

func (*AssetTypeAttribute) UnsetPrecision

func (o *AssetTypeAttribute) UnsetPrecision()

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

func (*AssetTypeAttribute) UnsetScale added in v2.4.2

func (o *AssetTypeAttribute) UnsetScale()

UnsetScale ensures that no value is present for Scale, not even an explicit nil

func (*AssetTypeAttribute) UnsetSequence

func (o *AssetTypeAttribute) UnsetSequence()

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

func (*AssetTypeAttribute) UnsetTranslation

func (o *AssetTypeAttribute) UnsetTranslation()

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

func (*AssetTypeAttribute) UnsetType

func (o *AssetTypeAttribute) UnsetType()

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

func (*AssetTypeAttribute) UnsetUnit

func (o *AssetTypeAttribute) UnsetUnit()

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

func (*AssetTypeAttribute) UnsetViewer

func (o *AssetTypeAttribute) UnsetViewer()

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

func (*AssetTypeAttribute) UnsetVirtual

func (o *AssetTypeAttribute) UnsetVirtual()

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

func (*AssetTypeAttribute) UnsetZero added in v2.4.2

func (o *AssetTypeAttribute) UnsetZero()

UnsetZero ensures that no value is present for Zero, not even an explicit nil

type AssetTypesAPIService added in v2.5.3

type AssetTypesAPIService service

AssetTypesAPIService AssetTypesAPI service

func (*AssetTypesAPIService) DeleteAssetTypeByName added in v2.5.3

func (a *AssetTypesAPIService) DeleteAssetTypeByName(ctx context.Context, assetTypeName string) ApiDeleteAssetTypeByNameRequest

DeleteAssetTypeByName Delete an asset type

Deletes an asset type and the attributes for this asset type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetTypeName The name of the asset type
@return ApiDeleteAssetTypeByNameRequest

func (*AssetTypesAPIService) DeleteAssetTypeByNameExecute added in v2.5.3

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

Execute executes the request

func (*AssetTypesAPIService) GetAssetTypeByName added in v2.5.3

func (a *AssetTypesAPIService) GetAssetTypeByName(ctx context.Context, assetTypeName string) ApiGetAssetTypeByNameRequest

GetAssetTypeByName Information about an asset type

Gets information about an asset type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetTypeName The name of the asset type
@return ApiGetAssetTypeByNameRequest

func (*AssetTypesAPIService) GetAssetTypeByNameExecute added in v2.5.3

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

Execute executes the request

@return AssetType

func (*AssetTypesAPIService) GetAssetTypes added in v2.5.3

GetAssetTypes List of asset types

Returns a list of asset types

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

func (*AssetTypesAPIService) GetAssetTypesExecute added in v2.5.3

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

Execute executes the request

@return []AssetType

func (*AssetTypesAPIService) PostAssetType added in v2.5.3

PostAssetType Create an asset type

Create a new asset type.

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

func (*AssetTypesAPIService) PostAssetTypeAttribute added in v2.5.3

func (a *AssetTypesAPIService) PostAssetTypeAttribute(ctx context.Context, assetTypeName string) ApiPostAssetTypeAttributeRequest

PostAssetTypeAttribute Create asset type attribute

Create a new asset type attribute.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetTypeName The name of the asset type
@return ApiPostAssetTypeAttributeRequest

func (*AssetTypesAPIService) PostAssetTypeAttributeExecute added in v2.5.3

Execute executes the request

@return AssetTypeAttribute

func (*AssetTypesAPIService) PostAssetTypeExecute added in v2.5.3

func (a *AssetTypesAPIService) PostAssetTypeExecute(r ApiPostAssetTypeRequest) (*AssetType, *http.Response, error)

Execute executes the request

@return AssetType

func (*AssetTypesAPIService) PutAssetType added in v2.5.3

PutAssetType Create or update an asset type

Create a new asset type or update an asset type if already exists. Uses the unique asset type name for updating.

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

func (*AssetTypesAPIService) PutAssetTypeAttribute added in v2.5.3

func (a *AssetTypesAPIService) PutAssetTypeAttribute(ctx context.Context, assetTypeName string) ApiPutAssetTypeAttributeRequest

PutAssetTypeAttribute Create or update an asset type attribute

Create a new asset type attribute or update an asset type attribute if already exists. Uses the unique combination of asset type name, subtype and attribute name for updating.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetTypeName The name of the asset type
@return ApiPutAssetTypeAttributeRequest

func (*AssetTypesAPIService) PutAssetTypeAttributeExecute added in v2.5.3

Execute executes the request

@return AssetTypeAttribute

func (*AssetTypesAPIService) PutAssetTypeByName added in v2.5.3

func (a *AssetTypesAPIService) PutAssetTypeByName(ctx context.Context, assetTypeName string) ApiPutAssetTypeByNameRequest

PutAssetTypeByName Update an asset type

Update an asset type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetTypeName The name of the asset type
@return ApiPutAssetTypeByNameRequest

func (*AssetTypesAPIService) PutAssetTypeByNameExecute added in v2.5.3

func (a *AssetTypesAPIService) PutAssetTypeByNameExecute(r ApiPutAssetTypeByNameRequest) (*AssetType, *http.Response, error)

Execute executes the request

@return AssetType

func (*AssetTypesAPIService) PutAssetTypeExecute added in v2.5.3

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

Execute executes the request

@return AssetType

type AssetsAPIService added in v2.5.3

type AssetsAPIService service

AssetsAPIService AssetsAPI service

func (*AssetsAPIService) DeleteAssetById added in v2.5.3

func (a *AssetsAPIService) DeleteAssetById(ctx context.Context, assetId int32) ApiDeleteAssetByIdRequest

DeleteAssetById Delete an asset

Deletes an asset

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetId The id of the asset
@return ApiDeleteAssetByIdRequest

func (*AssetsAPIService) DeleteAssetByIdExecute added in v2.5.3

func (a *AssetsAPIService) DeleteAssetByIdExecute(r ApiDeleteAssetByIdRequest) (*http.Response, error)

Execute executes the request

func (*AssetsAPIService) DeleteBulkAssets added in v2.5.3

DeleteBulkAssets Delete a list of assets

Delete multiple assets based on the identifiers defined by the 'identifyBy' parameter.

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

func (*AssetsAPIService) DeleteBulkAssetsExecute added in v2.5.3

func (a *AssetsAPIService) DeleteBulkAssetsExecute(r ApiDeleteBulkAssetsRequest) (*http.Response, error)

Execute executes the request

func (*AssetsAPIService) DryRunDeleteBulkAssets added in v2.5.3

func (a *AssetsAPIService) DryRunDeleteBulkAssets(ctx context.Context) ApiDryRunDeleteBulkAssetsRequest

DryRunDeleteBulkAssets Dry-run for deleting a list of assets

Simulates the process of deleting multiple assets via the 'DELETE /assets-bulk' without actually persisting any changes.

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

func (*AssetsAPIService) DryRunDeleteBulkAssetsExecute added in v2.5.3

func (a *AssetsAPIService) DryRunDeleteBulkAssetsExecute(r ApiDryRunDeleteBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)

Execute executes the request

@return []AssetDryRun

func (*AssetsAPIService) DryRunPostBulkAssets added in v2.5.3

func (a *AssetsAPIService) DryRunPostBulkAssets(ctx context.Context) ApiDryRunPostBulkAssetsRequest

DryRunPostBulkAssets Dry-run for creating a list of assets

Simulates the process of creating assets via the 'POST /assets-bulk' endpoint without actually persisting any changes.

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

func (*AssetsAPIService) DryRunPostBulkAssetsExecute added in v2.5.3

func (a *AssetsAPIService) DryRunPostBulkAssetsExecute(r ApiDryRunPostBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)

Execute executes the request

@return []AssetDryRun

func (*AssetsAPIService) DryRunPutBulkAssets added in v2.5.3

func (a *AssetsAPIService) DryRunPutBulkAssets(ctx context.Context) ApiDryRunPutBulkAssetsRequest

DryRunPutBulkAssets Dry-run for creating or updating a list of assets

Simulates the process of creating or updating assets via the 'PUT /assets-bulk' endpoint without actually persisting any changes.

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

func (*AssetsAPIService) DryRunPutBulkAssetsExecute added in v2.5.3

func (a *AssetsAPIService) DryRunPutBulkAssetsExecute(r ApiDryRunPutBulkAssetsRequest) ([]AssetDryRun, *http.Response, error)

Execute executes the request

@return []AssetDryRun

func (*AssetsAPIService) GetAssetById added in v2.5.3

func (a *AssetsAPIService) GetAssetById(ctx context.Context, assetId int32) ApiGetAssetByIdRequest

GetAssetById Information about an asset

Gets information about an asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetId The id of the asset
@return ApiGetAssetByIdRequest

func (*AssetsAPIService) GetAssetByIdExecute added in v2.5.3

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

Execute executes the request

@return Asset

func (*AssetsAPIService) GetAssets added in v2.5.3

GetAssets Information about assets

Gets a list of assets

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

func (*AssetsAPIService) GetAssetsExecute added in v2.5.3

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

Execute executes the request

@return []Asset

func (*AssetsAPIService) GetAttributeDisplay added in v2.5.3

func (a *AssetsAPIService) GetAttributeDisplay(ctx context.Context) ApiGetAttributeDisplayRequest

GetAttributeDisplay How attributes are displayed

Gets information about how attributes for specific assets are displayed in frontend.

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

func (*AssetsAPIService) GetAttributeDisplayExecute added in v2.5.3

func (a *AssetsAPIService) GetAttributeDisplayExecute(r ApiGetAttributeDisplayRequest) (*AttributeDisplay, *http.Response, error)

Execute executes the request

@return AttributeDisplay

func (*AssetsAPIService) ListenAsset added in v2.6.1

ListenAsset WebSocket connection for asset changes

Open a WebSocket connection to get informed when asset is created, updated or deleted.

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

func (*AssetsAPIService) ListenAssetExecute added in v2.6.1

func (a *AssetsAPIService) ListenAssetExecute(r ApiListenAssetRequest) (*AssetListen, *http.Response, error)

Execute executes the request

@return AssetListen

func (*AssetsAPIService) PostAsset added in v2.5.3

PostAsset Create an asset

This process involves creating an asset. The determination if the asset already exists and cannot be created is done by the 'identifyBy' parameter, which specifies the field used for identification.

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

func (*AssetsAPIService) PostAssetExecute added in v2.5.3

func (a *AssetsAPIService) PostAssetExecute(r ApiPostAssetRequest) (*Asset, *http.Response, error)

Execute executes the request

@return Asset

func (*AssetsAPIService) PostBulkAssets added in v2.5.3

PostBulkAssets Create a list of assets

This process involves creating the assets in the list. The determination if the asset already exists and cannot be created is done by the 'identifyBy' parameter, which specifies the field used for identification.

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

func (*AssetsAPIService) PostBulkAssetsExecute added in v2.5.3

func (a *AssetsAPIService) PostBulkAssetsExecute(r ApiPostBulkAssetsRequest) ([]Asset, *http.Response, error)

Execute executes the request

@return []Asset

func (*AssetsAPIService) PutAsset added in v2.5.3

PutAsset Create or update an asset

This process involves creating or updating an asset. The choice between updating or creating is determined by the 'identifyBy' parameter, which specifies the field used for identification.

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

func (*AssetsAPIService) PutAssetById deprecated added in v2.5.3

func (a *AssetsAPIService) PutAssetById(ctx context.Context, assetId int32) ApiPutAssetByIdRequest

PutAssetById Update an asset

Deprecated: use the 'PUT /asset' method and optionally the 'identifyBy' parameter to update a specific asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetId The id of the asset
@return ApiPutAssetByIdRequest

Deprecated

func (*AssetsAPIService) PutAssetByIdExecute added in v2.5.3

func (a *AssetsAPIService) PutAssetByIdExecute(r ApiPutAssetByIdRequest) (*Asset, *http.Response, error)

Execute executes the request

@return Asset

Deprecated

func (*AssetsAPIService) PutAssetExecute added in v2.5.3

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

Execute executes the request

@return Asset

func (*AssetsAPIService) PutAttributeDisplay added in v2.5.3

func (a *AssetsAPIService) PutAttributeDisplay(ctx context.Context) ApiPutAttributeDisplayRequest

PutAttributeDisplay Create or update how attributes are displayed

Create or update how attributes are displayed in frontend. Uses the unique combination of asset id, subtype and attribute name for updating.

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

func (*AssetsAPIService) PutAttributeDisplayExecute added in v2.5.3

func (a *AssetsAPIService) PutAttributeDisplayExecute(r ApiPutAttributeDisplayRequest) (*AttributeDisplay, *http.Response, error)

Execute executes the request

@return AttributeDisplay

func (*AssetsAPIService) PutBulkAssets added in v2.5.3

PutBulkAssets Create or update a list of assets

This process involves creating or updating assets. The choice between updating or creating an asset is determined by the 'identifyBy' parameter, which specifies the field used for identification.

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

func (*AssetsAPIService) PutBulkAssetsExecute added in v2.5.3

func (a *AssetsAPIService) PutBulkAssetsExecute(r ApiPutBulkAssetsRequest) ([]Asset, *http.Response, error)

Execute executes the request

@return []Asset

type Attachment added in v2.4.2

type Attachment struct {
	// The name for the attachment, e.g. the filename
	Name string `json:"name"`
	// The type of binary data
	ContentType NullableString `json:"contentType,omitempty"`
	// The encoding of content
	Encoding NullableString `json:"encoding,omitempty"`
	// The binary data as encoded string
	Content *string `json:"content,omitempty"`
}

Attachment A binary attachment

func NewAttachment added in v2.4.2

func NewAttachment(name string) *Attachment

NewAttachment instantiates a new Attachment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttachmentWithDefaults added in v2.4.2

func NewAttachmentWithDefaults() *Attachment

NewAttachmentWithDefaults instantiates a new Attachment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Attachment) GetContent added in v2.4.2

func (o *Attachment) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*Attachment) GetContentOk added in v2.4.2

func (o *Attachment) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Attachment) GetContentType added in v2.4.2

func (o *Attachment) GetContentType() string

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

func (*Attachment) GetContentTypeOk added in v2.4.2

func (o *Attachment) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Attachment) GetEncoding added in v2.4.2

func (o *Attachment) GetEncoding() string

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

func (*Attachment) GetEncodingOk added in v2.4.2

func (o *Attachment) GetEncodingOk() (*string, bool)

GetEncodingOk returns a tuple with the Encoding field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Attachment) GetName added in v2.4.2

func (o *Attachment) GetName() string

GetName returns the Name field value

func (*Attachment) GetNameOk added in v2.4.2

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

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

func (*Attachment) HasContent added in v2.4.2

func (o *Attachment) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*Attachment) HasContentType added in v2.4.2

func (o *Attachment) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*Attachment) HasEncoding added in v2.4.2

func (o *Attachment) HasEncoding() bool

HasEncoding returns a boolean if a field has been set.

func (Attachment) MarshalJSON added in v2.4.2

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

func (*Attachment) SetContent added in v2.4.2

func (o *Attachment) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

func (*Attachment) SetContentType added in v2.4.2

func (o *Attachment) SetContentType(v string)

SetContentType gets a reference to the given NullableString and assigns it to the ContentType field.

func (*Attachment) SetContentTypeNil added in v2.4.2

func (o *Attachment) SetContentTypeNil()

SetContentTypeNil sets the value for ContentType to be an explicit nil

func (*Attachment) SetEncoding added in v2.4.2

func (o *Attachment) SetEncoding(v string)

SetEncoding gets a reference to the given NullableString and assigns it to the Encoding field.

func (*Attachment) SetEncodingNil added in v2.4.2

func (o *Attachment) SetEncodingNil()

SetEncodingNil sets the value for Encoding to be an explicit nil

func (*Attachment) SetName added in v2.4.2

func (o *Attachment) SetName(v string)

SetName sets field value

func (Attachment) ToMap added in v2.4.8

func (o Attachment) ToMap() (map[string]interface{}, error)

func (*Attachment) UnmarshalJSON added in v2.5.9

func (o *Attachment) UnmarshalJSON(data []byte) (err error)

func (*Attachment) UnsetContentType added in v2.4.2

func (o *Attachment) UnsetContentType()

UnsetContentType ensures that no value is present for ContentType, not even an explicit nil

func (*Attachment) UnsetEncoding added in v2.4.2

func (o *Attachment) UnsetEncoding()

UnsetEncoding ensures that no value is present for Encoding, not even an explicit nil

type AttributeDisplay added in v2.5.3

type AttributeDisplay struct {
	// ID of the corresponding asset
	AssetId int32       `json:"assetId"`
	Subtype DataSubtype `json:"subtype"`
	// Name of the attribute of the asset type
	Attribute string `json:"attribute"`
	// Physical unit of numeric data
	Unit NullableString `json:"unit,omitempty"`
	// Number of decimal places
	Precision NullableInt64 `json:"precision,omitempty"`
	// Lower limit
	Min NullableFloat64 `json:"min,omitempty"`
	// Upper limit
	Max NullableFloat64 `json:"max,omitempty"`
	// Should the attribute be displayed in viewer
	Viewer NullableBool `json:"viewer,omitempty"`
	// Should the attribute be displayed in AR
	Ar NullableBool `json:"ar,omitempty"`
	// Sequence in AR display
	Sequence NullableInt64 `json:"sequence,omitempty"`
	// list of mapping between value and custom text
	Map []map[string]interface{} `json:"map,omitempty"`
}

AttributeDisplay How attributes are displayed for specific assets

func NewAttributeDisplay added in v2.5.3

func NewAttributeDisplay(assetId int32, subtype DataSubtype, attribute string) *AttributeDisplay

NewAttributeDisplay instantiates a new AttributeDisplay object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttributeDisplayWithDefaults added in v2.5.3

func NewAttributeDisplayWithDefaults() *AttributeDisplay

NewAttributeDisplayWithDefaults instantiates a new AttributeDisplay object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AttributeDisplay) GetAr added in v2.5.3

func (o *AttributeDisplay) GetAr() bool

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

func (*AttributeDisplay) GetArOk added in v2.5.3

func (o *AttributeDisplay) GetArOk() (*bool, bool)

GetArOk returns a tuple with the Ar field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttributeDisplay) GetAssetId added in v2.5.3

func (o *AttributeDisplay) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*AttributeDisplay) GetAssetIdOk added in v2.5.3

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

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

func (*AttributeDisplay) GetAttribute added in v2.5.3

func (o *AttributeDisplay) GetAttribute() string

GetAttribute returns the Attribute field value

func (*AttributeDisplay) GetAttributeOk added in v2.5.3

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

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

func (*AttributeDisplay) GetMap added in v2.5.3

func (o *AttributeDisplay) GetMap() []map[string]interface{}

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

func (*AttributeDisplay) GetMapOk added in v2.5.3

func (o *AttributeDisplay) GetMapOk() ([]map[string]interface{}, bool)

GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttributeDisplay) GetMax added in v2.5.3

func (o *AttributeDisplay) GetMax() float64

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

func (*AttributeDisplay) GetMaxOk added in v2.5.3

func (o *AttributeDisplay) GetMaxOk() (*float64, bool)

GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttributeDisplay) GetMin added in v2.5.3

func (o *AttributeDisplay) GetMin() float64

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

func (*AttributeDisplay) GetMinOk added in v2.5.3

func (o *AttributeDisplay) GetMinOk() (*float64, bool)

GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttributeDisplay) GetPrecision added in v2.5.3

func (o *AttributeDisplay) GetPrecision() int64

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

func (*AttributeDisplay) GetPrecisionOk added in v2.5.3

func (o *AttributeDisplay) GetPrecisionOk() (*int64, bool)

GetPrecisionOk returns a tuple with the Precision field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttributeDisplay) GetSequence added in v2.5.3

func (o *AttributeDisplay) GetSequence() int64

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

func (*AttributeDisplay) GetSequenceOk added in v2.5.3

func (o *AttributeDisplay) GetSequenceOk() (*int64, bool)

GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttributeDisplay) GetSubtype added in v2.5.3

func (o *AttributeDisplay) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*AttributeDisplay) GetSubtypeOk added in v2.5.3

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

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

func (*AttributeDisplay) GetUnit added in v2.5.3

func (o *AttributeDisplay) GetUnit() string

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

func (*AttributeDisplay) GetUnitOk added in v2.5.3

func (o *AttributeDisplay) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttributeDisplay) GetViewer added in v2.5.3

func (o *AttributeDisplay) GetViewer() bool

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

func (*AttributeDisplay) GetViewerOk added in v2.5.3

func (o *AttributeDisplay) GetViewerOk() (*bool, bool)

GetViewerOk returns a tuple with the Viewer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AttributeDisplay) HasAr added in v2.5.3

func (o *AttributeDisplay) HasAr() bool

HasAr returns a boolean if a field has been set.

func (*AttributeDisplay) HasMap added in v2.5.3

func (o *AttributeDisplay) HasMap() bool

HasMap returns a boolean if a field has been set.

func (*AttributeDisplay) HasMax added in v2.5.3

func (o *AttributeDisplay) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*AttributeDisplay) HasMin added in v2.5.3

func (o *AttributeDisplay) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*AttributeDisplay) HasPrecision added in v2.5.3

func (o *AttributeDisplay) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*AttributeDisplay) HasSequence added in v2.5.3

func (o *AttributeDisplay) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*AttributeDisplay) HasUnit added in v2.5.3

func (o *AttributeDisplay) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*AttributeDisplay) HasViewer added in v2.5.3

func (o *AttributeDisplay) HasViewer() bool

HasViewer returns a boolean if a field has been set.

func (AttributeDisplay) MarshalJSON added in v2.5.3

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

func (*AttributeDisplay) SetAr added in v2.5.3

func (o *AttributeDisplay) SetAr(v bool)

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

func (*AttributeDisplay) SetArNil added in v2.5.3

func (o *AttributeDisplay) SetArNil()

SetArNil sets the value for Ar to be an explicit nil

func (*AttributeDisplay) SetAssetId added in v2.5.3

func (o *AttributeDisplay) SetAssetId(v int32)

SetAssetId sets field value

func (*AttributeDisplay) SetAttribute added in v2.5.3

func (o *AttributeDisplay) SetAttribute(v string)

SetAttribute sets field value

func (*AttributeDisplay) SetMap added in v2.5.3

func (o *AttributeDisplay) SetMap(v []map[string]interface{})

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

func (*AttributeDisplay) SetMax added in v2.5.3

func (o *AttributeDisplay) SetMax(v float64)

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

func (*AttributeDisplay) SetMaxNil added in v2.5.3

func (o *AttributeDisplay) SetMaxNil()

SetMaxNil sets the value for Max to be an explicit nil

func (*AttributeDisplay) SetMin added in v2.5.3

func (o *AttributeDisplay) SetMin(v float64)

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

func (*AttributeDisplay) SetMinNil added in v2.5.3

func (o *AttributeDisplay) SetMinNil()

SetMinNil sets the value for Min to be an explicit nil

func (*AttributeDisplay) SetPrecision added in v2.5.3

func (o *AttributeDisplay) SetPrecision(v int64)

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

func (*AttributeDisplay) SetPrecisionNil added in v2.5.3

func (o *AttributeDisplay) SetPrecisionNil()

SetPrecisionNil sets the value for Precision to be an explicit nil

func (*AttributeDisplay) SetSequence added in v2.5.3

func (o *AttributeDisplay) SetSequence(v int64)

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

func (*AttributeDisplay) SetSequenceNil added in v2.5.3

func (o *AttributeDisplay) SetSequenceNil()

SetSequenceNil sets the value for Sequence to be an explicit nil

func (*AttributeDisplay) SetSubtype added in v2.5.3

func (o *AttributeDisplay) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*AttributeDisplay) SetUnit added in v2.5.3

func (o *AttributeDisplay) SetUnit(v string)

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

func (*AttributeDisplay) SetUnitNil added in v2.5.3

func (o *AttributeDisplay) SetUnitNil()

SetUnitNil sets the value for Unit to be an explicit nil

func (*AttributeDisplay) SetViewer added in v2.5.3

func (o *AttributeDisplay) SetViewer(v bool)

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

func (*AttributeDisplay) SetViewerNil added in v2.5.3

func (o *AttributeDisplay) SetViewerNil()

SetViewerNil sets the value for Viewer to be an explicit nil

func (AttributeDisplay) ToMap added in v2.5.3

func (o AttributeDisplay) ToMap() (map[string]interface{}, error)

func (*AttributeDisplay) UnmarshalJSON added in v2.5.9

func (o *AttributeDisplay) UnmarshalJSON(data []byte) (err error)

func (*AttributeDisplay) UnsetAr added in v2.5.3

func (o *AttributeDisplay) UnsetAr()

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

func (*AttributeDisplay) UnsetMax added in v2.5.3

func (o *AttributeDisplay) UnsetMax()

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

func (*AttributeDisplay) UnsetMin added in v2.5.3

func (o *AttributeDisplay) UnsetMin()

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

func (*AttributeDisplay) UnsetPrecision added in v2.5.3

func (o *AttributeDisplay) UnsetPrecision()

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

func (*AttributeDisplay) UnsetSequence added in v2.5.3

func (o *AttributeDisplay) UnsetSequence()

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

func (*AttributeDisplay) UnsetUnit added in v2.5.3

func (o *AttributeDisplay) UnsetUnit()

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

func (*AttributeDisplay) UnsetViewer added in v2.5.3

func (o *AttributeDisplay) UnsetViewer()

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

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CalculationRule added in v2.6.11

type CalculationRule struct {
	// The id of the rule
	Id NullableInt32 `json:"id,omitempty"`
	// ID of the corresponding asset
	AssetId int32       `json:"assetId"`
	Subtype DataSubtype `json:"subtype"`
	// Name of the attribute of the asset type to be calculated
	Attribute string `json:"attribute"`
	// Is the calculation attribute virtual or not
	Virtual NullableBool `json:"virtual,omitempty"`
	// calculation rule to calculate the value for the attribute
	Formula NullableString `json:"formula,omitempty"`
	// Physical unit of calculated data
	Unit NullableString `json:"unit,omitempty"`
	// Filter definition for calculation rule
	Filter map[string]interface{} `json:"filter,omitempty"`
}

CalculationRule Calculation rule to calculate asset attribute data

func NewCalculationRule added in v2.6.11

func NewCalculationRule(assetId int32, subtype DataSubtype, attribute string) *CalculationRule

NewCalculationRule instantiates a new CalculationRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCalculationRuleWithDefaults added in v2.6.11

func NewCalculationRuleWithDefaults() *CalculationRule

NewCalculationRuleWithDefaults instantiates a new CalculationRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CalculationRule) GetAssetId added in v2.6.11

func (o *CalculationRule) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*CalculationRule) GetAssetIdOk added in v2.6.11

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

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

func (*CalculationRule) GetAttribute added in v2.6.11

func (o *CalculationRule) GetAttribute() string

GetAttribute returns the Attribute field value

func (*CalculationRule) GetAttributeOk added in v2.6.11

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

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

func (*CalculationRule) GetFilter added in v2.6.11

func (o *CalculationRule) GetFilter() map[string]interface{}

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

func (*CalculationRule) GetFilterOk added in v2.6.11

func (o *CalculationRule) GetFilterOk() (map[string]interface{}, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CalculationRule) GetFormula added in v2.6.11

func (o *CalculationRule) GetFormula() string

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

func (*CalculationRule) GetFormulaOk added in v2.6.11

func (o *CalculationRule) GetFormulaOk() (*string, bool)

GetFormulaOk returns a tuple with the Formula field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CalculationRule) GetId added in v2.6.11

func (o *CalculationRule) GetId() int32

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

func (*CalculationRule) GetIdOk added in v2.6.11

func (o *CalculationRule) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CalculationRule) GetSubtype added in v2.6.11

func (o *CalculationRule) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*CalculationRule) GetSubtypeOk added in v2.6.11

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

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

func (*CalculationRule) GetUnit added in v2.6.11

func (o *CalculationRule) GetUnit() string

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

func (*CalculationRule) GetUnitOk added in v2.6.11

func (o *CalculationRule) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CalculationRule) GetVirtual added in v2.6.11

func (o *CalculationRule) GetVirtual() bool

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

func (*CalculationRule) GetVirtualOk added in v2.6.11

func (o *CalculationRule) GetVirtualOk() (*bool, bool)

GetVirtualOk returns a tuple with the Virtual field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CalculationRule) HasFilter added in v2.6.11

func (o *CalculationRule) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*CalculationRule) HasFormula added in v2.6.11

func (o *CalculationRule) HasFormula() bool

HasFormula returns a boolean if a field has been set.

func (*CalculationRule) HasId added in v2.6.11

func (o *CalculationRule) HasId() bool

HasId returns a boolean if a field has been set.

func (*CalculationRule) HasUnit added in v2.6.11

func (o *CalculationRule) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*CalculationRule) HasVirtual added in v2.6.11

func (o *CalculationRule) HasVirtual() bool

HasVirtual returns a boolean if a field has been set.

func (CalculationRule) MarshalJSON added in v2.6.11

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

func (*CalculationRule) SetAssetId added in v2.6.11

func (o *CalculationRule) SetAssetId(v int32)

SetAssetId sets field value

func (*CalculationRule) SetAttribute added in v2.6.11

func (o *CalculationRule) SetAttribute(v string)

SetAttribute sets field value

func (*CalculationRule) SetFilter added in v2.6.11

func (o *CalculationRule) SetFilter(v map[string]interface{})

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

func (*CalculationRule) SetFormula added in v2.6.11

func (o *CalculationRule) SetFormula(v string)

SetFormula gets a reference to the given NullableString and assigns it to the Formula field.

func (*CalculationRule) SetFormulaNil added in v2.6.11

func (o *CalculationRule) SetFormulaNil()

SetFormulaNil sets the value for Formula to be an explicit nil

func (*CalculationRule) SetId added in v2.6.11

func (o *CalculationRule) SetId(v int32)

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

func (*CalculationRule) SetIdNil added in v2.6.11

func (o *CalculationRule) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*CalculationRule) SetSubtype added in v2.6.11

func (o *CalculationRule) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*CalculationRule) SetUnit added in v2.6.11

func (o *CalculationRule) SetUnit(v string)

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

func (*CalculationRule) SetUnitNil added in v2.6.11

func (o *CalculationRule) SetUnitNil()

SetUnitNil sets the value for Unit to be an explicit nil

func (*CalculationRule) SetVirtual added in v2.6.11

func (o *CalculationRule) SetVirtual(v bool)

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

func (*CalculationRule) SetVirtualNil added in v2.6.11

func (o *CalculationRule) SetVirtualNil()

SetVirtualNil sets the value for Virtual to be an explicit nil

func (CalculationRule) ToMap added in v2.6.11

func (o CalculationRule) ToMap() (map[string]interface{}, error)

func (*CalculationRule) UnmarshalJSON added in v2.6.11

func (o *CalculationRule) UnmarshalJSON(data []byte) (err error)

func (*CalculationRule) UnsetFormula added in v2.6.11

func (o *CalculationRule) UnsetFormula()

UnsetFormula ensures that no value is present for Formula, not even an explicit nil

func (*CalculationRule) UnsetId added in v2.6.11

func (o *CalculationRule) UnsetId()

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

func (*CalculationRule) UnsetUnit added in v2.6.11

func (o *CalculationRule) UnsetUnit()

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

func (*CalculationRule) UnsetVirtual added in v2.6.11

func (o *CalculationRule) UnsetVirtual()

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

type CalculationRulesAPIService added in v2.6.11

type CalculationRulesAPIService service

CalculationRulesAPIService CalculationRulesAPI service

func (*CalculationRulesAPIService) DeleteCalculationRuleById added in v2.6.11

func (a *CalculationRulesAPIService) DeleteCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiDeleteCalculationRuleByIdRequest

DeleteCalculationRuleById Delete a calculation rule

Deletes a calculation rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param calculationRuleId The id of the calculation rule
@return ApiDeleteCalculationRuleByIdRequest

func (*CalculationRulesAPIService) DeleteCalculationRuleByIdExecute added in v2.6.11

func (a *CalculationRulesAPIService) DeleteCalculationRuleByIdExecute(r ApiDeleteCalculationRuleByIdRequest) (*http.Response, error)

Execute executes the request

func (*CalculationRulesAPIService) GetCalculationRuleById added in v2.6.11

func (a *CalculationRulesAPIService) GetCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiGetCalculationRuleByIdRequest

GetCalculationRuleById Information about a calculation rules rule

Gets information about a calculation rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param calculationRuleId The id of the calculation rule
@return ApiGetCalculationRuleByIdRequest

func (*CalculationRulesAPIService) GetCalculationRuleByIdExecute added in v2.6.11

Execute executes the request

@return CalculationRule

func (*CalculationRulesAPIService) GetCalculationRules added in v2.6.11

GetCalculationRules Information about calculation rules

Gets information about calculation rules.

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

func (*CalculationRulesAPIService) GetCalculationRulesExecute added in v2.6.11

Execute executes the request

@return []CalculationRule

func (*CalculationRulesAPIService) PutCalculationRule added in v2.6.11

PutCalculationRule Creates or updates a calculation rule

Creates a new or updates an existing calculation rule.

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

func (*CalculationRulesAPIService) PutCalculationRuleById added in v2.6.11

func (a *CalculationRulesAPIService) PutCalculationRuleById(ctx context.Context, calculationRuleId int32) ApiPutCalculationRuleByIdRequest

PutCalculationRuleById Update a calculation rule

Update a calculation rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param calculationRuleId The id of the calculation rule
@return ApiPutCalculationRuleByIdRequest

func (*CalculationRulesAPIService) PutCalculationRuleByIdExecute added in v2.6.11

Execute executes the request

@return CalculationRule

func (*CalculationRulesAPIService) PutCalculationRuleExecute added in v2.6.11

Execute executes the request

@return CalculationRule

type CommunicationAPIService added in v2.5.3

type CommunicationAPIService service

CommunicationAPIService CommunicationAPI service

func (*CommunicationAPIService) GetMessageReceiptById added in v2.5.3

func (a *CommunicationAPIService) GetMessageReceiptById(ctx context.Context, messageId string) ApiGetMessageReceiptByIdRequest

GetMessageReceiptById Information about a message

Gets receipt information for a message.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param messageId The id of the message
@return ApiGetMessageReceiptByIdRequest

func (*CommunicationAPIService) GetMessageReceiptByIdExecute added in v2.5.3

Execute executes the request

@return MessageReceipt

func (*CommunicationAPIService) PostMail added in v2.5.3

PostMail Send e-mail

Sends an e-mail to recipients

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

func (*CommunicationAPIService) PostMailExecute added in v2.5.3

Execute executes the request

@return MessageReceipt

func (*CommunicationAPIService) PostNotification added in v2.5.3

PostNotification Send notification

Sends a notification to Eliona users

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

func (*CommunicationAPIService) PostNotificationExecute added in v2.5.3

Execute executes the request

@return MessageReceipt

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) 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
	// Deprecated
	Sequence NullableInt32 `json:"sequence,omitempty"`
	// List of widgets on this dashboard (order matches the order of widgets on the dashboard)
	Widgets []Widget `json:"widgets,omitempty"`
	// Is the dashboard public and not bound to a dedicated user
	Public NullableBool `json:"public,omitempty"`
}

Dashboard A frontend dashboard

func NewDashboard

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) GetPublic added in v2.6.8

func (o *Dashboard) GetPublic() bool

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

func (*Dashboard) GetPublicOk added in v2.6.8

func (o *Dashboard) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Dashboard) GetSequence

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

func (*Dashboard) GetSequenceOk

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 Deprecated

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

func (o *Dashboard) GetWidgets() []Widget

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

func (*Dashboard) GetWidgetsOk

func (o *Dashboard) GetWidgetsOk() ([]Widget, bool)

GetWidgetsOk returns a tuple with the Widgets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Dashboard) HasId

func (o *Dashboard) HasId() bool

HasId returns a boolean if a field has been set.

func (*Dashboard) HasPublic added in v2.6.8

func (o *Dashboard) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*Dashboard) HasSequence

func (o *Dashboard) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*Dashboard) HasWidgets

func (o *Dashboard) HasWidgets() bool

HasWidgets 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

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) SetPublic added in v2.6.8

func (o *Dashboard) SetPublic(v bool)

SetPublic gets a reference to the given NullableBool and assigns it to the Public field.

func (*Dashboard) SetPublicNil added in v2.6.8

func (o *Dashboard) SetPublicNil()

SetPublicNil sets the value for Public to be an explicit nil

func (*Dashboard) SetSequence

func (o *Dashboard) SetSequence(v int32)

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

func (*Dashboard) SetSequenceNil

func (o *Dashboard) SetSequenceNil()

SetSequenceNil sets the value for Sequence to be an explicit nil

func (*Dashboard) SetUserId

func (o *Dashboard) SetUserId(v string)

SetUserId sets field value

func (*Dashboard) SetWidgets

func (o *Dashboard) SetWidgets(v []Widget)

SetWidgets gets a reference to the given []Widget and assigns it to the Widgets field.

func (Dashboard) ToMap added in v2.4.8

func (o Dashboard) ToMap() (map[string]interface{}, error)

func (*Dashboard) UnmarshalJSON added in v2.5.9

func (o *Dashboard) UnmarshalJSON(data []byte) (err error)

func (*Dashboard) UnsetId

func (o *Dashboard) UnsetId()

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

func (*Dashboard) UnsetPublic added in v2.6.8

func (o *Dashboard) UnsetPublic()

UnsetPublic ensures that no value is present for Public, not even an explicit nil

func (*Dashboard) UnsetSequence

func (o *Dashboard) UnsetSequence()

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

type DashboardsAPIService added in v2.5.3

type DashboardsAPIService service

DashboardsAPIService DashboardsAPI service

func (*DashboardsAPIService) GetDashboardById added in v2.5.3

func (a *DashboardsAPIService) GetDashboardById(ctx context.Context, dashboardId int32) ApiGetDashboardByIdRequest

GetDashboardById Information about a dashboard

Gets information about a dashboard.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param dashboardId The id of the dashboard
@return ApiGetDashboardByIdRequest

func (*DashboardsAPIService) GetDashboardByIdExecute added in v2.5.3

func (a *DashboardsAPIService) GetDashboardByIdExecute(r ApiGetDashboardByIdRequest) (*Dashboard, *http.Response, error)

Execute executes the request

@return Dashboard

func (*DashboardsAPIService) GetDashboards added in v2.5.3

GetDashboards Information about dashboards

Gets a list of dashboards

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

func (*DashboardsAPIService) GetDashboardsExecute added in v2.5.3

func (a *DashboardsAPIService) GetDashboardsExecute(r ApiGetDashboardsRequest) ([]Dashboard, *http.Response, error)

Execute executes the request

@return []Dashboard

func (*DashboardsAPIService) PostDashboard added in v2.5.3

PostDashboard Creates a new dashboard

Create a new dashboard for frontend

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

func (*DashboardsAPIService) PostDashboardExecute added in v2.5.3

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

Execute executes the request

@return Dashboard

type Data

type Data struct {
	// ID of the corresponding asset
	AssetId int32       `json:"assetId"`
	Subtype DataSubtype `json:"subtype"`
	// Timestamp of the latest data change
	Timestamp NullableTime `json:"timestamp,omitempty"`
	// Asset payload
	Data map[string]interface{} `json:"data"`
	// The name of the corresponding asset type
	AssetTypeName NullableString `json:"assetTypeName,omitempty"`
	// freely assignable by the client to identify self-created data
	ClientReference NullableString `json:"clientReference,omitempty"`
}

Data Data for assets

func NewData

func NewData(assetId int32, subtype DataSubtype, data map[string]interface{}) *Data

NewData instantiates a new Data object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDataWithDefaults

func NewDataWithDefaults() *Data

NewDataWithDefaults instantiates a new Data object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Data) GetAssetId

func (o *Data) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*Data) GetAssetIdOk

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

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

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) GetClientReference added in v2.5.5

func (o *Data) GetClientReference() string

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

func (*Data) GetClientReferenceOk added in v2.5.5

func (o *Data) GetClientReferenceOk() (*string, bool)

GetClientReferenceOk returns a tuple with the ClientReference field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Data) GetData

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

GetData returns the Data field value

func (*Data) GetDataOk

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

func (o *Data) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*Data) GetSubtypeOk

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

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

func (*Data) GetTimestamp

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

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

func (o *Data) HasAssetTypeName() bool

HasAssetTypeName returns a boolean if a field has been set.

func (*Data) HasClientReference added in v2.5.5

func (o *Data) HasClientReference() bool

HasClientReference returns a boolean if a field has been set.

func (*Data) HasTimestamp

func (o *Data) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (Data) MarshalJSON

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

func (*Data) SetAssetId

func (o *Data) SetAssetId(v int32)

SetAssetId sets field value

func (*Data) SetAssetTypeName

func (o *Data) SetAssetTypeName(v string)

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

func (*Data) SetAssetTypeNameNil

func (o *Data) SetAssetTypeNameNil()

SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil

func (*Data) SetClientReference added in v2.5.5

func (o *Data) SetClientReference(v string)

SetClientReference gets a reference to the given NullableString and assigns it to the ClientReference field.

func (*Data) SetClientReferenceNil added in v2.5.5

func (o *Data) SetClientReferenceNil()

SetClientReferenceNil sets the value for ClientReference to be an explicit nil

func (*Data) SetData

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

SetData sets field value

func (*Data) SetSubtype

func (o *Data) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*Data) SetTimestamp

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

func (o *Data) SetTimestampNil()

SetTimestampNil sets the value for Timestamp to be an explicit nil

func (Data) ToMap added in v2.4.8

func (o Data) ToMap() (map[string]interface{}, error)

func (*Data) UnmarshalJSON added in v2.5.9

func (o *Data) UnmarshalJSON(data []byte) (err error)

func (*Data) UnsetAssetTypeName

func (o *Data) UnsetAssetTypeName()

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

func (*Data) UnsetClientReference added in v2.5.5

func (o *Data) UnsetClientReference()

UnsetClientReference ensures that no value is present for ClientReference, not even an explicit nil

func (*Data) UnsetTimestamp

func (o *Data) UnsetTimestamp()

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

type DataAPIService added in v2.5.3

type DataAPIService service

DataAPIService DataAPI service

func (*DataAPIService) GetData added in v2.5.3

GetData Gets all data

Gets information about data for assets.

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

func (*DataAPIService) GetDataAggregated added in v2.5.3

func (a *DataAPIService) GetDataAggregated(ctx context.Context) ApiGetDataAggregatedRequest

GetDataAggregated Get aggregated data

Gets aggregated data sets which combines a set of data points for a defined periodical raster

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

func (*DataAPIService) GetDataAggregatedExecute added in v2.5.3

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

Execute executes the request

@return []DataAggregated

func (*DataAPIService) GetDataExecute added in v2.5.3

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

Execute executes the request

@return []Data

func (*DataAPIService) GetDataTrends added in v2.5.3

func (a *DataAPIService) GetDataTrends(ctx context.Context) ApiGetDataTrendsRequest

GetDataTrends Get trend of historical data

Gets trend information about historical data for assets.

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

func (*DataAPIService) GetDataTrendsExecute added in v2.5.3

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

Execute executes the request

@return []Data

func (*DataAPIService) ListenData added in v2.5.3

ListenData WebSocket connection for asset data changes

Open a WebSocket connection to get informed when new asset data is written or anything changes.

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

func (*DataAPIService) ListenDataExecute added in v2.5.3

func (a *DataAPIService) ListenDataExecute(r ApiListenDataRequest) (*DataListen, *http.Response, error)

Execute executes the request

@return DataListen

func (*DataAPIService) PutBulkData added in v2.5.3

PutBulkData Create or update multiple asset data

Create multiple asset data or update data if already exists. Uses the unique combination of asset id and subtype for updating.

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

func (*DataAPIService) PutBulkDataExecute added in v2.5.3

func (a *DataAPIService) PutBulkDataExecute(r ApiPutBulkDataRequest) (*http.Response, error)

Execute executes the request

func (*DataAPIService) PutData added in v2.5.3

PutData Create or update asset data

Create new asset data or update data if already exists. Uses the unique combination of asset id and subtype for updating.

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

func (*DataAPIService) PutDataExecute added in v2.5.3

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

Execute executes the request

type DataAggregated

type DataAggregated struct {
	// ID of the aggregation
	AggregationId *int32 `json:"aggregationId,omitempty"`
	// ID of the corresponding asset
	AssetId int32       `json:"assetId"`
	Subtype DataSubtype `json:"subtype"`
	// Name of the attribute which holds the data points
	Attribute *string `json:"attribute,omitempty"`
	// Calculation intervals.
	Raster string `json:"raster"`
	// Timestamp of this aggregated data set. The timestamp when the timeslot based on raster starts.
	Timestamp NullableTime `json:"timestamp,omitempty"`
	// Count of data points in this aggregated data set
	Count NullableFloat64 `json:"count,omitempty"`
	// Average of all data points for this aggregated data set
	Average NullableFloat64 `json:"average,omitempty"`
	// Sum of all data points for this aggregated data set
	Sum NullableFloat64 `json:"sum,omitempty"`
	// First data point in this aggregated data set
	First NullableFloat64 `json:"first,omitempty"`
	// Data point with the most minimal value in this aggregated data set
	Min NullableFloat64 `json:"min,omitempty"`
	// Data point with the most maximal value in this aggregated data set
	Max NullableFloat64 `json:"max,omitempty"`
	// Latest data point in this aggregated data set
	Last NullableFloat64 `json:"last,omitempty"`
	// Timestamp of the latest data point
	LastTimestamp NullableTime `json:"lastTimestamp,omitempty"`
	// The name of the corresponding asset type
	AssetTypeName NullableString `json:"assetTypeName,omitempty"`
}

DataAggregated Aggregated data combines multiple data points for a periodical raster

func NewDataAggregated

func NewDataAggregated(assetId int32, subtype DataSubtype, raster string) *DataAggregated

NewDataAggregated instantiates a new DataAggregated object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDataAggregatedWithDefaults

func NewDataAggregatedWithDefaults() *DataAggregated

NewDataAggregatedWithDefaults instantiates a new DataAggregated object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DataAggregated) GetAggregationId

func (o *DataAggregated) GetAggregationId() int32

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

func (*DataAggregated) GetAggregationIdOk

func (o *DataAggregated) GetAggregationIdOk() (*int32, bool)

GetAggregationIdOk returns a tuple with the AggregationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DataAggregated) GetAssetId

func (o *DataAggregated) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*DataAggregated) GetAssetIdOk

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

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

func (*DataAggregated) GetAssetTypeName

func (o *DataAggregated) GetAssetTypeName() string

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

func (*DataAggregated) GetAssetTypeNameOk

func (o *DataAggregated) GetAssetTypeNameOk() (*string, bool)

GetAssetTypeNameOk returns a tuple with the AssetTypeName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetAttribute

func (o *DataAggregated) GetAttribute() string

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

func (*DataAggregated) GetAttributeOk

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

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

func (*DataAggregated) GetAverage

func (o *DataAggregated) GetAverage() float64

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

func (*DataAggregated) GetAverageOk

func (o *DataAggregated) GetAverageOk() (*float64, bool)

GetAverageOk returns a tuple with the Average field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetCount

func (o *DataAggregated) GetCount() float64

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

func (*DataAggregated) GetCountOk

func (o *DataAggregated) GetCountOk() (*float64, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetFirst

func (o *DataAggregated) GetFirst() float64

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

func (*DataAggregated) GetFirstOk

func (o *DataAggregated) GetFirstOk() (*float64, bool)

GetFirstOk returns a tuple with the First field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetLast

func (o *DataAggregated) GetLast() float64

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

func (*DataAggregated) GetLastOk

func (o *DataAggregated) GetLastOk() (*float64, bool)

GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetLastTimestamp

func (o *DataAggregated) GetLastTimestamp() time.Time

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

func (*DataAggregated) GetLastTimestampOk

func (o *DataAggregated) GetLastTimestampOk() (*time.Time, bool)

GetLastTimestampOk returns a tuple with the LastTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetMax

func (o *DataAggregated) GetMax() float64

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

func (*DataAggregated) GetMaxOk

func (o *DataAggregated) GetMaxOk() (*float64, bool)

GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetMin

func (o *DataAggregated) GetMin() float64

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

func (*DataAggregated) GetMinOk

func (o *DataAggregated) GetMinOk() (*float64, bool)

GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetRaster

func (o *DataAggregated) GetRaster() string

GetRaster returns the Raster field value

func (*DataAggregated) GetRasterOk

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

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

func (*DataAggregated) GetSubtype

func (o *DataAggregated) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*DataAggregated) GetSubtypeOk

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

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

func (*DataAggregated) GetSum

func (o *DataAggregated) GetSum() float64

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

func (*DataAggregated) GetSumOk

func (o *DataAggregated) GetSumOk() (*float64, bool)

GetSumOk returns a tuple with the Sum field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) GetTimestamp

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

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

func (*DataAggregated) GetTimestampOk

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

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataAggregated) HasAggregationId

func (o *DataAggregated) HasAggregationId() bool

HasAggregationId returns a boolean if a field has been set.

func (*DataAggregated) HasAssetTypeName

func (o *DataAggregated) HasAssetTypeName() bool

HasAssetTypeName returns a boolean if a field has been set.

func (*DataAggregated) HasAttribute

func (o *DataAggregated) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*DataAggregated) HasAverage

func (o *DataAggregated) HasAverage() bool

HasAverage returns a boolean if a field has been set.

func (*DataAggregated) HasCount

func (o *DataAggregated) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*DataAggregated) HasFirst

func (o *DataAggregated) HasFirst() bool

HasFirst returns a boolean if a field has been set.

func (*DataAggregated) HasLast

func (o *DataAggregated) HasLast() bool

HasLast returns a boolean if a field has been set.

func (*DataAggregated) HasLastTimestamp

func (o *DataAggregated) HasLastTimestamp() bool

HasLastTimestamp returns a boolean if a field has been set.

func (*DataAggregated) HasMax

func (o *DataAggregated) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*DataAggregated) HasMin

func (o *DataAggregated) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*DataAggregated) HasSum

func (o *DataAggregated) HasSum() bool

HasSum returns a boolean if a field has been set.

func (*DataAggregated) HasTimestamp

func (o *DataAggregated) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (DataAggregated) MarshalJSON

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

func (*DataAggregated) SetAggregationId

func (o *DataAggregated) SetAggregationId(v int32)

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

func (*DataAggregated) SetAssetId

func (o *DataAggregated) SetAssetId(v int32)

SetAssetId sets field value

func (*DataAggregated) SetAssetTypeName

func (o *DataAggregated) SetAssetTypeName(v string)

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

func (*DataAggregated) SetAssetTypeNameNil

func (o *DataAggregated) SetAssetTypeNameNil()

SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil

func (*DataAggregated) SetAttribute

func (o *DataAggregated) SetAttribute(v string)

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

func (*DataAggregated) SetAverage

func (o *DataAggregated) SetAverage(v float64)

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

func (*DataAggregated) SetAverageNil

func (o *DataAggregated) SetAverageNil()

SetAverageNil sets the value for Average to be an explicit nil

func (*DataAggregated) SetCount

func (o *DataAggregated) SetCount(v float64)

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

func (*DataAggregated) SetCountNil

func (o *DataAggregated) SetCountNil()

SetCountNil sets the value for Count to be an explicit nil

func (*DataAggregated) SetFirst

func (o *DataAggregated) SetFirst(v float64)

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

func (*DataAggregated) SetFirstNil

func (o *DataAggregated) SetFirstNil()

SetFirstNil sets the value for First to be an explicit nil

func (*DataAggregated) SetLast

func (o *DataAggregated) SetLast(v float64)

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

func (*DataAggregated) SetLastNil

func (o *DataAggregated) SetLastNil()

SetLastNil sets the value for Last to be an explicit nil

func (*DataAggregated) SetLastTimestamp

func (o *DataAggregated) SetLastTimestamp(v time.Time)

SetLastTimestamp gets a reference to the given NullableTime and assigns it to the LastTimestamp field.

func (*DataAggregated) SetLastTimestampNil

func (o *DataAggregated) SetLastTimestampNil()

SetLastTimestampNil sets the value for LastTimestamp to be an explicit nil

func (*DataAggregated) SetMax

func (o *DataAggregated) SetMax(v float64)

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

func (*DataAggregated) SetMaxNil

func (o *DataAggregated) SetMaxNil()

SetMaxNil sets the value for Max to be an explicit nil

func (*DataAggregated) SetMin

func (o *DataAggregated) SetMin(v float64)

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

func (*DataAggregated) SetMinNil

func (o *DataAggregated) SetMinNil()

SetMinNil sets the value for Min to be an explicit nil

func (*DataAggregated) SetRaster

func (o *DataAggregated) SetRaster(v string)

SetRaster sets field value

func (*DataAggregated) SetSubtype

func (o *DataAggregated) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*DataAggregated) SetSum

func (o *DataAggregated) SetSum(v float64)

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

func (*DataAggregated) SetSumNil

func (o *DataAggregated) SetSumNil()

SetSumNil sets the value for Sum to be an explicit nil

func (*DataAggregated) SetTimestamp

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

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

func (*DataAggregated) SetTimestampNil

func (o *DataAggregated) SetTimestampNil()

SetTimestampNil sets the value for Timestamp to be an explicit nil

func (DataAggregated) ToMap added in v2.4.8

func (o DataAggregated) ToMap() (map[string]interface{}, error)

func (*DataAggregated) UnmarshalJSON added in v2.5.9

func (o *DataAggregated) UnmarshalJSON(data []byte) (err error)

func (*DataAggregated) UnsetAssetTypeName

func (o *DataAggregated) UnsetAssetTypeName()

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

func (*DataAggregated) UnsetAverage

func (o *DataAggregated) UnsetAverage()

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

func (*DataAggregated) UnsetCount

func (o *DataAggregated) UnsetCount()

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

func (*DataAggregated) UnsetFirst

func (o *DataAggregated) UnsetFirst()

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

func (*DataAggregated) UnsetLast

func (o *DataAggregated) UnsetLast()

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

func (*DataAggregated) UnsetLastTimestamp

func (o *DataAggregated) UnsetLastTimestamp()

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

func (*DataAggregated) UnsetMax

func (o *DataAggregated) UnsetMax()

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

func (*DataAggregated) UnsetMin

func (o *DataAggregated) UnsetMin()

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

func (*DataAggregated) UnsetSum

func (o *DataAggregated) UnsetSum()

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

func (*DataAggregated) UnsetTimestamp

func (o *DataAggregated) UnsetTimestamp()

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

type DataListen added in v2.6.0

type DataListen struct {
	// ID of the corresponding asset
	AssetId int32       `json:"assetId"`
	Subtype DataSubtype `json:"subtype"`
	// Timestamp of the latest data change
	Timestamp NullableTime `json:"timestamp,omitempty"`
	// Asset payload
	Data map[string]interface{} `json:"data"`
	// The name of the corresponding asset type
	AssetTypeName NullableString `json:"assetTypeName,omitempty"`
	// freely assignable by the client to identify self-created data
	ClientReference NullableString `json:"clientReference,omitempty"`
	// The status code expecting when actually perform the operation. Some values are - 200: updated (ok)  - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable
	StatusCode *int32 `json:"statusCode,omitempty"`
}

DataListen struct for DataListen

func NewDataListen added in v2.6.0

func NewDataListen(assetId int32, subtype DataSubtype, data map[string]interface{}) *DataListen

NewDataListen instantiates a new DataListen object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDataListenWithDefaults added in v2.6.0

func NewDataListenWithDefaults() *DataListen

NewDataListenWithDefaults instantiates a new DataListen object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DataListen) GetAssetId added in v2.6.0

func (o *DataListen) GetAssetId() int32

GetAssetId returns the AssetId field value

func (*DataListen) GetAssetIdOk added in v2.6.0

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

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

func (*DataListen) GetAssetTypeName added in v2.6.0

func (o *DataListen) GetAssetTypeName() string

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

func (*DataListen) GetAssetTypeNameOk added in v2.6.0

func (o *DataListen) GetAssetTypeNameOk() (*string, bool)

GetAssetTypeNameOk returns a tuple with the AssetTypeName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataListen) GetClientReference added in v2.6.0

func (o *DataListen) GetClientReference() string

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

func (*DataListen) GetClientReferenceOk added in v2.6.0

func (o *DataListen) GetClientReferenceOk() (*string, bool)

GetClientReferenceOk returns a tuple with the ClientReference field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataListen) GetData added in v2.6.0

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

GetData returns the Data field value

func (*DataListen) GetDataOk added in v2.6.0

func (o *DataListen) GetDataOk() (map[string]interface{}, bool)

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

func (*DataListen) GetStatusCode added in v2.6.0

func (o *DataListen) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*DataListen) GetStatusCodeOk added in v2.6.0

func (o *DataListen) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DataListen) GetSubtype added in v2.6.0

func (o *DataListen) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*DataListen) GetSubtypeOk added in v2.6.0

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

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

func (*DataListen) GetTimestamp added in v2.6.0

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

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

func (*DataListen) GetTimestampOk added in v2.6.0

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

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DataListen) HasAssetTypeName added in v2.6.0

func (o *DataListen) HasAssetTypeName() bool

HasAssetTypeName returns a boolean if a field has been set.

func (*DataListen) HasClientReference added in v2.6.0

func (o *DataListen) HasClientReference() bool

HasClientReference returns a boolean if a field has been set.

func (*DataListen) HasStatusCode added in v2.6.0

func (o *DataListen) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*DataListen) HasTimestamp added in v2.6.0

func (o *DataListen) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (DataListen) MarshalJSON added in v2.6.0

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

func (*DataListen) SetAssetId added in v2.6.0

func (o *DataListen) SetAssetId(v int32)

SetAssetId sets field value

func (*DataListen) SetAssetTypeName added in v2.6.0

func (o *DataListen) SetAssetTypeName(v string)

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

func (*DataListen) SetAssetTypeNameNil added in v2.6.0

func (o *DataListen) SetAssetTypeNameNil()

SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil

func (*DataListen) SetClientReference added in v2.6.0

func (o *DataListen) SetClientReference(v string)

SetClientReference gets a reference to the given NullableString and assigns it to the ClientReference field.

func (*DataListen) SetClientReferenceNil added in v2.6.0

func (o *DataListen) SetClientReferenceNil()

SetClientReferenceNil sets the value for ClientReference to be an explicit nil

func (*DataListen) SetData added in v2.6.0

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

SetData sets field value

func (*DataListen) SetStatusCode added in v2.6.0

func (o *DataListen) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (*DataListen) SetSubtype added in v2.6.0

func (o *DataListen) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*DataListen) SetTimestamp added in v2.6.0

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

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

func (*DataListen) SetTimestampNil added in v2.6.0

func (o *DataListen) SetTimestampNil()

SetTimestampNil sets the value for Timestamp to be an explicit nil

func (DataListen) ToMap added in v2.6.0

func (o DataListen) ToMap() (map[string]interface{}, error)

func (*DataListen) UnmarshalJSON added in v2.6.0

func (o *DataListen) UnmarshalJSON(data []byte) (err error)

func (*DataListen) UnsetAssetTypeName added in v2.6.0

func (o *DataListen) UnsetAssetTypeName()

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

func (*DataListen) UnsetClientReference added in v2.6.0

func (o *DataListen) UnsetClientReference()

UnsetClientReference ensures that no value is present for ClientReference, not even an explicit nil

func (*DataListen) UnsetTimestamp added in v2.6.0

func (o *DataListen) UnsetTimestamp()

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

type DataSubtype

type DataSubtype string

DataSubtype Type of asset data

const (
	SUBTYPE_INPUT    DataSubtype = "input"
	SUBTYPE_INFO     DataSubtype = "info"
	SUBTYPE_STATUS   DataSubtype = "status"
	SUBTYPE_OUTPUT   DataSubtype = "output"
	SUBTYPE_PROPERTY DataSubtype = "property"
)

List of DataSubtype

func NewDataSubtypeFromValue

func NewDataSubtypeFromValue(v string) (*DataSubtype, error)

NewDataSubtypeFromValue returns a pointer to a valid DataSubtype for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DataSubtype) IsValid

func (v DataSubtype) IsValid() bool

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

func (DataSubtype) Ptr

func (v DataSubtype) Ptr() *DataSubtype

Ptr returns reference to DataSubtype value

func (*DataSubtype) UnmarshalJSON

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

type DryRunGeneral added in v2.5.3

type DryRunGeneral struct {
	// Unique identifier (textual or numeric) of resources
	Identifier *string `json:"identifier,omitempty"`
	// The status code expecting when actually perform the operation. Some values are - 200: updated (ok)  - 201: created - 204: deleted (no content) - 304: unchanged (not modified) - 400: problem (bad request) - 404: not found - 409: duplicated (conflict) - 422: unprocessable
	StatusCode *int32 `json:"statusCode,omitempty"`
	// The error message expecting when actually perform the operation.
	ErrorMessage NullableString `json:"errorMessage,omitempty"`
}

DryRunGeneral Information about dry run the operation

func NewDryRunGeneral added in v2.5.3

func NewDryRunGeneral() *DryRunGeneral

NewDryRunGeneral instantiates a new DryRunGeneral object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDryRunGeneralWithDefaults added in v2.5.3

func NewDryRunGeneralWithDefaults() *DryRunGeneral

NewDryRunGeneralWithDefaults instantiates a new DryRunGeneral object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DryRunGeneral) GetErrorMessage added in v2.5.3

func (o *DryRunGeneral) GetErrorMessage() string

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

func (*DryRunGeneral) GetErrorMessageOk added in v2.5.3

func (o *DryRunGeneral) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DryRunGeneral) GetIdentifier added in v2.5.3

func (o *DryRunGeneral) GetIdentifier() string

GetIdentifier returns the Identifier field value if set, zero value otherwise.

func (*DryRunGeneral) GetIdentifierOk added in v2.5.3

func (o *DryRunGeneral) GetIdentifierOk() (*string, bool)

GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DryRunGeneral) GetStatusCode added in v2.5.3

func (o *DryRunGeneral) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*DryRunGeneral) GetStatusCodeOk added in v2.5.3

func (o *DryRunGeneral) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DryRunGeneral) HasErrorMessage added in v2.5.3

func (o *DryRunGeneral) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*DryRunGeneral) HasIdentifier added in v2.5.3

func (o *DryRunGeneral) HasIdentifier() bool

HasIdentifier returns a boolean if a field has been set.

func (*DryRunGeneral) HasStatusCode added in v2.5.3

func (o *DryRunGeneral) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (DryRunGeneral) MarshalJSON added in v2.5.3

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

func (*DryRunGeneral) SetErrorMessage added in v2.5.3

func (o *DryRunGeneral) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given NullableString and assigns it to the ErrorMessage field.

func (*DryRunGeneral) SetErrorMessageNil added in v2.5.3

func (o *DryRunGeneral) SetErrorMessageNil()

SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil

func (*DryRunGeneral) SetIdentifier added in v2.5.3

func (o *DryRunGeneral) SetIdentifier(v string)

SetIdentifier gets a reference to the given string and assigns it to the Identifier field.

func (*DryRunGeneral) SetStatusCode added in v2.5.3

func (o *DryRunGeneral) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (DryRunGeneral) ToMap added in v2.5.3

func (o DryRunGeneral) ToMap() (map[string]interface{}, error)

func (*DryRunGeneral) UnsetErrorMessage added in v2.5.3

func (o *DryRunGeneral) UnsetErrorMessage()

UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type IosysAgentDevice

type IosysAgentDevice struct {
	Class NullableAgentClass `json:"class,omitempty"`
	// Unique id for the device
	Id NullableInt32 `json:"id,omitempty"`
	// The id of the agent the device belongs to
	AgentId NullableInt32 `json:"agentId,omitempty"`
	// Is the device enabled or not
	Enable *bool `json:"enable,omitempty"`
	// Port of device
	Port NullableInt32 `json:"port,omitempty"`
	// Certificate of device
	Certificate NullableString `json:"certificate,omitempty"`
	// Key for device
	Key NullableString `json:"key,omitempty"`
	// Time in seconds
	Timeout NullableInt32 `json:"timeout,omitempty"`
	// Reconnect
	Reconnect NullableInt32 `json:"reconnect,omitempty"`
}

IosysAgentDevice struct for IosysAgentDevice

func NewIosysAgentDevice

func NewIosysAgentDevice() *IosysAgentDevice

NewIosysAgentDevice instantiates a new IosysAgentDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIosysAgentDeviceWithDefaults

func NewIosysAgentDeviceWithDefaults() *IosysAgentDevice

NewIosysAgentDeviceWithDefaults instantiates a new IosysAgentDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IosysAgentDevice) GetAgentId

func (o *IosysAgentDevice) GetAgentId() int32

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

func (*IosysAgentDevice) GetAgentIdOk

func (o *IosysAgentDevice) GetAgentIdOk() (*int32, bool)

GetAgentIdOk returns a tuple with the AgentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDevice) GetCertificate

func (o *IosysAgentDevice) GetCertificate() string

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

func (*IosysAgentDevice) GetCertificateOk

func (o *IosysAgentDevice) GetCertificateOk() (*string, bool)

GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDevice) GetClass

func (o *IosysAgentDevice) GetClass() AgentClass

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

func (*IosysAgentDevice) GetClassOk

func (o *IosysAgentDevice) GetClassOk() (*AgentClass, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDevice) GetEnable

func (o *IosysAgentDevice) GetEnable() bool

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

func (*IosysAgentDevice) GetEnableOk

func (o *IosysAgentDevice) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IosysAgentDevice) GetId

func (o *IosysAgentDevice) GetId() int32

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

func (*IosysAgentDevice) GetIdOk

func (o *IosysAgentDevice) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDevice) GetKey

func (o *IosysAgentDevice) GetKey() string

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

func (*IosysAgentDevice) GetKeyOk

func (o *IosysAgentDevice) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDevice) GetPort

func (o *IosysAgentDevice) GetPort() int32

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

func (*IosysAgentDevice) GetPortOk

func (o *IosysAgentDevice) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDevice) GetReconnect

func (o *IosysAgentDevice) GetReconnect() int32

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

func (*IosysAgentDevice) GetReconnectOk

func (o *IosysAgentDevice) GetReconnectOk() (*int32, bool)

GetReconnectOk returns a tuple with the Reconnect field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDevice) GetTimeout

func (o *IosysAgentDevice) GetTimeout() int32

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

func (*IosysAgentDevice) GetTimeoutOk

func (o *IosysAgentDevice) GetTimeoutOk() (*int32, bool)

GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDevice) HasAgentId

func (o *IosysAgentDevice) HasAgentId() bool

HasAgentId returns a boolean if a field has been set.

func (*IosysAgentDevice) HasCertificate

func (o *IosysAgentDevice) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*IosysAgentDevice) HasClass

func (o *IosysAgentDevice) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*IosysAgentDevice) HasEnable

func (o *IosysAgentDevice) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*IosysAgentDevice) HasId

func (o *IosysAgentDevice) HasId() bool

HasId returns a boolean if a field has been set.

func (*IosysAgentDevice) HasKey

func (o *IosysAgentDevice) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*IosysAgentDevice) HasPort

func (o *IosysAgentDevice) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*IosysAgentDevice) HasReconnect

func (o *IosysAgentDevice) HasReconnect() bool

HasReconnect returns a boolean if a field has been set.

func (*IosysAgentDevice) HasTimeout

func (o *IosysAgentDevice) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (IosysAgentDevice) MarshalJSON

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

func (*IosysAgentDevice) SetAgentId

func (o *IosysAgentDevice) SetAgentId(v int32)

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

func (*IosysAgentDevice) SetAgentIdNil

func (o *IosysAgentDevice) SetAgentIdNil()

SetAgentIdNil sets the value for AgentId to be an explicit nil

func (*IosysAgentDevice) SetCertificate

func (o *IosysAgentDevice) SetCertificate(v string)

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

func (*IosysAgentDevice) SetCertificateNil

func (o *IosysAgentDevice) SetCertificateNil()

SetCertificateNil sets the value for Certificate to be an explicit nil

func (*IosysAgentDevice) SetClass

func (o *IosysAgentDevice) SetClass(v AgentClass)

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

func (*IosysAgentDevice) SetClassNil

func (o *IosysAgentDevice) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*IosysAgentDevice) SetEnable

func (o *IosysAgentDevice) SetEnable(v bool)

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

func (*IosysAgentDevice) SetId

func (o *IosysAgentDevice) SetId(v int32)

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

func (*IosysAgentDevice) SetIdNil

func (o *IosysAgentDevice) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*IosysAgentDevice) SetKey

func (o *IosysAgentDevice) SetKey(v string)

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

func (*IosysAgentDevice) SetKeyNil

func (o *IosysAgentDevice) SetKeyNil()

SetKeyNil sets the value for Key to be an explicit nil

func (*IosysAgentDevice) SetPort

func (o *IosysAgentDevice) SetPort(v int32)

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

func (*IosysAgentDevice) SetPortNil

func (o *IosysAgentDevice) SetPortNil()

SetPortNil sets the value for Port to be an explicit nil

func (*IosysAgentDevice) SetReconnect

func (o *IosysAgentDevice) SetReconnect(v int32)

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

func (*IosysAgentDevice) SetReconnectNil

func (o *IosysAgentDevice) SetReconnectNil()

SetReconnectNil sets the value for Reconnect to be an explicit nil

func (*IosysAgentDevice) SetTimeout

func (o *IosysAgentDevice) SetTimeout(v int32)

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

func (*IosysAgentDevice) SetTimeoutNil

func (o *IosysAgentDevice) SetTimeoutNil()

SetTimeoutNil sets the value for Timeout to be an explicit nil

func (IosysAgentDevice) ToMap added in v2.4.8

func (o IosysAgentDevice) ToMap() (map[string]interface{}, error)

func (*IosysAgentDevice) UnsetAgentId

func (o *IosysAgentDevice) UnsetAgentId()

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

func (*IosysAgentDevice) UnsetCertificate

func (o *IosysAgentDevice) UnsetCertificate()

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

func (*IosysAgentDevice) UnsetClass

func (o *IosysAgentDevice) UnsetClass()

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

func (*IosysAgentDevice) UnsetId

func (o *IosysAgentDevice) UnsetId()

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

func (*IosysAgentDevice) UnsetKey

func (o *IosysAgentDevice) UnsetKey()

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

func (*IosysAgentDevice) UnsetPort

func (o *IosysAgentDevice) UnsetPort()

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

func (*IosysAgentDevice) UnsetReconnect

func (o *IosysAgentDevice) UnsetReconnect()

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

func (*IosysAgentDevice) UnsetTimeout

func (o *IosysAgentDevice) UnsetTimeout()

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

type IosysAgentDeviceMapping

type IosysAgentDeviceMapping struct {
	Class NullableAgentClass `json:"class,omitempty"`
	// Unique id for the mapping
	Id NullableInt32 `json:"id,omitempty"`
	// The id of the device the mapping belongs to
	DeviceId NullableInt32 `json:"deviceId,omitempty"`
	// Is the mapping enabled or not
	Enable *bool `json:"enable,omitempty"`
	// ID of the corresponding asset
	AssetId NullableInt32 `json:"assetId,omitempty"`
	Subtype DataSubtype   `json:"subtype"`
	// Name of the attribute to map
	Attribute      string          `json:"attribute"`
	IosVar         NullableString  `json:"iosVar,omitempty"`
	IosType        NullableString  `json:"iosType,omitempty"`
	Down           NullableBool    `json:"down,omitempty"`
	Scale          NullableFloat64 `json:"scale,omitempty"`
	Zero           NullableFloat64 `json:"zero,omitempty"`
	Mask           []int64         `json:"mask,omitempty"`
	MaskAttributes []string        `json:"maskAttributes,omitempty"`
	DeadTime       NullableInt32   `json:"deadTime,omitempty"`
	DeadBand       NullableFloat64 `json:"deadBand,omitempty"`
	Filter         NullableString  `json:"filter,omitempty"`
	Tau            NullableFloat64 `json:"tau,omitempty"`
}

IosysAgentDeviceMapping struct for IosysAgentDeviceMapping

func NewIosysAgentDeviceMapping

func NewIosysAgentDeviceMapping(subtype DataSubtype, attribute string) *IosysAgentDeviceMapping

NewIosysAgentDeviceMapping instantiates a new IosysAgentDeviceMapping object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIosysAgentDeviceMappingWithDefaults

func NewIosysAgentDeviceMappingWithDefaults() *IosysAgentDeviceMapping

NewIosysAgentDeviceMappingWithDefaults instantiates a new IosysAgentDeviceMapping object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IosysAgentDeviceMapping) GetAssetId

func (o *IosysAgentDeviceMapping) GetAssetId() int32

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

func (*IosysAgentDeviceMapping) GetAssetIdOk

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

GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetAttribute

func (o *IosysAgentDeviceMapping) GetAttribute() string

GetAttribute returns the Attribute field value

func (*IosysAgentDeviceMapping) GetAttributeOk

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

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

func (*IosysAgentDeviceMapping) GetClass

func (o *IosysAgentDeviceMapping) GetClass() AgentClass

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

func (*IosysAgentDeviceMapping) GetClassOk

func (o *IosysAgentDeviceMapping) GetClassOk() (*AgentClass, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetDeadBand

func (o *IosysAgentDeviceMapping) GetDeadBand() float64

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

func (*IosysAgentDeviceMapping) GetDeadBandOk

func (o *IosysAgentDeviceMapping) GetDeadBandOk() (*float64, bool)

GetDeadBandOk returns a tuple with the DeadBand field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetDeadTime

func (o *IosysAgentDeviceMapping) GetDeadTime() int32

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

func (*IosysAgentDeviceMapping) GetDeadTimeOk

func (o *IosysAgentDeviceMapping) GetDeadTimeOk() (*int32, bool)

GetDeadTimeOk returns a tuple with the DeadTime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetDeviceId

func (o *IosysAgentDeviceMapping) GetDeviceId() int32

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

func (*IosysAgentDeviceMapping) GetDeviceIdOk

func (o *IosysAgentDeviceMapping) GetDeviceIdOk() (*int32, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetDown

func (o *IosysAgentDeviceMapping) GetDown() bool

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

func (*IosysAgentDeviceMapping) GetDownOk

func (o *IosysAgentDeviceMapping) GetDownOk() (*bool, bool)

GetDownOk returns a tuple with the Down field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetEnable

func (o *IosysAgentDeviceMapping) GetEnable() bool

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

func (*IosysAgentDeviceMapping) GetEnableOk

func (o *IosysAgentDeviceMapping) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IosysAgentDeviceMapping) GetFilter

func (o *IosysAgentDeviceMapping) GetFilter() string

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

func (*IosysAgentDeviceMapping) GetFilterOk

func (o *IosysAgentDeviceMapping) GetFilterOk() (*string, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetId

func (o *IosysAgentDeviceMapping) GetId() int32

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

func (*IosysAgentDeviceMapping) GetIdOk

func (o *IosysAgentDeviceMapping) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetIosType

func (o *IosysAgentDeviceMapping) GetIosType() string

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

func (*IosysAgentDeviceMapping) GetIosTypeOk

func (o *IosysAgentDeviceMapping) GetIosTypeOk() (*string, bool)

GetIosTypeOk returns a tuple with the IosType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetIosVar

func (o *IosysAgentDeviceMapping) GetIosVar() string

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

func (*IosysAgentDeviceMapping) GetIosVarOk

func (o *IosysAgentDeviceMapping) GetIosVarOk() (*string, bool)

GetIosVarOk returns a tuple with the IosVar field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetMask

func (o *IosysAgentDeviceMapping) GetMask() []int64

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

func (*IosysAgentDeviceMapping) GetMaskAttributes

func (o *IosysAgentDeviceMapping) GetMaskAttributes() []string

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

func (*IosysAgentDeviceMapping) GetMaskAttributesOk

func (o *IosysAgentDeviceMapping) GetMaskAttributesOk() ([]string, bool)

GetMaskAttributesOk returns a tuple with the MaskAttributes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetMaskOk

func (o *IosysAgentDeviceMapping) GetMaskOk() ([]int64, bool)

GetMaskOk returns a tuple with the Mask field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetScale

func (o *IosysAgentDeviceMapping) GetScale() float64

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

func (*IosysAgentDeviceMapping) GetScaleOk

func (o *IosysAgentDeviceMapping) GetScaleOk() (*float64, bool)

GetScaleOk returns a tuple with the Scale field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetSubtype

func (o *IosysAgentDeviceMapping) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*IosysAgentDeviceMapping) GetSubtypeOk

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

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

func (*IosysAgentDeviceMapping) GetTau

func (o *IosysAgentDeviceMapping) GetTau() float64

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

func (*IosysAgentDeviceMapping) GetTauOk

func (o *IosysAgentDeviceMapping) GetTauOk() (*float64, bool)

GetTauOk returns a tuple with the Tau field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) GetZero

func (o *IosysAgentDeviceMapping) GetZero() float64

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

func (*IosysAgentDeviceMapping) GetZeroOk

func (o *IosysAgentDeviceMapping) GetZeroOk() (*float64, bool)

GetZeroOk returns a tuple with the Zero field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IosysAgentDeviceMapping) HasAssetId

func (o *IosysAgentDeviceMapping) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasClass

func (o *IosysAgentDeviceMapping) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasDeadBand

func (o *IosysAgentDeviceMapping) HasDeadBand() bool

HasDeadBand returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasDeadTime

func (o *IosysAgentDeviceMapping) HasDeadTime() bool

HasDeadTime returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasDeviceId

func (o *IosysAgentDeviceMapping) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasDown

func (o *IosysAgentDeviceMapping) HasDown() bool

HasDown returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasEnable

func (o *IosysAgentDeviceMapping) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasFilter

func (o *IosysAgentDeviceMapping) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasId

func (o *IosysAgentDeviceMapping) HasId() bool

HasId returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasIosType

func (o *IosysAgentDeviceMapping) HasIosType() bool

HasIosType returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasIosVar

func (o *IosysAgentDeviceMapping) HasIosVar() bool

HasIosVar returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasMask

func (o *IosysAgentDeviceMapping) HasMask() bool

HasMask returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasMaskAttributes

func (o *IosysAgentDeviceMapping) HasMaskAttributes() bool

HasMaskAttributes returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasScale

func (o *IosysAgentDeviceMapping) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasTau

func (o *IosysAgentDeviceMapping) HasTau() bool

HasTau returns a boolean if a field has been set.

func (*IosysAgentDeviceMapping) HasZero

func (o *IosysAgentDeviceMapping) HasZero() bool

HasZero returns a boolean if a field has been set.

func (IosysAgentDeviceMapping) MarshalJSON

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

func (*IosysAgentDeviceMapping) SetAssetId

func (o *IosysAgentDeviceMapping) SetAssetId(v int32)

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

func (*IosysAgentDeviceMapping) SetAssetIdNil

func (o *IosysAgentDeviceMapping) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*IosysAgentDeviceMapping) SetAttribute

func (o *IosysAgentDeviceMapping) SetAttribute(v string)

SetAttribute sets field value

func (*IosysAgentDeviceMapping) SetClass

func (o *IosysAgentDeviceMapping) SetClass(v AgentClass)

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

func (*IosysAgentDeviceMapping) SetClassNil

func (o *IosysAgentDeviceMapping) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*IosysAgentDeviceMapping) SetDeadBand

func (o *IosysAgentDeviceMapping) SetDeadBand(v float64)

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

func (*IosysAgentDeviceMapping) SetDeadBandNil

func (o *IosysAgentDeviceMapping) SetDeadBandNil()

SetDeadBandNil sets the value for DeadBand to be an explicit nil

func (*IosysAgentDeviceMapping) SetDeadTime

func (o *IosysAgentDeviceMapping) SetDeadTime(v int32)

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

func (*IosysAgentDeviceMapping) SetDeadTimeNil

func (o *IosysAgentDeviceMapping) SetDeadTimeNil()

SetDeadTimeNil sets the value for DeadTime to be an explicit nil

func (*IosysAgentDeviceMapping) SetDeviceId

func (o *IosysAgentDeviceMapping) SetDeviceId(v int32)

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

func (*IosysAgentDeviceMapping) SetDeviceIdNil

func (o *IosysAgentDeviceMapping) SetDeviceIdNil()

SetDeviceIdNil sets the value for DeviceId to be an explicit nil

func (*IosysAgentDeviceMapping) SetDown

func (o *IosysAgentDeviceMapping) SetDown(v bool)

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

func (*IosysAgentDeviceMapping) SetDownNil

func (o *IosysAgentDeviceMapping) SetDownNil()

SetDownNil sets the value for Down to be an explicit nil

func (*IosysAgentDeviceMapping) SetEnable

func (o *IosysAgentDeviceMapping) SetEnable(v bool)

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

func (*IosysAgentDeviceMapping) SetFilter

func (o *IosysAgentDeviceMapping) SetFilter(v string)

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

func (*IosysAgentDeviceMapping) SetFilterNil

func (o *IosysAgentDeviceMapping) SetFilterNil()

SetFilterNil sets the value for Filter to be an explicit nil

func (*IosysAgentDeviceMapping) SetId

func (o *IosysAgentDeviceMapping) SetId(v int32)

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

func (*IosysAgentDeviceMapping) SetIdNil

func (o *IosysAgentDeviceMapping) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*IosysAgentDeviceMapping) SetIosType

func (o *IosysAgentDeviceMapping) SetIosType(v string)

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

func (*IosysAgentDeviceMapping) SetIosTypeNil

func (o *IosysAgentDeviceMapping) SetIosTypeNil()

SetIosTypeNil sets the value for IosType to be an explicit nil

func (*IosysAgentDeviceMapping) SetIosVar

func (o *IosysAgentDeviceMapping) SetIosVar(v string)

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

func (*IosysAgentDeviceMapping) SetIosVarNil

func (o *IosysAgentDeviceMapping) SetIosVarNil()

SetIosVarNil sets the value for IosVar to be an explicit nil

func (*IosysAgentDeviceMapping) SetMask

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

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

func (*IosysAgentDeviceMapping) SetMaskAttributes

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

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

func (*IosysAgentDeviceMapping) SetScale

func (o *IosysAgentDeviceMapping) SetScale(v float64)

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

func (*IosysAgentDeviceMapping) SetScaleNil

func (o *IosysAgentDeviceMapping) SetScaleNil()

SetScaleNil sets the value for Scale to be an explicit nil

func (*IosysAgentDeviceMapping) SetSubtype

func (o *IosysAgentDeviceMapping) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*IosysAgentDeviceMapping) SetTau

func (o *IosysAgentDeviceMapping) SetTau(v float64)

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

func (*IosysAgentDeviceMapping) SetTauNil

func (o *IosysAgentDeviceMapping) SetTauNil()

SetTauNil sets the value for Tau to be an explicit nil

func (*IosysAgentDeviceMapping) SetZero

func (o *IosysAgentDeviceMapping) SetZero(v float64)

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

func (*IosysAgentDeviceMapping) SetZeroNil

func (o *IosysAgentDeviceMapping) SetZeroNil()

SetZeroNil sets the value for Zero to be an explicit nil

func (IosysAgentDeviceMapping) ToMap added in v2.4.8

func (o IosysAgentDeviceMapping) ToMap() (map[string]interface{}, error)

func (*IosysAgentDeviceMapping) UnmarshalJSON added in v2.5.9

func (o *IosysAgentDeviceMapping) UnmarshalJSON(data []byte) (err error)

func (*IosysAgentDeviceMapping) UnsetAssetId

func (o *IosysAgentDeviceMapping) UnsetAssetId()

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

func (*IosysAgentDeviceMapping) UnsetClass

func (o *IosysAgentDeviceMapping) UnsetClass()

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

func (*IosysAgentDeviceMapping) UnsetDeadBand

func (o *IosysAgentDeviceMapping) UnsetDeadBand()

UnsetDeadBand ensures that no value is present for DeadBand, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetDeadTime

func (o *IosysAgentDeviceMapping) UnsetDeadTime()

UnsetDeadTime ensures that no value is present for DeadTime, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetDeviceId

func (o *IosysAgentDeviceMapping) UnsetDeviceId()

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

func (*IosysAgentDeviceMapping) UnsetDown

func (o *IosysAgentDeviceMapping) UnsetDown()

UnsetDown ensures that no value is present for Down, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetFilter

func (o *IosysAgentDeviceMapping) UnsetFilter()

UnsetFilter ensures that no value is present for Filter, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetId

func (o *IosysAgentDeviceMapping) UnsetId()

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

func (*IosysAgentDeviceMapping) UnsetIosType

func (o *IosysAgentDeviceMapping) UnsetIosType()

UnsetIosType ensures that no value is present for IosType, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetIosVar

func (o *IosysAgentDeviceMapping) UnsetIosVar()

UnsetIosVar ensures that no value is present for IosVar, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetScale

func (o *IosysAgentDeviceMapping) UnsetScale()

UnsetScale ensures that no value is present for Scale, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetTau

func (o *IosysAgentDeviceMapping) UnsetTau()

UnsetTau ensures that no value is present for Tau, not even an explicit nil

func (*IosysAgentDeviceMapping) UnsetZero

func (o *IosysAgentDeviceMapping) UnsetZero()

UnsetZero ensures that no value is present for Zero, not even an explicit nil

type MappedNullable added in v2.4.8

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MbusAgentDevice

type MbusAgentDevice struct {
	Class NullableAgentClass `json:"class,omitempty"`
	// Unique id for the device
	Id NullableInt32 `json:"id,omitempty"`
	// The id of the agent the device belongs to
	AgentId NullableInt32 `json:"agentId,omitempty"`
	// Is the device enabled or not
	Enable          *bool          `json:"enable,omitempty"`
	Manufacturer    NullableString `json:"manufacturer,omitempty"`
	Model           NullableString `json:"model,omitempty"`
	Address         NullableInt32  `json:"address,omitempty"`
	SecAddress      NullableString `json:"secAddress,omitempty"`
	Raster          NullableString `json:"raster,omitempty"`
	MaxFail         NullableInt32  `json:"maxFail,omitempty"`
	MaxRetry        NullableInt32  `json:"maxRetry,omitempty"`
	SendNke         NullableBool   `json:"sendNke,omitempty"`
	AppResetSubcode NullableInt32  `json:"appResetSubcode,omitempty"`
	MultiFrames     NullableInt32  `json:"multiFrames,omitempty"`
}

MbusAgentDevice struct for MbusAgentDevice

func NewMbusAgentDevice

func NewMbusAgentDevice() *MbusAgentDevice

NewMbusAgentDevice instantiates a new MbusAgentDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMbusAgentDeviceWithDefaults

func NewMbusAgentDeviceWithDefaults() *MbusAgentDevice

NewMbusAgentDeviceWithDefaults instantiates a new MbusAgentDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MbusAgentDevice) GetAddress

func (o *MbusAgentDevice) GetAddress() int32

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

func (*MbusAgentDevice) GetAddressOk

func (o *MbusAgentDevice) GetAddressOk() (*int32, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetAgentId

func (o *MbusAgentDevice) GetAgentId() int32

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

func (*MbusAgentDevice) GetAgentIdOk

func (o *MbusAgentDevice) GetAgentIdOk() (*int32, bool)

GetAgentIdOk returns a tuple with the AgentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetAppResetSubcode

func (o *MbusAgentDevice) GetAppResetSubcode() int32

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

func (*MbusAgentDevice) GetAppResetSubcodeOk

func (o *MbusAgentDevice) GetAppResetSubcodeOk() (*int32, bool)

GetAppResetSubcodeOk returns a tuple with the AppResetSubcode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetClass

func (o *MbusAgentDevice) GetClass() AgentClass

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

func (*MbusAgentDevice) GetClassOk

func (o *MbusAgentDevice) GetClassOk() (*AgentClass, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetEnable

func (o *MbusAgentDevice) GetEnable() bool

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

func (*MbusAgentDevice) GetEnableOk

func (o *MbusAgentDevice) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MbusAgentDevice) GetId

func (o *MbusAgentDevice) GetId() int32

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

func (*MbusAgentDevice) GetIdOk

func (o *MbusAgentDevice) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetManufacturer

func (o *MbusAgentDevice) GetManufacturer() string

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

func (*MbusAgentDevice) GetManufacturerOk

func (o *MbusAgentDevice) GetManufacturerOk() (*string, bool)

GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetMaxFail

func (o *MbusAgentDevice) GetMaxFail() int32

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

func (*MbusAgentDevice) GetMaxFailOk

func (o *MbusAgentDevice) GetMaxFailOk() (*int32, bool)

GetMaxFailOk returns a tuple with the MaxFail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetMaxRetry

func (o *MbusAgentDevice) GetMaxRetry() int32

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

func (*MbusAgentDevice) GetMaxRetryOk

func (o *MbusAgentDevice) GetMaxRetryOk() (*int32, bool)

GetMaxRetryOk returns a tuple with the MaxRetry field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetModel

func (o *MbusAgentDevice) GetModel() string

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

func (*MbusAgentDevice) GetModelOk

func (o *MbusAgentDevice) GetModelOk() (*string, bool)

GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetMultiFrames

func (o *MbusAgentDevice) GetMultiFrames() int32

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

func (*MbusAgentDevice) GetMultiFramesOk

func (o *MbusAgentDevice) GetMultiFramesOk() (*int32, bool)

GetMultiFramesOk returns a tuple with the MultiFrames field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetRaster

func (o *MbusAgentDevice) GetRaster() string

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

func (*MbusAgentDevice) GetRasterOk

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

GetRasterOk returns a tuple with the Raster field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetSecAddress

func (o *MbusAgentDevice) GetSecAddress() string

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

func (*MbusAgentDevice) GetSecAddressOk

func (o *MbusAgentDevice) GetSecAddressOk() (*string, bool)

GetSecAddressOk returns a tuple with the SecAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) GetSendNke

func (o *MbusAgentDevice) GetSendNke() bool

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

func (*MbusAgentDevice) GetSendNkeOk

func (o *MbusAgentDevice) GetSendNkeOk() (*bool, bool)

GetSendNkeOk returns a tuple with the SendNke field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDevice) HasAddress

func (o *MbusAgentDevice) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*MbusAgentDevice) HasAgentId

func (o *MbusAgentDevice) HasAgentId() bool

HasAgentId returns a boolean if a field has been set.

func (*MbusAgentDevice) HasAppResetSubcode

func (o *MbusAgentDevice) HasAppResetSubcode() bool

HasAppResetSubcode returns a boolean if a field has been set.

func (*MbusAgentDevice) HasClass

func (o *MbusAgentDevice) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*MbusAgentDevice) HasEnable

func (o *MbusAgentDevice) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*MbusAgentDevice) HasId

func (o *MbusAgentDevice) HasId() bool

HasId returns a boolean if a field has been set.

func (*MbusAgentDevice) HasManufacturer

func (o *MbusAgentDevice) HasManufacturer() bool

HasManufacturer returns a boolean if a field has been set.

func (*MbusAgentDevice) HasMaxFail

func (o *MbusAgentDevice) HasMaxFail() bool

HasMaxFail returns a boolean if a field has been set.

func (*MbusAgentDevice) HasMaxRetry

func (o *MbusAgentDevice) HasMaxRetry() bool

HasMaxRetry returns a boolean if a field has been set.

func (*MbusAgentDevice) HasModel

func (o *MbusAgentDevice) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*MbusAgentDevice) HasMultiFrames

func (o *MbusAgentDevice) HasMultiFrames() bool

HasMultiFrames returns a boolean if a field has been set.

func (*MbusAgentDevice) HasRaster

func (o *MbusAgentDevice) HasRaster() bool

HasRaster returns a boolean if a field has been set.

func (*MbusAgentDevice) HasSecAddress

func (o *MbusAgentDevice) HasSecAddress() bool

HasSecAddress returns a boolean if a field has been set.

func (*MbusAgentDevice) HasSendNke

func (o *MbusAgentDevice) HasSendNke() bool

HasSendNke returns a boolean if a field has been set.

func (MbusAgentDevice) MarshalJSON

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

func (*MbusAgentDevice) SetAddress

func (o *MbusAgentDevice) SetAddress(v int32)

SetAddress gets a reference to the given NullableInt32 and assigns it to the Address field.

func (*MbusAgentDevice) SetAddressNil

func (o *MbusAgentDevice) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*MbusAgentDevice) SetAgentId

func (o *MbusAgentDevice) SetAgentId(v int32)

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

func (*MbusAgentDevice) SetAgentIdNil

func (o *MbusAgentDevice) SetAgentIdNil()

SetAgentIdNil sets the value for AgentId to be an explicit nil

func (*MbusAgentDevice) SetAppResetSubcode

func (o *MbusAgentDevice) SetAppResetSubcode(v int32)

SetAppResetSubcode gets a reference to the given NullableInt32 and assigns it to the AppResetSubcode field.

func (*MbusAgentDevice) SetAppResetSubcodeNil

func (o *MbusAgentDevice) SetAppResetSubcodeNil()

SetAppResetSubcodeNil sets the value for AppResetSubcode to be an explicit nil

func (*MbusAgentDevice) SetClass

func (o *MbusAgentDevice) SetClass(v AgentClass)

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

func (*MbusAgentDevice) SetClassNil

func (o *MbusAgentDevice) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*MbusAgentDevice) SetEnable

func (o *MbusAgentDevice) SetEnable(v bool)

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

func (*MbusAgentDevice) SetId

func (o *MbusAgentDevice) SetId(v int32)

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

func (*MbusAgentDevice) SetIdNil

func (o *MbusAgentDevice) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*MbusAgentDevice) SetManufacturer

func (o *MbusAgentDevice) SetManufacturer(v string)

SetManufacturer gets a reference to the given NullableString and assigns it to the Manufacturer field.

func (*MbusAgentDevice) SetManufacturerNil

func (o *MbusAgentDevice) SetManufacturerNil()

SetManufacturerNil sets the value for Manufacturer to be an explicit nil

func (*MbusAgentDevice) SetMaxFail

func (o *MbusAgentDevice) SetMaxFail(v int32)

SetMaxFail gets a reference to the given NullableInt32 and assigns it to the MaxFail field.

func (*MbusAgentDevice) SetMaxFailNil

func (o *MbusAgentDevice) SetMaxFailNil()

SetMaxFailNil sets the value for MaxFail to be an explicit nil

func (*MbusAgentDevice) SetMaxRetry

func (o *MbusAgentDevice) SetMaxRetry(v int32)

SetMaxRetry gets a reference to the given NullableInt32 and assigns it to the MaxRetry field.

func (*MbusAgentDevice) SetMaxRetryNil

func (o *MbusAgentDevice) SetMaxRetryNil()

SetMaxRetryNil sets the value for MaxRetry to be an explicit nil

func (*MbusAgentDevice) SetModel

func (o *MbusAgentDevice) SetModel(v string)

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

func (*MbusAgentDevice) SetModelNil

func (o *MbusAgentDevice) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*MbusAgentDevice) SetMultiFrames

func (o *MbusAgentDevice) SetMultiFrames(v int32)

SetMultiFrames gets a reference to the given NullableInt32 and assigns it to the MultiFrames field.

func (*MbusAgentDevice) SetMultiFramesNil

func (o *MbusAgentDevice) SetMultiFramesNil()

SetMultiFramesNil sets the value for MultiFrames to be an explicit nil

func (*MbusAgentDevice) SetRaster

func (o *MbusAgentDevice) SetRaster(v string)

SetRaster gets a reference to the given NullableString and assigns it to the Raster field.

func (*MbusAgentDevice) SetRasterNil

func (o *MbusAgentDevice) SetRasterNil()

SetRasterNil sets the value for Raster to be an explicit nil

func (*MbusAgentDevice) SetSecAddress

func (o *MbusAgentDevice) SetSecAddress(v string)

SetSecAddress gets a reference to the given NullableString and assigns it to the SecAddress field.

func (*MbusAgentDevice) SetSecAddressNil

func (o *MbusAgentDevice) SetSecAddressNil()

SetSecAddressNil sets the value for SecAddress to be an explicit nil

func (*MbusAgentDevice) SetSendNke

func (o *MbusAgentDevice) SetSendNke(v bool)

SetSendNke gets a reference to the given NullableBool and assigns it to the SendNke field.

func (*MbusAgentDevice) SetSendNkeNil

func (o *MbusAgentDevice) SetSendNkeNil()

SetSendNkeNil sets the value for SendNke to be an explicit nil

func (MbusAgentDevice) ToMap added in v2.4.8

func (o MbusAgentDevice) ToMap() (map[string]interface{}, error)

func (*MbusAgentDevice) UnsetAddress

func (o *MbusAgentDevice) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*MbusAgentDevice) UnsetAgentId

func (o *MbusAgentDevice) UnsetAgentId()

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

func (*MbusAgentDevice) UnsetAppResetSubcode

func (o *MbusAgentDevice) UnsetAppResetSubcode()

UnsetAppResetSubcode ensures that no value is present for AppResetSubcode, not even an explicit nil

func (*MbusAgentDevice) UnsetClass

func (o *MbusAgentDevice) UnsetClass()

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

func (*MbusAgentDevice) UnsetId

func (o *MbusAgentDevice) UnsetId()

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

func (*MbusAgentDevice) UnsetManufacturer

func (o *MbusAgentDevice) UnsetManufacturer()

UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil

func (*MbusAgentDevice) UnsetMaxFail

func (o *MbusAgentDevice) UnsetMaxFail()

UnsetMaxFail ensures that no value is present for MaxFail, not even an explicit nil

func (*MbusAgentDevice) UnsetMaxRetry

func (o *MbusAgentDevice) UnsetMaxRetry()

UnsetMaxRetry ensures that no value is present for MaxRetry, not even an explicit nil

func (*MbusAgentDevice) UnsetModel

func (o *MbusAgentDevice) UnsetModel()

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

func (*MbusAgentDevice) UnsetMultiFrames

func (o *MbusAgentDevice) UnsetMultiFrames()

UnsetMultiFrames ensures that no value is present for MultiFrames, not even an explicit nil

func (*MbusAgentDevice) UnsetRaster

func (o *MbusAgentDevice) UnsetRaster()

UnsetRaster ensures that no value is present for Raster, not even an explicit nil

func (*MbusAgentDevice) UnsetSecAddress

func (o *MbusAgentDevice) UnsetSecAddress()

UnsetSecAddress ensures that no value is present for SecAddress, not even an explicit nil

func (*MbusAgentDevice) UnsetSendNke

func (o *MbusAgentDevice) UnsetSendNke()

UnsetSendNke ensures that no value is present for SendNke, not even an explicit nil

type MbusAgentDeviceMapping

type MbusAgentDeviceMapping struct {
	Class NullableAgentClass `json:"class,omitempty"`
	// Unique id for the mapping
	Id NullableInt32 `json:"id,omitempty"`
	// The id of the device the mapping belongs to
	DeviceId NullableInt32 `json:"deviceId,omitempty"`
	// Is the mapping enabled or not
	Enable *bool `json:"enable,omitempty"`
	// ID of the corresponding asset
	AssetId NullableInt32 `json:"assetId,omitempty"`
	Subtype DataSubtype   `json:"subtype"`
	// Name of the attribute to map
	Attribute string          `json:"attribute"`
	Field     NullableInt32   `json:"field,omitempty"`
	Scale     NullableFloat64 `json:"scale,omitempty"`
	Zero      NullableFloat64 `json:"zero,omitempty"`
}

MbusAgentDeviceMapping struct for MbusAgentDeviceMapping

func NewMbusAgentDeviceMapping

func NewMbusAgentDeviceMapping(subtype DataSubtype, attribute string) *MbusAgentDeviceMapping

NewMbusAgentDeviceMapping instantiates a new MbusAgentDeviceMapping object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMbusAgentDeviceMappingWithDefaults

func NewMbusAgentDeviceMappingWithDefaults() *MbusAgentDeviceMapping

NewMbusAgentDeviceMappingWithDefaults instantiates a new MbusAgentDeviceMapping object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MbusAgentDeviceMapping) GetAssetId

func (o *MbusAgentDeviceMapping) GetAssetId() int32

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

func (*MbusAgentDeviceMapping) GetAssetIdOk

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

GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDeviceMapping) GetAttribute

func (o *MbusAgentDeviceMapping) GetAttribute() string

GetAttribute returns the Attribute field value

func (*MbusAgentDeviceMapping) GetAttributeOk

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

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

func (*MbusAgentDeviceMapping) GetClass

func (o *MbusAgentDeviceMapping) GetClass() AgentClass

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

func (*MbusAgentDeviceMapping) GetClassOk

func (o *MbusAgentDeviceMapping) GetClassOk() (*AgentClass, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDeviceMapping) GetDeviceId

func (o *MbusAgentDeviceMapping) GetDeviceId() int32

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

func (*MbusAgentDeviceMapping) GetDeviceIdOk

func (o *MbusAgentDeviceMapping) GetDeviceIdOk() (*int32, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDeviceMapping) GetEnable

func (o *MbusAgentDeviceMapping) GetEnable() bool

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

func (*MbusAgentDeviceMapping) GetEnableOk

func (o *MbusAgentDeviceMapping) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MbusAgentDeviceMapping) GetField

func (o *MbusAgentDeviceMapping) GetField() int32

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

func (*MbusAgentDeviceMapping) GetFieldOk

func (o *MbusAgentDeviceMapping) GetFieldOk() (*int32, bool)

GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDeviceMapping) GetId

func (o *MbusAgentDeviceMapping) GetId() int32

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

func (*MbusAgentDeviceMapping) GetIdOk

func (o *MbusAgentDeviceMapping) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDeviceMapping) GetScale

func (o *MbusAgentDeviceMapping) GetScale() float64

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

func (*MbusAgentDeviceMapping) GetScaleOk

func (o *MbusAgentDeviceMapping) GetScaleOk() (*float64, bool)

GetScaleOk returns a tuple with the Scale field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDeviceMapping) GetSubtype

func (o *MbusAgentDeviceMapping) GetSubtype() DataSubtype

GetSubtype returns the Subtype field value

func (*MbusAgentDeviceMapping) GetSubtypeOk

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

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

func (*MbusAgentDeviceMapping) GetZero

func (o *MbusAgentDeviceMapping) GetZero() float64

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

func (*MbusAgentDeviceMapping) GetZeroOk

func (o *MbusAgentDeviceMapping) GetZeroOk() (*float64, bool)

GetZeroOk returns a tuple with the Zero field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MbusAgentDeviceMapping) HasAssetId

func (o *MbusAgentDeviceMapping) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasClass

func (o *MbusAgentDeviceMapping) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasDeviceId

func (o *MbusAgentDeviceMapping) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasEnable

func (o *MbusAgentDeviceMapping) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasField

func (o *MbusAgentDeviceMapping) HasField() bool

HasField returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasId

func (o *MbusAgentDeviceMapping) HasId() bool

HasId returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasScale

func (o *MbusAgentDeviceMapping) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*MbusAgentDeviceMapping) HasZero

func (o *MbusAgentDeviceMapping) HasZero() bool

HasZero returns a boolean if a field has been set.

func (MbusAgentDeviceMapping) MarshalJSON

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

func (*MbusAgentDeviceMapping) SetAssetId

func (o *MbusAgentDeviceMapping) SetAssetId(v int32)

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

func (*MbusAgentDeviceMapping) SetAssetIdNil

func (o *MbusAgentDeviceMapping) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*MbusAgentDeviceMapping) SetAttribute

func (o *MbusAgentDeviceMapping) SetAttribute(v string)

SetAttribute sets field value

func (*MbusAgentDeviceMapping) SetClass

func (o *MbusAgentDeviceMapping) SetClass(v AgentClass)

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

func (*MbusAgentDeviceMapping) SetClassNil

func (o *MbusAgentDeviceMapping) SetClassNil()

SetClassNil sets the value for Class to be an explicit nil

func (*MbusAgentDeviceMapping) SetDeviceId

func (o *MbusAgentDeviceMapping) SetDeviceId(v int32)

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

func (*MbusAgentDeviceMapping) SetDeviceIdNil

func (o *MbusAgentDeviceMapping) SetDeviceIdNil()

SetDeviceIdNil sets the value for DeviceId to be an explicit nil

func (*MbusAgentDeviceMapping) SetEnable

func (o *MbusAgentDeviceMapping) SetEnable(v bool)

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

func (*MbusAgentDeviceMapping) SetField

func (o *MbusAgentDeviceMapping) SetField(v int32)

SetField gets a reference to the given NullableInt32 and assigns it to the Field field.

func (*MbusAgentDeviceMapping) SetFieldNil

func (o *MbusAgentDeviceMapping) SetFieldNil()

SetFieldNil sets the value for Field to be an explicit nil

func (*MbusAgentDeviceMapping) SetId

func (o *MbusAgentDeviceMapping) SetId(v int32)

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

func (*MbusAgentDeviceMapping) SetIdNil

func (o *MbusAgentDeviceMapping) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*MbusAgentDeviceMapping) SetScale

func (o *MbusAgentDeviceMapping) SetScale(v float64)

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

func (*MbusAgentDeviceMapping) SetScaleNil

func (o *MbusAgentDeviceMapping) SetScaleNil()

SetScaleNil sets the value for Scale to be an explicit nil

func (*MbusAgentDeviceMapping) SetSubtype

func (o *MbusAgentDeviceMapping) SetSubtype(v DataSubtype)

SetSubtype sets field value

func (*MbusAgentDeviceMapping) SetZero

func (o *MbusAgentDeviceMapping) SetZero(v float64)

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

func (*MbusAgentDeviceMapping) SetZeroNil

func (o *MbusAgentDeviceMapping) SetZeroNil()

SetZeroNil sets the value for Zero to be an explicit nil

func (MbusAgentDeviceMapping) ToMap added in v2.4.8

func (o MbusAgentDeviceMapping) ToMap() (map[string]interface{}, error)

func (*MbusAgentDeviceMapping) UnmarshalJSON added in v2.5.9

func (o *MbusAgentDeviceMapping) UnmarshalJSON(data []byte) (err error)

func (*MbusAgentDeviceMapping) UnsetAssetId

func (o *MbusAgentDeviceMapping) UnsetAssetId()

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

func (*MbusAgentDeviceMapping) UnsetClass

func (o *MbusAgentDeviceMapping) UnsetClass()

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

func (*MbusAgentDeviceMapping) UnsetDeviceId

func (o *MbusAgentDeviceMapping) UnsetDeviceId()

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

func (*MbusAgentDeviceMapping) UnsetField

func (o *MbusAgentDeviceMapping) UnsetField()

UnsetField ensures that no value is present for Field, not even an explicit nil

func (*MbusAgentDeviceMapping) UnsetId

func (o *MbusAgentDeviceMapping) UnsetId()

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

func (*MbusAgentDeviceMapping) UnsetScale

func (o *MbusAgentDeviceMapping) UnsetScale()

UnsetScale ensures that no value is present for Scale, not even an explicit nil

func (*MbusAgentDeviceMapping) UnsetZero

func (o *MbusAgentDeviceMapping) UnsetZero()

UnsetZero ensures that no value is present for Zero, not even an explicit nil

type Message added in v2.4.2

type Message struct {
	// Address of the sender, e.g. an e-mail address
	Sender NullableString `json:"sender,omitempty"`
	// A list of recipient addresses to receive this message
	Recipients []string `json:"recipients"`
	// A list of recipient addresses to receive this message as copy
	CopyRecipients []string `json:"copyRecipients,omitempty"`
	// A list of recipient addresses to receive this message as blind copy without any other recipient information
	BlindCopyRecipients []string `json:"blindCopyRecipients,omitempty"`
	// The subject for this message
	Subject *string `json:"subject,omitempty"`
	// The content of the message. If template is used, the content is embedded in the template.
	Content string `json:"content"`
	// A list of files attached to the message
	Attachments []Attachment `json:"attachments,omitempty"`
}

Message A message

func NewMessage added in v2.4.2

func NewMessage(recipients []string, content string) *Message

NewMessage instantiates a new Message object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMessageWithDefaults added in v2.4.2

func NewMessageWithDefaults() *Message

NewMessageWithDefaults instantiates a new Message object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Message) GetAttachments added in v2.4.2

func (o *Message) GetAttachments() []Attachment

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

func (*Message) GetAttachmentsOk added in v2.4.2

func (o *Message) GetAttachmentsOk() ([]Attachment, bool)

GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Message) GetBlindCopyRecipients added in v2.4.2

func (o *Message) GetBlindCopyRecipients() []string

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

func (*Message) GetBlindCopyRecipientsOk added in v2.4.2

func (o *Message) GetBlindCopyRecipientsOk() ([]string, bool)

GetBlindCopyRecipientsOk returns a tuple with the BlindCopyRecipients field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Message) GetContent added in v2.4.2

func (o *Message) GetContent() string

GetContent returns the Content field value

func (*Message) GetContentOk added in v2.4.2

func (o *Message) GetContentOk() (*string, bool)

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

func (*Message) GetCopyRecipients added in v2.4.2

func (o *Message) GetCopyRecipients() []string

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

func (*Message) GetCopyRecipientsOk added in v2.4.2

func (o *Message) GetCopyRecipientsOk() ([]string, bool)

GetCopyRecipientsOk returns a tuple with the CopyRecipients field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Message) GetRecipients added in v2.4.2

func (o *Message) GetRecipients() []string

GetRecipients returns the Recipients field value

func (*Message) GetRecipientsOk added in v2.4.2

func (o *Message) GetRecipientsOk() ([]string, bool)

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

func (*Message) GetSender added in v2.4.2

func (o *Message) GetSender() string

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

func (*Message) GetSenderOk added in v2.4.2

func (o *Message) GetSenderOk() (*string, bool)

GetSenderOk returns a tuple with the Sender field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Message) GetSubject added in v2.4.2

func (o *Message) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*Message) GetSubjectOk added in v2.4.2

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

func (*Message) HasAttachments added in v2.4.2

func (o *Message) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*Message) HasBlindCopyRecipients added in v2.4.2

func (o *Message) HasBlindCopyRecipients() bool

HasBlindCopyRecipients returns a boolean if a field has been set.

func (*Message) HasCopyRecipients added in v2.4.2

func (o *Message) HasCopyRecipients() bool

HasCopyRecipients returns a boolean if a field has been set.

func (*Message) HasSender added in v2.4.2

func (o *Message) HasSender() bool

HasSender returns a boolean if a field has been set.

func (*Message) HasSubject added in v2.4.2

func (o *Message) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (Message) MarshalJSON added in v2.4.2

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

func (*Message) SetAttachments added in v2.4.2

func (o *Message) SetAttachments(v []Attachment)

SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.

func (*Message) SetBlindCopyRecipients added in v2.4.2

func (o *Message) SetBlindCopyRecipients(v []string)

SetBlindCopyRecipients gets a reference to the given []string and assigns it to the BlindCopyRecipients field.

func (*Message) SetContent added in v2.4.2

func (o *Message) SetContent(v string)

SetContent sets field value

func (*Message) SetCopyRecipients added in v2.4.2

func (o *Message) SetCopyRecipients(v []string)

SetCopyRecipients gets a reference to the given []string and assigns it to the CopyRecipients field.

func (*Message) SetRecipients added in v2.4.2

func (o *Message) SetRecipients(v []string)

SetRecipients sets field value

func (*Message) SetSender added in v2.4.2

func (o *Message) SetSender(v string)

SetSender gets a reference to the given NullableString and assigns it to the Sender field.

func (*Message) SetSenderNil added in v2.4.2

func (o *Message) SetSenderNil()

SetSenderNil sets the value for Sender to be an explicit nil

func (*Message) SetSubject added in v2.4.2

func (o *Message) SetSubject(v string)

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

func (Message) ToMap added in v2.4.8

func (o Message) ToMap() (map[string]interface{}, error)

func (*Message) UnmarshalJSON added in v2.5.9

func (o *Message) UnmarshalJSON(data []byte) (err error)

func (*Message) UnsetSender added in v2.4.2

func (o *Message) UnsetSender()

UnsetSender ensures that no value is present for Sender, not even an explicit nil

type MessageReceipt added in v2.4.2

type MessageReceipt struct {
	// Identifies the message or notification
	Id string `json:"id"`
	// When the message or notification is scheduled
	ScheduledAt NullableTime `json:"scheduledAt,omitempty"`
	// Status of communication processing
	Status *string `json:"status,omitempty"`
}

MessageReceipt A receipt for a message or notification

func NewMessageReceipt added in v2.4.2

func NewMessageReceipt(id string) *MessageReceipt

NewMessageReceipt instantiates a new MessageReceipt object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMessageReceiptWithDefaults added in v2.4.2

func NewMessageReceiptWithDefaults() *MessageReceipt

NewMessageReceiptWithDefaults instantiates a new MessageReceipt object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MessageReceipt) GetId added in v2.4.2

func (o *MessageReceipt) GetId() string

GetId returns the Id field value

func (*MessageReceipt) GetIdOk added in v2.4.2

func (o *MessageReceipt) GetIdOk() (*string, bool)

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

func (*MessageReceipt) GetScheduledAt added in v2.4.2

func (o *MessageReceipt) GetScheduledAt() time.Time

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

func (*MessageReceipt) GetScheduledAtOk added in v2.4.2

func (o *MessageReceipt) GetScheduledAtOk() (*time.Time, bool)

GetScheduledAtOk returns a tuple with the ScheduledAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MessageReceipt) GetStatus added in v2.4.2

func (o *MessageReceipt) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*MessageReceipt) GetStatusOk added in v2.4.2

func (o *MessageReceipt) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MessageReceipt) HasScheduledAt added in v2.4.2

func (o *MessageReceipt) HasScheduledAt() bool

HasScheduledAt returns a boolean if a field has been set.

func (*MessageReceipt) HasStatus added in v2.4.2

func (o *MessageReceipt) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (MessageReceipt) MarshalJSON added in v2.4.2

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

func (*MessageReceipt) SetId added in v2.4.2

func (o *MessageReceipt) SetId(v string)

SetId sets field value

func (*MessageReceipt) SetScheduledAt added in v2.4.2

func (o *MessageReceipt) SetScheduledAt(v time.Time)

SetScheduledAt gets a reference to the given NullableTime and assigns it to the ScheduledAt field.

func (*MessageReceipt) SetScheduledAtNil added in v2.4.2

func (o *MessageReceipt) SetScheduledAtNil()

SetScheduledAtNil sets the value for ScheduledAt to be an explicit nil

func (*MessageReceipt) SetStatus added in v2.4.2

func (o *MessageReceipt) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (MessageReceipt) ToMap added in v2.4.8

func (o MessageReceipt) ToMap() (map[string]interface{}, error)

func (*MessageReceipt) UnmarshalJSON added in v2.5.9

func (o *MessageReceipt) UnmarshalJSON(data []byte) (err error)

func (*MessageReceipt) UnsetScheduledAt added in v2.4.2

func (o *MessageReceipt) UnsetScheduledAt()

UnsetScheduledAt ensures that no value is present for ScheduledAt, not even an explicit nil

type Node

type Node struct {
	// Unique id for the edge node
	Id NullableString `json:"id,omitempty"`
	// UUID to identify the edge node
	Ident NullableString `json:"ident,omitempty"`
	// Password with which the node identifies itself
	// Deprecated
	Password NullableString `json:"password,omitempty"`
	// ID of the corresponding asset
	AssetId NullableInt32 `json:"assetId,omitempty"`
	// Vendor name
	Vendor NullableString `json:"vendor,omitempty"`
	// Model name
	Model NullableString `json:"model,omitempty"`
	// Descriptive text for the edge node
	Description NullableString `json:"description,omitempty"`
	// Is the node enabled or not
	Enable *bool `json:"enable,omitempty"`
}

Node An edge node

func NewNode

func NewNode() *Node

NewNode instantiates a new Node object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNodeWithDefaults

func NewNodeWithDefaults() *Node

NewNodeWithDefaults instantiates a new Node object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Node) GetAssetId

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

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

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

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

func (o *Node) GetEnable() bool

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

func (*Node) GetEnableOk

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

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

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

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

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

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

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

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

func (*Node) GetPasswordOk

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 Deprecated

func (*Node) GetVendor

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

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

func (o *Node) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*Node) HasDescription

func (o *Node) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Node) HasEnable

func (o *Node) HasEnable() bool

HasEnable returns a boolean if a field has been set.

func (*Node) HasId

func (o *Node) HasId() bool

HasId returns a boolean if a field has been set.

func (*Node) HasIdent

func (o *Node) HasIdent() bool

HasIdent returns a boolean if a field has been set.

func (*Node) HasModel

func (o *Node) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*Node) HasPassword

func (o *Node) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*Node) HasVendor

func (o *Node) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (Node) MarshalJSON

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

func (*Node) SetAssetId

func (o *Node) SetAssetId(v int32)

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

func (*Node) SetAssetIdNil

func (o *Node) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*Node) SetDescription

func (o *Node) SetDescription(v string)

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

func (*Node) SetDescriptionNil

func (o *Node) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Node) SetEnable

func (o *Node) SetEnable(v bool)

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

func (*Node) SetId

func (o *Node) SetId(v string)

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

func (*Node) SetIdNil

func (o *Node) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Node) SetIdent

func (o *Node) SetIdent(v string)

SetIdent gets a reference to the given NullableString and assigns it to the Ident field.

func (*Node) SetIdentNil

func (o *Node) SetIdentNil()

SetIdentNil sets the value for Ident to be an explicit nil

func (*Node) SetModel

func (o *Node) SetModel(v string)

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

func (*Node) SetModelNil

func (o *Node) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*Node) SetPassword

func (o *Node) SetPassword(v string)

SetPassword gets a reference to the given NullableString and assigns it to the Password field. Deprecated

func (*Node) SetPasswordNil

func (o *Node) SetPasswordNil()

SetPasswordNil sets the value for Password to be an explicit nil

func (*Node) SetVendor

func (o *Node) SetVendor(v string)

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

func (*Node) SetVendorNil

func (o *Node) SetVendorNil()

SetVendorNil sets the value for Vendor to be an explicit nil

func (Node) ToMap added in v2.4.8

func (o Node) ToMap() (map[string]interface{}, error)

func (*Node) UnsetAssetId

func (o *Node) UnsetAssetId()

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

func (*Node) UnsetDescription

func (o *Node) UnsetDescription()

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

func (*Node) UnsetId

func (o *Node) UnsetId()

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

func (*Node) UnsetIdent

func (o *Node) UnsetIdent()

UnsetIdent ensures that no value is present for Ident, not even an explicit nil

func (*Node) UnsetModel

func (o *Node) UnsetModel()

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

func (*Node) UnsetPassword

func (o *Node) UnsetPassword()

UnsetPassword ensures that no value is present for Password, not even an explicit nil

func (*Node) UnsetVendor

func (o *Node) UnsetVendor()

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

type NodesAPIService added in v2.5.3

type NodesAPIService service

NodesAPIService NodesAPI service

func (*NodesAPIService) GetNodeByIdent added in v2.5.3

func (a *NodesAPIService) GetNodeByIdent(ctx context.Context, nodeIdent string) ApiGetNodeByIdentRequest

GetNodeByIdent Information about a node

Gets information about a node.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nodeIdent The UUID identifier of the node
@return ApiGetNodeByIdentRequest

func (*NodesAPIService) GetNodeByIdentExecute added in v2.5.3

func (a *NodesAPIService) GetNodeByIdentExecute(r ApiGetNodeByIdentRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*NodesAPIService) GetNodes added in v2.5.3

GetNodes Information about nodes

Gets information about nodes.

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

func (*NodesAPIService) GetNodesExecute added in v2.5.3

func (a *NodesAPIService) GetNodesExecute(r ApiGetNodesRequest) ([]Node, *http.Response, error)

Execute executes the request

@return []Node

func (*NodesAPIService) PostNode added in v2.5.3

PostNode Create a node

Create a new node.

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

func (*NodesAPIService) PostNodeExecute added in v2.5.3

func (a *NodesAPIService) PostNodeExecute(r ApiPostNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*NodesAPIService) PutNode added in v2.5.3

PutNode Create or update a node

Deprecated - Use POST /nodes to create PUT /nodes/{node-ident} to update.

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

Deprecated

func (*NodesAPIService) PutNodeByIdent added in v2.5.3

func (a *NodesAPIService) PutNodeByIdent(ctx context.Context, nodeIdent string) ApiPutNodeByIdentRequest

PutNodeByIdent Update a node

Update a node.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nodeIdent The UUID identifier of the node
@return ApiPutNodeByIdentRequest

func (*NodesAPIService) PutNodeByIdentExecute added in v2.5.3

func (a *NodesAPIService) PutNodeByIdentExecute(r ApiPutNodeByIdentRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*NodesAPIService) PutNodeExecute added in v2.5.3

func (a *NodesAPIService) PutNodeExecute(r ApiPutNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

Deprecated

type Notification added in v2.5.3

type Notification struct {
	// E-Mail address or internal ID of the Eliona user
	User string `json:"user"`
	// ID of the project the notification should appear
	ProjectId NullableString      `json:"projectId,omitempty"`
	Message   NullableTranslation `json:"message"`
}

Notification A notification

func NewNotification added in v2.5.3

func NewNotification(user string, message NullableTranslation) *Notification

NewNotification instantiates a new Notification object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNotificationWithDefaults added in v2.5.3

func NewNotificationWithDefaults() *Notification

NewNotificationWithDefaults instantiates a new Notification object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Notification) GetMessage added in v2.5.3

func (o *Notification) GetMessage() Translation

GetMessage returns the Message field value If the value is explicit nil, the zero value for Translation will be returned

func (*Notification) GetMessageOk added in v2.5.3

func (o *Notification) GetMessageOk() (*Translation, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Notification) GetProjectId added in v2.5.3

func (o *Notification) GetProjectId() string

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

func (*Notification) GetProjectIdOk added in v2.5.3

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

GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Notification) GetUser added in v2.5.3

func (o *Notification) GetUser() string

GetUser returns the User field value

func (*Notification) GetUserOk added in v2.5.3

func (o *Notification) GetUserOk() (*string, bool)

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

func (*Notification) HasProjectId added in v2.5.3

func (o *Notification) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (Notification) MarshalJSON added in v2.5.3

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

func (*Notification) SetMessage added in v2.5.3

func (o *Notification) SetMessage(v Translation)

SetMessage sets field value

func (*Notification) SetProjectId added in v2.5.3

func (o *Notification) SetProjectId(v string)

SetProjectId gets a reference to the given NullableString and assigns it to the ProjectId field.

func (*Notification) SetProjectIdNil added in v2.5.3

func (o *Notification) SetProjectIdNil()

SetProjectIdNil sets the value for ProjectId to be an explicit nil

func (*Notification) SetUser added in v2.5.3

func (o *Notification) SetUser(v string)

SetUser sets field value

func (Notification) ToMap added in v2.5.3

func (o Notification) ToMap() (map[string]interface{}, error)

func (*Notification) UnmarshalJSON added in v2.5.9

func (o *Notification) UnmarshalJSON(data []byte) (err error)

func (*Notification) UnsetProjectId added in v2.5.3

func (o *Notification) UnsetProjectId()

UnsetProjectId ensures that no value is present for ProjectId, not even an explicit nil

type NullableAgent

type NullableAgent struct {
	// contains filtered or unexported fields
}

func NewNullableAgent

func NewNullableAgent(val *Agent) *NullableAgent

func (NullableAgent) Get

func (v NullableAgent) Get() *Agent

func (NullableAgent) IsSet

func (v NullableAgent) IsSet() bool

func (NullableAgent) MarshalJSON

func (v NullableAgent) MarshalJSON() ([]byte, error)

func (*NullableAgent) Set

func (v *NullableAgent) Set(val *Agent)

func (*NullableAgent) UnmarshalJSON

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

func (*NullableAgent) Unset

func (v *NullableAgent) Unset()

type NullableAgentClass

type NullableAgentClass struct {
	// contains filtered or unexported fields
}

func NewNullableAgentClass

func NewNullableAgentClass(val *AgentClass) *NullableAgentClass

func (NullableAgentClass) Get

func (v NullableAgentClass) Get() *AgentClass

func (NullableAgentClass) IsSet

func (v NullableAgentClass) IsSet() bool

func (NullableAgentClass) MarshalJSON

func (v NullableAgentClass) MarshalJSON() ([]byte, error)

func (*NullableAgentClass) Set

func (v *NullableAgentClass) Set(val *AgentClass)

func (*NullableAgentClass) UnmarshalJSON

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

func (*NullableAgentClass) Unset

func (v *NullableAgentClass) Unset()

type NullableAgentDevice

type NullableAgentDevice struct {
	// contains filtered or unexported fields
}

func NewNullableAgentDevice

func NewNullableAgentDevice(val *AgentDevice) *NullableAgentDevice

func (NullableAgentDevice) Get

func (NullableAgentDevice) IsSet

func (v NullableAgentDevice) IsSet() bool

func (NullableAgentDevice) MarshalJSON

func (v NullableAgentDevice) MarshalJSON() ([]byte, error)

func (*NullableAgentDevice) Set

func (v *NullableAgentDevice) Set(val *AgentDevice)

func (*NullableAgentDevice) UnmarshalJSON

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

func (*NullableAgentDevice) Unset

func (v *NullableAgentDevice) Unset()

type NullableAgentDeviceGeneral

type NullableAgentDeviceGeneral struct {
	// contains filtered or unexported fields
}

func NewNullableAgentDeviceGeneral

func NewNullableAgentDeviceGeneral(val *AgentDeviceGeneral) *NullableAgentDeviceGeneral

func (NullableAgentDeviceGeneral) Get

func (NullableAgentDeviceGeneral) IsSet

func (v NullableAgentDeviceGeneral) IsSet() bool

func (NullableAgentDeviceGeneral) MarshalJSON

func (v NullableAgentDeviceGeneral) MarshalJSON() ([]byte, error)

func (*NullableAgentDeviceGeneral) Set

func (*NullableAgentDeviceGeneral) UnmarshalJSON

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

func (*NullableAgentDeviceGeneral) Unset

func (v *NullableAgentDeviceGeneral) Unset()

type NullableAgentDeviceMapping

type NullableAgentDeviceMapping struct {
	// contains filtered or unexported fields
}

func NewNullableAgentDeviceMapping

func NewNullableAgentDeviceMapping(val *AgentDeviceMapping) *NullableAgentDeviceMapping

func (NullableAgentDeviceMapping) Get

func (NullableAgentDeviceMapping) IsSet

func (v NullableAgentDeviceMapping) IsSet() bool

func (NullableAgentDeviceMapping) MarshalJSON

func (v NullableAgentDeviceMapping) MarshalJSON() ([]byte, error)

func (*NullableAgentDeviceMapping) Set

func (*NullableAgentDeviceMapping) UnmarshalJSON

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

func (*NullableAgentDeviceMapping) Unset

func (v *NullableAgentDeviceMapping) Unset()

type NullableAgentDeviceMappingGeneral

type NullableAgentDeviceMappingGeneral struct {
	// contains filtered or unexported fields
}

func (NullableAgentDeviceMappingGeneral) Get

func (NullableAgentDeviceMappingGeneral) IsSet

func (NullableAgentDeviceMappingGeneral) MarshalJSON

func (v NullableAgentDeviceMappingGeneral) MarshalJSON() ([]byte, error)

func (*NullableAgentDeviceMappingGeneral) Set

func (*NullableAgentDeviceMappingGeneral) UnmarshalJSON

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

func (*NullableAgentDeviceMappingGeneral) Unset

type NullableAggregation

type NullableAggregation struct {
	// contains filtered or unexported fields
}

func NewNullableAggregation

func NewNullableAggregation(val *Aggregation) *NullableAggregation

func (NullableAggregation) Get

func (NullableAggregation) IsSet

func (v NullableAggregation) IsSet() bool

func (NullableAggregation) MarshalJSON

func (v NullableAggregation) MarshalJSON() ([]byte, error)

func (*NullableAggregation) Set

func (v *NullableAggregation) Set(val *Aggregation)

func (*NullableAggregation) UnmarshalJSON

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

func (*NullableAggregation) Unset

func (v *NullableAggregation) Unset()

type NullableAlarm

type NullableAlarm struct {
	// contains filtered or unexported fields
}

func NewNullableAlarm

func NewNullableAlarm(val *Alarm) *NullableAlarm

func (NullableAlarm) Get

func (v NullableAlarm) Get() *Alarm

func (NullableAlarm) IsSet

func (v NullableAlarm) IsSet() bool

func (NullableAlarm) MarshalJSON

func (v NullableAlarm) MarshalJSON() ([]byte, error)

func (*NullableAlarm) Set

func (v *NullableAlarm) Set(val *Alarm)

func (*NullableAlarm) UnmarshalJSON

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

func (*NullableAlarm) Unset

func (v *NullableAlarm) Unset()

type NullableAlarmListen added in v2.6.0

type NullableAlarmListen struct {
	// contains filtered or unexported fields
}

func NewNullableAlarmListen added in v2.6.0

func NewNullableAlarmListen(val *AlarmListen) *NullableAlarmListen

func (NullableAlarmListen) Get added in v2.6.0

func (NullableAlarmListen) IsSet added in v2.6.0

func (v NullableAlarmListen) IsSet() bool

func (NullableAlarmListen) MarshalJSON added in v2.6.0

func (v NullableAlarmListen) MarshalJSON() ([]byte, error)

func (*NullableAlarmListen) Set added in v2.6.0

func (v *NullableAlarmListen) Set(val *AlarmListen)

func (*NullableAlarmListen) UnmarshalJSON added in v2.6.0

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

func (*NullableAlarmListen) Unset added in v2.6.0

func (v *NullableAlarmListen) Unset()

type NullableAlarmPriority

type NullableAlarmPriority struct {
	// contains filtered or unexported fields
}

func NewNullableAlarmPriority

func NewNullableAlarmPriority(val *AlarmPriority) *NullableAlarmPriority

func (NullableAlarmPriority) Get

func (NullableAlarmPriority) IsSet

func (v NullableAlarmPriority) IsSet() bool

func (NullableAlarmPriority) MarshalJSON

func (v NullableAlarmPriority) MarshalJSON() ([]byte, error)

func (*NullableAlarmPriority) Set

func (v *NullableAlarmPriority) Set(val *AlarmPriority)

func (*NullableAlarmPriority) UnmarshalJSON

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

func (*NullableAlarmPriority) Unset

func (v *NullableAlarmPriority) Unset()

type NullableAlarmRule

type NullableAlarmRule struct {
	// contains filtered or unexported fields
}

func NewNullableAlarmRule

func NewNullableAlarmRule(val *AlarmRule) *NullableAlarmRule

func (NullableAlarmRule) Get

func (v NullableAlarmRule) Get() *AlarmRule

func (NullableAlarmRule) IsSet

func (v NullableAlarmRule) IsSet() bool

func (NullableAlarmRule) MarshalJSON

func (v NullableAlarmRule) MarshalJSON() ([]byte, error)

func (*NullableAlarmRule) Set

func (v *NullableAlarmRule) Set(val *AlarmRule)

func (*NullableAlarmRule) UnmarshalJSON

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

func (*NullableAlarmRule) Unset

func (v *NullableAlarmRule) Unset()

type NullableApp

type NullableApp struct {
	// contains filtered or unexported fields
}

func NewNullableApp

func NewNullableApp(val *App) *NullableApp

func (NullableApp) Get

func (v NullableApp) Get() *App

func (NullableApp) IsSet

func (v NullableApp) IsSet() bool

func (NullableApp) MarshalJSON

func (v NullableApp) MarshalJSON() ([]byte, error)

func (*NullableApp) Set

func (v *NullableApp) Set(val *App)

func (*NullableApp) UnmarshalJSON

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

func (*NullableApp) Unset

func (v *NullableApp) Unset()

type NullableAsset

type NullableAsset struct {
	// contains filtered or unexported fields
}

func NewNullableAsset

func NewNullableAsset(val *Asset) *NullableAsset

func (NullableAsset) Get

func (v NullableAsset) Get() *Asset

func (NullableAsset) IsSet

func (v NullableAsset) IsSet() bool

func (NullableAsset) MarshalJSON

func (v NullableAsset) MarshalJSON() ([]byte, error)

func (*NullableAsset) Set

func (v *NullableAsset) Set(val *Asset)

func (*NullableAsset) UnmarshalJSON

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

func (*NullableAsset) Unset

func (v *NullableAsset) Unset()

type NullableAssetDryRun added in v2.5.3

type NullableAssetDryRun struct {
	// contains filtered or unexported fields
}

func NewNullableAssetDryRun added in v2.5.3

func NewNullableAssetDryRun(val *AssetDryRun) *NullableAssetDryRun

func (NullableAssetDryRun) Get added in v2.5.3

func (NullableAssetDryRun) IsSet added in v2.5.3

func (v NullableAssetDryRun) IsSet() bool

func (NullableAssetDryRun) MarshalJSON added in v2.5.3

func (v NullableAssetDryRun) MarshalJSON() ([]byte, error)

func (*NullableAssetDryRun) Set added in v2.5.3

func (v *NullableAssetDryRun) Set(val *AssetDryRun)

func (*NullableAssetDryRun) UnmarshalJSON added in v2.5.3

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

func (*NullableAssetDryRun) Unset added in v2.5.3

func (v *NullableAssetDryRun) Unset()

type NullableAssetIdentifyBy added in v2.5.3

type NullableAssetIdentifyBy struct {
	// contains filtered or unexported fields
}

func NewNullableAssetIdentifyBy added in v2.5.3

func NewNullableAssetIdentifyBy(val *AssetIdentifyBy) *NullableAssetIdentifyBy

func (NullableAssetIdentifyBy) Get added in v2.5.3

func (NullableAssetIdentifyBy) IsSet added in v2.5.3

func (v NullableAssetIdentifyBy) IsSet() bool

func (NullableAssetIdentifyBy) MarshalJSON added in v2.5.3

func (v NullableAssetIdentifyBy) MarshalJSON() ([]byte, error)

func (*NullableAssetIdentifyBy) Set added in v2.5.3

func (*NullableAssetIdentifyBy) UnmarshalJSON added in v2.5.3

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

func (*NullableAssetIdentifyBy) Unset added in v2.5.3

func (v *NullableAssetIdentifyBy) Unset()

type NullableAssetListen added in v2.6.0

type NullableAssetListen struct {
	// contains filtered or unexported fields
}

func NewNullableAssetListen added in v2.6.0

func NewNullableAssetListen(val *AssetListen) *NullableAssetListen

func (NullableAssetListen) Get added in v2.6.0

func (NullableAssetListen) IsSet added in v2.6.0

func (v NullableAssetListen) IsSet() bool

func (NullableAssetListen) MarshalJSON added in v2.6.0

func (v NullableAssetListen) MarshalJSON() ([]byte, error)

func (*NullableAssetListen) Set added in v2.6.0

func (v *NullableAssetListen) Set(val *AssetListen)

func (*NullableAssetListen) UnmarshalJSON added in v2.6.0

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

func (*NullableAssetListen) Unset added in v2.6.0

func (v *NullableAssetListen) Unset()

type NullableAssetType

type NullableAssetType struct {
	// contains filtered or unexported fields
}

func NewNullableAssetType

func NewNullableAssetType(val *AssetType) *NullableAssetType

func (NullableAssetType) Get

func (v NullableAssetType) Get() *AssetType

func (NullableAssetType) IsSet

func (v NullableAssetType) IsSet() bool

func (NullableAssetType) MarshalJSON

func (v NullableAssetType) MarshalJSON() ([]byte, error)

func (*NullableAssetType) Set

func (v *NullableAssetType) Set(val *AssetType)

func (*NullableAssetType) UnmarshalJSON

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

func (*NullableAssetType) Unset

func (v *NullableAssetType) Unset()

type NullableAssetTypeAttribute

type NullableAssetTypeAttribute struct {
	// contains filtered or unexported fields
}

func NewNullableAssetTypeAttribute

func NewNullableAssetTypeAttribute(val *AssetTypeAttribute) *NullableAssetTypeAttribute

func (NullableAssetTypeAttribute) Get

func (NullableAssetTypeAttribute) IsSet

func (v NullableAssetTypeAttribute) IsSet() bool

func (NullableAssetTypeAttribute) MarshalJSON

func (v NullableAssetTypeAttribute) MarshalJSON() ([]byte, error)

func (*NullableAssetTypeAttribute) Set

func (*NullableAssetTypeAttribute) UnmarshalJSON

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

func (*NullableAssetTypeAttribute) Unset

func (v *NullableAssetTypeAttribute) Unset()

type NullableAttachment added in v2.4.2

type NullableAttachment struct {
	// contains filtered or unexported fields
}

func NewNullableAttachment added in v2.4.2

func NewNullableAttachment(val *Attachment) *NullableAttachment

func (NullableAttachment) Get added in v2.4.2

func (v NullableAttachment) Get() *Attachment

func (NullableAttachment) IsSet added in v2.4.2

func (v NullableAttachment) IsSet() bool

func (NullableAttachment) MarshalJSON added in v2.4.2

func (v NullableAttachment) MarshalJSON() ([]byte, error)

func (*NullableAttachment) Set added in v2.4.2

func (v *NullableAttachment) Set(val *Attachment)

func (*NullableAttachment) UnmarshalJSON added in v2.4.2

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

func (*NullableAttachment) Unset added in v2.4.2

func (v *NullableAttachment) Unset()

type NullableAttributeDisplay added in v2.5.3

type NullableAttributeDisplay struct {
	// contains filtered or unexported fields
}

func NewNullableAttributeDisplay added in v2.5.3

func NewNullableAttributeDisplay(val *AttributeDisplay) *NullableAttributeDisplay

func (NullableAttributeDisplay) Get added in v2.5.3

func (NullableAttributeDisplay) IsSet added in v2.5.3

func (v NullableAttributeDisplay) IsSet() bool

func (NullableAttributeDisplay) MarshalJSON added in v2.5.3

func (v NullableAttributeDisplay) MarshalJSON() ([]byte, error)

func (*NullableAttributeDisplay) Set added in v2.5.3

func (*NullableAttributeDisplay) UnmarshalJSON added in v2.5.3

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

func (*NullableAttributeDisplay) Unset added in v2.5.3

func (v *NullableAttributeDisplay) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCalculationRule added in v2.6.11

type NullableCalculationRule struct {
	// contains filtered or unexported fields
}

func NewNullableCalculationRule added in v2.6.11

func NewNullableCalculationRule(val *CalculationRule) *NullableCalculationRule

func (NullableCalculationRule) Get added in v2.6.11

func (NullableCalculationRule) IsSet added in v2.6.11

func (v NullableCalculationRule) IsSet() bool

func (NullableCalculationRule) MarshalJSON added in v2.6.11

func (v NullableCalculationRule) MarshalJSON() ([]byte, error)

func (*NullableCalculationRule) Set added in v2.6.11

func (*NullableCalculationRule) UnmarshalJSON added in v2.6.11

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

func (*NullableCalculationRule) Unset added in v2.6.11

func (v *NullableCalculationRule) Unset()

type NullableDashboard

type NullableDashboard struct {
	// contains filtered or unexported fields
}

func NewNullableDashboard

func NewNullableDashboard(val *Dashboard) *NullableDashboard

func (NullableDashboard) Get

func (v NullableDashboard) Get() *Dashboard

func (NullableDashboard) IsSet

func (v NullableDashboard) IsSet() bool

func (NullableDashboard) MarshalJSON

func (v NullableDashboard) MarshalJSON() ([]byte, error)

func (*NullableDashboard) Set

func (v *NullableDashboard) Set(val *Dashboard)

func (*NullableDashboard) UnmarshalJSON

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

func (*NullableDashboard) Unset

func (v *NullableDashboard) Unset()

type NullableData

type NullableData struct {
	// contains filtered or unexported fields
}

func NewNullableData

func NewNullableData(val *Data) *NullableData

func (NullableData) Get

func (v NullableData) Get() *Data

func (NullableData) IsSet

func (v NullableData) IsSet() bool

func (NullableData) MarshalJSON

func (v NullableData) MarshalJSON() ([]byte, error)

func (*NullableData) Set

func (v *NullableData) Set(val *Data)

func (*NullableData) UnmarshalJSON

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

func (*NullableData) Unset

func (v *NullableData) Unset()

type NullableDataAggregated

type NullableDataAggregated struct {
	// contains filtered or unexported fields
}

func NewNullableDataAggregated

func NewNullableDataAggregated(val *DataAggregated) *NullableDataAggregated

func (NullableDataAggregated) Get

func (NullableDataAggregated) IsSet

func (v NullableDataAggregated) IsSet() bool

func (NullableDataAggregated) MarshalJSON

func (v NullableDataAggregated) MarshalJSON() ([]byte, error)

func (*NullableDataAggregated) Set

func (*NullableDataAggregated) UnmarshalJSON

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

func (*NullableDataAggregated) Unset

func (v *NullableDataAggregated) Unset()

type NullableDataListen added in v2.6.0

type NullableDataListen struct {
	// contains filtered or unexported fields
}

func NewNullableDataListen added in v2.6.0

func NewNullableDataListen(val *DataListen) *NullableDataListen

func (NullableDataListen) Get added in v2.6.0

func (v NullableDataListen) Get() *DataListen

func (NullableDataListen) IsSet added in v2.6.0

func (v NullableDataListen) IsSet() bool

func (NullableDataListen) MarshalJSON added in v2.6.0

func (v NullableDataListen) MarshalJSON() ([]byte, error)

func (*NullableDataListen) Set added in v2.6.0

func (v *NullableDataListen) Set(val *DataListen)

func (*NullableDataListen) UnmarshalJSON added in v2.6.0

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

func (*NullableDataListen) Unset added in v2.6.0

func (v *NullableDataListen) Unset()

type NullableDataSubtype

type NullableDataSubtype struct {
	// contains filtered or unexported fields
}

func NewNullableDataSubtype

func NewNullableDataSubtype(val *DataSubtype) *NullableDataSubtype

func (NullableDataSubtype) Get

func (NullableDataSubtype) IsSet

func (v NullableDataSubtype) IsSet() bool

func (NullableDataSubtype) MarshalJSON

func (v NullableDataSubtype) MarshalJSON() ([]byte, error)

func (*NullableDataSubtype) Set

func (v *NullableDataSubtype) Set(val *DataSubtype)

func (*NullableDataSubtype) UnmarshalJSON

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

func (*NullableDataSubtype) Unset

func (v *NullableDataSubtype) Unset()

type NullableDryRunGeneral added in v2.5.3

type NullableDryRunGeneral struct {
	// contains filtered or unexported fields
}

func NewNullableDryRunGeneral added in v2.5.3

func NewNullableDryRunGeneral(val *DryRunGeneral) *NullableDryRunGeneral

func (NullableDryRunGeneral) Get added in v2.5.3

func (NullableDryRunGeneral) IsSet added in v2.5.3

func (v NullableDryRunGeneral) IsSet() bool

func (NullableDryRunGeneral) MarshalJSON added in v2.5.3

func (v NullableDryRunGeneral) MarshalJSON() ([]byte, error)

func (*NullableDryRunGeneral) Set added in v2.5.3

func (v *NullableDryRunGeneral) Set(val *DryRunGeneral)

func (*NullableDryRunGeneral) UnmarshalJSON added in v2.5.3

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

func (*NullableDryRunGeneral) Unset added in v2.5.3

func (v *NullableDryRunGeneral) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableIosysAgentDevice

type NullableIosysAgentDevice struct {
	// contains filtered or unexported fields
}

func NewNullableIosysAgentDevice

func NewNullableIosysAgentDevice(val *IosysAgentDevice) *NullableIosysAgentDevice

func (NullableIosysAgentDevice) Get

func (NullableIosysAgentDevice) IsSet

func (v NullableIosysAgentDevice) IsSet() bool

func (NullableIosysAgentDevice) MarshalJSON

func (v NullableIosysAgentDevice) MarshalJSON() ([]byte, error)

func (*NullableIosysAgentDevice) Set

func (*NullableIosysAgentDevice) UnmarshalJSON

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

func (*NullableIosysAgentDevice) Unset

func (v *NullableIosysAgentDevice) Unset()

type NullableIosysAgentDeviceMapping

type NullableIosysAgentDeviceMapping struct {
	// contains filtered or unexported fields
}

func (NullableIosysAgentDeviceMapping) Get

func (NullableIosysAgentDeviceMapping) IsSet

func (NullableIosysAgentDeviceMapping) MarshalJSON

func (v NullableIosysAgentDeviceMapping) MarshalJSON() ([]byte, error)

func (*NullableIosysAgentDeviceMapping) Set

func (*NullableIosysAgentDeviceMapping) UnmarshalJSON

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

func (*NullableIosysAgentDeviceMapping) Unset

type NullableMbusAgentDevice

type NullableMbusAgentDevice struct {
	// contains filtered or unexported fields
}

func NewNullableMbusAgentDevice

func NewNullableMbusAgentDevice(val *MbusAgentDevice) *NullableMbusAgentDevice

func (NullableMbusAgentDevice) Get

func (NullableMbusAgentDevice) IsSet

func (v NullableMbusAgentDevice) IsSet() bool

func (NullableMbusAgentDevice) MarshalJSON

func (v NullableMbusAgentDevice) MarshalJSON() ([]byte, error)

func (*NullableMbusAgentDevice) Set

func (*NullableMbusAgentDevice) UnmarshalJSON

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

func (*NullableMbusAgentDevice) Unset

func (v *NullableMbusAgentDevice) Unset()

type NullableMbusAgentDeviceMapping

type NullableMbusAgentDeviceMapping struct {
	// contains filtered or unexported fields
}

func (NullableMbusAgentDeviceMapping) Get

func (NullableMbusAgentDeviceMapping) IsSet

func (NullableMbusAgentDeviceMapping) MarshalJSON

func (v NullableMbusAgentDeviceMapping) MarshalJSON() ([]byte, error)

func (*NullableMbusAgentDeviceMapping) Set

func (*NullableMbusAgentDeviceMapping) UnmarshalJSON

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

func (*NullableMbusAgentDeviceMapping) Unset

func (v *NullableMbusAgentDeviceMapping) Unset()

type NullableMessage added in v2.4.2

type NullableMessage struct {
	// contains filtered or unexported fields
}

func NewNullableMessage added in v2.4.2

func NewNullableMessage(val *Message) *NullableMessage

func (NullableMessage) Get added in v2.4.2

func (v NullableMessage) Get() *Message

func (NullableMessage) IsSet added in v2.4.2

func (v NullableMessage) IsSet() bool

func (NullableMessage) MarshalJSON added in v2.4.2

func (v NullableMessage) MarshalJSON() ([]byte, error)

func (*NullableMessage) Set added in v2.4.2

func (v *NullableMessage) Set(val *Message)

func (*NullableMessage) UnmarshalJSON added in v2.4.2

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

func (*NullableMessage) Unset added in v2.4.2

func (v *NullableMessage) Unset()

type NullableMessageReceipt added in v2.4.2

type NullableMessageReceipt struct {
	// contains filtered or unexported fields
}

func NewNullableMessageReceipt added in v2.4.2

func NewNullableMessageReceipt(val *MessageReceipt) *NullableMessageReceipt

func (NullableMessageReceipt) Get added in v2.4.2

func (NullableMessageReceipt) IsSet added in v2.4.2

func (v NullableMessageReceipt) IsSet() bool

func (NullableMessageReceipt) MarshalJSON added in v2.4.2

func (v NullableMessageReceipt) MarshalJSON() ([]byte, error)

func (*NullableMessageReceipt) Set added in v2.4.2

func (*NullableMessageReceipt) UnmarshalJSON added in v2.4.2

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

func (*NullableMessageReceipt) Unset added in v2.4.2

func (v *NullableMessageReceipt) Unset()

type NullableNode

type NullableNode struct {
	// contains filtered or unexported fields
}

func NewNullableNode

func NewNullableNode(val *Node) *NullableNode

func (NullableNode) Get

func (v NullableNode) Get() *Node

func (NullableNode) IsSet

func (v NullableNode) IsSet() bool

func (NullableNode) MarshalJSON

func (v NullableNode) MarshalJSON() ([]byte, error)

func (*NullableNode) Set

func (v *NullableNode) Set(val *Node)

func (*NullableNode) UnmarshalJSON

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

func (*NullableNode) Unset

func (v *NullableNode) Unset()

type NullableNotification added in v2.5.3

type NullableNotification struct {
	// contains filtered or unexported fields
}

func NewNullableNotification added in v2.5.3

func NewNullableNotification(val *Notification) *NullableNotification

func (NullableNotification) Get added in v2.5.3

func (NullableNotification) IsSet added in v2.5.3

func (v NullableNotification) IsSet() bool

func (NullableNotification) MarshalJSON added in v2.5.3

func (v NullableNotification) MarshalJSON() ([]byte, error)

func (*NullableNotification) Set added in v2.5.3

func (v *NullableNotification) Set(val *Notification)

func (*NullableNotification) UnmarshalJSON added in v2.5.3

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

func (*NullableNotification) Unset added in v2.5.3

func (v *NullableNotification) Unset()

type NullablePatch

type NullablePatch struct {
	// contains filtered or unexported fields
}

func NewNullablePatch

func NewNullablePatch(val *Patch) *NullablePatch

func (NullablePatch) Get

func (v NullablePatch) Get() *Patch

func (NullablePatch) IsSet

func (v NullablePatch) IsSet() bool

func (NullablePatch) MarshalJSON

func (v NullablePatch) MarshalJSON() ([]byte, error)

func (*NullablePatch) Set

func (v *NullablePatch) Set(val *Patch)

func (*NullablePatch) UnmarshalJSON

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

func (*NullablePatch) Unset

func (v *NullablePatch) Unset()

type NullableProject added in v2.5.3

type NullableProject struct {
	// contains filtered or unexported fields
}

func NewNullableProject added in v2.5.3

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get added in v2.5.3

func (v NullableProject) Get() *Project

func (NullableProject) IsSet added in v2.5.3

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON added in v2.5.3

func (v NullableProject) MarshalJSON() ([]byte, error)

func (*NullableProject) Set added in v2.5.3

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON added in v2.5.3

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

func (*NullableProject) Unset added in v2.5.3

func (v *NullableProject) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTag added in v2.5.3

type NullableTag struct {
	// contains filtered or unexported fields
}

func NewNullableTag added in v2.5.3

func NewNullableTag(val *Tag) *NullableTag

func (NullableTag) Get added in v2.5.3

func (v NullableTag) Get() *Tag

func (NullableTag) IsSet added in v2.5.3

func (v NullableTag) IsSet() bool

func (NullableTag) MarshalJSON added in v2.5.3

func (v NullableTag) MarshalJSON() ([]byte, error)

func (*NullableTag) Set added in v2.5.3

func (v *NullableTag) Set(val *Tag)

func (*NullableTag) UnmarshalJSON added in v2.5.3

func (v *NullableTag) UnmarshalJSON(src []byte) error

func (*NullableTag) Unset added in v2.5.3

func (v *NullableTag) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTranslation

type NullableTranslation struct {
	// contains filtered or unexported fields
}

func NewNullableTranslation

func NewNullableTranslation(val *Translation) *NullableTranslation

func (NullableTranslation) Get

func (NullableTranslation) IsSet

func (v NullableTranslation) IsSet() bool

func (NullableTranslation) MarshalJSON

func (v NullableTranslation) MarshalJSON() ([]byte, error)

func (*NullableTranslation) Set

func (v *NullableTranslation) Set(val *Translation)

func (*NullableTranslation) UnmarshalJSON

func (v *NullableTranslation) UnmarshalJSON(src []byte) error

func (*NullableTranslation) Unset

func (v *NullableTranslation) Unset()

type NullableUser added in v2.5.3

type NullableUser struct {
	// contains filtered or unexported fields
}

func NewNullableUser added in v2.5.3

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get added in v2.5.3

func (v NullableUser) Get() *User

func (NullableUser) IsSet added in v2.5.3

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON added in v2.5.3

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set added in v2.5.3

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON added in v2.5.3

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset added in v2.5.3

func (v *NullableUser) Unset()

type NullableWidget

type NullableWidget struct {
	// contains filtered or unexported fields
}

func NewNullableWidget

func NewNullableWidget(val *Widget) *NullableWidget

func (NullableWidget) Get

func (v NullableWidget) Get() *Widget

func (NullableWidget) IsSet

func (v NullableWidget) IsSet() bool

func (NullableWidget) MarshalJSON

func (v NullableWidget) MarshalJSON() ([]byte, error)

func (*NullableWidget) Set

func (v *NullableWidget) Set(val *Widget)

func (*NullableWidget) UnmarshalJSON

func (v *NullableWidget) UnmarshalJSON(src []byte) error

func (*NullableWidget) Unset

func (v *NullableWidget) Unset()

type NullableWidgetData

type NullableWidgetData struct {
	// contains filtered or unexported fields
}

func NewNullableWidgetData

func NewNullableWidgetData(val *WidgetData) *NullableWidgetData

func (NullableWidgetData) Get

func (v NullableWidgetData) Get() *WidgetData

func (NullableWidgetData) IsSet

func (v NullableWidgetData) IsSet() bool

func (NullableWidgetData) MarshalJSON

func (v NullableWidgetData) MarshalJSON() ([]byte, error)

func (*NullableWidgetData) Set

func (v *NullableWidgetData) Set(val *WidgetData)

func (*NullableWidgetData) UnmarshalJSON

func (v *NullableWidgetData) UnmarshalJSON(src []byte) error

func (*NullableWidgetData) Unset

func (v *NullableWidgetData) Unset()

type NullableWidgetType

type NullableWidgetType struct {
	// contains filtered or unexported fields
}

func NewNullableWidgetType

func NewNullableWidgetType(val *WidgetType) *NullableWidgetType

func (NullableWidgetType) Get

func (v NullableWidgetType) Get() *WidgetType

func (NullableWidgetType) IsSet

func (v NullableWidgetType) IsSet() bool

func (NullableWidgetType) MarshalJSON

func (v NullableWidgetType) MarshalJSON() ([]byte, error)

func (*NullableWidgetType) Set

func (v *NullableWidgetType) Set(val *WidgetType)

func (*NullableWidgetType) UnmarshalJSON

func (v *NullableWidgetType) UnmarshalJSON(src []byte) error

func (*NullableWidgetType) Unset

func (v *NullableWidgetType) Unset()

type NullableWidgetTypeElement

type NullableWidgetTypeElement struct {
	// contains filtered or unexported fields
}

func NewNullableWidgetTypeElement

func NewNullableWidgetTypeElement(val *WidgetTypeElement) *NullableWidgetTypeElement

func (NullableWidgetTypeElement) Get

func (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

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

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) ToMap added in v2.4.8

func (o Patch) ToMap() (map[string]interface{}, error)

func (*Patch) UnmarshalJSON added in v2.5.9

func (o *Patch) UnmarshalJSON(data []byte) (err error)

func (*Patch) UnsetActive

func (o *Patch) UnsetActive()

UnsetActive ensures that no value is present for Active, not even an explicit nil

func (*Patch) UnsetApplied

func (o *Patch) UnsetApplied()

UnsetApplied ensures that no value is present for Applied, not even an explicit nil

type Project added in v2.5.3

type Project struct {
	// The internal ID of the project
	Id NullableString `json:"id,omitempty"`
	// The title of the project
	Title NullableString `json:"title,omitempty"`
}

Project A project

func NewProject added in v2.5.3

func NewProject() *Project

NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectWithDefaults added in v2.5.3

func NewProjectWithDefaults() *Project

NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Project) GetId added in v2.5.3

func (o *Project) GetId() string

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Project) GetIdOk added in v2.5.3

func (o *Project) 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 (*Project) GetTitle added in v2.5.3

func (o *Project) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Project) GetTitleOk added in v2.5.3

func (o *Project) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Project) HasId added in v2.5.3

func (o *Project) HasId() bool

HasId returns a boolean if a field has been set.

func (*Project) HasTitle added in v2.5.3

func (o *Project) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (Project) MarshalJSON added in v2.5.3

func (o Project) MarshalJSON() ([]byte, error)

func (*Project) SetId added in v2.5.3

func (o *Project) SetId(v string)

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*Project) SetIdNil added in v2.5.3

func (o *Project) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Project) SetTitle added in v2.5.3

func (o *Project) SetTitle(v string)

SetTitle gets a reference to the given NullableString and assigns it to the Title field.

func (*Project) SetTitleNil added in v2.5.3

func (o *Project) SetTitleNil()

SetTitleNil sets the value for Title to be an explicit nil

func (Project) ToMap added in v2.5.3

func (o Project) ToMap() (map[string]interface{}, error)

func (*Project) UnsetId added in v2.5.3

func (o *Project) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*Project) UnsetTitle added in v2.5.3

func (o *Project) UnsetTitle()

UnsetTitle ensures that no value is present for Title, not even an explicit nil

type ProjectsAPIService added in v2.5.3

type ProjectsAPIService service

ProjectsAPIService ProjectsAPI service

func (*ProjectsAPIService) GetProjectById added in v2.5.3

func (a *ProjectsAPIService) GetProjectById(ctx context.Context, projectId string) ApiGetProjectByIdRequest

GetProjectById Information about a project

Gets information about a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The id of the project
@return ApiGetProjectByIdRequest

func (*ProjectsAPIService) GetProjectByIdExecute added in v2.5.3

func (a *ProjectsAPIService) GetProjectByIdExecute(r ApiGetProjectByIdRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectsAPIService) GetProjects added in v2.5.3

GetProjects Information about projects

Gets a list of projects

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetProjectsRequest

func (*ProjectsAPIService) GetProjectsExecute added in v2.5.3

func (a *ProjectsAPIService) GetProjectsExecute(r ApiGetProjectsRequest) ([]Project, *http.Response, error)

Execute executes the request

@return []Project

func (*ProjectsAPIService) PutProject added in v2.5.3

PutProject Create or update a project

Creates a project if no project exists or update it if already exists. Uses the id for updating.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPutProjectRequest

func (*ProjectsAPIService) PutProjectExecute added in v2.5.3

func (a *ProjectsAPIService) PutProjectExecute(r ApiPutProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

type QRCodesAPIService added in v2.5.3

type QRCodesAPIService service

QRCodesAPIService QRCodesAPI service

func (*QRCodesAPIService) GetQrCodeByAssetId added in v2.5.3

func (a *QRCodesAPIService) GetQrCodeByAssetId(ctx context.Context, assetId int32) ApiGetQrCodeByAssetIdRequest

GetQrCodeByAssetId QR code for assets

Generates QR code linking to an asset in the Eliona frontend.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param assetId The id of the asset
@return ApiGetQrCodeByAssetIdRequest

func (*QRCodesAPIService) GetQrCodeByAssetIdExecute added in v2.5.3

func (a *QRCodesAPIService) GetQrCodeByAssetIdExecute(r ApiGetQrCodeByAssetIdRequest) (*os.File, *http.Response, error)

Execute executes the request

@return *os.File

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

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 Tag added in v2.5.3

type Tag struct {
	// The name of the tag
	Name string `json:"name"`
	// Id of the color
	ColorId NullableInt32 `json:"colorId,omitempty"`
	// Is this a tag custom or not
	Custom NullableBool `json:"custom,omitempty"`
}

Tag A tag

func NewTag added in v2.5.3

func NewTag(name string) *Tag

NewTag instantiates a new Tag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagWithDefaults added in v2.5.3

func NewTagWithDefaults() *Tag

NewTagWithDefaults instantiates a new Tag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Tag) GetColorId added in v2.5.3

func (o *Tag) GetColorId() int32

GetColorId returns the ColorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Tag) GetColorIdOk added in v2.5.3

func (o *Tag) GetColorIdOk() (*int32, bool)

GetColorIdOk returns a tuple with the ColorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Tag) GetCustom added in v2.5.3

func (o *Tag) GetCustom() bool

GetCustom returns the Custom field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Tag) GetCustomOk added in v2.5.3

func (o *Tag) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Tag) GetName added in v2.5.3

func (o *Tag) GetName() string

GetName returns the Name field value

func (*Tag) GetNameOk added in v2.5.3

func (o *Tag) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Tag) HasColorId added in v2.5.3

func (o *Tag) HasColorId() bool

HasColorId returns a boolean if a field has been set.

func (*Tag) HasCustom added in v2.5.3

func (o *Tag) HasCustom() bool

HasCustom returns a boolean if a field has been set.

func (Tag) MarshalJSON added in v2.5.3

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetColorId added in v2.5.3

func (o *Tag) SetColorId(v int32)

SetColorId gets a reference to the given NullableInt32 and assigns it to the ColorId field.

func (*Tag) SetColorIdNil added in v2.5.3

func (o *Tag) SetColorIdNil()

SetColorIdNil sets the value for ColorId to be an explicit nil

func (*Tag) SetCustom added in v2.5.3

func (o *Tag) SetCustom(v bool)

SetCustom gets a reference to the given NullableBool and assigns it to the Custom field.

func (*Tag) SetCustomNil added in v2.5.3

func (o *Tag) SetCustomNil()

SetCustomNil sets the value for Custom to be an explicit nil

func (*Tag) SetName added in v2.5.3

func (o *Tag) SetName(v string)

SetName sets field value

func (Tag) ToMap added in v2.5.3

func (o Tag) ToMap() (map[string]interface{}, error)

func (*Tag) UnmarshalJSON added in v2.5.9

func (o *Tag) UnmarshalJSON(data []byte) (err error)

func (*Tag) UnsetColorId added in v2.5.3

func (o *Tag) UnsetColorId()

UnsetColorId ensures that no value is present for ColorId, not even an explicit nil

func (*Tag) UnsetCustom added in v2.5.3

func (o *Tag) UnsetCustom()

UnsetCustom ensures that no value is present for Custom, not even an explicit nil

type TagsAPIService added in v2.5.3

type TagsAPIService service

TagsAPIService TagsAPI service

func (*TagsAPIService) GetTagByName added in v2.5.3

func (a *TagsAPIService) GetTagByName(ctx context.Context, tagName string) ApiGetTagByNameRequest

GetTagByName Information about a tag

Gets information about a tag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tagName The name of the tag
@return ApiGetTagByNameRequest

func (*TagsAPIService) GetTagByNameExecute added in v2.5.3

func (a *TagsAPIService) GetTagByNameExecute(r ApiGetTagByNameRequest) (*Tag, *http.Response, error)

Execute executes the request

@return Tag

func (*TagsAPIService) GetTags added in v2.5.3

GetTags Information about tags

Gets a list of tags

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTagsRequest

func (*TagsAPIService) GetTagsExecute added in v2.5.3

func (a *TagsAPIService) GetTagsExecute(r ApiGetTagsRequest) ([]Tag, *http.Response, error)

Execute executes the request

@return []Tag

func (*TagsAPIService) PutTag added in v2.5.3

PutTag Create or update a tag

Creates a tag if no tag exists or update it if already exists. Uses name for updating.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPutTagRequest

func (*TagsAPIService) PutTagExecute added in v2.5.3

func (a *TagsAPIService) PutTagExecute(r ApiPutTagRequest) (*Tag, *http.Response, error)

Execute executes the request

@return Tag

type Translation

type Translation struct {
	// German text
	De *string `json:"de,omitempty"`
	// English text
	En *string `json:"en,omitempty"`
	// French text
	Fr *string `json:"fr,omitempty"`
	// Italian text
	It *string `json:"it,omitempty"`
}

Translation Readable text to display in frontend

func NewTranslation

func NewTranslation() *Translation

NewTranslation instantiates a new Translation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTranslationWithDefaults

func NewTranslationWithDefaults() *Translation

NewTranslationWithDefaults instantiates a new Translation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Translation) GetDe

func (o *Translation) GetDe() string

GetDe returns the De field value if set, zero value otherwise.

func (*Translation) GetDeOk

func (o *Translation) GetDeOk() (*string, bool)

GetDeOk returns a tuple with the De field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Translation) GetEn

func (o *Translation) GetEn() string

GetEn returns the En field value if set, zero value otherwise.

func (*Translation) GetEnOk

func (o *Translation) GetEnOk() (*string, bool)

GetEnOk returns a tuple with the En field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Translation) GetFr

func (o *Translation) GetFr() string

GetFr returns the Fr field value if set, zero value otherwise.

func (*Translation) GetFrOk

func (o *Translation) GetFrOk() (*string, bool)

GetFrOk returns a tuple with the Fr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Translation) GetIt

func (o *Translation) GetIt() string

GetIt returns the It field value if set, zero value otherwise.

func (*Translation) GetItOk

func (o *Translation) GetItOk() (*string, bool)

GetItOk returns a tuple with the It field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Translation) HasDe

func (o *Translation) HasDe() bool

HasDe returns a boolean if a field has been set.

func (*Translation) HasEn

func (o *Translation) HasEn() bool

HasEn returns a boolean if a field has been set.

func (*Translation) HasFr

func (o *Translation) HasFr() bool

HasFr returns a boolean if a field has been set.

func (*Translation) HasIt

func (o *Translation) HasIt() bool

HasIt returns a boolean if a field has been set.

func (Translation) MarshalJSON

func (o Translation) MarshalJSON() ([]byte, error)

func (*Translation) SetDe

func (o *Translation) SetDe(v string)

SetDe gets a reference to the given string and assigns it to the De field.

func (*Translation) SetEn

func (o *Translation) SetEn(v string)

SetEn gets a reference to the given string and assigns it to the En field.

func (*Translation) SetFr

func (o *Translation) SetFr(v string)

SetFr gets a reference to the given string and assigns it to the Fr field.

func (*Translation) SetIt

func (o *Translation) SetIt(v string)

SetIt gets a reference to the given string and assigns it to the It field.

func (Translation) ToMap added in v2.4.8

func (o Translation) ToMap() (map[string]interface{}, error)

type User added in v2.5.3

type User struct {
	// The internal ID of user
	Id NullableString `json:"id,omitempty"`
	// The user's firstname
	Firstname NullableString `json:"firstname,omitempty"`
	// The user's lastname
	Lastname NullableString `json:"lastname,omitempty"`
	// Address of the user
	Email string `json:"email"`
}

User An user

func NewUser added in v2.5.3

func NewUser(email string) *User

NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserWithDefaults added in v2.5.3

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*User) GetEmail added in v2.5.3

func (o *User) GetEmail() string

GetEmail returns the Email field value

func (*User) GetEmailOk added in v2.5.3

func (o *User) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*User) GetFirstname added in v2.5.3

func (o *User) GetFirstname() string

GetFirstname returns the Firstname field value if set, zero value otherwise (both if not set or set to explicit null).

func (*User) GetFirstnameOk added in v2.5.3

func (o *User) GetFirstnameOk() (*string, bool)

GetFirstnameOk returns a tuple with the Firstname field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*User) GetId added in v2.5.3

func (o *User) GetId() string

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*User) GetIdOk added in v2.5.3

func (o *User) 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 (*User) GetLastname added in v2.5.3

func (o *User) GetLastname() string

GetLastname returns the Lastname field value if set, zero value otherwise (both if not set or set to explicit null).

func (*User) GetLastnameOk added in v2.5.3

func (o *User) GetLastnameOk() (*string, bool)

GetLastnameOk returns a tuple with the Lastname field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*User) HasFirstname added in v2.5.3

func (o *User) HasFirstname() bool

HasFirstname returns a boolean if a field has been set.

func (*User) HasId added in v2.5.3

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasLastname added in v2.5.3

func (o *User) HasLastname() bool

HasLastname returns a boolean if a field has been set.

func (User) MarshalJSON added in v2.5.3

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetEmail added in v2.5.3

func (o *User) SetEmail(v string)

SetEmail sets field value

func (*User) SetFirstname added in v2.5.3

func (o *User) SetFirstname(v string)

SetFirstname gets a reference to the given NullableString and assigns it to the Firstname field.

func (*User) SetFirstnameNil added in v2.5.3

func (o *User) SetFirstnameNil()

SetFirstnameNil sets the value for Firstname to be an explicit nil

func (*User) SetId added in v2.5.3

func (o *User) SetId(v string)

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*User) SetIdNil added in v2.5.3

func (o *User) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*User) SetLastname added in v2.5.3

func (o *User) SetLastname(v string)

SetLastname gets a reference to the given NullableString and assigns it to the Lastname field.

func (*User) SetLastnameNil added in v2.5.3

func (o *User) SetLastnameNil()

SetLastnameNil sets the value for Lastname to be an explicit nil

func (User) ToMap added in v2.5.3

func (o User) ToMap() (map[string]interface{}, error)

func (*User) UnmarshalJSON added in v2.5.9

func (o *User) UnmarshalJSON(data []byte) (err error)

func (*User) UnsetFirstname added in v2.5.3

func (o *User) UnsetFirstname()

UnsetFirstname ensures that no value is present for Firstname, not even an explicit nil

func (*User) UnsetId added in v2.5.3

func (o *User) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*User) UnsetLastname added in v2.5.3

func (o *User) UnsetLastname()

UnsetLastname ensures that no value is present for Lastname, not even an explicit nil

type UsersAPIService added in v2.5.3

type UsersAPIService service

UsersAPIService UsersAPI service

func (*UsersAPIService) GetUserById added in v2.5.3

func (a *UsersAPIService) GetUserById(ctx context.Context, userId string) ApiGetUserByIdRequest

GetUserById Information about an user

Gets information about an user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId The id of the user
@return ApiGetUserByIdRequest

func (*UsersAPIService) GetUserByIdExecute added in v2.5.3

func (a *UsersAPIService) GetUserByIdExecute(r ApiGetUserByIdRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UsersAPIService) GetUsers added in v2.5.3

GetUsers Information about users

Gets a list of users

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUsersRequest

func (*UsersAPIService) GetUsersExecute added in v2.5.3

func (a *UsersAPIService) GetUsersExecute(r ApiGetUsersRequest) ([]User, *http.Response, error)

Execute executes the request

@return []User

func (*UsersAPIService) PutUser added in v2.5.3

PutUser Create or update an user

Creates an user if no user exists or update it if already exists. Uses the email address for updating.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPutUserRequest

func (*UsersAPIService) PutUserExecute added in v2.5.3

func (a *UsersAPIService) PutUserExecute(r ApiPutUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

type VersionAPIService added in v2.5.3

type VersionAPIService service

VersionAPIService VersionAPI service

func (*VersionAPIService) GetOpenAPI added in v2.5.3

GetOpenAPI OpenAPI specification for this API version

Gets specification for this API version as an openapi.json file.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOpenAPIRequest

func (*VersionAPIService) GetOpenAPIExecute added in v2.5.3

func (a *VersionAPIService) GetOpenAPIExecute(r ApiGetOpenAPIRequest) (*http.Response, error)

Execute executes the request

func (*VersionAPIService) GetVersion added in v2.5.3

GetVersion Version of the API

Gets information about the APIs version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetVersionRequest

func (*VersionAPIService) GetVersionExecute added in v2.5.3

func (a *VersionAPIService) GetVersionExecute(r ApiGetVersionRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

type Widget

type Widget struct {
	// The internal Id of widget
	Id NullableInt32 `json:"id,omitempty"`
	// The name for the type of this widget
	WidgetTypeName string `json:"widgetTypeName"`
	// Detailed configuration depending on the widget type
	Details map[string]interface{} `json:"details,omitempty"`
	// The master asset id of this widget
	AssetId NullableInt32 `json:"assetId,omitempty"`
	// Placement order on dashboard; if not set the index in array is taken
	Sequence NullableInt32 `json:"sequence,omitempty"`
	// List of data for the elements of widget
	Data []WidgetData `json:"data,omitempty"`
}

Widget A widget on a frontend dashboard

func NewWidget

func NewWidget(widgetTypeName 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) GetId

func (o *Widget) GetId() int32

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Widget) GetIdOk

func (o *Widget) 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 (*Widget) GetSequence

func (o *Widget) GetSequence() int32

GetSequence returns the Sequence field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Widget) GetSequenceOk

func (o *Widget) 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 (*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) 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) HasId

func (o *Widget) HasId() bool

HasId returns a boolean if a field has been set.

func (*Widget) HasSequence

func (o *Widget) HasSequence() bool

HasSequence 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

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) SetId

func (o *Widget) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*Widget) SetIdNil

func (o *Widget) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*Widget) SetSequence

func (o *Widget) SetSequence(v int32)

SetSequence gets a reference to the given NullableInt32 and assigns it to the Sequence field.

func (*Widget) SetSequenceNil

func (o *Widget) SetSequenceNil()

SetSequenceNil sets the value for Sequence to be an explicit nil

func (*Widget) SetWidgetTypeName

func (o *Widget) SetWidgetTypeName(v string)

SetWidgetTypeName sets field value

func (Widget) ToMap added in v2.4.8

func (o Widget) ToMap() (map[string]interface{}, error)

func (*Widget) UnmarshalJSON added in v2.5.9

func (o *Widget) UnmarshalJSON(data []byte) (err error)

func (*Widget) UnsetAssetId

func (o *Widget) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*Widget) UnsetId

func (o *Widget) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*Widget) UnsetSequence

func (o *Widget) UnsetSequence()

UnsetSequence ensures that no value is present for Sequence, not even an explicit nil

type WidgetData

type WidgetData struct {
	// The internal Id of widget data
	Id NullableInt32 `json:"id,omitempty"`
	// Position of the element in widget type
	ElementSequence NullableInt32 `json:"elementSequence,omitempty"`
	// The master asset id of this widget
	AssetId NullableInt32 `json:"assetId,omitempty"`
	// individual config parameters depending on category
	Data map[string]interface{} `json:"data,omitempty"`
}

WidgetData Data for a widget

func NewWidgetData

func NewWidgetData() *WidgetData

NewWidgetData instantiates a new WidgetData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWidgetDataWithDefaults

func NewWidgetDataWithDefaults() *WidgetData

NewWidgetDataWithDefaults instantiates a new WidgetData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WidgetData) GetAssetId

func (o *WidgetData) GetAssetId() int32

GetAssetId returns the AssetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetData) GetAssetIdOk

func (o *WidgetData) GetAssetIdOk() (*int32, bool)

GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetData) GetData

func (o *WidgetData) GetData() map[string]interface{}

GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetData) GetDataOk

func (o *WidgetData) GetDataOk() (map[string]interface{}, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetData) GetElementSequence

func (o *WidgetData) GetElementSequence() int32

GetElementSequence returns the ElementSequence field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetData) GetElementSequenceOk

func (o *WidgetData) GetElementSequenceOk() (*int32, bool)

GetElementSequenceOk returns a tuple with the ElementSequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetData) GetId

func (o *WidgetData) GetId() int32

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetData) GetIdOk

func (o *WidgetData) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetData) HasAssetId

func (o *WidgetData) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*WidgetData) HasData

func (o *WidgetData) HasData() bool

HasData returns a boolean if a field has been set.

func (*WidgetData) HasElementSequence

func (o *WidgetData) HasElementSequence() bool

HasElementSequence returns a boolean if a field has been set.

func (*WidgetData) HasId

func (o *WidgetData) HasId() bool

HasId returns a boolean if a field has been set.

func (WidgetData) MarshalJSON

func (o WidgetData) MarshalJSON() ([]byte, error)

func (*WidgetData) SetAssetId

func (o *WidgetData) SetAssetId(v int32)

SetAssetId gets a reference to the given NullableInt32 and assigns it to the AssetId field.

func (*WidgetData) SetAssetIdNil

func (o *WidgetData) SetAssetIdNil()

SetAssetIdNil sets the value for AssetId to be an explicit nil

func (*WidgetData) SetData

func (o *WidgetData) SetData(v map[string]interface{})

SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.

func (*WidgetData) SetElementSequence

func (o *WidgetData) SetElementSequence(v int32)

SetElementSequence gets a reference to the given NullableInt32 and assigns it to the ElementSequence field.

func (*WidgetData) SetElementSequenceNil

func (o *WidgetData) SetElementSequenceNil()

SetElementSequenceNil sets the value for ElementSequence to be an explicit nil

func (*WidgetData) SetId

func (o *WidgetData) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*WidgetData) SetIdNil

func (o *WidgetData) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (WidgetData) ToMap added in v2.4.8

func (o WidgetData) ToMap() (map[string]interface{}, error)

func (*WidgetData) UnsetAssetId

func (o *WidgetData) UnsetAssetId()

UnsetAssetId ensures that no value is present for AssetId, not even an explicit nil

func (*WidgetData) UnsetElementSequence

func (o *WidgetData) UnsetElementSequence()

UnsetElementSequence ensures that no value is present for ElementSequence, not even an explicit nil

func (*WidgetData) UnsetId

func (o *WidgetData) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

type WidgetType

type WidgetType struct {
	// The internal Id of widget type
	Id NullableInt32 `json:"id,omitempty"`
	// The unique name for this widget type
	Name string `json:"name"`
	// Is this a customer created type or not
	Custom      *bool               `json:"custom,omitempty"`
	Translation NullableTranslation `json:"translation"`
	// Icon name corresponding to assets used in this widget
	Icon NullableString `json:"icon,omitempty"`
	// Show alarms in widget
	WithAlarm NullableBool `json:"withAlarm,omitempty"`
	// Show selection for timespan in widget
	WithTimespan NullableBool `json:"withTimespan,omitempty"`
	// A list of elements for this widget (order matches the order of elements for this type)
	Elements []WidgetTypeElement `json:"elements"`
}

WidgetType A frontend widget

func NewWidgetType

func NewWidgetType(name string, translation NullableTranslation, elements []WidgetTypeElement) *WidgetType

NewWidgetType instantiates a new WidgetType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWidgetTypeWithDefaults

func NewWidgetTypeWithDefaults() *WidgetType

NewWidgetTypeWithDefaults instantiates a new WidgetType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WidgetType) GetCustom

func (o *WidgetType) GetCustom() bool

GetCustom returns the Custom field value if set, zero value otherwise.

func (*WidgetType) GetCustomOk

func (o *WidgetType) GetCustomOk() (*bool, bool)

GetCustomOk returns a tuple with the Custom field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetType) GetElements

func (o *WidgetType) GetElements() []WidgetTypeElement

GetElements returns the Elements field value

func (*WidgetType) GetElementsOk

func (o *WidgetType) GetElementsOk() ([]WidgetTypeElement, bool)

GetElementsOk returns a tuple with the Elements field value and a boolean to check if the value has been set.

func (*WidgetType) GetIcon

func (o *WidgetType) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetType) GetIconOk

func (o *WidgetType) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetType) GetId

func (o *WidgetType) GetId() int32

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetType) GetIdOk

func (o *WidgetType) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetType) GetName

func (o *WidgetType) GetName() string

GetName returns the Name field value

func (*WidgetType) GetNameOk

func (o *WidgetType) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*WidgetType) GetTranslation

func (o *WidgetType) GetTranslation() Translation

GetTranslation returns the Translation field value If the value is explicit nil, the zero value for Translation will be returned

func (*WidgetType) GetTranslationOk

func (o *WidgetType) GetTranslationOk() (*Translation, bool)

GetTranslationOk returns a tuple with the Translation field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetType) GetWithAlarm

func (o *WidgetType) GetWithAlarm() bool

GetWithAlarm returns the WithAlarm field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetType) GetWithAlarmOk

func (o *WidgetType) GetWithAlarmOk() (*bool, bool)

GetWithAlarmOk returns a tuple with the WithAlarm field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetType) GetWithTimespan

func (o *WidgetType) GetWithTimespan() bool

GetWithTimespan returns the WithTimespan field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetType) GetWithTimespanOk

func (o *WidgetType) GetWithTimespanOk() (*bool, bool)

GetWithTimespanOk returns a tuple with the WithTimespan field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetType) HasCustom

func (o *WidgetType) HasCustom() bool

HasCustom returns a boolean if a field has been set.

func (*WidgetType) HasIcon

func (o *WidgetType) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*WidgetType) HasId

func (o *WidgetType) HasId() bool

HasId returns a boolean if a field has been set.

func (*WidgetType) HasWithAlarm

func (o *WidgetType) HasWithAlarm() bool

HasWithAlarm returns a boolean if a field has been set.

func (*WidgetType) HasWithTimespan

func (o *WidgetType) HasWithTimespan() bool

HasWithTimespan returns a boolean if a field has been set.

func (WidgetType) MarshalJSON

func (o WidgetType) MarshalJSON() ([]byte, error)

func (*WidgetType) SetCustom

func (o *WidgetType) SetCustom(v bool)

SetCustom gets a reference to the given bool and assigns it to the Custom field.

func (*WidgetType) SetElements

func (o *WidgetType) SetElements(v []WidgetTypeElement)

SetElements sets field value

func (*WidgetType) SetIcon

func (o *WidgetType) SetIcon(v string)

SetIcon gets a reference to the given NullableString and assigns it to the Icon field.

func (*WidgetType) SetIconNil

func (o *WidgetType) SetIconNil()

SetIconNil sets the value for Icon to be an explicit nil

func (*WidgetType) SetId

func (o *WidgetType) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*WidgetType) SetIdNil

func (o *WidgetType) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*WidgetType) 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

func (o *WidgetType) SetWithAlarmNil()

SetWithAlarmNil sets the value for WithAlarm to be an explicit nil

func (*WidgetType) SetWithTimespan

func (o *WidgetType) SetWithTimespan(v bool)

SetWithTimespan gets a reference to the given NullableBool and assigns it to the WithTimespan field.

func (*WidgetType) SetWithTimespanNil

func (o *WidgetType) SetWithTimespanNil()

SetWithTimespanNil sets the value for WithTimespan to be an explicit nil

func (WidgetType) ToMap added in v2.4.8

func (o WidgetType) ToMap() (map[string]interface{}, error)

func (*WidgetType) UnmarshalJSON added in v2.5.9

func (o *WidgetType) UnmarshalJSON(data []byte) (err error)

func (*WidgetType) UnsetIcon

func (o *WidgetType) UnsetIcon()

UnsetIcon ensures that no value is present for Icon, not even an explicit nil

func (*WidgetType) UnsetId

func (o *WidgetType) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*WidgetType) UnsetWithAlarm

func (o *WidgetType) UnsetWithAlarm()

UnsetWithAlarm ensures that no value is present for WithAlarm, not even an explicit nil

func (*WidgetType) UnsetWithTimespan

func (o *WidgetType) UnsetWithTimespan()

UnsetWithTimespan ensures that no value is present for WithTimespan, not even an explicit nil

type WidgetTypeElement

type WidgetTypeElement struct {
	// The internal Id of widget element
	Id NullableInt32 `json:"id,omitempty"`
	// The category for this element
	Category string `json:"category"`
	// sequence of element in widget; if not defined the index in array is taken
	Sequence NullableInt32 `json:"sequence,omitempty"`
	// individual config parameters depending on category
	Config map[string]interface{} `json:"config,omitempty"`
}

WidgetTypeElement An element for widget types

func NewWidgetTypeElement

func NewWidgetTypeElement(category string) *WidgetTypeElement

NewWidgetTypeElement instantiates a new WidgetTypeElement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWidgetTypeElementWithDefaults

func NewWidgetTypeElementWithDefaults() *WidgetTypeElement

NewWidgetTypeElementWithDefaults instantiates a new WidgetTypeElement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WidgetTypeElement) GetCategory

func (o *WidgetTypeElement) GetCategory() string

GetCategory returns the Category field value

func (*WidgetTypeElement) GetCategoryOk

func (o *WidgetTypeElement) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*WidgetTypeElement) GetConfig

func (o *WidgetTypeElement) GetConfig() map[string]interface{}

GetConfig returns the Config field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetTypeElement) GetConfigOk

func (o *WidgetTypeElement) GetConfigOk() (map[string]interface{}, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetTypeElement) GetId

func (o *WidgetTypeElement) GetId() int32

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetTypeElement) GetIdOk

func (o *WidgetTypeElement) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetTypeElement) GetSequence

func (o *WidgetTypeElement) GetSequence() int32

GetSequence returns the Sequence field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WidgetTypeElement) GetSequenceOk

func (o *WidgetTypeElement) GetSequenceOk() (*int32, bool)

GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WidgetTypeElement) HasConfig

func (o *WidgetTypeElement) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*WidgetTypeElement) HasId

func (o *WidgetTypeElement) HasId() bool

HasId returns a boolean if a field has been set.

func (*WidgetTypeElement) HasSequence

func (o *WidgetTypeElement) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (WidgetTypeElement) MarshalJSON

func (o WidgetTypeElement) MarshalJSON() ([]byte, error)

func (*WidgetTypeElement) SetCategory

func (o *WidgetTypeElement) SetCategory(v string)

SetCategory sets field value

func (*WidgetTypeElement) SetConfig

func (o *WidgetTypeElement) SetConfig(v map[string]interface{})

SetConfig gets a reference to the given map[string]interface{} and assigns it to the Config field.

func (*WidgetTypeElement) SetId

func (o *WidgetTypeElement) SetId(v int32)

SetId gets a reference to the given NullableInt32 and assigns it to the Id field.

func (*WidgetTypeElement) SetIdNil

func (o *WidgetTypeElement) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*WidgetTypeElement) SetSequence

func (o *WidgetTypeElement) SetSequence(v int32)

SetSequence gets a reference to the given NullableInt32 and assigns it to the Sequence field.

func (*WidgetTypeElement) SetSequenceNil

func (o *WidgetTypeElement) SetSequenceNil()

SetSequenceNil sets the value for Sequence to be an explicit nil

func (WidgetTypeElement) ToMap added in v2.4.8

func (o WidgetTypeElement) ToMap() (map[string]interface{}, error)

func (*WidgetTypeElement) UnmarshalJSON added in v2.5.9

func (o *WidgetTypeElement) UnmarshalJSON(data []byte) (err error)

func (*WidgetTypeElement) UnsetId

func (o *WidgetTypeElement) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*WidgetTypeElement) UnsetSequence

func (o *WidgetTypeElement) UnsetSequence()

UnsetSequence ensures that no value is present for Sequence, not even an explicit nil

type WidgetsAPIService added in v2.5.3

type WidgetsAPIService service

WidgetsAPIService WidgetsAPI service

func (*WidgetsAPIService) GetDashboardWidgets added in v2.5.3

func (a *WidgetsAPIService) GetDashboardWidgets(ctx context.Context, dashboardId int32) ApiGetDashboardWidgetsRequest

GetDashboardWidgets Information about widgets on dashboard

Gets information about widgets on a dashboard.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param dashboardId The id of the dashboard
@return ApiGetDashboardWidgetsRequest

func (*WidgetsAPIService) GetDashboardWidgetsExecute added in v2.5.3

func (a *WidgetsAPIService) GetDashboardWidgetsExecute(r ApiGetDashboardWidgetsRequest) (*Widget, *http.Response, error)

Execute executes the request

@return Widget

func (*WidgetsAPIService) PostDashboardWidget added in v2.5.3

func (a *WidgetsAPIService) PostDashboardWidget(ctx context.Context, dashboardId int32) ApiPostDashboardWidgetRequest

PostDashboardWidget Adds widget to dashboard

Create a new widget and add this to a dashboard

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param dashboardId The id of the dashboard
@return ApiPostDashboardWidgetRequest

func (*WidgetsAPIService) PostDashboardWidgetExecute added in v2.5.3

func (a *WidgetsAPIService) PostDashboardWidgetExecute(r ApiPostDashboardWidgetRequest) (*http.Response, error)

Execute executes the request

type WidgetsTypesAPIService added in v2.5.3

type WidgetsTypesAPIService service

WidgetsTypesAPIService WidgetsTypesAPI service

func (*WidgetsTypesAPIService) DeleteWidgetTypeByName added in v2.5.3

func (a *WidgetsTypesAPIService) DeleteWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiDeleteWidgetTypeByNameRequest

DeleteWidgetTypeByName Delete a widget type

Deletes a widget type and the elements for this widget type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param widgetTypeName The name of the widget type
@return ApiDeleteWidgetTypeByNameRequest

func (*WidgetsTypesAPIService) DeleteWidgetTypeByNameExecute added in v2.5.3

func (a *WidgetsTypesAPIService) DeleteWidgetTypeByNameExecute(r ApiDeleteWidgetTypeByNameRequest) (*http.Response, error)

Execute executes the request

func (*WidgetsTypesAPIService) GetWidgetTypeByName added in v2.5.3

func (a *WidgetsTypesAPIService) GetWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiGetWidgetTypeByNameRequest

GetWidgetTypeByName Information about a widget type

Gets information about a widget type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param widgetTypeName The name of the widget type
@return ApiGetWidgetTypeByNameRequest

func (*WidgetsTypesAPIService) GetWidgetTypeByNameExecute added in v2.5.3

func (a *WidgetsTypesAPIService) GetWidgetTypeByNameExecute(r ApiGetWidgetTypeByNameRequest) (*WidgetType, *http.Response, error)

Execute executes the request

@return WidgetType

func (*WidgetsTypesAPIService) GetWidgetTypes added in v2.5.3

GetWidgetTypes List of widget types

Returns a list of widget types

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetWidgetTypesRequest

func (*WidgetsTypesAPIService) GetWidgetTypesExecute added in v2.5.3

func (a *WidgetsTypesAPIService) GetWidgetTypesExecute(r ApiGetWidgetTypesRequest) ([]WidgetType, *http.Response, error)

Execute executes the request

@return []WidgetType

func (*WidgetsTypesAPIService) PostWidgetType added in v2.5.3

PostWidgetType Create a widget type

Create a new widget type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostWidgetTypeRequest

func (*WidgetsTypesAPIService) PostWidgetTypeExecute added in v2.5.3

Execute executes the request

@return WidgetType

func (*WidgetsTypesAPIService) PutWidgetType added in v2.5.3

PutWidgetType Create or update a widget type

Create a new widget type or update it if already exists. Uses the unique widget type name for updating.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPutWidgetTypeRequest

func (*WidgetsTypesAPIService) PutWidgetTypeByName added in v2.5.3

func (a *WidgetsTypesAPIService) PutWidgetTypeByName(ctx context.Context, widgetTypeName string) ApiPutWidgetTypeByNameRequest

PutWidgetTypeByName Update a widget type

Update a widget type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param widgetTypeName The name of the widget type
@return ApiPutWidgetTypeByNameRequest

func (*WidgetsTypesAPIService) PutWidgetTypeByNameExecute added in v2.5.3

func (a *WidgetsTypesAPIService) PutWidgetTypeByNameExecute(r ApiPutWidgetTypeByNameRequest) (*WidgetType, *http.Response, error)

Execute executes the request

@return WidgetType

func (*WidgetsTypesAPIService) PutWidgetTypeExecute added in v2.5.3

Execute executes the request

@return WidgetType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL