v2

package module
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 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/iot")
// 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 (
	// 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
	// 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 ApiDashboardsV2CloneRequest

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

func (ApiDashboardsV2CloneRequest) Clone

func (ApiDashboardsV2CloneRequest) Execute

func (ApiDashboardsV2CloneRequest) XOrganization

func (r ApiDashboardsV2CloneRequest) XOrganization(xOrganization string) ApiDashboardsV2CloneRequest

type ApiDashboardsV2CreateRequest

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

func (ApiDashboardsV2CreateRequest) Dashboardv2

DashboardV2Payload describes a dashboard

func (ApiDashboardsV2CreateRequest) Execute

func (ApiDashboardsV2CreateRequest) XOrganization

func (r ApiDashboardsV2CreateRequest) XOrganization(xOrganization string) ApiDashboardsV2CreateRequest

type ApiDashboardsV2DeleteRequest

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

func (ApiDashboardsV2DeleteRequest) Execute

func (ApiDashboardsV2DeleteRequest) XOrganization

func (r ApiDashboardsV2DeleteRequest) XOrganization(xOrganization string) ApiDashboardsV2DeleteRequest

type ApiDashboardsV2DeleteShareRequest

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

func (ApiDashboardsV2DeleteShareRequest) Execute

func (ApiDashboardsV2DeleteShareRequest) XOrganization

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

type ApiDashboardsV2ListRequest

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

func (ApiDashboardsV2ListRequest) Execute

func (ApiDashboardsV2ListRequest) Name

The name of the dashboard

func (ApiDashboardsV2ListRequest) UserId

The user_id of the dashboard's owner

func (ApiDashboardsV2ListRequest) XOrganization

func (r ApiDashboardsV2ListRequest) XOrganization(xOrganization string) ApiDashboardsV2ListRequest

type ApiDashboardsV2ListSharesRequest

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

func (ApiDashboardsV2ListSharesRequest) Execute

func (ApiDashboardsV2ListSharesRequest) XOrganization

type ApiDashboardsV2RequestAccessRequest

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

func (ApiDashboardsV2RequestAccessRequest) Execute

func (ApiDashboardsV2RequestAccessRequest) Sharerequest

func (ApiDashboardsV2RequestAccessRequest) XOrganization

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

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

type ApiDashboardsV2TemplateRequest

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

func (ApiDashboardsV2TemplateRequest) Execute

func (ApiDashboardsV2TemplateRequest) XOrganization

type ApiDashboardsV2UpdateRequest

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

func (ApiDashboardsV2UpdateRequest) Dashboardv2

DashboardV2Payload describes a dashboard

func (ApiDashboardsV2UpdateRequest) Execute

func (ApiDashboardsV2UpdateRequest) XOrganization

func (r ApiDashboardsV2UpdateRequest) XOrganization(xOrganization string) ApiDashboardsV2UpdateRequest

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

type ApiDevicesV2DeleteRequest

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

func (ApiDevicesV2DeleteRequest) Execute

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

func (ApiDevicesV2DeleteRequest) XOrganization

func (r ApiDevicesV2DeleteRequest) XOrganization(xOrganization string) ApiDevicesV2DeleteRequest

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

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

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

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

Filter by tags

func (ApiDevicesV2ListRequest) XOrganization

func (r ApiDevicesV2ListRequest) XOrganization(xOrganization string) ApiDevicesV2ListRequest

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

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

type ApiDevicesV2UpdatePropertiesRequest

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

func (ApiDevicesV2UpdatePropertiesRequest) Execute

func (ApiDevicesV2UpdatePropertiesRequest) PropertiesValues

func (ApiDevicesV2UpdatePropertiesRequest) XOrganization

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

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

type ApiLoraFreqPlanV1ListRequest

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

func (ApiLoraFreqPlanV1ListRequest) Execute

type ApiNetworkCredentialsV1ShowByDeviceRequest added in v2.0.3

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

func (ApiNetworkCredentialsV1ShowByDeviceRequest) Execute added in v2.0.3

type ApiNetworkCredentialsV1ShowRequest added in v2.0.3

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

func (ApiNetworkCredentialsV1ShowRequest) Connection added in v2.0.3

Connection used by the device

func (ApiNetworkCredentialsV1ShowRequest) Execute added in v2.0.3

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

The id of the organization

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

The id of the organization

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

The id of the organization

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

The id of the organization

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

The id of the organization

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

The id of the organization

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

The id of the organization

type ApiPropertyTypesV1ListTypesRequest added in v2.0.6

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

func (ApiPropertyTypesV1ListTypesRequest) Execute added in v2.0.6

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

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

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

func (r ApiSeriesV2BatchQueryRequest) XOrganization(xOrganization string) ApiSeriesV2BatchQueryRequest

type ApiSeriesV2BatchQuerySamplingRequest added in v2.0.3

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

func (ApiSeriesV2BatchQuerySamplingRequest) BatchQuerySampledRequestsMediaV1 added in v2.0.3

func (r ApiSeriesV2BatchQuerySamplingRequest) BatchQuerySampledRequestsMediaV1(batchQuerySampledRequestsMediaV1 BatchQuerySampledRequestsMediaV1) ApiSeriesV2BatchQuerySamplingRequest

func (ApiSeriesV2BatchQuerySamplingRequest) Execute added in v2.0.3

func (ApiSeriesV2BatchQuerySamplingRequest) XOrganization added in v2.0.6

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

type ApiTemplatesApplyRequest added in v2.0.3

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

func (ApiTemplatesApplyRequest) Execute added in v2.0.3

func (ApiTemplatesApplyRequest) Template added in v2.0.3

TemplatePayload describes the needed attribute to apply a template

func (ApiTemplatesApplyRequest) XOrganization added in v2.0.3

func (r ApiTemplatesApplyRequest) XOrganization(xOrganization string) ApiTemplatesApplyRequest

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

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

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

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

type ApiThingsV2DeleteSketchRequest

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

func (ApiThingsV2DeleteSketchRequest) Execute

func (ApiThingsV2DeleteSketchRequest) XOrganization

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

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

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

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

type ApiThingsV2UpdateSketchRequest

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

func (ApiThingsV2UpdateSketchRequest) Execute

func (ApiThingsV2UpdateSketchRequest) UpdateSketch

func (ApiThingsV2UpdateSketchRequest) XOrganization

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)

type ArduinoCredentialsv1 added in v2.0.3

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

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

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

func (o *ArduinoCredentialsv1) GetFriendlyName() string

GetFriendlyName returns the FriendlyName field value

func (*ArduinoCredentialsv1) GetFriendlyNameOk added in v2.0.3

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

func (o *ArduinoCredentialsv1) GetRequired() bool

GetRequired returns the Required field value

func (*ArduinoCredentialsv1) GetRequiredOk added in v2.0.3

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

func (o *ArduinoCredentialsv1) GetSecretName() string

GetSecretName returns the SecretName field value

func (*ArduinoCredentialsv1) GetSecretNameOk added in v2.0.3

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

func (o *ArduinoCredentialsv1) GetSensitive() bool

GetSensitive returns the Sensitive field value

func (*ArduinoCredentialsv1) GetSensitiveOk added in v2.0.3

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

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

func (*ArduinoCredentialsv1) SetFriendlyName added in v2.0.3

func (o *ArduinoCredentialsv1) SetFriendlyName(v string)

SetFriendlyName sets field value

func (*ArduinoCredentialsv1) SetRequired added in v2.0.3

func (o *ArduinoCredentialsv1) SetRequired(v bool)

SetRequired sets field value

func (*ArduinoCredentialsv1) SetSecretName added in v2.0.3

func (o *ArduinoCredentialsv1) SetSecretName(v string)

SetSecretName sets field value

func (*ArduinoCredentialsv1) SetSensitive added in v2.0.3

func (o *ArduinoCredentialsv1) SetSensitive(v bool)

SetSensitive sets field value

func (ArduinoCredentialsv1) ToMap added in v2.0.3

func (o ArduinoCredentialsv1) ToMap() (map[string]interface{}, 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)

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)

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

func (o *ArduinoDashboardv2) GetCoverImage() string

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

func (*ArduinoDashboardv2) GetCoverImageOk added in v2.0.6

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

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

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)

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

func (o *ArduinoDashboardv2template) GetCoverImage() string

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

func (*ArduinoDashboardv2template) GetCoverImageOk added in v2.0.6

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

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

func (*ArduinoDashboardv2template) GetIdOk added in v2.0.3

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

func (o *ArduinoDashboardv2template) HasCoverImage() bool

HasCoverImage returns a boolean if a field has been set.

func (*ArduinoDashboardv2template) HasId added in v2.0.3

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

func (o *ArduinoDashboardv2template) SetCoverImage(v string)

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

func (*ArduinoDashboardv2template) SetId added in v2.0.3

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)

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

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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

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

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

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

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

func (*ArduinoDevicev2templatedevice) GetFqbnOk added in v2.0.3

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

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

func (*ArduinoDevicev2templatedevice) GetNameOk added in v2.0.3

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

func (o *ArduinoDevicev2templatedevice) HasFqbn() bool

HasFqbn returns a boolean if a field has been set.

func (*ArduinoDevicev2templatedevice) HasName added in v2.0.3

func (o *ArduinoDevicev2templatedevice) HasName() bool

HasName returns a boolean if a field has been set.

func (ArduinoDevicev2templatedevice) MarshalJSON added in v2.0.3

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

func (*ArduinoDevicev2templatedevice) SetFqbn added in v2.0.3

func (o *ArduinoDevicev2templatedevice) SetFqbn(v string)

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

func (*ArduinoDevicev2templatedevice) SetName added in v2.0.3

func (o *ArduinoDevicev2templatedevice) SetName(v string)

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

func (ArduinoDevicev2templatedevice) ToMap added in v2.0.3

func (o ArduinoDevicev2templatedevice) ToMap() (map[string]interface{}, 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)

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)

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)

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)

type ArduinoPropertytype added in v2.0.6

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

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

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

func (o *ArduinoPropertytype) GetAssistants() []string

GetAssistants returns the Assistants field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetAssistantsOk added in v2.0.6

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

func (o *ArduinoPropertytype) GetDeclaration() string

GetDeclaration returns the Declaration field value

func (*ArduinoPropertytype) GetDeclarationOk added in v2.0.6

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

func (o *ArduinoPropertytype) GetDeprecated() bool

GetDeprecated returns the Deprecated field value

func (*ArduinoPropertytype) GetDeprecatedOk added in v2.0.6

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

func (o *ArduinoPropertytype) GetExample() string

GetExample returns the Example field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetExampleOk added in v2.0.6

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

func (o *ArduinoPropertytype) GetName() string

GetName returns the Name field value

func (*ArduinoPropertytype) GetNameOk added in v2.0.6

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

func (o *ArduinoPropertytype) GetRw() bool

GetRw returns the Rw field value

func (*ArduinoPropertytype) GetRwOk added in v2.0.6

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

func (o *ArduinoPropertytype) GetSupersededBy() string

GetSupersededBy returns the SupersededBy field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetSupersededByOk added in v2.0.6

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

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

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

func (*ArduinoPropertytype) GetTagsOk added in v2.0.6

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

func (o *ArduinoPropertytype) GetType() string

GetType returns the Type field value

func (*ArduinoPropertytype) GetTypeOk added in v2.0.6

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

func (o *ArduinoPropertytype) GetUnits() []string

GetUnits returns the Units field value if set, zero value otherwise.

func (*ArduinoPropertytype) GetUnitsOk added in v2.0.6

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

func (o *ArduinoPropertytype) HasAssistants() bool

HasAssistants returns a boolean if a field has been set.

func (*ArduinoPropertytype) HasExample added in v2.0.6

func (o *ArduinoPropertytype) HasExample() bool

HasExample returns a boolean if a field has been set.

func (*ArduinoPropertytype) HasSupersededBy added in v2.0.6

func (o *ArduinoPropertytype) HasSupersededBy() bool

HasSupersededBy returns a boolean if a field has been set.

func (*ArduinoPropertytype) HasTags added in v2.0.6

func (o *ArduinoPropertytype) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ArduinoPropertytype) HasUnits added in v2.0.6

func (o *ArduinoPropertytype) HasUnits() bool

HasUnits returns a boolean if a field has been set.

func (ArduinoPropertytype) MarshalJSON added in v2.0.6

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

func (*ArduinoPropertytype) SetAssistants added in v2.0.6

func (o *ArduinoPropertytype) SetAssistants(v []string)

SetAssistants gets a reference to the given []string and assigns it to the Assistants field.

func (*ArduinoPropertytype) SetDeclaration added in v2.0.6

func (o *ArduinoPropertytype) SetDeclaration(v string)

SetDeclaration sets field value

func (*ArduinoPropertytype) SetDeprecated added in v2.0.6

func (o *ArduinoPropertytype) SetDeprecated(v bool)

SetDeprecated sets field value

func (*ArduinoPropertytype) SetExample added in v2.0.6

func (o *ArduinoPropertytype) SetExample(v string)

SetExample gets a reference to the given string and assigns it to the Example field.

func (*ArduinoPropertytype) SetName added in v2.0.6

func (o *ArduinoPropertytype) SetName(v string)

SetName sets field value

func (*ArduinoPropertytype) SetRw added in v2.0.6

func (o *ArduinoPropertytype) SetRw(v bool)

SetRw sets field value

func (*ArduinoPropertytype) SetSupersededBy added in v2.0.6

func (o *ArduinoPropertytype) SetSupersededBy(v string)

SetSupersededBy gets a reference to the given string and assigns it to the SupersededBy field.

func (*ArduinoPropertytype) SetTags added in v2.0.6

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

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

func (*ArduinoPropertytype) SetType added in v2.0.6

func (o *ArduinoPropertytype) SetType(v string)

SetType sets field value

func (*ArduinoPropertytype) SetUnits added in v2.0.6

func (o *ArduinoPropertytype) SetUnits(v []string)

SetUnits gets a reference to the given []string and assigns it to the Units field.

func (ArduinoPropertytype) ToMap added in v2.0.6

func (o ArduinoPropertytype) ToMap() (map[string]interface{}, 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)

type ArduinoSeriesBatchSampled added in v2.0.3

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

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

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

func (o *ArduinoSeriesBatchSampled) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*ArduinoSeriesBatchSampled) GetRespVersionOk added in v2.0.3

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

GetResponses returns the Responses field value

func (*ArduinoSeriesBatchSampled) GetResponsesOk added in v2.0.3

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

func (ArduinoSeriesBatchSampled) MarshalJSON added in v2.0.3

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

func (*ArduinoSeriesBatchSampled) SetRespVersion added in v2.0.3

func (o *ArduinoSeriesBatchSampled) SetRespVersion(v int64)

SetRespVersion sets field value

func (*ArduinoSeriesBatchSampled) SetResponses added in v2.0.3

SetResponses sets field value

func (ArduinoSeriesBatchSampled) ToMap added in v2.0.3

func (o ArduinoSeriesBatchSampled) ToMap() (map[string]interface{}, 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)

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)

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)

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

func (o *ArduinoSeriesRawResponse) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetPropertyIdOk added in v2.0.6

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

func (o *ArduinoSeriesRawResponse) GetPropertyName() string

GetPropertyName returns the PropertyName field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetPropertyNameOk added in v2.0.6

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

func (o *ArduinoSeriesRawResponse) GetPropertyType() string

GetPropertyType returns the PropertyType field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetPropertyTypeOk added in v2.0.6

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

func (o *ArduinoSeriesRawResponse) GetThingId() string

GetThingId returns the ThingId field value if set, zero value otherwise.

func (*ArduinoSeriesRawResponse) GetThingIdOk added in v2.0.6

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

func (o *ArduinoSeriesRawResponse) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*ArduinoSeriesRawResponse) HasPropertyName added in v2.0.6

func (o *ArduinoSeriesRawResponse) HasPropertyName() bool

HasPropertyName returns a boolean if a field has been set.

func (*ArduinoSeriesRawResponse) HasPropertyType added in v2.0.6

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

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

func (o *ArduinoSeriesRawResponse) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*ArduinoSeriesRawResponse) SetPropertyName added in v2.0.6

func (o *ArduinoSeriesRawResponse) SetPropertyName(v string)

SetPropertyName gets a reference to the given string and assigns it to the PropertyName field.

func (*ArduinoSeriesRawResponse) SetPropertyType added in v2.0.6

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

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)

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

func (o *ArduinoSeriesResponse) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetPropertyIdOk added in v2.0.6

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

func (o *ArduinoSeriesResponse) GetPropertyName() string

GetPropertyName returns the PropertyName field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetPropertyNameOk added in v2.0.6

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

func (o *ArduinoSeriesResponse) GetPropertyType() string

GetPropertyType returns the PropertyType field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetPropertyTypeOk added in v2.0.6

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

func (o *ArduinoSeriesResponse) GetThingId() string

GetThingId returns the ThingId field value if set, zero value otherwise.

func (*ArduinoSeriesResponse) GetThingIdOk added in v2.0.6

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

func (o *ArduinoSeriesResponse) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*ArduinoSeriesResponse) HasPropertyName added in v2.0.6

func (o *ArduinoSeriesResponse) HasPropertyName() bool

HasPropertyName returns a boolean if a field has been set.

func (*ArduinoSeriesResponse) HasPropertyType added in v2.0.6

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

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

func (o *ArduinoSeriesResponse) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*ArduinoSeriesResponse) SetPropertyName added in v2.0.6

func (o *ArduinoSeriesResponse) SetPropertyName(v string)

SetPropertyName gets a reference to the given string and assigns it to the PropertyName field.

func (*ArduinoSeriesResponse) SetPropertyType added in v2.0.6

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

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)

type ArduinoSeriesSampledResponse added in v2.0.3

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

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

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

func (o *ArduinoSeriesSampledResponse) GetCountValues() int64

GetCountValues returns the CountValues field value

func (*ArduinoSeriesSampledResponse) GetCountValuesOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetFromDate() time.Time

GetFromDate returns the FromDate field value

func (*ArduinoSeriesSampledResponse) GetFromDateOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetInterval() int64

GetInterval returns the Interval field value

func (*ArduinoSeriesSampledResponse) GetIntervalOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetMessageOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetPropertyId() string

GetPropertyId returns the PropertyId field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetPropertyIdOk added in v2.0.6

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

func (o *ArduinoSeriesSampledResponse) GetPropertyName() string

GetPropertyName returns the PropertyName field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetPropertyNameOk added in v2.0.6

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

func (o *ArduinoSeriesSampledResponse) GetPropertyType() string

GetPropertyType returns the PropertyType field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetPropertyTypeOk added in v2.0.6

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

func (o *ArduinoSeriesSampledResponse) GetQuery() string

GetQuery returns the Query field value

func (*ArduinoSeriesSampledResponse) GetQueryOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*ArduinoSeriesSampledResponse) GetRespVersionOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetSeriesLimit() int64

GetSeriesLimit returns the SeriesLimit field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetSeriesLimitOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetStatus() string

GetStatus returns the Status field value

func (*ArduinoSeriesSampledResponse) GetStatusOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetThingId() string

GetThingId returns the ThingId field value if set, zero value otherwise.

func (*ArduinoSeriesSampledResponse) GetThingIdOk added in v2.0.6

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

func (o *ArduinoSeriesSampledResponse) GetTimes() []time.Time

GetTimes returns the Times field value

func (*ArduinoSeriesSampledResponse) GetTimesOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetToDate() time.Time

GetToDate returns the ToDate field value

func (*ArduinoSeriesSampledResponse) GetToDateOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) GetValues() []interface{}

GetValues returns the Values field value

func (*ArduinoSeriesSampledResponse) GetValuesOk added in v2.0.3

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

func (o *ArduinoSeriesSampledResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasPropertyId added in v2.0.6

func (o *ArduinoSeriesSampledResponse) HasPropertyId() bool

HasPropertyId returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasPropertyName added in v2.0.6

func (o *ArduinoSeriesSampledResponse) HasPropertyName() bool

HasPropertyName returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasPropertyType added in v2.0.6

func (o *ArduinoSeriesSampledResponse) HasPropertyType() bool

HasPropertyType returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasSeriesLimit added in v2.0.3

func (o *ArduinoSeriesSampledResponse) HasSeriesLimit() bool

HasSeriesLimit returns a boolean if a field has been set.

func (*ArduinoSeriesSampledResponse) HasThingId added in v2.0.6

func (o *ArduinoSeriesSampledResponse) HasThingId() bool

HasThingId returns a boolean if a field has been set.

func (ArduinoSeriesSampledResponse) MarshalJSON added in v2.0.3

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

func (*ArduinoSeriesSampledResponse) SetCountValues added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetCountValues(v int64)

SetCountValues sets field value

func (*ArduinoSeriesSampledResponse) SetFromDate added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetFromDate(v time.Time)

SetFromDate sets field value

func (*ArduinoSeriesSampledResponse) SetInterval added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetInterval(v int64)

SetInterval sets field value

func (*ArduinoSeriesSampledResponse) SetMessage added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ArduinoSeriesSampledResponse) SetPropertyId added in v2.0.6

func (o *ArduinoSeriesSampledResponse) SetPropertyId(v string)

SetPropertyId gets a reference to the given string and assigns it to the PropertyId field.

func (*ArduinoSeriesSampledResponse) SetPropertyName added in v2.0.6

func (o *ArduinoSeriesSampledResponse) SetPropertyName(v string)

SetPropertyName gets a reference to the given string and assigns it to the PropertyName field.

func (*ArduinoSeriesSampledResponse) SetPropertyType added in v2.0.6

func (o *ArduinoSeriesSampledResponse) SetPropertyType(v string)

SetPropertyType gets a reference to the given string and assigns it to the PropertyType field.

func (*ArduinoSeriesSampledResponse) SetQuery added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetQuery(v string)

SetQuery sets field value

func (*ArduinoSeriesSampledResponse) SetRespVersion added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetRespVersion(v int64)

SetRespVersion sets field value

func (*ArduinoSeriesSampledResponse) SetSeriesLimit added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetSeriesLimit(v int64)

SetSeriesLimit gets a reference to the given int64 and assigns it to the SeriesLimit field.

func (*ArduinoSeriesSampledResponse) SetStatus added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetStatus(v string)

SetStatus sets field value

func (*ArduinoSeriesSampledResponse) SetThingId added in v2.0.6

func (o *ArduinoSeriesSampledResponse) SetThingId(v string)

SetThingId gets a reference to the given string and assigns it to the ThingId field.

func (*ArduinoSeriesSampledResponse) SetTimes added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetTimes(v []time.Time)

SetTimes sets field value

func (*ArduinoSeriesSampledResponse) SetToDate added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetToDate(v time.Time)

SetToDate sets field value

func (*ArduinoSeriesSampledResponse) SetValues added in v2.0.3

func (o *ArduinoSeriesSampledResponse) SetValues(v []interface{})

SetValues sets field value

func (ArduinoSeriesSampledResponse) ToMap added in v2.0.3

func (o ArduinoSeriesSampledResponse) ToMap() (map[string]interface{}, 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)

type ArduinoTemplate added in v2.0.3

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

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

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

func (o *ArduinoTemplate) GetDashboards() []string

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*ArduinoTemplate) GetDashboardsOk added in v2.0.3

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

func (o *ArduinoTemplate) GetThings() []ArduinoThingresult

GetThings returns the Things field value

func (*ArduinoTemplate) GetThingsOk added in v2.0.3

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

func (o *ArduinoTemplate) GetTriggers() []string

GetTriggers returns the Triggers field value if set, zero value otherwise.

func (*ArduinoTemplate) GetTriggersOk added in v2.0.3

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

func (o *ArduinoTemplate) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (*ArduinoTemplate) HasTriggers added in v2.0.3

func (o *ArduinoTemplate) HasTriggers() bool

HasTriggers returns a boolean if a field has been set.

func (ArduinoTemplate) MarshalJSON added in v2.0.3

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

func (*ArduinoTemplate) SetDashboards added in v2.0.3

func (o *ArduinoTemplate) SetDashboards(v []string)

SetDashboards gets a reference to the given []string and assigns it to the Dashboards field.

func (*ArduinoTemplate) SetThings added in v2.0.3

func (o *ArduinoTemplate) SetThings(v []ArduinoThingresult)

SetThings sets field value

func (*ArduinoTemplate) SetTriggers added in v2.0.3

func (o *ArduinoTemplate) SetTriggers(v []string)

SetTriggers gets a reference to the given []string and assigns it to the Triggers field.

func (ArduinoTemplate) ToMap added in v2.0.3

func (o ArduinoTemplate) ToMap() (map[string]interface{}, 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 added in v2.0.3

func (o *ArduinoTemplateproperty) GetId() string

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

func (*ArduinoTemplateproperty) GetIdOk added in v2.0.3

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

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

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)

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)

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

func (o *ArduinoThing) GetAssistant() string

GetAssistant returns the Assistant field value if set, zero value otherwise.

func (*ArduinoThing) GetAssistantOk added in v2.0.3

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

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

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)

type ArduinoThingresult added in v2.0.3

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

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

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

func (o *ArduinoThingresult) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*ArduinoThingresult) GetDeviceIdOk added in v2.0.3

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

func (o *ArduinoThingresult) GetId() string

GetId returns the Id field value

func (*ArduinoThingresult) GetIdOk added in v2.0.3

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

func (o *ArduinoThingresult) GetSketchId() string

GetSketchId returns the SketchId field value

func (*ArduinoThingresult) GetSketchIdOk added in v2.0.3

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

func (o *ArduinoThingresult) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (ArduinoThingresult) MarshalJSON added in v2.0.3

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

func (*ArduinoThingresult) SetDeviceId added in v2.0.3

func (o *ArduinoThingresult) SetDeviceId(v string)

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

func (*ArduinoThingresult) SetId added in v2.0.3

func (o *ArduinoThingresult) SetId(v string)

SetId sets field value

func (*ArduinoThingresult) SetSketchId added in v2.0.3

func (o *ArduinoThingresult) SetSketchId(v string)

SetSketchId sets field value

func (ArduinoThingresult) ToMap added in v2.0.3

func (o ArduinoThingresult) ToMap() (map[string]interface{}, 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 added in v2.0.3

func (o *ArduinoThingtemplate) GetDeviceMetadata() ArduinoDevicev2templatedevice

GetDeviceMetadata returns the DeviceMetadata field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetDeviceMetadataOk added in v2.0.3

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

func (o *ArduinoThingtemplate) GetId() string

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

func (*ArduinoThingtemplate) GetIdOk added in v2.0.3

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

func (o *ArduinoThingtemplate) GetSketchTemplate() string

GetSketchTemplate returns the SketchTemplate field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetSketchTemplateOk added in v2.0.3

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

func (o *ArduinoThingtemplate) GetVariables() []ArduinoTemplateproperty

GetVariables returns the Variables field value if set, zero value otherwise.

func (*ArduinoThingtemplate) GetVariablesOk added in v2.0.3

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

func (o *ArduinoThingtemplate) HasDeviceMetadata() bool

HasDeviceMetadata returns a boolean if a field has been set.

func (*ArduinoThingtemplate) HasId added in v2.0.3

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

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

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

func (o *ArduinoThingtemplate) SetDeviceMetadata(v ArduinoDevicev2templatedevice)

SetDeviceMetadata gets a reference to the given ArduinoDevicev2templatedevice and assigns it to the DeviceMetadata field.

func (*ArduinoThingtemplate) SetId added in v2.0.3

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

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

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)

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)

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

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)

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)

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)

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)

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)

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)

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)

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)

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)

type BatchQueryResponseSeriesMediaV1

type BatchQueryResponseSeriesMediaV1 struct {
	// Aggregation type
	Aggr string `json:"aggr"`
	// Query
	Expression string `json:"expression"`
	// Metric name
	Metric string `json:"metric"`
}

type BatchQuerySampledRequestMediaV1 added in v2.0.3

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

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

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

GetFrom returns the From field value if set, zero value otherwise.

func (*BatchQuerySampledRequestMediaV1) GetFromOk added in v2.0.3

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

func (o *BatchQuerySampledRequestMediaV1) GetInterval() int32

GetInterval returns the Interval field value if set, zero value otherwise.

func (*BatchQuerySampledRequestMediaV1) GetIntervalOk added in v2.0.3

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

GetQ returns the Q field value

func (*BatchQuerySampledRequestMediaV1) GetQOk added in v2.0.3

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

func (*BatchQuerySampledRequestMediaV1) GetSeriesLimit added in v2.0.3

func (o *BatchQuerySampledRequestMediaV1) GetSeriesLimit() int64

GetSeriesLimit returns the SeriesLimit field value if set, zero value otherwise.

func (*BatchQuerySampledRequestMediaV1) GetSeriesLimitOk added in v2.0.3

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

GetTo returns the To field value if set, zero value otherwise.

func (*BatchQuerySampledRequestMediaV1) GetToOk added in v2.0.3

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

HasFrom returns a boolean if a field has been set.

func (*BatchQuerySampledRequestMediaV1) HasInterval added in v2.0.3

func (o *BatchQuerySampledRequestMediaV1) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*BatchQuerySampledRequestMediaV1) HasSeriesLimit added in v2.0.3

func (o *BatchQuerySampledRequestMediaV1) HasSeriesLimit() bool

HasSeriesLimit returns a boolean if a field has been set.

func (*BatchQuerySampledRequestMediaV1) HasTo added in v2.0.3

HasTo returns a boolean if a field has been set.

func (BatchQuerySampledRequestMediaV1) MarshalJSON added in v2.0.3

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

func (*BatchQuerySampledRequestMediaV1) SetFrom added in v2.0.3

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*BatchQuerySampledRequestMediaV1) SetInterval added in v2.0.3

func (o *BatchQuerySampledRequestMediaV1) SetInterval(v int32)

SetInterval gets a reference to the given int32 and assigns it to the Interval field.

func (*BatchQuerySampledRequestMediaV1) SetQ added in v2.0.3

SetQ sets field value

func (*BatchQuerySampledRequestMediaV1) SetSeriesLimit added in v2.0.3

func (o *BatchQuerySampledRequestMediaV1) SetSeriesLimit(v int64)

SetSeriesLimit gets a reference to the given int64 and assigns it to the SeriesLimit field.

func (*BatchQuerySampledRequestMediaV1) SetTo added in v2.0.3

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (BatchQuerySampledRequestMediaV1) ToMap added in v2.0.3

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

type BatchQuerySampledRequestsMediaV1 added in v2.0.3

type BatchQuerySampledRequestsMediaV1 struct {
	// Requests
	Requests []BatchQuerySampledRequestMediaV1 `json:"requests"`
	// Response version
	RespVersion int64 `json:"resp_version"`
}

BatchQuerySampledRequestsMediaV1 struct for BatchQuerySampledRequestsMediaV1

func NewBatchQuerySampledRequestsMediaV1 added in v2.0.3

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

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

GetRequests returns the Requests field value

func (*BatchQuerySampledRequestsMediaV1) GetRequestsOk added in v2.0.3

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

func (*BatchQuerySampledRequestsMediaV1) GetRespVersion added in v2.0.3

func (o *BatchQuerySampledRequestsMediaV1) GetRespVersion() int64

GetRespVersion returns the RespVersion field value

func (*BatchQuerySampledRequestsMediaV1) GetRespVersionOk added in v2.0.3

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

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

func (*BatchQuerySampledRequestsMediaV1) SetRequests added in v2.0.3

SetRequests sets field value

func (*BatchQuerySampledRequestsMediaV1) SetRespVersion added in v2.0.3

func (o *BatchQuerySampledRequestsMediaV1) SetRespVersion(v int64)

SetRespVersion sets field value

func (BatchQuerySampledRequestsMediaV1) ToMap added in v2.0.3

func (o BatchQuerySampledRequestsMediaV1) ToMap() (map[string]interface{}, 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)

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 struct for Clone

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

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"`
	// The serial uuid of the device
	Serial *string `json:"serial,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 `json:"wifi_fw_version,omitempty"`
}

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

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"`
	// The app key of the lora device
	AppKey *string `json:"app_key,omitempty"`
	// The eui of the lora device
	Eui string `json:"eui"`
	// 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)

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

@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"`
	// Widgets attached to this dashboard
	Widgets []Widget `json:"widgets,omitempty"`
}

Dashboardv2 DashboardV2Payload 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 added in v2.0.6

func (o *Dashboardv2) GetCoverImage() string

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

func (*Dashboardv2) GetCoverImageOk added in v2.0.6

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

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

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) 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 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"`
	// The serial uuid of the device
	Serial *string `json:"serial,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 `json:"wifi_fw_version,omitempty"`
}

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

type Devicev2Otaurlpyalod

type Devicev2Otaurlpyalod struct {
	// The object key of the binary
	BinaryKey *string `json:"binary_key,omitempty"`
	// The sha256 of the binary
	Sha256 *string `json:"sha256,omitempty"`
	// 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 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)

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

type NetworkCredentialsV1ApiService service

NetworkCredentialsV1ApiService NetworkCredentialsV1Api service

func (*NetworkCredentialsV1ApiService) NetworkCredentialsV1Show added in v2.0.3

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

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

func (a *NetworkCredentialsV1ApiService) NetworkCredentialsV1ShowByDeviceExecute(r ApiNetworkCredentialsV1ShowByDeviceRequest) (*http.Response, error)

Execute executes the request

func (*NetworkCredentialsV1ApiService) NetworkCredentialsV1ShowExecute added in v2.0.3

Execute executes the request

@return []ArduinoCredentialsv1

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

type NullableArduinoCredentialsv1 struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoCredentialsv1 added in v2.0.3

func NewNullableArduinoCredentialsv1(val *ArduinoCredentialsv1) *NullableArduinoCredentialsv1

func (NullableArduinoCredentialsv1) Get added in v2.0.3

func (NullableArduinoCredentialsv1) IsSet added in v2.0.3

func (NullableArduinoCredentialsv1) MarshalJSON added in v2.0.3

func (v NullableArduinoCredentialsv1) MarshalJSON() ([]byte, error)

func (*NullableArduinoCredentialsv1) Set added in v2.0.3

func (*NullableArduinoCredentialsv1) UnmarshalJSON added in v2.0.3

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

func (*NullableArduinoCredentialsv1) Unset added in v2.0.3

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

type NullableArduinoDevicev2templatedevice struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoDevicev2templatedevice added in v2.0.3

func NewNullableArduinoDevicev2templatedevice(val *ArduinoDevicev2templatedevice) *NullableArduinoDevicev2templatedevice

func (NullableArduinoDevicev2templatedevice) Get added in v2.0.3

func (NullableArduinoDevicev2templatedevice) IsSet added in v2.0.3

func (NullableArduinoDevicev2templatedevice) MarshalJSON added in v2.0.3

func (v NullableArduinoDevicev2templatedevice) MarshalJSON() ([]byte, error)

func (*NullableArduinoDevicev2templatedevice) Set added in v2.0.3

func (*NullableArduinoDevicev2templatedevice) UnmarshalJSON added in v2.0.3

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

func (*NullableArduinoDevicev2templatedevice) Unset added in v2.0.3

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

type NullableArduinoPropertytype struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoPropertytype added in v2.0.6

func NewNullableArduinoPropertytype(val *ArduinoPropertytype) *NullableArduinoPropertytype

func (NullableArduinoPropertytype) Get added in v2.0.6

func (NullableArduinoPropertytype) IsSet added in v2.0.6

func (NullableArduinoPropertytype) MarshalJSON added in v2.0.6

func (v NullableArduinoPropertytype) MarshalJSON() ([]byte, error)

func (*NullableArduinoPropertytype) Set added in v2.0.6

func (*NullableArduinoPropertytype) UnmarshalJSON added in v2.0.6

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

func (*NullableArduinoPropertytype) Unset added in v2.0.6

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

type NullableArduinoSeriesBatchSampled struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoSeriesBatchSampled added in v2.0.3

func NewNullableArduinoSeriesBatchSampled(val *ArduinoSeriesBatchSampled) *NullableArduinoSeriesBatchSampled

func (NullableArduinoSeriesBatchSampled) Get added in v2.0.3

func (NullableArduinoSeriesBatchSampled) IsSet added in v2.0.3

func (NullableArduinoSeriesBatchSampled) MarshalJSON added in v2.0.3

func (v NullableArduinoSeriesBatchSampled) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesBatchSampled) Set added in v2.0.3

func (*NullableArduinoSeriesBatchSampled) UnmarshalJSON added in v2.0.3

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

func (*NullableArduinoSeriesBatchSampled) Unset added in v2.0.3

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

type NullableArduinoSeriesSampledResponse struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoSeriesSampledResponse added in v2.0.3

func NewNullableArduinoSeriesSampledResponse(val *ArduinoSeriesSampledResponse) *NullableArduinoSeriesSampledResponse

func (NullableArduinoSeriesSampledResponse) Get added in v2.0.3

func (NullableArduinoSeriesSampledResponse) IsSet added in v2.0.3

func (NullableArduinoSeriesSampledResponse) MarshalJSON added in v2.0.3

func (v NullableArduinoSeriesSampledResponse) MarshalJSON() ([]byte, error)

func (*NullableArduinoSeriesSampledResponse) Set added in v2.0.3

func (*NullableArduinoSeriesSampledResponse) UnmarshalJSON added in v2.0.3

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

func (*NullableArduinoSeriesSampledResponse) Unset added in v2.0.3

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

type NullableArduinoTemplate struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoTemplate added in v2.0.3

func NewNullableArduinoTemplate(val *ArduinoTemplate) *NullableArduinoTemplate

func (NullableArduinoTemplate) Get added in v2.0.3

func (NullableArduinoTemplate) IsSet added in v2.0.3

func (v NullableArduinoTemplate) IsSet() bool

func (NullableArduinoTemplate) MarshalJSON added in v2.0.3

func (v NullableArduinoTemplate) MarshalJSON() ([]byte, error)

func (*NullableArduinoTemplate) Set added in v2.0.3

func (*NullableArduinoTemplate) UnmarshalJSON added in v2.0.3

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

func (*NullableArduinoTemplate) Unset added in v2.0.3

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

type NullableArduinoThingresult struct {
	// contains filtered or unexported fields
}

func NewNullableArduinoThingresult added in v2.0.3

func NewNullableArduinoThingresult(val *ArduinoThingresult) *NullableArduinoThingresult

func (NullableArduinoThingresult) Get added in v2.0.3

func (NullableArduinoThingresult) IsSet added in v2.0.3

func (v NullableArduinoThingresult) IsSet() bool

func (NullableArduinoThingresult) MarshalJSON added in v2.0.3

func (v NullableArduinoThingresult) MarshalJSON() ([]byte, error)

func (*NullableArduinoThingresult) Set added in v2.0.3

func (*NullableArduinoThingresult) UnmarshalJSON added in v2.0.3

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

func (*NullableArduinoThingresult) Unset added in v2.0.3

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

type NullableBatchQuerySampledRequestMediaV1 struct {
	// contains filtered or unexported fields
}

func NewNullableBatchQuerySampledRequestMediaV1 added in v2.0.3

func NewNullableBatchQuerySampledRequestMediaV1(val *BatchQuerySampledRequestMediaV1) *NullableBatchQuerySampledRequestMediaV1

func (NullableBatchQuerySampledRequestMediaV1) Get added in v2.0.3

func (NullableBatchQuerySampledRequestMediaV1) IsSet added in v2.0.3

func (NullableBatchQuerySampledRequestMediaV1) MarshalJSON added in v2.0.3

func (v NullableBatchQuerySampledRequestMediaV1) MarshalJSON() ([]byte, error)

func (*NullableBatchQuerySampledRequestMediaV1) Set added in v2.0.3

func (*NullableBatchQuerySampledRequestMediaV1) UnmarshalJSON added in v2.0.3

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

func (*NullableBatchQuerySampledRequestMediaV1) Unset added in v2.0.3

type NullableBatchQuerySampledRequestsMediaV1 added in v2.0.3

type NullableBatchQuerySampledRequestsMediaV1 struct {
	// contains filtered or unexported fields
}

func NewNullableBatchQuerySampledRequestsMediaV1 added in v2.0.3

func NewNullableBatchQuerySampledRequestsMediaV1(val *BatchQuerySampledRequestsMediaV1) *NullableBatchQuerySampledRequestsMediaV1

func (NullableBatchQuerySampledRequestsMediaV1) Get added in v2.0.3

func (NullableBatchQuerySampledRequestsMediaV1) IsSet added in v2.0.3

func (NullableBatchQuerySampledRequestsMediaV1) MarshalJSON added in v2.0.3

func (*NullableBatchQuerySampledRequestsMediaV1) Set added in v2.0.3

func (*NullableBatchQuerySampledRequestsMediaV1) UnmarshalJSON added in v2.0.3

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

func (*NullableBatchQuerySampledRequestsMediaV1) Unset added in v2.0.3

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

type NullableTemplate struct {
	// contains filtered or unexported fields
}

func NewNullableTemplate added in v2.0.3

func NewNullableTemplate(val *Template) *NullableTemplate

func (NullableTemplate) Get added in v2.0.3

func (v NullableTemplate) Get() *Template

func (NullableTemplate) IsSet added in v2.0.3

func (v NullableTemplate) IsSet() bool

func (NullableTemplate) MarshalJSON added in v2.0.3

func (v NullableTemplate) MarshalJSON() ([]byte, error)

func (*NullableTemplate) Set added in v2.0.3

func (v *NullableTemplate) Set(val *Template)

func (*NullableTemplate) UnmarshalJSON added in v2.0.3

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

func (*NullableTemplate) Unset added in v2.0.3

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

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)

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)

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

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)

type PropertyTypesV1ApiService added in v2.0.6

type PropertyTypesV1ApiService service

PropertyTypesV1ApiService PropertyTypesV1Api service

func (*PropertyTypesV1ApiService) PropertyTypesV1ListTypes added in v2.0.6

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

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)

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

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

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"`
	// Value of the tag
	Value string `json:"value"`
}

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)

type Template added in v2.0.3

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"`
	// 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 added in v2.0.3

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

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

func (o *Template) GetCustomTemplateId() string

GetCustomTemplateId returns the CustomTemplateId field value if set, zero value otherwise.

func (*Template) GetCustomTemplateIdOk added in v2.0.3

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

func (o *Template) GetPrefixName() string

GetPrefixName returns the PrefixName field value if set, zero value otherwise.

func (*Template) GetPrefixNameOk added in v2.0.3

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

func (o *Template) GetTemplateName() string

GetTemplateName returns the TemplateName field value

func (*Template) GetTemplateNameOk added in v2.0.3

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

func (o *Template) GetThingsOptions() map[string]interface{}

GetThingsOptions returns the ThingsOptions field value if set, zero value otherwise.

func (*Template) GetThingsOptionsOk added in v2.0.3

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

func (o *Template) HasCustomTemplateId() bool

HasCustomTemplateId returns a boolean if a field has been set.

func (*Template) HasPrefixName added in v2.0.3

func (o *Template) HasPrefixName() bool

HasPrefixName returns a boolean if a field has been set.

func (*Template) HasThingsOptions added in v2.0.3

func (o *Template) HasThingsOptions() bool

HasThingsOptions returns a boolean if a field has been set.

func (Template) MarshalJSON added in v2.0.3

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

func (*Template) SetCustomTemplateId added in v2.0.3

func (o *Template) SetCustomTemplateId(v string)

SetCustomTemplateId gets a reference to the given string and assigns it to the CustomTemplateId field.

func (*Template) SetPrefixName added in v2.0.3

func (o *Template) SetPrefixName(v string)

SetPrefixName gets a reference to the given string and assigns it to the PrefixName field.

func (*Template) SetTemplateName added in v2.0.3

func (o *Template) SetTemplateName(v string)

SetTemplateName sets field value

func (*Template) SetThingsOptions added in v2.0.3

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

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

type TemplatesApiService added in v2.0.3

type TemplatesApiService service

TemplatesApiService TemplatesApi service

func (*TemplatesApiService) TemplatesApply added in v2.0.3

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

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

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)

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"`
	// 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 added in v2.0.3

func (o *ThingCreate) GetAssistant() string

GetAssistant returns the Assistant field value if set, zero value otherwise.

func (*ThingCreate) GetAssistantOk added in v2.0.3

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

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

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"`
	// The properties of the thing
	Properties []Property `json:"properties,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 added in v2.0.3

func (o *ThingUpdate) GetAssistant() string

GetAssistant returns the Assistant field value if set, zero value otherwise.

func (*ThingUpdate) GetAssistantOk added in v2.0.3

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

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

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

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