Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiDeleteDevicesDeviceuuidRequest
- type ApiDeleteFleetsFleetidDevicesRequest
- type ApiDeleteFleetsFleetidRequest
- type ApiDeletePackagesPackageidRequest
- type ApiGetDeviceDataDevicesDeviceuuidMetricsRequest
- func (r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Execute() (*MetricsResponse, *http.Response, error)
- func (r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) From(from int64) ApiGetDeviceDataDevicesDeviceuuidMetricsRequest
- func (r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Metric(metric []string) ApiGetDeviceDataDevicesDeviceuuidMetricsRequest
- func (r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Resolution(resolution int32) ApiGetDeviceDataDevicesDeviceuuidMetricsRequest
- func (r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) To(to int64) ApiGetDeviceDataDevicesDeviceuuidMetricsRequest
- type ApiGetDeviceDataFleetsFleetidMetricsRequest
- func (r ApiGetDeviceDataFleetsFleetidMetricsRequest) Execute() (*MetricsResponse, *http.Response, error)
- func (r ApiGetDeviceDataFleetsFleetidMetricsRequest) From(from int64) ApiGetDeviceDataFleetsFleetidMetricsRequest
- func (r ApiGetDeviceDataFleetsFleetidMetricsRequest) Metric(metric []string) ApiGetDeviceDataFleetsFleetidMetricsRequest
- func (r ApiGetDeviceDataFleetsFleetidMetricsRequest) Resolution(resolution int32) ApiGetDeviceDataFleetsFleetidMetricsRequest
- func (r ApiGetDeviceDataFleetsFleetidMetricsRequest) To(to int64) ApiGetDeviceDataFleetsFleetidMetricsRequest
- type ApiGetDeviceDataMetricNamesRequest
- type ApiGetDevicesDeviceuuidRequest
- type ApiGetDevicesNameDeviceuuidRequest
- type ApiGetDevicesNetworkDeviceuuidRequest
- type ApiGetDevicesNetworkRequest
- func (r ApiGetDevicesNetworkRequest) DeviceUuid(deviceUuid []string) ApiGetDevicesNetworkRequest
- func (r ApiGetDevicesNetworkRequest) Execute() (*PaginationResultNetworkInfo, *http.Response, error)
- func (r ApiGetDevicesNetworkRequest) Limit(limit int64) ApiGetDevicesNetworkRequest
- func (r ApiGetDevicesNetworkRequest) Offset(offset int64) ApiGetDevicesNetworkRequest
- type ApiGetDevicesNotesDeviceuuidRequest
- type ApiGetDevicesPackagesDeviceuuidRequest
- type ApiGetDevicesPackagesRequest
- func (r ApiGetDevicesPackagesRequest) DeviceUuid(deviceUuid []string) ApiGetDevicesPackagesRequest
- func (r ApiGetDevicesPackagesRequest) Execute() (*PaginationResultDevicePackages, *http.Response, error)
- func (r ApiGetDevicesPackagesRequest) Limit(limit int64) ApiGetDevicesPackagesRequest
- func (r ApiGetDevicesPackagesRequest) NameContains(nameContains string) ApiGetDevicesPackagesRequest
- func (r ApiGetDevicesPackagesRequest) Offset(offset int64) ApiGetDevicesPackagesRequest
- type ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) ActivatedAfter(activatedAfter time.Time) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) ActivatedBefore(activatedBefore time.Time) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) DeviceUuid(deviceUuid []string) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) Execute() (*PaginationResultDeviceInfoBasic, *http.Response, error)
- func (r ApiGetDevicesRequest) Hibernated(hibernated bool) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) Limit(limit int64) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) NameContains(nameContains string) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) Offset(offset int64) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) SortBy(sortBy DeviceSort) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) SortDirection(sortDirection DeviceSortDirection) ApiGetDevicesRequest
- func (r ApiGetDevicesRequest) Status(status DeviceStatus) ApiGetDevicesRequest
- type ApiGetDevicesTokenRequest
- type ApiGetDevicesUptaneDeviceuuidAssignmentRequest
- type ApiGetDevicesUptaneDeviceuuidComponentsRequest
- type ApiGetFleetsFleetidDevicesRequest
- func (r ApiGetFleetsFleetidDevicesRequest) Execute() (*PaginationResultDeviceInfoBasic, *http.Response, error)
- func (r ApiGetFleetsFleetidDevicesRequest) Limit(limit int64) ApiGetFleetsFleetidDevicesRequest
- func (r ApiGetFleetsFleetidDevicesRequest) Offset(offset int64) ApiGetFleetsFleetidDevicesRequest
- type ApiGetFleetsRequest
- type ApiGetLockboxDetailsRequest
- type ApiGetLockboxesLockboxNameRequest
- type ApiGetLockboxesRequest
- type ApiGetPackagesExternalInfoRequest
- type ApiGetPackagesExternalRefreshSourceFileNameRequest
- type ApiGetPackagesExternalRequest
- func (r ApiGetPackagesExternalRequest) Execute() (*PaginationResultExternalPackage, *http.Response, error)
- func (r ApiGetPackagesExternalRequest) IdContains(idContains string) ApiGetPackagesExternalRequest
- func (r ApiGetPackagesExternalRequest) Limit(limit int64) ApiGetPackagesExternalRequest
- func (r ApiGetPackagesExternalRequest) Offset(offset int64) ApiGetPackagesExternalRequest
- type ApiGetPackagesRequest
- func (r ApiGetPackagesRequest) Execute() (*PaginationResultPackage, *http.Response, error)
- func (r ApiGetPackagesRequest) IdContains(idContains string) ApiGetPackagesRequest
- func (r ApiGetPackagesRequest) Limit(limit int64) ApiGetPackagesRequest
- func (r ApiGetPackagesRequest) Offset(offset int64) ApiGetPackagesRequest
- type ApiPatchPackagesPackageidRequest
- type ApiPatchUpdatesRequest
- type ApiPostDevicesRequest
- type ApiPostFleetsFleetidDevicesRequest
- type ApiPostFleetsRequest
- type ApiPostLockboxesLockboxNameRequest
- type ApiPostPackagesRequest
- func (r ApiPostPackagesRequest) Body(body *os.File) ApiPostPackagesRequest
- func (r ApiPostPackagesRequest) ContentLength(contentLength int32) ApiPostPackagesRequest
- func (r ApiPostPackagesRequest) Execute() (*Package, *http.Response, error)
- func (r ApiPostPackagesRequest) HardwareId(hardwareId []string) ApiPostPackagesRequest
- func (r ApiPostPackagesRequest) Name(name string) ApiPostPackagesRequest
- func (r ApiPostPackagesRequest) TargetFormat(targetFormat string) ApiPostPackagesRequest
- func (r ApiPostPackagesRequest) Version(version string) ApiPostPackagesRequest
- type ApiPostUpdatesRequest
- type ApiPutDevicesHibernationDeviceuuidRequest
- type ApiPutDevicesNameDeviceuuidRequest
- type ApiPutDevicesNotesDeviceuuidRequest
- type BadRequestRepr
- func (o *BadRequestRepr) GetCause() string
- func (o *BadRequestRepr) GetCauseOk() (*string, bool)
- func (o *BadRequestRepr) GetCode() string
- func (o *BadRequestRepr) GetCodeOk() (*string, bool)
- func (o *BadRequestRepr) GetDescription() string
- func (o *BadRequestRepr) GetDescriptionOk() (*string, bool)
- func (o *BadRequestRepr) GetErrorId() string
- func (o *BadRequestRepr) GetErrorIdOk() (*string, bool)
- func (o *BadRequestRepr) GetMsg() string
- func (o *BadRequestRepr) GetMsgOk() (*string, bool)
- func (o *BadRequestRepr) HasCause() bool
- func (o *BadRequestRepr) HasDescription() bool
- func (o *BadRequestRepr) HasErrorId() bool
- func (o BadRequestRepr) MarshalJSON() ([]byte, error)
- func (o *BadRequestRepr) SetCause(v string)
- func (o *BadRequestRepr) SetCode(v string)
- func (o *BadRequestRepr) SetDescription(v string)
- func (o *BadRequestRepr) SetErrorId(v string)
- func (o *BadRequestRepr) SetMsg(v string)
- func (o BadRequestRepr) ToMap() (map[string]interface{}, error)
- func (o *BadRequestRepr) UnmarshalJSON(data []byte) (err error)
- type BasicAuth
- type ClientSignature
- func (o *ClientSignature) GetKeyid() string
- func (o *ClientSignature) GetKeyidOk() (*string, bool)
- func (o *ClientSignature) GetMethod() SignatureMethod
- func (o *ClientSignature) GetMethodOk() (*SignatureMethod, bool)
- func (o *ClientSignature) GetSig() string
- func (o *ClientSignature) GetSigOk() (*string, bool)
- func (o ClientSignature) MarshalJSON() ([]byte, error)
- func (o *ClientSignature) SetKeyid(v string)
- func (o *ClientSignature) SetMethod(v SignatureMethod)
- func (o *ClientSignature) SetSig(v string)
- func (o ClientSignature) ToMap() (map[string]interface{}, error)
- func (o *ClientSignature) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type ConflictRepr
- func (o *ConflictRepr) GetCause() string
- func (o *ConflictRepr) GetCauseOk() (*string, bool)
- func (o *ConflictRepr) GetCode() string
- func (o *ConflictRepr) GetCodeOk() (*string, bool)
- func (o *ConflictRepr) GetDescription() string
- func (o *ConflictRepr) GetDescriptionOk() (*string, bool)
- func (o *ConflictRepr) GetErrorId() string
- func (o *ConflictRepr) GetErrorIdOk() (*string, bool)
- func (o *ConflictRepr) GetMsg() string
- func (o *ConflictRepr) GetMsgOk() (*string, bool)
- func (o *ConflictRepr) HasCause() bool
- func (o *ConflictRepr) HasDescription() bool
- func (o *ConflictRepr) HasErrorId() bool
- func (o ConflictRepr) MarshalJSON() ([]byte, error)
- func (o *ConflictRepr) SetCause(v string)
- func (o *ConflictRepr) SetCode(v string)
- func (o *ConflictRepr) SetDescription(v string)
- func (o *ConflictRepr) SetErrorId(v string)
- func (o *ConflictRepr) SetMsg(v string)
- func (o ConflictRepr) ToMap() (map[string]interface{}, error)
- func (o *ConflictRepr) UnmarshalJSON(data []byte) (err error)
- type CreateFleet
- func (o *CreateFleet) GetExpression() string
- func (o *CreateFleet) GetExpressionOk() (*string, bool)
- func (o *CreateFleet) GetFleetType() FleetType
- func (o *CreateFleet) GetFleetTypeOk() (*FleetType, bool)
- func (o *CreateFleet) GetName() string
- func (o *CreateFleet) GetNameOk() (*string, bool)
- func (o *CreateFleet) HasExpression() bool
- func (o CreateFleet) MarshalJSON() ([]byte, error)
- func (o *CreateFleet) SetExpression(v string)
- func (o *CreateFleet) SetFleetType(v FleetType)
- func (o *CreateFleet) SetName(v string)
- func (o CreateFleet) ToMap() (map[string]interface{}, error)
- func (o *CreateFleet) UnmarshalJSON(data []byte) (err error)
- type CreateLockboxRequest
- func (o *CreateLockboxRequest) GetCustom() map[string]CustomUpdateData
- func (o *CreateLockboxRequest) GetCustomOk() (*map[string]CustomUpdateData, bool)
- func (o *CreateLockboxRequest) GetExpiresAt() time.Time
- func (o *CreateLockboxRequest) GetExpiresAtOk() (*time.Time, bool)
- func (o *CreateLockboxRequest) GetPackageIds() []string
- func (o *CreateLockboxRequest) GetPackageIdsOk() ([]string, bool)
- func (o *CreateLockboxRequest) HasCustom() bool
- func (o *CreateLockboxRequest) HasExpiresAt() bool
- func (o *CreateLockboxRequest) HasPackageIds() bool
- func (o CreateLockboxRequest) MarshalJSON() ([]byte, error)
- func (o *CreateLockboxRequest) SetCustom(v map[string]CustomUpdateData)
- func (o *CreateLockboxRequest) SetExpiresAt(v time.Time)
- func (o *CreateLockboxRequest) SetPackageIds(v []string)
- func (o CreateLockboxRequest) ToMap() (map[string]interface{}, error)
- type CustomUpdateData
- func (o *CustomUpdateData) GetMetadata() string
- func (o *CustomUpdateData) GetMetadataOk() (*string, bool)
- func (o *CustomUpdateData) GetUri() string
- func (o *CustomUpdateData) GetUriOk() (*string, bool)
- func (o *CustomUpdateData) HasMetadata() bool
- func (o *CustomUpdateData) HasUri() bool
- func (o CustomUpdateData) MarshalJSON() ([]byte, error)
- func (o *CustomUpdateData) SetMetadata(v string)
- func (o *CustomUpdateData) SetUri(v string)
- func (o CustomUpdateData) ToMap() (map[string]interface{}, error)
- type DelegationInfo
- func (o *DelegationInfo) GetFriendlyName() string
- func (o *DelegationInfo) GetFriendlyNameOk() (*string, bool)
- func (o *DelegationInfo) GetLastFetched() time.Time
- func (o *DelegationInfo) GetLastFetchedOk() (*time.Time, bool)
- func (o *DelegationInfo) GetRemoteUri() string
- func (o *DelegationInfo) GetRemoteUriOk() (*string, bool)
- func (o *DelegationInfo) HasFriendlyName() bool
- func (o *DelegationInfo) HasLastFetched() bool
- func (o *DelegationInfo) HasRemoteUri() bool
- func (o DelegationInfo) MarshalJSON() ([]byte, error)
- func (o *DelegationInfo) SetFriendlyName(v string)
- func (o *DelegationInfo) SetLastFetched(v time.Time)
- func (o *DelegationInfo) SetRemoteUri(v string)
- func (o DelegationInfo) ToMap() (map[string]interface{}, error)
- type DeviceCreateReq
- func (o *DeviceCreateReq) GetDeviceId() string
- func (o *DeviceCreateReq) GetDeviceIdOk() (*string, bool)
- func (o *DeviceCreateReq) GetDeviceName() string
- func (o *DeviceCreateReq) GetDeviceNameOk() (*string, bool)
- func (o *DeviceCreateReq) GetHibernated() bool
- func (o *DeviceCreateReq) GetHibernatedOk() (*bool, bool)
- func (o *DeviceCreateReq) HasDeviceName() bool
- func (o *DeviceCreateReq) HasHibernated() bool
- func (o DeviceCreateReq) MarshalJSON() ([]byte, error)
- func (o *DeviceCreateReq) SetDeviceId(v string)
- func (o *DeviceCreateReq) SetDeviceName(v string)
- func (o *DeviceCreateReq) SetHibernated(v bool)
- func (o DeviceCreateReq) ToMap() (map[string]interface{}, error)
- func (o *DeviceCreateReq) UnmarshalJSON(data []byte) (err error)
- type DeviceInfoBasic
- func (o *DeviceInfoBasic) GetActivatedAt() time.Time
- func (o *DeviceInfoBasic) GetActivatedAtOk() (*time.Time, bool)
- func (o *DeviceInfoBasic) GetCreatedAt() time.Time
- func (o *DeviceInfoBasic) GetCreatedAtOk() (*time.Time, bool)
- func (o *DeviceInfoBasic) GetDeviceId() string
- func (o *DeviceInfoBasic) GetDeviceIdOk() (*string, bool)
- func (o *DeviceInfoBasic) GetDeviceName() string
- func (o *DeviceInfoBasic) GetDeviceNameOk() (*string, bool)
- func (o *DeviceInfoBasic) GetDeviceStatus() DeviceStatus
- func (o *DeviceInfoBasic) GetDeviceStatusOk() (*DeviceStatus, bool)
- func (o *DeviceInfoBasic) GetDeviceUuid() string
- func (o *DeviceInfoBasic) GetDeviceUuidOk() (*string, bool)
- func (o *DeviceInfoBasic) GetHibernated() bool
- func (o *DeviceInfoBasic) GetHibernatedOk() (*bool, bool)
- func (o *DeviceInfoBasic) GetLastSeen() time.Time
- func (o *DeviceInfoBasic) GetLastSeenOk() (*time.Time, bool)
- func (o *DeviceInfoBasic) GetNotes() string
- func (o *DeviceInfoBasic) GetNotesOk() (*string, bool)
- func (o *DeviceInfoBasic) HasActivatedAt() bool
- func (o *DeviceInfoBasic) HasLastSeen() bool
- func (o *DeviceInfoBasic) HasNotes() bool
- func (o DeviceInfoBasic) MarshalJSON() ([]byte, error)
- func (o *DeviceInfoBasic) SetActivatedAt(v time.Time)
- func (o *DeviceInfoBasic) SetCreatedAt(v time.Time)
- func (o *DeviceInfoBasic) SetDeviceId(v string)
- func (o *DeviceInfoBasic) SetDeviceName(v string)
- func (o *DeviceInfoBasic) SetDeviceStatus(v DeviceStatus)
- func (o *DeviceInfoBasic) SetDeviceUuid(v string)
- func (o *DeviceInfoBasic) SetHibernated(v bool)
- func (o *DeviceInfoBasic) SetLastSeen(v time.Time)
- func (o *DeviceInfoBasic) SetNotes(v string)
- func (o DeviceInfoBasic) ToMap() (map[string]interface{}, error)
- func (o *DeviceInfoBasic) UnmarshalJSON(data []byte) (err error)
- type DeviceInfoExtended
- func (o *DeviceInfoExtended) GetActivatedAt() time.Time
- func (o *DeviceInfoExtended) GetActivatedAtOk() (*time.Time, bool)
- func (o *DeviceInfoExtended) GetCreatedAt() time.Time
- func (o *DeviceInfoExtended) GetCreatedAtOk() (*time.Time, bool)
- func (o *DeviceInfoExtended) GetDeviceFleets() []Fleet
- func (o *DeviceInfoExtended) GetDeviceFleetsOk() ([]Fleet, bool)
- func (o *DeviceInfoExtended) GetDeviceId() string
- func (o *DeviceInfoExtended) GetDeviceIdOk() (*string, bool)
- func (o *DeviceInfoExtended) GetDeviceName() string
- func (o *DeviceInfoExtended) GetDeviceNameOk() (*string, bool)
- func (o *DeviceInfoExtended) GetDevicePackages() []DevicePackage
- func (o *DeviceInfoExtended) GetDevicePackagesOk() ([]DevicePackage, bool)
- func (o *DeviceInfoExtended) GetDeviceStatus() DeviceStatus
- func (o *DeviceInfoExtended) GetDeviceStatusOk() (*DeviceStatus, bool)
- func (o *DeviceInfoExtended) GetDeviceTags() []Tuple2DeviceTagIdDeviceTagValue
- func (o *DeviceInfoExtended) GetDeviceTagsOk() ([]Tuple2DeviceTagIdDeviceTagValue, bool)
- func (o *DeviceInfoExtended) GetDeviceUuid() string
- func (o *DeviceInfoExtended) GetDeviceUuidOk() (*string, bool)
- func (o *DeviceInfoExtended) GetHibernated() bool
- func (o *DeviceInfoExtended) GetHibernatedOk() (*bool, bool)
- func (o *DeviceInfoExtended) GetLastSeen() time.Time
- func (o *DeviceInfoExtended) GetLastSeenOk() (*time.Time, bool)
- func (o *DeviceInfoExtended) GetLastUpdated() time.Time
- func (o *DeviceInfoExtended) GetLastUpdatedOk() (*time.Time, bool)
- func (o *DeviceInfoExtended) GetNetworkInfo() NetworkInfo
- func (o *DeviceInfoExtended) GetNetworkInfoOk() (*NetworkInfo, bool)
- func (o *DeviceInfoExtended) GetNotes() string
- func (o *DeviceInfoExtended) GetNotesOk() (*string, bool)
- func (o *DeviceInfoExtended) HasActivatedAt() bool
- func (o *DeviceInfoExtended) HasDeviceFleets() bool
- func (o *DeviceInfoExtended) HasDevicePackages() bool
- func (o *DeviceInfoExtended) HasDeviceTags() bool
- func (o *DeviceInfoExtended) HasLastSeen() bool
- func (o *DeviceInfoExtended) HasLastUpdated() bool
- func (o *DeviceInfoExtended) HasNotes() bool
- func (o DeviceInfoExtended) MarshalJSON() ([]byte, error)
- func (o *DeviceInfoExtended) SetActivatedAt(v time.Time)
- func (o *DeviceInfoExtended) SetCreatedAt(v time.Time)
- func (o *DeviceInfoExtended) SetDeviceFleets(v []Fleet)
- func (o *DeviceInfoExtended) SetDeviceId(v string)
- func (o *DeviceInfoExtended) SetDeviceName(v string)
- func (o *DeviceInfoExtended) SetDevicePackages(v []DevicePackage)
- func (o *DeviceInfoExtended) SetDeviceStatus(v DeviceStatus)
- func (o *DeviceInfoExtended) SetDeviceTags(v []Tuple2DeviceTagIdDeviceTagValue)
- func (o *DeviceInfoExtended) SetDeviceUuid(v string)
- func (o *DeviceInfoExtended) SetHibernated(v bool)
- func (o *DeviceInfoExtended) SetLastSeen(v time.Time)
- func (o *DeviceInfoExtended) SetLastUpdated(v time.Time)
- func (o *DeviceInfoExtended) SetNetworkInfo(v NetworkInfo)
- func (o *DeviceInfoExtended) SetNotes(v string)
- func (o DeviceInfoExtended) ToMap() (map[string]interface{}, error)
- func (o *DeviceInfoExtended) UnmarshalJSON(data []byte) (err error)
- type DeviceMetricsAPIService
- func (a *DeviceMetricsAPIService) GetDeviceDataDevicesDeviceuuidMetrics(ctx context.Context, deviceUuid string) ApiGetDeviceDataDevicesDeviceuuidMetricsRequest
- func (a *DeviceMetricsAPIService) GetDeviceDataDevicesDeviceuuidMetricsExecute(r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) (*MetricsResponse, *http.Response, error)
- func (a *DeviceMetricsAPIService) GetDeviceDataFleetsFleetidMetrics(ctx context.Context, fleetId string) ApiGetDeviceDataFleetsFleetidMetricsRequest
- func (a *DeviceMetricsAPIService) GetDeviceDataFleetsFleetidMetricsExecute(r ApiGetDeviceDataFleetsFleetidMetricsRequest) (*MetricsResponse, *http.Response, error)
- func (a *DeviceMetricsAPIService) GetDeviceDataMetricNames(ctx context.Context) ApiGetDeviceDataMetricNamesRequest
- func (a *DeviceMetricsAPIService) GetDeviceDataMetricNamesExecute(r ApiGetDeviceDataMetricNamesRequest) (*PaginationResultString, *http.Response, error)
- type DevicePackage
- func (o *DevicePackage) GetChecksum() string
- func (o *DevicePackage) GetChecksumOk() (*string, bool)
- func (o *DevicePackage) GetComponent() string
- func (o *DevicePackage) GetComponentOk() (*string, bool)
- func (o *DevicePackage) GetName() string
- func (o *DevicePackage) GetNameOk() (*string, bool)
- func (o *DevicePackage) GetVersion() string
- func (o *DevicePackage) GetVersionOk() (*string, bool)
- func (o DevicePackage) MarshalJSON() ([]byte, error)
- func (o *DevicePackage) SetChecksum(v string)
- func (o *DevicePackage) SetComponent(v string)
- func (o *DevicePackage) SetName(v string)
- func (o *DevicePackage) SetVersion(v string)
- func (o DevicePackage) ToMap() (map[string]interface{}, error)
- func (o *DevicePackage) UnmarshalJSON(data []byte) (err error)
- type DevicePackages
- func (o *DevicePackages) GetDeviceUuid() string
- func (o *DevicePackages) GetDeviceUuidOk() (*string, bool)
- func (o *DevicePackages) GetInstalledPackages() []InstalledPackage
- func (o *DevicePackages) GetInstalledPackagesOk() ([]InstalledPackage, bool)
- func (o *DevicePackages) HasInstalledPackages() bool
- func (o DevicePackages) MarshalJSON() ([]byte, error)
- func (o *DevicePackages) SetDeviceUuid(v string)
- func (o *DevicePackages) SetInstalledPackages(v []InstalledPackage)
- func (o DevicePackages) ToMap() (map[string]interface{}, error)
- func (o *DevicePackages) UnmarshalJSON(data []byte) (err error)
- type DeviceSort
- type DeviceSortDirection
- type DeviceStatus
- type DevicesAPIService
- func (a *DevicesAPIService) DeleteDevicesDeviceuuid(ctx context.Context, deviceUuid string) ApiDeleteDevicesDeviceuuidRequest
- func (a *DevicesAPIService) DeleteDevicesDeviceuuidExecute(r ApiDeleteDevicesDeviceuuidRequest) (*http.Response, error)
- func (a *DevicesAPIService) GetDevices(ctx context.Context) ApiGetDevicesRequest
- func (a *DevicesAPIService) GetDevicesDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesDeviceuuidRequest
- func (a *DevicesAPIService) GetDevicesDeviceuuidExecute(r ApiGetDevicesDeviceuuidRequest) (*DeviceInfoExtended, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesExecute(r ApiGetDevicesRequest) (*PaginationResultDeviceInfoBasic, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesNameDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesNameDeviceuuidRequest
- func (a *DevicesAPIService) GetDevicesNameDeviceuuidExecute(r ApiGetDevicesNameDeviceuuidRequest) (string, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesNetwork(ctx context.Context) ApiGetDevicesNetworkRequest
- func (a *DevicesAPIService) GetDevicesNetworkDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesNetworkDeviceuuidRequest
- func (a *DevicesAPIService) GetDevicesNetworkDeviceuuidExecute(r ApiGetDevicesNetworkDeviceuuidRequest) (*NetworkInfo, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesNetworkExecute(r ApiGetDevicesNetworkRequest) (*PaginationResultNetworkInfo, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesNotesDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesNotesDeviceuuidRequest
- func (a *DevicesAPIService) GetDevicesNotesDeviceuuidExecute(r ApiGetDevicesNotesDeviceuuidRequest) (string, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesPackages(ctx context.Context) ApiGetDevicesPackagesRequest
- func (a *DevicesAPIService) GetDevicesPackagesDeviceuuid(ctx context.Context, deviceUuid string) ApiGetDevicesPackagesDeviceuuidRequest
- func (a *DevicesAPIService) GetDevicesPackagesDeviceuuidExecute(r ApiGetDevicesPackagesDeviceuuidRequest) (*DevicePackages, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesPackagesExecute(r ApiGetDevicesPackagesRequest) (*PaginationResultDevicePackages, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesToken(ctx context.Context) ApiGetDevicesTokenRequest
- func (a *DevicesAPIService) GetDevicesTokenExecute(r ApiGetDevicesTokenRequest) (*ProvisionInfo, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesUptaneDeviceuuidAssignment(ctx context.Context, deviceUuid string) ApiGetDevicesUptaneDeviceuuidAssignmentRequest
- func (a *DevicesAPIService) GetDevicesUptaneDeviceuuidAssignmentExecute(r ApiGetDevicesUptaneDeviceuuidAssignmentRequest) ([]QueueResponse, *http.Response, error)
- func (a *DevicesAPIService) GetDevicesUptaneDeviceuuidComponents(ctx context.Context, deviceUuid string) ApiGetDevicesUptaneDeviceuuidComponentsRequest
- func (a *DevicesAPIService) GetDevicesUptaneDeviceuuidComponentsExecute(r ApiGetDevicesUptaneDeviceuuidComponentsRequest) ([]EcuInfoResponse, *http.Response, error)
- func (a *DevicesAPIService) PostDevices(ctx context.Context) ApiPostDevicesRequest
- func (a *DevicesAPIService) PostDevicesExecute(r ApiPostDevicesRequest) (*os.File, *http.Response, error)
- func (a *DevicesAPIService) PutDevicesHibernationDeviceuuid(ctx context.Context, deviceUuid string) ApiPutDevicesHibernationDeviceuuidRequest
- func (a *DevicesAPIService) PutDevicesHibernationDeviceuuidExecute(r ApiPutDevicesHibernationDeviceuuidRequest) (*http.Response, error)
- func (a *DevicesAPIService) PutDevicesNameDeviceuuid(ctx context.Context, deviceUuid string) ApiPutDevicesNameDeviceuuidRequest
- func (a *DevicesAPIService) PutDevicesNameDeviceuuidExecute(r ApiPutDevicesNameDeviceuuidRequest) (*http.Response, error)
- func (a *DevicesAPIService) PutDevicesNotesDeviceuuid(ctx context.Context, deviceUuid string) ApiPutDevicesNotesDeviceuuidRequest
- func (a *DevicesAPIService) PutDevicesNotesDeviceuuidExecute(r ApiPutDevicesNotesDeviceuuidRequest) (*http.Response, error)
- type EcuInfoImage
- func (o *EcuInfoImage) GetFilepath() string
- func (o *EcuInfoImage) GetFilepathOk() (*string, bool)
- func (o *EcuInfoImage) GetHash() string
- func (o *EcuInfoImage) GetHashOk() (*string, bool)
- func (o *EcuInfoImage) GetSize() int64
- func (o *EcuInfoImage) GetSizeOk() (*int64, bool)
- func (o EcuInfoImage) MarshalJSON() ([]byte, error)
- func (o *EcuInfoImage) SetFilepath(v string)
- func (o *EcuInfoImage) SetHash(v string)
- func (o *EcuInfoImage) SetSize(v int64)
- func (o EcuInfoImage) ToMap() (map[string]interface{}, error)
- func (o *EcuInfoImage) UnmarshalJSON(data []byte) (err error)
- type EcuInfoResponse
- func (o *EcuInfoResponse) GetHardwareId() string
- func (o *EcuInfoResponse) GetHardwareIdOk() (*string, bool)
- func (o *EcuInfoResponse) GetId() string
- func (o *EcuInfoResponse) GetIdOk() (*string, bool)
- func (o *EcuInfoResponse) GetImage() EcuInfoImage
- func (o *EcuInfoResponse) GetImageOk() (*EcuInfoImage, bool)
- func (o *EcuInfoResponse) GetPrimary() bool
- func (o *EcuInfoResponse) GetPrimaryOk() (*bool, bool)
- func (o EcuInfoResponse) MarshalJSON() ([]byte, error)
- func (o *EcuInfoResponse) SetHardwareId(v string)
- func (o *EcuInfoResponse) SetId(v string)
- func (o *EcuInfoResponse) SetImage(v EcuInfoImage)
- func (o *EcuInfoResponse) SetPrimary(v bool)
- func (o EcuInfoResponse) ToMap() (map[string]interface{}, error)
- func (o *EcuInfoResponse) UnmarshalJSON(data []byte) (err error)
- type EditPackage
- func (o *EditPackage) GetComment() string
- func (o *EditPackage) GetCommentOk() (*string, bool)
- func (o *EditPackage) GetHardwareIds() []string
- func (o *EditPackage) GetHardwareIdsOk() ([]string, bool)
- func (o *EditPackage) GetProprietaryMeta() string
- func (o *EditPackage) GetProprietaryMetaOk() (*string, bool)
- func (o *EditPackage) GetUri() string
- func (o *EditPackage) GetUriOk() (*string, bool)
- func (o *EditPackage) HasComment() bool
- func (o *EditPackage) HasHardwareIds() bool
- func (o *EditPackage) HasProprietaryMeta() bool
- func (o *EditPackage) HasUri() bool
- func (o EditPackage) MarshalJSON() ([]byte, error)
- func (o *EditPackage) SetComment(v string)
- func (o *EditPackage) SetHardwareIds(v []string)
- func (o *EditPackage) SetProprietaryMeta(v string)
- func (o *EditPackage) SetUri(v string)
- func (o EditPackage) ToMap() (map[string]interface{}, error)
- type ErrorRepresentation
- func (o *ErrorRepresentation) GetCause() string
- func (o *ErrorRepresentation) GetCauseOk() (*string, bool)
- func (o *ErrorRepresentation) GetCode() string
- func (o *ErrorRepresentation) GetCodeOk() (*string, bool)
- func (o *ErrorRepresentation) GetDescription() string
- func (o *ErrorRepresentation) GetDescriptionOk() (*string, bool)
- func (o *ErrorRepresentation) GetErrorId() string
- func (o *ErrorRepresentation) GetErrorIdOk() (*string, bool)
- func (o *ErrorRepresentation) HasCause() bool
- func (o *ErrorRepresentation) HasErrorId() bool
- func (o ErrorRepresentation) MarshalJSON() ([]byte, error)
- func (o *ErrorRepresentation) SetCause(v string)
- func (o *ErrorRepresentation) SetCode(v string)
- func (o *ErrorRepresentation) SetDescription(v string)
- func (o *ErrorRepresentation) SetErrorId(v string)
- func (o ErrorRepresentation) ToMap() (map[string]interface{}, error)
- func (o *ErrorRepresentation) UnmarshalJSON(data []byte) (err error)
- type ExternalPackage
- func (o *ExternalPackage) GetCreatedAt() time.Time
- func (o *ExternalPackage) GetCreatedAtOk() (*time.Time, bool)
- func (o *ExternalPackage) GetDelegationOrigin() string
- func (o *ExternalPackage) GetDelegationOriginOk() (*string, bool)
- func (o *ExternalPackage) GetHardwareIds() []string
- func (o *ExternalPackage) GetHardwareIdsOk() ([]string, bool)
- func (o *ExternalPackage) GetHashes() map[string]string
- func (o *ExternalPackage) GetHashesOk() (*map[string]string, bool)
- func (o *ExternalPackage) GetName() string
- func (o *ExternalPackage) GetNameOk() (*string, bool)
- func (o *ExternalPackage) GetPackageId() string
- func (o *ExternalPackage) GetPackageIdOk() (*string, bool)
- func (o *ExternalPackage) GetPkgType() string
- func (o *ExternalPackage) GetPkgTypeOk() (*string, bool)
- func (o *ExternalPackage) GetProprietaryMeta() string
- func (o *ExternalPackage) GetProprietaryMetaOk() (*string, bool)
- func (o *ExternalPackage) GetSize() int64
- func (o *ExternalPackage) GetSizeOk() (*int64, bool)
- func (o *ExternalPackage) GetUri() string
- func (o *ExternalPackage) GetUriOk() (*string, bool)
- func (o *ExternalPackage) GetVersion() string
- func (o *ExternalPackage) GetVersionOk() (*string, bool)
- func (o *ExternalPackage) HasCreatedAt() bool
- func (o *ExternalPackage) HasHardwareIds() bool
- func (o *ExternalPackage) HasPkgType() bool
- func (o *ExternalPackage) HasProprietaryMeta() bool
- func (o *ExternalPackage) HasUri() bool
- func (o ExternalPackage) MarshalJSON() ([]byte, error)
- func (o *ExternalPackage) SetCreatedAt(v time.Time)
- func (o *ExternalPackage) SetDelegationOrigin(v string)
- func (o *ExternalPackage) SetHardwareIds(v []string)
- func (o *ExternalPackage) SetHashes(v map[string]string)
- func (o *ExternalPackage) SetName(v string)
- func (o *ExternalPackage) SetPackageId(v string)
- func (o *ExternalPackage) SetPkgType(v string)
- func (o *ExternalPackage) SetProprietaryMeta(v string)
- func (o *ExternalPackage) SetSize(v int64)
- func (o *ExternalPackage) SetUri(v string)
- func (o *ExternalPackage) SetVersion(v string)
- func (o ExternalPackage) ToMap() (map[string]interface{}, error)
- func (o *ExternalPackage) UnmarshalJSON(data []byte) (err error)
- type FileInfo
- func (o *FileInfo) GetHashes() string
- func (o *FileInfo) GetHashesOk() (*string, bool)
- func (o *FileInfo) GetLength() int64
- func (o *FileInfo) GetLengthOk() (*int64, bool)
- func (o FileInfo) MarshalJSON() ([]byte, error)
- func (o *FileInfo) SetHashes(v string)
- func (o *FileInfo) SetLength(v int64)
- func (o FileInfo) ToMap() (map[string]interface{}, error)
- func (o *FileInfo) UnmarshalJSON(data []byte) (err error)
- type Fleet
- func (o *Fleet) GetCreatedAt() time.Time
- func (o *Fleet) GetCreatedAtOk() (*time.Time, bool)
- func (o *Fleet) GetExpression() string
- func (o *Fleet) GetExpressionOk() (*string, bool)
- func (o *Fleet) GetFleetType() FleetType
- func (o *Fleet) GetFleetTypeOk() (*FleetType, bool)
- func (o *Fleet) GetId() string
- func (o *Fleet) GetIdOk() (*string, bool)
- func (o *Fleet) GetName() string
- func (o *Fleet) GetNameOk() (*string, bool)
- func (o *Fleet) HasExpression() bool
- func (o Fleet) MarshalJSON() ([]byte, error)
- func (o *Fleet) SetCreatedAt(v time.Time)
- func (o *Fleet) SetExpression(v string)
- func (o *Fleet) SetFleetType(v FleetType)
- func (o *Fleet) SetId(v string)
- func (o *Fleet) SetName(v string)
- func (o Fleet) ToMap() (map[string]interface{}, error)
- func (o *Fleet) UnmarshalJSON(data []byte) (err error)
- type FleetType
- type FleetsAPIService
- func (a *FleetsAPIService) DeleteFleetsFleetid(ctx context.Context, fleetId string) ApiDeleteFleetsFleetidRequest
- func (a *FleetsAPIService) DeleteFleetsFleetidDevices(ctx context.Context, fleetId string) ApiDeleteFleetsFleetidDevicesRequest
- func (a *FleetsAPIService) DeleteFleetsFleetidDevicesExecute(r ApiDeleteFleetsFleetidDevicesRequest) (*http.Response, error)
- func (a *FleetsAPIService) DeleteFleetsFleetidExecute(r ApiDeleteFleetsFleetidRequest) (*http.Response, error)
- func (a *FleetsAPIService) GetFleets(ctx context.Context) ApiGetFleetsRequest
- func (a *FleetsAPIService) GetFleetsExecute(r ApiGetFleetsRequest) (*PaginationResultFleet, *http.Response, error)
- func (a *FleetsAPIService) GetFleetsFleetidDevices(ctx context.Context, fleetId string) ApiGetFleetsFleetidDevicesRequest
- func (a *FleetsAPIService) GetFleetsFleetidDevicesExecute(r ApiGetFleetsFleetidDevicesRequest) (*PaginationResultDeviceInfoBasic, *http.Response, error)
- func (a *FleetsAPIService) PostFleets(ctx context.Context) ApiPostFleetsRequest
- func (a *FleetsAPIService) PostFleetsExecute(r ApiPostFleetsRequest) (string, *http.Response, error)
- func (a *FleetsAPIService) PostFleetsFleetidDevices(ctx context.Context, fleetId string) ApiPostFleetsFleetidDevicesRequest
- func (a *FleetsAPIService) PostFleetsFleetidDevicesExecute(r ApiPostFleetsFleetidDevicesRequest) (*http.Response, error)
- type GenericOpenAPIError
- type Image
- func (o *Image) GetFileinfo() FileInfo
- func (o *Image) GetFileinfoOk() (*FileInfo, bool)
- func (o *Image) GetFilepath() string
- func (o *Image) GetFilepathOk() (*string, bool)
- func (o Image) MarshalJSON() ([]byte, error)
- func (o *Image) SetFileinfo(v FileInfo)
- func (o *Image) SetFilepath(v string)
- func (o Image) ToMap() (map[string]interface{}, error)
- func (o *Image) UnmarshalJSON(data []byte) (err error)
- type InstalledPackage
- func (o *InstalledPackage) GetComponent() string
- func (o *InstalledPackage) GetComponentOk() (*string, bool)
- func (o *InstalledPackage) GetInstalled() PackageInfo
- func (o *InstalledPackage) GetInstalledOk() (*PackageInfo, bool)
- func (o InstalledPackage) MarshalJSON() ([]byte, error)
- func (o *InstalledPackage) SetComponent(v string)
- func (o *InstalledPackage) SetInstalled(v PackageInfo)
- func (o InstalledPackage) ToMap() (map[string]interface{}, error)
- func (o *InstalledPackage) UnmarshalJSON(data []byte) (err error)
- type JsonSignedPayload
- func (o *JsonSignedPayload) GetSignatures() []ClientSignature
- func (o *JsonSignedPayload) GetSignaturesOk() ([]ClientSignature, bool)
- func (o *JsonSignedPayload) GetSigned() interface{}
- func (o *JsonSignedPayload) GetSignedOk() (*interface{}, bool)
- func (o *JsonSignedPayload) HasSignatures() bool
- func (o JsonSignedPayload) MarshalJSON() ([]byte, error)
- func (o *JsonSignedPayload) SetSignatures(v []ClientSignature)
- func (o *JsonSignedPayload) SetSigned(v interface{})
- func (o JsonSignedPayload) ToMap() (map[string]interface{}, error)
- func (o *JsonSignedPayload) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type MetricsResponse
- func (o *MetricsResponse) GetSeries() []Series
- func (o *MetricsResponse) GetSeriesOk() ([]Series, bool)
- func (o *MetricsResponse) HasSeries() bool
- func (o MetricsResponse) MarshalJSON() ([]byte, error)
- func (o *MetricsResponse) SetSeries(v []Series)
- func (o MetricsResponse) ToMap() (map[string]interface{}, error)
- type NetworkInfo
- func (o *NetworkInfo) GetDeviceUuid() string
- func (o *NetworkInfo) GetDeviceUuidOk() (*string, bool)
- func (o *NetworkInfo) GetHostname() string
- func (o *NetworkInfo) GetHostnameOk() (*string, bool)
- func (o *NetworkInfo) GetLocalIpV4() string
- func (o *NetworkInfo) GetLocalIpV4Ok() (*string, bool)
- func (o *NetworkInfo) GetMacAddress() string
- func (o *NetworkInfo) GetMacAddressOk() (*string, bool)
- func (o *NetworkInfo) HasHostname() bool
- func (o *NetworkInfo) HasLocalIpV4() bool
- func (o *NetworkInfo) HasMacAddress() bool
- func (o NetworkInfo) MarshalJSON() ([]byte, error)
- func (o *NetworkInfo) SetDeviceUuid(v string)
- func (o *NetworkInfo) SetHostname(v string)
- func (o *NetworkInfo) SetLocalIpV4(v string)
- func (o *NetworkInfo) SetMacAddress(v string)
- func (o NetworkInfo) ToMap() (map[string]interface{}, error)
- func (o *NetworkInfo) UnmarshalJSON(data []byte) (err error)
- type NotFoundRepr
- func (o *NotFoundRepr) GetCause() string
- func (o *NotFoundRepr) GetCauseOk() (*string, bool)
- func (o *NotFoundRepr) GetCode() string
- func (o *NotFoundRepr) GetCodeOk() (*string, bool)
- func (o *NotFoundRepr) GetDescription() string
- func (o *NotFoundRepr) GetDescriptionOk() (*string, bool)
- func (o *NotFoundRepr) GetErrorId() string
- func (o *NotFoundRepr) GetErrorIdOk() (*string, bool)
- func (o *NotFoundRepr) GetMsg() string
- func (o *NotFoundRepr) GetMsgOk() (*string, bool)
- func (o *NotFoundRepr) HasCause() bool
- func (o *NotFoundRepr) HasDescription() bool
- func (o *NotFoundRepr) HasErrorId() bool
- func (o NotFoundRepr) MarshalJSON() ([]byte, error)
- func (o *NotFoundRepr) SetCause(v string)
- func (o *NotFoundRepr) SetCode(v string)
- func (o *NotFoundRepr) SetDescription(v string)
- func (o *NotFoundRepr) SetErrorId(v string)
- func (o *NotFoundRepr) SetMsg(v string)
- func (o NotFoundRepr) ToMap() (map[string]interface{}, error)
- func (o *NotFoundRepr) UnmarshalJSON(data []byte) (err error)
- type NullableBadRequestRepr
- func (v NullableBadRequestRepr) Get() *BadRequestRepr
- func (v NullableBadRequestRepr) IsSet() bool
- func (v NullableBadRequestRepr) MarshalJSON() ([]byte, error)
- func (v *NullableBadRequestRepr) Set(val *BadRequestRepr)
- func (v *NullableBadRequestRepr) UnmarshalJSON(src []byte) error
- func (v *NullableBadRequestRepr) Unset()
- type NullableBool
- type NullableClientSignature
- func (v NullableClientSignature) Get() *ClientSignature
- func (v NullableClientSignature) IsSet() bool
- func (v NullableClientSignature) MarshalJSON() ([]byte, error)
- func (v *NullableClientSignature) Set(val *ClientSignature)
- func (v *NullableClientSignature) UnmarshalJSON(src []byte) error
- func (v *NullableClientSignature) Unset()
- type NullableConflictRepr
- func (v NullableConflictRepr) Get() *ConflictRepr
- func (v NullableConflictRepr) IsSet() bool
- func (v NullableConflictRepr) MarshalJSON() ([]byte, error)
- func (v *NullableConflictRepr) Set(val *ConflictRepr)
- func (v *NullableConflictRepr) UnmarshalJSON(src []byte) error
- func (v *NullableConflictRepr) Unset()
- type NullableCreateFleet
- func (v NullableCreateFleet) Get() *CreateFleet
- func (v NullableCreateFleet) IsSet() bool
- func (v NullableCreateFleet) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFleet) Set(val *CreateFleet)
- func (v *NullableCreateFleet) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFleet) Unset()
- type NullableCreateLockboxRequest
- func (v NullableCreateLockboxRequest) Get() *CreateLockboxRequest
- func (v NullableCreateLockboxRequest) IsSet() bool
- func (v NullableCreateLockboxRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateLockboxRequest) Set(val *CreateLockboxRequest)
- func (v *NullableCreateLockboxRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateLockboxRequest) Unset()
- type NullableCustomUpdateData
- func (v NullableCustomUpdateData) Get() *CustomUpdateData
- func (v NullableCustomUpdateData) IsSet() bool
- func (v NullableCustomUpdateData) MarshalJSON() ([]byte, error)
- func (v *NullableCustomUpdateData) Set(val *CustomUpdateData)
- func (v *NullableCustomUpdateData) UnmarshalJSON(src []byte) error
- func (v *NullableCustomUpdateData) Unset()
- type NullableDelegationInfo
- func (v NullableDelegationInfo) Get() *DelegationInfo
- func (v NullableDelegationInfo) IsSet() bool
- func (v NullableDelegationInfo) MarshalJSON() ([]byte, error)
- func (v *NullableDelegationInfo) Set(val *DelegationInfo)
- func (v *NullableDelegationInfo) UnmarshalJSON(src []byte) error
- func (v *NullableDelegationInfo) Unset()
- type NullableDeviceCreateReq
- func (v NullableDeviceCreateReq) Get() *DeviceCreateReq
- func (v NullableDeviceCreateReq) IsSet() bool
- func (v NullableDeviceCreateReq) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceCreateReq) Set(val *DeviceCreateReq)
- func (v *NullableDeviceCreateReq) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceCreateReq) Unset()
- type NullableDeviceInfoBasic
- func (v NullableDeviceInfoBasic) Get() *DeviceInfoBasic
- func (v NullableDeviceInfoBasic) IsSet() bool
- func (v NullableDeviceInfoBasic) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceInfoBasic) Set(val *DeviceInfoBasic)
- func (v *NullableDeviceInfoBasic) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceInfoBasic) Unset()
- type NullableDeviceInfoExtended
- func (v NullableDeviceInfoExtended) Get() *DeviceInfoExtended
- func (v NullableDeviceInfoExtended) IsSet() bool
- func (v NullableDeviceInfoExtended) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceInfoExtended) Set(val *DeviceInfoExtended)
- func (v *NullableDeviceInfoExtended) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceInfoExtended) Unset()
- type NullableDevicePackage
- func (v NullableDevicePackage) Get() *DevicePackage
- func (v NullableDevicePackage) IsSet() bool
- func (v NullableDevicePackage) MarshalJSON() ([]byte, error)
- func (v *NullableDevicePackage) Set(val *DevicePackage)
- func (v *NullableDevicePackage) UnmarshalJSON(src []byte) error
- func (v *NullableDevicePackage) Unset()
- type NullableDevicePackages
- func (v NullableDevicePackages) Get() *DevicePackages
- func (v NullableDevicePackages) IsSet() bool
- func (v NullableDevicePackages) MarshalJSON() ([]byte, error)
- func (v *NullableDevicePackages) Set(val *DevicePackages)
- func (v *NullableDevicePackages) UnmarshalJSON(src []byte) error
- func (v *NullableDevicePackages) Unset()
- type NullableDeviceSort
- type NullableDeviceSortDirection
- func (v NullableDeviceSortDirection) Get() *DeviceSortDirection
- func (v NullableDeviceSortDirection) IsSet() bool
- func (v NullableDeviceSortDirection) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceSortDirection) Set(val *DeviceSortDirection)
- func (v *NullableDeviceSortDirection) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceSortDirection) Unset()
- type NullableDeviceStatus
- func (v NullableDeviceStatus) Get() *DeviceStatus
- func (v NullableDeviceStatus) IsSet() bool
- func (v NullableDeviceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceStatus) Set(val *DeviceStatus)
- func (v *NullableDeviceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceStatus) Unset()
- type NullableEcuInfoImage
- func (v NullableEcuInfoImage) Get() *EcuInfoImage
- func (v NullableEcuInfoImage) IsSet() bool
- func (v NullableEcuInfoImage) MarshalJSON() ([]byte, error)
- func (v *NullableEcuInfoImage) Set(val *EcuInfoImage)
- func (v *NullableEcuInfoImage) UnmarshalJSON(src []byte) error
- func (v *NullableEcuInfoImage) Unset()
- type NullableEcuInfoResponse
- func (v NullableEcuInfoResponse) Get() *EcuInfoResponse
- func (v NullableEcuInfoResponse) IsSet() bool
- func (v NullableEcuInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEcuInfoResponse) Set(val *EcuInfoResponse)
- func (v *NullableEcuInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEcuInfoResponse) Unset()
- type NullableEditPackage
- func (v NullableEditPackage) Get() *EditPackage
- func (v NullableEditPackage) IsSet() bool
- func (v NullableEditPackage) MarshalJSON() ([]byte, error)
- func (v *NullableEditPackage) Set(val *EditPackage)
- func (v *NullableEditPackage) UnmarshalJSON(src []byte) error
- func (v *NullableEditPackage) Unset()
- type NullableErrorRepresentation
- func (v NullableErrorRepresentation) Get() *ErrorRepresentation
- func (v NullableErrorRepresentation) IsSet() bool
- func (v NullableErrorRepresentation) MarshalJSON() ([]byte, error)
- func (v *NullableErrorRepresentation) Set(val *ErrorRepresentation)
- func (v *NullableErrorRepresentation) UnmarshalJSON(src []byte) error
- func (v *NullableErrorRepresentation) Unset()
- type NullableExternalPackage
- func (v NullableExternalPackage) Get() *ExternalPackage
- func (v NullableExternalPackage) IsSet() bool
- func (v NullableExternalPackage) MarshalJSON() ([]byte, error)
- func (v *NullableExternalPackage) Set(val *ExternalPackage)
- func (v *NullableExternalPackage) UnmarshalJSON(src []byte) error
- func (v *NullableExternalPackage) Unset()
- type NullableFileInfo
- type NullableFleet
- type NullableFleetType
- type NullableFloat32
- type NullableFloat64
- type NullableImage
- type NullableInstalledPackage
- func (v NullableInstalledPackage) Get() *InstalledPackage
- func (v NullableInstalledPackage) IsSet() bool
- func (v NullableInstalledPackage) MarshalJSON() ([]byte, error)
- func (v *NullableInstalledPackage) Set(val *InstalledPackage)
- func (v *NullableInstalledPackage) UnmarshalJSON(src []byte) error
- func (v *NullableInstalledPackage) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJsonSignedPayload
- func (v NullableJsonSignedPayload) Get() *JsonSignedPayload
- func (v NullableJsonSignedPayload) IsSet() bool
- func (v NullableJsonSignedPayload) MarshalJSON() ([]byte, error)
- func (v *NullableJsonSignedPayload) Set(val *JsonSignedPayload)
- func (v *NullableJsonSignedPayload) UnmarshalJSON(src []byte) error
- func (v *NullableJsonSignedPayload) Unset()
- type NullableMetricsResponse
- func (v NullableMetricsResponse) Get() *MetricsResponse
- func (v NullableMetricsResponse) IsSet() bool
- func (v NullableMetricsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMetricsResponse) Set(val *MetricsResponse)
- func (v *NullableMetricsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMetricsResponse) Unset()
- type NullableNetworkInfo
- func (v NullableNetworkInfo) Get() *NetworkInfo
- func (v NullableNetworkInfo) IsSet() bool
- func (v NullableNetworkInfo) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkInfo) Set(val *NetworkInfo)
- func (v *NullableNetworkInfo) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkInfo) Unset()
- type NullableNotFoundRepr
- func (v NullableNotFoundRepr) Get() *NotFoundRepr
- func (v NullableNotFoundRepr) IsSet() bool
- func (v NullableNotFoundRepr) MarshalJSON() ([]byte, error)
- func (v *NullableNotFoundRepr) Set(val *NotFoundRepr)
- func (v *NullableNotFoundRepr) UnmarshalJSON(src []byte) error
- func (v *NullableNotFoundRepr) Unset()
- type NullablePackage
- type NullablePackageInfo
- func (v NullablePackageInfo) Get() *PackageInfo
- func (v NullablePackageInfo) IsSet() bool
- func (v NullablePackageInfo) MarshalJSON() ([]byte, error)
- func (v *NullablePackageInfo) Set(val *PackageInfo)
- func (v *NullablePackageInfo) UnmarshalJSON(src []byte) error
- func (v *NullablePackageInfo) Unset()
- type NullablePaginationResultDeviceInfoBasic
- func (v NullablePaginationResultDeviceInfoBasic) Get() *PaginationResultDeviceInfoBasic
- func (v NullablePaginationResultDeviceInfoBasic) IsSet() bool
- func (v NullablePaginationResultDeviceInfoBasic) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationResultDeviceInfoBasic) Set(val *PaginationResultDeviceInfoBasic)
- func (v *NullablePaginationResultDeviceInfoBasic) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationResultDeviceInfoBasic) Unset()
- type NullablePaginationResultDevicePackages
- func (v NullablePaginationResultDevicePackages) Get() *PaginationResultDevicePackages
- func (v NullablePaginationResultDevicePackages) IsSet() bool
- func (v NullablePaginationResultDevicePackages) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationResultDevicePackages) Set(val *PaginationResultDevicePackages)
- func (v *NullablePaginationResultDevicePackages) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationResultDevicePackages) Unset()
- type NullablePaginationResultExternalPackage
- func (v NullablePaginationResultExternalPackage) Get() *PaginationResultExternalPackage
- func (v NullablePaginationResultExternalPackage) IsSet() bool
- func (v NullablePaginationResultExternalPackage) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationResultExternalPackage) Set(val *PaginationResultExternalPackage)
- func (v *NullablePaginationResultExternalPackage) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationResultExternalPackage) Unset()
- type NullablePaginationResultFleet
- func (v NullablePaginationResultFleet) Get() *PaginationResultFleet
- func (v NullablePaginationResultFleet) IsSet() bool
- func (v NullablePaginationResultFleet) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationResultFleet) Set(val *PaginationResultFleet)
- func (v *NullablePaginationResultFleet) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationResultFleet) Unset()
- type NullablePaginationResultNetworkInfo
- func (v NullablePaginationResultNetworkInfo) Get() *PaginationResultNetworkInfo
- func (v NullablePaginationResultNetworkInfo) IsSet() bool
- func (v NullablePaginationResultNetworkInfo) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationResultNetworkInfo) Set(val *PaginationResultNetworkInfo)
- func (v *NullablePaginationResultNetworkInfo) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationResultNetworkInfo) Unset()
- type NullablePaginationResultPackage
- func (v NullablePaginationResultPackage) Get() *PaginationResultPackage
- func (v NullablePaginationResultPackage) IsSet() bool
- func (v NullablePaginationResultPackage) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationResultPackage) Set(val *PaginationResultPackage)
- func (v *NullablePaginationResultPackage) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationResultPackage) Unset()
- type NullablePaginationResultString
- func (v NullablePaginationResultString) Get() *PaginationResultString
- func (v NullablePaginationResultString) IsSet() bool
- func (v NullablePaginationResultString) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationResultString) Set(val *PaginationResultString)
- func (v *NullablePaginationResultString) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationResultString) Unset()
- type NullableProvisionInfo
- func (v NullableProvisionInfo) Get() *ProvisionInfo
- func (v NullableProvisionInfo) IsSet() bool
- func (v NullableProvisionInfo) MarshalJSON() ([]byte, error)
- func (v *NullableProvisionInfo) Set(val *ProvisionInfo)
- func (v *NullableProvisionInfo) UnmarshalJSON(src []byte) error
- func (v *NullableProvisionInfo) Unset()
- type NullableQueueResponse
- func (v NullableQueueResponse) Get() *QueueResponse
- func (v NullableQueueResponse) IsSet() bool
- func (v NullableQueueResponse) MarshalJSON() ([]byte, error)
- func (v *NullableQueueResponse) Set(val *QueueResponse)
- func (v *NullableQueueResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQueueResponse) Unset()
- type NullableRangeNotSatisfiableRepr
- func (v NullableRangeNotSatisfiableRepr) Get() *RangeNotSatisfiableRepr
- func (v NullableRangeNotSatisfiableRepr) IsSet() bool
- func (v NullableRangeNotSatisfiableRepr) MarshalJSON() ([]byte, error)
- func (v *NullableRangeNotSatisfiableRepr) Set(val *RangeNotSatisfiableRepr)
- func (v *NullableRangeNotSatisfiableRepr) UnmarshalJSON(src []byte) error
- func (v *NullableRangeNotSatisfiableRepr) Unset()
- type NullableSeries
- type NullableSeriesMeta
- type NullableSignatureMethod
- func (v NullableSignatureMethod) Get() *SignatureMethod
- func (v NullableSignatureMethod) IsSet() bool
- func (v NullableSignatureMethod) MarshalJSON() ([]byte, error)
- func (v *NullableSignatureMethod) Set(val *SignatureMethod)
- func (v *NullableSignatureMethod) UnmarshalJSON(src []byte) error
- func (v *NullableSignatureMethod) Unset()
- type NullableSimpleDeviceInfo
- func (v NullableSimpleDeviceInfo) Get() *SimpleDeviceInfo
- func (v NullableSimpleDeviceInfo) IsSet() bool
- func (v NullableSimpleDeviceInfo) MarshalJSON() ([]byte, error)
- func (v *NullableSimpleDeviceInfo) Set(val *SimpleDeviceInfo)
- func (v *NullableSimpleDeviceInfo) UnmarshalJSON(src []byte) error
- func (v *NullableSimpleDeviceInfo) Unset()
- type NullableSimpleDeviceNotAffectedInfo
- func (v NullableSimpleDeviceNotAffectedInfo) Get() *SimpleDeviceNotAffectedInfo
- func (v NullableSimpleDeviceNotAffectedInfo) IsSet() bool
- func (v NullableSimpleDeviceNotAffectedInfo) MarshalJSON() ([]byte, error)
- func (v *NullableSimpleDeviceNotAffectedInfo) Set(val *SimpleDeviceNotAffectedInfo)
- func (v *NullableSimpleDeviceNotAffectedInfo) UnmarshalJSON(src []byte) error
- func (v *NullableSimpleDeviceNotAffectedInfo) Unset()
- type NullableString
- type NullableTargetImage
- func (v NullableTargetImage) Get() *TargetImage
- func (v NullableTargetImage) IsSet() bool
- func (v NullableTargetImage) MarshalJSON() ([]byte, error)
- func (v *NullableTargetImage) Set(val *TargetImage)
- func (v *NullableTargetImage) UnmarshalJSON(src []byte) error
- func (v *NullableTargetImage) Unset()
- type NullableTime
- type NullableTimeAggregation
- func (v NullableTimeAggregation) Get() *TimeAggregation
- func (v NullableTimeAggregation) IsSet() bool
- func (v NullableTimeAggregation) MarshalJSON() ([]byte, error)
- func (v *NullableTimeAggregation) Set(val *TimeAggregation)
- func (v *NullableTimeAggregation) UnmarshalJSON(src []byte) error
- func (v *NullableTimeAggregation) Unset()
- type NullableTimeAggregationMethod
- func (v NullableTimeAggregationMethod) Get() *TimeAggregationMethod
- func (v NullableTimeAggregationMethod) IsSet() bool
- func (v NullableTimeAggregationMethod) MarshalJSON() ([]byte, error)
- func (v *NullableTimeAggregationMethod) Set(val *TimeAggregationMethod)
- func (v *NullableTimeAggregationMethod) UnmarshalJSON(src []byte) error
- func (v *NullableTimeAggregationMethod) Unset()
- type NullableTuple2DeviceTagIdDeviceTagValue
- func (v NullableTuple2DeviceTagIdDeviceTagValue) Get() *Tuple2DeviceTagIdDeviceTagValue
- func (v NullableTuple2DeviceTagIdDeviceTagValue) IsSet() bool
- func (v NullableTuple2DeviceTagIdDeviceTagValue) MarshalJSON() ([]byte, error)
- func (v *NullableTuple2DeviceTagIdDeviceTagValue) Set(val *Tuple2DeviceTagIdDeviceTagValue)
- func (v *NullableTuple2DeviceTagIdDeviceTagValue) UnmarshalJSON(src []byte) error
- func (v *NullableTuple2DeviceTagIdDeviceTagValue) Unset()
- type NullableTuple2LongOptionDouble
- func (v NullableTuple2LongOptionDouble) Get() *Tuple2LongOptionDouble
- func (v NullableTuple2LongOptionDouble) IsSet() bool
- func (v NullableTuple2LongOptionDouble) MarshalJSON() ([]byte, error)
- func (v *NullableTuple2LongOptionDouble) Set(val *Tuple2LongOptionDouble)
- func (v *NullableTuple2LongOptionDouble) UnmarshalJSON(src []byte) error
- func (v *NullableTuple2LongOptionDouble) Unset()
- type NullableUpdateCreateResult
- func (v NullableUpdateCreateResult) Get() *UpdateCreateResult
- func (v NullableUpdateCreateResult) IsSet() bool
- func (v NullableUpdateCreateResult) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCreateResult) Set(val *UpdateCreateResult)
- func (v *NullableUpdateCreateResult) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCreateResult) Unset()
- type NullableUpdateHibernationStatusRequest
- func (v NullableUpdateHibernationStatusRequest) Get() *UpdateHibernationStatusRequest
- func (v NullableUpdateHibernationStatusRequest) IsSet() bool
- func (v NullableUpdateHibernationStatusRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateHibernationStatusRequest) Set(val *UpdateHibernationStatusRequest)
- func (v *NullableUpdateHibernationStatusRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateHibernationStatusRequest) Unset()
- type NullableUpdateRequest
- func (v NullableUpdateRequest) Get() *UpdateRequest
- func (v NullableUpdateRequest) IsSet() bool
- func (v NullableUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRequest) Set(val *UpdateRequest)
- func (v *NullableUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRequest) Unset()
- type NullableUpstreamEndpointErrorRepr
- func (v NullableUpstreamEndpointErrorRepr) Get() *UpstreamEndpointErrorRepr
- func (v NullableUpstreamEndpointErrorRepr) IsSet() bool
- func (v NullableUpstreamEndpointErrorRepr) MarshalJSON() ([]byte, error)
- func (v *NullableUpstreamEndpointErrorRepr) Set(val *UpstreamEndpointErrorRepr)
- func (v *NullableUpstreamEndpointErrorRepr) UnmarshalJSON(src []byte) error
- func (v *NullableUpstreamEndpointErrorRepr) Unset()
- type Package
- func (o *Package) GetComment() string
- func (o *Package) GetCommentOk() (*string, bool)
- func (o *Package) GetCreatedAt() time.Time
- func (o *Package) GetCreatedAtOk() (*time.Time, bool)
- func (o *Package) GetHardwareIds() []string
- func (o *Package) GetHardwareIdsOk() ([]string, bool)
- func (o *Package) GetHashes() map[string]string
- func (o *Package) GetHashesOk() (*map[string]string, bool)
- func (o *Package) GetName() string
- func (o *Package) GetNameOk() (*string, bool)
- func (o *Package) GetPackageId() string
- func (o *Package) GetPackageIdOk() (*string, bool)
- func (o *Package) GetPkgType() string
- func (o *Package) GetPkgTypeOk() (*string, bool)
- func (o *Package) GetProprietaryMeta() string
- func (o *Package) GetProprietaryMetaOk() (*string, bool)
- func (o *Package) GetSize() int64
- func (o *Package) GetSizeOk() (*int64, bool)
- func (o *Package) GetUri() string
- func (o *Package) GetUriOk() (*string, bool)
- func (o *Package) GetVersion() string
- func (o *Package) GetVersionOk() (*string, bool)
- func (o *Package) HasComment() bool
- func (o *Package) HasCreatedAt() bool
- func (o *Package) HasHardwareIds() bool
- func (o *Package) HasPkgType() bool
- func (o *Package) HasProprietaryMeta() bool
- func (o *Package) HasUri() bool
- func (o Package) MarshalJSON() ([]byte, error)
- func (o *Package) SetComment(v string)
- func (o *Package) SetCreatedAt(v time.Time)
- func (o *Package) SetHardwareIds(v []string)
- func (o *Package) SetHashes(v map[string]string)
- func (o *Package) SetName(v string)
- func (o *Package) SetPackageId(v string)
- func (o *Package) SetPkgType(v string)
- func (o *Package) SetProprietaryMeta(v string)
- func (o *Package) SetSize(v int64)
- func (o *Package) SetUri(v string)
- func (o *Package) SetVersion(v string)
- func (o Package) ToMap() (map[string]interface{}, error)
- func (o *Package) UnmarshalJSON(data []byte) (err error)
- type PackageInfo
- func (o *PackageInfo) GetChecksum() string
- func (o *PackageInfo) GetChecksumOk() (*string, bool)
- func (o *PackageInfo) GetPackageName() string
- func (o *PackageInfo) GetPackageNameOk() (*string, bool)
- func (o *PackageInfo) GetPackageVersion() string
- func (o *PackageInfo) GetPackageVersionOk() (*string, bool)
- func (o PackageInfo) MarshalJSON() ([]byte, error)
- func (o *PackageInfo) SetChecksum(v string)
- func (o *PackageInfo) SetPackageName(v string)
- func (o *PackageInfo) SetPackageVersion(v string)
- func (o PackageInfo) ToMap() (map[string]interface{}, error)
- func (o *PackageInfo) UnmarshalJSON(data []byte) (err error)
- type PackagesAPIService
- func (a *PackagesAPIService) DeletePackagesPackageid(ctx context.Context, packageId string) ApiDeletePackagesPackageidRequest
- func (a *PackagesAPIService) DeletePackagesPackageidExecute(r ApiDeletePackagesPackageidRequest) (*http.Response, error)
- func (a *PackagesAPIService) GetPackages(ctx context.Context) ApiGetPackagesRequest
- func (a *PackagesAPIService) GetPackagesExecute(r ApiGetPackagesRequest) (*PaginationResultPackage, *http.Response, error)
- func (a *PackagesAPIService) GetPackagesExternal(ctx context.Context) ApiGetPackagesExternalRequest
- func (a *PackagesAPIService) GetPackagesExternalExecute(r ApiGetPackagesExternalRequest) (*PaginationResultExternalPackage, *http.Response, error)
- func (a *PackagesAPIService) GetPackagesExternalInfo(ctx context.Context) ApiGetPackagesExternalInfoRequest
- func (a *PackagesAPIService) GetPackagesExternalInfoExecute(r ApiGetPackagesExternalInfoRequest) (*map[string]DelegationInfo, *http.Response, error)
- func (a *PackagesAPIService) GetPackagesExternalRefreshSourceFileName(ctx context.Context, sourceFileName string) ApiGetPackagesExternalRefreshSourceFileNameRequest
- func (a *PackagesAPIService) GetPackagesExternalRefreshSourceFileNameExecute(r ApiGetPackagesExternalRefreshSourceFileNameRequest) (*http.Response, error)
- func (a *PackagesAPIService) PatchPackagesPackageid(ctx context.Context, packageId string) ApiPatchPackagesPackageidRequest
- func (a *PackagesAPIService) PatchPackagesPackageidExecute(r ApiPatchPackagesPackageidRequest) (*Package, *http.Response, error)
- func (a *PackagesAPIService) PostPackages(ctx context.Context) ApiPostPackagesRequest
- func (a *PackagesAPIService) PostPackagesExecute(r ApiPostPackagesRequest) (*Package, *http.Response, error)
- type PaginationResultDeviceInfoBasic
- func (o *PaginationResultDeviceInfoBasic) GetLimit() int64
- func (o *PaginationResultDeviceInfoBasic) GetLimitOk() (*int64, bool)
- func (o *PaginationResultDeviceInfoBasic) GetOffset() int64
- func (o *PaginationResultDeviceInfoBasic) GetOffsetOk() (*int64, bool)
- func (o *PaginationResultDeviceInfoBasic) GetTotal() int64
- func (o *PaginationResultDeviceInfoBasic) GetTotalOk() (*int64, bool)
- func (o *PaginationResultDeviceInfoBasic) GetValues() []DeviceInfoBasic
- func (o *PaginationResultDeviceInfoBasic) GetValuesOk() ([]DeviceInfoBasic, bool)
- func (o *PaginationResultDeviceInfoBasic) HasValues() bool
- func (o PaginationResultDeviceInfoBasic) MarshalJSON() ([]byte, error)
- func (o *PaginationResultDeviceInfoBasic) SetLimit(v int64)
- func (o *PaginationResultDeviceInfoBasic) SetOffset(v int64)
- func (o *PaginationResultDeviceInfoBasic) SetTotal(v int64)
- func (o *PaginationResultDeviceInfoBasic) SetValues(v []DeviceInfoBasic)
- func (o PaginationResultDeviceInfoBasic) ToMap() (map[string]interface{}, error)
- func (o *PaginationResultDeviceInfoBasic) UnmarshalJSON(data []byte) (err error)
- type PaginationResultDevicePackages
- func (o *PaginationResultDevicePackages) GetLimit() int64
- func (o *PaginationResultDevicePackages) GetLimitOk() (*int64, bool)
- func (o *PaginationResultDevicePackages) GetOffset() int64
- func (o *PaginationResultDevicePackages) GetOffsetOk() (*int64, bool)
- func (o *PaginationResultDevicePackages) GetTotal() int64
- func (o *PaginationResultDevicePackages) GetTotalOk() (*int64, bool)
- func (o *PaginationResultDevicePackages) GetValues() []DevicePackages
- func (o *PaginationResultDevicePackages) GetValuesOk() ([]DevicePackages, bool)
- func (o *PaginationResultDevicePackages) HasValues() bool
- func (o PaginationResultDevicePackages) MarshalJSON() ([]byte, error)
- func (o *PaginationResultDevicePackages) SetLimit(v int64)
- func (o *PaginationResultDevicePackages) SetOffset(v int64)
- func (o *PaginationResultDevicePackages) SetTotal(v int64)
- func (o *PaginationResultDevicePackages) SetValues(v []DevicePackages)
- func (o PaginationResultDevicePackages) ToMap() (map[string]interface{}, error)
- func (o *PaginationResultDevicePackages) UnmarshalJSON(data []byte) (err error)
- type PaginationResultExternalPackage
- func (o *PaginationResultExternalPackage) GetLimit() int64
- func (o *PaginationResultExternalPackage) GetLimitOk() (*int64, bool)
- func (o *PaginationResultExternalPackage) GetOffset() int64
- func (o *PaginationResultExternalPackage) GetOffsetOk() (*int64, bool)
- func (o *PaginationResultExternalPackage) GetTotal() int64
- func (o *PaginationResultExternalPackage) GetTotalOk() (*int64, bool)
- func (o *PaginationResultExternalPackage) GetValues() []ExternalPackage
- func (o *PaginationResultExternalPackage) GetValuesOk() ([]ExternalPackage, bool)
- func (o *PaginationResultExternalPackage) HasValues() bool
- func (o PaginationResultExternalPackage) MarshalJSON() ([]byte, error)
- func (o *PaginationResultExternalPackage) SetLimit(v int64)
- func (o *PaginationResultExternalPackage) SetOffset(v int64)
- func (o *PaginationResultExternalPackage) SetTotal(v int64)
- func (o *PaginationResultExternalPackage) SetValues(v []ExternalPackage)
- func (o PaginationResultExternalPackage) ToMap() (map[string]interface{}, error)
- func (o *PaginationResultExternalPackage) UnmarshalJSON(data []byte) (err error)
- type PaginationResultFleet
- func (o *PaginationResultFleet) GetLimit() int64
- func (o *PaginationResultFleet) GetLimitOk() (*int64, bool)
- func (o *PaginationResultFleet) GetOffset() int64
- func (o *PaginationResultFleet) GetOffsetOk() (*int64, bool)
- func (o *PaginationResultFleet) GetTotal() int64
- func (o *PaginationResultFleet) GetTotalOk() (*int64, bool)
- func (o *PaginationResultFleet) GetValues() []Fleet
- func (o *PaginationResultFleet) GetValuesOk() ([]Fleet, bool)
- func (o *PaginationResultFleet) HasValues() bool
- func (o PaginationResultFleet) MarshalJSON() ([]byte, error)
- func (o *PaginationResultFleet) SetLimit(v int64)
- func (o *PaginationResultFleet) SetOffset(v int64)
- func (o *PaginationResultFleet) SetTotal(v int64)
- func (o *PaginationResultFleet) SetValues(v []Fleet)
- func (o PaginationResultFleet) ToMap() (map[string]interface{}, error)
- func (o *PaginationResultFleet) UnmarshalJSON(data []byte) (err error)
- type PaginationResultNetworkInfo
- func (o *PaginationResultNetworkInfo) GetLimit() int64
- func (o *PaginationResultNetworkInfo) GetLimitOk() (*int64, bool)
- func (o *PaginationResultNetworkInfo) GetOffset() int64
- func (o *PaginationResultNetworkInfo) GetOffsetOk() (*int64, bool)
- func (o *PaginationResultNetworkInfo) GetTotal() int64
- func (o *PaginationResultNetworkInfo) GetTotalOk() (*int64, bool)
- func (o *PaginationResultNetworkInfo) GetValues() []NetworkInfo
- func (o *PaginationResultNetworkInfo) GetValuesOk() ([]NetworkInfo, bool)
- func (o *PaginationResultNetworkInfo) HasValues() bool
- func (o PaginationResultNetworkInfo) MarshalJSON() ([]byte, error)
- func (o *PaginationResultNetworkInfo) SetLimit(v int64)
- func (o *PaginationResultNetworkInfo) SetOffset(v int64)
- func (o *PaginationResultNetworkInfo) SetTotal(v int64)
- func (o *PaginationResultNetworkInfo) SetValues(v []NetworkInfo)
- func (o PaginationResultNetworkInfo) ToMap() (map[string]interface{}, error)
- func (o *PaginationResultNetworkInfo) UnmarshalJSON(data []byte) (err error)
- type PaginationResultPackage
- func (o *PaginationResultPackage) GetLimit() int64
- func (o *PaginationResultPackage) GetLimitOk() (*int64, bool)
- func (o *PaginationResultPackage) GetOffset() int64
- func (o *PaginationResultPackage) GetOffsetOk() (*int64, bool)
- func (o *PaginationResultPackage) GetTotal() int64
- func (o *PaginationResultPackage) GetTotalOk() (*int64, bool)
- func (o *PaginationResultPackage) GetValues() []Package
- func (o *PaginationResultPackage) GetValuesOk() ([]Package, bool)
- func (o *PaginationResultPackage) HasValues() bool
- func (o PaginationResultPackage) MarshalJSON() ([]byte, error)
- func (o *PaginationResultPackage) SetLimit(v int64)
- func (o *PaginationResultPackage) SetOffset(v int64)
- func (o *PaginationResultPackage) SetTotal(v int64)
- func (o *PaginationResultPackage) SetValues(v []Package)
- func (o PaginationResultPackage) ToMap() (map[string]interface{}, error)
- func (o *PaginationResultPackage) UnmarshalJSON(data []byte) (err error)
- type PaginationResultString
- func (o *PaginationResultString) GetLimit() int64
- func (o *PaginationResultString) GetLimitOk() (*int64, bool)
- func (o *PaginationResultString) GetOffset() int64
- func (o *PaginationResultString) GetOffsetOk() (*int64, bool)
- func (o *PaginationResultString) GetTotal() int64
- func (o *PaginationResultString) GetTotalOk() (*int64, bool)
- func (o *PaginationResultString) GetValues() []string
- func (o *PaginationResultString) GetValuesOk() ([]string, bool)
- func (o *PaginationResultString) HasValues() bool
- func (o PaginationResultString) MarshalJSON() ([]byte, error)
- func (o *PaginationResultString) SetLimit(v int64)
- func (o *PaginationResultString) SetOffset(v int64)
- func (o *PaginationResultString) SetTotal(v int64)
- func (o *PaginationResultString) SetValues(v []string)
- func (o PaginationResultString) ToMap() (map[string]interface{}, error)
- func (o *PaginationResultString) UnmarshalJSON(data []byte) (err error)
- type ProvisionInfo
- func (o *ProvisionInfo) GetAutoProvUrl() string
- func (o *ProvisionInfo) GetAutoProvUrlOk() (*string, bool)
- func (o *ProvisionInfo) GetGatewayUrl() string
- func (o *ProvisionInfo) GetGatewayUrlOk() (*string, bool)
- func (o *ProvisionInfo) GetProvisionedDevices() int32
- func (o *ProvisionInfo) GetProvisionedDevicesOk() (*int32, bool)
- func (o *ProvisionInfo) GetStandardDeviceLimit() int32
- func (o *ProvisionInfo) GetStandardDeviceLimitOk() (*int32, bool)
- func (o *ProvisionInfo) GetToken() string
- func (o *ProvisionInfo) GetTokenOk() (*string, bool)
- func (o ProvisionInfo) MarshalJSON() ([]byte, error)
- func (o *ProvisionInfo) SetAutoProvUrl(v string)
- func (o *ProvisionInfo) SetGatewayUrl(v string)
- func (o *ProvisionInfo) SetProvisionedDevices(v int32)
- func (o *ProvisionInfo) SetStandardDeviceLimit(v int32)
- func (o *ProvisionInfo) SetToken(v string)
- func (o ProvisionInfo) ToMap() (map[string]interface{}, error)
- func (o *ProvisionInfo) UnmarshalJSON(data []byte) (err error)
- type QueueResponse
- func (o *QueueResponse) GetCorrelationId() string
- func (o *QueueResponse) GetCorrelationIdOk() (*string, bool)
- func (o *QueueResponse) GetInFlight() bool
- func (o *QueueResponse) GetInFlightOk() (*bool, bool)
- func (o *QueueResponse) GetTargets() map[string]TargetImage
- func (o *QueueResponse) GetTargetsOk() (*map[string]TargetImage, bool)
- func (o QueueResponse) MarshalJSON() ([]byte, error)
- func (o *QueueResponse) SetCorrelationId(v string)
- func (o *QueueResponse) SetInFlight(v bool)
- func (o *QueueResponse) SetTargets(v map[string]TargetImage)
- func (o QueueResponse) ToMap() (map[string]interface{}, error)
- func (o *QueueResponse) UnmarshalJSON(data []byte) (err error)
- type RangeNotSatisfiableRepr
- func (o *RangeNotSatisfiableRepr) GetCause() string
- func (o *RangeNotSatisfiableRepr) GetCauseOk() (*string, bool)
- func (o *RangeNotSatisfiableRepr) GetCode() string
- func (o *RangeNotSatisfiableRepr) GetCodeOk() (*string, bool)
- func (o *RangeNotSatisfiableRepr) GetDescription() string
- func (o *RangeNotSatisfiableRepr) GetDescriptionOk() (*string, bool)
- func (o *RangeNotSatisfiableRepr) GetErrorId() string
- func (o *RangeNotSatisfiableRepr) GetErrorIdOk() (*string, bool)
- func (o *RangeNotSatisfiableRepr) GetMsg() string
- func (o *RangeNotSatisfiableRepr) GetMsgOk() (*string, bool)
- func (o *RangeNotSatisfiableRepr) HasCause() bool
- func (o *RangeNotSatisfiableRepr) HasDescription() bool
- func (o *RangeNotSatisfiableRepr) HasErrorId() bool
- func (o RangeNotSatisfiableRepr) MarshalJSON() ([]byte, error)
- func (o *RangeNotSatisfiableRepr) SetCause(v string)
- func (o *RangeNotSatisfiableRepr) SetCode(v string)
- func (o *RangeNotSatisfiableRepr) SetDescription(v string)
- func (o *RangeNotSatisfiableRepr) SetErrorId(v string)
- func (o *RangeNotSatisfiableRepr) SetMsg(v string)
- func (o RangeNotSatisfiableRepr) ToMap() (map[string]interface{}, error)
- func (o *RangeNotSatisfiableRepr) UnmarshalJSON(data []byte) (err error)
- type Series
- func (o *Series) GetMeta() SeriesMeta
- func (o *Series) GetMetaOk() (*SeriesMeta, bool)
- func (o *Series) GetName() string
- func (o *Series) GetNameOk() (*string, bool)
- func (o *Series) GetPoints() []Tuple2LongOptionDouble
- func (o *Series) GetPointsOk() ([]Tuple2LongOptionDouble, bool)
- func (o *Series) HasPoints() bool
- func (o Series) MarshalJSON() ([]byte, error)
- func (o *Series) SetMeta(v SeriesMeta)
- func (o *Series) SetName(v string)
- func (o *Series) SetPoints(v []Tuple2LongOptionDouble)
- func (o Series) ToMap() (map[string]interface{}, error)
- func (o *Series) UnmarshalJSON(data []byte) (err error)
- type SeriesMeta
- func (o *SeriesMeta) GetAggregation() TimeAggregation
- func (o *SeriesMeta) GetAggregationOk() (*TimeAggregation, bool)
- func (o *SeriesMeta) GetDeviceIds() []string
- func (o *SeriesMeta) GetDeviceIdsOk() ([]string, bool)
- func (o *SeriesMeta) HasDeviceIds() bool
- func (o SeriesMeta) MarshalJSON() ([]byte, error)
- func (o *SeriesMeta) SetAggregation(v TimeAggregation)
- func (o *SeriesMeta) SetDeviceIds(v []string)
- func (o SeriesMeta) ToMap() (map[string]interface{}, error)
- func (o *SeriesMeta) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SignatureMethod
- type SimpleDeviceInfo
- func (o *SimpleDeviceInfo) GetDeviceId() string
- func (o *SimpleDeviceInfo) GetDeviceIdOk() (*string, bool)
- func (o *SimpleDeviceInfo) GetDeviceUuid() string
- func (o *SimpleDeviceInfo) GetDeviceUuidOk() (*string, bool)
- func (o *SimpleDeviceInfo) GetName() string
- func (o *SimpleDeviceInfo) GetNameOk() (*string, bool)
- func (o SimpleDeviceInfo) MarshalJSON() ([]byte, error)
- func (o *SimpleDeviceInfo) SetDeviceId(v string)
- func (o *SimpleDeviceInfo) SetDeviceUuid(v string)
- func (o *SimpleDeviceInfo) SetName(v string)
- func (o SimpleDeviceInfo) ToMap() (map[string]interface{}, error)
- func (o *SimpleDeviceInfo) UnmarshalJSON(data []byte) (err error)
- type SimpleDeviceNotAffectedInfo
- func (o *SimpleDeviceNotAffectedInfo) GetDeviceId() string
- func (o *SimpleDeviceNotAffectedInfo) GetDeviceIdOk() (*string, bool)
- func (o *SimpleDeviceNotAffectedInfo) GetDeviceUuid() string
- func (o *SimpleDeviceNotAffectedInfo) GetDeviceUuidOk() (*string, bool)
- func (o *SimpleDeviceNotAffectedInfo) GetEcuErrors() map[string]ErrorRepresentation
- func (o *SimpleDeviceNotAffectedInfo) GetEcuErrorsOk() (*map[string]ErrorRepresentation, bool)
- func (o *SimpleDeviceNotAffectedInfo) GetName() string
- func (o *SimpleDeviceNotAffectedInfo) GetNameOk() (*string, bool)
- func (o SimpleDeviceNotAffectedInfo) MarshalJSON() ([]byte, error)
- func (o *SimpleDeviceNotAffectedInfo) SetDeviceId(v string)
- func (o *SimpleDeviceNotAffectedInfo) SetDeviceUuid(v string)
- func (o *SimpleDeviceNotAffectedInfo) SetEcuErrors(v map[string]ErrorRepresentation)
- func (o *SimpleDeviceNotAffectedInfo) SetName(v string)
- func (o SimpleDeviceNotAffectedInfo) ToMap() (map[string]interface{}, error)
- func (o *SimpleDeviceNotAffectedInfo) UnmarshalJSON(data []byte) (err error)
- type TargetImage
- func (o *TargetImage) GetCreatedAt() time.Time
- func (o *TargetImage) GetCreatedAtOk() (*time.Time, bool)
- func (o *TargetImage) GetImage() Image
- func (o *TargetImage) GetImageOk() (*Image, bool)
- func (o *TargetImage) GetUri() string
- func (o *TargetImage) GetUriOk() (*string, bool)
- func (o *TargetImage) HasUri() bool
- func (o TargetImage) MarshalJSON() ([]byte, error)
- func (o *TargetImage) SetCreatedAt(v time.Time)
- func (o *TargetImage) SetImage(v Image)
- func (o *TargetImage) SetUri(v string)
- func (o TargetImage) ToMap() (map[string]interface{}, error)
- func (o *TargetImage) UnmarshalJSON(data []byte) (err error)
- type TimeAggregation
- func (o *TimeAggregation) GetBucket() string
- func (o *TimeAggregation) GetBucketOk() (*string, bool)
- func (o *TimeAggregation) GetMethod() TimeAggregationMethod
- func (o *TimeAggregation) GetMethodOk() (*TimeAggregationMethod, bool)
- func (o TimeAggregation) MarshalJSON() ([]byte, error)
- func (o *TimeAggregation) SetBucket(v string)
- func (o *TimeAggregation) SetMethod(v TimeAggregationMethod)
- func (o TimeAggregation) ToMap() (map[string]interface{}, error)
- func (o *TimeAggregation) UnmarshalJSON(data []byte) (err error)
- type TimeAggregationMethod
- type Tuple2DeviceTagIdDeviceTagValue
- func (o *Tuple2DeviceTagIdDeviceTagValue) GetVar1() string
- func (o *Tuple2DeviceTagIdDeviceTagValue) GetVar1Ok() (*string, bool)
- func (o *Tuple2DeviceTagIdDeviceTagValue) GetVar2() string
- func (o *Tuple2DeviceTagIdDeviceTagValue) GetVar2Ok() (*string, bool)
- func (o Tuple2DeviceTagIdDeviceTagValue) MarshalJSON() ([]byte, error)
- func (o *Tuple2DeviceTagIdDeviceTagValue) SetVar1(v string)
- func (o *Tuple2DeviceTagIdDeviceTagValue) SetVar2(v string)
- func (o Tuple2DeviceTagIdDeviceTagValue) ToMap() (map[string]interface{}, error)
- func (o *Tuple2DeviceTagIdDeviceTagValue) UnmarshalJSON(data []byte) (err error)
- type Tuple2LongOptionDouble
- func (o *Tuple2LongOptionDouble) GetVar1() int64
- func (o *Tuple2LongOptionDouble) GetVar1Ok() (*int64, bool)
- func (o *Tuple2LongOptionDouble) GetVar2() float64
- func (o *Tuple2LongOptionDouble) GetVar2Ok() (*float64, bool)
- func (o *Tuple2LongOptionDouble) HasVar2() bool
- func (o Tuple2LongOptionDouble) MarshalJSON() ([]byte, error)
- func (o *Tuple2LongOptionDouble) SetVar1(v int64)
- func (o *Tuple2LongOptionDouble) SetVar2(v float64)
- func (o Tuple2LongOptionDouble) ToMap() (map[string]interface{}, error)
- func (o *Tuple2LongOptionDouble) UnmarshalJSON(data []byte) (err error)
- type UpdateCreateResult
- func (o *UpdateCreateResult) GetAffected() []SimpleDeviceInfo
- func (o *UpdateCreateResult) GetAffectedOk() ([]SimpleDeviceInfo, bool)
- func (o *UpdateCreateResult) GetNotAffected() []SimpleDeviceNotAffectedInfo
- func (o *UpdateCreateResult) GetNotAffectedOk() ([]SimpleDeviceNotAffectedInfo, bool)
- func (o *UpdateCreateResult) HasAffected() bool
- func (o *UpdateCreateResult) HasNotAffected() bool
- func (o UpdateCreateResult) MarshalJSON() ([]byte, error)
- func (o *UpdateCreateResult) SetAffected(v []SimpleDeviceInfo)
- func (o *UpdateCreateResult) SetNotAffected(v []SimpleDeviceNotAffectedInfo)
- func (o UpdateCreateResult) ToMap() (map[string]interface{}, error)
- type UpdateHibernationStatusRequest
- func (o *UpdateHibernationStatusRequest) GetStatus() bool
- func (o *UpdateHibernationStatusRequest) GetStatusOk() (*bool, bool)
- func (o UpdateHibernationStatusRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateHibernationStatusRequest) SetStatus(v bool)
- func (o UpdateHibernationStatusRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateHibernationStatusRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateRequest
- func (o *UpdateRequest) GetCustom() map[string]CustomUpdateData
- func (o *UpdateRequest) GetCustomOk() (*map[string]CustomUpdateData, bool)
- func (o *UpdateRequest) GetDevices() []string
- func (o *UpdateRequest) GetDevicesOk() ([]string, bool)
- func (o *UpdateRequest) GetFleets() []string
- func (o *UpdateRequest) GetFleetsOk() ([]string, bool)
- func (o *UpdateRequest) GetPackageIds() []string
- func (o *UpdateRequest) GetPackageIdsOk() ([]string, bool)
- func (o *UpdateRequest) HasCustom() bool
- func (o *UpdateRequest) HasDevices() bool
- func (o *UpdateRequest) HasFleets() bool
- func (o *UpdateRequest) HasPackageIds() bool
- func (o UpdateRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateRequest) SetCustom(v map[string]CustomUpdateData)
- func (o *UpdateRequest) SetDevices(v []string)
- func (o *UpdateRequest) SetFleets(v []string)
- func (o *UpdateRequest) SetPackageIds(v []string)
- func (o UpdateRequest) ToMap() (map[string]interface{}, error)
- type UpdatesAPIService
- func (a *UpdatesAPIService) GetLockboxDetails(ctx context.Context) ApiGetLockboxDetailsRequest
- func (a *UpdatesAPIService) GetLockboxDetailsExecute(r ApiGetLockboxDetailsRequest) (*map[string]JsonSignedPayload, *http.Response, error)
- func (a *UpdatesAPIService) GetLockboxes(ctx context.Context) ApiGetLockboxesRequest
- func (a *UpdatesAPIService) GetLockboxesExecute(r ApiGetLockboxesRequest) ([]string, *http.Response, error)
- func (a *UpdatesAPIService) GetLockboxesLockboxName(ctx context.Context, lockboxName string) ApiGetLockboxesLockboxNameRequest
- func (a *UpdatesAPIService) GetLockboxesLockboxNameExecute(r ApiGetLockboxesLockboxNameRequest) (*JsonSignedPayload, *http.Response, error)
- func (a *UpdatesAPIService) PatchUpdates(ctx context.Context) ApiPatchUpdatesRequest
- func (a *UpdatesAPIService) PatchUpdatesExecute(r ApiPatchUpdatesRequest) ([]string, *http.Response, error)
- func (a *UpdatesAPIService) PostLockboxesLockboxName(ctx context.Context, lockboxName string) ApiPostLockboxesLockboxNameRequest
- func (a *UpdatesAPIService) PostLockboxesLockboxNameExecute(r ApiPostLockboxesLockboxNameRequest) (*http.Response, error)
- func (a *UpdatesAPIService) PostUpdates(ctx context.Context) ApiPostUpdatesRequest
- func (a *UpdatesAPIService) PostUpdatesExecute(r ApiPostUpdatesRequest) (*UpdateCreateResult, *http.Response, error)
- type UpstreamEndpointErrorRepr
- func (o *UpstreamEndpointErrorRepr) GetCause() string
- func (o *UpstreamEndpointErrorRepr) GetCauseOk() (*string, bool)
- func (o *UpstreamEndpointErrorRepr) GetCode() string
- func (o *UpstreamEndpointErrorRepr) GetCodeOk() (*string, bool)
- func (o *UpstreamEndpointErrorRepr) GetDescription() string
- func (o *UpstreamEndpointErrorRepr) GetDescriptionOk() (*string, bool)
- func (o *UpstreamEndpointErrorRepr) GetErrorId() string
- func (o *UpstreamEndpointErrorRepr) GetErrorIdOk() (*string, bool)
- func (o *UpstreamEndpointErrorRepr) GetMsg() string
- func (o *UpstreamEndpointErrorRepr) GetMsgOk() (*string, bool)
- func (o *UpstreamEndpointErrorRepr) HasCause() bool
- func (o *UpstreamEndpointErrorRepr) HasDescription() bool
- func (o *UpstreamEndpointErrorRepr) HasErrorId() bool
- func (o UpstreamEndpointErrorRepr) MarshalJSON() ([]byte, error)
- func (o *UpstreamEndpointErrorRepr) SetCause(v string)
- func (o *UpstreamEndpointErrorRepr) SetCode(v string)
- func (o *UpstreamEndpointErrorRepr) SetDescription(v string)
- func (o *UpstreamEndpointErrorRepr) SetErrorId(v string)
- func (o *UpstreamEndpointErrorRepr) SetMsg(v string)
- func (o UpstreamEndpointErrorRepr) ToMap() (map[string]interface{}, error)
- func (o *UpstreamEndpointErrorRepr) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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") )
var AllowedDeviceSortDirectionEnumValues = []DeviceSortDirection{
"Asc",
"Desc",
}
All allowed values of DeviceSortDirection enum
var AllowedDeviceSortEnumValues = []DeviceSort{
"Name",
"DeviceId",
"Uuid",
"CreatedAt",
"ActivatedAt",
"LastSeen",
}
All allowed values of DeviceSort enum
var AllowedDeviceStatusEnumValues = []DeviceStatus{
"NotSeen",
"Error",
"UpToDate",
"UpdatePending",
"Outdated",
}
All allowed values of DeviceStatus enum
var AllowedFleetTypeEnumValues = []FleetType{
"static",
"dynamic",
}
All allowed values of FleetType enum
var AllowedSignatureMethodEnumValues = []SignatureMethod{
"rsassa-pss-sha256",
"ed25519",
"ecPrime256v1",
}
All allowed values of SignatureMethod enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
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 }
type ApiDeleteFleetsFleetidDevicesRequest ¶
type ApiDeleteFleetsFleetidDevicesRequest struct { ApiService *FleetsAPIService // contains filtered or unexported fields }
func (ApiDeleteFleetsFleetidDevicesRequest) Execute ¶
func (r ApiDeleteFleetsFleetidDevicesRequest) Execute() (*http.Response, error)
func (ApiDeleteFleetsFleetidDevicesRequest) RequestBody ¶
func (r ApiDeleteFleetsFleetidDevicesRequest) RequestBody(requestBody []string) ApiDeleteFleetsFleetidDevicesRequest
type ApiDeleteFleetsFleetidRequest ¶
type ApiDeleteFleetsFleetidRequest struct { ApiService *FleetsAPIService // contains filtered or unexported fields }
type ApiDeletePackagesPackageidRequest ¶
type ApiDeletePackagesPackageidRequest struct { ApiService *PackagesAPIService // contains filtered or unexported fields }
type ApiGetDeviceDataDevicesDeviceuuidMetricsRequest ¶
type ApiGetDeviceDataDevicesDeviceuuidMetricsRequest struct { ApiService *DeviceMetricsAPIService // contains filtered or unexported fields }
func (ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Execute ¶
func (r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Execute() (*MetricsResponse, *http.Response, error)
func (ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Metric ¶
func (r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Metric(metric []string) ApiGetDeviceDataDevicesDeviceuuidMetricsRequest
func (ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Resolution ¶
func (r ApiGetDeviceDataDevicesDeviceuuidMetricsRequest) Resolution(resolution int32) ApiGetDeviceDataDevicesDeviceuuidMetricsRequest
type ApiGetDeviceDataFleetsFleetidMetricsRequest ¶
type ApiGetDeviceDataFleetsFleetidMetricsRequest struct { ApiService *DeviceMetricsAPIService // contains filtered or unexported fields }
func (ApiGetDeviceDataFleetsFleetidMetricsRequest) Execute ¶
func (r ApiGetDeviceDataFleetsFleetidMetricsRequest) Execute() (*MetricsResponse, *http.Response, error)
func (ApiGetDeviceDataFleetsFleetidMetricsRequest) Metric ¶
func (r ApiGetDeviceDataFleetsFleetidMetricsRequest) Metric(metric []string) ApiGetDeviceDataFleetsFleetidMetricsRequest
func (ApiGetDeviceDataFleetsFleetidMetricsRequest) Resolution ¶
func (r ApiGetDeviceDataFleetsFleetidMetricsRequest) Resolution(resolution int32) ApiGetDeviceDataFleetsFleetidMetricsRequest
type ApiGetDeviceDataMetricNamesRequest ¶
type ApiGetDeviceDataMetricNamesRequest struct { ApiService *DeviceMetricsAPIService // contains filtered or unexported fields }
func (ApiGetDeviceDataMetricNamesRequest) Execute ¶
func (r ApiGetDeviceDataMetricNamesRequest) Execute() (*PaginationResultString, *http.Response, error)
func (ApiGetDeviceDataMetricNamesRequest) From ¶
func (r ApiGetDeviceDataMetricNamesRequest) From(from int64) ApiGetDeviceDataMetricNamesRequest
type ApiGetDevicesDeviceuuidRequest ¶
type ApiGetDevicesDeviceuuidRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiGetDevicesDeviceuuidRequest) Execute ¶
func (r ApiGetDevicesDeviceuuidRequest) Execute() (*DeviceInfoExtended, *http.Response, error)
type ApiGetDevicesNameDeviceuuidRequest ¶
type ApiGetDevicesNameDeviceuuidRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
type ApiGetDevicesNetworkDeviceuuidRequest ¶
type ApiGetDevicesNetworkDeviceuuidRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiGetDevicesNetworkDeviceuuidRequest) Execute ¶
func (r ApiGetDevicesNetworkDeviceuuidRequest) Execute() (*NetworkInfo, *http.Response, error)
type ApiGetDevicesNetworkRequest ¶
type ApiGetDevicesNetworkRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiGetDevicesNetworkRequest) DeviceUuid ¶
func (r ApiGetDevicesNetworkRequest) DeviceUuid(deviceUuid []string) ApiGetDevicesNetworkRequest
func (ApiGetDevicesNetworkRequest) Execute ¶
func (r ApiGetDevicesNetworkRequest) Execute() (*PaginationResultNetworkInfo, *http.Response, error)
func (ApiGetDevicesNetworkRequest) Limit ¶
func (r ApiGetDevicesNetworkRequest) Limit(limit int64) ApiGetDevicesNetworkRequest
func (ApiGetDevicesNetworkRequest) Offset ¶
func (r ApiGetDevicesNetworkRequest) Offset(offset int64) ApiGetDevicesNetworkRequest
type ApiGetDevicesNotesDeviceuuidRequest ¶
type ApiGetDevicesNotesDeviceuuidRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
type ApiGetDevicesPackagesDeviceuuidRequest ¶
type ApiGetDevicesPackagesDeviceuuidRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiGetDevicesPackagesDeviceuuidRequest) Execute ¶
func (r ApiGetDevicesPackagesDeviceuuidRequest) Execute() (*DevicePackages, *http.Response, error)
type ApiGetDevicesPackagesRequest ¶
type ApiGetDevicesPackagesRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiGetDevicesPackagesRequest) DeviceUuid ¶
func (r ApiGetDevicesPackagesRequest) DeviceUuid(deviceUuid []string) ApiGetDevicesPackagesRequest
func (ApiGetDevicesPackagesRequest) Execute ¶
func (r ApiGetDevicesPackagesRequest) Execute() (*PaginationResultDevicePackages, *http.Response, error)
func (ApiGetDevicesPackagesRequest) Limit ¶
func (r ApiGetDevicesPackagesRequest) Limit(limit int64) ApiGetDevicesPackagesRequest
func (ApiGetDevicesPackagesRequest) NameContains ¶
func (r ApiGetDevicesPackagesRequest) NameContains(nameContains string) ApiGetDevicesPackagesRequest
func (ApiGetDevicesPackagesRequest) Offset ¶
func (r ApiGetDevicesPackagesRequest) Offset(offset int64) ApiGetDevicesPackagesRequest
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 (r ApiGetDevicesRequest) Execute() (*PaginationResultDeviceInfoBasic, *http.Response, error)
func (ApiGetDevicesRequest) Hibernated ¶ added in v0.0.3
func (r ApiGetDevicesRequest) Hibernated(hibernated bool) ApiGetDevicesRequest
func (ApiGetDevicesRequest) Limit ¶
func (r ApiGetDevicesRequest) Limit(limit int64) ApiGetDevicesRequest
func (ApiGetDevicesRequest) NameContains ¶
func (r ApiGetDevicesRequest) NameContains(nameContains string) ApiGetDevicesRequest
func (ApiGetDevicesRequest) Offset ¶
func (r ApiGetDevicesRequest) Offset(offset int64) ApiGetDevicesRequest
func (ApiGetDevicesRequest) SortBy ¶
func (r ApiGetDevicesRequest) SortBy(sortBy DeviceSort) ApiGetDevicesRequest
func (ApiGetDevicesRequest) SortDirection ¶
func (r ApiGetDevicesRequest) SortDirection(sortDirection DeviceSortDirection) ApiGetDevicesRequest
func (ApiGetDevicesRequest) Status ¶ added in v0.0.3
func (r ApiGetDevicesRequest) Status(status DeviceStatus) ApiGetDevicesRequest
type ApiGetDevicesTokenRequest ¶
type ApiGetDevicesTokenRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiGetDevicesTokenRequest) Execute ¶
func (r ApiGetDevicesTokenRequest) Execute() (*ProvisionInfo, *http.Response, error)
type ApiGetDevicesUptaneDeviceuuidAssignmentRequest ¶
type ApiGetDevicesUptaneDeviceuuidAssignmentRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiGetDevicesUptaneDeviceuuidAssignmentRequest) Execute ¶
func (r ApiGetDevicesUptaneDeviceuuidAssignmentRequest) Execute() ([]QueueResponse, *http.Response, error)
type ApiGetDevicesUptaneDeviceuuidComponentsRequest ¶
type ApiGetDevicesUptaneDeviceuuidComponentsRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiGetDevicesUptaneDeviceuuidComponentsRequest) Execute ¶
func (r ApiGetDevicesUptaneDeviceuuidComponentsRequest) Execute() ([]EcuInfoResponse, *http.Response, error)
type ApiGetFleetsFleetidDevicesRequest ¶
type ApiGetFleetsFleetidDevicesRequest struct { ApiService *FleetsAPIService // contains filtered or unexported fields }
func (ApiGetFleetsFleetidDevicesRequest) Execute ¶
func (r ApiGetFleetsFleetidDevicesRequest) Execute() (*PaginationResultDeviceInfoBasic, *http.Response, error)
func (ApiGetFleetsFleetidDevicesRequest) Limit ¶
func (r ApiGetFleetsFleetidDevicesRequest) Limit(limit int64) ApiGetFleetsFleetidDevicesRequest
func (ApiGetFleetsFleetidDevicesRequest) Offset ¶
func (r ApiGetFleetsFleetidDevicesRequest) Offset(offset int64) ApiGetFleetsFleetidDevicesRequest
type ApiGetFleetsRequest ¶
type ApiGetFleetsRequest struct { ApiService *FleetsAPIService // contains filtered or unexported fields }
func (ApiGetFleetsRequest) Execute ¶
func (r ApiGetFleetsRequest) Execute() (*PaginationResultFleet, *http.Response, error)
func (ApiGetFleetsRequest) Limit ¶
func (r ApiGetFleetsRequest) Limit(limit int64) ApiGetFleetsRequest
func (ApiGetFleetsRequest) Offset ¶
func (r ApiGetFleetsRequest) Offset(offset int64) ApiGetFleetsRequest
type ApiGetLockboxDetailsRequest ¶
type ApiGetLockboxDetailsRequest struct { ApiService *UpdatesAPIService // contains filtered or unexported fields }
func (ApiGetLockboxDetailsRequest) Execute ¶
func (r ApiGetLockboxDetailsRequest) Execute() (*map[string]JsonSignedPayload, *http.Response, error)
type ApiGetLockboxesLockboxNameRequest ¶
type ApiGetLockboxesLockboxNameRequest struct { ApiService *UpdatesAPIService // contains filtered or unexported fields }
func (ApiGetLockboxesLockboxNameRequest) Execute ¶
func (r ApiGetLockboxesLockboxNameRequest) Execute() (*JsonSignedPayload, *http.Response, error)
func (ApiGetLockboxesLockboxNameRequest) Version ¶
func (r ApiGetLockboxesLockboxNameRequest) Version(version int32) ApiGetLockboxesLockboxNameRequest
type ApiGetLockboxesRequest ¶
type ApiGetLockboxesRequest struct { ApiService *UpdatesAPIService // contains filtered or unexported fields }
type ApiGetPackagesExternalInfoRequest ¶
type ApiGetPackagesExternalInfoRequest struct { ApiService *PackagesAPIService // contains filtered or unexported fields }
func (ApiGetPackagesExternalInfoRequest) Execute ¶
func (r ApiGetPackagesExternalInfoRequest) Execute() (*map[string]DelegationInfo, *http.Response, error)
type ApiGetPackagesExternalRefreshSourceFileNameRequest ¶
type ApiGetPackagesExternalRefreshSourceFileNameRequest struct { ApiService *PackagesAPIService // contains filtered or unexported fields }
type ApiGetPackagesExternalRequest ¶
type ApiGetPackagesExternalRequest struct { ApiService *PackagesAPIService // contains filtered or unexported fields }
func (ApiGetPackagesExternalRequest) Execute ¶
func (r ApiGetPackagesExternalRequest) Execute() (*PaginationResultExternalPackage, *http.Response, error)
func (ApiGetPackagesExternalRequest) IdContains ¶
func (r ApiGetPackagesExternalRequest) IdContains(idContains string) ApiGetPackagesExternalRequest
func (ApiGetPackagesExternalRequest) Limit ¶
func (r ApiGetPackagesExternalRequest) Limit(limit int64) ApiGetPackagesExternalRequest
func (ApiGetPackagesExternalRequest) Offset ¶
func (r ApiGetPackagesExternalRequest) Offset(offset int64) ApiGetPackagesExternalRequest
type ApiGetPackagesRequest ¶
type ApiGetPackagesRequest struct { ApiService *PackagesAPIService // contains filtered or unexported fields }
func (ApiGetPackagesRequest) Execute ¶
func (r ApiGetPackagesRequest) Execute() (*PaginationResultPackage, *http.Response, error)
func (ApiGetPackagesRequest) IdContains ¶
func (r ApiGetPackagesRequest) IdContains(idContains string) ApiGetPackagesRequest
func (ApiGetPackagesRequest) Limit ¶
func (r ApiGetPackagesRequest) Limit(limit int64) ApiGetPackagesRequest
func (ApiGetPackagesRequest) Offset ¶
func (r ApiGetPackagesRequest) Offset(offset int64) ApiGetPackagesRequest
type ApiPatchPackagesPackageidRequest ¶
type ApiPatchPackagesPackageidRequest struct { ApiService *PackagesAPIService // contains filtered or unexported fields }
func (ApiPatchPackagesPackageidRequest) EditPackage ¶
func (r ApiPatchPackagesPackageidRequest) EditPackage(editPackage EditPackage) ApiPatchPackagesPackageidRequest
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
type ApiPostFleetsFleetidDevicesRequest ¶
type ApiPostFleetsFleetidDevicesRequest struct { ApiService *FleetsAPIService // contains filtered or unexported fields }
func (ApiPostFleetsFleetidDevicesRequest) Execute ¶
func (r ApiPostFleetsFleetidDevicesRequest) Execute() (*http.Response, error)
func (ApiPostFleetsFleetidDevicesRequest) RequestBody ¶
func (r ApiPostFleetsFleetidDevicesRequest) RequestBody(requestBody []string) ApiPostFleetsFleetidDevicesRequest
type ApiPostFleetsRequest ¶
type ApiPostFleetsRequest struct { ApiService *FleetsAPIService // contains filtered or unexported fields }
func (ApiPostFleetsRequest) CreateFleet ¶
func (r ApiPostFleetsRequest) CreateFleet(createFleet CreateFleet) ApiPostFleetsRequest
type ApiPostLockboxesLockboxNameRequest ¶
type ApiPostLockboxesLockboxNameRequest struct { ApiService *UpdatesAPIService // contains filtered or unexported fields }
func (ApiPostLockboxesLockboxNameRequest) CreateLockboxRequest ¶
func (r ApiPostLockboxesLockboxNameRequest) CreateLockboxRequest(createLockboxRequest CreateLockboxRequest) ApiPostLockboxesLockboxNameRequest
type ApiPostPackagesRequest ¶
type ApiPostPackagesRequest struct { ApiService *PackagesAPIService // contains filtered or unexported fields }
func (ApiPostPackagesRequest) Body ¶
func (r ApiPostPackagesRequest) Body(body *os.File) ApiPostPackagesRequest
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 (r ApiPostPackagesRequest) Name(name string) ApiPostPackagesRequest
func (ApiPostPackagesRequest) TargetFormat ¶
func (r ApiPostPackagesRequest) TargetFormat(targetFormat string) ApiPostPackagesRequest
func (ApiPostPackagesRequest) Version ¶
func (r ApiPostPackagesRequest) Version(version string) ApiPostPackagesRequest
type ApiPostUpdatesRequest ¶
type ApiPostUpdatesRequest struct { ApiService *UpdatesAPIService // contains filtered or unexported fields }
func (ApiPostUpdatesRequest) Execute ¶
func (r ApiPostUpdatesRequest) Execute() (*UpdateCreateResult, *http.Response, error)
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 (r ApiPutDevicesHibernationDeviceuuidRequest) Execute() (*http.Response, error)
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 (r ApiPutDevicesNameDeviceuuidRequest) Body(body string) ApiPutDevicesNameDeviceuuidRequest
type ApiPutDevicesNotesDeviceuuidRequest ¶
type ApiPutDevicesNotesDeviceuuidRequest struct { ApiService *DevicesAPIService // contains filtered or unexported fields }
func (ApiPutDevicesNotesDeviceuuidRequest) Body ¶
func (r ApiPutDevicesNotesDeviceuuidRequest) Body(body string) ApiPutDevicesNotesDeviceuuidRequest
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) 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) 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) ServerURLWithContext ¶
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) 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) 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) 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 ¶
func (o *DeviceInfoExtended) GetDeviceTags() []Tuple2DeviceTagIdDeviceTagValue
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 ¶
func (o *DeviceInfoExtended) SetDeviceTags(v []Tuple2DeviceTagIdDeviceTagValue)
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 ¶
func (a *DeviceMetricsAPIService) GetDeviceDataMetricNames(ctx context.Context) ApiGetDeviceDataMetricNamesRequest
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 ¶
func (a *DeviceMetricsAPIService) GetDeviceDataMetricNamesExecute(r ApiGetDeviceDataMetricNamesRequest) (*PaginationResultString, *http.Response, error)
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) 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 ¶
func (v DeviceSortDirection) Ptr() *DeviceSortDirection
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 ¶
func (a *DevicesAPIService) GetDevices(ctx context.Context) ApiGetDevicesRequest
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 ¶
func (a *DevicesAPIService) GetDevicesDeviceuuidExecute(r ApiGetDevicesDeviceuuidRequest) (*DeviceInfoExtended, *http.Response, error)
Execute executes the request
@return DeviceInfoExtended
func (*DevicesAPIService) GetDevicesExecute ¶
func (a *DevicesAPIService) GetDevicesExecute(r ApiGetDevicesRequest) (*PaginationResultDeviceInfoBasic, *http.Response, error)
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 ¶
func (a *DevicesAPIService) GetDevicesNetwork(ctx context.Context) ApiGetDevicesNetworkRequest
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 ¶
func (a *DevicesAPIService) GetDevicesNetworkExecute(r ApiGetDevicesNetworkRequest) (*PaginationResultNetworkInfo, *http.Response, error)
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 ¶
func (a *DevicesAPIService) GetDevicesPackages(ctx context.Context) ApiGetDevicesPackagesRequest
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 ¶
func (a *DevicesAPIService) GetDevicesPackagesExecute(r ApiGetDevicesPackagesRequest) (*PaginationResultDevicePackages, *http.Response, error)
Execute executes the request
@return PaginationResultDevicePackages
func (*DevicesAPIService) GetDevicesToken ¶
func (a *DevicesAPIService) GetDevicesToken(ctx context.Context) ApiGetDevicesTokenRequest
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 ¶
func (a *DevicesAPIService) PostDevices(ctx context.Context) ApiPostDevicesRequest
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) 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) 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 ¶
FileInfo struct for FileInfo
func NewFileInfo ¶
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) GetHashesOk ¶
GetHashesOk returns a tuple with the Hashes field value and a boolean to check if the value has been set.
func (*FileInfo) GetLengthOk ¶
GetLengthOk returns a tuple with the Length field value and a boolean to check if the value has been set.
func (FileInfo) MarshalJSON ¶
func (*FileInfo) UnmarshalJSON ¶
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 ¶
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 ¶
GetCreatedAt returns the CreatedAt field value
func (*Fleet) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Fleet) GetExpression ¶
GetExpression returns the Expression field value if set, zero value otherwise.
func (*Fleet) GetExpressionOk ¶
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 ¶
GetFleetType returns the FleetType field value
func (*Fleet) GetFleetTypeOk ¶
GetFleetTypeOk returns a tuple with the FleetType field value and a boolean to check if the value has been set.
func (*Fleet) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Fleet) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Fleet) HasExpression ¶
HasExpression returns a boolean if a field has been set.
func (Fleet) MarshalJSON ¶
func (*Fleet) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Fleet) SetExpression ¶
SetExpression gets a reference to the given string and assigns it to the Expression field.
func (*Fleet) SetFleetType ¶
SetFleetType sets field value
func (*Fleet) UnmarshalJSON ¶
type FleetType ¶
type FleetType string
FleetType the model 'FleetType'
func NewFleetTypeFromValue ¶
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) UnmarshalJSON ¶
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 ¶
func (a *FleetsAPIService) GetFleets(ctx context.Context) ApiGetFleetsRequest
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 ¶
func (a *FleetsAPIService) GetFleetsExecute(r ApiGetFleetsRequest) (*PaginationResultFleet, *http.Response, error)
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 ¶
func (a *FleetsAPIService) GetFleetsFleetidDevicesExecute(r ApiGetFleetsFleetidDevicesRequest) (*PaginationResultDeviceInfoBasic, *http.Response, error)
Execute executes the request
@return PaginationResultDeviceInfoBasic
func (*FleetsAPIService) PostFleets ¶
func (a *FleetsAPIService) PostFleets(ctx context.Context) ApiPostFleetsRequest
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 ¶
Image struct for Image
func NewImage ¶
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 ¶
GetFileinfo returns the Fileinfo field value
func (*Image) GetFileinfoOk ¶
GetFileinfoOk returns a tuple with the Fileinfo field value and a boolean to check if the value has been set.
func (*Image) GetFilepath ¶
GetFilepath returns the Filepath field value
func (*Image) GetFilepathOk ¶
GetFilepathOk returns a tuple with the Filepath field value and a boolean to check if the value has been set.
func (Image) MarshalJSON ¶
func (*Image) UnmarshalJSON ¶
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 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) 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) 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 (v NullableBadRequestRepr) Get() *BadRequestRepr
func (NullableBadRequestRepr) IsSet ¶
func (v NullableBadRequestRepr) IsSet() bool
func (NullableBadRequestRepr) MarshalJSON ¶
func (v NullableBadRequestRepr) MarshalJSON() ([]byte, error)
func (*NullableBadRequestRepr) Set ¶
func (v *NullableBadRequestRepr) Set(val *BadRequestRepr)
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 (v NullableClientSignature) Get() *ClientSignature
func (NullableClientSignature) IsSet ¶
func (v NullableClientSignature) IsSet() bool
func (NullableClientSignature) MarshalJSON ¶
func (v NullableClientSignature) MarshalJSON() ([]byte, error)
func (*NullableClientSignature) Set ¶
func (v *NullableClientSignature) Set(val *ClientSignature)
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 (v NullableConflictRepr) Get() *ConflictRepr
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 (v NullableCreateFleet) Get() *CreateFleet
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 (v NullableCreateLockboxRequest) Get() *CreateLockboxRequest
func (NullableCreateLockboxRequest) IsSet ¶
func (v NullableCreateLockboxRequest) IsSet() bool
func (NullableCreateLockboxRequest) MarshalJSON ¶
func (v NullableCreateLockboxRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateLockboxRequest) Set ¶
func (v *NullableCreateLockboxRequest) Set(val *CreateLockboxRequest)
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 (v NullableCustomUpdateData) Get() *CustomUpdateData
func (NullableCustomUpdateData) IsSet ¶
func (v NullableCustomUpdateData) IsSet() bool
func (NullableCustomUpdateData) MarshalJSON ¶
func (v NullableCustomUpdateData) MarshalJSON() ([]byte, error)
func (*NullableCustomUpdateData) Set ¶
func (v *NullableCustomUpdateData) Set(val *CustomUpdateData)
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 (v NullableDelegationInfo) Get() *DelegationInfo
func (NullableDelegationInfo) IsSet ¶
func (v NullableDelegationInfo) IsSet() bool
func (NullableDelegationInfo) MarshalJSON ¶
func (v NullableDelegationInfo) MarshalJSON() ([]byte, error)
func (*NullableDelegationInfo) Set ¶
func (v *NullableDelegationInfo) Set(val *DelegationInfo)
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 (v NullableDeviceCreateReq) Get() *DeviceCreateReq
func (NullableDeviceCreateReq) IsSet ¶
func (v NullableDeviceCreateReq) IsSet() bool
func (NullableDeviceCreateReq) MarshalJSON ¶
func (v NullableDeviceCreateReq) MarshalJSON() ([]byte, error)
func (*NullableDeviceCreateReq) Set ¶
func (v *NullableDeviceCreateReq) Set(val *DeviceCreateReq)
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 (v NullableDeviceInfoBasic) Get() *DeviceInfoBasic
func (NullableDeviceInfoBasic) IsSet ¶
func (v NullableDeviceInfoBasic) IsSet() bool
func (NullableDeviceInfoBasic) MarshalJSON ¶
func (v NullableDeviceInfoBasic) MarshalJSON() ([]byte, error)
func (*NullableDeviceInfoBasic) Set ¶
func (v *NullableDeviceInfoBasic) Set(val *DeviceInfoBasic)
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 (v NullableDeviceInfoExtended) Get() *DeviceInfoExtended
func (NullableDeviceInfoExtended) IsSet ¶
func (v NullableDeviceInfoExtended) IsSet() bool
func (NullableDeviceInfoExtended) MarshalJSON ¶
func (v NullableDeviceInfoExtended) MarshalJSON() ([]byte, error)
func (*NullableDeviceInfoExtended) Set ¶
func (v *NullableDeviceInfoExtended) Set(val *DeviceInfoExtended)
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 (v NullableDevicePackage) Get() *DevicePackage
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 (v NullableDevicePackages) Get() *DevicePackages
func (NullableDevicePackages) IsSet ¶
func (v NullableDevicePackages) IsSet() bool
func (NullableDevicePackages) MarshalJSON ¶
func (v NullableDevicePackages) MarshalJSON() ([]byte, error)
func (*NullableDevicePackages) Set ¶
func (v *NullableDevicePackages) Set(val *DevicePackages)
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 (v NullableDeviceSortDirection) Get() *DeviceSortDirection
func (NullableDeviceSortDirection) IsSet ¶
func (v NullableDeviceSortDirection) IsSet() bool
func (NullableDeviceSortDirection) MarshalJSON ¶
func (v NullableDeviceSortDirection) MarshalJSON() ([]byte, error)
func (*NullableDeviceSortDirection) Set ¶
func (v *NullableDeviceSortDirection) Set(val *DeviceSortDirection)
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 (v NullableDeviceStatus) Get() *DeviceStatus
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 (v NullableEcuInfoImage) Get() *EcuInfoImage
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 (v NullableEcuInfoResponse) Get() *EcuInfoResponse
func (NullableEcuInfoResponse) IsSet ¶
func (v NullableEcuInfoResponse) IsSet() bool
func (NullableEcuInfoResponse) MarshalJSON ¶
func (v NullableEcuInfoResponse) MarshalJSON() ([]byte, error)
func (*NullableEcuInfoResponse) Set ¶
func (v *NullableEcuInfoResponse) Set(val *EcuInfoResponse)
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 (v NullableEditPackage) Get() *EditPackage
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 (v NullableErrorRepresentation) Get() *ErrorRepresentation
func (NullableErrorRepresentation) IsSet ¶
func (v NullableErrorRepresentation) IsSet() bool
func (NullableErrorRepresentation) MarshalJSON ¶
func (v NullableErrorRepresentation) MarshalJSON() ([]byte, error)
func (*NullableErrorRepresentation) Set ¶
func (v *NullableErrorRepresentation) Set(val *ErrorRepresentation)
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 (v NullableExternalPackage) Get() *ExternalPackage
func (NullableExternalPackage) IsSet ¶
func (v NullableExternalPackage) IsSet() bool
func (NullableExternalPackage) MarshalJSON ¶
func (v NullableExternalPackage) MarshalJSON() ([]byte, error)
func (*NullableExternalPackage) Set ¶
func (v *NullableExternalPackage) Set(val *ExternalPackage)
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 (v NullableInstalledPackage) Get() *InstalledPackage
func (NullableInstalledPackage) IsSet ¶
func (v NullableInstalledPackage) IsSet() bool
func (NullableInstalledPackage) MarshalJSON ¶
func (v NullableInstalledPackage) MarshalJSON() ([]byte, error)
func (*NullableInstalledPackage) Set ¶
func (v *NullableInstalledPackage) Set(val *InstalledPackage)
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 (v NullableJsonSignedPayload) Get() *JsonSignedPayload
func (NullableJsonSignedPayload) IsSet ¶
func (v NullableJsonSignedPayload) IsSet() bool
func (NullableJsonSignedPayload) MarshalJSON ¶
func (v NullableJsonSignedPayload) MarshalJSON() ([]byte, error)
func (*NullableJsonSignedPayload) Set ¶
func (v *NullableJsonSignedPayload) Set(val *JsonSignedPayload)
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 (v NullableMetricsResponse) Get() *MetricsResponse
func (NullableMetricsResponse) IsSet ¶
func (v NullableMetricsResponse) IsSet() bool
func (NullableMetricsResponse) MarshalJSON ¶
func (v NullableMetricsResponse) MarshalJSON() ([]byte, error)
func (*NullableMetricsResponse) Set ¶
func (v *NullableMetricsResponse) Set(val *MetricsResponse)
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 (v NullableNetworkInfo) Get() *NetworkInfo
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 (v NullableNotFoundRepr) Get() *NotFoundRepr
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 (v NullablePackageInfo) Get() *PackageInfo
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 NewNullablePaginationResultDeviceInfoBasic ¶
func NewNullablePaginationResultDeviceInfoBasic(val *PaginationResultDeviceInfoBasic) *NullablePaginationResultDeviceInfoBasic
func (NullablePaginationResultDeviceInfoBasic) IsSet ¶
func (v NullablePaginationResultDeviceInfoBasic) IsSet() bool
func (NullablePaginationResultDeviceInfoBasic) MarshalJSON ¶
func (v NullablePaginationResultDeviceInfoBasic) MarshalJSON() ([]byte, error)
func (*NullablePaginationResultDeviceInfoBasic) Set ¶
func (v *NullablePaginationResultDeviceInfoBasic) Set(val *PaginationResultDeviceInfoBasic)
func (*NullablePaginationResultDeviceInfoBasic) UnmarshalJSON ¶
func (v *NullablePaginationResultDeviceInfoBasic) UnmarshalJSON(src []byte) error
func (*NullablePaginationResultDeviceInfoBasic) Unset ¶
func (v *NullablePaginationResultDeviceInfoBasic) Unset()
type NullablePaginationResultDevicePackages ¶
type NullablePaginationResultDevicePackages struct {
// contains filtered or unexported fields
}
func NewNullablePaginationResultDevicePackages ¶
func NewNullablePaginationResultDevicePackages(val *PaginationResultDevicePackages) *NullablePaginationResultDevicePackages
func (NullablePaginationResultDevicePackages) Get ¶
func (v NullablePaginationResultDevicePackages) Get() *PaginationResultDevicePackages
func (NullablePaginationResultDevicePackages) IsSet ¶
func (v NullablePaginationResultDevicePackages) IsSet() bool
func (NullablePaginationResultDevicePackages) MarshalJSON ¶
func (v NullablePaginationResultDevicePackages) MarshalJSON() ([]byte, error)
func (*NullablePaginationResultDevicePackages) Set ¶
func (v *NullablePaginationResultDevicePackages) Set(val *PaginationResultDevicePackages)
func (*NullablePaginationResultDevicePackages) UnmarshalJSON ¶
func (v *NullablePaginationResultDevicePackages) UnmarshalJSON(src []byte) error
func (*NullablePaginationResultDevicePackages) Unset ¶
func (v *NullablePaginationResultDevicePackages) Unset()
type NullablePaginationResultExternalPackage ¶
type NullablePaginationResultExternalPackage struct {
// contains filtered or unexported fields
}
func NewNullablePaginationResultExternalPackage ¶
func NewNullablePaginationResultExternalPackage(val *PaginationResultExternalPackage) *NullablePaginationResultExternalPackage
func (NullablePaginationResultExternalPackage) IsSet ¶
func (v NullablePaginationResultExternalPackage) IsSet() bool
func (NullablePaginationResultExternalPackage) MarshalJSON ¶
func (v NullablePaginationResultExternalPackage) MarshalJSON() ([]byte, error)
func (*NullablePaginationResultExternalPackage) Set ¶
func (v *NullablePaginationResultExternalPackage) Set(val *PaginationResultExternalPackage)
func (*NullablePaginationResultExternalPackage) UnmarshalJSON ¶
func (v *NullablePaginationResultExternalPackage) UnmarshalJSON(src []byte) error
func (*NullablePaginationResultExternalPackage) Unset ¶
func (v *NullablePaginationResultExternalPackage) Unset()
type NullablePaginationResultFleet ¶
type NullablePaginationResultFleet struct {
// contains filtered or unexported fields
}
func NewNullablePaginationResultFleet ¶
func NewNullablePaginationResultFleet(val *PaginationResultFleet) *NullablePaginationResultFleet
func (NullablePaginationResultFleet) Get ¶
func (v NullablePaginationResultFleet) Get() *PaginationResultFleet
func (NullablePaginationResultFleet) IsSet ¶
func (v NullablePaginationResultFleet) IsSet() bool
func (NullablePaginationResultFleet) MarshalJSON ¶
func (v NullablePaginationResultFleet) MarshalJSON() ([]byte, error)
func (*NullablePaginationResultFleet) Set ¶
func (v *NullablePaginationResultFleet) Set(val *PaginationResultFleet)
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 NewNullablePaginationResultNetworkInfo ¶
func NewNullablePaginationResultNetworkInfo(val *PaginationResultNetworkInfo) *NullablePaginationResultNetworkInfo
func (NullablePaginationResultNetworkInfo) Get ¶
func (v NullablePaginationResultNetworkInfo) Get() *PaginationResultNetworkInfo
func (NullablePaginationResultNetworkInfo) IsSet ¶
func (v NullablePaginationResultNetworkInfo) IsSet() bool
func (NullablePaginationResultNetworkInfo) MarshalJSON ¶
func (v NullablePaginationResultNetworkInfo) MarshalJSON() ([]byte, error)
func (*NullablePaginationResultNetworkInfo) Set ¶
func (v *NullablePaginationResultNetworkInfo) Set(val *PaginationResultNetworkInfo)
func (*NullablePaginationResultNetworkInfo) UnmarshalJSON ¶
func (v *NullablePaginationResultNetworkInfo) UnmarshalJSON(src []byte) error
func (*NullablePaginationResultNetworkInfo) Unset ¶
func (v *NullablePaginationResultNetworkInfo) Unset()
type NullablePaginationResultPackage ¶
type NullablePaginationResultPackage struct {
// contains filtered or unexported fields
}
func NewNullablePaginationResultPackage ¶
func NewNullablePaginationResultPackage(val *PaginationResultPackage) *NullablePaginationResultPackage
func (NullablePaginationResultPackage) Get ¶
func (v NullablePaginationResultPackage) Get() *PaginationResultPackage
func (NullablePaginationResultPackage) IsSet ¶
func (v NullablePaginationResultPackage) IsSet() bool
func (NullablePaginationResultPackage) MarshalJSON ¶
func (v NullablePaginationResultPackage) MarshalJSON() ([]byte, error)
func (*NullablePaginationResultPackage) Set ¶
func (v *NullablePaginationResultPackage) Set(val *PaginationResultPackage)
func (*NullablePaginationResultPackage) UnmarshalJSON ¶
func (v *NullablePaginationResultPackage) UnmarshalJSON(src []byte) error
func (*NullablePaginationResultPackage) Unset ¶
func (v *NullablePaginationResultPackage) Unset()
type NullablePaginationResultString ¶
type NullablePaginationResultString struct {
// contains filtered or unexported fields
}
func NewNullablePaginationResultString ¶
func NewNullablePaginationResultString(val *PaginationResultString) *NullablePaginationResultString
func (NullablePaginationResultString) Get ¶
func (v NullablePaginationResultString) Get() *PaginationResultString
func (NullablePaginationResultString) IsSet ¶
func (v NullablePaginationResultString) IsSet() bool
func (NullablePaginationResultString) MarshalJSON ¶
func (v NullablePaginationResultString) MarshalJSON() ([]byte, error)
func (*NullablePaginationResultString) Set ¶
func (v *NullablePaginationResultString) Set(val *PaginationResultString)
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 (v NullableProvisionInfo) Get() *ProvisionInfo
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 (v NullableQueueResponse) Get() *QueueResponse
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 NewNullableRangeNotSatisfiableRepr ¶
func NewNullableRangeNotSatisfiableRepr(val *RangeNotSatisfiableRepr) *NullableRangeNotSatisfiableRepr
func (NullableRangeNotSatisfiableRepr) Get ¶
func (v NullableRangeNotSatisfiableRepr) Get() *RangeNotSatisfiableRepr
func (NullableRangeNotSatisfiableRepr) IsSet ¶
func (v NullableRangeNotSatisfiableRepr) IsSet() bool
func (NullableRangeNotSatisfiableRepr) MarshalJSON ¶
func (v NullableRangeNotSatisfiableRepr) MarshalJSON() ([]byte, error)
func (*NullableRangeNotSatisfiableRepr) Set ¶
func (v *NullableRangeNotSatisfiableRepr) Set(val *RangeNotSatisfiableRepr)
func (*NullableRangeNotSatisfiableRepr) UnmarshalJSON ¶
func (v *NullableRangeNotSatisfiableRepr) UnmarshalJSON(src []byte) error
func (*NullableRangeNotSatisfiableRepr) Unset ¶
func (v *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 (v NullableSignatureMethod) Get() *SignatureMethod
func (NullableSignatureMethod) IsSet ¶
func (v NullableSignatureMethod) IsSet() bool
func (NullableSignatureMethod) MarshalJSON ¶
func (v NullableSignatureMethod) MarshalJSON() ([]byte, error)
func (*NullableSignatureMethod) Set ¶
func (v *NullableSignatureMethod) Set(val *SignatureMethod)
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 (v NullableSimpleDeviceInfo) Get() *SimpleDeviceInfo
func (NullableSimpleDeviceInfo) IsSet ¶
func (v NullableSimpleDeviceInfo) IsSet() bool
func (NullableSimpleDeviceInfo) MarshalJSON ¶
func (v NullableSimpleDeviceInfo) MarshalJSON() ([]byte, error)
func (*NullableSimpleDeviceInfo) Set ¶
func (v *NullableSimpleDeviceInfo) Set(val *SimpleDeviceInfo)
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 NewNullableSimpleDeviceNotAffectedInfo ¶
func NewNullableSimpleDeviceNotAffectedInfo(val *SimpleDeviceNotAffectedInfo) *NullableSimpleDeviceNotAffectedInfo
func (NullableSimpleDeviceNotAffectedInfo) Get ¶
func (v NullableSimpleDeviceNotAffectedInfo) Get() *SimpleDeviceNotAffectedInfo
func (NullableSimpleDeviceNotAffectedInfo) IsSet ¶
func (v NullableSimpleDeviceNotAffectedInfo) IsSet() bool
func (NullableSimpleDeviceNotAffectedInfo) MarshalJSON ¶
func (v NullableSimpleDeviceNotAffectedInfo) MarshalJSON() ([]byte, error)
func (*NullableSimpleDeviceNotAffectedInfo) Set ¶
func (v *NullableSimpleDeviceNotAffectedInfo) Set(val *SimpleDeviceNotAffectedInfo)
func (*NullableSimpleDeviceNotAffectedInfo) UnmarshalJSON ¶
func (v *NullableSimpleDeviceNotAffectedInfo) UnmarshalJSON(src []byte) error
func (*NullableSimpleDeviceNotAffectedInfo) Unset ¶
func (v *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 (v NullableTargetImage) Get() *TargetImage
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 (v NullableTimeAggregation) Get() *TimeAggregation
func (NullableTimeAggregation) IsSet ¶
func (v NullableTimeAggregation) IsSet() bool
func (NullableTimeAggregation) MarshalJSON ¶
func (v NullableTimeAggregation) MarshalJSON() ([]byte, error)
func (*NullableTimeAggregation) Set ¶
func (v *NullableTimeAggregation) Set(val *TimeAggregation)
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 NewNullableTimeAggregationMethod ¶
func NewNullableTimeAggregationMethod(val *TimeAggregationMethod) *NullableTimeAggregationMethod
func (NullableTimeAggregationMethod) Get ¶
func (v NullableTimeAggregationMethod) Get() *TimeAggregationMethod
func (NullableTimeAggregationMethod) IsSet ¶
func (v NullableTimeAggregationMethod) IsSet() bool
func (NullableTimeAggregationMethod) MarshalJSON ¶
func (v NullableTimeAggregationMethod) MarshalJSON() ([]byte, error)
func (*NullableTimeAggregationMethod) Set ¶
func (v *NullableTimeAggregationMethod) Set(val *TimeAggregationMethod)
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 NewNullableTuple2DeviceTagIdDeviceTagValue ¶
func NewNullableTuple2DeviceTagIdDeviceTagValue(val *Tuple2DeviceTagIdDeviceTagValue) *NullableTuple2DeviceTagIdDeviceTagValue
func (NullableTuple2DeviceTagIdDeviceTagValue) IsSet ¶
func (v NullableTuple2DeviceTagIdDeviceTagValue) IsSet() bool
func (NullableTuple2DeviceTagIdDeviceTagValue) MarshalJSON ¶
func (v NullableTuple2DeviceTagIdDeviceTagValue) MarshalJSON() ([]byte, error)
func (*NullableTuple2DeviceTagIdDeviceTagValue) Set ¶
func (v *NullableTuple2DeviceTagIdDeviceTagValue) Set(val *Tuple2DeviceTagIdDeviceTagValue)
func (*NullableTuple2DeviceTagIdDeviceTagValue) UnmarshalJSON ¶
func (v *NullableTuple2DeviceTagIdDeviceTagValue) UnmarshalJSON(src []byte) error
func (*NullableTuple2DeviceTagIdDeviceTagValue) Unset ¶
func (v *NullableTuple2DeviceTagIdDeviceTagValue) Unset()
type NullableTuple2LongOptionDouble ¶
type NullableTuple2LongOptionDouble struct {
// contains filtered or unexported fields
}
func NewNullableTuple2LongOptionDouble ¶
func NewNullableTuple2LongOptionDouble(val *Tuple2LongOptionDouble) *NullableTuple2LongOptionDouble
func (NullableTuple2LongOptionDouble) Get ¶
func (v NullableTuple2LongOptionDouble) Get() *Tuple2LongOptionDouble
func (NullableTuple2LongOptionDouble) IsSet ¶
func (v NullableTuple2LongOptionDouble) IsSet() bool
func (NullableTuple2LongOptionDouble) MarshalJSON ¶
func (v NullableTuple2LongOptionDouble) MarshalJSON() ([]byte, error)
func (*NullableTuple2LongOptionDouble) Set ¶
func (v *NullableTuple2LongOptionDouble) Set(val *Tuple2LongOptionDouble)
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 (v NullableUpdateCreateResult) Get() *UpdateCreateResult
func (NullableUpdateCreateResult) IsSet ¶
func (v NullableUpdateCreateResult) IsSet() bool
func (NullableUpdateCreateResult) MarshalJSON ¶
func (v NullableUpdateCreateResult) MarshalJSON() ([]byte, error)
func (*NullableUpdateCreateResult) Set ¶
func (v *NullableUpdateCreateResult) Set(val *UpdateCreateResult)
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 (v NullableUpdateHibernationStatusRequest) Get() *UpdateHibernationStatusRequest
func (NullableUpdateHibernationStatusRequest) IsSet ¶ added in v0.0.3
func (v NullableUpdateHibernationStatusRequest) IsSet() bool
func (NullableUpdateHibernationStatusRequest) MarshalJSON ¶ added in v0.0.3
func (v NullableUpdateHibernationStatusRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateHibernationStatusRequest) Set ¶ added in v0.0.3
func (v *NullableUpdateHibernationStatusRequest) Set(val *UpdateHibernationStatusRequest)
func (*NullableUpdateHibernationStatusRequest) UnmarshalJSON ¶ added in v0.0.3
func (v *NullableUpdateHibernationStatusRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateHibernationStatusRequest) Unset ¶ added in v0.0.3
func (v *NullableUpdateHibernationStatusRequest) Unset()
type NullableUpdateRequest ¶
type NullableUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRequest ¶
func NewNullableUpdateRequest(val *UpdateRequest) *NullableUpdateRequest
func (NullableUpdateRequest) Get ¶
func (v NullableUpdateRequest) Get() *UpdateRequest
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 NewNullableUpstreamEndpointErrorRepr ¶
func NewNullableUpstreamEndpointErrorRepr(val *UpstreamEndpointErrorRepr) *NullableUpstreamEndpointErrorRepr
func (NullableUpstreamEndpointErrorRepr) Get ¶
func (v NullableUpstreamEndpointErrorRepr) Get() *UpstreamEndpointErrorRepr
func (NullableUpstreamEndpointErrorRepr) IsSet ¶
func (v NullableUpstreamEndpointErrorRepr) IsSet() bool
func (NullableUpstreamEndpointErrorRepr) MarshalJSON ¶
func (v NullableUpstreamEndpointErrorRepr) MarshalJSON() ([]byte, error)
func (*NullableUpstreamEndpointErrorRepr) Set ¶
func (v *NullableUpstreamEndpointErrorRepr) Set(val *UpstreamEndpointErrorRepr)
func (*NullableUpstreamEndpointErrorRepr) UnmarshalJSON ¶
func (v *NullableUpstreamEndpointErrorRepr) UnmarshalJSON(src []byte) error
func (*NullableUpstreamEndpointErrorRepr) Unset ¶
func (v *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 ¶
GetComment returns the Comment field value if set, zero value otherwise.
func (*Package) GetCommentOk ¶
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 ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Package) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Package) GetHardwareIds ¶
GetHardwareIds returns the HardwareIds field value if set, zero value otherwise.
func (*Package) GetHardwareIdsOk ¶
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) GetHashesOk ¶
GetHashesOk returns a tuple with the Hashes field value and a boolean to check if the value has been set.
func (*Package) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Package) GetPackageId ¶
GetPackageId returns the PackageId field value
func (*Package) GetPackageIdOk ¶
GetPackageIdOk returns a tuple with the PackageId field value and a boolean to check if the value has been set.
func (*Package) GetPkgType ¶
GetPkgType returns the PkgType field value if set, zero value otherwise.
func (*Package) GetPkgTypeOk ¶
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 ¶
GetProprietaryMeta returns the ProprietaryMeta field value if set, zero value otherwise.
func (*Package) GetProprietaryMetaOk ¶
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) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*Package) GetUriOk ¶
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 ¶
GetVersion returns the Version field value
func (*Package) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*Package) HasComment ¶
HasComment returns a boolean if a field has been set.
func (*Package) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Package) HasHardwareIds ¶
HasHardwareIds returns a boolean if a field has been set.
func (*Package) HasPkgType ¶
HasPkgType returns a boolean if a field has been set.
func (*Package) HasProprietaryMeta ¶
HasProprietaryMeta returns a boolean if a field has been set.
func (Package) MarshalJSON ¶
func (*Package) SetComment ¶
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*Package) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Package) SetHardwareIds ¶
SetHardwareIds gets a reference to the given []string and assigns it to the HardwareIds field.
func (*Package) SetPackageId ¶
SetPackageId sets field value
func (*Package) SetPkgType ¶
SetPkgType gets a reference to the given string and assigns it to the PkgType field.
func (*Package) SetProprietaryMeta ¶
SetProprietaryMeta gets a reference to the given string and assigns it to the ProprietaryMeta field.
func (*Package) SetUri ¶
SetUri gets a reference to the given string and assigns it to the Uri field.
func (*Package) UnmarshalJSON ¶
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 ¶
func (a *PackagesAPIService) GetPackages(ctx context.Context) ApiGetPackagesRequest
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 ¶
func (a *PackagesAPIService) GetPackagesExecute(r ApiGetPackagesRequest) (*PaginationResultPackage, *http.Response, error)
Execute executes the request
@return PaginationResultPackage
func (*PackagesAPIService) GetPackagesExternal ¶
func (a *PackagesAPIService) GetPackagesExternal(ctx context.Context) ApiGetPackagesExternalRequest
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 ¶
func (a *PackagesAPIService) GetPackagesExternalExecute(r ApiGetPackagesExternalRequest) (*PaginationResultExternalPackage, *http.Response, error)
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 ¶
func (a *PackagesAPIService) PostPackages(ctx context.Context) ApiPostPackagesRequest
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 ¶
func (o *PaginationResultDeviceInfoBasic) GetValues() []DeviceInfoBasic
GetValues returns the Values field value if set, zero value otherwise.
func (*PaginationResultDeviceInfoBasic) GetValuesOk ¶
func (o *PaginationResultDeviceInfoBasic) GetValuesOk() ([]DeviceInfoBasic, 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 (*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 ¶
func (o *PaginationResultDeviceInfoBasic) SetValues(v []DeviceInfoBasic)
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 ¶
func (o *PaginationResultDevicePackages) GetValues() []DevicePackages
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 ¶
func (o *PaginationResultDevicePackages) SetValues(v []DevicePackages)
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 ¶
func (o *PaginationResultExternalPackage) GetValues() []ExternalPackage
GetValues returns the Values field value if set, zero value otherwise.
func (*PaginationResultExternalPackage) GetValuesOk ¶
func (o *PaginationResultExternalPackage) GetValuesOk() ([]ExternalPackage, 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 (*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 ¶
func (o *PaginationResultExternalPackage) SetValues(v []ExternalPackage)
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) 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) GetNameOk ¶
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) MarshalJSON ¶
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) UnmarshalJSON ¶
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
type ServerVariable ¶
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 ¶
func (v SignatureMethod) Ptr() *SignatureMethod
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 ¶
func (o *SimpleDeviceNotAffectedInfo) GetEcuErrors() map[string]ErrorRepresentation
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 ¶
func (o *SimpleDeviceNotAffectedInfo) SetEcuErrors(v map[string]ErrorRepresentation)
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) 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 ¶
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 ¶
func (o *Tuple2DeviceTagIdDeviceTagValue) GetVar1() string
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 ¶
func (o *Tuple2DeviceTagIdDeviceTagValue) GetVar2() string
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 ¶
func (o *Tuple2DeviceTagIdDeviceTagValue) SetVar1(v string)
SetVar1 sets field value
func (*Tuple2DeviceTagIdDeviceTagValue) SetVar2 ¶
func (o *Tuple2DeviceTagIdDeviceTagValue) SetVar2(v string)
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 ¶
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 ¶
func (a *UpdatesAPIService) GetLockboxDetails(ctx context.Context) ApiGetLockboxDetailsRequest
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 ¶
func (a *UpdatesAPIService) GetLockboxes(ctx context.Context) ApiGetLockboxesRequest
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 ¶
func (a *UpdatesAPIService) PatchUpdates(ctx context.Context) ApiPatchUpdatesRequest
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 ¶
func (a *UpdatesAPIService) PostUpdates(ctx context.Context) ApiPostUpdatesRequest
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 ¶
func (a *UpdatesAPIService) PostUpdatesExecute(r ApiPostUpdatesRequest) (*UpdateCreateResult, *http.Response, error)
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 ¶
- api_device_metrics.go
- api_devices.go
- api_fleets.go
- api_packages.go
- api_updates.go
- client.go
- configuration.go
- model_bad_request_repr.go
- model_client_signature.go
- model_conflict_repr.go
- model_create_fleet.go
- model_create_lockbox_request.go
- model_custom_update_data.go
- model_delegation_info.go
- model_device_create_req.go
- model_device_info_basic.go
- model_device_info_extended.go
- model_device_package.go
- model_device_packages.go
- model_device_sort.go
- model_device_sort_direction.go
- model_device_status.go
- model_ecu_info_image.go
- model_ecu_info_response.go
- model_edit_package.go
- model_error_representation.go
- model_external_package.go
- model_file_info.go
- model_fleet.go
- model_fleet_type.go
- model_image.go
- model_installed_package.go
- model_json_signed_payload.go
- model_metrics_response.go
- model_network_info.go
- model_not_found_repr.go
- model_package.go
- model_package_info.go
- model_pagination_result_device_info_basic.go
- model_pagination_result_device_packages.go
- model_pagination_result_external_package.go
- model_pagination_result_fleet.go
- model_pagination_result_network_info.go
- model_pagination_result_package.go
- model_pagination_result_string.go
- model_provision_info.go
- model_queue_response.go
- model_range_not_satisfiable_repr.go
- model_series.go
- model_series_meta.go
- model_signature_method.go
- model_simple_device_info.go
- model_simple_device_not_affected_info.go
- model_target_image.go
- model_time_aggregation.go
- model_time_aggregation_method.go
- model_tuple2_device_tag_id_device_tag_value.go
- model_tuple2_long_option_double.go
- model_update_create_result.go
- model_update_hibernation_status_request.go
- model_update_request.go
- model_upstream_endpoint_error_repr.go
- response.go
- utils.go