From fe65565b8fd7af7b349ba4b819d5dd179de53a0d Mon Sep 17 00:00:00 2001 From: Jonathan Barrow Date: Sun, 17 Nov 2024 22:45:25 -0500 Subject: [PATCH] feat: add CopyRef() and Deref() methods to all types --- aa-user/types/application_info.go | 14 ++++++++++++++ account-management/types/account_data.go | 14 ++++++++++++++ account-management/types/account_extra_info.go | 14 ++++++++++++++ account-management/types/basic_account_info.go | 14 ++++++++++++++ .../types/nintendo_create_account_data.go | 14 ++++++++++++++ datastore/miitopia/types/mii_tube_mii_info.go | 14 ++++++++++++++ datastore/miitopia/types/mii_tube_search_param.go | 14 ++++++++++++++ datastore/miitopia/types/mii_tube_search_result.go | 14 ++++++++++++++ .../types/datastore_get_meta_by_owner_id_param.go | 14 ++++++++++++++ .../pokemon-bank/types/bank_migration_info.go | 14 ++++++++++++++ .../pokemon-bank/types/bank_transaction_param.go | 14 ++++++++++++++ .../types/global_trade_station_data.go | 14 ++++++++++++++ .../global_trade_station_delete_pokemon_param.go | 14 ++++++++++++++ ...obal_trade_station_download_my_pokemon_param.go | 14 ++++++++++++++ ...bal_trade_station_download_my_pokemon_result.go | 14 ++++++++++++++ ...l_trade_station_download_other_pokemon_param.go | 14 ++++++++++++++ ...global_trade_station_download_pokemon_result.go | 14 ++++++++++++++ ...al_trade_station_prepare_trade_pokemon_param.go | 14 ++++++++++++++ ...l_trade_station_prepare_trade_pokemon_result.go | 14 ++++++++++++++ .../types/global_trade_station_record_key.go | 14 ++++++++++++++ .../global_trade_station_search_pokemon_param.go | 14 ++++++++++++++ .../global_trade_station_search_pokemon_result.go | 14 ++++++++++++++ .../types/global_trade_station_trade_key.go | 14 ++++++++++++++ .../global_trade_station_trade_pokemon_param.go | 14 ++++++++++++++ .../global_trade_station_trade_pokemon_result.go | 14 ++++++++++++++ .../global_trade_station_upload_pokemon_param.go | 14 ++++++++++++++ .../types/global_trade_station_data.go | 14 ++++++++++++++ .../global_trade_station_delete_pokemon_param.go | 14 ++++++++++++++ ...obal_trade_station_download_my_pokemon_param.go | 14 ++++++++++++++ ...bal_trade_station_download_my_pokemon_result.go | 14 ++++++++++++++ ...l_trade_station_download_other_pokemon_param.go | 14 ++++++++++++++ ...global_trade_station_download_pokemon_result.go | 14 ++++++++++++++ ...al_trade_station_prepare_trade_pokemon_param.go | 14 ++++++++++++++ ...l_trade_station_prepare_trade_pokemon_result.go | 14 ++++++++++++++ .../types/global_trade_station_record_key.go | 14 ++++++++++++++ .../global_trade_station_search_pokemon_param.go | 14 ++++++++++++++ .../global_trade_station_search_pokemon_result.go | 14 ++++++++++++++ .../types/global_trade_station_trade_key.go | 14 ++++++++++++++ .../global_trade_station_trade_pokemon_param.go | 14 ++++++++++++++ .../global_trade_station_trade_pokemon_result.go | 14 ++++++++++++++ .../global_trade_station_upload_pokemon_param.go | 14 ++++++++++++++ .../super-mario-maker/types/buffer_queue_param.go | 14 ++++++++++++++ .../types/datastore_attach_file_param.go | 14 ++++++++++++++ .../datastore_change_playable_platform_param.go | 14 ++++++++++++++ .../datastore_custom_ranking_rating_condition.go | 14 ++++++++++++++ .../types/datastore_custom_ranking_result.go | 14 ++++++++++++++ .../types/datastore_file_server_object_info.go | 14 ++++++++++++++ .../types/datastore_get_course_record_param.go | 14 ++++++++++++++ .../types/datastore_get_course_record_result.go | 14 ++++++++++++++ ...atastore_get_custom_ranking_by_data_id_param.go | 14 ++++++++++++++ .../types/datastore_get_custom_ranking_param.go | 14 ++++++++++++++ .../types/datastore_get_meta_by_owner_id_param.go | 14 ++++++++++++++ .../types/datastore_rate_custom_ranking_param.go | 14 ++++++++++++++ .../types/datastore_report_course_param.go | 14 ++++++++++++++ .../types/datastore_upload_course_record_param.go | 14 ++++++++++++++ .../types/datastore_complete_post_replay_param.go | 14 ++++++++++++++ .../datastore_complete_post_shared_data_param.go | 14 ++++++++++++++ .../types/datastore_fighting_power_chart.go | 14 ++++++++++++++ .../types/datastore_fighting_power_score.go | 14 ++++++++++++++ .../types/datastore_file_object_server_info.go | 14 ++++++++++++++ .../types/datastore_get_replay_meta_param.go | 14 ++++++++++++++ .../datastore_post_fighting_power_score_param.go | 14 ++++++++++++++ .../types/datastore_post_profile_param.go | 14 ++++++++++++++ .../types/datastore_prepare_get_replay_param.go | 14 ++++++++++++++ .../types/datastore_prepare_post_replay_param.go | 14 ++++++++++++++ .../datastore_prepare_post_shared_data_param.go | 14 ++++++++++++++ .../types/datastore_profile_info.go | 14 ++++++++++++++ .../types/datastore_replay_meta_info.go | 14 ++++++++++++++ .../types/datastore_replay_player.go | 14 ++++++++++++++ .../types/datastore_search_replay_param.go | 14 ++++++++++++++ .../types/datastore_search_shared_data_param.go | 14 ++++++++++++++ .../types/datastore_shared_data_info.go | 14 ++++++++++++++ .../types/datastore_change_meta_compare_param.go | 14 ++++++++++++++ datastore/types/datastore_change_meta_param.go | 14 ++++++++++++++ datastore/types/datastore_change_meta_param_v1.go | 14 ++++++++++++++ datastore/types/datastore_complete_post_param.go | 14 ++++++++++++++ .../types/datastore_complete_post_param_v1.go | 14 ++++++++++++++ datastore/types/datastore_complete_update_param.go | 14 ++++++++++++++ datastore/types/datastore_delete_param.go | 14 ++++++++++++++ datastore/types/datastore_get_meta_param.go | 14 ++++++++++++++ ...atastore_get_new_arrived_notifications_param.go | 14 ++++++++++++++ .../types/datastore_get_notification_url_param.go | 14 ++++++++++++++ .../types/datastore_get_specific_meta_param.go | 14 ++++++++++++++ .../types/datastore_get_specific_meta_param_v1.go | 14 ++++++++++++++ datastore/types/datastore_key_value.go | 14 ++++++++++++++ datastore/types/datastore_meta_info.go | 14 ++++++++++++++ datastore/types/datastore_notification.go | 14 ++++++++++++++ datastore/types/datastore_notification_v1.go | 14 ++++++++++++++ datastore/types/datastore_password_info.go | 14 ++++++++++++++ datastore/types/datastore_permission.go | 14 ++++++++++++++ datastore/types/datastore_persistence_info.go | 14 ++++++++++++++ .../types/datastore_persistence_init_param.go | 14 ++++++++++++++ datastore/types/datastore_persistence_target.go | 14 ++++++++++++++ datastore/types/datastore_prepare_get_param.go | 14 ++++++++++++++ datastore/types/datastore_prepare_get_param_v1.go | 14 ++++++++++++++ datastore/types/datastore_prepare_post_param.go | 14 ++++++++++++++ datastore/types/datastore_prepare_post_param_v1.go | 14 ++++++++++++++ datastore/types/datastore_prepare_update_param.go | 14 ++++++++++++++ datastore/types/datastore_rate_object_param.go | 14 ++++++++++++++ datastore/types/datastore_rating_info.go | 14 ++++++++++++++ datastore/types/datastore_rating_info_with_slot.go | 14 ++++++++++++++ datastore/types/datastore_rating_init_param.go | 14 ++++++++++++++ .../types/datastore_rating_init_param_with_slot.go | 14 ++++++++++++++ datastore/types/datastore_rating_log.go | 14 ++++++++++++++ datastore/types/datastore_rating_target.go | 14 ++++++++++++++ .../types/datastore_req_get_additional_meta.go | 14 ++++++++++++++ datastore/types/datastore_req_get_info.go | 14 ++++++++++++++ datastore/types/datastore_req_get_info_v1.go | 14 ++++++++++++++ .../datastore_req_get_notification_url_info.go | 14 ++++++++++++++ datastore/types/datastore_req_post_info.go | 14 ++++++++++++++ datastore/types/datastore_req_post_info_v1.go | 14 ++++++++++++++ datastore/types/datastore_req_update_info.go | 14 ++++++++++++++ datastore/types/datastore_search_param.go | 14 ++++++++++++++ datastore/types/datastore_search_result.go | 14 ++++++++++++++ datastore/types/datastore_specific_meta_info.go | 14 ++++++++++++++ datastore/types/datastore_specific_meta_info_v1.go | 14 ++++++++++++++ datastore/types/datastore_touch_object_param.go | 14 ++++++++++++++ friends-3ds/types/friend_comment.go | 14 ++++++++++++++ friends-3ds/types/friend_info.go | 14 ++++++++++++++ friends-3ds/types/friend_mii.go | 14 ++++++++++++++ friends-3ds/types/friend_mii_list.go | 14 ++++++++++++++ friends-3ds/types/friend_persistent_info.go | 14 ++++++++++++++ friends-3ds/types/friend_picture.go | 14 ++++++++++++++ friends-3ds/types/friend_presence.go | 14 ++++++++++++++ friends-3ds/types/friend_relationship.go | 14 ++++++++++++++ friends-3ds/types/game_key.go | 14 ++++++++++++++ friends-3ds/types/mii.go | 14 ++++++++++++++ friends-3ds/types/mii_list.go | 14 ++++++++++++++ friends-3ds/types/my_profile.go | 14 ++++++++++++++ friends-3ds/types/nintendo_presence.go | 14 ++++++++++++++ friends-3ds/types/played_game.go | 14 ++++++++++++++ friends-wiiu/types/blacklisted_principal.go | 14 ++++++++++++++ friends-wiiu/types/comment.go | 14 ++++++++++++++ friends-wiiu/types/friend_info.go | 14 ++++++++++++++ friends-wiiu/types/friend_request.go | 14 ++++++++++++++ friends-wiiu/types/friend_request_message.go | 14 ++++++++++++++ friends-wiiu/types/game_key.go | 14 ++++++++++++++ friends-wiiu/types/mii_v2.go | 14 ++++++++++++++ friends-wiiu/types/nintendo_presence_v2.go | 14 ++++++++++++++ friends-wiiu/types/nna_info.go | 14 ++++++++++++++ friends-wiiu/types/persistent_notification.go | 14 ++++++++++++++ friends-wiiu/types/persistent_notification_list.go | 14 ++++++++++++++ friends-wiiu/types/principal_basic_info.go | 14 ++++++++++++++ friends-wiiu/types/principal_preference.go | 14 ++++++++++++++ .../types/principal_request_block_setting.go | 14 ++++++++++++++ friends/types/friend_data.go | 14 ++++++++++++++ friends/types/relationship_data.go | 14 ++++++++++++++ match-making/types/auto_matchmake_param.go | 14 ++++++++++++++ .../types/create_matchmake_session_param.go | 14 ++++++++++++++ match-making/types/deletion_entry.go | 14 ++++++++++++++ .../find_matchmake_session_by_participant_param.go | 14 ++++++++++++++ ...find_matchmake_session_by_participant_result.go | 14 ++++++++++++++ match-making/types/gathering.go | 14 ++++++++++++++ match-making/types/gathering_stats.go | 14 ++++++++++++++ match-making/types/gathering_urls.go | 14 ++++++++++++++ match-making/types/invitation.go | 14 ++++++++++++++ match-making/types/join_matchmake_session_param.go | 14 ++++++++++++++ match-making/types/matchmake_block_list_param.go | 14 ++++++++++++++ match-making/types/matchmake_param.go | 14 ++++++++++++++ match-making/types/matchmake_session.go | 14 ++++++++++++++ .../types/matchmake_session_search_criteria.go | 14 ++++++++++++++ match-making/types/participant_details.go | 14 ++++++++++++++ match-making/types/persistent_gathering.go | 14 ++++++++++++++ match-making/types/playing_session.go | 14 ++++++++++++++ match-making/types/simple_community.go | 14 ++++++++++++++ match-making/types/simple_playing_session.go | 14 ++++++++++++++ .../types/update_matchmake_session_param.go | 14 ++++++++++++++ .../mario-kart-8/types/simple_search_condition.go | 14 ++++++++++++++ .../types/simple_search_date_time_attribute.go | 14 ++++++++++++++ .../mario-kart-8/types/simple_search_object.go | 14 ++++++++++++++ .../mario-kart-8/types/simple_search_param.go | 14 ++++++++++++++ .../monster-hunter-xx/types/friend_user_info.go | 14 ++++++++++++++ .../monster-hunter-xx/types/friend_user_param.go | 14 ++++++++++++++ .../types/matchmake_referee_end_round_param.go | 14 ++++++++++++++ .../matchmake_referee_personal_round_result.go | 14 ++++++++++++++ matchmake-referee/types/matchmake_referee_round.go | 14 ++++++++++++++ .../types/matchmake_referee_start_round_param.go | 14 ++++++++++++++ matchmake-referee/types/matchmake_referee_stats.go | 14 ++++++++++++++ .../types/matchmake_referee_stats_init_param.go | 14 ++++++++++++++ .../types/matchmake_referee_stats_target.go | 14 ++++++++++++++ messaging/types/binary_message.go | 14 ++++++++++++++ messaging/types/message_recipient.go | 14 ++++++++++++++ messaging/types/text_message.go | 14 ++++++++++++++ messaging/types/user_message.go | 14 ++++++++++++++ .../types/nintendo_notification_event.go | 14 ++++++++++++++ .../types/nintendo_notification_event_general.go | 14 ++++++++++++++ notifications/types/notification_event.go | 14 ++++++++++++++ .../mario-kart-8/types/competition_ranking_info.go | 14 ++++++++++++++ .../types/competition_ranking_info_get_param.go | 14 ++++++++++++++ .../competition_ranking_upload_score_param.go | 14 ++++++++++++++ ranking/types/ranking_cached_result.go | 14 ++++++++++++++ ranking/types/ranking_change_attributes_param.go | 14 ++++++++++++++ ranking/types/ranking_order_param.go | 14 ++++++++++++++ ranking/types/ranking_rank_data.go | 14 ++++++++++++++ ranking/types/ranking_result.go | 14 ++++++++++++++ ranking/types/ranking_score_data.go | 14 ++++++++++++++ ranking/types/ranking_stats.go | 14 ++++++++++++++ ranking2/types/ranking2_category_setting.go | 14 ++++++++++++++ ranking2/types/ranking2_chart_info.go | 14 ++++++++++++++ ranking2/types/ranking2_chart_info_input.go | 14 ++++++++++++++ ranking2/types/ranking2_common_data.go | 14 ++++++++++++++ .../types/ranking2_estimate_score_rank_input.go | 14 ++++++++++++++ .../types/ranking2_estimate_score_rank_output.go | 14 ++++++++++++++ ranking2/types/ranking2_get_by_list_param.go | 14 ++++++++++++++ ranking2/types/ranking2_get_param.go | 14 ++++++++++++++ ranking2/types/ranking2_info.go | 14 ++++++++++++++ ranking2/types/ranking2_rank_data.go | 14 ++++++++++++++ ranking2/types/ranking2_score_data.go | 14 ++++++++++++++ .../types/service_item_account_right.go | 14 ++++++++++++++ .../service_item_account_right_consumption.go | 14 ++++++++++++++ .../types/service_item_account_right_time.go | 14 ++++++++++++++ ...e_item_acquire_service_item_by_account_param.go | 14 ++++++++++++++ .../service_item_acquire_service_item_response.go | 14 ++++++++++++++ .../types/service_item_amount.go | 14 ++++++++++++++ .../types/service_item_attribute.go | 14 ++++++++++++++ .../types/service_item_catalog.go | 14 ++++++++++++++ .../types/service_item_eshop_response.go | 14 ++++++++++++++ .../types/service_item_get_balance_param.go | 14 ++++++++++++++ .../types/service_item_get_balance_response.go | 14 ++++++++++++++ .../types/service_item_get_law_message_param.go | 14 ++++++++++++++ .../types/service_item_get_law_message_response.go | 14 ++++++++++++++ .../types/service_item_get_notice_param.go | 14 ++++++++++++++ .../service_item_get_prepurchase_info_param.go | 14 ++++++++++++++ .../service_item_get_prepurchase_info_response.go | 14 ++++++++++++++ .../service_item_get_purchase_history_param.go | 14 ++++++++++++++ .../service_item_get_purchase_history_response.go | 14 ++++++++++++++ .../service_item_get_service_item_right_param.go | 14 ++++++++++++++ ...service_item_get_service_item_right_response.go | 14 ++++++++++++++ .../types/service_item_get_support_id_param.go | 14 ++++++++++++++ .../types/service_item_http_get_param.go | 14 ++++++++++++++ .../types/service_item_http_get_response.go | 14 ++++++++++++++ .../types/service_item_law_message.go | 14 ++++++++++++++ .../types/service_item_limitation.go | 14 ++++++++++++++ .../types/service_item_list_item.go | 14 ++++++++++++++ .../types/service_item_list_service_item_param.go | 14 ++++++++++++++ .../service_item_list_service_item_response.go | 14 ++++++++++++++ .../types/service_item_notice.go | 14 ++++++++++++++ ...vice_item_post_right_binary_by_account_param.go | 14 ++++++++++++++ .../types/service_item_prepurchase_info.go | 14 ++++++++++++++ .../types/service_item_prepurchase_right_info.go | 14 ++++++++++++++ .../types/service_item_purchase_history.go | 14 ++++++++++++++ .../types/service_item_purchase_info.go | 14 ++++++++++++++ .../service_item_purchase_service_item_param.go | 14 ++++++++++++++ .../service_item_purchase_service_item_response.go | 14 ++++++++++++++ .../types/service_item_right_binary.go | 14 ++++++++++++++ .../types/service_item_right_consumption_info.go | 14 ++++++++++++++ .../types/service_item_right_info.go | 14 ++++++++++++++ .../types/service_item_right_infos.go | 14 ++++++++++++++ .../types/service_item_right_time_info.go | 14 ++++++++++++++ .../types/service_item_transaction.go | 14 ++++++++++++++ ...rvice_item_use_service_item_by_account_param.go | 14 ++++++++++++++ .../service_item_use_service_item_response.go | 14 ++++++++++++++ .../types/service_item_used_info.go | 14 ++++++++++++++ .../types/service_item_user_info.go | 14 ++++++++++++++ .../types/service_item_account_right.go | 14 ++++++++++++++ .../wii-sports-club/types/service_item_amount.go | 14 ++++++++++++++ .../types/service_item_attribute.go | 14 ++++++++++++++ .../wii-sports-club/types/service_item_catalog.go | 14 ++++++++++++++ .../types/service_item_end_challenge_param.go | 14 ++++++++++++++ .../types/service_item_eshop_response.go | 14 ++++++++++++++ .../wii-sports-club/types/service_item_event.go | 14 ++++++++++++++ .../types/service_item_get_balance_param.go | 14 ++++++++++++++ .../types/service_item_get_balance_response.go | 14 ++++++++++++++ .../types/service_item_get_notice_param.go | 14 ++++++++++++++ .../service_item_get_prepurchase_info_param.go | 14 ++++++++++++++ .../service_item_get_prepurchase_info_response.go | 14 ++++++++++++++ .../service_item_get_purchase_history_param.go | 14 ++++++++++++++ .../service_item_get_purchase_history_response.go | 14 ++++++++++++++ .../service_item_get_service_item_right_param.go | 14 ++++++++++++++ ...service_item_get_service_item_right_response.go | 14 ++++++++++++++ .../types/service_item_http_get_param.go | 14 ++++++++++++++ .../types/service_item_http_get_response.go | 14 ++++++++++++++ .../types/service_item_limitation.go | 14 ++++++++++++++ .../types/service_item_list_item.go | 14 ++++++++++++++ .../types/service_item_list_service_item_param.go | 14 ++++++++++++++ .../service_item_list_service_item_response.go | 14 ++++++++++++++ .../wii-sports-club/types/service_item_notice.go | 14 ++++++++++++++ .../types/service_item_prepurchase_info.go | 14 ++++++++++++++ .../types/service_item_purchace_info.go | 14 ++++++++++++++ .../types/service_item_purchase_history.go | 14 ++++++++++++++ .../service_item_purchase_service_item_param.go | 14 ++++++++++++++ .../service_item_purchase_service_item_response.go | 14 ++++++++++++++ ...ervice_item_request_ticket_restoration_param.go | 14 ++++++++++++++ .../types/service_item_right_info.go | 14 ++++++++++++++ .../types/service_item_right_infos.go | 14 ++++++++++++++ .../types/service_item_start_challenge_param.go | 14 ++++++++++++++ .../types/service_item_ticket_info.go | 14 ++++++++++++++ .../types/service_item_transaction.go | 14 ++++++++++++++ .../types/service_item_user_info.go | 14 ++++++++++++++ .../types/shop_post_play_log_param.go | 14 ++++++++++++++ shop/types/shop_item.go | 14 ++++++++++++++ shop/types/shop_item_rights.go | 14 ++++++++++++++ subscriber/types/subscriber_content.go | 14 ++++++++++++++ subscriber/types/subscriber_get_content_param.go | 14 ++++++++++++++ subscriber/types/subscriber_post_content_param.go | 14 ++++++++++++++ subscriber/types/subscriber_user_status_info.go | 14 ++++++++++++++ subscriber/types/unknown.go | 14 ++++++++++++++ ticket-granting/types/authentication_info.go | 14 ++++++++++++++ ticket-granting/types/nintendo_login_data.go | 14 ++++++++++++++ utility/types/unique_id_info.go | 14 ++++++++++++++ 300 files changed, 4200 insertions(+) diff --git a/aa-user/types/application_info.go b/aa-user/types/application_info.go index 23712012..e7cbe473 100644 --- a/aa-user/types/application_info.go +++ b/aa-user/types/application_info.go @@ -94,6 +94,20 @@ func (ai ApplicationInfo) Equals(o types.RVType) bool { return ai.TitleVersion.Equals(other.TitleVersion) } +// CopyRef copies the current value of the ApplicationInfo +// and returns a pointer to the new copy +func (ai ApplicationInfo) CopyRef() types.RVTypePtr { + copied := ai.Copy().(ApplicationInfo) + return &copied +} + +// Deref takes a pointer to the ApplicationInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ai *ApplicationInfo) Deref() types.RVType { + return *ai +} + // String returns the string representation of the ApplicationInfo func (ai ApplicationInfo) String() string { return ai.FormatToString(0) diff --git a/account-management/types/account_data.go b/account-management/types/account_data.go index 9a0a35d1..10ee6b47 100644 --- a/account-management/types/account_data.go +++ b/account-management/types/account_data.go @@ -165,6 +165,20 @@ func (ad AccountData) Equals(o types.RVType) bool { return ad.StrExpiredMsg.Equals(other.StrExpiredMsg) } +// CopyRef copies the current value of the AccountData +// and returns a pointer to the new copy +func (ad AccountData) CopyRef() types.RVTypePtr { + copied := ad.Copy().(AccountData) + return &copied +} + +// Deref takes a pointer to the AccountData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ad *AccountData) Deref() types.RVType { + return *ad +} + // String returns the string representation of the AccountData func (ad AccountData) String() string { return ad.FormatToString(0) diff --git a/account-management/types/account_extra_info.go b/account-management/types/account_extra_info.go index dbf2ea6c..f9b9d3e7 100644 --- a/account-management/types/account_extra_info.go +++ b/account-management/types/account_extra_info.go @@ -105,6 +105,20 @@ func (aei AccountExtraInfo) Equals(o types.RVType) bool { return aei.NEXToken.Equals(other.NEXToken) } +// CopyRef copies the current value of the AccountExtraInfo +// and returns a pointer to the new copy +func (aei AccountExtraInfo) CopyRef() types.RVTypePtr { + copied := aei.Copy().(AccountExtraInfo) + return &copied +} + +// Deref takes a pointer to the AccountExtraInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (aei *AccountExtraInfo) Deref() types.RVType { + return *aei +} + // String returns the string representation of the AccountExtraInfo func (aei AccountExtraInfo) String() string { return aei.FormatToString(0) diff --git a/account-management/types/basic_account_info.go b/account-management/types/basic_account_info.go index a4221a47..5c0116f6 100644 --- a/account-management/types/basic_account_info.go +++ b/account-management/types/basic_account_info.go @@ -81,6 +81,20 @@ func (bai BasicAccountInfo) Equals(o types.RVType) bool { return bai.StrName.Equals(other.StrName) } +// CopyRef copies the current value of the BasicAccountInfo +// and returns a pointer to the new copy +func (bai BasicAccountInfo) CopyRef() types.RVTypePtr { + copied := bai.Copy().(BasicAccountInfo) + return &copied +} + +// Deref takes a pointer to the BasicAccountInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (bai *BasicAccountInfo) Deref() types.RVType { + return *bai +} + // String returns the string representation of the BasicAccountInfo func (bai BasicAccountInfo) String() string { return bai.FormatToString(0) diff --git a/account-management/types/nintendo_create_account_data.go b/account-management/types/nintendo_create_account_data.go index 65e444dd..c47e0703 100644 --- a/account-management/types/nintendo_create_account_data.go +++ b/account-management/types/nintendo_create_account_data.go @@ -106,6 +106,20 @@ func (ncad NintendoCreateAccountData) Equals(o types.RVType) bool { return ncad.Unknown.Equals(other.Unknown) } +// CopyRef copies the current value of the NintendoCreateAccountData +// and returns a pointer to the new copy +func (ncad NintendoCreateAccountData) CopyRef() types.RVTypePtr { + copied := ncad.Copy().(NintendoCreateAccountData) + return &copied +} + +// Deref takes a pointer to the NintendoCreateAccountData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ncad *NintendoCreateAccountData) Deref() types.RVType { + return *ncad +} + // String returns the string representation of the NintendoCreateAccountData func (ncad NintendoCreateAccountData) String() string { return ncad.FormatToString(0) diff --git a/datastore/miitopia/types/mii_tube_mii_info.go b/datastore/miitopia/types/mii_tube_mii_info.go index 98e9af73..e4430914 100644 --- a/datastore/miitopia/types/mii_tube_mii_info.go +++ b/datastore/miitopia/types/mii_tube_mii_info.go @@ -89,6 +89,20 @@ func (mtmi MiiTubeMiiInfo) Equals(o types.RVType) bool { return mtmi.RankingType.Equals(other.RankingType) } +// CopyRef copies the current value of the MiiTubeMiiInfo +// and returns a pointer to the new copy +func (mtmi MiiTubeMiiInfo) CopyRef() types.RVTypePtr { + copied := mtmi.Copy().(MiiTubeMiiInfo) + return &copied +} + +// Deref takes a pointer to the MiiTubeMiiInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mtmi *MiiTubeMiiInfo) Deref() types.RVType { + return *mtmi +} + // String returns the string representation of the MiiTubeMiiInfo func (mtmi MiiTubeMiiInfo) String() string { return mtmi.FormatToString(0) diff --git a/datastore/miitopia/types/mii_tube_search_param.go b/datastore/miitopia/types/mii_tube_search_param.go index 9beade3b..afbfae62 100644 --- a/datastore/miitopia/types/mii_tube_search_param.go +++ b/datastore/miitopia/types/mii_tube_search_param.go @@ -136,6 +136,20 @@ func (mtsp MiiTubeSearchParam) Equals(o types.RVType) bool { return mtsp.ResultOption.Equals(other.ResultOption) } +// CopyRef copies the current value of the MiiTubeSearchParam +// and returns a pointer to the new copy +func (mtsp MiiTubeSearchParam) CopyRef() types.RVTypePtr { + copied := mtsp.Copy().(MiiTubeSearchParam) + return &copied +} + +// Deref takes a pointer to the MiiTubeSearchParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mtsp *MiiTubeSearchParam) Deref() types.RVType { + return *mtsp +} + // String returns the string representation of the MiiTubeSearchParam func (mtsp MiiTubeSearchParam) String() string { return mtsp.FormatToString(0) diff --git a/datastore/miitopia/types/mii_tube_search_result.go b/datastore/miitopia/types/mii_tube_search_result.go index 952e0991..c41cf1d0 100644 --- a/datastore/miitopia/types/mii_tube_search_result.go +++ b/datastore/miitopia/types/mii_tube_search_result.go @@ -101,6 +101,20 @@ func (mtsr MiiTubeSearchResult) Equals(o types.RVType) bool { return mtsr.HasNext.Equals(other.HasNext) } +// CopyRef copies the current value of the MiiTubeSearchResult +// and returns a pointer to the new copy +func (mtsr MiiTubeSearchResult) CopyRef() types.RVTypePtr { + copied := mtsr.Copy().(MiiTubeSearchResult) + return &copied +} + +// Deref takes a pointer to the MiiTubeSearchResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mtsr *MiiTubeSearchResult) Deref() types.RVType { + return *mtsr +} + // String returns the string representation of the MiiTubeSearchResult func (mtsr MiiTubeSearchResult) String() string { return mtsr.FormatToString(0) diff --git a/datastore/nintendo-badge-arcade/types/datastore_get_meta_by_owner_id_param.go b/datastore/nintendo-badge-arcade/types/datastore_get_meta_by_owner_id_param.go index 13b9c784..a4c45746 100644 --- a/datastore/nintendo-badge-arcade/types/datastore_get_meta_by_owner_id_param.go +++ b/datastore/nintendo-badge-arcade/types/datastore_get_meta_by_owner_id_param.go @@ -105,6 +105,20 @@ func (dsgmboidp DataStoreGetMetaByOwnerIDParam) Equals(o types.RVType) bool { return dsgmboidp.ResultRange.Equals(other.ResultRange) } +// CopyRef copies the current value of the DataStoreGetMetaByOwnerIDParam +// and returns a pointer to the new copy +func (dsgmboidp DataStoreGetMetaByOwnerIDParam) CopyRef() types.RVTypePtr { + copied := dsgmboidp.Copy().(DataStoreGetMetaByOwnerIDParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetMetaByOwnerIDParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgmboidp *DataStoreGetMetaByOwnerIDParam) Deref() types.RVType { + return *dsgmboidp +} + // String returns the string representation of the DataStoreGetMetaByOwnerIDParam func (dsgmboidp DataStoreGetMetaByOwnerIDParam) String() string { return dsgmboidp.FormatToString(0) diff --git a/datastore/pokemon-bank/types/bank_migration_info.go b/datastore/pokemon-bank/types/bank_migration_info.go index f557ff57..f2c60d6b 100644 --- a/datastore/pokemon-bank/types/bank_migration_info.go +++ b/datastore/pokemon-bank/types/bank_migration_info.go @@ -81,6 +81,20 @@ func (bmi BankMigrationInfo) Equals(o types.RVType) bool { return bmi.UpdatedTime.Equals(other.UpdatedTime) } +// CopyRef copies the current value of the BankMigrationInfo +// and returns a pointer to the new copy +func (bmi BankMigrationInfo) CopyRef() types.RVTypePtr { + copied := bmi.Copy().(BankMigrationInfo) + return &copied +} + +// Deref takes a pointer to the BankMigrationInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (bmi *BankMigrationInfo) Deref() types.RVType { + return *bmi +} + // String returns the string representation of the BankMigrationInfo func (bmi BankMigrationInfo) String() string { return bmi.FormatToString(0) diff --git a/datastore/pokemon-bank/types/bank_transaction_param.go b/datastore/pokemon-bank/types/bank_transaction_param.go index da7b62b8..cb3e6c52 100644 --- a/datastore/pokemon-bank/types/bank_transaction_param.go +++ b/datastore/pokemon-bank/types/bank_transaction_param.go @@ -117,6 +117,20 @@ func (btp BankTransactionParam) Equals(o types.RVType) bool { return btp.TransactionPassword.Equals(other.TransactionPassword) } +// CopyRef copies the current value of the BankTransactionParam +// and returns a pointer to the new copy +func (btp BankTransactionParam) CopyRef() types.RVTypePtr { + copied := btp.Copy().(BankTransactionParam) + return &copied +} + +// Deref takes a pointer to the BankTransactionParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (btp *BankTransactionParam) Deref() types.RVType { + return *btp +} + // String returns the string representation of the BankTransactionParam func (btp BankTransactionParam) String() string { return btp.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_data.go b/datastore/pokemon-bank/types/global_trade_station_data.go index 0ce58a80..c2fa2522 100644 --- a/datastore/pokemon-bank/types/global_trade_station_data.go +++ b/datastore/pokemon-bank/types/global_trade_station_data.go @@ -117,6 +117,20 @@ func (gtsd GlobalTradeStationData) Equals(o types.RVType) bool { return gtsd.Version.Equals(other.Version) } +// CopyRef copies the current value of the GlobalTradeStationData +// and returns a pointer to the new copy +func (gtsd GlobalTradeStationData) CopyRef() types.RVTypePtr { + copied := gtsd.Copy().(GlobalTradeStationData) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsd *GlobalTradeStationData) Deref() types.RVType { + return *gtsd +} + // String returns the string representation of the GlobalTradeStationData func (gtsd GlobalTradeStationData) String() string { return gtsd.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_delete_pokemon_param.go b/datastore/pokemon-bank/types/global_trade_station_delete_pokemon_param.go index 82eef8ef..46d32f5f 100644 --- a/datastore/pokemon-bank/types/global_trade_station_delete_pokemon_param.go +++ b/datastore/pokemon-bank/types/global_trade_station_delete_pokemon_param.go @@ -81,6 +81,20 @@ func (gtsdpp GlobalTradeStationDeletePokemonParam) Equals(o types.RVType) bool { return gtsdpp.DeleteFlag.Equals(other.DeleteFlag) } +// CopyRef copies the current value of the GlobalTradeStationDeletePokemonParam +// and returns a pointer to the new copy +func (gtsdpp GlobalTradeStationDeletePokemonParam) CopyRef() types.RVTypePtr { + copied := gtsdpp.Copy().(GlobalTradeStationDeletePokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDeletePokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdpp *GlobalTradeStationDeletePokemonParam) Deref() types.RVType { + return *gtsdpp +} + // String returns the string representation of the GlobalTradeStationDeletePokemonParam func (gtsdpp GlobalTradeStationDeletePokemonParam) String() string { return gtsdpp.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_download_my_pokemon_param.go b/datastore/pokemon-bank/types/global_trade_station_download_my_pokemon_param.go index 8c6d850b..2dd7d2e6 100644 --- a/datastore/pokemon-bank/types/global_trade_station_download_my_pokemon_param.go +++ b/datastore/pokemon-bank/types/global_trade_station_download_my_pokemon_param.go @@ -69,6 +69,20 @@ func (gtsdmpp GlobalTradeStationDownloadMyPokemonParam) Equals(o types.RVType) b return gtsdmpp.PrepareUploadKey.Equals(other.PrepareUploadKey) } +// CopyRef copies the current value of the GlobalTradeStationDownloadMyPokemonParam +// and returns a pointer to the new copy +func (gtsdmpp GlobalTradeStationDownloadMyPokemonParam) CopyRef() types.RVTypePtr { + copied := gtsdmpp.Copy().(GlobalTradeStationDownloadMyPokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDownloadMyPokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdmpp *GlobalTradeStationDownloadMyPokemonParam) Deref() types.RVType { + return *gtsdmpp +} + // String returns the string representation of the GlobalTradeStationDownloadMyPokemonParam func (gtsdmpp GlobalTradeStationDownloadMyPokemonParam) String() string { return gtsdmpp.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_download_my_pokemon_result.go b/datastore/pokemon-bank/types/global_trade_station_download_my_pokemon_result.go index b77bbc31..0fc172f6 100644 --- a/datastore/pokemon-bank/types/global_trade_station_download_my_pokemon_result.go +++ b/datastore/pokemon-bank/types/global_trade_station_download_my_pokemon_result.go @@ -81,6 +81,20 @@ func (gtsdmpr GlobalTradeStationDownloadMyPokemonResult) Equals(o types.RVType) return gtsdmpr.IsTraded.Equals(other.IsTraded) } +// CopyRef copies the current value of the GlobalTradeStationDownloadMyPokemonResult +// and returns a pointer to the new copy +func (gtsdmpr GlobalTradeStationDownloadMyPokemonResult) CopyRef() types.RVTypePtr { + copied := gtsdmpr.Copy().(GlobalTradeStationDownloadMyPokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDownloadMyPokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdmpr *GlobalTradeStationDownloadMyPokemonResult) Deref() types.RVType { + return *gtsdmpr +} + // String returns the string representation of the GlobalTradeStationDownloadMyPokemonResult func (gtsdmpr GlobalTradeStationDownloadMyPokemonResult) String() string { return gtsdmpr.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_download_other_pokemon_param.go b/datastore/pokemon-bank/types/global_trade_station_download_other_pokemon_param.go index 4f28de75..a96c469b 100644 --- a/datastore/pokemon-bank/types/global_trade_station_download_other_pokemon_param.go +++ b/datastore/pokemon-bank/types/global_trade_station_download_other_pokemon_param.go @@ -69,6 +69,20 @@ func (gtsdopp GlobalTradeStationDownloadOtherPokemonParam) Equals(o types.RVType return gtsdopp.PrepareUploadKey.Equals(other.PrepareUploadKey) } +// CopyRef copies the current value of the GlobalTradeStationDownloadOtherPokemonParam +// and returns a pointer to the new copy +func (gtsdopp GlobalTradeStationDownloadOtherPokemonParam) CopyRef() types.RVTypePtr { + copied := gtsdopp.Copy().(GlobalTradeStationDownloadOtherPokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDownloadOtherPokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdopp *GlobalTradeStationDownloadOtherPokemonParam) Deref() types.RVType { + return *gtsdopp +} + // String returns the string representation of the GlobalTradeStationDownloadOtherPokemonParam func (gtsdopp GlobalTradeStationDownloadOtherPokemonParam) String() string { return gtsdopp.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_download_pokemon_result.go b/datastore/pokemon-bank/types/global_trade_station_download_pokemon_result.go index 73feb63d..ae431b65 100644 --- a/datastore/pokemon-bank/types/global_trade_station_download_pokemon_result.go +++ b/datastore/pokemon-bank/types/global_trade_station_download_pokemon_result.go @@ -93,6 +93,20 @@ func (gtsdpr GlobalTradeStationDownloadPokemonResult) Equals(o types.RVType) boo return gtsdpr.PokemonData.Equals(other.PokemonData) } +// CopyRef copies the current value of the GlobalTradeStationDownloadPokemonResult +// and returns a pointer to the new copy +func (gtsdpr GlobalTradeStationDownloadPokemonResult) CopyRef() types.RVTypePtr { + copied := gtsdpr.Copy().(GlobalTradeStationDownloadPokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDownloadPokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdpr *GlobalTradeStationDownloadPokemonResult) Deref() types.RVType { + return *gtsdpr +} + // String returns the string representation of the GlobalTradeStationDownloadPokemonResult func (gtsdpr GlobalTradeStationDownloadPokemonResult) String() string { return gtsdpr.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_prepare_trade_pokemon_param.go b/datastore/pokemon-bank/types/global_trade_station_prepare_trade_pokemon_param.go index 2bf868b8..c25443f3 100644 --- a/datastore/pokemon-bank/types/global_trade_station_prepare_trade_pokemon_param.go +++ b/datastore/pokemon-bank/types/global_trade_station_prepare_trade_pokemon_param.go @@ -81,6 +81,20 @@ func (gtsptpp GlobalTradeStationPrepareTradePokemonParam) Equals(o types.RVType) return gtsptpp.PrepareUploadKey.Equals(other.PrepareUploadKey) } +// CopyRef copies the current value of the GlobalTradeStationPrepareTradePokemonParam +// and returns a pointer to the new copy +func (gtsptpp GlobalTradeStationPrepareTradePokemonParam) CopyRef() types.RVTypePtr { + copied := gtsptpp.Copy().(GlobalTradeStationPrepareTradePokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationPrepareTradePokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsptpp *GlobalTradeStationPrepareTradePokemonParam) Deref() types.RVType { + return *gtsptpp +} + // String returns the string representation of the GlobalTradeStationPrepareTradePokemonParam func (gtsptpp GlobalTradeStationPrepareTradePokemonParam) String() string { return gtsptpp.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_prepare_trade_pokemon_result.go b/datastore/pokemon-bank/types/global_trade_station_prepare_trade_pokemon_result.go index e4ff52ea..89458001 100644 --- a/datastore/pokemon-bank/types/global_trade_station_prepare_trade_pokemon_result.go +++ b/datastore/pokemon-bank/types/global_trade_station_prepare_trade_pokemon_result.go @@ -81,6 +81,20 @@ func (gtsptpr GlobalTradeStationPrepareTradePokemonResult) Equals(o types.RVType return gtsptpr.PrepareTradeKey.Equals(other.PrepareTradeKey) } +// CopyRef copies the current value of the GlobalTradeStationPrepareTradePokemonResult +// and returns a pointer to the new copy +func (gtsptpr GlobalTradeStationPrepareTradePokemonResult) CopyRef() types.RVTypePtr { + copied := gtsptpr.Copy().(GlobalTradeStationPrepareTradePokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationPrepareTradePokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsptpr *GlobalTradeStationPrepareTradePokemonResult) Deref() types.RVType { + return *gtsptpr +} + // String returns the string representation of the GlobalTradeStationPrepareTradePokemonResult func (gtsptpr GlobalTradeStationPrepareTradePokemonResult) String() string { return gtsptpr.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_record_key.go b/datastore/pokemon-bank/types/global_trade_station_record_key.go index a593c57a..640c77d3 100644 --- a/datastore/pokemon-bank/types/global_trade_station_record_key.go +++ b/datastore/pokemon-bank/types/global_trade_station_record_key.go @@ -81,6 +81,20 @@ func (gtsrk GlobalTradeStationRecordKey) Equals(o types.RVType) bool { return gtsrk.Password.Equals(other.Password) } +// CopyRef copies the current value of the GlobalTradeStationRecordKey +// and returns a pointer to the new copy +func (gtsrk GlobalTradeStationRecordKey) CopyRef() types.RVTypePtr { + copied := gtsrk.Copy().(GlobalTradeStationRecordKey) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationRecordKey +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsrk *GlobalTradeStationRecordKey) Deref() types.RVType { + return *gtsrk +} + // String returns the string representation of the GlobalTradeStationRecordKey func (gtsrk GlobalTradeStationRecordKey) String() string { return gtsrk.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_search_pokemon_param.go b/datastore/pokemon-bank/types/global_trade_station_search_pokemon_param.go index 907ee8ac..816774bb 100644 --- a/datastore/pokemon-bank/types/global_trade_station_search_pokemon_param.go +++ b/datastore/pokemon-bank/types/global_trade_station_search_pokemon_param.go @@ -141,6 +141,20 @@ func (gtsspp GlobalTradeStationSearchPokemonParam) Equals(o types.RVType) bool { return gtsspp.ResultRange.Equals(other.ResultRange) } +// CopyRef copies the current value of the GlobalTradeStationSearchPokemonParam +// and returns a pointer to the new copy +func (gtsspp GlobalTradeStationSearchPokemonParam) CopyRef() types.RVTypePtr { + copied := gtsspp.Copy().(GlobalTradeStationSearchPokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationSearchPokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsspp *GlobalTradeStationSearchPokemonParam) Deref() types.RVType { + return *gtsspp +} + // String returns the string representation of the GlobalTradeStationSearchPokemonParam func (gtsspp GlobalTradeStationSearchPokemonParam) String() string { return gtsspp.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_search_pokemon_result.go b/datastore/pokemon-bank/types/global_trade_station_search_pokemon_result.go index e0ea93b3..0172f11c 100644 --- a/datastore/pokemon-bank/types/global_trade_station_search_pokemon_result.go +++ b/datastore/pokemon-bank/types/global_trade_station_search_pokemon_result.go @@ -93,6 +93,20 @@ func (gtsspr GlobalTradeStationSearchPokemonResult) Equals(o types.RVType) bool return gtsspr.TotalCountType.Equals(other.TotalCountType) } +// CopyRef copies the current value of the GlobalTradeStationSearchPokemonResult +// and returns a pointer to the new copy +func (gtsspr GlobalTradeStationSearchPokemonResult) CopyRef() types.RVTypePtr { + copied := gtsspr.Copy().(GlobalTradeStationSearchPokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationSearchPokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsspr *GlobalTradeStationSearchPokemonResult) Deref() types.RVType { + return *gtsspr +} + // String returns the string representation of the GlobalTradeStationSearchPokemonResult func (gtsspr GlobalTradeStationSearchPokemonResult) String() string { return gtsspr.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_trade_key.go b/datastore/pokemon-bank/types/global_trade_station_trade_key.go index 2a17cd51..fb8d56e4 100644 --- a/datastore/pokemon-bank/types/global_trade_station_trade_key.go +++ b/datastore/pokemon-bank/types/global_trade_station_trade_key.go @@ -81,6 +81,20 @@ func (gtstk GlobalTradeStationTradeKey) Equals(o types.RVType) bool { return gtstk.Version.Equals(other.Version) } +// CopyRef copies the current value of the GlobalTradeStationTradeKey +// and returns a pointer to the new copy +func (gtstk GlobalTradeStationTradeKey) CopyRef() types.RVTypePtr { + copied := gtstk.Copy().(GlobalTradeStationTradeKey) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationTradeKey +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtstk *GlobalTradeStationTradeKey) Deref() types.RVType { + return *gtstk +} + // String returns the string representation of the GlobalTradeStationTradeKey func (gtstk GlobalTradeStationTradeKey) String() string { return gtstk.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_trade_pokemon_param.go b/datastore/pokemon-bank/types/global_trade_station_trade_pokemon_param.go index 65cbdc83..06ffb381 100644 --- a/datastore/pokemon-bank/types/global_trade_station_trade_pokemon_param.go +++ b/datastore/pokemon-bank/types/global_trade_station_trade_pokemon_param.go @@ -153,6 +153,20 @@ func (gtstpp GlobalTradeStationTradePokemonParam) Equals(o types.RVType) bool { return gtstpp.NeedData.Equals(other.NeedData) } +// CopyRef copies the current value of the GlobalTradeStationTradePokemonParam +// and returns a pointer to the new copy +func (gtstpp GlobalTradeStationTradePokemonParam) CopyRef() types.RVTypePtr { + copied := gtstpp.Copy().(GlobalTradeStationTradePokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationTradePokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtstpp *GlobalTradeStationTradePokemonParam) Deref() types.RVType { + return *gtstpp +} + // String returns the string representation of the GlobalTradeStationTradePokemonParam func (gtstpp GlobalTradeStationTradePokemonParam) String() string { return gtstpp.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_trade_pokemon_result.go b/datastore/pokemon-bank/types/global_trade_station_trade_pokemon_result.go index 7a2d8a2a..1bd7eb1c 100644 --- a/datastore/pokemon-bank/types/global_trade_station_trade_pokemon_result.go +++ b/datastore/pokemon-bank/types/global_trade_station_trade_pokemon_result.go @@ -81,6 +81,20 @@ func (gtstpr GlobalTradeStationTradePokemonResult) Equals(o types.RVType) bool { return gtstpr.MyDataID.Equals(other.MyDataID) } +// CopyRef copies the current value of the GlobalTradeStationTradePokemonResult +// and returns a pointer to the new copy +func (gtstpr GlobalTradeStationTradePokemonResult) CopyRef() types.RVTypePtr { + copied := gtstpr.Copy().(GlobalTradeStationTradePokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationTradePokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtstpr *GlobalTradeStationTradePokemonResult) Deref() types.RVType { + return *gtstpr +} + // String returns the string representation of the GlobalTradeStationTradePokemonResult func (gtstpr GlobalTradeStationTradePokemonResult) String() string { return gtstpr.FormatToString(0) diff --git a/datastore/pokemon-bank/types/global_trade_station_upload_pokemon_param.go b/datastore/pokemon-bank/types/global_trade_station_upload_pokemon_param.go index 6ce06fa5..398e26ec 100644 --- a/datastore/pokemon-bank/types/global_trade_station_upload_pokemon_param.go +++ b/datastore/pokemon-bank/types/global_trade_station_upload_pokemon_param.go @@ -117,6 +117,20 @@ func (gtsupp GlobalTradeStationUploadPokemonParam) Equals(o types.RVType) bool { return gtsupp.Signature.Equals(other.Signature) } +// CopyRef copies the current value of the GlobalTradeStationUploadPokemonParam +// and returns a pointer to the new copy +func (gtsupp GlobalTradeStationUploadPokemonParam) CopyRef() types.RVTypePtr { + copied := gtsupp.Copy().(GlobalTradeStationUploadPokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationUploadPokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsupp *GlobalTradeStationUploadPokemonParam) Deref() types.RVType { + return *gtsupp +} + // String returns the string representation of the GlobalTradeStationUploadPokemonParam func (gtsupp GlobalTradeStationUploadPokemonParam) String() string { return gtsupp.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_data.go b/datastore/pokemon-gen6/types/global_trade_station_data.go index 0ce58a80..c2fa2522 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_data.go +++ b/datastore/pokemon-gen6/types/global_trade_station_data.go @@ -117,6 +117,20 @@ func (gtsd GlobalTradeStationData) Equals(o types.RVType) bool { return gtsd.Version.Equals(other.Version) } +// CopyRef copies the current value of the GlobalTradeStationData +// and returns a pointer to the new copy +func (gtsd GlobalTradeStationData) CopyRef() types.RVTypePtr { + copied := gtsd.Copy().(GlobalTradeStationData) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsd *GlobalTradeStationData) Deref() types.RVType { + return *gtsd +} + // String returns the string representation of the GlobalTradeStationData func (gtsd GlobalTradeStationData) String() string { return gtsd.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_delete_pokemon_param.go b/datastore/pokemon-gen6/types/global_trade_station_delete_pokemon_param.go index 82eef8ef..46d32f5f 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_delete_pokemon_param.go +++ b/datastore/pokemon-gen6/types/global_trade_station_delete_pokemon_param.go @@ -81,6 +81,20 @@ func (gtsdpp GlobalTradeStationDeletePokemonParam) Equals(o types.RVType) bool { return gtsdpp.DeleteFlag.Equals(other.DeleteFlag) } +// CopyRef copies the current value of the GlobalTradeStationDeletePokemonParam +// and returns a pointer to the new copy +func (gtsdpp GlobalTradeStationDeletePokemonParam) CopyRef() types.RVTypePtr { + copied := gtsdpp.Copy().(GlobalTradeStationDeletePokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDeletePokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdpp *GlobalTradeStationDeletePokemonParam) Deref() types.RVType { + return *gtsdpp +} + // String returns the string representation of the GlobalTradeStationDeletePokemonParam func (gtsdpp GlobalTradeStationDeletePokemonParam) String() string { return gtsdpp.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_download_my_pokemon_param.go b/datastore/pokemon-gen6/types/global_trade_station_download_my_pokemon_param.go index 8c6d850b..2dd7d2e6 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_download_my_pokemon_param.go +++ b/datastore/pokemon-gen6/types/global_trade_station_download_my_pokemon_param.go @@ -69,6 +69,20 @@ func (gtsdmpp GlobalTradeStationDownloadMyPokemonParam) Equals(o types.RVType) b return gtsdmpp.PrepareUploadKey.Equals(other.PrepareUploadKey) } +// CopyRef copies the current value of the GlobalTradeStationDownloadMyPokemonParam +// and returns a pointer to the new copy +func (gtsdmpp GlobalTradeStationDownloadMyPokemonParam) CopyRef() types.RVTypePtr { + copied := gtsdmpp.Copy().(GlobalTradeStationDownloadMyPokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDownloadMyPokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdmpp *GlobalTradeStationDownloadMyPokemonParam) Deref() types.RVType { + return *gtsdmpp +} + // String returns the string representation of the GlobalTradeStationDownloadMyPokemonParam func (gtsdmpp GlobalTradeStationDownloadMyPokemonParam) String() string { return gtsdmpp.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_download_my_pokemon_result.go b/datastore/pokemon-gen6/types/global_trade_station_download_my_pokemon_result.go index b77bbc31..0fc172f6 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_download_my_pokemon_result.go +++ b/datastore/pokemon-gen6/types/global_trade_station_download_my_pokemon_result.go @@ -81,6 +81,20 @@ func (gtsdmpr GlobalTradeStationDownloadMyPokemonResult) Equals(o types.RVType) return gtsdmpr.IsTraded.Equals(other.IsTraded) } +// CopyRef copies the current value of the GlobalTradeStationDownloadMyPokemonResult +// and returns a pointer to the new copy +func (gtsdmpr GlobalTradeStationDownloadMyPokemonResult) CopyRef() types.RVTypePtr { + copied := gtsdmpr.Copy().(GlobalTradeStationDownloadMyPokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDownloadMyPokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdmpr *GlobalTradeStationDownloadMyPokemonResult) Deref() types.RVType { + return *gtsdmpr +} + // String returns the string representation of the GlobalTradeStationDownloadMyPokemonResult func (gtsdmpr GlobalTradeStationDownloadMyPokemonResult) String() string { return gtsdmpr.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_download_other_pokemon_param.go b/datastore/pokemon-gen6/types/global_trade_station_download_other_pokemon_param.go index 4f28de75..a96c469b 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_download_other_pokemon_param.go +++ b/datastore/pokemon-gen6/types/global_trade_station_download_other_pokemon_param.go @@ -69,6 +69,20 @@ func (gtsdopp GlobalTradeStationDownloadOtherPokemonParam) Equals(o types.RVType return gtsdopp.PrepareUploadKey.Equals(other.PrepareUploadKey) } +// CopyRef copies the current value of the GlobalTradeStationDownloadOtherPokemonParam +// and returns a pointer to the new copy +func (gtsdopp GlobalTradeStationDownloadOtherPokemonParam) CopyRef() types.RVTypePtr { + copied := gtsdopp.Copy().(GlobalTradeStationDownloadOtherPokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDownloadOtherPokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdopp *GlobalTradeStationDownloadOtherPokemonParam) Deref() types.RVType { + return *gtsdopp +} + // String returns the string representation of the GlobalTradeStationDownloadOtherPokemonParam func (gtsdopp GlobalTradeStationDownloadOtherPokemonParam) String() string { return gtsdopp.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_download_pokemon_result.go b/datastore/pokemon-gen6/types/global_trade_station_download_pokemon_result.go index 73feb63d..ae431b65 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_download_pokemon_result.go +++ b/datastore/pokemon-gen6/types/global_trade_station_download_pokemon_result.go @@ -93,6 +93,20 @@ func (gtsdpr GlobalTradeStationDownloadPokemonResult) Equals(o types.RVType) boo return gtsdpr.PokemonData.Equals(other.PokemonData) } +// CopyRef copies the current value of the GlobalTradeStationDownloadPokemonResult +// and returns a pointer to the new copy +func (gtsdpr GlobalTradeStationDownloadPokemonResult) CopyRef() types.RVTypePtr { + copied := gtsdpr.Copy().(GlobalTradeStationDownloadPokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationDownloadPokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsdpr *GlobalTradeStationDownloadPokemonResult) Deref() types.RVType { + return *gtsdpr +} + // String returns the string representation of the GlobalTradeStationDownloadPokemonResult func (gtsdpr GlobalTradeStationDownloadPokemonResult) String() string { return gtsdpr.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_prepare_trade_pokemon_param.go b/datastore/pokemon-gen6/types/global_trade_station_prepare_trade_pokemon_param.go index 2bf868b8..c25443f3 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_prepare_trade_pokemon_param.go +++ b/datastore/pokemon-gen6/types/global_trade_station_prepare_trade_pokemon_param.go @@ -81,6 +81,20 @@ func (gtsptpp GlobalTradeStationPrepareTradePokemonParam) Equals(o types.RVType) return gtsptpp.PrepareUploadKey.Equals(other.PrepareUploadKey) } +// CopyRef copies the current value of the GlobalTradeStationPrepareTradePokemonParam +// and returns a pointer to the new copy +func (gtsptpp GlobalTradeStationPrepareTradePokemonParam) CopyRef() types.RVTypePtr { + copied := gtsptpp.Copy().(GlobalTradeStationPrepareTradePokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationPrepareTradePokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsptpp *GlobalTradeStationPrepareTradePokemonParam) Deref() types.RVType { + return *gtsptpp +} + // String returns the string representation of the GlobalTradeStationPrepareTradePokemonParam func (gtsptpp GlobalTradeStationPrepareTradePokemonParam) String() string { return gtsptpp.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_prepare_trade_pokemon_result.go b/datastore/pokemon-gen6/types/global_trade_station_prepare_trade_pokemon_result.go index e4ff52ea..89458001 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_prepare_trade_pokemon_result.go +++ b/datastore/pokemon-gen6/types/global_trade_station_prepare_trade_pokemon_result.go @@ -81,6 +81,20 @@ func (gtsptpr GlobalTradeStationPrepareTradePokemonResult) Equals(o types.RVType return gtsptpr.PrepareTradeKey.Equals(other.PrepareTradeKey) } +// CopyRef copies the current value of the GlobalTradeStationPrepareTradePokemonResult +// and returns a pointer to the new copy +func (gtsptpr GlobalTradeStationPrepareTradePokemonResult) CopyRef() types.RVTypePtr { + copied := gtsptpr.Copy().(GlobalTradeStationPrepareTradePokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationPrepareTradePokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsptpr *GlobalTradeStationPrepareTradePokemonResult) Deref() types.RVType { + return *gtsptpr +} + // String returns the string representation of the GlobalTradeStationPrepareTradePokemonResult func (gtsptpr GlobalTradeStationPrepareTradePokemonResult) String() string { return gtsptpr.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_record_key.go b/datastore/pokemon-gen6/types/global_trade_station_record_key.go index a593c57a..640c77d3 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_record_key.go +++ b/datastore/pokemon-gen6/types/global_trade_station_record_key.go @@ -81,6 +81,20 @@ func (gtsrk GlobalTradeStationRecordKey) Equals(o types.RVType) bool { return gtsrk.Password.Equals(other.Password) } +// CopyRef copies the current value of the GlobalTradeStationRecordKey +// and returns a pointer to the new copy +func (gtsrk GlobalTradeStationRecordKey) CopyRef() types.RVTypePtr { + copied := gtsrk.Copy().(GlobalTradeStationRecordKey) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationRecordKey +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsrk *GlobalTradeStationRecordKey) Deref() types.RVType { + return *gtsrk +} + // String returns the string representation of the GlobalTradeStationRecordKey func (gtsrk GlobalTradeStationRecordKey) String() string { return gtsrk.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_search_pokemon_param.go b/datastore/pokemon-gen6/types/global_trade_station_search_pokemon_param.go index 907ee8ac..816774bb 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_search_pokemon_param.go +++ b/datastore/pokemon-gen6/types/global_trade_station_search_pokemon_param.go @@ -141,6 +141,20 @@ func (gtsspp GlobalTradeStationSearchPokemonParam) Equals(o types.RVType) bool { return gtsspp.ResultRange.Equals(other.ResultRange) } +// CopyRef copies the current value of the GlobalTradeStationSearchPokemonParam +// and returns a pointer to the new copy +func (gtsspp GlobalTradeStationSearchPokemonParam) CopyRef() types.RVTypePtr { + copied := gtsspp.Copy().(GlobalTradeStationSearchPokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationSearchPokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsspp *GlobalTradeStationSearchPokemonParam) Deref() types.RVType { + return *gtsspp +} + // String returns the string representation of the GlobalTradeStationSearchPokemonParam func (gtsspp GlobalTradeStationSearchPokemonParam) String() string { return gtsspp.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_search_pokemon_result.go b/datastore/pokemon-gen6/types/global_trade_station_search_pokemon_result.go index e0ea93b3..0172f11c 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_search_pokemon_result.go +++ b/datastore/pokemon-gen6/types/global_trade_station_search_pokemon_result.go @@ -93,6 +93,20 @@ func (gtsspr GlobalTradeStationSearchPokemonResult) Equals(o types.RVType) bool return gtsspr.TotalCountType.Equals(other.TotalCountType) } +// CopyRef copies the current value of the GlobalTradeStationSearchPokemonResult +// and returns a pointer to the new copy +func (gtsspr GlobalTradeStationSearchPokemonResult) CopyRef() types.RVTypePtr { + copied := gtsspr.Copy().(GlobalTradeStationSearchPokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationSearchPokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsspr *GlobalTradeStationSearchPokemonResult) Deref() types.RVType { + return *gtsspr +} + // String returns the string representation of the GlobalTradeStationSearchPokemonResult func (gtsspr GlobalTradeStationSearchPokemonResult) String() string { return gtsspr.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_trade_key.go b/datastore/pokemon-gen6/types/global_trade_station_trade_key.go index 2a17cd51..fb8d56e4 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_trade_key.go +++ b/datastore/pokemon-gen6/types/global_trade_station_trade_key.go @@ -81,6 +81,20 @@ func (gtstk GlobalTradeStationTradeKey) Equals(o types.RVType) bool { return gtstk.Version.Equals(other.Version) } +// CopyRef copies the current value of the GlobalTradeStationTradeKey +// and returns a pointer to the new copy +func (gtstk GlobalTradeStationTradeKey) CopyRef() types.RVTypePtr { + copied := gtstk.Copy().(GlobalTradeStationTradeKey) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationTradeKey +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtstk *GlobalTradeStationTradeKey) Deref() types.RVType { + return *gtstk +} + // String returns the string representation of the GlobalTradeStationTradeKey func (gtstk GlobalTradeStationTradeKey) String() string { return gtstk.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_trade_pokemon_param.go b/datastore/pokemon-gen6/types/global_trade_station_trade_pokemon_param.go index 65cbdc83..06ffb381 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_trade_pokemon_param.go +++ b/datastore/pokemon-gen6/types/global_trade_station_trade_pokemon_param.go @@ -153,6 +153,20 @@ func (gtstpp GlobalTradeStationTradePokemonParam) Equals(o types.RVType) bool { return gtstpp.NeedData.Equals(other.NeedData) } +// CopyRef copies the current value of the GlobalTradeStationTradePokemonParam +// and returns a pointer to the new copy +func (gtstpp GlobalTradeStationTradePokemonParam) CopyRef() types.RVTypePtr { + copied := gtstpp.Copy().(GlobalTradeStationTradePokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationTradePokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtstpp *GlobalTradeStationTradePokemonParam) Deref() types.RVType { + return *gtstpp +} + // String returns the string representation of the GlobalTradeStationTradePokemonParam func (gtstpp GlobalTradeStationTradePokemonParam) String() string { return gtstpp.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_trade_pokemon_result.go b/datastore/pokemon-gen6/types/global_trade_station_trade_pokemon_result.go index 7a2d8a2a..1bd7eb1c 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_trade_pokemon_result.go +++ b/datastore/pokemon-gen6/types/global_trade_station_trade_pokemon_result.go @@ -81,6 +81,20 @@ func (gtstpr GlobalTradeStationTradePokemonResult) Equals(o types.RVType) bool { return gtstpr.MyDataID.Equals(other.MyDataID) } +// CopyRef copies the current value of the GlobalTradeStationTradePokemonResult +// and returns a pointer to the new copy +func (gtstpr GlobalTradeStationTradePokemonResult) CopyRef() types.RVTypePtr { + copied := gtstpr.Copy().(GlobalTradeStationTradePokemonResult) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationTradePokemonResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtstpr *GlobalTradeStationTradePokemonResult) Deref() types.RVType { + return *gtstpr +} + // String returns the string representation of the GlobalTradeStationTradePokemonResult func (gtstpr GlobalTradeStationTradePokemonResult) String() string { return gtstpr.FormatToString(0) diff --git a/datastore/pokemon-gen6/types/global_trade_station_upload_pokemon_param.go b/datastore/pokemon-gen6/types/global_trade_station_upload_pokemon_param.go index 6ce06fa5..398e26ec 100644 --- a/datastore/pokemon-gen6/types/global_trade_station_upload_pokemon_param.go +++ b/datastore/pokemon-gen6/types/global_trade_station_upload_pokemon_param.go @@ -117,6 +117,20 @@ func (gtsupp GlobalTradeStationUploadPokemonParam) Equals(o types.RVType) bool { return gtsupp.Signature.Equals(other.Signature) } +// CopyRef copies the current value of the GlobalTradeStationUploadPokemonParam +// and returns a pointer to the new copy +func (gtsupp GlobalTradeStationUploadPokemonParam) CopyRef() types.RVTypePtr { + copied := gtsupp.Copy().(GlobalTradeStationUploadPokemonParam) + return &copied +} + +// Deref takes a pointer to the GlobalTradeStationUploadPokemonParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gtsupp *GlobalTradeStationUploadPokemonParam) Deref() types.RVType { + return *gtsupp +} + // String returns the string representation of the GlobalTradeStationUploadPokemonParam func (gtsupp GlobalTradeStationUploadPokemonParam) String() string { return gtsupp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/buffer_queue_param.go b/datastore/super-mario-maker/types/buffer_queue_param.go index e03baa66..fb1c27ac 100644 --- a/datastore/super-mario-maker/types/buffer_queue_param.go +++ b/datastore/super-mario-maker/types/buffer_queue_param.go @@ -81,6 +81,20 @@ func (bqp BufferQueueParam) Equals(o types.RVType) bool { return bqp.Slot.Equals(other.Slot) } +// CopyRef copies the current value of the BufferQueueParam +// and returns a pointer to the new copy +func (bqp BufferQueueParam) CopyRef() types.RVTypePtr { + copied := bqp.Copy().(BufferQueueParam) + return &copied +} + +// Deref takes a pointer to the BufferQueueParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (bqp *BufferQueueParam) Deref() types.RVType { + return *bqp +} + // String returns the string representation of the BufferQueueParam func (bqp BufferQueueParam) String() string { return bqp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_attach_file_param.go b/datastore/super-mario-maker/types/datastore_attach_file_param.go index 43711dcc..053a678f 100644 --- a/datastore/super-mario-maker/types/datastore_attach_file_param.go +++ b/datastore/super-mario-maker/types/datastore_attach_file_param.go @@ -94,6 +94,20 @@ func (dsafp DataStoreAttachFileParam) Equals(o types.RVType) bool { return dsafp.ContentType.Equals(other.ContentType) } +// CopyRef copies the current value of the DataStoreAttachFileParam +// and returns a pointer to the new copy +func (dsafp DataStoreAttachFileParam) CopyRef() types.RVTypePtr { + copied := dsafp.Copy().(DataStoreAttachFileParam) + return &copied +} + +// Deref takes a pointer to the DataStoreAttachFileParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsafp *DataStoreAttachFileParam) Deref() types.RVType { + return *dsafp +} + // String returns the string representation of the DataStoreAttachFileParam func (dsafp DataStoreAttachFileParam) String() string { return dsafp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_change_playable_platform_param.go b/datastore/super-mario-maker/types/datastore_change_playable_platform_param.go index fe4bbad8..ce2f2a81 100644 --- a/datastore/super-mario-maker/types/datastore_change_playable_platform_param.go +++ b/datastore/super-mario-maker/types/datastore_change_playable_platform_param.go @@ -81,6 +81,20 @@ func (dscppp DataStoreChangePlayablePlatformParam) Equals(o types.RVType) bool { return dscppp.PlayablePlatform.Equals(other.PlayablePlatform) } +// CopyRef copies the current value of the DataStoreChangePlayablePlatformParam +// and returns a pointer to the new copy +func (dscppp DataStoreChangePlayablePlatformParam) CopyRef() types.RVTypePtr { + copied := dscppp.Copy().(DataStoreChangePlayablePlatformParam) + return &copied +} + +// Deref takes a pointer to the DataStoreChangePlayablePlatformParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscppp *DataStoreChangePlayablePlatformParam) Deref() types.RVType { + return *dscppp +} + // String returns the string representation of the DataStoreChangePlayablePlatformParam func (dscppp DataStoreChangePlayablePlatformParam) String() string { return dscppp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_custom_ranking_rating_condition.go b/datastore/super-mario-maker/types/datastore_custom_ranking_rating_condition.go index 0bff5140..45c2eb29 100644 --- a/datastore/super-mario-maker/types/datastore_custom_ranking_rating_condition.go +++ b/datastore/super-mario-maker/types/datastore_custom_ranking_rating_condition.go @@ -127,6 +127,20 @@ func (dscrrc DataStoreCustomRankingRatingCondition) Equals(o types.RVType) bool return dscrrc.MaxCount.Equals(other.MaxCount) } +// CopyRef copies the current value of the DataStoreCustomRankingRatingCondition +// and returns a pointer to the new copy +func (dscrrc DataStoreCustomRankingRatingCondition) CopyRef() types.RVTypePtr { + copied := dscrrc.Copy().(DataStoreCustomRankingRatingCondition) + return &copied +} + +// Deref takes a pointer to the DataStoreCustomRankingRatingCondition +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscrrc *DataStoreCustomRankingRatingCondition) Deref() types.RVType { + return *dscrrc +} + // String returns the string representation of the DataStoreCustomRankingRatingCondition func (dscrrc DataStoreCustomRankingRatingCondition) String() string { return dscrrc.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_custom_ranking_result.go b/datastore/super-mario-maker/types/datastore_custom_ranking_result.go index afb5b229..691b631b 100644 --- a/datastore/super-mario-maker/types/datastore_custom_ranking_result.go +++ b/datastore/super-mario-maker/types/datastore_custom_ranking_result.go @@ -94,6 +94,20 @@ func (dscrr DataStoreCustomRankingResult) Equals(o types.RVType) bool { return dscrr.MetaInfo.Equals(other.MetaInfo) } +// CopyRef copies the current value of the DataStoreCustomRankingResult +// and returns a pointer to the new copy +func (dscrr DataStoreCustomRankingResult) CopyRef() types.RVTypePtr { + copied := dscrr.Copy().(DataStoreCustomRankingResult) + return &copied +} + +// Deref takes a pointer to the DataStoreCustomRankingResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscrr *DataStoreCustomRankingResult) Deref() types.RVType { + return *dscrr +} + // String returns the string representation of the DataStoreCustomRankingResult func (dscrr DataStoreCustomRankingResult) String() string { return dscrr.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_file_server_object_info.go b/datastore/super-mario-maker/types/datastore_file_server_object_info.go index 86e682ab..89491cd2 100644 --- a/datastore/super-mario-maker/types/datastore_file_server_object_info.go +++ b/datastore/super-mario-maker/types/datastore_file_server_object_info.go @@ -82,6 +82,20 @@ func (dsfsoi DataStoreFileServerObjectInfo) Equals(o types.RVType) bool { return dsfsoi.GetInfo.Equals(other.GetInfo) } +// CopyRef copies the current value of the DataStoreFileServerObjectInfo +// and returns a pointer to the new copy +func (dsfsoi DataStoreFileServerObjectInfo) CopyRef() types.RVTypePtr { + copied := dsfsoi.Copy().(DataStoreFileServerObjectInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreFileServerObjectInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsfsoi *DataStoreFileServerObjectInfo) Deref() types.RVType { + return *dsfsoi +} + // String returns the string representation of the DataStoreFileServerObjectInfo func (dsfsoi DataStoreFileServerObjectInfo) String() string { return dsfsoi.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_get_course_record_param.go b/datastore/super-mario-maker/types/datastore_get_course_record_param.go index 22a36128..a383cb6c 100644 --- a/datastore/super-mario-maker/types/datastore_get_course_record_param.go +++ b/datastore/super-mario-maker/types/datastore_get_course_record_param.go @@ -81,6 +81,20 @@ func (dsgcrp DataStoreGetCourseRecordParam) Equals(o types.RVType) bool { return dsgcrp.Slot.Equals(other.Slot) } +// CopyRef copies the current value of the DataStoreGetCourseRecordParam +// and returns a pointer to the new copy +func (dsgcrp DataStoreGetCourseRecordParam) CopyRef() types.RVTypePtr { + copied := dsgcrp.Copy().(DataStoreGetCourseRecordParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetCourseRecordParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgcrp *DataStoreGetCourseRecordParam) Deref() types.RVType { + return *dsgcrp +} + // String returns the string representation of the DataStoreGetCourseRecordParam func (dsgcrp DataStoreGetCourseRecordParam) String() string { return dsgcrp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_get_course_record_result.go b/datastore/super-mario-maker/types/datastore_get_course_record_result.go index 1ab2a0ad..3f443a64 100644 --- a/datastore/super-mario-maker/types/datastore_get_course_record_result.go +++ b/datastore/super-mario-maker/types/datastore_get_course_record_result.go @@ -141,6 +141,20 @@ func (dsgcrr DataStoreGetCourseRecordResult) Equals(o types.RVType) bool { return dsgcrr.UpdatedTime.Equals(other.UpdatedTime) } +// CopyRef copies the current value of the DataStoreGetCourseRecordResult +// and returns a pointer to the new copy +func (dsgcrr DataStoreGetCourseRecordResult) CopyRef() types.RVTypePtr { + copied := dsgcrr.Copy().(DataStoreGetCourseRecordResult) + return &copied +} + +// Deref takes a pointer to the DataStoreGetCourseRecordResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgcrr *DataStoreGetCourseRecordResult) Deref() types.RVType { + return *dsgcrr +} + // String returns the string representation of the DataStoreGetCourseRecordResult func (dsgcrr DataStoreGetCourseRecordResult) String() string { return dsgcrr.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_get_custom_ranking_by_data_id_param.go b/datastore/super-mario-maker/types/datastore_get_custom_ranking_by_data_id_param.go index 4098992c..8a8c083f 100644 --- a/datastore/super-mario-maker/types/datastore_get_custom_ranking_by_data_id_param.go +++ b/datastore/super-mario-maker/types/datastore_get_custom_ranking_by_data_id_param.go @@ -93,6 +93,20 @@ func (dsgcrbdidp DataStoreGetCustomRankingByDataIDParam) Equals(o types.RVType) return dsgcrbdidp.ResultOption.Equals(other.ResultOption) } +// CopyRef copies the current value of the DataStoreGetCustomRankingByDataIDParam +// and returns a pointer to the new copy +func (dsgcrbdidp DataStoreGetCustomRankingByDataIDParam) CopyRef() types.RVTypePtr { + copied := dsgcrbdidp.Copy().(DataStoreGetCustomRankingByDataIDParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetCustomRankingByDataIDParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgcrbdidp *DataStoreGetCustomRankingByDataIDParam) Deref() types.RVType { + return *dsgcrbdidp +} + // String returns the string representation of the DataStoreGetCustomRankingByDataIDParam func (dsgcrbdidp DataStoreGetCustomRankingByDataIDParam) String() string { return dsgcrbdidp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_get_custom_ranking_param.go b/datastore/super-mario-maker/types/datastore_get_custom_ranking_param.go index ff27fbe8..6bac7373 100644 --- a/datastore/super-mario-maker/types/datastore_get_custom_ranking_param.go +++ b/datastore/super-mario-maker/types/datastore_get_custom_ranking_param.go @@ -105,6 +105,20 @@ func (dsgcrp DataStoreGetCustomRankingParam) Equals(o types.RVType) bool { return dsgcrp.ResultRange.Equals(other.ResultRange) } +// CopyRef copies the current value of the DataStoreGetCustomRankingParam +// and returns a pointer to the new copy +func (dsgcrp DataStoreGetCustomRankingParam) CopyRef() types.RVTypePtr { + copied := dsgcrp.Copy().(DataStoreGetCustomRankingParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetCustomRankingParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgcrp *DataStoreGetCustomRankingParam) Deref() types.RVType { + return *dsgcrp +} + // String returns the string representation of the DataStoreGetCustomRankingParam func (dsgcrp DataStoreGetCustomRankingParam) String() string { return dsgcrp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_get_meta_by_owner_id_param.go b/datastore/super-mario-maker/types/datastore_get_meta_by_owner_id_param.go index 9c5c292a..ea05d8d8 100644 --- a/datastore/super-mario-maker/types/datastore_get_meta_by_owner_id_param.go +++ b/datastore/super-mario-maker/types/datastore_get_meta_by_owner_id_param.go @@ -105,6 +105,20 @@ func (dsgmboidp DataStoreGetMetaByOwnerIDParam) Equals(o types.RVType) bool { return dsgmboidp.ResultRange.Equals(other.ResultRange) } +// CopyRef copies the current value of the DataStoreGetMetaByOwnerIDParam +// and returns a pointer to the new copy +func (dsgmboidp DataStoreGetMetaByOwnerIDParam) CopyRef() types.RVTypePtr { + copied := dsgmboidp.Copy().(DataStoreGetMetaByOwnerIDParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetMetaByOwnerIDParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgmboidp *DataStoreGetMetaByOwnerIDParam) Deref() types.RVType { + return *dsgmboidp +} + // String returns the string representation of the DataStoreGetMetaByOwnerIDParam func (dsgmboidp DataStoreGetMetaByOwnerIDParam) String() string { return dsgmboidp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_rate_custom_ranking_param.go b/datastore/super-mario-maker/types/datastore_rate_custom_ranking_param.go index 050be956..cdf25971 100644 --- a/datastore/super-mario-maker/types/datastore_rate_custom_ranking_param.go +++ b/datastore/super-mario-maker/types/datastore_rate_custom_ranking_param.go @@ -105,6 +105,20 @@ func (dsrcrp DataStoreRateCustomRankingParam) Equals(o types.RVType) bool { return dsrcrp.Period.Equals(other.Period) } +// CopyRef copies the current value of the DataStoreRateCustomRankingParam +// and returns a pointer to the new copy +func (dsrcrp DataStoreRateCustomRankingParam) CopyRef() types.RVTypePtr { + copied := dsrcrp.Copy().(DataStoreRateCustomRankingParam) + return &copied +} + +// Deref takes a pointer to the DataStoreRateCustomRankingParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrcrp *DataStoreRateCustomRankingParam) Deref() types.RVType { + return *dsrcrp +} + // String returns the string representation of the DataStoreRateCustomRankingParam func (dsrcrp DataStoreRateCustomRankingParam) String() string { return dsrcrp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_report_course_param.go b/datastore/super-mario-maker/types/datastore_report_course_param.go index 3d88a75e..05675154 100644 --- a/datastore/super-mario-maker/types/datastore_report_course_param.go +++ b/datastore/super-mario-maker/types/datastore_report_course_param.go @@ -105,6 +105,20 @@ func (dsrcp DataStoreReportCourseParam) Equals(o types.RVType) bool { return dsrcp.ReportReason.Equals(other.ReportReason) } +// CopyRef copies the current value of the DataStoreReportCourseParam +// and returns a pointer to the new copy +func (dsrcp DataStoreReportCourseParam) CopyRef() types.RVTypePtr { + copied := dsrcp.Copy().(DataStoreReportCourseParam) + return &copied +} + +// Deref takes a pointer to the DataStoreReportCourseParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrcp *DataStoreReportCourseParam) Deref() types.RVType { + return *dsrcp +} + // String returns the string representation of the DataStoreReportCourseParam func (dsrcp DataStoreReportCourseParam) String() string { return dsrcp.FormatToString(0) diff --git a/datastore/super-mario-maker/types/datastore_upload_course_record_param.go b/datastore/super-mario-maker/types/datastore_upload_course_record_param.go index 971e6458..d1c92ed7 100644 --- a/datastore/super-mario-maker/types/datastore_upload_course_record_param.go +++ b/datastore/super-mario-maker/types/datastore_upload_course_record_param.go @@ -93,6 +93,20 @@ func (dsucrp DataStoreUploadCourseRecordParam) Equals(o types.RVType) bool { return dsucrp.Score.Equals(other.Score) } +// CopyRef copies the current value of the DataStoreUploadCourseRecordParam +// and returns a pointer to the new copy +func (dsucrp DataStoreUploadCourseRecordParam) CopyRef() types.RVTypePtr { + copied := dsucrp.Copy().(DataStoreUploadCourseRecordParam) + return &copied +} + +// Deref takes a pointer to the DataStoreUploadCourseRecordParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsucrp *DataStoreUploadCourseRecordParam) Deref() types.RVType { + return *dsucrp +} + // String returns the string representation of the DataStoreUploadCourseRecordParam func (dsucrp DataStoreUploadCourseRecordParam) String() string { return dsucrp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_complete_post_replay_param.go b/datastore/super-smash-bros-4/types/datastore_complete_post_replay_param.go index a22e9275..8e39697d 100644 --- a/datastore/super-smash-bros-4/types/datastore_complete_post_replay_param.go +++ b/datastore/super-smash-bros-4/types/datastore_complete_post_replay_param.go @@ -94,6 +94,20 @@ func (dscprp DataStoreCompletePostReplayParam) Equals(o types.RVType) bool { return dscprp.PrepareParam.Equals(other.PrepareParam) } +// CopyRef copies the current value of the DataStoreCompletePostReplayParam +// and returns a pointer to the new copy +func (dscprp DataStoreCompletePostReplayParam) CopyRef() types.RVTypePtr { + copied := dscprp.Copy().(DataStoreCompletePostReplayParam) + return &copied +} + +// Deref takes a pointer to the DataStoreCompletePostReplayParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscprp *DataStoreCompletePostReplayParam) Deref() types.RVType { + return *dscprp +} + // String returns the string representation of the DataStoreCompletePostReplayParam func (dscprp DataStoreCompletePostReplayParam) String() string { return dscprp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_complete_post_shared_data_param.go b/datastore/super-smash-bros-4/types/datastore_complete_post_shared_data_param.go index 8756c8a8..832790f4 100644 --- a/datastore/super-smash-bros-4/types/datastore_complete_post_shared_data_param.go +++ b/datastore/super-smash-bros-4/types/datastore_complete_post_shared_data_param.go @@ -94,6 +94,20 @@ func (dscpsdp DataStoreCompletePostSharedDataParam) Equals(o types.RVType) bool return dscpsdp.PrepareParam.Equals(other.PrepareParam) } +// CopyRef copies the current value of the DataStoreCompletePostSharedDataParam +// and returns a pointer to the new copy +func (dscpsdp DataStoreCompletePostSharedDataParam) CopyRef() types.RVTypePtr { + copied := dscpsdp.Copy().(DataStoreCompletePostSharedDataParam) + return &copied +} + +// Deref takes a pointer to the DataStoreCompletePostSharedDataParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscpsdp *DataStoreCompletePostSharedDataParam) Deref() types.RVType { + return *dscpsdp +} + // String returns the string representation of the DataStoreCompletePostSharedDataParam func (dscpsdp DataStoreCompletePostSharedDataParam) String() string { return dscpsdp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_fighting_power_chart.go b/datastore/super-smash-bros-4/types/datastore_fighting_power_chart.go index 9b561bfa..542618db 100644 --- a/datastore/super-smash-bros-4/types/datastore_fighting_power_chart.go +++ b/datastore/super-smash-bros-4/types/datastore_fighting_power_chart.go @@ -81,6 +81,20 @@ func (dsfpc DataStoreFightingPowerChart) Equals(o types.RVType) bool { return dsfpc.Chart.Equals(other.Chart) } +// CopyRef copies the current value of the DataStoreFightingPowerChart +// and returns a pointer to the new copy +func (dsfpc DataStoreFightingPowerChart) CopyRef() types.RVTypePtr { + copied := dsfpc.Copy().(DataStoreFightingPowerChart) + return &copied +} + +// Deref takes a pointer to the DataStoreFightingPowerChart +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsfpc *DataStoreFightingPowerChart) Deref() types.RVType { + return *dsfpc +} + // String returns the string representation of the DataStoreFightingPowerChart func (dsfpc DataStoreFightingPowerChart) String() string { return dsfpc.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_fighting_power_score.go b/datastore/super-smash-bros-4/types/datastore_fighting_power_score.go index f8e5d101..844d501d 100644 --- a/datastore/super-smash-bros-4/types/datastore_fighting_power_score.go +++ b/datastore/super-smash-bros-4/types/datastore_fighting_power_score.go @@ -81,6 +81,20 @@ func (dsfps DataStoreFightingPowerScore) Equals(o types.RVType) bool { return dsfps.Rank.Equals(other.Rank) } +// CopyRef copies the current value of the DataStoreFightingPowerScore +// and returns a pointer to the new copy +func (dsfps DataStoreFightingPowerScore) CopyRef() types.RVTypePtr { + copied := dsfps.Copy().(DataStoreFightingPowerScore) + return &copied +} + +// Deref takes a pointer to the DataStoreFightingPowerScore +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsfps *DataStoreFightingPowerScore) Deref() types.RVType { + return *dsfps +} + // String returns the string representation of the DataStoreFightingPowerScore func (dsfps DataStoreFightingPowerScore) String() string { return dsfps.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_file_object_server_info.go b/datastore/super-smash-bros-4/types/datastore_file_object_server_info.go index 81804cc7..b1e7c108 100644 --- a/datastore/super-smash-bros-4/types/datastore_file_object_server_info.go +++ b/datastore/super-smash-bros-4/types/datastore_file_object_server_info.go @@ -82,6 +82,20 @@ func (dsfsoi DataStoreFileServerObjectInfo) Equals(o types.RVType) bool { return dsfsoi.GetInfo.Equals(other.GetInfo) } +// CopyRef copies the current value of the DataStoreFileServerObjectInfo +// and returns a pointer to the new copy +func (dsfsoi DataStoreFileServerObjectInfo) CopyRef() types.RVTypePtr { + copied := dsfsoi.Copy().(DataStoreFileServerObjectInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreFileServerObjectInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsfsoi *DataStoreFileServerObjectInfo) Deref() types.RVType { + return *dsfsoi +} + // String returns the string representation of the DataStoreFileServerObjectInfo func (dsfsoi DataStoreFileServerObjectInfo) String() string { return dsfsoi.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_get_replay_meta_param.go b/datastore/super-smash-bros-4/types/datastore_get_replay_meta_param.go index 0a7e8551..e776c5ee 100644 --- a/datastore/super-smash-bros-4/types/datastore_get_replay_meta_param.go +++ b/datastore/super-smash-bros-4/types/datastore_get_replay_meta_param.go @@ -81,6 +81,20 @@ func (dsgrmp DataStoreGetReplayMetaParam) Equals(o types.RVType) bool { return dsgrmp.MetaType.Equals(other.MetaType) } +// CopyRef copies the current value of the DataStoreGetReplayMetaParam +// and returns a pointer to the new copy +func (dsgrmp DataStoreGetReplayMetaParam) CopyRef() types.RVTypePtr { + copied := dsgrmp.Copy().(DataStoreGetReplayMetaParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetReplayMetaParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgrmp *DataStoreGetReplayMetaParam) Deref() types.RVType { + return *dsgrmp +} + // String returns the string representation of the DataStoreGetReplayMetaParam func (dsgrmp DataStoreGetReplayMetaParam) String() string { return dsgrmp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_post_fighting_power_score_param.go b/datastore/super-smash-bros-4/types/datastore_post_fighting_power_score_param.go index 5dca054f..f43cc436 100644 --- a/datastore/super-smash-bros-4/types/datastore_post_fighting_power_score_param.go +++ b/datastore/super-smash-bros-4/types/datastore_post_fighting_power_score_param.go @@ -93,6 +93,20 @@ func (dspfpsp DataStorePostFightingPowerScoreParam) Equals(o types.RVType) bool return dspfpsp.IsWorldHighScore.Equals(other.IsWorldHighScore) } +// CopyRef copies the current value of the DataStorePostFightingPowerScoreParam +// and returns a pointer to the new copy +func (dspfpsp DataStorePostFightingPowerScoreParam) CopyRef() types.RVTypePtr { + copied := dspfpsp.Copy().(DataStorePostFightingPowerScoreParam) + return &copied +} + +// Deref takes a pointer to the DataStorePostFightingPowerScoreParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspfpsp *DataStorePostFightingPowerScoreParam) Deref() types.RVType { + return *dspfpsp +} + // String returns the string representation of the DataStorePostFightingPowerScoreParam func (dspfpsp DataStorePostFightingPowerScoreParam) String() string { return dspfpsp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_post_profile_param.go b/datastore/super-smash-bros-4/types/datastore_post_profile_param.go index 74c23c3e..4b91571c 100644 --- a/datastore/super-smash-bros-4/types/datastore_post_profile_param.go +++ b/datastore/super-smash-bros-4/types/datastore_post_profile_param.go @@ -69,6 +69,20 @@ func (dsppp DataStorePostProfileParam) Equals(o types.RVType) bool { return dsppp.Profile.Equals(other.Profile) } +// CopyRef copies the current value of the DataStorePostProfileParam +// and returns a pointer to the new copy +func (dsppp DataStorePostProfileParam) CopyRef() types.RVTypePtr { + copied := dsppp.Copy().(DataStorePostProfileParam) + return &copied +} + +// Deref takes a pointer to the DataStorePostProfileParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsppp *DataStorePostProfileParam) Deref() types.RVType { + return *dsppp +} + // String returns the string representation of the DataStorePostProfileParam func (dsppp DataStorePostProfileParam) String() string { return dsppp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_prepare_get_replay_param.go b/datastore/super-smash-bros-4/types/datastore_prepare_get_replay_param.go index ef62ed0e..3b67c229 100644 --- a/datastore/super-smash-bros-4/types/datastore_prepare_get_replay_param.go +++ b/datastore/super-smash-bros-4/types/datastore_prepare_get_replay_param.go @@ -81,6 +81,20 @@ func (dspgrp DataStorePrepareGetReplayParam) Equals(o types.RVType) bool { return dspgrp.ExtraData.Equals(other.ExtraData) } +// CopyRef copies the current value of the DataStorePrepareGetReplayParam +// and returns a pointer to the new copy +func (dspgrp DataStorePrepareGetReplayParam) CopyRef() types.RVTypePtr { + copied := dspgrp.Copy().(DataStorePrepareGetReplayParam) + return &copied +} + +// Deref takes a pointer to the DataStorePrepareGetReplayParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspgrp *DataStorePrepareGetReplayParam) Deref() types.RVType { + return *dspgrp +} + // String returns the string representation of the DataStorePrepareGetReplayParam func (dspgrp DataStorePrepareGetReplayParam) String() string { return dspgrp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_prepare_post_replay_param.go b/datastore/super-smash-bros-4/types/datastore_prepare_post_replay_param.go index 22795872..b197e83b 100644 --- a/datastore/super-smash-bros-4/types/datastore_prepare_post_replay_param.go +++ b/datastore/super-smash-bros-4/types/datastore_prepare_post_replay_param.go @@ -201,6 +201,20 @@ func (dspprp DataStorePreparePostReplayParam) Equals(o types.RVType) bool { return dspprp.ExtraData.Equals(other.ExtraData) } +// CopyRef copies the current value of the DataStorePreparePostReplayParam +// and returns a pointer to the new copy +func (dspprp DataStorePreparePostReplayParam) CopyRef() types.RVTypePtr { + copied := dspprp.Copy().(DataStorePreparePostReplayParam) + return &copied +} + +// Deref takes a pointer to the DataStorePreparePostReplayParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspprp *DataStorePreparePostReplayParam) Deref() types.RVType { + return *dspprp +} + // String returns the string representation of the DataStorePreparePostReplayParam func (dspprp DataStorePreparePostReplayParam) String() string { return dspprp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_prepare_post_shared_data_param.go b/datastore/super-smash-bros-4/types/datastore_prepare_post_shared_data_param.go index b4f71cfb..3c9dca56 100644 --- a/datastore/super-smash-bros-4/types/datastore_prepare_post_shared_data_param.go +++ b/datastore/super-smash-bros-4/types/datastore_prepare_post_shared_data_param.go @@ -165,6 +165,20 @@ func (dsppsdp DataStorePreparePostSharedDataParam) Equals(o types.RVType) bool { return dsppsdp.ExtraData.Equals(other.ExtraData) } +// CopyRef copies the current value of the DataStorePreparePostSharedDataParam +// and returns a pointer to the new copy +func (dsppsdp DataStorePreparePostSharedDataParam) CopyRef() types.RVTypePtr { + copied := dsppsdp.Copy().(DataStorePreparePostSharedDataParam) + return &copied +} + +// Deref takes a pointer to the DataStorePreparePostSharedDataParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsppsdp *DataStorePreparePostSharedDataParam) Deref() types.RVType { + return *dsppsdp +} + // String returns the string representation of the DataStorePreparePostSharedDataParam func (dsppsdp DataStorePreparePostSharedDataParam) String() string { return dsppsdp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_profile_info.go b/datastore/super-smash-bros-4/types/datastore_profile_info.go index 7e5f3612..25ab48b4 100644 --- a/datastore/super-smash-bros-4/types/datastore_profile_info.go +++ b/datastore/super-smash-bros-4/types/datastore_profile_info.go @@ -81,6 +81,20 @@ func (dspi DataStoreProfileInfo) Equals(o types.RVType) bool { return dspi.Profile.Equals(other.Profile) } +// CopyRef copies the current value of the DataStoreProfileInfo +// and returns a pointer to the new copy +func (dspi DataStoreProfileInfo) CopyRef() types.RVTypePtr { + copied := dspi.Copy().(DataStoreProfileInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreProfileInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspi *DataStoreProfileInfo) Deref() types.RVType { + return *dspi +} + // String returns the string representation of the DataStoreProfileInfo func (dspi DataStoreProfileInfo) String() string { return dspi.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_replay_meta_info.go b/datastore/super-smash-bros-4/types/datastore_replay_meta_info.go index 0fd79c3c..cc672a60 100644 --- a/datastore/super-smash-bros-4/types/datastore_replay_meta_info.go +++ b/datastore/super-smash-bros-4/types/datastore_replay_meta_info.go @@ -165,6 +165,20 @@ func (dsrmi DataStoreReplayMetaInfo) Equals(o types.RVType) bool { return dsrmi.Winners.Equals(other.Winners) } +// CopyRef copies the current value of the DataStoreReplayMetaInfo +// and returns a pointer to the new copy +func (dsrmi DataStoreReplayMetaInfo) CopyRef() types.RVTypePtr { + copied := dsrmi.Copy().(DataStoreReplayMetaInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreReplayMetaInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrmi *DataStoreReplayMetaInfo) Deref() types.RVType { + return *dsrmi +} + // String returns the string representation of the DataStoreReplayMetaInfo func (dsrmi DataStoreReplayMetaInfo) String() string { return dsrmi.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_replay_player.go b/datastore/super-smash-bros-4/types/datastore_replay_player.go index 3928f77a..476243dd 100644 --- a/datastore/super-smash-bros-4/types/datastore_replay_player.go +++ b/datastore/super-smash-bros-4/types/datastore_replay_player.go @@ -165,6 +165,20 @@ func (dsrp DataStoreReplayPlayer) Equals(o types.RVType) bool { return dsrp.Number.Equals(other.Number) } +// CopyRef copies the current value of the DataStoreReplayPlayer +// and returns a pointer to the new copy +func (dsrp DataStoreReplayPlayer) CopyRef() types.RVTypePtr { + copied := dsrp.Copy().(DataStoreReplayPlayer) + return &copied +} + +// Deref takes a pointer to the DataStoreReplayPlayer +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrp *DataStoreReplayPlayer) Deref() types.RVType { + return *dsrp +} + // String returns the string representation of the DataStoreReplayPlayer func (dsrp DataStoreReplayPlayer) String() string { return dsrp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_search_replay_param.go b/datastore/super-smash-bros-4/types/datastore_search_replay_param.go index 69977e70..98b6788b 100644 --- a/datastore/super-smash-bros-4/types/datastore_search_replay_param.go +++ b/datastore/super-smash-bros-4/types/datastore_search_replay_param.go @@ -105,6 +105,20 @@ func (dssrp DataStoreSearchReplayParam) Equals(o types.RVType) bool { return dssrp.ResultRange.Equals(other.ResultRange) } +// CopyRef copies the current value of the DataStoreSearchReplayParam +// and returns a pointer to the new copy +func (dssrp DataStoreSearchReplayParam) CopyRef() types.RVTypePtr { + copied := dssrp.Copy().(DataStoreSearchReplayParam) + return &copied +} + +// Deref takes a pointer to the DataStoreSearchReplayParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dssrp *DataStoreSearchReplayParam) Deref() types.RVType { + return *dssrp +} + // String returns the string representation of the DataStoreSearchReplayParam func (dssrp DataStoreSearchReplayParam) String() string { return dssrp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_search_shared_data_param.go b/datastore/super-smash-bros-4/types/datastore_search_shared_data_param.go index 0e0e63b4..b5210658 100644 --- a/datastore/super-smash-bros-4/types/datastore_search_shared_data_param.go +++ b/datastore/super-smash-bros-4/types/datastore_search_shared_data_param.go @@ -141,6 +141,20 @@ func (dsssdp DataStoreSearchSharedDataParam) Equals(o types.RVType) bool { return dsssdp.ResultRange.Equals(other.ResultRange) } +// CopyRef copies the current value of the DataStoreSearchSharedDataParam +// and returns a pointer to the new copy +func (dsssdp DataStoreSearchSharedDataParam) CopyRef() types.RVTypePtr { + copied := dsssdp.Copy().(DataStoreSearchSharedDataParam) + return &copied +} + +// Deref takes a pointer to the DataStoreSearchSharedDataParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsssdp *DataStoreSearchSharedDataParam) Deref() types.RVType { + return *dsssdp +} + // String returns the string representation of the DataStoreSearchSharedDataParam func (dsssdp DataStoreSearchSharedDataParam) String() string { return dsssdp.FormatToString(0) diff --git a/datastore/super-smash-bros-4/types/datastore_shared_data_info.go b/datastore/super-smash-bros-4/types/datastore_shared_data_info.go index 955da85e..ea295e19 100644 --- a/datastore/super-smash-bros-4/types/datastore_shared_data_info.go +++ b/datastore/super-smash-bros-4/types/datastore_shared_data_info.go @@ -165,6 +165,20 @@ func (dssdi DataStoreSharedDataInfo) Equals(o types.RVType) bool { return dssdi.Info.Equals(other.Info) } +// CopyRef copies the current value of the DataStoreSharedDataInfo +// and returns a pointer to the new copy +func (dssdi DataStoreSharedDataInfo) CopyRef() types.RVTypePtr { + copied := dssdi.Copy().(DataStoreSharedDataInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreSharedDataInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dssdi *DataStoreSharedDataInfo) Deref() types.RVType { + return *dssdi +} + // String returns the string representation of the DataStoreSharedDataInfo func (dssdi DataStoreSharedDataInfo) String() string { return dssdi.FormatToString(0) diff --git a/datastore/types/datastore_change_meta_compare_param.go b/datastore/types/datastore_change_meta_compare_param.go index f17573f1..83de1482 100644 --- a/datastore/types/datastore_change_meta_compare_param.go +++ b/datastore/types/datastore_change_meta_compare_param.go @@ -177,6 +177,20 @@ func (dscmcp DataStoreChangeMetaCompareParam) Equals(o types.RVType) bool { return dscmcp.Status.Equals(other.Status) } +// CopyRef copies the current value of the DataStoreChangeMetaCompareParam +// and returns a pointer to the new copy +func (dscmcp DataStoreChangeMetaCompareParam) CopyRef() types.RVTypePtr { + copied := dscmcp.Copy().(DataStoreChangeMetaCompareParam) + return &copied +} + +// Deref takes a pointer to the DataStoreChangeMetaCompareParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscmcp *DataStoreChangeMetaCompareParam) Deref() types.RVType { + return *dscmcp +} + // String returns the string representation of the DataStoreChangeMetaCompareParam func (dscmcp DataStoreChangeMetaCompareParam) String() string { return dscmcp.FormatToString(0) diff --git a/datastore/types/datastore_change_meta_param.go b/datastore/types/datastore_change_meta_param.go index 1fd11e5b..d34f5538 100644 --- a/datastore/types/datastore_change_meta_param.go +++ b/datastore/types/datastore_change_meta_param.go @@ -230,6 +230,20 @@ func (dscmp DataStoreChangeMetaParam) Equals(o types.RVType) bool { return dscmp.PersistenceTarget.Equals(other.PersistenceTarget) } +// CopyRef copies the current value of the DataStoreChangeMetaParam +// and returns a pointer to the new copy +func (dscmp DataStoreChangeMetaParam) CopyRef() types.RVTypePtr { + copied := dscmp.Copy().(DataStoreChangeMetaParam) + return &copied +} + +// Deref takes a pointer to the DataStoreChangeMetaParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscmp *DataStoreChangeMetaParam) Deref() types.RVType { + return *dscmp +} + // String returns the string representation of the DataStoreChangeMetaParam func (dscmp DataStoreChangeMetaParam) String() string { return dscmp.FormatToString(0) diff --git a/datastore/types/datastore_change_meta_param_v1.go b/datastore/types/datastore_change_meta_param_v1.go index 77a46421..eded18bf 100644 --- a/datastore/types/datastore_change_meta_param_v1.go +++ b/datastore/types/datastore_change_meta_param_v1.go @@ -165,6 +165,20 @@ func (dscmpv DataStoreChangeMetaParamV1) Equals(o types.RVType) bool { return dscmpv.UpdatePassword.Equals(other.UpdatePassword) } +// CopyRef copies the current value of the DataStoreChangeMetaParamV1 +// and returns a pointer to the new copy +func (dscmpv DataStoreChangeMetaParamV1) CopyRef() types.RVTypePtr { + copied := dscmpv.Copy().(DataStoreChangeMetaParamV1) + return &copied +} + +// Deref takes a pointer to the DataStoreChangeMetaParamV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscmpv *DataStoreChangeMetaParamV1) Deref() types.RVType { + return *dscmpv +} + // String returns the string representation of the DataStoreChangeMetaParamV1 func (dscmpv DataStoreChangeMetaParamV1) String() string { return dscmpv.FormatToString(0) diff --git a/datastore/types/datastore_complete_post_param.go b/datastore/types/datastore_complete_post_param.go index 9da9cfec..f28d6a1c 100644 --- a/datastore/types/datastore_complete_post_param.go +++ b/datastore/types/datastore_complete_post_param.go @@ -81,6 +81,20 @@ func (dscpp DataStoreCompletePostParam) Equals(o types.RVType) bool { return dscpp.IsSuccess.Equals(other.IsSuccess) } +// CopyRef copies the current value of the DataStoreCompletePostParam +// and returns a pointer to the new copy +func (dscpp DataStoreCompletePostParam) CopyRef() types.RVTypePtr { + copied := dscpp.Copy().(DataStoreCompletePostParam) + return &copied +} + +// Deref takes a pointer to the DataStoreCompletePostParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscpp *DataStoreCompletePostParam) Deref() types.RVType { + return *dscpp +} + // String returns the string representation of the DataStoreCompletePostParam func (dscpp DataStoreCompletePostParam) String() string { return dscpp.FormatToString(0) diff --git a/datastore/types/datastore_complete_post_param_v1.go b/datastore/types/datastore_complete_post_param_v1.go index ea48a17e..7a2a56e4 100644 --- a/datastore/types/datastore_complete_post_param_v1.go +++ b/datastore/types/datastore_complete_post_param_v1.go @@ -81,6 +81,20 @@ func (dscppv DataStoreCompletePostParamV1) Equals(o types.RVType) bool { return dscppv.IsSuccess.Equals(other.IsSuccess) } +// CopyRef copies the current value of the DataStoreCompletePostParamV1 +// and returns a pointer to the new copy +func (dscppv DataStoreCompletePostParamV1) CopyRef() types.RVTypePtr { + copied := dscppv.Copy().(DataStoreCompletePostParamV1) + return &copied +} + +// Deref takes a pointer to the DataStoreCompletePostParamV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscppv *DataStoreCompletePostParamV1) Deref() types.RVType { + return *dscppv +} + // String returns the string representation of the DataStoreCompletePostParamV1 func (dscppv DataStoreCompletePostParamV1) String() string { return dscppv.FormatToString(0) diff --git a/datastore/types/datastore_complete_update_param.go b/datastore/types/datastore_complete_update_param.go index 99f78b3c..b5a7fe36 100644 --- a/datastore/types/datastore_complete_update_param.go +++ b/datastore/types/datastore_complete_update_param.go @@ -128,6 +128,20 @@ func (dscup DataStoreCompleteUpdateParam) Equals(o types.RVType) bool { return dscup.IsSuccess.Equals(other.IsSuccess) } +// CopyRef copies the current value of the DataStoreCompleteUpdateParam +// and returns a pointer to the new copy +func (dscup DataStoreCompleteUpdateParam) CopyRef() types.RVTypePtr { + copied := dscup.Copy().(DataStoreCompleteUpdateParam) + return &copied +} + +// Deref takes a pointer to the DataStoreCompleteUpdateParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dscup *DataStoreCompleteUpdateParam) Deref() types.RVType { + return *dscup +} + // String returns the string representation of the DataStoreCompleteUpdateParam func (dscup DataStoreCompleteUpdateParam) String() string { return dscup.FormatToString(0) diff --git a/datastore/types/datastore_delete_param.go b/datastore/types/datastore_delete_param.go index 6a41eeb3..9d825779 100644 --- a/datastore/types/datastore_delete_param.go +++ b/datastore/types/datastore_delete_param.go @@ -81,6 +81,20 @@ func (dsdp DataStoreDeleteParam) Equals(o types.RVType) bool { return dsdp.UpdatePassword.Equals(other.UpdatePassword) } +// CopyRef copies the current value of the DataStoreDeleteParam +// and returns a pointer to the new copy +func (dsdp DataStoreDeleteParam) CopyRef() types.RVTypePtr { + copied := dsdp.Copy().(DataStoreDeleteParam) + return &copied +} + +// Deref takes a pointer to the DataStoreDeleteParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsdp *DataStoreDeleteParam) Deref() types.RVType { + return *dsdp +} + // String returns the string representation of the DataStoreDeleteParam func (dsdp DataStoreDeleteParam) String() string { return dsdp.FormatToString(0) diff --git a/datastore/types/datastore_get_meta_param.go b/datastore/types/datastore_get_meta_param.go index b3d273dd..44c38993 100644 --- a/datastore/types/datastore_get_meta_param.go +++ b/datastore/types/datastore_get_meta_param.go @@ -105,6 +105,20 @@ func (dsgmp DataStoreGetMetaParam) Equals(o types.RVType) bool { return dsgmp.AccessPassword.Equals(other.AccessPassword) } +// CopyRef copies the current value of the DataStoreGetMetaParam +// and returns a pointer to the new copy +func (dsgmp DataStoreGetMetaParam) CopyRef() types.RVTypePtr { + copied := dsgmp.Copy().(DataStoreGetMetaParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetMetaParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgmp *DataStoreGetMetaParam) Deref() types.RVType { + return *dsgmp +} + // String returns the string representation of the DataStoreGetMetaParam func (dsgmp DataStoreGetMetaParam) String() string { return dsgmp.FormatToString(0) diff --git a/datastore/types/datastore_get_new_arrived_notifications_param.go b/datastore/types/datastore_get_new_arrived_notifications_param.go index b646f4cf..673d7fc4 100644 --- a/datastore/types/datastore_get_new_arrived_notifications_param.go +++ b/datastore/types/datastore_get_new_arrived_notifications_param.go @@ -81,6 +81,20 @@ func (dsgnanp DataStoreGetNewArrivedNotificationsParam) Equals(o types.RVType) b return dsgnanp.Limit.Equals(other.Limit) } +// CopyRef copies the current value of the DataStoreGetNewArrivedNotificationsParam +// and returns a pointer to the new copy +func (dsgnanp DataStoreGetNewArrivedNotificationsParam) CopyRef() types.RVTypePtr { + copied := dsgnanp.Copy().(DataStoreGetNewArrivedNotificationsParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetNewArrivedNotificationsParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgnanp *DataStoreGetNewArrivedNotificationsParam) Deref() types.RVType { + return *dsgnanp +} + // String returns the string representation of the DataStoreGetNewArrivedNotificationsParam func (dsgnanp DataStoreGetNewArrivedNotificationsParam) String() string { return dsgnanp.FormatToString(0) diff --git a/datastore/types/datastore_get_notification_url_param.go b/datastore/types/datastore_get_notification_url_param.go index b6ce9024..1b1491af 100644 --- a/datastore/types/datastore_get_notification_url_param.go +++ b/datastore/types/datastore_get_notification_url_param.go @@ -69,6 +69,20 @@ func (dsgnurlp DataStoreGetNotificationURLParam) Equals(o types.RVType) bool { return dsgnurlp.PreviousURL.Equals(other.PreviousURL) } +// CopyRef copies the current value of the DataStoreGetNotificationURLParam +// and returns a pointer to the new copy +func (dsgnurlp DataStoreGetNotificationURLParam) CopyRef() types.RVTypePtr { + copied := dsgnurlp.Copy().(DataStoreGetNotificationURLParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetNotificationURLParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgnurlp *DataStoreGetNotificationURLParam) Deref() types.RVType { + return *dsgnurlp +} + // String returns the string representation of the DataStoreGetNotificationURLParam func (dsgnurlp DataStoreGetNotificationURLParam) String() string { return dsgnurlp.FormatToString(0) diff --git a/datastore/types/datastore_get_specific_meta_param.go b/datastore/types/datastore_get_specific_meta_param.go index fffb2fcc..531d24b6 100644 --- a/datastore/types/datastore_get_specific_meta_param.go +++ b/datastore/types/datastore_get_specific_meta_param.go @@ -69,6 +69,20 @@ func (dsgsmp DataStoreGetSpecificMetaParam) Equals(o types.RVType) bool { return dsgsmp.DataIDs.Equals(other.DataIDs) } +// CopyRef copies the current value of the DataStoreGetSpecificMetaParam +// and returns a pointer to the new copy +func (dsgsmp DataStoreGetSpecificMetaParam) CopyRef() types.RVTypePtr { + copied := dsgsmp.Copy().(DataStoreGetSpecificMetaParam) + return &copied +} + +// Deref takes a pointer to the DataStoreGetSpecificMetaParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgsmp *DataStoreGetSpecificMetaParam) Deref() types.RVType { + return *dsgsmp +} + // String returns the string representation of the DataStoreGetSpecificMetaParam func (dsgsmp DataStoreGetSpecificMetaParam) String() string { return dsgsmp.FormatToString(0) diff --git a/datastore/types/datastore_get_specific_meta_param_v1.go b/datastore/types/datastore_get_specific_meta_param_v1.go index f1d4dac5..82ba9594 100644 --- a/datastore/types/datastore_get_specific_meta_param_v1.go +++ b/datastore/types/datastore_get_specific_meta_param_v1.go @@ -69,6 +69,20 @@ func (dsgsmpv DataStoreGetSpecificMetaParamV1) Equals(o types.RVType) bool { return dsgsmpv.DataIDs.Equals(other.DataIDs) } +// CopyRef copies the current value of the DataStoreGetSpecificMetaParamV1 +// and returns a pointer to the new copy +func (dsgsmpv DataStoreGetSpecificMetaParamV1) CopyRef() types.RVTypePtr { + copied := dsgsmpv.Copy().(DataStoreGetSpecificMetaParamV1) + return &copied +} + +// Deref takes a pointer to the DataStoreGetSpecificMetaParamV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsgsmpv *DataStoreGetSpecificMetaParamV1) Deref() types.RVType { + return *dsgsmpv +} + // String returns the string representation of the DataStoreGetSpecificMetaParamV1 func (dsgsmpv DataStoreGetSpecificMetaParamV1) String() string { return dsgsmpv.FormatToString(0) diff --git a/datastore/types/datastore_key_value.go b/datastore/types/datastore_key_value.go index 85da9324..03487f25 100644 --- a/datastore/types/datastore_key_value.go +++ b/datastore/types/datastore_key_value.go @@ -81,6 +81,20 @@ func (dskv DataStoreKeyValue) Equals(o types.RVType) bool { return dskv.Value.Equals(other.Value) } +// CopyRef copies the current value of the DataStoreKeyValue +// and returns a pointer to the new copy +func (dskv DataStoreKeyValue) CopyRef() types.RVTypePtr { + copied := dskv.Copy().(DataStoreKeyValue) + return &copied +} + +// Deref takes a pointer to the DataStoreKeyValue +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dskv *DataStoreKeyValue) Deref() types.RVType { + return *dskv +} + // String returns the string representation of the DataStoreKeyValue func (dskv DataStoreKeyValue) String() string { return dskv.FormatToString(0) diff --git a/datastore/types/datastore_meta_info.go b/datastore/types/datastore_meta_info.go index 13a21e69..51bc8c44 100644 --- a/datastore/types/datastore_meta_info.go +++ b/datastore/types/datastore_meta_info.go @@ -285,6 +285,20 @@ func (dsmi DataStoreMetaInfo) Equals(o types.RVType) bool { return dsmi.Ratings.Equals(other.Ratings) } +// CopyRef copies the current value of the DataStoreMetaInfo +// and returns a pointer to the new copy +func (dsmi DataStoreMetaInfo) CopyRef() types.RVTypePtr { + copied := dsmi.Copy().(DataStoreMetaInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreMetaInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsmi *DataStoreMetaInfo) Deref() types.RVType { + return *dsmi +} + // String returns the string representation of the DataStoreMetaInfo func (dsmi DataStoreMetaInfo) String() string { return dsmi.FormatToString(0) diff --git a/datastore/types/datastore_notification.go b/datastore/types/datastore_notification.go index fd499a11..d38b4aba 100644 --- a/datastore/types/datastore_notification.go +++ b/datastore/types/datastore_notification.go @@ -81,6 +81,20 @@ func (dsn DataStoreNotification) Equals(o types.RVType) bool { return dsn.DataID.Equals(other.DataID) } +// CopyRef copies the current value of the DataStoreNotification +// and returns a pointer to the new copy +func (dsn DataStoreNotification) CopyRef() types.RVTypePtr { + copied := dsn.Copy().(DataStoreNotification) + return &copied +} + +// Deref takes a pointer to the DataStoreNotification +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsn *DataStoreNotification) Deref() types.RVType { + return *dsn +} + // String returns the string representation of the DataStoreNotification func (dsn DataStoreNotification) String() string { return dsn.FormatToString(0) diff --git a/datastore/types/datastore_notification_v1.go b/datastore/types/datastore_notification_v1.go index 0d71fc2a..f056b4b6 100644 --- a/datastore/types/datastore_notification_v1.go +++ b/datastore/types/datastore_notification_v1.go @@ -81,6 +81,20 @@ func (dsnv DataStoreNotificationV1) Equals(o types.RVType) bool { return dsnv.DataID.Equals(other.DataID) } +// CopyRef copies the current value of the DataStoreNotificationV1 +// and returns a pointer to the new copy +func (dsnv DataStoreNotificationV1) CopyRef() types.RVTypePtr { + copied := dsnv.Copy().(DataStoreNotificationV1) + return &copied +} + +// Deref takes a pointer to the DataStoreNotificationV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsnv *DataStoreNotificationV1) Deref() types.RVType { + return *dsnv +} + // String returns the string representation of the DataStoreNotificationV1 func (dsnv DataStoreNotificationV1) String() string { return dsnv.FormatToString(0) diff --git a/datastore/types/datastore_password_info.go b/datastore/types/datastore_password_info.go index a8a1857d..6da410f9 100644 --- a/datastore/types/datastore_password_info.go +++ b/datastore/types/datastore_password_info.go @@ -93,6 +93,20 @@ func (dspi DataStorePasswordInfo) Equals(o types.RVType) bool { return dspi.UpdatePassword.Equals(other.UpdatePassword) } +// CopyRef copies the current value of the DataStorePasswordInfo +// and returns a pointer to the new copy +func (dspi DataStorePasswordInfo) CopyRef() types.RVTypePtr { + copied := dspi.Copy().(DataStorePasswordInfo) + return &copied +} + +// Deref takes a pointer to the DataStorePasswordInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspi *DataStorePasswordInfo) Deref() types.RVType { + return *dspi +} + // String returns the string representation of the DataStorePasswordInfo func (dspi DataStorePasswordInfo) String() string { return dspi.FormatToString(0) diff --git a/datastore/types/datastore_permission.go b/datastore/types/datastore_permission.go index 09bad051..bc925c53 100644 --- a/datastore/types/datastore_permission.go +++ b/datastore/types/datastore_permission.go @@ -81,6 +81,20 @@ func (dsp DataStorePermission) Equals(o types.RVType) bool { return dsp.RecipientIDs.Equals(other.RecipientIDs) } +// CopyRef copies the current value of the DataStorePermission +// and returns a pointer to the new copy +func (dsp DataStorePermission) CopyRef() types.RVTypePtr { + copied := dsp.Copy().(DataStorePermission) + return &copied +} + +// Deref takes a pointer to the DataStorePermission +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsp *DataStorePermission) Deref() types.RVType { + return *dsp +} + // String returns the string representation of the DataStorePermission func (dsp DataStorePermission) String() string { return dsp.FormatToString(0) diff --git a/datastore/types/datastore_persistence_info.go b/datastore/types/datastore_persistence_info.go index 85d2ed6d..eca6f7bf 100644 --- a/datastore/types/datastore_persistence_info.go +++ b/datastore/types/datastore_persistence_info.go @@ -93,6 +93,20 @@ func (dspi DataStorePersistenceInfo) Equals(o types.RVType) bool { return dspi.DataID.Equals(other.DataID) } +// CopyRef copies the current value of the DataStorePersistenceInfo +// and returns a pointer to the new copy +func (dspi DataStorePersistenceInfo) CopyRef() types.RVTypePtr { + copied := dspi.Copy().(DataStorePersistenceInfo) + return &copied +} + +// Deref takes a pointer to the DataStorePersistenceInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspi *DataStorePersistenceInfo) Deref() types.RVType { + return *dspi +} + // String returns the string representation of the DataStorePersistenceInfo func (dspi DataStorePersistenceInfo) String() string { return dspi.FormatToString(0) diff --git a/datastore/types/datastore_persistence_init_param.go b/datastore/types/datastore_persistence_init_param.go index 7d7f6c62..9794ae5c 100644 --- a/datastore/types/datastore_persistence_init_param.go +++ b/datastore/types/datastore_persistence_init_param.go @@ -81,6 +81,20 @@ func (dspip DataStorePersistenceInitParam) Equals(o types.RVType) bool { return dspip.DeleteLastObject.Equals(other.DeleteLastObject) } +// CopyRef copies the current value of the DataStorePersistenceInitParam +// and returns a pointer to the new copy +func (dspip DataStorePersistenceInitParam) CopyRef() types.RVTypePtr { + copied := dspip.Copy().(DataStorePersistenceInitParam) + return &copied +} + +// Deref takes a pointer to the DataStorePersistenceInitParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspip *DataStorePersistenceInitParam) Deref() types.RVType { + return *dspip +} + // String returns the string representation of the DataStorePersistenceInitParam func (dspip DataStorePersistenceInitParam) String() string { return dspip.FormatToString(0) diff --git a/datastore/types/datastore_persistence_target.go b/datastore/types/datastore_persistence_target.go index 0320d848..4c27c4b2 100644 --- a/datastore/types/datastore_persistence_target.go +++ b/datastore/types/datastore_persistence_target.go @@ -81,6 +81,20 @@ func (dspt DataStorePersistenceTarget) Equals(o types.RVType) bool { return dspt.PersistenceSlotID.Equals(other.PersistenceSlotID) } +// CopyRef copies the current value of the DataStorePersistenceTarget +// and returns a pointer to the new copy +func (dspt DataStorePersistenceTarget) CopyRef() types.RVTypePtr { + copied := dspt.Copy().(DataStorePersistenceTarget) + return &copied +} + +// Deref takes a pointer to the DataStorePersistenceTarget +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspt *DataStorePersistenceTarget) Deref() types.RVType { + return *dspt +} + // String returns the string representation of the DataStorePersistenceTarget func (dspt DataStorePersistenceTarget) String() string { return dspt.FormatToString(0) diff --git a/datastore/types/datastore_prepare_get_param.go b/datastore/types/datastore_prepare_get_param.go index 346fff03..31763df0 100644 --- a/datastore/types/datastore_prepare_get_param.go +++ b/datastore/types/datastore_prepare_get_param.go @@ -129,6 +129,20 @@ func (dspgp DataStorePrepareGetParam) Equals(o types.RVType) bool { return dspgp.ExtraData.Equals(other.ExtraData) } +// CopyRef copies the current value of the DataStorePrepareGetParam +// and returns a pointer to the new copy +func (dspgp DataStorePrepareGetParam) CopyRef() types.RVTypePtr { + copied := dspgp.Copy().(DataStorePrepareGetParam) + return &copied +} + +// Deref takes a pointer to the DataStorePrepareGetParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspgp *DataStorePrepareGetParam) Deref() types.RVType { + return *dspgp +} + // String returns the string representation of the DataStorePrepareGetParam func (dspgp DataStorePrepareGetParam) String() string { return dspgp.FormatToString(0) diff --git a/datastore/types/datastore_prepare_get_param_v1.go b/datastore/types/datastore_prepare_get_param_v1.go index ec140cc3..e873094b 100644 --- a/datastore/types/datastore_prepare_get_param_v1.go +++ b/datastore/types/datastore_prepare_get_param_v1.go @@ -81,6 +81,20 @@ func (dspgpv DataStorePrepareGetParamV1) Equals(o types.RVType) bool { return dspgpv.LockID.Equals(other.LockID) } +// CopyRef copies the current value of the DataStorePrepareGetParamV1 +// and returns a pointer to the new copy +func (dspgpv DataStorePrepareGetParamV1) CopyRef() types.RVTypePtr { + copied := dspgpv.Copy().(DataStorePrepareGetParamV1) + return &copied +} + +// Deref takes a pointer to the DataStorePrepareGetParamV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspgpv *DataStorePrepareGetParamV1) Deref() types.RVType { + return *dspgpv +} + // String returns the string representation of the DataStorePrepareGetParamV1 func (dspgpv DataStorePrepareGetParamV1) String() string { return dspgpv.FormatToString(0) diff --git a/datastore/types/datastore_prepare_post_param.go b/datastore/types/datastore_prepare_post_param.go index 7b3e0520..37a4c6cb 100644 --- a/datastore/types/datastore_prepare_post_param.go +++ b/datastore/types/datastore_prepare_post_param.go @@ -225,6 +225,20 @@ func (dsppp DataStorePreparePostParam) Equals(o types.RVType) bool { return dsppp.ExtraData.Equals(other.ExtraData) } +// CopyRef copies the current value of the DataStorePreparePostParam +// and returns a pointer to the new copy +func (dsppp DataStorePreparePostParam) CopyRef() types.RVTypePtr { + copied := dsppp.Copy().(DataStorePreparePostParam) + return &copied +} + +// Deref takes a pointer to the DataStorePreparePostParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsppp *DataStorePreparePostParam) Deref() types.RVType { + return *dsppp +} + // String returns the string representation of the DataStorePreparePostParam func (dsppp DataStorePreparePostParam) String() string { return dsppp.FormatToString(0) diff --git a/datastore/types/datastore_prepare_post_param_v1.go b/datastore/types/datastore_prepare_post_param_v1.go index 80380a18..dc025c75 100644 --- a/datastore/types/datastore_prepare_post_param_v1.go +++ b/datastore/types/datastore_prepare_post_param_v1.go @@ -189,6 +189,20 @@ func (dspppv DataStorePreparePostParamV1) Equals(o types.RVType) bool { return dspppv.RatingInitParams.Equals(other.RatingInitParams) } +// CopyRef copies the current value of the DataStorePreparePostParamV1 +// and returns a pointer to the new copy +func (dspppv DataStorePreparePostParamV1) CopyRef() types.RVTypePtr { + copied := dspppv.Copy().(DataStorePreparePostParamV1) + return &copied +} + +// Deref takes a pointer to the DataStorePreparePostParamV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspppv *DataStorePreparePostParamV1) Deref() types.RVType { + return *dspppv +} + // String returns the string representation of the DataStorePreparePostParamV1 func (dspppv DataStorePreparePostParamV1) String() string { return dspppv.FormatToString(0) diff --git a/datastore/types/datastore_prepare_update_param.go b/datastore/types/datastore_prepare_update_param.go index 65cc47e3..dfd19c6e 100644 --- a/datastore/types/datastore_prepare_update_param.go +++ b/datastore/types/datastore_prepare_update_param.go @@ -136,6 +136,20 @@ func (dspup DataStorePrepareUpdateParam) Equals(o types.RVType) bool { return dspup.ExtraData.Equals(other.ExtraData) } +// CopyRef copies the current value of the DataStorePrepareUpdateParam +// and returns a pointer to the new copy +func (dspup DataStorePrepareUpdateParam) CopyRef() types.RVTypePtr { + copied := dspup.Copy().(DataStorePrepareUpdateParam) + return &copied +} + +// Deref takes a pointer to the DataStorePrepareUpdateParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dspup *DataStorePrepareUpdateParam) Deref() types.RVType { + return *dspup +} + // String returns the string representation of the DataStorePrepareUpdateParam func (dspup DataStorePrepareUpdateParam) String() string { return dspup.FormatToString(0) diff --git a/datastore/types/datastore_rate_object_param.go b/datastore/types/datastore_rate_object_param.go index 3fe13848..6ea23db6 100644 --- a/datastore/types/datastore_rate_object_param.go +++ b/datastore/types/datastore_rate_object_param.go @@ -81,6 +81,20 @@ func (dsrop DataStoreRateObjectParam) Equals(o types.RVType) bool { return dsrop.AccessPassword.Equals(other.AccessPassword) } +// CopyRef copies the current value of the DataStoreRateObjectParam +// and returns a pointer to the new copy +func (dsrop DataStoreRateObjectParam) CopyRef() types.RVTypePtr { + copied := dsrop.Copy().(DataStoreRateObjectParam) + return &copied +} + +// Deref takes a pointer to the DataStoreRateObjectParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrop *DataStoreRateObjectParam) Deref() types.RVType { + return *dsrop +} + // String returns the string representation of the DataStoreRateObjectParam func (dsrop DataStoreRateObjectParam) String() string { return dsrop.FormatToString(0) diff --git a/datastore/types/datastore_rating_info.go b/datastore/types/datastore_rating_info.go index 24803c4f..109edd4d 100644 --- a/datastore/types/datastore_rating_info.go +++ b/datastore/types/datastore_rating_info.go @@ -93,6 +93,20 @@ func (dsri DataStoreRatingInfo) Equals(o types.RVType) bool { return dsri.InitialValue.Equals(other.InitialValue) } +// CopyRef copies the current value of the DataStoreRatingInfo +// and returns a pointer to the new copy +func (dsri DataStoreRatingInfo) CopyRef() types.RVTypePtr { + copied := dsri.Copy().(DataStoreRatingInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreRatingInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsri *DataStoreRatingInfo) Deref() types.RVType { + return *dsri +} + // String returns the string representation of the DataStoreRatingInfo func (dsri DataStoreRatingInfo) String() string { return dsri.FormatToString(0) diff --git a/datastore/types/datastore_rating_info_with_slot.go b/datastore/types/datastore_rating_info_with_slot.go index 3b3e8226..3a28192c 100644 --- a/datastore/types/datastore_rating_info_with_slot.go +++ b/datastore/types/datastore_rating_info_with_slot.go @@ -81,6 +81,20 @@ func (dsriws DataStoreRatingInfoWithSlot) Equals(o types.RVType) bool { return dsriws.Rating.Equals(other.Rating) } +// CopyRef copies the current value of the DataStoreRatingInfoWithSlot +// and returns a pointer to the new copy +func (dsriws DataStoreRatingInfoWithSlot) CopyRef() types.RVTypePtr { + copied := dsriws.Copy().(DataStoreRatingInfoWithSlot) + return &copied +} + +// Deref takes a pointer to the DataStoreRatingInfoWithSlot +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsriws *DataStoreRatingInfoWithSlot) Deref() types.RVType { + return *dsriws +} + // String returns the string representation of the DataStoreRatingInfoWithSlot func (dsriws DataStoreRatingInfoWithSlot) String() string { return dsriws.FormatToString(0) diff --git a/datastore/types/datastore_rating_init_param.go b/datastore/types/datastore_rating_init_param.go index 7e9566b0..bd51f605 100644 --- a/datastore/types/datastore_rating_init_param.go +++ b/datastore/types/datastore_rating_init_param.go @@ -153,6 +153,20 @@ func (dsrip DataStoreRatingInitParam) Equals(o types.RVType) bool { return dsrip.PeriodDuration.Equals(other.PeriodDuration) } +// CopyRef copies the current value of the DataStoreRatingInitParam +// and returns a pointer to the new copy +func (dsrip DataStoreRatingInitParam) CopyRef() types.RVTypePtr { + copied := dsrip.Copy().(DataStoreRatingInitParam) + return &copied +} + +// Deref takes a pointer to the DataStoreRatingInitParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrip *DataStoreRatingInitParam) Deref() types.RVType { + return *dsrip +} + // String returns the string representation of the DataStoreRatingInitParam func (dsrip DataStoreRatingInitParam) String() string { return dsrip.FormatToString(0) diff --git a/datastore/types/datastore_rating_init_param_with_slot.go b/datastore/types/datastore_rating_init_param_with_slot.go index b65e9bbf..ec4a4fef 100644 --- a/datastore/types/datastore_rating_init_param_with_slot.go +++ b/datastore/types/datastore_rating_init_param_with_slot.go @@ -81,6 +81,20 @@ func (dsripws DataStoreRatingInitParamWithSlot) Equals(o types.RVType) bool { return dsripws.Param.Equals(other.Param) } +// CopyRef copies the current value of the DataStoreRatingInitParamWithSlot +// and returns a pointer to the new copy +func (dsripws DataStoreRatingInitParamWithSlot) CopyRef() types.RVTypePtr { + copied := dsripws.Copy().(DataStoreRatingInitParamWithSlot) + return &copied +} + +// Deref takes a pointer to the DataStoreRatingInitParamWithSlot +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsripws *DataStoreRatingInitParamWithSlot) Deref() types.RVType { + return *dsripws +} + // String returns the string representation of the DataStoreRatingInitParamWithSlot func (dsripws DataStoreRatingInitParamWithSlot) String() string { return dsripws.FormatToString(0) diff --git a/datastore/types/datastore_rating_log.go b/datastore/types/datastore_rating_log.go index c54a0f21..fc862e95 100644 --- a/datastore/types/datastore_rating_log.go +++ b/datastore/types/datastore_rating_log.go @@ -105,6 +105,20 @@ func (dsrl DataStoreRatingLog) Equals(o types.RVType) bool { return dsrl.LockExpirationTime.Equals(other.LockExpirationTime) } +// CopyRef copies the current value of the DataStoreRatingLog +// and returns a pointer to the new copy +func (dsrl DataStoreRatingLog) CopyRef() types.RVTypePtr { + copied := dsrl.Copy().(DataStoreRatingLog) + return &copied +} + +// Deref takes a pointer to the DataStoreRatingLog +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrl *DataStoreRatingLog) Deref() types.RVType { + return *dsrl +} + // String returns the string representation of the DataStoreRatingLog func (dsrl DataStoreRatingLog) String() string { return dsrl.FormatToString(0) diff --git a/datastore/types/datastore_rating_target.go b/datastore/types/datastore_rating_target.go index 93c557be..f0cdece2 100644 --- a/datastore/types/datastore_rating_target.go +++ b/datastore/types/datastore_rating_target.go @@ -81,6 +81,20 @@ func (dsrt DataStoreRatingTarget) Equals(o types.RVType) bool { return dsrt.Slot.Equals(other.Slot) } +// CopyRef copies the current value of the DataStoreRatingTarget +// and returns a pointer to the new copy +func (dsrt DataStoreRatingTarget) CopyRef() types.RVTypePtr { + copied := dsrt.Copy().(DataStoreRatingTarget) + return &copied +} + +// Deref takes a pointer to the DataStoreRatingTarget +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrt *DataStoreRatingTarget) Deref() types.RVType { + return *dsrt +} + // String returns the string representation of the DataStoreRatingTarget func (dsrt DataStoreRatingTarget) String() string { return dsrt.FormatToString(0) diff --git a/datastore/types/datastore_req_get_additional_meta.go b/datastore/types/datastore_req_get_additional_meta.go index d443a5fb..30d3d716 100644 --- a/datastore/types/datastore_req_get_additional_meta.go +++ b/datastore/types/datastore_req_get_additional_meta.go @@ -105,6 +105,20 @@ func (dsrgam DataStoreReqGetAdditionalMeta) Equals(o types.RVType) bool { return dsrgam.MetaBinary.Equals(other.MetaBinary) } +// CopyRef copies the current value of the DataStoreReqGetAdditionalMeta +// and returns a pointer to the new copy +func (dsrgam DataStoreReqGetAdditionalMeta) CopyRef() types.RVTypePtr { + copied := dsrgam.Copy().(DataStoreReqGetAdditionalMeta) + return &copied +} + +// Deref takes a pointer to the DataStoreReqGetAdditionalMeta +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrgam *DataStoreReqGetAdditionalMeta) Deref() types.RVType { + return *dsrgam +} + // String returns the string representation of the DataStoreReqGetAdditionalMeta func (dsrgam DataStoreReqGetAdditionalMeta) String() string { return dsrgam.FormatToString(0) diff --git a/datastore/types/datastore_req_get_info.go b/datastore/types/datastore_req_get_info.go index 34aee9b9..c08b3dae 100644 --- a/datastore/types/datastore_req_get_info.go +++ b/datastore/types/datastore_req_get_info.go @@ -129,6 +129,20 @@ func (dsrgi DataStoreReqGetInfo) Equals(o types.RVType) bool { return dsrgi.DataID.Equals(other.DataID) } +// CopyRef copies the current value of the DataStoreReqGetInfo +// and returns a pointer to the new copy +func (dsrgi DataStoreReqGetInfo) CopyRef() types.RVTypePtr { + copied := dsrgi.Copy().(DataStoreReqGetInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreReqGetInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrgi *DataStoreReqGetInfo) Deref() types.RVType { + return *dsrgi +} + // String returns the string representation of the DataStoreReqGetInfo func (dsrgi DataStoreReqGetInfo) String() string { return dsrgi.FormatToString(0) diff --git a/datastore/types/datastore_req_get_info_v1.go b/datastore/types/datastore_req_get_info_v1.go index e3e2f2f6..a616e1ef 100644 --- a/datastore/types/datastore_req_get_info_v1.go +++ b/datastore/types/datastore_req_get_info_v1.go @@ -105,6 +105,20 @@ func (dsrgiv DataStoreReqGetInfoV1) Equals(o types.RVType) bool { return dsrgiv.RootCACert.Equals(other.RootCACert) } +// CopyRef copies the current value of the DataStoreReqGetInfoV1 +// and returns a pointer to the new copy +func (dsrgiv DataStoreReqGetInfoV1) CopyRef() types.RVTypePtr { + copied := dsrgiv.Copy().(DataStoreReqGetInfoV1) + return &copied +} + +// Deref takes a pointer to the DataStoreReqGetInfoV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrgiv *DataStoreReqGetInfoV1) Deref() types.RVType { + return *dsrgiv +} + // String returns the string representation of the DataStoreReqGetInfoV1 func (dsrgiv DataStoreReqGetInfoV1) String() string { return dsrgiv.FormatToString(0) diff --git a/datastore/types/datastore_req_get_notification_url_info.go b/datastore/types/datastore_req_get_notification_url_info.go index fdeed68c..2f24e617 100644 --- a/datastore/types/datastore_req_get_notification_url_info.go +++ b/datastore/types/datastore_req_get_notification_url_info.go @@ -105,6 +105,20 @@ func (dsrgnurli DataStoreReqGetNotificationURLInfo) Equals(o types.RVType) bool return dsrgnurli.RootCACert.Equals(other.RootCACert) } +// CopyRef copies the current value of the DataStoreReqGetNotificationURLInfo +// and returns a pointer to the new copy +func (dsrgnurli DataStoreReqGetNotificationURLInfo) CopyRef() types.RVTypePtr { + copied := dsrgnurli.Copy().(DataStoreReqGetNotificationURLInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreReqGetNotificationURLInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrgnurli *DataStoreReqGetNotificationURLInfo) Deref() types.RVType { + return *dsrgnurli +} + // String returns the string representation of the DataStoreReqGetNotificationURLInfo func (dsrgnurli DataStoreReqGetNotificationURLInfo) String() string { return dsrgnurli.FormatToString(0) diff --git a/datastore/types/datastore_req_post_info.go b/datastore/types/datastore_req_post_info.go index cebab4ea..0dd09b18 100644 --- a/datastore/types/datastore_req_post_info.go +++ b/datastore/types/datastore_req_post_info.go @@ -117,6 +117,20 @@ func (dsrpi DataStoreReqPostInfo) Equals(o types.RVType) bool { return dsrpi.RootCACert.Equals(other.RootCACert) } +// CopyRef copies the current value of the DataStoreReqPostInfo +// and returns a pointer to the new copy +func (dsrpi DataStoreReqPostInfo) CopyRef() types.RVTypePtr { + copied := dsrpi.Copy().(DataStoreReqPostInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreReqPostInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrpi *DataStoreReqPostInfo) Deref() types.RVType { + return *dsrpi +} + // String returns the string representation of the DataStoreReqPostInfo func (dsrpi DataStoreReqPostInfo) String() string { return dsrpi.FormatToString(0) diff --git a/datastore/types/datastore_req_post_info_v1.go b/datastore/types/datastore_req_post_info_v1.go index 313d35ff..c426319f 100644 --- a/datastore/types/datastore_req_post_info_v1.go +++ b/datastore/types/datastore_req_post_info_v1.go @@ -117,6 +117,20 @@ func (dsrpiv DataStoreReqPostInfoV1) Equals(o types.RVType) bool { return dsrpiv.RootCACert.Equals(other.RootCACert) } +// CopyRef copies the current value of the DataStoreReqPostInfoV1 +// and returns a pointer to the new copy +func (dsrpiv DataStoreReqPostInfoV1) CopyRef() types.RVTypePtr { + copied := dsrpiv.Copy().(DataStoreReqPostInfoV1) + return &copied +} + +// Deref takes a pointer to the DataStoreReqPostInfoV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrpiv *DataStoreReqPostInfoV1) Deref() types.RVType { + return *dsrpiv +} + // String returns the string representation of the DataStoreReqPostInfoV1 func (dsrpiv DataStoreReqPostInfoV1) String() string { return dsrpiv.FormatToString(0) diff --git a/datastore/types/datastore_req_update_info.go b/datastore/types/datastore_req_update_info.go index c2795752..530b6be8 100644 --- a/datastore/types/datastore_req_update_info.go +++ b/datastore/types/datastore_req_update_info.go @@ -138,6 +138,20 @@ func (dsrui DataStoreReqUpdateInfo) Equals(o types.RVType) bool { return dsrui.RootCACert.Equals(other.RootCACert) } +// CopyRef copies the current value of the DataStoreReqUpdateInfo +// and returns a pointer to the new copy +func (dsrui DataStoreReqUpdateInfo) CopyRef() types.RVTypePtr { + copied := dsrui.Copy().(DataStoreReqUpdateInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreReqUpdateInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dsrui *DataStoreReqUpdateInfo) Deref() types.RVType { + return *dsrui +} + // String returns the string representation of the DataStoreReqUpdateInfo func (dsrui DataStoreReqUpdateInfo) String() string { return dsrui.FormatToString(0) diff --git a/datastore/types/datastore_search_param.go b/datastore/types/datastore_search_param.go index abef5afc..1a6a53d6 100644 --- a/datastore/types/datastore_search_param.go +++ b/datastore/types/datastore_search_param.go @@ -307,6 +307,20 @@ func (dssp DataStoreSearchParam) Equals(o types.RVType) bool { return dssp.DataTypes.Equals(other.DataTypes) } +// CopyRef copies the current value of the DataStoreSearchParam +// and returns a pointer to the new copy +func (dssp DataStoreSearchParam) CopyRef() types.RVTypePtr { + copied := dssp.Copy().(DataStoreSearchParam) + return &copied +} + +// Deref takes a pointer to the DataStoreSearchParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dssp *DataStoreSearchParam) Deref() types.RVType { + return *dssp +} + // String returns the string representation of the DataStoreSearchParam func (dssp DataStoreSearchParam) String() string { return dssp.FormatToString(0) diff --git a/datastore/types/datastore_search_result.go b/datastore/types/datastore_search_result.go index 086b117d..1c82323e 100644 --- a/datastore/types/datastore_search_result.go +++ b/datastore/types/datastore_search_result.go @@ -93,6 +93,20 @@ func (dssr DataStoreSearchResult) Equals(o types.RVType) bool { return dssr.TotalCountType.Equals(other.TotalCountType) } +// CopyRef copies the current value of the DataStoreSearchResult +// and returns a pointer to the new copy +func (dssr DataStoreSearchResult) CopyRef() types.RVTypePtr { + copied := dssr.Copy().(DataStoreSearchResult) + return &copied +} + +// Deref takes a pointer to the DataStoreSearchResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dssr *DataStoreSearchResult) Deref() types.RVType { + return *dssr +} + // String returns the string representation of the DataStoreSearchResult func (dssr DataStoreSearchResult) String() string { return dssr.FormatToString(0) diff --git a/datastore/types/datastore_specific_meta_info.go b/datastore/types/datastore_specific_meta_info.go index 6b7fe931..f87c480d 100644 --- a/datastore/types/datastore_specific_meta_info.go +++ b/datastore/types/datastore_specific_meta_info.go @@ -117,6 +117,20 @@ func (dssmi DataStoreSpecificMetaInfo) Equals(o types.RVType) bool { return dssmi.Version.Equals(other.Version) } +// CopyRef copies the current value of the DataStoreSpecificMetaInfo +// and returns a pointer to the new copy +func (dssmi DataStoreSpecificMetaInfo) CopyRef() types.RVTypePtr { + copied := dssmi.Copy().(DataStoreSpecificMetaInfo) + return &copied +} + +// Deref takes a pointer to the DataStoreSpecificMetaInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dssmi *DataStoreSpecificMetaInfo) Deref() types.RVType { + return *dssmi +} + // String returns the string representation of the DataStoreSpecificMetaInfo func (dssmi DataStoreSpecificMetaInfo) String() string { return dssmi.FormatToString(0) diff --git a/datastore/types/datastore_specific_meta_info_v1.go b/datastore/types/datastore_specific_meta_info_v1.go index 6e320813..7ce8b9fa 100644 --- a/datastore/types/datastore_specific_meta_info_v1.go +++ b/datastore/types/datastore_specific_meta_info_v1.go @@ -117,6 +117,20 @@ func (dssmiv DataStoreSpecificMetaInfoV1) Equals(o types.RVType) bool { return dssmiv.Version.Equals(other.Version) } +// CopyRef copies the current value of the DataStoreSpecificMetaInfoV1 +// and returns a pointer to the new copy +func (dssmiv DataStoreSpecificMetaInfoV1) CopyRef() types.RVTypePtr { + copied := dssmiv.Copy().(DataStoreSpecificMetaInfoV1) + return &copied +} + +// Deref takes a pointer to the DataStoreSpecificMetaInfoV1 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dssmiv *DataStoreSpecificMetaInfoV1) Deref() types.RVType { + return *dssmiv +} + // String returns the string representation of the DataStoreSpecificMetaInfoV1 func (dssmiv DataStoreSpecificMetaInfoV1) String() string { return dssmiv.FormatToString(0) diff --git a/datastore/types/datastore_touch_object_param.go b/datastore/types/datastore_touch_object_param.go index b6d3175e..3ae899c8 100644 --- a/datastore/types/datastore_touch_object_param.go +++ b/datastore/types/datastore_touch_object_param.go @@ -93,6 +93,20 @@ func (dstop DataStoreTouchObjectParam) Equals(o types.RVType) bool { return dstop.AccessPassword.Equals(other.AccessPassword) } +// CopyRef copies the current value of the DataStoreTouchObjectParam +// and returns a pointer to the new copy +func (dstop DataStoreTouchObjectParam) CopyRef() types.RVTypePtr { + copied := dstop.Copy().(DataStoreTouchObjectParam) + return &copied +} + +// Deref takes a pointer to the DataStoreTouchObjectParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (dstop *DataStoreTouchObjectParam) Deref() types.RVType { + return *dstop +} + // String returns the string representation of the DataStoreTouchObjectParam func (dstop DataStoreTouchObjectParam) String() string { return dstop.FormatToString(0) diff --git a/friends-3ds/types/friend_comment.go b/friends-3ds/types/friend_comment.go index deefc003..2fc503c1 100644 --- a/friends-3ds/types/friend_comment.go +++ b/friends-3ds/types/friend_comment.go @@ -106,6 +106,20 @@ func (fc FriendComment) Equals(o types.RVType) bool { return fc.ModifiedAt.Equals(other.ModifiedAt) } +// CopyRef copies the current value of the FriendComment +// and returns a pointer to the new copy +func (fc FriendComment) CopyRef() types.RVTypePtr { + copied := fc.Copy().(FriendComment) + return &copied +} + +// Deref takes a pointer to the FriendComment +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fc *FriendComment) Deref() types.RVType { + return *fc +} + // String returns the string representation of the FriendComment func (fc FriendComment) String() string { return fc.FormatToString(0) diff --git a/friends-3ds/types/friend_info.go b/friends-3ds/types/friend_info.go index 8686b235..5adf3d48 100644 --- a/friends-3ds/types/friend_info.go +++ b/friends-3ds/types/friend_info.go @@ -81,6 +81,20 @@ func (fi FriendInfo) Equals(o types.RVType) bool { return fi.Unknown.Equals(other.Unknown) } +// CopyRef copies the current value of the FriendInfo +// and returns a pointer to the new copy +func (fi FriendInfo) CopyRef() types.RVTypePtr { + copied := fi.Copy().(FriendInfo) + return &copied +} + +// Deref takes a pointer to the FriendInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fi *FriendInfo) Deref() types.RVType { + return *fi +} + // String returns the string representation of the FriendInfo func (fi FriendInfo) String() string { return fi.FormatToString(0) diff --git a/friends-3ds/types/friend_mii.go b/friends-3ds/types/friend_mii.go index fb15ff0a..fb65f633 100644 --- a/friends-3ds/types/friend_mii.go +++ b/friends-3ds/types/friend_mii.go @@ -106,6 +106,20 @@ func (fm FriendMii) Equals(o types.RVType) bool { return fm.ModifiedAt.Equals(other.ModifiedAt) } +// CopyRef copies the current value of the FriendMii +// and returns a pointer to the new copy +func (fm FriendMii) CopyRef() types.RVTypePtr { + copied := fm.Copy().(FriendMii) + return &copied +} + +// Deref takes a pointer to the FriendMii +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fm *FriendMii) Deref() types.RVType { + return *fm +} + // String returns the string representation of the FriendMii func (fm FriendMii) String() string { return fm.FormatToString(0) diff --git a/friends-3ds/types/friend_mii_list.go b/friends-3ds/types/friend_mii_list.go index 144e8f17..095820a5 100644 --- a/friends-3ds/types/friend_mii_list.go +++ b/friends-3ds/types/friend_mii_list.go @@ -106,6 +106,20 @@ func (fml FriendMiiList) Equals(o types.RVType) bool { return fml.Unknown2.Equals(other.Unknown2) } +// CopyRef copies the current value of the FriendMiiList +// and returns a pointer to the new copy +func (fml FriendMiiList) CopyRef() types.RVTypePtr { + copied := fml.Copy().(FriendMiiList) + return &copied +} + +// Deref takes a pointer to the FriendMiiList +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fml *FriendMiiList) Deref() types.RVType { + return *fml +} + // String returns the string representation of the FriendMiiList func (fml FriendMiiList) String() string { return fml.FormatToString(0) diff --git a/friends-3ds/types/friend_persistent_info.go b/friends-3ds/types/friend_persistent_info.go index 903a1959..010c3ba5 100644 --- a/friends-3ds/types/friend_persistent_info.go +++ b/friends-3ds/types/friend_persistent_info.go @@ -202,6 +202,20 @@ func (fpi FriendPersistentInfo) Equals(o types.RVType) bool { return fpi.LastOnline.Equals(other.LastOnline) } +// CopyRef copies the current value of the FriendPersistentInfo +// and returns a pointer to the new copy +func (fpi FriendPersistentInfo) CopyRef() types.RVTypePtr { + copied := fpi.Copy().(FriendPersistentInfo) + return &copied +} + +// Deref takes a pointer to the FriendPersistentInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fpi *FriendPersistentInfo) Deref() types.RVType { + return *fpi +} + // String returns the string representation of the FriendPersistentInfo func (fpi FriendPersistentInfo) String() string { return fpi.FormatToString(0) diff --git a/friends-3ds/types/friend_picture.go b/friends-3ds/types/friend_picture.go index 34baf0c1..99c162f6 100644 --- a/friends-3ds/types/friend_picture.go +++ b/friends-3ds/types/friend_picture.go @@ -106,6 +106,20 @@ func (fp FriendPicture) Equals(o types.RVType) bool { return fp.Unknown2.Equals(other.Unknown2) } +// CopyRef copies the current value of the FriendPicture +// and returns a pointer to the new copy +func (fp FriendPicture) CopyRef() types.RVTypePtr { + copied := fp.Copy().(FriendPicture) + return &copied +} + +// Deref takes a pointer to the FriendPicture +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fp *FriendPicture) Deref() types.RVType { + return *fp +} + // String returns the string representation of the FriendPicture func (fp FriendPicture) String() string { return fp.FormatToString(0) diff --git a/friends-3ds/types/friend_presence.go b/friends-3ds/types/friend_presence.go index 97805bd1..3489760d 100644 --- a/friends-3ds/types/friend_presence.go +++ b/friends-3ds/types/friend_presence.go @@ -94,6 +94,20 @@ func (fp FriendPresence) Equals(o types.RVType) bool { return fp.Presence.Equals(other.Presence) } +// CopyRef copies the current value of the FriendPresence +// and returns a pointer to the new copy +func (fp FriendPresence) CopyRef() types.RVTypePtr { + copied := fp.Copy().(FriendPresence) + return &copied +} + +// Deref takes a pointer to the FriendPresence +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fp *FriendPresence) Deref() types.RVType { + return *fp +} + // String returns the string representation of the FriendPresence func (fp FriendPresence) String() string { return fp.FormatToString(0) diff --git a/friends-3ds/types/friend_relationship.go b/friends-3ds/types/friend_relationship.go index ef1fe445..48157ce4 100644 --- a/friends-3ds/types/friend_relationship.go +++ b/friends-3ds/types/friend_relationship.go @@ -106,6 +106,20 @@ func (fr FriendRelationship) Equals(o types.RVType) bool { return fr.RelationshipType.Equals(other.RelationshipType) } +// CopyRef copies the current value of the FriendRelationship +// and returns a pointer to the new copy +func (fr FriendRelationship) CopyRef() types.RVTypePtr { + copied := fr.Copy().(FriendRelationship) + return &copied +} + +// Deref takes a pointer to the FriendRelationship +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fr *FriendRelationship) Deref() types.RVType { + return *fr +} + // String returns the string representation of the FriendRelationship func (fr FriendRelationship) String() string { return fr.FormatToString(0) diff --git a/friends-3ds/types/game_key.go b/friends-3ds/types/game_key.go index b5562a83..119e678e 100644 --- a/friends-3ds/types/game_key.go +++ b/friends-3ds/types/game_key.go @@ -94,6 +94,20 @@ func (gk GameKey) Equals(o types.RVType) bool { return gk.TitleVersion.Equals(other.TitleVersion) } +// CopyRef copies the current value of the GameKey +// and returns a pointer to the new copy +func (gk GameKey) CopyRef() types.RVTypePtr { + copied := gk.Copy().(GameKey) + return &copied +} + +// Deref takes a pointer to the GameKey +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gk *GameKey) Deref() types.RVType { + return *gk +} + // String returns the string representation of the GameKey func (gk GameKey) String() string { return gk.FormatToString(0) diff --git a/friends-3ds/types/mii.go b/friends-3ds/types/mii.go index 5c6e793c..7642aa27 100644 --- a/friends-3ds/types/mii.go +++ b/friends-3ds/types/mii.go @@ -118,6 +118,20 @@ func (m Mii) Equals(o types.RVType) bool { return m.MiiData.Equals(other.MiiData) } +// CopyRef copies the current value of the Mii +// and returns a pointer to the new copy +func (m Mii) CopyRef() types.RVTypePtr { + copied := m.Copy().(Mii) + return &copied +} + +// Deref takes a pointer to the Mii +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (m *Mii) Deref() types.RVType { + return *m +} + // String returns the string representation of the Mii func (m Mii) String() string { return m.FormatToString(0) diff --git a/friends-3ds/types/mii_list.go b/friends-3ds/types/mii_list.go index 4f65d224..4e05b3c7 100644 --- a/friends-3ds/types/mii_list.go +++ b/friends-3ds/types/mii_list.go @@ -118,6 +118,20 @@ func (ml MiiList) Equals(o types.RVType) bool { return ml.MiiDataList.Equals(other.MiiDataList) } +// CopyRef copies the current value of the MiiList +// and returns a pointer to the new copy +func (ml MiiList) CopyRef() types.RVTypePtr { + copied := ml.Copy().(MiiList) + return &copied +} + +// Deref takes a pointer to the MiiList +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ml *MiiList) Deref() types.RVType { + return *ml +} + // String returns the string representation of the MiiList func (ml MiiList) String() string { return ml.FormatToString(0) diff --git a/friends-3ds/types/my_profile.go b/friends-3ds/types/my_profile.go index 4230521b..b1c5f542 100644 --- a/friends-3ds/types/my_profile.go +++ b/friends-3ds/types/my_profile.go @@ -166,6 +166,20 @@ func (mp MyProfile) Equals(o types.RVType) bool { return mp.Unknown3.Equals(other.Unknown3) } +// CopyRef copies the current value of the MyProfile +// and returns a pointer to the new copy +func (mp MyProfile) CopyRef() types.RVTypePtr { + copied := mp.Copy().(MyProfile) + return &copied +} + +// Deref takes a pointer to the MyProfile +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mp *MyProfile) Deref() types.RVType { + return *mp +} + // String returns the string representation of the MyProfile func (mp MyProfile) String() string { return mp.FormatToString(0) diff --git a/friends-3ds/types/nintendo_presence.go b/friends-3ds/types/nintendo_presence.go index b2f8f07d..539533c7 100644 --- a/friends-3ds/types/nintendo_presence.go +++ b/friends-3ds/types/nintendo_presence.go @@ -190,6 +190,20 @@ func (np NintendoPresence) Equals(o types.RVType) bool { return np.ApplicationArg.Equals(other.ApplicationArg) } +// CopyRef copies the current value of the NintendoPresence +// and returns a pointer to the new copy +func (np NintendoPresence) CopyRef() types.RVTypePtr { + copied := np.Copy().(NintendoPresence) + return &copied +} + +// Deref takes a pointer to the NintendoPresence +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (np *NintendoPresence) Deref() types.RVType { + return *np +} + // String returns the string representation of the NintendoPresence func (np NintendoPresence) String() string { return np.FormatToString(0) diff --git a/friends-3ds/types/played_game.go b/friends-3ds/types/played_game.go index f9714535..08dea071 100644 --- a/friends-3ds/types/played_game.go +++ b/friends-3ds/types/played_game.go @@ -81,6 +81,20 @@ func (pg PlayedGame) Equals(o types.RVType) bool { return pg.Unknown.Equals(other.Unknown) } +// CopyRef copies the current value of the PlayedGame +// and returns a pointer to the new copy +func (pg PlayedGame) CopyRef() types.RVTypePtr { + copied := pg.Copy().(PlayedGame) + return &copied +} + +// Deref takes a pointer to the PlayedGame +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (pg *PlayedGame) Deref() types.RVType { + return *pg +} + // String returns the string representation of the PlayedGame func (pg PlayedGame) String() string { return pg.FormatToString(0) diff --git a/friends-wiiu/types/blacklisted_principal.go b/friends-wiiu/types/blacklisted_principal.go index b5732c51..d4f1cad1 100644 --- a/friends-wiiu/types/blacklisted_principal.go +++ b/friends-wiiu/types/blacklisted_principal.go @@ -106,6 +106,20 @@ func (bp BlacklistedPrincipal) Equals(o types.RVType) bool { return bp.BlackListedSince.Equals(other.BlackListedSince) } +// CopyRef copies the current value of the BlacklistedPrincipal +// and returns a pointer to the new copy +func (bp BlacklistedPrincipal) CopyRef() types.RVTypePtr { + copied := bp.Copy().(BlacklistedPrincipal) + return &copied +} + +// Deref takes a pointer to the BlacklistedPrincipal +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (bp *BlacklistedPrincipal) Deref() types.RVType { + return *bp +} + // String returns the string representation of the BlacklistedPrincipal func (bp BlacklistedPrincipal) String() string { return bp.FormatToString(0) diff --git a/friends-wiiu/types/comment.go b/friends-wiiu/types/comment.go index 76c4822d..bdb5882f 100644 --- a/friends-wiiu/types/comment.go +++ b/friends-wiiu/types/comment.go @@ -106,6 +106,20 @@ func (c Comment) Equals(o types.RVType) bool { return c.LastChanged.Equals(other.LastChanged) } +// CopyRef copies the current value of the Comment +// and returns a pointer to the new copy +func (c Comment) CopyRef() types.RVTypePtr { + copied := c.Copy().(Comment) + return &copied +} + +// Deref takes a pointer to the Comment +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (c *Comment) Deref() types.RVType { + return *c +} + // String returns the string representation of the Comment func (c Comment) String() string { return c.FormatToString(0) diff --git a/friends-wiiu/types/friend_info.go b/friends-wiiu/types/friend_info.go index 9fbc59be..0e2c153c 100644 --- a/friends-wiiu/types/friend_info.go +++ b/friends-wiiu/types/friend_info.go @@ -142,6 +142,20 @@ func (fi FriendInfo) Equals(o types.RVType) bool { return fi.Unknown.Equals(other.Unknown) } +// CopyRef copies the current value of the FriendInfo +// and returns a pointer to the new copy +func (fi FriendInfo) CopyRef() types.RVTypePtr { + copied := fi.Copy().(FriendInfo) + return &copied +} + +// Deref takes a pointer to the FriendInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fi *FriendInfo) Deref() types.RVType { + return *fi +} + // String returns the string representation of the FriendInfo func (fi FriendInfo) String() string { return fi.FormatToString(0) diff --git a/friends-wiiu/types/friend_request.go b/friends-wiiu/types/friend_request.go index 207de32b..01c19c51 100644 --- a/friends-wiiu/types/friend_request.go +++ b/friends-wiiu/types/friend_request.go @@ -106,6 +106,20 @@ func (fr FriendRequest) Equals(o types.RVType) bool { return fr.SentOn.Equals(other.SentOn) } +// CopyRef copies the current value of the FriendRequest +// and returns a pointer to the new copy +func (fr FriendRequest) CopyRef() types.RVTypePtr { + copied := fr.Copy().(FriendRequest) + return &copied +} + +// Deref takes a pointer to the FriendRequest +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fr *FriendRequest) Deref() types.RVType { + return *fr +} + // String returns the string representation of the FriendRequest func (fr FriendRequest) String() string { return fr.FormatToString(0) diff --git a/friends-wiiu/types/friend_request_message.go b/friends-wiiu/types/friend_request_message.go index 3862f202..4417d7d9 100644 --- a/friends-wiiu/types/friend_request_message.go +++ b/friends-wiiu/types/friend_request_message.go @@ -178,6 +178,20 @@ func (frm FriendRequestMessage) Equals(o types.RVType) bool { return frm.ExpiresOn.Equals(other.ExpiresOn) } +// CopyRef copies the current value of the FriendRequestMessage +// and returns a pointer to the new copy +func (frm FriendRequestMessage) CopyRef() types.RVTypePtr { + copied := frm.Copy().(FriendRequestMessage) + return &copied +} + +// Deref takes a pointer to the FriendRequestMessage +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (frm *FriendRequestMessage) Deref() types.RVType { + return *frm +} + // String returns the string representation of the FriendRequestMessage func (frm FriendRequestMessage) String() string { return frm.FormatToString(0) diff --git a/friends-wiiu/types/game_key.go b/friends-wiiu/types/game_key.go index 4e06b5a8..d5b94ed3 100644 --- a/friends-wiiu/types/game_key.go +++ b/friends-wiiu/types/game_key.go @@ -94,6 +94,20 @@ func (gk GameKey) Equals(o types.RVType) bool { return gk.TitleVersion.Equals(other.TitleVersion) } +// CopyRef copies the current value of the GameKey +// and returns a pointer to the new copy +func (gk GameKey) CopyRef() types.RVTypePtr { + copied := gk.Copy().(GameKey) + return &copied +} + +// Deref takes a pointer to the GameKey +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gk *GameKey) Deref() types.RVType { + return *gk +} + // String returns the string representation of the GameKey func (gk GameKey) String() string { return gk.FormatToString(0) diff --git a/friends-wiiu/types/mii_v2.go b/friends-wiiu/types/mii_v2.go index 17c601e9..00a0d4dc 100644 --- a/friends-wiiu/types/mii_v2.go +++ b/friends-wiiu/types/mii_v2.go @@ -130,6 +130,20 @@ func (mv MiiV2) Equals(o types.RVType) bool { return mv.Datetime.Equals(other.Datetime) } +// CopyRef copies the current value of the MiiV2 +// and returns a pointer to the new copy +func (mv MiiV2) CopyRef() types.RVTypePtr { + copied := mv.Copy().(MiiV2) + return &copied +} + +// Deref takes a pointer to the MiiV2 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mv *MiiV2) Deref() types.RVType { + return *mv +} + // String returns the string representation of the MiiV2 func (mv MiiV2) String() string { return mv.FormatToString(0) diff --git a/friends-wiiu/types/nintendo_presence_v2.go b/friends-wiiu/types/nintendo_presence_v2.go index dc49f62c..785f5144 100644 --- a/friends-wiiu/types/nintendo_presence_v2.go +++ b/friends-wiiu/types/nintendo_presence_v2.go @@ -250,6 +250,20 @@ func (npv NintendoPresenceV2) Equals(o types.RVType) bool { return npv.Unknown7.Equals(other.Unknown7) } +// CopyRef copies the current value of the NintendoPresenceV2 +// and returns a pointer to the new copy +func (npv NintendoPresenceV2) CopyRef() types.RVTypePtr { + copied := npv.Copy().(NintendoPresenceV2) + return &copied +} + +// Deref takes a pointer to the NintendoPresenceV2 +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (npv *NintendoPresenceV2) Deref() types.RVType { + return *npv +} + // String returns the string representation of the NintendoPresenceV2 func (npv NintendoPresenceV2) String() string { return npv.FormatToString(0) diff --git a/friends-wiiu/types/nna_info.go b/friends-wiiu/types/nna_info.go index 6a65fba5..6fd8e6fa 100644 --- a/friends-wiiu/types/nna_info.go +++ b/friends-wiiu/types/nna_info.go @@ -106,6 +106,20 @@ func (nnai NNAInfo) Equals(o types.RVType) bool { return nnai.Unknown2.Equals(other.Unknown2) } +// CopyRef copies the current value of the NNAInfo +// and returns a pointer to the new copy +func (nnai NNAInfo) CopyRef() types.RVTypePtr { + copied := nnai.Copy().(NNAInfo) + return &copied +} + +// Deref takes a pointer to the NNAInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (nnai *NNAInfo) Deref() types.RVType { + return *nnai +} + // String returns the string representation of the NNAInfo func (nnai NNAInfo) String() string { return nnai.FormatToString(0) diff --git a/friends-wiiu/types/persistent_notification.go b/friends-wiiu/types/persistent_notification.go index 6bef4f77..5150594c 100644 --- a/friends-wiiu/types/persistent_notification.go +++ b/friends-wiiu/types/persistent_notification.go @@ -130,6 +130,20 @@ func (pn PersistentNotification) Equals(o types.RVType) bool { return pn.Unknown5.Equals(other.Unknown5) } +// CopyRef copies the current value of the PersistentNotification +// and returns a pointer to the new copy +func (pn PersistentNotification) CopyRef() types.RVTypePtr { + copied := pn.Copy().(PersistentNotification) + return &copied +} + +// Deref takes a pointer to the PersistentNotification +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (pn *PersistentNotification) Deref() types.RVType { + return *pn +} + // String returns the string representation of the PersistentNotification func (pn PersistentNotification) String() string { return pn.FormatToString(0) diff --git a/friends-wiiu/types/persistent_notification_list.go b/friends-wiiu/types/persistent_notification_list.go index b9f6ef60..1ad2f53c 100644 --- a/friends-wiiu/types/persistent_notification_list.go +++ b/friends-wiiu/types/persistent_notification_list.go @@ -82,6 +82,20 @@ func (pnl PersistentNotificationList) Equals(o types.RVType) bool { return pnl.Notifications.Equals(other.Notifications) } +// CopyRef copies the current value of the PersistentNotificationList +// and returns a pointer to the new copy +func (pnl PersistentNotificationList) CopyRef() types.RVTypePtr { + copied := pnl.Copy().(PersistentNotificationList) + return &copied +} + +// Deref takes a pointer to the PersistentNotificationList +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (pnl *PersistentNotificationList) Deref() types.RVType { + return *pnl +} + // String returns the string representation of the PersistentNotificationList func (pnl PersistentNotificationList) String() string { return pnl.FormatToString(0) diff --git a/friends-wiiu/types/principal_basic_info.go b/friends-wiiu/types/principal_basic_info.go index cafdd4e3..ca1ab95f 100644 --- a/friends-wiiu/types/principal_basic_info.go +++ b/friends-wiiu/types/principal_basic_info.go @@ -118,6 +118,20 @@ func (pbi PrincipalBasicInfo) Equals(o types.RVType) bool { return pbi.Unknown.Equals(other.Unknown) } +// CopyRef copies the current value of the PrincipalBasicInfo +// and returns a pointer to the new copy +func (pbi PrincipalBasicInfo) CopyRef() types.RVTypePtr { + copied := pbi.Copy().(PrincipalBasicInfo) + return &copied +} + +// Deref takes a pointer to the PrincipalBasicInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (pbi *PrincipalBasicInfo) Deref() types.RVType { + return *pbi +} + // String returns the string representation of the PrincipalBasicInfo func (pbi PrincipalBasicInfo) String() string { return pbi.FormatToString(0) diff --git a/friends-wiiu/types/principal_preference.go b/friends-wiiu/types/principal_preference.go index 5ad40997..57b0166f 100644 --- a/friends-wiiu/types/principal_preference.go +++ b/friends-wiiu/types/principal_preference.go @@ -106,6 +106,20 @@ func (pp PrincipalPreference) Equals(o types.RVType) bool { return pp.BlockFriendRequests.Equals(other.BlockFriendRequests) } +// CopyRef copies the current value of the PrincipalPreference +// and returns a pointer to the new copy +func (pp PrincipalPreference) CopyRef() types.RVTypePtr { + copied := pp.Copy().(PrincipalPreference) + return &copied +} + +// Deref takes a pointer to the PrincipalPreference +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (pp *PrincipalPreference) Deref() types.RVType { + return *pp +} + // String returns the string representation of the PrincipalPreference func (pp PrincipalPreference) String() string { return pp.FormatToString(0) diff --git a/friends-wiiu/types/principal_request_block_setting.go b/friends-wiiu/types/principal_request_block_setting.go index e1317a7d..77931eb8 100644 --- a/friends-wiiu/types/principal_request_block_setting.go +++ b/friends-wiiu/types/principal_request_block_setting.go @@ -94,6 +94,20 @@ func (prbs PrincipalRequestBlockSetting) Equals(o types.RVType) bool { return prbs.IsBlocked.Equals(other.IsBlocked) } +// CopyRef copies the current value of the PrincipalRequestBlockSetting +// and returns a pointer to the new copy +func (prbs PrincipalRequestBlockSetting) CopyRef() types.RVTypePtr { + copied := prbs.Copy().(PrincipalRequestBlockSetting) + return &copied +} + +// Deref takes a pointer to the PrincipalRequestBlockSetting +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (prbs *PrincipalRequestBlockSetting) Deref() types.RVType { + return *prbs +} + // String returns the string representation of the PrincipalRequestBlockSetting func (prbs PrincipalRequestBlockSetting) String() string { return prbs.FormatToString(0) diff --git a/friends/types/friend_data.go b/friends/types/friend_data.go index d669b9d9..f0c9039a 100644 --- a/friends/types/friend_data.go +++ b/friends/types/friend_data.go @@ -117,6 +117,20 @@ func (fd FriendData) Equals(o types.RVType) bool { return fd.StrStatus.Equals(other.StrStatus) } +// CopyRef copies the current value of the FriendData +// and returns a pointer to the new copy +func (fd FriendData) CopyRef() types.RVTypePtr { + copied := fd.Copy().(FriendData) + return &copied +} + +// Deref takes a pointer to the FriendData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fd *FriendData) Deref() types.RVType { + return *fd +} + // String returns the string representation of the FriendData func (fd FriendData) String() string { return fd.FormatToString(0) diff --git a/friends/types/relationship_data.go b/friends/types/relationship_data.go index 14a69405..4ef807b0 100644 --- a/friends/types/relationship_data.go +++ b/friends/types/relationship_data.go @@ -117,6 +117,20 @@ func (rd RelationshipData) Equals(o types.RVType) bool { return rd.ByStatus.Equals(other.ByStatus) } +// CopyRef copies the current value of the RelationshipData +// and returns a pointer to the new copy +func (rd RelationshipData) CopyRef() types.RVTypePtr { + copied := rd.Copy().(RelationshipData) + return &copied +} + +// Deref takes a pointer to the RelationshipData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rd *RelationshipData) Deref() types.RVType { + return *rd +} + // String returns the string representation of the RelationshipData func (rd RelationshipData) String() string { return rd.FormatToString(0) diff --git a/match-making/types/auto_matchmake_param.go b/match-making/types/auto_matchmake_param.go index 9dc95a7c..8071eb18 100644 --- a/match-making/types/auto_matchmake_param.go +++ b/match-making/types/auto_matchmake_param.go @@ -153,6 +153,20 @@ func (amp AutoMatchmakeParam) Equals(o types.RVType) bool { return amp.TargetGIDs.Equals(other.TargetGIDs) } +// CopyRef copies the current value of the AutoMatchmakeParam +// and returns a pointer to the new copy +func (amp AutoMatchmakeParam) CopyRef() types.RVTypePtr { + copied := amp.Copy().(AutoMatchmakeParam) + return &copied +} + +// Deref takes a pointer to the AutoMatchmakeParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (amp *AutoMatchmakeParam) Deref() types.RVType { + return *amp +} + // String returns the string representation of the AutoMatchmakeParam func (amp AutoMatchmakeParam) String() string { return amp.FormatToString(0) diff --git a/match-making/types/create_matchmake_session_param.go b/match-making/types/create_matchmake_session_param.go index ca0023ad..7689520f 100644 --- a/match-making/types/create_matchmake_session_param.go +++ b/match-making/types/create_matchmake_session_param.go @@ -129,6 +129,20 @@ func (cmsp CreateMatchmakeSessionParam) Equals(o types.RVType) bool { return cmsp.ParticipationCount.Equals(other.ParticipationCount) } +// CopyRef copies the current value of the CreateMatchmakeSessionParam +// and returns a pointer to the new copy +func (cmsp CreateMatchmakeSessionParam) CopyRef() types.RVTypePtr { + copied := cmsp.Copy().(CreateMatchmakeSessionParam) + return &copied +} + +// Deref takes a pointer to the CreateMatchmakeSessionParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (cmsp *CreateMatchmakeSessionParam) Deref() types.RVType { + return *cmsp +} + // String returns the string representation of the CreateMatchmakeSessionParam func (cmsp CreateMatchmakeSessionParam) String() string { return cmsp.FormatToString(0) diff --git a/match-making/types/deletion_entry.go b/match-making/types/deletion_entry.go index e5873e33..2da36a5d 100644 --- a/match-making/types/deletion_entry.go +++ b/match-making/types/deletion_entry.go @@ -93,6 +93,20 @@ func (de DeletionEntry) Equals(o types.RVType) bool { return de.UIReason.Equals(other.UIReason) } +// CopyRef copies the current value of the DeletionEntry +// and returns a pointer to the new copy +func (de DeletionEntry) CopyRef() types.RVTypePtr { + copied := de.Copy().(DeletionEntry) + return &copied +} + +// Deref takes a pointer to the DeletionEntry +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (de *DeletionEntry) Deref() types.RVType { + return *de +} + // String returns the string representation of the DeletionEntry func (de DeletionEntry) String() string { return de.FormatToString(0) diff --git a/match-making/types/find_matchmake_session_by_participant_param.go b/match-making/types/find_matchmake_session_by_participant_param.go index cdee43f7..cb360351 100644 --- a/match-making/types/find_matchmake_session_by_participant_param.go +++ b/match-making/types/find_matchmake_session_by_participant_param.go @@ -93,6 +93,20 @@ func (fmsbpp FindMatchmakeSessionByParticipantParam) Equals(o types.RVType) bool return fmsbpp.BlockListParam.Equals(other.BlockListParam) } +// CopyRef copies the current value of the FindMatchmakeSessionByParticipantParam +// and returns a pointer to the new copy +func (fmsbpp FindMatchmakeSessionByParticipantParam) CopyRef() types.RVTypePtr { + copied := fmsbpp.Copy().(FindMatchmakeSessionByParticipantParam) + return &copied +} + +// Deref takes a pointer to the FindMatchmakeSessionByParticipantParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fmsbpp *FindMatchmakeSessionByParticipantParam) Deref() types.RVType { + return *fmsbpp +} + // String returns the string representation of the FindMatchmakeSessionByParticipantParam func (fmsbpp FindMatchmakeSessionByParticipantParam) String() string { return fmsbpp.FormatToString(0) diff --git a/match-making/types/find_matchmake_session_by_participant_result.go b/match-making/types/find_matchmake_session_by_participant_result.go index e35cdee1..d29014bf 100644 --- a/match-making/types/find_matchmake_session_by_participant_result.go +++ b/match-making/types/find_matchmake_session_by_participant_result.go @@ -81,6 +81,20 @@ func (fmsbpr FindMatchmakeSessionByParticipantResult) Equals(o types.RVType) boo return fmsbpr.Session.Equals(other.Session) } +// CopyRef copies the current value of the FindMatchmakeSessionByParticipantResult +// and returns a pointer to the new copy +func (fmsbpr FindMatchmakeSessionByParticipantResult) CopyRef() types.RVTypePtr { + copied := fmsbpr.Copy().(FindMatchmakeSessionByParticipantResult) + return &copied +} + +// Deref takes a pointer to the FindMatchmakeSessionByParticipantResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fmsbpr *FindMatchmakeSessionByParticipantResult) Deref() types.RVType { + return *fmsbpr +} + // String returns the string representation of the FindMatchmakeSessionByParticipantResult func (fmsbpr FindMatchmakeSessionByParticipantResult) String() string { return fmsbpr.FormatToString(0) diff --git a/match-making/types/gathering.go b/match-making/types/gathering.go index 71fae1a7..84026ac0 100644 --- a/match-making/types/gathering.go +++ b/match-making/types/gathering.go @@ -177,6 +177,20 @@ func (g Gathering) Equals(o types.RVType) bool { return g.Description.Equals(other.Description) } +// CopyRef copies the current value of the Gathering +// and returns a pointer to the new copy +func (g Gathering) CopyRef() types.RVTypePtr { + copied := g.Copy().(Gathering) + return &copied +} + +// Deref takes a pointer to the Gathering +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (g *Gathering) Deref() types.RVType { + return *g +} + // String returns the string representation of the Gathering func (g Gathering) String() string { return g.FormatToString(0) diff --git a/match-making/types/gathering_stats.go b/match-making/types/gathering_stats.go index c6ae535a..33da7768 100644 --- a/match-making/types/gathering_stats.go +++ b/match-making/types/gathering_stats.go @@ -93,6 +93,20 @@ func (gs GatheringStats) Equals(o types.RVType) bool { return gs.LstValues.Equals(other.LstValues) } +// CopyRef copies the current value of the GatheringStats +// and returns a pointer to the new copy +func (gs GatheringStats) CopyRef() types.RVTypePtr { + copied := gs.Copy().(GatheringStats) + return &copied +} + +// Deref takes a pointer to the GatheringStats +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gs *GatheringStats) Deref() types.RVType { + return *gs +} + // String returns the string representation of the GatheringStats func (gs GatheringStats) String() string { return gs.FormatToString(0) diff --git a/match-making/types/gathering_urls.go b/match-making/types/gathering_urls.go index d253d25c..bd9f2c93 100644 --- a/match-making/types/gathering_urls.go +++ b/match-making/types/gathering_urls.go @@ -81,6 +81,20 @@ func (gurl GatheringURLs) Equals(o types.RVType) bool { return gurl.LstStationURLs.Equals(other.LstStationURLs) } +// CopyRef copies the current value of the GatheringURLs +// and returns a pointer to the new copy +func (gurl GatheringURLs) CopyRef() types.RVTypePtr { + copied := gurl.Copy().(GatheringURLs) + return &copied +} + +// Deref takes a pointer to the GatheringURLs +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (gurl *GatheringURLs) Deref() types.RVType { + return *gurl +} + // String returns the string representation of the GatheringURLs func (gurl GatheringURLs) String() string { return gurl.FormatToString(0) diff --git a/match-making/types/invitation.go b/match-making/types/invitation.go index 01255618..034e119d 100644 --- a/match-making/types/invitation.go +++ b/match-making/types/invitation.go @@ -93,6 +93,20 @@ func (i Invitation) Equals(o types.RVType) bool { return i.StrMessage.Equals(other.StrMessage) } +// CopyRef copies the current value of the Invitation +// and returns a pointer to the new copy +func (i Invitation) CopyRef() types.RVTypePtr { + copied := i.Copy().(Invitation) + return &copied +} + +// Deref takes a pointer to the Invitation +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (i *Invitation) Deref() types.RVType { + return *i +} + // String returns the string representation of the Invitation func (i Invitation) String() string { return i.FormatToString(0) diff --git a/match-making/types/join_matchmake_session_param.go b/match-making/types/join_matchmake_session_param.go index 38cefc6b..2374e9c2 100644 --- a/match-making/types/join_matchmake_session_param.go +++ b/match-making/types/join_matchmake_session_param.go @@ -206,6 +206,20 @@ func (jmsp JoinMatchmakeSessionParam) Equals(o types.RVType) bool { return jmsp.BlockListParam.Equals(other.BlockListParam) } +// CopyRef copies the current value of the JoinMatchmakeSessionParam +// and returns a pointer to the new copy +func (jmsp JoinMatchmakeSessionParam) CopyRef() types.RVTypePtr { + copied := jmsp.Copy().(JoinMatchmakeSessionParam) + return &copied +} + +// Deref takes a pointer to the JoinMatchmakeSessionParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (jmsp *JoinMatchmakeSessionParam) Deref() types.RVType { + return *jmsp +} + // String returns the string representation of the JoinMatchmakeSessionParam func (jmsp JoinMatchmakeSessionParam) String() string { return jmsp.FormatToString(0) diff --git a/match-making/types/matchmake_block_list_param.go b/match-making/types/matchmake_block_list_param.go index a6ecc7e6..ba530865 100644 --- a/match-making/types/matchmake_block_list_param.go +++ b/match-making/types/matchmake_block_list_param.go @@ -69,6 +69,20 @@ func (mblp MatchmakeBlockListParam) Equals(o types.RVType) bool { return mblp.OptionFlag.Equals(other.OptionFlag) } +// CopyRef copies the current value of the MatchmakeBlockListParam +// and returns a pointer to the new copy +func (mblp MatchmakeBlockListParam) CopyRef() types.RVTypePtr { + copied := mblp.Copy().(MatchmakeBlockListParam) + return &copied +} + +// Deref takes a pointer to the MatchmakeBlockListParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mblp *MatchmakeBlockListParam) Deref() types.RVType { + return *mblp +} + // String returns the string representation of the MatchmakeBlockListParam func (mblp MatchmakeBlockListParam) String() string { return mblp.FormatToString(0) diff --git a/match-making/types/matchmake_param.go b/match-making/types/matchmake_param.go index bc703097..5a6ba31b 100644 --- a/match-making/types/matchmake_param.go +++ b/match-making/types/matchmake_param.go @@ -69,6 +69,20 @@ func (mp MatchmakeParam) Equals(o types.RVType) bool { return mp.Params.Equals(other.Params) } +// CopyRef copies the current value of the MatchmakeParam +// and returns a pointer to the new copy +func (mp MatchmakeParam) CopyRef() types.RVTypePtr { + copied := mp.Copy().(MatchmakeParam) + return &copied +} + +// Deref takes a pointer to the MatchmakeParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mp *MatchmakeParam) Deref() types.RVType { + return *mp +} + // String returns the string representation of the MatchmakeParam func (mp MatchmakeParam) String() string { return mp.FormatToString(0) diff --git a/match-making/types/matchmake_session.go b/match-making/types/matchmake_session.go index ea10c4cf..6920290e 100644 --- a/match-making/types/matchmake_session.go +++ b/match-making/types/matchmake_session.go @@ -319,6 +319,20 @@ func (ms MatchmakeSession) Equals(o types.RVType) bool { return ms.CodeWord.Equals(other.CodeWord) } +// CopyRef copies the current value of the MatchmakeSession +// and returns a pointer to the new copy +func (ms MatchmakeSession) CopyRef() types.RVTypePtr { + copied := ms.Copy().(MatchmakeSession) + return &copied +} + +// Deref takes a pointer to the MatchmakeSession +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ms *MatchmakeSession) Deref() types.RVType { + return *ms +} + // String returns the string representation of the MatchmakeSession func (ms MatchmakeSession) String() string { return ms.FormatToString(0) diff --git a/match-making/types/matchmake_session_search_criteria.go b/match-making/types/matchmake_session_search_criteria.go index dab32104..350b0e3a 100644 --- a/match-making/types/matchmake_session_search_criteria.go +++ b/match-making/types/matchmake_session_search_criteria.go @@ -307,6 +307,20 @@ func (mssc MatchmakeSessionSearchCriteria) Equals(o types.RVType) bool { return mssc.ResultRange.Equals(other.ResultRange) } +// CopyRef copies the current value of the MatchmakeSessionSearchCriteria +// and returns a pointer to the new copy +func (mssc MatchmakeSessionSearchCriteria) CopyRef() types.RVTypePtr { + copied := mssc.Copy().(MatchmakeSessionSearchCriteria) + return &copied +} + +// Deref takes a pointer to the MatchmakeSessionSearchCriteria +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mssc *MatchmakeSessionSearchCriteria) Deref() types.RVType { + return *mssc +} + // String returns the string representation of the MatchmakeSessionSearchCriteria func (mssc MatchmakeSessionSearchCriteria) String() string { return mssc.FormatToString(0) diff --git a/match-making/types/participant_details.go b/match-making/types/participant_details.go index dc4ae8c9..e4ed8ce2 100644 --- a/match-making/types/participant_details.go +++ b/match-making/types/participant_details.go @@ -105,6 +105,20 @@ func (pd ParticipantDetails) Equals(o types.RVType) bool { return pd.UIParticipants.Equals(other.UIParticipants) } +// CopyRef copies the current value of the ParticipantDetails +// and returns a pointer to the new copy +func (pd ParticipantDetails) CopyRef() types.RVTypePtr { + copied := pd.Copy().(ParticipantDetails) + return &copied +} + +// Deref takes a pointer to the ParticipantDetails +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (pd *ParticipantDetails) Deref() types.RVType { + return *pd +} + // String returns the string representation of the ParticipantDetails func (pd ParticipantDetails) String() string { return pd.FormatToString(0) diff --git a/match-making/types/persistent_gathering.go b/match-making/types/persistent_gathering.go index ba526753..ad1460d5 100644 --- a/match-making/types/persistent_gathering.go +++ b/match-making/types/persistent_gathering.go @@ -166,6 +166,20 @@ func (pg PersistentGathering) Equals(o types.RVType) bool { return pg.ParticipationCount.Equals(other.ParticipationCount) } +// CopyRef copies the current value of the PersistentGathering +// and returns a pointer to the new copy +func (pg PersistentGathering) CopyRef() types.RVTypePtr { + copied := pg.Copy().(PersistentGathering) + return &copied +} + +// Deref takes a pointer to the PersistentGathering +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (pg *PersistentGathering) Deref() types.RVType { + return *pg +} + // String returns the string representation of the PersistentGathering func (pg PersistentGathering) String() string { return pg.FormatToString(0) diff --git a/match-making/types/playing_session.go b/match-making/types/playing_session.go index c30db7c7..656261b8 100644 --- a/match-making/types/playing_session.go +++ b/match-making/types/playing_session.go @@ -81,6 +81,20 @@ func (ps PlayingSession) Equals(o types.RVType) bool { return ps.Gathering.Equals(other.Gathering) } +// CopyRef copies the current value of the PlayingSession +// and returns a pointer to the new copy +func (ps PlayingSession) CopyRef() types.RVTypePtr { + copied := ps.Copy().(PlayingSession) + return &copied +} + +// Deref takes a pointer to the PlayingSession +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ps *PlayingSession) Deref() types.RVType { + return *ps +} + // String returns the string representation of the PlayingSession func (ps PlayingSession) String() string { return ps.FormatToString(0) diff --git a/match-making/types/simple_community.go b/match-making/types/simple_community.go index 9292c8fa..47c8d81a 100644 --- a/match-making/types/simple_community.go +++ b/match-making/types/simple_community.go @@ -81,6 +81,20 @@ func (sc SimpleCommunity) Equals(o types.RVType) bool { return sc.MatchmakeSessionCount.Equals(other.MatchmakeSessionCount) } +// CopyRef copies the current value of the SimpleCommunity +// and returns a pointer to the new copy +func (sc SimpleCommunity) CopyRef() types.RVTypePtr { + copied := sc.Copy().(SimpleCommunity) + return &copied +} + +// Deref takes a pointer to the SimpleCommunity +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sc *SimpleCommunity) Deref() types.RVType { + return *sc +} + // String returns the string representation of the SimpleCommunity func (sc SimpleCommunity) String() string { return sc.FormatToString(0) diff --git a/match-making/types/simple_playing_session.go b/match-making/types/simple_playing_session.go index 378e7fef..58fde3a2 100644 --- a/match-making/types/simple_playing_session.go +++ b/match-making/types/simple_playing_session.go @@ -105,6 +105,20 @@ func (sps SimplePlayingSession) Equals(o types.RVType) bool { return sps.Attribute0.Equals(other.Attribute0) } +// CopyRef copies the current value of the SimplePlayingSession +// and returns a pointer to the new copy +func (sps SimplePlayingSession) CopyRef() types.RVTypePtr { + copied := sps.Copy().(SimplePlayingSession) + return &copied +} + +// Deref takes a pointer to the SimplePlayingSession +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sps *SimplePlayingSession) Deref() types.RVType { + return *sps +} + // String returns the string representation of the SimplePlayingSession func (sps SimplePlayingSession) String() string { return sps.FormatToString(0) diff --git a/match-making/types/update_matchmake_session_param.go b/match-making/types/update_matchmake_session_param.go index bcadf206..5962dbb5 100644 --- a/match-making/types/update_matchmake_session_param.go +++ b/match-making/types/update_matchmake_session_param.go @@ -261,6 +261,20 @@ func (umsp UpdateMatchmakeSessionParam) Equals(o types.RVType) bool { return umsp.Codeword.Equals(other.Codeword) } +// CopyRef copies the current value of the UpdateMatchmakeSessionParam +// and returns a pointer to the new copy +func (umsp UpdateMatchmakeSessionParam) CopyRef() types.RVTypePtr { + copied := umsp.Copy().(UpdateMatchmakeSessionParam) + return &copied +} + +// Deref takes a pointer to the UpdateMatchmakeSessionParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (umsp *UpdateMatchmakeSessionParam) Deref() types.RVType { + return *umsp +} + // String returns the string representation of the UpdateMatchmakeSessionParam func (umsp UpdateMatchmakeSessionParam) String() string { return umsp.FormatToString(0) diff --git a/matchmake-extension/mario-kart-8/types/simple_search_condition.go b/matchmake-extension/mario-kart-8/types/simple_search_condition.go index fc87c984..ccdcd2c5 100644 --- a/matchmake-extension/mario-kart-8/types/simple_search_condition.go +++ b/matchmake-extension/mario-kart-8/types/simple_search_condition.go @@ -81,6 +81,20 @@ func (ssc SimpleSearchCondition) Equals(o types.RVType) bool { return ssc.ComparisonOperator.Equals(other.ComparisonOperator) } +// CopyRef copies the current value of the SimpleSearchCondition +// and returns a pointer to the new copy +func (ssc SimpleSearchCondition) CopyRef() types.RVTypePtr { + copied := ssc.Copy().(SimpleSearchCondition) + return &copied +} + +// Deref takes a pointer to the SimpleSearchCondition +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ssc *SimpleSearchCondition) Deref() types.RVType { + return *ssc +} + // String returns the string representation of the SimpleSearchCondition func (ssc SimpleSearchCondition) String() string { return ssc.FormatToString(0) diff --git a/matchmake-extension/mario-kart-8/types/simple_search_date_time_attribute.go b/matchmake-extension/mario-kart-8/types/simple_search_date_time_attribute.go index 8f520287..96b3504c 100644 --- a/matchmake-extension/mario-kart-8/types/simple_search_date_time_attribute.go +++ b/matchmake-extension/mario-kart-8/types/simple_search_date_time_attribute.go @@ -129,6 +129,20 @@ func (ssdta SimpleSearchDateTimeAttribute) Equals(o types.RVType) bool { return ssdta.EndTime.Equals(other.EndTime) } +// CopyRef copies the current value of the SimpleSearchDateTimeAttribute +// and returns a pointer to the new copy +func (ssdta SimpleSearchDateTimeAttribute) CopyRef() types.RVTypePtr { + copied := ssdta.Copy().(SimpleSearchDateTimeAttribute) + return &copied +} + +// Deref takes a pointer to the SimpleSearchDateTimeAttribute +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ssdta *SimpleSearchDateTimeAttribute) Deref() types.RVType { + return *ssdta +} + // String returns the string representation of the SimpleSearchDateTimeAttribute func (ssdta SimpleSearchDateTimeAttribute) String() string { return ssdta.FormatToString(0) diff --git a/matchmake-extension/mario-kart-8/types/simple_search_object.go b/matchmake-extension/mario-kart-8/types/simple_search_object.go index 1b826ed2..4f81dc56 100644 --- a/matchmake-extension/mario-kart-8/types/simple_search_object.go +++ b/matchmake-extension/mario-kart-8/types/simple_search_object.go @@ -141,6 +141,20 @@ func (sso SimpleSearchObject) Equals(o types.RVType) bool { return sso.DatetimeAttribute.Equals(other.DatetimeAttribute) } +// CopyRef copies the current value of the SimpleSearchObject +// and returns a pointer to the new copy +func (sso SimpleSearchObject) CopyRef() types.RVTypePtr { + copied := sso.Copy().(SimpleSearchObject) + return &copied +} + +// Deref takes a pointer to the SimpleSearchObject +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sso *SimpleSearchObject) Deref() types.RVType { + return *sso +} + // String returns the string representation of the SimpleSearchObject func (sso SimpleSearchObject) String() string { return sso.FormatToString(0) diff --git a/matchmake-extension/mario-kart-8/types/simple_search_param.go b/matchmake-extension/mario-kart-8/types/simple_search_param.go index 987500dd..e7789125 100644 --- a/matchmake-extension/mario-kart-8/types/simple_search_param.go +++ b/matchmake-extension/mario-kart-8/types/simple_search_param.go @@ -129,6 +129,20 @@ func (ssp SimpleSearchParam) Equals(o types.RVType) bool { return ssp.Unknown4.Equals(other.Unknown4) } +// CopyRef copies the current value of the SimpleSearchParam +// and returns a pointer to the new copy +func (ssp SimpleSearchParam) CopyRef() types.RVTypePtr { + copied := ssp.Copy().(SimpleSearchParam) + return &copied +} + +// Deref takes a pointer to the SimpleSearchParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ssp *SimpleSearchParam) Deref() types.RVType { + return *ssp +} + // String returns the string representation of the SimpleSearchParam func (ssp SimpleSearchParam) String() string { return ssp.FormatToString(0) diff --git a/matchmake-extension/monster-hunter-xx/types/friend_user_info.go b/matchmake-extension/monster-hunter-xx/types/friend_user_info.go index 42dca645..c6963f9e 100644 --- a/matchmake-extension/monster-hunter-xx/types/friend_user_info.go +++ b/matchmake-extension/monster-hunter-xx/types/friend_user_info.go @@ -93,6 +93,20 @@ func (fui FriendUserInfo) Equals(o types.RVType) bool { return fui.Presence.Equals(other.Presence) } +// CopyRef copies the current value of the FriendUserInfo +// and returns a pointer to the new copy +func (fui FriendUserInfo) CopyRef() types.RVTypePtr { + copied := fui.Copy().(FriendUserInfo) + return &copied +} + +// Deref takes a pointer to the FriendUserInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fui *FriendUserInfo) Deref() types.RVType { + return *fui +} + // String returns the string representation of the FriendUserInfo func (fui FriendUserInfo) String() string { return fui.FormatToString(0) diff --git a/matchmake-extension/monster-hunter-xx/types/friend_user_param.go b/matchmake-extension/monster-hunter-xx/types/friend_user_param.go index 64737e50..7a0dafc8 100644 --- a/matchmake-extension/monster-hunter-xx/types/friend_user_param.go +++ b/matchmake-extension/monster-hunter-xx/types/friend_user_param.go @@ -69,6 +69,20 @@ func (fup FriendUserParam) Equals(o types.RVType) bool { return fup.Name.Equals(other.Name) } +// CopyRef copies the current value of the FriendUserParam +// and returns a pointer to the new copy +func (fup FriendUserParam) CopyRef() types.RVTypePtr { + copied := fup.Copy().(FriendUserParam) + return &copied +} + +// Deref takes a pointer to the FriendUserParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (fup *FriendUserParam) Deref() types.RVType { + return *fup +} + // String returns the string representation of the FriendUserParam func (fup FriendUserParam) String() string { return fup.FormatToString(0) diff --git a/matchmake-referee/types/matchmake_referee_end_round_param.go b/matchmake-referee/types/matchmake_referee_end_round_param.go index ab6542df..348d3f45 100644 --- a/matchmake-referee/types/matchmake_referee_end_round_param.go +++ b/matchmake-referee/types/matchmake_referee_end_round_param.go @@ -94,6 +94,20 @@ func (mrerp MatchmakeRefereeEndRoundParam) Equals(o types.RVType) bool { return mrerp.PersonalRoundResults.Equals(other.PersonalRoundResults) } +// CopyRef copies the current value of the MatchmakeRefereeEndRoundParam +// and returns a pointer to the new copy +func (mrerp MatchmakeRefereeEndRoundParam) CopyRef() types.RVTypePtr { + copied := mrerp.Copy().(MatchmakeRefereeEndRoundParam) + return &copied +} + +// Deref takes a pointer to the MatchmakeRefereeEndRoundParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mrerp *MatchmakeRefereeEndRoundParam) Deref() types.RVType { + return *mrerp +} + // String returns the string representation of the MatchmakeRefereeEndRoundParam func (mrerp MatchmakeRefereeEndRoundParam) String() string { return mrerp.FormatToString(0) diff --git a/matchmake-referee/types/matchmake_referee_personal_round_result.go b/matchmake-referee/types/matchmake_referee_personal_round_result.go index b904e237..7c379251 100644 --- a/matchmake-referee/types/matchmake_referee_personal_round_result.go +++ b/matchmake-referee/types/matchmake_referee_personal_round_result.go @@ -130,6 +130,20 @@ func (mrprr MatchmakeRefereePersonalRoundResult) Equals(o types.RVType) bool { return mrprr.Buffer.Equals(other.Buffer) } +// CopyRef copies the current value of the MatchmakeRefereePersonalRoundResult +// and returns a pointer to the new copy +func (mrprr MatchmakeRefereePersonalRoundResult) CopyRef() types.RVTypePtr { + copied := mrprr.Copy().(MatchmakeRefereePersonalRoundResult) + return &copied +} + +// Deref takes a pointer to the MatchmakeRefereePersonalRoundResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mrprr *MatchmakeRefereePersonalRoundResult) Deref() types.RVType { + return *mrprr +} + // String returns the string representation of the MatchmakeRefereePersonalRoundResult func (mrprr MatchmakeRefereePersonalRoundResult) String() string { return mrprr.FormatToString(0) diff --git a/matchmake-referee/types/matchmake_referee_round.go b/matchmake-referee/types/matchmake_referee_round.go index 8fa31fce..4c4ea41f 100644 --- a/matchmake-referee/types/matchmake_referee_round.go +++ b/matchmake-referee/types/matchmake_referee_round.go @@ -130,6 +130,20 @@ func (mrr MatchmakeRefereeRound) Equals(o types.RVType) bool { return mrr.NormalizedPersonalRoundResults.Equals(other.NormalizedPersonalRoundResults) } +// CopyRef copies the current value of the MatchmakeRefereeRound +// and returns a pointer to the new copy +func (mrr MatchmakeRefereeRound) CopyRef() types.RVTypePtr { + copied := mrr.Copy().(MatchmakeRefereeRound) + return &copied +} + +// Deref takes a pointer to the MatchmakeRefereeRound +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mrr *MatchmakeRefereeRound) Deref() types.RVType { + return *mrr +} + // String returns the string representation of the MatchmakeRefereeRound func (mrr MatchmakeRefereeRound) String() string { return mrr.FormatToString(0) diff --git a/matchmake-referee/types/matchmake_referee_start_round_param.go b/matchmake-referee/types/matchmake_referee_start_round_param.go index 90303938..16e5a477 100644 --- a/matchmake-referee/types/matchmake_referee_start_round_param.go +++ b/matchmake-referee/types/matchmake_referee_start_round_param.go @@ -106,6 +106,20 @@ func (mrsrp MatchmakeRefereeStartRoundParam) Equals(o types.RVType) bool { return mrsrp.PIDs.Equals(other.PIDs) } +// CopyRef copies the current value of the MatchmakeRefereeStartRoundParam +// and returns a pointer to the new copy +func (mrsrp MatchmakeRefereeStartRoundParam) CopyRef() types.RVTypePtr { + copied := mrsrp.Copy().(MatchmakeRefereeStartRoundParam) + return &copied +} + +// Deref takes a pointer to the MatchmakeRefereeStartRoundParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mrsrp *MatchmakeRefereeStartRoundParam) Deref() types.RVType { + return *mrsrp +} + // String returns the string representation of the MatchmakeRefereeStartRoundParam func (mrsrp MatchmakeRefereeStartRoundParam) String() string { return mrsrp.FormatToString(0) diff --git a/matchmake-referee/types/matchmake_referee_stats.go b/matchmake-referee/types/matchmake_referee_stats.go index ddde1c4e..8766f6ac 100644 --- a/matchmake-referee/types/matchmake_referee_stats.go +++ b/matchmake-referee/types/matchmake_referee_stats.go @@ -262,6 +262,20 @@ func (mrs MatchmakeRefereeStats) Equals(o types.RVType) bool { return mrs.RatingValue.Equals(other.RatingValue) } +// CopyRef copies the current value of the MatchmakeRefereeStats +// and returns a pointer to the new copy +func (mrs MatchmakeRefereeStats) CopyRef() types.RVTypePtr { + copied := mrs.Copy().(MatchmakeRefereeStats) + return &copied +} + +// Deref takes a pointer to the MatchmakeRefereeStats +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mrs *MatchmakeRefereeStats) Deref() types.RVType { + return *mrs +} + // String returns the string representation of the MatchmakeRefereeStats func (mrs MatchmakeRefereeStats) String() string { return mrs.FormatToString(0) diff --git a/matchmake-referee/types/matchmake_referee_stats_init_param.go b/matchmake-referee/types/matchmake_referee_stats_init_param.go index b83eedb2..e9c50e91 100644 --- a/matchmake-referee/types/matchmake_referee_stats_init_param.go +++ b/matchmake-referee/types/matchmake_referee_stats_init_param.go @@ -94,6 +94,20 @@ func (mrsip MatchmakeRefereeStatsInitParam) Equals(o types.RVType) bool { return mrsip.InitialRatingValue.Equals(other.InitialRatingValue) } +// CopyRef copies the current value of the MatchmakeRefereeStatsInitParam +// and returns a pointer to the new copy +func (mrsip MatchmakeRefereeStatsInitParam) CopyRef() types.RVTypePtr { + copied := mrsip.Copy().(MatchmakeRefereeStatsInitParam) + return &copied +} + +// Deref takes a pointer to the MatchmakeRefereeStatsInitParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mrsip *MatchmakeRefereeStatsInitParam) Deref() types.RVType { + return *mrsip +} + // String returns the string representation of the MatchmakeRefereeStatsInitParam func (mrsip MatchmakeRefereeStatsInitParam) String() string { return mrsip.FormatToString(0) diff --git a/matchmake-referee/types/matchmake_referee_stats_target.go b/matchmake-referee/types/matchmake_referee_stats_target.go index 69d358eb..86f96365 100644 --- a/matchmake-referee/types/matchmake_referee_stats_target.go +++ b/matchmake-referee/types/matchmake_referee_stats_target.go @@ -94,6 +94,20 @@ func (mrst MatchmakeRefereeStatsTarget) Equals(o types.RVType) bool { return mrst.Category.Equals(other.Category) } +// CopyRef copies the current value of the MatchmakeRefereeStatsTarget +// and returns a pointer to the new copy +func (mrst MatchmakeRefereeStatsTarget) CopyRef() types.RVTypePtr { + copied := mrst.Copy().(MatchmakeRefereeStatsTarget) + return &copied +} + +// Deref takes a pointer to the MatchmakeRefereeStatsTarget +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mrst *MatchmakeRefereeStatsTarget) Deref() types.RVType { + return *mrst +} + // String returns the string representation of the MatchmakeRefereeStatsTarget func (mrst MatchmakeRefereeStatsTarget) String() string { return mrst.FormatToString(0) diff --git a/messaging/types/binary_message.go b/messaging/types/binary_message.go index df812994..881e210f 100644 --- a/messaging/types/binary_message.go +++ b/messaging/types/binary_message.go @@ -82,6 +82,20 @@ func (bm BinaryMessage) Equals(o types.RVType) bool { return bm.BinaryBody.Equals(other.BinaryBody) } +// CopyRef copies the current value of the BinaryMessage +// and returns a pointer to the new copy +func (bm BinaryMessage) CopyRef() types.RVTypePtr { + copied := bm.Copy().(BinaryMessage) + return &copied +} + +// Deref takes a pointer to the BinaryMessage +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (bm *BinaryMessage) Deref() types.RVType { + return *bm +} + // String returns the string representation of the BinaryMessage func (bm BinaryMessage) String() string { return bm.FormatToString(0) diff --git a/messaging/types/message_recipient.go b/messaging/types/message_recipient.go index 53e1c67c..583886c3 100644 --- a/messaging/types/message_recipient.go +++ b/messaging/types/message_recipient.go @@ -93,6 +93,20 @@ func (mr MessageRecipient) Equals(o types.RVType) bool { return mr.GatheringID.Equals(other.GatheringID) } +// CopyRef copies the current value of the MessageRecipient +// and returns a pointer to the new copy +func (mr MessageRecipient) CopyRef() types.RVTypePtr { + copied := mr.Copy().(MessageRecipient) + return &copied +} + +// Deref takes a pointer to the MessageRecipient +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (mr *MessageRecipient) Deref() types.RVType { + return *mr +} + // String returns the string representation of the MessageRecipient func (mr MessageRecipient) String() string { return mr.FormatToString(0) diff --git a/messaging/types/text_message.go b/messaging/types/text_message.go index 505dda04..5eecab9d 100644 --- a/messaging/types/text_message.go +++ b/messaging/types/text_message.go @@ -82,6 +82,20 @@ func (tm TextMessage) Equals(o types.RVType) bool { return tm.StrTextBody.Equals(other.StrTextBody) } +// CopyRef copies the current value of the TextMessage +// and returns a pointer to the new copy +func (tm TextMessage) CopyRef() types.RVTypePtr { + copied := tm.Copy().(TextMessage) + return &copied +} + +// Deref takes a pointer to the TextMessage +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (tm *TextMessage) Deref() types.RVType { + return *tm +} + // String returns the string representation of the TextMessage func (tm TextMessage) String() string { return tm.FormatToString(0) diff --git a/messaging/types/user_message.go b/messaging/types/user_message.go index 4a73156b..8c3cdec0 100644 --- a/messaging/types/user_message.go +++ b/messaging/types/user_message.go @@ -178,6 +178,20 @@ func (um UserMessage) Equals(o types.RVType) bool { return um.MessageRecipient.Equals(other.MessageRecipient) } +// CopyRef copies the current value of the UserMessage +// and returns a pointer to the new copy +func (um UserMessage) CopyRef() types.RVTypePtr { + copied := um.Copy().(UserMessage) + return &copied +} + +// Deref takes a pointer to the UserMessage +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (um *UserMessage) Deref() types.RVType { + return *um +} + // String returns the string representation of the UserMessage func (um UserMessage) String() string { return um.FormatToString(0) diff --git a/nintendo-notifications/types/nintendo_notification_event.go b/nintendo-notifications/types/nintendo_notification_event.go index 43f786da..56733f83 100644 --- a/nintendo-notifications/types/nintendo_notification_event.go +++ b/nintendo-notifications/types/nintendo_notification_event.go @@ -93,6 +93,20 @@ func (nne NintendoNotificationEvent) Equals(o types.RVType) bool { return nne.DataHolder.Equals(other.DataHolder) } +// CopyRef copies the current value of the NintendoNotificationEvent +// and returns a pointer to the new copy +func (nne NintendoNotificationEvent) CopyRef() types.RVTypePtr { + copied := nne.Copy().(NintendoNotificationEvent) + return &copied +} + +// Deref takes a pointer to the NintendoNotificationEvent +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (nne *NintendoNotificationEvent) Deref() types.RVType { + return *nne +} + // String returns the string representation of the NintendoNotificationEvent func (nne NintendoNotificationEvent) String() string { return nne.FormatToString(0) diff --git a/nintendo-notifications/types/nintendo_notification_event_general.go b/nintendo-notifications/types/nintendo_notification_event_general.go index 4d72b13a..bf3a68be 100644 --- a/nintendo-notifications/types/nintendo_notification_event_general.go +++ b/nintendo-notifications/types/nintendo_notification_event_general.go @@ -105,6 +105,20 @@ func (nneg NintendoNotificationEventGeneral) Equals(o types.RVType) bool { return nneg.StrParam.Equals(other.StrParam) } +// CopyRef copies the current value of the NintendoNotificationEventGeneral +// and returns a pointer to the new copy +func (nneg NintendoNotificationEventGeneral) CopyRef() types.RVTypePtr { + copied := nneg.Copy().(NintendoNotificationEventGeneral) + return &copied +} + +// Deref takes a pointer to the NintendoNotificationEventGeneral +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (nneg *NintendoNotificationEventGeneral) Deref() types.RVType { + return *nneg +} + // String returns the string representation of the NintendoNotificationEventGeneral func (nneg NintendoNotificationEventGeneral) String() string { return nneg.FormatToString(0) diff --git a/notifications/types/notification_event.go b/notifications/types/notification_event.go index c12d1ca6..78ee8569 100644 --- a/notifications/types/notification_event.go +++ b/notifications/types/notification_event.go @@ -129,6 +129,20 @@ func (ne NotificationEvent) Equals(o types.RVType) bool { return ne.Param3.Equals(other.Param3) } +// CopyRef copies the current value of the NotificationEvent +// and returns a pointer to the new copy +func (ne NotificationEvent) CopyRef() types.RVTypePtr { + copied := ne.Copy().(NotificationEvent) + return &copied +} + +// Deref takes a pointer to the NotificationEvent +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ne *NotificationEvent) Deref() types.RVType { + return *ne +} + // String returns the string representation of the NotificationEvent func (ne NotificationEvent) String() string { return ne.FormatToString(0) diff --git a/ranking/mario-kart-8/types/competition_ranking_info.go b/ranking/mario-kart-8/types/competition_ranking_info.go index c968afae..d772bec8 100644 --- a/ranking/mario-kart-8/types/competition_ranking_info.go +++ b/ranking/mario-kart-8/types/competition_ranking_info.go @@ -93,6 +93,20 @@ func (cri CompetitionRankingInfo) Equals(o types.RVType) bool { return cri.Unknown3.Equals(other.Unknown3) } +// CopyRef copies the current value of the CompetitionRankingInfo +// and returns a pointer to the new copy +func (cri CompetitionRankingInfo) CopyRef() types.RVTypePtr { + copied := cri.Copy().(CompetitionRankingInfo) + return &copied +} + +// Deref takes a pointer to the CompetitionRankingInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (cri *CompetitionRankingInfo) Deref() types.RVType { + return *cri +} + // String returns the string representation of the CompetitionRankingInfo func (cri CompetitionRankingInfo) String() string { return cri.FormatToString(0) diff --git a/ranking/mario-kart-8/types/competition_ranking_info_get_param.go b/ranking/mario-kart-8/types/competition_ranking_info_get_param.go index 7193b5b4..fbde4c6d 100644 --- a/ranking/mario-kart-8/types/competition_ranking_info_get_param.go +++ b/ranking/mario-kart-8/types/competition_ranking_info_get_param.go @@ -81,6 +81,20 @@ func (crigp CompetitionRankingInfoGetParam) Equals(o types.RVType) bool { return crigp.Result.Equals(other.Result) } +// CopyRef copies the current value of the CompetitionRankingInfoGetParam +// and returns a pointer to the new copy +func (crigp CompetitionRankingInfoGetParam) CopyRef() types.RVTypePtr { + copied := crigp.Copy().(CompetitionRankingInfoGetParam) + return &copied +} + +// Deref takes a pointer to the CompetitionRankingInfoGetParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (crigp *CompetitionRankingInfoGetParam) Deref() types.RVType { + return *crigp +} + // String returns the string representation of the CompetitionRankingInfoGetParam func (crigp CompetitionRankingInfoGetParam) String() string { return crigp.FormatToString(0) diff --git a/ranking/mario-kart-8/types/competition_ranking_upload_score_param.go b/ranking/mario-kart-8/types/competition_ranking_upload_score_param.go index c31e95b4..e0bcb708 100644 --- a/ranking/mario-kart-8/types/competition_ranking_upload_score_param.go +++ b/ranking/mario-kart-8/types/competition_ranking_upload_score_param.go @@ -153,6 +153,20 @@ func (crusp CompetitionRankingUploadScoreParam) Equals(o types.RVType) bool { return crusp.Metadata.Equals(other.Metadata) } +// CopyRef copies the current value of the CompetitionRankingUploadScoreParam +// and returns a pointer to the new copy +func (crusp CompetitionRankingUploadScoreParam) CopyRef() types.RVTypePtr { + copied := crusp.Copy().(CompetitionRankingUploadScoreParam) + return &copied +} + +// Deref takes a pointer to the CompetitionRankingUploadScoreParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (crusp *CompetitionRankingUploadScoreParam) Deref() types.RVType { + return *crusp +} + // String returns the string representation of the CompetitionRankingUploadScoreParam func (crusp CompetitionRankingUploadScoreParam) String() string { return crusp.FormatToString(0) diff --git a/ranking/types/ranking_cached_result.go b/ranking/types/ranking_cached_result.go index 87d76c5d..cefb6e39 100644 --- a/ranking/types/ranking_cached_result.go +++ b/ranking/types/ranking_cached_result.go @@ -106,6 +106,20 @@ func (rcr RankingCachedResult) Equals(o types.RVType) bool { return rcr.MaxLength.Equals(other.MaxLength) } +// CopyRef copies the current value of the RankingCachedResult +// and returns a pointer to the new copy +func (rcr RankingCachedResult) CopyRef() types.RVTypePtr { + copied := rcr.Copy().(RankingCachedResult) + return &copied +} + +// Deref takes a pointer to the RankingCachedResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rcr *RankingCachedResult) Deref() types.RVType { + return *rcr +} + // String returns the string representation of the RankingCachedResult func (rcr RankingCachedResult) String() string { return rcr.FormatToString(0) diff --git a/ranking/types/ranking_change_attributes_param.go b/ranking/types/ranking_change_attributes_param.go index 645d386a..9090df97 100644 --- a/ranking/types/ranking_change_attributes_param.go +++ b/ranking/types/ranking_change_attributes_param.go @@ -93,6 +93,20 @@ func (rcap RankingChangeAttributesParam) Equals(o types.RVType) bool { return rcap.Param.Equals(other.Param) } +// CopyRef copies the current value of the RankingChangeAttributesParam +// and returns a pointer to the new copy +func (rcap RankingChangeAttributesParam) CopyRef() types.RVTypePtr { + copied := rcap.Copy().(RankingChangeAttributesParam) + return &copied +} + +// Deref takes a pointer to the RankingChangeAttributesParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rcap *RankingChangeAttributesParam) Deref() types.RVType { + return *rcap +} + // String returns the string representation of the RankingChangeAttributesParam func (rcap RankingChangeAttributesParam) String() string { return rcap.FormatToString(0) diff --git a/ranking/types/ranking_order_param.go b/ranking/types/ranking_order_param.go index d5f4d8bd..e29ee0fd 100644 --- a/ranking/types/ranking_order_param.go +++ b/ranking/types/ranking_order_param.go @@ -129,6 +129,20 @@ func (rop RankingOrderParam) Equals(o types.RVType) bool { return rop.Length.Equals(other.Length) } +// CopyRef copies the current value of the RankingOrderParam +// and returns a pointer to the new copy +func (rop RankingOrderParam) CopyRef() types.RVTypePtr { + copied := rop.Copy().(RankingOrderParam) + return &copied +} + +// Deref takes a pointer to the RankingOrderParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rop *RankingOrderParam) Deref() types.RVType { + return *rop +} + // String returns the string representation of the RankingOrderParam func (rop RankingOrderParam) String() string { return rop.FormatToString(0) diff --git a/ranking/types/ranking_rank_data.go b/ranking/types/ranking_rank_data.go index b8ea6958..a0615091 100644 --- a/ranking/types/ranking_rank_data.go +++ b/ranking/types/ranking_rank_data.go @@ -177,6 +177,20 @@ func (rrd RankingRankData) Equals(o types.RVType) bool { return rrd.UpdateTime.Equals(other.UpdateTime) } +// CopyRef copies the current value of the RankingRankData +// and returns a pointer to the new copy +func (rrd RankingRankData) CopyRef() types.RVTypePtr { + copied := rrd.Copy().(RankingRankData) + return &copied +} + +// Deref takes a pointer to the RankingRankData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rrd *RankingRankData) Deref() types.RVType { + return *rrd +} + // String returns the string representation of the RankingRankData func (rrd RankingRankData) String() string { return rrd.FormatToString(0) diff --git a/ranking/types/ranking_result.go b/ranking/types/ranking_result.go index 4f74cef7..3b0fa552 100644 --- a/ranking/types/ranking_result.go +++ b/ranking/types/ranking_result.go @@ -93,6 +93,20 @@ func (rr RankingResult) Equals(o types.RVType) bool { return rr.SinceTime.Equals(other.SinceTime) } +// CopyRef copies the current value of the RankingResult +// and returns a pointer to the new copy +func (rr RankingResult) CopyRef() types.RVTypePtr { + copied := rr.Copy().(RankingResult) + return &copied +} + +// Deref takes a pointer to the RankingResult +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rr *RankingResult) Deref() types.RVType { + return *rr +} + // String returns the string representation of the RankingResult func (rr RankingResult) String() string { return rr.FormatToString(0) diff --git a/ranking/types/ranking_score_data.go b/ranking/types/ranking_score_data.go index 44dbff9a..2f491f07 100644 --- a/ranking/types/ranking_score_data.go +++ b/ranking/types/ranking_score_data.go @@ -129,6 +129,20 @@ func (rsd RankingScoreData) Equals(o types.RVType) bool { return rsd.Param.Equals(other.Param) } +// CopyRef copies the current value of the RankingScoreData +// and returns a pointer to the new copy +func (rsd RankingScoreData) CopyRef() types.RVTypePtr { + copied := rsd.Copy().(RankingScoreData) + return &copied +} + +// Deref takes a pointer to the RankingScoreData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rsd *RankingScoreData) Deref() types.RVType { + return *rsd +} + // String returns the string representation of the RankingScoreData func (rsd RankingScoreData) String() string { return rsd.FormatToString(0) diff --git a/ranking/types/ranking_stats.go b/ranking/types/ranking_stats.go index 6c15c8f8..942853cc 100644 --- a/ranking/types/ranking_stats.go +++ b/ranking/types/ranking_stats.go @@ -69,6 +69,20 @@ func (rs RankingStats) Equals(o types.RVType) bool { return rs.StatsList.Equals(other.StatsList) } +// CopyRef copies the current value of the RankingStats +// and returns a pointer to the new copy +func (rs RankingStats) CopyRef() types.RVTypePtr { + copied := rs.Copy().(RankingStats) + return &copied +} + +// Deref takes a pointer to the RankingStats +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rs *RankingStats) Deref() types.RVType { + return *rs +} + // String returns the string representation of the RankingStats func (rs RankingStats) String() string { return rs.FormatToString(0) diff --git a/ranking2/types/ranking2_category_setting.go b/ranking2/types/ranking2_category_setting.go index 203beec6..eeaf0ce4 100644 --- a/ranking2/types/ranking2_category_setting.go +++ b/ranking2/types/ranking2_category_setting.go @@ -165,6 +165,20 @@ func (rcs Ranking2CategorySetting) Equals(o types.RVType) bool { return rcs.ScoreOrder.Equals(other.ScoreOrder) } +// CopyRef copies the current value of the Ranking2CategorySetting +// and returns a pointer to the new copy +func (rcs Ranking2CategorySetting) CopyRef() types.RVTypePtr { + copied := rcs.Copy().(Ranking2CategorySetting) + return &copied +} + +// Deref takes a pointer to the Ranking2CategorySetting +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rcs *Ranking2CategorySetting) Deref() types.RVType { + return *rcs +} + // String returns the string representation of the Ranking2CategorySetting func (rcs Ranking2CategorySetting) String() string { return rcs.FormatToString(0) diff --git a/ranking2/types/ranking2_chart_info.go b/ranking2/types/ranking2_chart_info.go index 2bd2a208..983cb6da 100644 --- a/ranking2/types/ranking2_chart_info.go +++ b/ranking2/types/ranking2_chart_info.go @@ -273,6 +273,20 @@ func (rci Ranking2ChartInfo) Equals(o types.RVType) bool { return rci.Quantities.Equals(other.Quantities) } +// CopyRef copies the current value of the Ranking2ChartInfo +// and returns a pointer to the new copy +func (rci Ranking2ChartInfo) CopyRef() types.RVTypePtr { + copied := rci.Copy().(Ranking2ChartInfo) + return &copied +} + +// Deref takes a pointer to the Ranking2ChartInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rci *Ranking2ChartInfo) Deref() types.RVType { + return *rci +} + // String returns the string representation of the Ranking2ChartInfo func (rci Ranking2ChartInfo) String() string { return rci.FormatToString(0) diff --git a/ranking2/types/ranking2_chart_info_input.go b/ranking2/types/ranking2_chart_info_input.go index 4c79bcb5..ac485dc7 100644 --- a/ranking2/types/ranking2_chart_info_input.go +++ b/ranking2/types/ranking2_chart_info_input.go @@ -81,6 +81,20 @@ func (rcii Ranking2ChartInfoInput) Equals(o types.RVType) bool { return rcii.NumSeasonsToGoBack.Equals(other.NumSeasonsToGoBack) } +// CopyRef copies the current value of the Ranking2ChartInfoInput +// and returns a pointer to the new copy +func (rcii Ranking2ChartInfoInput) CopyRef() types.RVTypePtr { + copied := rcii.Copy().(Ranking2ChartInfoInput) + return &copied +} + +// Deref takes a pointer to the Ranking2ChartInfoInput +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rcii *Ranking2ChartInfoInput) Deref() types.RVType { + return *rcii +} + // String returns the string representation of the Ranking2ChartInfoInput func (rcii Ranking2ChartInfoInput) String() string { return rcii.FormatToString(0) diff --git a/ranking2/types/ranking2_common_data.go b/ranking2/types/ranking2_common_data.go index 56466233..3e14cc0a 100644 --- a/ranking2/types/ranking2_common_data.go +++ b/ranking2/types/ranking2_common_data.go @@ -93,6 +93,20 @@ func (rcd Ranking2CommonData) Equals(o types.RVType) bool { return rcd.BinaryData.Equals(other.BinaryData) } +// CopyRef copies the current value of the Ranking2CommonData +// and returns a pointer to the new copy +func (rcd Ranking2CommonData) CopyRef() types.RVTypePtr { + copied := rcd.Copy().(Ranking2CommonData) + return &copied +} + +// Deref takes a pointer to the Ranking2CommonData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rcd *Ranking2CommonData) Deref() types.RVType { + return *rcd +} + // String returns the string representation of the Ranking2CommonData func (rcd Ranking2CommonData) String() string { return rcd.FormatToString(0) diff --git a/ranking2/types/ranking2_estimate_score_rank_input.go b/ranking2/types/ranking2_estimate_score_rank_input.go index 90de9914..20830f7d 100644 --- a/ranking2/types/ranking2_estimate_score_rank_input.go +++ b/ranking2/types/ranking2_estimate_score_rank_input.go @@ -93,6 +93,20 @@ func (resri Ranking2EstimateScoreRankInput) Equals(o types.RVType) bool { return resri.Score.Equals(other.Score) } +// CopyRef copies the current value of the Ranking2EstimateScoreRankInput +// and returns a pointer to the new copy +func (resri Ranking2EstimateScoreRankInput) CopyRef() types.RVTypePtr { + copied := resri.Copy().(Ranking2EstimateScoreRankInput) + return &copied +} + +// Deref takes a pointer to the Ranking2EstimateScoreRankInput +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (resri *Ranking2EstimateScoreRankInput) Deref() types.RVType { + return *resri +} + // String returns the string representation of the Ranking2EstimateScoreRankInput func (resri Ranking2EstimateScoreRankInput) String() string { return resri.FormatToString(0) diff --git a/ranking2/types/ranking2_estimate_score_rank_output.go b/ranking2/types/ranking2_estimate_score_rank_output.go index f04cd046..2a8e71f6 100644 --- a/ranking2/types/ranking2_estimate_score_rank_output.go +++ b/ranking2/types/ranking2_estimate_score_rank_output.go @@ -129,6 +129,20 @@ func (resro Ranking2EstimateScoreRankOutput) Equals(o types.RVType) bool { return resro.SamplingRate.Equals(other.SamplingRate) } +// CopyRef copies the current value of the Ranking2EstimateScoreRankOutput +// and returns a pointer to the new copy +func (resro Ranking2EstimateScoreRankOutput) CopyRef() types.RVTypePtr { + copied := resro.Copy().(Ranking2EstimateScoreRankOutput) + return &copied +} + +// Deref takes a pointer to the Ranking2EstimateScoreRankOutput +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (resro *Ranking2EstimateScoreRankOutput) Deref() types.RVType { + return *resro +} + // String returns the string representation of the Ranking2EstimateScoreRankOutput func (resro Ranking2EstimateScoreRankOutput) String() string { return resro.FormatToString(0) diff --git a/ranking2/types/ranking2_get_by_list_param.go b/ranking2/types/ranking2_get_by_list_param.go index f04b4fe0..8688efd5 100644 --- a/ranking2/types/ranking2_get_by_list_param.go +++ b/ranking2/types/ranking2_get_by_list_param.go @@ -129,6 +129,20 @@ func (rgblp Ranking2GetByListParam) Equals(o types.RVType) bool { return rgblp.NumSeasonsToGoBack.Equals(other.NumSeasonsToGoBack) } +// CopyRef copies the current value of the Ranking2GetByListParam +// and returns a pointer to the new copy +func (rgblp Ranking2GetByListParam) CopyRef() types.RVTypePtr { + copied := rgblp.Copy().(Ranking2GetByListParam) + return &copied +} + +// Deref takes a pointer to the Ranking2GetByListParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rgblp *Ranking2GetByListParam) Deref() types.RVType { + return *rgblp +} + // String returns the string representation of the Ranking2GetByListParam func (rgblp Ranking2GetByListParam) String() string { return rgblp.FormatToString(0) diff --git a/ranking2/types/ranking2_get_param.go b/ranking2/types/ranking2_get_param.go index 92022714..ff025c35 100644 --- a/ranking2/types/ranking2_get_param.go +++ b/ranking2/types/ranking2_get_param.go @@ -165,6 +165,20 @@ func (rgp Ranking2GetParam) Equals(o types.RVType) bool { return rgp.NumSeasonsToGoBack.Equals(other.NumSeasonsToGoBack) } +// CopyRef copies the current value of the Ranking2GetParam +// and returns a pointer to the new copy +func (rgp Ranking2GetParam) CopyRef() types.RVTypePtr { + copied := rgp.Copy().(Ranking2GetParam) + return &copied +} + +// Deref takes a pointer to the Ranking2GetParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rgp *Ranking2GetParam) Deref() types.RVType { + return *rgp +} + // String returns the string representation of the Ranking2GetParam func (rgp Ranking2GetParam) String() string { return rgp.FormatToString(0) diff --git a/ranking2/types/ranking2_info.go b/ranking2/types/ranking2_info.go index 2f614978..44124371 100644 --- a/ranking2/types/ranking2_info.go +++ b/ranking2/types/ranking2_info.go @@ -105,6 +105,20 @@ func (ri Ranking2Info) Equals(o types.RVType) bool { return ri.Season.Equals(other.Season) } +// CopyRef copies the current value of the Ranking2Info +// and returns a pointer to the new copy +func (ri Ranking2Info) CopyRef() types.RVTypePtr { + copied := ri.Copy().(Ranking2Info) + return &copied +} + +// Deref takes a pointer to the Ranking2Info +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ri *Ranking2Info) Deref() types.RVType { + return *ri +} + // String returns the string representation of the Ranking2Info func (ri Ranking2Info) String() string { return ri.FormatToString(0) diff --git a/ranking2/types/ranking2_rank_data.go b/ranking2/types/ranking2_rank_data.go index 46a63e67..996b0a78 100644 --- a/ranking2/types/ranking2_rank_data.go +++ b/ranking2/types/ranking2_rank_data.go @@ -129,6 +129,20 @@ func (rrd Ranking2RankData) Equals(o types.RVType) bool { return rrd.CommonData.Equals(other.CommonData) } +// CopyRef copies the current value of the Ranking2RankData +// and returns a pointer to the new copy +func (rrd Ranking2RankData) CopyRef() types.RVTypePtr { + copied := rrd.Copy().(Ranking2RankData) + return &copied +} + +// Deref takes a pointer to the Ranking2RankData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rrd *Ranking2RankData) Deref() types.RVType { + return *rrd +} + // String returns the string representation of the Ranking2RankData func (rrd Ranking2RankData) String() string { return rrd.FormatToString(0) diff --git a/ranking2/types/ranking2_score_data.go b/ranking2/types/ranking2_score_data.go index 69de4f15..9c987d8d 100644 --- a/ranking2/types/ranking2_score_data.go +++ b/ranking2/types/ranking2_score_data.go @@ -93,6 +93,20 @@ func (rsd Ranking2ScoreData) Equals(o types.RVType) bool { return rsd.Score.Equals(other.Score) } +// CopyRef copies the current value of the Ranking2ScoreData +// and returns a pointer to the new copy +func (rsd Ranking2ScoreData) CopyRef() types.RVTypePtr { + copied := rsd.Copy().(Ranking2ScoreData) + return &copied +} + +// Deref takes a pointer to the Ranking2ScoreData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (rsd *Ranking2ScoreData) Deref() types.RVType { + return *rsd +} + // String returns the string representation of the Ranking2ScoreData func (rsd Ranking2ScoreData) String() string { return rsd.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_account_right.go b/service-item/team-kirby-clash-deluxe/types/service_item_account_right.go index 5540aeb8..bff63b5d 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_account_right.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_account_right.go @@ -93,6 +93,20 @@ func (siar ServiceItemAccountRight) Equals(o types.RVType) bool { return siar.RightBinaries.Equals(other.RightBinaries) } +// CopyRef copies the current value of the ServiceItemAccountRight +// and returns a pointer to the new copy +func (siar ServiceItemAccountRight) CopyRef() types.RVTypePtr { + copied := siar.Copy().(ServiceItemAccountRight) + return &copied +} + +// Deref takes a pointer to the ServiceItemAccountRight +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siar *ServiceItemAccountRight) Deref() types.RVType { + return *siar +} + // String returns the string representation of the ServiceItemAccountRight func (siar ServiceItemAccountRight) String() string { return siar.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_account_right_consumption.go b/service-item/team-kirby-clash-deluxe/types/service_item_account_right_consumption.go index fd142186..1d4d7b90 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_account_right_consumption.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_account_right_consumption.go @@ -106,6 +106,20 @@ func (siarc ServiceItemAccountRightConsumption) Equals(o types.RVType) bool { return siarc.ExpiryCounts.Equals(other.ExpiryCounts) } +// CopyRef copies the current value of the ServiceItemAccountRightConsumption +// and returns a pointer to the new copy +func (siarc ServiceItemAccountRightConsumption) CopyRef() types.RVTypePtr { + copied := siarc.Copy().(ServiceItemAccountRightConsumption) + return &copied +} + +// Deref takes a pointer to the ServiceItemAccountRightConsumption +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siarc *ServiceItemAccountRightConsumption) Deref() types.RVType { + return *siarc +} + // String returns the string representation of the ServiceItemAccountRightConsumption func (siarc ServiceItemAccountRightConsumption) String() string { return siarc.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_account_right_time.go b/service-item/team-kirby-clash-deluxe/types/service_item_account_right_time.go index 8ae20ef9..a3c610f7 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_account_right_time.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_account_right_time.go @@ -73,6 +73,20 @@ func (siart ServiceItemAccountRightTime) Equals(o types.RVType) bool { return true } +// CopyRef copies the current value of the ServiceItemAccountRightTime +// and returns a pointer to the new copy +func (siart ServiceItemAccountRightTime) CopyRef() types.RVTypePtr { + copied := siart.Copy().(ServiceItemAccountRightTime) + return &copied +} + +// Deref takes a pointer to the ServiceItemAccountRightTime +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siart *ServiceItemAccountRightTime) Deref() types.RVType { + return *siart +} + // String returns the string representation of the ServiceItemAccountRightTime func (siart ServiceItemAccountRightTime) String() string { return siart.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_acquire_service_item_by_account_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_acquire_service_item_by_account_param.go index 604a6331..a4d99bce 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_acquire_service_item_by_account_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_acquire_service_item_by_account_param.go @@ -165,6 +165,20 @@ func (siasibap ServiceItemAcquireServiceItemByAccountParam) Equals(o types.RVTyp return siasibap.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemAcquireServiceItemByAccountParam +// and returns a pointer to the new copy +func (siasibap ServiceItemAcquireServiceItemByAccountParam) CopyRef() types.RVTypePtr { + copied := siasibap.Copy().(ServiceItemAcquireServiceItemByAccountParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemAcquireServiceItemByAccountParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siasibap *ServiceItemAcquireServiceItemByAccountParam) Deref() types.RVType { + return *siasibap +} + // String returns the string representation of the ServiceItemAcquireServiceItemByAccountParam func (siasibap ServiceItemAcquireServiceItemByAccountParam) String() string { return siasibap.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_acquire_service_item_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_acquire_service_item_response.go index eb83e2e4..8677a166 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_acquire_service_item_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_acquire_service_item_response.go @@ -129,6 +129,20 @@ func (siasir ServiceItemAcquireServiceItemResponse) Equals(o types.RVType) bool return siasir.ExpiryCounts.Equals(other.ExpiryCounts) } +// CopyRef copies the current value of the ServiceItemAcquireServiceItemResponse +// and returns a pointer to the new copy +func (siasir ServiceItemAcquireServiceItemResponse) CopyRef() types.RVTypePtr { + copied := siasir.Copy().(ServiceItemAcquireServiceItemResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemAcquireServiceItemResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siasir *ServiceItemAcquireServiceItemResponse) Deref() types.RVType { + return *siasir +} + // String returns the string representation of the ServiceItemAcquireServiceItemResponse func (siasir ServiceItemAcquireServiceItemResponse) String() string { return siasir.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_amount.go b/service-item/team-kirby-clash-deluxe/types/service_item_amount.go index f3b85c28..4adc025d 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_amount.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_amount.go @@ -93,6 +93,20 @@ func (sia ServiceItemAmount) Equals(o types.RVType) bool { return sia.RawValue.Equals(other.RawValue) } +// CopyRef copies the current value of the ServiceItemAmount +// and returns a pointer to the new copy +func (sia ServiceItemAmount) CopyRef() types.RVTypePtr { + copied := sia.Copy().(ServiceItemAmount) + return &copied +} + +// Deref takes a pointer to the ServiceItemAmount +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sia *ServiceItemAmount) Deref() types.RVType { + return *sia +} + // String returns the string representation of the ServiceItemAmount func (sia ServiceItemAmount) String() string { return sia.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_attribute.go b/service-item/team-kirby-clash-deluxe/types/service_item_attribute.go index 71e842a0..f155580b 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_attribute.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_attribute.go @@ -81,6 +81,20 @@ func (sia ServiceItemAttribute) Equals(o types.RVType) bool { return sia.Value.Equals(other.Value) } +// CopyRef copies the current value of the ServiceItemAttribute +// and returns a pointer to the new copy +func (sia ServiceItemAttribute) CopyRef() types.RVTypePtr { + copied := sia.Copy().(ServiceItemAttribute) + return &copied +} + +// Deref takes a pointer to the ServiceItemAttribute +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sia *ServiceItemAttribute) Deref() types.RVType { + return *sia +} + // String returns the string representation of the ServiceItemAttribute func (sia ServiceItemAttribute) String() string { return sia.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_catalog.go b/service-item/team-kirby-clash-deluxe/types/service_item_catalog.go index 4a077449..7d3e92da 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_catalog.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_catalog.go @@ -117,6 +117,20 @@ func (sic ServiceItemCatalog) Equals(o types.RVType) bool { return sic.Balance.Equals(other.Balance) } +// CopyRef copies the current value of the ServiceItemCatalog +// and returns a pointer to the new copy +func (sic ServiceItemCatalog) CopyRef() types.RVTypePtr { + copied := sic.Copy().(ServiceItemCatalog) + return &copied +} + +// Deref takes a pointer to the ServiceItemCatalog +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sic *ServiceItemCatalog) Deref() types.RVType { + return *sic +} + // String returns the string representation of the ServiceItemCatalog func (sic ServiceItemCatalog) String() string { return sic.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_eshop_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_eshop_response.go index 377c675e..62cf67ae 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_eshop_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_eshop_response.go @@ -93,6 +93,20 @@ func (siesr ServiceItemEShopResponse) Equals(o types.RVType) bool { return siesr.CorrelationID.Equals(other.CorrelationID) } +// CopyRef copies the current value of the ServiceItemEShopResponse +// and returns a pointer to the new copy +func (siesr ServiceItemEShopResponse) CopyRef() types.RVTypePtr { + copied := siesr.Copy().(ServiceItemEShopResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemEShopResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siesr *ServiceItemEShopResponse) Deref() types.RVType { + return *siesr +} + // String returns the string representation of the ServiceItemEShopResponse func (siesr ServiceItemEShopResponse) String() string { return siesr.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_balance_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_balance_param.go index 2dbc3120..95e117a9 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_balance_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_balance_param.go @@ -98,6 +98,20 @@ func (sigbp ServiceItemGetBalanceParam) Equals(o types.RVType) bool { return sigbp.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemGetBalanceParam +// and returns a pointer to the new copy +func (sigbp ServiceItemGetBalanceParam) CopyRef() types.RVTypePtr { + copied := sigbp.Copy().(ServiceItemGetBalanceParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetBalanceParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigbp *ServiceItemGetBalanceParam) Deref() types.RVType { + return *sigbp +} + // String returns the string representation of the ServiceItemGetBalanceParam func (sigbp ServiceItemGetBalanceParam) String() string { return sigbp.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_balance_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_balance_response.go index db5cd8e2..5acc8ff2 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_balance_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_balance_response.go @@ -82,6 +82,20 @@ func (sigbr ServiceItemGetBalanceResponse) Equals(o types.RVType) bool { return sigbr.NullableBalance.Equals(other.NullableBalance) } +// CopyRef copies the current value of the ServiceItemGetBalanceResponse +// and returns a pointer to the new copy +func (sigbr ServiceItemGetBalanceResponse) CopyRef() types.RVTypePtr { + copied := sigbr.Copy().(ServiceItemGetBalanceResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetBalanceResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigbr *ServiceItemGetBalanceResponse) Deref() types.RVType { + return *sigbr +} + // String returns the string representation of the ServiceItemGetBalanceResponse func (sigbr ServiceItemGetBalanceResponse) String() string { return sigbr.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_law_message_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_law_message_param.go index 03af27a6..aab18747 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_law_message_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_law_message_param.go @@ -98,6 +98,20 @@ func (siglmp ServiceItemGetLawMessageParam) Equals(o types.RVType) bool { return siglmp.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemGetLawMessageParam +// and returns a pointer to the new copy +func (siglmp ServiceItemGetLawMessageParam) CopyRef() types.RVTypePtr { + copied := siglmp.Copy().(ServiceItemGetLawMessageParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetLawMessageParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siglmp *ServiceItemGetLawMessageParam) Deref() types.RVType { + return *siglmp +} + // String returns the string representation of the ServiceItemGetLawMessageParam func (siglmp ServiceItemGetLawMessageParam) String() string { return siglmp.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_law_message_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_law_message_response.go index 659b0631..c09038ba 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_law_message_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_law_message_response.go @@ -82,6 +82,20 @@ func (siglmr ServiceItemGetLawMessageResponse) Equals(o types.RVType) bool { return siglmr.NullableLawMessage.Equals(other.NullableLawMessage) } +// CopyRef copies the current value of the ServiceItemGetLawMessageResponse +// and returns a pointer to the new copy +func (siglmr ServiceItemGetLawMessageResponse) CopyRef() types.RVTypePtr { + copied := siglmr.Copy().(ServiceItemGetLawMessageResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetLawMessageResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siglmr *ServiceItemGetLawMessageResponse) Deref() types.RVType { + return *siglmr +} + // String returns the string representation of the ServiceItemGetLawMessageResponse func (siglmr ServiceItemGetLawMessageResponse) String() string { return siglmr.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_notice_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_notice_param.go index f54ba397..b0ef02f6 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_notice_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_notice_param.go @@ -69,6 +69,20 @@ func (signp ServiceItemGetNoticeParam) Equals(o types.RVType) bool { return signp.ScheduleType.Equals(other.ScheduleType) } +// CopyRef copies the current value of the ServiceItemGetNoticeParam +// and returns a pointer to the new copy +func (signp ServiceItemGetNoticeParam) CopyRef() types.RVTypePtr { + copied := signp.Copy().(ServiceItemGetNoticeParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetNoticeParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (signp *ServiceItemGetNoticeParam) Deref() types.RVType { + return *signp +} + // String returns the string representation of the ServiceItemGetNoticeParam func (signp ServiceItemGetNoticeParam) String() string { return signp.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_prepurchase_info_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_prepurchase_info_param.go index 099abf25..458bc4c5 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_prepurchase_info_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_prepurchase_info_param.go @@ -117,6 +117,20 @@ func (sigpip ServiceItemGetPrepurchaseInfoParam) Equals(o types.RVType) bool { return sigpip.UniqueID.Equals(other.UniqueID) } +// CopyRef copies the current value of the ServiceItemGetPrepurchaseInfoParam +// and returns a pointer to the new copy +func (sigpip ServiceItemGetPrepurchaseInfoParam) CopyRef() types.RVTypePtr { + copied := sigpip.Copy().(ServiceItemGetPrepurchaseInfoParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetPrepurchaseInfoParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigpip *ServiceItemGetPrepurchaseInfoParam) Deref() types.RVType { + return *sigpip +} + // String returns the string representation of the ServiceItemGetPrepurchaseInfoParam func (sigpip ServiceItemGetPrepurchaseInfoParam) String() string { return sigpip.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_prepurchase_info_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_prepurchase_info_response.go index 5124f1fd..b5507da7 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_prepurchase_info_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_prepurchase_info_response.go @@ -82,6 +82,20 @@ func (sigpir ServiceItemGetPrepurchaseInfoResponse) Equals(o types.RVType) bool return sigpir.NullablePrepurchaseInfo.Equals(other.NullablePrepurchaseInfo) } +// CopyRef copies the current value of the ServiceItemGetPrepurchaseInfoResponse +// and returns a pointer to the new copy +func (sigpir ServiceItemGetPrepurchaseInfoResponse) CopyRef() types.RVTypePtr { + copied := sigpir.Copy().(ServiceItemGetPrepurchaseInfoResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetPrepurchaseInfoResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigpir *ServiceItemGetPrepurchaseInfoResponse) Deref() types.RVType { + return *sigpir +} + // String returns the string representation of the ServiceItemGetPrepurchaseInfoResponse func (sigpir ServiceItemGetPrepurchaseInfoResponse) String() string { return sigpir.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_purchase_history_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_purchase_history_param.go index aa27960a..1eb2f538 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_purchase_history_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_purchase_history_param.go @@ -117,6 +117,20 @@ func (sigphp ServiceItemGetPurchaseHistoryParam) Equals(o types.RVType) bool { return sigphp.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemGetPurchaseHistoryParam +// and returns a pointer to the new copy +func (sigphp ServiceItemGetPurchaseHistoryParam) CopyRef() types.RVTypePtr { + copied := sigphp.Copy().(ServiceItemGetPurchaseHistoryParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetPurchaseHistoryParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigphp *ServiceItemGetPurchaseHistoryParam) Deref() types.RVType { + return *sigphp +} + // String returns the string representation of the ServiceItemGetPurchaseHistoryParam func (sigphp ServiceItemGetPurchaseHistoryParam) String() string { return sigphp.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_purchase_history_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_purchase_history_response.go index b9f0c0a2..37d8b157 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_purchase_history_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_purchase_history_response.go @@ -82,6 +82,20 @@ func (sigphr ServiceItemGetPurchaseHistoryResponse) Equals(o types.RVType) bool return sigphr.NullablePurchaseHistory.Equals(other.NullablePurchaseHistory) } +// CopyRef copies the current value of the ServiceItemGetPurchaseHistoryResponse +// and returns a pointer to the new copy +func (sigphr ServiceItemGetPurchaseHistoryResponse) CopyRef() types.RVTypePtr { + copied := sigphr.Copy().(ServiceItemGetPurchaseHistoryResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetPurchaseHistoryResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigphr *ServiceItemGetPurchaseHistoryResponse) Deref() types.RVType { + return *sigphr +} + // String returns the string representation of the ServiceItemGetPurchaseHistoryResponse func (sigphr ServiceItemGetPurchaseHistoryResponse) String() string { return sigphr.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_service_item_right_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_service_item_right_param.go index 328f5bac..9a58d0e6 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_service_item_right_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_service_item_right_param.go @@ -122,6 +122,20 @@ func (sigsirp ServiceItemGetServiceItemRightParam) Equals(o types.RVType) bool { return sigsirp.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemGetServiceItemRightParam +// and returns a pointer to the new copy +func (sigsirp ServiceItemGetServiceItemRightParam) CopyRef() types.RVTypePtr { + copied := sigsirp.Copy().(ServiceItemGetServiceItemRightParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetServiceItemRightParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigsirp *ServiceItemGetServiceItemRightParam) Deref() types.RVType { + return *sigsirp +} + // String returns the string representation of the ServiceItemGetServiceItemRightParam func (sigsirp ServiceItemGetServiceItemRightParam) String() string { return sigsirp.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_service_item_right_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_service_item_right_response.go index 0e723ca8..07380214 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_service_item_right_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_service_item_right_response.go @@ -82,6 +82,20 @@ func (sigsirr ServiceItemGetServiceItemRightResponse) Equals(o types.RVType) boo return sigsirr.NullableRightInfos.Equals(other.NullableRightInfos) } +// CopyRef copies the current value of the ServiceItemGetServiceItemRightResponse +// and returns a pointer to the new copy +func (sigsirr ServiceItemGetServiceItemRightResponse) CopyRef() types.RVTypePtr { + copied := sigsirr.Copy().(ServiceItemGetServiceItemRightResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetServiceItemRightResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigsirr *ServiceItemGetServiceItemRightResponse) Deref() types.RVType { + return *sigsirr +} + // String returns the string representation of the ServiceItemGetServiceItemRightResponse func (sigsirr ServiceItemGetServiceItemRightResponse) String() string { return sigsirr.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_get_support_id_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_get_support_id_param.go index 5f36faee..a785b897 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_get_support_id_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_get_support_id_param.go @@ -81,6 +81,20 @@ func (sigsidp ServiceItemGetSupportIDParam) Equals(o types.RVType) bool { return sigsidp.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemGetSupportIDParam +// and returns a pointer to the new copy +func (sigsidp ServiceItemGetSupportIDParam) CopyRef() types.RVTypePtr { + copied := sigsidp.Copy().(ServiceItemGetSupportIDParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetSupportIDParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigsidp *ServiceItemGetSupportIDParam) Deref() types.RVType { + return *sigsidp +} + // String returns the string representation of the ServiceItemGetSupportIDParam func (sigsidp ServiceItemGetSupportIDParam) String() string { return sigsidp.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_http_get_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_http_get_param.go index 3052c7f6..703e0721 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_http_get_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_http_get_param.go @@ -69,6 +69,20 @@ func (sihttpgp ServiceItemHTTPGetParam) Equals(o types.RVType) bool { return sihttpgp.URL.Equals(other.URL) } +// CopyRef copies the current value of the ServiceItemHTTPGetParam +// and returns a pointer to the new copy +func (sihttpgp ServiceItemHTTPGetParam) CopyRef() types.RVTypePtr { + copied := sihttpgp.Copy().(ServiceItemHTTPGetParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemHTTPGetParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sihttpgp *ServiceItemHTTPGetParam) Deref() types.RVType { + return *sihttpgp +} + // String returns the string representation of the ServiceItemHTTPGetParam func (sihttpgp ServiceItemHTTPGetParam) String() string { return sihttpgp.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_http_get_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_http_get_response.go index cc6d80cc..e7f9250d 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_http_get_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_http_get_response.go @@ -69,6 +69,20 @@ func (sihttpgr ServiceItemHTTPGetResponse) Equals(o types.RVType) bool { return sihttpgr.Response.Equals(other.Response) } +// CopyRef copies the current value of the ServiceItemHTTPGetResponse +// and returns a pointer to the new copy +func (sihttpgr ServiceItemHTTPGetResponse) CopyRef() types.RVTypePtr { + copied := sihttpgr.Copy().(ServiceItemHTTPGetResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemHTTPGetResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sihttpgr *ServiceItemHTTPGetResponse) Deref() types.RVType { + return *sihttpgr +} + // String returns the string representation of the ServiceItemHTTPGetResponse func (sihttpgr ServiceItemHTTPGetResponse) String() string { return sihttpgr.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_law_message.go b/service-item/team-kirby-clash-deluxe/types/service_item_law_message.go index ebdefb6d..2f6641df 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_law_message.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_law_message.go @@ -81,6 +81,20 @@ func (silm ServiceItemLawMessage) Equals(o types.RVType) bool { return silm.LawMessage.Equals(other.LawMessage) } +// CopyRef copies the current value of the ServiceItemLawMessage +// and returns a pointer to the new copy +func (silm ServiceItemLawMessage) CopyRef() types.RVTypePtr { + copied := silm.Copy().(ServiceItemLawMessage) + return &copied +} + +// Deref takes a pointer to the ServiceItemLawMessage +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (silm *ServiceItemLawMessage) Deref() types.RVType { + return *silm +} + // String returns the string representation of the ServiceItemLawMessage func (silm ServiceItemLawMessage) String() string { return silm.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_limitation.go b/service-item/team-kirby-clash-deluxe/types/service_item_limitation.go index 4a154f42..10f3ffd4 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_limitation.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_limitation.go @@ -81,6 +81,20 @@ func (sil ServiceItemLimitation) Equals(o types.RVType) bool { return sil.LimitationValue.Equals(other.LimitationValue) } +// CopyRef copies the current value of the ServiceItemLimitation +// and returns a pointer to the new copy +func (sil ServiceItemLimitation) CopyRef() types.RVTypePtr { + copied := sil.Copy().(ServiceItemLimitation) + return &copied +} + +// Deref takes a pointer to the ServiceItemLimitation +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sil *ServiceItemLimitation) Deref() types.RVType { + return *sil +} + // String returns the string representation of the ServiceItemLimitation func (sil ServiceItemLimitation) String() string { return sil.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_list_item.go b/service-item/team-kirby-clash-deluxe/types/service_item_list_item.go index 8d3bab2e..c333f03d 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_list_item.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_list_item.go @@ -129,6 +129,20 @@ func (sili ServiceItemListItem) Equals(o types.RVType) bool { return sili.Attributes.Equals(other.Attributes) } +// CopyRef copies the current value of the ServiceItemListItem +// and returns a pointer to the new copy +func (sili ServiceItemListItem) CopyRef() types.RVTypePtr { + copied := sili.Copy().(ServiceItemListItem) + return &copied +} + +// Deref takes a pointer to the ServiceItemListItem +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sili *ServiceItemListItem) Deref() types.RVType { + return *sili +} + // String returns the string representation of the ServiceItemListItem func (sili ServiceItemListItem) String() string { return sili.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_list_service_item_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_list_service_item_param.go index 85e25c35..b59fc060 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_list_service_item_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_list_service_item_param.go @@ -134,6 +134,20 @@ func (silsip ServiceItemListServiceItemParam) Equals(o types.RVType) bool { return silsip.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemListServiceItemParam +// and returns a pointer to the new copy +func (silsip ServiceItemListServiceItemParam) CopyRef() types.RVTypePtr { + copied := silsip.Copy().(ServiceItemListServiceItemParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemListServiceItemParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (silsip *ServiceItemListServiceItemParam) Deref() types.RVType { + return *silsip +} + // String returns the string representation of the ServiceItemListServiceItemParam func (silsip ServiceItemListServiceItemParam) String() string { return silsip.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_list_service_item_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_list_service_item_response.go index 17cd3a19..150865dd 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_list_service_item_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_list_service_item_response.go @@ -82,6 +82,20 @@ func (silsir ServiceItemListServiceItemResponse) Equals(o types.RVType) bool { return silsir.NullableCatalog.Equals(other.NullableCatalog) } +// CopyRef copies the current value of the ServiceItemListServiceItemResponse +// and returns a pointer to the new copy +func (silsir ServiceItemListServiceItemResponse) CopyRef() types.RVTypePtr { + copied := silsir.Copy().(ServiceItemListServiceItemResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemListServiceItemResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (silsir *ServiceItemListServiceItemResponse) Deref() types.RVType { + return *silsir +} + // String returns the string representation of the ServiceItemListServiceItemResponse func (silsir ServiceItemListServiceItemResponse) String() string { return silsir.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_notice.go b/service-item/team-kirby-clash-deluxe/types/service_item_notice.go index e47a60e1..9b629886 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_notice.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_notice.go @@ -141,6 +141,20 @@ func (sin ServiceItemNotice) Equals(o types.RVType) bool { return sin.TimeEnd.Equals(other.TimeEnd) } +// CopyRef copies the current value of the ServiceItemNotice +// and returns a pointer to the new copy +func (sin ServiceItemNotice) CopyRef() types.RVTypePtr { + copied := sin.Copy().(ServiceItemNotice) + return &copied +} + +// Deref takes a pointer to the ServiceItemNotice +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sin *ServiceItemNotice) Deref() types.RVType { + return *sin +} + // String returns the string representation of the ServiceItemNotice func (sin ServiceItemNotice) String() string { return sin.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_post_right_binary_by_account_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_post_right_binary_by_account_param.go index 58565761..97d13be6 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_post_right_binary_by_account_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_post_right_binary_by_account_param.go @@ -129,6 +129,20 @@ func (siprbbap ServiceItemPostRightBinaryByAccountParam) Equals(o types.RVType) return siprbbap.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemPostRightBinaryByAccountParam +// and returns a pointer to the new copy +func (siprbbap ServiceItemPostRightBinaryByAccountParam) CopyRef() types.RVTypePtr { + copied := siprbbap.Copy().(ServiceItemPostRightBinaryByAccountParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemPostRightBinaryByAccountParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siprbbap *ServiceItemPostRightBinaryByAccountParam) Deref() types.RVType { + return *siprbbap +} + // String returns the string representation of the ServiceItemPostRightBinaryByAccountParam func (siprbbap ServiceItemPostRightBinaryByAccountParam) String() string { return siprbbap.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_prepurchase_info.go b/service-item/team-kirby-clash-deluxe/types/service_item_prepurchase_info.go index 758ac50b..76736e72 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_prepurchase_info.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_prepurchase_info.go @@ -177,6 +177,20 @@ func (sipi ServiceItemPrepurchaseInfo) Equals(o types.RVType) bool { return sipi.PostRightInfo.Equals(other.PostRightInfo) } +// CopyRef copies the current value of the ServiceItemPrepurchaseInfo +// and returns a pointer to the new copy +func (sipi ServiceItemPrepurchaseInfo) CopyRef() types.RVTypePtr { + copied := sipi.Copy().(ServiceItemPrepurchaseInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemPrepurchaseInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipi *ServiceItemPrepurchaseInfo) Deref() types.RVType { + return *sipi +} + // String returns the string representation of the ServiceItemPrepurchaseInfo func (sipi ServiceItemPrepurchaseInfo) String() string { return sipi.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_prepurchase_right_info.go b/service-item/team-kirby-clash-deluxe/types/service_item_prepurchase_right_info.go index 33e9d151..a20286f0 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_prepurchase_right_info.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_prepurchase_right_info.go @@ -129,6 +129,20 @@ func (sipri ServiceItemPrepurchaseRightInfo) Equals(o types.RVType) bool { return sipri.ExpiryCounts.Equals(other.ExpiryCounts) } +// CopyRef copies the current value of the ServiceItemPrepurchaseRightInfo +// and returns a pointer to the new copy +func (sipri ServiceItemPrepurchaseRightInfo) CopyRef() types.RVTypePtr { + copied := sipri.Copy().(ServiceItemPrepurchaseRightInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemPrepurchaseRightInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipri *ServiceItemPrepurchaseRightInfo) Deref() types.RVType { + return *sipri +} + // String returns the string representation of the ServiceItemPrepurchaseRightInfo func (sipri ServiceItemPrepurchaseRightInfo) String() string { return sipri.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_purchase_history.go b/service-item/team-kirby-clash-deluxe/types/service_item_purchase_history.go index 68dfd72f..9cabf6aa 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_purchase_history.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_purchase_history.go @@ -93,6 +93,20 @@ func (siph ServiceItemPurchaseHistory) Equals(o types.RVType) bool { return siph.Transactions.Equals(other.Transactions) } +// CopyRef copies the current value of the ServiceItemPurchaseHistory +// and returns a pointer to the new copy +func (siph ServiceItemPurchaseHistory) CopyRef() types.RVTypePtr { + copied := siph.Copy().(ServiceItemPurchaseHistory) + return &copied +} + +// Deref takes a pointer to the ServiceItemPurchaseHistory +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siph *ServiceItemPurchaseHistory) Deref() types.RVType { + return *siph +} + // String returns the string representation of the ServiceItemPurchaseHistory func (siph ServiceItemPurchaseHistory) String() string { return siph.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_purchase_info.go b/service-item/team-kirby-clash-deluxe/types/service_item_purchase_info.go index c1012b55..f93ea833 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_purchase_info.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_purchase_info.go @@ -105,6 +105,20 @@ func (sipi ServiceItemPurchaseInfo) Equals(o types.RVType) bool { return sipi.PostBalance.Equals(other.PostBalance) } +// CopyRef copies the current value of the ServiceItemPurchaseInfo +// and returns a pointer to the new copy +func (sipi ServiceItemPurchaseInfo) CopyRef() types.RVTypePtr { + copied := sipi.Copy().(ServiceItemPurchaseInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemPurchaseInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipi *ServiceItemPurchaseInfo) Deref() types.RVType { + return *sipi +} + // String returns the string representation of the ServiceItemPurchaseInfo func (sipi ServiceItemPurchaseInfo) String() string { return sipi.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_purchase_service_item_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_purchase_service_item_param.go index 6adbe82d..e708fb35 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_purchase_service_item_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_purchase_service_item_param.go @@ -170,6 +170,20 @@ func (sipsip ServiceItemPurchaseServiceItemParam) Equals(o types.RVType) bool { return sipsip.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemPurchaseServiceItemParam +// and returns a pointer to the new copy +func (sipsip ServiceItemPurchaseServiceItemParam) CopyRef() types.RVTypePtr { + copied := sipsip.Copy().(ServiceItemPurchaseServiceItemParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemPurchaseServiceItemParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipsip *ServiceItemPurchaseServiceItemParam) Deref() types.RVType { + return *sipsip +} + // String returns the string representation of the ServiceItemPurchaseServiceItemParam func (sipsip ServiceItemPurchaseServiceItemParam) String() string { return sipsip.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_purchase_service_item_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_purchase_service_item_response.go index 5eb92719..87bf3334 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_purchase_service_item_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_purchase_service_item_response.go @@ -82,6 +82,20 @@ func (sipsir ServiceItemPurchaseServiceItemResponse) Equals(o types.RVType) bool return sipsir.NullablePurchaseInfo.Equals(other.NullablePurchaseInfo) } +// CopyRef copies the current value of the ServiceItemPurchaseServiceItemResponse +// and returns a pointer to the new copy +func (sipsir ServiceItemPurchaseServiceItemResponse) CopyRef() types.RVTypePtr { + copied := sipsir.Copy().(ServiceItemPurchaseServiceItemResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemPurchaseServiceItemResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipsir *ServiceItemPurchaseServiceItemResponse) Deref() types.RVType { + return *sipsir +} + // String returns the string representation of the ServiceItemPurchaseServiceItemResponse func (sipsir ServiceItemPurchaseServiceItemResponse) String() string { return sipsir.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_right_binary.go b/service-item/team-kirby-clash-deluxe/types/service_item_right_binary.go index f9efa7cb..6d3c1661 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_right_binary.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_right_binary.go @@ -81,6 +81,20 @@ func (sirb ServiceItemRightBinary) Equals(o types.RVType) bool { return sirb.RightBinary.Equals(other.RightBinary) } +// CopyRef copies the current value of the ServiceItemRightBinary +// and returns a pointer to the new copy +func (sirb ServiceItemRightBinary) CopyRef() types.RVTypePtr { + copied := sirb.Copy().(ServiceItemRightBinary) + return &copied +} + +// Deref takes a pointer to the ServiceItemRightBinary +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sirb *ServiceItemRightBinary) Deref() types.RVType { + return *sirb +} + // String returns the string representation of the ServiceItemRightBinary func (sirb ServiceItemRightBinary) String() string { return sirb.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_right_consumption_info.go b/service-item/team-kirby-clash-deluxe/types/service_item_right_consumption_info.go index 532a3239..47381b2c 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_right_consumption_info.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_right_consumption_info.go @@ -82,6 +82,20 @@ func (sirci ServiceItemRightConsumptionInfo) Equals(o types.RVType) bool { return sirci.AccountRights.Equals(other.AccountRights) } +// CopyRef copies the current value of the ServiceItemRightConsumptionInfo +// and returns a pointer to the new copy +func (sirci ServiceItemRightConsumptionInfo) CopyRef() types.RVTypePtr { + copied := sirci.Copy().(ServiceItemRightConsumptionInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemRightConsumptionInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sirci *ServiceItemRightConsumptionInfo) Deref() types.RVType { + return *sirci +} + // String returns the string representation of the ServiceItemRightConsumptionInfo func (sirci ServiceItemRightConsumptionInfo) String() string { return sirci.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_right_info.go b/service-item/team-kirby-clash-deluxe/types/service_item_right_info.go index 7a5d7199..ca521a33 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_right_info.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_right_info.go @@ -81,6 +81,20 @@ func (siri ServiceItemRightInfo) Equals(o types.RVType) bool { return siri.ReferenceIDType.Equals(other.ReferenceIDType) } +// CopyRef copies the current value of the ServiceItemRightInfo +// and returns a pointer to the new copy +func (siri ServiceItemRightInfo) CopyRef() types.RVTypePtr { + copied := siri.Copy().(ServiceItemRightInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemRightInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siri *ServiceItemRightInfo) Deref() types.RVType { + return *siri +} + // String returns the string representation of the ServiceItemRightInfo func (siri ServiceItemRightInfo) String() string { return siri.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_right_infos.go b/service-item/team-kirby-clash-deluxe/types/service_item_right_infos.go index bbeb0e65..b02915dd 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_right_infos.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_right_infos.go @@ -117,6 +117,20 @@ func (siri ServiceItemRightInfos) Equals(o types.RVType) bool { return siri.AlreadyPurchasedInitialOnlyItem.Equals(other.AlreadyPurchasedInitialOnlyItem) } +// CopyRef copies the current value of the ServiceItemRightInfos +// and returns a pointer to the new copy +func (siri ServiceItemRightInfos) CopyRef() types.RVTypePtr { + copied := siri.Copy().(ServiceItemRightInfos) + return &copied +} + +// Deref takes a pointer to the ServiceItemRightInfos +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siri *ServiceItemRightInfos) Deref() types.RVType { + return *siri +} + // String returns the string representation of the ServiceItemRightInfos func (siri ServiceItemRightInfos) String() string { return siri.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_right_time_info.go b/service-item/team-kirby-clash-deluxe/types/service_item_right_time_info.go index bd1d38f1..1fe4ddd7 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_right_time_info.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_right_time_info.go @@ -82,6 +82,20 @@ func (sirti ServiceItemRightTimeInfo) Equals(o types.RVType) bool { return sirti.AccountRights.Equals(other.AccountRights) } +// CopyRef copies the current value of the ServiceItemRightTimeInfo +// and returns a pointer to the new copy +func (sirti ServiceItemRightTimeInfo) CopyRef() types.RVTypePtr { + copied := sirti.Copy().(ServiceItemRightTimeInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemRightTimeInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sirti *ServiceItemRightTimeInfo) Deref() types.RVType { + return *sirti +} + // String returns the string representation of the ServiceItemRightTimeInfo func (sirti ServiceItemRightTimeInfo) String() string { return sirti.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_transaction.go b/service-item/team-kirby-clash-deluxe/types/service_item_transaction.go index 99131aa4..9950d3cd 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_transaction.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_transaction.go @@ -165,6 +165,20 @@ func (sit ServiceItemTransaction) Equals(o types.RVType) bool { return sit.Limitation.Equals(other.Limitation) } +// CopyRef copies the current value of the ServiceItemTransaction +// and returns a pointer to the new copy +func (sit ServiceItemTransaction) CopyRef() types.RVTypePtr { + copied := sit.Copy().(ServiceItemTransaction) + return &copied +} + +// Deref takes a pointer to the ServiceItemTransaction +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sit *ServiceItemTransaction) Deref() types.RVType { + return *sit +} + // String returns the string representation of the ServiceItemTransaction func (sit ServiceItemTransaction) String() string { return sit.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_use_service_item_by_account_param.go b/service-item/team-kirby-clash-deluxe/types/service_item_use_service_item_by_account_param.go index 7d3ef0c4..c0364fbf 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_use_service_item_by_account_param.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_use_service_item_by_account_param.go @@ -153,6 +153,20 @@ func (siusibap ServiceItemUseServiceItemByAccountParam) Equals(o types.RVType) b return siusibap.Platform.Equals(other.Platform) } +// CopyRef copies the current value of the ServiceItemUseServiceItemByAccountParam +// and returns a pointer to the new copy +func (siusibap ServiceItemUseServiceItemByAccountParam) CopyRef() types.RVTypePtr { + copied := siusibap.Copy().(ServiceItemUseServiceItemByAccountParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemUseServiceItemByAccountParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siusibap *ServiceItemUseServiceItemByAccountParam) Deref() types.RVType { + return *siusibap +} + // String returns the string representation of the ServiceItemUseServiceItemByAccountParam func (siusibap ServiceItemUseServiceItemByAccountParam) String() string { return siusibap.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_use_service_item_response.go b/service-item/team-kirby-clash-deluxe/types/service_item_use_service_item_response.go index 648eeccf..6231f4ef 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_use_service_item_response.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_use_service_item_response.go @@ -82,6 +82,20 @@ func (siusir ServiceItemUseServiceItemResponse) Equals(o types.RVType) bool { return siusir.NullableUsedInfo.Equals(other.NullableUsedInfo) } +// CopyRef copies the current value of the ServiceItemUseServiceItemResponse +// and returns a pointer to the new copy +func (siusir ServiceItemUseServiceItemResponse) CopyRef() types.RVTypePtr { + copied := siusir.Copy().(ServiceItemUseServiceItemResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemUseServiceItemResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siusir *ServiceItemUseServiceItemResponse) Deref() types.RVType { + return *siusir +} + // String returns the string representation of the ServiceItemUseServiceItemResponse func (siusir ServiceItemUseServiceItemResponse) String() string { return siusir.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_used_info.go b/service-item/team-kirby-clash-deluxe/types/service_item_used_info.go index d3e15335..8b97085d 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_used_info.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_used_info.go @@ -81,6 +81,20 @@ func (siui ServiceItemUsedInfo) Equals(o types.RVType) bool { return siui.UsedCount.Equals(other.UsedCount) } +// CopyRef copies the current value of the ServiceItemUsedInfo +// and returns a pointer to the new copy +func (siui ServiceItemUsedInfo) CopyRef() types.RVTypePtr { + copied := siui.Copy().(ServiceItemUsedInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemUsedInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siui *ServiceItemUsedInfo) Deref() types.RVType { + return *siui +} + // String returns the string representation of the ServiceItemUsedInfo func (siui ServiceItemUsedInfo) String() string { return siui.FormatToString(0) diff --git a/service-item/team-kirby-clash-deluxe/types/service_item_user_info.go b/service-item/team-kirby-clash-deluxe/types/service_item_user_info.go index d16f6c2e..27ae7090 100644 --- a/service-item/team-kirby-clash-deluxe/types/service_item_user_info.go +++ b/service-item/team-kirby-clash-deluxe/types/service_item_user_info.go @@ -69,6 +69,20 @@ func (siui ServiceItemUserInfo) Equals(o types.RVType) bool { return siui.ApplicationBuffer.Equals(other.ApplicationBuffer) } +// CopyRef copies the current value of the ServiceItemUserInfo +// and returns a pointer to the new copy +func (siui ServiceItemUserInfo) CopyRef() types.RVTypePtr { + copied := siui.Copy().(ServiceItemUserInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemUserInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siui *ServiceItemUserInfo) Deref() types.RVType { + return *siui +} + // String returns the string representation of the ServiceItemUserInfo func (siui ServiceItemUserInfo) String() string { return siui.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_account_right.go b/service-item/wii-sports-club/types/service_item_account_right.go index 4fa42368..764586d8 100644 --- a/service-item/wii-sports-club/types/service_item_account_right.go +++ b/service-item/wii-sports-club/types/service_item_account_right.go @@ -81,6 +81,20 @@ func (siar ServiceItemAccountRight) Equals(o types.RVType) bool { return siar.Limitation.Equals(other.Limitation) } +// CopyRef copies the current value of the ServiceItemAccountRight +// and returns a pointer to the new copy +func (siar ServiceItemAccountRight) CopyRef() types.RVTypePtr { + copied := siar.Copy().(ServiceItemAccountRight) + return &copied +} + +// Deref takes a pointer to the ServiceItemAccountRight +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siar *ServiceItemAccountRight) Deref() types.RVType { + return *siar +} + // String returns the string representation of the ServiceItemAccountRight func (siar ServiceItemAccountRight) String() string { return siar.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_amount.go b/service-item/wii-sports-club/types/service_item_amount.go index f3b85c28..4adc025d 100644 --- a/service-item/wii-sports-club/types/service_item_amount.go +++ b/service-item/wii-sports-club/types/service_item_amount.go @@ -93,6 +93,20 @@ func (sia ServiceItemAmount) Equals(o types.RVType) bool { return sia.RawValue.Equals(other.RawValue) } +// CopyRef copies the current value of the ServiceItemAmount +// and returns a pointer to the new copy +func (sia ServiceItemAmount) CopyRef() types.RVTypePtr { + copied := sia.Copy().(ServiceItemAmount) + return &copied +} + +// Deref takes a pointer to the ServiceItemAmount +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sia *ServiceItemAmount) Deref() types.RVType { + return *sia +} + // String returns the string representation of the ServiceItemAmount func (sia ServiceItemAmount) String() string { return sia.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_attribute.go b/service-item/wii-sports-club/types/service_item_attribute.go index 71e842a0..f155580b 100644 --- a/service-item/wii-sports-club/types/service_item_attribute.go +++ b/service-item/wii-sports-club/types/service_item_attribute.go @@ -81,6 +81,20 @@ func (sia ServiceItemAttribute) Equals(o types.RVType) bool { return sia.Value.Equals(other.Value) } +// CopyRef copies the current value of the ServiceItemAttribute +// and returns a pointer to the new copy +func (sia ServiceItemAttribute) CopyRef() types.RVTypePtr { + copied := sia.Copy().(ServiceItemAttribute) + return &copied +} + +// Deref takes a pointer to the ServiceItemAttribute +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sia *ServiceItemAttribute) Deref() types.RVType { + return *sia +} + // String returns the string representation of the ServiceItemAttribute func (sia ServiceItemAttribute) String() string { return sia.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_catalog.go b/service-item/wii-sports-club/types/service_item_catalog.go index c7259a83..9f04ced2 100644 --- a/service-item/wii-sports-club/types/service_item_catalog.go +++ b/service-item/wii-sports-club/types/service_item_catalog.go @@ -93,6 +93,20 @@ func (sic ServiceItemCatalog) Equals(o types.RVType) bool { return sic.ListItems.Equals(other.ListItems) } +// CopyRef copies the current value of the ServiceItemCatalog +// and returns a pointer to the new copy +func (sic ServiceItemCatalog) CopyRef() types.RVTypePtr { + copied := sic.Copy().(ServiceItemCatalog) + return &copied +} + +// Deref takes a pointer to the ServiceItemCatalog +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sic *ServiceItemCatalog) Deref() types.RVType { + return *sic +} + // String returns the string representation of the ServiceItemCatalog func (sic ServiceItemCatalog) String() string { return sic.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_end_challenge_param.go b/service-item/wii-sports-club/types/service_item_end_challenge_param.go index 7327d0a3..c57aa4b5 100644 --- a/service-item/wii-sports-club/types/service_item_end_challenge_param.go +++ b/service-item/wii-sports-club/types/service_item_end_challenge_param.go @@ -81,6 +81,20 @@ func (siecp ServiceItemEndChallengeParam) Equals(o types.RVType) bool { return siecp.UserInfo.Equals(other.UserInfo) } +// CopyRef copies the current value of the ServiceItemEndChallengeParam +// and returns a pointer to the new copy +func (siecp ServiceItemEndChallengeParam) CopyRef() types.RVTypePtr { + copied := siecp.Copy().(ServiceItemEndChallengeParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemEndChallengeParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siecp *ServiceItemEndChallengeParam) Deref() types.RVType { + return *siecp +} + // String returns the string representation of the ServiceItemEndChallengeParam func (siecp ServiceItemEndChallengeParam) String() string { return siecp.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_eshop_response.go b/service-item/wii-sports-club/types/service_item_eshop_response.go index 377c675e..62cf67ae 100644 --- a/service-item/wii-sports-club/types/service_item_eshop_response.go +++ b/service-item/wii-sports-club/types/service_item_eshop_response.go @@ -93,6 +93,20 @@ func (siesr ServiceItemEShopResponse) Equals(o types.RVType) bool { return siesr.CorrelationID.Equals(other.CorrelationID) } +// CopyRef copies the current value of the ServiceItemEShopResponse +// and returns a pointer to the new copy +func (siesr ServiceItemEShopResponse) CopyRef() types.RVTypePtr { + copied := siesr.Copy().(ServiceItemEShopResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemEShopResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siesr *ServiceItemEShopResponse) Deref() types.RVType { + return *siesr +} + // String returns the string representation of the ServiceItemEShopResponse func (siesr ServiceItemEShopResponse) String() string { return siesr.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_event.go b/service-item/wii-sports-club/types/service_item_event.go index 0b6eb32f..90d1525c 100644 --- a/service-item/wii-sports-club/types/service_item_event.go +++ b/service-item/wii-sports-club/types/service_item_event.go @@ -153,6 +153,20 @@ func (sie ServiceItemEvent) Equals(o types.RVType) bool { return sie.TimeEnd.Equals(other.TimeEnd) } +// CopyRef copies the current value of the ServiceItemEvent +// and returns a pointer to the new copy +func (sie ServiceItemEvent) CopyRef() types.RVTypePtr { + copied := sie.Copy().(ServiceItemEvent) + return &copied +} + +// Deref takes a pointer to the ServiceItemEvent +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sie *ServiceItemEvent) Deref() types.RVType { + return *sie +} + // String returns the string representation of the ServiceItemEvent func (sie ServiceItemEvent) String() string { return sie.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_balance_param.go b/service-item/wii-sports-club/types/service_item_get_balance_param.go index 300c700a..d16fbdc1 100644 --- a/service-item/wii-sports-club/types/service_item_get_balance_param.go +++ b/service-item/wii-sports-club/types/service_item_get_balance_param.go @@ -81,6 +81,20 @@ func (sigbp ServiceItemGetBalanceParam) Equals(o types.RVType) bool { return sigbp.TitleID.Equals(other.TitleID) } +// CopyRef copies the current value of the ServiceItemGetBalanceParam +// and returns a pointer to the new copy +func (sigbp ServiceItemGetBalanceParam) CopyRef() types.RVTypePtr { + copied := sigbp.Copy().(ServiceItemGetBalanceParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetBalanceParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigbp *ServiceItemGetBalanceParam) Deref() types.RVType { + return *sigbp +} + // String returns the string representation of the ServiceItemGetBalanceParam func (sigbp ServiceItemGetBalanceParam) String() string { return sigbp.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_balance_response.go b/service-item/wii-sports-club/types/service_item_get_balance_response.go index db5cd8e2..5acc8ff2 100644 --- a/service-item/wii-sports-club/types/service_item_get_balance_response.go +++ b/service-item/wii-sports-club/types/service_item_get_balance_response.go @@ -82,6 +82,20 @@ func (sigbr ServiceItemGetBalanceResponse) Equals(o types.RVType) bool { return sigbr.NullableBalance.Equals(other.NullableBalance) } +// CopyRef copies the current value of the ServiceItemGetBalanceResponse +// and returns a pointer to the new copy +func (sigbr ServiceItemGetBalanceResponse) CopyRef() types.RVTypePtr { + copied := sigbr.Copy().(ServiceItemGetBalanceResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetBalanceResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigbr *ServiceItemGetBalanceResponse) Deref() types.RVType { + return *sigbr +} + // String returns the string representation of the ServiceItemGetBalanceResponse func (sigbr ServiceItemGetBalanceResponse) String() string { return sigbr.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_notice_param.go b/service-item/wii-sports-club/types/service_item_get_notice_param.go index 1c890f9f..24c3de92 100644 --- a/service-item/wii-sports-club/types/service_item_get_notice_param.go +++ b/service-item/wii-sports-club/types/service_item_get_notice_param.go @@ -69,6 +69,20 @@ func (signp ServiceItemGetNoticeParam) Equals(o types.RVType) bool { return signp.NoticeType.Equals(other.NoticeType) } +// CopyRef copies the current value of the ServiceItemGetNoticeParam +// and returns a pointer to the new copy +func (signp ServiceItemGetNoticeParam) CopyRef() types.RVTypePtr { + copied := signp.Copy().(ServiceItemGetNoticeParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetNoticeParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (signp *ServiceItemGetNoticeParam) Deref() types.RVType { + return *signp +} + // String returns the string representation of the ServiceItemGetNoticeParam func (signp ServiceItemGetNoticeParam) String() string { return signp.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_prepurchase_info_param.go b/service-item/wii-sports-club/types/service_item_get_prepurchase_info_param.go index 48df99f6..f5fb4eae 100644 --- a/service-item/wii-sports-club/types/service_item_get_prepurchase_info_param.go +++ b/service-item/wii-sports-club/types/service_item_get_prepurchase_info_param.go @@ -93,6 +93,20 @@ func (sigpip ServiceItemGetPrepurchaseInfoParam) Equals(o types.RVType) bool { return sigpip.TitleID.Equals(other.TitleID) } +// CopyRef copies the current value of the ServiceItemGetPrepurchaseInfoParam +// and returns a pointer to the new copy +func (sigpip ServiceItemGetPrepurchaseInfoParam) CopyRef() types.RVTypePtr { + copied := sigpip.Copy().(ServiceItemGetPrepurchaseInfoParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetPrepurchaseInfoParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigpip *ServiceItemGetPrepurchaseInfoParam) Deref() types.RVType { + return *sigpip +} + // String returns the string representation of the ServiceItemGetPrepurchaseInfoParam func (sigpip ServiceItemGetPrepurchaseInfoParam) String() string { return sigpip.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_prepurchase_info_response.go b/service-item/wii-sports-club/types/service_item_get_prepurchase_info_response.go index 5124f1fd..b5507da7 100644 --- a/service-item/wii-sports-club/types/service_item_get_prepurchase_info_response.go +++ b/service-item/wii-sports-club/types/service_item_get_prepurchase_info_response.go @@ -82,6 +82,20 @@ func (sigpir ServiceItemGetPrepurchaseInfoResponse) Equals(o types.RVType) bool return sigpir.NullablePrepurchaseInfo.Equals(other.NullablePrepurchaseInfo) } +// CopyRef copies the current value of the ServiceItemGetPrepurchaseInfoResponse +// and returns a pointer to the new copy +func (sigpir ServiceItemGetPrepurchaseInfoResponse) CopyRef() types.RVTypePtr { + copied := sigpir.Copy().(ServiceItemGetPrepurchaseInfoResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetPrepurchaseInfoResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigpir *ServiceItemGetPrepurchaseInfoResponse) Deref() types.RVType { + return *sigpir +} + // String returns the string representation of the ServiceItemGetPrepurchaseInfoResponse func (sigpir ServiceItemGetPrepurchaseInfoResponse) String() string { return sigpir.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_purchase_history_param.go b/service-item/wii-sports-club/types/service_item_get_purchase_history_param.go index c44a8087..b7480b8f 100644 --- a/service-item/wii-sports-club/types/service_item_get_purchase_history_param.go +++ b/service-item/wii-sports-club/types/service_item_get_purchase_history_param.go @@ -105,6 +105,20 @@ func (sigphp ServiceItemGetPurchaseHistoryParam) Equals(o types.RVType) bool { return sigphp.TitleID.Equals(other.TitleID) } +// CopyRef copies the current value of the ServiceItemGetPurchaseHistoryParam +// and returns a pointer to the new copy +func (sigphp ServiceItemGetPurchaseHistoryParam) CopyRef() types.RVTypePtr { + copied := sigphp.Copy().(ServiceItemGetPurchaseHistoryParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetPurchaseHistoryParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigphp *ServiceItemGetPurchaseHistoryParam) Deref() types.RVType { + return *sigphp +} + // String returns the string representation of the ServiceItemGetPurchaseHistoryParam func (sigphp ServiceItemGetPurchaseHistoryParam) String() string { return sigphp.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_purchase_history_response.go b/service-item/wii-sports-club/types/service_item_get_purchase_history_response.go index b9f0c0a2..37d8b157 100644 --- a/service-item/wii-sports-club/types/service_item_get_purchase_history_response.go +++ b/service-item/wii-sports-club/types/service_item_get_purchase_history_response.go @@ -82,6 +82,20 @@ func (sigphr ServiceItemGetPurchaseHistoryResponse) Equals(o types.RVType) bool return sigphr.NullablePurchaseHistory.Equals(other.NullablePurchaseHistory) } +// CopyRef copies the current value of the ServiceItemGetPurchaseHistoryResponse +// and returns a pointer to the new copy +func (sigphr ServiceItemGetPurchaseHistoryResponse) CopyRef() types.RVTypePtr { + copied := sigphr.Copy().(ServiceItemGetPurchaseHistoryResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetPurchaseHistoryResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigphr *ServiceItemGetPurchaseHistoryResponse) Deref() types.RVType { + return *sigphr +} + // String returns the string representation of the ServiceItemGetPurchaseHistoryResponse func (sigphr ServiceItemGetPurchaseHistoryResponse) String() string { return sigphr.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_service_item_right_param.go b/service-item/wii-sports-club/types/service_item_get_service_item_right_param.go index 87f4b303..2d6fe8e2 100644 --- a/service-item/wii-sports-club/types/service_item_get_service_item_right_param.go +++ b/service-item/wii-sports-club/types/service_item_get_service_item_right_param.go @@ -81,6 +81,20 @@ func (sigsirp ServiceItemGetServiceItemRightParam) Equals(o types.RVType) bool { return sigsirp.TitleID.Equals(other.TitleID) } +// CopyRef copies the current value of the ServiceItemGetServiceItemRightParam +// and returns a pointer to the new copy +func (sigsirp ServiceItemGetServiceItemRightParam) CopyRef() types.RVTypePtr { + copied := sigsirp.Copy().(ServiceItemGetServiceItemRightParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetServiceItemRightParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigsirp *ServiceItemGetServiceItemRightParam) Deref() types.RVType { + return *sigsirp +} + // String returns the string representation of the ServiceItemGetServiceItemRightParam func (sigsirp ServiceItemGetServiceItemRightParam) String() string { return sigsirp.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_get_service_item_right_response.go b/service-item/wii-sports-club/types/service_item_get_service_item_right_response.go index 0e723ca8..07380214 100644 --- a/service-item/wii-sports-club/types/service_item_get_service_item_right_response.go +++ b/service-item/wii-sports-club/types/service_item_get_service_item_right_response.go @@ -82,6 +82,20 @@ func (sigsirr ServiceItemGetServiceItemRightResponse) Equals(o types.RVType) boo return sigsirr.NullableRightInfos.Equals(other.NullableRightInfos) } +// CopyRef copies the current value of the ServiceItemGetServiceItemRightResponse +// and returns a pointer to the new copy +func (sigsirr ServiceItemGetServiceItemRightResponse) CopyRef() types.RVTypePtr { + copied := sigsirr.Copy().(ServiceItemGetServiceItemRightResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemGetServiceItemRightResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sigsirr *ServiceItemGetServiceItemRightResponse) Deref() types.RVType { + return *sigsirr +} + // String returns the string representation of the ServiceItemGetServiceItemRightResponse func (sigsirr ServiceItemGetServiceItemRightResponse) String() string { return sigsirr.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_http_get_param.go b/service-item/wii-sports-club/types/service_item_http_get_param.go index 3052c7f6..703e0721 100644 --- a/service-item/wii-sports-club/types/service_item_http_get_param.go +++ b/service-item/wii-sports-club/types/service_item_http_get_param.go @@ -69,6 +69,20 @@ func (sihttpgp ServiceItemHTTPGetParam) Equals(o types.RVType) bool { return sihttpgp.URL.Equals(other.URL) } +// CopyRef copies the current value of the ServiceItemHTTPGetParam +// and returns a pointer to the new copy +func (sihttpgp ServiceItemHTTPGetParam) CopyRef() types.RVTypePtr { + copied := sihttpgp.Copy().(ServiceItemHTTPGetParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemHTTPGetParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sihttpgp *ServiceItemHTTPGetParam) Deref() types.RVType { + return *sihttpgp +} + // String returns the string representation of the ServiceItemHTTPGetParam func (sihttpgp ServiceItemHTTPGetParam) String() string { return sihttpgp.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_http_get_response.go b/service-item/wii-sports-club/types/service_item_http_get_response.go index cc6d80cc..e7f9250d 100644 --- a/service-item/wii-sports-club/types/service_item_http_get_response.go +++ b/service-item/wii-sports-club/types/service_item_http_get_response.go @@ -69,6 +69,20 @@ func (sihttpgr ServiceItemHTTPGetResponse) Equals(o types.RVType) bool { return sihttpgr.Response.Equals(other.Response) } +// CopyRef copies the current value of the ServiceItemHTTPGetResponse +// and returns a pointer to the new copy +func (sihttpgr ServiceItemHTTPGetResponse) CopyRef() types.RVTypePtr { + copied := sihttpgr.Copy().(ServiceItemHTTPGetResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemHTTPGetResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sihttpgr *ServiceItemHTTPGetResponse) Deref() types.RVType { + return *sihttpgr +} + // String returns the string representation of the ServiceItemHTTPGetResponse func (sihttpgr ServiceItemHTTPGetResponse) String() string { return sihttpgr.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_limitation.go b/service-item/wii-sports-club/types/service_item_limitation.go index 4a154f42..10f3ffd4 100644 --- a/service-item/wii-sports-club/types/service_item_limitation.go +++ b/service-item/wii-sports-club/types/service_item_limitation.go @@ -81,6 +81,20 @@ func (sil ServiceItemLimitation) Equals(o types.RVType) bool { return sil.LimitationValue.Equals(other.LimitationValue) } +// CopyRef copies the current value of the ServiceItemLimitation +// and returns a pointer to the new copy +func (sil ServiceItemLimitation) CopyRef() types.RVTypePtr { + copied := sil.Copy().(ServiceItemLimitation) + return &copied +} + +// Deref takes a pointer to the ServiceItemLimitation +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sil *ServiceItemLimitation) Deref() types.RVType { + return *sil +} + // String returns the string representation of the ServiceItemLimitation func (sil ServiceItemLimitation) String() string { return sil.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_list_item.go b/service-item/wii-sports-club/types/service_item_list_item.go index 8d3bab2e..c333f03d 100644 --- a/service-item/wii-sports-club/types/service_item_list_item.go +++ b/service-item/wii-sports-club/types/service_item_list_item.go @@ -129,6 +129,20 @@ func (sili ServiceItemListItem) Equals(o types.RVType) bool { return sili.Attributes.Equals(other.Attributes) } +// CopyRef copies the current value of the ServiceItemListItem +// and returns a pointer to the new copy +func (sili ServiceItemListItem) CopyRef() types.RVTypePtr { + copied := sili.Copy().(ServiceItemListItem) + return &copied +} + +// Deref takes a pointer to the ServiceItemListItem +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sili *ServiceItemListItem) Deref() types.RVType { + return *sili +} + // String returns the string representation of the ServiceItemListItem func (sili ServiceItemListItem) String() string { return sili.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_list_service_item_param.go b/service-item/wii-sports-club/types/service_item_list_service_item_param.go index 4b96331a..46340b60 100644 --- a/service-item/wii-sports-club/types/service_item_list_service_item_param.go +++ b/service-item/wii-sports-club/types/service_item_list_service_item_param.go @@ -105,6 +105,20 @@ func (silsip ServiceItemListServiceItemParam) Equals(o types.RVType) bool { return silsip.TitleID.Equals(other.TitleID) } +// CopyRef copies the current value of the ServiceItemListServiceItemParam +// and returns a pointer to the new copy +func (silsip ServiceItemListServiceItemParam) CopyRef() types.RVTypePtr { + copied := silsip.Copy().(ServiceItemListServiceItemParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemListServiceItemParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (silsip *ServiceItemListServiceItemParam) Deref() types.RVType { + return *silsip +} + // String returns the string representation of the ServiceItemListServiceItemParam func (silsip ServiceItemListServiceItemParam) String() string { return silsip.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_list_service_item_response.go b/service-item/wii-sports-club/types/service_item_list_service_item_response.go index 17cd3a19..150865dd 100644 --- a/service-item/wii-sports-club/types/service_item_list_service_item_response.go +++ b/service-item/wii-sports-club/types/service_item_list_service_item_response.go @@ -82,6 +82,20 @@ func (silsir ServiceItemListServiceItemResponse) Equals(o types.RVType) bool { return silsir.NullableCatalog.Equals(other.NullableCatalog) } +// CopyRef copies the current value of the ServiceItemListServiceItemResponse +// and returns a pointer to the new copy +func (silsir ServiceItemListServiceItemResponse) CopyRef() types.RVTypePtr { + copied := silsir.Copy().(ServiceItemListServiceItemResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemListServiceItemResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (silsir *ServiceItemListServiceItemResponse) Deref() types.RVType { + return *silsir +} + // String returns the string representation of the ServiceItemListServiceItemResponse func (silsir ServiceItemListServiceItemResponse) String() string { return silsir.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_notice.go b/service-item/wii-sports-club/types/service_item_notice.go index e47a60e1..9b629886 100644 --- a/service-item/wii-sports-club/types/service_item_notice.go +++ b/service-item/wii-sports-club/types/service_item_notice.go @@ -141,6 +141,20 @@ func (sin ServiceItemNotice) Equals(o types.RVType) bool { return sin.TimeEnd.Equals(other.TimeEnd) } +// CopyRef copies the current value of the ServiceItemNotice +// and returns a pointer to the new copy +func (sin ServiceItemNotice) CopyRef() types.RVTypePtr { + copied := sin.Copy().(ServiceItemNotice) + return &copied +} + +// Deref takes a pointer to the ServiceItemNotice +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sin *ServiceItemNotice) Deref() types.RVType { + return *sin +} + // String returns the string representation of the ServiceItemNotice func (sin ServiceItemNotice) String() string { return sin.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_prepurchase_info.go b/service-item/wii-sports-club/types/service_item_prepurchase_info.go index 9ac2cb1a..0ec0295c 100644 --- a/service-item/wii-sports-club/types/service_item_prepurchase_info.go +++ b/service-item/wii-sports-club/types/service_item_prepurchase_info.go @@ -153,6 +153,20 @@ func (sipi ServiceItemPrepurchaseInfo) Equals(o types.RVType) bool { return sipi.PostBalance.Equals(other.PostBalance) } +// CopyRef copies the current value of the ServiceItemPrepurchaseInfo +// and returns a pointer to the new copy +func (sipi ServiceItemPrepurchaseInfo) CopyRef() types.RVTypePtr { + copied := sipi.Copy().(ServiceItemPrepurchaseInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemPrepurchaseInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipi *ServiceItemPrepurchaseInfo) Deref() types.RVType { + return *sipi +} + // String returns the string representation of the ServiceItemPrepurchaseInfo func (sipi ServiceItemPrepurchaseInfo) String() string { return sipi.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_purchace_info.go b/service-item/wii-sports-club/types/service_item_purchace_info.go index 9aec4c9e..7bb458cb 100644 --- a/service-item/wii-sports-club/types/service_item_purchace_info.go +++ b/service-item/wii-sports-club/types/service_item_purchace_info.go @@ -105,6 +105,20 @@ func (sipi ServiceItemPurchaceInfo) Equals(o types.RVType) bool { return sipi.PostBalance.Equals(other.PostBalance) } +// CopyRef copies the current value of the ServiceItemPurchaceInfo +// and returns a pointer to the new copy +func (sipi ServiceItemPurchaceInfo) CopyRef() types.RVTypePtr { + copied := sipi.Copy().(ServiceItemPurchaceInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemPurchaceInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipi *ServiceItemPurchaceInfo) Deref() types.RVType { + return *sipi +} + // String returns the string representation of the ServiceItemPurchaceInfo func (sipi ServiceItemPurchaceInfo) String() string { return sipi.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_purchase_history.go b/service-item/wii-sports-club/types/service_item_purchase_history.go index 68dfd72f..9cabf6aa 100644 --- a/service-item/wii-sports-club/types/service_item_purchase_history.go +++ b/service-item/wii-sports-club/types/service_item_purchase_history.go @@ -93,6 +93,20 @@ func (siph ServiceItemPurchaseHistory) Equals(o types.RVType) bool { return siph.Transactions.Equals(other.Transactions) } +// CopyRef copies the current value of the ServiceItemPurchaseHistory +// and returns a pointer to the new copy +func (siph ServiceItemPurchaseHistory) CopyRef() types.RVTypePtr { + copied := siph.Copy().(ServiceItemPurchaseHistory) + return &copied +} + +// Deref takes a pointer to the ServiceItemPurchaseHistory +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siph *ServiceItemPurchaseHistory) Deref() types.RVType { + return *siph +} + // String returns the string representation of the ServiceItemPurchaseHistory func (siph ServiceItemPurchaseHistory) String() string { return siph.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_purchase_service_item_param.go b/service-item/wii-sports-club/types/service_item_purchase_service_item_param.go index 4ce4daff..e7e659f7 100644 --- a/service-item/wii-sports-club/types/service_item_purchase_service_item_param.go +++ b/service-item/wii-sports-club/types/service_item_purchase_service_item_param.go @@ -153,6 +153,20 @@ func (sipsip ServiceItemPurchaseServiceItemParam) Equals(o types.RVType) bool { return sipsip.TitleID.Equals(other.TitleID) } +// CopyRef copies the current value of the ServiceItemPurchaseServiceItemParam +// and returns a pointer to the new copy +func (sipsip ServiceItemPurchaseServiceItemParam) CopyRef() types.RVTypePtr { + copied := sipsip.Copy().(ServiceItemPurchaseServiceItemParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemPurchaseServiceItemParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipsip *ServiceItemPurchaseServiceItemParam) Deref() types.RVType { + return *sipsip +} + // String returns the string representation of the ServiceItemPurchaseServiceItemParam func (sipsip ServiceItemPurchaseServiceItemParam) String() string { return sipsip.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_purchase_service_item_response.go b/service-item/wii-sports-club/types/service_item_purchase_service_item_response.go index ea09cce2..da835461 100644 --- a/service-item/wii-sports-club/types/service_item_purchase_service_item_response.go +++ b/service-item/wii-sports-club/types/service_item_purchase_service_item_response.go @@ -82,6 +82,20 @@ func (sipsir ServiceItemPurchaseServiceItemResponse) Equals(o types.RVType) bool return sipsir.NullablePurchaceInfo.Equals(other.NullablePurchaceInfo) } +// CopyRef copies the current value of the ServiceItemPurchaseServiceItemResponse +// and returns a pointer to the new copy +func (sipsir ServiceItemPurchaseServiceItemResponse) CopyRef() types.RVTypePtr { + copied := sipsir.Copy().(ServiceItemPurchaseServiceItemResponse) + return &copied +} + +// Deref takes a pointer to the ServiceItemPurchaseServiceItemResponse +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sipsir *ServiceItemPurchaseServiceItemResponse) Deref() types.RVType { + return *sipsir +} + // String returns the string representation of the ServiceItemPurchaseServiceItemResponse func (sipsir ServiceItemPurchaseServiceItemResponse) String() string { return sipsir.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_request_ticket_restoration_param.go b/service-item/wii-sports-club/types/service_item_request_ticket_restoration_param.go index 426269be..5f16e42a 100644 --- a/service-item/wii-sports-club/types/service_item_request_ticket_restoration_param.go +++ b/service-item/wii-sports-club/types/service_item_request_ticket_restoration_param.go @@ -81,6 +81,20 @@ func (sirtrp ServiceItemRequestTicketRestorationParam) Equals(o types.RVType) bo return sirtrp.NumTicket.Equals(other.NumTicket) } +// CopyRef copies the current value of the ServiceItemRequestTicketRestorationParam +// and returns a pointer to the new copy +func (sirtrp ServiceItemRequestTicketRestorationParam) CopyRef() types.RVTypePtr { + copied := sirtrp.Copy().(ServiceItemRequestTicketRestorationParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemRequestTicketRestorationParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sirtrp *ServiceItemRequestTicketRestorationParam) Deref() types.RVType { + return *sirtrp +} + // String returns the string representation of the ServiceItemRequestTicketRestorationParam func (sirtrp ServiceItemRequestTicketRestorationParam) String() string { return sirtrp.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_right_info.go b/service-item/wii-sports-club/types/service_item_right_info.go index 41a5b493..b4800970 100644 --- a/service-item/wii-sports-club/types/service_item_right_info.go +++ b/service-item/wii-sports-club/types/service_item_right_info.go @@ -81,6 +81,20 @@ func (siri ServiceItemRightInfo) Equals(o types.RVType) bool { return siri.AccountRights.Equals(other.AccountRights) } +// CopyRef copies the current value of the ServiceItemRightInfo +// and returns a pointer to the new copy +func (siri ServiceItemRightInfo) CopyRef() types.RVTypePtr { + copied := siri.Copy().(ServiceItemRightInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemRightInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siri *ServiceItemRightInfo) Deref() types.RVType { + return *siri +} + // String returns the string representation of the ServiceItemRightInfo func (siri ServiceItemRightInfo) String() string { return siri.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_right_infos.go b/service-item/wii-sports-club/types/service_item_right_infos.go index ae79ac44..525f32d7 100644 --- a/service-item/wii-sports-club/types/service_item_right_infos.go +++ b/service-item/wii-sports-club/types/service_item_right_infos.go @@ -69,6 +69,20 @@ func (siri ServiceItemRightInfos) Equals(o types.RVType) bool { return siri.RightInfos.Equals(other.RightInfos) } +// CopyRef copies the current value of the ServiceItemRightInfos +// and returns a pointer to the new copy +func (siri ServiceItemRightInfos) CopyRef() types.RVTypePtr { + copied := siri.Copy().(ServiceItemRightInfos) + return &copied +} + +// Deref takes a pointer to the ServiceItemRightInfos +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siri *ServiceItemRightInfos) Deref() types.RVType { + return *siri +} + // String returns the string representation of the ServiceItemRightInfos func (siri ServiceItemRightInfos) String() string { return siri.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_start_challenge_param.go b/service-item/wii-sports-club/types/service_item_start_challenge_param.go index 8513e13f..7721cede 100644 --- a/service-item/wii-sports-club/types/service_item_start_challenge_param.go +++ b/service-item/wii-sports-club/types/service_item_start_challenge_param.go @@ -93,6 +93,20 @@ func (siscp ServiceItemStartChallengeParam) Equals(o types.RVType) bool { return siscp.NumTicket.Equals(other.NumTicket) } +// CopyRef copies the current value of the ServiceItemStartChallengeParam +// and returns a pointer to the new copy +func (siscp ServiceItemStartChallengeParam) CopyRef() types.RVTypePtr { + copied := siscp.Copy().(ServiceItemStartChallengeParam) + return &copied +} + +// Deref takes a pointer to the ServiceItemStartChallengeParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siscp *ServiceItemStartChallengeParam) Deref() types.RVType { + return *siscp +} + // String returns the string representation of the ServiceItemStartChallengeParam func (siscp ServiceItemStartChallengeParam) String() string { return siscp.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_ticket_info.go b/service-item/wii-sports-club/types/service_item_ticket_info.go index fc3e16ef..884c6c76 100644 --- a/service-item/wii-sports-club/types/service_item_ticket_info.go +++ b/service-item/wii-sports-club/types/service_item_ticket_info.go @@ -81,6 +81,20 @@ func (siti ServiceItemTicketInfo) Equals(o types.RVType) bool { return siti.NumTotal.Equals(other.NumTotal) } +// CopyRef copies the current value of the ServiceItemTicketInfo +// and returns a pointer to the new copy +func (siti ServiceItemTicketInfo) CopyRef() types.RVTypePtr { + copied := siti.Copy().(ServiceItemTicketInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemTicketInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siti *ServiceItemTicketInfo) Deref() types.RVType { + return *siti +} + // String returns the string representation of the ServiceItemTicketInfo func (siti ServiceItemTicketInfo) String() string { return siti.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_transaction.go b/service-item/wii-sports-club/types/service_item_transaction.go index 99131aa4..9950d3cd 100644 --- a/service-item/wii-sports-club/types/service_item_transaction.go +++ b/service-item/wii-sports-club/types/service_item_transaction.go @@ -165,6 +165,20 @@ func (sit ServiceItemTransaction) Equals(o types.RVType) bool { return sit.Limitation.Equals(other.Limitation) } +// CopyRef copies the current value of the ServiceItemTransaction +// and returns a pointer to the new copy +func (sit ServiceItemTransaction) CopyRef() types.RVTypePtr { + copied := sit.Copy().(ServiceItemTransaction) + return &copied +} + +// Deref takes a pointer to the ServiceItemTransaction +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sit *ServiceItemTransaction) Deref() types.RVType { + return *sit +} + // String returns the string representation of the ServiceItemTransaction func (sit ServiceItemTransaction) String() string { return sit.FormatToString(0) diff --git a/service-item/wii-sports-club/types/service_item_user_info.go b/service-item/wii-sports-club/types/service_item_user_info.go index 862ddd90..cbd5221f 100644 --- a/service-item/wii-sports-club/types/service_item_user_info.go +++ b/service-item/wii-sports-club/types/service_item_user_info.go @@ -81,6 +81,20 @@ func (siui ServiceItemUserInfo) Equals(o types.RVType) bool { return siui.ApplicationBuffer.Equals(other.ApplicationBuffer) } +// CopyRef copies the current value of the ServiceItemUserInfo +// and returns a pointer to the new copy +func (siui ServiceItemUserInfo) CopyRef() types.RVTypePtr { + copied := siui.Copy().(ServiceItemUserInfo) + return &copied +} + +// Deref takes a pointer to the ServiceItemUserInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (siui *ServiceItemUserInfo) Deref() types.RVType { + return *siui +} + // String returns the string representation of the ServiceItemUserInfo func (siui ServiceItemUserInfo) String() string { return siui.FormatToString(0) diff --git a/shop/nintendo-badge-arcade/types/shop_post_play_log_param.go b/shop/nintendo-badge-arcade/types/shop_post_play_log_param.go index 042f89e5..8ef6af5f 100644 --- a/shop/nintendo-badge-arcade/types/shop_post_play_log_param.go +++ b/shop/nintendo-badge-arcade/types/shop_post_play_log_param.go @@ -93,6 +93,20 @@ func (spplp ShopPostPlayLogParam) Equals(o types.RVType) bool { return spplp.Unknown2.Equals(other.Unknown2) } +// CopyRef copies the current value of the ShopPostPlayLogParam +// and returns a pointer to the new copy +func (spplp ShopPostPlayLogParam) CopyRef() types.RVTypePtr { + copied := spplp.Copy().(ShopPostPlayLogParam) + return &copied +} + +// Deref takes a pointer to the ShopPostPlayLogParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (spplp *ShopPostPlayLogParam) Deref() types.RVType { + return *spplp +} + // String returns the string representation of the ShopPostPlayLogParam func (spplp ShopPostPlayLogParam) String() string { return spplp.FormatToString(0) diff --git a/shop/types/shop_item.go b/shop/types/shop_item.go index 7a0adf4a..df1c00a7 100644 --- a/shop/types/shop_item.go +++ b/shop/types/shop_item.go @@ -105,6 +105,20 @@ func (si ShopItem) Equals(o types.RVType) bool { return si.ItemCode.Equals(other.ItemCode) } +// CopyRef copies the current value of the ShopItem +// and returns a pointer to the new copy +func (si ShopItem) CopyRef() types.RVTypePtr { + copied := si.Copy().(ShopItem) + return &copied +} + +// Deref takes a pointer to the ShopItem +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (si *ShopItem) Deref() types.RVType { + return *si +} + // String returns the string representation of the ShopItem func (si ShopItem) String() string { return si.FormatToString(0) diff --git a/shop/types/shop_item_rights.go b/shop/types/shop_item_rights.go index 9a0de778..3267fb0c 100644 --- a/shop/types/shop_item_rights.go +++ b/shop/types/shop_item_rights.go @@ -93,6 +93,20 @@ func (sir ShopItemRights) Equals(o types.RVType) bool { return sir.Attribute.Equals(other.Attribute) } +// CopyRef copies the current value of the ShopItemRights +// and returns a pointer to the new copy +func (sir ShopItemRights) CopyRef() types.RVTypePtr { + copied := sir.Copy().(ShopItemRights) + return &copied +} + +// Deref takes a pointer to the ShopItemRights +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sir *ShopItemRights) Deref() types.RVType { + return *sir +} + // String returns the string representation of the ShopItemRights func (sir ShopItemRights) String() string { return sir.FormatToString(0) diff --git a/subscriber/types/subscriber_content.go b/subscriber/types/subscriber_content.go index dc01f2ba..71a0e94f 100644 --- a/subscriber/types/subscriber_content.go +++ b/subscriber/types/subscriber_content.go @@ -129,6 +129,20 @@ func (sc SubscriberContent) Equals(o types.RVType) bool { return sc.Unknown6.Equals(other.Unknown6) } +// CopyRef copies the current value of the SubscriberContent +// and returns a pointer to the new copy +func (sc SubscriberContent) CopyRef() types.RVTypePtr { + copied := sc.Copy().(SubscriberContent) + return &copied +} + +// Deref takes a pointer to the SubscriberContent +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sc *SubscriberContent) Deref() types.RVType { + return *sc +} + // String returns the string representation of the SubscriberContent func (sc SubscriberContent) String() string { return sc.FormatToString(0) diff --git a/subscriber/types/subscriber_get_content_param.go b/subscriber/types/subscriber_get_content_param.go index 923c7a25..fa201bc0 100644 --- a/subscriber/types/subscriber_get_content_param.go +++ b/subscriber/types/subscriber_get_content_param.go @@ -105,6 +105,20 @@ func (sgcp SubscriberGetContentParam) Equals(o types.RVType) bool { return sgcp.Unknown4.Equals(other.Unknown4) } +// CopyRef copies the current value of the SubscriberGetContentParam +// and returns a pointer to the new copy +func (sgcp SubscriberGetContentParam) CopyRef() types.RVTypePtr { + copied := sgcp.Copy().(SubscriberGetContentParam) + return &copied +} + +// Deref takes a pointer to the SubscriberGetContentParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (sgcp *SubscriberGetContentParam) Deref() types.RVType { + return *sgcp +} + // String returns the string representation of the SubscriberGetContentParam func (sgcp SubscriberGetContentParam) String() string { return sgcp.FormatToString(0) diff --git a/subscriber/types/subscriber_post_content_param.go b/subscriber/types/subscriber_post_content_param.go index c6ffbcef..aa9d2af1 100644 --- a/subscriber/types/subscriber_post_content_param.go +++ b/subscriber/types/subscriber_post_content_param.go @@ -93,6 +93,20 @@ func (spcp SubscriberPostContentParam) Equals(o types.RVType) bool { return spcp.Unknown3.Equals(other.Unknown3) } +// CopyRef copies the current value of the SubscriberPostContentParam +// and returns a pointer to the new copy +func (spcp SubscriberPostContentParam) CopyRef() types.RVTypePtr { + copied := spcp.Copy().(SubscriberPostContentParam) + return &copied +} + +// Deref takes a pointer to the SubscriberPostContentParam +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (spcp *SubscriberPostContentParam) Deref() types.RVType { + return *spcp +} + // String returns the string representation of the SubscriberPostContentParam func (spcp SubscriberPostContentParam) String() string { return spcp.FormatToString(0) diff --git a/subscriber/types/subscriber_user_status_info.go b/subscriber/types/subscriber_user_status_info.go index 02f55bff..29cd9d88 100644 --- a/subscriber/types/subscriber_user_status_info.go +++ b/subscriber/types/subscriber_user_status_info.go @@ -81,6 +81,20 @@ func (susi SubscriberUserStatusInfo) Equals(o types.RVType) bool { return susi.Unknown.Equals(other.Unknown) } +// CopyRef copies the current value of the SubscriberUserStatusInfo +// and returns a pointer to the new copy +func (susi SubscriberUserStatusInfo) CopyRef() types.RVTypePtr { + copied := susi.Copy().(SubscriberUserStatusInfo) + return &copied +} + +// Deref takes a pointer to the SubscriberUserStatusInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (susi *SubscriberUserStatusInfo) Deref() types.RVType { + return *susi +} + // String returns the string representation of the SubscriberUserStatusInfo func (susi SubscriberUserStatusInfo) String() string { return susi.FormatToString(0) diff --git a/subscriber/types/unknown.go b/subscriber/types/unknown.go index b37611a9..582fa4aa 100644 --- a/subscriber/types/unknown.go +++ b/subscriber/types/unknown.go @@ -69,6 +69,20 @@ func (u Unknown) Equals(o types.RVType) bool { return u.Unknown.Equals(other.Unknown) } +// CopyRef copies the current value of the Unknown +// and returns a pointer to the new copy +func (u Unknown) CopyRef() types.RVTypePtr { + copied := u.Copy().(Unknown) + return &copied +} + +// Deref takes a pointer to the Unknown +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (u *Unknown) Deref() types.RVType { + return *u +} + // String returns the string representation of the Unknown func (u Unknown) String() string { return u.FormatToString(0) diff --git a/ticket-granting/types/authentication_info.go b/ticket-granting/types/authentication_info.go index 3f6f9116..ca153349 100644 --- a/ticket-granting/types/authentication_info.go +++ b/ticket-granting/types/authentication_info.go @@ -130,6 +130,20 @@ func (ai AuthenticationInfo) Equals(o types.RVType) bool { return ai.ServerVersion.Equals(other.ServerVersion) } +// CopyRef copies the current value of the AuthenticationInfo +// and returns a pointer to the new copy +func (ai AuthenticationInfo) CopyRef() types.RVTypePtr { + copied := ai.Copy().(AuthenticationInfo) + return &copied +} + +// Deref takes a pointer to the AuthenticationInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (ai *AuthenticationInfo) Deref() types.RVType { + return *ai +} + // String returns the string representation of the AuthenticationInfo func (ai AuthenticationInfo) String() string { return ai.FormatToString(0) diff --git a/ticket-granting/types/nintendo_login_data.go b/ticket-granting/types/nintendo_login_data.go index fd06973b..f4f7e11a 100644 --- a/ticket-granting/types/nintendo_login_data.go +++ b/ticket-granting/types/nintendo_login_data.go @@ -69,6 +69,20 @@ func (nld NintendoLoginData) Equals(o types.RVType) bool { return nld.Token.Equals(other.Token) } +// CopyRef copies the current value of the NintendoLoginData +// and returns a pointer to the new copy +func (nld NintendoLoginData) CopyRef() types.RVTypePtr { + copied := nld.Copy().(NintendoLoginData) + return &copied +} + +// Deref takes a pointer to the NintendoLoginData +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (nld *NintendoLoginData) Deref() types.RVType { + return *nld +} + // String returns the string representation of the NintendoLoginData func (nld NintendoLoginData) String() string { return nld.FormatToString(0) diff --git a/utility/types/unique_id_info.go b/utility/types/unique_id_info.go index 07ac29c7..7f038637 100644 --- a/utility/types/unique_id_info.go +++ b/utility/types/unique_id_info.go @@ -81,6 +81,20 @@ func (uidi UniqueIDInfo) Equals(o types.RVType) bool { return uidi.NEXUniqueIDPassword.Equals(other.NEXUniqueIDPassword) } +// CopyRef copies the current value of the UniqueIDInfo +// and returns a pointer to the new copy +func (uidi UniqueIDInfo) CopyRef() types.RVTypePtr { + copied := uidi.Copy().(UniqueIDInfo) + return &copied +} + +// Deref takes a pointer to the UniqueIDInfo +// and dereferences it to the raw value. +// Only useful when working with an instance of RVTypePtr +func (uidi *UniqueIDInfo) Deref() types.RVType { + return *uidi +} + // String returns the string representation of the UniqueIDInfo func (uidi UniqueIDInfo) String() string { return uidi.FormatToString(0)