v3

package module
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 21 Imported by: 5

README

Arduino iot-api Go client

Getting Started

The client requires a valid access token to authenticate, you can use the golang.org/x/oauth2 to easily get one with the Client Credentials OAuth2 flow:

import cc "golang.org/x/oauth2/clientcredentials"

// We need to pass the additional "audience" var to request an access token
additionalValues := url.Values{}
additionalValues.Add("audience", "https://api2.arduino.cc")
if organizationId != "" {
    additionalValues.Add("organization_id", organizationId)
}
// Set up OAuth2 configuration
config := cc.Config{
    ClientID:       clientID,
    ClientSecret:   clientSecret,
    TokenURL:       "https://api2.arduino.cc/iot/v1/clients/token",
    EndpointParams: additionalValues,
}
// Get the access token in exchange of client_id and client_secret
tok, err := config.Token(context.Background())
if err != nil {
    log.Fatalf("Error retrieving access token, %v", err)
}
// Confirm we got the token and print expiration time
log.Printf("Got an access token, will expire on %s", tok.Expiry)

For a working example, see the example folder in this repo.

How to get Arduino IoT Cloud Client Credentials

You can generate Arduino IoT Cloud Client Credentials in the ARDUINO API section in the IoT Cloud things section:

Step 1

IoT Cloud Site

Step 2

IoT Cloud Site

Step 3

IoT Cloud Site

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 (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

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

Functions

func CacheExpires

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

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

func IsNil

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 {
	DashboardsV2API *DashboardsV2APIService

	DevicesV2API *DevicesV2APIService

	DevicesV2CertsAPI *DevicesV2CertsAPIService

	DevicesV2OtaAPI *DevicesV2OtaAPIService

	DevicesV2PassAPI *DevicesV2PassAPIService

	DevicesV2TagsAPI *DevicesV2TagsAPIService

	LoraDevicesV1API *LoraDevicesV1APIService

	LoraFreqPlanV1API *LoraFreqPlanV1APIService

	NetworkCredentialsV1API *NetworkCredentialsV1APIService

	PropertiesV2API *PropertiesV2APIService

	PropertyTypesV1API *PropertyTypesV1APIService

	SeriesV2API *SeriesV2APIService

	TemplatesAPI *TemplatesAPIService

	ThingsV2API *ThingsV2APIService

	ThingsV2TagsAPI *ThingsV2TagsAPIService

	TriggersV1API *TriggersV1APIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Arduino IoT Cloud API API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiActionsV1CreateRequest added in v3.0.1

type ApiActionsV1CreateRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiActionsV1CreateRequest) CreateAction added in v3.0.1

func (ApiActionsV1CreateRequest) Execute added in v3.0.1

func (ApiActionsV1CreateRequest) XOrganization added in v3.0.1

func (r ApiActionsV1CreateRequest) XOrganization(xOrganization string) ApiActionsV1CreateRequest

type ApiActionsV1DeleteRequest added in v3.0.1

type ApiActionsV1DeleteRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiActionsV1DeleteRequest) Execute added in v3.0.1

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

func (ApiActionsV1DeleteRequest) XOrganization added in v3.0.1

func (r ApiActionsV1DeleteRequest) XOrganization(xOrganization string) ApiActionsV1DeleteRequest

type ApiActionsV1ListRequest added in v3.0.1

type ApiActionsV1ListRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiActionsV1ListRequest) Execute added in v3.0.1

func (ApiActionsV1ListRequest) XOrganization added in v3.0.1

func (r ApiActionsV1ListRequest) XOrganization(xOrganization string) ApiActionsV1ListRequest

type ApiActionsV1ShowRequest added in v3.0.1

type ApiActionsV1ShowRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiActionsV1ShowRequest) Execute added in v3.0.1

func (ApiActionsV1ShowRequest) XOrganization added in v3.0.1

func (r ApiActionsV1ShowRequest) XOrganization(xOrganization string) ApiActionsV1ShowRequest

type ApiActionsV1UpdateRequest added in v3.0.1

type ApiActionsV1UpdateRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiActionsV1UpdateRequest) Execute added in v3.0.1

func (ApiActionsV1UpdateRequest) UpdateAction added in v3.0.1

func (ApiActionsV1UpdateRequest) XOrganization added in v3.0.1

func (r ApiActionsV1UpdateRequest) XOrganization(xOrganization string) ApiActionsV1UpdateRequest

type ApiDashboardsV2CloneRequest

type ApiDashboardsV2CloneRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2CloneRequest) Clone

Add overrides used when performing a clone of a dashboard

func (ApiDashboardsV2CloneRequest) Execute

func (ApiDashboardsV2CloneRequest) XOrganization

func (r ApiDashboardsV2CloneRequest) XOrganization(xOrganization string) ApiDashboardsV2CloneRequest

Organization space identifer (optional)

type ApiDashboardsV2CreateRequest

type ApiDashboardsV2CreateRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2CreateRequest) Dashboardv2

Describes a dashboard

func (ApiDashboardsV2CreateRequest) Execute

func (ApiDashboardsV2CreateRequest) XOrganization

func (r ApiDashboardsV2CreateRequest) XOrganization(xOrganization string) ApiDashboardsV2CreateRequest

Organization space identifer (optional)

type ApiDashboardsV2DeleteRequest

type ApiDashboardsV2DeleteRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2DeleteRequest) Execute

func (ApiDashboardsV2DeleteRequest) Force added in v3.0.1

If true, hard delete the thing

func (ApiDashboardsV2DeleteRequest) XOrganization

func (r ApiDashboardsV2DeleteRequest) XOrganization(xOrganization string) ApiDashboardsV2DeleteRequest

Organization space identifer (optional)

type ApiDashboardsV2DeleteShareRequest

type ApiDashboardsV2DeleteShareRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2DeleteShareRequest) Execute

func (ApiDashboardsV2DeleteShareRequest) XOrganization

Organization space identifer (optional)

type ApiDashboardsV2LinkRequest

type ApiDashboardsV2LinkRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2LinkRequest) Execute

func (ApiDashboardsV2LinkRequest) XOrganization

func (r ApiDashboardsV2LinkRequest) XOrganization(xOrganization string) ApiDashboardsV2LinkRequest

Organization space identifer (optional)

type ApiDashboardsV2ListRequest

type ApiDashboardsV2ListRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2ListRequest) Execute

func (ApiDashboardsV2ListRequest) Name

Filter by name of the dashboard. It support like matching.

func (ApiDashboardsV2ListRequest) UserId

Filter by user_id of the dashboard's owner

func (ApiDashboardsV2ListRequest) XOrganization

func (r ApiDashboardsV2ListRequest) XOrganization(xOrganization string) ApiDashboardsV2ListRequest

Organization space identifer (optional)

type ApiDashboardsV2ListSharesRequest

type ApiDashboardsV2ListSharesRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2ListSharesRequest) Execute

func (ApiDashboardsV2ListSharesRequest) XOrganization

Organization space identifer (optional)

type ApiDashboardsV2PatchRequest added in v3.0.1

type ApiDashboardsV2PatchRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2PatchRequest) Dashboardv2 added in v3.0.1

Describes a dashboard

func (ApiDashboardsV2PatchRequest) Execute added in v3.0.1

func (ApiDashboardsV2PatchRequest) XOrganization added in v3.0.1

func (r ApiDashboardsV2PatchRequest) XOrganization(xOrganization string) ApiDashboardsV2PatchRequest

Organization space identifer (optional)

type ApiDashboardsV2RequestAccessRequest

type ApiDashboardsV2RequestAccessRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2RequestAccessRequest) Execute

func (ApiDashboardsV2RequestAccessRequest) Sharerequest

func (ApiDashboardsV2RequestAccessRequest) XOrganization

Organization space identifer (optional)

type ApiDashboardsV2ShareRequest

type ApiDashboardsV2ShareRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2ShareRequest) Dashboardshare

func (ApiDashboardsV2ShareRequest) Execute

func (ApiDashboardsV2ShareRequest) XOrganization

func (r ApiDashboardsV2ShareRequest) XOrganization(xOrganization string) ApiDashboardsV2ShareRequest

Organization space identifer (optional)

type ApiDashboardsV2ShowRequest

type ApiDashboardsV2ShowRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2ShowRequest) Execute

func (ApiDashboardsV2ShowRequest) XOrganization

func (r ApiDashboardsV2ShowRequest) XOrganization(xOrganization string) ApiDashboardsV2ShowRequest

Organization space identifer (optional)

type ApiDashboardsV2TemplateRequest

type ApiDashboardsV2TemplateRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2TemplateRequest) Execute

func (ApiDashboardsV2TemplateRequest) XOrganization

Organization space identifer (optional)

type ApiDashboardsV2UpdateRequest

type ApiDashboardsV2UpdateRequest struct {
	ApiService *DashboardsV2APIService
	// contains filtered or unexported fields
}

func (ApiDashboardsV2UpdateRequest) Dashboardv2

Describes a dashboard

func (ApiDashboardsV2UpdateRequest) Execute

func (ApiDashboardsV2UpdateRequest) XOrganization

func (r ApiDashboardsV2UpdateRequest) XOrganization(xOrganization string) ApiDashboardsV2UpdateRequest

Organization space identifer (optional)

type ApiDevicesV2CertsCreateRequest

type ApiDevicesV2CertsCreateRequest struct {
	ApiService *DevicesV2CertsAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2CertsCreateRequest) CreateDevicesV2CertsPayload

func (r ApiDevicesV2CertsCreateRequest) CreateDevicesV2CertsPayload(createDevicesV2CertsPayload CreateDevicesV2CertsPayload) ApiDevicesV2CertsCreateRequest

func (ApiDevicesV2CertsCreateRequest) Execute

type ApiDevicesV2CertsDeleteRequest

type ApiDevicesV2CertsDeleteRequest struct {
	ApiService *DevicesV2CertsAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2CertsDeleteRequest) Execute

type ApiDevicesV2CertsListRequest

type ApiDevicesV2CertsListRequest struct {
	ApiService *DevicesV2CertsAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2CertsListRequest) Execute

type ApiDevicesV2CertsShowRequest

type ApiDevicesV2CertsShowRequest struct {
	ApiService *DevicesV2CertsAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2CertsShowRequest) Execute

type ApiDevicesV2CertsUpdateRequest

type ApiDevicesV2CertsUpdateRequest struct {
	ApiService *DevicesV2CertsAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2CertsUpdateRequest) Devicev2Cert

func (ApiDevicesV2CertsUpdateRequest) Execute

type ApiDevicesV2CreateRequest

type ApiDevicesV2CreateRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2CreateRequest) CreateDevicesV2Payload

func (r ApiDevicesV2CreateRequest) CreateDevicesV2Payload(createDevicesV2Payload CreateDevicesV2Payload) ApiDevicesV2CreateRequest

DeviceV2 describes a device.

func (ApiDevicesV2CreateRequest) Execute

func (ApiDevicesV2CreateRequest) XOrganization

func (r ApiDevicesV2CreateRequest) XOrganization(xOrganization string) ApiDevicesV2CreateRequest

Organization space identifer (optional)

type ApiDevicesV2DeleteRequest

type ApiDevicesV2DeleteRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2DeleteRequest) Execute

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

func (ApiDevicesV2DeleteRequest) Force added in v3.0.1

If true, hard delete the device

func (ApiDevicesV2DeleteRequest) XOrganization

func (r ApiDevicesV2DeleteRequest) XOrganization(xOrganization string) ApiDevicesV2DeleteRequest

Organization space identifer (optional)

type ApiDevicesV2GetEventsRequest

type ApiDevicesV2GetEventsRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2GetEventsRequest) Execute

func (ApiDevicesV2GetEventsRequest) Limit

The number of events to select

func (ApiDevicesV2GetEventsRequest) Start

The time at which to start selecting events

func (ApiDevicesV2GetEventsRequest) XOrganization

func (r ApiDevicesV2GetEventsRequest) XOrganization(xOrganization string) ApiDevicesV2GetEventsRequest

Organization space identifer (optional)

type ApiDevicesV2GetPropertiesRequest

type ApiDevicesV2GetPropertiesRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2GetPropertiesRequest) Execute

func (ApiDevicesV2GetPropertiesRequest) ShowDeleted

If true, shows the soft deleted properties

func (ApiDevicesV2GetPropertiesRequest) XOrganization

Organization space identifer (optional)

type ApiDevicesV2GetStatusEventsRequest

type ApiDevicesV2GetStatusEventsRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2GetStatusEventsRequest) Execute

func (ApiDevicesV2GetStatusEventsRequest) Limit

The number of events to select

func (ApiDevicesV2GetStatusEventsRequest) Start

The time at which to start selecting events

func (ApiDevicesV2GetStatusEventsRequest) XOrganization

Organization space identifer (optional)

type ApiDevicesV2ListRequest

type ApiDevicesV2ListRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2ListRequest) AcrossUserIds

func (r ApiDevicesV2ListRequest) AcrossUserIds(acrossUserIds bool) ApiDevicesV2ListRequest

If true, returns all the devices

func (ApiDevicesV2ListRequest) Execute

func (ApiDevicesV2ListRequest) Serial

Filter by device serial number

func (ApiDevicesV2ListRequest) ShowDeleted added in v3.0.1

func (r ApiDevicesV2ListRequest) ShowDeleted(showDeleted bool) ApiDevicesV2ListRequest

If true, shows the soft deleted devices

func (ApiDevicesV2ListRequest) Tags

Filter by tags

func (ApiDevicesV2ListRequest) XOrganization

func (r ApiDevicesV2ListRequest) XOrganization(xOrganization string) ApiDevicesV2ListRequest

Organization space identifer (optional)

type ApiDevicesV2OtaSendRequest

type ApiDevicesV2OtaSendRequest struct {
	ApiService *DevicesV2OtaAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2OtaSendRequest) Devicev2Otabinaryurl

func (r ApiDevicesV2OtaSendRequest) Devicev2Otabinaryurl(devicev2Otabinaryurl Devicev2Otabinaryurl) ApiDevicesV2OtaSendRequest

func (ApiDevicesV2OtaSendRequest) Execute

type ApiDevicesV2OtaUploadRequest

type ApiDevicesV2OtaUploadRequest struct {
	ApiService *DevicesV2OtaAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2OtaUploadRequest) Async

If false, wait for the full OTA process, until it gets a result from the device

func (ApiDevicesV2OtaUploadRequest) Execute

func (ApiDevicesV2OtaUploadRequest) ExpireInMins

Binary expire time in minutes, default 10 mins

func (ApiDevicesV2OtaUploadRequest) OtaFile

OTA file

type ApiDevicesV2OtaUrlRequest

type ApiDevicesV2OtaUrlRequest struct {
	ApiService *DevicesV2OtaAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2OtaUrlRequest) Devicev2Otaurlpyalod

func (r ApiDevicesV2OtaUrlRequest) Devicev2Otaurlpyalod(devicev2Otaurlpyalod Devicev2Otaurlpyalod) ApiDevicesV2OtaUrlRequest

func (ApiDevicesV2OtaUrlRequest) Execute

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

type ApiDevicesV2PassCheckRequest

type ApiDevicesV2PassCheckRequest struct {
	ApiService *DevicesV2PassAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2PassCheckRequest) CheckDevicesV2PassPayload

func (r ApiDevicesV2PassCheckRequest) CheckDevicesV2PassPayload(checkDevicesV2PassPayload CheckDevicesV2PassPayload) ApiDevicesV2PassCheckRequest

func (ApiDevicesV2PassCheckRequest) Execute

type ApiDevicesV2PassDeleteRequest

type ApiDevicesV2PassDeleteRequest struct {
	ApiService *DevicesV2PassAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2PassDeleteRequest) Execute

type ApiDevicesV2PassGetRequest

type ApiDevicesV2PassGetRequest struct {
	ApiService *DevicesV2PassAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2PassGetRequest) Execute

func (ApiDevicesV2PassGetRequest) SuggestedPassword

func (r ApiDevicesV2PassGetRequest) SuggestedPassword(suggestedPassword bool) ApiDevicesV2PassGetRequest

If true, return a suggested password

type ApiDevicesV2PassSetRequest

type ApiDevicesV2PassSetRequest struct {
	ApiService *DevicesV2PassAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2PassSetRequest) Devicev2Pass

func (ApiDevicesV2PassSetRequest) Execute

type ApiDevicesV2ShowRequest

type ApiDevicesV2ShowRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2ShowRequest) Execute

func (ApiDevicesV2ShowRequest) XOrganization

func (r ApiDevicesV2ShowRequest) XOrganization(xOrganization string) ApiDevicesV2ShowRequest

Organization space identifer (optional)

type ApiDevicesV2TagsDeleteRequest

type ApiDevicesV2TagsDeleteRequest struct {
	ApiService *DevicesV2TagsAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2TagsDeleteRequest) Execute

type ApiDevicesV2TagsListRequest

type ApiDevicesV2TagsListRequest struct {
	ApiService *DevicesV2TagsAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2TagsListRequest) Execute

type ApiDevicesV2TagsUpsertRequest

type ApiDevicesV2TagsUpsertRequest struct {
	ApiService *DevicesV2TagsAPIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2TagsUpsertRequest) Execute

func (ApiDevicesV2TagsUpsertRequest) Tag

type ApiDevicesV2TimeseriesRequest

type ApiDevicesV2TimeseriesRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2TimeseriesRequest) Execute

func (ApiDevicesV2TimeseriesRequest) Limit

The number of properties to select

func (ApiDevicesV2TimeseriesRequest) Start

The time at which to start selecting properties

func (ApiDevicesV2TimeseriesRequest) XOrganization

Organization space identifer (optional)

type ApiDevicesV2UpdatePropertiesRequest

type ApiDevicesV2UpdatePropertiesRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2UpdatePropertiesRequest) Execute

func (ApiDevicesV2UpdatePropertiesRequest) PropertiesValues

func (ApiDevicesV2UpdatePropertiesRequest) XOrganization

Organization space identifer (optional)

type ApiDevicesV2UpdateRequest

type ApiDevicesV2UpdateRequest struct {
	ApiService *DevicesV2APIService
	// contains filtered or unexported fields
}

func (ApiDevicesV2UpdateRequest) Devicev2

DeviceV2 describes a device.

func (ApiDevicesV2UpdateRequest) Execute

func (ApiDevicesV2UpdateRequest) XOrganization

func (r ApiDevicesV2UpdateRequest) XOrganization(xOrganization string) ApiDevicesV2UpdateRequest

Organization space identifer (optional)

type ApiLoraDevicesV1CreateRequest

type ApiLoraDevicesV1CreateRequest struct {
	ApiService *LoraDevicesV1APIService
	// contains filtered or unexported fields
}

func (ApiLoraDevicesV1CreateRequest) CreateLoraDevicesV1Payload

func (r ApiLoraDevicesV1CreateRequest) CreateLoraDevicesV1Payload(createLoraDevicesV1Payload CreateLoraDevicesV1Payload) ApiLoraDevicesV1CreateRequest

func (ApiLoraDevicesV1CreateRequest) Execute

func (ApiLoraDevicesV1CreateRequest) XOrganization

Organization space identifer (optional)

type ApiLoraFreqPlanV1ListRequest

type ApiLoraFreqPlanV1ListRequest struct {
	ApiService *LoraFreqPlanV1APIService
	// contains filtered or unexported fields
}

func (ApiLoraFreqPlanV1ListRequest) Execute

type ApiNetworkCredentialsV1ShowByDeviceRequest

type ApiNetworkCredentialsV1ShowByDeviceRequest struct {
	ApiService *NetworkCredentialsV1APIService
	// contains filtered or unexported fields
}

func (ApiNetworkCredentialsV1ShowByDeviceRequest) Execute

type ApiNetworkCredentialsV1ShowRequest

type ApiNetworkCredentialsV1ShowRequest struct {
	ApiService *NetworkCredentialsV1APIService
	// contains filtered or unexported fields
}

func (ApiNetworkCredentialsV1ShowRequest) Connection

Connection used by the device

func (ApiNetworkCredentialsV1ShowRequest) Execute

type ApiPropertiesV2CreateRequest

type ApiPropertiesV2CreateRequest struct {
	ApiService *PropertiesV2APIService
	// contains filtered or unexported fields
}

func (ApiPropertiesV2CreateRequest) Execute

func (ApiPropertiesV2CreateRequest) Property

PropertyPayload describes a property of a thing. No field is mandatory

func (ApiPropertiesV2CreateRequest) XOrganization

func (r ApiPropertiesV2CreateRequest) XOrganization(xOrganization string) ApiPropertiesV2CreateRequest

Organization space identifer (optional)

type ApiPropertiesV2DeleteRequest

type ApiPropertiesV2DeleteRequest struct {
	ApiService *PropertiesV2APIService
	// contains filtered or unexported fields
}

func (ApiPropertiesV2DeleteRequest) Execute

func (ApiPropertiesV2DeleteRequest) Force

If true, hard delete the property

func (ApiPropertiesV2DeleteRequest) XOrganization

func (r ApiPropertiesV2DeleteRequest) XOrganization(xOrganization string) ApiPropertiesV2DeleteRequest

Organization space identifer (optional)

type ApiPropertiesV2ListRequest

type ApiPropertiesV2ListRequest struct {
	ApiService *PropertiesV2APIService
	// contains filtered or unexported fields
}

func (ApiPropertiesV2ListRequest) Execute

func (ApiPropertiesV2ListRequest) ShowDeleted

func (r ApiPropertiesV2ListRequest) ShowDeleted(showDeleted bool) ApiPropertiesV2ListRequest

If true, shows the soft deleted properties

func (ApiPropertiesV2ListRequest) XOrganization

func (r ApiPropertiesV2ListRequest) XOrganization(xOrganization string) ApiPropertiesV2ListRequest

Organization space identifer (optional)

type ApiPropertiesV2PublishRequest

type ApiPropertiesV2PublishRequest struct {
	ApiService *PropertiesV2APIService
	// contains filtered or unexported fields
}

func (ApiPropertiesV2PublishRequest) Execute

func (ApiPropertiesV2PublishRequest) PropertyValue

PropertyValuePayload describes a property value

func (ApiPropertiesV2PublishRequest) XOrganization

Organization space identifer (optional)

type ApiPropertiesV2ShowRequest

type ApiPropertiesV2ShowRequest struct {
	ApiService *PropertiesV2APIService
	// contains filtered or unexported fields
}

func (ApiPropertiesV2ShowRequest) Execute

func (ApiPropertiesV2ShowRequest) ShowDeleted

func (r ApiPropertiesV2ShowRequest) ShowDeleted(showDeleted bool) ApiPropertiesV2ShowRequest

If true, shows the soft deleted properties

func (ApiPropertiesV2ShowRequest) XOrganization

func (r ApiPropertiesV2ShowRequest) XOrganization(xOrganization string) ApiPropertiesV2ShowRequest

Organization space identifer (optional)

type ApiPropertiesV2TimeseriesRequest

type ApiPropertiesV2TimeseriesRequest struct {
	ApiService *PropertiesV2APIService
	// contains filtered or unexported fields
}

func (ApiPropertiesV2TimeseriesRequest) Aggregation

Samples aggregation statistic. Supported aggregations AVG|MAX|MIN|COUNT|SUM|PCT_99|PCT_95|PCT_90|PCT_75|PCT_50|PCT_15|PCT_5

func (ApiPropertiesV2TimeseriesRequest) Desc

Whether data's ordering (by time) should be descending

func (ApiPropertiesV2TimeseriesRequest) Execute

func (ApiPropertiesV2TimeseriesRequest) From

Get data with a timestamp >= to this date (default: 2 weeks ago, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z)

func (ApiPropertiesV2TimeseriesRequest) Interval

Binning interval in seconds (defaut: the smallest possible value compatibly with the limit of 1000 data points in the response)

func (ApiPropertiesV2TimeseriesRequest) To

Get data with a timestamp < to this date (default: now, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z)

func (ApiPropertiesV2TimeseriesRequest) XOrganization

Organization space identifer (optional)

type ApiPropertiesV2UpdateRequest

type ApiPropertiesV2UpdateRequest struct {
	ApiService *PropertiesV2APIService
	// contains filtered or unexported fields
}

func (ApiPropertiesV2UpdateRequest) Execute

func (ApiPropertiesV2UpdateRequest) Property

PropertyPayload describes a property of a thing. No field is mandatory

func (ApiPropertiesV2UpdateRequest) XOrganization

func (r ApiPropertiesV2UpdateRequest) XOrganization(xOrganization string) ApiPropertiesV2UpdateRequest

Organization space identifer (optional)

type ApiPropertyTypesV1ListTypesRequest

type ApiPropertyTypesV1ListTypesRequest struct {
	ApiService *PropertyTypesV1APIService
	// contains filtered or unexported fields
}

func (ApiPropertyTypesV1ListTypesRequest) Execute

type ApiSeriesV2BatchQueryRawLastValueRequest

type ApiSeriesV2BatchQueryRawLastValueRequest struct {
	ApiService *SeriesV2APIService
	// contains filtered or unexported fields
}

func (ApiSeriesV2BatchQueryRawLastValueRequest) BatchLastValueRequestsMediaV1

func (r ApiSeriesV2BatchQueryRawLastValueRequest) BatchLastValueRequestsMediaV1(batchLastValueRequestsMediaV1 BatchLastValueRequestsMediaV1) ApiSeriesV2BatchQueryRawLastValueRequest

func (ApiSeriesV2BatchQueryRawLastValueRequest) Execute

func (ApiSeriesV2BatchQueryRawLastValueRequest) XOrganization

Organization space identifer (optional)

type ApiSeriesV2BatchQueryRawRequest

type ApiSeriesV2BatchQueryRawRequest struct {
	ApiService *SeriesV2APIService
	// contains filtered or unexported fields
}

func (ApiSeriesV2BatchQueryRawRequest) BatchQueryRawRequestsMediaV1

func (r ApiSeriesV2BatchQueryRawRequest) BatchQueryRawRequestsMediaV1(batchQueryRawRequestsMediaV1 BatchQueryRawRequestsMediaV1) ApiSeriesV2BatchQueryRawRequest

func (ApiSeriesV2BatchQueryRawRequest) Execute

func (ApiSeriesV2BatchQueryRawRequest) XOrganization

Organization space identifer (optional)

type ApiSeriesV2BatchQueryRequest

type ApiSeriesV2BatchQueryRequest struct {
	ApiService *SeriesV2APIService
	// contains filtered or unexported fields
}

func (ApiSeriesV2BatchQueryRequest) BatchQueryRequestsMediaV1

func (r ApiSeriesV2BatchQueryRequest) BatchQueryRequestsMediaV1(batchQueryRequestsMediaV1 BatchQueryRequestsMediaV1) ApiSeriesV2BatchQueryRequest

func (ApiSeriesV2BatchQueryRequest) Execute

func (ApiSeriesV2BatchQueryRequest) XOrganization

func (r ApiSeriesV2BatchQueryRequest) XOrganization(xOrganization string) ApiSeriesV2BatchQueryRequest

Organization space identifer (optional)

type ApiSeriesV2BatchQuerySamplingRequest

type ApiSeriesV2BatchQuerySamplingRequest struct {
	ApiService *SeriesV2APIService
	// contains filtered or unexported fields
}

func (ApiSeriesV2BatchQuerySamplingRequest) BatchQuerySampledRequestsMediaV1

func (r ApiSeriesV2BatchQuerySamplingRequest) BatchQuerySampledRequestsMediaV1(batchQuerySampledRequestsMediaV1 BatchQuerySampledRequestsMediaV1) ApiSeriesV2BatchQuerySamplingRequest

func (ApiSeriesV2BatchQuerySamplingRequest) Execute

func (ApiSeriesV2BatchQuerySamplingRequest) XOrganization

Organization space identifer (optional)

type ApiSeriesV2HistoricDataRequest

type ApiSeriesV2HistoricDataRequest struct {
	ApiService *SeriesV2APIService
	// contains filtered or unexported fields
}

func (ApiSeriesV2HistoricDataRequest) Execute

func (ApiSeriesV2HistoricDataRequest) HistoricDataRequest

func (r ApiSeriesV2HistoricDataRequest) HistoricDataRequest(historicDataRequest HistoricDataRequest) ApiSeriesV2HistoricDataRequest

func (ApiSeriesV2HistoricDataRequest) XOrganization

Organization space identifer (optional)

type ApiTemplatesApplyRequest

type ApiTemplatesApplyRequest struct {
	ApiService *TemplatesAPIService
	// contains filtered or unexported fields
}

func (ApiTemplatesApplyRequest) Execute

func (ApiTemplatesApplyRequest) Template

TemplatePayload describes the needed attribute to apply a template

func (ApiTemplatesApplyRequest) XOrganization

func (r ApiTemplatesApplyRequest) XOrganization(xOrganization string) ApiTemplatesApplyRequest

Organization space identifer (optional)

type ApiThingsV2CloneRequest

type ApiThingsV2CloneRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2CloneRequest) Execute

func (ApiThingsV2CloneRequest) ThingClone

Payload to clone a new thing from an existing one

func (ApiThingsV2CloneRequest) XOrganization

func (r ApiThingsV2CloneRequest) XOrganization(xOrganization string) ApiThingsV2CloneRequest

Organization space identifer (optional)

type ApiThingsV2CreateRequest

type ApiThingsV2CreateRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2CreateRequest) Execute

func (ApiThingsV2CreateRequest) Force

If true, detach device from the other thing, and attach to this thing

func (ApiThingsV2CreateRequest) ThingCreate

Payload to create a new thing

func (ApiThingsV2CreateRequest) XOrganization

func (r ApiThingsV2CreateRequest) XOrganization(xOrganization string) ApiThingsV2CreateRequest

Organization space identifer (optional)

type ApiThingsV2CreateSketchRequest

type ApiThingsV2CreateSketchRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2CreateSketchRequest) Execute

func (ApiThingsV2CreateSketchRequest) ThingSketch

ThingSketchPayload describes a sketch of a thing

func (ApiThingsV2CreateSketchRequest) XOrganization

Organization space identifer (optional)

type ApiThingsV2DeleteRequest

type ApiThingsV2DeleteRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2DeleteRequest) Execute

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

func (ApiThingsV2DeleteRequest) Force

If true, hard delete the thing

func (ApiThingsV2DeleteRequest) XOrganization

func (r ApiThingsV2DeleteRequest) XOrganization(xOrganization string) ApiThingsV2DeleteRequest

Organization space identifer (optional)

type ApiThingsV2DeleteSketchRequest

type ApiThingsV2DeleteSketchRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2DeleteSketchRequest) Execute

func (ApiThingsV2DeleteSketchRequest) XOrganization

Organization space identifer (optional)

type ApiThingsV2ListRequest

type ApiThingsV2ListRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2ListRequest) AcrossUserIds

func (r ApiThingsV2ListRequest) AcrossUserIds(acrossUserIds bool) ApiThingsV2ListRequest

If true, returns all the things

func (ApiThingsV2ListRequest) DeviceId

The id of the device you want to filter

func (ApiThingsV2ListRequest) Execute

func (ApiThingsV2ListRequest) Ids

Filter only the desired things

func (ApiThingsV2ListRequest) ShowDeleted

func (r ApiThingsV2ListRequest) ShowDeleted(showDeleted bool) ApiThingsV2ListRequest

If true, shows the soft deleted things

func (ApiThingsV2ListRequest) ShowProperties

func (r ApiThingsV2ListRequest) ShowProperties(showProperties bool) ApiThingsV2ListRequest

If true, returns things with their properties, and last values

func (ApiThingsV2ListRequest) Tags

Filter by tags

func (ApiThingsV2ListRequest) XOrganization

func (r ApiThingsV2ListRequest) XOrganization(xOrganization string) ApiThingsV2ListRequest

Organization space identifer (optional)

type ApiThingsV2ShowRequest

type ApiThingsV2ShowRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2ShowRequest) Execute

func (ApiThingsV2ShowRequest) ShowDeleted

func (r ApiThingsV2ShowRequest) ShowDeleted(showDeleted bool) ApiThingsV2ShowRequest

If true, shows the soft deleted thing

func (ApiThingsV2ShowRequest) XOrganization

func (r ApiThingsV2ShowRequest) XOrganization(xOrganization string) ApiThingsV2ShowRequest

Organization space identifer (optional)

type ApiThingsV2TagsDeleteRequest

type ApiThingsV2TagsDeleteRequest struct {
	ApiService *ThingsV2TagsAPIService
	// contains filtered or unexported fields
}

func (ApiThingsV2TagsDeleteRequest) Execute

type ApiThingsV2TagsListRequest

type ApiThingsV2TagsListRequest struct {
	ApiService *ThingsV2TagsAPIService
	// contains filtered or unexported fields
}

func (ApiThingsV2TagsListRequest) Execute

type ApiThingsV2TagsUpsertRequest

type ApiThingsV2TagsUpsertRequest struct {
	ApiService *ThingsV2TagsAPIService
	// contains filtered or unexported fields
}

func (ApiThingsV2TagsUpsertRequest) Execute

func (ApiThingsV2TagsUpsertRequest) Tag

type ApiThingsV2TemplateRequest

type ApiThingsV2TemplateRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2TemplateRequest) Execute

func (ApiThingsV2TemplateRequest) XOrganization

func (r ApiThingsV2TemplateRequest) XOrganization(xOrganization string) ApiThingsV2TemplateRequest

Organization space identifer (optional)

type ApiThingsV2UpdateRequest

type ApiThingsV2UpdateRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2UpdateRequest) Execute

func (ApiThingsV2UpdateRequest) Force

If true, detach device from the other thing, and attach to this thing

func (ApiThingsV2UpdateRequest) ThingUpdate

Payload to update an existing thing

func (ApiThingsV2UpdateRequest) XOrganization

func (r ApiThingsV2UpdateRequest) XOrganization(xOrganization string) ApiThingsV2UpdateRequest

Organization space identifer (optional)

type ApiThingsV2UpdateSketchRequest

type ApiThingsV2UpdateSketchRequest struct {
	ApiService *ThingsV2APIService
	// contains filtered or unexported fields
}

func (ApiThingsV2UpdateSketchRequest) Execute

func (ApiThingsV2UpdateSketchRequest) UpdateSketch

func (ApiThingsV2UpdateSketchRequest) XOrganization

Organization space identifer (optional)

type ApiTriggersV1CreateRequest added in v3.0.1

type ApiTriggersV1CreateRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiTriggersV1CreateRequest) Execute added in v3.0.1

func (ApiTriggersV1CreateRequest) Trigger added in v3.0.1

func (ApiTriggersV1CreateRequest) XOrganization added in v3.0.1

func (r ApiTriggersV1CreateRequest) XOrganization(xOrganization string) ApiTriggersV1CreateRequest

type ApiTriggersV1DeleteRequest added in v3.0.1

type ApiTriggersV1DeleteRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiTriggersV1DeleteRequest) Execute added in v3.0.1

func (ApiTriggersV1DeleteRequest) Force added in v3.0.1

If true, hard delete the trigger

func (ApiTriggersV1DeleteRequest) XOrganization added in v3.0.1

func (r ApiTriggersV1DeleteRequest) XOrganization(xOrganization string) ApiTriggersV1DeleteRequest

type ApiTriggersV1ListRequest added in v3.0.1

type ApiTriggersV1ListRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiTriggersV1ListRequest) DeviceId added in v3.0.1

The id of the device associated with the triggers (mutually exclusive with 'property_id')

func (ApiTriggersV1ListRequest) Execute added in v3.0.1

func (ApiTriggersV1ListRequest) PropertyId added in v3.0.1

func (r ApiTriggersV1ListRequest) PropertyId(propertyId string) ApiTriggersV1ListRequest

The id of the property associated with the triggers (mutually exclusive with 'device_id')

func (ApiTriggersV1ListRequest) ShowDeleted added in v3.0.1

func (r ApiTriggersV1ListRequest) ShowDeleted(showDeleted bool) ApiTriggersV1ListRequest

If true, shows the soft deleted triggers

func (ApiTriggersV1ListRequest) SourceType added in v3.0.1

func (r ApiTriggersV1ListRequest) SourceType(sourceType string) ApiTriggersV1ListRequest

The source type of the trigger, could be PROPERTY, DEVICE_INCLUDE or DEVICE_EXCLUDE

func (ApiTriggersV1ListRequest) XOrganization added in v3.0.1

func (r ApiTriggersV1ListRequest) XOrganization(xOrganization string) ApiTriggersV1ListRequest

type ApiTriggersV1PatchRequest added in v3.0.1

type ApiTriggersV1PatchRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiTriggersV1PatchRequest) Execute added in v3.0.1

func (ApiTriggersV1PatchRequest) Trigger added in v3.0.1

func (ApiTriggersV1PatchRequest) XOrganization added in v3.0.1

func (r ApiTriggersV1PatchRequest) XOrganization(xOrganization string) ApiTriggersV1PatchRequest

type ApiTriggersV1ShowRequest added in v3.0.1

type ApiTriggersV1ShowRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiTriggersV1ShowRequest) Execute added in v3.0.1

func (ApiTriggersV1ShowRequest) XOrganization added in v3.0.1

func (r ApiTriggersV1ShowRequest) XOrganization(xOrganization string) ApiTriggersV1ShowRequest

type ApiTriggersV1TemplateRequest added in v3.0.1

type ApiTriggersV1TemplateRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiTriggersV1TemplateRequest) Execute added in v3.0.1

func (ApiTriggersV1TemplateRequest) XOrganization added in v3.0.1

func (r ApiTriggersV1TemplateRequest) XOrganization(xOrganization string) ApiTriggersV1TemplateRequest

type ApiTriggersV1UpdateRequest added in v3.0.1

type ApiTriggersV1UpdateRequest struct {
	ApiService *TriggersV1APIService
	// contains filtered or unexported fields
}

func (ApiTriggersV1UpdateRequest) Execute added in v3.0.1

func (ApiTriggersV1UpdateRequest) Trigger added in v3.0.1

func (ApiTriggersV1UpdateRequest) XOrganization added in v3.0.1

func (r ApiTriggersV1UpdateRequest) XOrganization(xOrganization string) ApiTriggersV1UpdateRequest

type ArduinoAction added in v3.0.1

type ArduinoAction struct {
	// Id of the user who created the action
	CreatedBy *string `json:"created_by,omitempty"`
	// The description of the action
	Description *string      `json:"description,omitempty"`
	Email       *EmailAction `json:"email,omitempty"`
	// The id of the action
	Id *string `json:"id,omitempty"`
	// The kind of the action
	Kind *string `json:"kind,omitempty"`
	// The name of the action
	Name *string `json:"name,omitempty"`
	// Id of the organization the trigger belongs to
	OrganizationId   *string     `json:"organization_id,omitempty"`
	PushNotification *PushAction `json:"push_notification,omitempty"`
	// Id of the trigger the action is associated to
	TriggerId *string `json:"trigger_id,omitempty"`
}

ArduinoAction ArduinoAction media type (default view)

func NewArduinoAction added in v3.0.1

func NewArduinoAction() *ArduinoAction

NewArduinoAction instantiates a new ArduinoAction 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 NewArduinoActionWithDefaults added in v3.0.1

func NewArduinoActionWithDefaults() *ArduinoAction

NewArduinoActionWithDefaults instantiates a new ArduinoAction 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 (*ArduinoAction) GetCreatedBy added in v3.0.1

func (o *ArduinoAction) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*ArduinoAction) GetCreatedByOk added in v3.0.1

func (o *ArduinoAction) GetCreatedByOk() (*string, bool)

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

func (*ArduinoAction) GetDescription added in v3.0.1

func (o *ArduinoAction) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ArduinoAction) GetDescriptionOk added in v3.0.1

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

func (*ArduinoAction) GetEmail added in v3.0.1

func (o *ArduinoAction) GetEmail() EmailAction

GetEmail returns the Email field value if set, zero value otherwise.

func (*ArduinoAction) GetEmailOk added in v3.0.1

func (o *ArduinoAction) GetEmailOk() (*EmailAction, bool)

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

func (*ArduinoAction) GetId added in v3.0.1

func (o *ArduinoAction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ArduinoAction) GetIdOk added in v3.0.1

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

func (*ArduinoAction) GetKind added in v3.0.1

func (o *ArduinoAction) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ArduinoAction) GetKindOk added in v3.0.1

func (o *ArduinoAction) GetKindOk() (*string, bool)

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

func (*ArduinoAction) GetName added in v3.0.1

func (o *ArduinoAction) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ArduinoAction) GetNameOk added in v3.0.1

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

func (*ArduinoAction) GetOrganizationId added in v3.0.1

func (o *ArduinoAction) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoAction) GetOrganizationIdOk added in v3.0.1

func (o *ArduinoAction) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoAction) GetPushNotification added in v3.0.1

func (o *ArduinoAction) GetPushNotification() PushAction

GetPushNotification returns the PushNotification field value if set, zero value otherwise.

func (*ArduinoAction) GetPushNotificationOk added in v3.0.1

func (o *ArduinoAction) GetPushNotificationOk() (*PushAction, bool)

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

func (*ArduinoAction) GetTriggerId added in v3.0.1

func (o *ArduinoAction) GetTriggerId() string

GetTriggerId returns the TriggerId field value if set, zero value otherwise.

func (*ArduinoAction) GetTriggerIdOk added in v3.0.1

func (o *ArduinoAction) GetTriggerIdOk() (*string, bool)

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

func (*ArduinoAction) HasCreatedBy added in v3.0.1

func (o *ArduinoAction) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ArduinoAction) HasDescription added in v3.0.1

func (o *ArduinoAction) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ArduinoAction) HasEmail added in v3.0.1

func (o *ArduinoAction) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ArduinoAction) HasId added in v3.0.1

func (o *ArduinoAction) HasId() bool

HasId returns a boolean if a field has been set.

func (*ArduinoAction) HasKind added in v3.0.1

func (o *ArduinoAction) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ArduinoAction) HasName added in v3.0.1

func (o *ArduinoAction) HasName() bool

HasName returns a boolean if a field has been set.

func (*ArduinoAction) HasOrganizationId added in v3.0.1

func (o *ArduinoAction) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ArduinoAction) HasPushNotification added in v3.0.1

func (o *ArduinoAction) HasPushNotification() bool

HasPushNotification returns a boolean if a field has been set.

func (*ArduinoAction) HasTriggerId added in v3.0.1

func (o *ArduinoAction) HasTriggerId() bool

HasTriggerId returns a boolean if a field has been set.

func (ArduinoAction) MarshalJSON added in v3.0.1

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

func (*ArduinoAction) SetCreatedBy added in v3.0.1

func (o *ArduinoAction) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*ArduinoAction) SetDescription added in v3.0.1

func (o *ArduinoAction) SetDescription(v string)

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

func (*ArduinoAction) SetEmail added in v3.0.1

func (o *ArduinoAction) SetEmail(v EmailAction)

SetEmail gets a reference to the given EmailAction and assigns it to the Email field.

func (*ArduinoAction) SetId added in v3.0.1

func (o *ArduinoAction) SetId(v string)

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

func (*ArduinoAction) SetKind added in v3.0.1

func (o *ArduinoAction) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ArduinoAction) SetName added in v3.0.1

func (o *ArduinoAction) SetName(v string)

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

func (*ArduinoAction) SetOrganizationId added in v3.0.1

func (o *ArduinoAction) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ArduinoAction) SetPushNotification added in v3.0.1

func (o *ArduinoAction) SetPushNotification(v PushAction)

SetPushNotification gets a reference to the given PushAction and assigns it to the PushNotification field.

func (*ArduinoAction) SetTriggerId added in v3.0.1

func (o *ArduinoAction) SetTriggerId(v string)

SetTriggerId gets a reference to the given string and assigns it to the TriggerId field.

func (ArduinoAction) ToMap added in v3.0.1

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

type ArduinoActionTemplate added in v3.0.1

type ArduinoActionTemplate struct {
	// The description of the action
	Description *string      `json:"description,omitempty"`
	Email       *EmailAction `json:"email,omitempty"`
	// The kind of the action
	Kind *string `json:"kind,omitempty"`
	// The name of the action
	Name *string `json:"name,omitempty"`
	// Id of the organization the trigger belongs to
	OrganizationId   *string     `json:"organization_id,omitempty"`
	PushNotification *PushAction `json:"push_notification,omitempty"`
}

ArduinoActionTemplate ArduinoAction_template media type (default view)

func NewArduinoActionTemplate added in v3.0.1

func NewArduinoActionTemplate() *ArduinoActionTemplate

NewArduinoActionTemplate instantiates a new ArduinoActionTemplate 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 NewArduinoActionTemplateWithDefaults added in v3.0.1

func NewArduinoActionTemplateWithDefaults() *ArduinoActionTemplate

NewArduinoActionTemplateWithDefaults instantiates a new ArduinoActionTemplate 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 (*ArduinoActionTemplate) GetDescription added in v3.0.1

func (o *ArduinoActionTemplate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ArduinoActionTemplate) GetDescriptionOk added in v3.0.1

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

func (*ArduinoActionTemplate) GetEmail added in v3.0.1

func (o *ArduinoActionTemplate) GetEmail() EmailAction

GetEmail returns the Email field value if set, zero value otherwise.

func (*ArduinoActionTemplate) GetEmailOk added in v3.0.1

func (o *ArduinoActionTemplate) GetEmailOk() (*EmailAction, bool)

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

func (*ArduinoActionTemplate) GetKind added in v3.0.1

func (o *ArduinoActionTemplate) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ArduinoActionTemplate) GetKindOk added in v3.0.1

func (o *ArduinoActionTemplate) GetKindOk() (*string, bool)

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

func (*ArduinoActionTemplate) GetName added in v3.0.1

func (o *ArduinoActionTemplate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ArduinoActionTemplate) GetNameOk added in v3.0.1

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

func (*ArduinoActionTemplate) GetOrganizationId added in v3.0.1

func (o *ArduinoActionTemplate) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoActionTemplate) GetOrganizationIdOk added in v3.0.1

func (o *ArduinoActionTemplate) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoActionTemplate) GetPushNotification added in v3.0.1

func (o *ArduinoActionTemplate) GetPushNotification() PushAction

GetPushNotification returns the PushNotification field value if set, zero value otherwise.

func (*ArduinoActionTemplate) GetPushNotificationOk added in v3.0.1

func (o *ArduinoActionTemplate) GetPushNotificationOk() (*PushAction, bool)

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

func (*ArduinoActionTemplate) HasDescription added in v3.0.1

func (o *ArduinoActionTemplate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ArduinoActionTemplate) HasEmail added in v3.0.1

func (o *ArduinoActionTemplate) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ArduinoActionTemplate) HasKind added in v3.0.1

func (o *ArduinoActionTemplate) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ArduinoActionTemplate) HasName added in v3.0.1

func (o *ArduinoActionTemplate) HasName() bool

HasName returns a boolean if a field has been set.

func (*ArduinoActionTemplate) HasOrganizationId added in v3.0.1

func (o *ArduinoActionTemplate) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ArduinoActionTemplate) HasPushNotification added in v3.0.1

func (o *ArduinoActionTemplate) HasPushNotification() bool

HasPushNotification returns a boolean if a field has been set.

func (ArduinoActionTemplate) MarshalJSON added in v3.0.1

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

func (*ArduinoActionTemplate) SetDescription added in v3.0.1

func (o *ArduinoActionTemplate) SetDescription(v string)

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

func (*ArduinoActionTemplate) SetEmail added in v3.0.1

func (o *ArduinoActionTemplate) SetEmail(v EmailAction)

SetEmail gets a reference to the given EmailAction and assigns it to the Email field.

func (*ArduinoActionTemplate) SetKind added in v3.0.1

func (o *ArduinoActionTemplate) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ArduinoActionTemplate) SetName added in v3.0.1

func (o *ArduinoActionTemplate) SetName(v string)

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

func (*ArduinoActionTemplate) SetOrganizationId added in v3.0.1

func (o *ArduinoActionTemplate) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ArduinoActionTemplate) SetPushNotification added in v3.0.1

func (o *ArduinoActionTemplate) SetPushNotification(v PushAction)

SetPushNotification gets a reference to the given PushAction and assigns it to the PushNotification field.

func (ArduinoActionTemplate) ToMap added in v3.0.1

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

type ArduinoCompressedv2

type ArduinoCompressedv2 struct {
	// The Authority Key Identifier of the certificate
	AuthorityKeyIdentifier *string `json:"authority_key_identifier,omitempty"`
	// The ending date of the certificate
	NotAfter time.Time `json:"not_after"`
	// The starting date of the certificate
	NotBefore time.Time `json:"not_before"`
	// The serial number of the certificate
	Serial string `json:"serial"`
	// The signature of the certificate
	Signature string `json:"signature"`
	// The ASN1 X component of certificate signature
	SignatureAsn1X string `json:"signature_asn1_x"`
	// The ASN1 Y component of certificate signature
	SignatureAsn1Y string `json:"signature_asn1_y"`
}

ArduinoCompressedv2 compressed contains the info from which to generate the certificate (default view)

func NewArduinoCompressedv2

func NewArduinoCompressedv2(notAfter time.Time, notBefore time.Time, serial string, signature string, signatureAsn1X string, signatureAsn1Y string) *ArduinoCompressedv2

NewArduinoCompressedv2 instantiates a new ArduinoCompressedv2 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 NewArduinoCompressedv2WithDefaults

func NewArduinoCompressedv2WithDefaults() *ArduinoCompressedv2

NewArduinoCompressedv2WithDefaults instantiates a new ArduinoCompressedv2 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 (*ArduinoCompressedv2) GetAuthorityKeyIdentifier

func (o *ArduinoCompressedv2) GetAuthorityKeyIdentifier() string

GetAuthorityKeyIdentifier returns the AuthorityKeyIdentifier field value if set, zero value otherwise.

func (*ArduinoCompressedv2) GetAuthorityKeyIdentifierOk

func (o *ArduinoCompressedv2) GetAuthorityKeyIdentifierOk() (*string, bool)

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

func (*ArduinoCompressedv2) GetNotAfter

func (o *ArduinoCompressedv2) GetNotAfter() time.Time

GetNotAfter returns the NotAfter field value

func (*ArduinoCompressedv2) GetNotAfterOk

func (o *ArduinoCompressedv2) GetNotAfterOk() (*time.Time, bool)

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

func (*ArduinoCompressedv2) GetNotBefore

func (o *ArduinoCompressedv2) GetNotBefore() time.Time

GetNotBefore returns the NotBefore field value

func (*ArduinoCompressedv2) GetNotBeforeOk

func (o *ArduinoCompressedv2) GetNotBeforeOk() (*time.Time, bool)

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

func (*ArduinoCompressedv2) GetSerial

func (o *ArduinoCompressedv2) GetSerial() string

GetSerial returns the Serial field value

func (*ArduinoCompressedv2) GetSerialOk

func (o *ArduinoCompressedv2) GetSerialOk() (*string, bool)

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

func (*ArduinoCompressedv2) GetSignature

func (o *ArduinoCompressedv2) GetSignature() string

GetSignature returns the Signature field value

func (*ArduinoCompressedv2) GetSignatureAsn1X

func (o *ArduinoCompressedv2) GetSignatureAsn1X() string

GetSignatureAsn1X returns the SignatureAsn1X field value

func (*ArduinoCompressedv2) GetSignatureAsn1XOk

func (o *ArduinoCompressedv2) GetSignatureAsn1XOk() (*string, bool)

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

func (*ArduinoCompressedv2) GetSignatureAsn1Y

func (o *ArduinoCompressedv2) GetSignatureAsn1Y() string

GetSignatureAsn1Y returns the SignatureAsn1Y field value

func (*ArduinoCompressedv2) GetSignatureAsn1YOk

func (o *ArduinoCompressedv2) GetSignatureAsn1YOk() (*string, bool)

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

func (*ArduinoCompressedv2) GetSignatureOk

func (o *ArduinoCompressedv2) GetSignatureOk() (*string, bool)

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

func (*ArduinoCompressedv2) HasAuthorityKeyIdentifier

func (o *ArduinoCompressedv2) HasAuthorityKeyIdentifier() bool

HasAuthorityKeyIdentifier returns a boolean if a field has been set.

func (ArduinoCompressedv2) MarshalJSON

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

func (*ArduinoCompressedv2) SetAuthorityKeyIdentifier

func (o *ArduinoCompressedv2) SetAuthorityKeyIdentifier(v string)

SetAuthorityKeyIdentifier gets a reference to the given string and assigns it to the AuthorityKeyIdentifier field.

func (*ArduinoCompressedv2) SetNotAfter

func (o *ArduinoCompressedv2) SetNotAfter(v time.Time)

SetNotAfter sets field value

func (*ArduinoCompressedv2) SetNotBefore

func (o *ArduinoCompressedv2) SetNotBefore(v time.Time)

SetNotBefore sets field value

func (*ArduinoCompressedv2) SetSerial

func (o *ArduinoCompressedv2) SetSerial(v string)

SetSerial sets field value

func (*ArduinoCompressedv2) SetSignature

func (o *ArduinoCompressedv2) SetSignature(v string)

SetSignature sets field value

func (*ArduinoCompressedv2) SetSignatureAsn1X

func (o *ArduinoCompressedv2) SetSignatureAsn1X(v string)

SetSignatureAsn1X sets field value

func (*ArduinoCompressedv2) SetSignatureAsn1Y

func (o *ArduinoCompressedv2) SetSignatureAsn1Y(v string)

SetSignatureAsn1Y sets field value

func (ArduinoCompressedv2) ToMap

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

func (*ArduinoCompressedv2) UnmarshalJSON

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

type ArduinoCredentialsv1

type ArduinoCredentialsv1 struct {
	// Friendly name
	FriendlyName string `json:"friendly_name"`
	// Tell if the parameter is required or not
	Required bool `json:"required"`
	// The secret parameter name
	SecretName string `json:"secret_name"`
	// Tell if the field is sensitive
	Sensitive bool `json:"sensitive"`
}

ArduinoCredentialsv1 ArduinoCredentialsv1 media type (default view)

func NewArduinoCredentialsv1

func NewArduinoCredentialsv1(friendlyName string, required bool, secretName string, sensitive bool) *ArduinoCredentialsv1

NewArduinoCredentialsv1 instantiates a new ArduinoCredentialsv1 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 NewArduinoCredentialsv1WithDefaults

func NewArduinoCredentialsv1WithDefaults() *ArduinoCredentialsv1

NewArduinoCredentialsv1WithDefaults instantiates a new ArduinoCredentialsv1 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 (*ArduinoCredentialsv1) GetFriendlyName

func (o *ArduinoCredentialsv1) GetFriendlyName() string

GetFriendlyName returns the FriendlyName field value

func (*ArduinoCredentialsv1) GetFriendlyNameOk

func (o *ArduinoCredentialsv1) GetFriendlyNameOk() (*string, bool)

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

func (*ArduinoCredentialsv1) GetRequired

func (o *ArduinoCredentialsv1) GetRequired() bool

GetRequired returns the Required field value

func (*ArduinoCredentialsv1) GetRequiredOk

func (o *ArduinoCredentialsv1) GetRequiredOk() (*bool, bool)

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

func (*ArduinoCredentialsv1) GetSecretName

func (o *ArduinoCredentialsv1) GetSecretName() string

GetSecretName returns the SecretName field value

func (*ArduinoCredentialsv1) GetSecretNameOk

func (o *ArduinoCredentialsv1) GetSecretNameOk() (*string, bool)

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

func (*ArduinoCredentialsv1) GetSensitive

func (o *ArduinoCredentialsv1) GetSensitive() bool

GetSensitive returns the Sensitive field value

func (*ArduinoCredentialsv1) GetSensitiveOk

func (o *ArduinoCredentialsv1) GetSensitiveOk() (*bool, bool)

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

func (ArduinoCredentialsv1) MarshalJSON

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

func (*ArduinoCredentialsv1) SetFriendlyName

func (o *ArduinoCredentialsv1) SetFriendlyName(v string)

SetFriendlyName sets field value

func (*ArduinoCredentialsv1) SetRequired

func (o *ArduinoCredentialsv1) SetRequired(v bool)

SetRequired sets field value

func (*ArduinoCredentialsv1) SetSecretName

func (o *ArduinoCredentialsv1) SetSecretName(v string)

SetSecretName sets field value

func (*ArduinoCredentialsv1) SetSensitive

func (o *ArduinoCredentialsv1) SetSensitive(v bool)

SetSensitive sets field value

func (ArduinoCredentialsv1) ToMap

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

func (*ArduinoCredentialsv1) UnmarshalJSON

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

type ArduinoDashboardowner

type ArduinoDashboardowner struct {
	// The userID of the user who created the dashboard
	UserId string `json:"user_id"`
	// The username of the user who created the dashboard
	Username *string `json:"username,omitempty"`
}

ArduinoDashboardowner ArduinoDashboardowner media type (default view)

func NewArduinoDashboardowner

func NewArduinoDashboardowner(userId string) *ArduinoDashboardowner

NewArduinoDashboardowner instantiates a new ArduinoDashboardowner 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 NewArduinoDashboardownerWithDefaults

func NewArduinoDashboardownerWithDefaults() *ArduinoDashboardowner

NewArduinoDashboardownerWithDefaults instantiates a new ArduinoDashboardowner 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 (*ArduinoDashboardowner) GetUserId

func (o *ArduinoDashboardowner) GetUserId() string

GetUserId returns the UserId field value

func (*ArduinoDashboardowner) GetUserIdOk

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

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

func (*ArduinoDashboardowner) GetUsername

func (o *ArduinoDashboardowner) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*ArduinoDashboardowner) GetUsernameOk

func (o *ArduinoDashboardowner) GetUsernameOk() (*string, bool)

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

func (*ArduinoDashboardowner) HasUsername

func (o *ArduinoDashboardowner) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ArduinoDashboardowner) MarshalJSON

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

func (*ArduinoDashboardowner) SetUserId

func (o *ArduinoDashboardowner) SetUserId(v string)

SetUserId sets field value

func (*ArduinoDashboardowner) SetUsername

func (o *ArduinoDashboardowner) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (ArduinoDashboardowner) ToMap

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

func (*ArduinoDashboardowner) UnmarshalJSON

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

type ArduinoDashboardshare

type ArduinoDashboardshare struct {
	// The userID of the user you want to share the dashboard with
	UserId string `json:"user_id"`
	// The username of the user you want to share the dashboard with
	Username *string `json:"username,omitempty"`
}

ArduinoDashboardshare ArduinoDashboardshare media type (default view)

func NewArduinoDashboardshare

func NewArduinoDashboardshare(userId string) *ArduinoDashboardshare

NewArduinoDashboardshare instantiates a new ArduinoDashboardshare 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 NewArduinoDashboardshareWithDefaults

func NewArduinoDashboardshareWithDefaults() *ArduinoDashboardshare

NewArduinoDashboardshareWithDefaults instantiates a new ArduinoDashboardshare 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 (*ArduinoDashboardshare) GetUserId

func (o *ArduinoDashboardshare) GetUserId() string

GetUserId returns the UserId field value

func (*ArduinoDashboardshare) GetUserIdOk

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

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

func (*ArduinoDashboardshare) GetUsername

func (o *ArduinoDashboardshare) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*ArduinoDashboardshare) GetUsernameOk

func (o *ArduinoDashboardshare) GetUsernameOk() (*string, bool)

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

func (*ArduinoDashboardshare) HasUsername

func (o *ArduinoDashboardshare) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ArduinoDashboardshare) MarshalJSON

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

func (*ArduinoDashboardshare) SetUserId

func (o *ArduinoDashboardshare) SetUserId(v string)

SetUserId sets field value

func (*ArduinoDashboardshare) SetUsername

func (o *ArduinoDashboardshare) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (ArduinoDashboardshare) ToMap

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

func (*ArduinoDashboardshare) UnmarshalJSON

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

type ArduinoDashboardv2

type ArduinoDashboardv2 struct {
	// The cover image of the dashboard
	CoverImage *string                `json:"cover_image,omitempty"`
	CreatedBy  *ArduinoDashboardowner `json:"created_by,omitempty"`
	// The friendly name of the dashboard
	Id string `json:"id"`
	// The friendly name of the dashboard
	Name string `json:"name"`
	// Id of the organization the dashboard belongs to
	OrganizationId *string                `json:"organization_id,omitempty"`
	SharedBy       *ArduinoDashboardshare `json:"shared_by,omitempty"`
	// ArduinoDashboardshareCollection is the media type for an array of ArduinoDashboardshare (default view)
	SharedWith []ArduinoDashboardshare `json:"shared_with,omitempty"`
	// Last update date
	UpdatedAt time.Time `json:"updated_at"`
	// ArduinoWidgetv2Collection is the media type for an array of ArduinoWidgetv2 (default view)
	Widgets []ArduinoWidgetv2 `json:"widgets,omitempty"`
}

ArduinoDashboardv2 Dashboard is a collection of widgets (default view)

func NewArduinoDashboardv2

func NewArduinoDashboardv2(id string, name string, updatedAt time.Time) *ArduinoDashboardv2

NewArduinoDashboardv2 instantiates a new ArduinoDashboardv2 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 NewArduinoDashboardv2WithDefaults

func NewArduinoDashboardv2WithDefaults() *ArduinoDashboardv2

NewArduinoDashboardv2WithDefaults instantiates a new ArduinoDashboardv2 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 (*ArduinoDashboardv2) GetCoverImage

func (o *ArduinoDashboardv2) GetCoverImage() string

GetCoverImage returns the CoverImage field value if set, zero value otherwise.

func (*ArduinoDashboardv2) GetCoverImageOk

func (o *ArduinoDashboardv2) GetCoverImageOk() (*string, bool)

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

func (*ArduinoDashboardv2) GetCreatedBy

func (o *ArduinoDashboardv2) GetCreatedBy() ArduinoDashboardowner

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*ArduinoDashboardv2) GetCreatedByOk

func (o *ArduinoDashboardv2) GetCreatedByOk() (*ArduinoDashboardowner, bool)

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

func (*ArduinoDashboardv2) GetId

func (o *ArduinoDashboardv2) GetId() string

GetId returns the Id field value

func (*ArduinoDashboardv2) GetIdOk

func (o *ArduinoDashboardv2) GetIdOk() (*string, bool)

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

func (*ArduinoDashboardv2) GetName

func (o *ArduinoDashboardv2) GetName() string

GetName returns the Name field value

func (*ArduinoDashboardv2) GetNameOk

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

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

func (*ArduinoDashboardv2) GetOrganizationId

func (o *ArduinoDashboardv2) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoDashboardv2) GetOrganizationIdOk

func (o *ArduinoDashboardv2) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoDashboardv2) GetSharedBy

func (o *ArduinoDashboardv2) GetSharedBy() ArduinoDashboardshare

GetSharedBy returns the SharedBy field value if set, zero value otherwise.

func (*ArduinoDashboardv2) GetSharedByOk

func (o *ArduinoDashboardv2) GetSharedByOk() (*ArduinoDashboardshare, bool)

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

func (*ArduinoDashboardv2) GetSharedWith

func (o *ArduinoDashboardv2) GetSharedWith() []ArduinoDashboardshare

GetSharedWith returns the SharedWith field value if set, zero value otherwise.

func (*ArduinoDashboardv2) GetSharedWithOk

func (o *ArduinoDashboardv2) GetSharedWithOk() ([]ArduinoDashboardshare, bool)

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

func (*ArduinoDashboardv2) GetUpdatedAt

func (o *ArduinoDashboardv2) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ArduinoDashboardv2) GetUpdatedAtOk

func (o *ArduinoDashboardv2) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoDashboardv2) GetWidgets

func (o *ArduinoDashboardv2) GetWidgets() []ArduinoWidgetv2

GetWidgets returns the Widgets field value if set, zero value otherwise.

func (*ArduinoDashboardv2) GetWidgetsOk

func (o *ArduinoDashboardv2) GetWidgetsOk() ([]ArduinoWidgetv2, 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.

func (*ArduinoDashboardv2) HasCoverImage

func (o *ArduinoDashboardv2) HasCoverImage() bool

HasCoverImage returns a boolean if a field has been set.

func (*ArduinoDashboardv2) HasCreatedBy

func (o *ArduinoDashboardv2) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ArduinoDashboardv2) HasOrganizationId

func (o *ArduinoDashboardv2) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ArduinoDashboardv2) HasSharedBy

func (o *ArduinoDashboardv2) HasSharedBy() bool

HasSharedBy returns a boolean if a field has been set.

func (*ArduinoDashboardv2) HasSharedWith

func (o *ArduinoDashboardv2) HasSharedWith() bool

HasSharedWith returns a boolean if a field has been set.

func (*ArduinoDashboardv2) HasWidgets

func (o *ArduinoDashboardv2) HasWidgets() bool

HasWidgets returns a boolean if a field has been set.

func (ArduinoDashboardv2) MarshalJSON

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

func (*ArduinoDashboardv2) SetCoverImage

func (o *ArduinoDashboardv2) SetCoverImage(v string)

SetCoverImage gets a reference to the given string and assigns it to the CoverImage field.

func (*ArduinoDashboardv2) SetCreatedBy

func (o *ArduinoDashboardv2) SetCreatedBy(v ArduinoDashboardowner)

SetCreatedBy gets a reference to the given ArduinoDashboardowner and assigns it to the CreatedBy field.

func (*ArduinoDashboardv2) SetId

func (o *ArduinoDashboardv2) SetId(v string)

SetId sets field value

func (*ArduinoDashboardv2) SetName

func (o *ArduinoDashboardv2) SetName(v string)

SetName sets field value

func (*ArduinoDashboardv2) SetOrganizationId

func (o *ArduinoDashboardv2) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ArduinoDashboardv2) SetSharedBy

func (o *ArduinoDashboardv2) SetSharedBy(v ArduinoDashboardshare)

SetSharedBy gets a reference to the given ArduinoDashboardshare and assigns it to the SharedBy field.

func (*ArduinoDashboardv2) SetSharedWith

func (o *ArduinoDashboardv2) SetSharedWith(v []ArduinoDashboardshare)

SetSharedWith gets a reference to the given []ArduinoDashboardshare and assigns it to the SharedWith field.

func (*ArduinoDashboardv2) SetUpdatedAt

func (o *ArduinoDashboardv2) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*ArduinoDashboardv2) SetWidgets

func (o *ArduinoDashboardv2) SetWidgets(v []ArduinoWidgetv2)

SetWidgets gets a reference to the given []ArduinoWidgetv2 and assigns it to the Widgets field.

func (ArduinoDashboardv2) ToMap

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

func (*ArduinoDashboardv2) UnmarshalJSON

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

type ArduinoDashboardv2template

type ArduinoDashboardv2template struct {
	// The cover image of the dashboard
	CoverImage *string `json:"cover_image,omitempty"`
	// The friendly ID of the dashboard
	Id *string `json:"id,omitempty"`
	// The friendly name of the dashboard
	Name string `json:"name"`
	// ArduinoWidgetv2templateCollection is the media type for an array of ArduinoWidgetv2template (default view)
	Widgets []ArduinoWidgetv2template `json:"widgets,omitempty"`
}

ArduinoDashboardv2template ArduinoDashboardv2template media type (default view)

func NewArduinoDashboardv2template

func NewArduinoDashboardv2template(name string) *ArduinoDashboardv2template

NewArduinoDashboardv2template instantiates a new ArduinoDashboardv2template 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 NewArduinoDashboardv2templateWithDefaults

func NewArduinoDashboardv2templateWithDefaults() *ArduinoDashboardv2template

NewArduinoDashboardv2templateWithDefaults instantiates a new ArduinoDashboardv2template 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 (*ArduinoDashboardv2template) GetCoverImage

func (o *ArduinoDashboardv2template) GetCoverImage() string

GetCoverImage returns the CoverImage field value if set, zero value otherwise.

func (*ArduinoDashboardv2template) GetCoverImageOk

func (o *ArduinoDashboardv2template) GetCoverImageOk() (*string, bool)

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

func (*ArduinoDashboardv2template) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*ArduinoDashboardv2template) GetIdOk

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

func (*ArduinoDashboardv2template) GetName

func (o *ArduinoDashboardv2template) GetName() string

GetName returns the Name field value

func (*ArduinoDashboardv2template) GetNameOk

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

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

func (*ArduinoDashboardv2template) GetWidgets

GetWidgets returns the Widgets field value if set, zero value otherwise.

func (*ArduinoDashboardv2template) GetWidgetsOk

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

func (*ArduinoDashboardv2template) HasCoverImage

func (o *ArduinoDashboardv2template) HasCoverImage() bool

HasCoverImage returns a boolean if a field has been set.

func (*ArduinoDashboardv2template) HasId

func (o *ArduinoDashboardv2template) HasId() bool

HasId returns a boolean if a field has been set.

func (*ArduinoDashboardv2template) HasWidgets

func (o *ArduinoDashboardv2template) HasWidgets() bool

HasWidgets returns a boolean if a field has been set.

func (ArduinoDashboardv2template) MarshalJSON

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

func (*ArduinoDashboardv2template) SetCoverImage

func (o *ArduinoDashboardv2template) SetCoverImage(v string)

SetCoverImage gets a reference to the given string and assigns it to the CoverImage field.

func (*ArduinoDashboardv2template) SetId

func (o *ArduinoDashboardv2template) SetId(v string)

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

func (*ArduinoDashboardv2template) SetName

func (o *ArduinoDashboardv2template) SetName(v string)

SetName sets field value

func (*ArduinoDashboardv2template) SetWidgets

SetWidgets gets a reference to the given []ArduinoWidgetv2template and assigns it to the Widgets field.

func (ArduinoDashboardv2template) ToMap

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

func (*ArduinoDashboardv2template) UnmarshalJSON

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

type ArduinoDevicev2

type ArduinoDevicev2 struct {
	// The type of the connections selected by the user when multiple connections are available
	ConnectionType *string `json:"connection_type,omitempty"`
	// Creation date of the device
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Deletion date of the trigger
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// The connection status of the device
	DeviceStatus *string `json:"device_status,omitempty"`
	// ArduinoDevicev2SimplePropertiesCollection is the media type for an array of ArduinoDevicev2SimpleProperties (default view)
	Events []ArduinoDevicev2SimpleProperties `json:"events,omitempty"`
	// The fully qualified board name
	Fqbn *string `json:"fqbn,omitempty"`
	// The api reference of this device
	Href string `json:"href"`
	// The arn of the device
	Id string `json:"id"`
	// The label of the device
	Label string `json:"label"`
	// Last activity date
	LastActivityAt *time.Time `json:"last_activity_at,omitempty"`
	// The latest version of the NINA/WIFI101 firmware available for this device
	LatestWifiFwVersion *string `json:"latest_wifi_fw_version,omitempty"`
	// The metadata of the device
	Metadata map[string]interface{} `json:"metadata,omitempty"`
	// The friendly name of the device
	Name string `json:"name"`
	// True if the device type can not have an associated sketch
	NoSketch *bool `json:"no_sketch,omitempty"`
	// Id of the organization the device belongs to
	OrganizationId *string `json:"organization_id,omitempty"`
	// True if the device type is ready to receive OTA updated
	OtaAvailable *bool `json:"ota_available,omitempty"`
	// True if the device type is OTA compatible
	OtaCompatible *bool `json:"ota_compatible,omitempty"`
	// The required version of the NINA/WIFI101 firmware needed by IoT Cloud
	RequiredWifiFwVersion *string `json:"required_wifi_fw_version,omitempty"`
	// The serial uuid of the device
	Serial string `json:"serial"`
	// Tags belonging to the device
	Tags  map[string]interface{} `json:"tags,omitempty"`
	Thing *ArduinoThing          `json:"thing,omitempty"`
	// The type of the device
	Type string `json:"type"`
	// Update date of the trigger
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The id of the user
	UserId string `json:"user_id"`
	// ArduinoDevicev2WebhookCollection is the media type for an array of ArduinoDevicev2Webhook (default view)
	Webhooks []ArduinoDevicev2Webhook `json:"webhooks,omitempty"`
	// The version of the NINA/WIFI101 firmware running on the device
	WifiFwVersion *string `json:"wifi_fw_version,omitempty"`
}

ArduinoDevicev2 ArduinoDevicev2 media type (default view)

func NewArduinoDevicev2

func NewArduinoDevicev2(href string, id string, label string, name string, serial string, type_ string, userId string) *ArduinoDevicev2

NewArduinoDevicev2 instantiates a new ArduinoDevicev2 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 NewArduinoDevicev2WithDefaults

func NewArduinoDevicev2WithDefaults() *ArduinoDevicev2

NewArduinoDevicev2WithDefaults instantiates a new ArduinoDevicev2 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 (*ArduinoDevicev2) GetConnectionType

func (o *ArduinoDevicev2) GetConnectionType() string

GetConnectionType returns the ConnectionType field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetConnectionTypeOk

func (o *ArduinoDevicev2) GetConnectionTypeOk() (*string, bool)

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

func (*ArduinoDevicev2) GetCreatedAt

func (o *ArduinoDevicev2) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetCreatedAtOk

func (o *ArduinoDevicev2) GetCreatedAtOk() (*time.Time, bool)

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

func (*ArduinoDevicev2) GetDeletedAt added in v3.0.1

func (o *ArduinoDevicev2) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetDeletedAtOk added in v3.0.1

func (o *ArduinoDevicev2) GetDeletedAtOk() (*time.Time, bool)

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

func (*ArduinoDevicev2) GetDeviceStatus

func (o *ArduinoDevicev2) GetDeviceStatus() string

GetDeviceStatus returns the DeviceStatus field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetDeviceStatusOk

func (o *ArduinoDevicev2) GetDeviceStatusOk() (*string, bool)

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

func (*ArduinoDevicev2) GetEvents

GetEvents returns the Events field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetEventsOk

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

func (*ArduinoDevicev2) GetFqbn

func (o *ArduinoDevicev2) GetFqbn() string

GetFqbn returns the Fqbn field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetFqbnOk

func (o *ArduinoDevicev2) GetFqbnOk() (*string, bool)

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

func (*ArduinoDevicev2) GetHref

func (o *ArduinoDevicev2) GetHref() string

GetHref returns the Href field value

func (*ArduinoDevicev2) GetHrefOk

func (o *ArduinoDevicev2) GetHrefOk() (*string, bool)

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

func (*ArduinoDevicev2) GetId

func (o *ArduinoDevicev2) GetId() string

GetId returns the Id field value

func (*ArduinoDevicev2) GetIdOk

func (o *ArduinoDevicev2) GetIdOk() (*string, bool)

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

func (*ArduinoDevicev2) GetLabel

func (o *ArduinoDevicev2) GetLabel() string

GetLabel returns the Label field value

func (*ArduinoDevicev2) GetLabelOk

func (o *ArduinoDevicev2) GetLabelOk() (*string, bool)

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

func (*ArduinoDevicev2) GetLastActivityAt

func (o *ArduinoDevicev2) GetLastActivityAt() time.Time

GetLastActivityAt returns the LastActivityAt field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetLastActivityAtOk

func (o *ArduinoDevicev2) GetLastActivityAtOk() (*time.Time, bool)

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

func (*ArduinoDevicev2) GetLatestWifiFwVersion

func (o *ArduinoDevicev2) GetLatestWifiFwVersion() string

GetLatestWifiFwVersion returns the LatestWifiFwVersion field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetLatestWifiFwVersionOk

func (o *ArduinoDevicev2) GetLatestWifiFwVersionOk() (*string, bool)

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

func (*ArduinoDevicev2) GetMetadata

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

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetMetadataOk

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

func (*ArduinoDevicev2) GetName

func (o *ArduinoDevicev2) GetName() string

GetName returns the Name field value

func (*ArduinoDevicev2) GetNameOk

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

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

func (*ArduinoDevicev2) GetNoSketch

func (o *ArduinoDevicev2) GetNoSketch() bool

GetNoSketch returns the NoSketch field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetNoSketchOk

func (o *ArduinoDevicev2) GetNoSketchOk() (*bool, bool)

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

func (*ArduinoDevicev2) GetOrganizationId

func (o *ArduinoDevicev2) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetOrganizationIdOk

func (o *ArduinoDevicev2) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoDevicev2) GetOtaAvailable

func (o *ArduinoDevicev2) GetOtaAvailable() bool

GetOtaAvailable returns the OtaAvailable field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetOtaAvailableOk

func (o *ArduinoDevicev2) GetOtaAvailableOk() (*bool, bool)

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

func (*ArduinoDevicev2) GetOtaCompatible

func (o *ArduinoDevicev2) GetOtaCompatible() bool

GetOtaCompatible returns the OtaCompatible field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetOtaCompatibleOk

func (o *ArduinoDevicev2) GetOtaCompatibleOk() (*bool, bool)

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

func (*ArduinoDevicev2) GetRequiredWifiFwVersion

func (o *ArduinoDevicev2) GetRequiredWifiFwVersion() string

GetRequiredWifiFwVersion returns the RequiredWifiFwVersion field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetRequiredWifiFwVersionOk

func (o *ArduinoDevicev2) GetRequiredWifiFwVersionOk() (*string, bool)

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

func (*ArduinoDevicev2) GetSerial

func (o *ArduinoDevicev2) GetSerial() string

GetSerial returns the Serial field value

func (*ArduinoDevicev2) GetSerialOk

func (o *ArduinoDevicev2) GetSerialOk() (*string, bool)

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

func (*ArduinoDevicev2) GetTags

func (o *ArduinoDevicev2) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetTagsOk

func (o *ArduinoDevicev2) GetTagsOk() (map[string]interface{}, 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.

func (*ArduinoDevicev2) GetThing

func (o *ArduinoDevicev2) GetThing() ArduinoThing

GetThing returns the Thing field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetThingOk

func (o *ArduinoDevicev2) GetThingOk() (*ArduinoThing, bool)

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

func (*ArduinoDevicev2) GetType

func (o *ArduinoDevicev2) GetType() string

GetType returns the Type field value

func (*ArduinoDevicev2) GetTypeOk

func (o *ArduinoDevicev2) GetTypeOk() (*string, bool)

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

func (*ArduinoDevicev2) GetUpdatedAt added in v3.0.1

func (o *ArduinoDevicev2) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetUpdatedAtOk added in v3.0.1

func (o *ArduinoDevicev2) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoDevicev2) GetUserId

func (o *ArduinoDevicev2) GetUserId() string

GetUserId returns the UserId field value

func (*ArduinoDevicev2) GetUserIdOk

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

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

func (*ArduinoDevicev2) GetWebhooks

func (o *ArduinoDevicev2) GetWebhooks() []ArduinoDevicev2Webhook

GetWebhooks returns the Webhooks field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetWebhooksOk

func (o *ArduinoDevicev2) GetWebhooksOk() ([]ArduinoDevicev2Webhook, bool)

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

func (*ArduinoDevicev2) GetWifiFwVersion

func (o *ArduinoDevicev2) GetWifiFwVersion() string

GetWifiFwVersion returns the WifiFwVersion field value if set, zero value otherwise.

func (*ArduinoDevicev2) GetWifiFwVersionOk

func (o *ArduinoDevicev2) GetWifiFwVersionOk() (*string, bool)

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

func (*ArduinoDevicev2) HasConnectionType

func (o *ArduinoDevicev2) HasConnectionType() bool

HasConnectionType returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasCreatedAt

func (o *ArduinoDevicev2) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasDeletedAt added in v3.0.1

func (o *ArduinoDevicev2) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasDeviceStatus

func (o *ArduinoDevicev2) HasDeviceStatus() bool

HasDeviceStatus returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasEvents

func (o *ArduinoDevicev2) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasFqbn

func (o *ArduinoDevicev2) HasFqbn() bool

HasFqbn returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasLastActivityAt

func (o *ArduinoDevicev2) HasLastActivityAt() bool

HasLastActivityAt returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasLatestWifiFwVersion

func (o *ArduinoDevicev2) HasLatestWifiFwVersion() bool

HasLatestWifiFwVersion returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasMetadata

func (o *ArduinoDevicev2) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasNoSketch

func (o *ArduinoDevicev2) HasNoSketch() bool

HasNoSketch returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasOrganizationId

func (o *ArduinoDevicev2) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasOtaAvailable

func (o *ArduinoDevicev2) HasOtaAvailable() bool

HasOtaAvailable returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasOtaCompatible

func (o *ArduinoDevicev2) HasOtaCompatible() bool

HasOtaCompatible returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasRequiredWifiFwVersion

func (o *ArduinoDevicev2) HasRequiredWifiFwVersion() bool

HasRequiredWifiFwVersion returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasTags

func (o *ArduinoDevicev2) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasThing

func (o *ArduinoDevicev2) HasThing() bool

HasThing returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasUpdatedAt added in v3.0.1

func (o *ArduinoDevicev2) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasWebhooks

func (o *ArduinoDevicev2) HasWebhooks() bool

HasWebhooks returns a boolean if a field has been set.

func (*ArduinoDevicev2) HasWifiFwVersion

func (o *ArduinoDevicev2) HasWifiFwVersion() bool

HasWifiFwVersion returns a boolean if a field has been set.

func (ArduinoDevicev2) MarshalJSON

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

func (*ArduinoDevicev2) SetConnectionType

func (o *ArduinoDevicev2) SetConnectionType(v string)

SetConnectionType gets a reference to the given string and assigns it to the ConnectionType field.

func (*ArduinoDevicev2) SetCreatedAt

func (o *ArduinoDevicev2) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ArduinoDevicev2) SetDeletedAt added in v3.0.1

func (o *ArduinoDevicev2) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*ArduinoDevicev2) SetDeviceStatus

func (o *ArduinoDevicev2) SetDeviceStatus(v string)

SetDeviceStatus gets a reference to the given string and assigns it to the DeviceStatus field.

func (*ArduinoDevicev2) SetEvents

SetEvents gets a reference to the given []ArduinoDevicev2SimpleProperties and assigns it to the Events field.

func (*ArduinoDevicev2) SetFqbn

func (o *ArduinoDevicev2) SetFqbn(v string)

SetFqbn gets a reference to the given string and assigns it to the Fqbn field.

func (*ArduinoDevicev2) SetHref

func (o *ArduinoDevicev2) SetHref(v string)

SetHref sets field value

func (*ArduinoDevicev2) SetId

func (o *ArduinoDevicev2) SetId(v string)

SetId sets field value

func (*ArduinoDevicev2) SetLabel

func (o *ArduinoDevicev2) SetLabel(v string)

SetLabel sets field value

func (*ArduinoDevicev2) SetLastActivityAt

func (o *ArduinoDevicev2) SetLastActivityAt(v time.Time)

SetLastActivityAt gets a reference to the given time.Time and assigns it to the LastActivityAt field.

func (*ArduinoDevicev2) SetLatestWifiFwVersion

func (o *ArduinoDevicev2) SetLatestWifiFwVersion(v string)

SetLatestWifiFwVersion gets a reference to the given string and assigns it to the LatestWifiFwVersion field.

func (*ArduinoDevicev2) SetMetadata

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

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

func (*ArduinoDevicev2) SetName

func (o *ArduinoDevicev2) SetName(v string)

SetName sets field value

func (*ArduinoDevicev2) SetNoSketch

func (o *ArduinoDevicev2) SetNoSketch(v bool)

SetNoSketch gets a reference to the given bool and assigns it to the NoSketch field.

func (*ArduinoDevicev2) SetOrganizationId

func (o *ArduinoDevicev2) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ArduinoDevicev2) SetOtaAvailable

func (o *ArduinoDevicev2) SetOtaAvailable(v bool)

SetOtaAvailable gets a reference to the given bool and assigns it to the OtaAvailable field.

func (*ArduinoDevicev2) SetOtaCompatible

func (o *ArduinoDevicev2) SetOtaCompatible(v bool)

SetOtaCompatible gets a reference to the given bool and assigns it to the OtaCompatible field.

func (*ArduinoDevicev2) SetRequiredWifiFwVersion

func (o *ArduinoDevicev2) SetRequiredWifiFwVersion(v string)

SetRequiredWifiFwVersion gets a reference to the given string and assigns it to the RequiredWifiFwVersion field.

func (*ArduinoDevicev2) SetSerial

func (o *ArduinoDevicev2) SetSerial(v string)

SetSerial sets field value

func (*ArduinoDevicev2) SetTags

func (o *ArduinoDevicev2) SetTags(v map[string]interface{})

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

func (*ArduinoDevicev2) SetThing

func (o *ArduinoDevicev2) SetThing(v ArduinoThing)

SetThing gets a reference to the given ArduinoThing and assigns it to the Thing field.

func (*ArduinoDevicev2) SetType

func (o *ArduinoDevicev2) SetType(v string)

SetType sets field value

func (*ArduinoDevicev2) SetUpdatedAt added in v3.0.1

func (o *ArduinoDevicev2) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*ArduinoDevicev2) SetUserId

func (o *ArduinoDevicev2) SetUserId(v string)

SetUserId sets field value

func (*ArduinoDevicev2) SetWebhooks

func (o *ArduinoDevicev2) SetWebhooks(v []ArduinoDevicev2Webhook)

SetWebhooks gets a reference to the given []ArduinoDevicev2Webhook and assigns it to the Webhooks field.

func (*ArduinoDevicev2) SetWifiFwVersion

func (o *ArduinoDevicev2) SetWifiFwVersion(v string)

SetWifiFwVersion gets a reference to the given string and assigns it to the WifiFwVersion field.

func (ArduinoDevicev2) ToMap

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

func (*ArduinoDevicev2) UnmarshalJSON

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

type ArduinoDevicev2Cert

type ArduinoDevicev2Cert struct {
	// The Certification Authority used to sign the certificate
	Ca         *string             `json:"ca,omitempty"`
	Compressed ArduinoCompressedv2 `json:"compressed"`
	// The certificate in DER format
	Der string `json:"der"`
	// The unique identifier of the device
	DeviceId string `json:"device_id"`
	// Whether the certificate is enabled
	Enabled bool `json:"enabled"`
	// The api reference of this cert
	Href string `json:"href"`
	// The unique identifier of the key
	Id string `json:"id"`
	// The certificate in pem format
	Pem string `json:"pem"`
}

ArduinoDevicev2Cert DeviceCertV2 describes a certificate associated to the device (default view)

func NewArduinoDevicev2Cert

func NewArduinoDevicev2Cert(compressed ArduinoCompressedv2, der string, deviceId string, enabled bool, href string, id string, pem string) *ArduinoDevicev2Cert

NewArduinoDevicev2Cert instantiates a new ArduinoDevicev2Cert 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 NewArduinoDevicev2CertWithDefaults

func NewArduinoDevicev2CertWithDefaults() *ArduinoDevicev2Cert

NewArduinoDevicev2CertWithDefaults instantiates a new ArduinoDevicev2Cert 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 (*ArduinoDevicev2Cert) GetCa

func (o *ArduinoDevicev2Cert) GetCa() string

GetCa returns the Ca field value if set, zero value otherwise.

func (*ArduinoDevicev2Cert) GetCaOk

func (o *ArduinoDevicev2Cert) GetCaOk() (*string, bool)

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

func (*ArduinoDevicev2Cert) GetCompressed

func (o *ArduinoDevicev2Cert) GetCompressed() ArduinoCompressedv2

GetCompressed returns the Compressed field value

func (*ArduinoDevicev2Cert) GetCompressedOk

func (o *ArduinoDevicev2Cert) GetCompressedOk() (*ArduinoCompressedv2, bool)

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

func (*ArduinoDevicev2Cert) GetDer

func (o *ArduinoDevicev2Cert) GetDer() string

GetDer returns the Der field value

func (*ArduinoDevicev2Cert) GetDerOk

func (o *ArduinoDevicev2Cert) GetDerOk() (*string, bool)

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

func (*ArduinoDevicev2Cert) GetDeviceId

func (o *ArduinoDevicev2Cert) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*ArduinoDevicev2Cert) GetDeviceIdOk

func (o *ArduinoDevicev2Cert) GetDeviceIdOk() (*string, bool)

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

func (*ArduinoDevicev2Cert) GetEnabled

func (o *ArduinoDevicev2Cert) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*ArduinoDevicev2Cert) GetEnabledOk

func (o *ArduinoDevicev2Cert) GetEnabledOk() (*bool, bool)

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

func (*ArduinoDevicev2Cert) GetHref

func (o *ArduinoDevicev2Cert) GetHref() string

GetHref returns the Href field value

func (*ArduinoDevicev2Cert) GetHrefOk

func (o *ArduinoDevicev2Cert) GetHrefOk() (*string, bool)

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

func (*ArduinoDevicev2Cert) GetId

func (o *ArduinoDevicev2Cert) GetId() string

GetId returns the Id field value

func (*ArduinoDevicev2Cert) GetIdOk

func (o *ArduinoDevicev2Cert) GetIdOk() (*string, bool)

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

func (*ArduinoDevicev2Cert) GetPem

func (o *ArduinoDevicev2Cert) GetPem() string

GetPem returns the Pem field value

func (*ArduinoDevicev2Cert) GetPemOk

func (o *ArduinoDevicev2Cert) GetPemOk() (*string, bool)

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

func (*ArduinoDevicev2Cert) HasCa

func (o *ArduinoDevicev2Cert) HasCa() bool

HasCa returns a boolean if a field has been set.

func (ArduinoDevicev2Cert) MarshalJSON

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

func (*ArduinoDevicev2Cert) SetCa

func (o *ArduinoDevicev2Cert) SetCa(v string)

SetCa gets a reference to the given string and assigns it to the Ca field.

func (*ArduinoDevicev2Cert) SetCompressed

func (o *ArduinoDevicev2Cert) SetCompressed(v ArduinoCompressedv2)

SetCompressed sets field value

func (*ArduinoDevicev2Cert) SetDer

func (o *ArduinoDevicev2Cert) SetDer(v string)

SetDer sets field value

func (*ArduinoDevicev2Cert) SetDeviceId

func (o *ArduinoDevicev2Cert) SetDeviceId(v string)

SetDeviceId sets field value

func (*ArduinoDevicev2Cert) SetEnabled

func (o *ArduinoDevicev2Cert) SetEnabled(v bool)

SetEnabled sets field value

func (*ArduinoDevicev2Cert) SetHref

func (o *ArduinoDevicev2Cert) SetHref(v string)

SetHref sets field value

func (*ArduinoDevicev2Cert) SetId

func (o *ArduinoDevicev2Cert) SetId(v string)

SetId sets field value

func (*ArduinoDevicev2Cert) SetPem

func (o *ArduinoDevicev2Cert) SetPem(v string)

SetPem sets field value

func (ArduinoDevicev2Cert) ToMap

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

func (*ArduinoDevicev2Cert) UnmarshalJSON

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

type ArduinoDevicev2EventProperties

type ArduinoDevicev2EventProperties struct {
	// ArduinoDevicev2SimplePropertiesCollection is the media type for an array of ArduinoDevicev2SimpleProperties (default view)
	Events []ArduinoDevicev2SimpleProperties `json:"events"`
	// The device of the property
	Id string `json:"id"`
}

ArduinoDevicev2EventProperties ArduinoDevicev2EventProperties media type (default view)

func NewArduinoDevicev2EventProperties

func NewArduinoDevicev2EventProperties(events []ArduinoDevicev2SimpleProperties, id string) *ArduinoDevicev2EventProperties

NewArduinoDevicev2EventProperties instantiates a new ArduinoDevicev2EventProperties 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 NewArduinoDevicev2EventPropertiesWithDefaults

func NewArduinoDevicev2EventPropertiesWithDefaults() *ArduinoDevicev2EventProperties

NewArduinoDevicev2EventPropertiesWithDefaults instantiates a new ArduinoDevicev2EventProperties 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 (*ArduinoDevicev2EventProperties) GetEvents

GetEvents returns the Events field value

func (*ArduinoDevicev2EventProperties) GetEventsOk

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

func (*ArduinoDevicev2EventProperties) GetId

GetId returns the Id field value

func (*ArduinoDevicev2EventProperties) GetIdOk

func (o *ArduinoDevicev2EventProperties) GetIdOk() (*string, bool)

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

func (ArduinoDevicev2EventProperties) MarshalJSON

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

func (*ArduinoDevicev2EventProperties) SetEvents

SetEvents sets field value

func (*ArduinoDevicev2EventProperties) SetId

SetId sets field value

func (ArduinoDevicev2EventProperties) ToMap

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

func (*ArduinoDevicev2EventProperties) UnmarshalJSON

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

type ArduinoDevicev2Otaupload

type ArduinoDevicev2Otaupload struct {
	// SHA256 of the uploaded file
	FileSha *string `json:"file_sha,omitempty"`
	// OTA request id (only available from OTA version 2 and above)
	OtaId *string `json:"ota_id,omitempty"`
	// OTA version
	OtaVersion int64 `json:"ota_version"`
	// OTA request status (only available from OTA version 2 and above)
	Status *string `json:"status,omitempty"`
}

ArduinoDevicev2Otaupload ArduinoDevicev2Otaupload media type (default view)

func NewArduinoDevicev2Otaupload

func NewArduinoDevicev2Otaupload(otaVersion int64) *ArduinoDevicev2Otaupload

NewArduinoDevicev2Otaupload instantiates a new ArduinoDevicev2Otaupload 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 NewArduinoDevicev2OtauploadWithDefaults

func NewArduinoDevicev2OtauploadWithDefaults() *ArduinoDevicev2Otaupload

NewArduinoDevicev2OtauploadWithDefaults instantiates a new ArduinoDevicev2Otaupload 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 (*ArduinoDevicev2Otaupload) GetFileSha

func (o *ArduinoDevicev2Otaupload) GetFileSha() string

GetFileSha returns the FileSha field value if set, zero value otherwise.

func (*ArduinoDevicev2Otaupload) GetFileShaOk

func (o *ArduinoDevicev2Otaupload) GetFileShaOk() (*string, bool)

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

func (*ArduinoDevicev2Otaupload) GetOtaId

func (o *ArduinoDevicev2Otaupload) GetOtaId() string

GetOtaId returns the OtaId field value if set, zero value otherwise.

func (*ArduinoDevicev2Otaupload) GetOtaIdOk

func (o *ArduinoDevicev2Otaupload) GetOtaIdOk() (*string, bool)

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

func (*ArduinoDevicev2Otaupload) GetOtaVersion

func (o *ArduinoDevicev2Otaupload) GetOtaVersion() int64

GetOtaVersion returns the OtaVersion field value

func (*ArduinoDevicev2Otaupload) GetOtaVersionOk

func (o *ArduinoDevicev2Otaupload) GetOtaVersionOk() (*int64, bool)

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

func (*ArduinoDevicev2Otaupload) GetStatus

func (o *ArduinoDevicev2Otaupload) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ArduinoDevicev2Otaupload) GetStatusOk

func (o *ArduinoDevicev2Otaupload) 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 (*ArduinoDevicev2Otaupload) HasFileSha

func (o *ArduinoDevicev2Otaupload) HasFileSha() bool

HasFileSha returns a boolean if a field has been set.

func (*ArduinoDevicev2Otaupload) HasOtaId

func (o *ArduinoDevicev2Otaupload) HasOtaId() bool

HasOtaId returns a boolean if a field has been set.

func (*ArduinoDevicev2Otaupload) HasStatus

func (o *ArduinoDevicev2Otaupload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ArduinoDevicev2Otaupload) MarshalJSON

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

func (*ArduinoDevicev2Otaupload) SetFileSha

func (o *ArduinoDevicev2Otaupload) SetFileSha(v string)

SetFileSha gets a reference to the given string and assigns it to the FileSha field.

func (*ArduinoDevicev2Otaupload) SetOtaId

func (o *ArduinoDevicev2Otaupload) SetOtaId(v string)

SetOtaId gets a reference to the given string and assigns it to the OtaId field.

func (*ArduinoDevicev2Otaupload) SetOtaVersion

func (o *ArduinoDevicev2Otaupload) SetOtaVersion(v int64)

SetOtaVersion sets field value

func (*ArduinoDevicev2Otaupload) SetStatus

func (o *ArduinoDevicev2Otaupload) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (ArduinoDevicev2Otaupload) ToMap

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

func (*ArduinoDevicev2Otaupload) UnmarshalJSON

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

type ArduinoDevicev2Pass

type ArduinoDevicev2Pass struct {
	// Whether the password is set or not
	Set bool `json:"set"`
	// A random suggested password
	SuggestedPassword *string `json:"suggested_password,omitempty"`
}

ArduinoDevicev2Pass DeviceCertV2 describes a password associated to a device (default view)

func NewArduinoDevicev2Pass

func NewArduinoDevicev2Pass(set bool) *ArduinoDevicev2Pass

NewArduinoDevicev2Pass instantiates a new ArduinoDevicev2Pass 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 NewArduinoDevicev2PassWithDefaults

func NewArduinoDevicev2PassWithDefaults() *ArduinoDevicev2Pass

NewArduinoDevicev2PassWithDefaults instantiates a new ArduinoDevicev2Pass 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 (*ArduinoDevicev2Pass) GetSet

func (o *ArduinoDevicev2Pass) GetSet() bool

GetSet returns the Set field value

func (*ArduinoDevicev2Pass) GetSetOk

func (o *ArduinoDevicev2Pass) GetSetOk() (*bool, bool)

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

func (*ArduinoDevicev2Pass) GetSuggestedPassword

func (o *ArduinoDevicev2Pass) GetSuggestedPassword() string

GetSuggestedPassword returns the SuggestedPassword field value if set, zero value otherwise.

func (*ArduinoDevicev2Pass) GetSuggestedPasswordOk

func (o *ArduinoDevicev2Pass) GetSuggestedPasswordOk() (*string, bool)

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

func (*ArduinoDevicev2Pass) HasSuggestedPassword

func (o *ArduinoDevicev2Pass) HasSuggestedPassword() bool

HasSuggestedPassword returns a boolean if a field has been set.

func (ArduinoDevicev2Pass) MarshalJSON

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

func (*ArduinoDevicev2Pass) SetSet

func (o *ArduinoDevicev2Pass) SetSet(v bool)

SetSet sets field value

func (*ArduinoDevicev2Pass) SetSuggestedPassword

func (o *ArduinoDevicev2Pass) SetSuggestedPassword(v string)

SetSuggestedPassword gets a reference to the given string and assigns it to the SuggestedPassword field.

func (ArduinoDevicev2Pass) ToMap

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

func (*ArduinoDevicev2Pass) UnmarshalJSON

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

type ArduinoDevicev2SimpleProperties

type ArduinoDevicev2SimpleProperties struct {
	// The name of the property
	Name string `json:"name"`
	// Update date of the property
	UpdatedAt time.Time `json:"updated_at"`
	// Value of the property
	Value interface{} `json:"value"`
}

ArduinoDevicev2SimpleProperties ArduinoDevicev2SimpleProperties media type (default view)

func NewArduinoDevicev2SimpleProperties

func NewArduinoDevicev2SimpleProperties(name string, updatedAt time.Time, value interface{}) *ArduinoDevicev2SimpleProperties

NewArduinoDevicev2SimpleProperties instantiates a new ArduinoDevicev2SimpleProperties 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 NewArduinoDevicev2SimplePropertiesWithDefaults

func NewArduinoDevicev2SimplePropertiesWithDefaults() *ArduinoDevicev2SimpleProperties

NewArduinoDevicev2SimplePropertiesWithDefaults instantiates a new ArduinoDevicev2SimpleProperties 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 (*ArduinoDevicev2SimpleProperties) GetName

GetName returns the Name field value

func (*ArduinoDevicev2SimpleProperties) GetNameOk

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

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

func (*ArduinoDevicev2SimpleProperties) GetUpdatedAt

func (o *ArduinoDevicev2SimpleProperties) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ArduinoDevicev2SimpleProperties) GetUpdatedAtOk

func (o *ArduinoDevicev2SimpleProperties) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoDevicev2SimpleProperties) GetValue

func (o *ArduinoDevicev2SimpleProperties) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*ArduinoDevicev2SimpleProperties) GetValueOk

func (o *ArduinoDevicev2SimpleProperties) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value 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 (ArduinoDevicev2SimpleProperties) MarshalJSON

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

func (*ArduinoDevicev2SimpleProperties) SetName

SetName sets field value

func (*ArduinoDevicev2SimpleProperties) SetUpdatedAt

func (o *ArduinoDevicev2SimpleProperties) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*ArduinoDevicev2SimpleProperties) SetValue

func (o *ArduinoDevicev2SimpleProperties) SetValue(v interface{})

SetValue sets field value

func (ArduinoDevicev2SimpleProperties) ToMap

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

func (*ArduinoDevicev2SimpleProperties) UnmarshalJSON

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

type ArduinoDevicev2StatusEvent

type ArduinoDevicev2StatusEvent struct {
	// Update timestamp of the status event
	UpdatedAt time.Time `json:"updated_at"`
	// The status event of the device
	Value string `json:"value"`
}

ArduinoDevicev2StatusEvent ArduinoDevicev2StatusEvent media type (default view)

func NewArduinoDevicev2StatusEvent

func NewArduinoDevicev2StatusEvent(updatedAt time.Time, value string) *ArduinoDevicev2StatusEvent

NewArduinoDevicev2StatusEvent instantiates a new ArduinoDevicev2StatusEvent 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 NewArduinoDevicev2StatusEventWithDefaults

func NewArduinoDevicev2StatusEventWithDefaults() *ArduinoDevicev2StatusEvent

NewArduinoDevicev2StatusEventWithDefaults instantiates a new ArduinoDevicev2StatusEvent 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 (*ArduinoDevicev2StatusEvent) GetUpdatedAt

func (o *ArduinoDevicev2StatusEvent) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ArduinoDevicev2StatusEvent) GetUpdatedAtOk

func (o *ArduinoDevicev2StatusEvent) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoDevicev2StatusEvent) GetValue

func (o *ArduinoDevicev2StatusEvent) GetValue() string

GetValue returns the Value field value

func (*ArduinoDevicev2StatusEvent) GetValueOk

func (o *ArduinoDevicev2StatusEvent) GetValueOk() (*string, bool)

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

func (ArduinoDevicev2StatusEvent) MarshalJSON

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

func (*ArduinoDevicev2StatusEvent) SetUpdatedAt

func (o *ArduinoDevicev2StatusEvent) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*ArduinoDevicev2StatusEvent) SetValue

func (o *ArduinoDevicev2StatusEvent) SetValue(v string)

SetValue sets field value

func (ArduinoDevicev2StatusEvent) ToMap

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

func (*ArduinoDevicev2StatusEvent) UnmarshalJSON

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

type ArduinoDevicev2StatusEvents

type ArduinoDevicev2StatusEvents struct {
	// ArduinoDevicev2StatusEventCollection is the media type for an array of ArduinoDevicev2StatusEvent (default view)
	Events []ArduinoDevicev2StatusEvent `json:"events"`
	// The id of the device
	Id string `json:"id"`
}

ArduinoDevicev2StatusEvents ArduinoDevicev2StatusEvents media type (default view)

func NewArduinoDevicev2StatusEvents

func NewArduinoDevicev2StatusEvents(events []ArduinoDevicev2StatusEvent, id string) *ArduinoDevicev2StatusEvents

NewArduinoDevicev2StatusEvents instantiates a new ArduinoDevicev2StatusEvents 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 NewArduinoDevicev2StatusEventsWithDefaults

func NewArduinoDevicev2StatusEventsWithDefaults() *ArduinoDevicev2StatusEvents

NewArduinoDevicev2StatusEventsWithDefaults instantiates a new ArduinoDevicev2StatusEvents 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 (*ArduinoDevicev2StatusEvents) GetEvents

GetEvents returns the Events field value

func (*ArduinoDevicev2StatusEvents) GetEventsOk

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

func (*ArduinoDevicev2StatusEvents) GetId

GetId returns the Id field value

func (*ArduinoDevicev2StatusEvents) GetIdOk

func (o *ArduinoDevicev2StatusEvents) GetIdOk() (*string, bool)

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

func (ArduinoDevicev2StatusEvents) MarshalJSON

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

func (*ArduinoDevicev2StatusEvents) SetEvents

SetEvents sets field value

func (*ArduinoDevicev2StatusEvents) SetId

func (o *ArduinoDevicev2StatusEvents) SetId(v string)

SetId sets field value

func (ArduinoDevicev2StatusEvents) ToMap

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

func (*ArduinoDevicev2StatusEvents) UnmarshalJSON

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

type ArduinoDevicev2Webhook

type ArduinoDevicev2Webhook struct {
	// Whether the webhook is active
	Active *bool `json:"active,omitempty"`
	// The uuid of the webhook
	Id string `json:"id"`
	// The uri of the webhook
	Uri string `json:"uri"`
}

ArduinoDevicev2Webhook DeviceWebhookV2 describes a webhook associated to the device (default view)

func NewArduinoDevicev2Webhook

func NewArduinoDevicev2Webhook(id string, uri string) *ArduinoDevicev2Webhook

NewArduinoDevicev2Webhook instantiates a new ArduinoDevicev2Webhook 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 NewArduinoDevicev2WebhookWithDefaults

func NewArduinoDevicev2WebhookWithDefaults() *ArduinoDevicev2Webhook

NewArduinoDevicev2WebhookWithDefaults instantiates a new ArduinoDevicev2Webhook 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 (*ArduinoDevicev2Webhook) GetActive

func (o *ArduinoDevicev2Webhook) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*ArduinoDevicev2Webhook) GetActiveOk

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

func (*ArduinoDevicev2Webhook) GetId

func (o *ArduinoDevicev2Webhook) GetId() string

GetId returns the Id field value

func (*ArduinoDevicev2Webhook) GetIdOk

func (o *ArduinoDevicev2Webhook) GetIdOk() (*string, bool)

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

func (*ArduinoDevicev2Webhook) GetUri

func (o *ArduinoDevicev2Webhook) GetUri() string

GetUri returns the Uri field value

func (*ArduinoDevicev2Webhook) GetUriOk

func (o *ArduinoDevicev2Webhook) GetUriOk() (*string, bool)

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

func (*ArduinoDevicev2Webhook) HasActive

func (o *ArduinoDevicev2Webhook) HasActive() bool

HasActive returns a boolean if a field has been set.

func (ArduinoDevicev2Webhook) MarshalJSON

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

func (*ArduinoDevicev2Webhook) SetActive

func (o *ArduinoDevicev2Webhook) SetActive(v bool)

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

func (*ArduinoDevicev2Webhook) SetId

func (o *ArduinoDevicev2Webhook) SetId(v string)

SetId sets field value

func (*ArduinoDevicev2Webhook) SetUri

func (o *ArduinoDevicev2Webhook) SetUri(v string)

SetUri sets field value

func (ArduinoDevicev2Webhook) ToMap

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

func (*ArduinoDevicev2Webhook) UnmarshalJSON

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

type ArduinoDevicev2properties

type ArduinoDevicev2properties struct {
	// How many days the data will be kept
	DataRetentionDays float64 `json:"data_retention_days"`
	// The device of the property
	DeviceId string `json:"deviceId"`
	// ArduinoPropertyCollection is the media type for an array of ArduinoProperty (default view)
	Properties []ArduinoProperty `json:"properties"`
	// The user id of the owner
	UserId string `json:"user_id"`
}

ArduinoDevicev2properties ArduinoDevicev2properties media type (default view)

func NewArduinoDevicev2properties

func NewArduinoDevicev2properties(dataRetentionDays float64, deviceId string, properties []ArduinoProperty, userId string) *ArduinoDevicev2properties

NewArduinoDevicev2properties instantiates a new ArduinoDevicev2properties 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 NewArduinoDevicev2propertiesWithDefaults

func NewArduinoDevicev2propertiesWithDefaults() *ArduinoDevicev2properties

NewArduinoDevicev2propertiesWithDefaults instantiates a new ArduinoDevicev2properties 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 (*ArduinoDevicev2properties) GetDataRetentionDays

func (o *ArduinoDevicev2properties) GetDataRetentionDays() float64

GetDataRetentionDays returns the DataRetentionDays field value

func (*ArduinoDevicev2properties) GetDataRetentionDaysOk

func (o *ArduinoDevicev2properties) GetDataRetentionDaysOk() (*float64, bool)

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

func (*ArduinoDevicev2properties) GetDeviceId

func (o *ArduinoDevicev2properties) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*ArduinoDevicev2properties) GetDeviceIdOk

func (o *ArduinoDevicev2properties) GetDeviceIdOk() (*string, bool)

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

func (*ArduinoDevicev2properties) GetProperties

func (o *ArduinoDevicev2properties) GetProperties() []ArduinoProperty

GetProperties returns the Properties field value

func (*ArduinoDevicev2properties) GetPropertiesOk

func (o *ArduinoDevicev2properties) GetPropertiesOk() ([]ArduinoProperty, bool)

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

func (*ArduinoDevicev2properties) GetUserId

func (o *ArduinoDevicev2properties) GetUserId() string

GetUserId returns the UserId field value

func (*ArduinoDevicev2properties) GetUserIdOk

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

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

func (ArduinoDevicev2properties) MarshalJSON

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

func (*ArduinoDevicev2properties) SetDataRetentionDays

func (o *ArduinoDevicev2properties) SetDataRetentionDays(v float64)

SetDataRetentionDays sets field value

func (*ArduinoDevicev2properties) SetDeviceId

func (o *ArduinoDevicev2properties) SetDeviceId(v string)

SetDeviceId sets field value

func (*ArduinoDevicev2properties) SetProperties

func (o *ArduinoDevicev2properties) SetProperties(v []ArduinoProperty)

SetProperties sets field value

func (*ArduinoDevicev2properties) SetUserId

func (o *ArduinoDevicev2properties) SetUserId(v string)

SetUserId sets field value

func (ArduinoDevicev2properties) ToMap

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

func (*ArduinoDevicev2properties) UnmarshalJSON

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

type ArduinoDevicev2propertyvalue

type ArduinoDevicev2propertyvalue struct {
	CreatedAt *time.Time                         `json:"created_at,omitempty"`
	Value     *ArduinoDevicev2propertyvalueValue `json:"value,omitempty"`
}

ArduinoDevicev2propertyvalue ArduinoDevicev2propertyvalue media type (default view)

func NewArduinoDevicev2propertyvalue

func NewArduinoDevicev2propertyvalue() *ArduinoDevicev2propertyvalue

NewArduinoDevicev2propertyvalue instantiates a new ArduinoDevicev2propertyvalue 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 NewArduinoDevicev2propertyvalueWithDefaults

func NewArduinoDevicev2propertyvalueWithDefaults() *ArduinoDevicev2propertyvalue

NewArduinoDevicev2propertyvalueWithDefaults instantiates a new ArduinoDevicev2propertyvalue 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 (*ArduinoDevicev2propertyvalue) GetCreatedAt

func (o *ArduinoDevicev2propertyvalue) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalue) GetCreatedAtOk

func (o *ArduinoDevicev2propertyvalue) GetCreatedAtOk() (*time.Time, bool)

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

func (*ArduinoDevicev2propertyvalue) GetValue

GetValue returns the Value field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalue) GetValueOk

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

func (*ArduinoDevicev2propertyvalue) HasCreatedAt

func (o *ArduinoDevicev2propertyvalue) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalue) HasValue

func (o *ArduinoDevicev2propertyvalue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ArduinoDevicev2propertyvalue) MarshalJSON

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

func (*ArduinoDevicev2propertyvalue) SetCreatedAt

func (o *ArduinoDevicev2propertyvalue) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ArduinoDevicev2propertyvalue) SetValue

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

func (ArduinoDevicev2propertyvalue) ToMap

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

type ArduinoDevicev2propertyvalueValue

type ArduinoDevicev2propertyvalueValue struct {
	Payload    *string                                      `json:"payload,omitempty"`
	Seqno      *int64                                       `json:"seqno,omitempty"`
	Statistics *ArduinoDevicev2propertyvalueValueStatistics `json:"statistics,omitempty"`
}

ArduinoDevicev2propertyvalueValue struct for ArduinoDevicev2propertyvalueValue

func NewArduinoDevicev2propertyvalueValue

func NewArduinoDevicev2propertyvalueValue() *ArduinoDevicev2propertyvalueValue

NewArduinoDevicev2propertyvalueValue instantiates a new ArduinoDevicev2propertyvalueValue 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 NewArduinoDevicev2propertyvalueValueWithDefaults

func NewArduinoDevicev2propertyvalueValueWithDefaults() *ArduinoDevicev2propertyvalueValue

NewArduinoDevicev2propertyvalueValueWithDefaults instantiates a new ArduinoDevicev2propertyvalueValue 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 (*ArduinoDevicev2propertyvalueValue) GetPayload

func (o *ArduinoDevicev2propertyvalueValue) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValue) GetPayloadOk

func (o *ArduinoDevicev2propertyvalueValue) GetPayloadOk() (*string, bool)

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

func (*ArduinoDevicev2propertyvalueValue) GetSeqno

GetSeqno returns the Seqno field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValue) GetSeqnoOk

func (o *ArduinoDevicev2propertyvalueValue) GetSeqnoOk() (*int64, bool)

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

func (*ArduinoDevicev2propertyvalueValue) GetStatistics

GetStatistics returns the Statistics field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValue) GetStatisticsOk

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

func (*ArduinoDevicev2propertyvalueValue) HasPayload

func (o *ArduinoDevicev2propertyvalueValue) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValue) HasSeqno

HasSeqno returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValue) HasStatistics

func (o *ArduinoDevicev2propertyvalueValue) HasStatistics() bool

HasStatistics returns a boolean if a field has been set.

func (ArduinoDevicev2propertyvalueValue) MarshalJSON

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

func (*ArduinoDevicev2propertyvalueValue) SetPayload

func (o *ArduinoDevicev2propertyvalueValue) SetPayload(v string)

SetPayload gets a reference to the given string and assigns it to the Payload field.

func (*ArduinoDevicev2propertyvalueValue) SetSeqno

SetSeqno gets a reference to the given int64 and assigns it to the Seqno field.

func (*ArduinoDevicev2propertyvalueValue) SetStatistics

SetStatistics gets a reference to the given ArduinoDevicev2propertyvalueValueStatistics and assigns it to the Statistics field.

func (ArduinoDevicev2propertyvalueValue) ToMap

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

type ArduinoDevicev2propertyvalueValueStatistics

type ArduinoDevicev2propertyvalueValueStatistics struct {
	Adr       *float64 `json:"adr,omitempty"`
	Channel   *float64 `json:"channel,omitempty"`
	Duplicate *float64 `json:"duplicate,omitempty"`
	Freq      *float64 `json:"freq,omitempty"`
	ModBW     *float64 `json:"modBW,omitempty"`
	Rssi      *float64 `json:"rssi,omitempty"`
	Seqno     *float64 `json:"seqno,omitempty"`
	Sf        *float64 `json:"sf,omitempty"`
	Snr       *float64 `json:"snr,omitempty"`
	Time      *float64 `json:"time,omitempty"`
}

ArduinoDevicev2propertyvalueValueStatistics struct for ArduinoDevicev2propertyvalueValueStatistics

func NewArduinoDevicev2propertyvalueValueStatistics

func NewArduinoDevicev2propertyvalueValueStatistics() *ArduinoDevicev2propertyvalueValueStatistics

NewArduinoDevicev2propertyvalueValueStatistics instantiates a new ArduinoDevicev2propertyvalueValueStatistics 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 NewArduinoDevicev2propertyvalueValueStatisticsWithDefaults

func NewArduinoDevicev2propertyvalueValueStatisticsWithDefaults() *ArduinoDevicev2propertyvalueValueStatistics

NewArduinoDevicev2propertyvalueValueStatisticsWithDefaults instantiates a new ArduinoDevicev2propertyvalueValueStatistics 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 (*ArduinoDevicev2propertyvalueValueStatistics) GetAdr

GetAdr returns the Adr field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetAdrOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetChannel

GetChannel returns the Channel field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetChannelOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetDuplicate

GetDuplicate returns the Duplicate field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetDuplicateOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetFreq

GetFreq returns the Freq field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetFreqOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetModBW

GetModBW returns the ModBW field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetModBWOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetRssi

GetRssi returns the Rssi field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetRssiOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetSeqno

GetSeqno returns the Seqno field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetSeqnoOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetSf

GetSf returns the Sf field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetSfOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetSnr

GetSnr returns the Snr field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetSnrOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) GetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvalueValueStatistics) GetTimeOk

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

func (*ArduinoDevicev2propertyvalueValueStatistics) HasAdr

HasAdr returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasChannel

HasChannel returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasDuplicate

HasDuplicate returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasFreq

HasFreq returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasModBW

HasModBW returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasRssi

HasRssi returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasSeqno

HasSeqno returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasSf

HasSf returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasSnr

HasSnr returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvalueValueStatistics) HasTime

HasTime returns a boolean if a field has been set.

func (ArduinoDevicev2propertyvalueValueStatistics) MarshalJSON

func (*ArduinoDevicev2propertyvalueValueStatistics) SetAdr

SetAdr gets a reference to the given float64 and assigns it to the Adr field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetChannel

SetChannel gets a reference to the given float64 and assigns it to the Channel field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetDuplicate

SetDuplicate gets a reference to the given float64 and assigns it to the Duplicate field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetFreq

SetFreq gets a reference to the given float64 and assigns it to the Freq field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetModBW

SetModBW gets a reference to the given float64 and assigns it to the ModBW field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetRssi

SetRssi gets a reference to the given float64 and assigns it to the Rssi field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetSeqno

SetSeqno gets a reference to the given float64 and assigns it to the Seqno field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetSf

SetSf gets a reference to the given float64 and assigns it to the Sf field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetSnr

SetSnr gets a reference to the given float64 and assigns it to the Snr field.

func (*ArduinoDevicev2propertyvalueValueStatistics) SetTime

SetTime gets a reference to the given float64 and assigns it to the Time field.

func (ArduinoDevicev2propertyvalueValueStatistics) ToMap

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

type ArduinoDevicev2propertyvalues

type ArduinoDevicev2propertyvalues struct {
	Id               string                                        `json:"id"`
	LastEvaluatedKey ArduinoDevicev2propertyvaluesLastEvaluatedKey `json:"last_evaluated_key"`
	Name             string                                        `json:"name"`
	// ArduinoDevicev2propertyvalueCollection is the media type for an array of ArduinoDevicev2propertyvalue (default view)
	Values []ArduinoDevicev2propertyvalue `json:"values"`
}

ArduinoDevicev2propertyvalues ArduinoDevicev2propertyvalues media type (default view)

func NewArduinoDevicev2propertyvalues

func NewArduinoDevicev2propertyvalues(id string, lastEvaluatedKey ArduinoDevicev2propertyvaluesLastEvaluatedKey, name string, values []ArduinoDevicev2propertyvalue) *ArduinoDevicev2propertyvalues

NewArduinoDevicev2propertyvalues instantiates a new ArduinoDevicev2propertyvalues 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 NewArduinoDevicev2propertyvaluesWithDefaults

func NewArduinoDevicev2propertyvaluesWithDefaults() *ArduinoDevicev2propertyvalues

NewArduinoDevicev2propertyvaluesWithDefaults instantiates a new ArduinoDevicev2propertyvalues 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 (*ArduinoDevicev2propertyvalues) GetId

GetId returns the Id field value

func (*ArduinoDevicev2propertyvalues) GetIdOk

func (o *ArduinoDevicev2propertyvalues) GetIdOk() (*string, bool)

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

func (*ArduinoDevicev2propertyvalues) GetLastEvaluatedKey

GetLastEvaluatedKey returns the LastEvaluatedKey field value

func (*ArduinoDevicev2propertyvalues) GetLastEvaluatedKeyOk

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

func (*ArduinoDevicev2propertyvalues) GetName

GetName returns the Name field value

func (*ArduinoDevicev2propertyvalues) GetNameOk

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

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

func (*ArduinoDevicev2propertyvalues) GetValues

GetValues returns the Values field value

func (*ArduinoDevicev2propertyvalues) GetValuesOk

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

func (ArduinoDevicev2propertyvalues) MarshalJSON

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

func (*ArduinoDevicev2propertyvalues) SetId

SetId sets field value

func (*ArduinoDevicev2propertyvalues) SetLastEvaluatedKey

SetLastEvaluatedKey sets field value

func (*ArduinoDevicev2propertyvalues) SetName

func (o *ArduinoDevicev2propertyvalues) SetName(v string)

SetName sets field value

func (*ArduinoDevicev2propertyvalues) SetValues

SetValues sets field value

func (ArduinoDevicev2propertyvalues) ToMap

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

func (*ArduinoDevicev2propertyvalues) UnmarshalJSON

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

type ArduinoDevicev2propertyvaluesLastEvaluatedKey

type ArduinoDevicev2propertyvaluesLastEvaluatedKey struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Id        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
}

ArduinoDevicev2propertyvaluesLastEvaluatedKey struct for ArduinoDevicev2propertyvaluesLastEvaluatedKey

func NewArduinoDevicev2propertyvaluesLastEvaluatedKey

func NewArduinoDevicev2propertyvaluesLastEvaluatedKey() *ArduinoDevicev2propertyvaluesLastEvaluatedKey

NewArduinoDevicev2propertyvaluesLastEvaluatedKey instantiates a new ArduinoDevicev2propertyvaluesLastEvaluatedKey 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 NewArduinoDevicev2propertyvaluesLastEvaluatedKeyWithDefaults

func NewArduinoDevicev2propertyvaluesLastEvaluatedKeyWithDefaults() *ArduinoDevicev2propertyvaluesLastEvaluatedKey

NewArduinoDevicev2propertyvaluesLastEvaluatedKeyWithDefaults instantiates a new ArduinoDevicev2propertyvaluesLastEvaluatedKey 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 (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) GetCreatedAt

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) GetCreatedAtOk

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

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) GetIdOk

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

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) GetNameOk

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

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) HasCreatedAt

HasCreatedAt returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) HasId

HasId returns a boolean if a field has been set.

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) HasName

HasName returns a boolean if a field has been set.

func (ArduinoDevicev2propertyvaluesLastEvaluatedKey) MarshalJSON

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) SetCreatedAt

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) SetId

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

func (*ArduinoDevicev2propertyvaluesLastEvaluatedKey) SetName

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

func (ArduinoDevicev2propertyvaluesLastEvaluatedKey) ToMap

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

type ArduinoDevicev2templatedevice

type ArduinoDevicev2templatedevice struct {
	// The device fqbn
	Fqbn *string `json:"fqbn,omitempty"`
	// The device type name
	Name *string `json:"name,omitempty"`
}

ArduinoDevicev2templatedevice ArduinoDevicev2templatedevice media type (default view)

func NewArduinoDevicev2templatedevice

func NewArduinoDevicev2templatedevice() *ArduinoDevicev2templatedevice

NewArduinoDevicev2templatedevice instantiates a new ArduinoDevicev2templatedevice 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 NewArduinoDevicev2templatedeviceWithDefaults

func NewArduinoDevicev2templatedeviceWithDefaults() *ArduinoDevicev2templatedevice

NewArduinoDevicev2templatedeviceWithDefaults instantiates a new ArduinoDevicev2templatedevice 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 (*ArduinoDevicev2templatedevice) GetFqbn

GetFqbn returns the Fqbn field value if set, zero value otherwise.

func (*ArduinoDevicev2templatedevice) GetFqbnOk

func (o *ArduinoDevicev2templatedevice) GetFqbnOk() (*string, bool)

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

func (*ArduinoDevicev2templatedevice) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*ArduinoDevicev2templatedevice) GetNameOk

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

func (*ArduinoDevicev2templatedevice) HasFqbn

func (o *ArduinoDevicev2templatedevice) HasFqbn() bool

HasFqbn returns a boolean if a field has been set.

func (*ArduinoDevicev2templatedevice) HasName

func (o *ArduinoDevicev2templatedevice) HasName() bool

HasName returns a boolean if a field has been set.

func (ArduinoDevicev2templatedevice) MarshalJSON

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

func (*ArduinoDevicev2templatedevice) SetFqbn

func (o *ArduinoDevicev2templatedevice) SetFqbn(v string)

SetFqbn gets a reference to the given string and assigns it to the Fqbn field.

func (*ArduinoDevicev2templatedevice) SetName

func (o *ArduinoDevicev2templatedevice) SetName(v string)

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

func (ArduinoDevicev2templatedevice) ToMap

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

type ArduinoLinkedDevice added in v3.0.1

type ArduinoLinkedDevice struct {
	Device ArduinoDevicev2 `json:"device"`
	// The status of the linked device
	Status string `json:"status"`
}

ArduinoLinkedDevice ArduinoLinked_device media type (default view)

func NewArduinoLinkedDevice added in v3.0.1

func NewArduinoLinkedDevice(device ArduinoDevicev2, status string) *ArduinoLinkedDevice

NewArduinoLinkedDevice instantiates a new ArduinoLinkedDevice 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 NewArduinoLinkedDeviceWithDefaults added in v3.0.1

func NewArduinoLinkedDeviceWithDefaults() *ArduinoLinkedDevice

NewArduinoLinkedDeviceWithDefaults instantiates a new ArduinoLinkedDevice 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 (*ArduinoLinkedDevice) GetDevice added in v3.0.1

func (o *ArduinoLinkedDevice) GetDevice() ArduinoDevicev2

GetDevice returns the Device field value

func (*ArduinoLinkedDevice) GetDeviceOk added in v3.0.1

func (o *ArduinoLinkedDevice) GetDeviceOk() (*ArduinoDevicev2, bool)

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

func (*ArduinoLinkedDevice) GetStatus added in v3.0.1

func (o *ArduinoLinkedDevice) GetStatus() string

GetStatus returns the Status field value

func (*ArduinoLinkedDevice) GetStatusOk added in v3.0.1

func (o *ArduinoLinkedDevice) GetStatusOk() (*string, bool)

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

func (ArduinoLinkedDevice) MarshalJSON added in v3.0.1

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

func (*ArduinoLinkedDevice) SetDevice added in v3.0.1

func (o *ArduinoLinkedDevice) SetDevice(v ArduinoDevicev2)

SetDevice sets field value

func (*ArduinoLinkedDevice) SetStatus added in v3.0.1

func (o *ArduinoLinkedDevice) SetStatus(v string)

SetStatus sets field value

func (ArduinoLinkedDevice) ToMap added in v3.0.1

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

func (*ArduinoLinkedDevice) UnmarshalJSON added in v3.0.1

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

type ArduinoLinkedDeviceTemplate added in v3.0.1

type ArduinoLinkedDeviceTemplate struct {
	// The thing the device is associated to
	ThingId string `json:"thing_id"`
}

ArduinoLinkedDeviceTemplate ArduinoLinked_device_template media type (default view)

func NewArduinoLinkedDeviceTemplate added in v3.0.1

func NewArduinoLinkedDeviceTemplate(thingId string) *ArduinoLinkedDeviceTemplate

NewArduinoLinkedDeviceTemplate instantiates a new ArduinoLinkedDeviceTemplate 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 NewArduinoLinkedDeviceTemplateWithDefaults added in v3.0.1

func NewArduinoLinkedDeviceTemplateWithDefaults() *ArduinoLinkedDeviceTemplate

NewArduinoLinkedDeviceTemplateWithDefaults instantiates a new ArduinoLinkedDeviceTemplate 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 (*ArduinoLinkedDeviceTemplate) GetThingId added in v3.0.1

func (o *ArduinoLinkedDeviceTemplate) GetThingId() string

GetThingId returns the ThingId field value

func (*ArduinoLinkedDeviceTemplate) GetThingIdOk added in v3.0.1

func (o *ArduinoLinkedDeviceTemplate) GetThingIdOk() (*string, bool)

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

func (ArduinoLinkedDeviceTemplate) MarshalJSON added in v3.0.1

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

func (*ArduinoLinkedDeviceTemplate) SetThingId added in v3.0.1

func (o *ArduinoLinkedDeviceTemplate) SetThingId(v string)

SetThingId sets field value

func (ArduinoLinkedDeviceTemplate) ToMap added in v3.0.1

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

func (*ArduinoLinkedDeviceTemplate) UnmarshalJSON added in v3.0.1

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

type ArduinoLinkedProperty added in v3.0.1

type ArduinoLinkedProperty struct {
	Property ArduinoProperty `json:"property"`
	// The status of the linked property
	Status string `json:"status"`
}

ArduinoLinkedProperty ArduinoLinked_property media type (default view)

func NewArduinoLinkedProperty added in v3.0.1

func NewArduinoLinkedProperty(property ArduinoProperty, status string) *ArduinoLinkedProperty

NewArduinoLinkedProperty instantiates a new ArduinoLinkedProperty 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 NewArduinoLinkedPropertyWithDefaults added in v3.0.1

func NewArduinoLinkedPropertyWithDefaults() *ArduinoLinkedProperty

NewArduinoLinkedPropertyWithDefaults instantiates a new ArduinoLinkedProperty 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 (*ArduinoLinkedProperty) GetProperty added in v3.0.1

func (o *ArduinoLinkedProperty) GetProperty() ArduinoProperty

GetProperty returns the Property field value

func (*ArduinoLinkedProperty) GetPropertyOk added in v3.0.1

func (o *ArduinoLinkedProperty) GetPropertyOk() (*ArduinoProperty, bool)

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

func (*ArduinoLinkedProperty) GetStatus added in v3.0.1

func (o *ArduinoLinkedProperty) GetStatus() string

GetStatus returns the Status field value

func (*ArduinoLinkedProperty) GetStatusOk added in v3.0.1

func (o *ArduinoLinkedProperty) GetStatusOk() (*string, bool)

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

func (ArduinoLinkedProperty) MarshalJSON added in v3.0.1

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

func (*ArduinoLinkedProperty) SetProperty added in v3.0.1

func (o *ArduinoLinkedProperty) SetProperty(v ArduinoProperty)

SetProperty sets field value

func (*ArduinoLinkedProperty) SetStatus added in v3.0.1

func (o *ArduinoLinkedProperty) SetStatus(v string)

SetStatus sets field value

func (ArduinoLinkedProperty) ToMap added in v3.0.1

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

func (*ArduinoLinkedProperty) UnmarshalJSON added in v3.0.1

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

type ArduinoLinkedPropertyTemplate added in v3.0.1

type ArduinoLinkedPropertyTemplate struct {
	// The property the trigger is associated to
	PropertyId string `json:"property_id"`
	// The thing the trigger is associated to
	ThingId string `json:"thing_id"`
}

ArduinoLinkedPropertyTemplate ArduinoLinked_property_template media type (default view)

func NewArduinoLinkedPropertyTemplate added in v3.0.1

func NewArduinoLinkedPropertyTemplate(propertyId string, thingId string) *ArduinoLinkedPropertyTemplate

NewArduinoLinkedPropertyTemplate instantiates a new ArduinoLinkedPropertyTemplate 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 NewArduinoLinkedPropertyTemplateWithDefaults added in v3.0.1

func NewArduinoLinkedPropertyTemplateWithDefaults() *ArduinoLinkedPropertyTemplate

NewArduinoLinkedPropertyTemplateWithDefaults instantiates a new ArduinoLinkedPropertyTemplate 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 (*ArduinoLinkedPropertyTemplate) GetPropertyId added in v3.0.1

func (o *ArduinoLinkedPropertyTemplate) GetPropertyId() string

GetPropertyId returns the PropertyId field value

func (*ArduinoLinkedPropertyTemplate) GetPropertyIdOk added in v3.0.1

func (o *ArduinoLinkedPropertyTemplate) GetPropertyIdOk() (*string, bool)

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

func (*ArduinoLinkedPropertyTemplate) GetThingId added in v3.0.1

func (o *ArduinoLinkedPropertyTemplate) GetThingId() string

GetThingId returns the ThingId field value

func (*ArduinoLinkedPropertyTemplate) GetThingIdOk added in v3.0.1

func (o *ArduinoLinkedPropertyTemplate) GetThingIdOk() (*string, bool)

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

func (ArduinoLinkedPropertyTemplate) MarshalJSON added in v3.0.1

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

func (*ArduinoLinkedPropertyTemplate) SetPropertyId added in v3.0.1

func (o *ArduinoLinkedPropertyTemplate) SetPropertyId(v string)

SetPropertyId sets field value

func (*ArduinoLinkedPropertyTemplate) SetThingId added in v3.0.1

func (o *ArduinoLinkedPropertyTemplate) SetThingId(v string)

SetThingId sets field value

func (ArduinoLinkedPropertyTemplate) ToMap added in v3.0.1

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

func (*ArduinoLinkedPropertyTemplate) UnmarshalJSON added in v3.0.1

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

type ArduinoLinkedvariable

type ArduinoLinkedvariable struct {
	// The id of the linked variable
	Id string `json:"id"`
	// Last value of the linked property
	LastValue interface{} `json:"last_value,omitempty"`
	// Update date of the last value
	LastValueUpdatedAt *time.Time `json:"last_value_updated_at,omitempty"`
	// The name of the variable
	Name string `json:"name"`
	// The permission of the linked variable
	Permission string `json:"permission"`
	// The id of the related thing
	ThingId string `json:"thing_id"`
	// The name of the related thing
	ThingName     string           `json:"thing_name"`
	ThingTimezone *ArduinoTimezone `json:"thing_timezone,omitempty"`
	// The type of the variable
	Type string `json:"type"`
	// The name of the variable in the code
	VariableName string `json:"variable_name"`
}

ArduinoLinkedvariable ArduinoLinkedvariable media type (default view)

func NewArduinoLinkedvariable

func NewArduinoLinkedvariable(id string, name string, permission string, thingId string, thingName string, type_ string, variableName string) *ArduinoLinkedvariable

NewArduinoLinkedvariable instantiates a new ArduinoLinkedvariable 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 NewArduinoLinkedvariableWithDefaults

func NewArduinoLinkedvariableWithDefaults() *ArduinoLinkedvariable

NewArduinoLinkedvariableWithDefaults instantiates a new ArduinoLinkedvariable 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 (*ArduinoLinkedvariable) GetId

func (o *ArduinoLinkedvariable) GetId() string

GetId returns the Id field value

func (*ArduinoLinkedvariable) GetIdOk

func (o *ArduinoLinkedvariable) GetIdOk() (*string, bool)

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

func (*ArduinoLinkedvariable) GetLastValue

func (o *ArduinoLinkedvariable) GetLastValue() interface{}

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

func (*ArduinoLinkedvariable) GetLastValueOk

func (o *ArduinoLinkedvariable) GetLastValueOk() (*interface{}, bool)

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

func (*ArduinoLinkedvariable) GetLastValueUpdatedAt

func (o *ArduinoLinkedvariable) GetLastValueUpdatedAt() time.Time

GetLastValueUpdatedAt returns the LastValueUpdatedAt field value if set, zero value otherwise.

func (*ArduinoLinkedvariable) GetLastValueUpdatedAtOk

func (o *ArduinoLinkedvariable) GetLastValueUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoLinkedvariable) GetName

func (o *ArduinoLinkedvariable) GetName() string

GetName returns the Name field value

func (*ArduinoLinkedvariable) GetNameOk

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

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

func (*ArduinoLinkedvariable) GetPermission

func (o *ArduinoLinkedvariable) GetPermission() string

GetPermission returns the Permission field value

func (*ArduinoLinkedvariable) GetPermissionOk

func (o *ArduinoLinkedvariable) GetPermissionOk() (*string, bool)

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

func (*ArduinoLinkedvariable) GetThingId

func (o *ArduinoLinkedvariable) GetThingId() string

GetThingId returns the ThingId field value

func (*ArduinoLinkedvariable) GetThingIdOk

func (o *ArduinoLinkedvariable) GetThingIdOk() (*string, bool)

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

func (*ArduinoLinkedvariable) GetThingName

func (o *ArduinoLinkedvariable) GetThingName() string

GetThingName returns the ThingName field value

func (*ArduinoLinkedvariable) GetThingNameOk

func (o *ArduinoLinkedvariable) GetThingNameOk() (*string, bool)

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

func (*ArduinoLinkedvariable) GetThingTimezone

func (o *ArduinoLinkedvariable) GetThingTimezone() ArduinoTimezone

GetThingTimezone returns the ThingTimezone field value if set, zero value otherwise.

func (*ArduinoLinkedvariable) GetThingTimezoneOk

func (o *ArduinoLinkedvariable) GetThingTimezoneOk() (*ArduinoTimezone, bool)

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

func (*ArduinoLinkedvariable) GetType

func (o *ArduinoLinkedvariable) GetType() string

GetType returns the Type field value

func (*ArduinoLinkedvariable) GetTypeOk

func (o *ArduinoLinkedvariable) GetTypeOk() (*string, bool)

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

func (*ArduinoLinkedvariable) GetVariableName

func (o *ArduinoLinkedvariable) GetVariableName() string

GetVariableName returns the VariableName field value

func (*ArduinoLinkedvariable) GetVariableNameOk

func (o *ArduinoLinkedvariable) GetVariableNameOk() (*string, bool)

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

func (*ArduinoLinkedvariable) HasLastValue

func (o *ArduinoLinkedvariable) HasLastValue() bool

HasLastValue returns a boolean if a field has been set.

func (*ArduinoLinkedvariable) HasLastValueUpdatedAt

func (o *ArduinoLinkedvariable) HasLastValueUpdatedAt() bool

HasLastValueUpdatedAt returns a boolean if a field has been set.

func (*ArduinoLinkedvariable) HasThingTimezone

func (o *ArduinoLinkedvariable) HasThingTimezone() bool

HasThingTimezone returns a boolean if a field has been set.

func (ArduinoLinkedvariable) MarshalJSON

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

func (*ArduinoLinkedvariable) SetId

func (o *ArduinoLinkedvariable) SetId(v string)

SetId sets field value

func (*ArduinoLinkedvariable) SetLastValue

func (o *ArduinoLinkedvariable) SetLastValue(v interface{})

SetLastValue gets a reference to the given interface{} and assigns it to the LastValue field.

func (*ArduinoLinkedvariable) SetLastValueUpdatedAt

func (o *ArduinoLinkedvariable) SetLastValueUpdatedAt(v time.Time)

SetLastValueUpdatedAt gets a reference to the given time.Time and assigns it to the LastValueUpdatedAt field.

func (*ArduinoLinkedvariable) SetName

func (o *ArduinoLinkedvariable) SetName(v string)

SetName sets field value

func (*ArduinoLinkedvariable) SetPermission

func (o *ArduinoLinkedvariable) SetPermission(v string)

SetPermission sets field value

func (*ArduinoLinkedvariable) SetThingId

func (o *ArduinoLinkedvariable) SetThingId(v string)

SetThingId sets field value

func (*ArduinoLinkedvariable) SetThingName

func (o *ArduinoLinkedvariable) SetThingName(v string)

SetThingName sets field value

func (*ArduinoLinkedvariable) SetThingTimezone

func (o *ArduinoLinkedvariable) SetThingTimezone(v ArduinoTimezone)

SetThingTimezone gets a reference to the given ArduinoTimezone and assigns it to the ThingTimezone field.

func (*ArduinoLinkedvariable) SetType

func (o *ArduinoLinkedvariable) SetType(v string)

SetType sets field value

func (*ArduinoLinkedvariable) SetVariableName

func (o *ArduinoLinkedvariable) SetVariableName(v string)

SetVariableName sets field value

func (ArduinoLinkedvariable) ToMap

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

func (*ArduinoLinkedvariable) UnmarshalJSON

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

type ArduinoLoradevicev1

type ArduinoLoradevicev1 struct {
	// The eui of the app
	AppEui string `json:"app_eui"`
	// The key of the device
	AppKey string `json:"app_key"`
	// The id of the device
	DeviceId string `json:"device_id"`
	// The eui of the lora device
	Eui string `json:"eui"`
}

ArduinoLoradevicev1 ArduinoLoradevicev1 media type (default view)

func NewArduinoLoradevicev1

func NewArduinoLoradevicev1(appEui string, appKey string, deviceId string, eui string) *ArduinoLoradevicev1

NewArduinoLoradevicev1 instantiates a new ArduinoLoradevicev1 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 NewArduinoLoradevicev1WithDefaults

func NewArduinoLoradevicev1WithDefaults() *ArduinoLoradevicev1

NewArduinoLoradevicev1WithDefaults instantiates a new ArduinoLoradevicev1 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 (*ArduinoLoradevicev1) GetAppEui

func (o *ArduinoLoradevicev1) GetAppEui() string

GetAppEui returns the AppEui field value

func (*ArduinoLoradevicev1) GetAppEuiOk

func (o *ArduinoLoradevicev1) GetAppEuiOk() (*string, bool)

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

func (*ArduinoLoradevicev1) GetAppKey

func (o *ArduinoLoradevicev1) GetAppKey() string

GetAppKey returns the AppKey field value

func (*ArduinoLoradevicev1) GetAppKeyOk

func (o *ArduinoLoradevicev1) GetAppKeyOk() (*string, bool)

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

func (*ArduinoLoradevicev1) GetDeviceId

func (o *ArduinoLoradevicev1) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*ArduinoLoradevicev1) GetDeviceIdOk

func (o *ArduinoLoradevicev1) GetDeviceIdOk() (*string, bool)

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

func (*ArduinoLoradevicev1) GetEui

func (o *ArduinoLoradevicev1) GetEui() string

GetEui returns the Eui field value

func (*ArduinoLoradevicev1) GetEuiOk

func (o *ArduinoLoradevicev1) GetEuiOk() (*string, bool)

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

func (ArduinoLoradevicev1) MarshalJSON

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

func (*ArduinoLoradevicev1) SetAppEui

func (o *ArduinoLoradevicev1) SetAppEui(v string)

SetAppEui sets field value

func (*ArduinoLoradevicev1) SetAppKey

func (o *ArduinoLoradevicev1) SetAppKey(v string)

SetAppKey sets field value

func (*ArduinoLoradevicev1) SetDeviceId

func (o *ArduinoLoradevicev1) SetDeviceId(v string)

SetDeviceId sets field value

func (*ArduinoLoradevicev1) SetEui

func (o *ArduinoLoradevicev1) SetEui(v string)

SetEui sets field value

func (ArduinoLoradevicev1) ToMap

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

func (*ArduinoLoradevicev1) UnmarshalJSON

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

type ArduinoLorafreqplansv1

type ArduinoLorafreqplansv1 struct {
	// The list of frequency plans
	FrequencyPlans []ArduinoLorafreqplanv1 `json:"frequency_plans,omitempty"`
}

ArduinoLorafreqplansv1 ArduinoLorafreqplansv1 media type (default view)

func NewArduinoLorafreqplansv1

func NewArduinoLorafreqplansv1() *ArduinoLorafreqplansv1

NewArduinoLorafreqplansv1 instantiates a new ArduinoLorafreqplansv1 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 NewArduinoLorafreqplansv1WithDefaults

func NewArduinoLorafreqplansv1WithDefaults() *ArduinoLorafreqplansv1

NewArduinoLorafreqplansv1WithDefaults instantiates a new ArduinoLorafreqplansv1 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 (*ArduinoLorafreqplansv1) GetFrequencyPlans

func (o *ArduinoLorafreqplansv1) GetFrequencyPlans() []ArduinoLorafreqplanv1

GetFrequencyPlans returns the FrequencyPlans field value if set, zero value otherwise.

func (*ArduinoLorafreqplansv1) GetFrequencyPlansOk

func (o *ArduinoLorafreqplansv1) GetFrequencyPlansOk() ([]ArduinoLorafreqplanv1, bool)

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

func (*ArduinoLorafreqplansv1) HasFrequencyPlans

func (o *ArduinoLorafreqplansv1) HasFrequencyPlans() bool

HasFrequencyPlans returns a boolean if a field has been set.

func (ArduinoLorafreqplansv1) MarshalJSON

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

func (*ArduinoLorafreqplansv1) SetFrequencyPlans

func (o *ArduinoLorafreqplansv1) SetFrequencyPlans(v []ArduinoLorafreqplanv1)

SetFrequencyPlans gets a reference to the given []ArduinoLorafreqplanv1 and assigns it to the FrequencyPlans field.

func (ArduinoLorafreqplansv1) ToMap

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

type ArduinoLorafreqplanv1

type ArduinoLorafreqplanv1 struct {
	// Frequency plan only for advanced users
	Advanced bool `json:"advanced"`
	// The ID of the frequency paln
	Id string `json:"id"`
	// The name of the frequency plan
	Name string `json:"name"`
}

ArduinoLorafreqplanv1 ArduinoLorafreqplanv1 media type (default view)

func NewArduinoLorafreqplanv1

func NewArduinoLorafreqplanv1(advanced bool, id string, name string) *ArduinoLorafreqplanv1

NewArduinoLorafreqplanv1 instantiates a new ArduinoLorafreqplanv1 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 NewArduinoLorafreqplanv1WithDefaults

func NewArduinoLorafreqplanv1WithDefaults() *ArduinoLorafreqplanv1

NewArduinoLorafreqplanv1WithDefaults instantiates a new ArduinoLorafreqplanv1 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 (*ArduinoLorafreqplanv1) GetAdvanced

func (o *ArduinoLorafreqplanv1) GetAdvanced() bool

GetAdvanced returns the Advanced field value

func (*ArduinoLorafreqplanv1) GetAdvancedOk

func (o *ArduinoLorafreqplanv1) GetAdvancedOk() (*bool, bool)

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

func (*ArduinoLorafreqplanv1) GetId

func (o *ArduinoLorafreqplanv1) GetId() string

GetId returns the Id field value

func (*ArduinoLorafreqplanv1) GetIdOk

func (o *ArduinoLorafreqplanv1) GetIdOk() (*string, bool)

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

func (*ArduinoLorafreqplanv1) GetName

func (o *ArduinoLorafreqplanv1) GetName() string

GetName returns the Name field value

func (*ArduinoLorafreqplanv1) GetNameOk

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

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

func (ArduinoLorafreqplanv1) MarshalJSON

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

func (*ArduinoLorafreqplanv1) SetAdvanced

func (o *ArduinoLorafreqplanv1) SetAdvanced(v bool)

SetAdvanced sets field value

func (*ArduinoLorafreqplanv1) SetId

func (o *ArduinoLorafreqplanv1) SetId(v string)

SetId sets field value

func (*ArduinoLorafreqplanv1) SetName

func (o *ArduinoLorafreqplanv1) SetName(v string)

SetName sets field value

func (ArduinoLorafreqplanv1) ToMap

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

func (*ArduinoLorafreqplanv1) UnmarshalJSON

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

type ArduinoProperty

type ArduinoProperty struct {
	// Creation date of the property
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Delete date of the property
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// The api reference of this property
	Href string `json:"href"`
	// The id of the property
	Id string `json:"id"`
	// Last value of this property
	LastValue interface{} `json:"last_value,omitempty"`
	// Indicates if the property is involved in the activation of at least a trigger
	LinkedToTrigger *bool `json:"linked_to_trigger,omitempty"`
	// Maximum value of this property
	MaxValue *float64 `json:"max_value,omitempty"`
	// Minimum value of this property
	MinValue *float64 `json:"min_value,omitempty"`
	// The friendly name of the property
	Name string `json:"name"`
	// The permission of the property
	Permission string `json:"permission"`
	// If true, data will persist into a timeseries database
	Persist *bool `json:"persist,omitempty"`
	// The id of the sync pool
	SyncId *string `json:"sync_id,omitempty"`
	// The integer id of the property
	Tag *int64 `json:"tag,omitempty"`
	// The id of the thing
	ThingId string `json:"thing_id"`
	// The name of the associated thing
	ThingName *string `json:"thing_name,omitempty"`
	// The type of the property
	Type string `json:"type"`
	// The update frequency in seconds, or the amount of the property has to change in order to trigger an update
	UpdateParameter *float64 `json:"update_parameter,omitempty"`
	// The update strategy for the property value
	UpdateStrategy string `json:"update_strategy"`
	// Update date of the property
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Last update timestamp of this property
	ValueUpdatedAt *time.Time `json:"value_updated_at,omitempty"`
	// The sketch variable name of the property
	VariableName *string `json:"variable_name,omitempty"`
}

ArduinoProperty ArduinoProperty media type (default view)

func NewArduinoProperty

func NewArduinoProperty(href string, id string, name string, permission string, thingId string, type_ string, updateStrategy string) *ArduinoProperty

NewArduinoProperty instantiates a new ArduinoProperty 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 NewArduinoPropertyWithDefaults

func NewArduinoPropertyWithDefaults() *ArduinoProperty

NewArduinoPropertyWithDefaults instantiates a new ArduinoProperty 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 (*ArduinoProperty) GetCreatedAt

func (o *ArduinoProperty) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ArduinoProperty) GetCreatedAtOk

func (o *ArduinoProperty) GetCreatedAtOk() (*time.Time, bool)

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

func (*ArduinoProperty) GetDeletedAt

func (o *ArduinoProperty) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*ArduinoProperty) GetDeletedAtOk

func (o *ArduinoProperty) GetDeletedAtOk() (*time.Time, bool)

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

func (*ArduinoProperty) GetHref

func (o *ArduinoProperty) GetHref() string

GetHref returns the Href field value

func (*ArduinoProperty) GetHrefOk

func (o *ArduinoProperty) GetHrefOk() (*string, bool)

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

func (*ArduinoProperty) GetId

func (o *ArduinoProperty) GetId() string

GetId returns the Id field value

func (*ArduinoProperty) GetIdOk

func (o *ArduinoProperty) GetIdOk() (*string, bool)

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

func (*ArduinoProperty) GetLastValue

func (o *ArduinoProperty) GetLastValue() interface{}

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

func (*ArduinoProperty) GetLastValueOk

func (o *ArduinoProperty) GetLastValueOk() (*interface{}, bool)

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

func (*ArduinoProperty) GetLinkedToTrigger

func (o *ArduinoProperty) GetLinkedToTrigger() bool

GetLinkedToTrigger returns the LinkedToTrigger field value if set, zero value otherwise.

func (*ArduinoProperty) GetLinkedToTriggerOk

func (o *ArduinoProperty) GetLinkedToTriggerOk() (*bool, bool)

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

func (*ArduinoProperty) GetMaxValue

func (o *ArduinoProperty) GetMaxValue() float64

GetMaxValue returns the MaxValue field value if set, zero value otherwise.

func (*ArduinoProperty) GetMaxValueOk

func (o *ArduinoProperty) GetMaxValueOk() (*float64, bool)

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

func (*ArduinoProperty) GetMinValue

func (o *ArduinoProperty) GetMinValue() float64

GetMinValue returns the MinValue field value if set, zero value otherwise.

func (*ArduinoProperty) GetMinValueOk

func (o *ArduinoProperty) GetMinValueOk() (*float64, bool)

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

func (*ArduinoProperty) GetName

func (o *ArduinoProperty) GetName() string

GetName returns the Name field value

func (*ArduinoProperty) GetNameOk

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

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

func (*ArduinoProperty) GetPermission

func (o *ArduinoProperty) GetPermission() string

GetPermission returns the Permission field value

func (*ArduinoProperty) GetPermissionOk

func (o *ArduinoProperty) GetPermissionOk() (*string, bool)

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

func (*ArduinoProperty) GetPersist

func (o *ArduinoProperty) GetPersist() bool

GetPersist returns the Persist field value if set, zero value otherwise.

func (*ArduinoProperty) GetPersistOk

func (o *ArduinoProperty) GetPersistOk() (*bool, bool)

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

func (*ArduinoProperty) GetSyncId

func (o *ArduinoProperty) GetSyncId() string

GetSyncId returns the SyncId field value if set, zero value otherwise.

func (*ArduinoProperty) GetSyncIdOk

func (o *ArduinoProperty) GetSyncIdOk() (*string, bool)

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

func (*ArduinoProperty) GetTag

func (o *ArduinoProperty) GetTag() int64

GetTag returns the Tag field value if set, zero value otherwise.

func (*ArduinoProperty) GetTagOk

func (o *ArduinoProperty) GetTagOk() (*int64, bool)

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

func (*ArduinoProperty) GetThingId

func (o *ArduinoProperty) GetThingId() string

GetThingId returns the ThingId field value

func (*ArduinoProperty) GetThingIdOk

func (o *ArduinoProperty) GetThingIdOk() (*string, bool)

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

func (*ArduinoProperty) GetThingName

func (o *ArduinoProperty) GetThingName() string

GetThingName returns the ThingName field value if set, zero value otherwise.

func (*ArduinoProperty) GetThingNameOk

func (o *ArduinoProperty) GetThingNameOk() (*string, bool)

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

func (*ArduinoProperty) GetType

func (o *ArduinoProperty) GetType() string

GetType returns the Type field value

func (*ArduinoProperty) GetTypeOk

func (o *ArduinoProperty) GetTypeOk() (*string, bool)

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

func (*ArduinoProperty) GetUpdateParameter

func (o *ArduinoProperty) GetUpdateParameter() float64

GetUpdateParameter returns the UpdateParameter field value if set, zero value otherwise.

func (*ArduinoProperty) GetUpdateParameterOk

func (o *ArduinoProperty) GetUpdateParameterOk() (*float64, bool)

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

func (*ArduinoProperty) GetUpdateStrategy

func (o *ArduinoProperty) GetUpdateStrategy() string

GetUpdateStrategy returns the UpdateStrategy field value

func (*ArduinoProperty) GetUpdateStrategyOk

func (o *ArduinoProperty) GetUpdateStrategyOk() (*string, bool)

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

func (*ArduinoProperty) GetUpdatedAt

func (o *ArduinoProperty) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ArduinoProperty) GetUpdatedAtOk

func (o *ArduinoProperty) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoProperty) GetValueUpdatedAt

func (o *ArduinoProperty) GetValueUpdatedAt() time.Time

GetValueUpdatedAt returns the ValueUpdatedAt field value if set, zero value otherwise.

func (*ArduinoProperty) GetValueUpdatedAtOk

func (o *ArduinoProperty) GetValueUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoProperty) GetVariableName

func (o *ArduinoProperty) GetVariableName() string

GetVariableName returns the VariableName field value if set, zero value otherwise.

func (*ArduinoProperty) GetVariableNameOk

func (o *ArduinoProperty) GetVariableNameOk() (*string, bool)

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

func (*ArduinoProperty) HasCreatedAt

func (o *ArduinoProperty) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ArduinoProperty) HasDeletedAt

func (o *ArduinoProperty) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*ArduinoProperty) HasLastValue

func (o *ArduinoProperty) HasLastValue() bool

HasLastValue returns a boolean if a field has been set.

func (*ArduinoProperty) HasLinkedToTrigger

func (o *ArduinoProperty) HasLinkedToTrigger() bool

HasLinkedToTrigger returns a boolean if a field has been set.

func (*ArduinoProperty) HasMaxValue

func (o *ArduinoProperty) HasMaxValue() bool

HasMaxValue returns a boolean if a field has been set.

func (*ArduinoProperty) HasMinValue

func (o *ArduinoProperty) HasMinValue() bool

HasMinValue returns a boolean if a field has been set.

func (*ArduinoProperty) HasPersist

func (o *ArduinoProperty) HasPersist() bool

HasPersist returns a boolean if a field has been set.

func (*ArduinoProperty) HasSyncId

func (o *ArduinoProperty) HasSyncId() bool

HasSyncId returns a boolean if a field has been set.

func (*ArduinoProperty) HasTag

func (o *ArduinoProperty) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*ArduinoProperty) HasThingName

func (o *ArduinoProperty) HasThingName() bool

HasThingName returns a boolean if a field has been set.

func (*ArduinoProperty) HasUpdateParameter

func (o *ArduinoProperty) HasUpdateParameter() bool

HasUpdateParameter returns a boolean if a field has been set.

func (*ArduinoProperty) HasUpdatedAt

func (o *ArduinoProperty) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ArduinoProperty) HasValueUpdatedAt

func (o *ArduinoProperty) HasValueUpdatedAt() bool

HasValueUpdatedAt returns a boolean if a field has been set.

func (*ArduinoProperty) HasVariableName

func (o *ArduinoProperty) HasVariableName() bool

HasVariableName returns a boolean if a field has been set.

func (ArduinoProperty) MarshalJSON

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

func (*ArduinoProperty) SetCreatedAt

func (o *ArduinoProperty) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ArduinoProperty) SetDeletedAt

func (o *ArduinoProperty) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*ArduinoProperty) SetHref

func (o *ArduinoProperty) SetHref(v string)

SetHref sets field value

func (*ArduinoProperty) SetId

func (o *ArduinoProperty) SetId(v string)

SetId sets field value

func (*ArduinoProperty) SetLastValue

func (o *ArduinoProperty) SetLastValue(v interface{})

SetLastValue gets a reference to the given interface{} and assigns it to the LastValue field.

func (*ArduinoProperty) SetLinkedToTrigger

func (o *ArduinoProperty) SetLinkedToTrigger(v bool)

SetLinkedToTrigger gets a reference to the given bool and assigns it to the LinkedToTrigger field.

func (*ArduinoProperty) SetMaxValue

func (o *ArduinoProperty) SetMaxValue(v float64)

SetMaxValue gets a reference to the given float64 and assigns it to the MaxValue field.

func (*ArduinoProperty) SetMinValue

func (o *ArduinoProperty) SetMinValue(v float64)

SetMinValue gets a reference to the given float64 and assigns it to the MinValue field.

func (*ArduinoProperty) SetName

func (o *ArduinoProperty) SetName(v string)

SetName sets field value

func (*ArduinoProperty) SetPermission

func (o *ArduinoProperty) SetPermission(v string)

SetPermission sets field value

func (*ArduinoProperty) SetPersist

func (o *ArduinoProperty) SetPersist(v bool)

SetPersist gets a reference to the given bool and assigns it to the Persist field.

func (*ArduinoProperty) SetSyncId

func (o *ArduinoProperty) SetSyncId(v string)

SetSyncId gets a reference to the given string and assigns it to the SyncId field.

func (*ArduinoProperty) SetTag

func (o *ArduinoProperty) SetTag(v int64)

SetTag gets a reference to the given int64 and assigns it to the Tag field.

func (*ArduinoProperty) SetThingId

func (o *ArduinoProperty) SetThingId(v string)

SetThingId sets field value

func (*ArduinoProperty) SetThingName

func (o *ArduinoProperty) SetThingName(v string)

SetThingName gets a reference to the given string and assigns it to the ThingName field.

func (*ArduinoProperty) SetType

func (o *ArduinoProperty) SetType(v string)

SetType sets field value

func (*ArduinoProperty) SetUpdateParameter

func (o *ArduinoProperty) SetUpdateParameter(v float64)

SetUpdateParameter gets a reference to the given float64 and assigns it to the UpdateParameter field.

func (*ArduinoProperty) SetUpdateStrategy

func (o *ArduinoProperty) SetUpdateStrategy(v string)

SetUpdateStrategy sets field value

func (*ArduinoProperty) SetUpdatedAt

func (o *ArduinoProperty) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*ArduinoProperty) SetValueUpdatedAt

func (o *ArduinoProperty) SetValueUpdatedAt(v time.Time)

SetValueUpdatedAt gets a reference to the given time.Time and assigns it to the ValueUpdatedAt field.

func (*ArduinoProperty) SetVariableName

func (o *ArduinoProperty) SetVariableName(v string)

SetVariableName gets a reference to the given string and assigns it to the VariableName field.

func (ArduinoProperty) ToMap

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

func (*ArduinoProperty) UnmarshalJSON

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

type ArduinoPropertytype

type ArduinoPropertytype struct {
	// The voice assistants available for this type
	Assistants []string `json:"assistants,omitempty"`
	// The c++ type we are using for this variable type
	Declaration string `json:"declaration"`
	// Tell if this type is deprecated
	Deprecated bool `json:"deprecated"`
	// Example of use
	Example *string `json:"example,omitempty"`
	// The friendly name of the property type
	Name string `json:"name"`
	// Tell if the type allow a R/W permission
	Rw bool `json:"rw"`
	// The type of property to use if it's deprecated
	SupersededBy *string `json:"supersededBy,omitempty"`
	// The tags related to the type
	Tags []string `json:"tags,omitempty"`
	// The api reference of this type
	Type string `json:"type"`
	// The measure units available for this type
	Units []string `json:"units,omitempty"`
}

ArduinoPropertytype ArduinoPropertytype media type (default view)

func NewArduinoPropertytype

func NewArduinoPropertytype(declaration string, deprecated bool, name string, rw bool, type_ string) *ArduinoPropertytype

NewArduinoPropertytype instantiates a new ArduinoPropertytype 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 NewArduinoPropertytypeWithDefaults

func NewArduinoPropertytypeWithDefaults() *ArduinoPropertytype

NewArduinoPropertytypeWithDefaults instantiates a new ArduinoPropertytype 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 (*ArduinoPropertytype) GetAssistants

func (o *ArduinoPropertytype) GetAssistants() []string

GetAssistants returns the Assistants field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetAssistantsOk

func (o *ArduinoPropertytype) GetAssistantsOk() ([]string, bool)

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

func (*ArduinoPropertytype) GetDeclaration

func (o *ArduinoPropertytype) GetDeclaration() string

GetDeclaration returns the Declaration field value

func (*ArduinoPropertytype) GetDeclarationOk

func (o *ArduinoPropertytype) GetDeclarationOk() (*string, bool)

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

func (*ArduinoPropertytype) GetDeprecated

func (o *ArduinoPropertytype) GetDeprecated() bool

GetDeprecated returns the Deprecated field value

func (*ArduinoPropertytype) GetDeprecatedOk

func (o *ArduinoPropertytype) GetDeprecatedOk() (*bool, bool)

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

func (*ArduinoPropertytype) GetExample

func (o *ArduinoPropertytype) GetExample() string

GetExample returns the Example field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetExampleOk

func (o *ArduinoPropertytype) GetExampleOk() (*string, bool)

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

func (*ArduinoPropertytype) GetName

func (o *ArduinoPropertytype) GetName() string

GetName returns the Name field value

func (*ArduinoPropertytype) GetNameOk

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

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

func (*ArduinoPropertytype) GetRw

func (o *ArduinoPropertytype) GetRw() bool

GetRw returns the Rw field value

func (*ArduinoPropertytype) GetRwOk

func (o *ArduinoPropertytype) GetRwOk() (*bool, bool)

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

func (*ArduinoPropertytype) GetSupersededBy

func (o *ArduinoPropertytype) GetSupersededBy() string

GetSupersededBy returns the SupersededBy field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetSupersededByOk

func (o *ArduinoPropertytype) GetSupersededByOk() (*string, bool)

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

func (*ArduinoPropertytype) GetTags

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

GetTags returns the Tags field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetTagsOk

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

func (*ArduinoPropertytype) GetType

func (o *ArduinoPropertytype) GetType() string

GetType returns the Type field value

func (*ArduinoPropertytype) GetTypeOk

func (o *ArduinoPropertytype) GetTypeOk() (*string, bool)

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

func (*ArduinoPropertytype) GetUnits

func (o *ArduinoPropertytype) GetUnits() []string

GetUnits returns the Units field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetUnitsOk

func (o *ArduinoPropertytype) GetUnitsOk() ([]string, bool)

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

func (*ArduinoPropertytype) HasAssistants

func (o *ArduinoPropertytype) HasAssistants() bool

HasAssistants returns a boolean if a field has been set.

func (*ArduinoPropertytype) HasExample

func (o *ArduinoPropertytype) HasExample() bool

HasExample returns a boolean if a field has been set.

func (*ArduinoPropertytype) HasSupersededBy

func (o *ArduinoPropertytype) HasSupersededBy() bool

HasSupersededBy returns a boolean if a field has been set.

func (*ArduinoPropertytype) HasTags

func (o *ArduinoPropertytype) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ArduinoPropertytype) HasUnits

func (o *ArduinoPropertytype) HasUnits() bool

HasUnits returns a boolean if a field has been set.

func (ArduinoPropertytype) MarshalJSON

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

func (*ArduinoPropertytype) SetAssistants

func (o *ArduinoPropertytype) SetAssistants(v []string)

SetAssistants gets a reference to the given []string and assigns it to the Assistants field.

func (*ArduinoPropertytype) SetDeclaration

func (o *ArduinoPropertytype) SetDeclaration(v string)

SetDeclaration sets field value

func (*ArduinoPropertytype) SetDeprecated

func (o *ArduinoPropertytype) SetDeprecated(v bool)

SetDeprecated sets field value

func (*ArduinoPropertytype) SetExample

func (o *ArduinoPropertytype) SetExample(v string)

SetExample gets a reference to the given string and assigns it to the Example field.

func (*ArduinoPropertytype) SetName

func (o *ArduinoPropertytype) SetName(v string)

SetName sets field value

func (*ArduinoPropertytype) SetRw

func (o *ArduinoPropertytype) SetRw(v bool)

SetRw sets field value

func (*ArduinoPropertytype) SetSupersededBy

func (o *ArduinoPropertytype) SetSupersededBy(v string)

SetSupersededBy gets a reference to the given string and assigns it to the SupersededBy field.

func (*ArduinoPropertytype) SetTags

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

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

func (*ArduinoPropertytype) SetType

func (o *ArduinoPropertytype) SetType(v string)

SetType sets field value

func (*ArduinoPropertytype) SetUnits

func (o *ArduinoPropertytype) SetUnits(v []string)

SetUnits gets a reference to the given []string and assigns it to the Units field.

func (ArduinoPropertytype) ToMap

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

func (*ArduinoPropertytype) UnmarshalJSON

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

type ArduinoSeriesBatch

type ArduinoSeriesBatch struct {
	// Response version
	RespVersion int64 `json:"resp_version"`
	// Responses of the request
	Responses []ArduinoSeriesResponse `json:"responses"`
}

ArduinoSeriesBatch ArduinoSeriesBatch media type (default view)

func NewArduinoSeriesBatch

func NewArduinoSeriesBatch(respVersion int64, responses []ArduinoSeriesResponse) *ArduinoSeriesBatch

NewArduinoSeriesBatch instantiates a new ArduinoSeriesBatch 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 NewArduinoSeriesBatchWithDefaults

func NewArduinoSeriesBatchWithDefaults() *ArduinoSeriesBatch

NewArduinoSeriesBatchWithDefaults instantiates a new ArduinoSeriesBatch 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 (*ArduinoSeriesBatch) GetRespVersion

func (o *ArduinoSeriesBatch) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*ArduinoSeriesBatch) GetRespVersionOk

func (o *ArduinoSeriesBatch) GetRespVersionOk() (*int64, bool)

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

func (*ArduinoSeriesBatch) GetResponses

func (o *ArduinoSeriesBatch) GetResponses() []ArduinoSeriesResponse

GetResponses returns the Responses field value

func (*ArduinoSeriesBatch) GetResponsesOk

func (o *ArduinoSeriesBatch) GetResponsesOk() ([]ArduinoSeriesResponse, bool)

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

func (ArduinoSeriesBatch) MarshalJSON

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

func (*ArduinoSeriesBatch) SetRespVersion

func (o *ArduinoSeriesBatch) SetRespVersion(v int64)

SetRespVersion sets field value

func (*ArduinoSeriesBatch) SetResponses

func (o *ArduinoSeriesBatch) SetResponses(v []ArduinoSeriesResponse)

SetResponses sets field value

func (ArduinoSeriesBatch) ToMap

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

func (*ArduinoSeriesBatch) UnmarshalJSON

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

type ArduinoSeriesBatchSampled

type ArduinoSeriesBatchSampled struct {
	// Response version
	RespVersion int64 `json:"resp_version"`
	// Responses of the request
	Responses []ArduinoSeriesSampledResponse `json:"responses"`
}

ArduinoSeriesBatchSampled ArduinoSeriesBatchSampled media type (default view)

func NewArduinoSeriesBatchSampled

func NewArduinoSeriesBatchSampled(respVersion int64, responses []ArduinoSeriesSampledResponse) *ArduinoSeriesBatchSampled

NewArduinoSeriesBatchSampled instantiates a new ArduinoSeriesBatchSampled 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 NewArduinoSeriesBatchSampledWithDefaults

func NewArduinoSeriesBatchSampledWithDefaults() *ArduinoSeriesBatchSampled

NewArduinoSeriesBatchSampledWithDefaults instantiates a new ArduinoSeriesBatchSampled 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 (*ArduinoSeriesBatchSampled) GetRespVersion

func (o *ArduinoSeriesBatchSampled) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*ArduinoSeriesBatchSampled) GetRespVersionOk

func (o *ArduinoSeriesBatchSampled) GetRespVersionOk() (*int64, bool)

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

func (*ArduinoSeriesBatchSampled) GetResponses

GetResponses returns the Responses field value

func (*ArduinoSeriesBatchSampled) GetResponsesOk

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

func (ArduinoSeriesBatchSampled) MarshalJSON

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

func (*ArduinoSeriesBatchSampled) SetRespVersion

func (o *ArduinoSeriesBatchSampled) SetRespVersion(v int64)

SetRespVersion sets field value

func (*ArduinoSeriesBatchSampled) SetResponses

SetResponses sets field value

func (ArduinoSeriesBatchSampled) ToMap

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

func (*ArduinoSeriesBatchSampled) UnmarshalJSON

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

type ArduinoSeriesRawBatch

type ArduinoSeriesRawBatch struct {
	// Response version
	RespVersion int64 `json:"resp_version"`
	// Responses of the request
	Responses []ArduinoSeriesRawResponse `json:"responses"`
}

ArduinoSeriesRawBatch ArduinoSeriesRawBatch media type (default view)

func NewArduinoSeriesRawBatch

func NewArduinoSeriesRawBatch(respVersion int64, responses []ArduinoSeriesRawResponse) *ArduinoSeriesRawBatch

NewArduinoSeriesRawBatch instantiates a new ArduinoSeriesRawBatch 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 NewArduinoSeriesRawBatchWithDefaults

func NewArduinoSeriesRawBatchWithDefaults() *ArduinoSeriesRawBatch

NewArduinoSeriesRawBatchWithDefaults instantiates a new ArduinoSeriesRawBatch 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 (*ArduinoSeriesRawBatch) GetRespVersion

func (o *ArduinoSeriesRawBatch) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*ArduinoSeriesRawBatch) GetRespVersionOk

func (o *ArduinoSeriesRawBatch) GetRespVersionOk() (*int64, bool)

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

func (*ArduinoSeriesRawBatch) GetResponses

func (o *ArduinoSeriesRawBatch) GetResponses() []ArduinoSeriesRawResponse

GetResponses returns the Responses field value

func (*ArduinoSeriesRawBatch) GetResponsesOk

func (o *ArduinoSeriesRawBatch) GetResponsesOk() ([]ArduinoSeriesRawResponse, bool)

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

func (ArduinoSeriesRawBatch) MarshalJSON

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

func (*ArduinoSeriesRawBatch) SetRespVersion

func (o *ArduinoSeriesRawBatch) SetRespVersion(v int64)

SetRespVersion sets field value

func (*ArduinoSeriesRawBatch) SetResponses

func (o *ArduinoSeriesRawBatch) SetResponses(v []ArduinoSeriesRawResponse)

SetResponses sets field value

func (ArduinoSeriesRawBatch) ToMap

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

func (*ArduinoSeriesRawBatch) UnmarshalJSON

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

type ArduinoSeriesRawBatchLastvalue

type ArduinoSeriesRawBatchLastvalue struct {
	// Responses of the request
	Responses []ArduinoSeriesRawLastValueResponse `json:"responses"`
	// Status of the response
	Status string `json:"status"`
}

ArduinoSeriesRawBatchLastvalue ArduinoSeriesRawBatchLastvalue media type (default view)

func NewArduinoSeriesRawBatchLastvalue

func NewArduinoSeriesRawBatchLastvalue(responses []ArduinoSeriesRawLastValueResponse, status string) *ArduinoSeriesRawBatchLastvalue

NewArduinoSeriesRawBatchLastvalue instantiates a new ArduinoSeriesRawBatchLastvalue 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 NewArduinoSeriesRawBatchLastvalueWithDefaults

func NewArduinoSeriesRawBatchLastvalueWithDefaults() *ArduinoSeriesRawBatchLastvalue

NewArduinoSeriesRawBatchLastvalueWithDefaults instantiates a new ArduinoSeriesRawBatchLastvalue 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 (*ArduinoSeriesRawBatchLastvalue) GetResponses

GetResponses returns the Responses field value

func (*ArduinoSeriesRawBatchLastvalue) GetResponsesOk

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

func (*ArduinoSeriesRawBatchLastvalue) GetStatus

func (o *ArduinoSeriesRawBatchLastvalue) GetStatus() string

GetStatus returns the Status field value

func (*ArduinoSeriesRawBatchLastvalue) GetStatusOk

func (o *ArduinoSeriesRawBatchLastvalue) GetStatusOk() (*string, bool)

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

func (ArduinoSeriesRawBatchLastvalue) MarshalJSON

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

func (*ArduinoSeriesRawBatchLastvalue) SetResponses

SetResponses sets field value

func (*ArduinoSeriesRawBatchLastvalue) SetStatus

func (o *ArduinoSeriesRawBatchLastvalue) SetStatus(v string)

SetStatus sets field value

func (ArduinoSeriesRawBatchLastvalue) ToMap

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

func (*ArduinoSeriesRawBatchLastvalue) UnmarshalJSON

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

type ArduinoSeriesRawLastValueResponse

type ArduinoSeriesRawLastValueResponse struct {
	// Total number of values in the array 'values'
	CountValues int64 `json:"count_values"`
	// Property id
	PropertyId string `json:"property_id"`
	// Thing id
	ThingId string `json:"thing_id"`
	// Timestamp in RFC3339
	Times []time.Time `json:"times"`
	// Values can be in Float, String, Bool, Object
	Values []interface{} `json:"values"`
}

ArduinoSeriesRawLastValueResponse ArduinoSeriesRawLastValueResponse media type (default view)

func NewArduinoSeriesRawLastValueResponse

func NewArduinoSeriesRawLastValueResponse(countValues int64, propertyId string, thingId string, times []time.Time, values []interface{}) *ArduinoSeriesRawLastValueResponse

NewArduinoSeriesRawLastValueResponse instantiates a new ArduinoSeriesRawLastValueResponse 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 NewArduinoSeriesRawLastValueResponseWithDefaults

func NewArduinoSeriesRawLastValueResponseWithDefaults() *ArduinoSeriesRawLastValueResponse

NewArduinoSeriesRawLastValueResponseWithDefaults instantiates a new ArduinoSeriesRawLastValueResponse 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 (*ArduinoSeriesRawLastValueResponse) GetCountValues

func (o *ArduinoSeriesRawLastValueResponse) GetCountValues() int64

GetCountValues returns the CountValues field value

func (*ArduinoSeriesRawLastValueResponse) GetCountValuesOk

func (o *ArduinoSeriesRawLastValueResponse) GetCountValuesOk() (*int64, bool)

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

func (*ArduinoSeriesRawLastValueResponse) GetPropertyId

func (o *ArduinoSeriesRawLastValueResponse) GetPropertyId() string

GetPropertyId returns the PropertyId field value

func (*ArduinoSeriesRawLastValueResponse) GetPropertyIdOk

func (o *ArduinoSeriesRawLastValueResponse) GetPropertyIdOk() (*string, bool)

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

func (*ArduinoSeriesRawLastValueResponse) GetThingId

func (o *ArduinoSeriesRawLastValueResponse) GetThingId() string

GetThingId returns the ThingId field value

func (*ArduinoSeriesRawLastValueResponse) GetThingIdOk

func (o *ArduinoSeriesRawLastValueResponse) GetThingIdOk() (*string, bool)

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

func (*ArduinoSeriesRawLastValueResponse) GetTimes

GetTimes returns the Times field value

func (*ArduinoSeriesRawLastValueResponse) GetTimesOk

func (o *ArduinoSeriesRawLastValueResponse) GetTimesOk() ([]time.Time, bool)

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

func (*ArduinoSeriesRawLastValueResponse) GetValues

func (o *ArduinoSeriesRawLastValueResponse) GetValues() []interface{}

GetValues returns the Values field value

func (*ArduinoSeriesRawLastValueResponse) GetValuesOk

func (o *ArduinoSeriesRawLastValueResponse) GetValuesOk() ([]interface{}, bool)

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

func (ArduinoSeriesRawLastValueResponse) MarshalJSON

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

func (*ArduinoSeriesRawLastValueResponse) SetCountValues

func (o *ArduinoSeriesRawLastValueResponse) SetCountValues(v int64)

SetCountValues sets field value

func (*ArduinoSeriesRawLastValueResponse) SetPropertyId

func (o *ArduinoSeriesRawLastValueResponse) SetPropertyId(v string)

SetPropertyId sets field value

func (*ArduinoSeriesRawLastValueResponse) SetThingId

func (o *ArduinoSeriesRawLastValueResponse) SetThingId(v string)

SetThingId sets field value

func (*ArduinoSeriesRawLastValueResponse) SetTimes

func (o *ArduinoSeriesRawLastValueResponse) SetTimes(v []time.Time)

SetTimes sets field value

func (*ArduinoSeriesRawLastValueResponse) SetValues

func (o *ArduinoSeriesRawLastValueResponse) SetValues(v []interface{})

SetValues sets field value

func (ArduinoSeriesRawLastValueResponse) ToMap

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

func (*ArduinoSeriesRawLastValueResponse) UnmarshalJSON

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

type ArduinoSeriesRawResponse

type ArduinoSeriesRawResponse struct {
	// Total number of values in the array 'values'
	CountValues int64 `json:"count_values"`
	// From date
	FromDate time.Time `json:"from_date"`
	// If the response is different than 'ok'
	Message *string `json:"message,omitempty"`
	// Property id
	PropertyId *string `json:"property_id,omitempty"`
	// Property name
	PropertyName *string `json:"property_name,omitempty"`
	// Property type
	PropertyType *string `json:"property_type,omitempty"`
	// Query of for the data
	Query string `json:"query"`
	// Response version
	RespVersion int64                              `json:"resp_version"`
	Series      BatchQueryRawResponseSeriesMediaV1 `json:"series"`
	// Max of values
	SeriesLimit *int64 `json:"series_limit,omitempty"`
	// Sorting
	Sort string `json:"sort"`
	// Status of the response
	Status string `json:"status"`
	// Thing id
	ThingId *string `json:"thing_id,omitempty"`
	// Timestamp in RFC3339
	Times []time.Time `json:"times"`
	// To date
	ToDate time.Time `json:"to_date"`
	// Values can be in Float, String, Bool, Object
	Values []interface{} `json:"values"`
}

ArduinoSeriesRawResponse ArduinoSeriesRawResponse media type (default view)

func NewArduinoSeriesRawResponse

func NewArduinoSeriesRawResponse(countValues int64, fromDate time.Time, query string, respVersion int64, series BatchQueryRawResponseSeriesMediaV1, sort string, status string, times []time.Time, toDate time.Time, values []interface{}) *ArduinoSeriesRawResponse

NewArduinoSeriesRawResponse instantiates a new ArduinoSeriesRawResponse 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 NewArduinoSeriesRawResponseWithDefaults

func NewArduinoSeriesRawResponseWithDefaults() *ArduinoSeriesRawResponse

NewArduinoSeriesRawResponseWithDefaults instantiates a new ArduinoSeriesRawResponse 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 (*ArduinoSeriesRawResponse) GetCountValues

func (o *ArduinoSeriesRawResponse) GetCountValues() int64

GetCountValues returns the CountValues field value

func (*ArduinoSeriesRawResponse) GetCountValuesOk

func (o *ArduinoSeriesRawResponse) GetCountValuesOk() (*int64, bool)

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

func (*ArduinoSeriesRawResponse) GetFromDate

func (o *ArduinoSeriesRawResponse) GetFromDate() time.Time

GetFromDate returns the FromDate field value

func (*ArduinoSeriesRawResponse) GetFromDateOk

func (o *ArduinoSeriesRawResponse) GetFromDateOk() (*time.Time, bool)

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

func (*ArduinoSeriesRawResponse) GetMessage

func (o *ArduinoSeriesRawResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetMessageOk

func (o *ArduinoSeriesRawResponse) GetMessageOk() (*string, 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.

func (*ArduinoSeriesRawResponse) GetPropertyId

func (o *ArduinoSeriesRawResponse) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetPropertyIdOk

func (o *ArduinoSeriesRawResponse) GetPropertyIdOk() (*string, bool)

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

func (*ArduinoSeriesRawResponse) GetPropertyName

func (o *ArduinoSeriesRawResponse) GetPropertyName() string

GetPropertyName returns the PropertyName field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetPropertyNameOk

func (o *ArduinoSeriesRawResponse) GetPropertyNameOk() (*string, bool)

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

func (*ArduinoSeriesRawResponse) GetPropertyType

func (o *ArduinoSeriesRawResponse) GetPropertyType() string

GetPropertyType returns the PropertyType field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetPropertyTypeOk

func (o *ArduinoSeriesRawResponse) GetPropertyTypeOk() (*string, bool)

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

func (*ArduinoSeriesRawResponse) GetQuery

func (o *ArduinoSeriesRawResponse) GetQuery() string

GetQuery returns the Query field value

func (*ArduinoSeriesRawResponse) GetQueryOk

func (o *ArduinoSeriesRawResponse) GetQueryOk() (*string, bool)

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

func (*ArduinoSeriesRawResponse) GetRespVersion

func (o *ArduinoSeriesRawResponse) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*ArduinoSeriesRawResponse) GetRespVersionOk

func (o *ArduinoSeriesRawResponse) GetRespVersionOk() (*int64, bool)

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

func (*ArduinoSeriesRawResponse) GetSeries

GetSeries returns the Series field value

func (*ArduinoSeriesRawResponse) GetSeriesLimit

func (o *ArduinoSeriesRawResponse) GetSeriesLimit() int64

GetSeriesLimit returns the SeriesLimit field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetSeriesLimitOk

func (o *ArduinoSeriesRawResponse) GetSeriesLimitOk() (*int64, bool)

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

func (*ArduinoSeriesRawResponse) GetSeriesOk

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

func (*ArduinoSeriesRawResponse) GetSort

func (o *ArduinoSeriesRawResponse) GetSort() string

GetSort returns the Sort field value

func (*ArduinoSeriesRawResponse) GetSortOk

func (o *ArduinoSeriesRawResponse) GetSortOk() (*string, bool)

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

func (*ArduinoSeriesRawResponse) GetStatus

func (o *ArduinoSeriesRawResponse) GetStatus() string

GetStatus returns the Status field value

func (*ArduinoSeriesRawResponse) GetStatusOk

func (o *ArduinoSeriesRawResponse) GetStatusOk() (*string, bool)

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

func (*ArduinoSeriesRawResponse) GetThingId

func (o *ArduinoSeriesRawResponse) GetThingId() string

GetThingId returns the ThingId field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetThingIdOk

func (o *ArduinoSeriesRawResponse) GetThingIdOk() (*string, bool)

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

func (*ArduinoSeriesRawResponse) GetTimes

func (o *ArduinoSeriesRawResponse) GetTimes() []time.Time

GetTimes returns the Times field value

func (*ArduinoSeriesRawResponse) GetTimesOk

func (o *ArduinoSeriesRawResponse) GetTimesOk() ([]time.Time, bool)

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

func (*ArduinoSeriesRawResponse) GetToDate

func (o *ArduinoSeriesRawResponse) GetToDate() time.Time

GetToDate returns the ToDate field value

func (*ArduinoSeriesRawResponse) GetToDateOk

func (o *ArduinoSeriesRawResponse) GetToDateOk() (*time.Time, bool)

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

func (*ArduinoSeriesRawResponse) GetValues

func (o *ArduinoSeriesRawResponse) GetValues() []interface{}

GetValues returns the Values field value

func (*ArduinoSeriesRawResponse) GetValuesOk

func (o *ArduinoSeriesRawResponse) GetValuesOk() ([]interface{}, bool)

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

func (*ArduinoSeriesRawResponse) HasMessage

func (o *ArduinoSeriesRawResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ArduinoSeriesRawResponse) HasPropertyId

func (o *ArduinoSeriesRawResponse) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*ArduinoSeriesRawResponse) HasPropertyName

func (o *ArduinoSeriesRawResponse) HasPropertyName() bool

HasPropertyName returns a boolean if a field has been set.

func (*ArduinoSeriesRawResponse) HasPropertyType

func (o *ArduinoSeriesRawResponse) HasPropertyType() bool

HasPropertyType returns a boolean if a field has been set.

func (*ArduinoSeriesRawResponse) HasSeriesLimit

func (o *ArduinoSeriesRawResponse) HasSeriesLimit() bool

HasSeriesLimit returns a boolean if a field has been set.

func (*ArduinoSeriesRawResponse) HasThingId

func (o *ArduinoSeriesRawResponse) HasThingId() bool

HasThingId returns a boolean if a field has been set.

func (ArduinoSeriesRawResponse) MarshalJSON

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

func (*ArduinoSeriesRawResponse) SetCountValues

func (o *ArduinoSeriesRawResponse) SetCountValues(v int64)

SetCountValues sets field value

func (*ArduinoSeriesRawResponse) SetFromDate

func (o *ArduinoSeriesRawResponse) SetFromDate(v time.Time)

SetFromDate sets field value

func (*ArduinoSeriesRawResponse) SetMessage

func (o *ArduinoSeriesRawResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ArduinoSeriesRawResponse) SetPropertyId

func (o *ArduinoSeriesRawResponse) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*ArduinoSeriesRawResponse) SetPropertyName

func (o *ArduinoSeriesRawResponse) SetPropertyName(v string)

SetPropertyName gets a reference to the given string and assigns it to the PropertyName field.

func (*ArduinoSeriesRawResponse) SetPropertyType

func (o *ArduinoSeriesRawResponse) SetPropertyType(v string)

SetPropertyType gets a reference to the given string and assigns it to the PropertyType field.

func (*ArduinoSeriesRawResponse) SetQuery

func (o *ArduinoSeriesRawResponse) SetQuery(v string)

SetQuery sets field value

func (*ArduinoSeriesRawResponse) SetRespVersion

func (o *ArduinoSeriesRawResponse) SetRespVersion(v int64)

SetRespVersion sets field value

func (*ArduinoSeriesRawResponse) SetSeries

SetSeries sets field value

func (*ArduinoSeriesRawResponse) SetSeriesLimit

func (o *ArduinoSeriesRawResponse) SetSeriesLimit(v int64)

SetSeriesLimit gets a reference to the given int64 and assigns it to the SeriesLimit field.

func (*ArduinoSeriesRawResponse) SetSort

func (o *ArduinoSeriesRawResponse) SetSort(v string)

SetSort sets field value

func (*ArduinoSeriesRawResponse) SetStatus

func (o *ArduinoSeriesRawResponse) SetStatus(v string)

SetStatus sets field value

func (*ArduinoSeriesRawResponse) SetThingId

func (o *ArduinoSeriesRawResponse) SetThingId(v string)

SetThingId gets a reference to the given string and assigns it to the ThingId field.

func (*ArduinoSeriesRawResponse) SetTimes

func (o *ArduinoSeriesRawResponse) SetTimes(v []time.Time)

SetTimes sets field value

func (*ArduinoSeriesRawResponse) SetToDate

func (o *ArduinoSeriesRawResponse) SetToDate(v time.Time)

SetToDate sets field value

func (*ArduinoSeriesRawResponse) SetValues

func (o *ArduinoSeriesRawResponse) SetValues(v []interface{})

SetValues sets field value

func (ArduinoSeriesRawResponse) ToMap

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

func (*ArduinoSeriesRawResponse) UnmarshalJSON

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

type ArduinoSeriesResponse

type ArduinoSeriesResponse struct {
	// Aggregation statistic function. For numeric values, AVG statistic is used by default. PCT_X compute the Xth approximate percentile (e.g. PCT_95 is the 95th approximate percentile). For boolean, BOOL_OR statistic is used as default.
	Aggregation *string `json:"aggregation,omitempty"`
	// Total number of values in the array 'values'
	CountValues int64 `json:"count_values"`
	// From date
	FromDate time.Time `json:"from_date"`
	// Resolution in seconds
	Interval int64 `json:"interval"`
	// If the response is different than 'ok'
	Message *string `json:"message,omitempty"`
	// Property id
	PropertyId *string `json:"property_id,omitempty"`
	// Property name
	PropertyName *string `json:"property_name,omitempty"`
	// Property type
	PropertyType *string `json:"property_type,omitempty"`
	// Query of for the data
	Query string `json:"query"`
	// Response version
	RespVersion int64 `json:"resp_version"`
	// Maximum number of values returned after data aggregation, if any
	SeriesLimit *int64 `json:"series_limit,omitempty"`
	// Status of the response
	Status string `json:"status"`
	// Thing id
	ThingId *string `json:"thing_id,omitempty"`
	// Timestamp in RFC3339
	Times []time.Time `json:"times"`
	// To date
	ToDate time.Time `json:"to_date"`
	// Values in Float
	Values []float64 `json:"values"`
}

ArduinoSeriesResponse ArduinoSeriesResponse media type (default view)

func NewArduinoSeriesResponse

func NewArduinoSeriesResponse(countValues int64, fromDate time.Time, interval int64, query string, respVersion int64, status string, times []time.Time, toDate time.Time, values []float64) *ArduinoSeriesResponse

NewArduinoSeriesResponse instantiates a new ArduinoSeriesResponse 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 NewArduinoSeriesResponseWithDefaults

func NewArduinoSeriesResponseWithDefaults() *ArduinoSeriesResponse

NewArduinoSeriesResponseWithDefaults instantiates a new ArduinoSeriesResponse 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 (*ArduinoSeriesResponse) GetAggregation

func (o *ArduinoSeriesResponse) GetAggregation() string

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetAggregationOk

func (o *ArduinoSeriesResponse) GetAggregationOk() (*string, bool)

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

func (*ArduinoSeriesResponse) GetCountValues

func (o *ArduinoSeriesResponse) GetCountValues() int64

GetCountValues returns the CountValues field value

func (*ArduinoSeriesResponse) GetCountValuesOk

func (o *ArduinoSeriesResponse) GetCountValuesOk() (*int64, bool)

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

func (*ArduinoSeriesResponse) GetFromDate

func (o *ArduinoSeriesResponse) GetFromDate() time.Time

GetFromDate returns the FromDate field value

func (*ArduinoSeriesResponse) GetFromDateOk

func (o *ArduinoSeriesResponse) GetFromDateOk() (*time.Time, bool)

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

func (*ArduinoSeriesResponse) GetInterval

func (o *ArduinoSeriesResponse) GetInterval() int64

GetInterval returns the Interval field value

func (*ArduinoSeriesResponse) GetIntervalOk

func (o *ArduinoSeriesResponse) GetIntervalOk() (*int64, bool)

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

func (*ArduinoSeriesResponse) GetMessage

func (o *ArduinoSeriesResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetMessageOk

func (o *ArduinoSeriesResponse) GetMessageOk() (*string, 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.

func (*ArduinoSeriesResponse) GetPropertyId

func (o *ArduinoSeriesResponse) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetPropertyIdOk

func (o *ArduinoSeriesResponse) GetPropertyIdOk() (*string, bool)

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

func (*ArduinoSeriesResponse) GetPropertyName

func (o *ArduinoSeriesResponse) GetPropertyName() string

GetPropertyName returns the PropertyName field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetPropertyNameOk

func (o *ArduinoSeriesResponse) GetPropertyNameOk() (*string, bool)

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

func (*ArduinoSeriesResponse) GetPropertyType

func (o *ArduinoSeriesResponse) GetPropertyType() string

GetPropertyType returns the PropertyType field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetPropertyTypeOk

func (o *ArduinoSeriesResponse) GetPropertyTypeOk() (*string, bool)

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

func (*ArduinoSeriesResponse) GetQuery

func (o *ArduinoSeriesResponse) GetQuery() string

GetQuery returns the Query field value

func (*ArduinoSeriesResponse) GetQueryOk

func (o *ArduinoSeriesResponse) GetQueryOk() (*string, bool)

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

func (*ArduinoSeriesResponse) GetRespVersion

func (o *ArduinoSeriesResponse) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*ArduinoSeriesResponse) GetRespVersionOk

func (o *ArduinoSeriesResponse) GetRespVersionOk() (*int64, bool)

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

func (*ArduinoSeriesResponse) GetSeriesLimit

func (o *ArduinoSeriesResponse) GetSeriesLimit() int64

GetSeriesLimit returns the SeriesLimit field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetSeriesLimitOk

func (o *ArduinoSeriesResponse) GetSeriesLimitOk() (*int64, bool)

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

func (*ArduinoSeriesResponse) GetStatus

func (o *ArduinoSeriesResponse) GetStatus() string

GetStatus returns the Status field value

func (*ArduinoSeriesResponse) GetStatusOk

func (o *ArduinoSeriesResponse) GetStatusOk() (*string, bool)

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

func (*ArduinoSeriesResponse) GetThingId

func (o *ArduinoSeriesResponse) GetThingId() string

GetThingId returns the ThingId field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetThingIdOk

func (o *ArduinoSeriesResponse) GetThingIdOk() (*string, bool)

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

func (*ArduinoSeriesResponse) GetTimes

func (o *ArduinoSeriesResponse) GetTimes() []time.Time

GetTimes returns the Times field value

func (*ArduinoSeriesResponse) GetTimesOk

func (o *ArduinoSeriesResponse) GetTimesOk() ([]time.Time, bool)

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

func (*ArduinoSeriesResponse) GetToDate

func (o *ArduinoSeriesResponse) GetToDate() time.Time

GetToDate returns the ToDate field value

func (*ArduinoSeriesResponse) GetToDateOk

func (o *ArduinoSeriesResponse) GetToDateOk() (*time.Time, bool)

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

func (*ArduinoSeriesResponse) GetValues

func (o *ArduinoSeriesResponse) GetValues() []float64

GetValues returns the Values field value

func (*ArduinoSeriesResponse) GetValuesOk

func (o *ArduinoSeriesResponse) GetValuesOk() ([]float64, bool)

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

func (*ArduinoSeriesResponse) HasAggregation

func (o *ArduinoSeriesResponse) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*ArduinoSeriesResponse) HasMessage

func (o *ArduinoSeriesResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ArduinoSeriesResponse) HasPropertyId

func (o *ArduinoSeriesResponse) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*ArduinoSeriesResponse) HasPropertyName

func (o *ArduinoSeriesResponse) HasPropertyName() bool

HasPropertyName returns a boolean if a field has been set.

func (*ArduinoSeriesResponse) HasPropertyType

func (o *ArduinoSeriesResponse) HasPropertyType() bool

HasPropertyType returns a boolean if a field has been set.

func (*ArduinoSeriesResponse) HasSeriesLimit

func (o *ArduinoSeriesResponse) HasSeriesLimit() bool

HasSeriesLimit returns a boolean if a field has been set.

func (*ArduinoSeriesResponse) HasThingId

func (o *ArduinoSeriesResponse) HasThingId() bool

HasThingId returns a boolean if a field has been set.

func (ArduinoSeriesResponse) MarshalJSON

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

func (*ArduinoSeriesResponse) SetAggregation

func (o *ArduinoSeriesResponse) SetAggregation(v string)

SetAggregation gets a reference to the given string and assigns it to the Aggregation field.

func (*ArduinoSeriesResponse) SetCountValues

func (o *ArduinoSeriesResponse) SetCountValues(v int64)

SetCountValues sets field value

func (*ArduinoSeriesResponse) SetFromDate

func (o *ArduinoSeriesResponse) SetFromDate(v time.Time)

SetFromDate sets field value

func (*ArduinoSeriesResponse) SetInterval

func (o *ArduinoSeriesResponse) SetInterval(v int64)

SetInterval sets field value

func (*ArduinoSeriesResponse) SetMessage

func (o *ArduinoSeriesResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ArduinoSeriesResponse) SetPropertyId

func (o *ArduinoSeriesResponse) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*ArduinoSeriesResponse) SetPropertyName

func (o *ArduinoSeriesResponse) SetPropertyName(v string)

SetPropertyName gets a reference to the given string and assigns it to the PropertyName field.

func (*ArduinoSeriesResponse) SetPropertyType

func (o *ArduinoSeriesResponse) SetPropertyType(v string)

SetPropertyType gets a reference to the given string and assigns it to the PropertyType field.

func (*ArduinoSeriesResponse) SetQuery

func (o *ArduinoSeriesResponse) SetQuery(v string)

SetQuery sets field value

func (*ArduinoSeriesResponse) SetRespVersion

func (o *ArduinoSeriesResponse) SetRespVersion(v int64)

SetRespVersion sets field value

func (*ArduinoSeriesResponse) SetSeriesLimit

func (o *ArduinoSeriesResponse) SetSeriesLimit(v int64)

SetSeriesLimit gets a reference to the given int64 and assigns it to the SeriesLimit field.

func (*ArduinoSeriesResponse) SetStatus

func (o *ArduinoSeriesResponse) SetStatus(v string)

SetStatus sets field value

func (*ArduinoSeriesResponse) SetThingId

func (o *ArduinoSeriesResponse) SetThingId(v string)

SetThingId gets a reference to the given string and assigns it to the ThingId field.

func (*ArduinoSeriesResponse) SetTimes

func (o *ArduinoSeriesResponse) SetTimes(v []time.Time)

SetTimes sets field value

func (*ArduinoSeriesResponse) SetToDate

func (o *ArduinoSeriesResponse) SetToDate(v time.Time)

SetToDate sets field value

func (*ArduinoSeriesResponse) SetValues

func (o *ArduinoSeriesResponse) SetValues(v []float64)

SetValues sets field value

func (ArduinoSeriesResponse) ToMap

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

func (*ArduinoSeriesResponse) UnmarshalJSON

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

type ArduinoSeriesSampledResponse

type ArduinoSeriesSampledResponse struct {
	// Total number of values in the array 'values'
	CountValues int64 `json:"count_values"`
	// From date
	FromDate time.Time `json:"from_date"`
	// Resolution in seconds
	Interval int64 `json:"interval"`
	// If the response is different than 'ok'
	Message *string `json:"message,omitempty"`
	// Property id
	PropertyId *string `json:"property_id,omitempty"`
	// Property name
	PropertyName *string `json:"property_name,omitempty"`
	// Property type
	PropertyType *string `json:"property_type,omitempty"`
	// Query of for the data
	Query string `json:"query"`
	// Response version
	RespVersion int64 `json:"resp_version"`
	// Maximum number of values returned after data aggregation, if any
	SeriesLimit *int64 `json:"series_limit,omitempty"`
	// Status of the response
	Status string `json:"status"`
	// Thing id
	ThingId *string `json:"thing_id,omitempty"`
	// Timestamp in RFC3339
	Times []time.Time `json:"times"`
	// To date
	ToDate time.Time `json:"to_date"`
	// Values in Float
	Values []interface{} `json:"values"`
}

ArduinoSeriesSampledResponse ArduinoSeriesSampledResponse media type (default view)

func NewArduinoSeriesSampledResponse

func NewArduinoSeriesSampledResponse(countValues int64, fromDate time.Time, interval int64, query string, respVersion int64, status string, times []time.Time, toDate time.Time, values []interface{}) *ArduinoSeriesSampledResponse

NewArduinoSeriesSampledResponse instantiates a new ArduinoSeriesSampledResponse 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 NewArduinoSeriesSampledResponseWithDefaults

func NewArduinoSeriesSampledResponseWithDefaults() *ArduinoSeriesSampledResponse

NewArduinoSeriesSampledResponseWithDefaults instantiates a new ArduinoSeriesSampledResponse 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 (*ArduinoSeriesSampledResponse) GetCountValues

func (o *ArduinoSeriesSampledResponse) GetCountValues() int64

GetCountValues returns the CountValues field value

func (*ArduinoSeriesSampledResponse) GetCountValuesOk

func (o *ArduinoSeriesSampledResponse) GetCountValuesOk() (*int64, bool)

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

func (*ArduinoSeriesSampledResponse) GetFromDate

func (o *ArduinoSeriesSampledResponse) GetFromDate() time.Time

GetFromDate returns the FromDate field value

func (*ArduinoSeriesSampledResponse) GetFromDateOk

func (o *ArduinoSeriesSampledResponse) GetFromDateOk() (*time.Time, bool)

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

func (*ArduinoSeriesSampledResponse) GetInterval

func (o *ArduinoSeriesSampledResponse) GetInterval() int64

GetInterval returns the Interval field value

func (*ArduinoSeriesSampledResponse) GetIntervalOk

func (o *ArduinoSeriesSampledResponse) GetIntervalOk() (*int64, bool)

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

func (*ArduinoSeriesSampledResponse) GetMessage

func (o *ArduinoSeriesSampledResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetMessageOk

func (o *ArduinoSeriesSampledResponse) GetMessageOk() (*string, 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.

func (*ArduinoSeriesSampledResponse) GetPropertyId

func (o *ArduinoSeriesSampledResponse) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetPropertyIdOk

func (o *ArduinoSeriesSampledResponse) GetPropertyIdOk() (*string, bool)

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

func (*ArduinoSeriesSampledResponse) GetPropertyName

func (o *ArduinoSeriesSampledResponse) GetPropertyName() string

GetPropertyName returns the PropertyName field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetPropertyNameOk

func (o *ArduinoSeriesSampledResponse) GetPropertyNameOk() (*string, bool)

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

func (*ArduinoSeriesSampledResponse) GetPropertyType

func (o *ArduinoSeriesSampledResponse) GetPropertyType() string

GetPropertyType returns the PropertyType field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetPropertyTypeOk

func (o *ArduinoSeriesSampledResponse) GetPropertyTypeOk() (*string, bool)

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

func (*ArduinoSeriesSampledResponse) GetQuery

func (o *ArduinoSeriesSampledResponse) GetQuery() string

GetQuery returns the Query field value

func (*ArduinoSeriesSampledResponse) GetQueryOk

func (o *ArduinoSeriesSampledResponse) GetQueryOk() (*string, bool)

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

func (*ArduinoSeriesSampledResponse) GetRespVersion

func (o *ArduinoSeriesSampledResponse) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*ArduinoSeriesSampledResponse) GetRespVersionOk

func (o *ArduinoSeriesSampledResponse) GetRespVersionOk() (*int64, bool)

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

func (*ArduinoSeriesSampledResponse) GetSeriesLimit

func (o *ArduinoSeriesSampledResponse) GetSeriesLimit() int64

GetSeriesLimit returns the SeriesLimit field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetSeriesLimitOk

func (o *ArduinoSeriesSampledResponse) GetSeriesLimitOk() (*int64, bool)

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

func (*ArduinoSeriesSampledResponse) GetStatus

func (o *ArduinoSeriesSampledResponse) GetStatus() string

GetStatus returns the Status field value

func (*ArduinoSeriesSampledResponse) GetStatusOk

func (o *ArduinoSeriesSampledResponse) GetStatusOk() (*string, bool)

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

func (*ArduinoSeriesSampledResponse) GetThingId

func (o *ArduinoSeriesSampledResponse) GetThingId() string

GetThingId returns the ThingId field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetThingIdOk

func (o *ArduinoSeriesSampledResponse) GetThingIdOk() (*string, bool)

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

func (*ArduinoSeriesSampledResponse) GetTimes

func (o *ArduinoSeriesSampledResponse) GetTimes() []time.Time

GetTimes returns the Times field value

func (*ArduinoSeriesSampledResponse) GetTimesOk

func (o *ArduinoSeriesSampledResponse) GetTimesOk() ([]time.Time, bool)

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

func (*ArduinoSeriesSampledResponse) GetToDate

func (o *ArduinoSeriesSampledResponse) GetToDate() time.Time

GetToDate returns the ToDate field value

func (*ArduinoSeriesSampledResponse) GetToDateOk

func (o *ArduinoSeriesSampledResponse) GetToDateOk() (*time.Time, bool)

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

func (*ArduinoSeriesSampledResponse) GetValues

func (o *ArduinoSeriesSampledResponse) GetValues() []interface{}

GetValues returns the Values field value

func (*ArduinoSeriesSampledResponse) GetValuesOk

func (o *ArduinoSeriesSampledResponse) GetValuesOk() ([]interface{}, bool)

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

func (*ArduinoSeriesSampledResponse) HasMessage

func (o *ArduinoSeriesSampledResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasPropertyId

func (o *ArduinoSeriesSampledResponse) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasPropertyName

func (o *ArduinoSeriesSampledResponse) HasPropertyName() bool

HasPropertyName returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasPropertyType

func (o *ArduinoSeriesSampledResponse) HasPropertyType() bool

HasPropertyType returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasSeriesLimit

func (o *ArduinoSeriesSampledResponse) HasSeriesLimit() bool

HasSeriesLimit returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasThingId

func (o *ArduinoSeriesSampledResponse) HasThingId() bool

HasThingId returns a boolean if a field has been set.

func (ArduinoSeriesSampledResponse) MarshalJSON

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

func (*ArduinoSeriesSampledResponse) SetCountValues

func (o *ArduinoSeriesSampledResponse) SetCountValues(v int64)

SetCountValues sets field value

func (*ArduinoSeriesSampledResponse) SetFromDate

func (o *ArduinoSeriesSampledResponse) SetFromDate(v time.Time)

SetFromDate sets field value

func (*ArduinoSeriesSampledResponse) SetInterval

func (o *ArduinoSeriesSampledResponse) SetInterval(v int64)

SetInterval sets field value

func (*ArduinoSeriesSampledResponse) SetMessage

func (o *ArduinoSeriesSampledResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ArduinoSeriesSampledResponse) SetPropertyId

func (o *ArduinoSeriesSampledResponse) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*ArduinoSeriesSampledResponse) SetPropertyName

func (o *ArduinoSeriesSampledResponse) SetPropertyName(v string)

SetPropertyName gets a reference to the given string and assigns it to the PropertyName field.

func (*ArduinoSeriesSampledResponse) SetPropertyType

func (o *ArduinoSeriesSampledResponse) SetPropertyType(v string)

SetPropertyType gets a reference to the given string and assigns it to the PropertyType field.

func (*ArduinoSeriesSampledResponse) SetQuery

func (o *ArduinoSeriesSampledResponse) SetQuery(v string)

SetQuery sets field value

func (*ArduinoSeriesSampledResponse) SetRespVersion

func (o *ArduinoSeriesSampledResponse) SetRespVersion(v int64)

SetRespVersion sets field value

func (*ArduinoSeriesSampledResponse) SetSeriesLimit

func (o *ArduinoSeriesSampledResponse) SetSeriesLimit(v int64)

SetSeriesLimit gets a reference to the given int64 and assigns it to the SeriesLimit field.

func (*ArduinoSeriesSampledResponse) SetStatus

func (o *ArduinoSeriesSampledResponse) SetStatus(v string)

SetStatus sets field value

func (*ArduinoSeriesSampledResponse) SetThingId

func (o *ArduinoSeriesSampledResponse) SetThingId(v string)

SetThingId gets a reference to the given string and assigns it to the ThingId field.

func (*ArduinoSeriesSampledResponse) SetTimes

func (o *ArduinoSeriesSampledResponse) SetTimes(v []time.Time)

SetTimes sets field value

func (*ArduinoSeriesSampledResponse) SetToDate

func (o *ArduinoSeriesSampledResponse) SetToDate(v time.Time)

SetToDate sets field value

func (*ArduinoSeriesSampledResponse) SetValues

func (o *ArduinoSeriesSampledResponse) SetValues(v []interface{})

SetValues sets field value

func (ArduinoSeriesSampledResponse) ToMap

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

func (*ArduinoSeriesSampledResponse) UnmarshalJSON

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

type ArduinoTags

type ArduinoTags struct {
	Tags []Tag `json:"tags"`
}

ArduinoTags ArduinoTags media type (default view)

func NewArduinoTags

func NewArduinoTags(tags []Tag) *ArduinoTags

NewArduinoTags instantiates a new ArduinoTags 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 NewArduinoTagsWithDefaults

func NewArduinoTagsWithDefaults() *ArduinoTags

NewArduinoTagsWithDefaults instantiates a new ArduinoTags 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 (*ArduinoTags) GetTags

func (o *ArduinoTags) GetTags() []Tag

GetTags returns the Tags field value

func (*ArduinoTags) GetTagsOk

func (o *ArduinoTags) GetTagsOk() ([]Tag, bool)

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

func (ArduinoTags) MarshalJSON

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

func (*ArduinoTags) SetTags

func (o *ArduinoTags) SetTags(v []Tag)

SetTags sets field value

func (ArduinoTags) ToMap

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

func (*ArduinoTags) UnmarshalJSON

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

type ArduinoTemplate

type ArduinoTemplate struct {
	Dashboards []string `json:"dashboards,omitempty"`
	// ArduinoThingresultCollection is the media type for an array of ArduinoThingresult (default view)
	Things   []ArduinoThingresult `json:"things"`
	Triggers []string             `json:"triggers,omitempty"`
}

ArduinoTemplate ArduinoTemplate media type (default view)

func NewArduinoTemplate

func NewArduinoTemplate(things []ArduinoThingresult) *ArduinoTemplate

NewArduinoTemplate instantiates a new ArduinoTemplate 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 NewArduinoTemplateWithDefaults

func NewArduinoTemplateWithDefaults() *ArduinoTemplate

NewArduinoTemplateWithDefaults instantiates a new ArduinoTemplate 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 (*ArduinoTemplate) GetDashboards

func (o *ArduinoTemplate) GetDashboards() []string

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*ArduinoTemplate) GetDashboardsOk

func (o *ArduinoTemplate) GetDashboardsOk() ([]string, bool)

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

func (*ArduinoTemplate) GetThings

func (o *ArduinoTemplate) GetThings() []ArduinoThingresult

GetThings returns the Things field value

func (*ArduinoTemplate) GetThingsOk

func (o *ArduinoTemplate) GetThingsOk() ([]ArduinoThingresult, bool)

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

func (*ArduinoTemplate) GetTriggers

func (o *ArduinoTemplate) GetTriggers() []string

GetTriggers returns the Triggers field value if set, zero value otherwise.

func (*ArduinoTemplate) GetTriggersOk

func (o *ArduinoTemplate) GetTriggersOk() ([]string, bool)

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

func (*ArduinoTemplate) HasDashboards

func (o *ArduinoTemplate) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (*ArduinoTemplate) HasTriggers

func (o *ArduinoTemplate) HasTriggers() bool

HasTriggers returns a boolean if a field has been set.

func (ArduinoTemplate) MarshalJSON

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

func (*ArduinoTemplate) SetDashboards

func (o *ArduinoTemplate) SetDashboards(v []string)

SetDashboards gets a reference to the given []string and assigns it to the Dashboards field.

func (*ArduinoTemplate) SetThings

func (o *ArduinoTemplate) SetThings(v []ArduinoThingresult)

SetThings sets field value

func (*ArduinoTemplate) SetTriggers

func (o *ArduinoTemplate) SetTriggers(v []string)

SetTriggers gets a reference to the given []string and assigns it to the Triggers field.

func (ArduinoTemplate) ToMap

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

func (*ArduinoTemplate) UnmarshalJSON

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

type ArduinoTemplateproperty

type ArduinoTemplateproperty struct {
	// The friendly id of the property
	Id *string `json:"id,omitempty"`
	// The friendly name of the property
	Name string `json:"name"`
	// The permission of the property
	Permission string `json:"permission"`
	// The type of the property
	Type string `json:"type"`
	// The update frequency in seconds, or the amount of the property has to change in order to trigger an update
	UpdateParameter *float64 `json:"update_parameter,omitempty"`
	// The update strategy for the property value
	UpdateStrategy string `json:"update_strategy"`
	// The sketch variable name of the property
	VariableName *string `json:"variable_name,omitempty"`
}

ArduinoTemplateproperty ArduinoTemplateproperty media type (default view)

func NewArduinoTemplateproperty

func NewArduinoTemplateproperty(name string, permission string, type_ string, updateStrategy string) *ArduinoTemplateproperty

NewArduinoTemplateproperty instantiates a new ArduinoTemplateproperty 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 NewArduinoTemplatepropertyWithDefaults

func NewArduinoTemplatepropertyWithDefaults() *ArduinoTemplateproperty

NewArduinoTemplatepropertyWithDefaults instantiates a new ArduinoTemplateproperty 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 (*ArduinoTemplateproperty) GetId

func (o *ArduinoTemplateproperty) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ArduinoTemplateproperty) GetIdOk

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

func (*ArduinoTemplateproperty) GetName

func (o *ArduinoTemplateproperty) GetName() string

GetName returns the Name field value

func (*ArduinoTemplateproperty) GetNameOk

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

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

func (*ArduinoTemplateproperty) GetPermission

func (o *ArduinoTemplateproperty) GetPermission() string

GetPermission returns the Permission field value

func (*ArduinoTemplateproperty) GetPermissionOk

func (o *ArduinoTemplateproperty) GetPermissionOk() (*string, bool)

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

func (*ArduinoTemplateproperty) GetType

func (o *ArduinoTemplateproperty) GetType() string

GetType returns the Type field value

func (*ArduinoTemplateproperty) GetTypeOk

func (o *ArduinoTemplateproperty) GetTypeOk() (*string, bool)

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

func (*ArduinoTemplateproperty) GetUpdateParameter

func (o *ArduinoTemplateproperty) GetUpdateParameter() float64

GetUpdateParameter returns the UpdateParameter field value if set, zero value otherwise.

func (*ArduinoTemplateproperty) GetUpdateParameterOk

func (o *ArduinoTemplateproperty) GetUpdateParameterOk() (*float64, bool)

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

func (*ArduinoTemplateproperty) GetUpdateStrategy

func (o *ArduinoTemplateproperty) GetUpdateStrategy() string

GetUpdateStrategy returns the UpdateStrategy field value

func (*ArduinoTemplateproperty) GetUpdateStrategyOk

func (o *ArduinoTemplateproperty) GetUpdateStrategyOk() (*string, bool)

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

func (*ArduinoTemplateproperty) GetVariableName

func (o *ArduinoTemplateproperty) GetVariableName() string

GetVariableName returns the VariableName field value if set, zero value otherwise.

func (*ArduinoTemplateproperty) GetVariableNameOk

func (o *ArduinoTemplateproperty) GetVariableNameOk() (*string, bool)

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

func (*ArduinoTemplateproperty) HasId

func (o *ArduinoTemplateproperty) HasId() bool

HasId returns a boolean if a field has been set.

func (*ArduinoTemplateproperty) HasUpdateParameter

func (o *ArduinoTemplateproperty) HasUpdateParameter() bool

HasUpdateParameter returns a boolean if a field has been set.

func (*ArduinoTemplateproperty) HasVariableName

func (o *ArduinoTemplateproperty) HasVariableName() bool

HasVariableName returns a boolean if a field has been set.

func (ArduinoTemplateproperty) MarshalJSON

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

func (*ArduinoTemplateproperty) SetId

func (o *ArduinoTemplateproperty) SetId(v string)

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

func (*ArduinoTemplateproperty) SetName

func (o *ArduinoTemplateproperty) SetName(v string)

SetName sets field value

func (*ArduinoTemplateproperty) SetPermission

func (o *ArduinoTemplateproperty) SetPermission(v string)

SetPermission sets field value

func (*ArduinoTemplateproperty) SetType

func (o *ArduinoTemplateproperty) SetType(v string)

SetType sets field value

func (*ArduinoTemplateproperty) SetUpdateParameter

func (o *ArduinoTemplateproperty) SetUpdateParameter(v float64)

SetUpdateParameter gets a reference to the given float64 and assigns it to the UpdateParameter field.

func (*ArduinoTemplateproperty) SetUpdateStrategy

func (o *ArduinoTemplateproperty) SetUpdateStrategy(v string)

SetUpdateStrategy sets field value

func (*ArduinoTemplateproperty) SetVariableName

func (o *ArduinoTemplateproperty) SetVariableName(v string)

SetVariableName gets a reference to the given string and assigns it to the VariableName field.

func (ArduinoTemplateproperty) ToMap

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

func (*ArduinoTemplateproperty) UnmarshalJSON

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

type ArduinoTemplatevariable

type ArduinoTemplatevariable struct {
	// The name of the variable
	Name string `json:"name"`
	// The permission of the linked variable
	Permission string `json:"permission"`
	// The name of the related thing
	ThingId       string           `json:"thing_id"`
	ThingTimezone *ArduinoTimezone `json:"thing_timezone,omitempty"`
	// The type of the variable
	Type string `json:"type"`
	// The name of the variable in the code
	VariableId string `json:"variable_id"`
}

ArduinoTemplatevariable ArduinoTemplatevariable media type (default view)

func NewArduinoTemplatevariable

func NewArduinoTemplatevariable(name string, permission string, thingId string, type_ string, variableId string) *ArduinoTemplatevariable

NewArduinoTemplatevariable instantiates a new ArduinoTemplatevariable 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 NewArduinoTemplatevariableWithDefaults

func NewArduinoTemplatevariableWithDefaults() *ArduinoTemplatevariable

NewArduinoTemplatevariableWithDefaults instantiates a new ArduinoTemplatevariable 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 (*ArduinoTemplatevariable) GetName

func (o *ArduinoTemplatevariable) GetName() string

GetName returns the Name field value

func (*ArduinoTemplatevariable) GetNameOk

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

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

func (*ArduinoTemplatevariable) GetPermission

func (o *ArduinoTemplatevariable) GetPermission() string

GetPermission returns the Permission field value

func (*ArduinoTemplatevariable) GetPermissionOk

func (o *ArduinoTemplatevariable) GetPermissionOk() (*string, bool)

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

func (*ArduinoTemplatevariable) GetThingId

func (o *ArduinoTemplatevariable) GetThingId() string

GetThingId returns the ThingId field value

func (*ArduinoTemplatevariable) GetThingIdOk

func (o *ArduinoTemplatevariable) GetThingIdOk() (*string, bool)

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

func (*ArduinoTemplatevariable) GetThingTimezone

func (o *ArduinoTemplatevariable) GetThingTimezone() ArduinoTimezone

GetThingTimezone returns the ThingTimezone field value if set, zero value otherwise.

func (*ArduinoTemplatevariable) GetThingTimezoneOk

func (o *ArduinoTemplatevariable) GetThingTimezoneOk() (*ArduinoTimezone, bool)

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

func (*ArduinoTemplatevariable) GetType

func (o *ArduinoTemplatevariable) GetType() string

GetType returns the Type field value

func (*ArduinoTemplatevariable) GetTypeOk

func (o *ArduinoTemplatevariable) GetTypeOk() (*string, bool)

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

func (*ArduinoTemplatevariable) GetVariableId

func (o *ArduinoTemplatevariable) GetVariableId() string

GetVariableId returns the VariableId field value

func (*ArduinoTemplatevariable) GetVariableIdOk

func (o *ArduinoTemplatevariable) GetVariableIdOk() (*string, bool)

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

func (*ArduinoTemplatevariable) HasThingTimezone

func (o *ArduinoTemplatevariable) HasThingTimezone() bool

HasThingTimezone returns a boolean if a field has been set.

func (ArduinoTemplatevariable) MarshalJSON

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

func (*ArduinoTemplatevariable) SetName

func (o *ArduinoTemplatevariable) SetName(v string)

SetName sets field value

func (*ArduinoTemplatevariable) SetPermission

func (o *ArduinoTemplatevariable) SetPermission(v string)

SetPermission sets field value

func (*ArduinoTemplatevariable) SetThingId

func (o *ArduinoTemplatevariable) SetThingId(v string)

SetThingId sets field value

func (*ArduinoTemplatevariable) SetThingTimezone

func (o *ArduinoTemplatevariable) SetThingTimezone(v ArduinoTimezone)

SetThingTimezone gets a reference to the given ArduinoTimezone and assigns it to the ThingTimezone field.

func (*ArduinoTemplatevariable) SetType

func (o *ArduinoTemplatevariable) SetType(v string)

SetType sets field value

func (*ArduinoTemplatevariable) SetVariableId

func (o *ArduinoTemplatevariable) SetVariableId(v string)

SetVariableId sets field value

func (ArduinoTemplatevariable) ToMap

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

func (*ArduinoTemplatevariable) UnmarshalJSON

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

type ArduinoThing

type ArduinoThing struct {
	// The kind of voice assistant the thing is connected to, it can be ALEXA | GOOGLE | NONE
	Assistant *string `json:"assistant,omitempty"`
	// Creation date of the thing
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Delete date of the thing
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// The fqbn of the attached device, if any
	DeviceFqbn *string `json:"device_fqbn,omitempty"`
	// The id of the device
	DeviceId *string `json:"device_id,omitempty"`
	// The name of the attached device, if any
	DeviceName *string `json:"device_name,omitempty"`
	// The type of the attached device, if any
	DeviceType *string `json:"device_type,omitempty"`
	// The api reference of this thing
	Href string `json:"href"`
	// The id of the thing
	Id string `json:"id"`
	// The friendly name of the thing
	Name string `json:"name"`
	// Id of the organization the thing belongs to
	OrganizationId *string `json:"organization_id,omitempty"`
	// ArduinoPropertyCollection is the media type for an array of ArduinoProperty (default view)
	Properties []ArduinoProperty `json:"properties,omitempty"`
	// The number of properties of the thing
	PropertiesCount *int64 `json:"properties_count,omitempty"`
	// The id of the attached sketch
	SketchId *string `json:"sketch_id,omitempty"`
	// Tags of the thing
	Tags map[string]interface{} `json:"tags,omitempty"`
	// Time zone of the thing
	Timezone string `json:"timezone"`
	// Update date of the thing
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The user id of the owner
	UserId string `json:"user_id"`
	// Webhook uri
	WebhookActive *bool `json:"webhook_active,omitempty"`
	// Webhook uri
	WebhookUri *string `json:"webhook_uri,omitempty"`
}

ArduinoThing ArduinoThing media type (default view)

func NewArduinoThing

func NewArduinoThing(href string, id string, name string, timezone string, userId string) *ArduinoThing

NewArduinoThing instantiates a new ArduinoThing 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 NewArduinoThingWithDefaults

func NewArduinoThingWithDefaults() *ArduinoThing

NewArduinoThingWithDefaults instantiates a new ArduinoThing 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 (*ArduinoThing) GetAssistant

func (o *ArduinoThing) GetAssistant() string

GetAssistant returns the Assistant field value if set, zero value otherwise.

func (*ArduinoThing) GetAssistantOk

func (o *ArduinoThing) GetAssistantOk() (*string, bool)

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

func (*ArduinoThing) GetCreatedAt

func (o *ArduinoThing) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ArduinoThing) GetCreatedAtOk

func (o *ArduinoThing) GetCreatedAtOk() (*time.Time, bool)

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

func (*ArduinoThing) GetDeletedAt

func (o *ArduinoThing) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*ArduinoThing) GetDeletedAtOk

func (o *ArduinoThing) GetDeletedAtOk() (*time.Time, bool)

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

func (*ArduinoThing) GetDeviceFqbn

func (o *ArduinoThing) GetDeviceFqbn() string

GetDeviceFqbn returns the DeviceFqbn field value if set, zero value otherwise.

func (*ArduinoThing) GetDeviceFqbnOk

func (o *ArduinoThing) GetDeviceFqbnOk() (*string, bool)

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

func (*ArduinoThing) GetDeviceId

func (o *ArduinoThing) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*ArduinoThing) GetDeviceIdOk

func (o *ArduinoThing) GetDeviceIdOk() (*string, 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.

func (*ArduinoThing) GetDeviceName

func (o *ArduinoThing) GetDeviceName() string

GetDeviceName returns the DeviceName field value if set, zero value otherwise.

func (*ArduinoThing) GetDeviceNameOk

func (o *ArduinoThing) GetDeviceNameOk() (*string, bool)

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

func (*ArduinoThing) GetDeviceType

func (o *ArduinoThing) GetDeviceType() string

GetDeviceType returns the DeviceType field value if set, zero value otherwise.

func (*ArduinoThing) GetDeviceTypeOk

func (o *ArduinoThing) GetDeviceTypeOk() (*string, bool)

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

func (*ArduinoThing) GetHref

func (o *ArduinoThing) GetHref() string

GetHref returns the Href field value

func (*ArduinoThing) GetHrefOk

func (o *ArduinoThing) GetHrefOk() (*string, bool)

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

func (*ArduinoThing) GetId

func (o *ArduinoThing) GetId() string

GetId returns the Id field value

func (*ArduinoThing) GetIdOk

func (o *ArduinoThing) GetIdOk() (*string, bool)

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

func (*ArduinoThing) GetName

func (o *ArduinoThing) GetName() string

GetName returns the Name field value

func (*ArduinoThing) GetNameOk

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

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

func (*ArduinoThing) GetOrganizationId

func (o *ArduinoThing) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoThing) GetOrganizationIdOk

func (o *ArduinoThing) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoThing) GetProperties

func (o *ArduinoThing) GetProperties() []ArduinoProperty

GetProperties returns the Properties field value if set, zero value otherwise.

func (*ArduinoThing) GetPropertiesCount

func (o *ArduinoThing) GetPropertiesCount() int64

GetPropertiesCount returns the PropertiesCount field value if set, zero value otherwise.

func (*ArduinoThing) GetPropertiesCountOk

func (o *ArduinoThing) GetPropertiesCountOk() (*int64, bool)

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

func (*ArduinoThing) GetPropertiesOk

func (o *ArduinoThing) GetPropertiesOk() ([]ArduinoProperty, bool)

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

func (*ArduinoThing) GetSketchId

func (o *ArduinoThing) GetSketchId() string

GetSketchId returns the SketchId field value if set, zero value otherwise.

func (*ArduinoThing) GetSketchIdOk

func (o *ArduinoThing) GetSketchIdOk() (*string, bool)

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

func (*ArduinoThing) GetTags

func (o *ArduinoThing) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*ArduinoThing) GetTagsOk

func (o *ArduinoThing) GetTagsOk() (map[string]interface{}, 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.

func (*ArduinoThing) GetTimezone

func (o *ArduinoThing) GetTimezone() string

GetTimezone returns the Timezone field value

func (*ArduinoThing) GetTimezoneOk

func (o *ArduinoThing) GetTimezoneOk() (*string, bool)

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

func (*ArduinoThing) GetUpdatedAt

func (o *ArduinoThing) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ArduinoThing) GetUpdatedAtOk

func (o *ArduinoThing) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoThing) GetUserId

func (o *ArduinoThing) GetUserId() string

GetUserId returns the UserId field value

func (*ArduinoThing) GetUserIdOk

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

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

func (*ArduinoThing) GetWebhookActive

func (o *ArduinoThing) GetWebhookActive() bool

GetWebhookActive returns the WebhookActive field value if set, zero value otherwise.

func (*ArduinoThing) GetWebhookActiveOk

func (o *ArduinoThing) GetWebhookActiveOk() (*bool, bool)

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

func (*ArduinoThing) GetWebhookUri

func (o *ArduinoThing) GetWebhookUri() string

GetWebhookUri returns the WebhookUri field value if set, zero value otherwise.

func (*ArduinoThing) GetWebhookUriOk

func (o *ArduinoThing) GetWebhookUriOk() (*string, bool)

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

func (*ArduinoThing) HasAssistant

func (o *ArduinoThing) HasAssistant() bool

HasAssistant returns a boolean if a field has been set.

func (*ArduinoThing) HasCreatedAt

func (o *ArduinoThing) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ArduinoThing) HasDeletedAt

func (o *ArduinoThing) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*ArduinoThing) HasDeviceFqbn

func (o *ArduinoThing) HasDeviceFqbn() bool

HasDeviceFqbn returns a boolean if a field has been set.

func (*ArduinoThing) HasDeviceId

func (o *ArduinoThing) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*ArduinoThing) HasDeviceName

func (o *ArduinoThing) HasDeviceName() bool

HasDeviceName returns a boolean if a field has been set.

func (*ArduinoThing) HasDeviceType

func (o *ArduinoThing) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

func (*ArduinoThing) HasOrganizationId

func (o *ArduinoThing) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ArduinoThing) HasProperties

func (o *ArduinoThing) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ArduinoThing) HasPropertiesCount

func (o *ArduinoThing) HasPropertiesCount() bool

HasPropertiesCount returns a boolean if a field has been set.

func (*ArduinoThing) HasSketchId

func (o *ArduinoThing) HasSketchId() bool

HasSketchId returns a boolean if a field has been set.

func (*ArduinoThing) HasTags

func (o *ArduinoThing) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ArduinoThing) HasUpdatedAt

func (o *ArduinoThing) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ArduinoThing) HasWebhookActive

func (o *ArduinoThing) HasWebhookActive() bool

HasWebhookActive returns a boolean if a field has been set.

func (*ArduinoThing) HasWebhookUri

func (o *ArduinoThing) HasWebhookUri() bool

HasWebhookUri returns a boolean if a field has been set.

func (ArduinoThing) MarshalJSON

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

func (*ArduinoThing) SetAssistant

func (o *ArduinoThing) SetAssistant(v string)

SetAssistant gets a reference to the given string and assigns it to the Assistant field.

func (*ArduinoThing) SetCreatedAt

func (o *ArduinoThing) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ArduinoThing) SetDeletedAt

func (o *ArduinoThing) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*ArduinoThing) SetDeviceFqbn

func (o *ArduinoThing) SetDeviceFqbn(v string)

SetDeviceFqbn gets a reference to the given string and assigns it to the DeviceFqbn field.

func (*ArduinoThing) SetDeviceId

func (o *ArduinoThing) SetDeviceId(v string)

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

func (*ArduinoThing) SetDeviceName

func (o *ArduinoThing) SetDeviceName(v string)

SetDeviceName gets a reference to the given string and assigns it to the DeviceName field.

func (*ArduinoThing) SetDeviceType

func (o *ArduinoThing) SetDeviceType(v string)

SetDeviceType gets a reference to the given string and assigns it to the DeviceType field.

func (*ArduinoThing) SetHref

func (o *ArduinoThing) SetHref(v string)

SetHref sets field value

func (*ArduinoThing) SetId

func (o *ArduinoThing) SetId(v string)

SetId sets field value

func (*ArduinoThing) SetName

func (o *ArduinoThing) SetName(v string)

SetName sets field value

func (*ArduinoThing) SetOrganizationId

func (o *ArduinoThing) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ArduinoThing) SetProperties

func (o *ArduinoThing) SetProperties(v []ArduinoProperty)

SetProperties gets a reference to the given []ArduinoProperty and assigns it to the Properties field.

func (*ArduinoThing) SetPropertiesCount

func (o *ArduinoThing) SetPropertiesCount(v int64)

SetPropertiesCount gets a reference to the given int64 and assigns it to the PropertiesCount field.

func (*ArduinoThing) SetSketchId

func (o *ArduinoThing) SetSketchId(v string)

SetSketchId gets a reference to the given string and assigns it to the SketchId field.

func (*ArduinoThing) SetTags

func (o *ArduinoThing) SetTags(v map[string]interface{})

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

func (*ArduinoThing) SetTimezone

func (o *ArduinoThing) SetTimezone(v string)

SetTimezone sets field value

func (*ArduinoThing) SetUpdatedAt

func (o *ArduinoThing) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*ArduinoThing) SetUserId

func (o *ArduinoThing) SetUserId(v string)

SetUserId sets field value

func (*ArduinoThing) SetWebhookActive

func (o *ArduinoThing) SetWebhookActive(v bool)

SetWebhookActive gets a reference to the given bool and assigns it to the WebhookActive field.

func (*ArduinoThing) SetWebhookUri

func (o *ArduinoThing) SetWebhookUri(v string)

SetWebhookUri gets a reference to the given string and assigns it to the WebhookUri field.

func (ArduinoThing) ToMap

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

func (*ArduinoThing) UnmarshalJSON

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

type ArduinoThingresult

type ArduinoThingresult struct {
	// UUID of the attached device
	DeviceId *string `json:"device_id,omitempty"`
	// UUID of the created Thing
	Id string `json:"id"`
	// UUID of the created Sketch
	SketchId string `json:"sketch_id"`
}

ArduinoThingresult ArduinoThingresult media type (default view)

func NewArduinoThingresult

func NewArduinoThingresult(id string, sketchId string) *ArduinoThingresult

NewArduinoThingresult instantiates a new ArduinoThingresult 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 NewArduinoThingresultWithDefaults

func NewArduinoThingresultWithDefaults() *ArduinoThingresult

NewArduinoThingresultWithDefaults instantiates a new ArduinoThingresult 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 (*ArduinoThingresult) GetDeviceId

func (o *ArduinoThingresult) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*ArduinoThingresult) GetDeviceIdOk

func (o *ArduinoThingresult) GetDeviceIdOk() (*string, 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.

func (*ArduinoThingresult) GetId

func (o *ArduinoThingresult) GetId() string

GetId returns the Id field value

func (*ArduinoThingresult) GetIdOk

func (o *ArduinoThingresult) GetIdOk() (*string, bool)

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

func (*ArduinoThingresult) GetSketchId

func (o *ArduinoThingresult) GetSketchId() string

GetSketchId returns the SketchId field value

func (*ArduinoThingresult) GetSketchIdOk

func (o *ArduinoThingresult) GetSketchIdOk() (*string, bool)

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

func (*ArduinoThingresult) HasDeviceId

func (o *ArduinoThingresult) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (ArduinoThingresult) MarshalJSON

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

func (*ArduinoThingresult) SetDeviceId

func (o *ArduinoThingresult) SetDeviceId(v string)

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

func (*ArduinoThingresult) SetId

func (o *ArduinoThingresult) SetId(v string)

SetId sets field value

func (*ArduinoThingresult) SetSketchId

func (o *ArduinoThingresult) SetSketchId(v string)

SetSketchId sets field value

func (ArduinoThingresult) ToMap

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

func (*ArduinoThingresult) UnmarshalJSON

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

type ArduinoThingtemplate

type ArduinoThingtemplate struct {
	DeviceMetadata *ArduinoDevicev2templatedevice `json:"device_metadata,omitempty"`
	// The friendly id of the thing
	Id *string `json:"id,omitempty"`
	// The friendly name of the thing
	Name string `json:"name"`
	// Id of the organization the thing belongs to
	OrganizationId *string `json:"organization_id,omitempty"`
	// The ID of the template's sketch
	SketchTemplate *string `json:"sketch_template,omitempty"`
	// Tags of the thing
	Tags []Tag `json:"tags,omitempty"`
	// Time zone of the thing
	Timezone string `json:"timezone"`
	// ArduinoTemplatepropertyCollection is the media type for an array of ArduinoTemplateproperty (default view)
	Variables []ArduinoTemplateproperty `json:"variables,omitempty"`
	// Webhook uri
	WebhookUri *string `json:"webhook_uri,omitempty"`
}

ArduinoThingtemplate ArduinoThingtemplate media type (default view)

func NewArduinoThingtemplate

func NewArduinoThingtemplate(name string, timezone string) *ArduinoThingtemplate

NewArduinoThingtemplate instantiates a new ArduinoThingtemplate 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 NewArduinoThingtemplateWithDefaults

func NewArduinoThingtemplateWithDefaults() *ArduinoThingtemplate

NewArduinoThingtemplateWithDefaults instantiates a new ArduinoThingtemplate 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 (*ArduinoThingtemplate) GetDeviceMetadata

func (o *ArduinoThingtemplate) GetDeviceMetadata() ArduinoDevicev2templatedevice

GetDeviceMetadata returns the DeviceMetadata field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetDeviceMetadataOk

func (o *ArduinoThingtemplate) GetDeviceMetadataOk() (*ArduinoDevicev2templatedevice, bool)

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

func (*ArduinoThingtemplate) GetId

func (o *ArduinoThingtemplate) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetIdOk

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

func (*ArduinoThingtemplate) GetName

func (o *ArduinoThingtemplate) GetName() string

GetName returns the Name field value

func (*ArduinoThingtemplate) GetNameOk

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

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

func (*ArduinoThingtemplate) GetOrganizationId

func (o *ArduinoThingtemplate) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetOrganizationIdOk

func (o *ArduinoThingtemplate) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoThingtemplate) GetSketchTemplate

func (o *ArduinoThingtemplate) GetSketchTemplate() string

GetSketchTemplate returns the SketchTemplate field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetSketchTemplateOk

func (o *ArduinoThingtemplate) GetSketchTemplateOk() (*string, bool)

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

func (*ArduinoThingtemplate) GetTags

func (o *ArduinoThingtemplate) GetTags() []Tag

GetTags returns the Tags field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetTagsOk

func (o *ArduinoThingtemplate) GetTagsOk() ([]Tag, 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.

func (*ArduinoThingtemplate) GetTimezone

func (o *ArduinoThingtemplate) GetTimezone() string

GetTimezone returns the Timezone field value

func (*ArduinoThingtemplate) GetTimezoneOk

func (o *ArduinoThingtemplate) GetTimezoneOk() (*string, bool)

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

func (*ArduinoThingtemplate) GetVariables

func (o *ArduinoThingtemplate) GetVariables() []ArduinoTemplateproperty

GetVariables returns the Variables field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetVariablesOk

func (o *ArduinoThingtemplate) GetVariablesOk() ([]ArduinoTemplateproperty, bool)

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

func (*ArduinoThingtemplate) GetWebhookUri

func (o *ArduinoThingtemplate) GetWebhookUri() string

GetWebhookUri returns the WebhookUri field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetWebhookUriOk

func (o *ArduinoThingtemplate) GetWebhookUriOk() (*string, bool)

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

func (*ArduinoThingtemplate) HasDeviceMetadata

func (o *ArduinoThingtemplate) HasDeviceMetadata() bool

HasDeviceMetadata returns a boolean if a field has been set.

func (*ArduinoThingtemplate) HasId

func (o *ArduinoThingtemplate) HasId() bool

HasId returns a boolean if a field has been set.

func (*ArduinoThingtemplate) HasOrganizationId

func (o *ArduinoThingtemplate) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ArduinoThingtemplate) HasSketchTemplate

func (o *ArduinoThingtemplate) HasSketchTemplate() bool

HasSketchTemplate returns a boolean if a field has been set.

func (*ArduinoThingtemplate) HasTags

func (o *ArduinoThingtemplate) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ArduinoThingtemplate) HasVariables

func (o *ArduinoThingtemplate) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (*ArduinoThingtemplate) HasWebhookUri

func (o *ArduinoThingtemplate) HasWebhookUri() bool

HasWebhookUri returns a boolean if a field has been set.

func (ArduinoThingtemplate) MarshalJSON

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

func (*ArduinoThingtemplate) SetDeviceMetadata

func (o *ArduinoThingtemplate) SetDeviceMetadata(v ArduinoDevicev2templatedevice)

SetDeviceMetadata gets a reference to the given ArduinoDevicev2templatedevice and assigns it to the DeviceMetadata field.

func (*ArduinoThingtemplate) SetId

func (o *ArduinoThingtemplate) SetId(v string)

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

func (*ArduinoThingtemplate) SetName

func (o *ArduinoThingtemplate) SetName(v string)

SetName sets field value

func (*ArduinoThingtemplate) SetOrganizationId

func (o *ArduinoThingtemplate) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ArduinoThingtemplate) SetSketchTemplate

func (o *ArduinoThingtemplate) SetSketchTemplate(v string)

SetSketchTemplate gets a reference to the given string and assigns it to the SketchTemplate field.

func (*ArduinoThingtemplate) SetTags

func (o *ArduinoThingtemplate) SetTags(v []Tag)

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

func (*ArduinoThingtemplate) SetTimezone

func (o *ArduinoThingtemplate) SetTimezone(v string)

SetTimezone sets field value

func (*ArduinoThingtemplate) SetVariables

func (o *ArduinoThingtemplate) SetVariables(v []ArduinoTemplateproperty)

SetVariables gets a reference to the given []ArduinoTemplateproperty and assigns it to the Variables field.

func (*ArduinoThingtemplate) SetWebhookUri

func (o *ArduinoThingtemplate) SetWebhookUri(v string)

SetWebhookUri gets a reference to the given string and assigns it to the WebhookUri field.

func (ArduinoThingtemplate) ToMap

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

func (*ArduinoThingtemplate) UnmarshalJSON

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

type ArduinoTimeseriesmedia

type ArduinoTimeseriesmedia struct {
	Data []TimeseriesDataPoint `json:"data"`
}

ArduinoTimeseriesmedia ArduinoTimeseriesmedia media type (default view)

func NewArduinoTimeseriesmedia

func NewArduinoTimeseriesmedia(data []TimeseriesDataPoint) *ArduinoTimeseriesmedia

NewArduinoTimeseriesmedia instantiates a new ArduinoTimeseriesmedia 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 NewArduinoTimeseriesmediaWithDefaults

func NewArduinoTimeseriesmediaWithDefaults() *ArduinoTimeseriesmedia

NewArduinoTimeseriesmediaWithDefaults instantiates a new ArduinoTimeseriesmedia 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 (*ArduinoTimeseriesmedia) GetData

GetData returns the Data field value

func (*ArduinoTimeseriesmedia) GetDataOk

func (o *ArduinoTimeseriesmedia) GetDataOk() ([]TimeseriesDataPoint, bool)

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

func (ArduinoTimeseriesmedia) MarshalJSON

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

func (*ArduinoTimeseriesmedia) SetData

SetData sets field value

func (ArduinoTimeseriesmedia) ToMap

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

func (*ArduinoTimeseriesmedia) UnmarshalJSON

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

type ArduinoTimezone

type ArduinoTimezone struct {
	// Name of the time zone.
	Name string `json:"name"`
	// Current UTC DST offset in seconds.
	Offset int64 `json:"offset"`
	// Date until the offset is valid.
	Until time.Time `json:"until"`
}

ArduinoTimezone ArduinoTimezone media type (default view)

func NewArduinoTimezone

func NewArduinoTimezone(name string, offset int64, until time.Time) *ArduinoTimezone

NewArduinoTimezone instantiates a new ArduinoTimezone 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 NewArduinoTimezoneWithDefaults

func NewArduinoTimezoneWithDefaults() *ArduinoTimezone

NewArduinoTimezoneWithDefaults instantiates a new ArduinoTimezone 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 (*ArduinoTimezone) GetName

func (o *ArduinoTimezone) GetName() string

GetName returns the Name field value

func (*ArduinoTimezone) GetNameOk

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

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

func (*ArduinoTimezone) GetOffset

func (o *ArduinoTimezone) GetOffset() int64

GetOffset returns the Offset field value

func (*ArduinoTimezone) GetOffsetOk

func (o *ArduinoTimezone) GetOffsetOk() (*int64, bool)

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

func (*ArduinoTimezone) GetUntil

func (o *ArduinoTimezone) GetUntil() time.Time

GetUntil returns the Until field value

func (*ArduinoTimezone) GetUntilOk

func (o *ArduinoTimezone) GetUntilOk() (*time.Time, bool)

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

func (ArduinoTimezone) MarshalJSON

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

func (*ArduinoTimezone) SetName

func (o *ArduinoTimezone) SetName(v string)

SetName sets field value

func (*ArduinoTimezone) SetOffset

func (o *ArduinoTimezone) SetOffset(v int64)

SetOffset sets field value

func (*ArduinoTimezone) SetUntil

func (o *ArduinoTimezone) SetUntil(v time.Time)

SetUntil sets field value

func (ArduinoTimezone) ToMap

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

func (*ArduinoTimezone) UnmarshalJSON

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

type ArduinoTrigger added in v3.0.1

type ArduinoTrigger struct {
	// A list of actions associated with the trigger
	Actions []ArduinoAction `json:"actions,omitempty"`
	// Is true if the trigger is enabled
	Active *bool `json:"active,omitempty"`
	// Creation date of the trigger
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Id of the user who last updated the trigger
	CreatedBy *string `json:"created_by,omitempty"`
	// Deletion date of the trigger
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// The description of the trigger
	Description        *string             `json:"description,omitempty"`
	DeviceStatusSource *DeviceStatusSource `json:"device_status_source,omitempty"`
	// The id of the trigger
	Id *string `json:"id,omitempty"`
	// The name of the trigger
	Name string `json:"name"`
	// Id of the organization the trigger belongs to
	OrganizationId *string `json:"organization_id,omitempty"`
	// Id of the property the trigger is associated to (mutually exclusive with 'device_status_source')
	PropertyId *string `json:"property_id,omitempty"`
	// Update date of the trigger
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ArduinoTrigger ArduinoTrigger media type (default view)

func NewArduinoTrigger added in v3.0.1

func NewArduinoTrigger(name string) *ArduinoTrigger

NewArduinoTrigger instantiates a new ArduinoTrigger 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 NewArduinoTriggerWithDefaults added in v3.0.1

func NewArduinoTriggerWithDefaults() *ArduinoTrigger

NewArduinoTriggerWithDefaults instantiates a new ArduinoTrigger 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 (*ArduinoTrigger) GetActions added in v3.0.1

func (o *ArduinoTrigger) GetActions() []ArduinoAction

GetActions returns the Actions field value if set, zero value otherwise.

func (*ArduinoTrigger) GetActionsOk added in v3.0.1

func (o *ArduinoTrigger) GetActionsOk() ([]ArduinoAction, bool)

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

func (*ArduinoTrigger) GetActive added in v3.0.1

func (o *ArduinoTrigger) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*ArduinoTrigger) GetActiveOk added in v3.0.1

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

func (*ArduinoTrigger) GetCreatedAt added in v3.0.1

func (o *ArduinoTrigger) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ArduinoTrigger) GetCreatedAtOk added in v3.0.1

func (o *ArduinoTrigger) GetCreatedAtOk() (*time.Time, bool)

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

func (*ArduinoTrigger) GetCreatedBy added in v3.0.1

func (o *ArduinoTrigger) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*ArduinoTrigger) GetCreatedByOk added in v3.0.1

func (o *ArduinoTrigger) GetCreatedByOk() (*string, bool)

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

func (*ArduinoTrigger) GetDeletedAt added in v3.0.1

func (o *ArduinoTrigger) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*ArduinoTrigger) GetDeletedAtOk added in v3.0.1

func (o *ArduinoTrigger) GetDeletedAtOk() (*time.Time, bool)

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

func (*ArduinoTrigger) GetDescription added in v3.0.1

func (o *ArduinoTrigger) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ArduinoTrigger) GetDescriptionOk added in v3.0.1

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

func (*ArduinoTrigger) GetDeviceStatusSource added in v3.0.1

func (o *ArduinoTrigger) GetDeviceStatusSource() DeviceStatusSource

GetDeviceStatusSource returns the DeviceStatusSource field value if set, zero value otherwise.

func (*ArduinoTrigger) GetDeviceStatusSourceOk added in v3.0.1

func (o *ArduinoTrigger) GetDeviceStatusSourceOk() (*DeviceStatusSource, bool)

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

func (*ArduinoTrigger) GetId added in v3.0.1

func (o *ArduinoTrigger) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ArduinoTrigger) GetIdOk added in v3.0.1

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

func (*ArduinoTrigger) GetName added in v3.0.1

func (o *ArduinoTrigger) GetName() string

GetName returns the Name field value

func (*ArduinoTrigger) GetNameOk added in v3.0.1

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

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

func (*ArduinoTrigger) GetOrganizationId added in v3.0.1

func (o *ArduinoTrigger) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoTrigger) GetOrganizationIdOk added in v3.0.1

func (o *ArduinoTrigger) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoTrigger) GetPropertyId added in v3.0.1

func (o *ArduinoTrigger) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*ArduinoTrigger) GetPropertyIdOk added in v3.0.1

func (o *ArduinoTrigger) GetPropertyIdOk() (*string, bool)

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

func (*ArduinoTrigger) GetUpdatedAt added in v3.0.1

func (o *ArduinoTrigger) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ArduinoTrigger) GetUpdatedAtOk added in v3.0.1

func (o *ArduinoTrigger) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ArduinoTrigger) HasActions added in v3.0.1

func (o *ArduinoTrigger) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*ArduinoTrigger) HasActive added in v3.0.1

func (o *ArduinoTrigger) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*ArduinoTrigger) HasCreatedAt added in v3.0.1

func (o *ArduinoTrigger) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ArduinoTrigger) HasCreatedBy added in v3.0.1

func (o *ArduinoTrigger) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ArduinoTrigger) HasDeletedAt added in v3.0.1

func (o *ArduinoTrigger) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*ArduinoTrigger) HasDescription added in v3.0.1

func (o *ArduinoTrigger) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ArduinoTrigger) HasDeviceStatusSource added in v3.0.1

func (o *ArduinoTrigger) HasDeviceStatusSource() bool

HasDeviceStatusSource returns a boolean if a field has been set.

func (*ArduinoTrigger) HasId added in v3.0.1

func (o *ArduinoTrigger) HasId() bool

HasId returns a boolean if a field has been set.

func (*ArduinoTrigger) HasOrganizationId added in v3.0.1

func (o *ArduinoTrigger) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ArduinoTrigger) HasPropertyId added in v3.0.1

func (o *ArduinoTrigger) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*ArduinoTrigger) HasUpdatedAt added in v3.0.1

func (o *ArduinoTrigger) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ArduinoTrigger) MarshalJSON added in v3.0.1

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

func (*ArduinoTrigger) SetActions added in v3.0.1

func (o *ArduinoTrigger) SetActions(v []ArduinoAction)

SetActions gets a reference to the given []ArduinoAction and assigns it to the Actions field.

func (*ArduinoTrigger) SetActive added in v3.0.1

func (o *ArduinoTrigger) SetActive(v bool)

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

func (*ArduinoTrigger) SetCreatedAt added in v3.0.1

func (o *ArduinoTrigger) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ArduinoTrigger) SetCreatedBy added in v3.0.1

func (o *ArduinoTrigger) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*ArduinoTrigger) SetDeletedAt added in v3.0.1

func (o *ArduinoTrigger) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*ArduinoTrigger) SetDescription added in v3.0.1

func (o *ArduinoTrigger) SetDescription(v string)

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

func (*ArduinoTrigger) SetDeviceStatusSource added in v3.0.1

func (o *ArduinoTrigger) SetDeviceStatusSource(v DeviceStatusSource)

SetDeviceStatusSource gets a reference to the given DeviceStatusSource and assigns it to the DeviceStatusSource field.

func (*ArduinoTrigger) SetId added in v3.0.1

func (o *ArduinoTrigger) SetId(v string)

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

func (*ArduinoTrigger) SetName added in v3.0.1

func (o *ArduinoTrigger) SetName(v string)

SetName sets field value

func (*ArduinoTrigger) SetOrganizationId added in v3.0.1

func (o *ArduinoTrigger) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ArduinoTrigger) SetPropertyId added in v3.0.1

func (o *ArduinoTrigger) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*ArduinoTrigger) SetUpdatedAt added in v3.0.1

func (o *ArduinoTrigger) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (ArduinoTrigger) ToMap added in v3.0.1

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

func (*ArduinoTrigger) UnmarshalJSON added in v3.0.1

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

type ArduinoTriggerTemplate added in v3.0.1

type ArduinoTriggerTemplate struct {
	// A list of actions associated with the trigger
	Actions []ArduinoActionTemplate `json:"actions,omitempty"`
	// Is true if the trigger is enabled
	Active *bool `json:"active,omitempty"`
	// The criteria of the trigger, could be INCLUDE or EXCLUDE
	Criteria *string `json:"criteria,omitempty"`
	// The description of the trigger
	Description *string `json:"description,omitempty"`
	// The amount of seconds the trigger will wait before considering a matching device as offline
	GracePeriodOffline *int64 `json:"grace_period_offline,omitempty"`
	// The amount of seconds the trigger will wait before considering a matching device as online
	GracePeriodOnline *int64 `json:"grace_period_online,omitempty"`
	// The id of the trigger
	Id string `json:"id"`
	// A list of devices the trigger is associated to
	LinkedDevices  []ArduinoLinkedDeviceTemplate  `json:"linked_devices,omitempty"`
	LinkedProperty *ArduinoLinkedPropertyTemplate `json:"linked_property,omitempty"`
	// The name of the trigger
	Name string `json:"name"`
	// Id of the organization the trigger belongs to
	OrganizationId *string `json:"organization_id,omitempty"`
}

ArduinoTriggerTemplate ArduinoTrigger_template media type (default view)

func NewArduinoTriggerTemplate added in v3.0.1

func NewArduinoTriggerTemplate(id string, name string) *ArduinoTriggerTemplate

NewArduinoTriggerTemplate instantiates a new ArduinoTriggerTemplate 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 NewArduinoTriggerTemplateWithDefaults added in v3.0.1

func NewArduinoTriggerTemplateWithDefaults() *ArduinoTriggerTemplate

NewArduinoTriggerTemplateWithDefaults instantiates a new ArduinoTriggerTemplate 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 (*ArduinoTriggerTemplate) GetActions added in v3.0.1

GetActions returns the Actions field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetActionsOk added in v3.0.1

func (o *ArduinoTriggerTemplate) GetActionsOk() ([]ArduinoActionTemplate, bool)

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

func (*ArduinoTriggerTemplate) GetActive added in v3.0.1

func (o *ArduinoTriggerTemplate) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetActiveOk added in v3.0.1

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

func (*ArduinoTriggerTemplate) GetCriteria added in v3.0.1

func (o *ArduinoTriggerTemplate) GetCriteria() string

GetCriteria returns the Criteria field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetCriteriaOk added in v3.0.1

func (o *ArduinoTriggerTemplate) GetCriteriaOk() (*string, bool)

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

func (*ArduinoTriggerTemplate) GetDescription added in v3.0.1

func (o *ArduinoTriggerTemplate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetDescriptionOk added in v3.0.1

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

func (*ArduinoTriggerTemplate) GetGracePeriodOffline added in v3.0.1

func (o *ArduinoTriggerTemplate) GetGracePeriodOffline() int64

GetGracePeriodOffline returns the GracePeriodOffline field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetGracePeriodOfflineOk added in v3.0.1

func (o *ArduinoTriggerTemplate) GetGracePeriodOfflineOk() (*int64, bool)

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

func (*ArduinoTriggerTemplate) GetGracePeriodOnline added in v3.0.1

func (o *ArduinoTriggerTemplate) GetGracePeriodOnline() int64

GetGracePeriodOnline returns the GracePeriodOnline field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetGracePeriodOnlineOk added in v3.0.1

func (o *ArduinoTriggerTemplate) GetGracePeriodOnlineOk() (*int64, bool)

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

func (*ArduinoTriggerTemplate) GetId added in v3.0.1

func (o *ArduinoTriggerTemplate) GetId() string

GetId returns the Id field value

func (*ArduinoTriggerTemplate) GetIdOk added in v3.0.1

func (o *ArduinoTriggerTemplate) GetIdOk() (*string, bool)

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

func (*ArduinoTriggerTemplate) GetLinkedDevices added in v3.0.1

func (o *ArduinoTriggerTemplate) GetLinkedDevices() []ArduinoLinkedDeviceTemplate

GetLinkedDevices returns the LinkedDevices field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetLinkedDevicesOk added in v3.0.1

func (o *ArduinoTriggerTemplate) GetLinkedDevicesOk() ([]ArduinoLinkedDeviceTemplate, bool)

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

func (*ArduinoTriggerTemplate) GetLinkedProperty added in v3.0.1

GetLinkedProperty returns the LinkedProperty field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetLinkedPropertyOk added in v3.0.1

func (o *ArduinoTriggerTemplate) GetLinkedPropertyOk() (*ArduinoLinkedPropertyTemplate, bool)

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

func (*ArduinoTriggerTemplate) GetName added in v3.0.1

func (o *ArduinoTriggerTemplate) GetName() string

GetName returns the Name field value

func (*ArduinoTriggerTemplate) GetNameOk added in v3.0.1

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

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

func (*ArduinoTriggerTemplate) GetOrganizationId added in v3.0.1

func (o *ArduinoTriggerTemplate) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoTriggerTemplate) GetOrganizationIdOk added in v3.0.1

func (o *ArduinoTriggerTemplate) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoTriggerTemplate) HasActions added in v3.0.1

func (o *ArduinoTriggerTemplate) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*ArduinoTriggerTemplate) HasActive added in v3.0.1

func (o *ArduinoTriggerTemplate) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*ArduinoTriggerTemplate) HasCriteria added in v3.0.1

func (o *ArduinoTriggerTemplate) HasCriteria() bool

HasCriteria returns a boolean if a field has been set.

func (*ArduinoTriggerTemplate) HasDescription added in v3.0.1

func (o *ArduinoTriggerTemplate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ArduinoTriggerTemplate) HasGracePeriodOffline added in v3.0.1

func (o *ArduinoTriggerTemplate) HasGracePeriodOffline() bool

HasGracePeriodOffline returns a boolean if a field has been set.

func (*ArduinoTriggerTemplate) HasGracePeriodOnline added in v3.0.1

func (o *ArduinoTriggerTemplate) HasGracePeriodOnline() bool

HasGracePeriodOnline returns a boolean if a field has been set.

func (*ArduinoTriggerTemplate) HasLinkedDevices added in v3.0.1

func (o *ArduinoTriggerTemplate) HasLinkedDevices() bool

HasLinkedDevices returns a boolean if a field has been set.

func (*ArduinoTriggerTemplate) HasLinkedProperty added in v3.0.1

func (o *ArduinoTriggerTemplate) HasLinkedProperty() bool

HasLinkedProperty returns a boolean if a field has been set.

func (*ArduinoTriggerTemplate) HasOrganizationId added in v3.0.1

func (o *ArduinoTriggerTemplate) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (ArduinoTriggerTemplate) MarshalJSON added in v3.0.1

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

func (*ArduinoTriggerTemplate) SetActions added in v3.0.1

func (o *ArduinoTriggerTemplate) SetActions(v []ArduinoActionTemplate)

SetActions gets a reference to the given []ArduinoActionTemplate and assigns it to the Actions field.

func (*ArduinoTriggerTemplate) SetActive added in v3.0.1

func (o *ArduinoTriggerTemplate) SetActive(v bool)

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

func (*ArduinoTriggerTemplate) SetCriteria added in v3.0.1

func (o *ArduinoTriggerTemplate) SetCriteria(v string)

SetCriteria gets a reference to the given string and assigns it to the Criteria field.

func (*ArduinoTriggerTemplate) SetDescription added in v3.0.1

func (o *ArduinoTriggerTemplate) SetDescription(v string)

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

func (*ArduinoTriggerTemplate) SetGracePeriodOffline added in v3.0.1

func (o *ArduinoTriggerTemplate) SetGracePeriodOffline(v int64)

SetGracePeriodOffline gets a reference to the given int64 and assigns it to the GracePeriodOffline field.

func (*ArduinoTriggerTemplate) SetGracePeriodOnline added in v3.0.1

func (o *ArduinoTriggerTemplate) SetGracePeriodOnline(v int64)

SetGracePeriodOnline gets a reference to the given int64 and assigns it to the GracePeriodOnline field.

func (*ArduinoTriggerTemplate) SetId added in v3.0.1

func (o *ArduinoTriggerTemplate) SetId(v string)

SetId sets field value

func (*ArduinoTriggerTemplate) SetLinkedDevices added in v3.0.1

func (o *ArduinoTriggerTemplate) SetLinkedDevices(v []ArduinoLinkedDeviceTemplate)

SetLinkedDevices gets a reference to the given []ArduinoLinkedDeviceTemplate and assigns it to the LinkedDevices field.

func (*ArduinoTriggerTemplate) SetLinkedProperty added in v3.0.1

func (o *ArduinoTriggerTemplate) SetLinkedProperty(v ArduinoLinkedPropertyTemplate)

SetLinkedProperty gets a reference to the given ArduinoLinkedPropertyTemplate and assigns it to the LinkedProperty field.

func (*ArduinoTriggerTemplate) SetName added in v3.0.1

func (o *ArduinoTriggerTemplate) SetName(v string)

SetName sets field value

func (*ArduinoTriggerTemplate) SetOrganizationId added in v3.0.1

func (o *ArduinoTriggerTemplate) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (ArduinoTriggerTemplate) ToMap added in v3.0.1

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

func (*ArduinoTriggerTemplate) UnmarshalJSON added in v3.0.1

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

type ArduinoTriggerWithLinkedEntities added in v3.0.1

type ArduinoTriggerWithLinkedEntities struct {
	// A list of actions associated with the trigger
	Actions []ArduinoAction `json:"actions,omitempty"`
	// Is true if the trigger is enabled
	Active *bool `json:"active,omitempty"`
	// Id of the user who last updated the trigger
	CreatedBy *string `json:"created_by,omitempty"`
	// The description of the trigger
	Description        *string                              `json:"description,omitempty"`
	DeviceStatusSource *DeviceStatusSourceWithLinkedDevices `json:"device_status_source,omitempty"`
	// The id of the trigger
	Id             string                 `json:"id"`
	LinkedProperty *ArduinoLinkedProperty `json:"linked_property,omitempty"`
	// The name of the trigger
	Name string `json:"name"`
	// Id of the organization the trigger belongs to
	OrganizationId *string `json:"organization_id,omitempty"`
}

ArduinoTriggerWithLinkedEntities ArduinoTrigger_with_linked_entities media type (default view)

func NewArduinoTriggerWithLinkedEntities added in v3.0.1

func NewArduinoTriggerWithLinkedEntities(id string, name string) *ArduinoTriggerWithLinkedEntities

NewArduinoTriggerWithLinkedEntities instantiates a new ArduinoTriggerWithLinkedEntities 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 NewArduinoTriggerWithLinkedEntitiesWithDefaults added in v3.0.1

func NewArduinoTriggerWithLinkedEntitiesWithDefaults() *ArduinoTriggerWithLinkedEntities

NewArduinoTriggerWithLinkedEntitiesWithDefaults instantiates a new ArduinoTriggerWithLinkedEntities 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 (*ArduinoTriggerWithLinkedEntities) GetActions added in v3.0.1

GetActions returns the Actions field value if set, zero value otherwise.

func (*ArduinoTriggerWithLinkedEntities) GetActionsOk added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetActionsOk() ([]ArduinoAction, bool)

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

func (*ArduinoTriggerWithLinkedEntities) GetActive added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*ArduinoTriggerWithLinkedEntities) GetActiveOk added in v3.0.1

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

func (*ArduinoTriggerWithLinkedEntities) GetCreatedBy added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*ArduinoTriggerWithLinkedEntities) GetCreatedByOk added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetCreatedByOk() (*string, bool)

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

func (*ArduinoTriggerWithLinkedEntities) GetDescription added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ArduinoTriggerWithLinkedEntities) GetDescriptionOk added in v3.0.1

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

func (*ArduinoTriggerWithLinkedEntities) GetDeviceStatusSource added in v3.0.1

GetDeviceStatusSource returns the DeviceStatusSource field value if set, zero value otherwise.

func (*ArduinoTriggerWithLinkedEntities) GetDeviceStatusSourceOk added in v3.0.1

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

func (*ArduinoTriggerWithLinkedEntities) GetId added in v3.0.1

GetId returns the Id field value

func (*ArduinoTriggerWithLinkedEntities) GetIdOk added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetIdOk() (*string, bool)

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

func (*ArduinoTriggerWithLinkedEntities) GetLinkedProperty added in v3.0.1

GetLinkedProperty returns the LinkedProperty field value if set, zero value otherwise.

func (*ArduinoTriggerWithLinkedEntities) GetLinkedPropertyOk added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetLinkedPropertyOk() (*ArduinoLinkedProperty, bool)

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

func (*ArduinoTriggerWithLinkedEntities) GetName added in v3.0.1

GetName returns the Name field value

func (*ArduinoTriggerWithLinkedEntities) GetNameOk added in v3.0.1

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

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

func (*ArduinoTriggerWithLinkedEntities) GetOrganizationId added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ArduinoTriggerWithLinkedEntities) GetOrganizationIdOk added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) GetOrganizationIdOk() (*string, bool)

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

func (*ArduinoTriggerWithLinkedEntities) HasActions added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*ArduinoTriggerWithLinkedEntities) HasActive added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*ArduinoTriggerWithLinkedEntities) HasCreatedBy added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ArduinoTriggerWithLinkedEntities) HasDescription added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ArduinoTriggerWithLinkedEntities) HasDeviceStatusSource added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) HasDeviceStatusSource() bool

HasDeviceStatusSource returns a boolean if a field has been set.

func (*ArduinoTriggerWithLinkedEntities) HasLinkedProperty added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) HasLinkedProperty() bool

HasLinkedProperty returns a boolean if a field has been set.

func (*ArduinoTriggerWithLinkedEntities) HasOrganizationId added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (ArduinoTriggerWithLinkedEntities) MarshalJSON added in v3.0.1

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

func (*ArduinoTriggerWithLinkedEntities) SetActions added in v3.0.1

SetActions gets a reference to the given []ArduinoAction and assigns it to the Actions field.

func (*ArduinoTriggerWithLinkedEntities) SetActive added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) SetActive(v bool)

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

func (*ArduinoTriggerWithLinkedEntities) SetCreatedBy added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*ArduinoTriggerWithLinkedEntities) SetDescription added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) SetDescription(v string)

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

func (*ArduinoTriggerWithLinkedEntities) SetDeviceStatusSource added in v3.0.1

SetDeviceStatusSource gets a reference to the given DeviceStatusSourceWithLinkedDevices and assigns it to the DeviceStatusSource field.

func (*ArduinoTriggerWithLinkedEntities) SetId added in v3.0.1

SetId sets field value

func (*ArduinoTriggerWithLinkedEntities) SetLinkedProperty added in v3.0.1

SetLinkedProperty gets a reference to the given ArduinoLinkedProperty and assigns it to the LinkedProperty field.

func (*ArduinoTriggerWithLinkedEntities) SetName added in v3.0.1

SetName sets field value

func (*ArduinoTriggerWithLinkedEntities) SetOrganizationId added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (ArduinoTriggerWithLinkedEntities) ToMap added in v3.0.1

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

func (*ArduinoTriggerWithLinkedEntities) UnmarshalJSON added in v3.0.1

func (o *ArduinoTriggerWithLinkedEntities) UnmarshalJSON(data []byte) (err error)
type ArduinoVariableslinks struct {
	// The ids of the linked variables
	Variables []string `json:"variables"`
}

ArduinoVariableslinks ArduinoVariableslinks media type (default view)

func NewArduinoVariableslinks(variables []string) *ArduinoVariableslinks

NewArduinoVariableslinks instantiates a new ArduinoVariableslinks 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 NewArduinoVariableslinksWithDefaults

func NewArduinoVariableslinksWithDefaults() *ArduinoVariableslinks

NewArduinoVariableslinksWithDefaults instantiates a new ArduinoVariableslinks 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 (*ArduinoVariableslinks) GetVariables

func (o *ArduinoVariableslinks) GetVariables() []string

GetVariables returns the Variables field value

func (*ArduinoVariableslinks) GetVariablesOk

func (o *ArduinoVariableslinks) GetVariablesOk() ([]string, bool)

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

func (ArduinoVariableslinks) MarshalJSON

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

func (*ArduinoVariableslinks) SetVariables

func (o *ArduinoVariableslinks) SetVariables(v []string)

SetVariables sets field value

func (ArduinoVariableslinks) ToMap

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

func (*ArduinoVariableslinks) UnmarshalJSON

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

type ArduinoWidgetv2

type ArduinoWidgetv2 struct {
	// True if the linked variables permissions are incompatible with the widget
	HasPermissionIncompatibility *bool `json:"has_permission_incompatibility,omitempty"`
	// True if the linked variables types are incompatible with the widget
	HasTypeIncompatibility *bool `json:"has_type_incompatibility,omitempty"`
	// If it's true the widget is linked to a soft-deleted variable
	HasUnlinkedVariable *bool `json:"has_unlinked_variable,omitempty"`
	// Widget current height for desktop
	Height int64 `json:"height"`
	// Widget current height for mobile
	HeightMobile *int64 `json:"height_mobile,omitempty"`
	// The UUID of the widget, set by client
	Id string `json:"id"`
	// The name of the widget
	Name *string `json:"name,omitempty"`
	// Widget options
	Options map[string]interface{} `json:"options"`
	// The type of the widget
	Type string `json:"type"`
	// ArduinoLinkedvariableCollection is the media type for an array of ArduinoLinkedvariable (default view)
	Variables []ArduinoLinkedvariable `json:"variables,omitempty"`
	// Widget current width for desktop
	Width int64 `json:"width"`
	// Widget current width for mobile
	WidthMobile *int64 `json:"width_mobile,omitempty"`
	// Widget x position for desktop
	X int64 `json:"x"`
	// Widget x position for mobile
	XMobile *int64 `json:"x_mobile,omitempty"`
	// Widget y position for desktop
	Y int64 `json:"y"`
	// Widget y position for mobile
	YMobile *int64 `json:"y_mobile,omitempty"`
}

ArduinoWidgetv2 ArduinoWidgetv2 media type (default view)

func NewArduinoWidgetv2

func NewArduinoWidgetv2(height int64, id string, options map[string]interface{}, type_ string, width int64, x int64, y int64) *ArduinoWidgetv2

NewArduinoWidgetv2 instantiates a new ArduinoWidgetv2 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 NewArduinoWidgetv2WithDefaults

func NewArduinoWidgetv2WithDefaults() *ArduinoWidgetv2

NewArduinoWidgetv2WithDefaults instantiates a new ArduinoWidgetv2 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 (*ArduinoWidgetv2) GetHasPermissionIncompatibility

func (o *ArduinoWidgetv2) GetHasPermissionIncompatibility() bool

GetHasPermissionIncompatibility returns the HasPermissionIncompatibility field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetHasPermissionIncompatibilityOk

func (o *ArduinoWidgetv2) GetHasPermissionIncompatibilityOk() (*bool, bool)

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

func (*ArduinoWidgetv2) GetHasTypeIncompatibility

func (o *ArduinoWidgetv2) GetHasTypeIncompatibility() bool

GetHasTypeIncompatibility returns the HasTypeIncompatibility field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetHasTypeIncompatibilityOk

func (o *ArduinoWidgetv2) GetHasTypeIncompatibilityOk() (*bool, bool)

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

func (*ArduinoWidgetv2) GetHasUnlinkedVariable

func (o *ArduinoWidgetv2) GetHasUnlinkedVariable() bool

GetHasUnlinkedVariable returns the HasUnlinkedVariable field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetHasUnlinkedVariableOk

func (o *ArduinoWidgetv2) GetHasUnlinkedVariableOk() (*bool, bool)

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

func (*ArduinoWidgetv2) GetHeight

func (o *ArduinoWidgetv2) GetHeight() int64

GetHeight returns the Height field value

func (*ArduinoWidgetv2) GetHeightMobile

func (o *ArduinoWidgetv2) GetHeightMobile() int64

GetHeightMobile returns the HeightMobile field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetHeightMobileOk

func (o *ArduinoWidgetv2) GetHeightMobileOk() (*int64, bool)

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

func (*ArduinoWidgetv2) GetHeightOk

func (o *ArduinoWidgetv2) GetHeightOk() (*int64, bool)

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

func (*ArduinoWidgetv2) GetId

func (o *ArduinoWidgetv2) GetId() string

GetId returns the Id field value

func (*ArduinoWidgetv2) GetIdOk

func (o *ArduinoWidgetv2) GetIdOk() (*string, bool)

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

func (*ArduinoWidgetv2) GetName

func (o *ArduinoWidgetv2) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetNameOk

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

func (*ArduinoWidgetv2) GetOptions

func (o *ArduinoWidgetv2) GetOptions() map[string]interface{}

GetOptions returns the Options field value

func (*ArduinoWidgetv2) GetOptionsOk

func (o *ArduinoWidgetv2) GetOptionsOk() (map[string]interface{}, bool)

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

func (*ArduinoWidgetv2) GetType

func (o *ArduinoWidgetv2) GetType() string

GetType returns the Type field value

func (*ArduinoWidgetv2) GetTypeOk

func (o *ArduinoWidgetv2) GetTypeOk() (*string, bool)

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

func (*ArduinoWidgetv2) GetVariables

func (o *ArduinoWidgetv2) GetVariables() []ArduinoLinkedvariable

GetVariables returns the Variables field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetVariablesOk

func (o *ArduinoWidgetv2) GetVariablesOk() ([]ArduinoLinkedvariable, bool)

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

func (*ArduinoWidgetv2) GetWidth

func (o *ArduinoWidgetv2) GetWidth() int64

GetWidth returns the Width field value

func (*ArduinoWidgetv2) GetWidthMobile

func (o *ArduinoWidgetv2) GetWidthMobile() int64

GetWidthMobile returns the WidthMobile field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetWidthMobileOk

func (o *ArduinoWidgetv2) GetWidthMobileOk() (*int64, bool)

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

func (*ArduinoWidgetv2) GetWidthOk

func (o *ArduinoWidgetv2) GetWidthOk() (*int64, bool)

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

func (*ArduinoWidgetv2) GetX

func (o *ArduinoWidgetv2) GetX() int64

GetX returns the X field value

func (*ArduinoWidgetv2) GetXMobile

func (o *ArduinoWidgetv2) GetXMobile() int64

GetXMobile returns the XMobile field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetXMobileOk

func (o *ArduinoWidgetv2) GetXMobileOk() (*int64, bool)

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

func (*ArduinoWidgetv2) GetXOk

func (o *ArduinoWidgetv2) GetXOk() (*int64, bool)

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

func (*ArduinoWidgetv2) GetY

func (o *ArduinoWidgetv2) GetY() int64

GetY returns the Y field value

func (*ArduinoWidgetv2) GetYMobile

func (o *ArduinoWidgetv2) GetYMobile() int64

GetYMobile returns the YMobile field value if set, zero value otherwise.

func (*ArduinoWidgetv2) GetYMobileOk

func (o *ArduinoWidgetv2) GetYMobileOk() (*int64, bool)

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

func (*ArduinoWidgetv2) GetYOk

func (o *ArduinoWidgetv2) GetYOk() (*int64, bool)

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

func (*ArduinoWidgetv2) HasHasPermissionIncompatibility

func (o *ArduinoWidgetv2) HasHasPermissionIncompatibility() bool

HasHasPermissionIncompatibility returns a boolean if a field has been set.

func (*ArduinoWidgetv2) HasHasTypeIncompatibility

func (o *ArduinoWidgetv2) HasHasTypeIncompatibility() bool

HasHasTypeIncompatibility returns a boolean if a field has been set.

func (*ArduinoWidgetv2) HasHasUnlinkedVariable

func (o *ArduinoWidgetv2) HasHasUnlinkedVariable() bool

HasHasUnlinkedVariable returns a boolean if a field has been set.

func (*ArduinoWidgetv2) HasHeightMobile

func (o *ArduinoWidgetv2) HasHeightMobile() bool

HasHeightMobile returns a boolean if a field has been set.

func (*ArduinoWidgetv2) HasName

func (o *ArduinoWidgetv2) HasName() bool

HasName returns a boolean if a field has been set.

func (*ArduinoWidgetv2) HasVariables

func (o *ArduinoWidgetv2) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (*ArduinoWidgetv2) HasWidthMobile

func (o *ArduinoWidgetv2) HasWidthMobile() bool

HasWidthMobile returns a boolean if a field has been set.

func (*ArduinoWidgetv2) HasXMobile

func (o *ArduinoWidgetv2) HasXMobile() bool

HasXMobile returns a boolean if a field has been set.

func (*ArduinoWidgetv2) HasYMobile

func (o *ArduinoWidgetv2) HasYMobile() bool

HasYMobile returns a boolean if a field has been set.

func (ArduinoWidgetv2) MarshalJSON

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

func (*ArduinoWidgetv2) SetHasPermissionIncompatibility

func (o *ArduinoWidgetv2) SetHasPermissionIncompatibility(v bool)

SetHasPermissionIncompatibility gets a reference to the given bool and assigns it to the HasPermissionIncompatibility field.

func (*ArduinoWidgetv2) SetHasTypeIncompatibility

func (o *ArduinoWidgetv2) SetHasTypeIncompatibility(v bool)

SetHasTypeIncompatibility gets a reference to the given bool and assigns it to the HasTypeIncompatibility field.

func (*ArduinoWidgetv2) SetHasUnlinkedVariable

func (o *ArduinoWidgetv2) SetHasUnlinkedVariable(v bool)

SetHasUnlinkedVariable gets a reference to the given bool and assigns it to the HasUnlinkedVariable field.

func (*ArduinoWidgetv2) SetHeight

func (o *ArduinoWidgetv2) SetHeight(v int64)

SetHeight sets field value

func (*ArduinoWidgetv2) SetHeightMobile

func (o *ArduinoWidgetv2) SetHeightMobile(v int64)

SetHeightMobile gets a reference to the given int64 and assigns it to the HeightMobile field.

func (*ArduinoWidgetv2) SetId

func (o *ArduinoWidgetv2) SetId(v string)

SetId sets field value

func (*ArduinoWidgetv2) SetName

func (o *ArduinoWidgetv2) SetName(v string)

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

func (*ArduinoWidgetv2) SetOptions

func (o *ArduinoWidgetv2) SetOptions(v map[string]interface{})

SetOptions sets field value

func (*ArduinoWidgetv2) SetType

func (o *ArduinoWidgetv2) SetType(v string)

SetType sets field value

func (*ArduinoWidgetv2) SetVariables

func (o *ArduinoWidgetv2) SetVariables(v []ArduinoLinkedvariable)

SetVariables gets a reference to the given []ArduinoLinkedvariable and assigns it to the Variables field.

func (*ArduinoWidgetv2) SetWidth

func (o *ArduinoWidgetv2) SetWidth(v int64)

SetWidth sets field value

func (*ArduinoWidgetv2) SetWidthMobile

func (o *ArduinoWidgetv2) SetWidthMobile(v int64)

SetWidthMobile gets a reference to the given int64 and assigns it to the WidthMobile field.

func (*ArduinoWidgetv2) SetX

func (o *ArduinoWidgetv2) SetX(v int64)

SetX sets field value

func (*ArduinoWidgetv2) SetXMobile

func (o *ArduinoWidgetv2) SetXMobile(v int64)

SetXMobile gets a reference to the given int64 and assigns it to the XMobile field.

func (*ArduinoWidgetv2) SetY

func (o *ArduinoWidgetv2) SetY(v int64)

SetY sets field value

func (*ArduinoWidgetv2) SetYMobile

func (o *ArduinoWidgetv2) SetYMobile(v int64)

SetYMobile gets a reference to the given int64 and assigns it to the YMobile field.

func (ArduinoWidgetv2) ToMap

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

func (*ArduinoWidgetv2) UnmarshalJSON

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

type ArduinoWidgetv2template

type ArduinoWidgetv2template struct {
	// Widget current height for desktop
	Height int64 `json:"height"`
	// Widget current height for mobile
	HeightMobile *int64 `json:"height_mobile,omitempty"`
	// The name of the widget
	Name *string `json:"name,omitempty"`
	// Widget options
	Options map[string]interface{} `json:"options"`
	// The type of the widget
	Type string `json:"type"`
	// ArduinoTemplatevariableCollection is the media type for an array of ArduinoTemplatevariable (default view)
	Variables []ArduinoTemplatevariable `json:"variables,omitempty"`
	// Widget current width for desktop
	Width int64 `json:"width"`
	// Widget current width for mobile
	WidthMobile *int64 `json:"width_mobile,omitempty"`
	// Widget x position for desktop
	X int64 `json:"x"`
	// Widget x position for mobile
	XMobile *int64 `json:"x_mobile,omitempty"`
	// Widget y position for desktop
	Y int64 `json:"y"`
	// Widget y position for mobile
	YMobile *int64 `json:"y_mobile,omitempty"`
}

ArduinoWidgetv2template ArduinoWidgetv2template media type (default view)

func NewArduinoWidgetv2template

func NewArduinoWidgetv2template(height int64, options map[string]interface{}, type_ string, width int64, x int64, y int64) *ArduinoWidgetv2template

NewArduinoWidgetv2template instantiates a new ArduinoWidgetv2template 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 NewArduinoWidgetv2templateWithDefaults

func NewArduinoWidgetv2templateWithDefaults() *ArduinoWidgetv2template

NewArduinoWidgetv2templateWithDefaults instantiates a new ArduinoWidgetv2template 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 (*ArduinoWidgetv2template) GetHeight

func (o *ArduinoWidgetv2template) GetHeight() int64

GetHeight returns the Height field value

func (*ArduinoWidgetv2template) GetHeightMobile

func (o *ArduinoWidgetv2template) GetHeightMobile() int64

GetHeightMobile returns the HeightMobile field value if set, zero value otherwise.

func (*ArduinoWidgetv2template) GetHeightMobileOk

func (o *ArduinoWidgetv2template) GetHeightMobileOk() (*int64, bool)

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

func (*ArduinoWidgetv2template) GetHeightOk

func (o *ArduinoWidgetv2template) GetHeightOk() (*int64, bool)

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

func (*ArduinoWidgetv2template) GetName

func (o *ArduinoWidgetv2template) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ArduinoWidgetv2template) GetNameOk

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

func (*ArduinoWidgetv2template) GetOptions

func (o *ArduinoWidgetv2template) GetOptions() map[string]interface{}

GetOptions returns the Options field value

func (*ArduinoWidgetv2template) GetOptionsOk

func (o *ArduinoWidgetv2template) GetOptionsOk() (map[string]interface{}, bool)

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

func (*ArduinoWidgetv2template) GetType

func (o *ArduinoWidgetv2template) GetType() string

GetType returns the Type field value

func (*ArduinoWidgetv2template) GetTypeOk

func (o *ArduinoWidgetv2template) GetTypeOk() (*string, bool)

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

func (*ArduinoWidgetv2template) GetVariables

GetVariables returns the Variables field value if set, zero value otherwise.

func (*ArduinoWidgetv2template) GetVariablesOk

func (o *ArduinoWidgetv2template) GetVariablesOk() ([]ArduinoTemplatevariable, bool)

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

func (*ArduinoWidgetv2template) GetWidth

func (o *ArduinoWidgetv2template) GetWidth() int64

GetWidth returns the Width field value

func (*ArduinoWidgetv2template) GetWidthMobile

func (o *ArduinoWidgetv2template) GetWidthMobile() int64

GetWidthMobile returns the WidthMobile field value if set, zero value otherwise.

func (*ArduinoWidgetv2template) GetWidthMobileOk

func (o *ArduinoWidgetv2template) GetWidthMobileOk() (*int64, bool)

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

func (*ArduinoWidgetv2template) GetWidthOk

func (o *ArduinoWidgetv2template) GetWidthOk() (*int64, bool)

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

func (*ArduinoWidgetv2template) GetX

func (o *ArduinoWidgetv2template) GetX() int64

GetX returns the X field value

func (*ArduinoWidgetv2template) GetXMobile

func (o *ArduinoWidgetv2template) GetXMobile() int64

GetXMobile returns the XMobile field value if set, zero value otherwise.

func (*ArduinoWidgetv2template) GetXMobileOk

func (o *ArduinoWidgetv2template) GetXMobileOk() (*int64, bool)

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

func (*ArduinoWidgetv2template) GetXOk

func (o *ArduinoWidgetv2template) GetXOk() (*int64, bool)

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

func (*ArduinoWidgetv2template) GetY

func (o *ArduinoWidgetv2template) GetY() int64

GetY returns the Y field value

func (*ArduinoWidgetv2template) GetYMobile

func (o *ArduinoWidgetv2template) GetYMobile() int64

GetYMobile returns the YMobile field value if set, zero value otherwise.

func (*ArduinoWidgetv2template) GetYMobileOk

func (o *ArduinoWidgetv2template) GetYMobileOk() (*int64, bool)

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

func (*ArduinoWidgetv2template) GetYOk

func (o *ArduinoWidgetv2template) GetYOk() (*int64, bool)

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

func (*ArduinoWidgetv2template) HasHeightMobile

func (o *ArduinoWidgetv2template) HasHeightMobile() bool

HasHeightMobile returns a boolean if a field has been set.

func (*ArduinoWidgetv2template) HasName

func (o *ArduinoWidgetv2template) HasName() bool

HasName returns a boolean if a field has been set.

func (*ArduinoWidgetv2template) HasVariables

func (o *ArduinoWidgetv2template) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (*ArduinoWidgetv2template) HasWidthMobile

func (o *ArduinoWidgetv2template) HasWidthMobile() bool

HasWidthMobile returns a boolean if a field has been set.

func (*ArduinoWidgetv2template) HasXMobile

func (o *ArduinoWidgetv2template) HasXMobile() bool

HasXMobile returns a boolean if a field has been set.

func (*ArduinoWidgetv2template) HasYMobile

func (o *ArduinoWidgetv2template) HasYMobile() bool

HasYMobile returns a boolean if a field has been set.

func (ArduinoWidgetv2template) MarshalJSON

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

func (*ArduinoWidgetv2template) SetHeight

func (o *ArduinoWidgetv2template) SetHeight(v int64)

SetHeight sets field value

func (*ArduinoWidgetv2template) SetHeightMobile

func (o *ArduinoWidgetv2template) SetHeightMobile(v int64)

SetHeightMobile gets a reference to the given int64 and assigns it to the HeightMobile field.

func (*ArduinoWidgetv2template) SetName

func (o *ArduinoWidgetv2template) SetName(v string)

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

func (*ArduinoWidgetv2template) SetOptions

func (o *ArduinoWidgetv2template) SetOptions(v map[string]interface{})

SetOptions sets field value

func (*ArduinoWidgetv2template) SetType

func (o *ArduinoWidgetv2template) SetType(v string)

SetType sets field value

func (*ArduinoWidgetv2template) SetVariables

func (o *ArduinoWidgetv2template) SetVariables(v []ArduinoTemplatevariable)

SetVariables gets a reference to the given []ArduinoTemplatevariable and assigns it to the Variables field.

func (*ArduinoWidgetv2template) SetWidth

func (o *ArduinoWidgetv2template) SetWidth(v int64)

SetWidth sets field value

func (*ArduinoWidgetv2template) SetWidthMobile

func (o *ArduinoWidgetv2template) SetWidthMobile(v int64)

SetWidthMobile gets a reference to the given int64 and assigns it to the WidthMobile field.

func (*ArduinoWidgetv2template) SetX

func (o *ArduinoWidgetv2template) SetX(v int64)

SetX sets field value

func (*ArduinoWidgetv2template) SetXMobile

func (o *ArduinoWidgetv2template) SetXMobile(v int64)

SetXMobile gets a reference to the given int64 and assigns it to the XMobile field.

func (*ArduinoWidgetv2template) SetY

func (o *ArduinoWidgetv2template) SetY(v int64)

SetY sets field value

func (*ArduinoWidgetv2template) SetYMobile

func (o *ArduinoWidgetv2template) SetYMobile(v int64)

SetYMobile gets a reference to the given int64 and assigns it to the YMobile field.

func (ArduinoWidgetv2template) ToMap

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

func (*ArduinoWidgetv2template) UnmarshalJSON

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

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 BatchLastValueRequestsMediaV1

type BatchLastValueRequestsMediaV1 struct {
	// Requests
	Requests []BatchQueryRawLastValueRequestMediaV1 `json:"requests"`
}

BatchLastValueRequestsMediaV1 struct for BatchLastValueRequestsMediaV1

func NewBatchLastValueRequestsMediaV1

func NewBatchLastValueRequestsMediaV1(requests []BatchQueryRawLastValueRequestMediaV1) *BatchLastValueRequestsMediaV1

NewBatchLastValueRequestsMediaV1 instantiates a new BatchLastValueRequestsMediaV1 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 NewBatchLastValueRequestsMediaV1WithDefaults

func NewBatchLastValueRequestsMediaV1WithDefaults() *BatchLastValueRequestsMediaV1

NewBatchLastValueRequestsMediaV1WithDefaults instantiates a new BatchLastValueRequestsMediaV1 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 (*BatchLastValueRequestsMediaV1) GetRequests

GetRequests returns the Requests field value

func (*BatchLastValueRequestsMediaV1) GetRequestsOk

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

func (BatchLastValueRequestsMediaV1) MarshalJSON

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

func (*BatchLastValueRequestsMediaV1) SetRequests

SetRequests sets field value

func (BatchLastValueRequestsMediaV1) ToMap

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

func (*BatchLastValueRequestsMediaV1) UnmarshalJSON

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

type BatchQueryRawLastValueRequestMediaV1

type BatchQueryRawLastValueRequestMediaV1 struct {
	// Property id
	PropertyId string `json:"property_id"`
	// Thing id
	ThingId string `json:"thing_id"`
}

BatchQueryRawLastValueRequestMediaV1 struct for BatchQueryRawLastValueRequestMediaV1

func NewBatchQueryRawLastValueRequestMediaV1

func NewBatchQueryRawLastValueRequestMediaV1(propertyId string, thingId string) *BatchQueryRawLastValueRequestMediaV1

NewBatchQueryRawLastValueRequestMediaV1 instantiates a new BatchQueryRawLastValueRequestMediaV1 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 NewBatchQueryRawLastValueRequestMediaV1WithDefaults

func NewBatchQueryRawLastValueRequestMediaV1WithDefaults() *BatchQueryRawLastValueRequestMediaV1

NewBatchQueryRawLastValueRequestMediaV1WithDefaults instantiates a new BatchQueryRawLastValueRequestMediaV1 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 (*BatchQueryRawLastValueRequestMediaV1) GetPropertyId

func (o *BatchQueryRawLastValueRequestMediaV1) GetPropertyId() string

GetPropertyId returns the PropertyId field value

func (*BatchQueryRawLastValueRequestMediaV1) GetPropertyIdOk

func (o *BatchQueryRawLastValueRequestMediaV1) GetPropertyIdOk() (*string, bool)

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

func (*BatchQueryRawLastValueRequestMediaV1) GetThingId

GetThingId returns the ThingId field value

func (*BatchQueryRawLastValueRequestMediaV1) GetThingIdOk

func (o *BatchQueryRawLastValueRequestMediaV1) GetThingIdOk() (*string, bool)

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

func (BatchQueryRawLastValueRequestMediaV1) MarshalJSON

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

func (*BatchQueryRawLastValueRequestMediaV1) SetPropertyId

func (o *BatchQueryRawLastValueRequestMediaV1) SetPropertyId(v string)

SetPropertyId sets field value

func (*BatchQueryRawLastValueRequestMediaV1) SetThingId

SetThingId sets field value

func (BatchQueryRawLastValueRequestMediaV1) ToMap

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

func (*BatchQueryRawLastValueRequestMediaV1) UnmarshalJSON

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

type BatchQueryRawRequestMediaV1

type BatchQueryRawRequestMediaV1 struct {
	// From timestamp
	From *time.Time `json:"from,omitempty"`
	// Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5 or thing.95717675-4786-4ffc-afcc-799777755391)
	Q string `json:"q"`
	// Maximum number of values returned, if any (default/limit: 1000, 10000 in case of thing query)
	SeriesLimit *int64 `json:"series_limit,omitempty"`
	// Sorting
	Sort *string `json:"sort,omitempty"`
	// To timestamp
	To *time.Time `json:"to,omitempty"`
}

BatchQueryRawRequestMediaV1 struct for BatchQueryRawRequestMediaV1

func NewBatchQueryRawRequestMediaV1

func NewBatchQueryRawRequestMediaV1(q string) *BatchQueryRawRequestMediaV1

NewBatchQueryRawRequestMediaV1 instantiates a new BatchQueryRawRequestMediaV1 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 NewBatchQueryRawRequestMediaV1WithDefaults

func NewBatchQueryRawRequestMediaV1WithDefaults() *BatchQueryRawRequestMediaV1

NewBatchQueryRawRequestMediaV1WithDefaults instantiates a new BatchQueryRawRequestMediaV1 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 (*BatchQueryRawRequestMediaV1) GetFrom

func (o *BatchQueryRawRequestMediaV1) GetFrom() time.Time

GetFrom returns the From field value if set, zero value otherwise.

func (*BatchQueryRawRequestMediaV1) GetFromOk

func (o *BatchQueryRawRequestMediaV1) GetFromOk() (*time.Time, bool)

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

func (*BatchQueryRawRequestMediaV1) GetQ

GetQ returns the Q field value

func (*BatchQueryRawRequestMediaV1) GetQOk

func (o *BatchQueryRawRequestMediaV1) GetQOk() (*string, bool)

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

func (*BatchQueryRawRequestMediaV1) GetSeriesLimit

func (o *BatchQueryRawRequestMediaV1) GetSeriesLimit() int64

GetSeriesLimit returns the SeriesLimit field value if set, zero value otherwise.

func (*BatchQueryRawRequestMediaV1) GetSeriesLimitOk

func (o *BatchQueryRawRequestMediaV1) GetSeriesLimitOk() (*int64, bool)

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

func (*BatchQueryRawRequestMediaV1) GetSort

func (o *BatchQueryRawRequestMediaV1) GetSort() string

GetSort returns the Sort field value if set, zero value otherwise.

func (*BatchQueryRawRequestMediaV1) GetSortOk

func (o *BatchQueryRawRequestMediaV1) GetSortOk() (*string, bool)

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

func (*BatchQueryRawRequestMediaV1) GetTo

GetTo returns the To field value if set, zero value otherwise.

func (*BatchQueryRawRequestMediaV1) GetToOk

func (o *BatchQueryRawRequestMediaV1) GetToOk() (*time.Time, bool)

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

func (*BatchQueryRawRequestMediaV1) HasFrom

func (o *BatchQueryRawRequestMediaV1) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*BatchQueryRawRequestMediaV1) HasSeriesLimit

func (o *BatchQueryRawRequestMediaV1) HasSeriesLimit() bool

HasSeriesLimit returns a boolean if a field has been set.

func (*BatchQueryRawRequestMediaV1) HasSort

func (o *BatchQueryRawRequestMediaV1) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*BatchQueryRawRequestMediaV1) HasTo

func (o *BatchQueryRawRequestMediaV1) HasTo() bool

HasTo returns a boolean if a field has been set.

func (BatchQueryRawRequestMediaV1) MarshalJSON

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

func (*BatchQueryRawRequestMediaV1) SetFrom

func (o *BatchQueryRawRequestMediaV1) SetFrom(v time.Time)

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*BatchQueryRawRequestMediaV1) SetQ

SetQ sets field value

func (*BatchQueryRawRequestMediaV1) SetSeriesLimit

func (o *BatchQueryRawRequestMediaV1) SetSeriesLimit(v int64)

SetSeriesLimit gets a reference to the given int64 and assigns it to the SeriesLimit field.

func (*BatchQueryRawRequestMediaV1) SetSort

func (o *BatchQueryRawRequestMediaV1) SetSort(v string)

SetSort gets a reference to the given string and assigns it to the Sort field.

func (*BatchQueryRawRequestMediaV1) SetTo

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (BatchQueryRawRequestMediaV1) ToMap

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

func (*BatchQueryRawRequestMediaV1) UnmarshalJSON

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

type BatchQueryRawRequestsMediaV1

type BatchQueryRawRequestsMediaV1 struct {
	// Requests
	Requests []BatchQueryRawRequestMediaV1 `json:"requests"`
	// Response version
	RespVersion int64 `json:"resp_version"`
}

BatchQueryRawRequestsMediaV1 struct for BatchQueryRawRequestsMediaV1

func NewBatchQueryRawRequestsMediaV1

func NewBatchQueryRawRequestsMediaV1(requests []BatchQueryRawRequestMediaV1, respVersion int64) *BatchQueryRawRequestsMediaV1

NewBatchQueryRawRequestsMediaV1 instantiates a new BatchQueryRawRequestsMediaV1 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 NewBatchQueryRawRequestsMediaV1WithDefaults

func NewBatchQueryRawRequestsMediaV1WithDefaults() *BatchQueryRawRequestsMediaV1

NewBatchQueryRawRequestsMediaV1WithDefaults instantiates a new BatchQueryRawRequestsMediaV1 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 (*BatchQueryRawRequestsMediaV1) GetRequests

GetRequests returns the Requests field value

func (*BatchQueryRawRequestsMediaV1) GetRequestsOk

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

func (*BatchQueryRawRequestsMediaV1) GetRespVersion

func (o *BatchQueryRawRequestsMediaV1) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*BatchQueryRawRequestsMediaV1) GetRespVersionOk

func (o *BatchQueryRawRequestsMediaV1) GetRespVersionOk() (*int64, bool)

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

func (BatchQueryRawRequestsMediaV1) MarshalJSON

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

func (*BatchQueryRawRequestsMediaV1) SetRequests

SetRequests sets field value

func (*BatchQueryRawRequestsMediaV1) SetRespVersion

func (o *BatchQueryRawRequestsMediaV1) SetRespVersion(v int64)

SetRespVersion sets field value

func (BatchQueryRawRequestsMediaV1) ToMap

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

func (*BatchQueryRawRequestsMediaV1) UnmarshalJSON

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

type BatchQueryRawResponseSeriesMediaV1

type BatchQueryRawResponseSeriesMediaV1 struct {
	// Metric name
	Metric string `json:"metric"`
}

BatchQueryRawResponseSeriesMediaV1 struct for BatchQueryRawResponseSeriesMediaV1

func NewBatchQueryRawResponseSeriesMediaV1

func NewBatchQueryRawResponseSeriesMediaV1(metric string) *BatchQueryRawResponseSeriesMediaV1

NewBatchQueryRawResponseSeriesMediaV1 instantiates a new BatchQueryRawResponseSeriesMediaV1 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 NewBatchQueryRawResponseSeriesMediaV1WithDefaults

func NewBatchQueryRawResponseSeriesMediaV1WithDefaults() *BatchQueryRawResponseSeriesMediaV1

NewBatchQueryRawResponseSeriesMediaV1WithDefaults instantiates a new BatchQueryRawResponseSeriesMediaV1 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 (*BatchQueryRawResponseSeriesMediaV1) GetMetric

GetMetric returns the Metric field value

func (*BatchQueryRawResponseSeriesMediaV1) GetMetricOk

func (o *BatchQueryRawResponseSeriesMediaV1) GetMetricOk() (*string, bool)

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

func (BatchQueryRawResponseSeriesMediaV1) MarshalJSON

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

func (*BatchQueryRawResponseSeriesMediaV1) SetMetric

SetMetric sets field value

func (BatchQueryRawResponseSeriesMediaV1) ToMap

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

func (*BatchQueryRawResponseSeriesMediaV1) UnmarshalJSON

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

type BatchQueryRequestMediaV1

type BatchQueryRequestMediaV1 struct {
	// Aggregation statistic function. For numeric values, AVG statistic is used by default. PCT_X compute the Xth approximate percentile (e.g. PCT_95 is the 95th approximate percentile). For boolean, BOOL_OR statistic is used as default.
	Aggregation *string `json:"aggregation,omitempty"`
	// From timestamp
	From time.Time `json:"from"`
	// Resolution in seconds (max allowed: 86400)
	Interval *int64 `json:"interval,omitempty"`
	// Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5 or thing.95717675-4786-4ffc-afcc-799777755391)
	Q string `json:"q"`
	// Maximum number of values returned after data aggregation, if any (default: 300, limit: 1000 - 10000 in case of thing query)
	SeriesLimit *int64 `json:"series_limit,omitempty"`
	// To timestamp
	To time.Time `json:"to"`
}

BatchQueryRequestMediaV1 struct for BatchQueryRequestMediaV1

func NewBatchQueryRequestMediaV1

func NewBatchQueryRequestMediaV1(from time.Time, q string, to time.Time) *BatchQueryRequestMediaV1

NewBatchQueryRequestMediaV1 instantiates a new BatchQueryRequestMediaV1 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 NewBatchQueryRequestMediaV1WithDefaults

func NewBatchQueryRequestMediaV1WithDefaults() *BatchQueryRequestMediaV1

NewBatchQueryRequestMediaV1WithDefaults instantiates a new BatchQueryRequestMediaV1 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 (*BatchQueryRequestMediaV1) GetAggregation

func (o *BatchQueryRequestMediaV1) GetAggregation() string

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*BatchQueryRequestMediaV1) GetAggregationOk

func (o *BatchQueryRequestMediaV1) GetAggregationOk() (*string, bool)

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

func (*BatchQueryRequestMediaV1) GetFrom

func (o *BatchQueryRequestMediaV1) GetFrom() time.Time

GetFrom returns the From field value

func (*BatchQueryRequestMediaV1) GetFromOk

func (o *BatchQueryRequestMediaV1) GetFromOk() (*time.Time, bool)

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

func (*BatchQueryRequestMediaV1) GetInterval

func (o *BatchQueryRequestMediaV1) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*BatchQueryRequestMediaV1) GetIntervalOk

func (o *BatchQueryRequestMediaV1) GetIntervalOk() (*int64, bool)

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

func (*BatchQueryRequestMediaV1) GetQ

func (o *BatchQueryRequestMediaV1) GetQ() string

GetQ returns the Q field value

func (*BatchQueryRequestMediaV1) GetQOk

func (o *BatchQueryRequestMediaV1) GetQOk() (*string, bool)

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

func (*BatchQueryRequestMediaV1) GetSeriesLimit

func (o *BatchQueryRequestMediaV1) GetSeriesLimit() int64

GetSeriesLimit returns the SeriesLimit field value if set, zero value otherwise.

func (*BatchQueryRequestMediaV1) GetSeriesLimitOk

func (o *BatchQueryRequestMediaV1) GetSeriesLimitOk() (*int64, bool)

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

func (*BatchQueryRequestMediaV1) GetTo

func (o *BatchQueryRequestMediaV1) GetTo() time.Time

GetTo returns the To field value

func (*BatchQueryRequestMediaV1) GetToOk

func (o *BatchQueryRequestMediaV1) GetToOk() (*time.Time, bool)

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

func (*BatchQueryRequestMediaV1) HasAggregation

func (o *BatchQueryRequestMediaV1) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*BatchQueryRequestMediaV1) HasInterval

func (o *BatchQueryRequestMediaV1) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*BatchQueryRequestMediaV1) HasSeriesLimit

func (o *BatchQueryRequestMediaV1) HasSeriesLimit() bool

HasSeriesLimit returns a boolean if a field has been set.

func (BatchQueryRequestMediaV1) MarshalJSON

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

func (*BatchQueryRequestMediaV1) SetAggregation

func (o *BatchQueryRequestMediaV1) SetAggregation(v string)

SetAggregation gets a reference to the given string and assigns it to the Aggregation field.

func (*BatchQueryRequestMediaV1) SetFrom

func (o *BatchQueryRequestMediaV1) SetFrom(v time.Time)

SetFrom sets field value

func (*BatchQueryRequestMediaV1) SetInterval

func (o *BatchQueryRequestMediaV1) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*BatchQueryRequestMediaV1) SetQ

func (o *BatchQueryRequestMediaV1) SetQ(v string)

SetQ sets field value

func (*BatchQueryRequestMediaV1) SetSeriesLimit

func (o *BatchQueryRequestMediaV1) SetSeriesLimit(v int64)

SetSeriesLimit gets a reference to the given int64 and assigns it to the SeriesLimit field.

func (*BatchQueryRequestMediaV1) SetTo

func (o *BatchQueryRequestMediaV1) SetTo(v time.Time)

SetTo sets field value

func (BatchQueryRequestMediaV1) ToMap

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

func (*BatchQueryRequestMediaV1) UnmarshalJSON

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

type BatchQueryRequestsMediaV1

type BatchQueryRequestsMediaV1 struct {
	// Requests
	Requests []BatchQueryRequestMediaV1 `json:"requests"`
	// Response version
	RespVersion int64 `json:"resp_version"`
}

BatchQueryRequestsMediaV1 struct for BatchQueryRequestsMediaV1

func NewBatchQueryRequestsMediaV1

func NewBatchQueryRequestsMediaV1(requests []BatchQueryRequestMediaV1, respVersion int64) *BatchQueryRequestsMediaV1

NewBatchQueryRequestsMediaV1 instantiates a new BatchQueryRequestsMediaV1 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 NewBatchQueryRequestsMediaV1WithDefaults

func NewBatchQueryRequestsMediaV1WithDefaults() *BatchQueryRequestsMediaV1

NewBatchQueryRequestsMediaV1WithDefaults instantiates a new BatchQueryRequestsMediaV1 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 (*BatchQueryRequestsMediaV1) GetRequests

GetRequests returns the Requests field value

func (*BatchQueryRequestsMediaV1) GetRequestsOk

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

func (*BatchQueryRequestsMediaV1) GetRespVersion

func (o *BatchQueryRequestsMediaV1) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*BatchQueryRequestsMediaV1) GetRespVersionOk

func (o *BatchQueryRequestsMediaV1) GetRespVersionOk() (*int64, bool)

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

func (BatchQueryRequestsMediaV1) MarshalJSON

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

func (*BatchQueryRequestsMediaV1) SetRequests

SetRequests sets field value

func (*BatchQueryRequestsMediaV1) SetRespVersion

func (o *BatchQueryRequestsMediaV1) SetRespVersion(v int64)

SetRespVersion sets field value

func (BatchQueryRequestsMediaV1) ToMap

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

func (*BatchQueryRequestsMediaV1) UnmarshalJSON

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

type BatchQueryResponseSeriesMediaV1

type BatchQueryResponseSeriesMediaV1 struct {
	// Aggregation type
	Aggr string `json:"aggr"`
	// Query
	Expression string `json:"expression"`
	// Metric name
	Metric string `json:"metric"`
}

type BatchQuerySampledRequestMediaV1

type BatchQuerySampledRequestMediaV1 struct {
	// From timestamp (default: now UTC - 24h)
	From *time.Time `json:"from,omitempty"`
	// Resolution in seconds (allowed min:60, max:86400)
	Interval *int32 `json:"interval,omitempty"`
	// Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5)
	Q string `json:"q"`
	// Maximum number of values returned after data aggregation, if any (default: 300, limit: 1000)
	SeriesLimit *int64 `json:"series_limit,omitempty"`
	// To timestamp (default: now UTC)
	To *time.Time `json:"to,omitempty"`
}

BatchQuerySampledRequestMediaV1 struct for BatchQuerySampledRequestMediaV1

func NewBatchQuerySampledRequestMediaV1

func NewBatchQuerySampledRequestMediaV1(q string) *BatchQuerySampledRequestMediaV1

NewBatchQuerySampledRequestMediaV1 instantiates a new BatchQuerySampledRequestMediaV1 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 NewBatchQuerySampledRequestMediaV1WithDefaults

func NewBatchQuerySampledRequestMediaV1WithDefaults() *BatchQuerySampledRequestMediaV1

NewBatchQuerySampledRequestMediaV1WithDefaults instantiates a new BatchQuerySampledRequestMediaV1 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 (*BatchQuerySampledRequestMediaV1) GetFrom

GetFrom returns the From field value if set, zero value otherwise.

func (*BatchQuerySampledRequestMediaV1) GetFromOk

func (o *BatchQuerySampledRequestMediaV1) GetFromOk() (*time.Time, bool)

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

func (*BatchQuerySampledRequestMediaV1) GetInterval

func (o *BatchQuerySampledRequestMediaV1) GetInterval() int32

GetInterval returns the Interval field value if set, zero value otherwise.

func (*BatchQuerySampledRequestMediaV1) GetIntervalOk

func (o *BatchQuerySampledRequestMediaV1) GetIntervalOk() (*int32, bool)

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

func (*BatchQuerySampledRequestMediaV1) GetQ

GetQ returns the Q field value

func (*BatchQuerySampledRequestMediaV1) GetQOk

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

func (*BatchQuerySampledRequestMediaV1) GetSeriesLimit

func (o *BatchQuerySampledRequestMediaV1) GetSeriesLimit() int64

GetSeriesLimit returns the SeriesLimit field value if set, zero value otherwise.

func (*BatchQuerySampledRequestMediaV1) GetSeriesLimitOk

func (o *BatchQuerySampledRequestMediaV1) GetSeriesLimitOk() (*int64, bool)

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

func (*BatchQuerySampledRequestMediaV1) GetTo

GetTo returns the To field value if set, zero value otherwise.

func (*BatchQuerySampledRequestMediaV1) GetToOk

func (o *BatchQuerySampledRequestMediaV1) GetToOk() (*time.Time, bool)

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

func (*BatchQuerySampledRequestMediaV1) HasFrom

HasFrom returns a boolean if a field has been set.

func (*BatchQuerySampledRequestMediaV1) HasInterval

func (o *BatchQuerySampledRequestMediaV1) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*BatchQuerySampledRequestMediaV1) HasSeriesLimit

func (o *BatchQuerySampledRequestMediaV1) HasSeriesLimit() bool

HasSeriesLimit returns a boolean if a field has been set.

func (*BatchQuerySampledRequestMediaV1) HasTo

HasTo returns a boolean if a field has been set.

func (BatchQuerySampledRequestMediaV1) MarshalJSON

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

func (*BatchQuerySampledRequestMediaV1) SetFrom

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*BatchQuerySampledRequestMediaV1) SetInterval

func (o *BatchQuerySampledRequestMediaV1) SetInterval(v int32)

SetInterval gets a reference to the given int32 and assigns it to the Interval field.

func (*BatchQuerySampledRequestMediaV1) SetQ

SetQ sets field value

func (*BatchQuerySampledRequestMediaV1) SetSeriesLimit

func (o *BatchQuerySampledRequestMediaV1) SetSeriesLimit(v int64)

SetSeriesLimit gets a reference to the given int64 and assigns it to the SeriesLimit field.

func (*BatchQuerySampledRequestMediaV1) SetTo

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (BatchQuerySampledRequestMediaV1) ToMap

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

func (*BatchQuerySampledRequestMediaV1) UnmarshalJSON

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

type BatchQuerySampledRequestsMediaV1

type BatchQuerySampledRequestsMediaV1 struct {
	// Requests
	Requests []BatchQuerySampledRequestMediaV1 `json:"requests"`
	// Response version
	RespVersion int64 `json:"resp_version"`
}

BatchQuerySampledRequestsMediaV1 struct for BatchQuerySampledRequestsMediaV1

func NewBatchQuerySampledRequestsMediaV1

func NewBatchQuerySampledRequestsMediaV1(requests []BatchQuerySampledRequestMediaV1, respVersion int64) *BatchQuerySampledRequestsMediaV1

NewBatchQuerySampledRequestsMediaV1 instantiates a new BatchQuerySampledRequestsMediaV1 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 NewBatchQuerySampledRequestsMediaV1WithDefaults

func NewBatchQuerySampledRequestsMediaV1WithDefaults() *BatchQuerySampledRequestsMediaV1

NewBatchQuerySampledRequestsMediaV1WithDefaults instantiates a new BatchQuerySampledRequestsMediaV1 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 (*BatchQuerySampledRequestsMediaV1) GetRequests

GetRequests returns the Requests field value

func (*BatchQuerySampledRequestsMediaV1) GetRequestsOk

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

func (*BatchQuerySampledRequestsMediaV1) GetRespVersion

func (o *BatchQuerySampledRequestsMediaV1) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*BatchQuerySampledRequestsMediaV1) GetRespVersionOk

func (o *BatchQuerySampledRequestsMediaV1) GetRespVersionOk() (*int64, bool)

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

func (BatchQuerySampledRequestsMediaV1) MarshalJSON

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

func (*BatchQuerySampledRequestsMediaV1) SetRequests

SetRequests sets field value

func (*BatchQuerySampledRequestsMediaV1) SetRespVersion

func (o *BatchQuerySampledRequestsMediaV1) SetRespVersion(v int64)

SetRespVersion sets field value

func (BatchQuerySampledRequestsMediaV1) ToMap

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

func (*BatchQuerySampledRequestsMediaV1) UnmarshalJSON

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

type BodyExpression added in v3.0.1

type BodyExpression struct {
	// Content of the body of a message, variables are allowed
	Expression string `json:"expression"`
	// Variables used by the expression
	Variables []Variable `json:"variables,omitempty"`
}

BodyExpression struct for BodyExpression

func NewBodyExpression added in v3.0.1

func NewBodyExpression(expression string) *BodyExpression

NewBodyExpression instantiates a new BodyExpression 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 NewBodyExpressionWithDefaults added in v3.0.1

func NewBodyExpressionWithDefaults() *BodyExpression

NewBodyExpressionWithDefaults instantiates a new BodyExpression 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 (*BodyExpression) GetExpression added in v3.0.1

func (o *BodyExpression) GetExpression() string

GetExpression returns the Expression field value

func (*BodyExpression) GetExpressionOk added in v3.0.1

func (o *BodyExpression) GetExpressionOk() (*string, bool)

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

func (*BodyExpression) GetVariables added in v3.0.1

func (o *BodyExpression) GetVariables() []Variable

GetVariables returns the Variables field value if set, zero value otherwise.

func (*BodyExpression) GetVariablesOk added in v3.0.1

func (o *BodyExpression) GetVariablesOk() ([]Variable, bool)

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

func (*BodyExpression) HasVariables added in v3.0.1

func (o *BodyExpression) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (BodyExpression) MarshalJSON added in v3.0.1

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

func (*BodyExpression) SetExpression added in v3.0.1

func (o *BodyExpression) SetExpression(v string)

SetExpression sets field value

func (*BodyExpression) SetVariables added in v3.0.1

func (o *BodyExpression) SetVariables(v []Variable)

SetVariables gets a reference to the given []Variable and assigns it to the Variables field.

func (BodyExpression) ToMap added in v3.0.1

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

func (*BodyExpression) UnmarshalJSON added in v3.0.1

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

type CheckDevicesV2PassPayload

type CheckDevicesV2PassPayload struct {
	// The password for the device
	Password string `json:"password"`
}

CheckDevicesV2PassPayload struct for CheckDevicesV2PassPayload

func NewCheckDevicesV2PassPayload

func NewCheckDevicesV2PassPayload(password string) *CheckDevicesV2PassPayload

NewCheckDevicesV2PassPayload instantiates a new CheckDevicesV2PassPayload 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 NewCheckDevicesV2PassPayloadWithDefaults

func NewCheckDevicesV2PassPayloadWithDefaults() *CheckDevicesV2PassPayload

NewCheckDevicesV2PassPayloadWithDefaults instantiates a new CheckDevicesV2PassPayload 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 (*CheckDevicesV2PassPayload) GetPassword

func (o *CheckDevicesV2PassPayload) GetPassword() string

GetPassword returns the Password field value

func (*CheckDevicesV2PassPayload) GetPasswordOk

func (o *CheckDevicesV2PassPayload) GetPasswordOk() (*string, bool)

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

func (CheckDevicesV2PassPayload) MarshalJSON

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

func (*CheckDevicesV2PassPayload) SetPassword

func (o *CheckDevicesV2PassPayload) SetPassword(v string)

SetPassword sets field value

func (CheckDevicesV2PassPayload) ToMap

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

func (*CheckDevicesV2PassPayload) UnmarshalJSON

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

type Clone

type Clone struct {
	// The overrides to apply to the cloned dashboard. An override is a tuple of ids: the id of the thing to override and the id of the new thing to link
	Overrides []Override `json:"overrides,omitempty"`
}

Clone Add overrides used when performing a clone of a dashboard

func NewClone

func NewClone() *Clone

NewClone instantiates a new Clone 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 NewCloneWithDefaults

func NewCloneWithDefaults() *Clone

NewCloneWithDefaults instantiates a new Clone 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 (*Clone) GetOverrides

func (o *Clone) GetOverrides() []Override

GetOverrides returns the Overrides field value if set, zero value otherwise.

func (*Clone) GetOverridesOk

func (o *Clone) GetOverridesOk() ([]Override, bool)

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

func (*Clone) HasOverrides

func (o *Clone) HasOverrides() bool

HasOverrides returns a boolean if a field has been set.

func (Clone) MarshalJSON

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

func (*Clone) SetOverrides

func (o *Clone) SetOverrides(v []Override)

SetOverrides gets a reference to the given []Override and assigns it to the Overrides field.

func (Clone) ToMap

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

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

type CreateAction struct {
	// The description of the trigger
	Description *string      `json:"description,omitempty"`
	Email       *EmailAction `json:"email,omitempty"`
	// The kind of the action
	Kind string `json:"kind"`
	// The name of the action
	Name string `json:"name"`
	// Id of the organization the trigger belongs to
	OrganizationId   *string     `json:"organization_id,omitempty"`
	PushNotification *PushAction `json:"push_notification,omitempty"`
	// Id of the trigger the action is associated to
	TriggerId *string `json:"trigger_id,omitempty"`
}

CreateAction struct for CreateAction

func NewCreateAction added in v3.0.1

func NewCreateAction(kind string, name string) *CreateAction

NewCreateAction instantiates a new CreateAction 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 NewCreateActionWithDefaults added in v3.0.1

func NewCreateActionWithDefaults() *CreateAction

NewCreateActionWithDefaults instantiates a new CreateAction 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 (*CreateAction) GetDescription added in v3.0.1

func (o *CreateAction) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateAction) GetDescriptionOk added in v3.0.1

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

func (*CreateAction) GetEmail added in v3.0.1

func (o *CreateAction) GetEmail() EmailAction

GetEmail returns the Email field value if set, zero value otherwise.

func (*CreateAction) GetEmailOk added in v3.0.1

func (o *CreateAction) GetEmailOk() (*EmailAction, bool)

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

func (*CreateAction) GetKind added in v3.0.1

func (o *CreateAction) GetKind() string

GetKind returns the Kind field value

func (*CreateAction) GetKindOk added in v3.0.1

func (o *CreateAction) GetKindOk() (*string, bool)

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

func (*CreateAction) GetName added in v3.0.1

func (o *CreateAction) GetName() string

GetName returns the Name field value

func (*CreateAction) GetNameOk added in v3.0.1

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

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

func (*CreateAction) GetOrganizationId added in v3.0.1

func (o *CreateAction) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*CreateAction) GetOrganizationIdOk added in v3.0.1

func (o *CreateAction) GetOrganizationIdOk() (*string, bool)

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

func (*CreateAction) GetPushNotification added in v3.0.1

func (o *CreateAction) GetPushNotification() PushAction

GetPushNotification returns the PushNotification field value if set, zero value otherwise.

func (*CreateAction) GetPushNotificationOk added in v3.0.1

func (o *CreateAction) GetPushNotificationOk() (*PushAction, bool)

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

func (*CreateAction) GetTriggerId added in v3.0.1

func (o *CreateAction) GetTriggerId() string

GetTriggerId returns the TriggerId field value if set, zero value otherwise.

func (*CreateAction) GetTriggerIdOk added in v3.0.1

func (o *CreateAction) GetTriggerIdOk() (*string, bool)

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

func (*CreateAction) HasDescription added in v3.0.1

func (o *CreateAction) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateAction) HasEmail added in v3.0.1

func (o *CreateAction) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CreateAction) HasOrganizationId added in v3.0.1

func (o *CreateAction) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*CreateAction) HasPushNotification added in v3.0.1

func (o *CreateAction) HasPushNotification() bool

HasPushNotification returns a boolean if a field has been set.

func (*CreateAction) HasTriggerId added in v3.0.1

func (o *CreateAction) HasTriggerId() bool

HasTriggerId returns a boolean if a field has been set.

func (CreateAction) MarshalJSON added in v3.0.1

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

func (*CreateAction) SetDescription added in v3.0.1

func (o *CreateAction) SetDescription(v string)

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

func (*CreateAction) SetEmail added in v3.0.1

func (o *CreateAction) SetEmail(v EmailAction)

SetEmail gets a reference to the given EmailAction and assigns it to the Email field.

func (*CreateAction) SetKind added in v3.0.1

func (o *CreateAction) SetKind(v string)

SetKind sets field value

func (*CreateAction) SetName added in v3.0.1

func (o *CreateAction) SetName(v string)

SetName sets field value

func (*CreateAction) SetOrganizationId added in v3.0.1

func (o *CreateAction) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*CreateAction) SetPushNotification added in v3.0.1

func (o *CreateAction) SetPushNotification(v PushAction)

SetPushNotification gets a reference to the given PushAction and assigns it to the PushNotification field.

func (*CreateAction) SetTriggerId added in v3.0.1

func (o *CreateAction) SetTriggerId(v string)

SetTriggerId gets a reference to the given string and assigns it to the TriggerId field.

func (CreateAction) ToMap added in v3.0.1

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

func (*CreateAction) UnmarshalJSON added in v3.0.1

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

type CreateDevicesV2CertsPayload

type CreateDevicesV2CertsPayload struct {
	// The Certification Authority you want to use
	Ca *string `json:"ca,omitempty"`
	// The certificate request in pem format
	Csr string `json:"csr"`
	// Whether the certificate is enabled
	Enabled bool `json:"enabled"`
}

CreateDevicesV2CertsPayload struct for CreateDevicesV2CertsPayload

func NewCreateDevicesV2CertsPayload

func NewCreateDevicesV2CertsPayload(csr string, enabled bool) *CreateDevicesV2CertsPayload

NewCreateDevicesV2CertsPayload instantiates a new CreateDevicesV2CertsPayload 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 NewCreateDevicesV2CertsPayloadWithDefaults

func NewCreateDevicesV2CertsPayloadWithDefaults() *CreateDevicesV2CertsPayload

NewCreateDevicesV2CertsPayloadWithDefaults instantiates a new CreateDevicesV2CertsPayload 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 (*CreateDevicesV2CertsPayload) GetCa

GetCa returns the Ca field value if set, zero value otherwise.

func (*CreateDevicesV2CertsPayload) GetCaOk

func (o *CreateDevicesV2CertsPayload) GetCaOk() (*string, bool)

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

func (*CreateDevicesV2CertsPayload) GetCsr

func (o *CreateDevicesV2CertsPayload) GetCsr() string

GetCsr returns the Csr field value

func (*CreateDevicesV2CertsPayload) GetCsrOk

func (o *CreateDevicesV2CertsPayload) GetCsrOk() (*string, bool)

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

func (*CreateDevicesV2CertsPayload) GetEnabled

func (o *CreateDevicesV2CertsPayload) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*CreateDevicesV2CertsPayload) GetEnabledOk

func (o *CreateDevicesV2CertsPayload) GetEnabledOk() (*bool, bool)

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

func (*CreateDevicesV2CertsPayload) HasCa

func (o *CreateDevicesV2CertsPayload) HasCa() bool

HasCa returns a boolean if a field has been set.

func (CreateDevicesV2CertsPayload) MarshalJSON

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

func (*CreateDevicesV2CertsPayload) SetCa

func (o *CreateDevicesV2CertsPayload) SetCa(v string)

SetCa gets a reference to the given string and assigns it to the Ca field.

func (*CreateDevicesV2CertsPayload) SetCsr

func (o *CreateDevicesV2CertsPayload) SetCsr(v string)

SetCsr sets field value

func (*CreateDevicesV2CertsPayload) SetEnabled

func (o *CreateDevicesV2CertsPayload) SetEnabled(v bool)

SetEnabled sets field value

func (CreateDevicesV2CertsPayload) ToMap

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

func (*CreateDevicesV2CertsPayload) UnmarshalJSON

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

type CreateDevicesV2Payload

type CreateDevicesV2Payload struct {
	// The type of the connections selected by the user when multiple connections are available
	ConnectionType *string `json:"connection_type,omitempty"`
	// The fully qualified board name
	Fqbn *string `json:"fqbn,omitempty"`
	// The friendly name of the device
	Name *string `json:"name,omitempty" validate:"regexp=[a-zA-Z0-9_.@-]+"`
	// The serial uuid of the device
	Serial *string `json:"serial,omitempty" validate:"regexp=[a-zA-Z0-9_.@-]+"`
	// If false, restore the thing from the soft deletion
	SoftDeleted *bool `json:"soft_deleted,omitempty"`
	// The type of the device
	Type string `json:"type"`
	// The user_id associated to the device. If absent it will be inferred from the authentication header
	UserId *string `json:"user_id,omitempty"`
	// The version of the NINA/WIFI101 firmware running on the device
	WifiFwVersion *string `` /* 266-byte string literal not displayed */
}

CreateDevicesV2Payload DeviceV2 describes a device.

func NewCreateDevicesV2Payload

func NewCreateDevicesV2Payload(type_ string) *CreateDevicesV2Payload

NewCreateDevicesV2Payload instantiates a new CreateDevicesV2Payload 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 NewCreateDevicesV2PayloadWithDefaults

func NewCreateDevicesV2PayloadWithDefaults() *CreateDevicesV2Payload

NewCreateDevicesV2PayloadWithDefaults instantiates a new CreateDevicesV2Payload 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 (*CreateDevicesV2Payload) GetConnectionType

func (o *CreateDevicesV2Payload) GetConnectionType() string

GetConnectionType returns the ConnectionType field value if set, zero value otherwise.

func (*CreateDevicesV2Payload) GetConnectionTypeOk

func (o *CreateDevicesV2Payload) GetConnectionTypeOk() (*string, bool)

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

func (*CreateDevicesV2Payload) GetFqbn

func (o *CreateDevicesV2Payload) GetFqbn() string

GetFqbn returns the Fqbn field value if set, zero value otherwise.

func (*CreateDevicesV2Payload) GetFqbnOk

func (o *CreateDevicesV2Payload) GetFqbnOk() (*string, bool)

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

func (*CreateDevicesV2Payload) GetName

func (o *CreateDevicesV2Payload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateDevicesV2Payload) GetNameOk

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

func (*CreateDevicesV2Payload) GetSerial

func (o *CreateDevicesV2Payload) GetSerial() string

GetSerial returns the Serial field value if set, zero value otherwise.

func (*CreateDevicesV2Payload) GetSerialOk

func (o *CreateDevicesV2Payload) GetSerialOk() (*string, bool)

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

func (*CreateDevicesV2Payload) GetSoftDeleted added in v3.0.1

func (o *CreateDevicesV2Payload) GetSoftDeleted() bool

GetSoftDeleted returns the SoftDeleted field value if set, zero value otherwise.

func (*CreateDevicesV2Payload) GetSoftDeletedOk added in v3.0.1

func (o *CreateDevicesV2Payload) GetSoftDeletedOk() (*bool, bool)

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

func (*CreateDevicesV2Payload) GetType

func (o *CreateDevicesV2Payload) GetType() string

GetType returns the Type field value

func (*CreateDevicesV2Payload) GetTypeOk

func (o *CreateDevicesV2Payload) GetTypeOk() (*string, bool)

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

func (*CreateDevicesV2Payload) GetUserId

func (o *CreateDevicesV2Payload) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*CreateDevicesV2Payload) GetUserIdOk

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

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

func (*CreateDevicesV2Payload) GetWifiFwVersion

func (o *CreateDevicesV2Payload) GetWifiFwVersion() string

GetWifiFwVersion returns the WifiFwVersion field value if set, zero value otherwise.

func (*CreateDevicesV2Payload) GetWifiFwVersionOk

func (o *CreateDevicesV2Payload) GetWifiFwVersionOk() (*string, bool)

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

func (*CreateDevicesV2Payload) HasConnectionType

func (o *CreateDevicesV2Payload) HasConnectionType() bool

HasConnectionType returns a boolean if a field has been set.

func (*CreateDevicesV2Payload) HasFqbn

func (o *CreateDevicesV2Payload) HasFqbn() bool

HasFqbn returns a boolean if a field has been set.

func (*CreateDevicesV2Payload) HasName

func (o *CreateDevicesV2Payload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateDevicesV2Payload) HasSerial

func (o *CreateDevicesV2Payload) HasSerial() bool

HasSerial returns a boolean if a field has been set.

func (*CreateDevicesV2Payload) HasSoftDeleted added in v3.0.1

func (o *CreateDevicesV2Payload) HasSoftDeleted() bool

HasSoftDeleted returns a boolean if a field has been set.

func (*CreateDevicesV2Payload) HasUserId

func (o *CreateDevicesV2Payload) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (*CreateDevicesV2Payload) HasWifiFwVersion

func (o *CreateDevicesV2Payload) HasWifiFwVersion() bool

HasWifiFwVersion returns a boolean if a field has been set.

func (CreateDevicesV2Payload) MarshalJSON

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

func (*CreateDevicesV2Payload) SetConnectionType

func (o *CreateDevicesV2Payload) SetConnectionType(v string)

SetConnectionType gets a reference to the given string and assigns it to the ConnectionType field.

func (*CreateDevicesV2Payload) SetFqbn

func (o *CreateDevicesV2Payload) SetFqbn(v string)

SetFqbn gets a reference to the given string and assigns it to the Fqbn field.

func (*CreateDevicesV2Payload) SetName

func (o *CreateDevicesV2Payload) SetName(v string)

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

func (*CreateDevicesV2Payload) SetSerial

func (o *CreateDevicesV2Payload) SetSerial(v string)

SetSerial gets a reference to the given string and assigns it to the Serial field.

func (*CreateDevicesV2Payload) SetSoftDeleted added in v3.0.1

func (o *CreateDevicesV2Payload) SetSoftDeleted(v bool)

SetSoftDeleted gets a reference to the given bool and assigns it to the SoftDeleted field.

func (*CreateDevicesV2Payload) SetType

func (o *CreateDevicesV2Payload) SetType(v string)

SetType sets field value

func (*CreateDevicesV2Payload) SetUserId

func (o *CreateDevicesV2Payload) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (*CreateDevicesV2Payload) SetWifiFwVersion

func (o *CreateDevicesV2Payload) SetWifiFwVersion(v string)

SetWifiFwVersion gets a reference to the given string and assigns it to the WifiFwVersion field.

func (CreateDevicesV2Payload) ToMap

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

func (*CreateDevicesV2Payload) UnmarshalJSON

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

type CreateLoraDevicesV1Payload

type CreateLoraDevicesV1Payload struct {
	// The app name
	App string `json:"app"`
	// The app eui of the lora device
	AppEui *string `json:"app_eui,omitempty" validate:"regexp=[0-9a-z]{16}"`
	// The app key of the lora device
	AppKey *string `json:"app_key,omitempty" validate:"regexp=[0-9a-z]{16}"`
	// The eui of the lora device
	Eui string `json:"eui" validate:"regexp=[0-9a-z]{16}"`
	// The frequency plan required by your country
	FrequencyPlan string `json:"frequency_plan"`
	// A common name for the device
	Name string `json:"name"`
	// The optional serial number
	Serial *string `json:"serial,omitempty"`
	// The type of device
	Type string `json:"type"`
	// The id of the user. Can be the special string 'me'
	UserId string `json:"user_id"`
}

CreateLoraDevicesV1Payload struct for CreateLoraDevicesV1Payload

func NewCreateLoraDevicesV1Payload

func NewCreateLoraDevicesV1Payload(app string, eui string, frequencyPlan string, name string, type_ string, userId string) *CreateLoraDevicesV1Payload

NewCreateLoraDevicesV1Payload instantiates a new CreateLoraDevicesV1Payload 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 NewCreateLoraDevicesV1PayloadWithDefaults

func NewCreateLoraDevicesV1PayloadWithDefaults() *CreateLoraDevicesV1Payload

NewCreateLoraDevicesV1PayloadWithDefaults instantiates a new CreateLoraDevicesV1Payload 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 (*CreateLoraDevicesV1Payload) GetApp

func (o *CreateLoraDevicesV1Payload) GetApp() string

GetApp returns the App field value

func (*CreateLoraDevicesV1Payload) GetAppEui

func (o *CreateLoraDevicesV1Payload) GetAppEui() string

GetAppEui returns the AppEui field value if set, zero value otherwise.

func (*CreateLoraDevicesV1Payload) GetAppEuiOk

func (o *CreateLoraDevicesV1Payload) GetAppEuiOk() (*string, bool)

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

func (*CreateLoraDevicesV1Payload) GetAppKey

func (o *CreateLoraDevicesV1Payload) GetAppKey() string

GetAppKey returns the AppKey field value if set, zero value otherwise.

func (*CreateLoraDevicesV1Payload) GetAppKeyOk

func (o *CreateLoraDevicesV1Payload) GetAppKeyOk() (*string, bool)

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

func (*CreateLoraDevicesV1Payload) GetAppOk

func (o *CreateLoraDevicesV1Payload) GetAppOk() (*string, bool)

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

func (*CreateLoraDevicesV1Payload) GetEui

func (o *CreateLoraDevicesV1Payload) GetEui() string

GetEui returns the Eui field value

func (*CreateLoraDevicesV1Payload) GetEuiOk

func (o *CreateLoraDevicesV1Payload) GetEuiOk() (*string, bool)

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

func (*CreateLoraDevicesV1Payload) GetFrequencyPlan

func (o *CreateLoraDevicesV1Payload) GetFrequencyPlan() string

GetFrequencyPlan returns the FrequencyPlan field value

func (*CreateLoraDevicesV1Payload) GetFrequencyPlanOk

func (o *CreateLoraDevicesV1Payload) GetFrequencyPlanOk() (*string, bool)

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

func (*CreateLoraDevicesV1Payload) GetName

func (o *CreateLoraDevicesV1Payload) GetName() string

GetName returns the Name field value

func (*CreateLoraDevicesV1Payload) GetNameOk

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

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

func (*CreateLoraDevicesV1Payload) GetSerial

func (o *CreateLoraDevicesV1Payload) GetSerial() string

GetSerial returns the Serial field value if set, zero value otherwise.

func (*CreateLoraDevicesV1Payload) GetSerialOk

func (o *CreateLoraDevicesV1Payload) GetSerialOk() (*string, bool)

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

func (*CreateLoraDevicesV1Payload) GetType

func (o *CreateLoraDevicesV1Payload) GetType() string

GetType returns the Type field value

func (*CreateLoraDevicesV1Payload) GetTypeOk

func (o *CreateLoraDevicesV1Payload) GetTypeOk() (*string, bool)

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

func (*CreateLoraDevicesV1Payload) GetUserId

func (o *CreateLoraDevicesV1Payload) GetUserId() string

GetUserId returns the UserId field value

func (*CreateLoraDevicesV1Payload) GetUserIdOk

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

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

func (*CreateLoraDevicesV1Payload) HasAppEui

func (o *CreateLoraDevicesV1Payload) HasAppEui() bool

HasAppEui returns a boolean if a field has been set.

func (*CreateLoraDevicesV1Payload) HasAppKey

func (o *CreateLoraDevicesV1Payload) HasAppKey() bool

HasAppKey returns a boolean if a field has been set.

func (*CreateLoraDevicesV1Payload) HasSerial

func (o *CreateLoraDevicesV1Payload) HasSerial() bool

HasSerial returns a boolean if a field has been set.

func (CreateLoraDevicesV1Payload) MarshalJSON

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

func (*CreateLoraDevicesV1Payload) SetApp

func (o *CreateLoraDevicesV1Payload) SetApp(v string)

SetApp sets field value

func (*CreateLoraDevicesV1Payload) SetAppEui

func (o *CreateLoraDevicesV1Payload) SetAppEui(v string)

SetAppEui gets a reference to the given string and assigns it to the AppEui field.

func (*CreateLoraDevicesV1Payload) SetAppKey

func (o *CreateLoraDevicesV1Payload) SetAppKey(v string)

SetAppKey gets a reference to the given string and assigns it to the AppKey field.

func (*CreateLoraDevicesV1Payload) SetEui

func (o *CreateLoraDevicesV1Payload) SetEui(v string)

SetEui sets field value

func (*CreateLoraDevicesV1Payload) SetFrequencyPlan

func (o *CreateLoraDevicesV1Payload) SetFrequencyPlan(v string)

SetFrequencyPlan sets field value

func (*CreateLoraDevicesV1Payload) SetName

func (o *CreateLoraDevicesV1Payload) SetName(v string)

SetName sets field value

func (*CreateLoraDevicesV1Payload) SetSerial

func (o *CreateLoraDevicesV1Payload) SetSerial(v string)

SetSerial gets a reference to the given string and assigns it to the Serial field.

func (*CreateLoraDevicesV1Payload) SetType

func (o *CreateLoraDevicesV1Payload) SetType(v string)

SetType sets field value

func (*CreateLoraDevicesV1Payload) SetUserId

func (o *CreateLoraDevicesV1Payload) SetUserId(v string)

SetUserId sets field value

func (CreateLoraDevicesV1Payload) ToMap

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

func (*CreateLoraDevicesV1Payload) UnmarshalJSON

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

type DashboardsV2APIService

type DashboardsV2APIService service

DashboardsV2APIService DashboardsV2API service

func (*DashboardsV2APIService) DashboardsV2Clone

DashboardsV2Clone clone dashboards_v2

Clone an existing dashboard

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

func (*DashboardsV2APIService) DashboardsV2CloneExecute

Execute executes the request

@return ArduinoDashboardv2

func (*DashboardsV2APIService) DashboardsV2Create

DashboardsV2Create create dashboards_v2

Create a new dashboard

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

func (*DashboardsV2APIService) DashboardsV2CreateExecute

Execute executes the request

@return ArduinoDashboardv2

func (*DashboardsV2APIService) DashboardsV2Delete

DashboardsV2Delete delete dashboards_v2

Delete a dashboard

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

func (*DashboardsV2APIService) DashboardsV2DeleteExecute

func (a *DashboardsV2APIService) DashboardsV2DeleteExecute(r ApiDashboardsV2DeleteRequest) (*http.Response, error)

Execute executes the request

func (*DashboardsV2APIService) DashboardsV2DeleteShare

func (a *DashboardsV2APIService) DashboardsV2DeleteShare(ctx context.Context, id string, userId string) ApiDashboardsV2DeleteShareRequest

DashboardsV2DeleteShare deleteShare dashboards_v2

Delete a user the dashboard has been shared with

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

func (*DashboardsV2APIService) DashboardsV2DeleteShareExecute

func (a *DashboardsV2APIService) DashboardsV2DeleteShareExecute(r ApiDashboardsV2DeleteShareRequest) (*http.Response, error)

Execute executes the request

func (a *DashboardsV2APIService) DashboardsV2Link(ctx context.Context, id string, widgetId string) ApiDashboardsV2LinkRequest

DashboardsV2Link link dashboards_v2

Link or detach widget variables

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

func (*DashboardsV2APIService) DashboardsV2LinkExecute

Execute executes the request

@return ArduinoVariableslinks

func (*DashboardsV2APIService) DashboardsV2List

DashboardsV2List list dashboards_v2

Returns the list of dashboards

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

func (*DashboardsV2APIService) DashboardsV2ListExecute

Execute executes the request

@return []ArduinoDashboardv2

func (*DashboardsV2APIService) DashboardsV2ListShares

DashboardsV2ListShares listShares dashboards_v2

List of users the dashboard has been shared with

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

func (*DashboardsV2APIService) DashboardsV2ListSharesExecute

Execute executes the request

@return []ArduinoDashboardshare

func (*DashboardsV2APIService) DashboardsV2Patch added in v3.0.1

DashboardsV2Patch patch dashboards_v2

Updates an existing dashboard field without overwriting the existing data

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

func (*DashboardsV2APIService) DashboardsV2PatchExecute added in v3.0.1

Execute executes the request

@return ArduinoDashboardv2

func (*DashboardsV2APIService) DashboardsV2RequestAccess

DashboardsV2RequestAccess requestAccess dashboards_v2

Request access to a dashboard

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

func (*DashboardsV2APIService) DashboardsV2RequestAccessExecute

func (a *DashboardsV2APIService) DashboardsV2RequestAccessExecute(r ApiDashboardsV2RequestAccessRequest) (*http.Response, error)

Execute executes the request

func (*DashboardsV2APIService) DashboardsV2Share

DashboardsV2Share share dashboards_v2

Share a dashboard

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

func (*DashboardsV2APIService) DashboardsV2ShareExecute

func (a *DashboardsV2APIService) DashboardsV2ShareExecute(r ApiDashboardsV2ShareRequest) (*http.Response, error)

Execute executes the request

func (*DashboardsV2APIService) DashboardsV2Show

DashboardsV2Show show dashboards_v2

Show a dashboard by id

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

func (*DashboardsV2APIService) DashboardsV2ShowExecute

Execute executes the request

@return ArduinoDashboardv2

func (*DashboardsV2APIService) DashboardsV2Template

DashboardsV2Template template dashboards_v2

Get a template of the dashboard

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

func (*DashboardsV2APIService) DashboardsV2TemplateExecute

Execute executes the request

@return ArduinoDashboardv2template

func (*DashboardsV2APIService) DashboardsV2Update

DashboardsV2Update update dashboards_v2

Updates an existing dashboard

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

func (*DashboardsV2APIService) DashboardsV2UpdateExecute

Execute executes the request

@return ArduinoDashboardv2

type Dashboardshare

type Dashboardshare struct {
	// The userID of the user you want to share the dashboard with
	UserId *string `json:"user_id,omitempty"`
	// The username of the user you want to share the dashboard with
	Username *string `json:"username,omitempty"`
}

Dashboardshare struct for Dashboardshare

func NewDashboardshare

func NewDashboardshare() *Dashboardshare

NewDashboardshare instantiates a new Dashboardshare 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 NewDashboardshareWithDefaults

func NewDashboardshareWithDefaults() *Dashboardshare

NewDashboardshareWithDefaults instantiates a new Dashboardshare 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 (*Dashboardshare) GetUserId

func (o *Dashboardshare) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*Dashboardshare) GetUserIdOk

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

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

func (*Dashboardshare) GetUsername

func (o *Dashboardshare) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*Dashboardshare) GetUsernameOk

func (o *Dashboardshare) GetUsernameOk() (*string, bool)

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

func (*Dashboardshare) HasUserId

func (o *Dashboardshare) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (*Dashboardshare) HasUsername

func (o *Dashboardshare) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (Dashboardshare) MarshalJSON

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

func (*Dashboardshare) SetUserId

func (o *Dashboardshare) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (*Dashboardshare) SetUsername

func (o *Dashboardshare) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (Dashboardshare) ToMap

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

type Dashboardv2

type Dashboardv2 struct {
	// The cover image of the dashboard
	CoverImage *string `json:"cover_image,omitempty"`
	// The friendly name of the dashboard
	Name *string `json:"name,omitempty" validate:"regexp=[a-zA-Z0-9_.@-]+"`
	// If false, restore the thing from the soft deletion
	SoftDeleted *bool `json:"soft_deleted,omitempty"`
	// Widgets attached to this dashboard
	Widgets []Widget `json:"widgets,omitempty"`
}

Dashboardv2 Describes a dashboard

func NewDashboardv2

func NewDashboardv2() *Dashboardv2

NewDashboardv2 instantiates a new Dashboardv2 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 NewDashboardv2WithDefaults

func NewDashboardv2WithDefaults() *Dashboardv2

NewDashboardv2WithDefaults instantiates a new Dashboardv2 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 (*Dashboardv2) GetCoverImage

func (o *Dashboardv2) GetCoverImage() string

GetCoverImage returns the CoverImage field value if set, zero value otherwise.

func (*Dashboardv2) GetCoverImageOk

func (o *Dashboardv2) GetCoverImageOk() (*string, bool)

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

func (*Dashboardv2) GetName

func (o *Dashboardv2) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Dashboardv2) GetNameOk

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

func (*Dashboardv2) GetSoftDeleted added in v3.0.1

func (o *Dashboardv2) GetSoftDeleted() bool

GetSoftDeleted returns the SoftDeleted field value if set, zero value otherwise.

func (*Dashboardv2) GetSoftDeletedOk added in v3.0.1

func (o *Dashboardv2) GetSoftDeletedOk() (*bool, bool)

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

func (*Dashboardv2) GetWidgets

func (o *Dashboardv2) GetWidgets() []Widget

GetWidgets returns the Widgets field value if set, zero value otherwise.

func (*Dashboardv2) GetWidgetsOk

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

func (*Dashboardv2) HasCoverImage

func (o *Dashboardv2) HasCoverImage() bool

HasCoverImage returns a boolean if a field has been set.

func (*Dashboardv2) HasName

func (o *Dashboardv2) HasName() bool

HasName returns a boolean if a field has been set.

func (*Dashboardv2) HasSoftDeleted added in v3.0.1

func (o *Dashboardv2) HasSoftDeleted() bool

HasSoftDeleted returns a boolean if a field has been set.

func (*Dashboardv2) HasWidgets

func (o *Dashboardv2) HasWidgets() bool

HasWidgets returns a boolean if a field has been set.

func (Dashboardv2) MarshalJSON

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

func (*Dashboardv2) SetCoverImage

func (o *Dashboardv2) SetCoverImage(v string)

SetCoverImage gets a reference to the given string and assigns it to the CoverImage field.

func (*Dashboardv2) SetName

func (o *Dashboardv2) SetName(v string)

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

func (*Dashboardv2) SetSoftDeleted added in v3.0.1

func (o *Dashboardv2) SetSoftDeleted(v bool)

SetSoftDeleted gets a reference to the given bool and assigns it to the SoftDeleted field.

func (*Dashboardv2) SetWidgets

func (o *Dashboardv2) SetWidgets(v []Widget)

SetWidgets gets a reference to the given []Widget and assigns it to the Widgets field.

func (Dashboardv2) ToMap

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

type DeviceStatusSource added in v3.0.1

type DeviceStatusSource struct {
	// The matching criteria of the trigger, this allows to interpret device_ids as an inclusion or exclusion list
	Criteria string `json:"criteria"`
	// A list of device IDs to be included in or excluded from the trigger (see criteria). Mutually exclusive with property_id.
	DeviceIds []string `json:"device_ids,omitempty"`
	// Amount of seconds the trigger will wait before the device will be considered disconnected (requires 'device_id')
	GracePeriodOffline *int32 `json:"grace_period_offline,omitempty"`
	// Amount of seconds the trigger will wait before the device will be considered connected (requires 'device_id')
	GracePeriodOnline *int32 `json:"grace_period_online,omitempty"`
}

DeviceStatusSource struct for DeviceStatusSource

func NewDeviceStatusSource added in v3.0.1

func NewDeviceStatusSource(criteria string) *DeviceStatusSource

NewDeviceStatusSource instantiates a new DeviceStatusSource 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 NewDeviceStatusSourceWithDefaults added in v3.0.1

func NewDeviceStatusSourceWithDefaults() *DeviceStatusSource

NewDeviceStatusSourceWithDefaults instantiates a new DeviceStatusSource 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 (*DeviceStatusSource) GetCriteria added in v3.0.1

func (o *DeviceStatusSource) GetCriteria() string

GetCriteria returns the Criteria field value

func (*DeviceStatusSource) GetCriteriaOk added in v3.0.1

func (o *DeviceStatusSource) GetCriteriaOk() (*string, bool)

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

func (*DeviceStatusSource) GetDeviceIds added in v3.0.1

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

GetDeviceIds returns the DeviceIds field value if set, zero value otherwise.

func (*DeviceStatusSource) GetDeviceIdsOk added in v3.0.1

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

func (*DeviceStatusSource) GetGracePeriodOffline added in v3.0.1

func (o *DeviceStatusSource) GetGracePeriodOffline() int32

GetGracePeriodOffline returns the GracePeriodOffline field value if set, zero value otherwise.

func (*DeviceStatusSource) GetGracePeriodOfflineOk added in v3.0.1

func (o *DeviceStatusSource) GetGracePeriodOfflineOk() (*int32, bool)

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

func (*DeviceStatusSource) GetGracePeriodOnline added in v3.0.1

func (o *DeviceStatusSource) GetGracePeriodOnline() int32

GetGracePeriodOnline returns the GracePeriodOnline field value if set, zero value otherwise.

func (*DeviceStatusSource) GetGracePeriodOnlineOk added in v3.0.1

func (o *DeviceStatusSource) GetGracePeriodOnlineOk() (*int32, bool)

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

func (*DeviceStatusSource) HasDeviceIds added in v3.0.1

func (o *DeviceStatusSource) HasDeviceIds() bool

HasDeviceIds returns a boolean if a field has been set.

func (*DeviceStatusSource) HasGracePeriodOffline added in v3.0.1

func (o *DeviceStatusSource) HasGracePeriodOffline() bool

HasGracePeriodOffline returns a boolean if a field has been set.

func (*DeviceStatusSource) HasGracePeriodOnline added in v3.0.1

func (o *DeviceStatusSource) HasGracePeriodOnline() bool

HasGracePeriodOnline returns a boolean if a field has been set.

func (DeviceStatusSource) MarshalJSON added in v3.0.1

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

func (*DeviceStatusSource) SetCriteria added in v3.0.1

func (o *DeviceStatusSource) SetCriteria(v string)

SetCriteria sets field value

func (*DeviceStatusSource) SetDeviceIds added in v3.0.1

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

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

func (*DeviceStatusSource) SetGracePeriodOffline added in v3.0.1

func (o *DeviceStatusSource) SetGracePeriodOffline(v int32)

SetGracePeriodOffline gets a reference to the given int32 and assigns it to the GracePeriodOffline field.

func (*DeviceStatusSource) SetGracePeriodOnline added in v3.0.1

func (o *DeviceStatusSource) SetGracePeriodOnline(v int32)

SetGracePeriodOnline gets a reference to the given int32 and assigns it to the GracePeriodOnline field.

func (DeviceStatusSource) ToMap added in v3.0.1

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

func (*DeviceStatusSource) UnmarshalJSON added in v3.0.1

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

type DeviceStatusSourceWithLinkedDevices added in v3.0.1

type DeviceStatusSourceWithLinkedDevices struct {
	// The criteria of the trigger, could be INCLUDE or EXCLUDE
	Criteria string `json:"criteria"`
	// The amount of seconds the trigger will wait before considering a matching device as offline
	GracePeriodOffline *int32 `json:"grace_period_offline,omitempty"`
	// The amount of seconds the trigger will wait before considering a matching device as online
	GracePeriodOnline *int32 `json:"grace_period_online,omitempty"`
	// A list of devices the trigger is associated to
	LinkedDevices []ArduinoLinkedDevice `json:"linked_devices,omitempty"`
}

DeviceStatusSourceWithLinkedDevices Device_status_source_with_linked_devices media type (default view)

func NewDeviceStatusSourceWithLinkedDevices added in v3.0.1

func NewDeviceStatusSourceWithLinkedDevices(criteria string) *DeviceStatusSourceWithLinkedDevices

NewDeviceStatusSourceWithLinkedDevices instantiates a new DeviceStatusSourceWithLinkedDevices 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 NewDeviceStatusSourceWithLinkedDevicesWithDefaults added in v3.0.1

func NewDeviceStatusSourceWithLinkedDevicesWithDefaults() *DeviceStatusSourceWithLinkedDevices

NewDeviceStatusSourceWithLinkedDevicesWithDefaults instantiates a new DeviceStatusSourceWithLinkedDevices 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 (*DeviceStatusSourceWithLinkedDevices) GetCriteria added in v3.0.1

GetCriteria returns the Criteria field value

func (*DeviceStatusSourceWithLinkedDevices) GetCriteriaOk added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) GetCriteriaOk() (*string, bool)

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

func (*DeviceStatusSourceWithLinkedDevices) GetGracePeriodOffline added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) GetGracePeriodOffline() int32

GetGracePeriodOffline returns the GracePeriodOffline field value if set, zero value otherwise.

func (*DeviceStatusSourceWithLinkedDevices) GetGracePeriodOfflineOk added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) GetGracePeriodOfflineOk() (*int32, bool)

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

func (*DeviceStatusSourceWithLinkedDevices) GetGracePeriodOnline added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) GetGracePeriodOnline() int32

GetGracePeriodOnline returns the GracePeriodOnline field value if set, zero value otherwise.

func (*DeviceStatusSourceWithLinkedDevices) GetGracePeriodOnlineOk added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) GetGracePeriodOnlineOk() (*int32, bool)

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

func (*DeviceStatusSourceWithLinkedDevices) GetLinkedDevices added in v3.0.1

GetLinkedDevices returns the LinkedDevices field value if set, zero value otherwise.

func (*DeviceStatusSourceWithLinkedDevices) GetLinkedDevicesOk added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) GetLinkedDevicesOk() ([]ArduinoLinkedDevice, bool)

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

func (*DeviceStatusSourceWithLinkedDevices) HasGracePeriodOffline added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) HasGracePeriodOffline() bool

HasGracePeriodOffline returns a boolean if a field has been set.

func (*DeviceStatusSourceWithLinkedDevices) HasGracePeriodOnline added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) HasGracePeriodOnline() bool

HasGracePeriodOnline returns a boolean if a field has been set.

func (*DeviceStatusSourceWithLinkedDevices) HasLinkedDevices added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) HasLinkedDevices() bool

HasLinkedDevices returns a boolean if a field has been set.

func (DeviceStatusSourceWithLinkedDevices) MarshalJSON added in v3.0.1

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

func (*DeviceStatusSourceWithLinkedDevices) SetCriteria added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) SetCriteria(v string)

SetCriteria sets field value

func (*DeviceStatusSourceWithLinkedDevices) SetGracePeriodOffline added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) SetGracePeriodOffline(v int32)

SetGracePeriodOffline gets a reference to the given int32 and assigns it to the GracePeriodOffline field.

func (*DeviceStatusSourceWithLinkedDevices) SetGracePeriodOnline added in v3.0.1

func (o *DeviceStatusSourceWithLinkedDevices) SetGracePeriodOnline(v int32)

SetGracePeriodOnline gets a reference to the given int32 and assigns it to the GracePeriodOnline field.

func (*DeviceStatusSourceWithLinkedDevices) SetLinkedDevices added in v3.0.1

SetLinkedDevices gets a reference to the given []ArduinoLinkedDevice and assigns it to the LinkedDevices field.

func (DeviceStatusSourceWithLinkedDevices) ToMap added in v3.0.1

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

func (*DeviceStatusSourceWithLinkedDevices) UnmarshalJSON added in v3.0.1

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

type DevicesV2APIService

type DevicesV2APIService service

DevicesV2APIService DevicesV2API service

func (*DevicesV2APIService) DevicesV2Create

DevicesV2Create create devices_v2

Creates a new device associated to the user.

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

func (*DevicesV2APIService) DevicesV2CreateExecute

Execute executes the request

@return ArduinoDevicev2

func (*DevicesV2APIService) DevicesV2Delete

DevicesV2Delete delete devices_v2

Removes a device associated to the user

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

func (*DevicesV2APIService) DevicesV2DeleteExecute

func (a *DevicesV2APIService) DevicesV2DeleteExecute(r ApiDevicesV2DeleteRequest) (*http.Response, error)

Execute executes the request

func (*DevicesV2APIService) DevicesV2GetEvents

DevicesV2GetEvents getEvents devices_v2

GET device events

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

func (*DevicesV2APIService) DevicesV2GetEventsExecute

Execute executes the request

@return ArduinoDevicev2EventProperties

func (*DevicesV2APIService) DevicesV2GetProperties

func (a *DevicesV2APIService) DevicesV2GetProperties(ctx context.Context, id string) ApiDevicesV2GetPropertiesRequest

DevicesV2GetProperties getProperties devices_v2

GET device properties

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

func (*DevicesV2APIService) DevicesV2GetPropertiesExecute

Execute executes the request

@return ArduinoDevicev2properties

func (*DevicesV2APIService) DevicesV2GetStatusEvents

func (a *DevicesV2APIService) DevicesV2GetStatusEvents(ctx context.Context, id string) ApiDevicesV2GetStatusEventsRequest

DevicesV2GetStatusEvents GetStatusEvents devices_v2

GET connection status events

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

func (*DevicesV2APIService) DevicesV2GetStatusEventsExecute

Execute executes the request

@return ArduinoDevicev2StatusEvents

func (*DevicesV2APIService) DevicesV2List

DevicesV2List list devices_v2

Returns the list of devices associated to the user

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

func (*DevicesV2APIService) DevicesV2ListExecute

Execute executes the request

@return []ArduinoDevicev2

func (*DevicesV2APIService) DevicesV2Show

DevicesV2Show show devices_v2

Returns the device requested by the user

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

func (*DevicesV2APIService) DevicesV2ShowExecute

Execute executes the request

@return ArduinoDevicev2

func (*DevicesV2APIService) DevicesV2Timeseries

func (a *DevicesV2APIService) DevicesV2Timeseries(ctx context.Context, id string, pid string) ApiDevicesV2TimeseriesRequest

DevicesV2Timeseries timeseries devices_v2

GET device properties values in a range of time

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

func (*DevicesV2APIService) DevicesV2TimeseriesExecute

Execute executes the request

@return ArduinoDevicev2propertyvalues

func (*DevicesV2APIService) DevicesV2Update

DevicesV2Update update devices_v2

Updates a device associated to the user

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

func (*DevicesV2APIService) DevicesV2UpdateExecute

Execute executes the request

@return ArduinoDevicev2

func (*DevicesV2APIService) DevicesV2UpdateProperties

func (a *DevicesV2APIService) DevicesV2UpdateProperties(ctx context.Context, id string) ApiDevicesV2UpdatePropertiesRequest

DevicesV2UpdateProperties updateProperties devices_v2

Update device properties last values

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

func (*DevicesV2APIService) DevicesV2UpdatePropertiesExecute

func (a *DevicesV2APIService) DevicesV2UpdatePropertiesExecute(r ApiDevicesV2UpdatePropertiesRequest) (*http.Response, error)

Execute executes the request

type DevicesV2CertsAPIService

type DevicesV2CertsAPIService service

DevicesV2CertsAPIService DevicesV2CertsAPI service

func (*DevicesV2CertsAPIService) DevicesV2CertsCreate

DevicesV2CertsCreate create devices_v2_certs

Creates a new cert associated to a device. The csr is signed and saved in database. The CommonName will be replaced with the device id.

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

func (*DevicesV2CertsAPIService) DevicesV2CertsCreateExecute

Execute executes the request

@return ArduinoDevicev2Cert

func (*DevicesV2CertsAPIService) DevicesV2CertsDelete

DevicesV2CertsDelete delete devices_v2_certs

Removes a cert associated to a device

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

func (*DevicesV2CertsAPIService) DevicesV2CertsDeleteExecute

func (a *DevicesV2CertsAPIService) DevicesV2CertsDeleteExecute(r ApiDevicesV2CertsDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DevicesV2CertsAPIService) DevicesV2CertsList

DevicesV2CertsList list devices_v2_certs

Returns the list of certs associated to the device

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

func (*DevicesV2CertsAPIService) DevicesV2CertsListExecute

Execute executes the request

@return []ArduinoDevicev2Cert

func (*DevicesV2CertsAPIService) DevicesV2CertsShow

DevicesV2CertsShow show devices_v2_certs

Returns the cert requested by the user

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

func (*DevicesV2CertsAPIService) DevicesV2CertsShowExecute

Execute executes the request

@return ArduinoDevicev2Cert

func (*DevicesV2CertsAPIService) DevicesV2CertsUpdate

DevicesV2CertsUpdate update devices_v2_certs

Updates a cert associated to a device. The csr is signed and saved in database. The CommonName will be replaced with the device id.

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

func (*DevicesV2CertsAPIService) DevicesV2CertsUpdateExecute

Execute executes the request

@return ArduinoDevicev2Cert

type DevicesV2OtaAPIService

type DevicesV2OtaAPIService service

DevicesV2OtaAPIService DevicesV2OtaAPI service

func (*DevicesV2OtaAPIService) DevicesV2OtaSend

DevicesV2OtaSend send devices_v2_ota

Send a binary url to a device

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

func (*DevicesV2OtaAPIService) DevicesV2OtaSendExecute

func (a *DevicesV2OtaAPIService) DevicesV2OtaSendExecute(r ApiDevicesV2OtaSendRequest) (*http.Response, error)

Execute executes the request

func (*DevicesV2OtaAPIService) DevicesV2OtaUpload

DevicesV2OtaUpload upload devices_v2_ota

Upload a binary and send it to a device

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

func (*DevicesV2OtaAPIService) DevicesV2OtaUploadExecute

Execute executes the request

@return ArduinoDevicev2Otaupload

func (*DevicesV2OtaAPIService) DevicesV2OtaUrl

DevicesV2OtaUrl url devices_v2_ota

Generate a url for downloading a binary

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

func (*DevicesV2OtaAPIService) DevicesV2OtaUrlExecute

func (a *DevicesV2OtaAPIService) DevicesV2OtaUrlExecute(r ApiDevicesV2OtaUrlRequest) (*http.Response, error)

Execute executes the request

type DevicesV2PassAPIService

type DevicesV2PassAPIService service

DevicesV2PassAPIService DevicesV2PassAPI service

func (*DevicesV2PassAPIService) DevicesV2PassCheck

DevicesV2PassCheck check devices_v2_pass

Check if the password matches.

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

func (*DevicesV2PassAPIService) DevicesV2PassCheckExecute

func (a *DevicesV2PassAPIService) DevicesV2PassCheckExecute(r ApiDevicesV2PassCheckRequest) (*http.Response, error)

Execute executes the request

func (*DevicesV2PassAPIService) DevicesV2PassDelete

DevicesV2PassDelete delete devices_v2_pass

Removes the password for the device.

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

func (*DevicesV2PassAPIService) DevicesV2PassDeleteExecute

func (a *DevicesV2PassAPIService) DevicesV2PassDeleteExecute(r ApiDevicesV2PassDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DevicesV2PassAPIService) DevicesV2PassGet

DevicesV2PassGet get devices_v2_pass

Returns whether the password for this device is set or not. It doesn't return the password.

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

func (*DevicesV2PassAPIService) DevicesV2PassGetExecute

Execute executes the request

@return ArduinoDevicev2Pass

func (*DevicesV2PassAPIService) DevicesV2PassSet

DevicesV2PassSet set devices_v2_pass

Sets the password for the device. It can never be read back.

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

func (*DevicesV2PassAPIService) DevicesV2PassSetExecute

Execute executes the request

@return ArduinoDevicev2Pass

type DevicesV2TagsAPIService

type DevicesV2TagsAPIService service

DevicesV2TagsAPIService DevicesV2TagsAPI service

func (*DevicesV2TagsAPIService) DevicesV2TagsDelete

DevicesV2TagsDelete delete devices_v2_tags

Delete a tag associated to the device given its key.

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

func (*DevicesV2TagsAPIService) DevicesV2TagsDeleteExecute

func (a *DevicesV2TagsAPIService) DevicesV2TagsDeleteExecute(r ApiDevicesV2TagsDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DevicesV2TagsAPIService) DevicesV2TagsList

DevicesV2TagsList list devices_v2_tags

List tags associated to the device.

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

func (*DevicesV2TagsAPIService) DevicesV2TagsListExecute

Execute executes the request

@return ArduinoTags

func (*DevicesV2TagsAPIService) DevicesV2TagsUpsert

DevicesV2TagsUpsert upsert devices_v2_tags

Creates or updates a tag associated to the device.

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

func (*DevicesV2TagsAPIService) DevicesV2TagsUpsertExecute

func (a *DevicesV2TagsAPIService) DevicesV2TagsUpsertExecute(r ApiDevicesV2TagsUpsertRequest) (*http.Response, error)

Execute executes the request

type Devicev2

type Devicev2 struct {
	// The type of the connections selected by the user when multiple connections are available
	ConnectionType *string `json:"connection_type,omitempty"`
	// The fully qualified board name
	Fqbn *string `json:"fqbn,omitempty"`
	// The friendly name of the device
	Name *string `json:"name,omitempty" validate:"regexp=[a-zA-Z0-9_.@-]+"`
	// The serial uuid of the device
	Serial *string `json:"serial,omitempty" validate:"regexp=[a-zA-Z0-9_.@-]+"`
	// If false, restore the thing from the soft deletion
	SoftDeleted *bool `json:"soft_deleted,omitempty"`
	// The type of the device
	Type *string `json:"type,omitempty"`
	// The user_id associated to the device. If absent it will be inferred from the authentication header
	UserId *string `json:"user_id,omitempty"`
	// The version of the NINA/WIFI101 firmware running on the device
	WifiFwVersion *string `` /* 266-byte string literal not displayed */
}

Devicev2 DeviceV2 describes a device.

func NewDevicev2

func NewDevicev2() *Devicev2

NewDevicev2 instantiates a new Devicev2 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 NewDevicev2WithDefaults

func NewDevicev2WithDefaults() *Devicev2

NewDevicev2WithDefaults instantiates a new Devicev2 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 (*Devicev2) GetConnectionType

func (o *Devicev2) GetConnectionType() string

GetConnectionType returns the ConnectionType field value if set, zero value otherwise.

func (*Devicev2) GetConnectionTypeOk

func (o *Devicev2) GetConnectionTypeOk() (*string, bool)

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

func (*Devicev2) GetFqbn

func (o *Devicev2) GetFqbn() string

GetFqbn returns the Fqbn field value if set, zero value otherwise.

func (*Devicev2) GetFqbnOk

func (o *Devicev2) GetFqbnOk() (*string, bool)

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

func (*Devicev2) GetName

func (o *Devicev2) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Devicev2) GetNameOk

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

func (*Devicev2) GetSerial

func (o *Devicev2) GetSerial() string

GetSerial returns the Serial field value if set, zero value otherwise.

func (*Devicev2) GetSerialOk

func (o *Devicev2) GetSerialOk() (*string, bool)

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

func (*Devicev2) GetSoftDeleted added in v3.0.1

func (o *Devicev2) GetSoftDeleted() bool

GetSoftDeleted returns the SoftDeleted field value if set, zero value otherwise.

func (*Devicev2) GetSoftDeletedOk added in v3.0.1

func (o *Devicev2) GetSoftDeletedOk() (*bool, bool)

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

func (*Devicev2) GetType

func (o *Devicev2) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Devicev2) GetTypeOk

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

func (*Devicev2) GetUserId

func (o *Devicev2) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*Devicev2) GetUserIdOk

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

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

func (*Devicev2) GetWifiFwVersion

func (o *Devicev2) GetWifiFwVersion() string

GetWifiFwVersion returns the WifiFwVersion field value if set, zero value otherwise.

func (*Devicev2) GetWifiFwVersionOk

func (o *Devicev2) GetWifiFwVersionOk() (*string, bool)

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

func (*Devicev2) HasConnectionType

func (o *Devicev2) HasConnectionType() bool

HasConnectionType returns a boolean if a field has been set.

func (*Devicev2) HasFqbn

func (o *Devicev2) HasFqbn() bool

HasFqbn returns a boolean if a field has been set.

func (*Devicev2) HasName

func (o *Devicev2) HasName() bool

HasName returns a boolean if a field has been set.

func (*Devicev2) HasSerial

func (o *Devicev2) HasSerial() bool

HasSerial returns a boolean if a field has been set.

func (*Devicev2) HasSoftDeleted added in v3.0.1

func (o *Devicev2) HasSoftDeleted() bool

HasSoftDeleted returns a boolean if a field has been set.

func (*Devicev2) HasType

func (o *Devicev2) HasType() bool

HasType returns a boolean if a field has been set.

func (*Devicev2) HasUserId

func (o *Devicev2) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (*Devicev2) HasWifiFwVersion

func (o *Devicev2) HasWifiFwVersion() bool

HasWifiFwVersion returns a boolean if a field has been set.

func (Devicev2) MarshalJSON

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

func (*Devicev2) SetConnectionType

func (o *Devicev2) SetConnectionType(v string)

SetConnectionType gets a reference to the given string and assigns it to the ConnectionType field.

func (*Devicev2) SetFqbn

func (o *Devicev2) SetFqbn(v string)

SetFqbn gets a reference to the given string and assigns it to the Fqbn field.

func (*Devicev2) SetName

func (o *Devicev2) SetName(v string)

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

func (*Devicev2) SetSerial

func (o *Devicev2) SetSerial(v string)

SetSerial gets a reference to the given string and assigns it to the Serial field.

func (*Devicev2) SetSoftDeleted added in v3.0.1

func (o *Devicev2) SetSoftDeleted(v bool)

SetSoftDeleted gets a reference to the given bool and assigns it to the SoftDeleted field.

func (*Devicev2) SetType

func (o *Devicev2) SetType(v string)

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

func (*Devicev2) SetUserId

func (o *Devicev2) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (*Devicev2) SetWifiFwVersion

func (o *Devicev2) SetWifiFwVersion(v string)

SetWifiFwVersion gets a reference to the given string and assigns it to the WifiFwVersion field.

func (Devicev2) ToMap

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

type Devicev2Cert

type Devicev2Cert struct {
	// The Certification Authority you want to use
	Ca *string `json:"ca,omitempty"`
	// The certificate request in pem format
	Csr *string `json:"csr,omitempty"`
	// Whether the certificate is enabled
	Enabled *bool `json:"enabled,omitempty"`
}

Devicev2Cert struct for Devicev2Cert

func NewDevicev2Cert

func NewDevicev2Cert() *Devicev2Cert

NewDevicev2Cert instantiates a new Devicev2Cert 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 NewDevicev2CertWithDefaults

func NewDevicev2CertWithDefaults() *Devicev2Cert

NewDevicev2CertWithDefaults instantiates a new Devicev2Cert 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 (*Devicev2Cert) GetCa

func (o *Devicev2Cert) GetCa() string

GetCa returns the Ca field value if set, zero value otherwise.

func (*Devicev2Cert) GetCaOk

func (o *Devicev2Cert) GetCaOk() (*string, bool)

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

func (*Devicev2Cert) GetCsr

func (o *Devicev2Cert) GetCsr() string

GetCsr returns the Csr field value if set, zero value otherwise.

func (*Devicev2Cert) GetCsrOk

func (o *Devicev2Cert) GetCsrOk() (*string, bool)

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

func (*Devicev2Cert) GetEnabled

func (o *Devicev2Cert) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*Devicev2Cert) GetEnabledOk

func (o *Devicev2Cert) GetEnabledOk() (*bool, bool)

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

func (*Devicev2Cert) HasCa

func (o *Devicev2Cert) HasCa() bool

HasCa returns a boolean if a field has been set.

func (*Devicev2Cert) HasCsr

func (o *Devicev2Cert) HasCsr() bool

HasCsr returns a boolean if a field has been set.

func (*Devicev2Cert) HasEnabled

func (o *Devicev2Cert) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (Devicev2Cert) MarshalJSON

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

func (*Devicev2Cert) SetCa

func (o *Devicev2Cert) SetCa(v string)

SetCa gets a reference to the given string and assigns it to the Ca field.

func (*Devicev2Cert) SetCsr

func (o *Devicev2Cert) SetCsr(v string)

SetCsr gets a reference to the given string and assigns it to the Csr field.

func (*Devicev2Cert) SetEnabled

func (o *Devicev2Cert) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (Devicev2Cert) ToMap

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

type Devicev2Otabinaryurl

type Devicev2Otabinaryurl struct {
	// If false, wait for the full OTA process, until it gets a result from the device
	Async *bool `json:"async,omitempty"`
	// The object key of the binary
	BinaryKey string `json:"binary_key" validate:"regexp=^ota\\/[a-zA-Z0-9_-]+\\/[a-zA-Z0-9_-]+.ota$"`
	// Binary expire time in minutes, default 10 mins
	ExpireInMins *int64 `json:"expire_in_mins,omitempty"`
}

Devicev2Otabinaryurl struct for Devicev2Otabinaryurl

func NewDevicev2Otabinaryurl

func NewDevicev2Otabinaryurl(binaryKey string) *Devicev2Otabinaryurl

NewDevicev2Otabinaryurl instantiates a new Devicev2Otabinaryurl 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 NewDevicev2OtabinaryurlWithDefaults

func NewDevicev2OtabinaryurlWithDefaults() *Devicev2Otabinaryurl

NewDevicev2OtabinaryurlWithDefaults instantiates a new Devicev2Otabinaryurl 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 (*Devicev2Otabinaryurl) GetAsync

func (o *Devicev2Otabinaryurl) GetAsync() bool

GetAsync returns the Async field value if set, zero value otherwise.

func (*Devicev2Otabinaryurl) GetAsyncOk

func (o *Devicev2Otabinaryurl) GetAsyncOk() (*bool, bool)

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

func (*Devicev2Otabinaryurl) GetBinaryKey

func (o *Devicev2Otabinaryurl) GetBinaryKey() string

GetBinaryKey returns the BinaryKey field value

func (*Devicev2Otabinaryurl) GetBinaryKeyOk

func (o *Devicev2Otabinaryurl) GetBinaryKeyOk() (*string, bool)

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

func (*Devicev2Otabinaryurl) GetExpireInMins

func (o *Devicev2Otabinaryurl) GetExpireInMins() int64

GetExpireInMins returns the ExpireInMins field value if set, zero value otherwise.

func (*Devicev2Otabinaryurl) GetExpireInMinsOk

func (o *Devicev2Otabinaryurl) GetExpireInMinsOk() (*int64, bool)

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

func (*Devicev2Otabinaryurl) HasAsync

func (o *Devicev2Otabinaryurl) HasAsync() bool

HasAsync returns a boolean if a field has been set.

func (*Devicev2Otabinaryurl) HasExpireInMins

func (o *Devicev2Otabinaryurl) HasExpireInMins() bool

HasExpireInMins returns a boolean if a field has been set.

func (Devicev2Otabinaryurl) MarshalJSON

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

func (*Devicev2Otabinaryurl) SetAsync

func (o *Devicev2Otabinaryurl) SetAsync(v bool)

SetAsync gets a reference to the given bool and assigns it to the Async field.

func (*Devicev2Otabinaryurl) SetBinaryKey

func (o *Devicev2Otabinaryurl) SetBinaryKey(v string)

SetBinaryKey sets field value

func (*Devicev2Otabinaryurl) SetExpireInMins

func (o *Devicev2Otabinaryurl) SetExpireInMins(v int64)

SetExpireInMins gets a reference to the given int64 and assigns it to the ExpireInMins field.

func (Devicev2Otabinaryurl) ToMap

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

func (*Devicev2Otabinaryurl) UnmarshalJSON

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

type Devicev2Otaurlpyalod

type Devicev2Otaurlpyalod struct {
	// The object key of the binary
	BinaryKey *string `json:"binary_key,omitempty" validate:"regexp=^ota\\/[a-zA-Z0-9_-]+\\/[a-zA-Z0-9_-]+.ota$"`
	// The sha256 of the binary
	Sha256 *string `json:"sha256,omitempty" validate:"regexp=^[a-fA-F0-9]{64}$"`
	// The id of the user who is requesting the url
	UserId *string `json:"user_id,omitempty"`
}

Devicev2Otaurlpyalod struct for Devicev2Otaurlpyalod

func NewDevicev2Otaurlpyalod

func NewDevicev2Otaurlpyalod() *Devicev2Otaurlpyalod

NewDevicev2Otaurlpyalod instantiates a new Devicev2Otaurlpyalod 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 NewDevicev2OtaurlpyalodWithDefaults

func NewDevicev2OtaurlpyalodWithDefaults() *Devicev2Otaurlpyalod

NewDevicev2OtaurlpyalodWithDefaults instantiates a new Devicev2Otaurlpyalod 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 (*Devicev2Otaurlpyalod) GetBinaryKey

func (o *Devicev2Otaurlpyalod) GetBinaryKey() string

GetBinaryKey returns the BinaryKey field value if set, zero value otherwise.

func (*Devicev2Otaurlpyalod) GetBinaryKeyOk

func (o *Devicev2Otaurlpyalod) GetBinaryKeyOk() (*string, bool)

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

func (*Devicev2Otaurlpyalod) GetSha256

func (o *Devicev2Otaurlpyalod) GetSha256() string

GetSha256 returns the Sha256 field value if set, zero value otherwise.

func (*Devicev2Otaurlpyalod) GetSha256Ok

func (o *Devicev2Otaurlpyalod) GetSha256Ok() (*string, bool)

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

func (*Devicev2Otaurlpyalod) GetUserId

func (o *Devicev2Otaurlpyalod) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*Devicev2Otaurlpyalod) GetUserIdOk

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

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

func (*Devicev2Otaurlpyalod) HasBinaryKey

func (o *Devicev2Otaurlpyalod) HasBinaryKey() bool

HasBinaryKey returns a boolean if a field has been set.

func (*Devicev2Otaurlpyalod) HasSha256

func (o *Devicev2Otaurlpyalod) HasSha256() bool

HasSha256 returns a boolean if a field has been set.

func (*Devicev2Otaurlpyalod) HasUserId

func (o *Devicev2Otaurlpyalod) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (Devicev2Otaurlpyalod) MarshalJSON

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

func (*Devicev2Otaurlpyalod) SetBinaryKey

func (o *Devicev2Otaurlpyalod) SetBinaryKey(v string)

SetBinaryKey gets a reference to the given string and assigns it to the BinaryKey field.

func (*Devicev2Otaurlpyalod) SetSha256

func (o *Devicev2Otaurlpyalod) SetSha256(v string)

SetSha256 gets a reference to the given string and assigns it to the Sha256 field.

func (*Devicev2Otaurlpyalod) SetUserId

func (o *Devicev2Otaurlpyalod) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (Devicev2Otaurlpyalod) ToMap

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

type Devicev2Pass

type Devicev2Pass struct {
	// The password for the device
	Password *string `json:"password,omitempty"`
}

Devicev2Pass struct for Devicev2Pass

func NewDevicev2Pass

func NewDevicev2Pass() *Devicev2Pass

NewDevicev2Pass instantiates a new Devicev2Pass 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 NewDevicev2PassWithDefaults

func NewDevicev2PassWithDefaults() *Devicev2Pass

NewDevicev2PassWithDefaults instantiates a new Devicev2Pass 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 (*Devicev2Pass) GetPassword

func (o *Devicev2Pass) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*Devicev2Pass) GetPasswordOk

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

func (*Devicev2Pass) HasPassword

func (o *Devicev2Pass) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (Devicev2Pass) MarshalJSON

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

func (*Devicev2Pass) SetPassword

func (o *Devicev2Pass) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (Devicev2Pass) ToMap

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

type EmailAction added in v3.0.1

type EmailAction struct {
	Body     BodyExpression    `json:"body"`
	Delivery EmailDeliveryOpts `json:"delivery"`
	Subject  TitleExpression   `json:"subject"`
}

EmailAction struct for EmailAction

func NewEmailAction added in v3.0.1

func NewEmailAction(body BodyExpression, delivery EmailDeliveryOpts, subject TitleExpression) *EmailAction

NewEmailAction instantiates a new EmailAction 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 NewEmailActionWithDefaults added in v3.0.1

func NewEmailActionWithDefaults() *EmailAction

NewEmailActionWithDefaults instantiates a new EmailAction 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 (*EmailAction) GetBody added in v3.0.1

func (o *EmailAction) GetBody() BodyExpression

GetBody returns the Body field value

func (*EmailAction) GetBodyOk added in v3.0.1

func (o *EmailAction) GetBodyOk() (*BodyExpression, bool)

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

func (*EmailAction) GetDelivery added in v3.0.1

func (o *EmailAction) GetDelivery() EmailDeliveryOpts

GetDelivery returns the Delivery field value

func (*EmailAction) GetDeliveryOk added in v3.0.1

func (o *EmailAction) GetDeliveryOk() (*EmailDeliveryOpts, bool)

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

func (*EmailAction) GetSubject added in v3.0.1

func (o *EmailAction) GetSubject() TitleExpression

GetSubject returns the Subject field value

func (*EmailAction) GetSubjectOk added in v3.0.1

func (o *EmailAction) GetSubjectOk() (*TitleExpression, bool)

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

func (EmailAction) MarshalJSON added in v3.0.1

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

func (*EmailAction) SetBody added in v3.0.1

func (o *EmailAction) SetBody(v BodyExpression)

SetBody sets field value

func (*EmailAction) SetDelivery added in v3.0.1

func (o *EmailAction) SetDelivery(v EmailDeliveryOpts)

SetDelivery sets field value

func (*EmailAction) SetSubject added in v3.0.1

func (o *EmailAction) SetSubject(v TitleExpression)

SetSubject sets field value

func (EmailAction) ToMap added in v3.0.1

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

func (*EmailAction) UnmarshalJSON added in v3.0.1

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

type EmailDeliveryOpts added in v3.0.1

type EmailDeliveryOpts struct {
	// The \"bcc:\" field of an e-mail
	Bcc []UserRecipient `json:"bcc,omitempty"`
	// The \"cc:\" field of an e-mail
	Cc []UserRecipient `json:"cc,omitempty"`
	// The \"to:\" field of an e-mail
	To []UserRecipient `json:"to"`
}

EmailDeliveryOpts struct for EmailDeliveryOpts

func NewEmailDeliveryOpts added in v3.0.1

func NewEmailDeliveryOpts(to []UserRecipient) *EmailDeliveryOpts

NewEmailDeliveryOpts instantiates a new EmailDeliveryOpts 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 NewEmailDeliveryOptsWithDefaults added in v3.0.1

func NewEmailDeliveryOptsWithDefaults() *EmailDeliveryOpts

NewEmailDeliveryOptsWithDefaults instantiates a new EmailDeliveryOpts 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 (*EmailDeliveryOpts) GetBcc added in v3.0.1

func (o *EmailDeliveryOpts) GetBcc() []UserRecipient

GetBcc returns the Bcc field value if set, zero value otherwise.

func (*EmailDeliveryOpts) GetBccOk added in v3.0.1

func (o *EmailDeliveryOpts) GetBccOk() ([]UserRecipient, bool)

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

func (*EmailDeliveryOpts) GetCc added in v3.0.1

func (o *EmailDeliveryOpts) GetCc() []UserRecipient

GetCc returns the Cc field value if set, zero value otherwise.

func (*EmailDeliveryOpts) GetCcOk added in v3.0.1

func (o *EmailDeliveryOpts) GetCcOk() ([]UserRecipient, bool)

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

func (*EmailDeliveryOpts) GetTo added in v3.0.1

func (o *EmailDeliveryOpts) GetTo() []UserRecipient

GetTo returns the To field value

func (*EmailDeliveryOpts) GetToOk added in v3.0.1

func (o *EmailDeliveryOpts) GetToOk() ([]UserRecipient, bool)

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

func (*EmailDeliveryOpts) HasBcc added in v3.0.1

func (o *EmailDeliveryOpts) HasBcc() bool

HasBcc returns a boolean if a field has been set.

func (*EmailDeliveryOpts) HasCc added in v3.0.1

func (o *EmailDeliveryOpts) HasCc() bool

HasCc returns a boolean if a field has been set.

func (EmailDeliveryOpts) MarshalJSON added in v3.0.1

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

func (*EmailDeliveryOpts) SetBcc added in v3.0.1

func (o *EmailDeliveryOpts) SetBcc(v []UserRecipient)

SetBcc gets a reference to the given []UserRecipient and assigns it to the Bcc field.

func (*EmailDeliveryOpts) SetCc added in v3.0.1

func (o *EmailDeliveryOpts) SetCc(v []UserRecipient)

SetCc gets a reference to the given []UserRecipient and assigns it to the Cc field.

func (*EmailDeliveryOpts) SetTo added in v3.0.1

func (o *EmailDeliveryOpts) SetTo(v []UserRecipient)

SetTo sets field value

func (EmailDeliveryOpts) ToMap added in v3.0.1

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

func (*EmailDeliveryOpts) UnmarshalJSON added in v3.0.1

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

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HistoricDataRequest

type HistoricDataRequest struct {
	// Get data starting from this date
	From time.Time `json:"from"`
	// IDs of properties
	Properties []string `json:"properties"`
	// Get data up to this date
	To time.Time `json:"to"`
}

HistoricDataRequest struct for HistoricDataRequest

func NewHistoricDataRequest

func NewHistoricDataRequest(from time.Time, properties []string, to time.Time) *HistoricDataRequest

NewHistoricDataRequest instantiates a new HistoricDataRequest 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 NewHistoricDataRequestWithDefaults

func NewHistoricDataRequestWithDefaults() *HistoricDataRequest

NewHistoricDataRequestWithDefaults instantiates a new HistoricDataRequest 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 (*HistoricDataRequest) GetFrom

func (o *HistoricDataRequest) GetFrom() time.Time

GetFrom returns the From field value

func (*HistoricDataRequest) GetFromOk

func (o *HistoricDataRequest) GetFromOk() (*time.Time, bool)

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

func (*HistoricDataRequest) GetProperties

func (o *HistoricDataRequest) GetProperties() []string

GetProperties returns the Properties field value

func (*HistoricDataRequest) GetPropertiesOk

func (o *HistoricDataRequest) GetPropertiesOk() ([]string, bool)

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

func (*HistoricDataRequest) GetTo

func (o *HistoricDataRequest) GetTo() time.Time

GetTo returns the To field value

func (*HistoricDataRequest) GetToOk

func (o *HistoricDataRequest) GetToOk() (*time.Time, bool)

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

func (HistoricDataRequest) MarshalJSON

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

func (*HistoricDataRequest) SetFrom

func (o *HistoricDataRequest) SetFrom(v time.Time)

SetFrom sets field value

func (*HistoricDataRequest) SetProperties

func (o *HistoricDataRequest) SetProperties(v []string)

SetProperties sets field value

func (*HistoricDataRequest) SetTo

func (o *HistoricDataRequest) SetTo(v time.Time)

SetTo sets field value

func (HistoricDataRequest) ToMap

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

func (*HistoricDataRequest) UnmarshalJSON

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

type LoraDevicesV1APIService

type LoraDevicesV1APIService service

LoraDevicesV1APIService LoraDevicesV1API service

func (*LoraDevicesV1APIService) LoraDevicesV1Create

LoraDevicesV1Create create lora_devices_v1

Create a new lora device. Its info are saved on our database, and on the lora provider network. Creates a device_v2 automatically

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

func (*LoraDevicesV1APIService) LoraDevicesV1CreateExecute

Execute executes the request

@return ArduinoLoradevicev1

type LoraFreqPlanV1APIService

type LoraFreqPlanV1APIService service

LoraFreqPlanV1APIService LoraFreqPlanV1API service

func (*LoraFreqPlanV1APIService) LoraFreqPlanV1List

LoraFreqPlanV1List list lora_freq_plan_v1

List the lora frequency plans supported

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

func (*LoraFreqPlanV1APIService) LoraFreqPlanV1ListExecute

Execute executes the request

@return ArduinoLorafreqplansv1

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type ModelError

type ModelError struct {
	// an application-specific error code, expressed as a string value.
	Code *string `json:"code,omitempty"`
	// a human-readable explanation specific to this occurrence of the problem.
	Detail *string `json:"detail,omitempty"`
	// a unique identifier for this particular occurrence of the problem.
	Id *string `json:"id,omitempty"`
	// a meta object containing non-standard meta-information about the error.
	Meta map[string]interface{} `json:"meta,omitempty"`
	// the HTTP status code applicable to this problem
	Status *int64 `json:"status,omitempty"`
}

ModelError Error response media type (default view)

func NewModelError

func NewModelError() *ModelError

NewModelError instantiates a new ModelError 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 NewModelErrorWithDefaults

func NewModelErrorWithDefaults() *ModelError

NewModelErrorWithDefaults instantiates a new ModelError 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 (*ModelError) GetCode

func (o *ModelError) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*ModelError) GetCodeOk

func (o *ModelError) GetCodeOk() (*string, bool)

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

func (*ModelError) GetDetail

func (o *ModelError) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ModelError) GetDetailOk

func (o *ModelError) GetDetailOk() (*string, bool)

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

func (*ModelError) GetId

func (o *ModelError) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelError) GetIdOk

func (o *ModelError) 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.

func (*ModelError) GetMeta

func (o *ModelError) GetMeta() map[string]interface{}

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ModelError) GetMetaOk

func (o *ModelError) GetMetaOk() (map[string]interface{}, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ModelError) GetStatus

func (o *ModelError) GetStatus() int64

GetStatus returns the Status field value if set, zero value otherwise.

func (*ModelError) GetStatusOk

func (o *ModelError) GetStatusOk() (*int64, 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 (*ModelError) HasCode

func (o *ModelError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ModelError) HasDetail

func (o *ModelError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ModelError) HasId

func (o *ModelError) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelError) HasMeta

func (o *ModelError) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*ModelError) HasStatus

func (o *ModelError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ModelError) MarshalJSON

func (o ModelError) MarshalJSON() ([]byte, error)

func (*ModelError) SetCode

func (o *ModelError) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ModelError) SetDetail

func (o *ModelError) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*ModelError) SetId

func (o *ModelError) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelError) SetMeta

func (o *ModelError) SetMeta(v map[string]interface{})

SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field.

func (*ModelError) SetStatus

func (o *ModelError) SetStatus(v int64)

SetStatus gets a reference to the given int64 and assigns it to the Status field.

func (ModelError) ToMap

func (o ModelError) ToMap() (map[string]interface{}, error)

type NetworkCredentialsV1APIService

type NetworkCredentialsV1APIService service

NetworkCredentialsV1APIService NetworkCredentialsV1API service

func (*NetworkCredentialsV1APIService) NetworkCredentialsV1Show

NetworkCredentialsV1Show show network_credentials_v1

Show required network credentials depending on device type

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param type_ Device type
@return ApiNetworkCredentialsV1ShowRequest

func (*NetworkCredentialsV1APIService) NetworkCredentialsV1ShowByDevice

NetworkCredentialsV1ShowByDevice showByDevice network_credentials_v1

Show available connection types depending on device type

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param type_ Device type
@return ApiNetworkCredentialsV1ShowByDeviceRequest

func (*NetworkCredentialsV1APIService) NetworkCredentialsV1ShowByDeviceExecute

func (a *NetworkCredentialsV1APIService) NetworkCredentialsV1ShowByDeviceExecute(r ApiNetworkCredentialsV1ShowByDeviceRequest) (*http.Response, error)

Execute executes the request

func (*NetworkCredentialsV1APIService) NetworkCredentialsV1ShowExecute

Execute executes the request

@return []ArduinoCredentialsv1

type NullableArduinoAction added in v3.0.1

type NullableArduinoAction struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoAction added in v3.0.1

func NewNullableArduinoAction(val *ArduinoAction) *NullableArduinoAction

func (NullableArduinoAction) Get added in v3.0.1

func (NullableArduinoAction) IsSet added in v3.0.1

func (v NullableArduinoAction) IsSet() bool

func (NullableArduinoAction) MarshalJSON added in v3.0.1

func (v NullableArduinoAction) MarshalJSON() ([]byte, error)

func (*NullableArduinoAction) Set added in v3.0.1

func (v *NullableArduinoAction) Set(val *ArduinoAction)

func (*NullableArduinoAction) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoAction) UnmarshalJSON(src []byte) error

func (*NullableArduinoAction) Unset added in v3.0.1

func (v *NullableArduinoAction) Unset()

type NullableArduinoActionTemplate added in v3.0.1

type NullableArduinoActionTemplate struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoActionTemplate added in v3.0.1

func NewNullableArduinoActionTemplate(val *ArduinoActionTemplate) *NullableArduinoActionTemplate

func (NullableArduinoActionTemplate) Get added in v3.0.1

func (NullableArduinoActionTemplate) IsSet added in v3.0.1

func (NullableArduinoActionTemplate) MarshalJSON added in v3.0.1

func (v NullableArduinoActionTemplate) MarshalJSON() ([]byte, error)

func (*NullableArduinoActionTemplate) Set added in v3.0.1

func (*NullableArduinoActionTemplate) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoActionTemplate) UnmarshalJSON(src []byte) error

func (*NullableArduinoActionTemplate) Unset added in v3.0.1

func (v *NullableArduinoActionTemplate) Unset()

type NullableArduinoCompressedv2

type NullableArduinoCompressedv2 struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoCompressedv2

func NewNullableArduinoCompressedv2(val *ArduinoCompressedv2) *NullableArduinoCompressedv2

func (NullableArduinoCompressedv2) Get

func (NullableArduinoCompressedv2) IsSet

func (NullableArduinoCompressedv2) MarshalJSON

func (v NullableArduinoCompressedv2) MarshalJSON() ([]byte, error)

func (*NullableArduinoCompressedv2) Set

func (*NullableArduinoCompressedv2) UnmarshalJSON

func (v *NullableArduinoCompressedv2) UnmarshalJSON(src []byte) error

func (*NullableArduinoCompressedv2) Unset

func (v *NullableArduinoCompressedv2) Unset()

type NullableArduinoCredentialsv1

type NullableArduinoCredentialsv1 struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoCredentialsv1

func NewNullableArduinoCredentialsv1(val *ArduinoCredentialsv1) *NullableArduinoCredentialsv1

func (NullableArduinoCredentialsv1) Get

func (NullableArduinoCredentialsv1) IsSet

func (NullableArduinoCredentialsv1) MarshalJSON

func (v NullableArduinoCredentialsv1) MarshalJSON() ([]byte, error)

func (*NullableArduinoCredentialsv1) Set

func (*NullableArduinoCredentialsv1) UnmarshalJSON

func (v *NullableArduinoCredentialsv1) UnmarshalJSON(src []byte) error

func (*NullableArduinoCredentialsv1) Unset

func (v *NullableArduinoCredentialsv1) Unset()

type NullableArduinoDashboardowner

type NullableArduinoDashboardowner struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDashboardowner) Get

func (NullableArduinoDashboardowner) IsSet

func (NullableArduinoDashboardowner) MarshalJSON

func (v NullableArduinoDashboardowner) MarshalJSON() ([]byte, error)

func (*NullableArduinoDashboardowner) Set

func (*NullableArduinoDashboardowner) UnmarshalJSON

func (v *NullableArduinoDashboardowner) UnmarshalJSON(src []byte) error

func (*NullableArduinoDashboardowner) Unset

func (v *NullableArduinoDashboardowner) Unset()

type NullableArduinoDashboardshare

type NullableArduinoDashboardshare struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDashboardshare) Get

func (NullableArduinoDashboardshare) IsSet

func (NullableArduinoDashboardshare) MarshalJSON

func (v NullableArduinoDashboardshare) MarshalJSON() ([]byte, error)

func (*NullableArduinoDashboardshare) Set

func (*NullableArduinoDashboardshare) UnmarshalJSON

func (v *NullableArduinoDashboardshare) UnmarshalJSON(src []byte) error

func (*NullableArduinoDashboardshare) Unset

func (v *NullableArduinoDashboardshare) Unset()

type NullableArduinoDashboardv2

type NullableArduinoDashboardv2 struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoDashboardv2

func NewNullableArduinoDashboardv2(val *ArduinoDashboardv2) *NullableArduinoDashboardv2

func (NullableArduinoDashboardv2) Get

func (NullableArduinoDashboardv2) IsSet

func (v NullableArduinoDashboardv2) IsSet() bool

func (NullableArduinoDashboardv2) MarshalJSON

func (v NullableArduinoDashboardv2) MarshalJSON() ([]byte, error)

func (*NullableArduinoDashboardv2) Set

func (*NullableArduinoDashboardv2) UnmarshalJSON

func (v *NullableArduinoDashboardv2) UnmarshalJSON(src []byte) error

func (*NullableArduinoDashboardv2) Unset

func (v *NullableArduinoDashboardv2) Unset()

type NullableArduinoDashboardv2template

type NullableArduinoDashboardv2template struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDashboardv2template) Get

func (NullableArduinoDashboardv2template) IsSet

func (NullableArduinoDashboardv2template) MarshalJSON

func (v NullableArduinoDashboardv2template) MarshalJSON() ([]byte, error)

func (*NullableArduinoDashboardv2template) Set

func (*NullableArduinoDashboardv2template) UnmarshalJSON

func (v *NullableArduinoDashboardv2template) UnmarshalJSON(src []byte) error

func (*NullableArduinoDashboardv2template) Unset

type NullableArduinoDevicev2

type NullableArduinoDevicev2 struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoDevicev2

func NewNullableArduinoDevicev2(val *ArduinoDevicev2) *NullableArduinoDevicev2

func (NullableArduinoDevicev2) Get

func (NullableArduinoDevicev2) IsSet

func (v NullableArduinoDevicev2) IsSet() bool

func (NullableArduinoDevicev2) MarshalJSON

func (v NullableArduinoDevicev2) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2) Set

func (*NullableArduinoDevicev2) UnmarshalJSON

func (v *NullableArduinoDevicev2) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2) Unset

func (v *NullableArduinoDevicev2) Unset()

type NullableArduinoDevicev2Cert

type NullableArduinoDevicev2Cert struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoDevicev2Cert

func NewNullableArduinoDevicev2Cert(val *ArduinoDevicev2Cert) *NullableArduinoDevicev2Cert

func (NullableArduinoDevicev2Cert) Get

func (NullableArduinoDevicev2Cert) IsSet

func (NullableArduinoDevicev2Cert) MarshalJSON

func (v NullableArduinoDevicev2Cert) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2Cert) Set

func (*NullableArduinoDevicev2Cert) UnmarshalJSON

func (v *NullableArduinoDevicev2Cert) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2Cert) Unset

func (v *NullableArduinoDevicev2Cert) Unset()

type NullableArduinoDevicev2EventProperties

type NullableArduinoDevicev2EventProperties struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2EventProperties) Get

func (NullableArduinoDevicev2EventProperties) IsSet

func (NullableArduinoDevicev2EventProperties) MarshalJSON

func (v NullableArduinoDevicev2EventProperties) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2EventProperties) Set

func (*NullableArduinoDevicev2EventProperties) UnmarshalJSON

func (v *NullableArduinoDevicev2EventProperties) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2EventProperties) Unset

type NullableArduinoDevicev2Otaupload

type NullableArduinoDevicev2Otaupload struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2Otaupload) Get

func (NullableArduinoDevicev2Otaupload) IsSet

func (NullableArduinoDevicev2Otaupload) MarshalJSON

func (v NullableArduinoDevicev2Otaupload) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2Otaupload) Set

func (*NullableArduinoDevicev2Otaupload) UnmarshalJSON

func (v *NullableArduinoDevicev2Otaupload) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2Otaupload) Unset

type NullableArduinoDevicev2Pass

type NullableArduinoDevicev2Pass struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoDevicev2Pass

func NewNullableArduinoDevicev2Pass(val *ArduinoDevicev2Pass) *NullableArduinoDevicev2Pass

func (NullableArduinoDevicev2Pass) Get

func (NullableArduinoDevicev2Pass) IsSet

func (NullableArduinoDevicev2Pass) MarshalJSON

func (v NullableArduinoDevicev2Pass) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2Pass) Set

func (*NullableArduinoDevicev2Pass) UnmarshalJSON

func (v *NullableArduinoDevicev2Pass) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2Pass) Unset

func (v *NullableArduinoDevicev2Pass) Unset()

type NullableArduinoDevicev2SimpleProperties

type NullableArduinoDevicev2SimpleProperties struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2SimpleProperties) Get

func (NullableArduinoDevicev2SimpleProperties) IsSet

func (NullableArduinoDevicev2SimpleProperties) MarshalJSON

func (v NullableArduinoDevicev2SimpleProperties) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2SimpleProperties) Set

func (*NullableArduinoDevicev2SimpleProperties) UnmarshalJSON

func (v *NullableArduinoDevicev2SimpleProperties) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2SimpleProperties) Unset

type NullableArduinoDevicev2StatusEvent

type NullableArduinoDevicev2StatusEvent struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2StatusEvent) Get

func (NullableArduinoDevicev2StatusEvent) IsSet

func (NullableArduinoDevicev2StatusEvent) MarshalJSON

func (v NullableArduinoDevicev2StatusEvent) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2StatusEvent) Set

func (*NullableArduinoDevicev2StatusEvent) UnmarshalJSON

func (v *NullableArduinoDevicev2StatusEvent) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2StatusEvent) Unset

type NullableArduinoDevicev2StatusEvents

type NullableArduinoDevicev2StatusEvents struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2StatusEvents) Get

func (NullableArduinoDevicev2StatusEvents) IsSet

func (NullableArduinoDevicev2StatusEvents) MarshalJSON

func (v NullableArduinoDevicev2StatusEvents) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2StatusEvents) Set

func (*NullableArduinoDevicev2StatusEvents) UnmarshalJSON

func (v *NullableArduinoDevicev2StatusEvents) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2StatusEvents) Unset

type NullableArduinoDevicev2Webhook

type NullableArduinoDevicev2Webhook struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2Webhook) Get

func (NullableArduinoDevicev2Webhook) IsSet

func (NullableArduinoDevicev2Webhook) MarshalJSON

func (v NullableArduinoDevicev2Webhook) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2Webhook) Set

func (*NullableArduinoDevicev2Webhook) UnmarshalJSON

func (v *NullableArduinoDevicev2Webhook) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2Webhook) Unset

func (v *NullableArduinoDevicev2Webhook) Unset()

type NullableArduinoDevicev2properties

type NullableArduinoDevicev2properties struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2properties) Get

func (NullableArduinoDevicev2properties) IsSet

func (NullableArduinoDevicev2properties) MarshalJSON

func (v NullableArduinoDevicev2properties) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2properties) Set

func (*NullableArduinoDevicev2properties) UnmarshalJSON

func (v *NullableArduinoDevicev2properties) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2properties) Unset

type NullableArduinoDevicev2propertyvalue

type NullableArduinoDevicev2propertyvalue struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2propertyvalue) Get

func (NullableArduinoDevicev2propertyvalue) IsSet

func (NullableArduinoDevicev2propertyvalue) MarshalJSON

func (v NullableArduinoDevicev2propertyvalue) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2propertyvalue) Set

func (*NullableArduinoDevicev2propertyvalue) UnmarshalJSON

func (v *NullableArduinoDevicev2propertyvalue) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2propertyvalue) Unset

type NullableArduinoDevicev2propertyvalueValue

type NullableArduinoDevicev2propertyvalueValue struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2propertyvalueValue) Get

func (NullableArduinoDevicev2propertyvalueValue) IsSet

func (NullableArduinoDevicev2propertyvalueValue) MarshalJSON

func (*NullableArduinoDevicev2propertyvalueValue) Set

func (*NullableArduinoDevicev2propertyvalueValue) UnmarshalJSON

func (v *NullableArduinoDevicev2propertyvalueValue) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2propertyvalueValue) Unset

type NullableArduinoDevicev2propertyvalueValueStatistics

type NullableArduinoDevicev2propertyvalueValueStatistics struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2propertyvalueValueStatistics) Get

func (NullableArduinoDevicev2propertyvalueValueStatistics) IsSet

func (NullableArduinoDevicev2propertyvalueValueStatistics) MarshalJSON

func (*NullableArduinoDevicev2propertyvalueValueStatistics) Set

func (*NullableArduinoDevicev2propertyvalueValueStatistics) UnmarshalJSON

func (*NullableArduinoDevicev2propertyvalueValueStatistics) Unset

type NullableArduinoDevicev2propertyvalues

type NullableArduinoDevicev2propertyvalues struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2propertyvalues) Get

func (NullableArduinoDevicev2propertyvalues) IsSet

func (NullableArduinoDevicev2propertyvalues) MarshalJSON

func (v NullableArduinoDevicev2propertyvalues) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2propertyvalues) Set

func (*NullableArduinoDevicev2propertyvalues) UnmarshalJSON

func (v *NullableArduinoDevicev2propertyvalues) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2propertyvalues) Unset

type NullableArduinoDevicev2propertyvaluesLastEvaluatedKey

type NullableArduinoDevicev2propertyvaluesLastEvaluatedKey struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2propertyvaluesLastEvaluatedKey) Get

func (NullableArduinoDevicev2propertyvaluesLastEvaluatedKey) IsSet

func (NullableArduinoDevicev2propertyvaluesLastEvaluatedKey) MarshalJSON

func (*NullableArduinoDevicev2propertyvaluesLastEvaluatedKey) Set

func (*NullableArduinoDevicev2propertyvaluesLastEvaluatedKey) UnmarshalJSON

func (*NullableArduinoDevicev2propertyvaluesLastEvaluatedKey) Unset

type NullableArduinoDevicev2templatedevice

type NullableArduinoDevicev2templatedevice struct {
	// contains filtered or unexported fields
}

func (NullableArduinoDevicev2templatedevice) Get

func (NullableArduinoDevicev2templatedevice) IsSet

func (NullableArduinoDevicev2templatedevice) MarshalJSON

func (v NullableArduinoDevicev2templatedevice) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2templatedevice) Set

func (*NullableArduinoDevicev2templatedevice) UnmarshalJSON

func (v *NullableArduinoDevicev2templatedevice) UnmarshalJSON(src []byte) error

func (*NullableArduinoDevicev2templatedevice) Unset

type NullableArduinoLinkedDevice added in v3.0.1

type NullableArduinoLinkedDevice struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoLinkedDevice added in v3.0.1

func NewNullableArduinoLinkedDevice(val *ArduinoLinkedDevice) *NullableArduinoLinkedDevice

func (NullableArduinoLinkedDevice) Get added in v3.0.1

func (NullableArduinoLinkedDevice) IsSet added in v3.0.1

func (NullableArduinoLinkedDevice) MarshalJSON added in v3.0.1

func (v NullableArduinoLinkedDevice) MarshalJSON() ([]byte, error)

func (*NullableArduinoLinkedDevice) Set added in v3.0.1

func (*NullableArduinoLinkedDevice) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoLinkedDevice) UnmarshalJSON(src []byte) error

func (*NullableArduinoLinkedDevice) Unset added in v3.0.1

func (v *NullableArduinoLinkedDevice) Unset()

type NullableArduinoLinkedDeviceTemplate added in v3.0.1

type NullableArduinoLinkedDeviceTemplate struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoLinkedDeviceTemplate added in v3.0.1

func NewNullableArduinoLinkedDeviceTemplate(val *ArduinoLinkedDeviceTemplate) *NullableArduinoLinkedDeviceTemplate

func (NullableArduinoLinkedDeviceTemplate) Get added in v3.0.1

func (NullableArduinoLinkedDeviceTemplate) IsSet added in v3.0.1

func (NullableArduinoLinkedDeviceTemplate) MarshalJSON added in v3.0.1

func (v NullableArduinoLinkedDeviceTemplate) MarshalJSON() ([]byte, error)

func (*NullableArduinoLinkedDeviceTemplate) Set added in v3.0.1

func (*NullableArduinoLinkedDeviceTemplate) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoLinkedDeviceTemplate) UnmarshalJSON(src []byte) error

func (*NullableArduinoLinkedDeviceTemplate) Unset added in v3.0.1

type NullableArduinoLinkedProperty added in v3.0.1

type NullableArduinoLinkedProperty struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoLinkedProperty added in v3.0.1

func NewNullableArduinoLinkedProperty(val *ArduinoLinkedProperty) *NullableArduinoLinkedProperty

func (NullableArduinoLinkedProperty) Get added in v3.0.1

func (NullableArduinoLinkedProperty) IsSet added in v3.0.1

func (NullableArduinoLinkedProperty) MarshalJSON added in v3.0.1

func (v NullableArduinoLinkedProperty) MarshalJSON() ([]byte, error)

func (*NullableArduinoLinkedProperty) Set added in v3.0.1

func (*NullableArduinoLinkedProperty) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoLinkedProperty) UnmarshalJSON(src []byte) error

func (*NullableArduinoLinkedProperty) Unset added in v3.0.1

func (v *NullableArduinoLinkedProperty) Unset()

type NullableArduinoLinkedPropertyTemplate added in v3.0.1

type NullableArduinoLinkedPropertyTemplate struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoLinkedPropertyTemplate added in v3.0.1

func NewNullableArduinoLinkedPropertyTemplate(val *ArduinoLinkedPropertyTemplate) *NullableArduinoLinkedPropertyTemplate

func (NullableArduinoLinkedPropertyTemplate) Get added in v3.0.1

func (NullableArduinoLinkedPropertyTemplate) IsSet added in v3.0.1

func (NullableArduinoLinkedPropertyTemplate) MarshalJSON added in v3.0.1

func (v NullableArduinoLinkedPropertyTemplate) MarshalJSON() ([]byte, error)

func (*NullableArduinoLinkedPropertyTemplate) Set added in v3.0.1

func (*NullableArduinoLinkedPropertyTemplate) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoLinkedPropertyTemplate) UnmarshalJSON(src []byte) error

func (*NullableArduinoLinkedPropertyTemplate) Unset added in v3.0.1

type NullableArduinoLinkedvariable

type NullableArduinoLinkedvariable struct {
	// contains filtered or unexported fields
}

func (NullableArduinoLinkedvariable) Get

func (NullableArduinoLinkedvariable) IsSet

func (NullableArduinoLinkedvariable) MarshalJSON

func (v NullableArduinoLinkedvariable) MarshalJSON() ([]byte, error)

func (*NullableArduinoLinkedvariable) Set

func (*NullableArduinoLinkedvariable) UnmarshalJSON

func (v *NullableArduinoLinkedvariable) UnmarshalJSON(src []byte) error

func (*NullableArduinoLinkedvariable) Unset

func (v *NullableArduinoLinkedvariable) Unset()

type NullableArduinoLoradevicev1

type NullableArduinoLoradevicev1 struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoLoradevicev1

func NewNullableArduinoLoradevicev1(val *ArduinoLoradevicev1) *NullableArduinoLoradevicev1

func (NullableArduinoLoradevicev1) Get

func (NullableArduinoLoradevicev1) IsSet

func (NullableArduinoLoradevicev1) MarshalJSON

func (v NullableArduinoLoradevicev1) MarshalJSON() ([]byte, error)

func (*NullableArduinoLoradevicev1) Set

func (*NullableArduinoLoradevicev1) UnmarshalJSON

func (v *NullableArduinoLoradevicev1) UnmarshalJSON(src []byte) error

func (*NullableArduinoLoradevicev1) Unset

func (v *NullableArduinoLoradevicev1) Unset()

type NullableArduinoLorafreqplansv1

type NullableArduinoLorafreqplansv1 struct {
	// contains filtered or unexported fields
}

func (NullableArduinoLorafreqplansv1) Get

func (NullableArduinoLorafreqplansv1) IsSet

func (NullableArduinoLorafreqplansv1) MarshalJSON

func (v NullableArduinoLorafreqplansv1) MarshalJSON() ([]byte, error)

func (*NullableArduinoLorafreqplansv1) Set

func (*NullableArduinoLorafreqplansv1) UnmarshalJSON

func (v *NullableArduinoLorafreqplansv1) UnmarshalJSON(src []byte) error

func (*NullableArduinoLorafreqplansv1) Unset

func (v *NullableArduinoLorafreqplansv1) Unset()

type NullableArduinoLorafreqplanv1

type NullableArduinoLorafreqplanv1 struct {
	// contains filtered or unexported fields
}

func (NullableArduinoLorafreqplanv1) Get

func (NullableArduinoLorafreqplanv1) IsSet

func (NullableArduinoLorafreqplanv1) MarshalJSON

func (v NullableArduinoLorafreqplanv1) MarshalJSON() ([]byte, error)

func (*NullableArduinoLorafreqplanv1) Set

func (*NullableArduinoLorafreqplanv1) UnmarshalJSON

func (v *NullableArduinoLorafreqplanv1) UnmarshalJSON(src []byte) error

func (*NullableArduinoLorafreqplanv1) Unset

func (v *NullableArduinoLorafreqplanv1) Unset()

type NullableArduinoProperty

type NullableArduinoProperty struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoProperty

func NewNullableArduinoProperty(val *ArduinoProperty) *NullableArduinoProperty

func (NullableArduinoProperty) Get

func (NullableArduinoProperty) IsSet

func (v NullableArduinoProperty) IsSet() bool

func (NullableArduinoProperty) MarshalJSON

func (v NullableArduinoProperty) MarshalJSON() ([]byte, error)

func (*NullableArduinoProperty) Set

func (*NullableArduinoProperty) UnmarshalJSON

func (v *NullableArduinoProperty) UnmarshalJSON(src []byte) error

func (*NullableArduinoProperty) Unset

func (v *NullableArduinoProperty) Unset()

type NullableArduinoPropertytype

type NullableArduinoPropertytype struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoPropertytype

func NewNullableArduinoPropertytype(val *ArduinoPropertytype) *NullableArduinoPropertytype

func (NullableArduinoPropertytype) Get

func (NullableArduinoPropertytype) IsSet

func (NullableArduinoPropertytype) MarshalJSON

func (v NullableArduinoPropertytype) MarshalJSON() ([]byte, error)

func (*NullableArduinoPropertytype) Set

func (*NullableArduinoPropertytype) UnmarshalJSON

func (v *NullableArduinoPropertytype) UnmarshalJSON(src []byte) error

func (*NullableArduinoPropertytype) Unset

func (v *NullableArduinoPropertytype) Unset()

type NullableArduinoSeriesBatch

type NullableArduinoSeriesBatch struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoSeriesBatch

func NewNullableArduinoSeriesBatch(val *ArduinoSeriesBatch) *NullableArduinoSeriesBatch

func (NullableArduinoSeriesBatch) Get

func (NullableArduinoSeriesBatch) IsSet

func (v NullableArduinoSeriesBatch) IsSet() bool

func (NullableArduinoSeriesBatch) MarshalJSON

func (v NullableArduinoSeriesBatch) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesBatch) Set

func (*NullableArduinoSeriesBatch) UnmarshalJSON

func (v *NullableArduinoSeriesBatch) UnmarshalJSON(src []byte) error

func (*NullableArduinoSeriesBatch) Unset

func (v *NullableArduinoSeriesBatch) Unset()

type NullableArduinoSeriesBatchSampled

type NullableArduinoSeriesBatchSampled struct {
	// contains filtered or unexported fields
}

func (NullableArduinoSeriesBatchSampled) Get

func (NullableArduinoSeriesBatchSampled) IsSet

func (NullableArduinoSeriesBatchSampled) MarshalJSON

func (v NullableArduinoSeriesBatchSampled) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesBatchSampled) Set

func (*NullableArduinoSeriesBatchSampled) UnmarshalJSON

func (v *NullableArduinoSeriesBatchSampled) UnmarshalJSON(src []byte) error

func (*NullableArduinoSeriesBatchSampled) Unset

type NullableArduinoSeriesRawBatch

type NullableArduinoSeriesRawBatch struct {
	// contains filtered or unexported fields
}

func (NullableArduinoSeriesRawBatch) Get

func (NullableArduinoSeriesRawBatch) IsSet

func (NullableArduinoSeriesRawBatch) MarshalJSON

func (v NullableArduinoSeriesRawBatch) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesRawBatch) Set

func (*NullableArduinoSeriesRawBatch) UnmarshalJSON

func (v *NullableArduinoSeriesRawBatch) UnmarshalJSON(src []byte) error

func (*NullableArduinoSeriesRawBatch) Unset

func (v *NullableArduinoSeriesRawBatch) Unset()

type NullableArduinoSeriesRawBatchLastvalue

type NullableArduinoSeriesRawBatchLastvalue struct {
	// contains filtered or unexported fields
}

func (NullableArduinoSeriesRawBatchLastvalue) Get

func (NullableArduinoSeriesRawBatchLastvalue) IsSet

func (NullableArduinoSeriesRawBatchLastvalue) MarshalJSON

func (v NullableArduinoSeriesRawBatchLastvalue) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesRawBatchLastvalue) Set

func (*NullableArduinoSeriesRawBatchLastvalue) UnmarshalJSON

func (v *NullableArduinoSeriesRawBatchLastvalue) UnmarshalJSON(src []byte) error

func (*NullableArduinoSeriesRawBatchLastvalue) Unset

type NullableArduinoSeriesRawLastValueResponse

type NullableArduinoSeriesRawLastValueResponse struct {
	// contains filtered or unexported fields
}

func (NullableArduinoSeriesRawLastValueResponse) Get

func (NullableArduinoSeriesRawLastValueResponse) IsSet

func (NullableArduinoSeriesRawLastValueResponse) MarshalJSON

func (*NullableArduinoSeriesRawLastValueResponse) Set

func (*NullableArduinoSeriesRawLastValueResponse) UnmarshalJSON

func (v *NullableArduinoSeriesRawLastValueResponse) UnmarshalJSON(src []byte) error

func (*NullableArduinoSeriesRawLastValueResponse) Unset

type NullableArduinoSeriesRawResponse

type NullableArduinoSeriesRawResponse struct {
	// contains filtered or unexported fields
}

func (NullableArduinoSeriesRawResponse) Get

func (NullableArduinoSeriesRawResponse) IsSet

func (NullableArduinoSeriesRawResponse) MarshalJSON

func (v NullableArduinoSeriesRawResponse) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesRawResponse) Set

func (*NullableArduinoSeriesRawResponse) UnmarshalJSON

func (v *NullableArduinoSeriesRawResponse) UnmarshalJSON(src []byte) error

func (*NullableArduinoSeriesRawResponse) Unset

type NullableArduinoSeriesResponse

type NullableArduinoSeriesResponse struct {
	// contains filtered or unexported fields
}

func (NullableArduinoSeriesResponse) Get

func (NullableArduinoSeriesResponse) IsSet

func (NullableArduinoSeriesResponse) MarshalJSON

func (v NullableArduinoSeriesResponse) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesResponse) Set

func (*NullableArduinoSeriesResponse) UnmarshalJSON

func (v *NullableArduinoSeriesResponse) UnmarshalJSON(src []byte) error

func (*NullableArduinoSeriesResponse) Unset

func (v *NullableArduinoSeriesResponse) Unset()

type NullableArduinoSeriesSampledResponse

type NullableArduinoSeriesSampledResponse struct {
	// contains filtered or unexported fields
}

func (NullableArduinoSeriesSampledResponse) Get

func (NullableArduinoSeriesSampledResponse) IsSet

func (NullableArduinoSeriesSampledResponse) MarshalJSON

func (v NullableArduinoSeriesSampledResponse) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesSampledResponse) Set

func (*NullableArduinoSeriesSampledResponse) UnmarshalJSON

func (v *NullableArduinoSeriesSampledResponse) UnmarshalJSON(src []byte) error

func (*NullableArduinoSeriesSampledResponse) Unset

type NullableArduinoTags

type NullableArduinoTags struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoTags

func NewNullableArduinoTags(val *ArduinoTags) *NullableArduinoTags

func (NullableArduinoTags) Get

func (NullableArduinoTags) IsSet

func (v NullableArduinoTags) IsSet() bool

func (NullableArduinoTags) MarshalJSON

func (v NullableArduinoTags) MarshalJSON() ([]byte, error)

func (*NullableArduinoTags) Set

func (v *NullableArduinoTags) Set(val *ArduinoTags)

func (*NullableArduinoTags) UnmarshalJSON

func (v *NullableArduinoTags) UnmarshalJSON(src []byte) error

func (*NullableArduinoTags) Unset

func (v *NullableArduinoTags) Unset()

type NullableArduinoTemplate

type NullableArduinoTemplate struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoTemplate

func NewNullableArduinoTemplate(val *ArduinoTemplate) *NullableArduinoTemplate

func (NullableArduinoTemplate) Get

func (NullableArduinoTemplate) IsSet

func (v NullableArduinoTemplate) IsSet() bool

func (NullableArduinoTemplate) MarshalJSON

func (v NullableArduinoTemplate) MarshalJSON() ([]byte, error)

func (*NullableArduinoTemplate) Set

func (*NullableArduinoTemplate) UnmarshalJSON

func (v *NullableArduinoTemplate) UnmarshalJSON(src []byte) error

func (*NullableArduinoTemplate) Unset

func (v *NullableArduinoTemplate) Unset()

type NullableArduinoTemplateproperty

type NullableArduinoTemplateproperty struct {
	// contains filtered or unexported fields
}

func (NullableArduinoTemplateproperty) Get

func (NullableArduinoTemplateproperty) IsSet

func (NullableArduinoTemplateproperty) MarshalJSON

func (v NullableArduinoTemplateproperty) MarshalJSON() ([]byte, error)

func (*NullableArduinoTemplateproperty) Set

func (*NullableArduinoTemplateproperty) UnmarshalJSON

func (v *NullableArduinoTemplateproperty) UnmarshalJSON(src []byte) error

func (*NullableArduinoTemplateproperty) Unset

type NullableArduinoTemplatevariable

type NullableArduinoTemplatevariable struct {
	// contains filtered or unexported fields
}

func (NullableArduinoTemplatevariable) Get

func (NullableArduinoTemplatevariable) IsSet

func (NullableArduinoTemplatevariable) MarshalJSON

func (v NullableArduinoTemplatevariable) MarshalJSON() ([]byte, error)

func (*NullableArduinoTemplatevariable) Set

func (*NullableArduinoTemplatevariable) UnmarshalJSON

func (v *NullableArduinoTemplatevariable) UnmarshalJSON(src []byte) error

func (*NullableArduinoTemplatevariable) Unset

type NullableArduinoThing

type NullableArduinoThing struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoThing

func NewNullableArduinoThing(val *ArduinoThing) *NullableArduinoThing

func (NullableArduinoThing) Get

func (NullableArduinoThing) IsSet

func (v NullableArduinoThing) IsSet() bool

func (NullableArduinoThing) MarshalJSON

func (v NullableArduinoThing) MarshalJSON() ([]byte, error)

func (*NullableArduinoThing) Set

func (v *NullableArduinoThing) Set(val *ArduinoThing)

func (*NullableArduinoThing) UnmarshalJSON

func (v *NullableArduinoThing) UnmarshalJSON(src []byte) error

func (*NullableArduinoThing) Unset

func (v *NullableArduinoThing) Unset()

type NullableArduinoThingresult

type NullableArduinoThingresult struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoThingresult

func NewNullableArduinoThingresult(val *ArduinoThingresult) *NullableArduinoThingresult

func (NullableArduinoThingresult) Get

func (NullableArduinoThingresult) IsSet

func (v NullableArduinoThingresult) IsSet() bool

func (NullableArduinoThingresult) MarshalJSON

func (v NullableArduinoThingresult) MarshalJSON() ([]byte, error)

func (*NullableArduinoThingresult) Set

func (*NullableArduinoThingresult) UnmarshalJSON

func (v *NullableArduinoThingresult) UnmarshalJSON(src []byte) error

func (*NullableArduinoThingresult) Unset

func (v *NullableArduinoThingresult) Unset()

type NullableArduinoThingtemplate

type NullableArduinoThingtemplate struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoThingtemplate

func NewNullableArduinoThingtemplate(val *ArduinoThingtemplate) *NullableArduinoThingtemplate

func (NullableArduinoThingtemplate) Get

func (NullableArduinoThingtemplate) IsSet

func (NullableArduinoThingtemplate) MarshalJSON

func (v NullableArduinoThingtemplate) MarshalJSON() ([]byte, error)

func (*NullableArduinoThingtemplate) Set

func (*NullableArduinoThingtemplate) UnmarshalJSON

func (v *NullableArduinoThingtemplate) UnmarshalJSON(src []byte) error

func (*NullableArduinoThingtemplate) Unset

func (v *NullableArduinoThingtemplate) Unset()

type NullableArduinoTimeseriesmedia

type NullableArduinoTimeseriesmedia struct {
	// contains filtered or unexported fields
}

func (NullableArduinoTimeseriesmedia) Get

func (NullableArduinoTimeseriesmedia) IsSet

func (NullableArduinoTimeseriesmedia) MarshalJSON

func (v NullableArduinoTimeseriesmedia) MarshalJSON() ([]byte, error)

func (*NullableArduinoTimeseriesmedia) Set

func (*NullableArduinoTimeseriesmedia) UnmarshalJSON

func (v *NullableArduinoTimeseriesmedia) UnmarshalJSON(src []byte) error

func (*NullableArduinoTimeseriesmedia) Unset

func (v *NullableArduinoTimeseriesmedia) Unset()

type NullableArduinoTimezone

type NullableArduinoTimezone struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoTimezone

func NewNullableArduinoTimezone(val *ArduinoTimezone) *NullableArduinoTimezone

func (NullableArduinoTimezone) Get

func (NullableArduinoTimezone) IsSet

func (v NullableArduinoTimezone) IsSet() bool

func (NullableArduinoTimezone) MarshalJSON

func (v NullableArduinoTimezone) MarshalJSON() ([]byte, error)

func (*NullableArduinoTimezone) Set

func (*NullableArduinoTimezone) UnmarshalJSON

func (v *NullableArduinoTimezone) UnmarshalJSON(src []byte) error

func (*NullableArduinoTimezone) Unset

func (v *NullableArduinoTimezone) Unset()

type NullableArduinoTrigger added in v3.0.1

type NullableArduinoTrigger struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoTrigger added in v3.0.1

func NewNullableArduinoTrigger(val *ArduinoTrigger) *NullableArduinoTrigger

func (NullableArduinoTrigger) Get added in v3.0.1

func (NullableArduinoTrigger) IsSet added in v3.0.1

func (v NullableArduinoTrigger) IsSet() bool

func (NullableArduinoTrigger) MarshalJSON added in v3.0.1

func (v NullableArduinoTrigger) MarshalJSON() ([]byte, error)

func (*NullableArduinoTrigger) Set added in v3.0.1

func (*NullableArduinoTrigger) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoTrigger) UnmarshalJSON(src []byte) error

func (*NullableArduinoTrigger) Unset added in v3.0.1

func (v *NullableArduinoTrigger) Unset()

type NullableArduinoTriggerTemplate added in v3.0.1

type NullableArduinoTriggerTemplate struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoTriggerTemplate added in v3.0.1

func NewNullableArduinoTriggerTemplate(val *ArduinoTriggerTemplate) *NullableArduinoTriggerTemplate

func (NullableArduinoTriggerTemplate) Get added in v3.0.1

func (NullableArduinoTriggerTemplate) IsSet added in v3.0.1

func (NullableArduinoTriggerTemplate) MarshalJSON added in v3.0.1

func (v NullableArduinoTriggerTemplate) MarshalJSON() ([]byte, error)

func (*NullableArduinoTriggerTemplate) Set added in v3.0.1

func (*NullableArduinoTriggerTemplate) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoTriggerTemplate) UnmarshalJSON(src []byte) error

func (*NullableArduinoTriggerTemplate) Unset added in v3.0.1

func (v *NullableArduinoTriggerTemplate) Unset()

type NullableArduinoTriggerWithLinkedEntities added in v3.0.1

type NullableArduinoTriggerWithLinkedEntities struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoTriggerWithLinkedEntities added in v3.0.1

func NewNullableArduinoTriggerWithLinkedEntities(val *ArduinoTriggerWithLinkedEntities) *NullableArduinoTriggerWithLinkedEntities

func (NullableArduinoTriggerWithLinkedEntities) Get added in v3.0.1

func (NullableArduinoTriggerWithLinkedEntities) IsSet added in v3.0.1

func (NullableArduinoTriggerWithLinkedEntities) MarshalJSON added in v3.0.1

func (*NullableArduinoTriggerWithLinkedEntities) Set added in v3.0.1

func (*NullableArduinoTriggerWithLinkedEntities) UnmarshalJSON added in v3.0.1

func (v *NullableArduinoTriggerWithLinkedEntities) UnmarshalJSON(src []byte) error

func (*NullableArduinoTriggerWithLinkedEntities) Unset added in v3.0.1

type NullableArduinoVariableslinks struct {
	// contains filtered or unexported fields
}

func (NullableArduinoVariableslinks) Get

func (NullableArduinoVariableslinks) IsSet

func (NullableArduinoVariableslinks) MarshalJSON

func (v NullableArduinoVariableslinks) MarshalJSON() ([]byte, error)

func (*NullableArduinoVariableslinks) Set

func (*NullableArduinoVariableslinks) UnmarshalJSON

func (v *NullableArduinoVariableslinks) UnmarshalJSON(src []byte) error

func (*NullableArduinoVariableslinks) Unset

func (v *NullableArduinoVariableslinks) Unset()

type NullableArduinoWidgetv2

type NullableArduinoWidgetv2 struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoWidgetv2

func NewNullableArduinoWidgetv2(val *ArduinoWidgetv2) *NullableArduinoWidgetv2

func (NullableArduinoWidgetv2) Get

func (NullableArduinoWidgetv2) IsSet

func (v NullableArduinoWidgetv2) IsSet() bool

func (NullableArduinoWidgetv2) MarshalJSON

func (v NullableArduinoWidgetv2) MarshalJSON() ([]byte, error)

func (*NullableArduinoWidgetv2) Set

func (*NullableArduinoWidgetv2) UnmarshalJSON

func (v *NullableArduinoWidgetv2) UnmarshalJSON(src []byte) error

func (*NullableArduinoWidgetv2) Unset

func (v *NullableArduinoWidgetv2) Unset()

type NullableArduinoWidgetv2template

type NullableArduinoWidgetv2template struct {
	// contains filtered or unexported fields
}

func (NullableArduinoWidgetv2template) Get

func (NullableArduinoWidgetv2template) IsSet

func (NullableArduinoWidgetv2template) MarshalJSON

func (v NullableArduinoWidgetv2template) MarshalJSON() ([]byte, error)

func (*NullableArduinoWidgetv2template) Set

func (*NullableArduinoWidgetv2template) UnmarshalJSON

func (v *NullableArduinoWidgetv2template) UnmarshalJSON(src []byte) error

func (*NullableArduinoWidgetv2template) Unset

type NullableBatchLastValueRequestsMediaV1

type NullableBatchLastValueRequestsMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchLastValueRequestsMediaV1) Get

func (NullableBatchLastValueRequestsMediaV1) IsSet

func (NullableBatchLastValueRequestsMediaV1) MarshalJSON

func (v NullableBatchLastValueRequestsMediaV1) MarshalJSON() ([]byte, error)

func (*NullableBatchLastValueRequestsMediaV1) Set

func (*NullableBatchLastValueRequestsMediaV1) UnmarshalJSON

func (v *NullableBatchLastValueRequestsMediaV1) UnmarshalJSON(src []byte) error

func (*NullableBatchLastValueRequestsMediaV1) Unset

type NullableBatchQueryRawLastValueRequestMediaV1

type NullableBatchQueryRawLastValueRequestMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchQueryRawLastValueRequestMediaV1) Get

func (NullableBatchQueryRawLastValueRequestMediaV1) IsSet

func (NullableBatchQueryRawLastValueRequestMediaV1) MarshalJSON

func (*NullableBatchQueryRawLastValueRequestMediaV1) Set

func (*NullableBatchQueryRawLastValueRequestMediaV1) UnmarshalJSON

func (*NullableBatchQueryRawLastValueRequestMediaV1) Unset

type NullableBatchQueryRawRequestMediaV1

type NullableBatchQueryRawRequestMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchQueryRawRequestMediaV1) Get

func (NullableBatchQueryRawRequestMediaV1) IsSet

func (NullableBatchQueryRawRequestMediaV1) MarshalJSON

func (v NullableBatchQueryRawRequestMediaV1) MarshalJSON() ([]byte, error)

func (*NullableBatchQueryRawRequestMediaV1) Set

func (*NullableBatchQueryRawRequestMediaV1) UnmarshalJSON

func (v *NullableBatchQueryRawRequestMediaV1) UnmarshalJSON(src []byte) error

func (*NullableBatchQueryRawRequestMediaV1) Unset

type NullableBatchQueryRawRequestsMediaV1

type NullableBatchQueryRawRequestsMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchQueryRawRequestsMediaV1) Get

func (NullableBatchQueryRawRequestsMediaV1) IsSet

func (NullableBatchQueryRawRequestsMediaV1) MarshalJSON

func (v NullableBatchQueryRawRequestsMediaV1) MarshalJSON() ([]byte, error)

func (*NullableBatchQueryRawRequestsMediaV1) Set

func (*NullableBatchQueryRawRequestsMediaV1) UnmarshalJSON

func (v *NullableBatchQueryRawRequestsMediaV1) UnmarshalJSON(src []byte) error

func (*NullableBatchQueryRawRequestsMediaV1) Unset

type NullableBatchQueryRawResponseSeriesMediaV1

type NullableBatchQueryRawResponseSeriesMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchQueryRawResponseSeriesMediaV1) Get

func (NullableBatchQueryRawResponseSeriesMediaV1) IsSet

func (NullableBatchQueryRawResponseSeriesMediaV1) MarshalJSON

func (*NullableBatchQueryRawResponseSeriesMediaV1) Set

func (*NullableBatchQueryRawResponseSeriesMediaV1) UnmarshalJSON

func (v *NullableBatchQueryRawResponseSeriesMediaV1) UnmarshalJSON(src []byte) error

func (*NullableBatchQueryRawResponseSeriesMediaV1) Unset

type NullableBatchQueryRequestMediaV1

type NullableBatchQueryRequestMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchQueryRequestMediaV1) Get

func (NullableBatchQueryRequestMediaV1) IsSet

func (NullableBatchQueryRequestMediaV1) MarshalJSON

func (v NullableBatchQueryRequestMediaV1) MarshalJSON() ([]byte, error)

func (*NullableBatchQueryRequestMediaV1) Set

func (*NullableBatchQueryRequestMediaV1) UnmarshalJSON

func (v *NullableBatchQueryRequestMediaV1) UnmarshalJSON(src []byte) error

func (*NullableBatchQueryRequestMediaV1) Unset

type NullableBatchQueryRequestsMediaV1

type NullableBatchQueryRequestsMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchQueryRequestsMediaV1) Get

func (NullableBatchQueryRequestsMediaV1) IsSet

func (NullableBatchQueryRequestsMediaV1) MarshalJSON

func (v NullableBatchQueryRequestsMediaV1) MarshalJSON() ([]byte, error)

func (*NullableBatchQueryRequestsMediaV1) Set

func (*NullableBatchQueryRequestsMediaV1) UnmarshalJSON

func (v *NullableBatchQueryRequestsMediaV1) UnmarshalJSON(src []byte) error

func (*NullableBatchQueryRequestsMediaV1) Unset

type NullableBatchQuerySampledRequestMediaV1

type NullableBatchQuerySampledRequestMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchQuerySampledRequestMediaV1) Get

func (NullableBatchQuerySampledRequestMediaV1) IsSet

func (NullableBatchQuerySampledRequestMediaV1) MarshalJSON

func (v NullableBatchQuerySampledRequestMediaV1) MarshalJSON() ([]byte, error)

func (*NullableBatchQuerySampledRequestMediaV1) Set

func (*NullableBatchQuerySampledRequestMediaV1) UnmarshalJSON

func (v *NullableBatchQuerySampledRequestMediaV1) UnmarshalJSON(src []byte) error

func (*NullableBatchQuerySampledRequestMediaV1) Unset

type NullableBatchQuerySampledRequestsMediaV1

type NullableBatchQuerySampledRequestsMediaV1 struct {
	// contains filtered or unexported fields
}

func (NullableBatchQuerySampledRequestsMediaV1) Get

func (NullableBatchQuerySampledRequestsMediaV1) IsSet

func (NullableBatchQuerySampledRequestsMediaV1) MarshalJSON

func (*NullableBatchQuerySampledRequestsMediaV1) Set

func (*NullableBatchQuerySampledRequestsMediaV1) UnmarshalJSON

func (v *NullableBatchQuerySampledRequestsMediaV1) UnmarshalJSON(src []byte) error

func (*NullableBatchQuerySampledRequestsMediaV1) Unset

type NullableBodyExpression added in v3.0.1

type NullableBodyExpression struct {
	// contains filtered or unexported fields
}

func NewNullableBodyExpression added in v3.0.1

func NewNullableBodyExpression(val *BodyExpression) *NullableBodyExpression

func (NullableBodyExpression) Get added in v3.0.1

func (NullableBodyExpression) IsSet added in v3.0.1

func (v NullableBodyExpression) IsSet() bool

func (NullableBodyExpression) MarshalJSON added in v3.0.1

func (v NullableBodyExpression) MarshalJSON() ([]byte, error)

func (*NullableBodyExpression) Set added in v3.0.1

func (*NullableBodyExpression) UnmarshalJSON added in v3.0.1

func (v *NullableBodyExpression) UnmarshalJSON(src []byte) error

func (*NullableBodyExpression) Unset added in v3.0.1

func (v *NullableBodyExpression) 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 NullableCheckDevicesV2PassPayload

type NullableCheckDevicesV2PassPayload struct {
	// contains filtered or unexported fields
}

func (NullableCheckDevicesV2PassPayload) Get

func (NullableCheckDevicesV2PassPayload) IsSet

func (NullableCheckDevicesV2PassPayload) MarshalJSON

func (v NullableCheckDevicesV2PassPayload) MarshalJSON() ([]byte, error)

func (*NullableCheckDevicesV2PassPayload) Set

func (*NullableCheckDevicesV2PassPayload) UnmarshalJSON

func (v *NullableCheckDevicesV2PassPayload) UnmarshalJSON(src []byte) error

func (*NullableCheckDevicesV2PassPayload) Unset

type NullableClone

type NullableClone struct {
	// contains filtered or unexported fields
}

func NewNullableClone

func NewNullableClone(val *Clone) *NullableClone

func (NullableClone) Get

func (v NullableClone) Get() *Clone

func (NullableClone) IsSet

func (v NullableClone) IsSet() bool

func (NullableClone) MarshalJSON

func (v NullableClone) MarshalJSON() ([]byte, error)

func (*NullableClone) Set

func (v *NullableClone) Set(val *Clone)

func (*NullableClone) UnmarshalJSON

func (v *NullableClone) UnmarshalJSON(src []byte) error

func (*NullableClone) Unset

func (v *NullableClone) Unset()

type NullableCreateAction added in v3.0.1

type NullableCreateAction struct {
	// contains filtered or unexported fields
}

func NewNullableCreateAction added in v3.0.1

func NewNullableCreateAction(val *CreateAction) *NullableCreateAction

func (NullableCreateAction) Get added in v3.0.1

func (NullableCreateAction) IsSet added in v3.0.1

func (v NullableCreateAction) IsSet() bool

func (NullableCreateAction) MarshalJSON added in v3.0.1

func (v NullableCreateAction) MarshalJSON() ([]byte, error)

func (*NullableCreateAction) Set added in v3.0.1

func (v *NullableCreateAction) Set(val *CreateAction)

func (*NullableCreateAction) UnmarshalJSON added in v3.0.1

func (v *NullableCreateAction) UnmarshalJSON(src []byte) error

func (*NullableCreateAction) Unset added in v3.0.1

func (v *NullableCreateAction) Unset()

type NullableCreateDevicesV2CertsPayload

type NullableCreateDevicesV2CertsPayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateDevicesV2CertsPayload) Get

func (NullableCreateDevicesV2CertsPayload) IsSet

func (NullableCreateDevicesV2CertsPayload) MarshalJSON

func (v NullableCreateDevicesV2CertsPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateDevicesV2CertsPayload) Set

func (*NullableCreateDevicesV2CertsPayload) UnmarshalJSON

func (v *NullableCreateDevicesV2CertsPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateDevicesV2CertsPayload) Unset

type NullableCreateDevicesV2Payload

type NullableCreateDevicesV2Payload struct {
	// contains filtered or unexported fields
}

func (NullableCreateDevicesV2Payload) Get

func (NullableCreateDevicesV2Payload) IsSet

func (NullableCreateDevicesV2Payload) MarshalJSON

func (v NullableCreateDevicesV2Payload) MarshalJSON() ([]byte, error)

func (*NullableCreateDevicesV2Payload) Set

func (*NullableCreateDevicesV2Payload) UnmarshalJSON

func (v *NullableCreateDevicesV2Payload) UnmarshalJSON(src []byte) error

func (*NullableCreateDevicesV2Payload) Unset

func (v *NullableCreateDevicesV2Payload) Unset()

type NullableCreateLoraDevicesV1Payload

type NullableCreateLoraDevicesV1Payload struct {
	// contains filtered or unexported fields
}

func (NullableCreateLoraDevicesV1Payload) Get

func (NullableCreateLoraDevicesV1Payload) IsSet

func (NullableCreateLoraDevicesV1Payload) MarshalJSON

func (v NullableCreateLoraDevicesV1Payload) MarshalJSON() ([]byte, error)

func (*NullableCreateLoraDevicesV1Payload) Set

func (*NullableCreateLoraDevicesV1Payload) UnmarshalJSON

func (v *NullableCreateLoraDevicesV1Payload) UnmarshalJSON(src []byte) error

func (*NullableCreateLoraDevicesV1Payload) Unset

type NullableDashboardshare

type NullableDashboardshare struct {
	// contains filtered or unexported fields
}

func NewNullableDashboardshare

func NewNullableDashboardshare(val *Dashboardshare) *NullableDashboardshare

func (NullableDashboardshare) Get

func (NullableDashboardshare) IsSet

func (v NullableDashboardshare) IsSet() bool

func (NullableDashboardshare) MarshalJSON

func (v NullableDashboardshare) MarshalJSON() ([]byte, error)

func (*NullableDashboardshare) Set

func (*NullableDashboardshare) UnmarshalJSON

func (v *NullableDashboardshare) UnmarshalJSON(src []byte) error

func (*NullableDashboardshare) Unset

func (v *NullableDashboardshare) Unset()

type NullableDashboardv2

type NullableDashboardv2 struct {
	// contains filtered or unexported fields
}

func NewNullableDashboardv2

func NewNullableDashboardv2(val *Dashboardv2) *NullableDashboardv2

func (NullableDashboardv2) Get

func (NullableDashboardv2) IsSet

func (v NullableDashboardv2) IsSet() bool

func (NullableDashboardv2) MarshalJSON

func (v NullableDashboardv2) MarshalJSON() ([]byte, error)

func (*NullableDashboardv2) Set

func (v *NullableDashboardv2) Set(val *Dashboardv2)

func (*NullableDashboardv2) UnmarshalJSON

func (v *NullableDashboardv2) UnmarshalJSON(src []byte) error

func (*NullableDashboardv2) Unset

func (v *NullableDashboardv2) Unset()

type NullableDeviceStatusSource added in v3.0.1

type NullableDeviceStatusSource struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceStatusSource added in v3.0.1

func NewNullableDeviceStatusSource(val *DeviceStatusSource) *NullableDeviceStatusSource

func (NullableDeviceStatusSource) Get added in v3.0.1

func (NullableDeviceStatusSource) IsSet added in v3.0.1

func (v NullableDeviceStatusSource) IsSet() bool

func (NullableDeviceStatusSource) MarshalJSON added in v3.0.1

func (v NullableDeviceStatusSource) MarshalJSON() ([]byte, error)

func (*NullableDeviceStatusSource) Set added in v3.0.1

func (*NullableDeviceStatusSource) UnmarshalJSON added in v3.0.1

func (v *NullableDeviceStatusSource) UnmarshalJSON(src []byte) error

func (*NullableDeviceStatusSource) Unset added in v3.0.1

func (v *NullableDeviceStatusSource) Unset()

type NullableDeviceStatusSourceWithLinkedDevices added in v3.0.1

type NullableDeviceStatusSourceWithLinkedDevices struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceStatusSourceWithLinkedDevices added in v3.0.1

func NewNullableDeviceStatusSourceWithLinkedDevices(val *DeviceStatusSourceWithLinkedDevices) *NullableDeviceStatusSourceWithLinkedDevices

func (NullableDeviceStatusSourceWithLinkedDevices) Get added in v3.0.1

func (NullableDeviceStatusSourceWithLinkedDevices) IsSet added in v3.0.1

func (NullableDeviceStatusSourceWithLinkedDevices) MarshalJSON added in v3.0.1

func (*NullableDeviceStatusSourceWithLinkedDevices) Set added in v3.0.1

func (*NullableDeviceStatusSourceWithLinkedDevices) UnmarshalJSON added in v3.0.1

func (v *NullableDeviceStatusSourceWithLinkedDevices) UnmarshalJSON(src []byte) error

func (*NullableDeviceStatusSourceWithLinkedDevices) Unset added in v3.0.1

type NullableDevicev2

type NullableDevicev2 struct {
	// contains filtered or unexported fields
}

func NewNullableDevicev2

func NewNullableDevicev2(val *Devicev2) *NullableDevicev2

func (NullableDevicev2) Get

func (v NullableDevicev2) Get() *Devicev2

func (NullableDevicev2) IsSet

func (v NullableDevicev2) IsSet() bool

func (NullableDevicev2) MarshalJSON

func (v NullableDevicev2) MarshalJSON() ([]byte, error)

func (*NullableDevicev2) Set

func (v *NullableDevicev2) Set(val *Devicev2)

func (*NullableDevicev2) UnmarshalJSON

func (v *NullableDevicev2) UnmarshalJSON(src []byte) error

func (*NullableDevicev2) Unset

func (v *NullableDevicev2) Unset()

type NullableDevicev2Cert

type NullableDevicev2Cert struct {
	// contains filtered or unexported fields
}

func NewNullableDevicev2Cert

func NewNullableDevicev2Cert(val *Devicev2Cert) *NullableDevicev2Cert

func (NullableDevicev2Cert) Get

func (NullableDevicev2Cert) IsSet

func (v NullableDevicev2Cert) IsSet() bool

func (NullableDevicev2Cert) MarshalJSON

func (v NullableDevicev2Cert) MarshalJSON() ([]byte, error)

func (*NullableDevicev2Cert) Set

func (v *NullableDevicev2Cert) Set(val *Devicev2Cert)

func (*NullableDevicev2Cert) UnmarshalJSON

func (v *NullableDevicev2Cert) UnmarshalJSON(src []byte) error

func (*NullableDevicev2Cert) Unset

func (v *NullableDevicev2Cert) Unset()

type NullableDevicev2Otabinaryurl

type NullableDevicev2Otabinaryurl struct {
	// contains filtered or unexported fields
}

func NewNullableDevicev2Otabinaryurl

func NewNullableDevicev2Otabinaryurl(val *Devicev2Otabinaryurl) *NullableDevicev2Otabinaryurl

func (NullableDevicev2Otabinaryurl) Get

func (NullableDevicev2Otabinaryurl) IsSet

func (NullableDevicev2Otabinaryurl) MarshalJSON

func (v NullableDevicev2Otabinaryurl) MarshalJSON() ([]byte, error)

func (*NullableDevicev2Otabinaryurl) Set

func (*NullableDevicev2Otabinaryurl) UnmarshalJSON

func (v *NullableDevicev2Otabinaryurl) UnmarshalJSON(src []byte) error

func (*NullableDevicev2Otabinaryurl) Unset

func (v *NullableDevicev2Otabinaryurl) Unset()

type NullableDevicev2Otaurlpyalod

type NullableDevicev2Otaurlpyalod struct {
	// contains filtered or unexported fields
}

func NewNullableDevicev2Otaurlpyalod

func NewNullableDevicev2Otaurlpyalod(val *Devicev2Otaurlpyalod) *NullableDevicev2Otaurlpyalod

func (NullableDevicev2Otaurlpyalod) Get

func (NullableDevicev2Otaurlpyalod) IsSet

func (NullableDevicev2Otaurlpyalod) MarshalJSON

func (v NullableDevicev2Otaurlpyalod) MarshalJSON() ([]byte, error)

func (*NullableDevicev2Otaurlpyalod) Set

func (*NullableDevicev2Otaurlpyalod) UnmarshalJSON

func (v *NullableDevicev2Otaurlpyalod) UnmarshalJSON(src []byte) error

func (*NullableDevicev2Otaurlpyalod) Unset

func (v *NullableDevicev2Otaurlpyalod) Unset()

type NullableDevicev2Pass

type NullableDevicev2Pass struct {
	// contains filtered or unexported fields
}

func NewNullableDevicev2Pass

func NewNullableDevicev2Pass(val *Devicev2Pass) *NullableDevicev2Pass

func (NullableDevicev2Pass) Get

func (NullableDevicev2Pass) IsSet

func (v NullableDevicev2Pass) IsSet() bool

func (NullableDevicev2Pass) MarshalJSON

func (v NullableDevicev2Pass) MarshalJSON() ([]byte, error)

func (*NullableDevicev2Pass) Set

func (v *NullableDevicev2Pass) Set(val *Devicev2Pass)

func (*NullableDevicev2Pass) UnmarshalJSON

func (v *NullableDevicev2Pass) UnmarshalJSON(src []byte) error

func (*NullableDevicev2Pass) Unset

func (v *NullableDevicev2Pass) Unset()

type NullableEmailAction added in v3.0.1

type NullableEmailAction struct {
	// contains filtered or unexported fields
}

func NewNullableEmailAction added in v3.0.1

func NewNullableEmailAction(val *EmailAction) *NullableEmailAction

func (NullableEmailAction) Get added in v3.0.1

func (NullableEmailAction) IsSet added in v3.0.1

func (v NullableEmailAction) IsSet() bool

func (NullableEmailAction) MarshalJSON added in v3.0.1

func (v NullableEmailAction) MarshalJSON() ([]byte, error)

func (*NullableEmailAction) Set added in v3.0.1

func (v *NullableEmailAction) Set(val *EmailAction)

func (*NullableEmailAction) UnmarshalJSON added in v3.0.1

func (v *NullableEmailAction) UnmarshalJSON(src []byte) error

func (*NullableEmailAction) Unset added in v3.0.1

func (v *NullableEmailAction) Unset()

type NullableEmailDeliveryOpts added in v3.0.1

type NullableEmailDeliveryOpts struct {
	// contains filtered or unexported fields
}

func NewNullableEmailDeliveryOpts added in v3.0.1

func NewNullableEmailDeliveryOpts(val *EmailDeliveryOpts) *NullableEmailDeliveryOpts

func (NullableEmailDeliveryOpts) Get added in v3.0.1

func (NullableEmailDeliveryOpts) IsSet added in v3.0.1

func (v NullableEmailDeliveryOpts) IsSet() bool

func (NullableEmailDeliveryOpts) MarshalJSON added in v3.0.1

func (v NullableEmailDeliveryOpts) MarshalJSON() ([]byte, error)

func (*NullableEmailDeliveryOpts) Set added in v3.0.1

func (*NullableEmailDeliveryOpts) UnmarshalJSON added in v3.0.1

func (v *NullableEmailDeliveryOpts) UnmarshalJSON(src []byte) error

func (*NullableEmailDeliveryOpts) Unset added in v3.0.1

func (v *NullableEmailDeliveryOpts) 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 NullableHistoricDataRequest

type NullableHistoricDataRequest struct {
	// contains filtered or unexported fields
}

func NewNullableHistoricDataRequest

func NewNullableHistoricDataRequest(val *HistoricDataRequest) *NullableHistoricDataRequest

func (NullableHistoricDataRequest) Get

func (NullableHistoricDataRequest) IsSet

func (NullableHistoricDataRequest) MarshalJSON

func (v NullableHistoricDataRequest) MarshalJSON() ([]byte, error)

func (*NullableHistoricDataRequest) Set

func (*NullableHistoricDataRequest) UnmarshalJSON

func (v *NullableHistoricDataRequest) UnmarshalJSON(src []byte) error

func (*NullableHistoricDataRequest) Unset

func (v *NullableHistoricDataRequest) 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 NullableModelError

type NullableModelError struct {
	// contains filtered or unexported fields
}

func NewNullableModelError

func NewNullableModelError(val *ModelError) *NullableModelError

func (NullableModelError) Get

func (v NullableModelError) Get() *ModelError

func (NullableModelError) IsSet

func (v NullableModelError) IsSet() bool

func (NullableModelError) MarshalJSON

func (v NullableModelError) MarshalJSON() ([]byte, error)

func (*NullableModelError) Set

func (v *NullableModelError) Set(val *ModelError)

func (*NullableModelError) UnmarshalJSON

func (v *NullableModelError) UnmarshalJSON(src []byte) error

func (*NullableModelError) Unset

func (v *NullableModelError) Unset()

type NullableOverride

type NullableOverride struct {
	// contains filtered or unexported fields
}

func NewNullableOverride

func NewNullableOverride(val *Override) *NullableOverride

func (NullableOverride) Get

func (v NullableOverride) Get() *Override

func (NullableOverride) IsSet

func (v NullableOverride) IsSet() bool

func (NullableOverride) MarshalJSON

func (v NullableOverride) MarshalJSON() ([]byte, error)

func (*NullableOverride) Set

func (v *NullableOverride) Set(val *Override)

func (*NullableOverride) UnmarshalJSON

func (v *NullableOverride) UnmarshalJSON(src []byte) error

func (*NullableOverride) Unset

func (v *NullableOverride) Unset()

type NullablePropertiesValue

type NullablePropertiesValue struct {
	// contains filtered or unexported fields
}

func NewNullablePropertiesValue

func NewNullablePropertiesValue(val *PropertiesValue) *NullablePropertiesValue

func (NullablePropertiesValue) Get

func (NullablePropertiesValue) IsSet

func (v NullablePropertiesValue) IsSet() bool

func (NullablePropertiesValue) MarshalJSON

func (v NullablePropertiesValue) MarshalJSON() ([]byte, error)

func (*NullablePropertiesValue) Set

func (*NullablePropertiesValue) UnmarshalJSON

func (v *NullablePropertiesValue) UnmarshalJSON(src []byte) error

func (*NullablePropertiesValue) Unset

func (v *NullablePropertiesValue) Unset()

type NullablePropertiesValues

type NullablePropertiesValues struct {
	// contains filtered or unexported fields
}

func NewNullablePropertiesValues

func NewNullablePropertiesValues(val *PropertiesValues) *NullablePropertiesValues

func (NullablePropertiesValues) Get

func (NullablePropertiesValues) IsSet

func (v NullablePropertiesValues) IsSet() bool

func (NullablePropertiesValues) MarshalJSON

func (v NullablePropertiesValues) MarshalJSON() ([]byte, error)

func (*NullablePropertiesValues) Set

func (*NullablePropertiesValues) UnmarshalJSON

func (v *NullablePropertiesValues) UnmarshalJSON(src []byte) error

func (*NullablePropertiesValues) Unset

func (v *NullablePropertiesValues) Unset()

type NullableProperty

type NullableProperty struct {
	// contains filtered or unexported fields
}

func NewNullableProperty

func NewNullableProperty(val *Property) *NullableProperty

func (NullableProperty) Get

func (v NullableProperty) Get() *Property

func (NullableProperty) IsSet

func (v NullableProperty) IsSet() bool

func (NullableProperty) MarshalJSON

func (v NullableProperty) MarshalJSON() ([]byte, error)

func (*NullableProperty) Set

func (v *NullableProperty) Set(val *Property)

func (*NullableProperty) UnmarshalJSON

func (v *NullableProperty) UnmarshalJSON(src []byte) error

func (*NullableProperty) Unset

func (v *NullableProperty) Unset()

type NullablePropertyValue

type NullablePropertyValue struct {
	// contains filtered or unexported fields
}

func NewNullablePropertyValue

func NewNullablePropertyValue(val *PropertyValue) *NullablePropertyValue

func (NullablePropertyValue) Get

func (NullablePropertyValue) IsSet

func (v NullablePropertyValue) IsSet() bool

func (NullablePropertyValue) MarshalJSON

func (v NullablePropertyValue) MarshalJSON() ([]byte, error)

func (*NullablePropertyValue) Set

func (v *NullablePropertyValue) Set(val *PropertyValue)

func (*NullablePropertyValue) UnmarshalJSON

func (v *NullablePropertyValue) UnmarshalJSON(src []byte) error

func (*NullablePropertyValue) Unset

func (v *NullablePropertyValue) Unset()

type NullablePushAction added in v3.0.1

type NullablePushAction struct {
	// contains filtered or unexported fields
}

func NewNullablePushAction added in v3.0.1

func NewNullablePushAction(val *PushAction) *NullablePushAction

func (NullablePushAction) Get added in v3.0.1

func (v NullablePushAction) Get() *PushAction

func (NullablePushAction) IsSet added in v3.0.1

func (v NullablePushAction) IsSet() bool

func (NullablePushAction) MarshalJSON added in v3.0.1

func (v NullablePushAction) MarshalJSON() ([]byte, error)

func (*NullablePushAction) Set added in v3.0.1

func (v *NullablePushAction) Set(val *PushAction)

func (*NullablePushAction) UnmarshalJSON added in v3.0.1

func (v *NullablePushAction) UnmarshalJSON(src []byte) error

func (*NullablePushAction) Unset added in v3.0.1

func (v *NullablePushAction) Unset()

type NullablePushDeliveryOpts added in v3.0.1

type NullablePushDeliveryOpts struct {
	// contains filtered or unexported fields
}

func NewNullablePushDeliveryOpts added in v3.0.1

func NewNullablePushDeliveryOpts(val *PushDeliveryOpts) *NullablePushDeliveryOpts

func (NullablePushDeliveryOpts) Get added in v3.0.1

func (NullablePushDeliveryOpts) IsSet added in v3.0.1

func (v NullablePushDeliveryOpts) IsSet() bool

func (NullablePushDeliveryOpts) MarshalJSON added in v3.0.1

func (v NullablePushDeliveryOpts) MarshalJSON() ([]byte, error)

func (*NullablePushDeliveryOpts) Set added in v3.0.1

func (*NullablePushDeliveryOpts) UnmarshalJSON added in v3.0.1

func (v *NullablePushDeliveryOpts) UnmarshalJSON(src []byte) error

func (*NullablePushDeliveryOpts) Unset added in v3.0.1

func (v *NullablePushDeliveryOpts) Unset()

type NullableSharerequest

type NullableSharerequest struct {
	// contains filtered or unexported fields
}

func NewNullableSharerequest

func NewNullableSharerequest(val *Sharerequest) *NullableSharerequest

func (NullableSharerequest) Get

func (NullableSharerequest) IsSet

func (v NullableSharerequest) IsSet() bool

func (NullableSharerequest) MarshalJSON

func (v NullableSharerequest) MarshalJSON() ([]byte, error)

func (*NullableSharerequest) Set

func (v *NullableSharerequest) Set(val *Sharerequest)

func (*NullableSharerequest) UnmarshalJSON

func (v *NullableSharerequest) UnmarshalJSON(src []byte) error

func (*NullableSharerequest) Unset

func (v *NullableSharerequest) 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

type NullableTag struct {
	// contains filtered or unexported fields
}

func NewNullableTag

func NewNullableTag(val *Tag) *NullableTag

func (NullableTag) Get

func (v NullableTag) Get() *Tag

func (NullableTag) IsSet

func (v NullableTag) IsSet() bool

func (NullableTag) MarshalJSON

func (v NullableTag) MarshalJSON() ([]byte, error)

func (*NullableTag) Set

func (v *NullableTag) Set(val *Tag)

func (*NullableTag) UnmarshalJSON

func (v *NullableTag) UnmarshalJSON(src []byte) error

func (*NullableTag) Unset

func (v *NullableTag) Unset()

type NullableTemplate

type NullableTemplate struct {
	// contains filtered or unexported fields
}

func NewNullableTemplate

func NewNullableTemplate(val *Template) *NullableTemplate

func (NullableTemplate) Get

func (v NullableTemplate) Get() *Template

func (NullableTemplate) IsSet

func (v NullableTemplate) IsSet() bool

func (NullableTemplate) MarshalJSON

func (v NullableTemplate) MarshalJSON() ([]byte, error)

func (*NullableTemplate) Set

func (v *NullableTemplate) Set(val *Template)

func (*NullableTemplate) UnmarshalJSON

func (v *NullableTemplate) UnmarshalJSON(src []byte) error

func (*NullableTemplate) Unset

func (v *NullableTemplate) Unset()

type NullableThingClone

type NullableThingClone struct {
	// contains filtered or unexported fields
}

func NewNullableThingClone

func NewNullableThingClone(val *ThingClone) *NullableThingClone

func (NullableThingClone) Get

func (v NullableThingClone) Get() *ThingClone

func (NullableThingClone) IsSet

func (v NullableThingClone) IsSet() bool

func (NullableThingClone) MarshalJSON

func (v NullableThingClone) MarshalJSON() ([]byte, error)

func (*NullableThingClone) Set

func (v *NullableThingClone) Set(val *ThingClone)

func (*NullableThingClone) UnmarshalJSON

func (v *NullableThingClone) UnmarshalJSON(src []byte) error

func (*NullableThingClone) Unset

func (v *NullableThingClone) Unset()

type NullableThingCreate

type NullableThingCreate struct {
	// contains filtered or unexported fields
}

func NewNullableThingCreate

func NewNullableThingCreate(val *ThingCreate) *NullableThingCreate

func (NullableThingCreate) Get

func (NullableThingCreate) IsSet

func (v NullableThingCreate) IsSet() bool

func (NullableThingCreate) MarshalJSON

func (v NullableThingCreate) MarshalJSON() ([]byte, error)

func (*NullableThingCreate) Set

func (v *NullableThingCreate) Set(val *ThingCreate)

func (*NullableThingCreate) UnmarshalJSON

func (v *NullableThingCreate) UnmarshalJSON(src []byte) error

func (*NullableThingCreate) Unset

func (v *NullableThingCreate) Unset()

type NullableThingSketch

type NullableThingSketch struct {
	// contains filtered or unexported fields
}

func NewNullableThingSketch

func NewNullableThingSketch(val *ThingSketch) *NullableThingSketch

func (NullableThingSketch) Get

func (NullableThingSketch) IsSet

func (v NullableThingSketch) IsSet() bool

func (NullableThingSketch) MarshalJSON

func (v NullableThingSketch) MarshalJSON() ([]byte, error)

func (*NullableThingSketch) Set

func (v *NullableThingSketch) Set(val *ThingSketch)

func (*NullableThingSketch) UnmarshalJSON

func (v *NullableThingSketch) UnmarshalJSON(src []byte) error

func (*NullableThingSketch) Unset

func (v *NullableThingSketch) Unset()

type NullableThingUpdate

type NullableThingUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableThingUpdate

func NewNullableThingUpdate(val *ThingUpdate) *NullableThingUpdate

func (NullableThingUpdate) Get

func (NullableThingUpdate) IsSet

func (v NullableThingUpdate) IsSet() bool

func (NullableThingUpdate) MarshalJSON

func (v NullableThingUpdate) MarshalJSON() ([]byte, error)

func (*NullableThingUpdate) Set

func (v *NullableThingUpdate) Set(val *ThingUpdate)

func (*NullableThingUpdate) UnmarshalJSON

func (v *NullableThingUpdate) UnmarshalJSON(src []byte) error

func (*NullableThingUpdate) Unset

func (v *NullableThingUpdate) 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 NullableTimeseriesDataPoint

type NullableTimeseriesDataPoint struct {
	// contains filtered or unexported fields
}

func NewNullableTimeseriesDataPoint

func NewNullableTimeseriesDataPoint(val *TimeseriesDataPoint) *NullableTimeseriesDataPoint

func (NullableTimeseriesDataPoint) Get

func (NullableTimeseriesDataPoint) IsSet

func (NullableTimeseriesDataPoint) MarshalJSON

func (v NullableTimeseriesDataPoint) MarshalJSON() ([]byte, error)

func (*NullableTimeseriesDataPoint) Set

func (*NullableTimeseriesDataPoint) UnmarshalJSON

func (v *NullableTimeseriesDataPoint) UnmarshalJSON(src []byte) error

func (*NullableTimeseriesDataPoint) Unset

func (v *NullableTimeseriesDataPoint) Unset()

type NullableTitleExpression added in v3.0.1

type NullableTitleExpression struct {
	// contains filtered or unexported fields
}

func NewNullableTitleExpression added in v3.0.1

func NewNullableTitleExpression(val *TitleExpression) *NullableTitleExpression

func (NullableTitleExpression) Get added in v3.0.1

func (NullableTitleExpression) IsSet added in v3.0.1

func (v NullableTitleExpression) IsSet() bool

func (NullableTitleExpression) MarshalJSON added in v3.0.1

func (v NullableTitleExpression) MarshalJSON() ([]byte, error)

func (*NullableTitleExpression) Set added in v3.0.1

func (*NullableTitleExpression) UnmarshalJSON added in v3.0.1

func (v *NullableTitleExpression) UnmarshalJSON(src []byte) error

func (*NullableTitleExpression) Unset added in v3.0.1

func (v *NullableTitleExpression) Unset()

type NullableTrigger added in v3.0.1

type NullableTrigger struct {
	// contains filtered or unexported fields
}

func NewNullableTrigger added in v3.0.1

func NewNullableTrigger(val *Trigger) *NullableTrigger

func (NullableTrigger) Get added in v3.0.1

func (v NullableTrigger) Get() *Trigger

func (NullableTrigger) IsSet added in v3.0.1

func (v NullableTrigger) IsSet() bool

func (NullableTrigger) MarshalJSON added in v3.0.1

func (v NullableTrigger) MarshalJSON() ([]byte, error)

func (*NullableTrigger) Set added in v3.0.1

func (v *NullableTrigger) Set(val *Trigger)

func (*NullableTrigger) UnmarshalJSON added in v3.0.1

func (v *NullableTrigger) UnmarshalJSON(src []byte) error

func (*NullableTrigger) Unset added in v3.0.1

func (v *NullableTrigger) Unset()

type NullableUpdateAction added in v3.0.1

type NullableUpdateAction struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateAction added in v3.0.1

func NewNullableUpdateAction(val *UpdateAction) *NullableUpdateAction

func (NullableUpdateAction) Get added in v3.0.1

func (NullableUpdateAction) IsSet added in v3.0.1

func (v NullableUpdateAction) IsSet() bool

func (NullableUpdateAction) MarshalJSON added in v3.0.1

func (v NullableUpdateAction) MarshalJSON() ([]byte, error)

func (*NullableUpdateAction) Set added in v3.0.1

func (v *NullableUpdateAction) Set(val *UpdateAction)

func (*NullableUpdateAction) UnmarshalJSON added in v3.0.1

func (v *NullableUpdateAction) UnmarshalJSON(src []byte) error

func (*NullableUpdateAction) Unset added in v3.0.1

func (v *NullableUpdateAction) Unset()

type NullableUpdateSketch

type NullableUpdateSketch struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateSketch

func NewNullableUpdateSketch(val *UpdateSketch) *NullableUpdateSketch

func (NullableUpdateSketch) Get

func (NullableUpdateSketch) IsSet

func (v NullableUpdateSketch) IsSet() bool

func (NullableUpdateSketch) MarshalJSON

func (v NullableUpdateSketch) MarshalJSON() ([]byte, error)

func (*NullableUpdateSketch) Set

func (v *NullableUpdateSketch) Set(val *UpdateSketch)

func (*NullableUpdateSketch) UnmarshalJSON

func (v *NullableUpdateSketch) UnmarshalJSON(src []byte) error

func (*NullableUpdateSketch) Unset

func (v *NullableUpdateSketch) Unset()

type NullableUserRecipient added in v3.0.1

type NullableUserRecipient struct {
	// contains filtered or unexported fields
}

func NewNullableUserRecipient added in v3.0.1

func NewNullableUserRecipient(val *UserRecipient) *NullableUserRecipient

func (NullableUserRecipient) Get added in v3.0.1

func (NullableUserRecipient) IsSet added in v3.0.1

func (v NullableUserRecipient) IsSet() bool

func (NullableUserRecipient) MarshalJSON added in v3.0.1

func (v NullableUserRecipient) MarshalJSON() ([]byte, error)

func (*NullableUserRecipient) Set added in v3.0.1

func (v *NullableUserRecipient) Set(val *UserRecipient)

func (*NullableUserRecipient) UnmarshalJSON added in v3.0.1

func (v *NullableUserRecipient) UnmarshalJSON(src []byte) error

func (*NullableUserRecipient) Unset added in v3.0.1

func (v *NullableUserRecipient) Unset()

type NullableVariable added in v3.0.1

type NullableVariable struct {
	// contains filtered or unexported fields
}

func NewNullableVariable added in v3.0.1

func NewNullableVariable(val *Variable) *NullableVariable

func (NullableVariable) Get added in v3.0.1

func (v NullableVariable) Get() *Variable

func (NullableVariable) IsSet added in v3.0.1

func (v NullableVariable) IsSet() bool

func (NullableVariable) MarshalJSON added in v3.0.1

func (v NullableVariable) MarshalJSON() ([]byte, error)

func (*NullableVariable) Set added in v3.0.1

func (v *NullableVariable) Set(val *Variable)

func (*NullableVariable) UnmarshalJSON added in v3.0.1

func (v *NullableVariable) UnmarshalJSON(src []byte) error

func (*NullableVariable) Unset added in v3.0.1

func (v *NullableVariable) 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 NullableWidgetlink struct {
	// contains filtered or unexported fields
}
func NewNullableWidgetlink(val *Widgetlink) *NullableWidgetlink

func (NullableWidgetlink) Get

func (v NullableWidgetlink) Get() *Widgetlink

func (NullableWidgetlink) IsSet

func (v NullableWidgetlink) IsSet() bool

func (NullableWidgetlink) MarshalJSON

func (v NullableWidgetlink) MarshalJSON() ([]byte, error)

func (*NullableWidgetlink) Set

func (v *NullableWidgetlink) Set(val *Widgetlink)

func (*NullableWidgetlink) UnmarshalJSON

func (v *NullableWidgetlink) UnmarshalJSON(src []byte) error

func (*NullableWidgetlink) Unset

func (v *NullableWidgetlink) Unset()

type Override

type Override struct {
	// The id of the new thing to link
	NewThingId string `json:"new_thing_id"`
	// The id of the thing to override
	OldThingId string `json:"old_thing_id"`
}

Override struct for Override

func NewOverride

func NewOverride(newThingId string, oldThingId string) *Override

NewOverride instantiates a new Override 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 NewOverrideWithDefaults

func NewOverrideWithDefaults() *Override

NewOverrideWithDefaults instantiates a new Override 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 (*Override) GetNewThingId

func (o *Override) GetNewThingId() string

GetNewThingId returns the NewThingId field value

func (*Override) GetNewThingIdOk

func (o *Override) GetNewThingIdOk() (*string, bool)

GetNewThingIdOk returns a tuple with the NewThingId field value and a boolean to check if the value has been set.

func (*Override) GetOldThingId

func (o *Override) GetOldThingId() string

GetOldThingId returns the OldThingId field value

func (*Override) GetOldThingIdOk

func (o *Override) GetOldThingIdOk() (*string, bool)

GetOldThingIdOk returns a tuple with the OldThingId field value and a boolean to check if the value has been set.

func (Override) MarshalJSON

func (o Override) MarshalJSON() ([]byte, error)

func (*Override) SetNewThingId

func (o *Override) SetNewThingId(v string)

SetNewThingId sets field value

func (*Override) SetOldThingId

func (o *Override) SetOldThingId(v string)

SetOldThingId sets field value

func (Override) ToMap

func (o Override) ToMap() (map[string]interface{}, error)

func (*Override) UnmarshalJSON

func (o *Override) UnmarshalJSON(data []byte) (err error)

type PropertiesV2APIService

type PropertiesV2APIService service

PropertiesV2APIService PropertiesV2API service

func (*PropertiesV2APIService) PropertiesV2Create

PropertiesV2Create create properties_v2

Creates a new property associated to a thing

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiPropertiesV2CreateRequest

func (*PropertiesV2APIService) PropertiesV2CreateExecute

Execute executes the request

@return ArduinoProperty

func (*PropertiesV2APIService) PropertiesV2Delete

PropertiesV2Delete delete properties_v2

Removes a property associated to a thing

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@param pid The id of the property
@return ApiPropertiesV2DeleteRequest

func (*PropertiesV2APIService) PropertiesV2DeleteExecute

func (a *PropertiesV2APIService) PropertiesV2DeleteExecute(r ApiPropertiesV2DeleteRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesV2APIService) PropertiesV2List

PropertiesV2List list properties_v2

Returns the list of properties associated to the thing

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiPropertiesV2ListRequest

func (*PropertiesV2APIService) PropertiesV2ListExecute

Execute executes the request

@return []ArduinoProperty

func (*PropertiesV2APIService) PropertiesV2Publish

PropertiesV2Publish publish properties_v2

Publish a property value to MQTT

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@param pid The id of the property
@return ApiPropertiesV2PublishRequest

func (*PropertiesV2APIService) PropertiesV2PublishExecute

func (a *PropertiesV2APIService) PropertiesV2PublishExecute(r ApiPropertiesV2PublishRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesV2APIService) PropertiesV2Show

PropertiesV2Show show properties_v2

Returns the property requested by the user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@param pid The id of the property
@return ApiPropertiesV2ShowRequest

func (*PropertiesV2APIService) PropertiesV2ShowExecute

Execute executes the request

@return ArduinoProperty

func (*PropertiesV2APIService) PropertiesV2Timeseries

func (a *PropertiesV2APIService) PropertiesV2Timeseries(ctx context.Context, id string, pid string) ApiPropertiesV2TimeseriesRequest

PropertiesV2Timeseries timeseries properties_v2

Get numerical property's historic data binned on a specified time interval (note: the total number of data points should NOT be greater than 1000 otherwise the result will be truncated)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@param pid ID of a numerical property
@return ApiPropertiesV2TimeseriesRequest

func (*PropertiesV2APIService) PropertiesV2TimeseriesExecute

Execute executes the request

@return ArduinoTimeseriesmedia

func (*PropertiesV2APIService) PropertiesV2Update

PropertiesV2Update update properties_v2

Updates a property associated to a thing

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@param pid The id of the property
@return ApiPropertiesV2UpdateRequest

func (*PropertiesV2APIService) PropertiesV2UpdateExecute

Execute executes the request

@return ArduinoProperty

type PropertiesValue

type PropertiesValue struct {
	// The name of the property
	Name string `json:"name"`
	// The type of the property
	Type string `json:"type"`
	// The last value of the property
	Value interface{} `json:"value"`
}

PropertiesValue struct for PropertiesValue

func NewPropertiesValue

func NewPropertiesValue(name string, type_ string, value interface{}) *PropertiesValue

NewPropertiesValue instantiates a new PropertiesValue 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 NewPropertiesValueWithDefaults

func NewPropertiesValueWithDefaults() *PropertiesValue

NewPropertiesValueWithDefaults instantiates a new PropertiesValue 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 (*PropertiesValue) GetName

func (o *PropertiesValue) GetName() string

GetName returns the Name field value

func (*PropertiesValue) GetNameOk

func (o *PropertiesValue) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PropertiesValue) GetType

func (o *PropertiesValue) GetType() string

GetType returns the Type field value

func (*PropertiesValue) GetTypeOk

func (o *PropertiesValue) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*PropertiesValue) GetValue

func (o *PropertiesValue) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*PropertiesValue) GetValueOk

func (o *PropertiesValue) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value 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 (PropertiesValue) MarshalJSON

func (o PropertiesValue) MarshalJSON() ([]byte, error)

func (*PropertiesValue) SetName

func (o *PropertiesValue) SetName(v string)

SetName sets field value

func (*PropertiesValue) SetType

func (o *PropertiesValue) SetType(v string)

SetType sets field value

func (*PropertiesValue) SetValue

func (o *PropertiesValue) SetValue(v interface{})

SetValue sets field value

func (PropertiesValue) ToMap

func (o PropertiesValue) ToMap() (map[string]interface{}, error)

func (*PropertiesValue) UnmarshalJSON

func (o *PropertiesValue) UnmarshalJSON(data []byte) (err error)

type PropertiesValues

type PropertiesValues struct {
	// If true, send property values to device's input topic.
	Input      *bool             `json:"input,omitempty"`
	Properties []PropertiesValue `json:"properties"`
}

PropertiesValues struct for PropertiesValues

func NewPropertiesValues

func NewPropertiesValues(properties []PropertiesValue) *PropertiesValues

NewPropertiesValues instantiates a new PropertiesValues 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 NewPropertiesValuesWithDefaults

func NewPropertiesValuesWithDefaults() *PropertiesValues

NewPropertiesValuesWithDefaults instantiates a new PropertiesValues 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 (*PropertiesValues) GetInput

func (o *PropertiesValues) GetInput() bool

GetInput returns the Input field value if set, zero value otherwise.

func (*PropertiesValues) GetInputOk

func (o *PropertiesValues) GetInputOk() (*bool, bool)

GetInputOk returns a tuple with the Input field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertiesValues) GetProperties

func (o *PropertiesValues) GetProperties() []PropertiesValue

GetProperties returns the Properties field value

func (*PropertiesValues) GetPropertiesOk

func (o *PropertiesValues) GetPropertiesOk() ([]PropertiesValue, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*PropertiesValues) HasInput

func (o *PropertiesValues) HasInput() bool

HasInput returns a boolean if a field has been set.

func (PropertiesValues) MarshalJSON

func (o PropertiesValues) MarshalJSON() ([]byte, error)

func (*PropertiesValues) SetInput

func (o *PropertiesValues) SetInput(v bool)

SetInput gets a reference to the given bool and assigns it to the Input field.

func (*PropertiesValues) SetProperties

func (o *PropertiesValues) SetProperties(v []PropertiesValue)

SetProperties sets field value

func (PropertiesValues) ToMap

func (o PropertiesValues) ToMap() (map[string]interface{}, error)

func (*PropertiesValues) UnmarshalJSON

func (o *PropertiesValues) UnmarshalJSON(data []byte) (err error)

type Property

type Property struct {
	// Maximum value of this property
	MaxValue *float64 `json:"max_value,omitempty"`
	// Minimum value of this property
	MinValue *float64 `json:"min_value,omitempty"`
	// The friendly name of the property
	Name string `json:"name"`
	// The permission of the property
	Permission string `json:"permission"`
	// If true, data will persist into a timeseries database
	Persist *bool `json:"persist,omitempty"`
	// The integer id of the property
	Tag *int64 `json:"tag,omitempty"`
	// The type of the property
	Type string `json:"type"`
	// The update frequency in seconds, or the amount of the property has to change in order to trigger an update
	UpdateParameter *float64 `json:"update_parameter,omitempty"`
	// The update strategy for the property value
	UpdateStrategy string `json:"update_strategy"`
	// The  sketch variable name of the property
	VariableName *string `json:"variable_name,omitempty" validate:"regexp=^[a-zA-Z_][a-zA-Z0-9_]*$"`
}

Property PropertyPayload describes a property of a thing. No field is mandatory

func NewProperty

func NewProperty(name string, permission string, type_ string, updateStrategy string) *Property

NewProperty instantiates a new Property 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 NewPropertyWithDefaults

func NewPropertyWithDefaults() *Property

NewPropertyWithDefaults instantiates a new Property 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 (*Property) GetMaxValue

func (o *Property) GetMaxValue() float64

GetMaxValue returns the MaxValue field value if set, zero value otherwise.

func (*Property) GetMaxValueOk

func (o *Property) GetMaxValueOk() (*float64, bool)

GetMaxValueOk returns a tuple with the MaxValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Property) GetMinValue

func (o *Property) GetMinValue() float64

GetMinValue returns the MinValue field value if set, zero value otherwise.

func (*Property) GetMinValueOk

func (o *Property) GetMinValueOk() (*float64, bool)

GetMinValueOk returns a tuple with the MinValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Property) GetName

func (o *Property) GetName() string

GetName returns the Name field value

func (*Property) GetNameOk

func (o *Property) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Property) GetPermission

func (o *Property) GetPermission() string

GetPermission returns the Permission field value

func (*Property) GetPermissionOk

func (o *Property) GetPermissionOk() (*string, bool)

GetPermissionOk returns a tuple with the Permission field value and a boolean to check if the value has been set.

func (*Property) GetPersist

func (o *Property) GetPersist() bool

GetPersist returns the Persist field value if set, zero value otherwise.

func (*Property) GetPersistOk

func (o *Property) GetPersistOk() (*bool, bool)

GetPersistOk returns a tuple with the Persist field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Property) GetTag

func (o *Property) GetTag() int64

GetTag returns the Tag field value if set, zero value otherwise.

func (*Property) GetTagOk

func (o *Property) GetTagOk() (*int64, bool)

GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Property) GetType

func (o *Property) GetType() string

GetType returns the Type field value

func (*Property) GetTypeOk

func (o *Property) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Property) GetUpdateParameter

func (o *Property) GetUpdateParameter() float64

GetUpdateParameter returns the UpdateParameter field value if set, zero value otherwise.

func (*Property) GetUpdateParameterOk

func (o *Property) GetUpdateParameterOk() (*float64, bool)

GetUpdateParameterOk returns a tuple with the UpdateParameter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Property) GetUpdateStrategy

func (o *Property) GetUpdateStrategy() string

GetUpdateStrategy returns the UpdateStrategy field value

func (*Property) GetUpdateStrategyOk

func (o *Property) GetUpdateStrategyOk() (*string, bool)

GetUpdateStrategyOk returns a tuple with the UpdateStrategy field value and a boolean to check if the value has been set.

func (*Property) GetVariableName

func (o *Property) GetVariableName() string

GetVariableName returns the VariableName field value if set, zero value otherwise.

func (*Property) GetVariableNameOk

func (o *Property) GetVariableNameOk() (*string, bool)

GetVariableNameOk returns a tuple with the VariableName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Property) HasMaxValue

func (o *Property) HasMaxValue() bool

HasMaxValue returns a boolean if a field has been set.

func (*Property) HasMinValue

func (o *Property) HasMinValue() bool

HasMinValue returns a boolean if a field has been set.

func (*Property) HasPersist

func (o *Property) HasPersist() bool

HasPersist returns a boolean if a field has been set.

func (*Property) HasTag

func (o *Property) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*Property) HasUpdateParameter

func (o *Property) HasUpdateParameter() bool

HasUpdateParameter returns a boolean if a field has been set.

func (*Property) HasVariableName

func (o *Property) HasVariableName() bool

HasVariableName returns a boolean if a field has been set.

func (Property) MarshalJSON

func (o Property) MarshalJSON() ([]byte, error)

func (*Property) SetMaxValue

func (o *Property) SetMaxValue(v float64)

SetMaxValue gets a reference to the given float64 and assigns it to the MaxValue field.

func (*Property) SetMinValue

func (o *Property) SetMinValue(v float64)

SetMinValue gets a reference to the given float64 and assigns it to the MinValue field.

func (*Property) SetName

func (o *Property) SetName(v string)

SetName sets field value

func (*Property) SetPermission

func (o *Property) SetPermission(v string)

SetPermission sets field value

func (*Property) SetPersist

func (o *Property) SetPersist(v bool)

SetPersist gets a reference to the given bool and assigns it to the Persist field.

func (*Property) SetTag

func (o *Property) SetTag(v int64)

SetTag gets a reference to the given int64 and assigns it to the Tag field.

func (*Property) SetType

func (o *Property) SetType(v string)

SetType sets field value

func (*Property) SetUpdateParameter

func (o *Property) SetUpdateParameter(v float64)

SetUpdateParameter gets a reference to the given float64 and assigns it to the UpdateParameter field.

func (*Property) SetUpdateStrategy

func (o *Property) SetUpdateStrategy(v string)

SetUpdateStrategy sets field value

func (*Property) SetVariableName

func (o *Property) SetVariableName(v string)

SetVariableName gets a reference to the given string and assigns it to the VariableName field.

func (Property) ToMap

func (o Property) ToMap() (map[string]interface{}, error)

func (*Property) UnmarshalJSON

func (o *Property) UnmarshalJSON(data []byte) (err error)

type PropertyTypesV1APIService

type PropertyTypesV1APIService service

PropertyTypesV1APIService PropertyTypesV1API service

func (*PropertyTypesV1APIService) PropertyTypesV1ListTypes

PropertyTypesV1ListTypes listTypes property_types_v1

Returns the list of available property types

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPropertyTypesV1ListTypesRequest

func (*PropertyTypesV1APIService) PropertyTypesV1ListTypesExecute

Execute executes the request

@return []ArduinoPropertytype

type PropertyValue

type PropertyValue struct {
	// The device who send the property
	DeviceId *string `json:"device_id,omitempty"`
	// The property value
	Value interface{} `json:"value"`
}

PropertyValue PropertyValuePayload describes a property value

func NewPropertyValue

func NewPropertyValue(value interface{}) *PropertyValue

NewPropertyValue instantiates a new PropertyValue 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 NewPropertyValueWithDefaults

func NewPropertyValueWithDefaults() *PropertyValue

NewPropertyValueWithDefaults instantiates a new PropertyValue 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 (*PropertyValue) GetDeviceId

func (o *PropertyValue) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*PropertyValue) GetDeviceIdOk

func (o *PropertyValue) GetDeviceIdOk() (*string, 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.

func (*PropertyValue) GetValue

func (o *PropertyValue) GetValue() interface{}

GetValue returns the Value field value If the value is explicit nil, the zero value for interface{} will be returned

func (*PropertyValue) GetValueOk

func (o *PropertyValue) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value 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 (*PropertyValue) HasDeviceId

func (o *PropertyValue) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (PropertyValue) MarshalJSON

func (o PropertyValue) MarshalJSON() ([]byte, error)

func (*PropertyValue) SetDeviceId

func (o *PropertyValue) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*PropertyValue) SetValue

func (o *PropertyValue) SetValue(v interface{})

SetValue sets field value

func (PropertyValue) ToMap

func (o PropertyValue) ToMap() (map[string]interface{}, error)

func (*PropertyValue) UnmarshalJSON

func (o *PropertyValue) UnmarshalJSON(data []byte) (err error)

type PushAction added in v3.0.1

type PushAction struct {
	Body     BodyExpression   `json:"body"`
	Delivery PushDeliveryOpts `json:"delivery"`
	Title    TitleExpression  `json:"title"`
}

PushAction struct for PushAction

func NewPushAction added in v3.0.1

func NewPushAction(body BodyExpression, delivery PushDeliveryOpts, title TitleExpression) *PushAction

NewPushAction instantiates a new PushAction 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 NewPushActionWithDefaults added in v3.0.1

func NewPushActionWithDefaults() *PushAction

NewPushActionWithDefaults instantiates a new PushAction 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 (*PushAction) GetBody added in v3.0.1

func (o *PushAction) GetBody() BodyExpression

GetBody returns the Body field value

func (*PushAction) GetBodyOk added in v3.0.1

func (o *PushAction) GetBodyOk() (*BodyExpression, bool)

GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.

func (*PushAction) GetDelivery added in v3.0.1

func (o *PushAction) GetDelivery() PushDeliveryOpts

GetDelivery returns the Delivery field value

func (*PushAction) GetDeliveryOk added in v3.0.1

func (o *PushAction) GetDeliveryOk() (*PushDeliveryOpts, bool)

GetDeliveryOk returns a tuple with the Delivery field value and a boolean to check if the value has been set.

func (*PushAction) GetTitle added in v3.0.1

func (o *PushAction) GetTitle() TitleExpression

GetTitle returns the Title field value

func (*PushAction) GetTitleOk added in v3.0.1

func (o *PushAction) GetTitleOk() (*TitleExpression, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (PushAction) MarshalJSON added in v3.0.1

func (o PushAction) MarshalJSON() ([]byte, error)

func (*PushAction) SetBody added in v3.0.1

func (o *PushAction) SetBody(v BodyExpression)

SetBody sets field value

func (*PushAction) SetDelivery added in v3.0.1

func (o *PushAction) SetDelivery(v PushDeliveryOpts)

SetDelivery sets field value

func (*PushAction) SetTitle added in v3.0.1

func (o *PushAction) SetTitle(v TitleExpression)

SetTitle sets field value

func (PushAction) ToMap added in v3.0.1

func (o PushAction) ToMap() (map[string]interface{}, error)

func (*PushAction) UnmarshalJSON added in v3.0.1

func (o *PushAction) UnmarshalJSON(data []byte) (err error)

type PushDeliveryOpts added in v3.0.1

type PushDeliveryOpts struct {
	// The recipient of a push notification
	To []UserRecipient `json:"to"`
}

PushDeliveryOpts struct for PushDeliveryOpts

func NewPushDeliveryOpts added in v3.0.1

func NewPushDeliveryOpts(to []UserRecipient) *PushDeliveryOpts

NewPushDeliveryOpts instantiates a new PushDeliveryOpts 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 NewPushDeliveryOptsWithDefaults added in v3.0.1

func NewPushDeliveryOptsWithDefaults() *PushDeliveryOpts

NewPushDeliveryOptsWithDefaults instantiates a new PushDeliveryOpts 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 (*PushDeliveryOpts) GetTo added in v3.0.1

func (o *PushDeliveryOpts) GetTo() []UserRecipient

GetTo returns the To field value

func (*PushDeliveryOpts) GetToOk added in v3.0.1

func (o *PushDeliveryOpts) GetToOk() ([]UserRecipient, bool)

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (PushDeliveryOpts) MarshalJSON added in v3.0.1

func (o PushDeliveryOpts) MarshalJSON() ([]byte, error)

func (*PushDeliveryOpts) SetTo added in v3.0.1

func (o *PushDeliveryOpts) SetTo(v []UserRecipient)

SetTo sets field value

func (PushDeliveryOpts) ToMap added in v3.0.1

func (o PushDeliveryOpts) ToMap() (map[string]interface{}, error)

func (*PushDeliveryOpts) UnmarshalJSON added in v3.0.1

func (o *PushDeliveryOpts) UnmarshalJSON(data []byte) (err error)

type SeriesV2APIService

type SeriesV2APIService service

SeriesV2APIService SeriesV2API service

func (*SeriesV2APIService) SeriesV2BatchQuery

SeriesV2BatchQuery batch_query series_v2

Returns the batch of time-series aggregated samples

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSeriesV2BatchQueryRequest

func (*SeriesV2APIService) SeriesV2BatchQueryExecute

Execute executes the request

@return ArduinoSeriesBatch

func (*SeriesV2APIService) SeriesV2BatchQueryRaw

func (a *SeriesV2APIService) SeriesV2BatchQueryRaw(ctx context.Context) ApiSeriesV2BatchQueryRawRequest

SeriesV2BatchQueryRaw batch_query_raw series_v2

Returns the batch of time-series raw samples

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSeriesV2BatchQueryRawRequest

func (*SeriesV2APIService) SeriesV2BatchQueryRawExecute

Execute executes the request

@return ArduinoSeriesRawBatch

func (*SeriesV2APIService) SeriesV2BatchQueryRawLastValue

func (a *SeriesV2APIService) SeriesV2BatchQueryRawLastValue(ctx context.Context) ApiSeriesV2BatchQueryRawLastValueRequest

SeriesV2BatchQueryRawLastValue batch_query_raw_last_value series_v2

Returns the batch of time-series data raw

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSeriesV2BatchQueryRawLastValueRequest

func (*SeriesV2APIService) SeriesV2BatchQueryRawLastValueExecute

Execute executes the request

@return ArduinoSeriesRawBatchLastvalue

func (*SeriesV2APIService) SeriesV2BatchQuerySampling

func (a *SeriesV2APIService) SeriesV2BatchQuerySampling(ctx context.Context) ApiSeriesV2BatchQuerySamplingRequest

SeriesV2BatchQuerySampling batch_query_sampling series_v2

Returns a batch of time-series sampled samples. To be used for types that does not support mathematic aggregation. Types supported: strings, complex types.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSeriesV2BatchQuerySamplingRequest

func (*SeriesV2APIService) SeriesV2BatchQuerySamplingExecute

Execute executes the request

@return ArduinoSeriesBatchSampled

func (*SeriesV2APIService) SeriesV2HistoricData

SeriesV2HistoricData historic_data series_v2

Request sending of historical data of properties by email

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSeriesV2HistoricDataRequest

func (*SeriesV2APIService) SeriesV2HistoricDataExecute

func (a *SeriesV2APIService) SeriesV2HistoricDataExecute(r ApiSeriesV2HistoricDataRequest) (*http.Response, error)

Execute executes the request

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 Sharerequest

type Sharerequest struct {
	// The message the user want to send to the dashboard owner
	Message *string `json:"message,omitempty"`
}

Sharerequest struct for Sharerequest

func NewSharerequest

func NewSharerequest() *Sharerequest

NewSharerequest instantiates a new Sharerequest 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 NewSharerequestWithDefaults

func NewSharerequestWithDefaults() *Sharerequest

NewSharerequestWithDefaults instantiates a new Sharerequest 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 (*Sharerequest) GetMessage

func (o *Sharerequest) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Sharerequest) GetMessageOk

func (o *Sharerequest) GetMessageOk() (*string, 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.

func (*Sharerequest) HasMessage

func (o *Sharerequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Sharerequest) MarshalJSON

func (o Sharerequest) MarshalJSON() ([]byte, error)

func (*Sharerequest) SetMessage

func (o *Sharerequest) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (Sharerequest) ToMap

func (o Sharerequest) ToMap() (map[string]interface{}, error)

type Tag

type Tag struct {
	// Key of the tag
	Key string `json:"key" validate:"regexp=^[a-zA-Z0-9_.@-]+$"`
	// Value of the tag
	Value string `json:"value" validate:"regexp=^[a-zA-Z0-9_.@-]+$"`
}

Tag struct for Tag

func NewTag

func NewTag(key string, value 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

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) GetKey

func (o *Tag) GetKey() string

GetKey returns the Key field value

func (*Tag) GetKeyOk

func (o *Tag) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*Tag) GetValue

func (o *Tag) GetValue() string

GetValue returns the Value field value

func (*Tag) GetValueOk

func (o *Tag) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (Tag) MarshalJSON

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetKey

func (o *Tag) SetKey(v string)

SetKey sets field value

func (*Tag) SetValue

func (o *Tag) SetValue(v string)

SetValue sets field value

func (Tag) ToMap

func (o Tag) ToMap() (map[string]interface{}, error)

func (*Tag) UnmarshalJSON

func (o *Tag) UnmarshalJSON(data []byte) (err error)

type Template

type Template struct {
	// The name of the directory on S3 bucket containing the user's template
	CustomTemplateId *string `json:"custom_template_id,omitempty"`
	// The prefix to apply to the names of the generated resources
	PrefixName *string `json:"prefix_name,omitempty" validate:"regexp=^[a-zA-Z0-9_. -]+$"`
	// The name of the directory on S3 bucket containing the template
	TemplateName  string                 `json:"template_name"`
	ThingsOptions map[string]interface{} `json:"things_options,omitempty"`
}

Template TemplatePayload describes the needed attribute to apply a template

func NewTemplate

func NewTemplate(templateName string) *Template

NewTemplate instantiates a new Template 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 NewTemplateWithDefaults

func NewTemplateWithDefaults() *Template

NewTemplateWithDefaults instantiates a new Template 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 (*Template) GetCustomTemplateId

func (o *Template) GetCustomTemplateId() string

GetCustomTemplateId returns the CustomTemplateId field value if set, zero value otherwise.

func (*Template) GetCustomTemplateIdOk

func (o *Template) GetCustomTemplateIdOk() (*string, bool)

GetCustomTemplateIdOk returns a tuple with the CustomTemplateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Template) GetPrefixName

func (o *Template) GetPrefixName() string

GetPrefixName returns the PrefixName field value if set, zero value otherwise.

func (*Template) GetPrefixNameOk

func (o *Template) GetPrefixNameOk() (*string, bool)

GetPrefixNameOk returns a tuple with the PrefixName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Template) GetTemplateName

func (o *Template) GetTemplateName() string

GetTemplateName returns the TemplateName field value

func (*Template) GetTemplateNameOk

func (o *Template) GetTemplateNameOk() (*string, bool)

GetTemplateNameOk returns a tuple with the TemplateName field value and a boolean to check if the value has been set.

func (*Template) GetThingsOptions

func (o *Template) GetThingsOptions() map[string]interface{}

GetThingsOptions returns the ThingsOptions field value if set, zero value otherwise.

func (*Template) GetThingsOptionsOk

func (o *Template) GetThingsOptionsOk() (map[string]interface{}, bool)

GetThingsOptionsOk returns a tuple with the ThingsOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Template) HasCustomTemplateId

func (o *Template) HasCustomTemplateId() bool

HasCustomTemplateId returns a boolean if a field has been set.

func (*Template) HasPrefixName

func (o *Template) HasPrefixName() bool

HasPrefixName returns a boolean if a field has been set.

func (*Template) HasThingsOptions

func (o *Template) HasThingsOptions() bool

HasThingsOptions returns a boolean if a field has been set.

func (Template) MarshalJSON

func (o Template) MarshalJSON() ([]byte, error)

func (*Template) SetCustomTemplateId

func (o *Template) SetCustomTemplateId(v string)

SetCustomTemplateId gets a reference to the given string and assigns it to the CustomTemplateId field.

func (*Template) SetPrefixName

func (o *Template) SetPrefixName(v string)

SetPrefixName gets a reference to the given string and assigns it to the PrefixName field.

func (*Template) SetTemplateName

func (o *Template) SetTemplateName(v string)

SetTemplateName sets field value

func (*Template) SetThingsOptions

func (o *Template) SetThingsOptions(v map[string]interface{})

SetThingsOptions gets a reference to the given map[string]interface{} and assigns it to the ThingsOptions field.

func (Template) ToMap

func (o Template) ToMap() (map[string]interface{}, error)

func (*Template) UnmarshalJSON

func (o *Template) UnmarshalJSON(data []byte) (err error)

type TemplatesAPIService

type TemplatesAPIService service

TemplatesAPIService TemplatesAPI service

func (*TemplatesAPIService) TemplatesApply

TemplatesApply apply templates

Apply an existing cloud template and generate all the needed resources

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTemplatesApplyRequest

func (*TemplatesAPIService) TemplatesApplyExecute

Execute executes the request

@return ArduinoTemplate

type ThingClone

type ThingClone struct {
	// Include tags in clone procedure
	IncludeTags *bool `json:"include_tags,omitempty"`
	// The friendly name of the thing
	Name string `json:"name" validate:"regexp=^[a-zA-Z0-9_. -]+$"`
}

ThingClone Payload to clone a new thing from an existing one

func NewThingClone

func NewThingClone(name string) *ThingClone

NewThingClone instantiates a new ThingClone 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 NewThingCloneWithDefaults

func NewThingCloneWithDefaults() *ThingClone

NewThingCloneWithDefaults instantiates a new ThingClone 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 (*ThingClone) GetIncludeTags

func (o *ThingClone) GetIncludeTags() bool

GetIncludeTags returns the IncludeTags field value if set, zero value otherwise.

func (*ThingClone) GetIncludeTagsOk

func (o *ThingClone) GetIncludeTagsOk() (*bool, bool)

GetIncludeTagsOk returns a tuple with the IncludeTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingClone) GetName

func (o *ThingClone) GetName() string

GetName returns the Name field value

func (*ThingClone) GetNameOk

func (o *ThingClone) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ThingClone) HasIncludeTags

func (o *ThingClone) HasIncludeTags() bool

HasIncludeTags returns a boolean if a field has been set.

func (ThingClone) MarshalJSON

func (o ThingClone) MarshalJSON() ([]byte, error)

func (*ThingClone) SetIncludeTags

func (o *ThingClone) SetIncludeTags(v bool)

SetIncludeTags gets a reference to the given bool and assigns it to the IncludeTags field.

func (*ThingClone) SetName

func (o *ThingClone) SetName(v string)

SetName sets field value

func (ThingClone) ToMap

func (o ThingClone) ToMap() (map[string]interface{}, error)

func (*ThingClone) UnmarshalJSON

func (o *ThingClone) UnmarshalJSON(data []byte) (err error)

type ThingCreate

type ThingCreate struct {
	// The kind of voice assistant the thing is connected to, it can be ALEXA | GOOGLE | NONE
	Assistant *string `json:"assistant,omitempty"`
	// The arn of the associated device
	DeviceId *string `json:"device_id,omitempty"`
	// The id of the thing
	Id *string `json:"id,omitempty"`
	// The friendly name of the thing
	Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-Z0-9_. -]+$"`
	// The properties of the thing
	Properties []Property `json:"properties,omitempty"`
	// Optional set of tags
	Tags []Tag `json:"tags,omitempty"`
	// A time zone name Check /v2/timezones for a list of valid names.
	Timezone *string `json:"timezone,omitempty"`
	// Webhook uri
	WebhookActive *bool `json:"webhook_active,omitempty"`
	// Webhook uri
	WebhookUri *string `json:"webhook_uri,omitempty"`
}

ThingCreate Payload to create a new thing

func NewThingCreate

func NewThingCreate() *ThingCreate

NewThingCreate instantiates a new ThingCreate 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 NewThingCreateWithDefaults

func NewThingCreateWithDefaults() *ThingCreate

NewThingCreateWithDefaults instantiates a new ThingCreate 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 (*ThingCreate) GetAssistant

func (o *ThingCreate) GetAssistant() string

GetAssistant returns the Assistant field value if set, zero value otherwise.

func (*ThingCreate) GetAssistantOk

func (o *ThingCreate) GetAssistantOk() (*string, bool)

GetAssistantOk returns a tuple with the Assistant field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingCreate) GetDeviceId

func (o *ThingCreate) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*ThingCreate) GetDeviceIdOk

func (o *ThingCreate) GetDeviceIdOk() (*string, 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.

func (*ThingCreate) GetId

func (o *ThingCreate) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ThingCreate) GetIdOk

func (o *ThingCreate) 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.

func (*ThingCreate) GetName

func (o *ThingCreate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ThingCreate) GetNameOk

func (o *ThingCreate) 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.

func (*ThingCreate) GetProperties

func (o *ThingCreate) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*ThingCreate) GetPropertiesOk

func (o *ThingCreate) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingCreate) GetTags

func (o *ThingCreate) GetTags() []Tag

GetTags returns the Tags field value if set, zero value otherwise.

func (*ThingCreate) GetTagsOk

func (o *ThingCreate) GetTagsOk() ([]Tag, 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.

func (*ThingCreate) GetTimezone

func (o *ThingCreate) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*ThingCreate) GetTimezoneOk

func (o *ThingCreate) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingCreate) GetWebhookActive

func (o *ThingCreate) GetWebhookActive() bool

GetWebhookActive returns the WebhookActive field value if set, zero value otherwise.

func (*ThingCreate) GetWebhookActiveOk

func (o *ThingCreate) GetWebhookActiveOk() (*bool, bool)

GetWebhookActiveOk returns a tuple with the WebhookActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingCreate) GetWebhookUri

func (o *ThingCreate) GetWebhookUri() string

GetWebhookUri returns the WebhookUri field value if set, zero value otherwise.

func (*ThingCreate) GetWebhookUriOk

func (o *ThingCreate) GetWebhookUriOk() (*string, bool)

GetWebhookUriOk returns a tuple with the WebhookUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingCreate) HasAssistant

func (o *ThingCreate) HasAssistant() bool

HasAssistant returns a boolean if a field has been set.

func (*ThingCreate) HasDeviceId

func (o *ThingCreate) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*ThingCreate) HasId

func (o *ThingCreate) HasId() bool

HasId returns a boolean if a field has been set.

func (*ThingCreate) HasName

func (o *ThingCreate) HasName() bool

HasName returns a boolean if a field has been set.

func (*ThingCreate) HasProperties

func (o *ThingCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ThingCreate) HasTags

func (o *ThingCreate) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ThingCreate) HasTimezone

func (o *ThingCreate) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*ThingCreate) HasWebhookActive

func (o *ThingCreate) HasWebhookActive() bool

HasWebhookActive returns a boolean if a field has been set.

func (*ThingCreate) HasWebhookUri

func (o *ThingCreate) HasWebhookUri() bool

HasWebhookUri returns a boolean if a field has been set.

func (ThingCreate) MarshalJSON

func (o ThingCreate) MarshalJSON() ([]byte, error)

func (*ThingCreate) SetAssistant

func (o *ThingCreate) SetAssistant(v string)

SetAssistant gets a reference to the given string and assigns it to the Assistant field.

func (*ThingCreate) SetDeviceId

func (o *ThingCreate) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*ThingCreate) SetId

func (o *ThingCreate) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ThingCreate) SetName

func (o *ThingCreate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ThingCreate) SetProperties

func (o *ThingCreate) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*ThingCreate) SetTags

func (o *ThingCreate) SetTags(v []Tag)

SetTags gets a reference to the given []Tag and assigns it to the Tags field.

func (*ThingCreate) SetTimezone

func (o *ThingCreate) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*ThingCreate) SetWebhookActive

func (o *ThingCreate) SetWebhookActive(v bool)

SetWebhookActive gets a reference to the given bool and assigns it to the WebhookActive field.

func (*ThingCreate) SetWebhookUri

func (o *ThingCreate) SetWebhookUri(v string)

SetWebhookUri gets a reference to the given string and assigns it to the WebhookUri field.

func (ThingCreate) ToMap

func (o ThingCreate) ToMap() (map[string]interface{}, error)

type ThingSketch

type ThingSketch struct {
	// The autogenerated sketch version
	SketchVersion *string `json:"sketch_version,omitempty"`
}

ThingSketch ThingSketchPayload describes a sketch of a thing

func NewThingSketch

func NewThingSketch() *ThingSketch

NewThingSketch instantiates a new ThingSketch 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 NewThingSketchWithDefaults

func NewThingSketchWithDefaults() *ThingSketch

NewThingSketchWithDefaults instantiates a new ThingSketch 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 (*ThingSketch) GetSketchVersion

func (o *ThingSketch) GetSketchVersion() string

GetSketchVersion returns the SketchVersion field value if set, zero value otherwise.

func (*ThingSketch) GetSketchVersionOk

func (o *ThingSketch) GetSketchVersionOk() (*string, bool)

GetSketchVersionOk returns a tuple with the SketchVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingSketch) HasSketchVersion

func (o *ThingSketch) HasSketchVersion() bool

HasSketchVersion returns a boolean if a field has been set.

func (ThingSketch) MarshalJSON

func (o ThingSketch) MarshalJSON() ([]byte, error)

func (*ThingSketch) SetSketchVersion

func (o *ThingSketch) SetSketchVersion(v string)

SetSketchVersion gets a reference to the given string and assigns it to the SketchVersion field.

func (ThingSketch) ToMap

func (o ThingSketch) ToMap() (map[string]interface{}, error)

type ThingUpdate

type ThingUpdate struct {
	// The kind of voice assistant the thing is connected to, it can be ALEXA | GOOGLE | NONE
	Assistant *string `json:"assistant,omitempty"`
	// The arn of the associated device
	DeviceId *string `json:"device_id,omitempty"`
	// The id of the thing
	Id *string `json:"id,omitempty"`
	// The friendly name of the thing
	Name *string `json:"name,omitempty" validate:"regexp=^[a-zA-Z0-9_. -]+$"`
	// The properties of the thing
	Properties []Property `json:"properties,omitempty"`
	// If false, restore the thing from the soft deletion
	SoftDeleted *bool `json:"soft_deleted,omitempty"`
	// A time zone name. Check /v2/timezones for a list of valid names.
	Timezone *string `json:"timezone,omitempty"`
	// Webhook uri
	WebhookActive *bool `json:"webhook_active,omitempty"`
	// Webhook uri
	WebhookUri *string `json:"webhook_uri,omitempty"`
}

ThingUpdate Payload to update an existing thing

func NewThingUpdate

func NewThingUpdate() *ThingUpdate

NewThingUpdate instantiates a new ThingUpdate 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 NewThingUpdateWithDefaults

func NewThingUpdateWithDefaults() *ThingUpdate

NewThingUpdateWithDefaults instantiates a new ThingUpdate 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 (*ThingUpdate) GetAssistant

func (o *ThingUpdate) GetAssistant() string

GetAssistant returns the Assistant field value if set, zero value otherwise.

func (*ThingUpdate) GetAssistantOk

func (o *ThingUpdate) GetAssistantOk() (*string, bool)

GetAssistantOk returns a tuple with the Assistant field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingUpdate) GetDeviceId

func (o *ThingUpdate) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*ThingUpdate) GetDeviceIdOk

func (o *ThingUpdate) GetDeviceIdOk() (*string, 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.

func (*ThingUpdate) GetId

func (o *ThingUpdate) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ThingUpdate) GetIdOk

func (o *ThingUpdate) 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.

func (*ThingUpdate) GetName

func (o *ThingUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ThingUpdate) GetNameOk

func (o *ThingUpdate) 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.

func (*ThingUpdate) GetProperties

func (o *ThingUpdate) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*ThingUpdate) GetPropertiesOk

func (o *ThingUpdate) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingUpdate) GetSoftDeleted added in v3.0.1

func (o *ThingUpdate) GetSoftDeleted() bool

GetSoftDeleted returns the SoftDeleted field value if set, zero value otherwise.

func (*ThingUpdate) GetSoftDeletedOk added in v3.0.1

func (o *ThingUpdate) GetSoftDeletedOk() (*bool, bool)

GetSoftDeletedOk returns a tuple with the SoftDeleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingUpdate) GetTimezone

func (o *ThingUpdate) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*ThingUpdate) GetTimezoneOk

func (o *ThingUpdate) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingUpdate) GetWebhookActive

func (o *ThingUpdate) GetWebhookActive() bool

GetWebhookActive returns the WebhookActive field value if set, zero value otherwise.

func (*ThingUpdate) GetWebhookActiveOk

func (o *ThingUpdate) GetWebhookActiveOk() (*bool, bool)

GetWebhookActiveOk returns a tuple with the WebhookActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingUpdate) GetWebhookUri

func (o *ThingUpdate) GetWebhookUri() string

GetWebhookUri returns the WebhookUri field value if set, zero value otherwise.

func (*ThingUpdate) GetWebhookUriOk

func (o *ThingUpdate) GetWebhookUriOk() (*string, bool)

GetWebhookUriOk returns a tuple with the WebhookUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThingUpdate) HasAssistant

func (o *ThingUpdate) HasAssistant() bool

HasAssistant returns a boolean if a field has been set.

func (*ThingUpdate) HasDeviceId

func (o *ThingUpdate) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*ThingUpdate) HasId

func (o *ThingUpdate) HasId() bool

HasId returns a boolean if a field has been set.

func (*ThingUpdate) HasName

func (o *ThingUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*ThingUpdate) HasProperties

func (o *ThingUpdate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ThingUpdate) HasSoftDeleted added in v3.0.1

func (o *ThingUpdate) HasSoftDeleted() bool

HasSoftDeleted returns a boolean if a field has been set.

func (*ThingUpdate) HasTimezone

func (o *ThingUpdate) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*ThingUpdate) HasWebhookActive

func (o *ThingUpdate) HasWebhookActive() bool

HasWebhookActive returns a boolean if a field has been set.

func (*ThingUpdate) HasWebhookUri

func (o *ThingUpdate) HasWebhookUri() bool

HasWebhookUri returns a boolean if a field has been set.

func (ThingUpdate) MarshalJSON

func (o ThingUpdate) MarshalJSON() ([]byte, error)

func (*ThingUpdate) SetAssistant

func (o *ThingUpdate) SetAssistant(v string)

SetAssistant gets a reference to the given string and assigns it to the Assistant field.

func (*ThingUpdate) SetDeviceId

func (o *ThingUpdate) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*ThingUpdate) SetId

func (o *ThingUpdate) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ThingUpdate) SetName

func (o *ThingUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ThingUpdate) SetProperties

func (o *ThingUpdate) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*ThingUpdate) SetSoftDeleted added in v3.0.1

func (o *ThingUpdate) SetSoftDeleted(v bool)

SetSoftDeleted gets a reference to the given bool and assigns it to the SoftDeleted field.

func (*ThingUpdate) SetTimezone

func (o *ThingUpdate) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*ThingUpdate) SetWebhookActive

func (o *ThingUpdate) SetWebhookActive(v bool)

SetWebhookActive gets a reference to the given bool and assigns it to the WebhookActive field.

func (*ThingUpdate) SetWebhookUri

func (o *ThingUpdate) SetWebhookUri(v string)

SetWebhookUri gets a reference to the given string and assigns it to the WebhookUri field.

func (ThingUpdate) ToMap

func (o ThingUpdate) ToMap() (map[string]interface{}, error)

type ThingsV2APIService

type ThingsV2APIService service

ThingsV2APIService ThingsV2API service

func (*ThingsV2APIService) ThingsV2Clone

ThingsV2Clone clone things_v2

Clone a given thing

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2CloneRequest

func (*ThingsV2APIService) ThingsV2CloneExecute

func (a *ThingsV2APIService) ThingsV2CloneExecute(r ApiThingsV2CloneRequest) (*ArduinoThing, *http.Response, error)

Execute executes the request

@return ArduinoThing

func (*ThingsV2APIService) ThingsV2Create

ThingsV2Create create things_v2

Creates a new thing associated to the user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiThingsV2CreateRequest

func (*ThingsV2APIService) ThingsV2CreateExecute

func (a *ThingsV2APIService) ThingsV2CreateExecute(r ApiThingsV2CreateRequest) (*ArduinoThing, *http.Response, error)

Execute executes the request

@return ArduinoThing

func (*ThingsV2APIService) ThingsV2CreateSketch

func (a *ThingsV2APIService) ThingsV2CreateSketch(ctx context.Context, id string) ApiThingsV2CreateSketchRequest

ThingsV2CreateSketch createSketch things_v2

Creates a new sketch thing associated to the thing

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2CreateSketchRequest

func (*ThingsV2APIService) ThingsV2CreateSketchExecute

func (a *ThingsV2APIService) ThingsV2CreateSketchExecute(r ApiThingsV2CreateSketchRequest) (*ArduinoThing, *http.Response, error)

Execute executes the request

@return ArduinoThing

func (*ThingsV2APIService) ThingsV2Delete

ThingsV2Delete delete things_v2

Removes a thing associated to the user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2DeleteRequest

func (*ThingsV2APIService) ThingsV2DeleteExecute

func (a *ThingsV2APIService) ThingsV2DeleteExecute(r ApiThingsV2DeleteRequest) (*http.Response, error)

Execute executes the request

func (*ThingsV2APIService) ThingsV2DeleteSketch

func (a *ThingsV2APIService) ThingsV2DeleteSketch(ctx context.Context, id string) ApiThingsV2DeleteSketchRequest

ThingsV2DeleteSketch deleteSketch things_v2

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2DeleteSketchRequest

func (*ThingsV2APIService) ThingsV2DeleteSketchExecute

func (a *ThingsV2APIService) ThingsV2DeleteSketchExecute(r ApiThingsV2DeleteSketchRequest) (*ArduinoThing, *http.Response, error)

Execute executes the request

@return ArduinoThing

func (*ThingsV2APIService) ThingsV2List

ThingsV2List list things_v2

Returns the list of things associated to the user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiThingsV2ListRequest

func (*ThingsV2APIService) ThingsV2ListExecute

func (a *ThingsV2APIService) ThingsV2ListExecute(r ApiThingsV2ListRequest) ([]ArduinoThing, *http.Response, error)

Execute executes the request

@return []ArduinoThing

func (*ThingsV2APIService) ThingsV2Show

ThingsV2Show show things_v2

Returns the thing requested by the user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2ShowRequest

func (*ThingsV2APIService) ThingsV2ShowExecute

func (a *ThingsV2APIService) ThingsV2ShowExecute(r ApiThingsV2ShowRequest) (*ArduinoThing, *http.Response, error)

Execute executes the request

@return ArduinoThing

func (*ThingsV2APIService) ThingsV2Template

ThingsV2Template template things_v2

Extract template from the given thing

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2TemplateRequest

func (*ThingsV2APIService) ThingsV2TemplateExecute

Execute executes the request

@return ArduinoThingtemplate

func (*ThingsV2APIService) ThingsV2Update

ThingsV2Update update things_v2

Updates a thing associated to the user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2UpdateRequest

func (*ThingsV2APIService) ThingsV2UpdateExecute

func (a *ThingsV2APIService) ThingsV2UpdateExecute(r ApiThingsV2UpdateRequest) (*ArduinoThing, *http.Response, error)

Execute executes the request

@return ArduinoThing

func (*ThingsV2APIService) ThingsV2UpdateSketch

func (a *ThingsV2APIService) ThingsV2UpdateSketch(ctx context.Context, id string, sketchId string) ApiThingsV2UpdateSketchRequest

ThingsV2UpdateSketch updateSketch things_v2

Update an existing thing sketch

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@param sketchId The id of the sketch
@return ApiThingsV2UpdateSketchRequest

func (*ThingsV2APIService) ThingsV2UpdateSketchExecute

func (a *ThingsV2APIService) ThingsV2UpdateSketchExecute(r ApiThingsV2UpdateSketchRequest) (*ArduinoThing, *http.Response, error)

Execute executes the request

@return ArduinoThing

type ThingsV2TagsAPIService

type ThingsV2TagsAPIService service

ThingsV2TagsAPIService ThingsV2TagsAPI service

func (*ThingsV2TagsAPIService) ThingsV2TagsDelete

ThingsV2TagsDelete delete things_v2_tags

Delete a tag associated to the thing given its key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@param key The key of the tag
@return ApiThingsV2TagsDeleteRequest

func (*ThingsV2TagsAPIService) ThingsV2TagsDeleteExecute

func (a *ThingsV2TagsAPIService) ThingsV2TagsDeleteExecute(r ApiThingsV2TagsDeleteRequest) (*http.Response, error)

Execute executes the request

func (*ThingsV2TagsAPIService) ThingsV2TagsList

ThingsV2TagsList list things_v2_tags

List tags associated to the thing.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2TagsListRequest

func (*ThingsV2TagsAPIService) ThingsV2TagsListExecute

Execute executes the request

@return ArduinoTags

func (*ThingsV2TagsAPIService) ThingsV2TagsUpsert

ThingsV2TagsUpsert upsert things_v2_tags

Creates or updates a tag associated to the thing.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the thing
@return ApiThingsV2TagsUpsertRequest

func (*ThingsV2TagsAPIService) ThingsV2TagsUpsertExecute

func (a *ThingsV2TagsAPIService) ThingsV2TagsUpsertExecute(r ApiThingsV2TagsUpsertRequest) (*http.Response, error)

Execute executes the request

type TimeseriesDataPoint

type TimeseriesDataPoint struct {
	// Binning timestamp
	Time time.Time `json:"time"`
	// Avg value on the binning interval
	Value float64 `json:"value"`
}

TimeseriesDataPoint struct for TimeseriesDataPoint

func NewTimeseriesDataPoint

func NewTimeseriesDataPoint(time time.Time, value float64) *TimeseriesDataPoint

NewTimeseriesDataPoint instantiates a new TimeseriesDataPoint 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 NewTimeseriesDataPointWithDefaults

func NewTimeseriesDataPointWithDefaults() *TimeseriesDataPoint

NewTimeseriesDataPointWithDefaults instantiates a new TimeseriesDataPoint 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 (*TimeseriesDataPoint) GetTime

func (o *TimeseriesDataPoint) GetTime() time.Time

GetTime returns the Time field value

func (*TimeseriesDataPoint) GetTimeOk

func (o *TimeseriesDataPoint) GetTimeOk() (*time.Time, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*TimeseriesDataPoint) GetValue

func (o *TimeseriesDataPoint) GetValue() float64

GetValue returns the Value field value

func (*TimeseriesDataPoint) GetValueOk

func (o *TimeseriesDataPoint) GetValueOk() (*float64, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (TimeseriesDataPoint) MarshalJSON

func (o TimeseriesDataPoint) MarshalJSON() ([]byte, error)

func (*TimeseriesDataPoint) SetTime

func (o *TimeseriesDataPoint) SetTime(v time.Time)

SetTime sets field value

func (*TimeseriesDataPoint) SetValue

func (o *TimeseriesDataPoint) SetValue(v float64)

SetValue sets field value

func (TimeseriesDataPoint) ToMap

func (o TimeseriesDataPoint) ToMap() (map[string]interface{}, error)

func (*TimeseriesDataPoint) UnmarshalJSON

func (o *TimeseriesDataPoint) UnmarshalJSON(data []byte) (err error)

type TitleExpression added in v3.0.1

type TitleExpression struct {
	// Content of the title (or subject) of a message, variables are allowed
	Expression string `json:"expression"`
	// Variables used by the expression
	Variables []Variable `json:"variables,omitempty"`
}

TitleExpression struct for TitleExpression

func NewTitleExpression added in v3.0.1

func NewTitleExpression(expression string) *TitleExpression

NewTitleExpression instantiates a new TitleExpression 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 NewTitleExpressionWithDefaults added in v3.0.1

func NewTitleExpressionWithDefaults() *TitleExpression

NewTitleExpressionWithDefaults instantiates a new TitleExpression 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 (*TitleExpression) GetExpression added in v3.0.1

func (o *TitleExpression) GetExpression() string

GetExpression returns the Expression field value

func (*TitleExpression) GetExpressionOk added in v3.0.1

func (o *TitleExpression) GetExpressionOk() (*string, bool)

GetExpressionOk returns a tuple with the Expression field value and a boolean to check if the value has been set.

func (*TitleExpression) GetVariables added in v3.0.1

func (o *TitleExpression) GetVariables() []Variable

GetVariables returns the Variables field value if set, zero value otherwise.

func (*TitleExpression) GetVariablesOk added in v3.0.1

func (o *TitleExpression) GetVariablesOk() ([]Variable, bool)

GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TitleExpression) HasVariables added in v3.0.1

func (o *TitleExpression) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (TitleExpression) MarshalJSON added in v3.0.1

func (o TitleExpression) MarshalJSON() ([]byte, error)

func (*TitleExpression) SetExpression added in v3.0.1

func (o *TitleExpression) SetExpression(v string)

SetExpression sets field value

func (*TitleExpression) SetVariables added in v3.0.1

func (o *TitleExpression) SetVariables(v []Variable)

SetVariables gets a reference to the given []Variable and assigns it to the Variables field.

func (TitleExpression) ToMap added in v3.0.1

func (o TitleExpression) ToMap() (map[string]interface{}, error)

func (*TitleExpression) UnmarshalJSON added in v3.0.1

func (o *TitleExpression) UnmarshalJSON(data []byte) (err error)

type Trigger added in v3.0.1

type Trigger struct {
	// A list of actions to be associated with the trigger
	Actions []CreateAction `json:"actions,omitempty"`
	// Is true if the trigger is enabled
	Active *bool `json:"active,omitempty"`
	// The description of the trigger
	Description        *string             `json:"description,omitempty"`
	DeviceStatusSource *DeviceStatusSource `json:"device_status_source,omitempty"`
	// The id of the trigger
	Id *string `json:"id,omitempty"`
	// The name of the trigger
	Name *string `json:"name,omitempty"`
	// Id of the property the trigger is associated to (mutually exclusive with 'device_status_source')
	PropertyId *string `json:"property_id,omitempty"`
	// If false, restore the thing from the soft deletion
	SoftDeleted *bool `json:"soft_deleted,omitempty"`
}

Trigger struct for Trigger

func NewTrigger added in v3.0.1

func NewTrigger() *Trigger

NewTrigger instantiates a new Trigger 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 NewTriggerWithDefaults added in v3.0.1

func NewTriggerWithDefaults() *Trigger

NewTriggerWithDefaults instantiates a new Trigger 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 (*Trigger) GetActions added in v3.0.1

func (o *Trigger) GetActions() []CreateAction

GetActions returns the Actions field value if set, zero value otherwise.

func (*Trigger) GetActionsOk added in v3.0.1

func (o *Trigger) GetActionsOk() ([]CreateAction, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Trigger) GetActive added in v3.0.1

func (o *Trigger) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*Trigger) GetActiveOk added in v3.0.1

func (o *Trigger) 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.

func (*Trigger) GetDescription added in v3.0.1

func (o *Trigger) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Trigger) GetDescriptionOk added in v3.0.1

func (o *Trigger) 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.

func (*Trigger) GetDeviceStatusSource added in v3.0.1

func (o *Trigger) GetDeviceStatusSource() DeviceStatusSource

GetDeviceStatusSource returns the DeviceStatusSource field value if set, zero value otherwise.

func (*Trigger) GetDeviceStatusSourceOk added in v3.0.1

func (o *Trigger) GetDeviceStatusSourceOk() (*DeviceStatusSource, bool)

GetDeviceStatusSourceOk returns a tuple with the DeviceStatusSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Trigger) GetId added in v3.0.1

func (o *Trigger) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Trigger) GetIdOk added in v3.0.1

func (o *Trigger) 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.

func (*Trigger) GetName added in v3.0.1

func (o *Trigger) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Trigger) GetNameOk added in v3.0.1

func (o *Trigger) 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.

func (*Trigger) GetPropertyId added in v3.0.1

func (o *Trigger) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*Trigger) GetPropertyIdOk added in v3.0.1

func (o *Trigger) GetPropertyIdOk() (*string, bool)

GetPropertyIdOk returns a tuple with the PropertyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Trigger) GetSoftDeleted added in v3.0.1

func (o *Trigger) GetSoftDeleted() bool

GetSoftDeleted returns the SoftDeleted field value if set, zero value otherwise.

func (*Trigger) GetSoftDeletedOk added in v3.0.1

func (o *Trigger) GetSoftDeletedOk() (*bool, bool)

GetSoftDeletedOk returns a tuple with the SoftDeleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Trigger) HasActions added in v3.0.1

func (o *Trigger) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*Trigger) HasActive added in v3.0.1

func (o *Trigger) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Trigger) HasDescription added in v3.0.1

func (o *Trigger) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Trigger) HasDeviceStatusSource added in v3.0.1

func (o *Trigger) HasDeviceStatusSource() bool

HasDeviceStatusSource returns a boolean if a field has been set.

func (*Trigger) HasId added in v3.0.1

func (o *Trigger) HasId() bool

HasId returns a boolean if a field has been set.

func (*Trigger) HasName added in v3.0.1

func (o *Trigger) HasName() bool

HasName returns a boolean if a field has been set.

func (*Trigger) HasPropertyId added in v3.0.1

func (o *Trigger) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*Trigger) HasSoftDeleted added in v3.0.1

func (o *Trigger) HasSoftDeleted() bool

HasSoftDeleted returns a boolean if a field has been set.

func (Trigger) MarshalJSON added in v3.0.1

func (o Trigger) MarshalJSON() ([]byte, error)

func (*Trigger) SetActions added in v3.0.1

func (o *Trigger) SetActions(v []CreateAction)

SetActions gets a reference to the given []CreateAction and assigns it to the Actions field.

func (*Trigger) SetActive added in v3.0.1

func (o *Trigger) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*Trigger) SetDescription added in v3.0.1

func (o *Trigger) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Trigger) SetDeviceStatusSource added in v3.0.1

func (o *Trigger) SetDeviceStatusSource(v DeviceStatusSource)

SetDeviceStatusSource gets a reference to the given DeviceStatusSource and assigns it to the DeviceStatusSource field.

func (*Trigger) SetId added in v3.0.1

func (o *Trigger) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Trigger) SetName added in v3.0.1

func (o *Trigger) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Trigger) SetPropertyId added in v3.0.1

func (o *Trigger) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*Trigger) SetSoftDeleted added in v3.0.1

func (o *Trigger) SetSoftDeleted(v bool)

SetSoftDeleted gets a reference to the given bool and assigns it to the SoftDeleted field.

func (Trigger) ToMap added in v3.0.1

func (o Trigger) ToMap() (map[string]interface{}, error)

type TriggersV1APIService added in v3.0.1

type TriggersV1APIService service

TriggersV1APIService TriggersV1API service

func (*TriggersV1APIService) ActionsV1Create added in v3.0.1

ActionsV1Create create actions_v1

Creates a new action

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiActionsV1CreateRequest

func (*TriggersV1APIService) ActionsV1CreateExecute added in v3.0.1

Execute executes the request

@return ArduinoAction

func (*TriggersV1APIService) ActionsV1Delete added in v3.0.1

ActionsV1Delete delete actions_v1

Removes an action

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the action
@return ApiActionsV1DeleteRequest

func (*TriggersV1APIService) ActionsV1DeleteExecute added in v3.0.1

func (a *TriggersV1APIService) ActionsV1DeleteExecute(r ApiActionsV1DeleteRequest) (*http.Response, error)

Execute executes the request

func (*TriggersV1APIService) ActionsV1List added in v3.0.1

ActionsV1List list actions_v1

Returns the list of actions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiActionsV1ListRequest

func (*TriggersV1APIService) ActionsV1ListExecute added in v3.0.1

Execute executes the request

@return []ArduinoAction

func (*TriggersV1APIService) ActionsV1Show added in v3.0.1

ActionsV1Show show actions_v1

Returns an action

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the action
@return ApiActionsV1ShowRequest

func (*TriggersV1APIService) ActionsV1ShowExecute added in v3.0.1

Execute executes the request

@return ArduinoAction

func (*TriggersV1APIService) ActionsV1Update added in v3.0.1

ActionsV1Update update actions_v1

Updates an action

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the action
@return ApiActionsV1UpdateRequest

func (*TriggersV1APIService) ActionsV1UpdateExecute added in v3.0.1

Execute executes the request

@return ArduinoAction

func (*TriggersV1APIService) TriggersV1Create added in v3.0.1

TriggersV1Create create triggers_v1

Creates a new trigger

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTriggersV1CreateRequest

func (*TriggersV1APIService) TriggersV1CreateExecute added in v3.0.1

Execute executes the request

@return ArduinoTrigger

func (*TriggersV1APIService) TriggersV1Delete added in v3.0.1

TriggersV1Delete delete triggers_v1

Removes a trigger

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the trigger
@return ApiTriggersV1DeleteRequest

func (*TriggersV1APIService) TriggersV1DeleteExecute added in v3.0.1

func (a *TriggersV1APIService) TriggersV1DeleteExecute(r ApiTriggersV1DeleteRequest) (*http.Response, error)

Execute executes the request

func (*TriggersV1APIService) TriggersV1List added in v3.0.1

TriggersV1List list triggers_v1

Returns the list of triggers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTriggersV1ListRequest

func (*TriggersV1APIService) TriggersV1ListExecute added in v3.0.1

Execute executes the request

@return []ArduinoTrigger

func (*TriggersV1APIService) TriggersV1Patch added in v3.0.1

TriggersV1Patch patch triggers_v1

Patch a trigger

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the trigger
@return ApiTriggersV1PatchRequest

func (*TriggersV1APIService) TriggersV1PatchExecute added in v3.0.1

Execute executes the request

@return ArduinoTrigger

func (*TriggersV1APIService) TriggersV1Show added in v3.0.1

TriggersV1Show show triggers_v1

Returns a trigger

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the trigger
@return ApiTriggersV1ShowRequest

func (*TriggersV1APIService) TriggersV1ShowExecute added in v3.0.1

Execute executes the request

@return ArduinoTriggerWithLinkedEntities

func (*TriggersV1APIService) TriggersV1Template added in v3.0.1

TriggersV1Template template triggers_v1

Extract template from the given trigger

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the trigger
@return ApiTriggersV1TemplateRequest

func (*TriggersV1APIService) TriggersV1TemplateExecute added in v3.0.1

Execute executes the request

@return ArduinoTriggerTemplate

func (*TriggersV1APIService) TriggersV1Update added in v3.0.1

TriggersV1Update update triggers_v1

Updates a trigger

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the trigger
@return ApiTriggersV1UpdateRequest

func (*TriggersV1APIService) TriggersV1UpdateExecute added in v3.0.1

Execute executes the request

@return ArduinoTrigger

type UpdateAction added in v3.0.1

type UpdateAction struct {
	// The description of the trigger
	Description *string      `json:"description,omitempty"`
	Email       *EmailAction `json:"email,omitempty"`
	// The name of the action
	Name             *string     `json:"name,omitempty"`
	PushNotification *PushAction `json:"push_notification,omitempty"`
	// Id of the trigger the action is associated to
	TriggerId *string `json:"trigger_id,omitempty"`
}

UpdateAction struct for UpdateAction

func NewUpdateAction added in v3.0.1

func NewUpdateAction() *UpdateAction

NewUpdateAction instantiates a new UpdateAction 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 NewUpdateActionWithDefaults added in v3.0.1

func NewUpdateActionWithDefaults() *UpdateAction

NewUpdateActionWithDefaults instantiates a new UpdateAction 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 (*UpdateAction) GetDescription added in v3.0.1

func (o *UpdateAction) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateAction) GetDescriptionOk added in v3.0.1

func (o *UpdateAction) 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.

func (*UpdateAction) GetEmail added in v3.0.1

func (o *UpdateAction) GetEmail() EmailAction

GetEmail returns the Email field value if set, zero value otherwise.

func (*UpdateAction) GetEmailOk added in v3.0.1

func (o *UpdateAction) GetEmailOk() (*EmailAction, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAction) GetName added in v3.0.1

func (o *UpdateAction) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateAction) GetNameOk added in v3.0.1

func (o *UpdateAction) 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.

func (*UpdateAction) GetPushNotification added in v3.0.1

func (o *UpdateAction) GetPushNotification() PushAction

GetPushNotification returns the PushNotification field value if set, zero value otherwise.

func (*UpdateAction) GetPushNotificationOk added in v3.0.1

func (o *UpdateAction) GetPushNotificationOk() (*PushAction, bool)

GetPushNotificationOk returns a tuple with the PushNotification field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAction) GetTriggerId added in v3.0.1

func (o *UpdateAction) GetTriggerId() string

GetTriggerId returns the TriggerId field value if set, zero value otherwise.

func (*UpdateAction) GetTriggerIdOk added in v3.0.1

func (o *UpdateAction) GetTriggerIdOk() (*string, bool)

GetTriggerIdOk returns a tuple with the TriggerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAction) HasDescription added in v3.0.1

func (o *UpdateAction) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateAction) HasEmail added in v3.0.1

func (o *UpdateAction) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UpdateAction) HasName added in v3.0.1

func (o *UpdateAction) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateAction) HasPushNotification added in v3.0.1

func (o *UpdateAction) HasPushNotification() bool

HasPushNotification returns a boolean if a field has been set.

func (*UpdateAction) HasTriggerId added in v3.0.1

func (o *UpdateAction) HasTriggerId() bool

HasTriggerId returns a boolean if a field has been set.

func (UpdateAction) MarshalJSON added in v3.0.1

func (o UpdateAction) MarshalJSON() ([]byte, error)

func (*UpdateAction) SetDescription added in v3.0.1

func (o *UpdateAction) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateAction) SetEmail added in v3.0.1

func (o *UpdateAction) SetEmail(v EmailAction)

SetEmail gets a reference to the given EmailAction and assigns it to the Email field.

func (*UpdateAction) SetName added in v3.0.1

func (o *UpdateAction) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateAction) SetPushNotification added in v3.0.1

func (o *UpdateAction) SetPushNotification(v PushAction)

SetPushNotification gets a reference to the given PushAction and assigns it to the PushNotification field.

func (*UpdateAction) SetTriggerId added in v3.0.1

func (o *UpdateAction) SetTriggerId(v string)

SetTriggerId gets a reference to the given string and assigns it to the TriggerId field.

func (UpdateAction) ToMap added in v3.0.1

func (o UpdateAction) ToMap() (map[string]interface{}, error)

type UpdateSketch

type UpdateSketch struct {
	// The autogenerated sketch version
	SketchVersion *string `json:"sketch_version,omitempty"`
}

UpdateSketch struct for UpdateSketch

func NewUpdateSketch

func NewUpdateSketch() *UpdateSketch

NewUpdateSketch instantiates a new UpdateSketch 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 NewUpdateSketchWithDefaults

func NewUpdateSketchWithDefaults() *UpdateSketch

NewUpdateSketchWithDefaults instantiates a new UpdateSketch 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 (*UpdateSketch) GetSketchVersion

func (o *UpdateSketch) GetSketchVersion() string

GetSketchVersion returns the SketchVersion field value if set, zero value otherwise.

func (*UpdateSketch) GetSketchVersionOk

func (o *UpdateSketch) GetSketchVersionOk() (*string, bool)

GetSketchVersionOk returns a tuple with the SketchVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSketch) HasSketchVersion

func (o *UpdateSketch) HasSketchVersion() bool

HasSketchVersion returns a boolean if a field has been set.

func (UpdateSketch) MarshalJSON

func (o UpdateSketch) MarshalJSON() ([]byte, error)

func (*UpdateSketch) SetSketchVersion

func (o *UpdateSketch) SetSketchVersion(v string)

SetSketchVersion gets a reference to the given string and assigns it to the SketchVersion field.

func (UpdateSketch) ToMap

func (o UpdateSketch) ToMap() (map[string]interface{}, error)

type UserRecipient added in v3.0.1

type UserRecipient struct {
	// The email address of the user
	Email *string `json:"email,omitempty"`
	// The id of the user
	Id string `json:"id"`
	// The username of the user
	Username *string `json:"username,omitempty"`
}

UserRecipient struct for UserRecipient

func NewUserRecipient added in v3.0.1

func NewUserRecipient(id string) *UserRecipient

NewUserRecipient instantiates a new UserRecipient 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 NewUserRecipientWithDefaults added in v3.0.1

func NewUserRecipientWithDefaults() *UserRecipient

NewUserRecipientWithDefaults instantiates a new UserRecipient 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 (*UserRecipient) GetEmail added in v3.0.1

func (o *UserRecipient) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserRecipient) GetEmailOk added in v3.0.1

func (o *UserRecipient) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRecipient) GetId added in v3.0.1

func (o *UserRecipient) GetId() string

GetId returns the Id field value

func (*UserRecipient) GetIdOk added in v3.0.1

func (o *UserRecipient) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UserRecipient) GetUsername added in v3.0.1

func (o *UserRecipient) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*UserRecipient) GetUsernameOk added in v3.0.1

func (o *UserRecipient) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRecipient) HasEmail added in v3.0.1

func (o *UserRecipient) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserRecipient) HasUsername added in v3.0.1

func (o *UserRecipient) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (UserRecipient) MarshalJSON added in v3.0.1

func (o UserRecipient) MarshalJSON() ([]byte, error)

func (*UserRecipient) SetEmail added in v3.0.1

func (o *UserRecipient) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserRecipient) SetId added in v3.0.1

func (o *UserRecipient) SetId(v string)

SetId sets field value

func (*UserRecipient) SetUsername added in v3.0.1

func (o *UserRecipient) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (UserRecipient) ToMap added in v3.0.1

func (o UserRecipient) ToMap() (map[string]interface{}, error)

func (*UserRecipient) UnmarshalJSON added in v3.0.1

func (o *UserRecipient) UnmarshalJSON(data []byte) (err error)

type Variable added in v3.0.1

type Variable struct {
	// The template expression that extracts the value from the respective entity
	Attribute string `json:"attribute"`
	// Type of the entity being referenced
	Entity string `json:"entity"`
	// The ID of the referenced entity
	Id *string `json:"id,omitempty"`
	// Name of the variable as referenced by the expression
	Placeholder string `json:"placeholder"`
	// The ID of the property referenced entity
	PropertyId *string `json:"property_id,omitempty"`
	// The ID of the thing referenced entity
	ThingId *string `json:"thing_id,omitempty"`
}

Variable struct for Variable

func NewVariable added in v3.0.1

func NewVariable(attribute string, entity string, placeholder string) *Variable

NewVariable instantiates a new Variable 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 NewVariableWithDefaults added in v3.0.1

func NewVariableWithDefaults() *Variable

NewVariableWithDefaults instantiates a new Variable 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 (*Variable) GetAttribute added in v3.0.1

func (o *Variable) GetAttribute() string

GetAttribute returns the Attribute field value

func (*Variable) GetAttributeOk added in v3.0.1

func (o *Variable) GetAttributeOk() (*string, bool)

GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.

func (*Variable) GetEntity added in v3.0.1

func (o *Variable) GetEntity() string

GetEntity returns the Entity field value

func (*Variable) GetEntityOk added in v3.0.1

func (o *Variable) GetEntityOk() (*string, bool)

GetEntityOk returns a tuple with the Entity field value and a boolean to check if the value has been set.

func (*Variable) GetId added in v3.0.1

func (o *Variable) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Variable) GetIdOk added in v3.0.1

func (o *Variable) 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.

func (*Variable) GetPlaceholder added in v3.0.1

func (o *Variable) GetPlaceholder() string

GetPlaceholder returns the Placeholder field value

func (*Variable) GetPlaceholderOk added in v3.0.1

func (o *Variable) GetPlaceholderOk() (*string, bool)

GetPlaceholderOk returns a tuple with the Placeholder field value and a boolean to check if the value has been set.

func (*Variable) GetPropertyId added in v3.0.1

func (o *Variable) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*Variable) GetPropertyIdOk added in v3.0.1

func (o *Variable) GetPropertyIdOk() (*string, bool)

GetPropertyIdOk returns a tuple with the PropertyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Variable) GetThingId added in v3.0.1

func (o *Variable) GetThingId() string

GetThingId returns the ThingId field value if set, zero value otherwise.

func (*Variable) GetThingIdOk added in v3.0.1

func (o *Variable) GetThingIdOk() (*string, bool)

GetThingIdOk returns a tuple with the ThingId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Variable) HasId added in v3.0.1

func (o *Variable) HasId() bool

HasId returns a boolean if a field has been set.

func (*Variable) HasPropertyId added in v3.0.1

func (o *Variable) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*Variable) HasThingId added in v3.0.1

func (o *Variable) HasThingId() bool

HasThingId returns a boolean if a field has been set.

func (Variable) MarshalJSON added in v3.0.1

func (o Variable) MarshalJSON() ([]byte, error)

func (*Variable) SetAttribute added in v3.0.1

func (o *Variable) SetAttribute(v string)

SetAttribute sets field value

func (*Variable) SetEntity added in v3.0.1

func (o *Variable) SetEntity(v string)

SetEntity sets field value

func (*Variable) SetId added in v3.0.1

func (o *Variable) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Variable) SetPlaceholder added in v3.0.1

func (o *Variable) SetPlaceholder(v string)

SetPlaceholder sets field value

func (*Variable) SetPropertyId added in v3.0.1

func (o *Variable) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*Variable) SetThingId added in v3.0.1

func (o *Variable) SetThingId(v string)

SetThingId gets a reference to the given string and assigns it to the ThingId field.

func (Variable) ToMap added in v3.0.1

func (o Variable) ToMap() (map[string]interface{}, error)

func (*Variable) UnmarshalJSON added in v3.0.1

func (o *Variable) UnmarshalJSON(data []byte) (err error)

type Widget

type Widget struct {
	// Widget current height for desktop
	Height int64 `json:"height"`
	// Widget current height for mobile
	HeightMobile *int64 `json:"height_mobile,omitempty"`
	// The UUID of the widget, set by client
	Id string `json:"id"`
	// The name of the widget
	Name *string `json:"name,omitempty"`
	// Widget options
	Options map[string]interface{} `json:"options"`
	// The type of the widget
	Type      string   `json:"type"`
	Variables []string `json:"variables,omitempty"`
	// Widget current width for desktop
	Width int64 `json:"width"`
	// Widget current width for mobile
	WidthMobile *int64 `json:"width_mobile,omitempty"`
	// Widget x position for desktop
	X int64 `json:"x"`
	// Widget x position for mobile
	XMobile *int64 `json:"x_mobile,omitempty"`
	// Widget y position for desktop
	Y int64 `json:"y"`
	// Widget y position for mobile
	YMobile *int64 `json:"y_mobile,omitempty"`
}

Widget Widget describes a dashboard widget

func NewWidget

func NewWidget(height int64, id string, options map[string]interface{}, type_ string, width int64, x int64, y int64) *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) GetHeight

func (o *Widget) GetHeight() int64

GetHeight returns the Height field value

func (*Widget) GetHeightMobile

func (o *Widget) GetHeightMobile() int64

GetHeightMobile returns the HeightMobile field value if set, zero value otherwise.

func (*Widget) GetHeightMobileOk

func (o *Widget) GetHeightMobileOk() (*int64, bool)

GetHeightMobileOk returns a tuple with the HeightMobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Widget) GetHeightOk

func (o *Widget) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.

func (*Widget) GetId

func (o *Widget) GetId() string

GetId returns the Id field value

func (*Widget) GetIdOk

func (o *Widget) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Widget) GetName

func (o *Widget) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Widget) GetNameOk

func (o *Widget) 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.

func (*Widget) GetOptions

func (o *Widget) GetOptions() map[string]interface{}

GetOptions returns the Options field value

func (*Widget) GetOptionsOk

func (o *Widget) GetOptionsOk() (map[string]interface{}, bool)

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*Widget) GetType

func (o *Widget) GetType() string

GetType returns the Type field value

func (*Widget) GetTypeOk

func (o *Widget) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Widget) GetVariables

func (o *Widget) GetVariables() []string

GetVariables returns the Variables field value if set, zero value otherwise.

func (*Widget) GetVariablesOk

func (o *Widget) GetVariablesOk() ([]string, bool)

GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Widget) GetWidth

func (o *Widget) GetWidth() int64

GetWidth returns the Width field value

func (*Widget) GetWidthMobile

func (o *Widget) GetWidthMobile() int64

GetWidthMobile returns the WidthMobile field value if set, zero value otherwise.

func (*Widget) GetWidthMobileOk

func (o *Widget) GetWidthMobileOk() (*int64, bool)

GetWidthMobileOk returns a tuple with the WidthMobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Widget) GetWidthOk

func (o *Widget) GetWidthOk() (*int64, bool)

GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.

func (*Widget) GetX

func (o *Widget) GetX() int64

GetX returns the X field value

func (*Widget) GetXMobile

func (o *Widget) GetXMobile() int64

GetXMobile returns the XMobile field value if set, zero value otherwise.

func (*Widget) GetXMobileOk

func (o *Widget) GetXMobileOk() (*int64, bool)

GetXMobileOk returns a tuple with the XMobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Widget) GetXOk

func (o *Widget) GetXOk() (*int64, bool)

GetXOk returns a tuple with the X field value and a boolean to check if the value has been set.

func (*Widget) GetY

func (o *Widget) GetY() int64

GetY returns the Y field value

func (*Widget) GetYMobile

func (o *Widget) GetYMobile() int64

GetYMobile returns the YMobile field value if set, zero value otherwise.

func (*Widget) GetYMobileOk

func (o *Widget) GetYMobileOk() (*int64, bool)

GetYMobileOk returns a tuple with the YMobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Widget) GetYOk

func (o *Widget) GetYOk() (*int64, bool)

GetYOk returns a tuple with the Y field value and a boolean to check if the value has been set.

func (*Widget) HasHeightMobile

func (o *Widget) HasHeightMobile() bool

HasHeightMobile returns a boolean if a field has been set.

func (*Widget) HasName

func (o *Widget) HasName() bool

HasName returns a boolean if a field has been set.

func (*Widget) HasVariables

func (o *Widget) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (*Widget) HasWidthMobile

func (o *Widget) HasWidthMobile() bool

HasWidthMobile returns a boolean if a field has been set.

func (*Widget) HasXMobile

func (o *Widget) HasXMobile() bool

HasXMobile returns a boolean if a field has been set.

func (*Widget) HasYMobile

func (o *Widget) HasYMobile() bool

HasYMobile returns a boolean if a field has been set.

func (Widget) MarshalJSON

func (o Widget) MarshalJSON() ([]byte, error)

func (*Widget) SetHeight

func (o *Widget) SetHeight(v int64)

SetHeight sets field value

func (*Widget) SetHeightMobile

func (o *Widget) SetHeightMobile(v int64)

SetHeightMobile gets a reference to the given int64 and assigns it to the HeightMobile field.

func (*Widget) SetId

func (o *Widget) SetId(v string)

SetId sets field value

func (*Widget) SetName

func (o *Widget) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Widget) SetOptions

func (o *Widget) SetOptions(v map[string]interface{})

SetOptions sets field value

func (*Widget) SetType

func (o *Widget) SetType(v string)

SetType sets field value

func (*Widget) SetVariables

func (o *Widget) SetVariables(v []string)

SetVariables gets a reference to the given []string and assigns it to the Variables field.

func (*Widget) SetWidth

func (o *Widget) SetWidth(v int64)

SetWidth sets field value

func (*Widget) SetWidthMobile

func (o *Widget) SetWidthMobile(v int64)

SetWidthMobile gets a reference to the given int64 and assigns it to the WidthMobile field.

func (*Widget) SetX

func (o *Widget) SetX(v int64)

SetX sets field value

func (*Widget) SetXMobile

func (o *Widget) SetXMobile(v int64)

SetXMobile gets a reference to the given int64 and assigns it to the XMobile field.

func (*Widget) SetY

func (o *Widget) SetY(v int64)

SetY sets field value

func (*Widget) SetYMobile

func (o *Widget) SetYMobile(v int64)

SetYMobile gets a reference to the given int64 and assigns it to the YMobile field.

func (Widget) ToMap

func (o Widget) ToMap() (map[string]interface{}, error)

func (*Widget) UnmarshalJSON

func (o *Widget) UnmarshalJSON(data []byte) (err error)
type Widgetlink struct {
	Variables []string `json:"variables,omitempty"`
}

Widgetlink struct for Widgetlink

func NewWidgetlink() *Widgetlink

NewWidgetlink instantiates a new Widgetlink 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 NewWidgetlinkWithDefaults

func NewWidgetlinkWithDefaults() *Widgetlink

NewWidgetlinkWithDefaults instantiates a new Widgetlink 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 (*Widgetlink) GetVariables

func (o *Widgetlink) GetVariables() []string

GetVariables returns the Variables field value if set, zero value otherwise.

func (*Widgetlink) GetVariablesOk

func (o *Widgetlink) GetVariablesOk() ([]string, bool)

GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Widgetlink) HasVariables

func (o *Widgetlink) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (Widgetlink) MarshalJSON

func (o Widgetlink) MarshalJSON() ([]byte, error)

func (*Widgetlink) SetVariables

func (o *Widgetlink) SetVariables(v []string)

SetVariables gets a reference to the given []string and assigns it to the Variables field.

func (Widgetlink) ToMap

func (o Widgetlink) ToMap() (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL