openapi

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 21 Imported by: 0

README

Go API client for openapi

This API is rate limited and will return the following headers for each API call.

  • X-RateLimit-Limit - The total number of requests allowed within a time period
  • X-RateLimit-Remaining - The total number of requests still allowed until the end of the rate limiting period
  • X-RateLimit-Reset - The number of seconds until the limit is fully reset

In addition, if an API client is rate limited, it will receive a HTTP 420 response with the following header:

  • Retry-After - The number of seconds to wait until this request is allowed

Overview

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

  • API version: 2.0-Beta
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import openapi "github.com/commontorizon/torizon-openapi-go"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://app.torizon.io/api/v2beta

Class Method HTTP request Description
DeviceMetricsAPI GetDeviceDataDevicesDeviceuuidMetrics Get /device-data/devices/{deviceUuid}/metrics Get metrics data from a single device
DeviceMetricsAPI GetDeviceDataFleetsFleetidMetrics Get /device-data/fleets/{fleetId}/metrics Get aggregated metrics data from a fleet of devices
DeviceMetricsAPI GetDeviceDataMetricNames Get /device-data/metric-names Get the list of metrics available in your repository
DevicesAPI DeleteDevicesDeviceuuid Delete /devices/{deviceUuid} Delete a single device
DevicesAPI GetDevices Get /devices Query device information
DevicesAPI GetDevicesDeviceuuid Get /devices/{deviceUuid} Get detailed information about a single device
DevicesAPI GetDevicesNameDeviceuuid Get /devices/name/{deviceUuid} Get the display name of a single device
DevicesAPI GetDevicesNetwork Get /devices/network Get network information for many devices
DevicesAPI GetDevicesNetworkDeviceuuid Get /devices/network/{deviceUuid} Get network information for a single device
DevicesAPI GetDevicesNotesDeviceuuid Get /devices/notes/{deviceUuid} Get the device notes for a specific device
DevicesAPI GetDevicesPackages Get /devices/packages Get information about the installed packages for many devices
DevicesAPI GetDevicesPackagesDeviceuuid Get /devices/packages/{deviceUuid} Get information about the installed packages for a single device
DevicesAPI GetDevicesToken Get /devices/token Retrieve device provisioning token
DevicesAPI GetDevicesUptaneDeviceuuidAssignment Get /devices/uptane/{deviceUuid}/assignment Show detailed information about the currently-assigned update for a single device
DevicesAPI GetDevicesUptaneDeviceuuidComponents Get /devices/uptane/{deviceUuid}/components Get a list of the software components reported by a single device
DevicesAPI PostDevices Post /devices Manually create a new device
DevicesAPI PutDevicesHibernationDeviceuuid Put /devices/hibernation/{deviceUuid} Set the hibernation status of a device
DevicesAPI PutDevicesNameDeviceuuid Put /devices/name/{deviceUuid} Set the display name of a single device
DevicesAPI PutDevicesNotesDeviceuuid Put /devices/notes/{deviceUuid} Set the device notes for a specific device
FleetsAPI DeleteFleetsFleetid Delete /fleets/{fleetId} Delete a fleet
FleetsAPI DeleteFleetsFleetidDevices Delete /fleets/{fleetId}/devices Remove devices from a fleet
FleetsAPI GetFleets Get /fleets Get information about all fleets in your repository
FleetsAPI GetFleetsFleetidDevices Get /fleets/{fleetId}/devices Get information about the devices in a single fleet
FleetsAPI PostFleets Post /fleets Create a new fleet
FleetsAPI PostFleetsFleetidDevices Post /fleets/{fleetId}/devices Add devices to a fleet
PackagesAPI DeletePackagesPackageid Delete /packages/{packageId} Delete a package
PackagesAPI GetPackages Get /packages Retrieve metadata about packages in your repository
PackagesAPI GetPackagesExternal Get /packages_external Retrieve metadata about packages in your repository from other sources
PackagesAPI GetPackagesExternalInfo Get /packages_external/info Fetch information about external package sources
PackagesAPI GetPackagesExternalRefreshSourceFileName Get /packages_external/refresh/{source_file_name} Refresh metadata from an external package source
PackagesAPI PatchPackagesPackageid Patch /packages/{packageId} Edit metadata about a package
PackagesAPI PostPackages Post /packages Upload a new package
UpdatesAPI GetLockboxDetails Get /lockbox-details List all existing lockboxes on the repository, and their detailed contents
UpdatesAPI GetLockboxes Get /lockboxes List all existing lockboxes on the repository
UpdatesAPI GetLockboxesLockboxName Get /lockboxes/{lockbox_name} Get the raw Uptane metadata for a lockbox
UpdatesAPI PatchUpdates Patch /updates Cancel a pending update for one or more devices
UpdatesAPI PostLockboxesLockboxName Post /lockboxes/{lockbox_name} Define a new lockbox, or update an existing one
UpdatesAPI PostUpdates Post /updates Launch an update to one or more devices or fleets

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), openapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
Oauth2
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • profile: Default scope; automatically added and not currently used.

Example

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

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, openapi.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

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

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedDeviceSortDirectionEnumValues = []DeviceSortDirection{
	"Asc",
	"Desc",
}

All allowed values of DeviceSortDirection enum

View Source
var AllowedDeviceSortEnumValues = []DeviceSort{
	"Name",
	"DeviceId",
	"Uuid",
	"CreatedAt",
	"ActivatedAt",
	"LastSeen",
}

All allowed values of DeviceSort enum

View Source
var AllowedDeviceStatusEnumValues = []DeviceStatus{
	"NotSeen",
	"Error",
	"UpToDate",
	"UpdatePending",
	"Outdated",
}

All allowed values of DeviceStatus enum

View Source
var AllowedFleetTypeEnumValues = []FleetType{
	"static",
	"dynamic",
}

All allowed values of FleetType enum

View Source
var AllowedSignatureMethodEnumValues = []SignatureMethod{
	"rsassa-pss-sha256",
	"ed25519",
	"ecPrime256v1",
}

All allowed values of SignatureMethod enum

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 {
	DeviceMetricsAPI *DeviceMetricsAPIService

	DevicesAPI *DevicesAPIService

	FleetsAPI *FleetsAPIService

	PackagesAPI *PackagesAPIService

	UpdatesAPI *UpdatesAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Torizon OTA API v2.0-Beta 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 ApiDeleteDevicesDeviceuuidRequest

type ApiDeleteDevicesDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteDevicesDeviceuuidRequest) Execute

type ApiDeleteFleetsFleetidDevicesRequest

type ApiDeleteFleetsFleetidDevicesRequest struct {
	ApiService *FleetsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteFleetsFleetidDevicesRequest) Execute

func (ApiDeleteFleetsFleetidDevicesRequest) RequestBody

type ApiDeleteFleetsFleetidRequest

type ApiDeleteFleetsFleetidRequest struct {
	ApiService *FleetsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteFleetsFleetidRequest) Execute

type ApiDeletePackagesPackageidRequest

type ApiDeletePackagesPackageidRequest struct {
	ApiService *PackagesAPIService
	// contains filtered or unexported fields
}

func (ApiDeletePackagesPackageidRequest) Execute

type ApiGetDeviceDataDevicesDeviceuuidMetricsRequest

type ApiGetDeviceDataDevicesDeviceuuidMetricsRequest struct {
	ApiService *DeviceMetricsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Execute

func (ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) From

func (ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Metric

func (ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Resolution

func (ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) To

type ApiGetDeviceDataFleetsFleetidMetricsRequest

type ApiGetDeviceDataFleetsFleetidMetricsRequest struct {
	ApiService *DeviceMetricsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDeviceDataFleetsFleetidMetricsRequest) Execute

func (ApiGetDeviceDataFleetsFleetidMetricsRequest) From

func (ApiGetDeviceDataFleetsFleetidMetricsRequest) Metric

func (ApiGetDeviceDataFleetsFleetidMetricsRequest) Resolution

func (ApiGetDeviceDataFleetsFleetidMetricsRequest) To

type ApiGetDeviceDataMetricNamesRequest

type ApiGetDeviceDataMetricNamesRequest struct {
	ApiService *DeviceMetricsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDeviceDataMetricNamesRequest) Execute

func (ApiGetDeviceDataMetricNamesRequest) From

func (ApiGetDeviceDataMetricNamesRequest) To

type ApiGetDevicesDeviceuuidRequest

type ApiGetDevicesDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesDeviceuuidRequest) Execute

type ApiGetDevicesNameDeviceuuidRequest

type ApiGetDevicesNameDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesNameDeviceuuidRequest) Execute

type ApiGetDevicesNetworkDeviceuuidRequest

type ApiGetDevicesNetworkDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesNetworkDeviceuuidRequest) Execute

type ApiGetDevicesNetworkRequest

type ApiGetDevicesNetworkRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesNetworkRequest) DeviceUuid

func (ApiGetDevicesNetworkRequest) Execute

func (ApiGetDevicesNetworkRequest) Limit

func (ApiGetDevicesNetworkRequest) Offset

type ApiGetDevicesNotesDeviceuuidRequest

type ApiGetDevicesNotesDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesNotesDeviceuuidRequest) Execute

type ApiGetDevicesPackagesDeviceuuidRequest

type ApiGetDevicesPackagesDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesPackagesDeviceuuidRequest) Execute

type ApiGetDevicesPackagesRequest

type ApiGetDevicesPackagesRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesPackagesRequest) DeviceUuid

func (ApiGetDevicesPackagesRequest) Execute

func (ApiGetDevicesPackagesRequest) Limit

func (ApiGetDevicesPackagesRequest) NameContains

func (ApiGetDevicesPackagesRequest) Offset

type ApiGetDevicesRequest

type ApiGetDevicesRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesRequest) ActivatedAfter added in v0.0.3

func (r ApiGetDevicesRequest) ActivatedAfter(activatedAfter time.Time) ApiGetDevicesRequest

func (ApiGetDevicesRequest) ActivatedBefore added in v0.0.3

func (r ApiGetDevicesRequest) ActivatedBefore(activatedBefore time.Time) ApiGetDevicesRequest

func (ApiGetDevicesRequest) DeviceUuid

func (r ApiGetDevicesRequest) DeviceUuid(deviceUuid []string) ApiGetDevicesRequest

func (ApiGetDevicesRequest) Execute

func (ApiGetDevicesRequest) Hibernated added in v0.0.3

func (r ApiGetDevicesRequest) Hibernated(hibernated bool) ApiGetDevicesRequest

func (ApiGetDevicesRequest) Limit

func (ApiGetDevicesRequest) NameContains

func (r ApiGetDevicesRequest) NameContains(nameContains string) ApiGetDevicesRequest

func (ApiGetDevicesRequest) Offset

func (ApiGetDevicesRequest) SortBy

func (ApiGetDevicesRequest) SortDirection

func (r ApiGetDevicesRequest) SortDirection(sortDirection DeviceSortDirection) ApiGetDevicesRequest

func (ApiGetDevicesRequest) Status added in v0.0.3

type ApiGetDevicesTokenRequest

type ApiGetDevicesTokenRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesTokenRequest) Execute

type ApiGetDevicesUptaneDeviceuuidAssignmentRequest

type ApiGetDevicesUptaneDeviceuuidAssignmentRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesUptaneDeviceuuidAssignmentRequest) Execute

type ApiGetDevicesUptaneDeviceuuidComponentsRequest

type ApiGetDevicesUptaneDeviceuuidComponentsRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesUptaneDeviceuuidComponentsRequest) Execute

type ApiGetFleetsFleetidDevicesRequest

type ApiGetFleetsFleetidDevicesRequest struct {
	ApiService *FleetsAPIService
	// contains filtered or unexported fields
}

func (ApiGetFleetsFleetidDevicesRequest) Execute

func (ApiGetFleetsFleetidDevicesRequest) Limit

func (ApiGetFleetsFleetidDevicesRequest) Offset

type ApiGetFleetsRequest

type ApiGetFleetsRequest struct {
	ApiService *FleetsAPIService
	// contains filtered or unexported fields
}

func (ApiGetFleetsRequest) Execute

func (ApiGetFleetsRequest) Limit

func (ApiGetFleetsRequest) Offset

type ApiGetLockboxDetailsRequest

type ApiGetLockboxDetailsRequest struct {
	ApiService *UpdatesAPIService
	// contains filtered or unexported fields
}

func (ApiGetLockboxDetailsRequest) Execute

type ApiGetLockboxesLockboxNameRequest

type ApiGetLockboxesLockboxNameRequest struct {
	ApiService *UpdatesAPIService
	// contains filtered or unexported fields
}

func (ApiGetLockboxesLockboxNameRequest) Execute

func (ApiGetLockboxesLockboxNameRequest) Version

type ApiGetLockboxesRequest

type ApiGetLockboxesRequest struct {
	ApiService *UpdatesAPIService
	// contains filtered or unexported fields
}

func (ApiGetLockboxesRequest) Execute

func (r ApiGetLockboxesRequest) Execute() ([]string, *http.Response, error)

type ApiGetPackagesExternalInfoRequest

type ApiGetPackagesExternalInfoRequest struct {
	ApiService *PackagesAPIService
	// contains filtered or unexported fields
}

func (ApiGetPackagesExternalInfoRequest) Execute

type ApiGetPackagesExternalRefreshSourceFileNameRequest

type ApiGetPackagesExternalRefreshSourceFileNameRequest struct {
	ApiService *PackagesAPIService
	// contains filtered or unexported fields
}

func (ApiGetPackagesExternalRefreshSourceFileNameRequest) Execute

type ApiGetPackagesExternalRequest

type ApiGetPackagesExternalRequest struct {
	ApiService *PackagesAPIService
	// contains filtered or unexported fields
}

func (ApiGetPackagesExternalRequest) Execute

func (ApiGetPackagesExternalRequest) IdContains

func (ApiGetPackagesExternalRequest) Limit

func (ApiGetPackagesExternalRequest) Offset

type ApiGetPackagesRequest

type ApiGetPackagesRequest struct {
	ApiService *PackagesAPIService
	// contains filtered or unexported fields
}

func (ApiGetPackagesRequest) Execute

func (ApiGetPackagesRequest) IdContains

func (r ApiGetPackagesRequest) IdContains(idContains string) ApiGetPackagesRequest

func (ApiGetPackagesRequest) Limit

func (ApiGetPackagesRequest) Offset

type ApiPatchPackagesPackageidRequest

type ApiPatchPackagesPackageidRequest struct {
	ApiService *PackagesAPIService
	// contains filtered or unexported fields
}

func (ApiPatchPackagesPackageidRequest) EditPackage

func (ApiPatchPackagesPackageidRequest) Execute

type ApiPatchUpdatesRequest

type ApiPatchUpdatesRequest struct {
	ApiService *UpdatesAPIService
	// contains filtered or unexported fields
}

func (ApiPatchUpdatesRequest) Execute

func (r ApiPatchUpdatesRequest) Execute() ([]string, *http.Response, error)

func (ApiPatchUpdatesRequest) RequestBody

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

type ApiPostDevicesRequest

type ApiPostDevicesRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiPostDevicesRequest) DeviceCreateReq

func (r ApiPostDevicesRequest) DeviceCreateReq(deviceCreateReq DeviceCreateReq) ApiPostDevicesRequest

func (ApiPostDevicesRequest) Execute

func (r ApiPostDevicesRequest) Execute() (*os.File, *http.Response, error)

type ApiPostFleetsFleetidDevicesRequest

type ApiPostFleetsFleetidDevicesRequest struct {
	ApiService *FleetsAPIService
	// contains filtered or unexported fields
}

func (ApiPostFleetsFleetidDevicesRequest) Execute

func (ApiPostFleetsFleetidDevicesRequest) RequestBody

type ApiPostFleetsRequest

type ApiPostFleetsRequest struct {
	ApiService *FleetsAPIService
	// contains filtered or unexported fields
}

func (ApiPostFleetsRequest) CreateFleet

func (r ApiPostFleetsRequest) CreateFleet(createFleet CreateFleet) ApiPostFleetsRequest

func (ApiPostFleetsRequest) Execute

func (r ApiPostFleetsRequest) Execute() (string, *http.Response, error)

type ApiPostLockboxesLockboxNameRequest

type ApiPostLockboxesLockboxNameRequest struct {
	ApiService *UpdatesAPIService
	// contains filtered or unexported fields
}

func (ApiPostLockboxesLockboxNameRequest) CreateLockboxRequest

func (ApiPostLockboxesLockboxNameRequest) Execute

type ApiPostPackagesRequest

type ApiPostPackagesRequest struct {
	ApiService *PackagesAPIService
	// contains filtered or unexported fields
}

func (ApiPostPackagesRequest) Body

func (ApiPostPackagesRequest) ContentLength

func (r ApiPostPackagesRequest) ContentLength(contentLength int32) ApiPostPackagesRequest

func (ApiPostPackagesRequest) Execute

func (r ApiPostPackagesRequest) Execute() (*Package, *http.Response, error)

func (ApiPostPackagesRequest) HardwareId

func (r ApiPostPackagesRequest) HardwareId(hardwareId []string) ApiPostPackagesRequest

func (ApiPostPackagesRequest) Name

func (ApiPostPackagesRequest) TargetFormat

func (r ApiPostPackagesRequest) TargetFormat(targetFormat string) ApiPostPackagesRequest

func (ApiPostPackagesRequest) Version

type ApiPostUpdatesRequest

type ApiPostUpdatesRequest struct {
	ApiService *UpdatesAPIService
	// contains filtered or unexported fields
}

func (ApiPostUpdatesRequest) Execute

func (ApiPostUpdatesRequest) UpdateRequest

func (r ApiPostUpdatesRequest) UpdateRequest(updateRequest UpdateRequest) ApiPostUpdatesRequest

type ApiPutDevicesHibernationDeviceuuidRequest added in v0.0.3

type ApiPutDevicesHibernationDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiPutDevicesHibernationDeviceuuidRequest) Execute added in v0.0.3

func (ApiPutDevicesHibernationDeviceuuidRequest) UpdateHibernationStatusRequest added in v0.0.3

func (r ApiPutDevicesHibernationDeviceuuidRequest) UpdateHibernationStatusRequest(updateHibernationStatusRequest UpdateHibernationStatusRequest) ApiPutDevicesHibernationDeviceuuidRequest

type ApiPutDevicesNameDeviceuuidRequest

type ApiPutDevicesNameDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiPutDevicesNameDeviceuuidRequest) Body

func (ApiPutDevicesNameDeviceuuidRequest) Execute

type ApiPutDevicesNotesDeviceuuidRequest

type ApiPutDevicesNotesDeviceuuidRequest struct {
	ApiService *DevicesAPIService
	// contains filtered or unexported fields
}

func (ApiPutDevicesNotesDeviceuuidRequest) Body

func (ApiPutDevicesNotesDeviceuuidRequest) Execute

type BadRequestRepr

type BadRequestRepr struct {
	Msg         string  `json:"msg"`
	Description *string `json:"description,omitempty"`
	Code        string  `json:"code"`
	Cause       *string `json:"cause,omitempty"`
	ErrorId     *string `json:"errorId,omitempty"`
}

BadRequestRepr struct for BadRequestRepr

func NewBadRequestRepr

func NewBadRequestRepr(msg string, code string) *BadRequestRepr

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

func NewBadRequestReprWithDefaults

func NewBadRequestReprWithDefaults() *BadRequestRepr

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

func (*BadRequestRepr) GetCause

func (o *BadRequestRepr) GetCause() string

GetCause returns the Cause field value if set, zero value otherwise.

func (*BadRequestRepr) GetCauseOk

func (o *BadRequestRepr) GetCauseOk() (*string, bool)

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

func (*BadRequestRepr) GetCode

func (o *BadRequestRepr) GetCode() string

GetCode returns the Code field value

func (*BadRequestRepr) GetCodeOk

func (o *BadRequestRepr) GetCodeOk() (*string, bool)

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

func (*BadRequestRepr) GetDescription

func (o *BadRequestRepr) GetDescription() string

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

func (*BadRequestRepr) GetDescriptionOk

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

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

func (*BadRequestRepr) GetErrorId

func (o *BadRequestRepr) GetErrorId() string

GetErrorId returns the ErrorId field value if set, zero value otherwise.

func (*BadRequestRepr) GetErrorIdOk

func (o *BadRequestRepr) GetErrorIdOk() (*string, bool)

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

func (*BadRequestRepr) GetMsg

func (o *BadRequestRepr) GetMsg() string

GetMsg returns the Msg field value

func (*BadRequestRepr) GetMsgOk

func (o *BadRequestRepr) GetMsgOk() (*string, bool)

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

func (*BadRequestRepr) HasCause

func (o *BadRequestRepr) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*BadRequestRepr) HasDescription

func (o *BadRequestRepr) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*BadRequestRepr) HasErrorId

func (o *BadRequestRepr) HasErrorId() bool

HasErrorId returns a boolean if a field has been set.

func (BadRequestRepr) MarshalJSON

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

func (*BadRequestRepr) SetCause

func (o *BadRequestRepr) SetCause(v string)

SetCause gets a reference to the given string and assigns it to the Cause field.

func (*BadRequestRepr) SetCode

func (o *BadRequestRepr) SetCode(v string)

SetCode sets field value

func (*BadRequestRepr) SetDescription

func (o *BadRequestRepr) SetDescription(v string)

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

func (*BadRequestRepr) SetErrorId

func (o *BadRequestRepr) SetErrorId(v string)

SetErrorId gets a reference to the given string and assigns it to the ErrorId field.

func (*BadRequestRepr) SetMsg

func (o *BadRequestRepr) SetMsg(v string)

SetMsg sets field value

func (BadRequestRepr) ToMap

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

func (*BadRequestRepr) UnmarshalJSON

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

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type ClientSignature

type ClientSignature struct {
	Keyid  string          `json:"keyid"`
	Method SignatureMethod `json:"method"`
	Sig    string          `json:"sig"`
}

ClientSignature struct for ClientSignature

func NewClientSignature

func NewClientSignature(keyid string, method SignatureMethod, sig string) *ClientSignature

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

func NewClientSignatureWithDefaults

func NewClientSignatureWithDefaults() *ClientSignature

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

func (*ClientSignature) GetKeyid

func (o *ClientSignature) GetKeyid() string

GetKeyid returns the Keyid field value

func (*ClientSignature) GetKeyidOk

func (o *ClientSignature) GetKeyidOk() (*string, bool)

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

func (*ClientSignature) GetMethod

func (o *ClientSignature) GetMethod() SignatureMethod

GetMethod returns the Method field value

func (*ClientSignature) GetMethodOk

func (o *ClientSignature) GetMethodOk() (*SignatureMethod, bool)

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

func (*ClientSignature) GetSig

func (o *ClientSignature) GetSig() string

GetSig returns the Sig field value

func (*ClientSignature) GetSigOk

func (o *ClientSignature) GetSigOk() (*string, bool)

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

func (ClientSignature) MarshalJSON

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

func (*ClientSignature) SetKeyid

func (o *ClientSignature) SetKeyid(v string)

SetKeyid sets field value

func (*ClientSignature) SetMethod

func (o *ClientSignature) SetMethod(v SignatureMethod)

SetMethod sets field value

func (*ClientSignature) SetSig

func (o *ClientSignature) SetSig(v string)

SetSig sets field value

func (ClientSignature) ToMap

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

func (*ClientSignature) UnmarshalJSON

func (o *ClientSignature) UnmarshalJSON(data []byte) (err 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 ConflictRepr

type ConflictRepr struct {
	Msg         string  `json:"msg"`
	Description *string `json:"description,omitempty"`
	Code        string  `json:"code"`
	Cause       *string `json:"cause,omitempty"`
	ErrorId     *string `json:"errorId,omitempty"`
}

ConflictRepr struct for ConflictRepr

func NewConflictRepr

func NewConflictRepr(msg string, code string) *ConflictRepr

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

func NewConflictReprWithDefaults

func NewConflictReprWithDefaults() *ConflictRepr

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

func (*ConflictRepr) GetCause

func (o *ConflictRepr) GetCause() string

GetCause returns the Cause field value if set, zero value otherwise.

func (*ConflictRepr) GetCauseOk

func (o *ConflictRepr) GetCauseOk() (*string, bool)

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

func (*ConflictRepr) GetCode

func (o *ConflictRepr) GetCode() string

GetCode returns the Code field value

func (*ConflictRepr) GetCodeOk

func (o *ConflictRepr) GetCodeOk() (*string, bool)

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

func (*ConflictRepr) GetDescription

func (o *ConflictRepr) GetDescription() string

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

func (*ConflictRepr) GetDescriptionOk

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

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

func (*ConflictRepr) GetErrorId

func (o *ConflictRepr) GetErrorId() string

GetErrorId returns the ErrorId field value if set, zero value otherwise.

func (*ConflictRepr) GetErrorIdOk

func (o *ConflictRepr) GetErrorIdOk() (*string, bool)

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

func (*ConflictRepr) GetMsg

func (o *ConflictRepr) GetMsg() string

GetMsg returns the Msg field value

func (*ConflictRepr) GetMsgOk

func (o *ConflictRepr) GetMsgOk() (*string, bool)

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

func (*ConflictRepr) HasCause

func (o *ConflictRepr) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*ConflictRepr) HasDescription

func (o *ConflictRepr) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ConflictRepr) HasErrorId

func (o *ConflictRepr) HasErrorId() bool

HasErrorId returns a boolean if a field has been set.

func (ConflictRepr) MarshalJSON

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

func (*ConflictRepr) SetCause

func (o *ConflictRepr) SetCause(v string)

SetCause gets a reference to the given string and assigns it to the Cause field.

func (*ConflictRepr) SetCode

func (o *ConflictRepr) SetCode(v string)

SetCode sets field value

func (*ConflictRepr) SetDescription

func (o *ConflictRepr) SetDescription(v string)

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

func (*ConflictRepr) SetErrorId

func (o *ConflictRepr) SetErrorId(v string)

SetErrorId gets a reference to the given string and assigns it to the ErrorId field.

func (*ConflictRepr) SetMsg

func (o *ConflictRepr) SetMsg(v string)

SetMsg sets field value

func (ConflictRepr) ToMap

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

func (*ConflictRepr) UnmarshalJSON

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

type CreateFleet

type CreateFleet struct {
	Name       string    `json:"name"`
	FleetType  FleetType `json:"fleetType"`
	Expression *string   `json:"expression,omitempty"`
}

CreateFleet struct for CreateFleet

func NewCreateFleet

func NewCreateFleet(name string, fleetType FleetType) *CreateFleet

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

func NewCreateFleetWithDefaults

func NewCreateFleetWithDefaults() *CreateFleet

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

func (*CreateFleet) GetExpression

func (o *CreateFleet) GetExpression() string

GetExpression returns the Expression field value if set, zero value otherwise.

func (*CreateFleet) GetExpressionOk

func (o *CreateFleet) GetExpressionOk() (*string, bool)

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

func (*CreateFleet) GetFleetType

func (o *CreateFleet) GetFleetType() FleetType

GetFleetType returns the FleetType field value

func (*CreateFleet) GetFleetTypeOk

func (o *CreateFleet) GetFleetTypeOk() (*FleetType, bool)

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

func (*CreateFleet) GetName

func (o *CreateFleet) GetName() string

GetName returns the Name field value

func (*CreateFleet) GetNameOk

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

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

func (*CreateFleet) HasExpression

func (o *CreateFleet) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (CreateFleet) MarshalJSON

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

func (*CreateFleet) SetExpression

func (o *CreateFleet) SetExpression(v string)

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*CreateFleet) SetFleetType

func (o *CreateFleet) SetFleetType(v FleetType)

SetFleetType sets field value

func (*CreateFleet) SetName

func (o *CreateFleet) SetName(v string)

SetName sets field value

func (CreateFleet) ToMap

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

func (*CreateFleet) UnmarshalJSON

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

type CreateLockboxRequest

type CreateLockboxRequest struct {
	PackageIds []string                     `json:"packageIds,omitempty"`
	Custom     *map[string]CustomUpdateData `json:"custom,omitempty"`
	ExpiresAt  *time.Time                   `json:"expiresAt,omitempty"`
}

CreateLockboxRequest struct for CreateLockboxRequest

func NewCreateLockboxRequest

func NewCreateLockboxRequest() *CreateLockboxRequest

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

func NewCreateLockboxRequestWithDefaults

func NewCreateLockboxRequestWithDefaults() *CreateLockboxRequest

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

func (*CreateLockboxRequest) GetCustom

func (o *CreateLockboxRequest) GetCustom() map[string]CustomUpdateData

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

func (*CreateLockboxRequest) GetCustomOk

func (o *CreateLockboxRequest) GetCustomOk() (*map[string]CustomUpdateData, bool)

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

func (*CreateLockboxRequest) GetExpiresAt

func (o *CreateLockboxRequest) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*CreateLockboxRequest) GetExpiresAtOk

func (o *CreateLockboxRequest) GetExpiresAtOk() (*time.Time, bool)

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

func (*CreateLockboxRequest) GetPackageIds

func (o *CreateLockboxRequest) GetPackageIds() []string

GetPackageIds returns the PackageIds field value if set, zero value otherwise.

func (*CreateLockboxRequest) GetPackageIdsOk

func (o *CreateLockboxRequest) GetPackageIdsOk() ([]string, bool)

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

func (*CreateLockboxRequest) HasCustom

func (o *CreateLockboxRequest) HasCustom() bool

HasCustom returns a boolean if a field has been set.

func (*CreateLockboxRequest) HasExpiresAt

func (o *CreateLockboxRequest) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*CreateLockboxRequest) HasPackageIds

func (o *CreateLockboxRequest) HasPackageIds() bool

HasPackageIds returns a boolean if a field has been set.

func (CreateLockboxRequest) MarshalJSON

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

func (*CreateLockboxRequest) SetCustom

func (o *CreateLockboxRequest) SetCustom(v map[string]CustomUpdateData)

SetCustom gets a reference to the given map[string]CustomUpdateData and assigns it to the Custom field.

func (*CreateLockboxRequest) SetExpiresAt

func (o *CreateLockboxRequest) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*CreateLockboxRequest) SetPackageIds

func (o *CreateLockboxRequest) SetPackageIds(v []string)

SetPackageIds gets a reference to the given []string and assigns it to the PackageIds field.

func (CreateLockboxRequest) ToMap

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

type CustomUpdateData

type CustomUpdateData struct {
	Uri      *string `json:"uri,omitempty"`
	Metadata *string `json:"metadata,omitempty"`
}

CustomUpdateData struct for CustomUpdateData

func NewCustomUpdateData

func NewCustomUpdateData() *CustomUpdateData

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

func NewCustomUpdateDataWithDefaults

func NewCustomUpdateDataWithDefaults() *CustomUpdateData

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

func (*CustomUpdateData) GetMetadata

func (o *CustomUpdateData) GetMetadata() string

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

func (*CustomUpdateData) GetMetadataOk

func (o *CustomUpdateData) GetMetadataOk() (*string, 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 (*CustomUpdateData) GetUri

func (o *CustomUpdateData) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*CustomUpdateData) GetUriOk

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

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

func (*CustomUpdateData) HasMetadata

func (o *CustomUpdateData) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CustomUpdateData) HasUri

func (o *CustomUpdateData) HasUri() bool

HasUri returns a boolean if a field has been set.

func (CustomUpdateData) MarshalJSON

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

func (*CustomUpdateData) SetMetadata

func (o *CustomUpdateData) SetMetadata(v string)

SetMetadata gets a reference to the given string and assigns it to the Metadata field.

func (*CustomUpdateData) SetUri

func (o *CustomUpdateData) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (CustomUpdateData) ToMap

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

type DelegationInfo

type DelegationInfo struct {
	LastFetched  *time.Time `json:"lastFetched,omitempty"`
	RemoteUri    *string    `json:"remoteUri,omitempty"`
	FriendlyName *string    `json:"friendlyName,omitempty"`
}

DelegationInfo struct for DelegationInfo

func NewDelegationInfo

func NewDelegationInfo() *DelegationInfo

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

func NewDelegationInfoWithDefaults

func NewDelegationInfoWithDefaults() *DelegationInfo

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

func (*DelegationInfo) GetFriendlyName

func (o *DelegationInfo) GetFriendlyName() string

GetFriendlyName returns the FriendlyName field value if set, zero value otherwise.

func (*DelegationInfo) GetFriendlyNameOk

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

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

func (*DelegationInfo) GetLastFetched

func (o *DelegationInfo) GetLastFetched() time.Time

GetLastFetched returns the LastFetched field value if set, zero value otherwise.

func (*DelegationInfo) GetLastFetchedOk

func (o *DelegationInfo) GetLastFetchedOk() (*time.Time, bool)

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

func (*DelegationInfo) GetRemoteUri

func (o *DelegationInfo) GetRemoteUri() string

GetRemoteUri returns the RemoteUri field value if set, zero value otherwise.

func (*DelegationInfo) GetRemoteUriOk

func (o *DelegationInfo) GetRemoteUriOk() (*string, bool)

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

func (*DelegationInfo) HasFriendlyName

func (o *DelegationInfo) HasFriendlyName() bool

HasFriendlyName returns a boolean if a field has been set.

func (*DelegationInfo) HasLastFetched

func (o *DelegationInfo) HasLastFetched() bool

HasLastFetched returns a boolean if a field has been set.

func (*DelegationInfo) HasRemoteUri

func (o *DelegationInfo) HasRemoteUri() bool

HasRemoteUri returns a boolean if a field has been set.

func (DelegationInfo) MarshalJSON

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

func (*DelegationInfo) SetFriendlyName

func (o *DelegationInfo) SetFriendlyName(v string)

SetFriendlyName gets a reference to the given string and assigns it to the FriendlyName field.

func (*DelegationInfo) SetLastFetched

func (o *DelegationInfo) SetLastFetched(v time.Time)

SetLastFetched gets a reference to the given time.Time and assigns it to the LastFetched field.

func (*DelegationInfo) SetRemoteUri

func (o *DelegationInfo) SetRemoteUri(v string)

SetRemoteUri gets a reference to the given string and assigns it to the RemoteUri field.

func (DelegationInfo) ToMap

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

type DeviceCreateReq

type DeviceCreateReq struct {
	DeviceName *string `json:"deviceName,omitempty"`
	DeviceId   string  `json:"deviceId"`
	Hibernated *bool   `json:"hibernated,omitempty"`
}

DeviceCreateReq struct for DeviceCreateReq

func NewDeviceCreateReq

func NewDeviceCreateReq(deviceId string) *DeviceCreateReq

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

func NewDeviceCreateReqWithDefaults

func NewDeviceCreateReqWithDefaults() *DeviceCreateReq

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

func (*DeviceCreateReq) GetDeviceId

func (o *DeviceCreateReq) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*DeviceCreateReq) GetDeviceIdOk

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

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

func (*DeviceCreateReq) GetDeviceName

func (o *DeviceCreateReq) GetDeviceName() string

GetDeviceName returns the DeviceName field value if set, zero value otherwise.

func (*DeviceCreateReq) GetDeviceNameOk

func (o *DeviceCreateReq) 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 (*DeviceCreateReq) GetHibernated added in v0.0.3

func (o *DeviceCreateReq) GetHibernated() bool

GetHibernated returns the Hibernated field value if set, zero value otherwise.

func (*DeviceCreateReq) GetHibernatedOk added in v0.0.3

func (o *DeviceCreateReq) GetHibernatedOk() (*bool, bool)

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

func (*DeviceCreateReq) HasDeviceName

func (o *DeviceCreateReq) HasDeviceName() bool

HasDeviceName returns a boolean if a field has been set.

func (*DeviceCreateReq) HasHibernated added in v0.0.3

func (o *DeviceCreateReq) HasHibernated() bool

HasHibernated returns a boolean if a field has been set.

func (DeviceCreateReq) MarshalJSON

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

func (*DeviceCreateReq) SetDeviceId

func (o *DeviceCreateReq) SetDeviceId(v string)

SetDeviceId sets field value

func (*DeviceCreateReq) SetDeviceName

func (o *DeviceCreateReq) SetDeviceName(v string)

SetDeviceName gets a reference to the given string and assigns it to the DeviceName field.

func (*DeviceCreateReq) SetHibernated added in v0.0.3

func (o *DeviceCreateReq) SetHibernated(v bool)

SetHibernated gets a reference to the given bool and assigns it to the Hibernated field.

func (DeviceCreateReq) ToMap

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

func (*DeviceCreateReq) UnmarshalJSON

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

type DeviceInfoBasic

type DeviceInfoBasic struct {
	DeviceUuid   string       `json:"deviceUuid"`
	DeviceName   string       `json:"deviceName"`
	DeviceId     string       `json:"deviceId"`
	LastSeen     *time.Time   `json:"lastSeen,omitempty"`
	CreatedAt    time.Time    `json:"createdAt"`
	ActivatedAt  *time.Time   `json:"activatedAt,omitempty"`
	DeviceStatus DeviceStatus `json:"deviceStatus"`
	Notes        *string      `json:"notes,omitempty"`
	Hibernated   bool         `json:"hibernated"`
}

DeviceInfoBasic struct for DeviceInfoBasic

func NewDeviceInfoBasic

func NewDeviceInfoBasic(deviceUuid string, deviceName string, deviceId string, createdAt time.Time, deviceStatus DeviceStatus, hibernated bool) *DeviceInfoBasic

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

func NewDeviceInfoBasicWithDefaults

func NewDeviceInfoBasicWithDefaults() *DeviceInfoBasic

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

func (*DeviceInfoBasic) GetActivatedAt

func (o *DeviceInfoBasic) GetActivatedAt() time.Time

GetActivatedAt returns the ActivatedAt field value if set, zero value otherwise.

func (*DeviceInfoBasic) GetActivatedAtOk

func (o *DeviceInfoBasic) GetActivatedAtOk() (*time.Time, bool)

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

func (*DeviceInfoBasic) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*DeviceInfoBasic) GetCreatedAtOk

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

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

func (*DeviceInfoBasic) GetDeviceId

func (o *DeviceInfoBasic) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*DeviceInfoBasic) GetDeviceIdOk

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

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

func (*DeviceInfoBasic) GetDeviceName

func (o *DeviceInfoBasic) GetDeviceName() string

GetDeviceName returns the DeviceName field value

func (*DeviceInfoBasic) GetDeviceNameOk

func (o *DeviceInfoBasic) GetDeviceNameOk() (*string, bool)

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

func (*DeviceInfoBasic) GetDeviceStatus

func (o *DeviceInfoBasic) GetDeviceStatus() DeviceStatus

GetDeviceStatus returns the DeviceStatus field value

func (*DeviceInfoBasic) GetDeviceStatusOk

func (o *DeviceInfoBasic) GetDeviceStatusOk() (*DeviceStatus, bool)

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

func (*DeviceInfoBasic) GetDeviceUuid

func (o *DeviceInfoBasic) GetDeviceUuid() string

GetDeviceUuid returns the DeviceUuid field value

func (*DeviceInfoBasic) GetDeviceUuidOk

func (o *DeviceInfoBasic) GetDeviceUuidOk() (*string, bool)

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

func (*DeviceInfoBasic) GetHibernated added in v0.0.3

func (o *DeviceInfoBasic) GetHibernated() bool

GetHibernated returns the Hibernated field value

func (*DeviceInfoBasic) GetHibernatedOk added in v0.0.3

func (o *DeviceInfoBasic) GetHibernatedOk() (*bool, bool)

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

func (*DeviceInfoBasic) GetLastSeen

func (o *DeviceInfoBasic) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value if set, zero value otherwise.

func (*DeviceInfoBasic) GetLastSeenOk

func (o *DeviceInfoBasic) GetLastSeenOk() (*time.Time, bool)

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

func (*DeviceInfoBasic) GetNotes

func (o *DeviceInfoBasic) GetNotes() string

GetNotes returns the Notes field value if set, zero value otherwise.

func (*DeviceInfoBasic) GetNotesOk

func (o *DeviceInfoBasic) GetNotesOk() (*string, bool)

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

func (*DeviceInfoBasic) HasActivatedAt

func (o *DeviceInfoBasic) HasActivatedAt() bool

HasActivatedAt returns a boolean if a field has been set.

func (*DeviceInfoBasic) HasLastSeen

func (o *DeviceInfoBasic) HasLastSeen() bool

HasLastSeen returns a boolean if a field has been set.

func (*DeviceInfoBasic) HasNotes

func (o *DeviceInfoBasic) HasNotes() bool

HasNotes returns a boolean if a field has been set.

func (DeviceInfoBasic) MarshalJSON

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

func (*DeviceInfoBasic) SetActivatedAt

func (o *DeviceInfoBasic) SetActivatedAt(v time.Time)

SetActivatedAt gets a reference to the given time.Time and assigns it to the ActivatedAt field.

func (*DeviceInfoBasic) SetCreatedAt

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

SetCreatedAt sets field value

func (*DeviceInfoBasic) SetDeviceId

func (o *DeviceInfoBasic) SetDeviceId(v string)

SetDeviceId sets field value

func (*DeviceInfoBasic) SetDeviceName

func (o *DeviceInfoBasic) SetDeviceName(v string)

SetDeviceName sets field value

func (*DeviceInfoBasic) SetDeviceStatus

func (o *DeviceInfoBasic) SetDeviceStatus(v DeviceStatus)

SetDeviceStatus sets field value

func (*DeviceInfoBasic) SetDeviceUuid

func (o *DeviceInfoBasic) SetDeviceUuid(v string)

SetDeviceUuid sets field value

func (*DeviceInfoBasic) SetHibernated added in v0.0.3

func (o *DeviceInfoBasic) SetHibernated(v bool)

SetHibernated sets field value

func (*DeviceInfoBasic) SetLastSeen

func (o *DeviceInfoBasic) SetLastSeen(v time.Time)

SetLastSeen gets a reference to the given time.Time and assigns it to the LastSeen field.

func (*DeviceInfoBasic) SetNotes

func (o *DeviceInfoBasic) SetNotes(v string)

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (DeviceInfoBasic) ToMap

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

func (*DeviceInfoBasic) UnmarshalJSON

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

type DeviceInfoExtended

type DeviceInfoExtended struct {
	DeviceUuid     string                            `json:"deviceUuid"`
	DeviceName     string                            `json:"deviceName"`
	DeviceId       string                            `json:"deviceId"`
	LastSeen       *time.Time                        `json:"lastSeen,omitempty"`
	CreatedAt      time.Time                         `json:"createdAt"`
	ActivatedAt    *time.Time                        `json:"activatedAt,omitempty"`
	DeviceStatus   DeviceStatus                      `json:"deviceStatus"`
	Notes          *string                           `json:"notes,omitempty"`
	Hibernated     bool                              `json:"hibernated"`
	LastUpdated    *time.Time                        `json:"lastUpdated,omitempty"`
	DeviceFleets   []Fleet                           `json:"deviceFleets,omitempty"`
	DevicePackages []DevicePackage                   `json:"devicePackages,omitempty"`
	DeviceTags     []Tuple2DeviceTagIdDeviceTagValue `json:"deviceTags,omitempty"`
	NetworkInfo    NetworkInfo                       `json:"networkInfo"`
}

DeviceInfoExtended struct for DeviceInfoExtended

func NewDeviceInfoExtended

func NewDeviceInfoExtended(deviceUuid string, deviceName string, deviceId string, createdAt time.Time, deviceStatus DeviceStatus, hibernated bool, networkInfo NetworkInfo) *DeviceInfoExtended

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

func NewDeviceInfoExtendedWithDefaults

func NewDeviceInfoExtendedWithDefaults() *DeviceInfoExtended

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

func (*DeviceInfoExtended) GetActivatedAt

func (o *DeviceInfoExtended) GetActivatedAt() time.Time

GetActivatedAt returns the ActivatedAt field value if set, zero value otherwise.

func (*DeviceInfoExtended) GetActivatedAtOk

func (o *DeviceInfoExtended) GetActivatedAtOk() (*time.Time, bool)

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

func (*DeviceInfoExtended) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*DeviceInfoExtended) GetCreatedAtOk

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

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

func (*DeviceInfoExtended) GetDeviceFleets

func (o *DeviceInfoExtended) GetDeviceFleets() []Fleet

GetDeviceFleets returns the DeviceFleets field value if set, zero value otherwise.

func (*DeviceInfoExtended) GetDeviceFleetsOk

func (o *DeviceInfoExtended) GetDeviceFleetsOk() ([]Fleet, bool)

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

func (*DeviceInfoExtended) GetDeviceId

func (o *DeviceInfoExtended) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*DeviceInfoExtended) GetDeviceIdOk

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

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

func (*DeviceInfoExtended) GetDeviceName

func (o *DeviceInfoExtended) GetDeviceName() string

GetDeviceName returns the DeviceName field value

func (*DeviceInfoExtended) GetDeviceNameOk

func (o *DeviceInfoExtended) GetDeviceNameOk() (*string, bool)

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

func (*DeviceInfoExtended) GetDevicePackages

func (o *DeviceInfoExtended) GetDevicePackages() []DevicePackage

GetDevicePackages returns the DevicePackages field value if set, zero value otherwise.

func (*DeviceInfoExtended) GetDevicePackagesOk

func (o *DeviceInfoExtended) GetDevicePackagesOk() ([]DevicePackage, bool)

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

func (*DeviceInfoExtended) GetDeviceStatus

func (o *DeviceInfoExtended) GetDeviceStatus() DeviceStatus

GetDeviceStatus returns the DeviceStatus field value

func (*DeviceInfoExtended) GetDeviceStatusOk

func (o *DeviceInfoExtended) GetDeviceStatusOk() (*DeviceStatus, bool)

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

func (*DeviceInfoExtended) GetDeviceTags

GetDeviceTags returns the DeviceTags field value if set, zero value otherwise.

func (*DeviceInfoExtended) GetDeviceTagsOk

func (o *DeviceInfoExtended) GetDeviceTagsOk() ([]Tuple2DeviceTagIdDeviceTagValue, bool)

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

func (*DeviceInfoExtended) GetDeviceUuid

func (o *DeviceInfoExtended) GetDeviceUuid() string

GetDeviceUuid returns the DeviceUuid field value

func (*DeviceInfoExtended) GetDeviceUuidOk

func (o *DeviceInfoExtended) GetDeviceUuidOk() (*string, bool)

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

func (*DeviceInfoExtended) GetHibernated added in v0.0.3

func (o *DeviceInfoExtended) GetHibernated() bool

GetHibernated returns the Hibernated field value

func (*DeviceInfoExtended) GetHibernatedOk added in v0.0.3

func (o *DeviceInfoExtended) GetHibernatedOk() (*bool, bool)

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

func (*DeviceInfoExtended) GetLastSeen

func (o *DeviceInfoExtended) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value if set, zero value otherwise.

func (*DeviceInfoExtended) GetLastSeenOk

func (o *DeviceInfoExtended) GetLastSeenOk() (*time.Time, bool)

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

func (*DeviceInfoExtended) GetLastUpdated

func (o *DeviceInfoExtended) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*DeviceInfoExtended) GetLastUpdatedOk

func (o *DeviceInfoExtended) GetLastUpdatedOk() (*time.Time, bool)

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

func (*DeviceInfoExtended) GetNetworkInfo

func (o *DeviceInfoExtended) GetNetworkInfo() NetworkInfo

GetNetworkInfo returns the NetworkInfo field value

func (*DeviceInfoExtended) GetNetworkInfoOk

func (o *DeviceInfoExtended) GetNetworkInfoOk() (*NetworkInfo, bool)

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

func (*DeviceInfoExtended) GetNotes

func (o *DeviceInfoExtended) GetNotes() string

GetNotes returns the Notes field value if set, zero value otherwise.

func (*DeviceInfoExtended) GetNotesOk

func (o *DeviceInfoExtended) GetNotesOk() (*string, bool)

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

func (*DeviceInfoExtended) HasActivatedAt

func (o *DeviceInfoExtended) HasActivatedAt() bool

HasActivatedAt returns a boolean if a field has been set.

func (*DeviceInfoExtended) HasDeviceFleets

func (o *DeviceInfoExtended) HasDeviceFleets() bool

HasDeviceFleets returns a boolean if a field has been set.

func (*DeviceInfoExtended) HasDevicePackages

func (o *DeviceInfoExtended) HasDevicePackages() bool

HasDevicePackages returns a boolean if a field has been set.

func (*DeviceInfoExtended) HasDeviceTags

func (o *DeviceInfoExtended) HasDeviceTags() bool

HasDeviceTags returns a boolean if a field has been set.

func (*DeviceInfoExtended) HasLastSeen

func (o *DeviceInfoExtended) HasLastSeen() bool

HasLastSeen returns a boolean if a field has been set.

func (*DeviceInfoExtended) HasLastUpdated

func (o *DeviceInfoExtended) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*DeviceInfoExtended) HasNotes

func (o *DeviceInfoExtended) HasNotes() bool

HasNotes returns a boolean if a field has been set.

func (DeviceInfoExtended) MarshalJSON

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

func (*DeviceInfoExtended) SetActivatedAt

func (o *DeviceInfoExtended) SetActivatedAt(v time.Time)

SetActivatedAt gets a reference to the given time.Time and assigns it to the ActivatedAt field.

func (*DeviceInfoExtended) SetCreatedAt

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

SetCreatedAt sets field value

func (*DeviceInfoExtended) SetDeviceFleets

func (o *DeviceInfoExtended) SetDeviceFleets(v []Fleet)

SetDeviceFleets gets a reference to the given []Fleet and assigns it to the DeviceFleets field.

func (*DeviceInfoExtended) SetDeviceId

func (o *DeviceInfoExtended) SetDeviceId(v string)

SetDeviceId sets field value

func (*DeviceInfoExtended) SetDeviceName

func (o *DeviceInfoExtended) SetDeviceName(v string)

SetDeviceName sets field value

func (*DeviceInfoExtended) SetDevicePackages

func (o *DeviceInfoExtended) SetDevicePackages(v []DevicePackage)

SetDevicePackages gets a reference to the given []DevicePackage and assigns it to the DevicePackages field.

func (*DeviceInfoExtended) SetDeviceStatus

func (o *DeviceInfoExtended) SetDeviceStatus(v DeviceStatus)

SetDeviceStatus sets field value

func (*DeviceInfoExtended) SetDeviceTags

SetDeviceTags gets a reference to the given []Tuple2DeviceTagIdDeviceTagValue and assigns it to the DeviceTags field.

func (*DeviceInfoExtended) SetDeviceUuid

func (o *DeviceInfoExtended) SetDeviceUuid(v string)

SetDeviceUuid sets field value

func (*DeviceInfoExtended) SetHibernated added in v0.0.3

func (o *DeviceInfoExtended) SetHibernated(v bool)

SetHibernated sets field value

func (*DeviceInfoExtended) SetLastSeen

func (o *DeviceInfoExtended) SetLastSeen(v time.Time)

SetLastSeen gets a reference to the given time.Time and assigns it to the LastSeen field.

func (*DeviceInfoExtended) SetLastUpdated

func (o *DeviceInfoExtended) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*DeviceInfoExtended) SetNetworkInfo

func (o *DeviceInfoExtended) SetNetworkInfo(v NetworkInfo)

SetNetworkInfo sets field value

func (*DeviceInfoExtended) SetNotes

func (o *DeviceInfoExtended) SetNotes(v string)

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (DeviceInfoExtended) ToMap

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

func (*DeviceInfoExtended) UnmarshalJSON

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

type DeviceMetricsAPIService

type DeviceMetricsAPIService service

DeviceMetricsAPIService DeviceMetricsAPI service

func (*DeviceMetricsAPIService) GetDeviceDataDevicesDeviceuuidMetrics

func (a *DeviceMetricsAPIService) GetDeviceDataDevicesDeviceuuidMetrics(ctx context.Context, deviceUuid string) ApiGetDeviceDataDevicesDeviceuuidMetricsRequest

GetDeviceDataDevicesDeviceuuidMetrics Get metrics data from a single device

This endpoint will return time-bucketed data as reported by the specified device. You must specify a time interval in Unix Epoch milliseconds via the `from` and `to` query parameters.

You can optionally specify one or more metrics in the query parameter (e.g. `metrics=metric1&metrics=metrics2`, etc. OR `metrics[]=metric1,metrics2`, etc.). If you do not specify, you will get all metrics available in the repository.

You can also specify a `resolution`. This parameter defaults to 200, with a maximum permitted value of 2000, and determines the granularity of the data returned. The data returned will be separated into buckets, with each bucket representing the mean value of the data returned during that period.

For example, suppose you have a device reporting its CPU temperature every minute. You request that metric, with a resolution of 24 and a time interval that is 1 day long. You will get back 24 data points, each representing a one-hour slice of time. The value returned for each one-hour slice will be the average of the 60 reported measurements that the device sent during that hour.

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

func (*DeviceMetricsAPIService) GetDeviceDataDevicesDeviceuuidMetricsExecute

func (a *DeviceMetricsAPIService) GetDeviceDataDevicesDeviceuuidMetricsExecute(r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) (*MetricsResponse, *http.Response, error)

Execute executes the request

@return MetricsResponse

func (*DeviceMetricsAPIService) GetDeviceDataFleetsFleetidMetrics

func (a *DeviceMetricsAPIService) GetDeviceDataFleetsFleetidMetrics(ctx context.Context, fleetId string) ApiGetDeviceDataFleetsFleetidMetricsRequest

GetDeviceDataFleetsFleetidMetrics Get aggregated metrics data from a fleet of devices

This endpoint will return aggregated time-bucketed data as reported by the devices in the specified fleet. You must specify a time interval in Unix Epoch milliseconds via the `from` and `to` query parameters.

You can also specify a `resolution`. This parameter defaults to 200, with a maximum permitted value of 2000, and determines the granularity of the data returned. The data returned will be separated into buckets, with each bucket representing the aggregated data from the period. For example, if you specify a one day long time interval with a resolution of 24, you will get 24 buckets, each representing a one hour slice of the day. If you request a resolution of 48, your buckets will be 30 minutes long.

You also must specify one or more metrics as query parameters (e.g. `metrics=metric1&metrics=metrics2`, etc. OR `metrics[]=metric1,metrics2`, etc.). For each metric you specify, you will get back four different series of datapoints:

* `{metric}-count` reports how many devices in the fleet actually reported data during this time interval. * `{metric}-avg` reports the average value of all reported values for the metric in the period. Note that the average is over the number of devices that reported data: devices that didn't report the metric during the interval will not be reflected in this datapoint. * `{metric}-max` gives the highest value reported by a device in the specified interval * `{metric}-min` gives the lowest value reported by a device in the specified interval

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

func (*DeviceMetricsAPIService) GetDeviceDataFleetsFleetidMetricsExecute

func (a *DeviceMetricsAPIService) GetDeviceDataFleetsFleetidMetricsExecute(r ApiGetDeviceDataFleetsFleetidMetricsRequest) (*MetricsResponse, *http.Response, error)

Execute executes the request

@return MetricsResponse

func (*DeviceMetricsAPIService) GetDeviceDataMetricNames

GetDeviceDataMetricNames Get the list of metrics available in your repository

Lists the metrics available in your repository.

In the default TorizonCore configuration, devices will report certain default metrics. You can also add your own metrics, as described in the [TorizonCore documentation](https://developer.toradex.com/torizon/torizon-platform/device-monitoring-in-torizoncore/#customizing-device-metrics-for-torizon-platform). Calling this endpoint will give you the list of valid metric names for your repository; generally this will include the default set plus any that you have defined yourself.

You can optionally specify a time interval in Unix Epoch milliseconds via the `from` and `to` query parameters. This will return the list of metrics reported by devices in your repository during that specific interval.

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

func (*DeviceMetricsAPIService) GetDeviceDataMetricNamesExecute

Execute executes the request

@return PaginationResultString

type DevicePackage

type DevicePackage struct {
	Component string `json:"component"`
	Name      string `json:"name"`
	Version   string `json:"version"`
	Checksum  string `json:"checksum"`
}

DevicePackage struct for DevicePackage

func NewDevicePackage

func NewDevicePackage(component string, name string, version string, checksum string) *DevicePackage

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

func NewDevicePackageWithDefaults

func NewDevicePackageWithDefaults() *DevicePackage

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

func (*DevicePackage) GetChecksum

func (o *DevicePackage) GetChecksum() string

GetChecksum returns the Checksum field value

func (*DevicePackage) GetChecksumOk

func (o *DevicePackage) GetChecksumOk() (*string, bool)

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

func (*DevicePackage) GetComponent

func (o *DevicePackage) GetComponent() string

GetComponent returns the Component field value

func (*DevicePackage) GetComponentOk

func (o *DevicePackage) GetComponentOk() (*string, bool)

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

func (*DevicePackage) GetName

func (o *DevicePackage) GetName() string

GetName returns the Name field value

func (*DevicePackage) GetNameOk

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

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

func (*DevicePackage) GetVersion

func (o *DevicePackage) GetVersion() string

GetVersion returns the Version field value

func (*DevicePackage) GetVersionOk

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

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

func (DevicePackage) MarshalJSON

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

func (*DevicePackage) SetChecksum

func (o *DevicePackage) SetChecksum(v string)

SetChecksum sets field value

func (*DevicePackage) SetComponent

func (o *DevicePackage) SetComponent(v string)

SetComponent sets field value

func (*DevicePackage) SetName

func (o *DevicePackage) SetName(v string)

SetName sets field value

func (*DevicePackage) SetVersion

func (o *DevicePackage) SetVersion(v string)

SetVersion sets field value

func (DevicePackage) ToMap

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

func (*DevicePackage) UnmarshalJSON

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

type DevicePackages

type DevicePackages struct {
	DeviceUuid        string             `json:"deviceUuid"`
	InstalledPackages []InstalledPackage `json:"installedPackages,omitempty"`
}

DevicePackages struct for DevicePackages

func NewDevicePackages

func NewDevicePackages(deviceUuid string) *DevicePackages

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

func NewDevicePackagesWithDefaults

func NewDevicePackagesWithDefaults() *DevicePackages

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

func (*DevicePackages) GetDeviceUuid

func (o *DevicePackages) GetDeviceUuid() string

GetDeviceUuid returns the DeviceUuid field value

func (*DevicePackages) GetDeviceUuidOk

func (o *DevicePackages) GetDeviceUuidOk() (*string, bool)

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

func (*DevicePackages) GetInstalledPackages

func (o *DevicePackages) GetInstalledPackages() []InstalledPackage

GetInstalledPackages returns the InstalledPackages field value if set, zero value otherwise.

func (*DevicePackages) GetInstalledPackagesOk

func (o *DevicePackages) GetInstalledPackagesOk() ([]InstalledPackage, bool)

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

func (*DevicePackages) HasInstalledPackages

func (o *DevicePackages) HasInstalledPackages() bool

HasInstalledPackages returns a boolean if a field has been set.

func (DevicePackages) MarshalJSON

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

func (*DevicePackages) SetDeviceUuid

func (o *DevicePackages) SetDeviceUuid(v string)

SetDeviceUuid sets field value

func (*DevicePackages) SetInstalledPackages

func (o *DevicePackages) SetInstalledPackages(v []InstalledPackage)

SetInstalledPackages gets a reference to the given []InstalledPackage and assigns it to the InstalledPackages field.

func (DevicePackages) ToMap

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

func (*DevicePackages) UnmarshalJSON

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

type DeviceSort

type DeviceSort string

DeviceSort the model 'DeviceSort'

const (
	NAME         DeviceSort = "Name"
	DEVICE_ID    DeviceSort = "DeviceId"
	UUID         DeviceSort = "Uuid"
	CREATED_AT   DeviceSort = "CreatedAt"
	ACTIVATED_AT DeviceSort = "ActivatedAt"
	LAST_SEEN    DeviceSort = "LastSeen"
)

List of DeviceSort

func NewDeviceSortFromValue

func NewDeviceSortFromValue(v string) (*DeviceSort, error)

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

func (DeviceSort) IsValid

func (v DeviceSort) IsValid() bool

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

func (DeviceSort) Ptr

func (v DeviceSort) Ptr() *DeviceSort

Ptr returns reference to DeviceSort value

func (*DeviceSort) UnmarshalJSON

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

type DeviceSortDirection

type DeviceSortDirection string

DeviceSortDirection the model 'DeviceSortDirection'

const (
	ASC  DeviceSortDirection = "Asc"
	DESC DeviceSortDirection = "Desc"
)

List of DeviceSortDirection

func NewDeviceSortDirectionFromValue

func NewDeviceSortDirectionFromValue(v string) (*DeviceSortDirection, error)

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

func (DeviceSortDirection) IsValid

func (v DeviceSortDirection) IsValid() bool

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

func (DeviceSortDirection) Ptr

Ptr returns reference to DeviceSortDirection value

func (*DeviceSortDirection) UnmarshalJSON

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

type DeviceStatus

type DeviceStatus string

DeviceStatus the model 'DeviceStatus'

const (
	NOT_SEEN       DeviceStatus = "NotSeen"
	ERROR          DeviceStatus = "Error"
	UP_TO_DATE     DeviceStatus = "UpToDate"
	UPDATE_PENDING DeviceStatus = "UpdatePending"
	OUTDATED       DeviceStatus = "Outdated"
)

List of DeviceStatus

func NewDeviceStatusFromValue

func NewDeviceStatusFromValue(v string) (*DeviceStatus, error)

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

func (DeviceStatus) IsValid

func (v DeviceStatus) IsValid() bool

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

func (DeviceStatus) Ptr

func (v DeviceStatus) Ptr() *DeviceStatus

Ptr returns reference to DeviceStatus value

func (*DeviceStatus) UnmarshalJSON

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

type DevicesAPIService

type DevicesAPIService service

DevicesAPIService DevicesAPI service

func (*DevicesAPIService) DeleteDevicesDeviceuuid

func (a *DevicesAPIService) DeleteDevicesDeviceuuid(ctx context.Context, deviceUuid string) ApiDeleteDevicesDeviceuuidRequest

DeleteDevicesDeviceuuid Delete a single device

Permanently delete a device from your repository. Once deleted, the device will no longer be able to connect to the server.

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

func (*DevicesAPIService) DeleteDevicesDeviceuuidExecute

func (a *DevicesAPIService) DeleteDevicesDeviceuuidExecute(r ApiDeleteDevicesDeviceuuidRequest) (*http.Response, error)

Execute executes the request

func (*DevicesAPIService) GetDevices

GetDevices Query device information

Retrieves a list of devices in your repository. Can be filtered by device name, or return a list of specific devices by giving the device UUIDs to return as query parameters.

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

func (*DevicesAPIService) GetDevicesDeviceuuid

func (a *DevicesAPIService) GetDevicesDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesDeviceuuidRequest

GetDevicesDeviceuuid Get detailed information about a single device

Shows all available information about a single device. Included information: * Name, ID, UUID, notes (if any) * Time of provisioning, activation, latest update, and last connection to the repository * Any fleets the device is part of * Installed packages, if known * Network information (local IP address, MAC, hostname) * Device tags, if any

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

func (*DevicesAPIService) GetDevicesDeviceuuidExecute

Execute executes the request

@return DeviceInfoExtended

func (*DevicesAPIService) GetDevicesExecute

Execute executes the request

@return PaginationResultDeviceInfoBasic

func (*DevicesAPIService) GetDevicesNameDeviceuuid

func (a *DevicesAPIService) GetDevicesNameDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesNameDeviceuuidRequest

GetDevicesNameDeviceuuid Get the display name of a single device

Gets the display name of a device. The displayed name of the device is only a server-side concept; the device is not aware of its display name.

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

func (*DevicesAPIService) GetDevicesNameDeviceuuidExecute

func (a *DevicesAPIService) GetDevicesNameDeviceuuidExecute(r ApiGetDevicesNameDeviceuuidRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*DevicesAPIService) GetDevicesNetwork

GetDevicesNetwork Get network information for many devices

Retrieves network information (local IP address, MAC, hostname) for multiple devices. A list of devices can be specified as a query parameter; if no devices are specified will return information for all devices in the repository.

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

func (*DevicesAPIService) GetDevicesNetworkDeviceuuid

func (a *DevicesAPIService) GetDevicesNetworkDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesNetworkDeviceuuidRequest

GetDevicesNetworkDeviceuuid Get network information for a single device

Retrieves network information (local IP address, MAC, hostname) for a single device.

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

func (*DevicesAPIService) GetDevicesNetworkDeviceuuidExecute

func (a *DevicesAPIService) GetDevicesNetworkDeviceuuidExecute(r ApiGetDevicesNetworkDeviceuuidRequest) (*NetworkInfo, *http.Response, error)

Execute executes the request

@return NetworkInfo

func (*DevicesAPIService) GetDevicesNetworkExecute

Execute executes the request

@return PaginationResultNetworkInfo

func (*DevicesAPIService) GetDevicesNotesDeviceuuid

func (a *DevicesAPIService) GetDevicesNotesDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesNotesDeviceuuidRequest

GetDevicesNotesDeviceuuid Get the device notes for a specific device

Gets the device notes for a device. Device notes are shown in the web UI, and can be used to store additional information about the device.

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

func (*DevicesAPIService) GetDevicesNotesDeviceuuidExecute

func (a *DevicesAPIService) GetDevicesNotesDeviceuuidExecute(r ApiGetDevicesNotesDeviceuuidRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*DevicesAPIService) GetDevicesPackages

GetDevicesPackages Get information about the installed packages for many devices

Returns a list of devices and the packages those devices have installed. A list of devices can be specified as a query parameter; if no devices are specified will return information for all devices in the repository.

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

func (*DevicesAPIService) GetDevicesPackagesDeviceuuid

func (a *DevicesAPIService) GetDevicesPackagesDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesPackagesDeviceuuidRequest

GetDevicesPackagesDeviceuuid Get information about the installed packages for a single device

Returns a list of the packages installed on the device.

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

func (*DevicesAPIService) GetDevicesPackagesDeviceuuidExecute

func (a *DevicesAPIService) GetDevicesPackagesDeviceuuidExecute(r ApiGetDevicesPackagesDeviceuuidRequest) (*DevicePackages, *http.Response, error)

Execute executes the request

@return DevicePackages

func (*DevicesAPIService) GetDevicesPackagesExecute

Execute executes the request

@return PaginationResultDevicePackages

func (*DevicesAPIService) GetDevicesToken

GetDevicesToken Retrieve device provisioning token

Retrieves a short-lived access token that can only be used to provision device

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

func (*DevicesAPIService) GetDevicesTokenExecute

func (a *DevicesAPIService) GetDevicesTokenExecute(r ApiGetDevicesTokenRequest) (*ProvisionInfo, *http.Response, error)

Execute executes the request

@return ProvisionInfo

func (*DevicesAPIService) GetDevicesUptaneDeviceuuidAssignment

func (a *DevicesAPIService) GetDevicesUptaneDeviceuuidAssignment(ctx context.Context, deviceUuid string) ApiGetDevicesUptaneDeviceuuidAssignmentRequest

GetDevicesUptaneDeviceuuidAssignment Show detailed information about the currently-assigned update for a single device

Returns the device's current update assignment, if any.

Update assignments are an Uptane concept. The assignment is what the device will be instructed to install, the next time it checks for an update. An update assignment does not necessarily mean the device will install an update. If, for example, the device reports that it already has all of the assigned software components installed, it will take no further action.

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

func (*DevicesAPIService) GetDevicesUptaneDeviceuuidAssignmentExecute

func (a *DevicesAPIService) GetDevicesUptaneDeviceuuidAssignmentExecute(r ApiGetDevicesUptaneDeviceuuidAssignmentRequest) ([]QueueResponse, *http.Response, error)

Execute executes the request

@return []QueueResponse

func (*DevicesAPIService) GetDevicesUptaneDeviceuuidComponents

func (a *DevicesAPIService) GetDevicesUptaneDeviceuuidComponents(ctx context.Context, deviceUuid string) ApiGetDevicesUptaneDeviceuuidComponentsRequest

GetDevicesUptaneDeviceuuidComponents Get a list of the software components reported by a single device

Returns a list of the device components.

Components are an Uptane concept. In the Uptane standard, they are normally referred to as "ECUs", and represent individual discrete hardware modules in a vehicle. In TorizonCore, we use this concept to allow updates to be sent independently to different software components of the system.

In particular, TorizonCore devices will normally have at least two components: one for the base OS, and one for the application software.

Components have an ID (assumed to be the component's serial number in the automotive case) and a hardwareID (an indicator of the make or model of the component, for determining firmware/package compatibility). In TorizonCore, we give the application component the hardwareID "docker-compose", and the base OS component a hardwareID corresponding to the SoM's model (e.g. "apalis-imx8").

This endpoint returns a list of the components registered on the device, and the current software image installed on each one, if known.

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

func (*DevicesAPIService) GetDevicesUptaneDeviceuuidComponentsExecute

func (a *DevicesAPIService) GetDevicesUptaneDeviceuuidComponentsExecute(r ApiGetDevicesUptaneDeviceuuidComponentsRequest) ([]EcuInfoResponse, *http.Response, error)

Execute executes the request

@return []EcuInfoResponse

func (*DevicesAPIService) PostDevices

PostDevices Manually create a new device

Creates a new device in your repository, returning the device credentials as a zipfile. This should not normally be used; the usual way to add a device is for the device itself to call this endpoint, using a short-lived provisioning token (for example, as retrieved from the [GET /devices/token](#/Devices/getDevicesToken) endpoint).

You can use this endpoint to create devices in bulk, but you will then have to manually provision the individual credentials onto each device.

`deviceId` must be specified. `deviceName` is optional; if not specified a random name will be generated. The `hibernated` parameter is optional, and defaults to `false`. If `hibernated` is set to `true`, the device will automatically be placed in hibernation mode as soon as it is created.

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

func (*DevicesAPIService) PostDevicesExecute

func (a *DevicesAPIService) PostDevicesExecute(r ApiPostDevicesRequest) (*os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*DevicesAPIService) PutDevicesHibernationDeviceuuid added in v0.0.3

func (a *DevicesAPIService) PutDevicesHibernationDeviceuuid(ctx context.Context, deviceUuid string) ApiPutDevicesHibernationDeviceuuidRequest

PutDevicesHibernationDeviceuuid Set the hibernation status of a device

Devices can be placed in _hibernation_ mode. When a device is hibernated, Torizon Cloud will respond to almost all requests from the device with a 403 HTTP status. It won't be able to check for or receive updates, send metrics, or be available for remote access.

Depending on your plan and billing contract, a hibernated device may not count towards your billable device quota. If you aren't sure how hibernated devices will affect your bill, contact Toradex sales.

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

func (*DevicesAPIService) PutDevicesHibernationDeviceuuidExecute added in v0.0.3

func (a *DevicesAPIService) PutDevicesHibernationDeviceuuidExecute(r ApiPutDevicesHibernationDeviceuuidRequest) (*http.Response, error)

Execute executes the request

func (*DevicesAPIService) PutDevicesNameDeviceuuid

func (a *DevicesAPIService) PutDevicesNameDeviceuuid(ctx context.Context, deviceUuid string) ApiPutDevicesNameDeviceuuidRequest

PutDevicesNameDeviceuuid Set the display name of a single device

Sets the display name of a device. The displayed name of the device is only a server-side concept; the device is not aware of its display name.

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

func (*DevicesAPIService) PutDevicesNameDeviceuuidExecute

func (a *DevicesAPIService) PutDevicesNameDeviceuuidExecute(r ApiPutDevicesNameDeviceuuidRequest) (*http.Response, error)

Execute executes the request

func (*DevicesAPIService) PutDevicesNotesDeviceuuid

func (a *DevicesAPIService) PutDevicesNotesDeviceuuid(ctx context.Context, deviceUuid string) ApiPutDevicesNotesDeviceuuidRequest

PutDevicesNotesDeviceuuid Set the device notes for a specific device

Sets the device notes for a device. Device notes are shown in the web UI, and can be used to store additional information about the device. Accepts a string up to approximately 64kb; will be rendered as Markdown in the web UI.

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

func (*DevicesAPIService) PutDevicesNotesDeviceuuidExecute

func (a *DevicesAPIService) PutDevicesNotesDeviceuuidExecute(r ApiPutDevicesNotesDeviceuuidRequest) (*http.Response, error)

Execute executes the request

type EcuInfoImage

type EcuInfoImage struct {
	Filepath string `json:"filepath"`
	Size     int64  `json:"size"`
	Hash     string `json:"hash"`
}

EcuInfoImage struct for EcuInfoImage

func NewEcuInfoImage

func NewEcuInfoImage(filepath string, size int64, hash string) *EcuInfoImage

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

func NewEcuInfoImageWithDefaults

func NewEcuInfoImageWithDefaults() *EcuInfoImage

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

func (*EcuInfoImage) GetFilepath

func (o *EcuInfoImage) GetFilepath() string

GetFilepath returns the Filepath field value

func (*EcuInfoImage) GetFilepathOk

func (o *EcuInfoImage) GetFilepathOk() (*string, bool)

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

func (*EcuInfoImage) GetHash

func (o *EcuInfoImage) GetHash() string

GetHash returns the Hash field value

func (*EcuInfoImage) GetHashOk

func (o *EcuInfoImage) GetHashOk() (*string, bool)

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

func (*EcuInfoImage) GetSize

func (o *EcuInfoImage) GetSize() int64

GetSize returns the Size field value

func (*EcuInfoImage) GetSizeOk

func (o *EcuInfoImage) GetSizeOk() (*int64, bool)

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

func (EcuInfoImage) MarshalJSON

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

func (*EcuInfoImage) SetFilepath

func (o *EcuInfoImage) SetFilepath(v string)

SetFilepath sets field value

func (*EcuInfoImage) SetHash

func (o *EcuInfoImage) SetHash(v string)

SetHash sets field value

func (*EcuInfoImage) SetSize

func (o *EcuInfoImage) SetSize(v int64)

SetSize sets field value

func (EcuInfoImage) ToMap

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

func (*EcuInfoImage) UnmarshalJSON

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

type EcuInfoResponse

type EcuInfoResponse struct {
	Id         string       `json:"id"`
	HardwareId string       `json:"hardwareId"`
	Primary    bool         `json:"primary"`
	Image      EcuInfoImage `json:"image"`
}

EcuInfoResponse struct for EcuInfoResponse

func NewEcuInfoResponse

func NewEcuInfoResponse(id string, hardwareId string, primary bool, image EcuInfoImage) *EcuInfoResponse

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

func NewEcuInfoResponseWithDefaults

func NewEcuInfoResponseWithDefaults() *EcuInfoResponse

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

func (*EcuInfoResponse) GetHardwareId

func (o *EcuInfoResponse) GetHardwareId() string

GetHardwareId returns the HardwareId field value

func (*EcuInfoResponse) GetHardwareIdOk

func (o *EcuInfoResponse) GetHardwareIdOk() (*string, bool)

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

func (*EcuInfoResponse) GetId

func (o *EcuInfoResponse) GetId() string

GetId returns the Id field value

func (*EcuInfoResponse) GetIdOk

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

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

func (*EcuInfoResponse) GetImage

func (o *EcuInfoResponse) GetImage() EcuInfoImage

GetImage returns the Image field value

func (*EcuInfoResponse) GetImageOk

func (o *EcuInfoResponse) GetImageOk() (*EcuInfoImage, bool)

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

func (*EcuInfoResponse) GetPrimary

func (o *EcuInfoResponse) GetPrimary() bool

GetPrimary returns the Primary field value

func (*EcuInfoResponse) GetPrimaryOk

func (o *EcuInfoResponse) GetPrimaryOk() (*bool, bool)

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

func (EcuInfoResponse) MarshalJSON

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

func (*EcuInfoResponse) SetHardwareId

func (o *EcuInfoResponse) SetHardwareId(v string)

SetHardwareId sets field value

func (*EcuInfoResponse) SetId

func (o *EcuInfoResponse) SetId(v string)

SetId sets field value

func (*EcuInfoResponse) SetImage

func (o *EcuInfoResponse) SetImage(v EcuInfoImage)

SetImage sets field value

func (*EcuInfoResponse) SetPrimary

func (o *EcuInfoResponse) SetPrimary(v bool)

SetPrimary sets field value

func (EcuInfoResponse) ToMap

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

func (*EcuInfoResponse) UnmarshalJSON

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

type EditPackage

type EditPackage struct {
	HardwareIds     []string `json:"hardwareIds,omitempty"`
	Uri             *string  `json:"uri,omitempty"`
	ProprietaryMeta *string  `json:"proprietaryMeta,omitempty"`
	Comment         *string  `json:"comment,omitempty"`
}

EditPackage struct for EditPackage

func NewEditPackage

func NewEditPackage() *EditPackage

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

func NewEditPackageWithDefaults

func NewEditPackageWithDefaults() *EditPackage

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

func (*EditPackage) GetComment

func (o *EditPackage) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*EditPackage) GetCommentOk

func (o *EditPackage) GetCommentOk() (*string, bool)

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

func (*EditPackage) GetHardwareIds

func (o *EditPackage) GetHardwareIds() []string

GetHardwareIds returns the HardwareIds field value if set, zero value otherwise.

func (*EditPackage) GetHardwareIdsOk

func (o *EditPackage) GetHardwareIdsOk() ([]string, bool)

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

func (*EditPackage) GetProprietaryMeta

func (o *EditPackage) GetProprietaryMeta() string

GetProprietaryMeta returns the ProprietaryMeta field value if set, zero value otherwise.

func (*EditPackage) GetProprietaryMetaOk

func (o *EditPackage) GetProprietaryMetaOk() (*string, bool)

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

func (*EditPackage) GetUri

func (o *EditPackage) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*EditPackage) GetUriOk

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

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

func (*EditPackage) HasComment

func (o *EditPackage) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*EditPackage) HasHardwareIds

func (o *EditPackage) HasHardwareIds() bool

HasHardwareIds returns a boolean if a field has been set.

func (*EditPackage) HasProprietaryMeta

func (o *EditPackage) HasProprietaryMeta() bool

HasProprietaryMeta returns a boolean if a field has been set.

func (*EditPackage) HasUri

func (o *EditPackage) HasUri() bool

HasUri returns a boolean if a field has been set.

func (EditPackage) MarshalJSON

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

func (*EditPackage) SetComment

func (o *EditPackage) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*EditPackage) SetHardwareIds

func (o *EditPackage) SetHardwareIds(v []string)

SetHardwareIds gets a reference to the given []string and assigns it to the HardwareIds field.

func (*EditPackage) SetProprietaryMeta

func (o *EditPackage) SetProprietaryMeta(v string)

SetProprietaryMeta gets a reference to the given string and assigns it to the ProprietaryMeta field.

func (*EditPackage) SetUri

func (o *EditPackage) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (EditPackage) ToMap

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

type ErrorRepresentation

type ErrorRepresentation struct {
	Code        string  `json:"code"`
	Description string  `json:"description"`
	Cause       *string `json:"cause,omitempty"`
	ErrorId     *string `json:"errorId,omitempty"`
}

ErrorRepresentation struct for ErrorRepresentation

func NewErrorRepresentation

func NewErrorRepresentation(code string, description string) *ErrorRepresentation

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

func NewErrorRepresentationWithDefaults

func NewErrorRepresentationWithDefaults() *ErrorRepresentation

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

func (*ErrorRepresentation) GetCause

func (o *ErrorRepresentation) GetCause() string

GetCause returns the Cause field value if set, zero value otherwise.

func (*ErrorRepresentation) GetCauseOk

func (o *ErrorRepresentation) GetCauseOk() (*string, bool)

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

func (*ErrorRepresentation) GetCode

func (o *ErrorRepresentation) GetCode() string

GetCode returns the Code field value

func (*ErrorRepresentation) GetCodeOk

func (o *ErrorRepresentation) GetCodeOk() (*string, bool)

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

func (*ErrorRepresentation) GetDescription

func (o *ErrorRepresentation) GetDescription() string

GetDescription returns the Description field value

func (*ErrorRepresentation) GetDescriptionOk

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

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

func (*ErrorRepresentation) GetErrorId

func (o *ErrorRepresentation) GetErrorId() string

GetErrorId returns the ErrorId field value if set, zero value otherwise.

func (*ErrorRepresentation) GetErrorIdOk

func (o *ErrorRepresentation) GetErrorIdOk() (*string, bool)

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

func (*ErrorRepresentation) HasCause

func (o *ErrorRepresentation) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*ErrorRepresentation) HasErrorId

func (o *ErrorRepresentation) HasErrorId() bool

HasErrorId returns a boolean if a field has been set.

func (ErrorRepresentation) MarshalJSON

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

func (*ErrorRepresentation) SetCause

func (o *ErrorRepresentation) SetCause(v string)

SetCause gets a reference to the given string and assigns it to the Cause field.

func (*ErrorRepresentation) SetCode

func (o *ErrorRepresentation) SetCode(v string)

SetCode sets field value

func (*ErrorRepresentation) SetDescription

func (o *ErrorRepresentation) SetDescription(v string)

SetDescription sets field value

func (*ErrorRepresentation) SetErrorId

func (o *ErrorRepresentation) SetErrorId(v string)

SetErrorId gets a reference to the given string and assigns it to the ErrorId field.

func (ErrorRepresentation) ToMap

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

func (*ErrorRepresentation) UnmarshalJSON

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

type ExternalPackage

type ExternalPackage struct {
	Name             string            `json:"name"`
	DelegationOrigin string            `json:"delegationOrigin"`
	Version          string            `json:"version"`
	PackageId        string            `json:"packageId"`
	Size             int64             `json:"size"`
	Hashes           map[string]string `json:"hashes"`
	PkgType          *string           `json:"pkgType,omitempty"`
	HardwareIds      []string          `json:"hardwareIds,omitempty"`
	CreatedAt        *time.Time        `json:"createdAt,omitempty"`
	Uri              *string           `json:"uri,omitempty"`
	ProprietaryMeta  *string           `json:"proprietaryMeta,omitempty"`
}

ExternalPackage struct for ExternalPackage

func NewExternalPackage

func NewExternalPackage(name string, delegationOrigin string, version string, packageId string, size int64, hashes map[string]string) *ExternalPackage

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

func NewExternalPackageWithDefaults

func NewExternalPackageWithDefaults() *ExternalPackage

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

func (*ExternalPackage) GetCreatedAt

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

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

func (*ExternalPackage) GetCreatedAtOk

func (o *ExternalPackage) 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 (*ExternalPackage) GetDelegationOrigin

func (o *ExternalPackage) GetDelegationOrigin() string

GetDelegationOrigin returns the DelegationOrigin field value

func (*ExternalPackage) GetDelegationOriginOk

func (o *ExternalPackage) GetDelegationOriginOk() (*string, bool)

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

func (*ExternalPackage) GetHardwareIds

func (o *ExternalPackage) GetHardwareIds() []string

GetHardwareIds returns the HardwareIds field value if set, zero value otherwise.

func (*ExternalPackage) GetHardwareIdsOk

func (o *ExternalPackage) GetHardwareIdsOk() ([]string, bool)

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

func (*ExternalPackage) GetHashes

func (o *ExternalPackage) GetHashes() map[string]string

GetHashes returns the Hashes field value

func (*ExternalPackage) GetHashesOk

func (o *ExternalPackage) GetHashesOk() (*map[string]string, bool)

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

func (*ExternalPackage) GetName

func (o *ExternalPackage) GetName() string

GetName returns the Name field value

func (*ExternalPackage) GetNameOk

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

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

func (*ExternalPackage) GetPackageId

func (o *ExternalPackage) GetPackageId() string

GetPackageId returns the PackageId field value

func (*ExternalPackage) GetPackageIdOk

func (o *ExternalPackage) GetPackageIdOk() (*string, bool)

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

func (*ExternalPackage) GetPkgType

func (o *ExternalPackage) GetPkgType() string

GetPkgType returns the PkgType field value if set, zero value otherwise.

func (*ExternalPackage) GetPkgTypeOk

func (o *ExternalPackage) GetPkgTypeOk() (*string, bool)

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

func (*ExternalPackage) GetProprietaryMeta

func (o *ExternalPackage) GetProprietaryMeta() string

GetProprietaryMeta returns the ProprietaryMeta field value if set, zero value otherwise.

func (*ExternalPackage) GetProprietaryMetaOk

func (o *ExternalPackage) GetProprietaryMetaOk() (*string, bool)

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

func (*ExternalPackage) GetSize

func (o *ExternalPackage) GetSize() int64

GetSize returns the Size field value

func (*ExternalPackage) GetSizeOk

func (o *ExternalPackage) GetSizeOk() (*int64, bool)

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

func (*ExternalPackage) GetUri

func (o *ExternalPackage) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*ExternalPackage) GetUriOk

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

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

func (*ExternalPackage) GetVersion

func (o *ExternalPackage) GetVersion() string

GetVersion returns the Version field value

func (*ExternalPackage) GetVersionOk

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

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

func (*ExternalPackage) HasCreatedAt

func (o *ExternalPackage) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ExternalPackage) HasHardwareIds

func (o *ExternalPackage) HasHardwareIds() bool

HasHardwareIds returns a boolean if a field has been set.

func (*ExternalPackage) HasPkgType

func (o *ExternalPackage) HasPkgType() bool

HasPkgType returns a boolean if a field has been set.

func (*ExternalPackage) HasProprietaryMeta

func (o *ExternalPackage) HasProprietaryMeta() bool

HasProprietaryMeta returns a boolean if a field has been set.

func (*ExternalPackage) HasUri

func (o *ExternalPackage) HasUri() bool

HasUri returns a boolean if a field has been set.

func (ExternalPackage) MarshalJSON

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

func (*ExternalPackage) SetCreatedAt

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

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

func (*ExternalPackage) SetDelegationOrigin

func (o *ExternalPackage) SetDelegationOrigin(v string)

SetDelegationOrigin sets field value

func (*ExternalPackage) SetHardwareIds

func (o *ExternalPackage) SetHardwareIds(v []string)

SetHardwareIds gets a reference to the given []string and assigns it to the HardwareIds field.

func (*ExternalPackage) SetHashes

func (o *ExternalPackage) SetHashes(v map[string]string)

SetHashes sets field value

func (*ExternalPackage) SetName

func (o *ExternalPackage) SetName(v string)

SetName sets field value

func (*ExternalPackage) SetPackageId

func (o *ExternalPackage) SetPackageId(v string)

SetPackageId sets field value

func (*ExternalPackage) SetPkgType

func (o *ExternalPackage) SetPkgType(v string)

SetPkgType gets a reference to the given string and assigns it to the PkgType field.

func (*ExternalPackage) SetProprietaryMeta

func (o *ExternalPackage) SetProprietaryMeta(v string)

SetProprietaryMeta gets a reference to the given string and assigns it to the ProprietaryMeta field.

func (*ExternalPackage) SetSize

func (o *ExternalPackage) SetSize(v int64)

SetSize sets field value

func (*ExternalPackage) SetUri

func (o *ExternalPackage) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (*ExternalPackage) SetVersion

func (o *ExternalPackage) SetVersion(v string)

SetVersion sets field value

func (ExternalPackage) ToMap

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

func (*ExternalPackage) UnmarshalJSON

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

type FileInfo

type FileInfo struct {
	Hashes string `json:"hashes"`
	Length int64  `json:"length"`
}

FileInfo struct for FileInfo

func NewFileInfo

func NewFileInfo(hashes string, length int64) *FileInfo

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

func NewFileInfoWithDefaults

func NewFileInfoWithDefaults() *FileInfo

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

func (*FileInfo) GetHashes

func (o *FileInfo) GetHashes() string

GetHashes returns the Hashes field value

func (*FileInfo) GetHashesOk

func (o *FileInfo) GetHashesOk() (*string, bool)

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

func (*FileInfo) GetLength

func (o *FileInfo) GetLength() int64

GetLength returns the Length field value

func (*FileInfo) GetLengthOk

func (o *FileInfo) GetLengthOk() (*int64, bool)

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

func (FileInfo) MarshalJSON

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

func (*FileInfo) SetHashes

func (o *FileInfo) SetHashes(v string)

SetHashes sets field value

func (*FileInfo) SetLength

func (o *FileInfo) SetLength(v int64)

SetLength sets field value

func (FileInfo) ToMap

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

func (*FileInfo) UnmarshalJSON

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

type Fleet

type Fleet struct {
	Id         string    `json:"id"`
	Name       string    `json:"name"`
	CreatedAt  time.Time `json:"createdAt"`
	FleetType  FleetType `json:"fleetType"`
	Expression *string   `json:"expression,omitempty"`
}

Fleet struct for Fleet

func NewFleet

func NewFleet(id string, name string, createdAt time.Time, fleetType FleetType) *Fleet

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

func NewFleetWithDefaults

func NewFleetWithDefaults() *Fleet

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

func (*Fleet) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Fleet) GetCreatedAtOk

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

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

func (*Fleet) GetExpression

func (o *Fleet) GetExpression() string

GetExpression returns the Expression field value if set, zero value otherwise.

func (*Fleet) GetExpressionOk

func (o *Fleet) GetExpressionOk() (*string, bool)

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

func (*Fleet) GetFleetType

func (o *Fleet) GetFleetType() FleetType

GetFleetType returns the FleetType field value

func (*Fleet) GetFleetTypeOk

func (o *Fleet) GetFleetTypeOk() (*FleetType, bool)

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

func (*Fleet) GetId

func (o *Fleet) GetId() string

GetId returns the Id field value

func (*Fleet) GetIdOk

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

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

func (*Fleet) GetName

func (o *Fleet) GetName() string

GetName returns the Name field value

func (*Fleet) GetNameOk

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

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

func (*Fleet) HasExpression

func (o *Fleet) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (Fleet) MarshalJSON

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

func (*Fleet) SetCreatedAt

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

SetCreatedAt sets field value

func (*Fleet) SetExpression

func (o *Fleet) SetExpression(v string)

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*Fleet) SetFleetType

func (o *Fleet) SetFleetType(v FleetType)

SetFleetType sets field value

func (*Fleet) SetId

func (o *Fleet) SetId(v string)

SetId sets field value

func (*Fleet) SetName

func (o *Fleet) SetName(v string)

SetName sets field value

func (Fleet) ToMap

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

func (*Fleet) UnmarshalJSON

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

type FleetType

type FleetType string

FleetType the model 'FleetType'

const (
	STATIC  FleetType = "static"
	DYNAMIC FleetType = "dynamic"
)

List of FleetType

func NewFleetTypeFromValue

func NewFleetTypeFromValue(v string) (*FleetType, error)

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

func (FleetType) IsValid

func (v FleetType) IsValid() bool

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

func (FleetType) Ptr

func (v FleetType) Ptr() *FleetType

Ptr returns reference to FleetType value

func (*FleetType) UnmarshalJSON

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

type FleetsAPIService

type FleetsAPIService service

FleetsAPIService FleetsAPI service

func (*FleetsAPIService) DeleteFleetsFleetid

func (a *FleetsAPIService) DeleteFleetsFleetid(ctx context.Context, fleetId string) ApiDeleteFleetsFleetidRequest

DeleteFleetsFleetid Delete a fleet

Permanently delete a fleet. Devices in the fleet are not deleted, but are no longer associated with the deleted fleet.

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

func (*FleetsAPIService) DeleteFleetsFleetidDevices

func (a *FleetsAPIService) DeleteFleetsFleetidDevices(ctx context.Context, fleetId string) ApiDeleteFleetsFleetidDevicesRequest

DeleteFleetsFleetidDevices Remove devices from a fleet

Removes devices, specified by a list of device UUIDs in the body, from a specific fleet.

Note: only applicable to static fleets.

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

func (*FleetsAPIService) DeleteFleetsFleetidDevicesExecute

func (a *FleetsAPIService) DeleteFleetsFleetidDevicesExecute(r ApiDeleteFleetsFleetidDevicesRequest) (*http.Response, error)

Execute executes the request

func (*FleetsAPIService) DeleteFleetsFleetidExecute

func (a *FleetsAPIService) DeleteFleetsFleetidExecute(r ApiDeleteFleetsFleetidRequest) (*http.Response, error)

Execute executes the request

func (*FleetsAPIService) GetFleets

GetFleets Get information about all fleets in your repository

Returns a list of fleets along with their UUIDs.

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

func (*FleetsAPIService) GetFleetsExecute

Execute executes the request

@return PaginationResultFleet

func (*FleetsAPIService) GetFleetsFleetidDevices

func (a *FleetsAPIService) GetFleetsFleetidDevices(ctx context.Context, fleetId string) ApiGetFleetsFleetidDevicesRequest

GetFleetsFleetidDevices Get information about the devices in a single fleet

Returns device information for all devices in the specified fleet. The schema for device data is the same as the [GET /devices](#/Devices/getDevices) endpoint.

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

func (*FleetsAPIService) GetFleetsFleetidDevicesExecute

Execute executes the request

@return PaginationResultDeviceInfoBasic

func (*FleetsAPIService) PostFleets

PostFleets Create a new fleet

Creates a new fleet. You must specify a fleet name and a fleet type, which can be `static` or `dynamic`. Static fleets are the normal way of creating fleets on the Torizon platform. Dynamic fleets have an associated pattern matching expression, and devices that match the pattern are automatically added to the group.

If you are interested in using dynamic groups, please contact support--the expression language is not fully documented yet.

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

func (*FleetsAPIService) PostFleetsExecute

func (a *FleetsAPIService) PostFleetsExecute(r ApiPostFleetsRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*FleetsAPIService) PostFleetsFleetidDevices

func (a *FleetsAPIService) PostFleetsFleetidDevices(ctx context.Context, fleetId string) ApiPostFleetsFleetidDevicesRequest

PostFleetsFleetidDevices Add devices to a fleet

Adds devices, specified by a list of device UUIDs in the body, to a specific fleet.

Note: only applicable to static fleets.

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

func (*FleetsAPIService) PostFleetsFleetidDevicesExecute

func (a *FleetsAPIService) PostFleetsFleetidDevicesExecute(r ApiPostFleetsFleetidDevicesRequest) (*http.Response, error)

Execute executes the request

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 Image

type Image struct {
	Filepath string   `json:"filepath"`
	Fileinfo FileInfo `json:"fileinfo"`
}

Image struct for Image

func NewImage

func NewImage(filepath string, fileinfo FileInfo) *Image

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

func NewImageWithDefaults

func NewImageWithDefaults() *Image

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

func (*Image) GetFileinfo

func (o *Image) GetFileinfo() FileInfo

GetFileinfo returns the Fileinfo field value

func (*Image) GetFileinfoOk

func (o *Image) GetFileinfoOk() (*FileInfo, bool)

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

func (*Image) GetFilepath

func (o *Image) GetFilepath() string

GetFilepath returns the Filepath field value

func (*Image) GetFilepathOk

func (o *Image) GetFilepathOk() (*string, bool)

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

func (Image) MarshalJSON

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

func (*Image) SetFileinfo

func (o *Image) SetFileinfo(v FileInfo)

SetFileinfo sets field value

func (*Image) SetFilepath

func (o *Image) SetFilepath(v string)

SetFilepath sets field value

func (Image) ToMap

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

func (*Image) UnmarshalJSON

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

type InstalledPackage

type InstalledPackage struct {
	Component string      `json:"component"`
	Installed PackageInfo `json:"installed"`
}

InstalledPackage struct for InstalledPackage

func NewInstalledPackage

func NewInstalledPackage(component string, installed PackageInfo) *InstalledPackage

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

func NewInstalledPackageWithDefaults

func NewInstalledPackageWithDefaults() *InstalledPackage

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

func (*InstalledPackage) GetComponent

func (o *InstalledPackage) GetComponent() string

GetComponent returns the Component field value

func (*InstalledPackage) GetComponentOk

func (o *InstalledPackage) GetComponentOk() (*string, bool)

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

func (*InstalledPackage) GetInstalled

func (o *InstalledPackage) GetInstalled() PackageInfo

GetInstalled returns the Installed field value

func (*InstalledPackage) GetInstalledOk

func (o *InstalledPackage) GetInstalledOk() (*PackageInfo, bool)

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

func (InstalledPackage) MarshalJSON

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

func (*InstalledPackage) SetComponent

func (o *InstalledPackage) SetComponent(v string)

SetComponent sets field value

func (*InstalledPackage) SetInstalled

func (o *InstalledPackage) SetInstalled(v PackageInfo)

SetInstalled sets field value

func (InstalledPackage) ToMap

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

func (*InstalledPackage) UnmarshalJSON

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

type JsonSignedPayload

type JsonSignedPayload struct {
	Signatures []ClientSignature `json:"signatures,omitempty"`
	Signed     interface{}       `json:"signed"`
}

JsonSignedPayload struct for JsonSignedPayload

func NewJsonSignedPayload

func NewJsonSignedPayload(signed interface{}) *JsonSignedPayload

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

func NewJsonSignedPayloadWithDefaults

func NewJsonSignedPayloadWithDefaults() *JsonSignedPayload

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

func (*JsonSignedPayload) GetSignatures

func (o *JsonSignedPayload) GetSignatures() []ClientSignature

GetSignatures returns the Signatures field value if set, zero value otherwise.

func (*JsonSignedPayload) GetSignaturesOk

func (o *JsonSignedPayload) GetSignaturesOk() ([]ClientSignature, bool)

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

func (*JsonSignedPayload) GetSigned

func (o *JsonSignedPayload) GetSigned() interface{}

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

func (*JsonSignedPayload) GetSignedOk

func (o *JsonSignedPayload) GetSignedOk() (*interface{}, bool)

GetSignedOk returns a tuple with the Signed 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 (*JsonSignedPayload) HasSignatures

func (o *JsonSignedPayload) HasSignatures() bool

HasSignatures returns a boolean if a field has been set.

func (JsonSignedPayload) MarshalJSON

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

func (*JsonSignedPayload) SetSignatures

func (o *JsonSignedPayload) SetSignatures(v []ClientSignature)

SetSignatures gets a reference to the given []ClientSignature and assigns it to the Signatures field.

func (*JsonSignedPayload) SetSigned

func (o *JsonSignedPayload) SetSigned(v interface{})

SetSigned sets field value

func (JsonSignedPayload) ToMap

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

func (*JsonSignedPayload) UnmarshalJSON

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MetricsResponse

type MetricsResponse struct {
	Series []Series `json:"series,omitempty"`
}

MetricsResponse struct for MetricsResponse

func NewMetricsResponse

func NewMetricsResponse() *MetricsResponse

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

func NewMetricsResponseWithDefaults

func NewMetricsResponseWithDefaults() *MetricsResponse

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

func (*MetricsResponse) GetSeries

func (o *MetricsResponse) GetSeries() []Series

GetSeries returns the Series field value if set, zero value otherwise.

func (*MetricsResponse) GetSeriesOk

func (o *MetricsResponse) GetSeriesOk() ([]Series, bool)

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

func (*MetricsResponse) HasSeries

func (o *MetricsResponse) HasSeries() bool

HasSeries returns a boolean if a field has been set.

func (MetricsResponse) MarshalJSON

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

func (*MetricsResponse) SetSeries

func (o *MetricsResponse) SetSeries(v []Series)

SetSeries gets a reference to the given []Series and assigns it to the Series field.

func (MetricsResponse) ToMap

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

type NetworkInfo

type NetworkInfo struct {
	DeviceUuid string  `json:"deviceUuid"`
	LocalIpV4  *string `json:"localIpV4,omitempty"`
	Hostname   *string `json:"hostname,omitempty"`
	MacAddress *string `json:"macAddress,omitempty"`
}

NetworkInfo struct for NetworkInfo

func NewNetworkInfo

func NewNetworkInfo(deviceUuid string) *NetworkInfo

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

func NewNetworkInfoWithDefaults

func NewNetworkInfoWithDefaults() *NetworkInfo

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

func (*NetworkInfo) GetDeviceUuid

func (o *NetworkInfo) GetDeviceUuid() string

GetDeviceUuid returns the DeviceUuid field value

func (*NetworkInfo) GetDeviceUuidOk

func (o *NetworkInfo) GetDeviceUuidOk() (*string, bool)

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

func (*NetworkInfo) GetHostname

func (o *NetworkInfo) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*NetworkInfo) GetHostnameOk

func (o *NetworkInfo) GetHostnameOk() (*string, bool)

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

func (*NetworkInfo) GetLocalIpV4

func (o *NetworkInfo) GetLocalIpV4() string

GetLocalIpV4 returns the LocalIpV4 field value if set, zero value otherwise.

func (*NetworkInfo) GetLocalIpV4Ok

func (o *NetworkInfo) GetLocalIpV4Ok() (*string, bool)

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

func (*NetworkInfo) GetMacAddress

func (o *NetworkInfo) GetMacAddress() string

GetMacAddress returns the MacAddress field value if set, zero value otherwise.

func (*NetworkInfo) GetMacAddressOk

func (o *NetworkInfo) GetMacAddressOk() (*string, bool)

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

func (*NetworkInfo) HasHostname

func (o *NetworkInfo) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*NetworkInfo) HasLocalIpV4

func (o *NetworkInfo) HasLocalIpV4() bool

HasLocalIpV4 returns a boolean if a field has been set.

func (*NetworkInfo) HasMacAddress

func (o *NetworkInfo) HasMacAddress() bool

HasMacAddress returns a boolean if a field has been set.

func (NetworkInfo) MarshalJSON

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

func (*NetworkInfo) SetDeviceUuid

func (o *NetworkInfo) SetDeviceUuid(v string)

SetDeviceUuid sets field value

func (*NetworkInfo) SetHostname

func (o *NetworkInfo) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*NetworkInfo) SetLocalIpV4

func (o *NetworkInfo) SetLocalIpV4(v string)

SetLocalIpV4 gets a reference to the given string and assigns it to the LocalIpV4 field.

func (*NetworkInfo) SetMacAddress

func (o *NetworkInfo) SetMacAddress(v string)

SetMacAddress gets a reference to the given string and assigns it to the MacAddress field.

func (NetworkInfo) ToMap

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

func (*NetworkInfo) UnmarshalJSON

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

type NotFoundRepr

type NotFoundRepr struct {
	Msg         string  `json:"msg"`
	Description *string `json:"description,omitempty"`
	Code        string  `json:"code"`
	Cause       *string `json:"cause,omitempty"`
	ErrorId     *string `json:"errorId,omitempty"`
}

NotFoundRepr struct for NotFoundRepr

func NewNotFoundRepr

func NewNotFoundRepr(msg string, code string) *NotFoundRepr

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

func NewNotFoundReprWithDefaults

func NewNotFoundReprWithDefaults() *NotFoundRepr

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

func (*NotFoundRepr) GetCause

func (o *NotFoundRepr) GetCause() string

GetCause returns the Cause field value if set, zero value otherwise.

func (*NotFoundRepr) GetCauseOk

func (o *NotFoundRepr) GetCauseOk() (*string, bool)

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

func (*NotFoundRepr) GetCode

func (o *NotFoundRepr) GetCode() string

GetCode returns the Code field value

func (*NotFoundRepr) GetCodeOk

func (o *NotFoundRepr) GetCodeOk() (*string, bool)

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

func (*NotFoundRepr) GetDescription

func (o *NotFoundRepr) GetDescription() string

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

func (*NotFoundRepr) GetDescriptionOk

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

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

func (*NotFoundRepr) GetErrorId

func (o *NotFoundRepr) GetErrorId() string

GetErrorId returns the ErrorId field value if set, zero value otherwise.

func (*NotFoundRepr) GetErrorIdOk

func (o *NotFoundRepr) GetErrorIdOk() (*string, bool)

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

func (*NotFoundRepr) GetMsg

func (o *NotFoundRepr) GetMsg() string

GetMsg returns the Msg field value

func (*NotFoundRepr) GetMsgOk

func (o *NotFoundRepr) GetMsgOk() (*string, bool)

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

func (*NotFoundRepr) HasCause

func (o *NotFoundRepr) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*NotFoundRepr) HasDescription

func (o *NotFoundRepr) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*NotFoundRepr) HasErrorId

func (o *NotFoundRepr) HasErrorId() bool

HasErrorId returns a boolean if a field has been set.

func (NotFoundRepr) MarshalJSON

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

func (*NotFoundRepr) SetCause

func (o *NotFoundRepr) SetCause(v string)

SetCause gets a reference to the given string and assigns it to the Cause field.

func (*NotFoundRepr) SetCode

func (o *NotFoundRepr) SetCode(v string)

SetCode sets field value

func (*NotFoundRepr) SetDescription

func (o *NotFoundRepr) SetDescription(v string)

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

func (*NotFoundRepr) SetErrorId

func (o *NotFoundRepr) SetErrorId(v string)

SetErrorId gets a reference to the given string and assigns it to the ErrorId field.

func (*NotFoundRepr) SetMsg

func (o *NotFoundRepr) SetMsg(v string)

SetMsg sets field value

func (NotFoundRepr) ToMap

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

func (*NotFoundRepr) UnmarshalJSON

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

type NullableBadRequestRepr

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

func NewNullableBadRequestRepr

func NewNullableBadRequestRepr(val *BadRequestRepr) *NullableBadRequestRepr

func (NullableBadRequestRepr) Get

func (NullableBadRequestRepr) IsSet

func (v NullableBadRequestRepr) IsSet() bool

func (NullableBadRequestRepr) MarshalJSON

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

func (*NullableBadRequestRepr) Set

func (*NullableBadRequestRepr) UnmarshalJSON

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

func (*NullableBadRequestRepr) Unset

func (v *NullableBadRequestRepr) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableClientSignature

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

func NewNullableClientSignature

func NewNullableClientSignature(val *ClientSignature) *NullableClientSignature

func (NullableClientSignature) Get

func (NullableClientSignature) IsSet

func (v NullableClientSignature) IsSet() bool

func (NullableClientSignature) MarshalJSON

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

func (*NullableClientSignature) Set

func (*NullableClientSignature) UnmarshalJSON

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

func (*NullableClientSignature) Unset

func (v *NullableClientSignature) Unset()

type NullableConflictRepr

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

func NewNullableConflictRepr

func NewNullableConflictRepr(val *ConflictRepr) *NullableConflictRepr

func (NullableConflictRepr) Get

func (NullableConflictRepr) IsSet

func (v NullableConflictRepr) IsSet() bool

func (NullableConflictRepr) MarshalJSON

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

func (*NullableConflictRepr) Set

func (v *NullableConflictRepr) Set(val *ConflictRepr)

func (*NullableConflictRepr) UnmarshalJSON

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

func (*NullableConflictRepr) Unset

func (v *NullableConflictRepr) Unset()

type NullableCreateFleet

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

func NewNullableCreateFleet

func NewNullableCreateFleet(val *CreateFleet) *NullableCreateFleet

func (NullableCreateFleet) Get

func (NullableCreateFleet) IsSet

func (v NullableCreateFleet) IsSet() bool

func (NullableCreateFleet) MarshalJSON

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

func (*NullableCreateFleet) Set

func (v *NullableCreateFleet) Set(val *CreateFleet)

func (*NullableCreateFleet) UnmarshalJSON

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

func (*NullableCreateFleet) Unset

func (v *NullableCreateFleet) Unset()

type NullableCreateLockboxRequest

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

func NewNullableCreateLockboxRequest

func NewNullableCreateLockboxRequest(val *CreateLockboxRequest) *NullableCreateLockboxRequest

func (NullableCreateLockboxRequest) Get

func (NullableCreateLockboxRequest) IsSet

func (NullableCreateLockboxRequest) MarshalJSON

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

func (*NullableCreateLockboxRequest) Set

func (*NullableCreateLockboxRequest) UnmarshalJSON

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

func (*NullableCreateLockboxRequest) Unset

func (v *NullableCreateLockboxRequest) Unset()

type NullableCustomUpdateData

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

func NewNullableCustomUpdateData

func NewNullableCustomUpdateData(val *CustomUpdateData) *NullableCustomUpdateData

func (NullableCustomUpdateData) Get

func (NullableCustomUpdateData) IsSet

func (v NullableCustomUpdateData) IsSet() bool

func (NullableCustomUpdateData) MarshalJSON

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

func (*NullableCustomUpdateData) Set

func (*NullableCustomUpdateData) UnmarshalJSON

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

func (*NullableCustomUpdateData) Unset

func (v *NullableCustomUpdateData) Unset()

type NullableDelegationInfo

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

func NewNullableDelegationInfo

func NewNullableDelegationInfo(val *DelegationInfo) *NullableDelegationInfo

func (NullableDelegationInfo) Get

func (NullableDelegationInfo) IsSet

func (v NullableDelegationInfo) IsSet() bool

func (NullableDelegationInfo) MarshalJSON

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

func (*NullableDelegationInfo) Set

func (*NullableDelegationInfo) UnmarshalJSON

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

func (*NullableDelegationInfo) Unset

func (v *NullableDelegationInfo) Unset()

type NullableDeviceCreateReq

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

func NewNullableDeviceCreateReq

func NewNullableDeviceCreateReq(val *DeviceCreateReq) *NullableDeviceCreateReq

func (NullableDeviceCreateReq) Get

func (NullableDeviceCreateReq) IsSet

func (v NullableDeviceCreateReq) IsSet() bool

func (NullableDeviceCreateReq) MarshalJSON

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

func (*NullableDeviceCreateReq) Set

func (*NullableDeviceCreateReq) UnmarshalJSON

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

func (*NullableDeviceCreateReq) Unset

func (v *NullableDeviceCreateReq) Unset()

type NullableDeviceInfoBasic

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

func NewNullableDeviceInfoBasic

func NewNullableDeviceInfoBasic(val *DeviceInfoBasic) *NullableDeviceInfoBasic

func (NullableDeviceInfoBasic) Get

func (NullableDeviceInfoBasic) IsSet

func (v NullableDeviceInfoBasic) IsSet() bool

func (NullableDeviceInfoBasic) MarshalJSON

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

func (*NullableDeviceInfoBasic) Set

func (*NullableDeviceInfoBasic) UnmarshalJSON

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

func (*NullableDeviceInfoBasic) Unset

func (v *NullableDeviceInfoBasic) Unset()

type NullableDeviceInfoExtended

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

func NewNullableDeviceInfoExtended

func NewNullableDeviceInfoExtended(val *DeviceInfoExtended) *NullableDeviceInfoExtended

func (NullableDeviceInfoExtended) Get

func (NullableDeviceInfoExtended) IsSet

func (v NullableDeviceInfoExtended) IsSet() bool

func (NullableDeviceInfoExtended) MarshalJSON

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

func (*NullableDeviceInfoExtended) Set

func (*NullableDeviceInfoExtended) UnmarshalJSON

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

func (*NullableDeviceInfoExtended) Unset

func (v *NullableDeviceInfoExtended) Unset()

type NullableDevicePackage

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

func NewNullableDevicePackage

func NewNullableDevicePackage(val *DevicePackage) *NullableDevicePackage

func (NullableDevicePackage) Get

func (NullableDevicePackage) IsSet

func (v NullableDevicePackage) IsSet() bool

func (NullableDevicePackage) MarshalJSON

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

func (*NullableDevicePackage) Set

func (v *NullableDevicePackage) Set(val *DevicePackage)

func (*NullableDevicePackage) UnmarshalJSON

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

func (*NullableDevicePackage) Unset

func (v *NullableDevicePackage) Unset()

type NullableDevicePackages

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

func NewNullableDevicePackages

func NewNullableDevicePackages(val *DevicePackages) *NullableDevicePackages

func (NullableDevicePackages) Get

func (NullableDevicePackages) IsSet

func (v NullableDevicePackages) IsSet() bool

func (NullableDevicePackages) MarshalJSON

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

func (*NullableDevicePackages) Set

func (*NullableDevicePackages) UnmarshalJSON

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

func (*NullableDevicePackages) Unset

func (v *NullableDevicePackages) Unset()

type NullableDeviceSort

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

func NewNullableDeviceSort

func NewNullableDeviceSort(val *DeviceSort) *NullableDeviceSort

func (NullableDeviceSort) Get

func (v NullableDeviceSort) Get() *DeviceSort

func (NullableDeviceSort) IsSet

func (v NullableDeviceSort) IsSet() bool

func (NullableDeviceSort) MarshalJSON

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

func (*NullableDeviceSort) Set

func (v *NullableDeviceSort) Set(val *DeviceSort)

func (*NullableDeviceSort) UnmarshalJSON

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

func (*NullableDeviceSort) Unset

func (v *NullableDeviceSort) Unset()

type NullableDeviceSortDirection

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

func NewNullableDeviceSortDirection

func NewNullableDeviceSortDirection(val *DeviceSortDirection) *NullableDeviceSortDirection

func (NullableDeviceSortDirection) Get

func (NullableDeviceSortDirection) IsSet

func (NullableDeviceSortDirection) MarshalJSON

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

func (*NullableDeviceSortDirection) Set

func (*NullableDeviceSortDirection) UnmarshalJSON

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

func (*NullableDeviceSortDirection) Unset

func (v *NullableDeviceSortDirection) Unset()

type NullableDeviceStatus

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

func NewNullableDeviceStatus

func NewNullableDeviceStatus(val *DeviceStatus) *NullableDeviceStatus

func (NullableDeviceStatus) Get

func (NullableDeviceStatus) IsSet

func (v NullableDeviceStatus) IsSet() bool

func (NullableDeviceStatus) MarshalJSON

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

func (*NullableDeviceStatus) Set

func (v *NullableDeviceStatus) Set(val *DeviceStatus)

func (*NullableDeviceStatus) UnmarshalJSON

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

func (*NullableDeviceStatus) Unset

func (v *NullableDeviceStatus) Unset()

type NullableEcuInfoImage

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

func NewNullableEcuInfoImage

func NewNullableEcuInfoImage(val *EcuInfoImage) *NullableEcuInfoImage

func (NullableEcuInfoImage) Get

func (NullableEcuInfoImage) IsSet

func (v NullableEcuInfoImage) IsSet() bool

func (NullableEcuInfoImage) MarshalJSON

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

func (*NullableEcuInfoImage) Set

func (v *NullableEcuInfoImage) Set(val *EcuInfoImage)

func (*NullableEcuInfoImage) UnmarshalJSON

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

func (*NullableEcuInfoImage) Unset

func (v *NullableEcuInfoImage) Unset()

type NullableEcuInfoResponse

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

func NewNullableEcuInfoResponse

func NewNullableEcuInfoResponse(val *EcuInfoResponse) *NullableEcuInfoResponse

func (NullableEcuInfoResponse) Get

func (NullableEcuInfoResponse) IsSet

func (v NullableEcuInfoResponse) IsSet() bool

func (NullableEcuInfoResponse) MarshalJSON

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

func (*NullableEcuInfoResponse) Set

func (*NullableEcuInfoResponse) UnmarshalJSON

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

func (*NullableEcuInfoResponse) Unset

func (v *NullableEcuInfoResponse) Unset()

type NullableEditPackage

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

func NewNullableEditPackage

func NewNullableEditPackage(val *EditPackage) *NullableEditPackage

func (NullableEditPackage) Get

func (NullableEditPackage) IsSet

func (v NullableEditPackage) IsSet() bool

func (NullableEditPackage) MarshalJSON

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

func (*NullableEditPackage) Set

func (v *NullableEditPackage) Set(val *EditPackage)

func (*NullableEditPackage) UnmarshalJSON

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

func (*NullableEditPackage) Unset

func (v *NullableEditPackage) Unset()

type NullableErrorRepresentation

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

func NewNullableErrorRepresentation

func NewNullableErrorRepresentation(val *ErrorRepresentation) *NullableErrorRepresentation

func (NullableErrorRepresentation) Get

func (NullableErrorRepresentation) IsSet

func (NullableErrorRepresentation) MarshalJSON

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

func (*NullableErrorRepresentation) Set

func (*NullableErrorRepresentation) UnmarshalJSON

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

func (*NullableErrorRepresentation) Unset

func (v *NullableErrorRepresentation) Unset()

type NullableExternalPackage

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

func NewNullableExternalPackage

func NewNullableExternalPackage(val *ExternalPackage) *NullableExternalPackage

func (NullableExternalPackage) Get

func (NullableExternalPackage) IsSet

func (v NullableExternalPackage) IsSet() bool

func (NullableExternalPackage) MarshalJSON

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

func (*NullableExternalPackage) Set

func (*NullableExternalPackage) UnmarshalJSON

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

func (*NullableExternalPackage) Unset

func (v *NullableExternalPackage) Unset()

type NullableFileInfo

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

func NewNullableFileInfo

func NewNullableFileInfo(val *FileInfo) *NullableFileInfo

func (NullableFileInfo) Get

func (v NullableFileInfo) Get() *FileInfo

func (NullableFileInfo) IsSet

func (v NullableFileInfo) IsSet() bool

func (NullableFileInfo) MarshalJSON

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

func (*NullableFileInfo) Set

func (v *NullableFileInfo) Set(val *FileInfo)

func (*NullableFileInfo) UnmarshalJSON

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

func (*NullableFileInfo) Unset

func (v *NullableFileInfo) Unset()

type NullableFleet

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

func NewNullableFleet

func NewNullableFleet(val *Fleet) *NullableFleet

func (NullableFleet) Get

func (v NullableFleet) Get() *Fleet

func (NullableFleet) IsSet

func (v NullableFleet) IsSet() bool

func (NullableFleet) MarshalJSON

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

func (*NullableFleet) Set

func (v *NullableFleet) Set(val *Fleet)

func (*NullableFleet) UnmarshalJSON

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

func (*NullableFleet) Unset

func (v *NullableFleet) Unset()

type NullableFleetType

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

func NewNullableFleetType

func NewNullableFleetType(val *FleetType) *NullableFleetType

func (NullableFleetType) Get

func (v NullableFleetType) Get() *FleetType

func (NullableFleetType) IsSet

func (v NullableFleetType) IsSet() bool

func (NullableFleetType) MarshalJSON

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

func (*NullableFleetType) Set

func (v *NullableFleetType) Set(val *FleetType)

func (*NullableFleetType) UnmarshalJSON

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

func (*NullableFleetType) Unset

func (v *NullableFleetType) 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 NullableImage

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

func NewNullableImage

func NewNullableImage(val *Image) *NullableImage

func (NullableImage) Get

func (v NullableImage) Get() *Image

func (NullableImage) IsSet

func (v NullableImage) IsSet() bool

func (NullableImage) MarshalJSON

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

func (*NullableImage) Set

func (v *NullableImage) Set(val *Image)

func (*NullableImage) UnmarshalJSON

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

func (*NullableImage) Unset

func (v *NullableImage) Unset()

type NullableInstalledPackage

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

func NewNullableInstalledPackage

func NewNullableInstalledPackage(val *InstalledPackage) *NullableInstalledPackage

func (NullableInstalledPackage) Get

func (NullableInstalledPackage) IsSet

func (v NullableInstalledPackage) IsSet() bool

func (NullableInstalledPackage) MarshalJSON

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

func (*NullableInstalledPackage) Set

func (*NullableInstalledPackage) UnmarshalJSON

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

func (*NullableInstalledPackage) Unset

func (v *NullableInstalledPackage) 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 NullableJsonSignedPayload

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

func NewNullableJsonSignedPayload

func NewNullableJsonSignedPayload(val *JsonSignedPayload) *NullableJsonSignedPayload

func (NullableJsonSignedPayload) Get

func (NullableJsonSignedPayload) IsSet

func (v NullableJsonSignedPayload) IsSet() bool

func (NullableJsonSignedPayload) MarshalJSON

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

func (*NullableJsonSignedPayload) Set

func (*NullableJsonSignedPayload) UnmarshalJSON

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

func (*NullableJsonSignedPayload) Unset

func (v *NullableJsonSignedPayload) Unset()

type NullableMetricsResponse

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

func NewNullableMetricsResponse

func NewNullableMetricsResponse(val *MetricsResponse) *NullableMetricsResponse

func (NullableMetricsResponse) Get

func (NullableMetricsResponse) IsSet

func (v NullableMetricsResponse) IsSet() bool

func (NullableMetricsResponse) MarshalJSON

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

func (*NullableMetricsResponse) Set

func (*NullableMetricsResponse) UnmarshalJSON

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

func (*NullableMetricsResponse) Unset

func (v *NullableMetricsResponse) Unset()

type NullableNetworkInfo

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

func NewNullableNetworkInfo

func NewNullableNetworkInfo(val *NetworkInfo) *NullableNetworkInfo

func (NullableNetworkInfo) Get

func (NullableNetworkInfo) IsSet

func (v NullableNetworkInfo) IsSet() bool

func (NullableNetworkInfo) MarshalJSON

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

func (*NullableNetworkInfo) Set

func (v *NullableNetworkInfo) Set(val *NetworkInfo)

func (*NullableNetworkInfo) UnmarshalJSON

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

func (*NullableNetworkInfo) Unset

func (v *NullableNetworkInfo) Unset()

type NullableNotFoundRepr

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

func NewNullableNotFoundRepr

func NewNullableNotFoundRepr(val *NotFoundRepr) *NullableNotFoundRepr

func (NullableNotFoundRepr) Get

func (NullableNotFoundRepr) IsSet

func (v NullableNotFoundRepr) IsSet() bool

func (NullableNotFoundRepr) MarshalJSON

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

func (*NullableNotFoundRepr) Set

func (v *NullableNotFoundRepr) Set(val *NotFoundRepr)

func (*NullableNotFoundRepr) UnmarshalJSON

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

func (*NullableNotFoundRepr) Unset

func (v *NullableNotFoundRepr) Unset()

type NullablePackage

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

func NewNullablePackage

func NewNullablePackage(val *Package) *NullablePackage

func (NullablePackage) Get

func (v NullablePackage) Get() *Package

func (NullablePackage) IsSet

func (v NullablePackage) IsSet() bool

func (NullablePackage) MarshalJSON

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

func (*NullablePackage) Set

func (v *NullablePackage) Set(val *Package)

func (*NullablePackage) UnmarshalJSON

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

func (*NullablePackage) Unset

func (v *NullablePackage) Unset()

type NullablePackageInfo

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

func NewNullablePackageInfo

func NewNullablePackageInfo(val *PackageInfo) *NullablePackageInfo

func (NullablePackageInfo) Get

func (NullablePackageInfo) IsSet

func (v NullablePackageInfo) IsSet() bool

func (NullablePackageInfo) MarshalJSON

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

func (*NullablePackageInfo) Set

func (v *NullablePackageInfo) Set(val *PackageInfo)

func (*NullablePackageInfo) UnmarshalJSON

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

func (*NullablePackageInfo) Unset

func (v *NullablePackageInfo) Unset()

type NullablePaginationResultDeviceInfoBasic

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

func (NullablePaginationResultDeviceInfoBasic) Get

func (NullablePaginationResultDeviceInfoBasic) IsSet

func (NullablePaginationResultDeviceInfoBasic) MarshalJSON

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

func (*NullablePaginationResultDeviceInfoBasic) Set

func (*NullablePaginationResultDeviceInfoBasic) UnmarshalJSON

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

func (*NullablePaginationResultDeviceInfoBasic) Unset

type NullablePaginationResultDevicePackages

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

func (NullablePaginationResultDevicePackages) Get

func (NullablePaginationResultDevicePackages) IsSet

func (NullablePaginationResultDevicePackages) MarshalJSON

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

func (*NullablePaginationResultDevicePackages) Set

func (*NullablePaginationResultDevicePackages) UnmarshalJSON

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

func (*NullablePaginationResultDevicePackages) Unset

type NullablePaginationResultExternalPackage

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

func (NullablePaginationResultExternalPackage) Get

func (NullablePaginationResultExternalPackage) IsSet

func (NullablePaginationResultExternalPackage) MarshalJSON

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

func (*NullablePaginationResultExternalPackage) Set

func (*NullablePaginationResultExternalPackage) UnmarshalJSON

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

func (*NullablePaginationResultExternalPackage) Unset

type NullablePaginationResultFleet

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

func (NullablePaginationResultFleet) Get

func (NullablePaginationResultFleet) IsSet

func (NullablePaginationResultFleet) MarshalJSON

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

func (*NullablePaginationResultFleet) Set

func (*NullablePaginationResultFleet) UnmarshalJSON

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

func (*NullablePaginationResultFleet) Unset

func (v *NullablePaginationResultFleet) Unset()

type NullablePaginationResultNetworkInfo

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

func (NullablePaginationResultNetworkInfo) Get

func (NullablePaginationResultNetworkInfo) IsSet

func (NullablePaginationResultNetworkInfo) MarshalJSON

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

func (*NullablePaginationResultNetworkInfo) Set

func (*NullablePaginationResultNetworkInfo) UnmarshalJSON

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

func (*NullablePaginationResultNetworkInfo) Unset

type NullablePaginationResultPackage

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

func (NullablePaginationResultPackage) Get

func (NullablePaginationResultPackage) IsSet

func (NullablePaginationResultPackage) MarshalJSON

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

func (*NullablePaginationResultPackage) Set

func (*NullablePaginationResultPackage) UnmarshalJSON

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

func (*NullablePaginationResultPackage) Unset

type NullablePaginationResultString

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

func (NullablePaginationResultString) Get

func (NullablePaginationResultString) IsSet

func (NullablePaginationResultString) MarshalJSON

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

func (*NullablePaginationResultString) Set

func (*NullablePaginationResultString) UnmarshalJSON

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

func (*NullablePaginationResultString) Unset

func (v *NullablePaginationResultString) Unset()

type NullableProvisionInfo

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

func NewNullableProvisionInfo

func NewNullableProvisionInfo(val *ProvisionInfo) *NullableProvisionInfo

func (NullableProvisionInfo) Get

func (NullableProvisionInfo) IsSet

func (v NullableProvisionInfo) IsSet() bool

func (NullableProvisionInfo) MarshalJSON

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

func (*NullableProvisionInfo) Set

func (v *NullableProvisionInfo) Set(val *ProvisionInfo)

func (*NullableProvisionInfo) UnmarshalJSON

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

func (*NullableProvisionInfo) Unset

func (v *NullableProvisionInfo) Unset()

type NullableQueueResponse

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

func NewNullableQueueResponse

func NewNullableQueueResponse(val *QueueResponse) *NullableQueueResponse

func (NullableQueueResponse) Get

func (NullableQueueResponse) IsSet

func (v NullableQueueResponse) IsSet() bool

func (NullableQueueResponse) MarshalJSON

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

func (*NullableQueueResponse) Set

func (v *NullableQueueResponse) Set(val *QueueResponse)

func (*NullableQueueResponse) UnmarshalJSON

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

func (*NullableQueueResponse) Unset

func (v *NullableQueueResponse) Unset()

type NullableRangeNotSatisfiableRepr

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

func (NullableRangeNotSatisfiableRepr) Get

func (NullableRangeNotSatisfiableRepr) IsSet

func (NullableRangeNotSatisfiableRepr) MarshalJSON

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

func (*NullableRangeNotSatisfiableRepr) Set

func (*NullableRangeNotSatisfiableRepr) UnmarshalJSON

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

func (*NullableRangeNotSatisfiableRepr) Unset

type NullableSeries

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

func NewNullableSeries

func NewNullableSeries(val *Series) *NullableSeries

func (NullableSeries) Get

func (v NullableSeries) Get() *Series

func (NullableSeries) IsSet

func (v NullableSeries) IsSet() bool

func (NullableSeries) MarshalJSON

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

func (*NullableSeries) Set

func (v *NullableSeries) Set(val *Series)

func (*NullableSeries) UnmarshalJSON

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

func (*NullableSeries) Unset

func (v *NullableSeries) Unset()

type NullableSeriesMeta

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

func NewNullableSeriesMeta

func NewNullableSeriesMeta(val *SeriesMeta) *NullableSeriesMeta

func (NullableSeriesMeta) Get

func (v NullableSeriesMeta) Get() *SeriesMeta

func (NullableSeriesMeta) IsSet

func (v NullableSeriesMeta) IsSet() bool

func (NullableSeriesMeta) MarshalJSON

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

func (*NullableSeriesMeta) Set

func (v *NullableSeriesMeta) Set(val *SeriesMeta)

func (*NullableSeriesMeta) UnmarshalJSON

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

func (*NullableSeriesMeta) Unset

func (v *NullableSeriesMeta) Unset()

type NullableSignatureMethod

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

func NewNullableSignatureMethod

func NewNullableSignatureMethod(val *SignatureMethod) *NullableSignatureMethod

func (NullableSignatureMethod) Get

func (NullableSignatureMethod) IsSet

func (v NullableSignatureMethod) IsSet() bool

func (NullableSignatureMethod) MarshalJSON

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

func (*NullableSignatureMethod) Set

func (*NullableSignatureMethod) UnmarshalJSON

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

func (*NullableSignatureMethod) Unset

func (v *NullableSignatureMethod) Unset()

type NullableSimpleDeviceInfo

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

func NewNullableSimpleDeviceInfo

func NewNullableSimpleDeviceInfo(val *SimpleDeviceInfo) *NullableSimpleDeviceInfo

func (NullableSimpleDeviceInfo) Get

func (NullableSimpleDeviceInfo) IsSet

func (v NullableSimpleDeviceInfo) IsSet() bool

func (NullableSimpleDeviceInfo) MarshalJSON

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

func (*NullableSimpleDeviceInfo) Set

func (*NullableSimpleDeviceInfo) UnmarshalJSON

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

func (*NullableSimpleDeviceInfo) Unset

func (v *NullableSimpleDeviceInfo) Unset()

type NullableSimpleDeviceNotAffectedInfo

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

func (NullableSimpleDeviceNotAffectedInfo) Get

func (NullableSimpleDeviceNotAffectedInfo) IsSet

func (NullableSimpleDeviceNotAffectedInfo) MarshalJSON

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

func (*NullableSimpleDeviceNotAffectedInfo) Set

func (*NullableSimpleDeviceNotAffectedInfo) UnmarshalJSON

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

func (*NullableSimpleDeviceNotAffectedInfo) 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 NullableTargetImage

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

func NewNullableTargetImage

func NewNullableTargetImage(val *TargetImage) *NullableTargetImage

func (NullableTargetImage) Get

func (NullableTargetImage) IsSet

func (v NullableTargetImage) IsSet() bool

func (NullableTargetImage) MarshalJSON

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

func (*NullableTargetImage) Set

func (v *NullableTargetImage) Set(val *TargetImage)

func (*NullableTargetImage) UnmarshalJSON

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

func (*NullableTargetImage) Unset

func (v *NullableTargetImage) 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 NullableTimeAggregation

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

func NewNullableTimeAggregation

func NewNullableTimeAggregation(val *TimeAggregation) *NullableTimeAggregation

func (NullableTimeAggregation) Get

func (NullableTimeAggregation) IsSet

func (v NullableTimeAggregation) IsSet() bool

func (NullableTimeAggregation) MarshalJSON

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

func (*NullableTimeAggregation) Set

func (*NullableTimeAggregation) UnmarshalJSON

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

func (*NullableTimeAggregation) Unset

func (v *NullableTimeAggregation) Unset()

type NullableTimeAggregationMethod

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

func (NullableTimeAggregationMethod) Get

func (NullableTimeAggregationMethod) IsSet

func (NullableTimeAggregationMethod) MarshalJSON

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

func (*NullableTimeAggregationMethod) Set

func (*NullableTimeAggregationMethod) UnmarshalJSON

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

func (*NullableTimeAggregationMethod) Unset

func (v *NullableTimeAggregationMethod) Unset()

type NullableTuple2DeviceTagIdDeviceTagValue

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

func (NullableTuple2DeviceTagIdDeviceTagValue) Get

func (NullableTuple2DeviceTagIdDeviceTagValue) IsSet

func (NullableTuple2DeviceTagIdDeviceTagValue) MarshalJSON

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

func (*NullableTuple2DeviceTagIdDeviceTagValue) Set

func (*NullableTuple2DeviceTagIdDeviceTagValue) UnmarshalJSON

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

func (*NullableTuple2DeviceTagIdDeviceTagValue) Unset

type NullableTuple2LongOptionDouble

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

func (NullableTuple2LongOptionDouble) Get

func (NullableTuple2LongOptionDouble) IsSet

func (NullableTuple2LongOptionDouble) MarshalJSON

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

func (*NullableTuple2LongOptionDouble) Set

func (*NullableTuple2LongOptionDouble) UnmarshalJSON

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

func (*NullableTuple2LongOptionDouble) Unset

func (v *NullableTuple2LongOptionDouble) Unset()

type NullableUpdateCreateResult

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

func NewNullableUpdateCreateResult

func NewNullableUpdateCreateResult(val *UpdateCreateResult) *NullableUpdateCreateResult

func (NullableUpdateCreateResult) Get

func (NullableUpdateCreateResult) IsSet

func (v NullableUpdateCreateResult) IsSet() bool

func (NullableUpdateCreateResult) MarshalJSON

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

func (*NullableUpdateCreateResult) Set

func (*NullableUpdateCreateResult) UnmarshalJSON

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

func (*NullableUpdateCreateResult) Unset

func (v *NullableUpdateCreateResult) Unset()

type NullableUpdateHibernationStatusRequest added in v0.0.3

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

func NewNullableUpdateHibernationStatusRequest added in v0.0.3

func NewNullableUpdateHibernationStatusRequest(val *UpdateHibernationStatusRequest) *NullableUpdateHibernationStatusRequest

func (NullableUpdateHibernationStatusRequest) Get added in v0.0.3

func (NullableUpdateHibernationStatusRequest) IsSet added in v0.0.3

func (NullableUpdateHibernationStatusRequest) MarshalJSON added in v0.0.3

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

func (*NullableUpdateHibernationStatusRequest) Set added in v0.0.3

func (*NullableUpdateHibernationStatusRequest) UnmarshalJSON added in v0.0.3

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

func (*NullableUpdateHibernationStatusRequest) Unset added in v0.0.3

type NullableUpdateRequest

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

func NewNullableUpdateRequest

func NewNullableUpdateRequest(val *UpdateRequest) *NullableUpdateRequest

func (NullableUpdateRequest) Get

func (NullableUpdateRequest) IsSet

func (v NullableUpdateRequest) IsSet() bool

func (NullableUpdateRequest) MarshalJSON

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

func (*NullableUpdateRequest) Set

func (v *NullableUpdateRequest) Set(val *UpdateRequest)

func (*NullableUpdateRequest) UnmarshalJSON

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

func (*NullableUpdateRequest) Unset

func (v *NullableUpdateRequest) Unset()

type NullableUpstreamEndpointErrorRepr

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

func (NullableUpstreamEndpointErrorRepr) Get

func (NullableUpstreamEndpointErrorRepr) IsSet

func (NullableUpstreamEndpointErrorRepr) MarshalJSON

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

func (*NullableUpstreamEndpointErrorRepr) Set

func (*NullableUpstreamEndpointErrorRepr) UnmarshalJSON

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

func (*NullableUpstreamEndpointErrorRepr) Unset

type Package

type Package struct {
	Name            string            `json:"name"`
	Version         string            `json:"version"`
	PackageId       string            `json:"packageId"`
	Size            int64             `json:"size"`
	Hashes          map[string]string `json:"hashes"`
	PkgType         *string           `json:"pkgType,omitempty"`
	HardwareIds     []string          `json:"hardwareIds,omitempty"`
	CreatedAt       *time.Time        `json:"createdAt,omitempty"`
	Uri             *string           `json:"uri,omitempty"`
	ProprietaryMeta *string           `json:"proprietaryMeta,omitempty"`
	Comment         *string           `json:"comment,omitempty"`
}

Package struct for Package

func NewPackage

func NewPackage(name string, version string, packageId string, size int64, hashes map[string]string) *Package

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

func NewPackageWithDefaults

func NewPackageWithDefaults() *Package

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

func (*Package) GetComment

func (o *Package) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*Package) GetCommentOk

func (o *Package) GetCommentOk() (*string, bool)

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

func (*Package) GetCreatedAt

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

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

func (*Package) GetCreatedAtOk

func (o *Package) 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 (*Package) GetHardwareIds

func (o *Package) GetHardwareIds() []string

GetHardwareIds returns the HardwareIds field value if set, zero value otherwise.

func (*Package) GetHardwareIdsOk

func (o *Package) GetHardwareIdsOk() ([]string, bool)

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

func (*Package) GetHashes

func (o *Package) GetHashes() map[string]string

GetHashes returns the Hashes field value

func (*Package) GetHashesOk

func (o *Package) GetHashesOk() (*map[string]string, bool)

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

func (*Package) GetName

func (o *Package) GetName() string

GetName returns the Name field value

func (*Package) GetNameOk

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

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

func (*Package) GetPackageId

func (o *Package) GetPackageId() string

GetPackageId returns the PackageId field value

func (*Package) GetPackageIdOk

func (o *Package) GetPackageIdOk() (*string, bool)

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

func (*Package) GetPkgType

func (o *Package) GetPkgType() string

GetPkgType returns the PkgType field value if set, zero value otherwise.

func (*Package) GetPkgTypeOk

func (o *Package) GetPkgTypeOk() (*string, bool)

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

func (*Package) GetProprietaryMeta

func (o *Package) GetProprietaryMeta() string

GetProprietaryMeta returns the ProprietaryMeta field value if set, zero value otherwise.

func (*Package) GetProprietaryMetaOk

func (o *Package) GetProprietaryMetaOk() (*string, bool)

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

func (*Package) GetSize

func (o *Package) GetSize() int64

GetSize returns the Size field value

func (*Package) GetSizeOk

func (o *Package) GetSizeOk() (*int64, bool)

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

func (*Package) GetUri

func (o *Package) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*Package) GetUriOk

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

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

func (*Package) GetVersion

func (o *Package) GetVersion() string

GetVersion returns the Version field value

func (*Package) GetVersionOk

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

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

func (*Package) HasComment

func (o *Package) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*Package) HasCreatedAt

func (o *Package) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Package) HasHardwareIds

func (o *Package) HasHardwareIds() bool

HasHardwareIds returns a boolean if a field has been set.

func (*Package) HasPkgType

func (o *Package) HasPkgType() bool

HasPkgType returns a boolean if a field has been set.

func (*Package) HasProprietaryMeta

func (o *Package) HasProprietaryMeta() bool

HasProprietaryMeta returns a boolean if a field has been set.

func (*Package) HasUri

func (o *Package) HasUri() bool

HasUri returns a boolean if a field has been set.

func (Package) MarshalJSON

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

func (*Package) SetComment

func (o *Package) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*Package) SetCreatedAt

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

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

func (*Package) SetHardwareIds

func (o *Package) SetHardwareIds(v []string)

SetHardwareIds gets a reference to the given []string and assigns it to the HardwareIds field.

func (*Package) SetHashes

func (o *Package) SetHashes(v map[string]string)

SetHashes sets field value

func (*Package) SetName

func (o *Package) SetName(v string)

SetName sets field value

func (*Package) SetPackageId

func (o *Package) SetPackageId(v string)

SetPackageId sets field value

func (*Package) SetPkgType

func (o *Package) SetPkgType(v string)

SetPkgType gets a reference to the given string and assigns it to the PkgType field.

func (*Package) SetProprietaryMeta

func (o *Package) SetProprietaryMeta(v string)

SetProprietaryMeta gets a reference to the given string and assigns it to the ProprietaryMeta field.

func (*Package) SetSize

func (o *Package) SetSize(v int64)

SetSize sets field value

func (*Package) SetUri

func (o *Package) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (*Package) SetVersion

func (o *Package) SetVersion(v string)

SetVersion sets field value

func (Package) ToMap

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

func (*Package) UnmarshalJSON

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

type PackageInfo

type PackageInfo struct {
	PackageName    string `json:"packageName"`
	PackageVersion string `json:"packageVersion"`
	Checksum       string `json:"checksum"`
}

PackageInfo struct for PackageInfo

func NewPackageInfo

func NewPackageInfo(packageName string, packageVersion string, checksum string) *PackageInfo

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

func NewPackageInfoWithDefaults

func NewPackageInfoWithDefaults() *PackageInfo

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

func (*PackageInfo) GetChecksum

func (o *PackageInfo) GetChecksum() string

GetChecksum returns the Checksum field value

func (*PackageInfo) GetChecksumOk

func (o *PackageInfo) GetChecksumOk() (*string, bool)

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

func (*PackageInfo) GetPackageName

func (o *PackageInfo) GetPackageName() string

GetPackageName returns the PackageName field value

func (*PackageInfo) GetPackageNameOk

func (o *PackageInfo) GetPackageNameOk() (*string, bool)

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

func (*PackageInfo) GetPackageVersion

func (o *PackageInfo) GetPackageVersion() string

GetPackageVersion returns the PackageVersion field value

func (*PackageInfo) GetPackageVersionOk

func (o *PackageInfo) GetPackageVersionOk() (*string, bool)

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

func (PackageInfo) MarshalJSON

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

func (*PackageInfo) SetChecksum

func (o *PackageInfo) SetChecksum(v string)

SetChecksum sets field value

func (*PackageInfo) SetPackageName

func (o *PackageInfo) SetPackageName(v string)

SetPackageName sets field value

func (*PackageInfo) SetPackageVersion

func (o *PackageInfo) SetPackageVersion(v string)

SetPackageVersion sets field value

func (PackageInfo) ToMap

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

func (*PackageInfo) UnmarshalJSON

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

type PackagesAPIService

type PackagesAPIService service

PackagesAPIService PackagesAPI service

func (*PackagesAPIService) DeletePackagesPackageid

func (a *PackagesAPIService) DeletePackagesPackageid(ctx context.Context, packageId string) ApiDeletePackagesPackageidRequest

DeletePackagesPackageid Delete a package

Deletes a package and its metadata from your repository. Once you delete a package, it will no longer be a valid install target. Any devices that still have the deleted package installed will show as "Package not authorized by your repository".

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

func (*PackagesAPIService) DeletePackagesPackageidExecute

func (a *PackagesAPIService) DeletePackagesPackageidExecute(r ApiDeletePackagesPackageidRequest) (*http.Response, error)

Execute executes the request

func (*PackagesAPIService) GetPackages

GetPackages Retrieve metadata about packages in your repository

Returns a list of user-added packages in your repository. Does not include packages from other source, such as official TorizonCore images published by Toradex.

May be filtered using the `idContains` query parameter.

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

func (*PackagesAPIService) GetPackagesExecute

Execute executes the request

@return PaginationResultPackage

func (*PackagesAPIService) GetPackagesExternal

GetPackagesExternal Retrieve metadata about packages in your repository from other sources

This endpoint returns the list of packages in your repository that come from external sources, like TorizonCore images published by Toradex. Can be filtered by package name.

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

func (*PackagesAPIService) GetPackagesExternalExecute

Execute executes the request

@return PaginationResultExternalPackage

func (*PackagesAPIService) GetPackagesExternalInfo

func (a *PackagesAPIService) GetPackagesExternalInfo(ctx context.Context) ApiGetPackagesExternalInfoRequest

GetPackagesExternalInfo Fetch information about external package sources

This endpoint fetches information about external package sources authorized in your repository. External package sources are how you can safely include packages from other sources in your repository. For example, TorizonCore OS images and bootloader binaries published by Toradex are published as an external package source, and trusted by your repository by default.

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

func (*PackagesAPIService) GetPackagesExternalInfoExecute

func (a *PackagesAPIService) GetPackagesExternalInfoExecute(r ApiGetPackagesExternalInfoRequest) (*map[string]DelegationInfo, *http.Response, error)

Execute executes the request

@return map[string]DelegationInfo

func (*PackagesAPIService) GetPackagesExternalRefreshSourceFileName

func (a *PackagesAPIService) GetPackagesExternalRefreshSourceFileName(ctx context.Context, sourceFileName string) ApiGetPackagesExternalRefreshSourceFileNameRequest

GetPackagesExternalRefreshSourceFileName Refresh metadata from an external package source

This endpoint refreshes the list of packages in your repository that come from the specified external source. For example "tdx-nightly.json" is the external source for all Toradex-published TorizonCore nightly builds.

External package sources can expire periodically, with the expiration date set by the external publisher. This helps ensure that package lists remain fresh and up to date. Your devices will not install packages from an expired source. Calling this endpoint will attempt to fetch the latest info from the external publisher.

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

func (*PackagesAPIService) GetPackagesExternalRefreshSourceFileNameExecute

func (a *PackagesAPIService) GetPackagesExternalRefreshSourceFileNameExecute(r ApiGetPackagesExternalRefreshSourceFileNameRequest) (*http.Response, error)

Execute executes the request

func (*PackagesAPIService) PatchPackagesPackageid

func (a *PackagesAPIService) PatchPackagesPackageid(ctx context.Context, packageId string) ApiPatchPackagesPackageidRequest

PatchPackagesPackageid Edit metadata about a package

Edits the metadata about a package.

Not all metadata can be edited. The package name and version cannot be changed, and the contents of the package cannot be changed. (You should upload a new package, with a new version number, if the contents of the package change.) With this endpoint, you can edit custom metadata fields, package comments, external fetch URIs, and the list of compatible components.

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

func (*PackagesAPIService) PatchPackagesPackageidExecute

func (a *PackagesAPIService) PatchPackagesPackageidExecute(r ApiPatchPackagesPackageidRequest) (*Package, *http.Response, error)

Execute executes the request

@return Package

func (*PackagesAPIService) PostPackages

PostPackages Upload a new package

Upload a new package to your repository. The file to be added should be in the body as an octet-stream, and the content-length header must be specified. You also must supply a package name and version, and the hardwareId(s) the package is built for (for example, `docker-compose` for an application package).

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

func (*PackagesAPIService) PostPackagesExecute

func (a *PackagesAPIService) PostPackagesExecute(r ApiPostPackagesRequest) (*Package, *http.Response, error)

Execute executes the request

@return Package

type PaginationResultDeviceInfoBasic

type PaginationResultDeviceInfoBasic struct {
	Values []DeviceInfoBasic `json:"values,omitempty"`
	Total  int64             `json:"total"`
	Offset int64             `json:"offset"`
	Limit  int64             `json:"limit"`
}

PaginationResultDeviceInfoBasic struct for PaginationResultDeviceInfoBasic

func NewPaginationResultDeviceInfoBasic

func NewPaginationResultDeviceInfoBasic(total int64, offset int64, limit int64) *PaginationResultDeviceInfoBasic

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

func NewPaginationResultDeviceInfoBasicWithDefaults

func NewPaginationResultDeviceInfoBasicWithDefaults() *PaginationResultDeviceInfoBasic

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

func (*PaginationResultDeviceInfoBasic) GetLimit

func (o *PaginationResultDeviceInfoBasic) GetLimit() int64

GetLimit returns the Limit field value

func (*PaginationResultDeviceInfoBasic) GetLimitOk

func (o *PaginationResultDeviceInfoBasic) GetLimitOk() (*int64, bool)

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

func (*PaginationResultDeviceInfoBasic) GetOffset

func (o *PaginationResultDeviceInfoBasic) GetOffset() int64

GetOffset returns the Offset field value

func (*PaginationResultDeviceInfoBasic) GetOffsetOk

func (o *PaginationResultDeviceInfoBasic) GetOffsetOk() (*int64, bool)

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

func (*PaginationResultDeviceInfoBasic) GetTotal

func (o *PaginationResultDeviceInfoBasic) GetTotal() int64

GetTotal returns the Total field value

func (*PaginationResultDeviceInfoBasic) GetTotalOk

func (o *PaginationResultDeviceInfoBasic) GetTotalOk() (*int64, bool)

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

func (*PaginationResultDeviceInfoBasic) GetValues

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginationResultDeviceInfoBasic) GetValuesOk

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

func (*PaginationResultDeviceInfoBasic) HasValues

func (o *PaginationResultDeviceInfoBasic) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginationResultDeviceInfoBasic) MarshalJSON

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

func (*PaginationResultDeviceInfoBasic) SetLimit

func (o *PaginationResultDeviceInfoBasic) SetLimit(v int64)

SetLimit sets field value

func (*PaginationResultDeviceInfoBasic) SetOffset

func (o *PaginationResultDeviceInfoBasic) SetOffset(v int64)

SetOffset sets field value

func (*PaginationResultDeviceInfoBasic) SetTotal

func (o *PaginationResultDeviceInfoBasic) SetTotal(v int64)

SetTotal sets field value

func (*PaginationResultDeviceInfoBasic) SetValues

SetValues gets a reference to the given []DeviceInfoBasic and assigns it to the Values field.

func (PaginationResultDeviceInfoBasic) ToMap

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

func (*PaginationResultDeviceInfoBasic) UnmarshalJSON

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

type PaginationResultDevicePackages

type PaginationResultDevicePackages struct {
	Values []DevicePackages `json:"values,omitempty"`
	Total  int64            `json:"total"`
	Offset int64            `json:"offset"`
	Limit  int64            `json:"limit"`
}

PaginationResultDevicePackages struct for PaginationResultDevicePackages

func NewPaginationResultDevicePackages

func NewPaginationResultDevicePackages(total int64, offset int64, limit int64) *PaginationResultDevicePackages

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

func NewPaginationResultDevicePackagesWithDefaults

func NewPaginationResultDevicePackagesWithDefaults() *PaginationResultDevicePackages

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

func (*PaginationResultDevicePackages) GetLimit

func (o *PaginationResultDevicePackages) GetLimit() int64

GetLimit returns the Limit field value

func (*PaginationResultDevicePackages) GetLimitOk

func (o *PaginationResultDevicePackages) GetLimitOk() (*int64, bool)

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

func (*PaginationResultDevicePackages) GetOffset

func (o *PaginationResultDevicePackages) GetOffset() int64

GetOffset returns the Offset field value

func (*PaginationResultDevicePackages) GetOffsetOk

func (o *PaginationResultDevicePackages) GetOffsetOk() (*int64, bool)

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

func (*PaginationResultDevicePackages) GetTotal

func (o *PaginationResultDevicePackages) GetTotal() int64

GetTotal returns the Total field value

func (*PaginationResultDevicePackages) GetTotalOk

func (o *PaginationResultDevicePackages) GetTotalOk() (*int64, bool)

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

func (*PaginationResultDevicePackages) GetValues

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginationResultDevicePackages) GetValuesOk

func (o *PaginationResultDevicePackages) GetValuesOk() ([]DevicePackages, bool)

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

func (*PaginationResultDevicePackages) HasValues

func (o *PaginationResultDevicePackages) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginationResultDevicePackages) MarshalJSON

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

func (*PaginationResultDevicePackages) SetLimit

func (o *PaginationResultDevicePackages) SetLimit(v int64)

SetLimit sets field value

func (*PaginationResultDevicePackages) SetOffset

func (o *PaginationResultDevicePackages) SetOffset(v int64)

SetOffset sets field value

func (*PaginationResultDevicePackages) SetTotal

func (o *PaginationResultDevicePackages) SetTotal(v int64)

SetTotal sets field value

func (*PaginationResultDevicePackages) SetValues

SetValues gets a reference to the given []DevicePackages and assigns it to the Values field.

func (PaginationResultDevicePackages) ToMap

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

func (*PaginationResultDevicePackages) UnmarshalJSON

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

type PaginationResultExternalPackage

type PaginationResultExternalPackage struct {
	Values []ExternalPackage `json:"values,omitempty"`
	Total  int64             `json:"total"`
	Offset int64             `json:"offset"`
	Limit  int64             `json:"limit"`
}

PaginationResultExternalPackage struct for PaginationResultExternalPackage

func NewPaginationResultExternalPackage

func NewPaginationResultExternalPackage(total int64, offset int64, limit int64) *PaginationResultExternalPackage

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

func NewPaginationResultExternalPackageWithDefaults

func NewPaginationResultExternalPackageWithDefaults() *PaginationResultExternalPackage

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

func (*PaginationResultExternalPackage) GetLimit

func (o *PaginationResultExternalPackage) GetLimit() int64

GetLimit returns the Limit field value

func (*PaginationResultExternalPackage) GetLimitOk

func (o *PaginationResultExternalPackage) GetLimitOk() (*int64, bool)

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

func (*PaginationResultExternalPackage) GetOffset

func (o *PaginationResultExternalPackage) GetOffset() int64

GetOffset returns the Offset field value

func (*PaginationResultExternalPackage) GetOffsetOk

func (o *PaginationResultExternalPackage) GetOffsetOk() (*int64, bool)

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

func (*PaginationResultExternalPackage) GetTotal

func (o *PaginationResultExternalPackage) GetTotal() int64

GetTotal returns the Total field value

func (*PaginationResultExternalPackage) GetTotalOk

func (o *PaginationResultExternalPackage) GetTotalOk() (*int64, bool)

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

func (*PaginationResultExternalPackage) GetValues

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginationResultExternalPackage) GetValuesOk

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

func (*PaginationResultExternalPackage) HasValues

func (o *PaginationResultExternalPackage) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginationResultExternalPackage) MarshalJSON

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

func (*PaginationResultExternalPackage) SetLimit

func (o *PaginationResultExternalPackage) SetLimit(v int64)

SetLimit sets field value

func (*PaginationResultExternalPackage) SetOffset

func (o *PaginationResultExternalPackage) SetOffset(v int64)

SetOffset sets field value

func (*PaginationResultExternalPackage) SetTotal

func (o *PaginationResultExternalPackage) SetTotal(v int64)

SetTotal sets field value

func (*PaginationResultExternalPackage) SetValues

SetValues gets a reference to the given []ExternalPackage and assigns it to the Values field.

func (PaginationResultExternalPackage) ToMap

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

func (*PaginationResultExternalPackage) UnmarshalJSON

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

type PaginationResultFleet

type PaginationResultFleet struct {
	Values []Fleet `json:"values,omitempty"`
	Total  int64   `json:"total"`
	Offset int64   `json:"offset"`
	Limit  int64   `json:"limit"`
}

PaginationResultFleet struct for PaginationResultFleet

func NewPaginationResultFleet

func NewPaginationResultFleet(total int64, offset int64, limit int64) *PaginationResultFleet

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

func NewPaginationResultFleetWithDefaults

func NewPaginationResultFleetWithDefaults() *PaginationResultFleet

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

func (*PaginationResultFleet) GetLimit

func (o *PaginationResultFleet) GetLimit() int64

GetLimit returns the Limit field value

func (*PaginationResultFleet) GetLimitOk

func (o *PaginationResultFleet) GetLimitOk() (*int64, bool)

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

func (*PaginationResultFleet) GetOffset

func (o *PaginationResultFleet) GetOffset() int64

GetOffset returns the Offset field value

func (*PaginationResultFleet) GetOffsetOk

func (o *PaginationResultFleet) GetOffsetOk() (*int64, bool)

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

func (*PaginationResultFleet) GetTotal

func (o *PaginationResultFleet) GetTotal() int64

GetTotal returns the Total field value

func (*PaginationResultFleet) GetTotalOk

func (o *PaginationResultFleet) GetTotalOk() (*int64, bool)

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

func (*PaginationResultFleet) GetValues

func (o *PaginationResultFleet) GetValues() []Fleet

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginationResultFleet) GetValuesOk

func (o *PaginationResultFleet) GetValuesOk() ([]Fleet, bool)

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

func (*PaginationResultFleet) HasValues

func (o *PaginationResultFleet) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginationResultFleet) MarshalJSON

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

func (*PaginationResultFleet) SetLimit

func (o *PaginationResultFleet) SetLimit(v int64)

SetLimit sets field value

func (*PaginationResultFleet) SetOffset

func (o *PaginationResultFleet) SetOffset(v int64)

SetOffset sets field value

func (*PaginationResultFleet) SetTotal

func (o *PaginationResultFleet) SetTotal(v int64)

SetTotal sets field value

func (*PaginationResultFleet) SetValues

func (o *PaginationResultFleet) SetValues(v []Fleet)

SetValues gets a reference to the given []Fleet and assigns it to the Values field.

func (PaginationResultFleet) ToMap

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

func (*PaginationResultFleet) UnmarshalJSON

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

type PaginationResultNetworkInfo

type PaginationResultNetworkInfo struct {
	Values []NetworkInfo `json:"values,omitempty"`
	Total  int64         `json:"total"`
	Offset int64         `json:"offset"`
	Limit  int64         `json:"limit"`
}

PaginationResultNetworkInfo struct for PaginationResultNetworkInfo

func NewPaginationResultNetworkInfo

func NewPaginationResultNetworkInfo(total int64, offset int64, limit int64) *PaginationResultNetworkInfo

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

func NewPaginationResultNetworkInfoWithDefaults

func NewPaginationResultNetworkInfoWithDefaults() *PaginationResultNetworkInfo

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

func (*PaginationResultNetworkInfo) GetLimit

func (o *PaginationResultNetworkInfo) GetLimit() int64

GetLimit returns the Limit field value

func (*PaginationResultNetworkInfo) GetLimitOk

func (o *PaginationResultNetworkInfo) GetLimitOk() (*int64, bool)

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

func (*PaginationResultNetworkInfo) GetOffset

func (o *PaginationResultNetworkInfo) GetOffset() int64

GetOffset returns the Offset field value

func (*PaginationResultNetworkInfo) GetOffsetOk

func (o *PaginationResultNetworkInfo) GetOffsetOk() (*int64, bool)

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

func (*PaginationResultNetworkInfo) GetTotal

func (o *PaginationResultNetworkInfo) GetTotal() int64

GetTotal returns the Total field value

func (*PaginationResultNetworkInfo) GetTotalOk

func (o *PaginationResultNetworkInfo) GetTotalOk() (*int64, bool)

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

func (*PaginationResultNetworkInfo) GetValues

func (o *PaginationResultNetworkInfo) GetValues() []NetworkInfo

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginationResultNetworkInfo) GetValuesOk

func (o *PaginationResultNetworkInfo) GetValuesOk() ([]NetworkInfo, bool)

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

func (*PaginationResultNetworkInfo) HasValues

func (o *PaginationResultNetworkInfo) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginationResultNetworkInfo) MarshalJSON

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

func (*PaginationResultNetworkInfo) SetLimit

func (o *PaginationResultNetworkInfo) SetLimit(v int64)

SetLimit sets field value

func (*PaginationResultNetworkInfo) SetOffset

func (o *PaginationResultNetworkInfo) SetOffset(v int64)

SetOffset sets field value

func (*PaginationResultNetworkInfo) SetTotal

func (o *PaginationResultNetworkInfo) SetTotal(v int64)

SetTotal sets field value

func (*PaginationResultNetworkInfo) SetValues

func (o *PaginationResultNetworkInfo) SetValues(v []NetworkInfo)

SetValues gets a reference to the given []NetworkInfo and assigns it to the Values field.

func (PaginationResultNetworkInfo) ToMap

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

func (*PaginationResultNetworkInfo) UnmarshalJSON

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

type PaginationResultPackage

type PaginationResultPackage struct {
	Values []Package `json:"values,omitempty"`
	Total  int64     `json:"total"`
	Offset int64     `json:"offset"`
	Limit  int64     `json:"limit"`
}

PaginationResultPackage struct for PaginationResultPackage

func NewPaginationResultPackage

func NewPaginationResultPackage(total int64, offset int64, limit int64) *PaginationResultPackage

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

func NewPaginationResultPackageWithDefaults

func NewPaginationResultPackageWithDefaults() *PaginationResultPackage

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

func (*PaginationResultPackage) GetLimit

func (o *PaginationResultPackage) GetLimit() int64

GetLimit returns the Limit field value

func (*PaginationResultPackage) GetLimitOk

func (o *PaginationResultPackage) GetLimitOk() (*int64, bool)

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

func (*PaginationResultPackage) GetOffset

func (o *PaginationResultPackage) GetOffset() int64

GetOffset returns the Offset field value

func (*PaginationResultPackage) GetOffsetOk

func (o *PaginationResultPackage) GetOffsetOk() (*int64, bool)

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

func (*PaginationResultPackage) GetTotal

func (o *PaginationResultPackage) GetTotal() int64

GetTotal returns the Total field value

func (*PaginationResultPackage) GetTotalOk

func (o *PaginationResultPackage) GetTotalOk() (*int64, bool)

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

func (*PaginationResultPackage) GetValues

func (o *PaginationResultPackage) GetValues() []Package

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginationResultPackage) GetValuesOk

func (o *PaginationResultPackage) GetValuesOk() ([]Package, bool)

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

func (*PaginationResultPackage) HasValues

func (o *PaginationResultPackage) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginationResultPackage) MarshalJSON

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

func (*PaginationResultPackage) SetLimit

func (o *PaginationResultPackage) SetLimit(v int64)

SetLimit sets field value

func (*PaginationResultPackage) SetOffset

func (o *PaginationResultPackage) SetOffset(v int64)

SetOffset sets field value

func (*PaginationResultPackage) SetTotal

func (o *PaginationResultPackage) SetTotal(v int64)

SetTotal sets field value

func (*PaginationResultPackage) SetValues

func (o *PaginationResultPackage) SetValues(v []Package)

SetValues gets a reference to the given []Package and assigns it to the Values field.

func (PaginationResultPackage) ToMap

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

func (*PaginationResultPackage) UnmarshalJSON

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

type PaginationResultString

type PaginationResultString struct {
	Values []string `json:"values,omitempty"`
	Total  int64    `json:"total"`
	Offset int64    `json:"offset"`
	Limit  int64    `json:"limit"`
}

PaginationResultString struct for PaginationResultString

func NewPaginationResultString

func NewPaginationResultString(total int64, offset int64, limit int64) *PaginationResultString

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

func NewPaginationResultStringWithDefaults

func NewPaginationResultStringWithDefaults() *PaginationResultString

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

func (*PaginationResultString) GetLimit

func (o *PaginationResultString) GetLimit() int64

GetLimit returns the Limit field value

func (*PaginationResultString) GetLimitOk

func (o *PaginationResultString) GetLimitOk() (*int64, bool)

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

func (*PaginationResultString) GetOffset

func (o *PaginationResultString) GetOffset() int64

GetOffset returns the Offset field value

func (*PaginationResultString) GetOffsetOk

func (o *PaginationResultString) GetOffsetOk() (*int64, bool)

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

func (*PaginationResultString) GetTotal

func (o *PaginationResultString) GetTotal() int64

GetTotal returns the Total field value

func (*PaginationResultString) GetTotalOk

func (o *PaginationResultString) GetTotalOk() (*int64, bool)

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

func (*PaginationResultString) GetValues

func (o *PaginationResultString) GetValues() []string

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginationResultString) GetValuesOk

func (o *PaginationResultString) GetValuesOk() ([]string, bool)

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

func (*PaginationResultString) HasValues

func (o *PaginationResultString) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginationResultString) MarshalJSON

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

func (*PaginationResultString) SetLimit

func (o *PaginationResultString) SetLimit(v int64)

SetLimit sets field value

func (*PaginationResultString) SetOffset

func (o *PaginationResultString) SetOffset(v int64)

SetOffset sets field value

func (*PaginationResultString) SetTotal

func (o *PaginationResultString) SetTotal(v int64)

SetTotal sets field value

func (*PaginationResultString) SetValues

func (o *PaginationResultString) SetValues(v []string)

SetValues gets a reference to the given []string and assigns it to the Values field.

func (PaginationResultString) ToMap

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

func (*PaginationResultString) UnmarshalJSON

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

type ProvisionInfo

type ProvisionInfo struct {
	Token               string `json:"token"`
	AutoProvUrl         string `json:"autoProvUrl"`
	GatewayUrl          string `json:"gatewayUrl"`
	ProvisionedDevices  int32  `json:"provisionedDevices"`
	StandardDeviceLimit int32  `json:"standardDeviceLimit"`
}

ProvisionInfo struct for ProvisionInfo

func NewProvisionInfo

func NewProvisionInfo(token string, autoProvUrl string, gatewayUrl string, provisionedDevices int32, standardDeviceLimit int32) *ProvisionInfo

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

func NewProvisionInfoWithDefaults

func NewProvisionInfoWithDefaults() *ProvisionInfo

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

func (*ProvisionInfo) GetAutoProvUrl

func (o *ProvisionInfo) GetAutoProvUrl() string

GetAutoProvUrl returns the AutoProvUrl field value

func (*ProvisionInfo) GetAutoProvUrlOk

func (o *ProvisionInfo) GetAutoProvUrlOk() (*string, bool)

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

func (*ProvisionInfo) GetGatewayUrl

func (o *ProvisionInfo) GetGatewayUrl() string

GetGatewayUrl returns the GatewayUrl field value

func (*ProvisionInfo) GetGatewayUrlOk

func (o *ProvisionInfo) GetGatewayUrlOk() (*string, bool)

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

func (*ProvisionInfo) GetProvisionedDevices

func (o *ProvisionInfo) GetProvisionedDevices() int32

GetProvisionedDevices returns the ProvisionedDevices field value

func (*ProvisionInfo) GetProvisionedDevicesOk

func (o *ProvisionInfo) GetProvisionedDevicesOk() (*int32, bool)

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

func (*ProvisionInfo) GetStandardDeviceLimit

func (o *ProvisionInfo) GetStandardDeviceLimit() int32

GetStandardDeviceLimit returns the StandardDeviceLimit field value

func (*ProvisionInfo) GetStandardDeviceLimitOk

func (o *ProvisionInfo) GetStandardDeviceLimitOk() (*int32, bool)

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

func (*ProvisionInfo) GetToken

func (o *ProvisionInfo) GetToken() string

GetToken returns the Token field value

func (*ProvisionInfo) GetTokenOk

func (o *ProvisionInfo) GetTokenOk() (*string, bool)

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

func (ProvisionInfo) MarshalJSON

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

func (*ProvisionInfo) SetAutoProvUrl

func (o *ProvisionInfo) SetAutoProvUrl(v string)

SetAutoProvUrl sets field value

func (*ProvisionInfo) SetGatewayUrl

func (o *ProvisionInfo) SetGatewayUrl(v string)

SetGatewayUrl sets field value

func (*ProvisionInfo) SetProvisionedDevices

func (o *ProvisionInfo) SetProvisionedDevices(v int32)

SetProvisionedDevices sets field value

func (*ProvisionInfo) SetStandardDeviceLimit

func (o *ProvisionInfo) SetStandardDeviceLimit(v int32)

SetStandardDeviceLimit sets field value

func (*ProvisionInfo) SetToken

func (o *ProvisionInfo) SetToken(v string)

SetToken sets field value

func (ProvisionInfo) ToMap

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

func (*ProvisionInfo) UnmarshalJSON

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

type QueueResponse

type QueueResponse struct {
	CorrelationId string                 `json:"correlationId"`
	Targets       map[string]TargetImage `json:"targets"`
	InFlight      bool                   `json:"inFlight"`
}

QueueResponse struct for QueueResponse

func NewQueueResponse

func NewQueueResponse(correlationId string, targets map[string]TargetImage, inFlight bool) *QueueResponse

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

func NewQueueResponseWithDefaults

func NewQueueResponseWithDefaults() *QueueResponse

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

func (*QueueResponse) GetCorrelationId

func (o *QueueResponse) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value

func (*QueueResponse) GetCorrelationIdOk

func (o *QueueResponse) GetCorrelationIdOk() (*string, bool)

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

func (*QueueResponse) GetInFlight

func (o *QueueResponse) GetInFlight() bool

GetInFlight returns the InFlight field value

func (*QueueResponse) GetInFlightOk

func (o *QueueResponse) GetInFlightOk() (*bool, bool)

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

func (*QueueResponse) GetTargets

func (o *QueueResponse) GetTargets() map[string]TargetImage

GetTargets returns the Targets field value

func (*QueueResponse) GetTargetsOk

func (o *QueueResponse) GetTargetsOk() (*map[string]TargetImage, bool)

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

func (QueueResponse) MarshalJSON

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

func (*QueueResponse) SetCorrelationId

func (o *QueueResponse) SetCorrelationId(v string)

SetCorrelationId sets field value

func (*QueueResponse) SetInFlight

func (o *QueueResponse) SetInFlight(v bool)

SetInFlight sets field value

func (*QueueResponse) SetTargets

func (o *QueueResponse) SetTargets(v map[string]TargetImage)

SetTargets sets field value

func (QueueResponse) ToMap

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

func (*QueueResponse) UnmarshalJSON

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

type RangeNotSatisfiableRepr

type RangeNotSatisfiableRepr struct {
	Msg         string  `json:"msg"`
	Description *string `json:"description,omitempty"`
	Code        string  `json:"code"`
	Cause       *string `json:"cause,omitempty"`
	ErrorId     *string `json:"errorId,omitempty"`
}

RangeNotSatisfiableRepr struct for RangeNotSatisfiableRepr

func NewRangeNotSatisfiableRepr

func NewRangeNotSatisfiableRepr(msg string, code string) *RangeNotSatisfiableRepr

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

func NewRangeNotSatisfiableReprWithDefaults

func NewRangeNotSatisfiableReprWithDefaults() *RangeNotSatisfiableRepr

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

func (*RangeNotSatisfiableRepr) GetCause

func (o *RangeNotSatisfiableRepr) GetCause() string

GetCause returns the Cause field value if set, zero value otherwise.

func (*RangeNotSatisfiableRepr) GetCauseOk

func (o *RangeNotSatisfiableRepr) GetCauseOk() (*string, bool)

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

func (*RangeNotSatisfiableRepr) GetCode

func (o *RangeNotSatisfiableRepr) GetCode() string

GetCode returns the Code field value

func (*RangeNotSatisfiableRepr) GetCodeOk

func (o *RangeNotSatisfiableRepr) GetCodeOk() (*string, bool)

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

func (*RangeNotSatisfiableRepr) GetDescription

func (o *RangeNotSatisfiableRepr) GetDescription() string

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

func (*RangeNotSatisfiableRepr) GetDescriptionOk

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

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

func (*RangeNotSatisfiableRepr) GetErrorId

func (o *RangeNotSatisfiableRepr) GetErrorId() string

GetErrorId returns the ErrorId field value if set, zero value otherwise.

func (*RangeNotSatisfiableRepr) GetErrorIdOk

func (o *RangeNotSatisfiableRepr) GetErrorIdOk() (*string, bool)

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

func (*RangeNotSatisfiableRepr) GetMsg

func (o *RangeNotSatisfiableRepr) GetMsg() string

GetMsg returns the Msg field value

func (*RangeNotSatisfiableRepr) GetMsgOk

func (o *RangeNotSatisfiableRepr) GetMsgOk() (*string, bool)

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

func (*RangeNotSatisfiableRepr) HasCause

func (o *RangeNotSatisfiableRepr) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*RangeNotSatisfiableRepr) HasDescription

func (o *RangeNotSatisfiableRepr) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RangeNotSatisfiableRepr) HasErrorId

func (o *RangeNotSatisfiableRepr) HasErrorId() bool

HasErrorId returns a boolean if a field has been set.

func (RangeNotSatisfiableRepr) MarshalJSON

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

func (*RangeNotSatisfiableRepr) SetCause

func (o *RangeNotSatisfiableRepr) SetCause(v string)

SetCause gets a reference to the given string and assigns it to the Cause field.

func (*RangeNotSatisfiableRepr) SetCode

func (o *RangeNotSatisfiableRepr) SetCode(v string)

SetCode sets field value

func (*RangeNotSatisfiableRepr) SetDescription

func (o *RangeNotSatisfiableRepr) SetDescription(v string)

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

func (*RangeNotSatisfiableRepr) SetErrorId

func (o *RangeNotSatisfiableRepr) SetErrorId(v string)

SetErrorId gets a reference to the given string and assigns it to the ErrorId field.

func (*RangeNotSatisfiableRepr) SetMsg

func (o *RangeNotSatisfiableRepr) SetMsg(v string)

SetMsg sets field value

func (RangeNotSatisfiableRepr) ToMap

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

func (*RangeNotSatisfiableRepr) UnmarshalJSON

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

type Series

type Series struct {
	Name   string                   `json:"name"`
	Meta   SeriesMeta               `json:"meta"`
	Points []Tuple2LongOptionDouble `json:"points,omitempty"`
}

Series struct for Series

func NewSeries

func NewSeries(name string, meta SeriesMeta) *Series

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

func NewSeriesWithDefaults

func NewSeriesWithDefaults() *Series

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

func (*Series) GetMeta

func (o *Series) GetMeta() SeriesMeta

GetMeta returns the Meta field value

func (*Series) GetMetaOk

func (o *Series) GetMetaOk() (*SeriesMeta, bool)

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

func (*Series) GetName

func (o *Series) GetName() string

GetName returns the Name field value

func (*Series) GetNameOk

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

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

func (*Series) GetPoints

func (o *Series) GetPoints() []Tuple2LongOptionDouble

GetPoints returns the Points field value if set, zero value otherwise.

func (*Series) GetPointsOk

func (o *Series) GetPointsOk() ([]Tuple2LongOptionDouble, bool)

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

func (*Series) HasPoints

func (o *Series) HasPoints() bool

HasPoints returns a boolean if a field has been set.

func (Series) MarshalJSON

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

func (*Series) SetMeta

func (o *Series) SetMeta(v SeriesMeta)

SetMeta sets field value

func (*Series) SetName

func (o *Series) SetName(v string)

SetName sets field value

func (*Series) SetPoints

func (o *Series) SetPoints(v []Tuple2LongOptionDouble)

SetPoints gets a reference to the given []Tuple2LongOptionDouble and assigns it to the Points field.

func (Series) ToMap

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

func (*Series) UnmarshalJSON

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

type SeriesMeta

type SeriesMeta struct {
	Aggregation TimeAggregation `json:"aggregation"`
	DeviceIds   []string        `json:"deviceIds,omitempty"`
}

SeriesMeta struct for SeriesMeta

func NewSeriesMeta

func NewSeriesMeta(aggregation TimeAggregation) *SeriesMeta

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

func NewSeriesMetaWithDefaults

func NewSeriesMetaWithDefaults() *SeriesMeta

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

func (*SeriesMeta) GetAggregation

func (o *SeriesMeta) GetAggregation() TimeAggregation

GetAggregation returns the Aggregation field value

func (*SeriesMeta) GetAggregationOk

func (o *SeriesMeta) GetAggregationOk() (*TimeAggregation, bool)

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

func (*SeriesMeta) GetDeviceIds

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

GetDeviceIds returns the DeviceIds field value if set, zero value otherwise.

func (*SeriesMeta) GetDeviceIdsOk

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

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

func (*SeriesMeta) HasDeviceIds

func (o *SeriesMeta) HasDeviceIds() bool

HasDeviceIds returns a boolean if a field has been set.

func (SeriesMeta) MarshalJSON

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

func (*SeriesMeta) SetAggregation

func (o *SeriesMeta) SetAggregation(v TimeAggregation)

SetAggregation sets field value

func (*SeriesMeta) SetDeviceIds

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

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

func (SeriesMeta) ToMap

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

func (*SeriesMeta) UnmarshalJSON

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

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 SignatureMethod

type SignatureMethod string

SignatureMethod the model 'SignatureMethod'

const (
	RSASSA_PSS_SHA256 SignatureMethod = "rsassa-pss-sha256"
	ED25519           SignatureMethod = "ed25519"
	EC_PRIME256V1     SignatureMethod = "ecPrime256v1"
)

List of SignatureMethod

func NewSignatureMethodFromValue

func NewSignatureMethodFromValue(v string) (*SignatureMethod, error)

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

func (SignatureMethod) IsValid

func (v SignatureMethod) IsValid() bool

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

func (SignatureMethod) Ptr

Ptr returns reference to SignatureMethod value

func (*SignatureMethod) UnmarshalJSON

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

type SimpleDeviceInfo

type SimpleDeviceInfo struct {
	DeviceUuid string `json:"deviceUuid"`
	DeviceId   string `json:"deviceId"`
	Name       string `json:"name"`
}

SimpleDeviceInfo struct for SimpleDeviceInfo

func NewSimpleDeviceInfo

func NewSimpleDeviceInfo(deviceUuid string, deviceId string, name string) *SimpleDeviceInfo

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

func NewSimpleDeviceInfoWithDefaults

func NewSimpleDeviceInfoWithDefaults() *SimpleDeviceInfo

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

func (*SimpleDeviceInfo) GetDeviceId

func (o *SimpleDeviceInfo) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*SimpleDeviceInfo) GetDeviceIdOk

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

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

func (*SimpleDeviceInfo) GetDeviceUuid

func (o *SimpleDeviceInfo) GetDeviceUuid() string

GetDeviceUuid returns the DeviceUuid field value

func (*SimpleDeviceInfo) GetDeviceUuidOk

func (o *SimpleDeviceInfo) GetDeviceUuidOk() (*string, bool)

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

func (*SimpleDeviceInfo) GetName

func (o *SimpleDeviceInfo) GetName() string

GetName returns the Name field value

func (*SimpleDeviceInfo) GetNameOk

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

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

func (SimpleDeviceInfo) MarshalJSON

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

func (*SimpleDeviceInfo) SetDeviceId

func (o *SimpleDeviceInfo) SetDeviceId(v string)

SetDeviceId sets field value

func (*SimpleDeviceInfo) SetDeviceUuid

func (o *SimpleDeviceInfo) SetDeviceUuid(v string)

SetDeviceUuid sets field value

func (*SimpleDeviceInfo) SetName

func (o *SimpleDeviceInfo) SetName(v string)

SetName sets field value

func (SimpleDeviceInfo) ToMap

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

func (*SimpleDeviceInfo) UnmarshalJSON

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

type SimpleDeviceNotAffectedInfo

type SimpleDeviceNotAffectedInfo struct {
	DeviceUuid string                         `json:"deviceUuid"`
	DeviceId   string                         `json:"deviceId"`
	Name       string                         `json:"name"`
	EcuErrors  map[string]ErrorRepresentation `json:"ecuErrors"`
}

SimpleDeviceNotAffectedInfo struct for SimpleDeviceNotAffectedInfo

func NewSimpleDeviceNotAffectedInfo

func NewSimpleDeviceNotAffectedInfo(deviceUuid string, deviceId string, name string, ecuErrors map[string]ErrorRepresentation) *SimpleDeviceNotAffectedInfo

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

func NewSimpleDeviceNotAffectedInfoWithDefaults

func NewSimpleDeviceNotAffectedInfoWithDefaults() *SimpleDeviceNotAffectedInfo

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

func (*SimpleDeviceNotAffectedInfo) GetDeviceId

func (o *SimpleDeviceNotAffectedInfo) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*SimpleDeviceNotAffectedInfo) GetDeviceIdOk

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

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

func (*SimpleDeviceNotAffectedInfo) GetDeviceUuid

func (o *SimpleDeviceNotAffectedInfo) GetDeviceUuid() string

GetDeviceUuid returns the DeviceUuid field value

func (*SimpleDeviceNotAffectedInfo) GetDeviceUuidOk

func (o *SimpleDeviceNotAffectedInfo) GetDeviceUuidOk() (*string, bool)

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

func (*SimpleDeviceNotAffectedInfo) GetEcuErrors

GetEcuErrors returns the EcuErrors field value

func (*SimpleDeviceNotAffectedInfo) GetEcuErrorsOk

func (o *SimpleDeviceNotAffectedInfo) GetEcuErrorsOk() (*map[string]ErrorRepresentation, bool)

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

func (*SimpleDeviceNotAffectedInfo) GetName

func (o *SimpleDeviceNotAffectedInfo) GetName() string

GetName returns the Name field value

func (*SimpleDeviceNotAffectedInfo) GetNameOk

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

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

func (SimpleDeviceNotAffectedInfo) MarshalJSON

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

func (*SimpleDeviceNotAffectedInfo) SetDeviceId

func (o *SimpleDeviceNotAffectedInfo) SetDeviceId(v string)

SetDeviceId sets field value

func (*SimpleDeviceNotAffectedInfo) SetDeviceUuid

func (o *SimpleDeviceNotAffectedInfo) SetDeviceUuid(v string)

SetDeviceUuid sets field value

func (*SimpleDeviceNotAffectedInfo) SetEcuErrors

SetEcuErrors sets field value

func (*SimpleDeviceNotAffectedInfo) SetName

func (o *SimpleDeviceNotAffectedInfo) SetName(v string)

SetName sets field value

func (SimpleDeviceNotAffectedInfo) ToMap

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

func (*SimpleDeviceNotAffectedInfo) UnmarshalJSON

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

type TargetImage

type TargetImage struct {
	Image     Image     `json:"image"`
	Uri       *string   `json:"uri,omitempty"`
	CreatedAt time.Time `json:"createdAt"`
}

TargetImage struct for TargetImage

func NewTargetImage

func NewTargetImage(image Image, createdAt time.Time) *TargetImage

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

func NewTargetImageWithDefaults

func NewTargetImageWithDefaults() *TargetImage

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

func (*TargetImage) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*TargetImage) GetCreatedAtOk

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

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

func (*TargetImage) GetImage

func (o *TargetImage) GetImage() Image

GetImage returns the Image field value

func (*TargetImage) GetImageOk

func (o *TargetImage) GetImageOk() (*Image, bool)

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

func (*TargetImage) GetUri

func (o *TargetImage) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*TargetImage) GetUriOk

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

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

func (*TargetImage) HasUri

func (o *TargetImage) HasUri() bool

HasUri returns a boolean if a field has been set.

func (TargetImage) MarshalJSON

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

func (*TargetImage) SetCreatedAt

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

SetCreatedAt sets field value

func (*TargetImage) SetImage

func (o *TargetImage) SetImage(v Image)

SetImage sets field value

func (*TargetImage) SetUri

func (o *TargetImage) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (TargetImage) ToMap

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

func (*TargetImage) UnmarshalJSON

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

type TimeAggregation

type TimeAggregation struct {
	Bucket string                `json:"bucket"`
	Method TimeAggregationMethod `json:"method"`
}

TimeAggregation struct for TimeAggregation

func NewTimeAggregation

func NewTimeAggregation(bucket string, method TimeAggregationMethod) *TimeAggregation

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

func NewTimeAggregationWithDefaults

func NewTimeAggregationWithDefaults() *TimeAggregation

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

func (*TimeAggregation) GetBucket

func (o *TimeAggregation) GetBucket() string

GetBucket returns the Bucket field value

func (*TimeAggregation) GetBucketOk

func (o *TimeAggregation) GetBucketOk() (*string, bool)

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

func (*TimeAggregation) GetMethod

func (o *TimeAggregation) GetMethod() TimeAggregationMethod

GetMethod returns the Method field value

func (*TimeAggregation) GetMethodOk

func (o *TimeAggregation) GetMethodOk() (*TimeAggregationMethod, bool)

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

func (TimeAggregation) MarshalJSON

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

func (*TimeAggregation) SetBucket

func (o *TimeAggregation) SetBucket(v string)

SetBucket sets field value

func (*TimeAggregation) SetMethod

func (o *TimeAggregation) SetMethod(v TimeAggregationMethod)

SetMethod sets field value

func (TimeAggregation) ToMap

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

func (*TimeAggregation) UnmarshalJSON

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

type TimeAggregationMethod

type TimeAggregationMethod struct {
	MapmapOfStringAny *map[string]interface{}
}

TimeAggregationMethod - struct for TimeAggregationMethod

func MapmapOfStringAnyAsTimeAggregationMethod

func MapmapOfStringAnyAsTimeAggregationMethod(v *map[string]interface{}) TimeAggregationMethod

map[string]interface{}AsTimeAggregationMethod is a convenience function that returns map[string]interface{} wrapped in TimeAggregationMethod

func (*TimeAggregationMethod) GetActualInstance

func (obj *TimeAggregationMethod) GetActualInstance() interface{}

Get the actual instance

func (TimeAggregationMethod) MarshalJSON

func (src TimeAggregationMethod) MarshalJSON() ([]byte, error)

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

func (*TimeAggregationMethod) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type Tuple2DeviceTagIdDeviceTagValue

type Tuple2DeviceTagIdDeviceTagValue struct {
	Var1 string `json:"_1"`
	Var2 string `json:"_2"`
}

Tuple2DeviceTagIdDeviceTagValue struct for Tuple2DeviceTagIdDeviceTagValue

func NewTuple2DeviceTagIdDeviceTagValue

func NewTuple2DeviceTagIdDeviceTagValue(var1 string, var2 string) *Tuple2DeviceTagIdDeviceTagValue

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

func NewTuple2DeviceTagIdDeviceTagValueWithDefaults

func NewTuple2DeviceTagIdDeviceTagValueWithDefaults() *Tuple2DeviceTagIdDeviceTagValue

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

func (*Tuple2DeviceTagIdDeviceTagValue) GetVar1

GetVar1 returns the Var1 field value

func (*Tuple2DeviceTagIdDeviceTagValue) GetVar1Ok

func (o *Tuple2DeviceTagIdDeviceTagValue) GetVar1Ok() (*string, bool)

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

func (*Tuple2DeviceTagIdDeviceTagValue) GetVar2

GetVar2 returns the Var2 field value

func (*Tuple2DeviceTagIdDeviceTagValue) GetVar2Ok

func (o *Tuple2DeviceTagIdDeviceTagValue) GetVar2Ok() (*string, bool)

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

func (Tuple2DeviceTagIdDeviceTagValue) MarshalJSON

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

func (*Tuple2DeviceTagIdDeviceTagValue) SetVar1

SetVar1 sets field value

func (*Tuple2DeviceTagIdDeviceTagValue) SetVar2

SetVar2 sets field value

func (Tuple2DeviceTagIdDeviceTagValue) ToMap

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

func (*Tuple2DeviceTagIdDeviceTagValue) UnmarshalJSON

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

type Tuple2LongOptionDouble

type Tuple2LongOptionDouble struct {
	Var1 int64    `json:"_1"`
	Var2 *float64 `json:"_2,omitempty"`
}

Tuple2LongOptionDouble struct for Tuple2LongOptionDouble

func NewTuple2LongOptionDouble

func NewTuple2LongOptionDouble(var1 int64) *Tuple2LongOptionDouble

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

func NewTuple2LongOptionDoubleWithDefaults

func NewTuple2LongOptionDoubleWithDefaults() *Tuple2LongOptionDouble

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

func (*Tuple2LongOptionDouble) GetVar1

func (o *Tuple2LongOptionDouble) GetVar1() int64

GetVar1 returns the Var1 field value

func (*Tuple2LongOptionDouble) GetVar1Ok

func (o *Tuple2LongOptionDouble) GetVar1Ok() (*int64, bool)

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

func (*Tuple2LongOptionDouble) GetVar2

func (o *Tuple2LongOptionDouble) GetVar2() float64

GetVar2 returns the Var2 field value if set, zero value otherwise.

func (*Tuple2LongOptionDouble) GetVar2Ok

func (o *Tuple2LongOptionDouble) GetVar2Ok() (*float64, bool)

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

func (*Tuple2LongOptionDouble) HasVar2

func (o *Tuple2LongOptionDouble) HasVar2() bool

HasVar2 returns a boolean if a field has been set.

func (Tuple2LongOptionDouble) MarshalJSON

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

func (*Tuple2LongOptionDouble) SetVar1

func (o *Tuple2LongOptionDouble) SetVar1(v int64)

SetVar1 sets field value

func (*Tuple2LongOptionDouble) SetVar2

func (o *Tuple2LongOptionDouble) SetVar2(v float64)

SetVar2 gets a reference to the given float64 and assigns it to the Var2 field.

func (Tuple2LongOptionDouble) ToMap

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

func (*Tuple2LongOptionDouble) UnmarshalJSON

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

type UpdateCreateResult

type UpdateCreateResult struct {
	Affected    []SimpleDeviceInfo            `json:"affected,omitempty"`
	NotAffected []SimpleDeviceNotAffectedInfo `json:"notAffected,omitempty"`
}

UpdateCreateResult struct for UpdateCreateResult

func NewUpdateCreateResult

func NewUpdateCreateResult() *UpdateCreateResult

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

func NewUpdateCreateResultWithDefaults

func NewUpdateCreateResultWithDefaults() *UpdateCreateResult

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

func (*UpdateCreateResult) GetAffected

func (o *UpdateCreateResult) GetAffected() []SimpleDeviceInfo

GetAffected returns the Affected field value if set, zero value otherwise.

func (*UpdateCreateResult) GetAffectedOk

func (o *UpdateCreateResult) GetAffectedOk() ([]SimpleDeviceInfo, bool)

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

func (*UpdateCreateResult) GetNotAffected

func (o *UpdateCreateResult) GetNotAffected() []SimpleDeviceNotAffectedInfo

GetNotAffected returns the NotAffected field value if set, zero value otherwise.

func (*UpdateCreateResult) GetNotAffectedOk

func (o *UpdateCreateResult) GetNotAffectedOk() ([]SimpleDeviceNotAffectedInfo, bool)

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

func (*UpdateCreateResult) HasAffected

func (o *UpdateCreateResult) HasAffected() bool

HasAffected returns a boolean if a field has been set.

func (*UpdateCreateResult) HasNotAffected

func (o *UpdateCreateResult) HasNotAffected() bool

HasNotAffected returns a boolean if a field has been set.

func (UpdateCreateResult) MarshalJSON

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

func (*UpdateCreateResult) SetAffected

func (o *UpdateCreateResult) SetAffected(v []SimpleDeviceInfo)

SetAffected gets a reference to the given []SimpleDeviceInfo and assigns it to the Affected field.

func (*UpdateCreateResult) SetNotAffected

func (o *UpdateCreateResult) SetNotAffected(v []SimpleDeviceNotAffectedInfo)

SetNotAffected gets a reference to the given []SimpleDeviceNotAffectedInfo and assigns it to the NotAffected field.

func (UpdateCreateResult) ToMap

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

type UpdateHibernationStatusRequest added in v0.0.3

type UpdateHibernationStatusRequest struct {
	Status bool `json:"status"`
}

UpdateHibernationStatusRequest struct for UpdateHibernationStatusRequest

func NewUpdateHibernationStatusRequest added in v0.0.3

func NewUpdateHibernationStatusRequest(status bool) *UpdateHibernationStatusRequest

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

func NewUpdateHibernationStatusRequestWithDefaults added in v0.0.3

func NewUpdateHibernationStatusRequestWithDefaults() *UpdateHibernationStatusRequest

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

func (*UpdateHibernationStatusRequest) GetStatus added in v0.0.3

func (o *UpdateHibernationStatusRequest) GetStatus() bool

GetStatus returns the Status field value

func (*UpdateHibernationStatusRequest) GetStatusOk added in v0.0.3

func (o *UpdateHibernationStatusRequest) GetStatusOk() (*bool, bool)

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

func (UpdateHibernationStatusRequest) MarshalJSON added in v0.0.3

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

func (*UpdateHibernationStatusRequest) SetStatus added in v0.0.3

func (o *UpdateHibernationStatusRequest) SetStatus(v bool)

SetStatus sets field value

func (UpdateHibernationStatusRequest) ToMap added in v0.0.3

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

func (*UpdateHibernationStatusRequest) UnmarshalJSON added in v0.0.3

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

type UpdateRequest

type UpdateRequest struct {
	PackageIds []string                     `json:"packageIds,omitempty"`
	Custom     *map[string]CustomUpdateData `json:"custom,omitempty"`
	Devices    []string                     `json:"devices,omitempty"`
	Fleets     []string                     `json:"fleets,omitempty"`
}

UpdateRequest struct for UpdateRequest

func NewUpdateRequest

func NewUpdateRequest() *UpdateRequest

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

func NewUpdateRequestWithDefaults

func NewUpdateRequestWithDefaults() *UpdateRequest

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

func (*UpdateRequest) GetCustom

func (o *UpdateRequest) GetCustom() map[string]CustomUpdateData

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

func (*UpdateRequest) GetCustomOk

func (o *UpdateRequest) GetCustomOk() (*map[string]CustomUpdateData, bool)

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

func (*UpdateRequest) GetDevices

func (o *UpdateRequest) GetDevices() []string

GetDevices returns the Devices field value if set, zero value otherwise.

func (*UpdateRequest) GetDevicesOk

func (o *UpdateRequest) GetDevicesOk() ([]string, bool)

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

func (*UpdateRequest) GetFleets

func (o *UpdateRequest) GetFleets() []string

GetFleets returns the Fleets field value if set, zero value otherwise.

func (*UpdateRequest) GetFleetsOk

func (o *UpdateRequest) GetFleetsOk() ([]string, bool)

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

func (*UpdateRequest) GetPackageIds

func (o *UpdateRequest) GetPackageIds() []string

GetPackageIds returns the PackageIds field value if set, zero value otherwise.

func (*UpdateRequest) GetPackageIdsOk

func (o *UpdateRequest) GetPackageIdsOk() ([]string, bool)

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

func (*UpdateRequest) HasCustom

func (o *UpdateRequest) HasCustom() bool

HasCustom returns a boolean if a field has been set.

func (*UpdateRequest) HasDevices

func (o *UpdateRequest) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*UpdateRequest) HasFleets

func (o *UpdateRequest) HasFleets() bool

HasFleets returns a boolean if a field has been set.

func (*UpdateRequest) HasPackageIds

func (o *UpdateRequest) HasPackageIds() bool

HasPackageIds returns a boolean if a field has been set.

func (UpdateRequest) MarshalJSON

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

func (*UpdateRequest) SetCustom

func (o *UpdateRequest) SetCustom(v map[string]CustomUpdateData)

SetCustom gets a reference to the given map[string]CustomUpdateData and assigns it to the Custom field.

func (*UpdateRequest) SetDevices

func (o *UpdateRequest) SetDevices(v []string)

SetDevices gets a reference to the given []string and assigns it to the Devices field.

func (*UpdateRequest) SetFleets

func (o *UpdateRequest) SetFleets(v []string)

SetFleets gets a reference to the given []string and assigns it to the Fleets field.

func (*UpdateRequest) SetPackageIds

func (o *UpdateRequest) SetPackageIds(v []string)

SetPackageIds gets a reference to the given []string and assigns it to the PackageIds field.

func (UpdateRequest) ToMap

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

type UpdatesAPIService

type UpdatesAPIService service

UpdatesAPIService UpdatesAPI service

func (*UpdatesAPIService) GetLockboxDetails

GetLockboxDetails List all existing lockboxes on the repository, and their detailed contents

Returns a JSON object containing all lockbox metadata. The object has the lockbox name as a key, and the complete metadata contents (same as returned by the [GET /lockboxes/{lockbox_name}](#/Updates/getLockboxesLockbox_name) endpoint) as a value.

Note that _all_ lockboxes will be returned, including lockboxes that are expired, or that do not contain any packages.

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

func (*UpdatesAPIService) GetLockboxDetailsExecute

func (a *UpdatesAPIService) GetLockboxDetailsExecute(r ApiGetLockboxDetailsRequest) (*map[string]JsonSignedPayload, *http.Response, error)

Execute executes the request

@return map[string]JsonSignedPayload

func (*UpdatesAPIService) GetLockboxes

GetLockboxes List all existing lockboxes on the repository

Returns a list of lockbox names.

Note that _all_ lockboxes will be returned, including lockboxes that are expired, or that do not contain any packages.

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

func (*UpdatesAPIService) GetLockboxesExecute

func (a *UpdatesAPIService) GetLockboxesExecute(r ApiGetLockboxesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*UpdatesAPIService) GetLockboxesLockboxName

func (a *UpdatesAPIService) GetLockboxesLockboxName(ctx context.Context, lockboxName string) ApiGetLockboxesLockboxNameRequest

GetLockboxesLockboxName Get the raw Uptane metadata for a lockbox

Uptane metadata defines what packages are included in a lockbox. It is signed with a key specific to the offline updates role, and lists the valid packages (including their hashes) for a particular lockbox.

This endpoint returns the full Uptane metadata for a given lockbox.

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

func (*UpdatesAPIService) GetLockboxesLockboxNameExecute

func (a *UpdatesAPIService) GetLockboxesLockboxNameExecute(r ApiGetLockboxesLockboxNameRequest) (*JsonSignedPayload, *http.Response, error)

Execute executes the request

@return JsonSignedPayload

func (*UpdatesAPIService) PatchUpdates

PatchUpdates Cancel a pending update for one or more devices

Cancels any pending update for a list of devices. Note that this endpoint does not accept fleet UUIDs, only device UUIDs.

Updates can only be cancelled when they are Pending. After the device has received its update instructions, the update can no longer be cancelled from the server side.

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

func (*UpdatesAPIService) PatchUpdatesExecute

func (a *UpdatesAPIService) PatchUpdatesExecute(r ApiPatchUpdatesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*UpdatesAPIService) PostLockboxesLockboxName

func (a *UpdatesAPIService) PostLockboxesLockboxName(ctx context.Context, lockboxName string) ApiPostLockboxesLockboxNameRequest

PostLockboxesLockboxName Define a new lockbox, or update an existing one

See the [secure offline updates](https://developer.toradex.com/torizon/torizon-platform/torizon-updates/how-to-use-secure-offline-updates-with-torizoncore/) documentation for background on this feature.

This endpoint will create a new lockbox with the specified name, or update the contents of a previously defined lockbox, if one with the specified name already exists.

The schema of the request body is similar to the [POST /updates](#/Updates/postUpdates) endpoint, with the principal difference that offline updates are not assigned to specific devices or fleets. Instead, lockboxes define which update packages are _valid_ for install via an offline update.

It is still possible to add custom metadata when generating a lockbox, but custom URIs will be ignored during an offline update, as the device will get its files directly from the lockbox rather than fetching over the network.

This endpoint can also be used to effectively revoke an existing lockbox. You can revoke a lockbox by updating it so that it does not contain any packages.

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

func (*UpdatesAPIService) PostLockboxesLockboxNameExecute

func (a *UpdatesAPIService) PostLockboxesLockboxNameExecute(r ApiPostLockboxesLockboxNameRequest) (*http.Response, error)

Execute executes the request

func (*UpdatesAPIService) PostUpdates

PostUpdates Launch an update to one or more devices or fleets

This endpoint launches a software update. You can specify a list of packages to be installed, and a list of devices and/or fleets that the packages should be installed on. If you specify multiple packages, it will be treated as a [synchronous update](https://developer.toradex.com/torizon/torizon-platform/torizon-updates/torizon-updates-technical-overview/#synchronous-updates-540).

It is also possible to add custom metadata or a custom download URI when creating the update. This example sends a synchronous update containing application package `foo-1.0` and OS package `bar-1.0` to a single device, adding a custom download URI for the application package:

```

{
  "packageIds": [
    "foo-1.0",
    "bar-1.0"
  ],
  "custom": {
    "foo-1.0": {
      "uri": "https://example.com/files/foo-1.0.yaml",
    }
  },
  "devices": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  ]
}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostUpdatesRequest

func (*UpdatesAPIService) PostUpdatesExecute

Execute executes the request

@return UpdateCreateResult

type UpstreamEndpointErrorRepr

type UpstreamEndpointErrorRepr struct {
	Msg         string  `json:"msg"`
	Description *string `json:"description,omitempty"`
	Code        string  `json:"code"`
	Cause       *string `json:"cause,omitempty"`
	ErrorId     *string `json:"errorId,omitempty"`
}

UpstreamEndpointErrorRepr struct for UpstreamEndpointErrorRepr

func NewUpstreamEndpointErrorRepr

func NewUpstreamEndpointErrorRepr(msg string, code string) *UpstreamEndpointErrorRepr

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

func NewUpstreamEndpointErrorReprWithDefaults

func NewUpstreamEndpointErrorReprWithDefaults() *UpstreamEndpointErrorRepr

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

func (*UpstreamEndpointErrorRepr) GetCause

func (o *UpstreamEndpointErrorRepr) GetCause() string

GetCause returns the Cause field value if set, zero value otherwise.

func (*UpstreamEndpointErrorRepr) GetCauseOk

func (o *UpstreamEndpointErrorRepr) GetCauseOk() (*string, bool)

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

func (*UpstreamEndpointErrorRepr) GetCode

func (o *UpstreamEndpointErrorRepr) GetCode() string

GetCode returns the Code field value

func (*UpstreamEndpointErrorRepr) GetCodeOk

func (o *UpstreamEndpointErrorRepr) GetCodeOk() (*string, bool)

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

func (*UpstreamEndpointErrorRepr) GetDescription

func (o *UpstreamEndpointErrorRepr) GetDescription() string

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

func (*UpstreamEndpointErrorRepr) GetDescriptionOk

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

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

func (*UpstreamEndpointErrorRepr) GetErrorId

func (o *UpstreamEndpointErrorRepr) GetErrorId() string

GetErrorId returns the ErrorId field value if set, zero value otherwise.

func (*UpstreamEndpointErrorRepr) GetErrorIdOk

func (o *UpstreamEndpointErrorRepr) GetErrorIdOk() (*string, bool)

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

func (*UpstreamEndpointErrorRepr) GetMsg

func (o *UpstreamEndpointErrorRepr) GetMsg() string

GetMsg returns the Msg field value

func (*UpstreamEndpointErrorRepr) GetMsgOk

func (o *UpstreamEndpointErrorRepr) GetMsgOk() (*string, bool)

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

func (*UpstreamEndpointErrorRepr) HasCause

func (o *UpstreamEndpointErrorRepr) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*UpstreamEndpointErrorRepr) HasDescription

func (o *UpstreamEndpointErrorRepr) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpstreamEndpointErrorRepr) HasErrorId

func (o *UpstreamEndpointErrorRepr) HasErrorId() bool

HasErrorId returns a boolean if a field has been set.

func (UpstreamEndpointErrorRepr) MarshalJSON

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

func (*UpstreamEndpointErrorRepr) SetCause

func (o *UpstreamEndpointErrorRepr) SetCause(v string)

SetCause gets a reference to the given string and assigns it to the Cause field.

func (*UpstreamEndpointErrorRepr) SetCode

func (o *UpstreamEndpointErrorRepr) SetCode(v string)

SetCode sets field value

func (*UpstreamEndpointErrorRepr) SetDescription

func (o *UpstreamEndpointErrorRepr) SetDescription(v string)

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

func (*UpstreamEndpointErrorRepr) SetErrorId

func (o *UpstreamEndpointErrorRepr) SetErrorId(v string)

SetErrorId gets a reference to the given string and assigns it to the ErrorId field.

func (*UpstreamEndpointErrorRepr) SetMsg

func (o *UpstreamEndpointErrorRepr) SetMsg(v string)

SetMsg sets field value

func (UpstreamEndpointErrorRepr) ToMap

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

func (*UpstreamEndpointErrorRepr) UnmarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL