diff --git a/vrchat_dart_generated/.openapi-generator/FILES b/vrchat_dart_generated/.openapi-generator/FILES index bb25651..e6e84a2 100644 --- a/vrchat_dart_generated/.openapi-generator/FILES +++ b/vrchat_dart_generated/.openapi-generator/FILES @@ -142,6 +142,7 @@ doc/GroupAnnouncement.md doc/GroupAuditLogEntry.md doc/GroupAuditLogEntryBase.md doc/GroupAuditLogEntryBooleanChange.md +doc/GroupAuditLogEntryData.md doc/GroupAuditLogEntryDataGroupAnnouncement.md doc/GroupAuditLogEntryDataGroupCalendarEventCreate.md doc/GroupAuditLogEntryDataGroupCalendarEventDelete.md @@ -163,8 +164,6 @@ doc/GroupAuditLogEntryDataGroupRoleCreate.md doc/GroupAuditLogEntryDataGroupRoleDelete.md doc/GroupAuditLogEntryDataGroupRoleUpdate.md doc/GroupAuditLogEntryDataGroupUpdate.md -doc/GroupAuditLogEntryEvent.md -doc/GroupAuditLogEntryEventData.md doc/GroupAuditLogEntryFileIDChange.md doc/GroupAuditLogEntryGroupAnnouncement.md doc/GroupAuditLogEntryGroupCalendarEventCreate.md @@ -637,6 +636,7 @@ lib/src/model/group_announcement.dart lib/src/model/group_audit_log_entry.dart lib/src/model/group_audit_log_entry_base.dart lib/src/model/group_audit_log_entry_boolean_change.dart +lib/src/model/group_audit_log_entry_data.dart lib/src/model/group_audit_log_entry_data_group_announcement.dart lib/src/model/group_audit_log_entry_data_group_calendar_event_create.dart lib/src/model/group_audit_log_entry_data_group_calendar_event_delete.dart @@ -658,8 +658,6 @@ lib/src/model/group_audit_log_entry_data_group_role_create.dart lib/src/model/group_audit_log_entry_data_group_role_delete.dart lib/src/model/group_audit_log_entry_data_group_role_update.dart lib/src/model/group_audit_log_entry_data_group_update.dart -lib/src/model/group_audit_log_entry_event.dart -lib/src/model/group_audit_log_entry_event_data.dart lib/src/model/group_audit_log_entry_file_id_change.dart lib/src/model/group_audit_log_entry_group_announcement.dart lib/src/model/group_audit_log_entry_group_calendar_event_create.dart @@ -1121,8 +1119,7 @@ test/group_audit_log_entry_data_group_role_delete_test.dart test/group_audit_log_entry_data_group_role_test.dart test/group_audit_log_entry_data_group_role_update_test.dart test/group_audit_log_entry_data_group_update_test.dart -test/group_audit_log_entry_event_data_test.dart -test/group_audit_log_entry_event_test.dart +test/group_audit_log_entry_data_test.dart test/group_audit_log_entry_file_id_change_test.dart test/group_audit_log_entry_group_announcement_test.dart test/group_audit_log_entry_group_calendar_event_create_test.dart diff --git a/vrchat_dart_generated/CHANGELOG.md b/vrchat_dart_generated/CHANGELOG.md index ada5dd5..8e5360f 100644 --- a/vrchat_dart_generated/CHANGELOG.md +++ b/vrchat_dart_generated/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.22.1 +- Updated to match spec + ## 1.22.0 - Updated to match spec diff --git a/vrchat_dart_generated/README.md b/vrchat_dart_generated/README.md index 60e018f..7abb2a7 100644 --- a/vrchat_dart_generated/README.md +++ b/vrchat_dart_generated/README.md @@ -21,7 +21,7 @@ Consider pinning to the OpenAPI version your tools support. Every release publis This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.22.0 +- API version: 1.22.1 - Generator version: 7.24.0 - Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit [https://vrchat.community](https://vrchat.community) @@ -536,6 +536,7 @@ Class | Method | HTTP request | Description - [GroupAuditLogEntry](doc/GroupAuditLogEntry.md) - [GroupAuditLogEntryBase](doc/GroupAuditLogEntryBase.md) - [GroupAuditLogEntryBooleanChange](doc/GroupAuditLogEntryBooleanChange.md) + - [GroupAuditLogEntryData](doc/GroupAuditLogEntryData.md) - [GroupAuditLogEntryDataGroupAnnouncement](doc/GroupAuditLogEntryDataGroupAnnouncement.md) - [GroupAuditLogEntryDataGroupCalendarEventCreate](doc/GroupAuditLogEntryDataGroupCalendarEventCreate.md) - [GroupAuditLogEntryDataGroupCalendarEventDelete](doc/GroupAuditLogEntryDataGroupCalendarEventDelete.md) @@ -557,8 +558,6 @@ Class | Method | HTTP request | Description - [GroupAuditLogEntryDataGroupRoleDelete](doc/GroupAuditLogEntryDataGroupRoleDelete.md) - [GroupAuditLogEntryDataGroupRoleUpdate](doc/GroupAuditLogEntryDataGroupRoleUpdate.md) - [GroupAuditLogEntryDataGroupUpdate](doc/GroupAuditLogEntryDataGroupUpdate.md) - - [GroupAuditLogEntryEvent](doc/GroupAuditLogEntryEvent.md) - - [GroupAuditLogEntryEventData](doc/GroupAuditLogEntryEventData.md) - [GroupAuditLogEntryFileIDChange](doc/GroupAuditLogEntryFileIDChange.md) - [GroupAuditLogEntryGroupAnnouncement](doc/GroupAuditLogEntryGroupAnnouncement.md) - [GroupAuditLogEntryGroupCalendarEventCreate](doc/GroupAuditLogEntryGroupCalendarEventCreate.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntry.md b/vrchat_dart_generated/doc/GroupAuditLogEntry.md index 41a96aa..d02dc05 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntry.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntry.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **eventType** | **String** | | **groupId** | **String** | | **id** | **String** | | -**data** | [**GroupAuditLogEntryEventData**](GroupAuditLogEntryEventData.md) | | +**data** | [**GroupAuditLogEntryData**](GroupAuditLogEntryData.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryEventData.md b/vrchat_dart_generated/doc/GroupAuditLogEntryData.md similarity index 91% rename from vrchat_dart_generated/doc/GroupAuditLogEntryEventData.md rename to vrchat_dart_generated/doc/GroupAuditLogEntryData.md index c724a75..041b1cb 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryEventData.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryData.md @@ -1,4 +1,4 @@ -# vrchat_dart_generated.model.GroupAuditLogEntryEventData +# vrchat_dart_generated.model.GroupAuditLogEntryData ## Load the model package ```dart @@ -53,16 +53,19 @@ Name | Type | Description | Notes **roleId** | **String** | | [optional] **roleName** | **String** | The name of the role that was assigned or unassigned. | [optional] **managerNotes** | [**GroupAuditLogEntryStringChange**](GroupAuditLogEntryStringChange.md) | | [optional] +**visibility** | [**GroupPostVisibility**](GroupPostVisibility.md) | | [optional] **editorId** | **Object** | | [optional] **imageUrl** | **String** | The URL of the post image. | [optional] +**isAddedOnJoin** | **Object** | | [optional] +**isSelfAssignable** | **Object** | | [optional] +**order** | **Object** | | [optional] +**permissions** | **Object** | | [optional] +**requiresPurchase** | **bool** | Whether the role requires a purchase. | [optional] +**requiresTwoFactor** | **bool** | Whether the role requires two-factor authentication. | [optional] **groupId** | **String** | | [optional] **lastUpdatedByUserId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional] **defaultRole** | **bool** | Whether the role is the group's default role. | [optional] **isManagementRole** | **bool** | Whether the role is a management role. | [optional] -**isAddedOnJoin** | [**GroupAuditLogEntryBooleanChange**](GroupAuditLogEntryBooleanChange.md) | | [optional] -**isSelfAssignable** | [**GroupAuditLogEntryBooleanChange**](GroupAuditLogEntryBooleanChange.md) | | [optional] -**order** | [**GroupAuditLogEntryIntegerChange**](GroupAuditLogEntryIntegerChange.md) | | [optional] -**permissions** | [**GroupAuditLogEntryStringListChange**](GroupAuditLogEntryStringListChange.md) | | [optional] **allowGroupJoinPrompt** | [**GroupAuditLogEntryBooleanChange**](GroupAuditLogEntryBooleanChange.md) | | [optional] **bannerId** | [**GroupAuditLogEntryFileIDChange**](GroupAuditLogEntryFileIDChange.md) | | [optional] **iconId** | [**GroupAuditLogEntryFileIDChange**](GroupAuditLogEntryFileIDChange.md) | | [optional] diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryEvent.md b/vrchat_dart_generated/doc/GroupAuditLogEntryEvent.md deleted file mode 100644 index 4f9efcc..0000000 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryEvent.md +++ /dev/null @@ -1,17 +0,0 @@ -# vrchat_dart_generated.model.GroupAuditLogEntryEvent - -## Load the model package -```dart -import 'package:vrchat_dart_generated/api.dart'; -``` - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryEventData**](GroupAuditLogEntryEventData.md) | | -**eventType** | **String** | | -**targetId** | **String** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupAnnouncement.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupAnnouncement.md index 4b21c83..c673ab6 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupAnnouncement.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupAnnouncement.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupAnnouncement**](GroupAuditLogEntryDataGroupAnnouncement.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupAnnouncement**](GroupAuditLogEntryDataGroupAnnouncement.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupCalendarEventCreate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupCalendarEventCreate.md index f8df37b..53ee5ac 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupCalendarEventCreate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupCalendarEventCreate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupCalendarEventCreate**](GroupAuditLogEntryDataGroupCalendarEventCreate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupCalendarEventCreate**](GroupAuditLogEntryDataGroupCalendarEventCreate.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupCalendarEventDelete.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupCalendarEventDelete.md index 374fe7c..3f40b22 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupCalendarEventDelete.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupCalendarEventDelete.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupCalendarEventDelete**](GroupAuditLogEntryDataGroupCalendarEventDelete.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupCalendarEventDelete**](GroupAuditLogEntryDataGroupCalendarEventDelete.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryCreate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryCreate.md index 86c4c2e..2affc02 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryCreate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryCreate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupGalleryCreate**](GroupAuditLogEntryDataGroupGalleryCreate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupGalleryCreate**](GroupAuditLogEntryDataGroupGalleryCreate.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryDelete.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryDelete.md index 0eb1c5d..09b3a0e 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryDelete.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryDelete.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupGalleryDelete**](GroupAuditLogEntryDataGroupGalleryDelete.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupGalleryDelete**](GroupAuditLogEntryDataGroupGalleryDelete.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryUpdate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryUpdate.md index da0c186..08c9d71 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryUpdate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupGalleryUpdate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupGalleryUpdate**](GroupAuditLogEntryDataGroupGalleryUpdate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupGalleryUpdate**](GroupAuditLogEntryDataGroupGalleryUpdate.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceAnnouncement.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceAnnouncement.md index e8b1ffd..50bacf0 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceAnnouncement.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceAnnouncement.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupInstanceAnnouncement**](GroupAuditLogEntryDataGroupInstanceAnnouncement.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupInstanceAnnouncement**](GroupAuditLogEntryDataGroupInstanceAnnouncement.md) | | **targetId** | **String** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceClose.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceClose.md index f51f179..90c0b89 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceClose.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceClose.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupInstanceClose**](GroupAuditLogEntryDataGroupInstanceClose.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupInstanceClose**](GroupAuditLogEntryDataGroupInstanceClose.md) | | **targetId** | **String** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceCreate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceCreate.md index d255883..625baee 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceCreate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceCreate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupInstanceCreate**](GroupAuditLogEntryDataGroupInstanceCreate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupInstanceCreate**](GroupAuditLogEntryDataGroupInstanceCreate.md) | | **targetId** | **String** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceKick.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceKick.md index e271025..e586a3b 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceKick.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceKick.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupInstanceModeration**](GroupAuditLogEntryDataGroupInstanceModeration.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupInstanceModeration**](GroupAuditLogEntryDataGroupInstanceModeration.md) | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceWarn.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceWarn.md index f9fbe65..37ddfec 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceWarn.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInstanceWarn.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupInstanceModeration**](GroupAuditLogEntryDataGroupInstanceModeration.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupInstanceModeration**](GroupAuditLogEntryDataGroupInstanceModeration.md) | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInviteCancel.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInviteCancel.md index 9843de1..2a48800 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInviteCancel.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInviteCancel.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInviteCreate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInviteCreate.md index fe8b201..e0ed60b 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInviteCreate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupInviteCreate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberJoin.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberJoin.md index 7c41ee2..72b888c 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberJoin.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberJoin.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberLeave.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberLeave.md index cb4477b..7fd8e2c 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberLeave.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberLeave.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRemove.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRemove.md index fc613ad..a37ce67 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRemove.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRemove.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRoleAssign.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRoleAssign.md index 5886786..09f6fff 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRoleAssign.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRoleAssign.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupMemberRole**](GroupAuditLogEntryDataGroupMemberRole.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupMemberRole**](GroupAuditLogEntryDataGroupMemberRole.md) | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRoleUnassign.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRoleUnassign.md index 56e5ef6..5bfc9e5 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRoleUnassign.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberRoleUnassign.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupMemberRole**](GroupAuditLogEntryDataGroupMemberRole.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupMemberRole**](GroupAuditLogEntryDataGroupMemberRole.md) | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberUserUpdate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberUserUpdate.md index 34105e0..74ddb2c 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberUserUpdate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupMemberUserUpdate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupMemberUserUpdate**](GroupAuditLogEntryDataGroupMemberUserUpdate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupMemberUserUpdate**](GroupAuditLogEntryDataGroupMemberUserUpdate.md) | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostCreate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostCreate.md index 5278e3e..ea8c89b 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostCreate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostCreate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupPostCreate**](GroupAuditLogEntryDataGroupPostCreate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupPostCreate**](GroupAuditLogEntryDataGroupPostCreate.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostDelete.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostDelete.md index b404a90..6524bcb 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostDelete.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostDelete.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupPostDelete**](GroupAuditLogEntryDataGroupPostDelete.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupPostDelete**](GroupAuditLogEntryDataGroupPostDelete.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostUpdate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostUpdate.md index 806aaf3..016f553 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostUpdate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupPostUpdate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupPostUpdate**](GroupAuditLogEntryDataGroupPostUpdate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupPostUpdate**](GroupAuditLogEntryDataGroupPostUpdate.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestBlock.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestBlock.md index e238412..4193a93 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestBlock.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestBlock.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestCreate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestCreate.md index 7c1bf9a..a055de9 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestCreate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestCreate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestReject.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestReject.md index b8d97e1..b9b841d 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestReject.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestReject.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestWithdraw.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestWithdraw.md index 1d39e3b..4dab1fb 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestWithdraw.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRequestWithdraw.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleCreate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleCreate.md index e3c03f8..49c2844 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleCreate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleCreate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupRoleCreate**](GroupAuditLogEntryDataGroupRoleCreate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupRoleCreate**](GroupAuditLogEntryDataGroupRoleCreate.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleDelete.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleDelete.md index 420dbfc..398f3cf 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleDelete.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleDelete.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupRoleDelete**](GroupAuditLogEntryDataGroupRoleDelete.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupRoleDelete**](GroupAuditLogEntryDataGroupRoleDelete.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleUpdate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleUpdate.md index 136f27f..30d4290 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleUpdate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupRoleUpdate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupRoleUpdate**](GroupAuditLogEntryDataGroupRoleUpdate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupRoleUpdate**](GroupAuditLogEntryDataGroupRoleUpdate.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUpdate.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUpdate.md index 3c01b3e..2fef158 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUpdate.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUpdate.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**GroupAuditLogEntryDataGroupUpdate**](GroupAuditLogEntryDataGroupUpdate.md) | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | [**GroupAuditLogEntryDataGroupUpdate**](GroupAuditLogEntryDataGroupUpdate.md) | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUserBan.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUserBan.md index 8a5cd41..8f70275 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUserBan.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUserBan.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUserUnban.md b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUserUnban.md index 2266e00..8810cfb 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUserUnban.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryGroupUserUnban.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Object** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Object** | | **targetId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/doc/GroupAuditLogEntryUnknown.md b/vrchat_dart_generated/doc/GroupAuditLogEntryUnknown.md index 98f79e7..85836cb 100644 --- a/vrchat_dart_generated/doc/GroupAuditLogEntryUnknown.md +++ b/vrchat_dart_generated/doc/GroupAuditLogEntryUnknown.md @@ -8,8 +8,14 @@ import 'package:vrchat_dart_generated/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | **Map<String, Object>** | | +**actorDisplayName** | **String** | The display name of the user who performed the action. | +**actorId** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | +**createdAt** | [**DateTime**](DateTime.md) | When the action was performed. | +**description** | **String** | A human-readable description of the event. | **eventType** | **String** | | +**groupId** | **String** | | +**id** | **String** | | +**data** | **Map<String, Object>** | | **targetId** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/vrchat_dart_generated/lib/src/deserialize.dart b/vrchat_dart_generated/lib/src/deserialize.dart index 75622ae..2fec293 100644 --- a/vrchat_dart_generated/lib/src/deserialize.dart +++ b/vrchat_dart_generated/lib/src/deserialize.dart @@ -115,6 +115,7 @@ import 'package:vrchat_dart_generated/src/model/group_announcement.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_base.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_boolean_change.dart'; +import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_announcement.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_calendar_event_create.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_calendar_event_delete.dart'; @@ -136,8 +137,6 @@ import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_role_delete.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_role_update.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_update.dart'; -import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_event.dart'; -import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_event_data.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_file_id_change.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_group_announcement.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_group_calendar_event_create.dart'; @@ -791,6 +790,9 @@ ReturnType deserialize( value as Map, ) as ReturnType; + case 'GroupAuditLogEntryData': + return GroupAuditLogEntryData.fromJson(value as Map) + as ReturnType; case 'GroupAuditLogEntryDataGroupAnnouncement': return GroupAuditLogEntryDataGroupAnnouncement.fromJson( value as Map, @@ -896,12 +898,6 @@ ReturnType deserialize( value as Map, ) as ReturnType; - case 'GroupAuditLogEntryEvent': - return GroupAuditLogEntryEvent.fromJson(value as Map) - as ReturnType; - case 'GroupAuditLogEntryEventData': - return GroupAuditLogEntryEventData.fromJson(value as Map) - as ReturnType; case 'GroupAuditLogEntryFileIDChange': return GroupAuditLogEntryFileIDChange.fromJson( value as Map, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry.dart index b3ade9f..e3d5e6f 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry.dart @@ -3,7 +3,7 @@ // // ignore_for_file: unused_element -import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_event_data.dart'; +import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data.dart'; import 'package:json_annotation/json_annotation.dart'; @@ -63,7 +63,7 @@ class GroupAuditLogEntry { final String id; @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryEventData data; + final GroupAuditLogEntryData data; @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry.g.dart index 2959250..a1bb6f0 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry.g.dart @@ -40,8 +40,7 @@ GroupAuditLogEntry _$GroupAuditLogEntryFromJson(Map json) => id: $checkedConvert('id', (v) => v as String), data: $checkedConvert( 'data', - (v) => - GroupAuditLogEntryEventData.fromJson(v as Map), + (v) => GroupAuditLogEntryData.fromJson(v as Map), ), targetId: $checkedConvert('targetId', (v) => v as String), ); diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event_data.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_data.dart similarity index 90% rename from vrchat_dart_generated/lib/src/model/group_audit_log_entry_event_data.dart rename to vrchat_dart_generated/lib/src/model/group_audit_log_entry_data.dart index a33fe47..2b76f55 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event_data.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_data.dart @@ -5,9 +5,9 @@ // ignore_for_file: unused_element import 'package:vrchat_dart_generated/src/model/calendar_event_recurrence.dart'; import 'package:vrchat_dart_generated/src/model/calendar_event_occurrence_kind.dart'; +import 'package:vrchat_dart_generated/src/model/group_post_visibility.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_string_list_change.dart'; import 'package:vrchat_dart_generated/src/model/calendar_event_access.dart'; -import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_integer_change.dart'; import 'package:vrchat_dart_generated/src/model/group_access_type.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_join_state_change.dart'; import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_string_change.dart'; @@ -16,7 +16,7 @@ import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_file_id_ch import 'package:json_annotation/json_annotation.dart'; -part 'group_audit_log_entry_event_data.g.dart'; +part 'group_audit_log_entry_data.g.dart'; @JsonSerializable( checked: true, @@ -24,9 +24,9 @@ part 'group_audit_log_entry_event_data.g.dart'; disallowUnrecognizedKeys: false, explicitToJson: true, ) -class GroupAuditLogEntryEventData { - /// Returns a new [GroupAuditLogEntryEventData] instance. - GroupAuditLogEntryEventData({ +class GroupAuditLogEntryData { + /// Returns a new [GroupAuditLogEntryData] instance. + GroupAuditLogEntryData({ this.authorId, this.imageId, @@ -117,18 +117,12 @@ class GroupAuditLogEntryEventData { this.managerNotes, + this.visibility, + this.editorId, this.imageUrl, - this.groupId, - - this.lastUpdatedByUserId, - - this.defaultRole, - - this.isManagementRole, - this.isAddedOnJoin, this.isSelfAssignable, @@ -137,6 +131,18 @@ class GroupAuditLogEntryEventData { this.permissions, + this.requiresPurchase, + + this.requiresTwoFactor, + + this.groupId, + + this.lastUpdatedByUserId, + + this.defaultRole, + + this.isManagementRole, + this.allowGroupJoinPrompt, this.bannerId, @@ -318,6 +324,9 @@ class GroupAuditLogEntryEventData { @JsonKey(name: r'managerNotes', required: false, includeIfNull: false) final GroupAuditLogEntryStringChange? managerNotes; + @JsonKey(name: r'visibility', required: false, includeIfNull: false) + final GroupPostVisibility? visibility; + @JsonKey(name: r'editorId', required: false, includeIfNull: false) final Object? editorId; @@ -325,6 +334,26 @@ class GroupAuditLogEntryEventData { @JsonKey(name: r'imageUrl', required: false, includeIfNull: false) final String? imageUrl; + @JsonKey(name: r'isAddedOnJoin', required: false, includeIfNull: false) + final Object? isAddedOnJoin; + + @JsonKey(name: r'isSelfAssignable', required: false, includeIfNull: false) + final Object? isSelfAssignable; + + @JsonKey(name: r'order', required: false, includeIfNull: false) + final Object? order; + + @JsonKey(name: r'permissions', required: false, includeIfNull: false) + final Object? permissions; + + /// Whether the role requires a purchase. + @JsonKey(name: r'requiresPurchase', required: false, includeIfNull: false) + final bool? requiresPurchase; + + /// Whether the role requires two-factor authentication. + @JsonKey(name: r'requiresTwoFactor', required: false, includeIfNull: false) + final bool? requiresTwoFactor; + @JsonKey(name: r'groupId', required: false, includeIfNull: false) final String? groupId; @@ -340,18 +369,6 @@ class GroupAuditLogEntryEventData { @JsonKey(name: r'isManagementRole', required: false, includeIfNull: false) final bool? isManagementRole; - @JsonKey(name: r'isAddedOnJoin', required: false, includeIfNull: false) - final GroupAuditLogEntryBooleanChange? isAddedOnJoin; - - @JsonKey(name: r'isSelfAssignable', required: false, includeIfNull: false) - final GroupAuditLogEntryBooleanChange? isSelfAssignable; - - @JsonKey(name: r'order', required: false, includeIfNull: false) - final GroupAuditLogEntryIntegerChange? order; - - @JsonKey(name: r'permissions', required: false, includeIfNull: false) - final GroupAuditLogEntryStringListChange? permissions; - @JsonKey(name: r'allowGroupJoinPrompt', required: false, includeIfNull: false) final GroupAuditLogEntryBooleanChange? allowGroupJoinPrompt; @@ -376,7 +393,7 @@ class GroupAuditLogEntryEventData { @override bool operator ==(Object other) => identical(this, other) || - other is GroupAuditLogEntryEventData && + other is GroupAuditLogEntryData && other.authorId == authorId && other.imageId == imageId && other.sendNotification == sendNotification && @@ -422,16 +439,19 @@ class GroupAuditLogEntryEventData { other.roleId == roleId && other.roleName == roleName && other.managerNotes == managerNotes && + other.visibility == visibility && other.editorId == editorId && other.imageUrl == imageUrl && - other.groupId == groupId && - other.lastUpdatedByUserId == lastUpdatedByUserId && - other.defaultRole == defaultRole && - other.isManagementRole == isManagementRole && other.isAddedOnJoin == isAddedOnJoin && other.isSelfAssignable == isSelfAssignable && other.order == order && other.permissions == permissions && + other.requiresPurchase == requiresPurchase && + other.requiresTwoFactor == requiresTwoFactor && + other.groupId == groupId && + other.lastUpdatedByUserId == lastUpdatedByUserId && + other.defaultRole == defaultRole && + other.isManagementRole == isManagementRole && other.allowGroupJoinPrompt == allowGroupJoinPrompt && other.bannerId == bannerId && other.iconId == iconId && @@ -487,16 +507,19 @@ class GroupAuditLogEntryEventData { roleId.hashCode + roleName.hashCode + managerNotes.hashCode + + visibility.hashCode + (editorId == null ? 0 : editorId.hashCode) + (imageUrl == null ? 0 : imageUrl.hashCode) + + (isAddedOnJoin == null ? 0 : isAddedOnJoin.hashCode) + + (isSelfAssignable == null ? 0 : isSelfAssignable.hashCode) + + (order == null ? 0 : order.hashCode) + + (permissions == null ? 0 : permissions.hashCode) + + requiresPurchase.hashCode + + requiresTwoFactor.hashCode + groupId.hashCode + lastUpdatedByUserId.hashCode + defaultRole.hashCode + isManagementRole.hashCode + - isAddedOnJoin.hashCode + - isSelfAssignable.hashCode + - order.hashCode + - permissions.hashCode + allowGroupJoinPrompt.hashCode + bannerId.hashCode + iconId.hashCode + @@ -505,10 +528,10 @@ class GroupAuditLogEntryEventData { nameplateId.hashCode + rules.hashCode; - factory GroupAuditLogEntryEventData.fromJson(Map json) => - _$GroupAuditLogEntryEventDataFromJson(json); + factory GroupAuditLogEntryData.fromJson(Map json) => + _$GroupAuditLogEntryDataFromJson(json); - Map toJson() => _$GroupAuditLogEntryEventDataToJson(this); + Map toJson() => _$GroupAuditLogEntryDataToJson(this); @override String toString() { diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event_data.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_data.g.dart similarity index 87% rename from vrchat_dart_generated/lib/src/model/group_audit_log_entry_event_data.g.dart rename to vrchat_dart_generated/lib/src/model/group_audit_log_entry_data.g.dart index 7058dcf..5ef2d8d 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event_data.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_data.g.dart @@ -2,16 +2,16 @@ // ignore_for_file: deprecated_member_use_from_same_package -part of 'group_audit_log_entry_event_data.dart'; +part of 'group_audit_log_entry_data.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** -GroupAuditLogEntryEventData _$GroupAuditLogEntryEventDataFromJson( +GroupAuditLogEntryData _$GroupAuditLogEntryDataFromJson( Map json, -) => $checkedCreate('GroupAuditLogEntryEventData', json, ($checkedConvert) { - final val = GroupAuditLogEntryEventData( +) => $checkedCreate('GroupAuditLogEntryData', json, ($checkedConvert) { + final val = GroupAuditLogEntryData( authorId: $checkedConvert('authorId', (v) => v as String?), imageId: $checkedConvert('imageId', (v) => v as String?), sendNotification: $checkedConvert('sendNotification', (v) => v as bool?), @@ -127,8 +127,18 @@ GroupAuditLogEntryEventData _$GroupAuditLogEntryEventDataFromJson( ? null : GroupAuditLogEntryStringChange.fromJson(v as Map), ), + visibility: $checkedConvert( + 'visibility', + (v) => $enumDecodeNullable(_$GroupPostVisibilityEnumMap, v), + ), editorId: $checkedConvert('editorId', (v) => v), imageUrl: $checkedConvert('imageUrl', (v) => v as String?), + isAddedOnJoin: $checkedConvert('isAddedOnJoin', (v) => v), + isSelfAssignable: $checkedConvert('isSelfAssignable', (v) => v), + order: $checkedConvert('order', (v) => v), + permissions: $checkedConvert('permissions', (v) => v), + requiresPurchase: $checkedConvert('requiresPurchase', (v) => v as bool?), + requiresTwoFactor: $checkedConvert('requiresTwoFactor', (v) => v as bool?), groupId: $checkedConvert('groupId', (v) => v as String?), lastUpdatedByUserId: $checkedConvert( 'lastUpdatedByUserId', @@ -136,32 +146,6 @@ GroupAuditLogEntryEventData _$GroupAuditLogEntryEventDataFromJson( ), defaultRole: $checkedConvert('defaultRole', (v) => v as bool?), isManagementRole: $checkedConvert('isManagementRole', (v) => v as bool?), - isAddedOnJoin: $checkedConvert( - 'isAddedOnJoin', - (v) => v == null - ? null - : GroupAuditLogEntryBooleanChange.fromJson(v as Map), - ), - isSelfAssignable: $checkedConvert( - 'isSelfAssignable', - (v) => v == null - ? null - : GroupAuditLogEntryBooleanChange.fromJson(v as Map), - ), - order: $checkedConvert( - 'order', - (v) => v == null - ? null - : GroupAuditLogEntryIntegerChange.fromJson(v as Map), - ), - permissions: $checkedConvert( - 'permissions', - (v) => v == null - ? null - : GroupAuditLogEntryStringListChange.fromJson( - v as Map, - ), - ), allowGroupJoinPrompt: $checkedConvert( 'allowGroupJoinPrompt', (v) => v == null @@ -212,8 +196,8 @@ GroupAuditLogEntryEventData _$GroupAuditLogEntryEventDataFromJson( return val; }); -Map _$GroupAuditLogEntryEventDataToJson( - GroupAuditLogEntryEventData instance, +Map _$GroupAuditLogEntryDataToJson( + GroupAuditLogEntryData instance, ) => { 'authorId': ?instance.authorId, 'imageId': ?instance.imageId, @@ -261,16 +245,19 @@ Map _$GroupAuditLogEntryEventDataToJson( 'roleId': ?instance.roleId, 'roleName': ?instance.roleName, 'managerNotes': ?instance.managerNotes?.toJson(), + 'visibility': ?_$GroupPostVisibilityEnumMap[instance.visibility], 'editorId': ?instance.editorId, 'imageUrl': ?instance.imageUrl, + 'isAddedOnJoin': ?instance.isAddedOnJoin, + 'isSelfAssignable': ?instance.isSelfAssignable, + 'order': ?instance.order, + 'permissions': ?instance.permissions, + 'requiresPurchase': ?instance.requiresPurchase, + 'requiresTwoFactor': ?instance.requiresTwoFactor, 'groupId': ?instance.groupId, 'lastUpdatedByUserId': ?instance.lastUpdatedByUserId, 'defaultRole': ?instance.defaultRole, 'isManagementRole': ?instance.isManagementRole, - 'isAddedOnJoin': ?instance.isAddedOnJoin?.toJson(), - 'isSelfAssignable': ?instance.isSelfAssignable?.toJson(), - 'order': ?instance.order?.toJson(), - 'permissions': ?instance.permissions?.toJson(), 'allowGroupJoinPrompt': ?instance.allowGroupJoinPrompt?.toJson(), 'bannerId': ?instance.bannerId?.toJson(), 'iconId': ?instance.iconId?.toJson(), @@ -296,3 +283,8 @@ const _$GroupAccessTypeEnumMap = { GroupAccessType.plus: 'plus', GroupAccessType.public: 'public', }; + +const _$GroupPostVisibilityEnumMap = { + GroupPostVisibility.group: 'group', + GroupPostVisibility.public: 'public', +}; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event.dart deleted file mode 100644 index fd31a7e..0000000 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event.dart +++ /dev/null @@ -1,57 +0,0 @@ -// -// AUTO-GENERATED FILE, DO NOT MODIFY! -// - -// ignore_for_file: unused_element -import 'package:vrchat_dart_generated/src/model/group_audit_log_entry_event_data.dart'; - -import 'package:json_annotation/json_annotation.dart'; - -part 'group_audit_log_entry_event.g.dart'; - -@JsonSerializable( - checked: true, - createToJson: true, - disallowUnrecognizedKeys: false, - explicitToJson: true, -) -class GroupAuditLogEntryEvent { - /// Returns a new [GroupAuditLogEntryEvent] instance. - GroupAuditLogEntryEvent({ - required this.data, - - required this.eventType, - - required this.targetId, - }); - - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryEventData data; - - @JsonKey(name: r'eventType', required: true, includeIfNull: false) - final String eventType; - - @JsonKey(name: r'targetId', required: true, includeIfNull: false) - final String targetId; - - @override - bool operator ==(Object other) => - identical(this, other) || - other is GroupAuditLogEntryEvent && - other.data == data && - other.eventType == eventType && - other.targetId == targetId; - - @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; - - factory GroupAuditLogEntryEvent.fromJson(Map json) => - _$GroupAuditLogEntryEventFromJson(json); - - Map toJson() => _$GroupAuditLogEntryEventToJson(this); - - @override - String toString() { - return toJson().toString(); - } -} diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event.g.dart deleted file mode 100644 index 212bb23..0000000 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_event.g.dart +++ /dev/null @@ -1,32 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -// ignore_for_file: deprecated_member_use_from_same_package - -part of 'group_audit_log_entry_event.dart'; - -// ************************************************************************** -// JsonSerializableGenerator -// ************************************************************************** - -GroupAuditLogEntryEvent _$GroupAuditLogEntryEventFromJson( - Map json, -) => $checkedCreate('GroupAuditLogEntryEvent', json, ($checkedConvert) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryEvent( - data: $checkedConvert( - 'data', - (v) => GroupAuditLogEntryEventData.fromJson(v as Map), - ), - eventType: $checkedConvert('eventType', (v) => v as String), - targetId: $checkedConvert('targetId', (v) => v as String), - ); - return val; -}); - -Map _$GroupAuditLogEntryEventToJson( - GroupAuditLogEntryEvent instance, -) => { - 'data': instance.data.toJson(), - 'eventType': instance.eventType, - 'targetId': instance.targetId, -}; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_announcement.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_announcement.dart index 64f3f9e..6c3b5fb 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_announcement.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_announcement.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_announcement.g.dart'; class GroupAuditLogEntryGroupAnnouncement { /// Returns a new [GroupAuditLogEntryGroupAnnouncement] instance. GroupAuditLogEntryGroupAnnouncement({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupAnnouncement data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupAnnouncementEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupAnnouncement data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupAnnouncement { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupAnnouncement && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupAnnouncement.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_announcement.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_announcement.g.dart index 853356a..1239e35 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_announcement.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_announcement.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupAnnouncementFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupAnnouncement', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupAnnouncement( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupAnnouncement.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupAnnouncement( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupAnnouncementFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupAnnouncement.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupAnnouncementToJson( GroupAuditLogEntryGroupAnnouncement instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupAnnouncementEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_create.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_create.dart index 7b5b24d..e26feae 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_create.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_create.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_calendar_event_create.g.dart'; class GroupAuditLogEntryGroupCalendarEventCreate { /// Returns a new [GroupAuditLogEntryGroupCalendarEventCreate] instance. GroupAuditLogEntryGroupCalendarEventCreate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupCalendarEventCreate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupCalendarEventCreateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupCalendarEventCreate data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupCalendarEventCreate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupCalendarEventCreate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupCalendarEventCreate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_create.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_create.g.dart index 21ae0ec..4802532 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_create.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_create.g.dart @@ -14,14 +14,28 @@ _$GroupAuditLogEntryGroupCalendarEventCreateFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupCalendarEventCreate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupCalendarEventCreate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupCalendarEventCreate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupCalendarEventCreate( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -29,18 +43,32 @@ _$GroupAuditLogEntryGroupCalendarEventCreateFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupCalendarEventCreate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupCalendarEventCreateToJson( GroupAuditLogEntryGroupCalendarEventCreate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupCalendarEventCreateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_delete.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_delete.dart index bf3c43f..100a22c 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_delete.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_delete.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_calendar_event_delete.g.dart'; class GroupAuditLogEntryGroupCalendarEventDelete { /// Returns a new [GroupAuditLogEntryGroupCalendarEventDelete] instance. GroupAuditLogEntryGroupCalendarEventDelete({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupCalendarEventDelete data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupCalendarEventDeleteEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupCalendarEventDelete data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupCalendarEventDelete { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupCalendarEventDelete && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupCalendarEventDelete.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_delete.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_delete.g.dart index 32dd23e..654480d 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_delete.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_calendar_event_delete.g.dart @@ -14,14 +14,28 @@ _$GroupAuditLogEntryGroupCalendarEventDeleteFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupCalendarEventDelete', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupCalendarEventDelete( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupCalendarEventDelete.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupCalendarEventDelete( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -29,18 +43,32 @@ _$GroupAuditLogEntryGroupCalendarEventDeleteFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupCalendarEventDelete.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupCalendarEventDeleteToJson( GroupAuditLogEntryGroupCalendarEventDelete instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupCalendarEventDeleteEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_create.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_create.dart index f8db3f2..22f14e0 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_create.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_create.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_gallery_create.g.dart'; class GroupAuditLogEntryGroupGalleryCreate { /// Returns a new [GroupAuditLogEntryGroupGalleryCreate] instance. GroupAuditLogEntryGroupGalleryCreate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupGalleryCreate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupGalleryCreateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupGalleryCreate data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupGalleryCreate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupGalleryCreate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupGalleryCreate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_create.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_create.g.dart index 48d974e..d509d9d 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_create.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_create.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupGalleryCreateFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupGalleryCreate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupGalleryCreate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupGalleryCreate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupGalleryCreate( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupGalleryCreateFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupGalleryCreate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupGalleryCreateToJson( GroupAuditLogEntryGroupGalleryCreate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupGalleryCreateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_delete.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_delete.dart index f0113aa..32a4132 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_delete.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_delete.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_gallery_delete.g.dart'; class GroupAuditLogEntryGroupGalleryDelete { /// Returns a new [GroupAuditLogEntryGroupGalleryDelete] instance. GroupAuditLogEntryGroupGalleryDelete({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupGalleryDelete data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupGalleryDeleteEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupGalleryDelete data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupGalleryDelete { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupGalleryDelete && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupGalleryDelete.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_delete.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_delete.g.dart index f2fcbf7..e9f6c84 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_delete.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_delete.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupGalleryDeleteFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupGalleryDelete', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupGalleryDelete( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupGalleryDelete.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupGalleryDelete( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupGalleryDeleteFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupGalleryDelete.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupGalleryDeleteToJson( GroupAuditLogEntryGroupGalleryDelete instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupGalleryDeleteEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_update.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_update.dart index bcb2a20..71d50ec 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_update.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_update.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_gallery_update.g.dart'; class GroupAuditLogEntryGroupGalleryUpdate { /// Returns a new [GroupAuditLogEntryGroupGalleryUpdate] instance. GroupAuditLogEntryGroupGalleryUpdate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupGalleryUpdate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupGalleryUpdateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupGalleryUpdate data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupGalleryUpdate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupGalleryUpdate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupGalleryUpdate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_update.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_update.g.dart index 18338d6..e90b142 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_update.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_gallery_update.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupGalleryUpdateFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupGalleryUpdate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupGalleryUpdate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupGalleryUpdate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupGalleryUpdate( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupGalleryUpdateFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupGalleryUpdate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupGalleryUpdateToJson( GroupAuditLogEntryGroupGalleryUpdate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupGalleryUpdateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_announcement.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_announcement.dart index c47227c..aee3181 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_announcement.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_announcement.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_instance_announcement.g.dart'; class GroupAuditLogEntryGroupInstanceAnnouncement { /// Returns a new [GroupAuditLogEntryGroupInstanceAnnouncement] instance. GroupAuditLogEntryGroupInstanceAnnouncement({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupInstanceAnnouncement data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupInstanceAnnouncementEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupInstanceAnnouncement data; + /// Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -39,12 +73,27 @@ class GroupAuditLogEntryGroupInstanceAnnouncement { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupInstanceAnnouncement && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupInstanceAnnouncement.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_announcement.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_announcement.g.dart index 3819ee3..949fdfa 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_announcement.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_announcement.g.dart @@ -14,14 +14,28 @@ _$GroupAuditLogEntryGroupInstanceAnnouncementFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupInstanceAnnouncement', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupInstanceAnnouncement( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupInstanceAnnouncement.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupInstanceAnnouncement( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -29,18 +43,32 @@ _$GroupAuditLogEntryGroupInstanceAnnouncementFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupInstanceAnnouncement.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupInstanceAnnouncementToJson( GroupAuditLogEntryGroupInstanceAnnouncement instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupInstanceAnnouncementEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_close.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_close.dart index 9bd7a0f..9056e20 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_close.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_close.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_instance_close.g.dart'; class GroupAuditLogEntryGroupInstanceClose { /// Returns a new [GroupAuditLogEntryGroupInstanceClose] instance. GroupAuditLogEntryGroupInstanceClose({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupInstanceClose data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupInstanceCloseEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupInstanceClose data; + /// Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -39,12 +73,27 @@ class GroupAuditLogEntryGroupInstanceClose { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupInstanceClose && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupInstanceClose.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_close.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_close.g.dart index 100b305..b3ff784 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_close.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_close.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupInstanceCloseFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupInstanceClose', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupInstanceClose( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupInstanceClose.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupInstanceClose( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupInstanceCloseFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupInstanceClose.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupInstanceCloseToJson( GroupAuditLogEntryGroupInstanceClose instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupInstanceCloseEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_create.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_create.dart index 6938b41..ec443bb 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_create.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_create.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_instance_create.g.dart'; class GroupAuditLogEntryGroupInstanceCreate { /// Returns a new [GroupAuditLogEntryGroupInstanceCreate] instance. GroupAuditLogEntryGroupInstanceCreate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupInstanceCreate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupInstanceCreateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupInstanceCreate data; + /// Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -39,12 +73,27 @@ class GroupAuditLogEntryGroupInstanceCreate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupInstanceCreate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupInstanceCreate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_create.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_create.g.dart index d87f7da..145210a 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_create.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_create.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupInstanceCreateFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupInstanceCreate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupInstanceCreate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupInstanceCreate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupInstanceCreate( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupInstanceCreateFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupInstanceCreate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupInstanceCreateToJson( GroupAuditLogEntryGroupInstanceCreate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupInstanceCreateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_kick.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_kick.dart index a4d3f8b..e1fbbf7 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_kick.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_kick.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_instance_kick.g.dart'; class GroupAuditLogEntryGroupInstanceKick { /// Returns a new [GroupAuditLogEntryGroupInstanceKick] instance. GroupAuditLogEntryGroupInstanceKick({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupInstanceModeration data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupInstanceKickEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupInstanceModeration data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -39,12 +73,27 @@ class GroupAuditLogEntryGroupInstanceKick { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupInstanceKick && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupInstanceKick.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_kick.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_kick.g.dart index d7c1e94..f366f1a 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_kick.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_kick.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupInstanceKickFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupInstanceKick', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupInstanceKick( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupInstanceModeration.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupInstanceKick( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupInstanceKickFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupInstanceModeration.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupInstanceKickToJson( GroupAuditLogEntryGroupInstanceKick instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupInstanceKickEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_warn.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_warn.dart index 444cbce..161e712 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_warn.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_warn.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_instance_warn.g.dart'; class GroupAuditLogEntryGroupInstanceWarn { /// Returns a new [GroupAuditLogEntryGroupInstanceWarn] instance. GroupAuditLogEntryGroupInstanceWarn({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupInstanceModeration data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupInstanceWarnEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupInstanceModeration data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -39,12 +73,27 @@ class GroupAuditLogEntryGroupInstanceWarn { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupInstanceWarn && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupInstanceWarn.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_warn.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_warn.g.dart index d2632e7..c9939c2 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_warn.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_instance_warn.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupInstanceWarnFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupInstanceWarn', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupInstanceWarn( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupInstanceModeration.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupInstanceWarn( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupInstanceWarnFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupInstanceModeration.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupInstanceWarnToJson( GroupAuditLogEntryGroupInstanceWarn instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupInstanceWarnEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_cancel.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_cancel.dart index 9d56274..922d608 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_cancel.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_cancel.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_invite_cancel.g.dart'; class GroupAuditLogEntryGroupInviteCancel { /// Returns a new [GroupAuditLogEntryGroupInviteCancel] instance. GroupAuditLogEntryGroupInviteCancel({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupInviteCancelEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupInviteCancel { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupInviteCancel && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupInviteCancel.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_cancel.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_cancel.g.dart index 65a6521..afac6c9 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_cancel.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_cancel.g.dart @@ -13,9 +13,31 @@ _$GroupAuditLogEntryGroupInviteCancelFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupInviteCancel', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupInviteCancel( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +45,27 @@ _$GroupAuditLogEntryGroupInviteCancelFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupInviteCancelToJson( GroupAuditLogEntryGroupInviteCancel instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupInviteCancelEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_create.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_create.dart index 48841ec..0c577d2 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_create.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_create.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_invite_create.g.dart'; class GroupAuditLogEntryGroupInviteCreate { /// Returns a new [GroupAuditLogEntryGroupInviteCreate] instance. GroupAuditLogEntryGroupInviteCreate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupInviteCreateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupInviteCreate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupInviteCreate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupInviteCreate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_create.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_create.g.dart index fa9c582..772aebe 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_create.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_invite_create.g.dart @@ -13,9 +13,31 @@ _$GroupAuditLogEntryGroupInviteCreateFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupInviteCreate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupInviteCreate( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +45,27 @@ _$GroupAuditLogEntryGroupInviteCreateFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupInviteCreateToJson( GroupAuditLogEntryGroupInviteCreate instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupInviteCreateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_join.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_join.dart index 9c943f5..53d4363 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_join.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_join.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_member_join.g.dart'; class GroupAuditLogEntryGroupMemberJoin { /// Returns a new [GroupAuditLogEntryGroupMemberJoin] instance. GroupAuditLogEntryGroupMemberJoin({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupMemberJoinEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupMemberJoin { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupMemberJoin && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupMemberJoin.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_join.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_join.g.dart index 69499b0..9debe34 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_join.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_join.g.dart @@ -13,9 +13,28 @@ GroupAuditLogEntryGroupMemberJoin _$GroupAuditLogEntryGroupMemberJoinFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupMemberJoin', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupMemberJoin( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +42,27 @@ GroupAuditLogEntryGroupMemberJoin _$GroupAuditLogEntryGroupMemberJoinFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupMemberJoinToJson( GroupAuditLogEntryGroupMemberJoin instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupMemberJoinEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_leave.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_leave.dart index 515afd9..363fe18 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_leave.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_leave.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_member_leave.g.dart'; class GroupAuditLogEntryGroupMemberLeave { /// Returns a new [GroupAuditLogEntryGroupMemberLeave] instance. GroupAuditLogEntryGroupMemberLeave({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupMemberLeaveEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupMemberLeave { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupMemberLeave && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupMemberLeave.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_leave.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_leave.g.dart index 30fb5a1..f1ed05a 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_leave.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_leave.g.dart @@ -13,9 +13,28 @@ GroupAuditLogEntryGroupMemberLeave _$GroupAuditLogEntryGroupMemberLeaveFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupMemberLeave', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupMemberLeave( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +42,27 @@ GroupAuditLogEntryGroupMemberLeave _$GroupAuditLogEntryGroupMemberLeaveFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupMemberLeaveToJson( GroupAuditLogEntryGroupMemberLeave instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupMemberLeaveEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_remove.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_remove.dart index 612df12..570c05a 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_remove.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_remove.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_member_remove.g.dart'; class GroupAuditLogEntryGroupMemberRemove { /// Returns a new [GroupAuditLogEntryGroupMemberRemove] instance. GroupAuditLogEntryGroupMemberRemove({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupMemberRemoveEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupMemberRemove { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupMemberRemove && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupMemberRemove.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_remove.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_remove.g.dart index c213d82..8eeb087 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_remove.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_remove.g.dart @@ -13,9 +13,31 @@ _$GroupAuditLogEntryGroupMemberRemoveFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupMemberRemove', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupMemberRemove( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +45,27 @@ _$GroupAuditLogEntryGroupMemberRemoveFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupMemberRemoveToJson( GroupAuditLogEntryGroupMemberRemove instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupMemberRemoveEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_assign.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_assign.dart index a9e3470..b75c5c7 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_assign.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_assign.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_member_role_assign.g.dart'; class GroupAuditLogEntryGroupMemberRoleAssign { /// Returns a new [GroupAuditLogEntryGroupMemberRoleAssign] instance. GroupAuditLogEntryGroupMemberRoleAssign({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupMemberRole data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupMemberRoleAssignEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupMemberRole data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -39,12 +73,27 @@ class GroupAuditLogEntryGroupMemberRoleAssign { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupMemberRoleAssign && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupMemberRoleAssign.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_assign.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_assign.g.dart index d1d895b..86dcf5f 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_assign.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_assign.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupMemberRoleAssignFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupMemberRoleAssign', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupMemberRoleAssign( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupMemberRole.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupMemberRoleAssign( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupMemberRoleAssignFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupMemberRole.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupMemberRoleAssignToJson( GroupAuditLogEntryGroupMemberRoleAssign instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupMemberRoleAssignEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_unassign.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_unassign.dart index d2f89ef..bd62b64 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_unassign.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_unassign.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_member_role_unassign.g.dart'; class GroupAuditLogEntryGroupMemberRoleUnassign { /// Returns a new [GroupAuditLogEntryGroupMemberRoleUnassign] instance. GroupAuditLogEntryGroupMemberRoleUnassign({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupMemberRole data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupMemberRoleUnassignEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupMemberRole data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -39,12 +73,27 @@ class GroupAuditLogEntryGroupMemberRoleUnassign { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupMemberRoleUnassign && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupMemberRoleUnassign.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_unassign.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_unassign.g.dart index c629ce4..dccf4b0 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_unassign.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_role_unassign.g.dart @@ -14,14 +14,28 @@ _$GroupAuditLogEntryGroupMemberRoleUnassignFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupMemberRoleUnassign', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupMemberRoleUnassign( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupMemberRole.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupMemberRoleUnassign( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -29,18 +43,32 @@ _$GroupAuditLogEntryGroupMemberRoleUnassignFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupMemberRole.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupMemberRoleUnassignToJson( GroupAuditLogEntryGroupMemberRoleUnassign instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupMemberRoleUnassignEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_user_update.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_user_update.dart index 2d42ab7..be807a9 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_user_update.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_user_update.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_member_user_update.g.dart'; class GroupAuditLogEntryGroupMemberUserUpdate { /// Returns a new [GroupAuditLogEntryGroupMemberUserUpdate] instance. GroupAuditLogEntryGroupMemberUserUpdate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupMemberUserUpdate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupMemberUserUpdateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupMemberUserUpdate data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -39,12 +73,27 @@ class GroupAuditLogEntryGroupMemberUserUpdate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupMemberUserUpdate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupMemberUserUpdate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_user_update.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_user_update.g.dart index 6393145..085c9e5 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_user_update.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_member_user_update.g.dart @@ -13,14 +13,31 @@ _$GroupAuditLogEntryGroupMemberUserUpdateFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupMemberUserUpdate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupMemberUserUpdate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupMemberUserUpdate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupMemberUserUpdate( + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +45,32 @@ _$GroupAuditLogEntryGroupMemberUserUpdateFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupMemberUserUpdate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupMemberUserUpdateToJson( GroupAuditLogEntryGroupMemberUserUpdate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupMemberUserUpdateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_create.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_create.dart index d41bf62..fb88772 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_create.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_create.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_post_create.g.dart'; class GroupAuditLogEntryGroupPostCreate { /// Returns a new [GroupAuditLogEntryGroupPostCreate] instance. GroupAuditLogEntryGroupPostCreate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupPostCreate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupPostCreateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupPostCreate data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupPostCreate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupPostCreate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupPostCreate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_create.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_create.g.dart index 0a997bf..b3c2b70 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_create.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_create.g.dart @@ -13,14 +13,28 @@ GroupAuditLogEntryGroupPostCreate _$GroupAuditLogEntryGroupPostCreateFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupPostCreate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupPostCreate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupPostCreate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupPostCreate( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +42,32 @@ GroupAuditLogEntryGroupPostCreate _$GroupAuditLogEntryGroupPostCreateFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupPostCreate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupPostCreateToJson( GroupAuditLogEntryGroupPostCreate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupPostCreateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_delete.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_delete.dart index b865c55..6bf7cf3 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_delete.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_delete.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_post_delete.g.dart'; class GroupAuditLogEntryGroupPostDelete { /// Returns a new [GroupAuditLogEntryGroupPostDelete] instance. GroupAuditLogEntryGroupPostDelete({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupPostDelete data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupPostDeleteEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupPostDelete data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupPostDelete { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupPostDelete && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupPostDelete.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_delete.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_delete.g.dart index 166ca9c..a933129 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_delete.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_delete.g.dart @@ -13,14 +13,28 @@ GroupAuditLogEntryGroupPostDelete _$GroupAuditLogEntryGroupPostDeleteFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupPostDelete', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupPostDelete( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupPostDelete.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupPostDelete( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +42,32 @@ GroupAuditLogEntryGroupPostDelete _$GroupAuditLogEntryGroupPostDeleteFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupPostDelete.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupPostDeleteToJson( GroupAuditLogEntryGroupPostDelete instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupPostDeleteEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_update.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_update.dart index 54f77eb..43615ae 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_update.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_update.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_post_update.g.dart'; class GroupAuditLogEntryGroupPostUpdate { /// Returns a new [GroupAuditLogEntryGroupPostUpdate] instance. GroupAuditLogEntryGroupPostUpdate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupPostUpdate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupPostUpdateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupPostUpdate data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupPostUpdate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupPostUpdate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupPostUpdate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_update.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_update.g.dart index 4f25343..9f846c4 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_update.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_post_update.g.dart @@ -13,14 +13,28 @@ GroupAuditLogEntryGroupPostUpdate _$GroupAuditLogEntryGroupPostUpdateFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupPostUpdate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupPostUpdate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupPostUpdate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupPostUpdate( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +42,32 @@ GroupAuditLogEntryGroupPostUpdate _$GroupAuditLogEntryGroupPostUpdateFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupPostUpdate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupPostUpdateToJson( GroupAuditLogEntryGroupPostUpdate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupPostUpdateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_block.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_block.dart index 4c8d3d3..1c6ad42 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_block.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_block.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_request_block.g.dart'; class GroupAuditLogEntryGroupRequestBlock { /// Returns a new [GroupAuditLogEntryGroupRequestBlock] instance. GroupAuditLogEntryGroupRequestBlock({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupRequestBlockEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupRequestBlock { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupRequestBlock && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupRequestBlock.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_block.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_block.g.dart index b8c9167..1bd945c 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_block.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_block.g.dart @@ -13,9 +13,31 @@ _$GroupAuditLogEntryGroupRequestBlockFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupRequestBlock', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupRequestBlock( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +45,27 @@ _$GroupAuditLogEntryGroupRequestBlockFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupRequestBlockToJson( GroupAuditLogEntryGroupRequestBlock instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupRequestBlockEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_create.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_create.dart index 9fea950..e3274c6 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_create.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_create.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_request_create.g.dart'; class GroupAuditLogEntryGroupRequestCreate { /// Returns a new [GroupAuditLogEntryGroupRequestCreate] instance. GroupAuditLogEntryGroupRequestCreate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupRequestCreateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupRequestCreate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupRequestCreate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupRequestCreate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_create.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_create.g.dart index d4d3a49..451e1ca 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_create.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_create.g.dart @@ -13,9 +13,31 @@ _$GroupAuditLogEntryGroupRequestCreateFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupRequestCreate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupRequestCreate( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +45,27 @@ _$GroupAuditLogEntryGroupRequestCreateFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupRequestCreateToJson( GroupAuditLogEntryGroupRequestCreate instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupRequestCreateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_reject.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_reject.dart index 68f4c66..d49707b 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_reject.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_reject.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_request_reject.g.dart'; class GroupAuditLogEntryGroupRequestReject { /// Returns a new [GroupAuditLogEntryGroupRequestReject] instance. GroupAuditLogEntryGroupRequestReject({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupRequestRejectEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupRequestReject { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupRequestReject && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupRequestReject.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_reject.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_reject.g.dart index 0cbd8b2..b1fed35 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_reject.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_reject.g.dart @@ -13,9 +13,31 @@ _$GroupAuditLogEntryGroupRequestRejectFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupRequestReject', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupRequestReject( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +45,27 @@ _$GroupAuditLogEntryGroupRequestRejectFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupRequestRejectToJson( GroupAuditLogEntryGroupRequestReject instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupRequestRejectEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_withdraw.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_withdraw.dart index 9cd69a3..ae2aba9 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_withdraw.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_withdraw.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_request_withdraw.g.dart'; class GroupAuditLogEntryGroupRequestWithdraw { /// Returns a new [GroupAuditLogEntryGroupRequestWithdraw] instance. GroupAuditLogEntryGroupRequestWithdraw({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupRequestWithdrawEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupRequestWithdraw { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupRequestWithdraw && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupRequestWithdraw.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_withdraw.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_withdraw.g.dart index 1166646..2971596 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_withdraw.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_request_withdraw.g.dart @@ -13,9 +13,31 @@ _$GroupAuditLogEntryGroupRequestWithdrawFromJson(Map json) => $checkedCreate('GroupAuditLogEntryGroupRequestWithdraw', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupRequestWithdraw( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert( + 'actorDisplayName', + (v) => v as String, + ), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -23,18 +45,27 @@ _$GroupAuditLogEntryGroupRequestWithdrawFromJson(Map json) => v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; - }); + }, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupRequestWithdrawToJson( GroupAuditLogEntryGroupRequestWithdraw instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupRequestWithdrawEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_create.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_create.dart index 7795aaf..3df6595 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_create.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_create.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_role_create.g.dart'; class GroupAuditLogEntryGroupRoleCreate { /// Returns a new [GroupAuditLogEntryGroupRoleCreate] instance. GroupAuditLogEntryGroupRoleCreate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupRoleCreate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupRoleCreateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupRoleCreate data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupRoleCreate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupRoleCreate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupRoleCreate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_create.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_create.g.dart index b053758..d67e739 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_create.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_create.g.dart @@ -13,14 +13,28 @@ GroupAuditLogEntryGroupRoleCreate _$GroupAuditLogEntryGroupRoleCreateFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupRoleCreate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupRoleCreate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupRoleCreate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupRoleCreate( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +42,32 @@ GroupAuditLogEntryGroupRoleCreate _$GroupAuditLogEntryGroupRoleCreateFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupRoleCreate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupRoleCreateToJson( GroupAuditLogEntryGroupRoleCreate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupRoleCreateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_delete.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_delete.dart index 4666197..5c7f3b2 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_delete.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_delete.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_role_delete.g.dart'; class GroupAuditLogEntryGroupRoleDelete { /// Returns a new [GroupAuditLogEntryGroupRoleDelete] instance. GroupAuditLogEntryGroupRoleDelete({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupRoleDelete data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupRoleDeleteEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupRoleDelete data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupRoleDelete { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupRoleDelete && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupRoleDelete.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_delete.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_delete.g.dart index 4aa87e4..c5bf1c8 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_delete.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_delete.g.dart @@ -13,14 +13,28 @@ GroupAuditLogEntryGroupRoleDelete _$GroupAuditLogEntryGroupRoleDeleteFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupRoleDelete', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupRoleDelete( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupRoleDelete.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupRoleDelete( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +42,32 @@ GroupAuditLogEntryGroupRoleDelete _$GroupAuditLogEntryGroupRoleDeleteFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupRoleDelete.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupRoleDeleteToJson( GroupAuditLogEntryGroupRoleDelete instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupRoleDeleteEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_update.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_update.dart index 76dcb1d..4ec00aa 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_update.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_update.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_role_update.g.dart'; class GroupAuditLogEntryGroupRoleUpdate { /// Returns a new [GroupAuditLogEntryGroupRoleUpdate] instance. GroupAuditLogEntryGroupRoleUpdate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupRoleUpdate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupRoleUpdateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupRoleUpdate data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupRoleUpdate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupRoleUpdate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupRoleUpdate.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_update.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_update.g.dart index 3037e33..b2c2696 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_update.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_role_update.g.dart @@ -13,14 +13,28 @@ GroupAuditLogEntryGroupRoleUpdate _$GroupAuditLogEntryGroupRoleUpdateFromJson( ) => $checkedCreate('GroupAuditLogEntryGroupRoleUpdate', json, ( $checkedConvert, ) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupRoleUpdate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => GroupAuditLogEntryDataGroupRoleUpdate.fromJson( - v as Map, - ), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupRoleUpdate( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode( @@ -28,18 +42,32 @@ GroupAuditLogEntryGroupRoleUpdate _$GroupAuditLogEntryGroupRoleUpdateFromJson( v, ), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => GroupAuditLogEntryDataGroupRoleUpdate.fromJson( + v as Map, + ), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupRoleUpdateToJson( GroupAuditLogEntryGroupRoleUpdate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupRoleUpdateEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_update.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_update.dart index 3b4b3a5..bf04e7d 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_update.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_update.dart @@ -18,19 +18,53 @@ part 'group_audit_log_entry_group_update.g.dart'; class GroupAuditLogEntryGroupUpdate { /// Returns a new [GroupAuditLogEntryGroupUpdate] instance. GroupAuditLogEntryGroupUpdate({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final GroupAuditLogEntryDataGroupUpdate data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupUpdateEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final GroupAuditLogEntryDataGroupUpdate data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupUpdate { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupUpdate && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupUpdate.fromJson(Map json) => _$GroupAuditLogEntryGroupUpdateFromJson(json); diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_update.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_update.g.dart index 92c4713..8d0500d 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_update.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_update.g.dart @@ -11,29 +11,57 @@ part of 'group_audit_log_entry_group_update.dart'; GroupAuditLogEntryGroupUpdate _$GroupAuditLogEntryGroupUpdateFromJson( Map json, ) => $checkedCreate('GroupAuditLogEntryGroupUpdate', json, ($checkedConvert) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupUpdate( - data: $checkedConvert( + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', 'data', - (v) => - GroupAuditLogEntryDataGroupUpdate.fromJson(v as Map), + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupUpdate( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode(_$GroupAuditLogEntryGroupUpdateEventTypeEnumEnumMap, v), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert( + 'data', + (v) => + GroupAuditLogEntryDataGroupUpdate.fromJson(v as Map), + ), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupUpdateToJson( GroupAuditLogEntryGroupUpdate instance, ) => { - 'data': instance.data.toJson(), + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupUpdateEventTypeEnumEnumMap[instance.eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data.toJson(), 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_ban.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_ban.dart index 9a8488c..617822e 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_ban.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_ban.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_user_ban.g.dart'; class GroupAuditLogEntryGroupUserBan { /// Returns a new [GroupAuditLogEntryGroupUserBan] instance. GroupAuditLogEntryGroupUserBan({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupUserBanEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupUserBan { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupUserBan && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupUserBan.fromJson(Map json) => _$GroupAuditLogEntryGroupUserBanFromJson(json); diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_ban.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_ban.g.dart index fd7e929..d0459ab 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_ban.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_ban.g.dart @@ -11,25 +11,53 @@ part of 'group_audit_log_entry_group_user_ban.dart'; GroupAuditLogEntryGroupUserBan _$GroupAuditLogEntryGroupUserBanFromJson( Map json, ) => $checkedCreate('GroupAuditLogEntryGroupUserBan', json, ($checkedConvert) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryGroupUserBan( - data: $checkedConvert('data', (v) => v as Object), + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), eventType: $checkedConvert( 'eventType', (v) => $enumDecode(_$GroupAuditLogEntryGroupUserBanEventTypeEnumEnumMap, v), ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupUserBanToJson( GroupAuditLogEntryGroupUserBan instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupUserBanEventTypeEnumEnumMap[instance.eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_unban.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_unban.dart index 534ae1e..23bfc94 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_unban.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_unban.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_group_user_unban.g.dart'; class GroupAuditLogEntryGroupUserUnban { /// Returns a new [GroupAuditLogEntryGroupUserUnban] instance. GroupAuditLogEntryGroupUserUnban({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Object data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final GroupAuditLogEntryGroupUserUnbanEventTypeEnum eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Object data; + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -38,12 +72,27 @@ class GroupAuditLogEntryGroupUserUnban { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryGroupUserUnban && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryGroupUserUnban.fromJson( Map json, diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_unban.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_unban.g.dart index 7883826..eb6d817 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_unban.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_group_user_unban.g.dart @@ -10,30 +10,59 @@ part of 'group_audit_log_entry_group_user_unban.dart'; GroupAuditLogEntryGroupUserUnban _$GroupAuditLogEntryGroupUserUnbanFromJson( Map json, -) => - $checkedCreate('GroupAuditLogEntryGroupUserUnban', json, ($checkedConvert) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); - final val = GroupAuditLogEntryGroupUserUnban( - data: $checkedConvert('data', (v) => v as Object), - eventType: $checkedConvert( - 'eventType', - (v) => $enumDecode( - _$GroupAuditLogEntryGroupUserUnbanEventTypeEnumEnumMap, - v, - ), - ), - targetId: $checkedConvert('targetId', (v) => v as String), - ); - return val; - }); +) => $checkedCreate('GroupAuditLogEntryGroupUserUnban', json, ( + $checkedConvert, +) { + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); + final val = GroupAuditLogEntryGroupUserUnban( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), + eventType: $checkedConvert( + 'eventType', + (v) => $enumDecode( + _$GroupAuditLogEntryGroupUserUnbanEventTypeEnumEnumMap, + v, + ), + ), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), + data: $checkedConvert('data', (v) => v as Object), + targetId: $checkedConvert('targetId', (v) => v as String), + ); + return val; +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryGroupUserUnbanToJson( GroupAuditLogEntryGroupUserUnban instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': _$GroupAuditLogEntryGroupUserUnbanEventTypeEnumEnumMap[instance .eventType]!, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_unknown.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_unknown.dart index 699f6ff..d065826 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_unknown.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_unknown.dart @@ -17,19 +17,53 @@ part 'group_audit_log_entry_unknown.g.dart'; class GroupAuditLogEntryUnknown { /// Returns a new [GroupAuditLogEntryUnknown] instance. GroupAuditLogEntryUnknown({ - required this.data, + required this.actorDisplayName, + + required this.actorId, + + required this.createdAt, + + required this.description, required this.eventType, + required this.groupId, + + required this.id, + + required this.data, + required this.targetId, }); - @JsonKey(name: r'data', required: true, includeIfNull: false) - final Map data; + /// The display name of the user who performed the action. + @JsonKey(name: r'actorDisplayName', required: true, includeIfNull: false) + final String actorDisplayName; + + /// A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + @JsonKey(name: r'actorId', required: true, includeIfNull: false) + final String actorId; + + /// When the action was performed. + @JsonKey(name: r'created_at', required: true, includeIfNull: false) + final DateTime createdAt; + + /// A human-readable description of the event. + @JsonKey(name: r'description', required: true, includeIfNull: false) + final String description; @JsonKey(name: r'eventType', required: true, includeIfNull: false) final String eventType; + @JsonKey(name: r'groupId', required: true, includeIfNull: false) + final String groupId; + + @JsonKey(name: r'id', required: true, includeIfNull: false) + final String id; + + @JsonKey(name: r'data', required: true, includeIfNull: false) + final Map data; + @JsonKey(name: r'targetId', required: true, includeIfNull: false) final String targetId; @@ -37,12 +71,27 @@ class GroupAuditLogEntryUnknown { bool operator ==(Object other) => identical(this, other) || other is GroupAuditLogEntryUnknown && - other.data == data && + other.actorDisplayName == actorDisplayName && + other.actorId == actorId && + other.createdAt == createdAt && + other.description == description && other.eventType == eventType && + other.groupId == groupId && + other.id == id && + other.data == data && other.targetId == targetId; @override - int get hashCode => data.hashCode + eventType.hashCode + targetId.hashCode; + int get hashCode => + actorDisplayName.hashCode + + actorId.hashCode + + createdAt.hashCode + + description.hashCode + + eventType.hashCode + + groupId.hashCode + + id.hashCode + + data.hashCode + + targetId.hashCode; factory GroupAuditLogEntryUnknown.fromJson(Map json) => _$GroupAuditLogEntryUnknownFromJson(json); diff --git a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_unknown.g.dart b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_unknown.g.dart index 957c111..f84eb96 100644 --- a/vrchat_dart_generated/lib/src/model/group_audit_log_entry_unknown.g.dart +++ b/vrchat_dart_generated/lib/src/model/group_audit_log_entry_unknown.g.dart @@ -11,23 +11,51 @@ part of 'group_audit_log_entry_unknown.dart'; GroupAuditLogEntryUnknown _$GroupAuditLogEntryUnknownFromJson( Map json, ) => $checkedCreate('GroupAuditLogEntryUnknown', json, ($checkedConvert) { - $checkKeys(json, requiredKeys: const ['data', 'eventType', 'targetId']); + $checkKeys( + json, + requiredKeys: const [ + 'actorDisplayName', + 'actorId', + 'created_at', + 'description', + 'eventType', + 'groupId', + 'id', + 'data', + 'targetId', + ], + ); final val = GroupAuditLogEntryUnknown( + actorDisplayName: $checkedConvert('actorDisplayName', (v) => v as String), + actorId: $checkedConvert('actorId', (v) => v as String), + createdAt: $checkedConvert( + 'created_at', + (v) => DateTime.parse(v as String), + ), + description: $checkedConvert('description', (v) => v as String), + eventType: $checkedConvert('eventType', (v) => v as String), + groupId: $checkedConvert('groupId', (v) => v as String), + id: $checkedConvert('id', (v) => v as String), data: $checkedConvert( 'data', (v) => (v as Map).map((k, e) => MapEntry(k, e as Object)), ), - eventType: $checkedConvert('eventType', (v) => v as String), targetId: $checkedConvert('targetId', (v) => v as String), ); return val; -}); +}, fieldKeyMap: const {'createdAt': 'created_at'}); Map _$GroupAuditLogEntryUnknownToJson( GroupAuditLogEntryUnknown instance, ) => { - 'data': instance.data, + 'actorDisplayName': instance.actorDisplayName, + 'actorId': instance.actorId, + 'created_at': instance.createdAt.toIso8601String(), + 'description': instance.description, 'eventType': instance.eventType, + 'groupId': instance.groupId, + 'id': instance.id, + 'data': instance.data, 'targetId': instance.targetId, }; diff --git a/vrchat_dart_generated/lib/vrchat_dart_generated.dart b/vrchat_dart_generated/lib/vrchat_dart_generated.dart index 09b71d3..fc14618 100644 --- a/vrchat_dart_generated/lib/vrchat_dart_generated.dart +++ b/vrchat_dart_generated/lib/vrchat_dart_generated.dart @@ -163,6 +163,7 @@ export 'package:vrchat_dart_generated/src/model/group_announcement.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_base.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_boolean_change.dart'; +export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_announcement.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_calendar_event_create.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_calendar_event_delete.dart'; @@ -184,8 +185,6 @@ export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_role_delete.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_role_update.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_data_group_update.dart'; -export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_event.dart'; -export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_event_data.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_file_id_change.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_group_announcement.dart'; export 'package:vrchat_dart_generated/src/model/group_audit_log_entry_group_calendar_event_create.dart'; diff --git a/vrchat_dart_generated/pubspec.yaml b/vrchat_dart_generated/pubspec.yaml index 761d0d2..d5ceed0 100644 --- a/vrchat_dart_generated/pubspec.yaml +++ b/vrchat_dart_generated/pubspec.yaml @@ -1,5 +1,5 @@ name: vrchat_dart_generated -version: 1.22.0 +version: 1.22.1 description: The generated API used by vrchat_dart. Generated from https://github.com/vrchatapi/specification. homepage: https://github.com/vrchatapi/vrchatapi-dart