func (user *PublicKeyCredentialUserEntity) UnmarshalJSON(raw []byte) error {
	type Override PublicKeyCredentialUserEntity
	var override struct {
		Override
		ID *string `json:"id,omitempty"`
	}
	err := json.Unmarshal(raw, &override)
	if err != nil {
		return err
	}

	*user = PublicKeyCredentialUserEntity(override.Override)
	user.ID, err = fromNullableBase64URL(override.ID)
	return err
}
// UnmarshalJSON unmarshals the PublicKeyCredentialUserEntity from JSON.
UnmarshalJSON unmarshals the PublicKeyCredentialUserEntity from JSON.
// UnmarshalJSON unmarshals the PublicKeyCredentialUserEntity from JSON .
func (user *PublicKeyCredentialUserEntity) UnmarshalJSON(raw []byte) error {
	type Override PublicKeyCredentialUserEntity
	var override struct {
		Override
		ID *string `json:"id,omitempty"`
	}
	err := json.Unmarshal(raw, &override)
	if err != nil {
		return err
	}
	*user = PublicKeyCredentialUserEntity(override.Override)
	user.ID, err = fromNullableBase64URL(override.ID)
	return err
}
func ( user * PublicKeyCredentialUserEntity ) UnmarshalJSON ( raw [ ] byte ) error { type Override PublicKeyCredentialUserEntity var override struct { Override ID * string `json:"id,omitempty"` } err := json . Unmarshal ( raw , & override ) if err != nil { return err } * user = PublicKeyCredentialUserEntity ( override . Override ) user . ID , err = fromNullableBase64URL ( override . ID ) return err }
UnmarshalJSON unmarshals the PublicKeyCredentialUserEntity from JSON.
UnmarshalJSON unmarshals the PublicKeyCredentialUserEntity from JSON .