# 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
Step 2
Step 3
# Packages
No description provided by the author
# Functions
CacheExpires helper function to determine remaining time before repeating a request.
IsNil checks if an input is nil.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
NewConfiguration returns a new Configuration object.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.
# Variables
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.
# Structs
APIClient manages communication with the Arduino IoT Cloud API API v2.0 In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ArduinoCompressedv2 compressed contains the info from which to generate the certificate (default view).
ArduinoCredentialsv1 ArduinoCredentialsv1 media type (default view).
ArduinoDashboardowner ArduinoDashboardowner media type (default view).
ArduinoDashboardshare ArduinoDashboardshare media type (default view).
ArduinoDashboardv2 Dashboard is a collection of widgets (default view).
ArduinoDashboardv2template ArduinoDashboardv2template media type (default view).
ArduinoDevicev2 ArduinoDevicev2 media type (default view).
ArduinoDevicev2Cert DeviceCertV2 describes a certificate associated to the device (default view).
ArduinoDevicev2EventProperties ArduinoDevicev2EventProperties media type (default view).
ArduinoDevicev2Otaupload ArduinoDevicev2Otaupload media type (default view).
ArduinoDevicev2Pass DeviceCertV2 describes a password associated to a device (default view).
ArduinoDevicev2properties ArduinoDevicev2properties media type (default view).
ArduinoDevicev2propertyvalue ArduinoDevicev2propertyvalue media type (default view).
ArduinoDevicev2propertyvalues ArduinoDevicev2propertyvalues media type (default view).
ArduinoDevicev2propertyvaluesLastEvaluatedKey struct for ArduinoDevicev2propertyvaluesLastEvaluatedKey.
ArduinoDevicev2propertyvalueValue struct for ArduinoDevicev2propertyvalueValue.
ArduinoDevicev2propertyvalueValueStatistics struct for ArduinoDevicev2propertyvalueValueStatistics.
ArduinoDevicev2SimpleProperties ArduinoDevicev2SimpleProperties media type (default view).
ArduinoDevicev2StatusEvent ArduinoDevicev2StatusEvent media type (default view).
ArduinoDevicev2StatusEvents ArduinoDevicev2StatusEvents media type (default view).
ArduinoDevicev2templatedevice ArduinoDevicev2templatedevice media type (default view).
ArduinoDevicev2Webhook DeviceWebhookV2 describes a webhook associated to the device (default view).
ArduinoLinkedvariable ArduinoLinkedvariable media type (default view).
ArduinoLoradevicev1 ArduinoLoradevicev1 media type (default view).
ArduinoLorafreqplansv1 ArduinoLorafreqplansv1 media type (default view).
ArduinoLorafreqplanv1 ArduinoLorafreqplanv1 media type (default view).
ArduinoProperty ArduinoProperty media type (default view).
ArduinoPropertytype ArduinoPropertytype media type (default view).
ArduinoSeriesBatch ArduinoSeriesBatch media type (default view).
ArduinoSeriesBatchSampled ArduinoSeriesBatchSampled media type (default view).
ArduinoSeriesRawBatch ArduinoSeriesRawBatch media type (default view).
ArduinoSeriesRawBatchLastvalue ArduinoSeriesRawBatchLastvalue media type (default view).
ArduinoSeriesRawLastValueResponse ArduinoSeriesRawLastValueResponse media type (default view).
ArduinoSeriesRawResponse ArduinoSeriesRawResponse media type (default view).
ArduinoSeriesResponse ArduinoSeriesResponse media type (default view).
ArduinoSeriesSampledResponse ArduinoSeriesSampledResponse media type (default view).
ArduinoTags ArduinoTags media type (default view).
ArduinoTemplate ArduinoTemplate media type (default view).
ArduinoTemplateproperty ArduinoTemplateproperty media type (default view).
ArduinoTemplatevariable ArduinoTemplatevariable media type (default view).
ArduinoThing ArduinoThing media type (default view).
ArduinoThingresult ArduinoThingresult media type (default view).
ArduinoThingtemplate ArduinoThingtemplate media type (default view).
ArduinoTimeseriesmedia ArduinoTimeseriesmedia media type (default view).
ArduinoTimezone ArduinoTimezone media type (default view).
ArduinoVariableslinks ArduinoVariableslinks media type (default view).
ArduinoWidgetv2 ArduinoWidgetv2 media type (default view).
ArduinoWidgetv2template ArduinoWidgetv2template media type (default view).
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
BatchLastValueRequestsMediaV1 struct for BatchLastValueRequestsMediaV1.
BatchQueryRawLastValueRequestMediaV1 struct for BatchQueryRawLastValueRequestMediaV1.
BatchQueryRawRequestMediaV1 struct for BatchQueryRawRequestMediaV1.
BatchQueryRawRequestsMediaV1 struct for BatchQueryRawRequestsMediaV1.
BatchQueryRawResponseSeriesMediaV1 struct for BatchQueryRawResponseSeriesMediaV1.
BatchQueryRequestMediaV1 struct for BatchQueryRequestMediaV1.
BatchQueryRequestsMediaV1 struct for BatchQueryRequestsMediaV1.
No description provided by the author
BatchQuerySampledRequestMediaV1 struct for BatchQuerySampledRequestMediaV1.
BatchQuerySampledRequestsMediaV1 struct for BatchQuerySampledRequestsMediaV1.
CheckDevicesV2PassPayload struct for CheckDevicesV2PassPayload.
Clone struct for Clone.
Configuration stores the configuration of the API client.
CreateDevicesV2CertsPayload struct for CreateDevicesV2CertsPayload.
CreateDevicesV2Payload DeviceV2 describes a device.
CreateLoraDevicesV1Payload struct for CreateLoraDevicesV1Payload.
Dashboardshare struct for Dashboardshare.
Dashboardv2 DashboardV2Payload describes a dashboard.
Devicev2 DeviceV2 describes a device.
Devicev2Cert struct for Devicev2Cert.
Devicev2Otabinaryurl struct for Devicev2Otabinaryurl.
Devicev2Otaurlpyalod struct for Devicev2Otaurlpyalod.
Devicev2Pass struct for Devicev2Pass.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
HistoricDataRequest struct for HistoricDataRequest.
ModelError Error response media type (default view).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Override struct for Override.
PropertiesValue struct for PropertiesValue.
PropertiesValues struct for PropertiesValues.
Property PropertyPayload describes a property of a thing.
PropertyValue PropertyValuePayload describes a property value.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
Sharerequest struct for Sharerequest.
Tag struct for Tag.
Template TemplatePayload describes the needed attribute to apply a template.
ThingClone Payload to clone a new thing from an existing one.
ThingCreate Payload to create a new thing.
ThingSketch ThingSketchPayload describes a sketch of a thing.
ThingUpdate Payload to update an existing thing.
TimeseriesDataPoint struct for TimeseriesDataPoint.
UpdateSketch struct for UpdateSketch.
Widget Widget describes a dashboard widget.
Widgetlink struct for Widgetlink.
# Interfaces
No description provided by the author
# Type aliases
DashboardsV2ApiService DashboardsV2Api service.
DevicesV2ApiService DevicesV2Api service.
DevicesV2CertsApiService DevicesV2CertsApi service.
DevicesV2OtaApiService DevicesV2OtaApi service.
DevicesV2PassApiService DevicesV2PassApi service.
DevicesV2TagsApiService DevicesV2TagsApi service.
LoraDevicesV1ApiService LoraDevicesV1Api service.
LoraFreqPlanV1ApiService LoraFreqPlanV1Api service.
NetworkCredentialsV1ApiService NetworkCredentialsV1Api service.
PropertiesV2ApiService PropertiesV2Api service.
PropertyTypesV1ApiService PropertyTypesV1Api service.
SeriesV2ApiService SeriesV2Api service.
ServerConfigurations stores multiple ServerConfiguration items.
TemplatesApiService TemplatesApi service.
ThingsV2ApiService ThingsV2Api service.
ThingsV2TagsApiService ThingsV2TagsApi service.