diff --git a/access_codes_create_multiple_request.go b/access_codes_create_multiple_request.go
index 21361ee..1ca38f8 100644
--- a/access_codes_create_multiple_request.go
+++ b/access_codes_create_multiple_request.go
@@ -9,9 +9,8 @@ type AccessCodesCreateMultipleRequest struct {
Name *string `json:"name,omitempty"`
StartsAt *string `json:"starts_at,omitempty"`
EndsAt *string `json:"ends_at,omitempty"`
- // `<= 8 characters`
- Code *string `json:"code,omitempty"`
- AttemptForOfflineDevice *bool `json:"attempt_for_offline_device,omitempty"`
- PreferNativeScheduling *bool `json:"prefer_native_scheduling,omitempty"`
- UseBackupAccessCodePool *bool `json:"use_backup_access_code_pool,omitempty"`
+ Code *string `json:"code,omitempty"`
+ AttemptForOfflineDevice *bool `json:"attempt_for_offline_device,omitempty"`
+ PreferNativeScheduling *bool `json:"prefer_native_scheduling,omitempty"`
+ UseBackupAccessCodePool *bool `json:"use_backup_access_code_pool,omitempty"`
}
diff --git a/access_codes_create_request.go b/access_codes_create_request.go
index b2992e4..7e7a1c2 100644
--- a/access_codes_create_request.go
+++ b/access_codes_create_request.go
@@ -4,11 +4,10 @@ package api
// AccessCodesCreateRequest is an in-lined request used by the Create endpoint.
type AccessCodesCreateRequest struct {
- DeviceId string `json:"device_id"`
- Name *string `json:"name,omitempty"`
- StartsAt *string `json:"starts_at,omitempty"`
- EndsAt *string `json:"ends_at,omitempty"`
- // `<= 8 characters`
+ DeviceId string `json:"device_id"`
+ Name *string `json:"name,omitempty"`
+ StartsAt *string `json:"starts_at,omitempty"`
+ EndsAt *string `json:"ends_at,omitempty"`
Code *string `json:"code,omitempty"`
Sync *bool `json:"sync,omitempty"`
AttemptForOfflineDevice *bool `json:"attempt_for_offline_device,omitempty"`
diff --git a/access_codes_update_request.go b/access_codes_update_request.go
index 54354b0..3e57664 100644
--- a/access_codes_update_request.go
+++ b/access_codes_update_request.go
@@ -4,10 +4,9 @@ package api
// AccessCodesUpdateRequest is an in-lined request used by the Update endpoint.
type AccessCodesUpdateRequest struct {
- Name *string `json:"name,omitempty"`
- StartsAt *string `json:"starts_at,omitempty"`
- EndsAt *string `json:"ends_at,omitempty"`
- // `<= 8 characters`
+ Name *string `json:"name,omitempty"`
+ StartsAt *string `json:"starts_at,omitempty"`
+ EndsAt *string `json:"ends_at,omitempty"`
Code *string `json:"code,omitempty"`
Sync *bool `json:"sync,omitempty"`
AttemptForOfflineDevice *bool `json:"attempt_for_offline_device,omitempty"`
diff --git a/accesscodes/simulate_create_unmanaged_access_code_request.go b/accesscodes/simulate_create_unmanaged_access_code_request.go
index e5b117b..d83aa26 100644
--- a/accesscodes/simulate_create_unmanaged_access_code_request.go
+++ b/accesscodes/simulate_create_unmanaged_access_code_request.go
@@ -6,6 +6,5 @@ package accesscodes
type SimulateCreateUnmanagedAccessCodeRequest struct {
DeviceId string `json:"device_id"`
Name string `json:"name"`
- // `<= 8 characters`
- Code string `json:"code"`
+ Code string `json:"code"`
}
diff --git a/client_sessions_create_request.go b/client_sessions_create_request.go
index 6ce115a..fd51b55 100644
--- a/client_sessions_create_request.go
+++ b/client_sessions_create_request.go
@@ -4,7 +4,6 @@ package api
// ClientSessionsCreateRequest is an in-lined request used by the Create endpoint.
type ClientSessionsCreateRequest struct {
- // `non-empty`
UserIdentifierKey *string `json:"user_identifier_key,omitempty"`
ConnectWebviewIds *[]string `json:"connect_webview_ids,omitempty"`
ConnectedAccountIds *[]string `json:"connected_account_ids,omitempty"`
diff --git a/connect_webviews_create_request_custom_metadata_value.go b/connect_webviews_create_request_custom_metadata_value.go
index 86ba08b..ccbab4c 100644
--- a/connect_webviews_create_request_custom_metadata_value.go
+++ b/connect_webviews_create_request_custom_metadata_value.go
@@ -8,8 +8,7 @@ import (
)
type ConnectWebviewsCreateRequestCustomMetadataValue struct {
- typeName string
- // `<= 500 characters`
+ typeName string
String string
Double float64
StringOptional *string