Categorygithub.com/Silabs-UTF/hwmux-client-golang/v2
modulepackage
2.29.0
Repository: https://github.com/silabs-utf/hwmux-client-golang.git
Documentation: pkg.go.dev

# README

Go API client for hwmux

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

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

  • API version: 2.32.0
  • Package version: !PACKAGE_VERSION!
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import hwmux "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

ctx := context.WithValue(context.Background(), hwmux.ContextServerIndex, 1)

Templated Server URL

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://hwmux.silabs.net

ClassMethodHTTP requestDescription
CallbackApiCallbackRetrieveGet /callback/
DevicesApiDevicesCreatePost /api/devices/
DevicesApiDevicesDestroyDelete /api/devices/{id}/
DevicesApiDevicesListGet /api/devices/
DevicesApiDevicesListMyListGet /api/devices/list_my/
DevicesApiDevicesLocationRetrieveGet /api/devices/{device_pk}/location/
DevicesApiDevicesPartialUpdatePatch /api/devices/{id}/
DevicesApiDevicesPermissionsPartialUpdatePatch /api/devices/{id}/permissions/
DevicesApiDevicesPermissionsRetrieveGet /api/devices/{id}/permissions/
DevicesApiDevicesPermissionsUpdatePut /api/devices/{id}/permissions/
DevicesApiDevicesReleaseUpdatePut /api/devices/{id}/release/
DevicesApiDevicesReserveUpdatePut /api/devices/{id}/reserve/
DevicesApiDevicesRetrieveGet /api/devices/{id}/
DevicesApiDevicesSearchListGet /api/devices/search/
DevicesApiDevicesSetOfflineCreatePost /api/devices/set_offline/
DevicesApiDevicesStatusCreatePost /api/devices/{id}/status/
DevicesApiDevicesUpdatePut /api/devices/{id}/
DjangoLoginApiDjangoLoginCreatePost /django_login/
ExternalSigninApiExternalSigninRetrieveGet /external_signin/
GroupsApiGroupsAvailableListGet /api/groups/available/
GroupsApiGroupsCreatePost /api/groups/
GroupsApiGroupsCreateWithDevicesCreatePost /api/groups/create-with-devices
GroupsApiGroupsDestroyDelete /api/groups/{id}/
GroupsApiGroupsListGet /api/groups/
GroupsApiGroupsLocationRetrieveGet /api/groups/{device_group_pk}/location/
GroupsApiGroupsMyListGet /api/groups/my/
GroupsApiGroupsPartialUpdatePatch /api/groups/{id}/
GroupsApiGroupsPermissionsPartialUpdatePatch /api/groups/{id}/permissions/
GroupsApiGroupsPermissionsRetrieveGet /api/groups/{id}/permissions/
GroupsApiGroupsPermissionsUpdatePut /api/groups/{id}/permissions/
GroupsApiGroupsReleaseByNameUpdatePut /api/groups/{group_name}/release_by_name/
GroupsApiGroupsReleaseUpdatePut /api/groups/{id}/release/
GroupsApiGroupsReserveByNameUpdatePut /api/groups/{group_name}/reserve_by_name/
GroupsApiGroupsReserveUpdatePut /api/groups/{id}/reserve/
GroupsApiGroupsRetrieveGet /api/groups/{id}/
GroupsApiGroupsStatusCreatePost /api/groups/{id}/status/
GroupsApiGroupsUpdatePut /api/groups/{id}/
LabelsApiLabelsCreatePost /api/labels/
LabelsApiLabelsDestroyDelete /api/labels/{id}/
LabelsApiLabelsListGet /api/labels/
LabelsApiLabelsPartialUpdatePatch /api/labels/{id}/
LabelsApiLabelsPermissionsPartialUpdatePatch /api/labels/{id}/permissions/
LabelsApiLabelsPermissionsRetrieveGet /api/labels/{id}/permissions/
LabelsApiLabelsPermissionsUpdatePut /api/labels/{id}/permissions/
LabelsApiLabelsReserveAnyUpdatePut /api/labels/{id}/reserve_any/
LabelsApiLabelsRetrieveGet /api/labels/{id}/
LabelsApiLabelsUpdatePut /api/labels/{id}/
LogsApiLogsDestroyDelete /api/logs/{id}
LogsApiLogsListGet /api/logs/
LogsApiLogsRetrieveGet /api/logs/{id}/
PartFamiliesApiPartFamiliesCreatePost /api/part-families/
PartFamiliesApiPartFamiliesDestroyDelete /api/part-families/{name}/
PartFamiliesApiPartFamiliesListGet /api/part-families/
PartFamiliesApiPartFamiliesPartialUpdatePatch /api/part-families/{name}/
PartFamiliesApiPartFamiliesPartsCreatePost /api/part-families/{part_family_pk}/parts/
PartFamiliesApiPartFamiliesPartsDestroyDelete /api/part-families/{part_family_pk}/parts/{id}/
PartFamiliesApiPartFamiliesPartsListGet /api/part-families/{part_family_pk}/parts/
PartFamiliesApiPartFamiliesPartsPartialUpdatePatch /api/part-families/{part_family_pk}/parts/{id}/
PartFamiliesApiPartFamiliesPartsRetrieveGet /api/part-families/{part_family_pk}/parts/{id}/
PartFamiliesApiPartFamiliesPartsUpdatePut /api/part-families/{part_family_pk}/parts/{id}/
PartFamiliesApiPartFamiliesRetrieveGet /api/part-families/{name}/
PartFamiliesApiPartFamiliesUpdatePut /api/part-families/{name}/
PartsApiPartsListGet /api/parts/
PartsApiPartsRetrieveGet /api/parts/{part_no}/
PermissionsApiPermissionsGroupsCreatePost /api/permissions/groups/
PermissionsApiPermissionsGroupsDestroyDelete /api/permissions/groups/{name_or_id}/
PermissionsApiPermissionsGroupsDeviceGroupsCreatePost /api/permissions/groups/{name_or_id}/device_groups/
PermissionsApiPermissionsGroupsDeviceGroupsDestroyDelete /api/permissions/groups/{name_or_id}/device_groups/{id}/
PermissionsApiPermissionsGroupsDeviceGroupsListGet /api/permissions/groups/{name_or_id}/device_groups/
PermissionsApiPermissionsGroupsDeviceGroupsPartialUpdatePatch /api/permissions/groups/{name_or_id}/device_groups/{id}/
PermissionsApiPermissionsGroupsDeviceGroupsUpdatePut /api/permissions/groups/{name_or_id}/device_groups/{id}/
PermissionsApiPermissionsGroupsDevicesCreatePost /api/permissions/groups/{name_or_id}/devices/
PermissionsApiPermissionsGroupsDevicesDestroyDelete /api/permissions/groups/{name_or_id}/devices/{id}/
PermissionsApiPermissionsGroupsDevicesListGet /api/permissions/groups/{name_or_id}/devices/
PermissionsApiPermissionsGroupsDevicesPartialUpdatePatch /api/permissions/groups/{name_or_id}/devices/{id}/
PermissionsApiPermissionsGroupsDevicesUpdatePut /api/permissions/groups/{name_or_id}/devices/{id}/
PermissionsApiPermissionsGroupsLabelsCreatePost /api/permissions/groups/{name_or_id}/labels/
PermissionsApiPermissionsGroupsLabelsDestroyDelete /api/permissions/groups/{name_or_id}/labels/{id}/
PermissionsApiPermissionsGroupsLabelsListGet /api/permissions/groups/{name_or_id}/labels/
PermissionsApiPermissionsGroupsLabelsPartialUpdatePatch /api/permissions/groups/{name_or_id}/labels/{id}/
PermissionsApiPermissionsGroupsLabelsUpdatePut /api/permissions/groups/{name_or_id}/labels/{id}/
PermissionsApiPermissionsGroupsListGet /api/permissions/groups/
PermissionsApiPermissionsGroupsPartialUpdatePatch /api/permissions/groups/{name_or_id}/
PermissionsApiPermissionsGroupsRetrieveGet /api/permissions/groups/{name_or_id}/
PermissionsApiPermissionsGroupsUpdatePut /api/permissions/groups/{name_or_id}/
PermissionsApiPermissionsGroupsUsersCreatePost /api/permissions/groups/{name_or_id}/users/
PermissionsApiPermissionsGroupsUsersDestroyDelete /api/permissions/groups/{name_or_id}/users/{username_or_id}/
ReservationsApiReservationsActionableListGet /api/reservations/actionable/
ReservationsApiReservationsActiveListGet /api/reservations/active/
ReservationsApiReservationsCancelUpdatePut /api/reservations/{id}/cancel/
ReservationsApiReservationsCreatePost /api/reservations/
ReservationsApiReservationsListGet /api/reservations/
ReservationsApiReservationsMetadataPartialUpdatePatch /api/reservations/{id}/metadata/
ReservationsApiReservationsMetadataUpdatePut /api/reservations/{id}/metadata/
ReservationsApiReservationsReleaseUpdatePut /api/reservations/{id}/release/
ReservationsApiReservationsRetrieveGet /api/reservations/{id}/
ReservationsApiReservationsUpdatePut /api/reservations/{id}/
RoomsApiRoomsListGet /api/rooms/
RoomsApiRoomsRetrieveGet /api/rooms/{name}/
SchemaApiSchemaDownloadRetrieveGet /schema/download
SigninApiSigninRetrieveGet /signin/
SignoutApiSignoutRetrieveGet /signout/
SitesApiSitesCreatePost /api/sites/
SitesApiSitesDestroyDelete /api/sites/{name}/
SitesApiSitesListGet /api/sites/
SitesApiSitesPartialUpdatePatch /api/sites/{name}/
SitesApiSitesRetrieveGet /api/sites/{name}/
SitesApiSitesRoomsCreatePost /api/sites/{site_pk}/rooms/
SitesApiSitesRoomsDestroyDelete /api/sites/{site_pk}/rooms/{id}/
SitesApiSitesRoomsListGet /api/sites/{site_pk}/rooms/
SitesApiSitesRoomsPartialUpdatePatch /api/sites/{site_pk}/rooms/{id}/
SitesApiSitesRoomsRetrieveGet /api/sites/{site_pk}/rooms/{id}/
SitesApiSitesRoomsUpdatePut /api/sites/{site_pk}/rooms/{id}/
SitesApiSitesUpdatePut /api/sites/{name}/
TokenAuthApiTokenAuthCreatePost /api-token-auth/
UserApiUserCreatePost /api/user/
UserApiUserCurrentRetrieveGet /api/user/current/
UserApiUserCurrentTokenCreatePost /api/user/current/token/
UserApiUserCurrentTokenRetrieveGet /api/user/current/token/
UserApiUserDestroyDelete /api/user/{username_or_id}/
UserApiUserListGet /api/user/
UserApiUserPartialUpdatePatch /api/user/{username_or_id}/
UserApiUserRetrieveGet /api/user/{username_or_id}/
UserApiUserTokenCreatePost /api/user/{username_or_id}/token/
UserApiUserTokenRetrieveGet /api/user/{username_or_id}/token/
UserApiUserUpdatePut /api/user/{username_or_id}/

Documentation For Models

Documentation For Authorization

cookieAuth

  • Type: API key
  • API key parameter name: sessionid
  • Location:

Note, each API key must be added to a map of map[string]APIKey where the key is: sessionid and passed in as the auth context for each request.

tokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Documentation for Utility Methods

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

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

Author

# Packages

No description provided by the author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewAuthToken instantiates a new AuthToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAuthTokenWithDefaults instantiates a new AuthToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConfiguration returns a new Configuration object.
NewDeviceGroup instantiates a new DeviceGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeviceGroupSerializerWithDevicePk instantiates a new DeviceGroupSerializerWithDevicePk object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeviceGroupSerializerWithDevicePkWithDefaults instantiates a new DeviceGroupSerializerWithDevicePk object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeviceGroupWithDefaults instantiates a new DeviceGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeviceSerializerPublic instantiates a new DeviceSerializerPublic object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeviceSerializerPublicWithDefaults instantiates a new DeviceSerializerPublic object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEventEnumFromValue returns a pointer to a valid EventEnum for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewGroupLocation instantiates a new GroupLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupLocationWithDefaults instantiates a new GroupLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLabel instantiates a new Label object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLabelSerializerWithPermissions instantiates a new LabelSerializerWithPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLabelSerializerWithPermissionsWithDefaults instantiates a new LabelSerializerWithPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLabelWithDefaults instantiates a new Label object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLightDevice instantiates a new LightDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLightDeviceWithDefaults instantiates a new LightDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocation instantiates a new Location object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocationSerializerWriteOnly instantiates a new LocationSerializerWriteOnly object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocationSerializerWriteOnlyWithDefaults instantiates a new LocationSerializerWriteOnly object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocationWithDefaults instantiates a new Location object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLog instantiates a new Log object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLoggedInUser instantiates a new LoggedInUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLoggedInUserWithDefaults instantiates a new LoggedInUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLogWithDefaults instantiates a new Log object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewNestedDeviceGroup instantiates a new NestedDeviceGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewNestedDeviceGroupWithDefaults instantiates a new NestedDeviceGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewObjectPermissions instantiates a new ObjectPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewObjectPermissionsWithDefaults instantiates a new ObjectPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedDeviceGroupList instantiates a new PaginatedDeviceGroupList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedDeviceGroupListWithDefaults instantiates a new PaginatedDeviceGroupList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedDeviceSerializerPublicList instantiates a new PaginatedDeviceSerializerPublicList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedDeviceSerializerPublicListWithDefaults instantiates a new PaginatedDeviceSerializerPublicList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedLabelList instantiates a new PaginatedLabelList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedLabelListWithDefaults instantiates a new PaginatedLabelList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedLoggedInUserList instantiates a new PaginatedLoggedInUserList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedLoggedInUserListWithDefaults instantiates a new PaginatedLoggedInUserList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedLogList instantiates a new PaginatedLogList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedLogListWithDefaults instantiates a new PaginatedLogList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedPartFamilyList instantiates a new PaginatedPartFamilyList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedPartFamilyListWithDefaults instantiates a new PaginatedPartFamilyList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedPartList instantiates a new PaginatedPartList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedPartListWithDefaults instantiates a new PaginatedPartList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedPermissionGroupList instantiates a new PaginatedPermissionGroupList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedPermissionGroupListWithDefaults instantiates a new PaginatedPermissionGroupList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedReservationSessionSerializerReadOnlyList instantiates a new PaginatedReservationSessionSerializerReadOnlyList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedReservationSessionSerializerReadOnlyListWithDefaults instantiates a new PaginatedReservationSessionSerializerReadOnlyList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedRoomList instantiates a new PaginatedRoomList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedRoomListWithDefaults instantiates a new PaginatedRoomList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginatedSiteList instantiates a new PaginatedSiteList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginatedSiteListWithDefaults instantiates a new PaginatedSiteList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPart instantiates a new Part object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPartFamily instantiates a new PartFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPartFamilyWithDefaults instantiates a new PartFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPartWithDefaults instantiates a new Part object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedDeviceGroupSerializerWithDevicePk instantiates a new PatchedDeviceGroupSerializerWithDevicePk object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedDeviceGroupSerializerWithDevicePkWithDefaults instantiates a new PatchedDeviceGroupSerializerWithDevicePk object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedLabelSerializerWithPermissions instantiates a new PatchedLabelSerializerWithPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedLabelSerializerWithPermissionsWithDefaults instantiates a new PatchedLabelSerializerWithPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedLoggedInUser instantiates a new PatchedLoggedInUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedLoggedInUserWithDefaults instantiates a new PatchedLoggedInUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedObjectPermissions instantiates a new PatchedObjectPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedObjectPermissionsWithDefaults instantiates a new PatchedObjectPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedPart instantiates a new PatchedPart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedPartFamily instantiates a new PatchedPartFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedPartFamilyWithDefaults instantiates a new PatchedPartFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedPartWithDefaults instantiates a new PatchedPart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedPermissionGroup instantiates a new PatchedPermissionGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedPermissionGroupWithDefaults instantiates a new PatchedPermissionGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedResourcePermissions instantiates a new PatchedResourcePermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedResourcePermissionsWithDefaults instantiates a new PatchedResourcePermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedRoom instantiates a new PatchedRoom object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedRoomWithDefaults instantiates a new PatchedRoom object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedSite instantiates a new PatchedSite object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedSiteWithDefaults instantiates a new PatchedSite object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchedWriteOnlyDevice instantiates a new PatchedWriteOnlyDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchedWriteOnlyDeviceWithDefaults instantiates a new PatchedWriteOnlyDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPermissionGroup instantiates a new PermissionGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPermissionGroupWithDefaults instantiates a new PermissionGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPermissionsEnumFromValue returns a pointer to a valid PermissionsEnum for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewReservationRequest instantiates a new ReservationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReservationRequestWithDefaults instantiates a new ReservationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReservationSessionSerializerReadOnly instantiates a new ReservationSessionSerializerReadOnly object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReservationSessionSerializerReadOnlyOwner instantiates a new ReservationSessionSerializerReadOnlyOwner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReservationSessionSerializerReadOnlyOwnerWithDefaults instantiates a new ReservationSessionSerializerReadOnlyOwner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReservationSessionSerializerReadOnlyWithDefaults instantiates a new ReservationSessionSerializerReadOnly object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewResourcePermissions instantiates a new ResourcePermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewResourcePermissionsWithDefaults instantiates a new ResourcePermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewResourceStatusRequest instantiates a new ResourceStatusRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewResourceStatusRequestWithDefaults instantiates a new ResourceStatusRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRoom instantiates a new Room object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRoomWithDefaults instantiates a new Room object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSite instantiates a new Site object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSiteWithDefaults instantiates a new Site object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSourceEnumFromValue returns a pointer to a valid SourceEnum for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewStatusEnumFromValue returns a pointer to a valid StatusEnum for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewWriteOnlyDevice instantiates a new WriteOnlyDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewWriteOnlyDeviceWithDefaults instantiates a new WriteOnlyDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Constants

List of StatusEnum.
List of PermissionsEnum.
List of PermissionsEnum.
List of EventEnum.
List of PermissionsEnum.
List of StatusEnum.
List of EventEnum.
List of EventEnum.
List of EventEnum.
List of StatusEnum.
List of EventEnum.
List of SourceEnum.
List of EventEnum.
List of EventEnum.
List of EventEnum.
List of SourceEnum.
List of SourceEnum.
List of PermissionsEnum.
List of SourceEnum.

# Variables

All allowed values of EventEnum enum.
All allowed values of PermissionsEnum enum.
All allowed values of SourceEnum enum.
All allowed values of StatusEnum enum.
ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.

# Structs

No description provided by the author
APIClient manages communication with the HW Mux Reservation System API v2.32.0 In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AuthToken struct for AuthToken.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
DeviceGroup struct for DeviceGroup.
DeviceGroupSerializerWithDevicePk struct for DeviceGroupSerializerWithDevicePk.
DeviceSerializerPublic Serializes Device querysets to JSON.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
GroupLocation Serializer for the GroupLocation model.
Label struct for Label.
LabelSerializerWithPermissions struct for LabelSerializerWithPermissions.
LightDevice A lightweight device representation used in the DeviceGroup serializer.
Location Serializer for the Location model.
LocationSerializerWriteOnly Serializer for the Location model.
Log struct for Log.
LoggedInUser struct for LoggedInUser.
NestedDeviceGroup struct for NestedDeviceGroup.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ObjectPermissions struct for ObjectPermissions.
PaginatedDeviceGroupList struct for PaginatedDeviceGroupList.
PaginatedDeviceSerializerPublicList struct for PaginatedDeviceSerializerPublicList.
PaginatedLabelList struct for PaginatedLabelList.
PaginatedLoggedInUserList struct for PaginatedLoggedInUserList.
PaginatedLogList struct for PaginatedLogList.
PaginatedPartFamilyList struct for PaginatedPartFamilyList.
PaginatedPartList struct for PaginatedPartList.
PaginatedPermissionGroupList struct for PaginatedPermissionGroupList.
PaginatedReservationSessionSerializerReadOnlyList struct for PaginatedReservationSessionSerializerReadOnlyList.
PaginatedRoomList struct for PaginatedRoomList.
PaginatedSiteList struct for PaginatedSiteList.
Part Serializer for the Part model.
PartFamily Serializer for the PartFamily model.
PatchedDeviceGroupSerializerWithDevicePk struct for PatchedDeviceGroupSerializerWithDevicePk.
PatchedLabelSerializerWithPermissions struct for PatchedLabelSerializerWithPermissions.
PatchedLoggedInUser struct for PatchedLoggedInUser.
PatchedObjectPermissions struct for PatchedObjectPermissions.
PatchedPart Serializer for the Part model.
PatchedPartFamily Serializer for the PartFamily model.
PatchedPermissionGroup struct for PatchedPermissionGroup.
PatchedResourcePermissions struct for PatchedResourcePermissions.
PatchedRoom Serializer for the Room model.
PatchedSite Serializer for the Site model.
PatchedWriteOnlyDevice Serializes Device querysets to JSON.
PermissionGroup struct for PermissionGroup.
ReservationRequest struct for ReservationRequest.
ReservationSessionSerializerReadOnly struct for ReservationSessionSerializerReadOnly.
ReservationSessionSerializerReadOnlyOwner struct for ReservationSessionSerializerReadOnlyOwner.
ResourcePermissions struct for ResourcePermissions.
ResourceStatusRequest struct for ResourceStatusRequest.
Room Serializer for the Room model.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
Site Serializer for the Site model.
Token struct for Token.
User Used for showing username of the person currently owning the device instead of showing user id.
WriteOnlyDevice Serializes Device querysets to JSON.

# Type aliases

CallbackApiService CallbackApi service.
DevicesApiService DevicesApi service.
DjangoLoginApiService DjangoLoginApi service.
EventEnum * `RES` - Reserved * `REL` - Released * `OFF` - Taken offline * `ON` - Brought online * `CR` - Created * `MOD` - Modified * `QUE` - Waiting for resources * `ERR` - Reservation error.
ExternalSigninApiService ExternalSigninApi service.
GroupsApiService GroupsApi service.
LabelsApiService LabelsApi service.
LogsApiService LogsApi service.
PartFamiliesApiService PartFamiliesApi service.
PartsApiService PartsApi service.
PermissionsApiService PermissionsApi service.
PermissionsEnum * `view` - view * `change` - change * `add` - add * `delete` - delete.
ReservationsApiService ReservationsApi service.
RoomsApiService RoomsApi service.
SchemaApiService SchemaApi service.
ServerConfigurations stores multiple ServerConfiguration items.
SigninApiService SigninApi service.
SignoutApiService SignoutApi service.
SitesApiService SitesApi service.
SourceEnum * `TERRAFORM` - Terraform * `XML` - XML * `UI` - UI * `OTHER` - Other.
StatusEnum * `ACTIVE` - Active * `DISABLED` - Disabled * `OFFLINE` - Offline.
TokenAuthApiService TokenAuthApi service.
UserApiService UserApi service.